"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[42492],{42492:(e,n,t)=>{t.r(n),t.d(n,{CoreRemindersSetReminderCustomComponent:()=>p});var o=t(86654),s=t(43959),i=t(79555),r=t(54438),l=t(60177),a=t(89417),m=t(2910),c=t(88246),u=t(43570),d=t(73955);const _c0=e=>({header:e});function CoreRemindersSetReminderCustomComponent_ion_select_option_17_Template(e,n){if(1&e&&(r.j41(0,"ion-select-option",8),r.EFF(1),r.nI1(2,"translate"),r.k0s()),2&e){const e=n.$implicit;r.Y8G("value",e.value),r.R7$(),r.SpI(" ",r.bMT(2,2,e.label)," ")}}let p=(()=>{var e;class CoreRemindersSetReminderCustomComponent{constructor(){this.customValue=10,this.customUnits=s._6.MINUTE,this.customUnitsOptions=[{value:s._6.MINUTE,label:"core.minutes"},{value:s._6.HOUR,label:"core.hours"},{value:s._6.DAY,label:"core.days"},{value:s._6.WEEK,label:"core.weeks"}]}set(){i.IE.dismiss({value:this.customValue,unit:this.customUnits})}cancel(){i.IE.dismiss()}}return(e=CoreRemindersSetReminderCustomComponent).ɵfac=function CoreRemindersSetReminderCustomComponent_Factory(n){return new(n||e)},e.ɵcmp=r.VBU({type:e,selectors:[["ng-component"]],inputs:{customValue:"customValue",customUnits:"customUnits"},standalone:!0,features:[r.aNF],decls:28,vars:26,consts:[[1,"ion-text-wrap"],[1,"flex-row"],["id","reminderValue","type","number","name","customvalue","placeholder","10",3,"ngModelChange","ngModel","ariaLabel"],["id","reminderUnits_label",1,"accesshide"],["aria-labelledby","reminderUnits_label","name","customunits","interface","action-sheet","slot","end",3,"ngModelChange","ngModel","cancelText","interfaceOptions"],[3,"value",4,"ngFor","ngForOf"],["expand","block","fill","outline",3,"click"],["expand","block",3,"click"],[3,"value"]],template:function CoreRemindersSetReminderCustomComponent_Template(e,n){1&e&&(r.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title")(3,"h1"),r.EFF(4),r.nI1(5,"translate"),r.k0s()()()(),r.j41(6,"ion-content")(7,"ion-item",0)(8,"div",1)(9,"ion-input",2),r.nI1(10,"translate"),r.mxI("ngModelChange",(function CoreRemindersSetReminderCustomComponent_Template_ion_input_ngModelChange_9_listener(e){return r.DH7(n.customValue,e)||(n.customValue=e),e})),r.k0s(),r.j41(11,"span",3),r.EFF(12),r.nI1(13,"translate"),r.k0s(),r.j41(14,"ion-select",4),r.nI1(15,"translate"),r.nI1(16,"translate"),r.mxI("ngModelChange",(function CoreRemindersSetReminderCustomComponent_Template_ion_select_ngModelChange_14_listener(e){return r.DH7(n.customUnits,e)||(n.customUnits=e),e})),r.DNE(17,CoreRemindersSetReminderCustomComponent_ion_select_option_17_Template,3,4,"ion-select-option",5),r.k0s()()(),r.j41(18,"ion-grid")(19,"ion-row")(20,"ion-col")(21,"ion-button",6),r.bIt("click",(function CoreRemindersSetReminderCustomComponent_Template_ion_button_click_21_listener(){return n.cancel()})),r.EFF(22),r.nI1(23,"translate"),r.k0s()(),r.j41(24,"ion-col")(25,"ion-button",7),r.bIt("click",(function CoreRemindersSetReminderCustomComponent_Template_ion_button_click_25_listener(){return n.set()})),r.EFF(26),r.nI1(27,"translate"),r.k0s()()()()()),2&e&&(r.R7$(4),r.JRh(r.bMT(5,10,"core.reminders.customreminder")),r.R7$(5),r.R50("ngModel",n.customValue),r.Y8G("ariaLabel",r.bMT(10,12,"core.reminders.value")),r.R7$(3),r.JRh(r.bMT(13,14,"core.reminders.units")),r.R7$(2),r.R50("ngModel",n.customUnits),r.Y8G("cancelText",r.bMT(15,16,"core.cancel"))("interfaceOptions",r.eq3(24,_c0,r.bMT(16,18,"core.reminders.units"))),r.R7$(3),r.Y8G("ngForOf",n.customUnitsOptions),r.R7$(5),r.JRh(r.bMT(23,20,"core.cancel")),r.R7$(4),r.SpI(" ",r.bMT(27,22,"core.reminders.setreminder")," "))},dependencies:[o.n,l.Sq,a.BC,a.vS,m.Jm,m.hU,m.W9,m.lO,m.eU,m.$w,m.uz,m.ln,m.Nm,m.Ip,m.BC,m.ai,m.su,m.Je,c.i,u.T,d.D9],encapsulation:2}),CoreRemindersSetReminderCustomComponent})()}}]);