@nice2dev/ui 1.1.10 → 1.2.0

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.
Files changed (114) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/README.md +12 -20
  3. package/dist/NiceButton-5tWvfXKl.cjs +1 -0
  4. package/dist/NiceButton-DHSgQT1_.js +112 -0
  5. package/dist/NiceCodeEditor-B8At55f5.js +1179 -0
  6. package/dist/NiceCodeEditor-BJSEzhcY.cjs +260 -0
  7. package/dist/NiceColorPicker-DCgmE-3H.cjs +1 -0
  8. package/dist/NiceColorPicker-DK30kJgy.js +486 -0
  9. package/dist/NiceColorPicker-DtPFxDKM.cjs +1 -0
  10. package/dist/NiceColorPicker-bNJBAU_c.js +598 -0
  11. package/dist/NiceDataGrid-BOCJr6XF.js +2217 -0
  12. package/dist/NiceDataGrid-BV5Oh-gy.cjs +10 -0
  13. package/dist/NiceDataGrid-Dd7SI-M6.cjs +10 -0
  14. package/dist/NiceDataGrid-DjZchXYG.js +2217 -0
  15. package/dist/NiceForm-BCEXovJR.cjs +1 -0
  16. package/dist/NiceForm-D7oyWHXg.js +4820 -0
  17. package/dist/NiceForm-DUhxXArr.js +4817 -0
  18. package/dist/NiceForm-uCeVmTrD.cjs +1 -0
  19. package/dist/NiceHtmlEditor-BYk1roA4.cjs +10 -0
  20. package/dist/NiceHtmlEditor-C5kLeF9H.cjs +10 -0
  21. package/dist/NiceHtmlEditor-CFVMIC5L.js +848 -0
  22. package/dist/NiceHtmlEditor-mWebBmy1.js +849 -0
  23. package/dist/NiceLoginForm-BHyDY7br.cjs +1 -0
  24. package/dist/NiceLoginForm-BuxFY2Rk.js +750 -0
  25. package/dist/NiceLoginForm.css +1 -0
  26. package/dist/NiceMention-CA7CL5BI.js +11263 -0
  27. package/dist/NiceMention-CHcKRl-L.cjs +430 -0
  28. package/dist/NiceMention-DJD0BLcp.js +11269 -0
  29. package/dist/NiceMention-DcaUEMSg.cjs +430 -0
  30. package/dist/NiceMention.css +1 -1
  31. package/dist/NiceModal-C4p8a82e.cjs +1 -0
  32. package/dist/NiceModal-TNlkaL_i.js +85 -0
  33. package/dist/NiceModuleLifecyclePanel-BWbKdVC_.js +7054 -0
  34. package/dist/NiceModuleLifecyclePanel-CZHIzvkE.cjs +1 -0
  35. package/dist/NiceModuleLifecyclePanel-OC9YK2kG.js +7052 -0
  36. package/dist/NiceModuleLifecyclePanel-_OcfDmtC.cjs +1 -0
  37. package/dist/NicePagination-8XsBbMNx.js +165 -0
  38. package/dist/NicePagination-CkOoXf0f.js +165 -0
  39. package/dist/NicePagination-D7lek1G7.cjs +1 -0
  40. package/dist/NicePagination-OjTEfZJE.cjs +1 -0
  41. package/dist/NicePivotGrid-BJRSciWl.js +1183 -0
  42. package/dist/NicePivotGrid-CS1dPmNI.cjs +152 -0
  43. package/dist/NicePivotGrid-D2AxqDzJ.js +1183 -0
  44. package/dist/NicePivotGrid-DxQ6Py9D.cjs +152 -0
  45. package/dist/NiceSavedQueryPanel-B5HhqlAI.cjs +586 -0
  46. package/dist/NiceSavedQueryPanel-CMStDOKe.js +5125 -0
  47. package/dist/NiceSavedQueryPanel-D2i34e_b.cjs +586 -0
  48. package/dist/NiceSavedQueryPanel-mPO2THs7.js +5142 -0
  49. package/dist/NiceSavedQueryPanel.css +1 -1
  50. package/dist/NiceScheduler-7gP7vcLy.cjs +5 -0
  51. package/dist/NiceScheduler-Cy7F9tgH.js +1693 -0
  52. package/dist/NiceScheduler-DquRUZxD.cjs +5 -0
  53. package/dist/NiceScheduler-l8N4yCWd.js +1716 -0
  54. package/dist/NiceSelect-DZB1Rs9x.js +435 -0
  55. package/dist/NiceSelect-tMz9QQUs.cjs +1 -0
  56. package/dist/NiceStreamDashboard.doc-74KUXya1.cjs +8 -0
  57. package/dist/NiceStreamDashboard.doc-k8PQfCM0.js +32 -0
  58. package/dist/NiceWindow-BEov3s9F.js +2094 -0
  59. package/dist/NiceWindow-CDt6PCEg.cjs +1 -0
  60. package/dist/NiceWindow.css +1 -1
  61. package/dist/charts-C047IMVn.cjs +768 -0
  62. package/dist/charts-CCXSb3xk.js +4752 -0
  63. package/dist/charts-CqETcUhH.js +4752 -0
  64. package/dist/charts-DouiiHOT.cjs +768 -0
  65. package/dist/charts.cjs +1 -1
  66. package/dist/charts.mjs +1 -1
  67. package/dist/core-BL-KmGYC.js +795 -0
  68. package/dist/core-Chg-oYCr.cjs +1 -0
  69. package/dist/core-CxBnKAhs.cjs +1 -0
  70. package/dist/core-D_LRh59n.js +795 -0
  71. package/dist/data-branching-Km4lc8P_.cjs +1 -0
  72. package/dist/data-branching-YQtJJEtn.js +6273 -0
  73. package/dist/data-branching.cjs +1 -1
  74. package/dist/data-branching.mjs +1 -1
  75. package/dist/data.cjs +1 -1
  76. package/dist/data.d.ts +0 -51
  77. package/dist/data.mjs +3 -3
  78. package/dist/devops-D5yIDM3e.js +8312 -0
  79. package/dist/devops-rVpB0ZAX.cjs +17 -0
  80. package/dist/devops.cjs +1 -1
  81. package/dist/devops.mjs +1 -1
  82. package/dist/editors.cjs +1 -1
  83. package/dist/editors.d.ts +6 -25
  84. package/dist/editors.mjs +55 -54
  85. package/dist/feedback.cjs +1 -1
  86. package/dist/feedback.d.ts +5 -0
  87. package/dist/feedback.mjs +2 -2
  88. package/dist/index.cjs +284 -284
  89. package/dist/index.css +1 -1
  90. package/dist/index.d.ts +194 -208
  91. package/dist/index.mjs +20312 -19511
  92. package/dist/lazy.cjs +1 -1
  93. package/dist/lazy.mjs +29 -29
  94. package/dist/navigation.cjs +1 -1
  95. package/dist/navigation.mjs +3 -3
  96. package/dist/no-code-6WyYb3hL.cjs +331 -0
  97. package/dist/no-code-BH5oVFC6.js +8186 -0
  98. package/dist/no-code-CnHG5_Vn.js +8186 -0
  99. package/dist/no-code-DMKlg1Zl.cjs +331 -0
  100. package/dist/no-code.cjs +1 -1
  101. package/dist/no-code.css +1 -1
  102. package/dist/no-code.d.ts +25 -18
  103. package/dist/no-code.mjs +3 -3
  104. package/dist/overlays.cjs +1 -1
  105. package/dist/overlays.d.ts +24 -24
  106. package/dist/overlays.mjs +24 -490
  107. package/dist/pickerCommons-0vyK1Knv.js +547 -0
  108. package/dist/pickerCommons-BFbItm8o.cjs +1 -0
  109. package/dist/pickerCommons-BHirHJyn.js +548 -0
  110. package/dist/pickerCommons-Bt8JIaTN.cjs +1 -0
  111. package/dist/pickerCommons.css +1 -1
  112. package/dist/style.css +10 -7
  113. package/package.json +4 -6
  114. package/css/legacy-bg-text-aliases.css +0 -87
