PageSourceSearch

https://portal.privacypillar.com/src_app_ropa_attribute-manager-mo…ibute-manager_module_ts.9f056bf738cb139c.js

js privacypillar.com collected 2026-09-24 09:09:04 UTC 23,669 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_ropa_attribute-manager-module_attribute-manager_module_ts"],{30914:(k,A,s)=>{s.r(A),s.d(A,{AttributeManagerModule:()=>Tt});var u=s(36895),f=s(51692),_=s(96923),v=s(38611),x=s(82778),l=s(24006),g=s(22833),c=s(70713),d=s(36358),h=s(18178),m=s(74146),I=s(33169),S=s(74642),P=s(35569),M=s(79723),O=s(34466),J=s(22962),D=s(46162),N=s(63961),U=s(24028),E=s(97392),q=s(3848),z=s(86257),Y=s(51572),T=s(28255),b=s(42111),Q=s(90717),$=s(87545),y=s(92340),t=s(94650),C=s(61737),w=s(27221),H=s(80529);let K=(()=>{const n=class{constructor(e){this.http=e,this.basePath="/attributes"}getAttributes(e){return this.http.get(`${y.N.keyStoneUrl}${this.basePath}/${e}`).pipe((0,w.K)(o=>(0,C._)(o)))}createAttribute(e,o){return this.http.post(`${y.N.keyStoneUrl}${this.basePath}/${e}`,o).pipe((0,w.K)(a=>(0,C._)(a)))}updateAttribute(e,o,a){return this.http.put(`${y.N.keyStoneUrl}${this.basePath}/${e}/${o}`,a).pipe((0,w.K)(p=>(0,C._)(p)))}deleteAttribute(e,o){return this.http.delete(`${y.N.keyStoneUrl}${this.basePath}/${e}/${o}`).pipe((0,w.K)(a=>(0,C._)(a)))}};let i=n;return n.\u0275fac=function(o){return new(o||n)(t.LFG(H.eN))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),i})();var R=s(62430);const B=[{key:"label",label:"Label",columnType:"Text"},{key:"key",label:"Key",columnType:"Text"},{key:"type",label:"Type",columnType:"Text"},{key:"required",label:"Required",columnType:"Text"},{key:"options",label:"Options",columnType:"Array"},{key:"actions",label:"Actions",columnType:"Actions"}];let G=(()=>{const n=class extends R.a{constructor(){super({oid:"",pid:"",attributeList:[],columnList:B})}};let i=n;return n.\u0275fac=function(o){return new(o||n)},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),i})();var j=s(11481);let L=(()=>{const n=class{constructor(e,o,a,p,Z,Ct){this.activatedRoute=e,this.apiService=o,this.stateService=a,this.messageService=p,this.confirmationService=Z,this.titleService=Ct}init(){this.titleService.setTitle("ROPA Cutsom Fields - "+y.N.portalPrefix),this.activatedRoute.queryParams.pipe((0,$.w)(e=>(this.stateService.updateState({oid:e?.oid||"",pid:e?.pid||""}),this.apiService.getAttributes(e?.oid)))).subscribe({next:e=>{this.stateService.updateState({attributeList:this.extractList(e)})},error:e=>{console.error(e),this.showErrorMessage("Failed to load attributes")}})}getState(){return this.stateService.getState()}getStateObs(){return this.stateService.getStateObs()}refreshList(){const e=this.stateService.getState().oid;this.apiService.getAttributes(e).subscribe({next:o=>{this.stateService.updateState({attributeList:this.extractList(o)})},error:o=>{console.error(o),this.showErrorMessage("Failed to refresh attributes")}})}createAttribute(e){const o=this.stateService.getState().oid;return this.apiService.createAttribute(o,e)}updateAttribute(e){const o=this.stateService.getState().oid;return this.apiService.updateAttribute(o,e.id,e)}deleteAttribute(e){this.confirmationService.confirm({message:`Are you sure you want to delete "${e.label}"?`,header:"Delete custom field",icon:"pi pi-exclamation-triangle",accept:()=>{const o=this.stateService.getState().oid;this.apiService.deleteAttribute(o,e.id).subscribe({next:()=>{this.showSuccessMessage("Custom field deleted successfully"),this.refreshList()},error:a=>{console.error(a),this.showErrorMessage("Failed to delete custom field")}})}})}showSuccessMessage(e){this.messageService.add({severity:"success",summary:"Success",detail:e})}showErrorMessage(e){this.messageService.add({severity:"error",summary:"Error",detail:e})}extractList(e){return Array.isArray(e)?e:e&&Array.isArray(e.data)?e.data:e&&Array.isArray(e.attributes)?e.attributes:e&&Array.isArray(e.items)?e.items:e&&e.data&&Array.isArray(e.data.attributes)?e.data.attributes:[]}};let i=n;return n.\u0275fac=function(o){return new(o||n)(t.LFG(f.gz),t.LFG(K),t.LFG(G),t.LFG(b.ez),t.LFG(b.YP),t.LFG(j.Dx))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),i})();function V(i,n){1&i&&(t.TgZ(0,"small",16),t._uU(1," Label is required "),t.qZA())}
1function W(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"div",19),t.NdJ("click",function(){const a=t.CHM(r).$implicit,p=t.oxw(2);return t.KtG(p.selectType(a))}),t._uU(1),t.qZA()}if(2&i){const r=n.$implicit;t.xp6(1),t.hij(" ",r.label," ")}}function X(i,n){if(1&i&&(t.TgZ(0,"div",17),t.YNc(1,W,2,1,"div",18),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.attributeTypes)}}function tt(i,n){1&i&&(t.TgZ(0,"small",16),t._uU(1," Option is required "),t.qZA())}function et(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"div",24)(1,"div",25),t._UZ(2,"input",26),t.YNc(3,tt,2,0,"small",6),t.qZA(),t.TgZ(4,"button",27),t.NdJ("click",function(){const a=t.CHM(r).index,p=t.oxw(2);return t.KtG(p.removeOption(a))}),t.qZA()()}if(2&i){const r=n.$implicit,e=n.index,o=t.oxw(2);t.xp6(2),t.Q6J("formControlName",e),t.xp6(1),t.Q6J("ngIf",r.touched&&r.hasError("required")),t.xp6(1),t.Q6J("disabled",o.saving)}}function it(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"div")(1,"div",20)(2,"label"),t._uU(3,"Options "),t.TgZ(4,"span",4),t._uU(5,"*"),t.qZA()(),t.TgZ(6,"button",21),t.NdJ("click",function(){t.CHM(r);const o=t.oxw();return t.KtG(o.addOption())}),t.qZA()(),t.TgZ(7,"div",22),t.YNc(8,et,5,3,"div",23),t.qZA()()}if(2&i){const r=t.oxw();
1t.xp6(6),t.Q6J("disabled",r.saving),t.xp6(2),t.Q6J("ngForOf",r.options.controls)}}function nt(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"button",28),t.NdJ("click",function(){t.CHM(r);const o=t.oxw();return t.KtG(o.closeDialog())}),t.qZA(),t.TgZ(1,"button",29),t.NdJ("click",function(){t.CHM(r);const o=t.oxw();return t.KtG(o.saveAttribute())}),t.qZA()}if(2&i){const r=t.oxw();t.Q6J("disabled",r.saving),t.xp6(1),t.Q6J("label",r.saving?"Saving...":"Save")("disabled",r.disableSave)}}const ot=function(){return{width:"650px"}};let rt=(()=>{const n=class{selectType(e){this.form.get("type")?.setValue(e.value),this.isDropdownOpen=!1,this.onTypeChange()}getSelectedTypeLabel(){const e=this.form.get("type")?.value;return this.attributeTypes.find(o=>o.value===e)?.label||""}constructor(e){this.fb=e,this.visible=!1,this.attribute=null,this.saving=!1,this.save=new t.vpe,this.close=new t.vpe,this.attributeTypes=[{label:"Text",value:"text"},{label:"Dropdown",value:"select"},{label:"Multi Select",value:"multiselect"}],this.form=this.fb.group({label:["",l.kI.required],key:[{value:"",disabled:!0}],type:["text",l.kI.required],required:[!1],options:this.fb.array([])}),this.isDropdownOpen=!1}ngOnChanges(e){(e.attribute||e.visible)&&this.initializeForm()}get options(){return this.form.get("options")}get disableSave(){return!(!this.saving&&!this.form.get("label")?.invalid)||!!this.showOptionsSection()&&(0===this.options.length||this.options.controls.some(e=>!e.value?.trim()))}initializeForm(){this.options.clear(),this.attribute?(this.form.patchValue({label:this.attribute.label,key:this.attribute.key,type:this.attribute.type,required:this.attribute.required}),this.attribute.options?.length&&this.attribute.options.forEach(e=>{this.options.push(new l.NI(e,l.kI.required))}),this.onTypeChange()):this.form.reset({label:"",key:"",type:"text",required:!1})}onLabelChange(){const e=this.form.get("label")?.value||"";this.form.patchValue({key:this.generateKey(e)},{emitEvent:!1})}generateKey(e){return e.trim().toLowerCase().replace(/[^\w\s]/g,"").replace(/\s+/g,"_")}onTypeChange(){const e=this.form.get("type")?.value;("select"===e||"multiselect"===e)&&0===this.options.length&&this.addOption(),"text"===e&&this.options.clear()}addOption(){this.options.push(new l.NI("",l.kI.required))}removeOption(e){1!==this.options.length&&this.options.removeAt(e)}showOptionsSection(){const e=this.form.get("type")?.value;return"select"===e||"multiselect"===e}saveAttribute(){if(this.form.markAllAsTouched(),this.options.markAllAsTouched(),this.disableSave)return;const e={id:this.attribute?.id,label:this.form.get("label")?.value,key:this.generateKey(this.form.get("label")?.value),type:this.form.get("type")?.value,required:this.form.get("required")?.value,options:this.showOptionsSection()?this.options.value:[]};this.save.emit(e)}closeDialog(){this.saving||(this.resetForm(),this.close.emit(),this.isDropdownOpen=!1)}resetForm(){this.options.clear(),this.form.reset({label:"",key:"",type:"text",required:!1})}};let i=n;return n.\u0275fac=function(o){return new(o||n)(t.Y36(l.qu))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-attribute-dialog"]],inputs:{visible:"visible",attribute:"attribute",saving:"saving"},outputs:{save:"save",close:"close"},features:[t.TTD],decls:29,vars:17,consts:[[3,"header","visible","modal","draggable","resizable","closable","closeOnEscape","visibleChange","onHide"],[3,"formGroup"],[1,"field","mb-3"],[1,"attribute__label"],[1,"required"],["pInputText","","placeholder","Country label","formControlName","label",1,"w-100",3,"input"],["class","p-error",4,"ngIf"],["pInputText","","formControlName","key","readonly","",1,"w-100"],["type","button",1,"custom-select-trigger",3,"click"],[1,"pi",3,"ngClass"],["class","custom-select-menu",4,"ngIf"],[1,"field","mb-4"],["formControlName","required",3,"binary"],[1,"ml-2"],[4,"ngIf"],["pTemplate","footer"],[1,"p-error"],[1,"custom-select-menu"],["class","custom-select-option",3,"click",4,"ngFor","ngForOf"],[1,"custom-select-option",3,"click"],[1,"attribute__option-header"],["pButton","","type","button","label","Add Option","icon","pi pi-plus",1,"p-button-sm",3,"disabled","click"],["formArrayName","options"],["class","option-row",4,"ngFor","ngForOf"],[1,"option-row"],[1,"w-100"],["pInputText","","placeholder","Option",1,"w-100",3,"formControlName"],["pButton","","type","button","icon","pi pi-trash",1,"p-button-danger",3,"disabled","click"],["pButton","","type","button","label","Cancel",1,"p-button-secondary",3,"disabled","click"],["pButton","","type","button",3,"label","disabled","click"]],template:function(o,a){if(1&o&&(t.TgZ(0,"p-dialog",0),t.NdJ("visibleChange",function(Z){return a.visible=Z})("onHide",function(){return a.closeDialog()}),t.TgZ(1,"form",1)(2,"div",2)(3,"label",3),t._uU(4," Label "),t.TgZ(5,"span",4),t._uU(6,"*"),t.qZA()(),t.TgZ(7,"input",5),t.NdJ("input",function(){return a.onLabelChange()}),t.qZA(),t.YNc(8,V,2,0,"small",6),t.qZA(),t.TgZ(9,"div",2)(10,"label",3),t._uU(11," Key "),t.qZA(),t._UZ(12,"input",7),t.qZA(),t.TgZ(13,"div",2)(14,"label",3),t._uU(15," Type "),t.TgZ(16,"span",4),t._uU(17,"*"),t.qZA()(),t.TgZ(18,"button",8),t.NdJ("click",function(){return a.isDropdownOpen=!a.isDropdownOpen}),t.TgZ(19,"span"),t._uU(20),t.qZA(),t._UZ(21,"i",9),t.qZA(),t.YNc(22,X,2,1,"div",10),t.qZA(),t.TgZ(23,"div",11),t._UZ(24,"p-checkbox",12),t.TgZ(25,"span",13),t._uU(26," Required "),t.qZA()(),t.YNc(27,it,9,2,"div",14),t.qZA(),t.YNc(28,nt,2,3,"ng-template",15),t.qZA()),2&o){let p;t.Akn(t.DdM(16,ot)),t.Q6J("header",a.attribute?"Edit custom field":"Add custom field")("visible",a.visible)("modal",!0)("draggable",!1)("resizable",!1)("closable",!a.saving)("closeOnEscape",!a.saving),t.xp6(1),t.Q6J("formGroup",a.form),t.xp6(7),t.Q6J("ngIf",(null==(p=a.form.get("label"))?null:p.touched)&&(null==(p=a.form.get("label"))?null:p.hasError("required"))),t.xp6(12),t.Oqu(a.getSelectedTypeLabel()||"Select Type"),t.xp6(1),t.Q6J("ngClass",a.isDropdownOpen?"pi-chevron-up":"pi-chevron-down"),t.xp6(1),t.Q6J("ngIf",a.isDropdownOpen),t.xp6(2),t.Q6J("binary",!0),t.xp6(3),t.Q6J("ngIf",a.showOptionsSection())}},dependencies:[u.mk,u.sg,u.O5,l._Y,l.Fj,l.JJ,l.JL,l.sg,l.u,l.CE,b.jx,v.Hq,x.o,d.XZ,S.V],styles:[".attribute__label[_ngcontent-%COMP%]{display:block;font-weight:600;margin-bottom:6px}.attribute__option-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.option-row[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px}.w-100[_ngcontent-%COMP%]{width:100%}.required[_ngcontent-%COMP%]{color:#dc3545}.p-error[_ngcontent-%COMP%]{display:block;color:#dc3545;font-size:12px;margin-top:4px}[_nghost-%COMP%]     .p-dropdown, [_nghost-%COMP%]     .p-inputtext{width:100%}[_nghost-%COMP%]     .p-dialog-content{max-height:60vh;overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%]     .p-dialog-footer{display:flex;justify-content:flex-end;
1gap:8px;position:sticky;bottom:0;background:#fff;z-index:1}[_nghost-%COMP%]     .p-button:disabled{opacity:.6;cursor:not-allowed}.custom-select[_ngcontent-%COMP%]{position:relative;width:100%}.custom-select-trigger[_ngcontent-%COMP%]{width:100%;height:44px;border:1px solid #ced4da;border-radius:6px;background:#fff;padding:0 16px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.custom-select-menu[_ngcontent-%COMP%]{position:relative;top:100%;left:0;right:0;background:#fff;border:1px solid #ced4da;border-radius:6px;margin-top:4px;z-index:1000}.custom-select-option[_ngcontent-%COMP%]{padding:12px 16px;cursor:pointer}.custom-select-option[_ngcontent-%COMP%]:hover{background:#f5f5f5}"]}),i})();function st(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"p-button",19),t.NdJ("click",function(){t.CHM(r);const o=t.oxw(2);return t.KtG(o.addAttribute())}),t.qZA()}}function at(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"div",20)(1,"h5",21),t._uU(2,"Manage ROPA Custom Fields"),t.qZA(),t.TgZ(3,"span",22),t._UZ(4,"i",23),t.TgZ(5,"input",24),t.NdJ("input",function(o){t.CHM(r),t.oxw();const a=t.MAs(15);return t.KtG(a.filterGlobal(o.target.value,"contains"))}),t.qZA()()()}}function lt(i,n){if(1&i&&(t.TgZ(0,"th"),t._uU(1),t.qZA()),2&i){const r=n.$implicit;t.xp6(1),t.hij(" ",r.label," ")}}function ut(i,n){if(1&i&&(t.TgZ(0,"tr"),t.YNc(1,lt,2,1,"th",25),t.qZA()),2&i){const r=n.$implicit;t.xp6(1),t.Q6J("ngForOf",r)}}const ct=function(i){return{attribute__link:i}};function pt(i,n){if(1&i&&(t.TgZ(0,"td")(1,"span",29),t._uU(2),t.qZA()()),2&i){const r=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngClass",t.VKq(2,ct,"label"===r.key)),t.xp6(1),t.hij(" ",e[r.key]," ")}}function dt(i,n){if(1&i&&(t.TgZ(0,"td"),t._uU(1),t.qZA()),2&i){const r=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e[r.key]?"Yes":"No"," ")}}function mt(i,n){if(1&i&&(t.TgZ(0,"td",30),t._uU(1),t.qZA()),2&i){const r=t.oxw().$implicit,e=t.oxw().$implicit,o=t.oxw(2);t.Q6J("title",o.getArrayDisplay(e[r.key])),t.xp6(1),t.hij(" ",o.getArrayDisplay(e[r.key])," ")}}function gt(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"td")(1,"button",31)(2,"mat-icon"),t._uU(3," more_vert "),t.qZA()(),t.TgZ(4,"mat-menu",null,32)(6,"button",33),t.NdJ("click",function(){t.CHM(r);const o=t.oxw(2).$implicit,a=t.oxw(2);return t.KtG(a.menuItemClick("EDIT",o))}),t._uU(7," Edit "),t.qZA(),t.TgZ(8,"button",33),t.NdJ("click",function(){t.CHM(r);const o=t.oxw(2).$implicit,a=t.oxw(2);return t.KtG(a.menuItemClick("DELETE",o))}),t._uU(9," Delete "),t.qZA()()()}if(2&i){const r=t.MAs(5);t.xp6(1),t.Q6J("matMenuTriggerFor",r)}}function ht(i,n){if(1&i&&(t.ynx(0)(1,26),t.YNc(2,pt,3,4,"td",27),t.YNc(3,dt,2,1,"td",27),t.YNc(4,mt,2,2,"td",28),t.YNc(5,gt,10,1,"td",27),t.BQk()()),2&i){const r=n.$implicit;t.xp6(1),t.Q6J("ngSwitch",r.columnType),t.xp6(1),t.Q6J("ngSwitchCase","Text"),t.xp6(1),t.Q6J("ngSwitchCase","Required"),t.xp6(1),t.Q6J("ngSwitchCase","Array"),t.xp6(1),t.Q6J("ngSwitchCase","Actions")}}function bt(i,n){if(1&i&&(t.TgZ(0,"tr"),t.YNc(1,ht,6,5,"ng-container",25),t.qZA()),2&i){const r=n.columns;t.xp6(1),t.Q6J("ngForOf",r)}}function ft(i,n){if(1&i&&(t.TgZ(0,"div",34),t._uU(1),t.qZA()),2&i){const r=t.oxw().ngIf;t.xp6(1),t.hij(" In total there are ",(null==r.attributeList?null:r.attributeList.length)||0," Custom Fields. ")}}const _t=function(i,n){return{oid:i,pid:n}},F=function(){return[]},vt=function(){return["label","key","type"]},xt=function(){return{width:"450px"}};
1function yt(i,n){if(1&i){const r=t.EpF();t.TgZ(0,"div")(1,"div",1)(2,"div",2)(3,"div")(4,"nav",3)(5,"ol",4)(6,"li",5)(7,"a",6),t._uU(8," Home "),t.qZA()(),t.TgZ(9,"li",7),t._uU(10,"ROPA Custom Fields"),t.qZA()()()()()(),t.TgZ(11,"div",8)(12,"p-toolbar",9),t.YNc(13,st,1,0,"ng-template",10),t.qZA(),t.TgZ(14,"p-table",11,12),t.YNc(16,at,6,0,"ng-template",13),t.YNc(17,ut,2,1,"ng-template",14),t.YNc(18,bt,2,1,"ng-template",15),t.YNc(19,ft,2,1,"ng-template",16),t.qZA(),t._UZ(20,"p-confirmDialog")(21,"p-toast",17),t.qZA(),t.TgZ(22,"app-attribute-dialog",18),t.NdJ("save",function(o){t.CHM(r);const a=t.oxw();return t.KtG(a.saveAttribute(o))})("close",function(){t.CHM(r);const o=t.oxw();return t.KtG(o.closeDialog())}),t.qZA()()}if(2&i){const r=n.ngIf,e=t.oxw();t.xp6(7),t.Q6J("queryParams",t.WLB(12,_t,r.oid,r.pid)),t.xp6(7),t.Q6J("value",r.attributeList||t.DdM(15,F))("rows",20)("globalFilterFields",t.DdM(16,vt))("rowHover",!0)("columns",r.columnList||t.DdM(17,F))("showCurrentPageReport",!0),t.xp6(6),t.Akn(t.DdM(18,xt)),t.xp6(2),t.Q6J("visible",e.displayDialog)("attribute",e.selectedAttribute)("saving",e.saving)}}const At=[{path:"",component:(()=>{const n=class{constructor(e){this.attributeManagerActionService=e,this.stateObs=this.attributeManagerActionService.getStateObs(),this.displayDialog=!1,this.selectedAttribute=null,this.saving=!1,this.menuItems=[{label:"Edit",value:"EDIT"},{label:"Delete",value:"DELETE"}]}ngOnInit(){this.attributeManagerActionService.init()}addAttribute(){this.selectedAttribute=null,this.displayDialog=!0}editAttribute(e){this.selectedAttribute={...e},this.displayDialog=!0}deleteAttribute(e){this.attributeManagerActionService.deleteAttribute(e)}menuItemClick(e,o){switch(e){case"EDIT":this.editAttribute(o);break;case"DELETE":this.deleteAttribute(o)}}saveAttribute(e){this.saving=!0;const o=!!e.id;(o?this.attributeManagerActionService.updateAttribute(e):this.attributeManagerActionService.createAttribute(e)).subscribe({next:()=>{this.saving=!1,this.displayDialog=!1,this.selectedAttribute=null,this.attributeManagerActionService.refreshList(),this.attributeManagerActionService.showSuccessMessage(o?"Custom field updated successfully":"Custom field created successfully")},error:()=>{this.saving=!1}})}closeDialog(){this.saving||(this.displayDialog=!1,this.selectedAttribute=null)}getArrayDisplay(e){return e?.length?e.join(", "):"- - - -"}};let i=n;return n.\u0275fac=function(o){return new(o||n)(t.Y36(L))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-attribute-list"]],features:[t._Bn([L])],decls:2,vars:3,consts:[[4,"ngIf"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"card","m-2"],["styleClass","mb-4 gap-2"],["pTemplate","left"],["dataKey","id",3,"value","rows","globalFilterFields","rowHover","columns","showCurrentPageReport"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","summary"],["position","bottom-right"],[3,"visible","attribute","saving","save","close"],["severity","success","label","Add custom field","icon","pi pi-plus",1,"p-button-text","my-custom-btn",3,"click"],[1,"attribute__caption"],[1,"m-0"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Search...",3,"input"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","attribute__truncate",3,"title",4,"ngSwitchCase"],[3,"ngClass"],[1,"attribute__truncate",3,"title"],["mat-icon-button","",1,"attribute__menu",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"],[1,"flex","align-items-center","justify-content-between"]],template:function(o,a){1&o&&(t.YNc(0,yt,23,19,"div",0),t.ALo(1,"async")),2&o&&t.Q6J("ngIf",t.lcZ(1,1,a.stateObs))},dependencies:[u.mk,u.sg,u.O5,u.RF,u.n9,f.rH,_.iA,b.jx,v.zx,x.o,M.FN,O.Q,D.o,E.Hw,T.VK,T.OP,T.p6,rt,u.Ov],styles:[".attribute__caption[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.attribute__link[_ngcontent-%COMP%]{color:#16bf5e;cursor:pointer;font-weight:500}.attribute__link[_ngcontent-%COMP%]:hover{text-decoration:underline}.attribute__truncate[_ngcontent-%COMP%]{max-width:300px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attribute__menu[_ngcontent-%COMP%]{border:none!important;background-color:transparent!important;box-shadow:none!important}  .my-custom-btn .p-button{background-color:#16bf5e!important;border:1px solid #16bf5e!important;font-size:small}  .my-custom-btn .p-button .p-button-icon-left{margin-right:8px}  .my-custom-btn .p-button:hover{background-color:#16bf5e!important;border:1px solid #16bf5e!important}  .p-button-icon.p-button-icon-left{margin-right:0rem!important}  .mat-mdc-menu-panel{background-color:#fff!important}  .mdc-list-item__primary-text{color:#000!important}  .cdk-overlay-container{z-index:1000000!important}  .p-toolbar{border-bottom:0!important}  .p-table .p-datatable-header{border-top:0!important}  .p-input-icon-left{display:flex;align-items:center}  .p-input-icon-left>i{left:.75rem}  .p-inputtext{min-width:220px}.bredcrub-row[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]{border-radius:4px}.purposes__menu[_ngcontent-%COMP%]{border:white!important;background-color:#fff!important}.purposes__truncate[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}"]}),i})()}];let Tt=(()=>{const n=class{};let i=n;return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[b.ez,b.YP,Q.xA],imports:[u.ez,f.Bz.forChild(At),l.u5,l.UX,_.U$,v.hJ,x.j,g.cc,c.LU,d.nD,h.kW,m.A,I.L$,S.S,P.KZ,M.EV,O.D,J.q4,D.V,N.xc,U.d,E.Ps,q.Nh,z.T5,Y.Cq,T.Tx]}),i})()},74146:(k,A,s)=>{s.d(A,{A:()=>x,g:()=>v});var u=s(94650),f=s(36895),_=s(24006);let v=(()=>{class l{constructor(c,d,h,m){this.el=c,this.ngModel=d,this.control=h,this.cd=m,this.onResize=new u.vpe}ngOnInit(){this.ngModel&&(this.ngModelSubscription=this.ngModel.valueChanges.subscribe(()=>{this.updateState()})),this.control&&(this.ngControlSubscription=this.control.valueChanges.subscribe(()=>{this.updateState()}))}ngAfterViewInit(){this.autoResize&&this.resize(),this.updateFilledState(),this.cd.detectChanges()}onInput(c){this.updateState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length}onFocus(c){this.autoResize&&this.resize(c)}onBlur(c){this.autoResize&&this.resize(c)}resize(c){this.el.nativeElement.style.height="auto",this.el.nativeElement.style.height=this.el.nativeElement.scrollHeight+"px",parseFloat(this.el.nativeElement.style.height)>=parseFloat(this.el.nativeElement.style.maxHeight)?(this.el.nativeElement.style.overflowY="scroll",this.el.nativeElement.style.height=this.el.nativeElement.style.maxHeight):this.el.nativeElement.style.overflow="hidden",this.onResize.emit(c||{})}updateState(){this.updateFilledState(),this.autoResize&&this.resize()}ngOnDestroy(){this.ngModelSubscription&&this.ngModelSubscription.unsubscribe(),this.ngControlSubscription&&this.ngControlSubscription.unsubscribe()}}return l.\u0275fac=function(c){return new(c||l)(u.Y36(u.SBq),u.Y36(_.On,8),u.Y36(_.a5,8),u.Y36(u.sBO))},l.\u0275dir=u.lG2({type:l,selectors:[["","pInputTextarea",""]],hostVars:10,hostBindings:function(c,d){1&c&&u.NdJ("input",function(m){return d.onInput(m)})("focus",function(m){return d.onFocus(m)})("blur",function(m){return d.onBlur(m)}),2&c&&u.ekj("p-inputtextarea",!0)("p-inputtext",!0)("p-component",!0)("p-filled",d.filled)("p-inputtextarea-resizable",d.autoResize)},inputs:{autoResize:"autoResize"},outputs:{onResize:"onResize"}}),l})(),x=(()=>{class l{}return l.\u0275fac=function(c){return new(c||l)},l.\u0275mod=u.oAB({type:l}),l.\u0275inj=u.cJS({imports:[f.ez]}),l})()}}]);

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.