geekin-devtoys 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,13 @@
1
- import { inject as re, reactive as X, computed as c, defineComponent as Y, ref as T, watch as F, onUnmounted as Z, resolveComponent as B, createBlock as y, openBlock as m, Teleport as q, createElementVNode as u, normalizeStyle as ce, normalizeClass as ue, createVNode as P, withCtx as h, unref as I, toDisplayString as k, useId as N, onMounted as de, createCommentVNode as b, mergeProps as fe, createSlots as me, renderSlot as E, createElementBlock as H, Fragment as W, renderList as ge, createTextVNode as C } from "vue";
2
- import { c as pe, r as ve, a as _e, b as ye } from "../index-Dxw2pU4z.mjs";
3
- import { _ as K } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
4
- const he = /* @__PURE__ */ Symbol("GDialogManager"), U = {
1
+ import { inject as fe, reactive as J, computed as r, defineComponent as Q, ref as T, watch as $, onUnmounted as ee, resolveComponent as H, createBlock as k, openBlock as m, Teleport as te, createVNode as F, unref as C, normalizeStyle as me, normalizeClass as ge, withCtx as g, createElementVNode as f, toDisplayString as M, useId as X, onMounted as pe, createCommentVNode as I, mergeProps as ve, createSlots as _e, renderSlot as P, createElementBlock as Y, Fragment as Z, renderList as ye, createTextVNode as A } from "vue";
2
+ import { c as he, r as ze, a as Te, b as ke } from "../index-Dxw2pU4z.mjs";
3
+ import { A as be } from "../AnimatePresence-DkTyYbzH.mjs";
4
+ import { m as we } from "../index-CVPHcKaV.mjs";
5
+ import { _ as ie } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
6
+ const Me = /* @__PURE__ */ Symbol("GDialogManager"), q = {
5
7
  small: "380px",
6
8
  medium: "480px",
7
9
  large: "580px"
8
- }, G = {
10
+ }, L = {
9
11
  ICON_WIDTH: 92,
10
12
  ICON_HEIGHT: 34,
11
13
  GAP: 8,
@@ -13,30 +15,30 @@ const he = /* @__PURE__ */ Symbol("GDialogManager"), U = {
13
15
  RIGHT_OFFSET: 18,
14
16
  MAX_PER_ROW: 8
15
17
  };
16
- function ze(a) {
17
- const g = /* @__PURE__ */ new Map(), { ICON_WIDTH: l, ICON_HEIGHT: s, GAP: p, BOTTOM_OFFSET: _, RIGHT_OFFSET: n, MAX_PER_ROW: t } = G;
18
- return a.forEach((r, d) => {
19
- const o = Math.floor(d / t), i = d % t;
20
- g.set(r, {
21
- right: n + i * (l + p),
22
- bottom: _ + o * (s + p)
18
+ function Ce(a) {
19
+ const p = /* @__PURE__ */ new Map(), { ICON_WIDTH: l, ICON_HEIGHT: s, GAP: v, BOTTOM_OFFSET: h, RIGHT_OFFSET: n, MAX_PER_ROW: t } = L;
20
+ return a.forEach((c, u) => {
21
+ const o = Math.floor(u / t), i = u % t;
22
+ p.set(c, {
23
+ right: n + i * (l + v),
24
+ bottom: h + o * (s + v)
23
25
  });
24
- }), g;
26
+ }), p;
25
27
  }
26
- function $e() {
27
- const a = X(/* @__PURE__ */ new Map()), g = c(() => {
28
+ function xe() {
29
+ const a = J(/* @__PURE__ */ new Map()), p = r(() => {
28
30
  const o = [];
29
31
  return a.forEach((i) => {
30
32
  i.isMinimized && o.push(i.id);
31
33
  }), o;
32
- }), l = c(() => ze(g.value));
34
+ }), l = r(() => Ce(p.value));
33
35
  function s(o) {
34
36
  a.set(o.id, { attentionTick: 0, ...o });
35
37
  }
36
- function p(o) {
38
+ function v(o) {
37
39
  a.delete(o);
38
40
  }
39
- function _(o) {
41
+ function h(o) {
40
42
  const i = a.get(o);
41
43
  if (i) {
42
44
  if (i.isMinimized) {
@@ -54,33 +56,33 @@ function $e() {
54
56
  const i = a.get(o);
55
57
  i && (i.isMinimized = !1);
56
58
  }
57
- function r(o) {
58
- return c(
59
+ function c(o) {
60
+ return r(
59
61
  () => l.value.get(o) ?? {
60
- right: G.RIGHT_OFFSET,
61
- bottom: G.BOTTOM_OFFSET
62
+ right: L.RIGHT_OFFSET,
63
+ bottom: L.BOTTOM_OFFSET
62
64
  }
63
65
  );
64
66
  }
65
- const d = c(() => g.value.map((o) => a.get(o)).filter(Boolean));
67
+ const u = r(() => p.value.map((o) => a.get(o)).filter(Boolean));
66
68
  return {
67
69
  dialogs: a,
68
70
  register: s,
69
- unregister: p,
70
- minimize: _,
71
+ unregister: v,
72
+ minimize: h,
71
73
  remindMinimized: n,
72
74
  restore: t,
73
- getPosition: r,
74
- minimizedList: d
75
+ getPosition: c,
76
+ minimizedList: u
75
77
  };
76
78
  }
77
- function Te() {
78
- return re(he, null);
79
+ function Oe() {
80
+ return fe(Me, null);
79
81
  }
80
- const ke = ["title", "aria-label"], be = {
82
+ const Ie = {
81
83
  class: "g-dialog-minimized-icon__icon",
82
84
  "aria-hidden": "true"
83
- }, we = { class: "g-dialog-minimized-icon__title" }, Me = /* @__PURE__ */ Y({
85
+ }, Se = { class: "g-dialog-minimized-icon__title" }, De = /* @__PURE__ */ Q({
84
86
  name: "GDialogMinimizedIcon",
85
87
  __name: "GDialogMinimizedIcon",
86
88
  props: {
@@ -89,61 +91,71 @@ const ke = ["title", "aria-label"], be = {
89
91
  attentionTick: { default: 0 }
90
92
  },
91
93
  emits: ["restore"],
92
- setup(a, { emit: g }) {
93
- const l = a, s = g, p = c(() => l.title || "弹窗"), _ = c(() => `恢复 ${p.value}`), n = c(() => ({
94
+ setup(a, { emit: p }) {
95
+ const l = a, s = p, v = r(() => l.title || "弹窗"), h = r(() => `恢复 ${v.value}`), n = { opacity: 0, scale: 0.8, x: -24, y: 12 }, t = { opacity: 1, scale: 1, x: 0, y: 0 }, c = { opacity: 0, scale: 0.8, x: -24, y: 12 }, u = { duration: 0.28, ease: [0.2, 0.8, 0.2, 1] }, o = { scale: 1.04, y: -2 }, i = { scale: 0.98 }, b = r(() => ({
94
96
  position: "fixed",
95
97
  right: `${l.position.right}px`,
96
98
  bottom: `${l.position.bottom}px`
97
- })), t = T(!1);
98
- let r;
99
- F(() => l.attentionTick, (o, i) => {
100
- i === void 0 || o === i || (t.value = !1, window.clearTimeout(r), window.requestAnimationFrame(() => {
101
- t.value = !0, r = window.setTimeout(() => {
102
- t.value = !1;
99
+ })), z = T(!1);
100
+ let O;
101
+ $(() => l.attentionTick, (S, _) => {
102
+ _ === void 0 || S === _ || (z.value = !1, window.clearTimeout(O), window.requestAnimationFrame(() => {
103
+ z.value = !0, O = window.setTimeout(() => {
104
+ z.value = !1;
103
105
  }, 580);
104
106
  }));
105
- }), Z(() => {
106
- window.clearTimeout(r);
107
+ }), ee(() => {
108
+ window.clearTimeout(O);
107
109
  });
108
- function d() {
110
+ function B() {
109
111
  s("restore");
110
112
  }
111
- return (o, i) => {
112
- const O = B("el-icon");
113
- return m(), y(q, { to: "body" }, [
114
- u("div", {
115
- class: ue(["g-dialog-minimized-icon", { "is-attention": t.value }]),
113
+ return (S, _) => {
114
+ const G = H("el-icon");
115
+ return m(), k(te, { to: "body" }, [
116
+ F(C(we).div, {
117
+ class: ge(["g-dialog-minimized-icon", { "is-attention": z.value }]),
116
118
  type: "button",
117
- style: ce(n.value),
118
- title: _.value,
119
- "aria-label": _.value,
120
- onClick: d
121
- }, [
122
- i[0] || (i[0] = u("span", {
123
- class: "g-dialog-minimized-icon__glow",
124
- "aria-hidden": "true"
125
- }, null, -1)),
126
- i[1] || (i[1] = u("span", {
127
- class: "g-dialog-minimized-icon__wave",
128
- "aria-hidden": "true"
129
- }, null, -1)),
130
- u("span", be, [
131
- P(O, null, {
132
- default: h(() => [
133
- P(I(pe))
134
- ]),
135
- _: 1
136
- })
119
+ style: me(b.value),
120
+ title: h.value,
121
+ "aria-label": h.value,
122
+ initial: n,
123
+ animate: t,
124
+ exit: c,
125
+ transition: u,
126
+ "while-hover": o,
127
+ "while-press": i,
128
+ onClick: B
129
+ }, {
130
+ default: g(() => [
131
+ _[0] || (_[0] = f("span", {
132
+ class: "g-dialog-minimized-icon__glow",
133
+ "aria-hidden": "true"
134
+ }, null, -1)),
135
+ _[1] || (_[1] = f("span", {
136
+ class: "g-dialog-minimized-icon__wave",
137
+ "aria-hidden": "true"
138
+ }, null, -1)),
139
+ f("span", Ie, [
140
+ F(G, null, {
141
+ default: g(() => [
142
+ F(C(he))
143
+ ]),
144
+ _: 1
145
+ })
146
+ ]),
147
+ f("span", Se, M(v.value), 1)
137
148
  ]),
138
- u("span", we, k(p.value), 1)
139
- ], 14, ke)
149
+ _: 1,
150
+ __: [0, 1]
151
+ }, 8, ["class", "style", "title", "aria-label"])
140
152
  ]);
141
153
  };
142
154
  }
143
- }), V = /* @__PURE__ */ K(Me, [["__scopeId", "data-v-5195816e"]]), Ce = { class: "g-dialog-header" }, Ie = { class: "g-dialog-title" }, Oe = {
155
+ }), N = /* @__PURE__ */ ie(De, [["__scopeId", "data-v-5ff0a7c2"]]), Ee = { class: "g-dialog-header" }, Ae = { class: "g-dialog-title" }, Fe = {
144
156
  class: "g-dialog-operation-container",
145
157
  "aria-label": "弹窗操作"
146
- }, Se = ["aria-label", "title"], Ee = ["onClick"], De = { class: "g-dialog-footer" }, j = "关闭", Fe = /* @__PURE__ */ Y({
158
+ }, Be = ["aria-label", "title"], Ge = ["onClick"], Ve = { class: "g-dialog-footer" }, K = "关闭", Pe = /* @__PURE__ */ Q({
147
159
  name: "GDialog",
148
160
  inheritAttrs: !1,
149
161
  __name: "index",
@@ -164,43 +176,40 @@ const ke = ["title", "aria-label"], be = {
164
176
  beforeClose: {}
165
177
  },
166
178
  emits: ["cancel", "reset", "save", "minimize", "action", "update:modelValue"],
167
- setup(a, { emit: g }) {
168
- const l = a, s = g, p = c(() => l.modelValue);
169
- function _(e) {
179
+ setup(a, { emit: p }) {
180
+ const l = a, s = p, v = r(() => l.modelValue);
181
+ function h(e) {
170
182
  s("update:modelValue", e);
171
183
  }
172
- const n = N ? N() : `g-dialog-${Date.now()}-${Math.random().toString(36).slice(2)}`, t = Te(), r = T(!1), d = T(!0), o = T(0), i = T(!1), O = c(() => t ? t.dialogs.get(n)?.isMinimized ?? !1 : r.value), J = c(() => t ? t.dialogs.get(n)?.attentionTick ?? 0 : o.value), Q = c(() => t ? !(t.dialogs.get(n)?.isMinimized ?? !1) : d.value), x = c(() => t ? t.getPosition(n).value : { right: 20, bottom: 20 });
173
- de(() => {
184
+ const n = X ? X() : `g-dialog-${Date.now()}-${Math.random().toString(36).slice(2)}`, t = Oe(), c = T(!1), u = T(!0), o = T(0), i = T(!1), b = T(!1), z = T(!1), O = r(() => t ? t.dialogs.get(n)?.isMinimized ?? !1 : c.value), B = r(() => t ? t.dialogs.get(n)?.attentionTick ?? 0 : o.value), S = r(() => t ? !b.value : u.value), _ = r(() => t ? t.getPosition(n).value : { right: 20, bottom: 20 });
185
+ pe(() => {
174
186
  t?.register({
175
187
  id: n,
176
188
  title: l.title,
177
189
  isMinimized: !1
178
190
  });
179
- }), Z(() => {
191
+ }), ee(() => {
180
192
  t?.unregister(n);
181
- }), F(
193
+ }), $(
182
194
  () => l.title,
183
195
  (e) => {
184
196
  if (t) {
185
- const v = t.dialogs.get(n);
186
- v && (v.title = e);
197
+ const y = t.dialogs.get(n);
198
+ y && (y.title = e);
187
199
  }
188
200
  }
189
- ), F(
201
+ ), $(
190
202
  () => l.modelValue,
191
203
  (e) => {
192
204
  if (e === !1) {
193
- if (i.value) {
194
- i.value = !1;
195
- return;
196
- }
197
- t ? t.restore(n) : (d.value = !0, r.value = !1);
205
+ if (i.value) return;
206
+ t ? (t.restore(n), b.value = !1) : (u.value = !0, c.value = !1);
198
207
  }
199
- e === !0 && (t?.dialogs.get(n)?.isMinimized ? t.remindMinimized(n) : r.value && (o.value += 1));
208
+ e === !0 && (t?.dialogs.get(n)?.isMinimized ? t.remindMinimized(n) : c.value && (o.value += 1));
200
209
  }
201
210
  );
202
- const ee = c(() => Object.prototype.hasOwnProperty.call(U, l.size) ? U[l.size] : l.size);
203
- async function z(e) {
211
+ const G = r(() => Object.prototype.hasOwnProperty.call(q, l.size) ? q[l.size] : l.size);
212
+ async function w(e) {
204
213
  if (!l.beforeClose) return !0;
205
214
  try {
206
215
  return await l.beforeClose(e) !== !1;
@@ -208,187 +217,192 @@ const ke = ["title", "aria-label"], be = {
208
217
  return !1;
209
218
  }
210
219
  }
211
- async function te(e) {
212
- const v = await z("close");
213
- e(!v);
220
+ async function oe(e) {
221
+ const y = await w("close");
222
+ e(!y);
214
223
  }
215
- async function ie() {
216
- await z("close") && s("update:modelValue", !1);
224
+ async function ne() {
225
+ await w("close") && s("update:modelValue", !1);
217
226
  }
218
- async function A() {
219
- await z("cancel") && s("cancel");
227
+ async function W() {
228
+ await w("cancel") && s("cancel");
220
229
  }
221
- function $() {
230
+ function x() {
222
231
  s("reset");
223
232
  }
224
- async function R() {
225
- await z("save") && s("save");
233
+ async function U() {
234
+ await w("save") && s("save");
226
235
  }
227
- const S = X({});
228
- async function oe(e) {
229
- if (await z("action") && (s("action", e.key), !!e.onClick))
236
+ const V = J({});
237
+ async function le(e) {
238
+ if (await w("action") && (s("action", e.key), !!e.onClick))
230
239
  try {
231
- const v = e.onClick();
232
- v instanceof Promise && (S[e.key] = !0, await v);
240
+ const y = e.onClick();
241
+ y instanceof Promise && (V[e.key] = !0, await y);
233
242
  } finally {
234
- S[e.key] = !1;
243
+ V[e.key] = !1;
235
244
  }
236
245
  }
237
- const w = T(!1), ne = () => {
238
- w.value = !w.value;
239
- }, L = c(() => w.value ? "退出全屏" : "全屏"), le = async () => {
240
- if (await z("minimize")) {
241
- if (i.value = !0, t)
242
- t.minimize(n);
243
- else {
244
- if (r.value) {
245
- o.value += 1, s("minimize", { id: n });
246
- return;
247
- }
248
- d.value = !1, r.value = !0;
249
- }
250
- s("update:modelValue", !1), s("minimize", { id: n });
246
+ const D = T(!1), ae = () => {
247
+ D.value = !D.value;
248
+ }, j = r(() => D.value ? "退出全屏" : "全屏"), se = async () => {
249
+ if (!await w("minimize")) return;
250
+ if (t ? t.dialogs.get(n)?.isMinimized ?? !1 : c.value) {
251
+ t ? t.minimize(n) : o.value += 1, s("minimize", { id: n });
252
+ return;
251
253
  }
252
- }, ae = () => {
253
- t ? t.restore(n) : (d.value = !0, r.value = !1), s("update:modelValue", !0);
254
+ i.value = !0, t ? t.minimize(n) : c.value = !0, s("update:modelValue", !1), s("minimize", { id: n });
255
+ }, re = () => {
256
+ z.value = !0, i.value = !1, t ? (b.value = !1, t.restore(n)) : (u.value = !0, c.value = !1), s("update:modelValue", !0);
257
+ }, ce = () => {
258
+ i.value && (t ? b.value = !0 : u.value = !1, i.value = !1);
259
+ }, ue = () => {
260
+ z.value = !1;
254
261
  };
255
- return (e, v) => {
256
- const M = B("el-button"), se = B("el-dialog");
257
- return m(), y(q, { to: "body" }, [
258
- Q.value ? (m(), y(se, fe({ key: 0 }, e.$attrs, {
259
- "model-value": p.value,
260
- width: ee.value,
262
+ return (e, y) => {
263
+ const E = H("el-button"), de = H("el-dialog");
264
+ return m(), k(te, { to: "body" }, [
265
+ S.value ? (m(), k(de, ve({ key: 0 }, e.$attrs, {
266
+ "model-value": v.value,
267
+ width: G.value,
261
268
  "lock-scroll": !1,
262
269
  "show-close": !1,
263
- fullscreen: w.value,
264
- "before-close": te,
265
- class: "g-dialog",
266
- "onUpdate:modelValue": _
267
- }), me({
268
- header: h(({ close: f }) => [
269
- u("div", Ce, [
270
- u("p", Ie, k(e.title), 1),
271
- u("div", Oe, [
272
- u("button", {
270
+ fullscreen: D.value,
271
+ "before-close": oe,
272
+ class: ["g-dialog", { "is-leave-to-minimize": i.value, "is-enter-from-minimize": z.value }],
273
+ "onUpdate:modelValue": h,
274
+ onClosed: ce,
275
+ onOpened: ue
276
+ }), _e({
277
+ header: g(({ close: d }) => [
278
+ f("div", Ee, [
279
+ f("p", Ae, M(e.title), 1),
280
+ f("div", Fe, [
281
+ f("button", {
273
282
  type: "button",
274
283
  class: "g-dialog-control g-dialog-control--minimize",
275
284
  "aria-label": "最小化",
276
285
  title: "最小化",
277
- onClick: le
286
+ onClick: se
278
287
  }),
279
- u("button", {
288
+ f("button", {
280
289
  type: "button",
281
290
  class: "g-dialog-control g-dialog-control--fullscreen",
282
- "aria-label": L.value,
283
- title: L.value,
284
- onClick: ne
285
- }, null, 8, Se),
286
- u("button", {
291
+ "aria-label": j.value,
292
+ title: j.value,
293
+ onClick: ae
294
+ }, null, 8, Be),
295
+ f("button", {
287
296
  type: "button",
288
297
  class: "g-dialog-control g-dialog-control--close",
289
- "aria-label": j,
290
- title: j,
291
- onClick: f
292
- }, null, 8, Ee)
298
+ "aria-label": K,
299
+ title: K,
300
+ onClick: d
301
+ }, null, 8, Ge)
293
302
  ])
294
303
  ])
295
304
  ]),
296
- default: h(() => [
297
- E(e.$slots, "default", {}, void 0, !0)
305
+ default: g(() => [
306
+ P(e.$slots, "default", {}, void 0, !0)
298
307
  ]),
299
308
  _: 2
300
309
  }, [
301
310
  e.hideFooter ? void 0 : {
302
311
  name: "footer",
303
- fn: h(() => [
304
- E(e.$slots, "footer", {
305
- cancel: A,
306
- reset: $,
307
- save: R,
308
- close: ie,
312
+ fn: g(() => [
313
+ P(e.$slots, "footer", {
314
+ cancel: W,
315
+ reset: x,
316
+ save: U,
317
+ close: ne,
309
318
  loading: e.saveLoading
310
319
  }, () => [
311
- u("div", De, [
312
- e.actions && e.actions.length ? (m(!0), H(W, { key: 0 }, ge(e.actions, (f) => (m(), y(M, {
313
- key: f.key,
314
- type: f.type,
315
- icon: f.icon,
316
- loading: f.loading || S[f.key],
317
- disabled: f.disabled,
318
- plain: f.plain,
320
+ f("div", Ve, [
321
+ e.actions && e.actions.length ? (m(!0), Y(Z, { key: 0 }, ye(e.actions, (d) => (m(), k(E, {
322
+ key: d.key,
323
+ type: d.type,
324
+ icon: d.icon,
325
+ loading: d.loading || V[d.key],
326
+ disabled: d.disabled,
327
+ plain: d.plain,
319
328
  size: "small",
320
- onClick: (Be) => oe(f)
329
+ onClick: (Re) => le(d)
321
330
  }, {
322
- default: h(() => [
323
- C(k(f.label), 1)
331
+ default: g(() => [
332
+ A(M(d.label), 1)
324
333
  ]),
325
334
  _: 2
326
- }, 1032, ["type", "icon", "loading", "disabled", "plain", "onClick"]))), 128)) : (m(), H(W, { key: 1 }, [
327
- e.showCancel ? (m(), y(M, {
335
+ }, 1032, ["type", "icon", "loading", "disabled", "plain", "onClick"]))), 128)) : (m(), Y(Z, { key: 1 }, [
336
+ e.showCancel ? (m(), k(E, {
328
337
  key: 0,
329
- icon: I(ve),
338
+ icon: C(ze),
330
339
  size: "small",
331
- onClick: A
340
+ onClick: W
332
341
  }, {
333
- default: h(() => [
334
- C(k(e.cancelText), 1)
342
+ default: g(() => [
343
+ A(M(e.cancelText), 1)
335
344
  ]),
336
345
  _: 1
337
- }, 8, ["icon"])) : b("", !0),
338
- e.showReset ? (m(), y(M, {
346
+ }, 8, ["icon"])) : I("", !0),
347
+ e.showReset ? (m(), k(E, {
339
348
  key: 1,
340
- icon: I(_e),
349
+ icon: C(Te),
341
350
  size: "small",
342
- onClick: $
351
+ onClick: x
343
352
  }, {
344
- default: h(() => [
345
- C(k(e.resetText), 1)
353
+ default: g(() => [
354
+ A(M(e.resetText), 1)
346
355
  ]),
347
356
  _: 1
348
- }, 8, ["icon"])) : b("", !0),
349
- e.showSave ? (m(), y(M, {
357
+ }, 8, ["icon"])) : I("", !0),
358
+ e.showSave ? (m(), k(E, {
350
359
  key: 2,
351
360
  type: "primary",
352
- icon: I(ye),
361
+ icon: C(ke),
353
362
  loading: e.saveLoading,
354
363
  disabled: e.saveDisabled,
355
364
  size: "small",
356
- onClick: R
365
+ onClick: U
357
366
  }, {
358
- default: h(() => [
359
- C(k(e.saveText), 1)
367
+ default: g(() => [
368
+ A(M(e.saveText), 1)
360
369
  ]),
361
370
  _: 1
362
- }, 8, ["icon", "loading", "disabled"])) : b("", !0)
371
+ }, 8, ["icon", "loading", "disabled"])) : I("", !0)
363
372
  ], 64)),
364
- E(e.$slots, "moreOperations", {}, void 0, !0)
373
+ P(e.$slots, "moreOperations", {}, void 0, !0)
365
374
  ])
366
375
  ], !0)
367
376
  ]),
368
377
  key: "0"
369
378
  }
370
- ]), 1040, ["model-value", "width", "fullscreen"])) : b("", !0),
371
- O.value ? (m(), y(V, {
372
- key: 1,
373
- title: e.title,
374
- position: x.value,
375
- "attention-tick": J.value,
376
- onRestore: ae
377
- }, null, 8, ["title", "position", "attention-tick"])) : b("", !0)
379
+ ]), 1040, ["model-value", "width", "fullscreen", "class"])) : I("", !0),
380
+ F(C(be), null, {
381
+ default: g(() => [
382
+ O.value ? (m(), k(N, {
383
+ key: 0,
384
+ title: e.title,
385
+ position: _.value,
386
+ "attention-tick": B.value,
387
+ onRestore: re
388
+ }, null, 8, ["title", "position", "attention-tick"])) : I("", !0)
389
+ ]),
390
+ _: 1
391
+ })
378
392
  ]);
379
393
  };
380
394
  }
381
- }), D = /* @__PURE__ */ K(Fe, [["__scopeId", "data-v-0cb7c4e3"]]);
382
- D.install = (a) => {
383
- a.component(D.name, D), a.component(V.name, V);
395
+ }), R = /* @__PURE__ */ ie(Pe, [["__scopeId", "data-v-4a8b52ec"]]);
396
+ R.install = (a) => {
397
+ a.component(R.name, R), a.component(N.name, N);
384
398
  };
385
399
  export {
386
- he as DIALOG_MANAGER_KEY,
387
- U as DIALOG_SIZES,
388
- D as GDialog,
389
- V as GDialogMinimizedIcon,
390
- G as MINIMIZED_LAYOUT,
391
- $e as createDialogManager,
392
- D as default,
393
- Te as useDialogManager
400
+ Me as DIALOG_MANAGER_KEY,
401
+ q as DIALOG_SIZES,
402
+ R as GDialog,
403
+ N as GDialogMinimizedIcon,
404
+ L as MINIMIZED_LAYOUT,
405
+ xe as createDialogManager,
406
+ R as default,
407
+ Oe as useDialogManager
394
408
  };