UNPKG

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

2 lines (1 loc) • 1.97 kB
import{a as H}from"./chunk-R73GSFUT.js";import{d as R,e as j}from"./chunk-VMTBY4VN.js";import{b as A,c as O}from"./chunk-HFDIHHHN.js";import{a as I,b as S,d as B,e as E,f as h,g as w}from"./chunk-7JNYLOAK.js";import{Bb as r,Cb as b,Da as m,Db as D,Ia as u,Ld as v,Nd as y,Pd as k,Xa as C,Ya as _,ba as s,bb as d,ca as f,cb as t,db as a,eb as M,jb as x,lb as c,nb as p,oc as T,va as g,xa as l}from"./chunk-KQUCMSSK.js";import"./chunk-FCVD6SGJ.js";import"./chunk-O7S4L63H.js";function V(i,z){if(i&1){let o=x();t(0,"p3xr-dialog-cancel",8),c("cancel",function(){s(o);let e=p();return f(e.onCancel())}),a()}if(i&2){let o=p();d("label",o.data.cancelButton||"Cancel")}}var Y=(()=>{class i{data;dialogRef;constructor(o,n){this.data=o,this.dialogRef=n}onOk(){this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}static \u0275fac=function(n){return new(n||i)(m(S),m(I))};static \u0275cmp=u({type:i,selectors:[["p3xr-confirm-dialog"]],decls:14,vars:4,consts:[[1,"p3xr-dialog-toolbar","p3xr-mat-layout-strong"],["mat-dialog-title","",1,"p3xr-dialog-title"],["mat-icon-button","","type","button",3,"click"],[1,"p3xr-dialog-content"],[1,"p3xr-dialog-message",3,"innerHTML"],[1,"p3xr-dialog-actions"],[3,"label"],["mat-raised-button","","type","button",1,"btn-primary",3,"click"],[3,"cancel","label"]],template:function(n,e){n&1&&(t(0,"mat-toolbar",0)(1,"span",1),r(2),a(),t(3,"button",2),c("click",function(){return e.onCancel()}),t(4,"mat-icon"),r(5,"close"),a()()(),t(6,"mat-dialog-content",3),M(7,"div",4),a(),t(8,"mat-dialog-actions",5),C(9,V,1,1,"p3xr-dialog-cancel",6),t(10,"button",7),c("click",function(){return e.onOk()}),t(11,"mat-icon"),r(12,"done"),a(),r(13),a()()),n&2&&(l(2),b(e.data.title),l(5),d("innerHTML",e.data.message,g),l(2),_(e.data.disableCancel?-1:9),l(4),D(" ",e.data.okButton||"OK"," "))},dependencies:[T,w,B,h,E,k,y,v,O,A,j,R,H],styles:[".p3xr-dialog-message[_ngcontent-%COMP%]{white-space:normal}"]})}return i})();export{Y as ConfirmDialogComponent};