@nice2dev/ui 1.0.8 → 1.0.10

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 (68) hide show
  1. package/dist/NiceErrorBoundary-B5nF-OVn.cjs +1 -0
  2. package/dist/NiceErrorBoundary-D75yr_WE.js +762 -0
  3. package/dist/NiceForm-CKoJA6NG.js +5131 -0
  4. package/dist/NiceForm-D7xnpnRJ.cjs +382 -0
  5. package/dist/NiceForm.css +1 -0
  6. package/dist/NiceModal-1QX7NhyH.js +95 -0
  7. package/dist/NiceModal-CAwsKVQ2.cjs +1 -0
  8. package/dist/NiceModuleLifecyclePanel-C9xMSjOF.cjs +1 -0
  9. package/dist/NiceModuleLifecyclePanel-CMrPbSw9.js +5249 -0
  10. package/dist/NiceModuleLifecyclePanel.css +1 -0
  11. package/dist/NicePagination-DbE-uOkl.js +171 -0
  12. package/dist/NicePagination-DlealakT.cjs +1 -0
  13. package/dist/NicePinCodeInput-B8cI8zu8.js +11830 -0
  14. package/dist/NicePinCodeInput-SGQaHvpE.cjs +419 -0
  15. package/dist/NicePinCodeInput.css +1 -1
  16. package/dist/NiceSavedQueryPanel-CZ5bYOe_.js +6449 -0
  17. package/dist/NiceSavedQueryPanel-Ce2s060j.cjs +596 -0
  18. package/dist/NiceTabs-DvOmxKyQ.cjs +1 -0
  19. package/dist/NiceTabs-DzLHzwuA.js +1636 -0
  20. package/dist/NiceWindow-CVgkxcCz.cjs +1 -0
  21. package/dist/NiceWindow-DeC83yfE.js +1409 -0
  22. package/dist/charts-BAS21jkC.js +4621 -0
  23. package/dist/charts-DShUbWrP.cjs +759 -0
  24. package/dist/charts.cjs +1 -1
  25. package/dist/charts.d.ts +42 -45
  26. package/dist/charts.mjs +1 -1
  27. package/dist/core-C2ZmWe_u.cjs +96 -0
  28. package/dist/core-Da43q-pO.js +22094 -0
  29. package/dist/data-branching-CJlrg8qf.cjs +1 -0
  30. package/dist/data-branching-DCUwI53s.js +6121 -0
  31. package/dist/data-branching.cjs +1 -1
  32. package/dist/data-branching.d.ts +1 -38
  33. package/dist/data-branching.mjs +1 -1
  34. package/dist/data.cjs +1 -1
  35. package/dist/data.d.ts +206 -192
  36. package/dist/data.mjs +1 -1
  37. package/dist/devops-CXynFG3X.cjs +17 -0
  38. package/dist/devops-D0TfzV5B.js +7660 -0
  39. package/dist/devops.cjs +1 -1
  40. package/dist/devops.d.ts +1 -38
  41. package/dist/devops.mjs +1 -1
  42. package/dist/editors.cjs +1 -1
  43. package/dist/editors.d.ts +311 -393
  44. package/dist/editors.mjs +61 -64
  45. package/dist/feedback.cjs +1 -1
  46. package/dist/feedback.d.ts +3 -44
  47. package/dist/feedback.mjs +11 -10
  48. package/dist/index-B8wxZ8Ps.cjs +5192 -0
  49. package/dist/index-pAuGTbuB.js +57319 -0
  50. package/dist/index.cjs +1 -1
  51. package/dist/index.css +1 -1
  52. package/dist/index.d.ts +2248 -11140
  53. package/dist/index.mjs +880 -1018
  54. package/dist/lazy.cjs +1 -1
  55. package/dist/lazy.d.ts +7 -39
  56. package/dist/lazy.mjs +24 -24
  57. package/dist/navigation.cjs +1 -1
  58. package/dist/navigation.d.ts +151 -216
  59. package/dist/navigation.mjs +46 -40
  60. package/dist/no-code-B5bzduNP.cjs +332 -0
  61. package/dist/no-code-D8RJ7lx0.js +7064 -0
  62. package/dist/no-code.cjs +1 -1
  63. package/dist/no-code.d.ts +1 -38
  64. package/dist/no-code.mjs +1 -1
  65. package/dist/overlays.cjs +1 -1
  66. package/dist/overlays.d.ts +13 -45
  67. package/dist/overlays.mjs +260 -250
  68. package/package.json +4 -2
@@ -1,7 +1,9 @@
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-CMrPbSw9.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";
3
+ import { forwardRef as E, useState as W, useCallback as L, useEffect as z } from "react";
4
+ import { b as I, h as T, W as B } from "./core-Da43q-pO.js";
5
+ import { f as Ve } from "./NiceTabs-DzLHzwuA.js";
6
+ import { N as Je } from "./NicePagination-DbE-uOkl.js";
5
7
  const U = E(
6
8
  ({
7
9
  items: b,
@@ -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 = I(y), t = T(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;
@@ -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 = I(d), x = T(_, d), [M, N] = W(null);
87
89
  return x === "hidden" ? null : /* @__PURE__ */ o(
88
90
  "nav",
89
91
  {
@@ -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 = I(_), M = T(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
  },
@@ -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 = I(_), M = T(g, _), [N, i] = W(!1), t = !l || N;
245
247
  return M === "hidden" ? null : /* @__PURE__ */ e(
246
248
  "div",
247
249
  {
@@ -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 = I(y), t = T(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
  },
@@ -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 = I(u), A = T(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
  };