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) • 823 B
import{a as c}from"./chunk-AN7C4JCR.js";import{a as l}from"./chunk-YA4NX3C4.js";import{c as n}from"./chunk-7JNYLOAK.js";import{U as o,Y as i}from"./chunk-KQUCMSSK.js";import{h as a}from"./chunk-O7S4L63H.js";var w=(()=>{class t{dialog;settings;constructor(e,r){this.dialog=e,this.settings=r}show(e){return a(this,null,function*(){if(!this.settings.showDiffBeforeSave()||(e.oldValue=String(e.oldValue??""),e.newValue=String(e.newValue??""),e.oldValue===e.newValue))return!0;let{DiffDialogComponent:r}=yield import("./chunk-SVDB5H6B.js"),s=this.dialog.open(r,l({data:e,width:"800px",maxHeight:"90vh"}));return new Promise(f=>{s.afterClosed().subscribe(u=>f(u===!0))})})}static \u0275fac=function(r){return new(r||t)(i(n),i(c))};static \u0275prov=o({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{w as a};