PageSourceSearch

https://er.zdravorel.ru/946.fb26b77496cc162d.js

js zdravorel.ru collected 2026-10-04 22:45:29 UTC 6,783 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_2dr=self.webpackChunk_2dr||[]).push([[946],{14946:(E,c,r)=>{r.r(c),r.d(c,{AdminNotificationsModule:()=>H});var m=r(44476),_=r(13420),t=r(94650),l=r(69585),d=r(67831),f=r(36895);function h(i,s){1&i&&t._uU(0),2&i&&t.hij(" ",s.value.name," ")}function g(i,s){if(1&i){const n=t.EpF();t.TgZ(0,"input",10),t.NdJ("change",function(o){const u=t.CHM(n).row,p=t.oxw();return t.KtG(p.updateValue(o,"notification",p.params.indexOf(u)))}),t.qZA()}2&i&&t.Q6J("checked",s.value.notification)}function x(i,s){if(1&i){const n=t.EpF();t.TgZ(0,"span",13),t.NdJ("dblclick",function(){t.CHM(n);const o=t.oxw().row,a=t.oxw();return t.KtG(a.editing[a.params.indexOf(o)+"-thresholdOptimal"]=!0)}),t._uU(1),t.qZA()}if(2&i){const n=t.oxw().value;t.xp6(1),t.hij(" ",n.thresholdOptimal," ")}}function C(i,s){if(1&i){const n=t.EpF();t.TgZ(0,"input",14),t.NdJ("blur",function(o){t.CHM(n);const a=t.oxw().row,u=t.oxw();return t.KtG(u.updateValue(o,"thresholdOptimal",u.params.indexOf(a)))})("keyup.enter",function(o){t.CHM(n);const a=t.oxw().row,u=t.oxw();return t.KtG(u.updateValue(o,"thresholdOptimal",u.params.indexOf(a)))}),t.qZA()}if(2&i){const n=t.oxw().value;t.Q6J("value",n.thresholdOptimal)}}function N(i,s){if(1&i&&(t.YNc(0,x,2,1,"span",11),t.YNc(1,C,1,1,"input",12)),2&i){const n=s.row,e=t.oxw();t.Q6J("ngIf",!e.editing[e.params.indexOf(n)+"-thresholdOptimal"]),t.xp6(1),t.Q6J("ngIf",e.editing[e.params.indexOf(n)+"-thresholdOptimal"])}}function w(i,s){if(1&i){const n=t.EpF();t.TgZ(0,"span",13),t.NdJ("dblclick",function(){t.CHM(n);const o=t.oxw().row,a=t.oxw();return t.KtG(a.editing[a.params.indexOf(o)+"-thresholdNormal"]=!0)}),t._uU(1),t.qZA()}if(2&i){const n=t.oxw().value;t.xp6(1),t.hij(" ",n.thresholdNormal," ")}}function A(i,s){if(1&i){const n=t.EpF();t.TgZ(0,"input",14),t.NdJ("blur",function(o){t.CHM(n);const a=t.oxw().row,u=t.oxw();return t.KtG(u.updateValue(o,"thresholdNormal",u.params.indexOf(a)))})("keyup.enter",function(o){t.CHM(n);const a=t.oxw().row,u=t.oxw();return t.KtG(u.updateValue(o,"thresholdNormal",u.params.indexOf(a)))}),t.qZA()}if(2&i){const n=t.oxw().value;t.Q6J("value",n.thresholdNormal)}}function T(i,s){if(1&i&&(t.YNc(0,w,2,1,"span",11),t.YNc(1,A,1,1,"input",12)),2&i){const n=s.row,e=t.oxw();t.Q6J("ngIf",!e.editing[e.params.indexOf(n)+"-thresholdNormal"]),t.xp6(1),t.Q6J("ngIf",e.editing[e.params.indexOf(n)+"-thresholdNormal"])}}function v(i,s){if(1&i){const n=t.EpF();t.TgZ(0,"span",13),t.NdJ("dblclick",function(){t.CHM(n);const o=t.oxw().row,a=t.oxw();return t.KtG(a.editing[a.params.indexOf(o)+"-thresholdCritical"]=!0)}),t._uU(1),t.qZA()}if(2&i){const n=t.oxw().value;t.xp6(1),t.hij(" ",n.thresholdCritical," ")}}function b(i,s){if(1&i){const n=t.EpF();t.TgZ(0,"input",14),t.NdJ("blur",function(o){t.CHM(n);const a=t.oxw().row,u=t.oxw();return t.KtG(u.updateValue(o,"thresholdCritical",u.params.indexOf(a)))})("keyup.enter",function(o){t.CHM(n);const a=t.oxw().row,u=t.oxw();return t.KtG(u.updateValue(o,"thresholdCritical",u.params.indexOf(a)))}),t.qZA()}if(2&i){const n=t.oxw().value;t.Q6J("value",n.thresholdCritical)}}function O(i,s){if(1&i&&(t.YNc(0,v,2,1,"span",11),t.YNc(1,b,1,1,"input",12)),2&i){const n=s.row,e=t.oxw();t.Q6J("ngIf",!e.editing[e.params.indexOf(n)+"-thresholdCritical"]),t.xp6(1),t.Q6J("ngIf",e.editing[e.params.indexOf(n)+"-thresholdCritical"])}}const Z=[{path:"",component:(()=>{class i{constructor(n){this.adminNotificationService=n,this.editing=[]}ngOnInit(){this.getParams()}getParams(){this.adminNotificationService.getAllParams().subscribe(n=>{this.params=n})}updateValue(n,e,o){this.editing[o+"-"+e]=!1,this.params[o][e]="on"===n.target.value?n.target.checked:+n.target.value>100?100:+n.target.value<0?0:+n.target.value,this.params=[...this.params],this.adminNotificationService.updateParam(this.params[o]).subscribe(a=>{})}static#t=this.\u0275fac=function(e){return new(e||i)(t.Y36(_.Z))};static#n=this.\u0275cmp=t.Xpm({type:i,selectors:[["admin-notifications"]],decls:16,vars:6,consts:[["flexLayout","row",1,"AdminNotificationsTitleWrapper"],[1,"AdminNotificationsHeaderTitle"],[1,"material",3,"headerHeight","limit","columnMode","footerHeight","rowHeight","rows"],["mydatatable",""],["name","\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440"],["ngx-datatable-cell-template",""],["name","\u041e\u043f\u043e\u0432\u0435\u0449\u0430\u0442\u044c"],["name","\u041e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"],["name","\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"],["name","\u041a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"],["type","checkbox",3,"checked","change"],["title","Double click to edit",3,"dblclick",4,"ngIf"],["style","width: 100px","autofocus","","type","number","min","0","max","100",3,"value","blur","keyup.enter",4,"ngIf"],["title","Double click to edit",3,"dblclick"],["autofocus","","type","number","min","0","max","100",2,"width","100px",3,"value","blur","keyup.enter"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0)(1,"span",1),t._uU(2,"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b"),t.qZA()(),t.TgZ(3,"div")(4,"ngx-datatable",2,3)(6,"ngx-datatable-column",4),t.YNc(7,h,1,1,"ng-template",5),t.qZA(),t.TgZ(8,"ngx-datatable-column",6),t.YNc(9,g,1,1,"ng-template",5),t.qZA(),t.TgZ(10,"ngx-datatable-column",7),t.YNc(11,N,2,2,"ng-template",5),t.qZA(),t.TgZ(12,"
1ngx-datatable-column",8),t.YNc(13,T,2,2,"ng-template",5),t.qZA(),t.TgZ(14,"ngx-datatable-column",9),t.YNc(15,O,2,2,"ng-template",5),t.qZA()()()),2&e&&(t.xp6(4),t.Q6J("headerHeight",50)("limit",10)("columnMode","force")("footerHeight",0)("rowHeight","auto")("rows",o.params))},dependencies:[l.nE,l.UC,l.vq,d.w,f.O5],styles:["[_nghost-%COMP%]   .AdminNotificationsHeaderTitle[_ngcontent-%COMP%]{font-family:PT Root UI Medium,sans-serif;font-weight:300;font-style:normal;font-size:22px;color:#295b75;line-height:28px}[_nghost-%COMP%]   .AdminNotificationsHeaderTitleIcon[_ngcontent-%COMP%]{position:absolute;left:45px;top:145px;font-weight:400;font-style:normal;font-size:20px;color:#48b1cd}[_nghost-%COMP%]   .AdminNotificationsTitleWrapper[_ngcontent-%COMP%]{margin-bottom:35px}"]})}return i})()}];let y=(()=>{class i{static#t=this.\u0275fac=function(e){return new(e||i)};static#n=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[m.Bz.forChild(Z),m.Bz]})}return i})();var M=r(44466),J=r(74119);let H=(()=>{class i{static#t=this.\u0275fac=function(e){return new(e||i)};static#n=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[y,M.m,J.q]})}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.