package/dist/overlays.mjs CHANGED
@@ -1,492 +1,26 @@
1
- import { N as se, a as de, b as ue, c as he, d as me, e as fe, f as ve, g as ge, h as we, i as be, j as ye, k as pe, l as Ne, u as _e, m as ke } from "./NiceWindow-BU1Ce7gS.js";
2
- import { jsxs as C, Fragment as K, jsx as a } from "react/jsx-runtime";
3
- import { useFocusTrap as j, triggerHaptic as W, useClickOutside as z, usePan as U, NiceThemeContext as V } from "@nice2dev/ui-core";
4
- import { useRef as E, useState as P, useEffect as Y, useCallback as b, useContext as q } from "react";
5
- import { createPortal as X } from "react-dom";
6
- function O() {
7
- const e = q(V);
8
- return e?.portalTarget ? e.portalTarget : typeof document < "u" ? document.body : null;
9
- }
10
- const Z = ({
11
- open: e,
12
- onClose: o,
13
- children: f,
14
- title: r,
15
- size: v = "md",
16
- closeOnBackdropClick: l = !0,
17
- closeOnEscape: s = !0,
18
- disableFocusTrap: d = !1,
19
- disableBodyScroll: x = !0,
20
- zIndex: _ = 1e3,
21
- className: k,
22
- style: M
23
- }) => {
24
- const y = E(null);
25
- j(y, e && !d);
26
- const p = O();
27
- Y(() => {
28
- if (!x && e) {
29
- const t = document.body.style.overflow;
30
- return document.body.style.overflow = "hidden", () => {
31
- document.body.style.overflow = t;
32
- };
33
- }
34
- }, [e, x]), Y(() => {
35
- if (!s || !e)
36
- return;
37
- const t = (g) => {
38
- g.key === "Escape" && (g.preventDefault(), o());
39
- };
40
- return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
41
- }, [s, e, o]);
42
- const u = b(
43
- (t) => {
44
- l && t.target === t.currentTarget && o();
45
- },
46
- [l, o]
47
- );
48
- if (!e)
49
- return null;
50
- const c = {
51
- sm: "nice-modal--sm",
52
- md: "nice-modal--md",
53
- lg: "nice-modal--lg",
54
- xl: "nice-modal--xl",
55
- full: "nice-modal--full"
56
- }[v];
57
- return X(
58
- /* @__PURE__ */ a(
59
- "div",
60
- {
61
- className: "nice-modal__overlay",
62
- style: { zIndex: _ },
63
- onClick: u,
64
- role: "presentation",
65
- children: /* @__PURE__ */ a(
66
- "div",
67
- {
68
- ref: y,
69
- className: `nice-modal ${c} ${k || ""}`,
70
- role: "dialog",
71
- "aria-modal": "true",
72
- "aria-label": r,
73
- style: M,
74
- tabIndex: -1,
75
- children: f
76
- }
77
- )
78
- }
79
- ),
80
- p
81
- );
82
- }, ee = ({
83
- children: e,
84
- showClose: o = !0,
85
- onClose: f,
86
- className: r
87
- }) => /* @__PURE__ */ C("div", { className: `nice-modal__header ${r || ""}`, children: [
88
- /* @__PURE__ */ a("div", { className: "nice-modal__title", children: e }),
89
- o && f && /* @__PURE__ */ a("button", { type: "button", className: "nice-modal__close", onClick: f, "aria-label": "Close", children: /* @__PURE__ */ a(
90
- "svg",
91
- {
92
- width: "20",
93
- height: "20",
94
- viewBox: "0 0 20 20",
95
- fill: "none",
96
- stroke: "currentColor",
97
- strokeWidth: "2",
98
- children: /* @__PURE__ */ a("path", { d: "M4 4l12 12M4 16L16 4" })
99
- }
100
- ) })
101
- ] }), te = ({ children: e, className: o }) => /* @__PURE__ */ a("div", { className: `nice-modal__body ${o || ""}`, children: e }), ne = ({ children: e, className: o }) => /* @__PURE__ */ a("div", { className: `nice-modal__footer ${o || ""}`, children: e }), re = ({
102
- open: e,
103
- onClose: o,
104
- children: f,
105
- position: r = "right",
106
- size: v = 320,
107
- title: l,
108
- closeOnBackdropClick: s = !0,
109
- closeOnEscape: d = !0,
110
- swipeToClose: x = !0,
111
- zIndex: _ = 1e3,
112
- className: k,
113
- style: M
114
- }) => {
115
- const y = E(null), [p, u] = P(!1), [c, t] = P(0);
116
- j(y, e);
117
- const g = O();
118
- Y(() => {
119
- if (!d || !e)
120
- return;
121
- const n = (N) => {
122
- N.key === "Escape" && (N.preventDefault(), o());
123
- };
124
- return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
125
- }, [d, e, o]);
126
- const h = b(
127
- (n) => {
128
- let N = 0;
129
- switch (r) {
130
- case "left":
131
- N = Math.min(0, n.deltaX);
132
- break;
133
- case "right":
134
- N = Math.max(0, n.deltaX);
135
- break;
136
- case "top":
137
- N = Math.min(0, n.deltaY);
138
- break;
139
- case "bottom":
140
- N = Math.max(0, n.deltaY);
141
- break;
142
- }
143
- t(N);
144
- },
145
- [r]
146
- ), H = b(
147
- (n) => {
148
- let R = !1;
149
- switch (r) {
150
- case "left":
151
- R = n.deltaX < -100;
152
- break;
153
- case "right":
154
- R = n.deltaX > 100;
155
- break;
156
- case "top":
157
- R = n.deltaY < -100;
158
- break;
159
- case "bottom":
160
- R = n.deltaY > 100;
161
- break;
162
- }
163
- R && (W("light"), o()), t(0), u(!1);
164
- },
165
- [r, o]
166
- ), { ref: D } = U({
167
- enabled: x && e,
168
- onPanStart: () => u(!0),
169
- onPan: h,
170
- onPanEnd: H
171
- }), L = b(
172
- (n) => {
173
- s && n.target === n.currentTarget && o();
174
- },
175
- [s, o]
176
- );
177
- if (!e)
178
- return null;
179
- const I = r === "left" || r === "right", S = I ? { width: typeof v == "number" ? `${v}px` : v } : { height: typeof v == "number" ? `${v}px` : v }, i = () => {
180
- if (p)
181
- return I ? `translateX(${c}px)` : `translateY(${c}px)`;
182
- };
183
- return X(
184
- /* @__PURE__ */ C(K, { children: [
185
- /* @__PURE__ */ a(
186
- "div",
187
- {
188
- className: `nice-drawer__overlay ${e ? "nice-drawer__overlay--visible" : ""}`,
189
- style: { zIndex: _ },
190
- onClick: L
191
- }
192
- ),
193
- /* @__PURE__ */ a(
194
- "div",
195
- {
196
- ref: (n) => {
197
- y.current = n, D.current = n;
198
- },
199
- className: `nice-drawer nice-drawer--${r} ${e ? "nice-drawer--open" : ""} ${k || ""}`,
200
- style: {
201
- ...S,
202
- zIndex: _ + 1,
203
- transform: i(),
204
- transition: p ? "none" : void 0,
205
- ...M
206
- },
207
- role: "dialog",
208
- "aria-modal": "true",
209
- "aria-label": l,
210
- tabIndex: -1,
211
- children: f
212
- }
213
- )
214
- ] }),
215
- g
216
- );
217
- }, oe = ({
218
- open: e,
219
- onClose: o,
220
- children: f,
221
- title: r,
222
- showHandle: v = !0,
223
- snapPoints: l = [0.5, 0.9],
224
- initialSnap: s = 0,
225
- expandable: d = !0,
226
- closeOnBackdropClick: x = !0,
227
- closeOnEscape: _ = !0,
228
- hapticFeedback: k = !0,
229
- zIndex: M = 1e3,
230
- className: y,
231
- style: p
232
- }) => {
233
- const u = E(null), c = E(null), [t, g] = P(s), [h, H] = P(!1), [D, L] = P(0), I = E(0);
234
- Y(() => {
235
- e && (g(s), L(0));
236
- }, [e, s]), j(u, e);
237
- const S = O();
238
- Y(() => {
239
- if (!_ || !e)
240
- return;
241
- const m = (w) => {
242
- w.key === "Escape" && (w.preventDefault(), o());
243
- };
244
- return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
245
- }, [_, e, o]), Y(() => {
246
- if (e) {
247
- const m = document.body.style.overflow;
248
- return document.body.style.overflow = "hidden", () => {
249
- document.body.style.overflow = m;
250
- };
251
- }
252
- }, [e]);
253
- const i = b((m) => {
254
- const w = m.target.closest(".nice-bottom-sheet__handle"), B = c.current, A = !B || B.scrollTop <= 0;
255
- !w && !A || (H(!0), I.current = m.touches[0].clientY);
256
- }, []), n = b(
257
- (m) => {
258
- if (!h)
259
- return;
260
- const w = m.touches[0].clientY - I.current;
261
- (w > 0 || t < l.length - 1) && L(w);
262
- },
263
- [h, t, l.length]
264
- ), N = b(() => {
265
- if (!h)
266
- return;
267
- const m = window.innerHeight;
268
- l[t] * m;
269
- const w = -D, B = m * 0.15;
270
- w > B && d && t < l.length - 1 ? (g(t + 1), k && W("selection")) : w < -B && (t > 0 ? (g(t - 1), k && W("selection")) : (k && W("light"), o())), H(!1), L(0);
271
- }, [h, D, t, l, d, k, o]), R = b(() => {
272
- x && o();
273
- }, [x, o]);
274
- if (!e)
275
- return null;
276
- const T = l[t] * 100, $ = h ? D : 0;
277
- return X(
278
- /* @__PURE__ */ C(K, { children: [
279
- /* @__PURE__ */ a(
280
- "div",
281
- {
282
- className: `nice-bottom-sheet__overlay ${e ? "nice-bottom-sheet__overlay--visible" : ""}`,
283
- style: { zIndex: M },
284
- onClick: R
285
- }
286
- ),
287
- /* @__PURE__ */ C(
288
- "div",
289
- {
290
- ref: u,
291
- className: `nice-bottom-sheet ${e ? "nice-bottom-sheet--open" : ""} ${y || ""}`,
292
- style: {
293
- zIndex: M + 1,
294
- height: `${T}vh`,
295
- transform: `translateY(${Math.max(0, $)}px)`,
296
- transition: h ? "none" : "transform 0.3s ease-out, height 0.3s ease-out",
297
- ...p
298
- },
299
- role: "dialog",
300
- "aria-modal": "true",
301
- "aria-label": r,
302
- tabIndex: -1,
303
- onTouchStart: i,
304
- onTouchMove: n,
305
- onTouchEnd: N,
306
- children: [
307
- v && /* @__PURE__ */ a("div", { className: "nice-bottom-sheet__handle", "aria-hidden": "true" }),
308
- r && /* @__PURE__ */ a("div", { className: "nice-bottom-sheet__title", children: r }),
309
- /* @__PURE__ */ a("div", { ref: c, className: "nice-bottom-sheet__content", children: f })
310
- ]
311
- }
312
- )
313
- ] }),
314
- S
315
- );
316
- }, ae = ({
317
- trigger: e,
318
- children: o,
319
- placement: f = "bottom",
320
- triggerMode: r = "click",
321
- open: v,
322
- onOpenChange: l,
323
- hoverDelay: s = 200,
324
- offset: d = 8,
325
- className: x,
326
- showArrow: _ = !0
327
- }) => {
328
- const [k, M] = P(!1), y = E(null), p = E(null), u = E(null), c = O(), t = v !== void 0, g = t ? v : k, h = b(
329
- (i) => {
330
- t || M(i), l?.(i);
331
- },
332
- [t, l]
333
- );
334
- z(p, () => {
335
- r !== "manual" && g && h(!1);
336
- });
337
- const H = b(() => {
338
- r === "click" && h(!g);
339
- }, [r, g, h]), D = b(() => {
340
- r === "hover" && (u.current && window.clearTimeout(u.current), u.current = window.setTimeout(() => h(!0), s));
341
- }, [r, s, h]), L = b(() => {
342
- r === "hover" && (u.current && window.clearTimeout(u.current), u.current = window.setTimeout(() => h(!1), s));
343
- }, [r, s, h]), [I, S] = P({ top: 0, left: 0 });
344
- return Y(() => {
345
- if (!g || !y.current || !p.current)
346
- return;
347
- const i = y.current.getBoundingClientRect(), n = p.current.getBoundingClientRect(), N = window.innerWidth, R = window.innerHeight;
348
- let T = 0, $ = 0;
349
- const [m, w = "center"] = f.split("-");
350
- switch (m) {
351
- case "top":
352
- T = i.top - n.height - d, $ = i.left + (i.width - n.width) / 2;
353
- break;
354
- case "bottom":
355
- T = i.bottom + d, $ = i.left + (i.width - n.width) / 2;
356
- break;
357
- case "left":
358
- T = i.top + (i.height - n.height) / 2, $ = i.left - n.width - d;
359
- break;
360
- case "right":
361
- T = i.top + (i.height - n.height) / 2, $ = i.right + d;
362
- break;
363
- }
364
- m === "top" || m === "bottom" ? (w === "start" && ($ = i.left), w === "end" && ($ = i.right - n.width)) : (w === "start" && (T = i.top), w === "end" && (T = i.bottom - n.height)), $ = Math.max(8, Math.min(N - n.width - 8, $)), T = Math.max(8, Math.min(R - n.height - 8, T)), S({ top: T, left: $ });
365
- }, [g, f, d]), /* @__PURE__ */ C(K, { children: [
366
- /* @__PURE__ */ a(
367
- "div",
368
- {
369
- ref: y,
370
- className: "nice-popover__trigger",
371
- onClick: H,
372
- onMouseEnter: D,
373
- onMouseLeave: L,
374
- style: { display: "inline-block" },
375
- children: e
376
- }
377
- ),
378
- g && X(
379
- /* @__PURE__ */ C(
380
- "div",
381
- {
382
- ref: p,
383
- className: `nice-popover nice-popover--${f} ${x || ""}`,
384
- style: {
385
- position: "fixed",
386
- top: I.top,
387
- left: I.left,
388
- zIndex: 1100
389
- },
390
- onMouseEnter: D,
391
- onMouseLeave: L,
392
- role: "tooltip",
393
- children: [
394
- _ && /* @__PURE__ */ a("div", { className: "nice-popover__arrow" }),
395
- /* @__PURE__ */ a("div", { className: "nice-popover__content", children: o })
396
- ]
397
- }
398
- ),
399
- c
400
- )
401
- ] });
402
- }, ie = ({
403
- items: e,
404
- children: o,
405
- onOpen: f,
406
- onClose: r,
407
- className: v
408
- }) => {
409
- const [l, s] = P(!1), [d, x] = P({ x: 0, y: 0 }), _ = E(null), k = E(null), M = O();
410
- z(_, () => {
411
- l && (s(!1), r?.());
412
- });
413
- const y = b(
414
- (c) => {
415
- c.preventDefault(), x({ x: c.clientX, y: c.clientY }), s(!0), f?.();
416
- },
417
- [f]
418
- ), p = b(
419
- (c) => {
420
- !c.disabled && c.onClick && (c.onClick(), s(!1), r?.());
421
- },
422
- [r]
423
- );
424
- Y(() => {
425
- if (!l)
426
- return;
427
- const c = (t) => {
428
- t.key === "Escape" && (s(!1), r?.());
429
- };
430
- return document.addEventListener("keydown", c), () => document.removeEventListener("keydown", c);
431
- }, [l, r]);
432
- const u = (c) => /* @__PURE__ */ a("ul", { className: "nice-context-menu__list", role: "menu", children: c.map((t) => t.divider ? /* @__PURE__ */ a("li", { className: "nice-context-menu__divider", role: "separator" }, t.key) : /* @__PURE__ */ a("li", { role: "presentation", children: /* @__PURE__ */ C(
433
- "button",
434
- {
435
- type: "button",
436
- className: `nice-context-menu__item ${t.disabled ? "nice-context-menu__item--disabled" : ""} ${t.danger ? "nice-context-menu__item--danger" : ""}`,
437
- role: "menuitem",
438
- disabled: t.disabled,
439
- onClick: () => p(t),
440
- children: [
441
- t.icon && /* @__PURE__ */ a("span", { className: "nice-context-menu__icon", children: t.icon }),
442
- /* @__PURE__ */ a("span", { className: "nice-context-menu__label", children: t.label })
443
- ]
444
- }
445
- ) }, t.key)) });
446
- return /* @__PURE__ */ C(K, { children: [
447
- /* @__PURE__ */ a("div", { ref: k, onContextMenu: y, style: { display: "contents" }, children: o }),
448
- l && X(
449
- /* @__PURE__ */ a(
450
- "div",
451
- {
452
- ref: _,
453
- className: `nice-context-menu ${v || ""}`,
454
- style: {
455
- position: "fixed",
456
- left: d.x,
457
- top: d.y,
458
- zIndex: 1200
459
- },
460
- role: "menu",
461
- children: u(e)
462
- }
463
- ),
464
- M
465
- )
466
- ] });
467
- };
1
+ import { N as i, a as o, b as s, c, d as r, e as N, f as l, g as t, h as d, i as n, j as v, k as m, l as P, m as u, n as y, o as M, p, q as B, r as O, s as w, t as x, u as C, v as g } from "./NiceWindow-BEov3s9F.js";
468
2
  export {
469
- se as NiceActionSheet,
470
- de as NiceBlockUI,
471
- oe as NiceBottomSheet,
472
- ue as NiceBox,
473
- he as NiceCommandPaletteProvider,
474
- ie as NiceContextMenu,
475
- re as NiceDrawer,
476
- me as NiceLoadPanel,
477
- Z as NiceModal,
478
- te as NiceModalBody,
479
- ne as NiceModalFooter,
480
- ee as NiceModalHeader,
481
- ae as NiceOverlayPopover,
482
- fe as NicePopover,
483
- ve as NiceResizable,
484
- ge as NiceResponsiveBox,
485
- we as NiceScrollView,
486
- be as NiceTutorial,
487
- ye as NiceTutorialProvider,
488
- pe as NiceWindow,
489
- Ne as NiceWindowManager,
490
- _e as useCommandPalette,
491
- ke as useRegisterCommands
3
+ i as NiceActionSheet,
4
+ o as NiceBlockUI,
5
+ s as NiceBox,
6
+ c as NiceCommandPaletteProvider,
7
+ r as NiceLoadPanel,
8
+ N as NiceModalBody,
9
+ l as NiceModalFooter,
10
+ t as NiceModalHeader,
11
+ d as NiceOverlayBottomSheet,
12
+ n as NiceOverlayContextMenu,
13
+ v as NiceOverlayDrawer,
14
+ m as NiceOverlayModal,
15
+ P as NiceOverlayPopover,
16
+ u as NicePopover,
17
+ y as NiceResizable,
18
+ M as NiceResponsiveBox,
19
+ p as NiceScrollView,
20
+ B as NiceTutorial,
21
+ O as NiceTutorialProvider,
22
+ w as NiceWindow,
23
+ x as NiceWindowManager,
24
+ C as useCommandPalette,
25
+ g as useRegisterCommands
492
26
  };