@nice2dev/ui 1.1.5 → 1.1.7

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 (164) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/README.md +50 -29
  3. package/css/legacy-bg-text-aliases.css +65 -61
  4. package/dist/NiceCodeEditor-Bc81wiaN.js +1134 -0
  5. package/dist/NiceCodeEditor-D6f8KdHN.js +1134 -0
  6. package/dist/NiceCodeEditor-DE3saxyt.cjs +260 -0
  7. package/dist/NiceCodeEditor-DZM16My5.cjs +260 -0
  8. package/dist/NiceCodeEditor-HqmcJjmZ.js +1179 -0
  9. package/dist/NiceColorPicker-6EqXaDj0.cjs +1 -0
  10. package/dist/NiceColorPicker-BiEWqWnd.js +596 -0
  11. package/dist/NiceColorPicker-Cuc6YXqz.cjs +1 -0
  12. package/dist/NiceColorPicker-DMATcNWG.js +596 -0
  13. package/dist/NiceColorPicker-R3O1nemp.js +596 -0
  14. package/dist/NiceConfirmDialog-B0e10fRL.cjs +1 -0
  15. package/dist/NiceConfirmDialog-BBDgEMHv.js +81 -0
  16. package/dist/NiceConfirmDialog-C7kdr8jJ.js +81 -0
  17. package/dist/NiceConfirmDialog-DMHqPfFM.js +81 -0
  18. package/dist/NiceConfirmDialog-ZJpQLQQS.cjs +1 -0
  19. package/dist/NiceDataGrid-BzUw4dSu.cjs +10 -0
  20. package/dist/NiceDataGrid-CPKcVOVz.js +1743 -0
  21. package/dist/NiceDataGrid-DJr33WMy.cjs +10 -0
  22. package/dist/NiceDataGrid-D_4gZ1Hu.js +1736 -0
  23. package/dist/NiceDataGrid-DlUAaXhD.js +1736 -0
  24. package/dist/NiceDocumentViewer-8ghRVtfO.js +672 -0
  25. package/dist/NiceDocumentViewer-ChWtA_Ry.cjs +180 -0
  26. package/dist/NiceDocumentViewer-DwLUV7Tc.js +672 -0
  27. package/dist/NiceDocumentViewer-goMzF1w3.cjs +180 -0
  28. package/dist/NiceDocumentViewer-gt1mxzP8.js +672 -0
  29. package/dist/NiceForm-CHEAHxDw.js +4805 -0
  30. package/dist/NiceForm-CJUp1CL0.cjs +1 -0
  31. package/dist/NiceForm-Cp_RH3Yj.js +4805 -0
  32. package/dist/NiceForm-a6tGr6ss.js +4819 -0
  33. package/dist/NiceForm-jU89oe2S.cjs +1 -0
  34. package/dist/NiceGantt-BnQwyTfG.cjs +1 -0
  35. package/dist/NiceGantt-D8coFAvK.js +328 -0
  36. package/dist/NiceGantt-DOZfT6r5.js +328 -0
  37. package/dist/NiceGantt-DQzH1V-R.js +328 -0
  38. package/dist/NiceGantt-jQ8ZpXko.cjs +1 -0
  39. package/dist/NiceHtmlEditor-B1nlXJNW.cjs +10 -0
  40. package/dist/NiceHtmlEditor-Bv3VqJPG.js +862 -0
  41. package/dist/NiceHtmlEditor-CKsGj-Ei.cjs +10 -0
  42. package/dist/NiceHtmlEditor-CloMgyzg.js +841 -0
  43. package/dist/NiceHtmlEditor-DUAHmkWI.js +841 -0
  44. package/dist/NiceLoginForm-Ce_QLnLf.js +736 -0
  45. package/dist/NiceLoginForm-DLpNTQlR.cjs +1 -0
  46. package/dist/NiceLoginForm-Dg0286Cc.js +736 -0
  47. package/dist/NiceLoginForm-X05Vadeg.js +708 -0
  48. package/dist/NiceLoginForm-f_dBCnUi.cjs +1 -0
  49. package/dist/NiceMention-BByI4nFG.js +11120 -0
  50. package/dist/NiceMention-BjeLN4Jx.cjs +430 -0
  51. package/dist/NiceMention-C2TPiMph.cjs +430 -0
  52. package/dist/NiceMention-C67vT6m0.js +11145 -0
  53. package/dist/NiceMention-D1cdy63w.cjs +430 -0
  54. package/dist/NiceMention-OaCi-GNO.js +11094 -0
  55. package/dist/NiceMention-QIuggb9Y.js +11122 -0
  56. package/dist/NiceMention.css +1 -1
  57. package/dist/NiceModal-CHaan9al.js +95 -0
  58. package/dist/NiceModal-Czq6OEAT.js +95 -0
  59. package/dist/NiceModal-D-HFwawr.js +95 -0
  60. package/dist/NiceModal-DOy2XTzc.cjs +1 -0
  61. package/dist/NiceModal-DkawKzEE.cjs +1 -0
  62. package/dist/NiceModuleLifecyclePanel-1CsP8Zst.js +6997 -0
  63. package/dist/NiceModuleLifecyclePanel-Bkx4Yg-3.cjs +1 -0
  64. package/dist/NiceModuleLifecyclePanel-C5oYtczk.js +6999 -0
  65. package/dist/NiceModuleLifecyclePanel-DCcy2yYi.cjs +1 -0
  66. package/dist/NiceModuleLifecyclePanel-DqdgW-0s.js +7004 -0
  67. package/dist/NiceModuleLifecyclePanel.css +1 -1
  68. package/dist/NicePagination-7od5KUa3.cjs +1 -0
  69. package/dist/NicePagination-DMrkR8hH.cjs +1 -0
  70. package/dist/NicePagination-DQmZpsSQ.js +179 -0
  71. package/dist/NicePagination-DipQRjPq.js +172 -0
  72. package/dist/NicePagination-KhlVXYaT.js +172 -0
  73. package/dist/NicePivotGrid-B-KthuqL.cjs +152 -0
  74. package/dist/NicePivotGrid-CLCTHkKO.cjs +152 -0
  75. package/dist/NicePivotGrid-DV54FCsH.js +1174 -0
  76. package/dist/NicePivotGrid-DoWLUPUs.js +1167 -0
  77. package/dist/NicePivotGrid-etwpfccz.js +1167 -0
  78. package/dist/NiceSavedQueryPanel-BABkTNc5.js +5129 -0
  79. package/dist/NiceSavedQueryPanel-Cfeig83P.cjs +586 -0
  80. package/dist/NiceSavedQueryPanel-DTWRLseb.cjs +586 -0
  81. package/dist/NiceSavedQueryPanel-Dy154sxE.js +5129 -0
  82. package/dist/NiceSavedQueryPanel-v7AffOOe.js +5129 -0
  83. package/dist/NiceSavedQueryPanel.css +1 -1
  84. package/dist/NiceScheduler-BEgB7ZgF.cjs +5 -0
  85. package/dist/NiceScheduler-C9JprsEI.cjs +5 -0
  86. package/dist/NiceScheduler-DSP-PPh0.js +1645 -0
  87. package/dist/NiceScheduler-DuPnaA3t.js +1652 -0
  88. package/dist/NiceScheduler-Oa89YZx9.js +1645 -0
  89. package/dist/NiceSelect-A336yeLZ.js +433 -0
  90. package/dist/NiceSelect-B5hTbqi2.js +433 -0
  91. package/dist/NiceSelect-BYSgDYzq.cjs +1 -0
  92. package/dist/NiceSelect-Dudf2T5T.js +433 -0
  93. package/dist/NiceSelect-DwBAIrX7.cjs +1 -0
  94. package/dist/NiceWindow-B6zjBTl9.cjs +1 -0
  95. package/dist/NiceWindow-BKQEx7Vf.js +1623 -0
  96. package/dist/NiceWindow-BnTH7Gy0.js +1623 -0
  97. package/dist/NiceWindow-CZN9NVZw.cjs +1 -0
  98. package/dist/NiceWindow-lxtPR7yZ.js +1623 -0
  99. package/dist/NiceWindow.css +1 -1
  100. package/dist/charts-B8_V3_nq.cjs +882 -0
  101. package/dist/charts-BZgyyybE.js +31933 -0
  102. package/dist/charts-FuDk5-r6.js +31958 -0
  103. package/dist/charts-INj3yFo5.js +31946 -0
  104. package/dist/charts-NolNXKUL.cjs +882 -0
  105. package/dist/charts.cjs +1 -1
  106. package/dist/charts.css +1 -1
  107. package/dist/charts.mjs +1 -1
  108. package/dist/core-A_A6c7an.js +795 -0
  109. package/dist/core-B2iH2J_X.js +795 -0
  110. package/dist/core-BmspZEfD.js +795 -0
  111. package/dist/core-DAfLOet6.cjs +1 -0
  112. package/dist/core-ZG3bgnBR.cjs +1 -0
  113. package/dist/data-branching-B3TOqXAO.cjs +1 -0
  114. package/dist/data-branching-BUGiICDZ.js +6275 -0
  115. package/dist/data-branching-DMXmcocj.js +6275 -0
  116. package/dist/data-branching-YE8P9M5P.js +6275 -0
  117. package/dist/data-branching-t6uhAwIm.cjs +1 -0
  118. package/dist/data-branching.cjs +1 -1
  119. package/dist/data-branching.mjs +1 -1
  120. package/dist/data.cjs +1 -1
  121. package/dist/data.d.ts +7 -2
  122. package/dist/data.mjs +3 -3
  123. package/dist/devops-BhV3OmF7.js +8285 -0
  124. package/dist/devops-BqUxnbRi.cjs +17 -0
  125. package/dist/devops-Bx-Qwj9w.cjs +17 -0
  126. package/dist/devops-DYZatW45.js +8251 -0
  127. package/dist/devops-R98k2zpd.js +8251 -0
  128. package/dist/devops.cjs +1 -1
  129. package/dist/devops.d.ts +29 -16
  130. package/dist/devops.mjs +1 -1
  131. package/dist/editors.cjs +1 -1
  132. package/dist/editors.d.ts +59 -28
  133. package/dist/editors.mjs +7 -7
  134. package/dist/feedback.cjs +1 -1
  135. package/dist/feedback.mjs +3 -3
  136. package/dist/index.cjs +445 -445
  137. package/dist/index.css +1 -1
  138. package/dist/index.d.ts +214 -119
  139. package/dist/index.mjs +16635 -16351
  140. package/dist/lazy.cjs +1 -1
  141. package/dist/lazy.d.ts +31 -18
  142. package/dist/lazy.mjs +24 -24
  143. package/dist/navigation.cjs +1 -1
  144. package/dist/navigation.d.ts +17 -14
  145. package/dist/navigation.mjs +130 -130
  146. package/dist/no-code-BPaAS4wW.cjs +332 -0
  147. package/dist/no-code-CBwUVL1i.js +7447 -0
  148. package/dist/no-code-CjktkQ50.js +7447 -0
  149. package/dist/no-code-DW2NrRba.js +7447 -0
  150. package/dist/no-code-DmFxrZ5T.cjs +332 -0
  151. package/dist/no-code.cjs +1 -1
  152. package/dist/no-code.d.ts +2 -2
  153. package/dist/no-code.mjs +1 -1
  154. package/dist/overlays.cjs +1 -1
  155. package/dist/overlays.d.ts +4 -4
  156. package/dist/overlays.mjs +2 -2
  157. package/dist/pickerCommons-C4XWRUvH.cjs +1 -0
  158. package/dist/pickerCommons-C_BpYs_m.cjs +1 -0
  159. package/dist/pickerCommons-DAOXH_u5.js +1122 -0
  160. package/dist/pickerCommons-Dn4wnDco.js +1122 -0
  161. package/dist/pickerCommons-DskswPS5.js +1122 -0
  162. package/dist/pickerCommons.css +1 -1
  163. package/dist/style.css +7 -7
  164. package/package.json +3 -3
