@nice2dev/ui 1.0.8 → 1.0.11
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.
- package/dist/NiceErrorBoundary-B5nF-OVn.cjs +1 -0
- package/dist/NiceErrorBoundary-BZEHCXNM.cjs +1 -0
- package/dist/NiceErrorBoundary-D6jw6wwD.js +762 -0
- package/dist/NiceErrorBoundary-D75yr_WE.js +762 -0
- package/dist/NiceForm-BgR-m8T9.cjs +382 -0
- package/dist/NiceForm-CKoJA6NG.js +5131 -0
- package/dist/NiceForm-D7xnpnRJ.cjs +382 -0
- package/dist/NiceForm-DYKciCeR.js +5131 -0
- package/dist/NiceForm.css +1 -0
- package/dist/NiceModal-1QX7NhyH.js +95 -0
- package/dist/NiceModal-Br3J9jOV.cjs +1 -0
- package/dist/NiceModal-CAwsKVQ2.cjs +1 -0
- package/dist/NiceModal-DVAsBzHP.js +95 -0
- package/dist/NiceModuleLifecyclePanel-C9xMSjOF.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-CMrPbSw9.js +5249 -0
- package/dist/NiceModuleLifecyclePanel-D3azLDdj.js +5249 -0
- package/dist/NiceModuleLifecyclePanel-DEfAIhFf.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -0
- package/dist/NicePagination-CbB5P1N_.js +171 -0
- package/dist/NicePagination-DbE-uOkl.js +171 -0
- package/dist/NicePagination-DlealakT.cjs +1 -0
- package/dist/NicePagination-UGjzvRUS.cjs +1 -0
- package/dist/NicePinCodeInput-B8cI8zu8.js +11830 -0
- package/dist/NicePinCodeInput-BmRO9HSQ.js +11830 -0
- package/dist/NicePinCodeInput-D91uvVsF.cjs +419 -0
- package/dist/NicePinCodeInput-SGQaHvpE.cjs +419 -0
- package/dist/NicePinCodeInput.css +1 -1
- package/dist/NiceSavedQueryPanel-7nZe46t8.cjs +596 -0
- package/dist/NiceSavedQueryPanel-BSGzs7Oc.js +6449 -0
- package/dist/NiceSavedQueryPanel-CZ5bYOe_.js +6449 -0
- package/dist/NiceSavedQueryPanel-Ce2s060j.cjs +596 -0
- package/dist/NiceTabs-BeaxZzAO.js +1636 -0
- package/dist/NiceTabs-DcbYFIWR.cjs +1 -0
- package/dist/NiceTabs-DvOmxKyQ.cjs +1 -0
- package/dist/NiceTabs-DzLHzwuA.js +1636 -0
- package/dist/NiceWindow-Bga9fOkg.js +1409 -0
- package/dist/NiceWindow-CVgkxcCz.cjs +1 -0
- package/dist/NiceWindow-CxWTj5xH.cjs +1 -0
- package/dist/NiceWindow-DeC83yfE.js +1409 -0
- package/dist/charts-BAS21jkC.js +4621 -0
- package/dist/charts-BcvKWYUl.cjs +759 -0
- package/dist/charts-DShUbWrP.cjs +759 -0
- package/dist/charts-DZvmvfhM.js +4621 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +42 -45
- package/dist/charts.mjs +1 -1
- package/dist/core-B4b1BmHt.js +22177 -0
- package/dist/core-C2ZmWe_u.cjs +96 -0
- package/dist/core-CjmLbclt.cjs +96 -0
- package/dist/core-Da43q-pO.js +22094 -0
- package/dist/data-branching-CJlrg8qf.cjs +1 -0
- package/dist/data-branching-DCUwI53s.js +6121 -0
- package/dist/data-branching.cjs +1 -1
- package/dist/data-branching.d.ts +1 -38
- package/dist/data-branching.mjs +1 -1
- package/dist/data.cjs +1 -1
- package/dist/data.d.ts +206 -192
- package/dist/data.mjs +1 -1
- package/dist/devops-CXynFG3X.cjs +17 -0
- package/dist/devops-D0TfzV5B.js +7660 -0
- package/dist/devops.cjs +1 -1
- package/dist/devops.d.ts +1 -38
- package/dist/devops.mjs +1 -1
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.ts +311 -393
- package/dist/editors.mjs +61 -64
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.d.ts +3 -44
- package/dist/feedback.mjs +11 -10
- package/dist/index-B8wxZ8Ps.cjs +5192 -0
- package/dist/index-DlHlXz8e.js +57319 -0
- package/dist/index-Dx726U90.cjs +5192 -0
- package/dist/index-pAuGTbuB.js +57319 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2249 -11141
- package/dist/index.mjs +880 -1018
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +7 -39
- package/dist/lazy.mjs +24 -24
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +151 -216
- package/dist/navigation.mjs +52 -46
- package/dist/no-code-B5bzduNP.cjs +332 -0
- package/dist/no-code-D8RJ7lx0.js +7064 -0
- package/dist/no-code.cjs +1 -1
- package/dist/no-code.d.ts +1 -38
- package/dist/no-code.mjs +1 -1
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.d.ts +13 -45
- package/dist/overlays.mjs +243 -233
- package/package.json +5 -3
package/dist/navigation.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { D as ae, a as ie, b as ce, c as se, d as le, e as re, N as te, f as oe, g as de, h as ue, i as be, j as me, k as _e, l as he, m as pe, n as Ne, o as ve, p as ke, q as ye, r as fe, s as ge, t as $e, u as xe, v as Me, w as we, x as Ce, y as De, z as Se, A as Ee, B as Ie, C as Te, E as Ae, F as
|
|
1
|
+
import { D as ae, a as ie, b as ce, c as se, d as le, e as re, N as te, f as oe, g as de, h as ue, i as be, j as me, k as _e, l as he, m as pe, n as Ne, o as ve, p as ke, q as ye, r as fe, s as ge, t as $e, u as xe, v as Me, w as we, x as Ce, y as De, z as Se, A as Ee, B as Ie, C as Te, E as Ae, F as We, G as Le, H as Pe, I as Re, J as Be, K as Ke, L as Oe, M as Fe, O as He, P as je, S as ze } from "./NiceModuleLifecyclePanel-D3azLDdj.js";
|
|
2
2
|
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
3
|
+
import { c as E, N as I, W as B } from "./core-B4b1BmHt.js";
|
|
4
|
+
import { forwardRef as T, useState as W, useCallback as L, useEffect as z } from "react";
|
|
5
|
+
import { f as Ve } from "./NiceTabs-BeaxZzAO.js";
|
|
6
|
+
import { N as Je } from "./NicePagination-CbB5P1N_.js";
|
|
7
|
+
const U = T(
|
|
6
8
|
({
|
|
7
9
|
items: b,
|
|
8
10
|
activeKey: m,
|
|
@@ -20,7 +22,7 @@ const U = E(
|
|
|
20
22
|
accessMode: x,
|
|
21
23
|
...M
|
|
22
24
|
}, N) => {
|
|
23
|
-
const i =
|
|
25
|
+
const i = E(y), t = I(x, y), [s, u] = W(/* @__PURE__ */ new Set()), r = L((n) => {
|
|
24
26
|
u((D) => {
|
|
25
27
|
const a = new Set(D);
|
|
26
28
|
return a.has(n) ? a.delete(n) : a.add(n), a;
|
|
@@ -69,7 +71,7 @@ const U = E(
|
|
|
69
71
|
}
|
|
70
72
|
);
|
|
71
73
|
U.displayName = "NiceSidebarMenu";
|
|
72
|
-
const V =
|
|
74
|
+
const V = T(
|
|
73
75
|
({
|
|
74
76
|
items: b,
|
|
75
77
|
activeKey: m,
|
|
@@ -83,7 +85,7 @@ const V = E(
|
|
|
83
85
|
accessMode: _,
|
|
84
86
|
...g
|
|
85
87
|
}, $) => {
|
|
86
|
-
const y =
|
|
88
|
+
const y = E(d), x = I(_, d), [M, N] = W(null);
|
|
87
89
|
return x === "hidden" ? null : /* @__PURE__ */ o(
|
|
88
90
|
"nav",
|
|
89
91
|
{
|
|
@@ -149,7 +151,7 @@ const V = E(
|
|
|
149
151
|
}
|
|
150
152
|
);
|
|
151
153
|
V.displayName = "NiceTopMenu";
|
|
152
|
-
const q =
|
|
154
|
+
const q = T(
|
|
153
155
|
({
|
|
154
156
|
tabs: b,
|
|
155
157
|
activeTab: m,
|
|
@@ -164,7 +166,7 @@ const q = E(
|
|
|
164
166
|
accessMode: g,
|
|
165
167
|
...$
|
|
166
168
|
}, y) => {
|
|
167
|
-
const x =
|
|
169
|
+
const x = E(_), M = I(g, _), [N, i] = W(m ?? b[0]?.key), t = m ?? N, s = b.find((r) => r.key === t), u = L(
|
|
168
170
|
(r) => {
|
|
169
171
|
i(r), c?.(r);
|
|
170
172
|
},
|
|
@@ -226,7 +228,7 @@ const q = E(
|
|
|
226
228
|
}
|
|
227
229
|
);
|
|
228
230
|
q.displayName = "NiceRibbonMenu";
|
|
229
|
-
const J =
|
|
231
|
+
const J = T(
|
|
230
232
|
({
|
|
231
233
|
items: b,
|
|
232
234
|
activeKey: m,
|
|
@@ -241,7 +243,7 @@ const J = E(
|
|
|
241
243
|
accessMode: g,
|
|
242
244
|
...$
|
|
243
245
|
}, y) => {
|
|
244
|
-
const x =
|
|
246
|
+
const x = E(_), M = I(g, _), [N, i] = W(!1), t = !l || N;
|
|
245
247
|
return M === "hidden" ? null : /* @__PURE__ */ e(
|
|
246
248
|
"div",
|
|
247
249
|
{
|
|
@@ -273,7 +275,7 @@ const J = E(
|
|
|
273
275
|
}
|
|
274
276
|
);
|
|
275
277
|
J.displayName = "NiceDockMenu";
|
|
276
|
-
const Q =
|
|
278
|
+
const Q = T(
|
|
277
279
|
({
|
|
278
280
|
items: b,
|
|
279
281
|
activeKey: m,
|
|
@@ -291,10 +293,10 @@ const Q = E(
|
|
|
291
293
|
accessMode: x,
|
|
292
294
|
...M
|
|
293
295
|
}, N) => {
|
|
294
|
-
const i =
|
|
296
|
+
const i = E(y), t = I(x, y), { t: s } = B(), [u, r] = W(!1), h = p ?? u, n = L(() => {
|
|
295
297
|
const a = !h;
|
|
296
298
|
r(a), l?.(a);
|
|
297
|
-
}, [h, l]), D =
|
|
299
|
+
}, [h, l]), D = L(
|
|
298
300
|
(a) => {
|
|
299
301
|
c?.(a), r(!1), l?.(!1);
|
|
300
302
|
},
|
|
@@ -363,7 +365,7 @@ const Q = E(
|
|
|
363
365
|
}
|
|
364
366
|
);
|
|
365
367
|
Q.displayName = "NiceHamburgerMenu";
|
|
366
|
-
const X =
|
|
368
|
+
const X = T(
|
|
367
369
|
({
|
|
368
370
|
canGoBack: b = !1,
|
|
369
371
|
canGoForward: m = !1,
|
|
@@ -389,15 +391,15 @@ const X = E(
|
|
|
389
391
|
disabled: h,
|
|
390
392
|
...n
|
|
391
393
|
}, D) => {
|
|
392
|
-
const a =
|
|
393
|
-
if (
|
|
394
|
+
const a = E(u), A = I(r, u), { t: w } = B();
|
|
395
|
+
if (z(() => {
|
|
394
396
|
if (!v || h)
|
|
395
397
|
return;
|
|
396
|
-
const
|
|
397
|
-
const
|
|
398
|
-
|
|
398
|
+
const P = (f) => {
|
|
399
|
+
const R = f.altKey, j = f.ctrlKey || f.metaKey;
|
|
400
|
+
R && f.key === "ArrowLeft" ? (f.preventDefault(), b && c?.()) : R && f.key === "ArrowRight" ? (f.preventDefault(), m && p?.()) : f.key === "F5" || j && f.key === "r" ? (f.preventDefault(), d ? _?.() : l?.()) : f.key === "Escape" && d && (f.preventDefault(), _?.());
|
|
399
401
|
};
|
|
400
|
-
return window.addEventListener("keydown",
|
|
402
|
+
return window.addEventListener("keydown", P), () => window.removeEventListener("keydown", P);
|
|
401
403
|
}, [
|
|
402
404
|
v,
|
|
403
405
|
h,
|
|
@@ -410,7 +412,7 @@ const X = E(
|
|
|
410
412
|
_
|
|
411
413
|
]), A === "hidden")
|
|
412
414
|
return null;
|
|
413
|
-
const S = A === "disabled" || h,
|
|
415
|
+
const S = A === "disabled" || h, K = x ?? /* @__PURE__ */ e(
|
|
414
416
|
"svg",
|
|
415
417
|
{
|
|
416
418
|
width: "16",
|
|
@@ -446,7 +448,7 @@ const X = E(
|
|
|
446
448
|
/* @__PURE__ */ e("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" })
|
|
447
449
|
]
|
|
448
450
|
}
|
|
449
|
-
),
|
|
451
|
+
), H = i ?? /* @__PURE__ */ o(
|
|
450
452
|
"svg",
|
|
451
453
|
{
|
|
452
454
|
width: "16",
|
|
@@ -481,7 +483,7 @@ const X = E(
|
|
|
481
483
|
disabled: S || !b,
|
|
482
484
|
"aria-label": w("nav.back", "Back"),
|
|
483
485
|
title: `${w("nav.back", "Back")} (Alt+←)`,
|
|
484
|
-
children:
|
|
486
|
+
children: K
|
|
485
487
|
}
|
|
486
488
|
),
|
|
487
489
|
/* @__PURE__ */ e(
|
|
@@ -505,7 +507,7 @@ const X = E(
|
|
|
505
507
|
disabled: S,
|
|
506
508
|
"aria-label": w("nav.stop", "Stop"),
|
|
507
509
|
title: `${w("nav.stop", "Stop")} (Esc)`,
|
|
508
|
-
children:
|
|
510
|
+
children: H
|
|
509
511
|
}
|
|
510
512
|
) : /* @__PURE__ */ e(
|
|
511
513
|
"button",
|
|
@@ -548,29 +550,33 @@ export {
|
|
|
548
550
|
J as NiceDockMenu,
|
|
549
551
|
fe as NiceDynamicSidebar,
|
|
550
552
|
Q as NiceHamburgerMenu,
|
|
551
|
-
ge as
|
|
552
|
-
$e as
|
|
553
|
-
xe as
|
|
554
|
-
Me as
|
|
555
|
-
we as
|
|
556
|
-
Ce as
|
|
557
|
-
De as
|
|
558
|
-
Se as
|
|
553
|
+
ge as NiceHybridShell,
|
|
554
|
+
$e as NiceKioskShell,
|
|
555
|
+
xe as NiceMdiWorkspace,
|
|
556
|
+
Me as NiceMegaMenu,
|
|
557
|
+
we as NiceMenu,
|
|
558
|
+
Ce as NiceMinimalShell,
|
|
559
|
+
De as NiceModeSelector,
|
|
560
|
+
Se as NiceModernShell,
|
|
561
|
+
Ee as NiceModuleLifecyclePanel,
|
|
562
|
+
Ie as NiceMultiView,
|
|
563
|
+
Te as NiceNavbar,
|
|
559
564
|
X as NiceNavigationControls,
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
565
|
+
Ae as NiceOnboardingWizard,
|
|
566
|
+
We as NiceOrganizationProfileForm,
|
|
567
|
+
Je as NicePagination,
|
|
568
|
+
Le as NicePwaShell,
|
|
563
569
|
q as NiceRibbonMenu,
|
|
564
|
-
|
|
570
|
+
Pe as NiceSetupWizard,
|
|
565
571
|
U as NiceSidebarMenu,
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
+
Re as NiceSidebarNav,
|
|
573
|
+
Be as NiceSplitter,
|
|
574
|
+
Ke as NiceTabPanel,
|
|
575
|
+
Ve as NiceTabs,
|
|
576
|
+
Oe as NiceTenantSwitcher,
|
|
577
|
+
Fe as NiceToolbar,
|
|
572
578
|
V as NiceTopMenu,
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
579
|
+
He as NiceUserMenu,
|
|
580
|
+
je as NiceWizard,
|
|
581
|
+
ze as SIDEBAR_MODE_META
|
|
576
582
|
};
|