p3x-redis-ui-material
Version:
💿 P3X Redis UI triple frontend — Angular + React/MUI + Vue/Vuetify with 54 languages, 7 themes, Socket.IO, desktop notifications, and full feature parity
1 lines • 3.24 kB
JavaScript
import"./main-OCJB5534.js";import{Di as wf,Dt as Qe,F as HY,It as Sn,Lt as Sy,P as HT,Qr as qC,T as Ee,Xt as Uy,ei as qT,in as Wa,k as G0,mn as YQ,pt as Nf,rn as WC,s as $y,t as $Y,vr as jy,w as Eb}from"./chunk-CHqDEyfr.js";import{a as jt,i as Vt,o as z,s as zt,t as Bt}from"./chunk-CyaMV1f5.js";import{C as xn,a as He,c as Rn,g as kn,i as Gn,o as Jt,y as on}from"./chunk-B_FU7ynV.js";import{a as se,n as ae}from"./chunk-CNSP-oVC.js";import{n as wt,r as yt}from"./chunk-CGgWGJ3E.js";import{t as Q}from"./chunk-D56BNEWf.js";import"./chunk-CFyh5uM7.js";import{c as _t,d as qe,i as Qt,o as U}from"./chunk-CLjqwtZV.js";import{i as ze,t as Oe}from"./chunk-BYtjyP-K.js";var ct=(()=>{class r{dialogRef;i18n;model={username:``,password:``};strings;constructor(p,l){this.dialogRef=p,this.i18n=l,this.strings=this.i18n.strings}submit(){this.dialogRef.close(this.model)}cancel(){this.dialogRef.close(void 0)}static ɵfac=function(l){return new(l||r)(Qe(z),Qe(YQ))};static ɵcmp=Ee({type:r,selectors:[[`p3xr-ask-authorization-dialog`]],decls:30,vars:7,consts:[[`novalidate`,``,3,`ngSubmit`],[1,`p3xr-dialog-toolbar`,`p3xr-mat-layout-strong`],[`mat-dialog-title`,``,1,`p3xr-dialog-title`],[2,`margin-right`,`8px`,`vertical-align`,`middle`],[`mat-icon-button`,``,`type`,`button`,3,`click`],[1,`p3xr-dialog-content`],[2,`font-size`,`12px`,`opacity`,`0.7`,`margin-bottom`,`8px`],[1,`full-width`],[`matPrefix`,``],[`matInput`,``,`name`,`username`,`type`,`text`,`autocomplete`,`off`,3,`ngModelChange`,`ngModel`],[`matInput`,``,`name`,`password`,`type`,`password`,`autocomplete`,`off`,3,`ngModelChange`,`ngModel`],[1,`p3xr-dialog-actions`],[3,`cancel`],[`mat-raised-button`,``,`type`,`submit`,1,`btn-primary`]],template:function(l,e){l&1&&(Wa(0,`form`,0),Sy(`ngSubmit`,function(){return e.submit()}),Wa(1,`mat-toolbar`,1)(2,`span`,2)(3,`mat-icon`,3),HT(4,`shield`),wf(),HT(5),wf(),Wa(6,`button`,4),Sy(`click`,function(){return e.cancel()}),Wa(7,`mat-icon`),HT(8,`close`),wf()()(),Wa(9,`mat-dialog-content`,5)(10,`div`,6),HT(11),wf(),Wa(12,`mat-form-field`,7)(13,`mat-label`),HT(14),wf(),Wa(15,`mat-icon`,8),HT(16,`person`),wf(),Wa(17,`input`,9),$y(`ngModelChange`,function(a){return qT(e.model.username,a)||(e.model.username=a),a}),wf(),WC(),wf(),Wa(18,`mat-form-field`,7)(19,`mat-label`),HT(20),wf(),Wa(21,`mat-icon`,8),HT(22,`lock`),wf(),Wa(23,`input`,10),$y(`ngModelChange`,function(a){return qT(e.model.password,a)||(e.model.password=a),a}),wf(),WC(),wf()(),Wa(24,`mat-dialog-actions`,11)(25,`p3xr-dialog-cancel`,12),Sy(`cancel`,function(){return e.cancel()}),wf(),Wa(26,`button`,13)(27,`mat-icon`),HT(28,`done`),wf(),HT(29),wf()()()),l&2&&(Sn(5),Nf(` `,e.strings().label?.askAuth,` `),Sn(6),Nf(` `,e.strings().label?.aclAuthHint,` `),Sn(3),jy(e.strings().form?.connection?.label?.username),Sn(3),Uy(`ngModel`,e.model.username),qC(),Sn(3),jy(e.strings().form?.connection?.label?.password),Sn(3),Uy(`ngModel`,e.model.password),qC(),Sn(6),Nf(` `,e.strings().intention?.ok,` `))},dependencies:[Eb,Gn,kn,He,xn,Rn,on,Jt,zt,Bt,Vt,jt,Qt,qe,U,_t,Oe,ze,$Y,HY,G0,yt,wt,ae,se,Q],styles:[`.full-width[_ngcontent-%COMP%]{width:100%}.p3xr-dialog-content[_ngcontent-%COMP%]{min-width:300px}`],changeDetection:1})}return r})();export{ct as AskAuthorizationDialogComponent};