@@ -1,13 +1,13 @@
1
- import { D as ie, a as ce, b as se, c as le, d as re, e as oe, N as te, f as de, g as ue, h as be, i as me, j as he, k as _e, l as pe, m as Ne, n as ve, o as ke, p as ye, q as fe, r as ge, s as $e, t as xe, u as we, v as Me, w as Ce, x as De, y as Se, z as Ee, A as Ie, B as Ae, C as Te, E as Re, F as Be, G as Le, H as Pe, S as We } from "./NiceModuleLifecyclePanel-4hzDw6it.js";
1
+ import { D as ce, a as se, b as le, c as oe, d as re, e as te, N as de, f as ue, g as be, h as me, i as _e, j as he, k as pe, l as Ne, m as ve, n as ke, o as ye, p as fe, q as ge, r as $e, s as xe, t as we, u as Me, v as Ce, w as De, x as Se, y as Ee, z as Ie, A as Ae, B as Te, C as Be, E as Re, F as Le, G as Pe, H as We, S as Oe } from "./NiceModuleLifecyclePanel-DqdgW-0s.js";
2
2
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
- import { c as E, D as I, G as z, o as L } from "./charts-DO2z6Ziu.js";
4
- import { forwardRef as A, useState as R, useCallback as B, useEffect as U } from "react";
5
- import { d as Ke } from "./pickerCommons-COiSUiP2.js";
6
- import { N as He } from "./NicePagination-CPn-Q1h_.js";
3
+ import { c as E, D as I, G as O, o as L } from "./charts-FuDk5-r6.js";
4
+ import { forwardRef as A, useState as B, useCallback as R, useEffect as U } from "react";
5
+ import { d as Ke } from "./pickerCommons-Dn4wnDco.js";
6
+ import { N as He } from "./NicePagination-DQmZpsSQ.js";
7
7
  const q = A(
8
8
  ({
9
9
  items: b,
10
- activeKey: m,
10
+ activeKey: _,
11
11
  collapsed: c = !1,
12
12
  width: p = 240,
13
13
  collapsedWidth: l = 52,
@@ -15,30 +15,30 @@ const q = A(
15
15
  onCollapseChange: C,
16
16
  header: k,
17
17
  footer: d,
18
- size: h = "md",
18
+ size: m = "md",
19
19
  className: g,
20
20
  style: $,
21
21
  id: y,
22
22
  accessMode: x,
23
23
  ...w
24
24
  }, N) => {
25
- const i = E(y), o = I(x, y), [s, u] = R(/* @__PURE__ */ new Set()), r = B((n) => {
25
+ const i = E(y), r = I(x, y), [s, u] = B(/* @__PURE__ */ new Set()), o = R((n) => {
26
26
  u((D) => {
27
27
  const a = new Set(D);
28
28
  return a.has(n) ? a.delete(n) : a.add(n), a;
29
29
  });
30
30
  }, []);
31
- if (o === "hidden")
31
+ if (r === "hidden")
32
32
  return null;
33
- const _ = (n, D = 0) => {
34
- const a = n.children && n.children.length > 0, T = s.has(n.key), M = n.key === m;
33
+ const h = (n, D = 0) => {
34
+ const a = n.children && n.children.length > 0, T = s.has(n.key), M = n.key === _;
35
35
  return /* @__PURE__ */ t("li", { className: "nice-sidebar-menu__item", children: [
36
36
  /* @__PURE__ */ t(
37
37
  "button",
38
38
  {
39
39
  className: `nice-sidebar-menu__btn ${M ? "nice-sidebar-menu__btn--active" : ""} ${n.disabled ? "nice-sidebar-menu__btn--disabled" : ""}`,
40
40
  style: { paddingLeft: c ? void 0 : 12 + D * 16 },
41
- onClick: () => a ? r(n.key) : v?.(n),
41
+ onClick: () => a ? o(n.key) : v?.(n),
42
42
  disabled: n.disabled,
43
43
  title: c ? n.text : void 0,
44
44
  type: "button",
@@ -50,7 +50,7 @@ const q = A(
50
50
  ]
51
51
  }
52
52
  ),
53
- a && T && !c && /* @__PURE__ */ e("ul", { className: "nice-sidebar-menu__children", children: n.children.map((S) => _(S, D + 1)) })
53
+ a && T && !c && /* @__PURE__ */ e("ul", { className: "nice-sidebar-menu__children", children: n.children.map((S) => h(S, D + 1)) })
54
54
  ] }, n.key);
55
55
  };
56
56
  return /* @__PURE__ */ t(
@@ -58,12 +58,12 @@ const q = A(
58
58
  {
59
59
  ref: N,
60
60
  id: i,
61
- className: `nice-sidebar-menu nice-sidebar-menu--${h} ${c ? "nice-sidebar-menu--collapsed" : ""} ${g ?? ""}`,
61
+ className: `nice-sidebar-menu nice-sidebar-menu--${m} ${c ? "nice-sidebar-menu--collapsed" : ""} ${g ?? ""}`,
62
62
  style: { ...$, width: c ? l : p },
63
63
  ...w,
64
64
  children: [
65
65
  k && /* @__PURE__ */ e("div", { className: "nice-sidebar-menu__header", children: k }),
66
- /* @__PURE__ */ e("ul", { className: "nice-sidebar-menu__list", role: "list", children: b.map((n) => _(n)) }),
66
+ /* @__PURE__ */ e("ul", { className: "nice-sidebar-menu__list", role: "list", children: b.map((n) => h(n)) }),
67
67
  d && /* @__PURE__ */ e("div", { className: "nice-sidebar-menu__footer", children: d })
68
68
  ]
69
69
  }
@@ -74,7 +74,7 @@ q.displayName = "NiceSidebarMenu";
74
74
  const V = A(
75
75
  ({
76
76
  items: b,
77
- activeKey: m,
77
+ activeKey: _,
78
78
  onItemClick: c,
79
79
  brand: p,
80
80
  actions: l,
@@ -82,10 +82,10 @@ const V = A(
82
82
  className: C,
83
83
  style: k,
84
84
  id: d,
85
- accessMode: h,
85
+ accessMode: m,
86
86
  ...g
87
87
  }, $) => {
88
- const y = E(d), x = I(h, d), [w, N] = R(null);
88
+ const y = E(d), x = I(m, d), [w, N] = B(null);
89
89
  return x === "hidden" ? null : /* @__PURE__ */ t(
90
90
  "nav",
91
91
  {
@@ -97,35 +97,35 @@ const V = A(
97
97
  children: [
98
98
  p && /* @__PURE__ */ e("div", { className: "nice-top-menu__brand", children: p }),
99
99
  /* @__PURE__ */ e("ul", { className: "nice-top-menu__items", role: "menubar", children: b.map((i) => {
100
- const o = i.children && i.children.length > 0, s = w === i.key;
100
+ const r = i.children && i.children.length > 0, s = w === i.key;
101
101
  return /* @__PURE__ */ t(
102
102
  "li",
103
103
  {
104
104
  className: "nice-top-menu__item",
105
- onMouseEnter: () => o && N(i.key),
106
- onMouseLeave: () => o && N(null),
105
+ onMouseEnter: () => r && N(i.key),
106
+ onMouseLeave: () => r && N(null),
107
107
  children: [
108
108
  /* @__PURE__ */ t(
109
109
  "button",
110
110
  {
111
- className: `nice-top-menu__btn ${i.key === m ? "nice-top-menu__btn--active" : ""}`,
112
- onClick: () => o ? N(s ? null : i.key) : c?.(i),
111
+ className: `nice-top-menu__btn ${i.key === _ ? "nice-top-menu__btn--active" : ""}`,
112
+ onClick: () => r ? N(s ? null : i.key) : c?.(i),
113
113
  role: "menuitem",
114
- "aria-haspopup": o,
114
+ "aria-haspopup": r,
115
115
  "aria-expanded": s,
116
116
  disabled: i.disabled,
117
117
  type: "button",
118
118
  children: [
119
119
  i.icon && /* @__PURE__ */ e("span", { children: i.icon }),
120
120
  /* @__PURE__ */ e("span", { children: i.text }),
121
- o && /* @__PURE__ */ e("span", { className: "nice-top-menu__chevron", children: /* @__PURE__ */ e(L, { name: "chevron-down", size: 14 }) })
121
+ r && /* @__PURE__ */ e("span", { className: "nice-top-menu__chevron", children: /* @__PURE__ */ e(L, { name: "chevron-down", size: 14 }) })
122
122
  ]
123
123
  }
124
124
  ),
125
- o && s && /* @__PURE__ */ e("ul", { className: "nice-top-menu__dropdown", role: "menu", children: i.children.map((u) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ t(
125
+ r && s && /* @__PURE__ */ e("ul", { className: "nice-top-menu__dropdown", role: "menu", children: i.children.map((u) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ t(
126
126
  "button",
127
127
  {
128
- className: `nice-top-menu__dropdown-btn ${u.key === m ? "nice-top-menu__dropdown-btn--active" : ""}`,
128
+ className: `nice-top-menu__dropdown-btn ${u.key === _ ? "nice-top-menu__dropdown-btn--active" : ""}`,
129
129
  onClick: () => {
130
130
  c?.(u), N(null);
131
131
  },
@@ -151,10 +151,10 @@ const V = A(
151
151
  }
152
152
  );
153
153
  V.displayName = "NiceTopMenu";
154
- const J = A(
154
+ const J = [], Q = A(
155
155
  ({
156
- tabs: b,
157
- activeTab: m,
156
+ tabs: b = J,
157
+ activeTab: _,
158
158
  onTabChange: c,
159
159
  onItemClick: p,
160
160
  minimized: l = !1,
@@ -162,13 +162,13 @@ const J = A(
162
162
  size: C = "md",
163
163
  className: k,
164
164
  style: d,
165
- id: h,
165
+ id: m,
166
166
  accessMode: g,
167
167
  ...$
168
168
  }, y) => {
169
- const x = E(h), w = I(g, h), [N, i] = R(m ?? b[0]?.key), o = m ?? N, s = b.find((r) => r.key === o), u = B(
170
- (r) => {
171
- i(r), c?.(r);
169
+ const x = E(m), w = I(g, m), [N, i] = B(void 0), r = _ ?? N ?? b[0]?.key, s = b.find((o) => o.key === r), u = R(
170
+ (o) => {
171
+ i(o), c?.(o);
172
172
  },
173
173
  [c]
174
174
  );
@@ -182,17 +182,17 @@ const J = A(
182
182
  ...$,
183
183
  children: [
184
184
  /* @__PURE__ */ t("div", { className: "nice-ribbon-menu__tabs", role: "tablist", children: [
185
- b.map((r) => /* @__PURE__ */ e(
185
+ b.map((o) => /* @__PURE__ */ e(
186
186
  "button",
187
187
  {
188
- className: `nice-ribbon-menu__tab ${r.key === o ? "nice-ribbon-menu__tab--active" : ""}`,
189
- onClick: () => u(r.key),
188
+ className: `nice-ribbon-menu__tab ${o.key === r ? "nice-ribbon-menu__tab--active" : ""}`,
189
+ onClick: () => u(o.key),
190
190
  role: "tab",
191
- "aria-selected": r.key === o,
191
+ "aria-selected": o.key === r,
192
192
  type: "button",
193
- children: r.label
193
+ children: o.label
194
194
  },
195
- r.key
195
+ o.key
196
196
  )),
197
197
  /* @__PURE__ */ e(
198
198
  "button",
@@ -205,8 +205,8 @@ const J = A(
205
205
  }
206
206
  )
207
207
  ] }),
208
- !l && s && /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__panel", role: "tabpanel", children: s.groups.map((r, _) => /* @__PURE__ */ t("div", { className: "nice-ribbon-menu__group", children: [
209
- /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-items", children: r.items.map((n) => /* @__PURE__ */ t(
208
+ !l && s && /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__panel", role: "tabpanel", children: s.groups.map((o, h) => /* @__PURE__ */ t("div", { className: "nice-ribbon-menu__group", children: [
209
+ /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-items", children: o.items.map((n) => /* @__PURE__ */ t(
210
210
  "button",
211
211
  {
212
212
  className: "nice-ribbon-menu__item",
@@ -220,18 +220,18 @@ const J = A(
220
220
  },
221
221
  n.key
222
222
  )) }),
223
- /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-label", children: r.label })
224
- ] }, _)) })
223
+ /* @__PURE__ */ e("div", { className: "nice-ribbon-menu__group-label", children: o.label })
224
+ ] }, h)) })
225
225
  ]
226
226
  }
227
227
  );
228
228
  }
229
229
  );
230
- J.displayName = "NiceRibbonMenu";
231
- const Q = A(
230
+ Q.displayName = "NiceRibbonMenu";
231
+ const X = A(
232
232
  ({
233
233
  items: b,
234
- activeKey: m,
234
+ activeKey: _,
235
235
  onItemClick: c,
236
236
  position: p = "bottom",
237
237
  autoHide: l = !1,
@@ -239,17 +239,17 @@ const Q = A(
239
239
  size: C = "md",
240
240
  className: k,
241
241
  style: d,
242
- id: h,
242
+ id: m,
243
243
  accessMode: g,
244
244
  ...$
245
245
  }, y) => {
246
- const x = E(h), w = I(g, h), [N, i] = R(!1), o = !l || N;
246
+ const x = E(m), w = I(g, m), [N, i] = B(!1), r = !l || N;
247
247
  return w === "hidden" ? null : /* @__PURE__ */ e(
248
248
  "div",
249
249
  {
250
250
  ref: y,
251
251
  id: x,
252
- className: `nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${C} ${l && !o ? "nice-dock-menu--hidden" : ""} ${k ?? ""}`,
252
+ className: `nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${C} ${l && !r ? "nice-dock-menu--hidden" : ""} ${k ?? ""}`,
253
253
  style: d,
254
254
  onMouseEnter: () => i(!0),
255
255
  onMouseLeave: () => i(!1),
@@ -257,7 +257,7 @@ const Q = A(
257
257
  children: /* @__PURE__ */ e("div", { className: "nice-dock-menu__items", children: b.map((s) => /* @__PURE__ */ t(
258
258
  "button",
259
259
  {
260
- className: `nice-dock-menu__item ${s.key === m ? "nice-dock-menu__item--active" : ""}`,
260
+ className: `nice-dock-menu__item ${s.key === _ ? "nice-dock-menu__item--active" : ""}`,
261
261
  onClick: () => c?.(s),
262
262
  disabled: s.disabled,
263
263
  title: s.text,
@@ -274,11 +274,11 @@ const Q = A(
274
274
  );
275
275
  }
276
276
  );
277
- Q.displayName = "NiceDockMenu";
278
- const X = A(
277
+ X.displayName = "NiceDockMenu";
278
+ const Y = A(
279
279
  ({
280
280
  items: b,
281
- activeKey: m,
281
+ activeKey: _,
282
282
  onItemClick: c,
283
283
  open: p,
284
284
  onOpenChange: l,
@@ -286,28 +286,28 @@ const X = A(
286
286
  panelWidth: C = 280,
287
287
  header: k,
288
288
  footer: d,
289
- size: h = "md",
289
+ size: m = "md",
290
290
  className: g,
291
291
  style: $,
292
292
  id: y,
293
293
  accessMode: x,
294
294
  ...w
295
295
  }, N) => {
296
- const i = E(y), o = I(x, y), { t: s } = z(), [u, r] = R(!1), _ = p ?? u, n = B(() => {
297
- const a = !_;
298
- r(a), l?.(a);
299
- }, [_, l]), D = B(
296
+ const i = E(y), r = I(x, y), { t: s } = O(), [u, o] = B(!1), h = p ?? u, n = R(() => {
297
+ const a = !h;
298
+ o(a), l?.(a);
299
+ }, [h, l]), D = R(
300
300
  (a) => {
301
- c?.(a), r(!1), l?.(!1);
301
+ c?.(a), o(!1), l?.(!1);
302
302
  },
303
303
  [c, l]
304
304
  );
305
- return o === "hidden" ? null : /* @__PURE__ */ t(
305
+ return r === "hidden" ? null : /* @__PURE__ */ t(
306
306
  "div",
307
307
  {
308
308
  ref: N,
309
309
  id: i,
310
- className: `nice-hamburger-menu nice-hamburger-menu--${h} ${g ?? ""}`,
310
+ className: `nice-hamburger-menu nice-hamburger-menu--${m} ${g ?? ""}`,
311
311
  style: $,
312
312
  ...w,
313
313
  children: [
@@ -317,12 +317,12 @@ const X = A(
317
317
  className: "nice-hamburger-menu__trigger",
318
318
  onClick: n,
319
319
  "aria-label": s("nav.menu", "Menu"),
320
- "aria-expanded": _,
320
+ "aria-expanded": h,
321
321
  type: "button",
322
322
  children: /* @__PURE__ */ t(
323
323
  "span",
324
324
  {
325
- className: `nice-hamburger-menu__icon ${_ ? "nice-hamburger-menu__icon--open" : ""}`,
325
+ className: `nice-hamburger-menu__icon ${h ? "nice-hamburger-menu__icon--open" : ""}`,
326
326
  children: [
327
327
  /* @__PURE__ */ e("span", {}),
328
328
  /* @__PURE__ */ e("span", {}),
@@ -332,18 +332,18 @@ const X = A(
332
332
  )
333
333
  }
334
334
  ),
335
- _ && /* @__PURE__ */ e("div", { className: "nice-hamburger-menu__backdrop", onClick: n, "aria-hidden": !0 }),
335
+ h && /* @__PURE__ */ e("div", { className: "nice-hamburger-menu__backdrop", onClick: n, "aria-hidden": !0 }),
336
336
  /* @__PURE__ */ t(
337
337
  "div",
338
338
  {
339
- className: `nice-hamburger-menu__panel nice-hamburger-menu__panel--${v} ${_ ? "nice-hamburger-menu__panel--open" : ""}`,
339
+ className: `nice-hamburger-menu__panel nice-hamburger-menu__panel--${v} ${h ? "nice-hamburger-menu__panel--open" : ""}`,
340
340
  style: { width: C },
341
341
  children: [
342
342
  k && /* @__PURE__ */ e("div", { className: "nice-hamburger-menu__header", children: k }),
343
343
  /* @__PURE__ */ e("ul", { className: "nice-hamburger-menu__list", role: "menu", children: b.map((a) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ t(
344
344
  "button",
345
345
  {
346
- className: `nice-hamburger-menu__item ${a.key === m ? "nice-hamburger-menu__item--active" : ""}`,
346
+ className: `nice-hamburger-menu__item ${a.key === _ ? "nice-hamburger-menu__item--active" : ""}`,
347
347
  onClick: () => D(a),
348
348
  disabled: a.disabled,
349
349
  role: "menuitem",
@@ -364,11 +364,11 @@ const X = A(
364
364
  );
365
365
  }
366
366
  );
367
- X.displayName = "NiceHamburgerMenu";
368
- const Y = A(
367
+ Y.displayName = "NiceHamburgerMenu";
368
+ const Z = A(
369
369
  ({
370
370
  canGoBack: b = !1,
371
- canGoForward: m = !1,
371
+ canGoForward: _ = !1,
372
372
  onBack: c,
373
373
  onForward: p,
374
374
  onRefresh: l,
@@ -376,7 +376,7 @@ const Y = A(
376
376
  showRefresh: C = !0,
377
377
  showStop: k = !0,
378
378
  isLoading: d = !1,
379
- onStop: h,
379
+ onStop: m,
380
380
  size: g = "md",
381
381
  variant: $ = "default",
382
382
  tooltipPosition: y = "bottom",
@@ -384,35 +384,35 @@ const Y = A(
384
384
  forwardIcon: w,
385
385
  refreshIcon: N,
386
386
  stopIcon: i,
387
- className: o,
387
+ className: r,
388
388
  style: s,
389
389
  id: u,
390
- accessMode: r,
391
- disabled: _,
390
+ accessMode: o,
391
+ disabled: h,
392
392
  ...n
393
393
  }, D) => {
394
- const a = E(u), T = I(r, u), { t: M } = z();
394
+ const a = E(u), T = I(o, u), { t: M } = O();
395
395
  if (U(() => {
396
- if (!v || _)
396
+ if (!v || h)
397
397
  return;
398
398
  const P = (f) => {
399
399
  const W = f.altKey, j = f.ctrlKey || f.metaKey;
400
- W && f.key === "ArrowLeft" ? (f.preventDefault(), b && c?.()) : W && f.key === "ArrowRight" ? (f.preventDefault(), m && p?.()) : f.key === "F5" || j && f.key === "r" ? (f.preventDefault(), d ? h?.() : l?.()) : f.key === "Escape" && d && (f.preventDefault(), h?.());
400
+ W && f.key === "ArrowLeft" ? (f.preventDefault(), b && c?.()) : W && f.key === "ArrowRight" ? (f.preventDefault(), _ && p?.()) : f.key === "F5" || j && f.key === "r" ? (f.preventDefault(), d ? m?.() : l?.()) : f.key === "Escape" && d && (f.preventDefault(), m?.());
401
401
  };
402
402
  return window.addEventListener("keydown", P), () => window.removeEventListener("keydown", P);
403
403
  }, [
404
404
  v,
405
- _,
405
+ h,
406
406
  b,
407
- m,
407
+ _,
408
408
  d,
409
409
  c,
410
410
  p,
411
411
  l,
412
- h
412
+ m
413
413
  ]), T === "hidden")
414
414
  return null;
415
- const S = T === "disabled" || _, K = x ?? /* @__PURE__ */ e(
415
+ const S = T === "disabled" || h, z = x ?? /* @__PURE__ */ e(
416
416
  "svg",
417
417
  {
418
418
  width: "16",
@@ -423,7 +423,7 @@ const Y = A(
423
423
  strokeWidth: "2",
424
424
  children: /* @__PURE__ */ e("polyline", { points: "15 18 9 12 15 6" })
425
425
  }
426
- ), F = w ?? /* @__PURE__ */ e(
426
+ ), K = w ?? /* @__PURE__ */ e(
427
427
  "svg",
428
428
  {
429
429
  width: "16",
@@ -434,7 +434,7 @@ const Y = A(
434
434
  strokeWidth: "2",
435
435
  children: /* @__PURE__ */ e("polyline", { points: "9 18 15 12 9 6" })
436
436
  }
437
- ), H = N ?? /* @__PURE__ */ t(
437
+ ), F = N ?? /* @__PURE__ */ t(
438
438
  "svg",
439
439
  {
440
440
  width: "16",
@@ -448,7 +448,7 @@ const Y = A(
448
448
  /* @__PURE__ */ e("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" })
449
449
  ]
450
450
  }
451
- ), O = i ?? /* @__PURE__ */ t(
451
+ ), H = i ?? /* @__PURE__ */ t(
452
452
  "svg",
453
453
  {
454
454
  width: "16",
@@ -468,7 +468,7 @@ const Y = A(
468
468
  {
469
469
  ref: D,
470
470
  id: a,
471
- className: `nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${$}${S ? " nice-nav-controls--disabled" : ""}${o ? ` ${o}` : ""}`,
471
+ className: `nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${$}${S ? " nice-nav-controls--disabled" : ""}${r ? ` ${r}` : ""}`,
472
472
  style: s,
473
473
  role: "navigation",
474
474
  "aria-label": M("nav.controls", "Navigation controls"),
@@ -483,19 +483,19 @@ const Y = A(
483
483
  disabled: S || !b,
484
484
  "aria-label": M("nav.back", "Back"),
485
485
  title: `${M("nav.back", "Back")} (Alt+←)`,
486
- children: K
486
+ children: z
487
487
  }
488
488
  ),
489
489
  /* @__PURE__ */ e(
490
490
  "button",
491
491
  {
492
492
  type: "button",
493
- className: `nice-nav-controls__btn nice-nav-controls__btn--forward${m ? "" : " nice-nav-controls__btn--disabled"}`,
493
+ className: `nice-nav-controls__btn nice-nav-controls__btn--forward${_ ? "" : " nice-nav-controls__btn--disabled"}`,
494
494
  onClick: p,
495
- disabled: S || !m,
495
+ disabled: S || !_,
496
496
  "aria-label": M("nav.forward", "Forward"),
497
497
  title: `${M("nav.forward", "Forward")} (Alt+→)`,
498
- children: F
498
+ children: K
499
499
  }
500
500
  ),
501
501
  (C || k && d) && (d ? /* @__PURE__ */ e(
@@ -503,11 +503,11 @@ const Y = A(
503
503
  {
504
504
  type: "button",
505
505
  className: "nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",
506
- onClick: h,
506
+ onClick: m,
507
507
  disabled: S,
508
508
  "aria-label": M("nav.stop", "Stop"),
509
509
  title: `${M("nav.stop", "Stop")} (Esc)`,
510
- children: O
510
+ children: H
511
511
  }
512
512
  ) : /* @__PURE__ */ e(
513
513
  "button",
@@ -518,7 +518,7 @@ const Y = A(
518
518
  disabled: S,
519
519
  "aria-label": M("nav.refresh", "Refresh"),
520
520
  title: `${M("nav.refresh", "Refresh")} (F5)`,
521
- children: H
521
+ children: F
522
522
  }
523
523
  ))
524
524
  ]
@@ -526,50 +526,50 @@ const Y = A(
526
526
  );
527
527
  }
528
528
  );
529
- Y.displayName = "NiceNavigationControls";
529
+ Z.displayName = "NiceNavigationControls";
530
530
  export {
531
- ie as DEFAULT_SIDEBAR_PREFS,
532
- ce as DesktopContextMenu,
533
- se as DesktopGrid,
534
- le as DesktopStartMenu,
531
+ ce as DEFAULT_SIDEBAR_PREFS,
532
+ se as DesktopContextMenu,
533
+ le as DesktopGrid,
534
+ oe as DesktopStartMenu,
535
535
  re as DesktopSystemTray,
536
- oe as DesktopTaskbar,
537
- te as NiceAccordion,
538
- de as NiceAppLayout,
539
- ue as NiceAuthButtons,
540
- be as NiceBreadcrumb,
541
- me as NiceCard,
536
+ te as DesktopTaskbar,
537
+ de as NiceAccordion,
538
+ ue as NiceAppLayout,
539
+ be as NiceAuthButtons,
540
+ me as NiceBreadcrumb,
541
+ _e as NiceCard,
542
542
  he as NiceConsole,
543
- _e as NiceContextMenu,
544
- pe as NiceDashboardLayout,
545
- Ne as NiceDashboardShell,
546
- ve as NiceDesktop,
547
- ke as NiceDock,
548
- Q as NiceDockMenu,
549
- ye as NiceDynamicSidebar,
550
- X as NiceHamburgerMenu,
551
- fe as NiceHybridShell,
552
- ge as NiceKioskShell,
553
- $e as NiceMdiWorkspace,
554
- xe as NiceMenu,
555
- we as NiceMinimalShell,
556
- Me as NiceModeSelector,
557
- Ce as NiceModernShell,
558
- De as NiceModuleLifecyclePanel,
559
- Se as NiceNavMenu,
560
- Ee as NiceNavbar,
561
- Y as NiceNavigationControls,
562
- Ie as NiceOrganizationProfileForm,
543
+ pe as NiceContextMenu,
544
+ Ne as NiceDashboardLayout,
545
+ ve as NiceDashboardShell,
546
+ ke as NiceDesktop,
547
+ ye as NiceDock,
548
+ X as NiceDockMenu,
549
+ fe as NiceDynamicSidebar,
550
+ Y as NiceHamburgerMenu,
551
+ ge as NiceHybridShell,
552
+ $e as NiceKioskShell,
553
+ xe as NiceMdiWorkspace,
554
+ we as NiceMenu,
555
+ Me as NiceMinimalShell,
556
+ Ce as NiceModeSelector,
557
+ De as NiceModernShell,
558
+ Se as NiceModuleLifecyclePanel,
559
+ Ee as NiceNavMenu,
560
+ Ie as NiceNavbar,
561
+ Z as NiceNavigationControls,
562
+ Ae as NiceOrganizationProfileForm,
563
563
  He as NicePagination,
564
- Ae as NicePwaShell,
565
- J as NiceRibbonMenu,
566
- Te as NiceSetupWizard,
564
+ Te as NicePwaShell,
565
+ Q as NiceRibbonMenu,
566
+ Be as NiceSetupWizard,
567
567
  q as NiceSidebarMenu,
568
568
  Re as NiceSidebarNav,
569
- Be as NiceSplitter,
569
+ Le as NiceSplitter,
570
570
  Ke as NiceTabs,
571
571
  V as NiceTopMenu,
572
- Le as NiceUserMenu,
573
- Pe as NiceWizard,
574
- We as SIDEBAR_MODE_META
572
+ Pe as NiceUserMenu,
573
+ We as NiceWizard,
574
+ Oe as SIDEBAR_MODE_META
575
575
  };