@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.
Files changed (92) hide show
  1. package/dist/NiceErrorBoundary-B5nF-OVn.cjs +1 -0
  2. package/dist/NiceErrorBoundary-BZEHCXNM.cjs +1 -0
  3. package/dist/NiceErrorBoundary-D6jw6wwD.js +762 -0
  4. package/dist/NiceErrorBoundary-D75yr_WE.js +762 -0
  5. package/dist/NiceForm-BgR-m8T9.cjs +382 -0
  6. package/dist/NiceForm-CKoJA6NG.js +5131 -0
  7. package/dist/NiceForm-D7xnpnRJ.cjs +382 -0
  8. package/dist/NiceForm-DYKciCeR.js +5131 -0
  9. package/dist/NiceForm.css +1 -0
  10. package/dist/NiceModal-1QX7NhyH.js +95 -0
  11. package/dist/NiceModal-Br3J9jOV.cjs +1 -0
  12. package/dist/NiceModal-CAwsKVQ2.cjs +1 -0
  13. package/dist/NiceModal-DVAsBzHP.js +95 -0
  14. package/dist/NiceModuleLifecyclePanel-C9xMSjOF.cjs +1 -0
  15. package/dist/NiceModuleLifecyclePanel-CMrPbSw9.js +5249 -0
  16. package/dist/NiceModuleLifecyclePanel-D3azLDdj.js +5249 -0
  17. package/dist/NiceModuleLifecyclePanel-DEfAIhFf.cjs +1 -0
  18. package/dist/NiceModuleLifecyclePanel.css +1 -0
  19. package/dist/NicePagination-CbB5P1N_.js +171 -0
  20. package/dist/NicePagination-DbE-uOkl.js +171 -0
  21. package/dist/NicePagination-DlealakT.cjs +1 -0
  22. package/dist/NicePagination-UGjzvRUS.cjs +1 -0
  23. package/dist/NicePinCodeInput-B8cI8zu8.js +11830 -0
  24. package/dist/NicePinCodeInput-BmRO9HSQ.js +11830 -0
  25. package/dist/NicePinCodeInput-D91uvVsF.cjs +419 -0
  26. package/dist/NicePinCodeInput-SGQaHvpE.cjs +419 -0
  27. package/dist/NicePinCodeInput.css +1 -1
  28. package/dist/NiceSavedQueryPanel-7nZe46t8.cjs +596 -0
  29. package/dist/NiceSavedQueryPanel-BSGzs7Oc.js +6449 -0
  30. package/dist/NiceSavedQueryPanel-CZ5bYOe_.js +6449 -0
  31. package/dist/NiceSavedQueryPanel-Ce2s060j.cjs +596 -0
  32. package/dist/NiceTabs-BeaxZzAO.js +1636 -0
  33. package/dist/NiceTabs-DcbYFIWR.cjs +1 -0
  34. package/dist/NiceTabs-DvOmxKyQ.cjs +1 -0
  35. package/dist/NiceTabs-DzLHzwuA.js +1636 -0
  36. package/dist/NiceWindow-Bga9fOkg.js +1409 -0
  37. package/dist/NiceWindow-CVgkxcCz.cjs +1 -0
  38. package/dist/NiceWindow-CxWTj5xH.cjs +1 -0
  39. package/dist/NiceWindow-DeC83yfE.js +1409 -0
  40. package/dist/charts-BAS21jkC.js +4621 -0
  41. package/dist/charts-BcvKWYUl.cjs +759 -0
  42. package/dist/charts-DShUbWrP.cjs +759 -0
  43. package/dist/charts-DZvmvfhM.js +4621 -0
  44. package/dist/charts.cjs +1 -1
  45. package/dist/charts.d.ts +42 -45
  46. package/dist/charts.mjs +1 -1
  47. package/dist/core-B4b1BmHt.js +22177 -0
  48. package/dist/core-C2ZmWe_u.cjs +96 -0
  49. package/dist/core-CjmLbclt.cjs +96 -0
  50. package/dist/core-Da43q-pO.js +22094 -0
  51. package/dist/data-branching-CJlrg8qf.cjs +1 -0
  52. package/dist/data-branching-DCUwI53s.js +6121 -0
  53. package/dist/data-branching.cjs +1 -1
  54. package/dist/data-branching.d.ts +1 -38
  55. package/dist/data-branching.mjs +1 -1
  56. package/dist/data.cjs +1 -1
  57. package/dist/data.d.ts +206 -192
  58. package/dist/data.mjs +1 -1
  59. package/dist/devops-CXynFG3X.cjs +17 -0
  60. package/dist/devops-D0TfzV5B.js +7660 -0
  61. package/dist/devops.cjs +1 -1
  62. package/dist/devops.d.ts +1 -38
  63. package/dist/devops.mjs +1 -1
  64. package/dist/editors.cjs +1 -1
  65. package/dist/editors.d.ts +311 -393
  66. package/dist/editors.mjs +61 -64
  67. package/dist/feedback.cjs +1 -1
  68. package/dist/feedback.d.ts +3 -44
  69. package/dist/feedback.mjs +11 -10
  70. package/dist/index-B8wxZ8Ps.cjs +5192 -0
  71. package/dist/index-DlHlXz8e.js +57319 -0
  72. package/dist/index-Dx726U90.cjs +5192 -0
  73. package/dist/index-pAuGTbuB.js +57319 -0
  74. package/dist/index.cjs +1 -1
  75. package/dist/index.css +1 -1
  76. package/dist/index.d.ts +2249 -11141
  77. package/dist/index.mjs +880 -1018
  78. package/dist/lazy.cjs +1 -1
  79. package/dist/lazy.d.ts +7 -39
  80. package/dist/lazy.mjs +24 -24
  81. package/dist/navigation.cjs +1 -1
  82. package/dist/navigation.d.ts +151 -216
  83. package/dist/navigation.mjs +52 -46
  84. package/dist/no-code-B5bzduNP.cjs +332 -0
  85. package/dist/no-code-D8RJ7lx0.js +7064 -0
  86. package/dist/no-code.cjs +1 -1
  87. package/dist/no-code.d.ts +1 -38
  88. package/dist/no-code.mjs +1 -1
  89. package/dist/overlays.cjs +1 -1
  90. package/dist/overlays.d.ts +13 -45
  91. package/dist/overlays.mjs +243 -233
  92. package/package.json +5 -3
