PageSourceSearch

https://airnix-staging.web.app/729.8c23a6b7af9f3185.js

js airnix-staging.web.app collected 2026-10-03 12:16:23 UTC 28,299 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkairnix_cms=self.webpackChunkairnix_cms||[]).push([[729],{524:(S,f,s)=>{s.d(f,{PL:()=>T.P}),s(8086),s(3773);var T=s(8857)},3800:(S,f,s)=>{s.d(f,{H:()=>m});class m{id;createdDate;createdBy;updatedDate;updatedBy;deletedDate;status}},8122:(S,f,s)=>{s.d(f,{nW:()=>m});var m=function(a){return a[a.DATA_AVAILABLE=100100000001]="DATA_AVAILABLE",a[a.DATA_UNAVAILABLE=100100000002]="DATA_UNAVAILABLE",a}(m||{})},6729:(S,f,s)=>{s.r(f),s.d(f,{NotificationSettingModule:()=>mt});var m=s(177),g=s(6773),T=s(6354),v=s(5312),t=s(3953),O=s(1626),E=s(3787);const a=`${v.c.apiUrl}/notification-setting`;let b=(()=>{class i{http;translationService;constructor(n,o){this.http=n,this.translationService=o}create(n){const o={...n};return this.http.post(`${a}`,o,{})}getAll(n){return this.http.get(`${a}`,{params:{page:n.page.toString(),limit:n.limit.toString(),order:JSON.stringify(n.order),filter:JSON.stringify(n.filter),where:JSON.stringify(n.where)}}).pipe((0,T.T)(o=>(o?.data&&(o.data=o.data.map(e=>(console.log(this.translationService.getSelectedLanguage()),{...e,message:e.notificationSettingLanguages&&e.notificationSettingLanguages.find(l=>"ja"===l.langLocale)?.message,title:e.notificationSettingLanguages&&e.notificationSettingLanguages.find(l=>"ja"===l.langLocale)?.title}))),o)))}getOne(n){return this.http.get(`${a}/${n}`,{}).pipe((0,T.T)(o=>
1{if(!o?.data?.notificationSettingLanguages)return o;const e=o.data.notificationSettingLanguages.find(l=>"ja"===l.langLocale);return{...o,data:{...o.data,title:e?.title,message:e?.message}}}))}delete(n){return this.http.delete(`${a}/${n}`,{})}update(n){const o={...n};return this.http.patch(`${a}/${n.id}`,o,{})}static \u0275fac=function(o){return new(o||i)(t.KVO(O.Qq),t.KVO(E.L))};static \u0275prov=t.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var d=s(9417),D=s(4626),N=s(4035),I=s(9578),y=s(3815),G=s(4710),R=s(467),_=s(4412),z=s(980),A=s(9007),h=s(3955);function L(i,c){if(1&i){const n=t.RV6();t.j41(0,"div",8),t.bIt("click",function(){t.eBV(n);const e=t.XpG();return t.Njj(e.activeModal.close(!1))}),t.nrm(1,"span",9),t.k0s()}2&i&&(t.R7$(),t.Y8G("inlineSVG","./assets/media/icons/duotune/arrows/arr061.svg"))}function x(i,c){1&i&&(t.qex(0),t.nrm(1,"span",10),t.bVm())}function M(i,c){1&i&&(t.qex(0),t.j41(1,"span",11),t.nrm(2,"span",12),t.k0s(),t.bVm()),2&i&&(t.R7$(),t.xc7("display","block"))}function $(i,c){if(1&i){const n=t.RV6();t.j41(0,"button",16),t.bIt("click",function(){t.eBV(n);const e=t.XpG(2);return t.Njj(e.activeModal.close(!1))}),t.EFF(1),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("disabled",void 0!==n.modalConfig.disableDismissButton&&n.modalConfig.disableDismissButton()),t.R7$(),t.SpI(" ",n.modalConfig.dismissButtonLabel," ")}}function k(i,c){if(1&i){const n=t.RV6();t.j41(0,"button",17),t.bIt("click",function(){t.eBV(n);const e=t.XpG(2);return t.Njj(e.activeModal.close(!1))}),t.EFF(1),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("disabled",void 0!==n.modalConfig.disableCloseButton&&n.modalConfig.disableCloseButton()),t.R7$(),t.SpI(" ",n.modalConfig.closeButtonLabel," ")}}function B(i,c){if(1&i&&(t.j41(0,"div",13),t.DNE(1,$,2,2,"button",14)(2,k,2,2,"button",15),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.Y8G("ngIf",void 0===n.modalConfig.hideDismissButton||!n.modalConfig.hideDismissButton()),t.R7$(),t.Y8G("ngIf",void 0===n.modalConfig.hideCloseButton||!n.modalConfig.hideCloseButton())}}let V=(()=>{class i extends A.${cdr;NotificationSettingService;activeModal;modalConfig;id;type;isLoading$=new _.t(!1);isLoading;unsubscribe=[];constructor(n,o,e){super(),this.cdr=n,this.NotificationSettingService=o,this.activeModal=e;const l=this.isLoading$.asObservable().subscribe(r=>this.isLoading=r);this.unsubscribe.push(l)}ngOnInit(){}saveSettings(){this.isLoading$.next(!0),this.deleteDevice(this.id)}deleteDevice(n){this.NotificationSettingService.delete(n).subscribe({next:o=>{(201===o.status||200===o.status)&&(this.isLoading$.next(!1),this.cdr.detectChanges(),this.activeModal.close(!0))},error:()=>{this.activeModal.close(!1)}})}ngOnDestroy(){this.unsubscribe.forEach(n=>n.unsubscribe())}static \u0275fac=function(o){return new(o||i)(t.rXU(t.gRc),t.rXU(b),t.rXU(g.Lw))};static \u0275cmp=t.VBU({type:i,selectors:[["app-notification-setting-delete"]],inputs:{modalConfig:"modalConfig",id:"id",type:"type"},features:[t.Vt3],decls:11,vars:7,consts:[[1,"modal-content"],[1,"modal-header"],["class","btn btn-sm btn-icon btn-active-color-primary",3,"click",4,"ngIf"],[1,"modal-body"],[1,"card-footer","d-flex","justify-content-end","py-6","px-9"],["type","button",1,"btn","btn-primary",3,"click","disabled"],[4,"ngIf"],["class","modal-footer",4,"ngIf"],[1,"btn","btn-sm","btn-icon","btn-active-color-primary",3,"click"],[1,"svg-icon","svg-icon-1",3,"inlineSVG"],["translate","COMMON.BUTTON.DELETE"],["translate","COMMON.BUTTON.WAIT",1,"indicator-progress"],[1,"spinner-border","spinner-border-sm","align-middle","ms-2"],[1,"modal-footer"],["type","button","class","btn btn-outline-secondary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-outline-primary",3,"disabled","click",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary",3,"click","disabled"],["type","button",1,"btn","btn-outline-primary",3,"click","disabled"]],template:function(o,e){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"h2"),t.EFF(3),t.k0s(),t.DNE(4,L,2,1,"div",2),t.k0s(),t.j41(5,"div",3)(6,"div",4)(7,"button",5),t.bIt("click",function(){return e.saveSettings()}),t.DNE(8,x,2,0,"ng-container",6)(9,M,3,2,"ng-container",6),t.k0s()()(),t.DNE(10,B,3,2,"div",7),t.k0s()),2&o&&(t.R
17$(3),t.Lme("",e.modalConfig.modalTitle,": ",e.id,""),t.R7$(),t.Y8G("ngIf",void 0===e.modalConfig.hideDismissButton||!e.modalConfig.hideDismissButton()),t.R7$(3),t.Y8G("disabled",e.isLoading),t.R7$(),t.Y8G("ngIf",!e.isLoading),t.R7$(),t.Y8G("ngIf",e.isLoading),t.R7$(),t.Y8G("ngIf",void 0===e.modalConfig.hideFooter||!e.modalConfig.hideFooter()))},dependencies:[m.bT,N.ll,h.Mm],encapsulation:2})}return i})();var F=s(8122),U=s(3800);class P extends U.H{timing;category;explanations;cronTime;triggerCondition;notificationSettingLanguages;message;title}class Y extends P{}var w=s(1255);function X(i,c){if(1&i&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.JRh(n.modalConfig.modalTitle)}}function W(i,c){if(1&i&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.Lme(" ",n.modalConfig.modalTitle,": ",n.getFormControl(n.cronjobForm,"id").value," ")}}function H(i,c){if(1&i){const n=t.RV6();t.j41(0,"div",31),t.bIt("click",function(){t.eBV(n);const e=t.XpG();return t.Njj(e.activeModal.close(!1))}),t.nrm(1,"span",32),t.k0s()}2&i&&(t.R7$(),t.Y8G("inlineSVG","./assets/media/icons/duotune/arrows/arr061.svg"))}function J(i,c){1&i&&(t.qex(0),t.nrm(1,"span",33),t.bVm())}function K(i,c){1&i&&(t.qex(0),t.j41(1,"span",34),t.nrm(2,"span",35),t.k0s(),t.bVm()),2&i&&(t.R7$(),t.xc7("display","block"))}function Q(i,c){if(1&i){const n=t.RV6();t.j41(0,"button",39),t.bIt("click",function(){t.eBV(n);const e=t.XpG(2);return t.Njj(e.activeModal.close(!1))}),t.EFF(1),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("disabled",void 0!==n.modalConfig.disableDismissButton&&n.modalConfig.disableDismissButton()),t.R7$(),t.SpI(" ",n.modalConfig.dismissButtonLabel," ")}}function Z(i,c){if(1&i){const n=t.RV6();t.j41(0,"button",40),t.bIt("click",function(){t.eBV(n);const e=t.XpG(2);return t.Njj(e.activeModal.close(!1))}),t.EFF(1),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("disabled",void 0!==n.modalConfig.disableCloseButton&&n.modalConfig.disableCloseButton()),t.R7$(),t.SpI(" ",n.modalConfig.closeButtonLabel," ")}}function q(i,c){if(1&i&&(t.j41(0,"div",36),t.DNE(1,Q,2,2,"button",37)(2,Z,2,2,"button",38),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.Y8G("ngIf",void 0===n.modalConfig.hideDismissButton||!n.modalConfig.hideDismissButton()),t.R7$(),t.Y8G("ngIf",void 0===n.modalConfig.hideCloseButton||!n.modalConfig.hideCloseButton())}}let tt=(()=>{class i extends A.${cdr;builder;notificationSettingService;modalService;activeModal;fb;systemTypeService;translate;modalConfig;id;type;isLoading$;isLoadingSubject;cronjobForm;unsubscribe=[];typeList=[];total=1;pageSize=100;pageIndex=1;constructor(n,o,e,l,r,p,C,gt){super(),this.cdr=n,this.builder=o,this.notificationSettingService=e,this.modalService=l,this.activeModal=r,this.fb=p,this.systemTypeService=C,this.translate=gt,this.isLoadingSubject=new _.t(!1),this.isLoading$=this.isLoadingSubject.asObservable()}ngOnInit(){this.cronjobForm=this.builder.group({id:[null],category:[null],explanations:[null],cronTime:[null],status:[null],triggerCondition:[null],title:[null],message:[null]}),this.type===I.q3.UPDATE&&this.getOne(this.id)}saveSettings(){this.isLoadingSubject.next(!0),this.type===I.q3.UPDATE&&this.update()}getOne(n){this.notificationSettingService.getOne(n).subscribe({next:o=>{200===o.status&&this.updateFormData(o.data),setTimeout(()=>{this.loading=!1})},error:()=>{this.loading=!1}})}updateFormData(n){this.type===I.q3.UPDATE&&(this.getFormControl(this.cronjobForm,"id").setValue(n.id),this.getFormControl(this.cronjobForm,"status").setValue(n.status==F.nW.DATA_AVAILABLE),this.getFormControl(this.cronjobForm,"cronTime").setValue(n.cronTime),this.getFormControl(this.cronjobForm,"category").setValue(n.category),this.getFormControl(this.cronjobForm,"explanations").setValue(n.explanations),this.getFormControl(this.cronjobForm,"triggerCondition").setValue(n.triggerCondition),this.getFormControl(this.cronjobForm,"title").setValue(n.title),this.getFormControl(this.cronjobForm,"message").setValue(n.message))}update(){let n=new Y;this.cronjobForm.valid&&(n=this.cronjobForm.value,n.status=this.cronjobForm.status?F.nW.DATA_AVAILABLE:F.nW.DATA_UNAVAILABLE,n.cronTime=n.cronTime&&""!=n.cronTime&&null!=n.cronTime?n.cronTime:null,this.notificationSettingService.update(n).subscribe({next:o=>{200==o.status&&(this.isLoadingSubject.next(!1),this.cdr.detectChanges(),this.activeModal.close(!0))},error:o=>{this.activeModal.close(!1)}}))}ngOnDestroy(){this.unsubscribe.forEach(n=>n.unsubscribe())}static \u0275fac=function(o){return new(o||i)(t.rXU(t.gRc),t.rXU(d.ok),t.rXU(b),t.rXU(g.Bq),t.rXU(g.Lw),t.rXU(d.ok),t.rXU(w.N),t.rXU(h.c$))};static \u0275cmp=t.VBU({type:i,selectors:[["app-notification-setting-registration"]],inputs:{modalConfig:"modalConfig",id:"id",type:"type"},features:[t.Vt3],decls:47,vars:20,consts:[[1,"modal-content"],[1,"modal-header"],[4,"ngIf"],["class","btn btn-sm btn-icon btn-active-color-primary",3,"click",4,"ngIf"],[1,"modal-body"],["id","kt_account_profile_details",1,"collapse","show"],["novalidate","",1,"form",3,"formGroup"],[1,"card-body","p-9"],[1,"row","mb-6"],["translate","NOTIFICATION_SETTING.TITLE",1,"col-lg-4","col-form-label","required","fw-bold","fs-6"],[1,"col-lg-8","fv-row"],["type","text","name","title","formControlName","title",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.MESSAGE",1,"col-lg-4","col-form-label","required","fw-bold","fs-6"],["type","text","name","message","formControlName","message",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.CATEGORY",1,"col-lg-4","col-form-label","required","fw-bold","fs-6"],["type","text","name","category","formControlName","category",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.EXPLANATION",1,"col-lg-4","col-form-label","required","fw-bold","fs-6"],["type","text","name","explanations","formControlName","explanations",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.CRONTIME",1,"col-lg-4","col-form-label","required","fw-bold","fs-6"],["type","text","name","cronTime","formControlName","cronTime",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.TRIGGERCONDITION",1,"col-lg-4","col-form-label","required","fw-bold","fs-6"],["type","text","name","triggerCondition","formControlName","triggerCondition",1,"form-control",3,"placeholder"],[1,"row","mb-0"],["translate","NOTIFICATION_SETTING.STATUS",1,"col-lg-4","col-form-label","required","fw-bold","fs-6"],[1,"col-lg-8","d-flex","align-items-center"],[1,"form-check","form-check-solid","form-switch","fv-row"],["type","checkbox","id","status","formControlName","status",1,"form-check-input","w-45px","h-30px"],[1,"form-check-label"],[1,"card-footer","d-flex","justify-content-end","py-6","px-9"],["type","button",1,"btn","btn-primary",3,"click","disabled"],["class","modal-footer",4,"ngIf"],[1,"btn","btn-sm","btn-icon","btn-active-color-primary",3,"click"],[1,"svg-icon","svg-icon-1",3,"inlineSVG"],["translate","COMMON.BUTTON.SUBMIT"],["translate","COMMON.BUTTON.WAIT",1,"indicator-progress"],[1,"spinner-border","spinner-border-sm","align-middle","ms-2"],[1,"modal-footer"],["type","button","class","btn btn-outline-secondary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-outline-primary",3,"disabled","click",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary",3,"click","disabled"],["type","button",1,"btn","btn-outline-primary",3,"click","disabled"]],template:function(o,e){1&o&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,X,2,1,"h2",2)(3,W,2,2,"h2",2)(4,H,2,1,"div",3),t.k0s(),t.j41(5,"div",4)(6,"div",5)(7,"form",6)(8,"div",7)(9,"div",8),t.nrm(10,"label",9),t.j41(11,"div",10),t.nrm(12,"input",11),t.k0s()(),t.j41(13,"div",8),t.nrm(14,"label",12),t.j41(15,"div",10),t.nrm(16,"input",13),t.k0s()(),t.j41(17,"div",8),t.nrm(18,"label",14),t.j41(19,"div",10),t.nrm(20,"input",15),t.k0s()(),t.j41(21,"div",8),t.nrm(22,"label",16),t.j41(23,"div",10),t.nrm(24,"input",17),t.k0s()(),t.j41(25,"div",8),t.nrm(26,"label",18),t.j41(27,"div",10),t.nrm(28,"input",19),t.k0s()(),t.j41(29,"div",8),t.nrm(30,"label",20),t.j41(31,"div",10),t.nrm(32,"input",21),t.k0s()(),t.j41(33,"div",22),t.nrm(34,"label",23),t.j41(35,"div",24)(36,"div",25),t.nrm(37,"input",26)(38,"label",27),t.k0s()()()(),t.j41(39,"div",28)(40,"button",29),t.nI1(41,"async"),t.bIt("click",function(){return e.saveSettings()}),t.DNE(42,J,2,0,"ng-container",2),t.nI1(43,"async"),t.DNE(44,K,3,2,"ng-container",2),t.nI1(45,"async"),t.k0s()()()()(),t.DNE(46,q,3,2,"div",30),t.k0s()),2&o&&(t.R
17$(2),t.Y8G("ngIf",e.type===e.ACTION_CREATE),t.R7$(),t.Y8G("ngIf",e.type===e.ACTION_UPDATE),t.R7$(),t.Y8G("ngIf",void 0===e.modalConfig.hideDismissButton||!e.modalConfig.hideDismissButton()),t.R7$(3),t.Y8G("formGroup",e.cronjobForm),t.R7$(5),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.TITLE")),t.R7$(4),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.MESSAGE")),t.R7$(4),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.CATEGORY")),t.R7$(4),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.EXPLANATION")),t.R7$(4),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.CRONTIME")),t.R7$(4),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.TRIGGERCONDITION")),t.R7$(8),t.Y8G("disabled",t.bMT(41,14,e.isLoading$)),t.R7$(2),t.Y8G("ngIf",!1===t.bMT(43,16,e.isLoading$)),t.R7$(2),t.Y8G("ngIf",t.bMT(45,18,e.isLoading$)),t.R7$(2),t.Y8G("ngIf",void 0===e.modalConfig.hideFooter||!e.modalConfig.hideFooter()))},dependencies:[m.bT,N.ll,d.qT,d.me,d.Zm,d.BC,d.cb,d.j4,d.JD,h.Mm,m.Jj],encapsulation:2})}return i})();var nt=s(524),et=s(6505),u=s(3359),it=s(5154),j=s(4696);const ot=()=>({x:"1600px",y:"480px"});function at(i,c){1&i&&(t.qex(0),t.j41(1,"span",46),t.nrm(2,"span",47),t.k0s(),t.bVm()),2&i&&(t.R7$(),t.xc7("display","block"))}function st(i,c){1&i&&(t.qex(0),t.nrm(1,"span",48),t.bVm())}function lt(i,c){if(1&i){const n=t.RV6();t.j41(0,"tr")(1,"td",49)(2,"span",50),t.EFF(3),t.k0s()(),t.j41(4,"td",51)(5,"span",50),t.EFF(6),t.k0s()(),t.j41(7,"td",52)(8,"span",50),t.EFF(9),t.k0s()(),t.j41(10,"td",53)(11,"span",50),t.EFF(12),t.k0s()(),t.j41(13,"td",54)(14,"span",50),t.EFF(15),t.k0s()(),t.j41(16,"td",55)(17,"span",50),t.EFF(18),t.k0s()(),t.j41(19,"td",56)(20,"span",50),t.EFF(21),t.k0s()(),t.j41(22,"td",57)(23,"div",58)(24,"a",59),t.bIt("click",function(){const e=t.eBV(n).$implicit,l=t.XpG();return t.Njj(l.openCreateModal(null==e.id?null:e.id.toString(),l.ACTION_UPDATE))}),t.nrm(25,"span",60),t.k0s(),t.j41(26,"a",61),t.bIt("click",function(){const e=t.eBV(n).$implicit,l=t.XpG();return t.Njj(l.openDeleteModal(null==e.id?null:e.id.toString(),l.ACTION_UPDATE))}),t.nrm(27,"span",60),t.k0s()()()()}if(2&i){const n=c.$implicit,o=t.XpG();t.R7$(3),t.SpI(" ",n.id," "),t.R7$(3),t.SpI(" ",n.category," "),t.R7$(3),t.SpI(" ",n.explanations," "),t.R7$(3),t.SpI(" ",n.cronTime," "),t.R7$(3),t.SpI(" ",n.triggerCondition," "),t.R7$(3),t.SpI(" ",n.title," "),t.R7$(3),t.SpI(" ",n.message," "),t.R7$(4),t.Y8G("inlineSVG","./assets/media/icons/duotune/art/art005.svg"),t.R7$(),t.Y8G("nzTooltipTitle",o.translate.instant("COMMON.TOOLTIP.DELETE")),t.R7$(),t.Y8G("inlineSVG","./assets/media/icons/duotune/general/gen027.svg")}}let rt=(()=>{class i extends A.${notificationSettingService;fb;modalService;changeDetectorRefs;activeModal;pageInfo;translate;customColumn=[];total=1;pageSize=10;pageIndex=1;notificationSettingList;searchForm;isLoading$;isLoadingSubject;constructor(n,o,e,l,r,p,C){super(),this.notificationSettingService=n,this.fb=o,this.modalService=e,this.changeDetectorRefs=l,this.activeModal=r,this.pageInfo=p,this.translate=C,this.isLoadingSubject=new _.t(!1),this.isLoading$=this.isLoadingSubject.asObservable(),this.setPageTitle()}ngOnInit(){this.searchForm=this.fb.group({id:[null],category:[null],cronTime:[null],explanations:[null],triggerCondition:[null]}),this.initTable(),localStorage.getItem("notificationSettingCustomColumns")?this.customColumn=JSON.parse(localStorage.getItem("notificationSettingCustomColumns")):this.initCustomColumns()}setPageTitle(){this.pageInfo.calculateTitle(this.translate.instant("MENU.NOTIFICATION_SETTINGS"))}initCustomColumns(){this.customColumn=[{name:this.translate.instant("NOTIFICATION_SETTING.ID"),value:"id",default:!0,required:!0,position:"left",width:80,fixWidth:!0},{name:this.translate.instant("NOTIFICATION_SETTING.CATEGORY"),value:"category",default:!0,position:"left",width:300,fixWidth:!0},{name:this.translate.instant("NOTIFICATION_SETTING.EXPLANATION"),value:"explanations",default:!0,position:"left",width:300,fixWidth:!0},{name:this.translate.instant("NOTIFICATION_SETTING.VALUETIME"),value:"cronTime",default:!0,position:"left",width:200,fixWidth:!0},{name:this.translate.instant("NOTIFICATION_SETTING.TRIGGERCONDITION"),value:"triggerCondition",default:!0,position:"left",width:150,fixWidth:!0},{name:this.translate.instant("NOTIFICATION_SETTING.TITLE"),value:"title",default:!0,position:"left",width:300,fixWidth:!0},{name:this.translate.instant("NOTIFICATION_SETTING.MESSAGE"),value:"message",default:!0,position:"left",width:500,fixWidth:!0},{name:this.translate.instant("COMMON.BUTTON.ACTION"),value:"action",default:!0,required:!0,position:"right",width:200,fixWidth:!0}],localStorage.setItem("notificationSettingCustomColumns",JSON.stringify(this.customColumn))}openCreateModal(n,o){var e=this;return(0,R.A)(function*(){const l=e.modalService.open(tt,{size:"xl",scrollable:!0}),r={modalTitle:e.translate.instant("SYSTEM_COMMON.MODAL_TITLE.CREATE"),hideFooter:()=>!0},p={modalTitle:e.translate.instant("SYSTEM_COMMON.MODAL_TITLE.UPDATE"),hideFooter:()=>!0,action:"update"};l.componentInstance.id=n,l.componentInstance.type=o,o===I.q3.CREATE&&(l.componentInstance.modalConfig=r),o===I.q3.UPDATE&&(l.componentInstance.modalConfig=p),l.result.then(C=>{C&&e.initTable()})})()}openDeleteModal(n,o){var e=this;return(0,R.A)(function*(){const l=e.modalService.open(V,{size:"xs",scrollable:!0}),r={modalTitle:e.translate.instant("SYSTEM_COMMON.MODAL_TITLE.DELETE"),hideFooter:()=>!0,action:"create"};l.componentInstance.id=n,l.componentInstance.type=o,l.componentInstance.modalConfig=r,l.result.then(p=>{p&&e.initTable()})})()}initTable(){this.isLoadingSubject.next(!0);const n={page:this.pageIndex,limit:this.pageSize,order:{},filter:{},where:{}};this.getFormControl(this.searchForm,"id").value&&(n.filter.id=this.getFormControl(this.searchForm,"id").value),this.getFormControl(this.searchForm,"category").value&&(n.filter.category=this.getFormControl(this.searchForm,"category").value),this.getFormControl(this.searchForm,"explanations").value&&(n.filter.explanations=this.getFormControl(this.searchForm,"explanations").value),this.getFormControl(this.searchForm,"cronTime").value&&(n.filter.cronTime=this.getFormControl(this.searchForm,"cronTime").value),this.getFormControl(this.searchForm,"triggerCondition").value&&(n.filter.triggerCondition=this.getFormControl(this.searchForm,"triggerCondition").value),this.getAll(n)}onPageIndexChange(n){this.pageIndex=n,this.initTable()}onPageSizeChange(n){this.pageSize=n,this.initTable()}getAll(n){this.notificationSettingService.getAll(n).pipe((0,z.j)(()=>this.isLoadingSubject.next(!1))).subscribe({next:o=>{o&&(this.notificationSettingList=o.data,this.total=Number(o.pagination?.total),this.loading=!1,this.changeDetectorRefs.detectChanges())},error:()=>{this.loading=!0}})}static \u0275fac=function(o){return new(o||i)(t.rXU(b),t.rXU(d.ok),t.rXU(g.Bq),t.rXU(t.gRc),t.rXU(g.Lw),t.rXU(nt.PL),t.rXU(h.c$))};static \u0275cmp=t.VBU({type:i,selectors:[["app-notification-setting-search"]],features:[t.Vt3],decls:67,vars:37,consts:[[1,"card","card-xxl-stretch","mb-5","mb-xxl-8"],["nzGhost",""],[3,"nzExpandedIcon","nzActive","nzHeader"],[1,"card-header","border-0"],[1,"column","w-100"],[1,"card-body",3,"formGroup"],[1,"row","w-100"],[1,"column","mb-6","col-12","col-md-4"],["translate","NOTIFICATION_SETTING.ID",1,"col-lg-12","col-form-label","required","fw-bold","fs-6"],[1,"col-lg-12"],[1,"row"],[1,"col-lg-12","fv-row"],["type","text","name","id","formControlName","id","id","id",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.CATEGORY",1,"col-lg-12","col-form-label","required","fw-bold","fs-6"],["type","text","name","category","formControlName","category","id","category",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.EXPLANATION",1,"col-lg-12","col-form-label","required","fw-bold","fs-6"],["type","text","name","explanations","formControlName","explanations","i
1d","explanations",1,"form-control",3,"placeholder"],["translate","NOTIFICATION_SETTING.VALUETIME",1,"col-lg-12","col-form-label","required","fw-bold","fs-6"],["type","text","name","cronTime","formControlName","cronTime","id","cronTime",1,"form-control",3,"placeholder"],[1,"d-flex","justify-content-end","align-items-end"],[1,"btn","btn-sm","btn-light-primary",2,"margin-right","10px",3,"click","disabled"],[4,"ngIf"],[3,"nzShowArrow","nzActive","nzDisabled","nzHeader"],[1,"card-body","py-3"],[1,"table-responsive"],[3,"nzLoading","nzScroll","nzData","nzShowPagination","nzBordered","nzOuterBordered","nzCustomColumn"],[1,"fw-bolder","text-muted"],["nzCellControl","id",1,"min-w-80px"],["translate","NOTIFICATION_SETTING.ID"],["nzCellControl","category",1,"min-w-300px"],["translate","NOTIFICATION_SETTING.CATEGORY"],["nzCellControl","explanations",1,"min-w-300px"],["translate","NOTIFICATION_SETTING.EXPLANATION"],["nzCellControl","cronTime",1,"min-w-200px"],["translate","NOTIFICATION_SETTING.VALUETIME"],["nzCellControl","triggerCondition",1,"min-w-150px"],["translate","NOTIFICATION_SETTING.TRIGGERCONDITION"],["nzCellControl","title",1,"min-w-300px"],["translate","NOTIFICATION_SETTING.TITLE"],["nzCellControl","message",1,"min-w-500px"],["translate","NOTIFICATION_SETTING.MESSAGE"],["nzRight","","nzCellControl","action",1,"min-w-200px"],["translate","COMMON.BUTTON.ACTION"],[4,"ngFor","ngForOf"],[1,"card-body","p-9","d-flex","justify-content-end","align-items-center"],["nzShowSizeChanger","","nzShowQuickJumper","",3,"nzPageIndexChange","nzPageSizeChange","nzPageIndex","nzPageSize","nzTotal","nzSize","ngClass"],["translate","COMMON.BUTTON.WAIT",1,"indicator-progress"],[1,"spinner-border","spinner-border-sm","align-middle","ms-2"],["translate","COMMON.BUTTON.SEARCH",1,"indicator-label"],["nzCellControl","id"],[1,"text-dark","fw-bolder","d-block","fs-6"],["nzCellControl","category"],["nzCellControl","explanations"],["nzCellControl","cronTime"],["nzCellControl","triggerCondition"],["nzCellControl","title"],["nzCellControl","message"],["nzRight","","nzCellControl","action"],[1,"d-flex","justify-content-start","flex-shrink-0"],["nz-tooltip","","nzTooltipTitle","\u6642\u8a08\u306e\u8a73\u7d30",1,"btn","btn-icon","btn-bg-light","btn-active-color-primary","btn-sm","me-1",3,"click"],[1,"svg-icon","svg-icon-3",3,"inlineSVG"],["nz-tooltip","",1,"btn","btn-icon","btn-bg-light","btn-active-color-primary","btn-sm",3,"click","nzTooltipTitle"]],template:function(o,e){1&o&&(t.j41(0,"div",0)(1,"nz-collapse",1)(2,"nz-collapse-panel",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),t.nrm(8,"label",8),t.j41(9,"div",9)(10,"div",10)(11,"div",11),t.nrm(12,"input",12),t.k0s()()()(),t.j41(13,"div",7),t.nrm(14,"label",13),t.j41(15,"div",9)(16,"div",10)(17,"div",11),t.nrm(18,"input",14),t.k0s()()()(),t.j41(19,"div",7),t.nrm(20,"label",15),t.j41(21,"div",9)(22,"div",10)(23,"div",11),t.nrm(24,"input",16),t.k0s()()()(),t.j41(25,"div",7),t.nrm(26,"label",17),t.j41(27,"div",9)(28,"div",10)(29,"div",11),t.nrm(30,"input",18),t.k0s()()()()()(),t.j41(31,"div",19)(32,"button",20),t.nI1(33,"async"),t.bIt("click",function(){return e.initTable()}),t.DNE(34,at,3,2,"ng-container",21),t.nI1(35,"async"),t.DNE(36,st,2,0,"ng-container",21),t.nI1(37,"async"),t.k0s()()()()()()(),t.j41(38,"div",0)(39,"nz-collapse",1)(40,"nz-collapse-panel",22)(41,"div",23)(42,"div",24)(43,"nz-table",25),t.nI1(44,"async"),t.j41(45,"thead")(46,"tr",26)(47,"th",27),t.nrm(48,"span",28),t.k0s(),t.j41(49,"th",29),t.nrm(50,"span",30),t.k0s(),t.j41(51,"th",31),t.nrm(52,"span",32),t.k0s(),t.j41(53,"th",33),t.nrm(54,"span",34),t.k0s(),t.j41(55,"th",35),t.nrm(56,"span",36),t.k0s(),t.j41(57,"th",37),t.nrm(58,"span",38),t.k0s(),t.j41(59,"th",39),t.nrm(60,"span",40),t.k0s(),t.j41(61,"th",41),t.nrm(62,"span",42),t.k0s()()(),t.j41(63,"tbody"),t.DNE(64,lt,28,10,"tr",43),t.k0s()()()(),t.j41(65,"div",44)(66,"nz-pagination",45),t.mxI("nzPageIndexChange",function(r){return t.DH7(e.pageIndex,r)||(e.pageIndex=r),r})("nzPageSizeChange",function(r){return t.DH7(e.pageSize,r)||(e.pageSize=r),r}),t.bIt("nzPageIndexChange",function(r){return e.onPageIndexChange(r)})("nzPageSizeChange",function(r){return e.onPageSizeChange(r)}
1),t.k0s()()()()()),2&o&&(t.R7$(2),t.Y8G("nzExpandedIcon","double-right")("nzActive",!0)("nzHeader",e.translate.instant("COMMON.TITLE.ADVANCE_SEARCH_AREA")),t.R7$(3),t.Y8G("formGroup",e.searchForm),t.R7$(7),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.ID")),t.R7$(6),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.CATEGORY")),t.R7$(6),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.EXPLANATION")),t.R7$(6),t.Y8G("placeholder",e.translate.instant("NOTIFICATION_SETTING.VALUETIME")),t.R7$(2),t.Y8G("disabled",t.bMT(33,28,e.isLoading$)),t.R7$(2),t.Y8G("ngIf",t.bMT(35,30,e.isLoading$)),t.R7$(2),t.Y8G("ngIf",!1===t.bMT(37,32,e.isLoading$)),t.R7$(4),t.Y8G("nzShowArrow",!1)("nzActive",!0)("nzDisabled",!0)("nzHeader",e.translate.instant("COMMON.TITLE.SORT_AREA")),t.R7$(3),t.Y8G("nzLoading",t.bMT(44,34,e.isLoading$))("nzScroll",t.lJ4(36,ot))("nzData",e.notificationSettingList)("nzShowPagination",!1)("nzBordered",!0)("nzOuterBordered",!1)("nzCustomColumn",e.customColumn),t.R7$(21),t.Y8G("ngForOf",e.notificationSettingList),t.R7$(2),t.R50("nzPageIndex",e.pageIndex)("nzPageSize",e.pageSize),t.Y8G("nzTotal",e.total)("nzSize","small")("ngClass","flex justify-end items-center"))},dependencies:[m.YU,m.Sq,m.bT,N.ll,d.me,d.BC,d.cb,d.j4,d.JD,h.Mm,et.ae,u.CP,u.SO,u._4,u.IL,u.aj,u.kt,u.OL,u.hS,it.LH,j.Vz,j.pc,m.Jj],encapsulation:2})}return i})();const ct=[{path:"",component:(()=>{class i{static \u0275fac=function(o){return new(o||i)};static \u0275cmp=t.VBU({type:i,selectors:[["app-notification-setting"]],decls:1,vars:0,template:function(o,e){1&o&&t.nrm(0,"app-notification-setting-search")},dependencies:[rt]})}return i})()}];let dt=(()=>{class i{static \u0275fac=function(o){return new(o||i)};static \u0275mod=t.$C({type:i});static \u0275inj=t.G2t({imports:[G.iI.forChild(ct),G.iI]})}return i})(),mt=(()=>{class i{static \u0275fac=function(o){return new(o||i)};static \u0275mod=t.$C({type:i});static \u0275inj=t.G2t({providers:[b,g.Lw],imports:[m.MD,N.e1,D.J,g.zH,I.Dk,d.X1,y.G,dt]})}return i})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.