PageSourceSearch

https://app.pointerpro.com/chunk-YIBJHCQ4.js

js pointerpro.com collected 2026-09-24 09:59:04 UTC 4,464 bytes, 2 lines download raw bytes

1import{a as ie}from"./chunk-JA6JPNKD.js";import{i as te}from"./chunk-SOQSONQE.js";import{a as ee}from"./chunk-SHBCU2IV.js";import{a as X}from"./chunk-BSKLAPJ7.js";import{Q as Y,Y as Z,z as U}from"./chunk-IE3GEG6D.js";import{G as Q,c as H,g as J,m as K}from"./chunk-JLQQPUG2.js";import"./chunk-OYHRIJHA.js";import{d as G,s as q,t as z}from"./chunk-JLTXE2K3.js";import{$a as N,$b as y,Ac as $,Ja as u,La as x,Lb as C,Mb as b,N as T,Nb as S,O as E,Ob as W,Pb as f,Q as A,Ra as D,Ub as k,Wa as B,Xa as O,Za as j,_a as I,_b as _,ab as c,ac as P,b as w,ba as F,bb as o,ca as v,cb as l,db as p,mc as R,nb as V,sb as g,ub as d,uc as L,ya as s}from"./chunk-Y66N7V4O.js";import"./chunk-7CEBWOAQ.js";var M=(function(e){return e.RELEASED="released",e.DEVELOPMENT="development",e.MAINTENANCE="maintenance",e})(M||{});var ne=e=>({name:e});function ae(e,a){if(e&1){let r=V();o(0,"tr"),p(1,"td",14)(2,"td",14),o(3,"td")(4,"div",20)(5,"sa-toggle-button",21),S("ngModelChange",function(t){let i=F(r).$implicit;return b(i.active,t)||(i.active=t),v(t)}),g("ngModelChange",function(){let t=F(r).$implicit,i=d(3);return v(i.toggleFeatureFlag(t.name,t.active))}),l()()()()}if(e&2){let r=a.$implicit;s(),c("transloco",f("admin.feature_flags.titles.feature_",r.name)),s(),c("transloco",f("admin.feature_flags.descriptions.feature_",r.name)),s(3),C("ngModel",r.active)}}function re(e,a){if(e&1&&(p(0,"h2",14),o(1,"table",15)(2,"thead"),p(3,"th",16)(4,"th",17)(5,"th",18),l(),o(6,"tbody"),D(7,ae,6,5,"tr",19),_(8,"searchObj"),l()()),e&2){let r=a.$implicit,n=d(),t=d();c("transloco",f("admin.feature_flags.modals.edit.feature_flag.table.",r)),s(7),c("ngForOf",P(8,3,n[r],k(6,ne,t.search)))}}function oe(e,a){if(e&1&&(o(0,"div",13),I(1,re,9,8,null,null,j),l()),e&2){let r=d();s(),N(r.categories)}}var Ae=(()=>{let a=class a{constructor(n,t,i){this.toast=n,this.adminApiService=t,this.cdRef=i,this.categories=Object.values(M),this.refreshFeatureFlags=new w,this.search=""}ngOnInit(){this.getFeatureFlags()}getFeatureFlags(){this.tableData$=this.refreshFeatureFlags.pipe(T([]),E(()=>this.adminApiService.getFeatureFlags()),A({error:n=>{this.toast.error(),console.error(n)}}))}toggleFeatureFlag(n,t){this.adminApiService.updateFeatureFlag(n,t).subscribe({next:()=>{this.toast.success("admin.feature_flags.edit.notifications.save.success")},error:i=>{this.toast.error(),console.error(i)}})}flush(){this.adminApiService.flushFeatureFlags().subscribe({next:()=>{this.getFeatureFlags(),this.toast.success("admin.feature_flags.edit.notifications.flush.success")},error:n=>{this.toast.error(),console.error(n)}})}searchCallback(){this.cdRef.detectChanges()}};a.\u0275fac=function(t){return new(t||a)(u(G),u(ie),u(R))},a.\u0275cmp=x({type:a,selectors:[["ng-component"]],decls:16,vars:9,consts:[[1,"row","page-content-wrapper"],[1,"col-sm-4"],["transloco","admin.feature_flags.title"],[1,"col-12"],[1,"form-inline","float-end"],["transloco","admin.feature_flags.flush",1,"btn","btn-primary",3,"click"],[1,"input-group","search-input-group","w-auto"],["type","text",1,"form-control","search-input",3,"ngModelChange","placeholder","ngModel"],[1,"input-group-append","search-input-append"],[1,"input-group-text"],[3,"name"],[1,"row","table-wrapper"],[1,"col-sm-12"],[1,"table-responsive"],[3,"transloco"],[1,"table","table-striped"],["width","20%","transloco","admin.feature_flags.modals.edit.feature_flag.table.columns.feature_name"],["width","60%","transloco","admin.feature_flags.modals.edit.feature_flag.table.columns.feature_description"],["width","20%","transloco","admin.feature_flags.modals.edit.feature_flag.table.columns.feature_active"],[4,"ngFor","ngForOf"],[1,"form-element"],[3,"ngModelChange","ngModel"]],template:function(t,i){if(t&1&&(o(0,"div",0)(1,"div",1),p(2,"h2",2),l(),o(3,"div",3)(4,"div",4)(5,"button",5),g("click",function(){return i.flush()}),l(),o(6,"div",6)(7,"input",7),_(8,"transloco"),S("ngModelChange",function(h){return b(i.search,h)||(i.search=h),h}),g("ngModelChange",function(){return i.searchCallback()}),l(),o(9,"span",8)(10,"span",9),p(11,"sa-app-icon",10),l()()()()()(),o(12,"div",11)(13,"div",12),B(14,oe,3,0,"div",13),_(15,"async"),l()()),t&2){let m;s(7),c("placeholder",W(y(8,5,"admin.feature_flags.search"))),C("ngModel",i.search),s(4),c("name","search"),s(3),O((m=y(15,7,i.tableData$))?14:-1,m)}},dependencies:[Z,L,H,J,q,U,Q,K,te,ee,X,$,z,Y],encapsulation:2});let e=a;return e})();export{Ae as FeatureFlagsComponent};
2//# sourceMappingURL=chunk-YIBJHCQ4.js.map

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.