@@ -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 Le, G as Re, H as We, I as Be, J as Ke, K as Pe, L as Oe, M as Fe, S as je } from "./NiceModuleLifecyclePanel-I_TXRiiY.js";
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 { forwardRef as E, useState as L, useCallback as R, useEffect as H } from "react";
4
- import { b as I, f as T, g as K } from "./core-BpghV7Ls.js";
5
- const U = E(
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 = I(y), t = T(x, y), [s, u] = L(/* @__PURE__ */ new Set()), r = R((n) => {
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 = E(
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 = I(d), x = T(_, d), [M, N] = L(null);
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 = E(
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 = I(_), M = T(g, _), [N, i] = L(m ?? b[0]?.key), t = m ?? N, s = b.find((r) => r.key === t), u = R(
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 = E(
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 = I(_), M = T(g, _), [N, i] = L(!1), t = !l || N;
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 = E(
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 = I(y), t = T(x, y), { t: s } = K(), [u, r] = L(!1), h = p ?? u, n = R(() => {
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 = R(
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 = E(
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 = I(u), A = T(r, u), { t: w } = K();
393
- if (H(() => {
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 W = (f) => {
397
- const B = f.altKey, z = f.ctrlKey || f.metaKey;
398
- B && f.key === "ArrowLeft" ? (f.preventDefault(), b && c?.()) : B && f.key === "ArrowRight" ? (f.preventDefault(), m && p?.()) : f.key === "F5" || z && f.key === "r" ? (f.preventDefault(), d ? _?.() : l?.()) : f.key === "Escape" && d && (f.preventDefault(), _?.());
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", W), () => window.removeEventListener("keydown", W);
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, P = x ?? /* @__PURE__ */ e(
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
- ), j = i ?? /* @__PURE__ */ o(
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: P
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: j
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 NiceKioskShell,
552
- $e as NiceMdiWorkspace,
553
- xe as NiceMegaMenu,
554
- Me as NiceMenu,
555
- we as NiceModeSelector,
556
- Ce as NiceModuleLifecyclePanel,
557
- De as NiceMultiView,
558
- Se as NiceNavbar,
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
- Ee as NiceOnboardingWizard,
561
- Ie as NiceOrganizationProfileForm,
562
- Te as NicePagination,
565
+ Ae as NiceOnboardingWizard,
566
+ We as NiceOrganizationProfileForm,
567
+ Je as NicePagination,
568
+ Le as NicePwaShell,
563
569
  q as NiceRibbonMenu,
564
- Ae as NiceSetupWizard,
570
+ Pe as NiceSetupWizard,
565
571
  U as NiceSidebarMenu,
566
- Le as NiceSidebarNav,
567
- Re as NiceSplitter,
568
- We as NiceTabPanel,
569
- Be as NiceTabs,
570
- Ke as NiceTenantSwitcher,
571
- Pe as NiceToolbar,
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
- Oe as NiceUserMenu,
574
- Fe as NiceWizard,
575
- je as SIDEBAR_MODE_META
579
+ He as NiceUserMenu,
580
+ je as NiceWizard,
581
+ ze as SIDEBAR_MODE_META
576
582
  };