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 • 1.88 kB
JavaScript
import{d as L}from"./main-OCJB5534.js";import{ct as N,vt as P}from"./chunk-CHqDEyfr.js";import{n as x}from"./chunk-CyniViPG.js";import{t as h}from"./chunk-CWEwaFv9.js";import{n as Le}from"./chunk-CyaMV1f5.js";import{t as P$1}from"./chunk-BTZfv3-Q.js";var u=(()=>{class t{dialog;constructor(e){this.dialog=e}show(e){return L(this,null,function*(){let{JsonViewDialogComponent:o}=yield import(`./chunk-DdtAVqOR.js`),s=this.dialog.open(o,h({data:{value:e.value},width:`75%`,maxHeight:`90vh`}));return new Promise(m=>{s.afterClosed().subscribe(()=>m())})})}static ɵfac=function(o){return new(o||t)(N(Le))};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var y=(()=>{class t{dialog;cmd;constructor(e,o){this.dialog=e,this.cmd=o}show(e){return L(this,null,function*(){let{JsonEditorDialogComponent:o}=yield import(`./chunk-DOjQ8EQN.js`);this.cmd.mainResizer$.next({drag:!1});let s=this.dialog.open(o,h({data:{value:e.value,hideFormatSave:e.hideFormatSave},disableClose:!1,width:`90vw`,height:`90vh`}));return new Promise((m,f)=>{s.afterClosed().subscribe(l=>{this.cmd.mainResizer$.next({drag:!0}),l?m(l):f()})})})}static ɵfac=function(o){return new(o||t)(N(Le),N(P$1))};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var w=(()=>{class t{dialog;settings;constructor(e,r){this.dialog=e,this.settings=r}show(e){return L(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-BfiaVcu9.js`),s=this.dialog.open(r,h({data:e,width:`800px`,maxHeight:`90vh`}));return new Promise(f=>{s.afterClosed().subscribe(u=>f(u===!0))})})}static ɵfac=function(r){return new(r||t)(N(Le),N(x))};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();export{u as n,y as r,w as t};