PageSourceSearch

https://www.city.ichihara.chiba.jp/6575.867a086b9b33b909.js

js city.ichihara.chiba.jp collected 2026-10-02 04:29:37 UTC 16,927 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebfront_reference_app=self.webpackChunkwebfront_reference_app||[]).push([[6575],{76575:(E,y,i)=>{i.r(y),i.d(y,{PtUsS06PageModule:()=>Ct});var c=i(75241),P=i(90061),T=i(59245),x=i(33611),b=i(90351),U=i(21706),C=i(52213),d=i(36895),h=i(73963),m=i(89066),g=i(10336),S=i(20388),F=i(66357),D=i(3453),Z=i(81677),a=i(24006),t=i(94650);let I=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[d.ez,a.u5,a.UX,Z.o9]}),n})(),J=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[d.ez,a.u5,a.UX,Z.o9]}),n})(),j=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[d.ez,a.u5,a.UX,Z.o9,I,J,g.m,F.U,D.V,S.zk.forRoot()]}),n})();var _,M=i(15861),G=i(97868),u=(()=>{return(n=u||(u={})).yes="Y",n.no="N",u;var n})(),R=i(95698),A=i(68029),Y=i(80529),w=i(70655),B=i(92084);let L=((_=class extends B.yh{constructor(){super({})}}).\u0275fac=function(r){return new(r||_)},_.\u0275prov=t.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_);L=(0,w.gn)([(0,B.yC)({name:"PtCmS58tore"})],L);var N=i(33272),k=i(25687);let z=(()=>{class n{constructor(e,o,s,l){this.httpClient=e,this.ptUsT56store=o,this.authService=s,this.personalizeService=l}callPtusa07(){var e=this;return(0,M.Z)(function*(){e.ptUsT56store.setLoading(!0),e.ptUsT56store.setError(null);const o=yield e.authService.getHttpHeader(),s={langCode:yield e.personalizeService.getLangCode().pipe((0,R.q)(1)).toPromise(),pageId:"PT_US_A07"},l={headers:o,params:{...A.i.env.tenantSiteInfo,...s}},p=yield e.httpClient.get(A.i.env.apiUrl.portal.api.users.notice.retrieve,l).toPromise();return e.ptUsT56store.setLoading(!1),e.ptUsT56store.update(p),p})()}callPtusa08(e){var o=this;return(0,M.Z)(function*(){const l={headers:yield o.authService.getHttpHeader()};yield o.httpClient.post(A.i.env.apiUrl.portal.api.users.notice.update,{...A.i.env.tenantSiteInfo,...e},l).toPromise()})()}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Y.eN),t.LFG(L),t.LFG(N.e8),t.LFG(k.o))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Q=(()=>{class n extends B.AE{constructor(e){super(e),this.store=e}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(L))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var W=i(77288);function X(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"li",5),t.NdJ("keydown",function(s){const p=t.CHM(e).index,v=t.oxw();return t.KtG(v.checkByEnterKey(s,p))}),t.TgZ(1,"div",6),t._uU(2),t.qZA(),t.TgZ(3,"div",7),t._UZ(4,"input",8),t.TgZ(5,"label",9)(6,"div",10)(7,"div",11),t._uU(8),t.qZA(),t.TgZ(9,"div",12),t._uU(10),t.qZA()(),t._UZ(11,"div",13),t.qZA()()()}if(2&n){const e=r.$implicit,o=r.index,s=t.oxw();t.Q6J("id","PT_CM_S59_RADIO_"+o)("formGroupName",o),t.uIk("aria-labelledby","PT_CM_S59_RADIO_LABEL_"+o),t.xp6(1),t.Akn("grid-area:"+(o+1)+"/1/"+(o+1)+"/1"),t.xp6(1),t.Oqu(e.get("label").value),t.xp6(1),t.Akn("grid-area:"+(o+1)+"/2/"+(o+1)+"/2"),t.xp6(1),t.s9C("id","ptcms59_toggle_"+o),t.xp6(1),t.s9C("for","ptcms59_toggle_"+o),t.xp6(3),t.Oqu(s.contents.interestNotificationContents.notificationContents.onLabel),t.xp6(2),t.Oqu(s.contents.interestNotificationContents.notificationContents.offLabel)}}let $=(()=>{class n{constructor(){}ngOnInit(){}ngOnDestroy(){}checkByEnterKey(e,o){13===(e.keyCode?e.keyCode:e.which)&&document.getElementById("ptcms59_toggle_"+o).click()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["pt-cm-s59"]],inputs:{form:"form",contents:"contents"},decls:6,vars:3,consts:[["role","heading","aria-level","2",1,"heading-Lv2"],[3,"formGroup"],["formArrayName","notificationContents"],[1,"ul-normal","grid"],[3,"id","formGroupName","keydown",4,"ngFor","ngForOf"],[3,"id","formGroupName","keydown"],[1,"left"],["tabindex","0",1,"onoffswitch","right"],["tabindex","-1","type","checkbox","formControlName","value",1,"onoffswitch-checkbox",3,"id"],[1,"onoffswitch-label",3,"for"],[1,"onoffswitch-inner"],[1,"onoffswitch-inner-on"],[1,"onoffswitch-inner-off"],[1,"onoffswitch-switch"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.TgZ(2,"form",1)(3,"div",2)(4,"ul",3),t.YNc(5,X,12,12,"li",4),t.qZA()()()),2&e&&(t.xp6(1),t.hij(" ",o.contents.interestNotificationContents.notificationContents.title,"\n"),t.xp6(1),t.Q6J("formGroup",o.form),t.xp6(3),t.Q6J("ngForOf",o.form.get("notificationContents").controls))},dependencies:[d.sg,a._Y,a.Wl,a.JJ,a.JL,a.sg,a.u,a.x0,a.CE],styles:[".grid[_ngcontent-%COMP%]{display:grid;grid-auto-rows:60px;align-items:center;padding-bottom:20px}.left[_ngcontent-%COMP%]{float:left;padding-top:5px}.right[_ngcontent-%COMP%]{float:right}"]}),n})();const V=["checkboxAll"];function q(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"li",12),t.NdJ("keydown",function(s){const p=t.CHM(e).index,v=t.oxw();return t.KtG(v.checkByEnterKey(s,p))}),t.TgZ(1,"label",5),t._UZ(2,"input",13),t.TgZ(3,"span",14),t._uU(4),t.qZA()()()}if(2&n){const e=r.$implicit,o=r.index;t.Q6J("id","PT_CM_S60_CHECKBOX_"+o+2)("formGroupName",o),t.uIk("aria-labelledby","PT_CM_S60_CHECKBOX_LABEL_"+o+2),t.xp6(3),t.Q6J("id","PT_CM_S60_CHECKBOX_LABEL_"+o+2),t.xp6(1),t.hij(" ",e.get("label").value," ")}}let tt=(()=>{class n{constructor(){}ngOnInit(){}ngOnDestroy(){}onEnterCheckboxAll(e){13===(e.keyCode?e.keyCode:e.which)&&document.getElementById("PT_CM_S60_CHECKBOX_LABEL_1").click()}onChangeCheckboxAll(e){this.interestContentsSetAll(e.target.checked)}checkByEnterKey(e,o){13===(e.keyCode?e.keyCode:e.which)&&document.getElementById("PT_CM_S60_CHECKBOX_LABEL_"+o+2).click()}onEnterUncheckAll(e){13===(e.keyCode?e.keyCode:e.which)&&this.onClickUnCheckAll()}onClickUnCheckAll(){this.checkboxAll.nativeElement.checked=!1,this.interestContentsSetAll(!1)}interestContentsSetAll(e){const o=this.form.get("interestContents");for(const s of o.controls)s.patchValue({value:e})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["pt-cm-s60"]],viewQuery:function(e,o){if(1&e&&t.Gf(V,5),2&e){let s;t.iGM(s=t.CRH())&&(o.checkboxAll=s.first)}},inputs:{form:"form",contents:"contents"},decls:15,vars:5,consts:[["role","heading","aria-level","2",1,"heading-Lv2"],[3,"formGroup"],["formArrayName","interestContents"],[1,"ul-normal"],["id","PT_CM_S60_CHECKBOX_1","aria-labelledby","PT_CM_S60_CHECKBOX_LABEL_1","tabindex","0",1,"border-bottom-primary-border-color-solid","interestContentsItem",3,"keydown"],[1,"checkbox"],["type","checkbox",3,"change"],["checkboxAll",""],["id","PT_CM_S60_CHECKBOX_LABEL_1"],["tabindex","0","class","border-bottom-primary-border-color-solid interestContentsItem",3,"id","formGroupName","keydown",4,"ngFor","ngForOf"],[1,"interestContentsLink"],["tabindex","0",1,"font-size-secondary-secondary-text-color","interestContentsItem",3,"keydown","click"],["tabindex","0",1,"border-bottom-primary-border-color-solid","interestContentsItem",3,"id","formGroupName","keydown"],["type","checkbox","formControlName","value"],[3,"id"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.TgZ(2,"form",1)(3,"div",2)(4,"ul",3)(5,"li",4),t.NdJ("keydown",function(l){return o.onEnterCheckboxAll(l)}),t.TgZ(6,"label",5)(7,"input",6,7),t.NdJ("change",function(l){return o.onChangeCheckboxAll(l)}),t.qZA(),t.TgZ(9,"span",8),t._uU(10),t.qZA()()(),t.YNc(11,q,5,5,"li",9),t.qZA()(),t.TgZ(12,"div",10)(13,"a",11),t.NdJ("keydown",function(l){return o.onEnterUncheckAll(l)}
1)("click",function(){return o.onClickUnCheckAll()}),t._uU(14),t.qZA()()()),2&e&&(t.xp6(1),t.hij(" ",o.contents.interestNotificationContents.interestContents.title,"\n"),t.xp6(1),t.Q6J("formGroup",o.form),t.xp6(8),t.hij(" ",o.contents.interestNotificationContents.interestContents.selectAllLabel," "),t.xp6(1),t.Q6J("ngForOf",o.form.get("interestContents").controls),t.xp6(3),t.hij(" ",o.contents.interestNotificationContents.interestContents.clearAllLabel," "))},dependencies:[d.sg,a._Y,a.Wl,a.JJ,a.JL,a.sg,a.u,a.x0,a.CE],styles:[".interestContentsItem[_ngcontent-%COMP%]{width:100%;margin-top:10px;margin-bottom:5px}.interestContentsLink[_ngcontent-%COMP%]{width:100%;margin-top:10px;margin-bottom:20px}"]}),n})();var et=i(51167),nt=i(18241),ot=i(82833),it=i(9569);const st=["successSubmitTemplate"],rt=["errorSubmitTemplate"];function at(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",7)(1,"div",8),t._UZ(2,"inline-object",9),t.qZA(),t.TgZ(3,"div",10),t._uU(4),t.qZA()(),t.TgZ(5,"div",11)(6,"a",12),t.NdJ("execute",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.bsModalRef.hide())}),t._uU(7),t.qZA()()}if(2&n){const e=t.oxw();
1t.xp6(2),t.s9C("src",e.contents.interestNotificationContents.successModalContents.icon),t.xp6(2),t.hij(" ",e.contents.interestNotificationContents.successModalContents.text," "),t.xp6(3),t.hij(" ",e.contents.interestNotificationContents.successModalContents.buttonLabel," ")}}function ct(n,r){if(1&n){const e=t.EpF();t.TgZ(0,"div",7)(1,"div",8),t._UZ(2,"inline-object",9),t.qZA(),t.TgZ(3,"div",13),t._uU(4),t.qZA()(),t.TgZ(5,"div",11)(6,"a",14),t.NdJ("execute",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.bsModalRef.hide())}),t._uU(7),t.qZA()()}if(2&n){const e=t.oxw();t.xp6(2),t.s9C("src",e.contents.interestNotificationContents.errorModalContents.icon),t.xp6(2),t.hij(" ",e.contents.interestNotificationContents.errorModalContents.text," "),t.xp6(3),t.hij(" ",e.contents.interestNotificationContents.errorModalContents.buttonLabel," ")}}let lt=(()=>{class n{constructor(e,o,s,l,p,v,f,gt){this.formBuilder=e,this.ptUsT56Service=o,this.ptUsT56Query=s,this.personalizeService=l,this.authService=p,this.busy=v,this.modalService=f,this.router=gt,this.subscriptionList=[],this.form=this.formBuilder.group({updateDatetime:null,notificationContents:new a.vC([]),interestContents:new a.vC([])}),this.contents={pageType:"",interestNotificationContents:{title:"",requiredLabel:"",notificationContents:{title:"",onLabel:"",offLabel:"",notificationContentsList:[]},interestContents:{title:"",selectAllLabel:"",clearAllLabel:"",interestContentsList:[]},successModalContents:{icon:"",text:"",buttonLabel:""},errorModalContents:{icon:"",text:"",buttonLabel:""}},menuCode:"",serviceDefinition:""},this.storeLoading$=this.ptUsT56Query.selectLoading()}ngOnInit(){var e=this;return(0,M.Z)(function*(){e.initForm()})()}ngOnDestroy(){for(const e of this.subscriptionList)e.unsubscribe();this.subscriptionList=[]}initForm(){this.subscriptionList.push(this.personalizeService.getLangCode().subscribe(e=>{this.ptUsT56Service.callPtusa07().then()})),this.subscriptionList.push(this.ptUsT56Query.select().subscribe(e=>{e.contents&&(this.contents=e.contents,this.form=this.convertPtusa07DataToForm(e))}))}submit(){var e=this;return(0,M.Z)(function*(){yield e.ptUsT56Service.callPtusa08(e.convertPtusa08FromToRequest(e.form)).then(()=>{e.bsModalRef=e.modalService.show(e.successSubmitModal),e.bsModalRef.onHide.subscribe(()=>{e.router.navigate([G.AM.MYPAGE.PATH])})}).catch(()=>{e.bsModalRef=e.modalService.show(e.errorSubmitModal)})})()}convertPtusa07DataToForm(e){return this.formBuilder.group({updateDatetime:e.data.updateDatetime,notificationContents:new a.vC(e.contents.interestNotificationContents.notificationContents.notificationContentsList.map(o=>this.formBuilder.group({key:[o.value],label:[o.label],value:[e.data[o.value]===u.yes]}))),interestContents:new a.vC(e.data.interestInfoList.map(o=>this.formBuilder.group({key:[o.interestCode],label:[o.interestLabel],value:[o.noticeTargetFlg===u.yes],updateDatetime:[o.updateDatetime]}))),updateDatetimeUser:e.data.updateDatetimeUser})}convertPtusa08FromToRequest(e){const o=e.controls.notificationContents.controls,s=e.controls.interestContents.controls,l=o.find(f=>"portalNoticeFlg"===f.controls.key.value),p=o.find(f=>"lineNoticeFlg"===f.controls.key.value),v=o.find(f=>"mailNoticeFlg"===f.controls.key.value);return{portalNoticeFlg:typeof l<"u"&&l.controls.value.value?u.yes:u.no,lineNoticeFlg:typeof p<"u"&&p.controls.value.value?u.yes:u.no,mailNoticeFlg:typeof v<"u"&&v.controls.value.value?u.yes:u.no,updateDatetime:e.controls.updateDatetime.value,interestInfoList:s.map(f=>({interestCode:f.controls.key.value,noticeTargetFlg:f.controls.value.value?u.yes:u.no,updateDatetime:f.controls.updateDatetime.value})),updateDatetimeUser:e.controls.updateDatetimeUser.value}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(a.QS),t.Y36(z),t.Y36(Q),t.Y36(k.o),t.Y36(N.e8),t.Y36(W.g),t.Y36(S.tT),t.Y36(h.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["pt-us-t56"]],viewQuery:function(e,o){if(1&e&&(t.Gf(st,5),t.Gf(rt,5)),2&e){let s;t.iGM(s=t.CRH())&&(o.successSubmitModal=s.first),t.iGM(s=t.CRH())&&(o.errorSubmitModal=s.first)}},decls:13,vars:9,consts:[[3,"busy"],[1,"frame"],["role","heading","aria-level","1",1,"heading-Lv1"],[3,"form","contents"],["appButton","","tabindex","0",1,"normal-write","button-urban-theme-color","submitButton",3,"execute"],["successSubmitTemplate",""],["errorSubmitTemplate",""],[1,"modal-body"],[1,"mb-3"],["aria-label","",1,"svg-custom-urban-theme-color","svg-size-55-55",3,"src"],[1,"modal-secondary-text-color-bold"],[1,"modal-footer"],["tabindex","0",1,"col-8","flex-center","button-secondary-button-bg-color","font-size-main-secondary-text-color","mx-auto","py-2",3,"appHref","execute"],[1,"modal-primary-text-color-bold","pre-wrap"],["appButton","","tabindex","0",1,"col-8","flex-center","button-secondary-button-bg-color","font-size-main-secondary-text-color","mx-auto","py-2",3,"execute"]],template:function(e,o){1&e&&(t.TgZ(0,"busy-indicator",0),t.ALo(1,"async"),t.TgZ(2,"div",1)(3,"div",2),t._uU(4),t.qZA(),t._UZ(5,"pt-cm-s59",3)(6,"pt-cm-s60",3),t.TgZ(7,"a",4),t.NdJ("execute",function(){return o.busy.wait(o.submit())}),t._uU(8),t.qZA()(),t.YNc(9,at,8,3,"ng-template",null,5,t.W1O),t.YNc(11,ct,8,3,"ng-template",null,6,t.W1O),t.qZA()),2&e&&(t.Q6J("busy",t.lcZ(1,7,o.storeLoading$)),t.xp6(4),t.hij(" ",o.contents.interestNotificationContents.title," "),t.xp6(1),t.Q6J("form",o.form)("contents",o.contents),t.xp6(1),t.Q6J("form",o.form)("contents",o.contents),t.xp6(2),t.hij(" ",o.contents.interestNotificationContents.requiredLabel," "))},dependencies:[$,tt,et.J,nt.t,ot.B,it.j,d.Ov],styles:[".frame[_ngcontent-%COMP%]{display:grid;margin-bottom:30px}.submitButton[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;text-align:center}"]}),n})();var ut=i(12598),dt=i(91663),mt=i(69297),pt=i(75190);
1const ft=[{path:"",component:(()=>{class n{constructor(e,o){this.location=e,this.translate=o}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(d.Ye),t.Y36(m.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["PT-US-S06"]],decls:13,vars:0,consts:[[1,"container-fluid"],[1,"row"],[1,"col-12","col-md-8","mx-auto","mx-2"],[1,"col-12","footer-padding"],[1,"button-tag","d-md-none"]],template:function(e,o){1&e&&(t._UZ(0,"pt-hm-s74"),t.TgZ(1,"div",0)(2,"div",1)(3,"div",2),t._UZ(4,"pt-us-t56"),t.qZA()(),t.TgZ(5,"div",1)(6,"div",2),t._UZ(7,"back-button"),t.qZA()(),t.TgZ(8,"div",1)(9,"div",3),t._UZ(10,"app-pt-cm-s02"),t.qZA()()(),t.TgZ(11,"footer",4),t._UZ(12,"app-pt-cm-s03"),t.qZA())},dependencies:[lt,ut.i,dt.W,mt.X,pt.s],styles:["@media print{.row[_ngcontent-%COMP%]{display:initial}}"]}),n})()}];let Ct=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[h.Bz.forChild(ft),m.aw,j,U._,g.m,d.ez,c.fx.forRoot(),P.kn.forRoot(),T.mr.forRoot(),C.n,b.$,x.l]}),n})()},91663:(E,y,i)=>{i.d(y,{W:()=>C});var c=i(94650),P=i(36895),T=i(25687),x=i(73963),b=i(9569),U=i(51167);let C=(()=>{class d{constructor(m,g,S){this.location=m,this.personalizeService=g,this.router=S,this.backBttonLabelObj={JPN:"\u623b\u308b",ENG:"Go back",CHN:"\u56de\u53bb",KOR:"\ub3cc\uc544\uac00\ub2e4",VNM:"tr\u1edf l\u1ea1i"}}ngOnInit(){this.personalizeService.getLangCode().subscribe(m=>{for(const g in this.backBttonLabelObj)g===m&&(this.backBttonLabel=this.backBttonLabelObj[g])})}goBack(){this.url?this.router.navigateByUrl(this.url):this.location.back()}}return d.\u0275fac=function(m){return new(m||d)(c.Y36(P.Ye),c.Y36(T.o),c.Y36(x.F0))},d.\u0275cmp=c.Xpm({type:d,selectors:[["back-button"]],inputs:{url:"url"},decls:5,vars:1,consts:[["appButton","","tabindex","0",1,"back-button",3,"execute"],[1,"svg-rotate-180"],["src","/assets/images/common-icon/custom_icon_arrow.svg",1,"svg-custom-secondary-text-color","svg-size-14-14"],[1,"back-button-label"]],template:function(m,g){1&m&&(c.TgZ(0,"a",0),c.NdJ("execute",function(){return g.goBack()}),c.TgZ(1,"div",1),c._UZ(2,"inline-object",2),c.qZA(),c.TgZ(3,"div",3),c._uU(4),c.qZA()()),2&m&&(c.xp6(4),c.hij(" ",g.backBttonLabel," "))},dependencies:[b.j,U.J]}),d})()},52213:(E,y,i)=>{i.d(y,{n:()=>U});var c=i(3453),P=i(10336),T=i(36895),x=i(89066),b=i(94650);let U=(()=>{class C{}return C.\u0275fac=function(h){return new(h||C)},C.\u0275mod=b.oAB({type:C}),C.\u0275inj=b.cJS({imports:[T.ez,x.aw,c.V,P.m]}),C})()}}]);

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.