@nice2dev/ui 1.4.23 → 1.4.25

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 (45) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/README.md +2 -4
  3. package/dist/NiceModuleLifecyclePanel-bsHwj1pO.cjs +1 -0
  4. package/dist/{NicePivotGrid-B5Fgi5E_.cjs → NicePivotGrid-D53CQ2cY.cjs} +1 -1
  5. package/dist/{NiceStreamDashboard.doc-74KUXya1.cjs → NiceStreamDashboard.doc-CdkHFf4Y.cjs} +2 -2
  6. package/dist/charts/NiceAdvancedCharts.mjs +586 -773
  7. package/dist/charts/NiceChartRangeSelector.mjs +159 -0
  8. package/dist/charts/NiceHeatMap.mjs +140 -70
  9. package/dist/charts/NiceOrganizationChart.mjs +183 -90
  10. package/dist/charts/NiceSankey.mjs +166 -93
  11. package/dist/charts/NiceStockChart.mjs +258 -157
  12. package/dist/charts-CSgOgfES.cjs +867 -0
  13. package/dist/charts.cjs +1 -1
  14. package/dist/charts.d.ts +126 -102
  15. package/dist/charts.mjs +22 -24
  16. package/dist/core/lazy.mjs +50 -63
  17. package/dist/core-lazy-sO0xvg64.cjs +1 -0
  18. package/dist/data.cjs +1 -1
  19. package/dist/demo/docs/docPreviews.mjs +504 -546
  20. package/dist/demo/docs/docRegistry.mjs +9 -94
  21. package/dist/docs/NiceStreamDashboard.doc.json.mjs +1 -1
  22. package/dist/documentation/utils.mjs +1 -1
  23. package/dist/index.cjs +95 -121
  24. package/dist/index.d.ts +126 -217
  25. package/dist/index.mjs +829 -836
  26. package/dist/lazy.cjs +1 -1
  27. package/dist/lazy.d.ts +41 -23
  28. package/dist/lazy.mjs +1 -1
  29. package/dist/navigation/NiceDock.mjs +55 -48
  30. package/dist/navigation/NiceMenuTypes.mjs +197 -251
  31. package/dist/navigation.cjs +1 -1
  32. package/dist/navigation.d.ts +5 -16
  33. package/dist/navigation.mjs +53 -54
  34. package/dist/style.css +2 -2
  35. package/dist/tools/NiceShowcase.mjs +2 -4
  36. package/package.json +4 -4
  37. package/dist/NiceDiagram.doc-CASS0Tnj.cjs +0 -8
  38. package/dist/NiceModuleLifecyclePanel-jckyVqqt.cjs +0 -1
  39. package/dist/charts/NiceRangeSelector.mjs +0 -135
  40. package/dist/charts/NiceTreeMap.mjs +0 -100
  41. package/dist/charts/NiceVectorMap.mjs +0 -59
  42. package/dist/charts-C9B548D2.cjs +0 -924
  43. package/dist/core-lazy-B54FdghB.cjs +0 -1
  44. package/dist/docs/NiceDiagram.doc.json.mjs +0 -32
  45. package/dist/tools/NiceChat.mjs +0 -98
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as o, Fragment as m } from "react/jsx-runtime";
2
- import { useState as r, useRef as C } from "react";
2
+ import { useState as t, useRef as C } from "react";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
@@ -8,21 +8,21 @@ import { useState as r, useRef as C } from "react";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
- import { NiceIcon as s } from "@nice2dev/ui-core";
11
+ import { NiceIcon as d } from "@nice2dev/ui-core";
12
12
  import { NiceTextInput as g } from "../../editors/inputs/NiceTextInput.mjs";
13
13
  import { NiceTextArea as D } from "../../editors/inputs/NiceTextArea.mjs";
14
14
  import { NiceNumberInput as T } from "../../editors/inputs/NiceNumberInput.mjs";
15
15
  import { NiceDateTimePicker as R } from "../../editors/pickers/NiceDateTimePicker.mjs";
16
16
  import { NiceSelect as A } from "../../editors/inputs/NiceSelect.mjs";
17
- import { NiceCheckbox as V } from "../../editors/inputs/NiceCheckbox.mjs";
17
+ import { NiceCheckbox as B } from "../../editors/inputs/NiceCheckbox.mjs";
18
18
  import { NiceToggle as S } from "../../editors/inputs/NiceToggle.mjs";
19
- import { NiceRadioGroup as B } from "../../editors/inputs/NiceRadioGroup.mjs";
20
- import { NiceSlider as M } from "../../editors/inputs/NiceSlider.mjs";
21
- import { NiceColorPicker as E } from "../../editors/pickers/NiceColorPicker.mjs";
22
- import { NiceColorPalette as L } from "../../editors/pickers/NiceColorPalette.mjs";
23
- import { NiceGradientPicker as G } from "../../editors/pickers/NiceGradientPicker.mjs";
24
- import { NiceAutocomplete as I } from "../../editors/inputs/NiceAutocomplete.mjs";
25
- import { NiceLookup as z } from "../../editors/inputs/NiceLookup.mjs";
19
+ import { NiceRadioGroup as V } from "../../editors/inputs/NiceRadioGroup.mjs";
20
+ import { NiceSlider as E } from "../../editors/inputs/NiceSlider.mjs";
21
+ import { NiceColorPicker as M } from "../../editors/pickers/NiceColorPicker.mjs";
22
+ import { NiceColorPalette as G } from "../../editors/pickers/NiceColorPalette.mjs";
23
+ import { NiceGradientPicker as I } from "../../editors/pickers/NiceGradientPicker.mjs";
24
+ import { NiceAutocomplete as z } from "../../editors/inputs/NiceAutocomplete.mjs";
25
+ import { NiceLookup as L } from "../../editors/inputs/NiceLookup.mjs";
26
26
  import { NiceCalendar as F } from "../../editors/pickers/NiceCalendar.mjs";
27
27
  import { NiceDateRangeBox as O } from "../../editors/pickers/NiceDateRangeBox.mjs";
28
28
  import { NiceTagBox as W } from "../../editors/inputs/NiceTagBox.mjs";
@@ -36,14 +36,14 @@ import { NicePasswordInput as $ } from "../../editors/inputs/NicePasswordInput.m
36
36
  import { NiceInputOtp as q } from "../../editors/inputs/NiceInputOtp.mjs";
37
37
  import { NiceKnob as J } from "../../editors/inputs/NiceKnob.mjs";
38
38
  import { NiceMention as Y } from "../../editors/inputs/NiceMention.mjs";
39
- import { NiceTreeSelect as Z } from "../../editors/pickers/NiceTreeSelect.mjs";
40
- import { NicePickList as X } from "../../editors/pickers/NicePickList.mjs";
39
+ import { NiceTreeSelect as X } from "../../editors/pickers/NiceTreeSelect.mjs";
40
+ import { NicePickList as Z } from "../../editors/pickers/NicePickList.mjs";
41
41
  import { NiceButton as a } from "../../buttons/NiceButton.mjs";
42
42
  import { NiceButtonGroup as ee } from "../../buttons/NiceButtonGroup.mjs";
43
43
  import { NiceDropDownButton as ie } from "../../buttons/NiceDropDownButton.mjs";
44
- import { NiceSpeedDialAction as te } from "../../buttons/NiceSpeedDialAction.mjs";
44
+ import { NiceSpeedDialAction as re } from "../../buttons/NiceSpeedDialAction.mjs";
45
45
  import { NiceBadge as h } from "../../display/NiceBadge.mjs";
46
- import { NiceTag as re } from "../../display/NiceTag.mjs";
46
+ import { NiceTag as te } from "../../display/NiceTag.mjs";
47
47
  import { NiceAvatar as u } from "../../display/NiceAvatar.mjs";
48
48
  import { NiceAvatarGroup as ne } from "../../display/NiceAvatarGroup.mjs";
49
49
  import { NiceProgress as N } from "../../display/NiceProgress.mjs";
@@ -76,20 +76,20 @@ import { NiceTreeList as De } from "../../data/NiceTreeList.mjs";
76
76
  import { NiceTileView as Te } from "../../data/NiceTileView.mjs";
77
77
  import { NicePivotGrid as Re } from "../../data/NicePivotGrid.mjs";
78
78
  import { NicePivotGridFieldChooser as Ae } from "../../data/NicePivotGridFieldChooser.mjs";
79
- import { NiceKanbanBoard as Ve } from "../../data/NiceKanbanBoard.mjs";
80
- import { NiceTreeGrid as Be } from "../../data/NiceTreeGrid.mjs";
81
- import { NiceChart as Me } from "../../charts/NiceChart.mjs";
82
- import { NicePieChart as Ee } from "../../charts/NicePieChart.mjs";
83
- import { NicePolarChart as Le } from "../../charts/NicePolarChart.mjs";
79
+ import { NiceKanbanBoard as Be } from "../../data/NiceKanbanBoard.mjs";
80
+ import { NiceTreeGrid as Ve } from "../../data/NiceTreeGrid.mjs";
81
+ import { NiceChart as Ee } from "../../charts/NiceChart.mjs";
82
+ import { NicePieChart as Me } from "../../charts/NicePieChart.mjs";
83
+ import { NicePolarChart as Ge } from "../../charts/NicePolarChart.mjs";
84
84
  import { NiceCircularGauge as k } from "../../charts/NiceCircularGauge.mjs";
85
- import { NiceLinearGauge as Ge } from "../../charts/NiceLinearGauge.mjs";
86
- import { NiceBarGauge as Ie } from "../../charts/NiceBarGauge.mjs";
85
+ import { NiceLinearGauge as Ie } from "../../charts/NiceLinearGauge.mjs";
86
+ import { NiceBarGauge as ze } from "../../charts/NiceBarGauge.mjs";
87
87
  import { NiceSparkline as w } from "../../charts/NiceSparkline.mjs";
88
- import { NiceBullet as ze } from "../../charts/NiceBullet.mjs";
88
+ import { NiceBullet as Le } from "../../charts/NiceBullet.mjs";
89
89
  import { NiceFunnel as Fe } from "../../charts/NiceFunnel.mjs";
90
90
  import { NiceSankey as Oe } from "../../charts/NiceSankey.mjs";
91
- import { NiceRangeSelector as We } from "../../charts/NiceRangeSelector.mjs";
92
- import { NiceVectorMap as He } from "../../charts/NiceVectorMap.mjs";
91
+ import { NiceChartRangeSelector as We } from "../../charts/NiceChartRangeSelector.mjs";
92
+ import { NiceTreeMap as He } from "../../charts/NiceAdvancedCharts.mjs";
93
93
  import { NiceActionSheet as Ue } from "../../overlays/NiceActionSheet.mjs";
94
94
  import { NicePopover as Qe } from "../../overlays/NicePopover.mjs";
95
95
  import { NiceLoadPanel as Ke } from "../../overlays/NiceLoadPanel.mjs";
@@ -99,40 +99,38 @@ import { NiceResizable as $e } from "../../overlays/NiceResizable.mjs";
99
99
  import { NiceScrollView as qe } from "../../overlays/NiceScrollView.mjs";
100
100
  import { NiceScheduler as Je } from "../../planning/NiceScheduler.mjs";
101
101
  import { NiceGantt as Ye } from "../../planning/NiceGantt.mjs";
102
- import { NiceStepper as Ze } from "../../planning/NiceStepper.mjs";
103
- import { NiceChat as Xe } from "../../tools/NiceChat.mjs";
104
- import { NiceDraggable as ei } from "../../tools/NiceDraggable.mjs";
105
- import { NiceSortable as ii } from "../../tools/NiceSortable.mjs";
106
- import { NiceUpload as ti } from "../../editors/inputs/NiceUpload.mjs";
102
+ import { NiceStepper as Xe } from "../../planning/NiceStepper.mjs";
103
+ import { NiceDraggable as Ze } from "../../tools/NiceDraggable.mjs";
104
+ import { NiceSortable as ei } from "../../tools/NiceSortable.mjs";
105
+ import { NiceUpload as ii } from "../../editors/inputs/NiceUpload.mjs";
107
106
  import { NiceFileManager as ri } from "../../tools/NiceFileManager.mjs";
108
- import { NiceFilterBuilder as ni } from "../../tools/NiceFilterBuilder.mjs";
109
- import { NiceGallery as oi } from "../../display/NiceGallery.mjs";
110
- import { NiceMap as ai } from "../../tools/NiceMap.mjs";
111
- import { NiceSpeechToText as ci } from "../../tools/NiceSpeechToText.mjs";
112
- import { NiceValidationGroup as li } from "../../tools/NiceValidationGroup.mjs";
113
- import { NiceValidator as di } from "../../tools/NiceValidator.mjs";
114
- import { NiceValidationSummary as si } from "../../tools/NiceValidationSummary.mjs";
115
- import { NiceMarkdownEditor as ui } from "../../editors/rich/NiceMarkdownEditor.mjs";
116
- import { NiceDashboardLayout as mi } from "../../navigation/NiceDashboardLayout.mjs";
117
- import { NiceAppLayout as pi } from "../../navigation/NiceAppLayout.mjs";
118
- import { NiceOrganizationChart as hi } from "../../charts/NiceOrganizationChart.mjs";
119
- import { NiceHeatMap as vi } from "../../charts/NiceHeatMap.mjs";
120
- import { NiceTreeMap as gi } from "../../charts/NiceTreeMap.mjs";
121
- import { NiceStockChart as fi } from "../../charts/NiceStockChart.mjs";
122
- import { NiceBlockUI as Ni } from "../../overlays/NiceBlockUI.mjs";
123
- import { NiceSpreadsheet as yi } from "../../data/NiceSpreadsheet.mjs";
124
- import { NicePDFViewer as bi } from "../../display/NicePDFViewer.mjs";
125
- import { NiceImageEditor as Pi } from "../../editors/uploads/NiceImageEditor.mjs";
126
- import { NiceBarcode as ki } from "../../display/NiceBarcodeGenerator.mjs";
127
- import { NiceQRCode as wi } from "../../display/NiceQRCode.mjs";
128
- import { NiceDocumentEditor as Ci } from "../../editors/rich/NiceDocumentEditor.mjs";
129
- import { NiceDock as Si } from "../../navigation/NiceDock.mjs";
130
- import { NiceTerminalUI as xi } from "../../display/NiceTerminalUI.mjs";
131
- import { NiceCookieConsent as Di } from "../../feedback/NiceCookieConsent.mjs";
132
- import { NiceLoginForm as Ti } from "../../feedback/NiceLoginForm.mjs";
133
- import { NiceDesktop as Ri } from "../../navigation/NiceDesktop.mjs";
134
- import { NiceWindow as Ai } from "../../overlays/NiceWindow.mjs";
135
- import { NiceConsole as Vi } from "../../navigation/NiceConsole.mjs";
107
+ import { NiceFilterBuilder as ti } from "../../tools/NiceFilterBuilder.mjs";
108
+ import { NiceGallery as ni } from "../../display/NiceGallery.mjs";
109
+ import { NiceMap as oi } from "../../tools/NiceMap.mjs";
110
+ import { NiceSpeechToText as ai } from "../../tools/NiceSpeechToText.mjs";
111
+ import { NiceValidationGroup as ci } from "../../tools/NiceValidationGroup.mjs";
112
+ import { NiceValidator as li } from "../../tools/NiceValidator.mjs";
113
+ import { NiceValidationSummary as di } from "../../tools/NiceValidationSummary.mjs";
114
+ import { NiceMarkdownEditor as si } from "../../editors/rich/NiceMarkdownEditor.mjs";
115
+ import { NiceDashboardLayout as ui } from "../../navigation/NiceDashboardLayout.mjs";
116
+ import { NiceAppLayout as mi } from "../../navigation/NiceAppLayout.mjs";
117
+ import { NiceOrganizationChart as pi } from "../../charts/NiceOrganizationChart.mjs";
118
+ import { NiceHeatMap as hi } from "../../charts/NiceHeatMap.mjs";
119
+ import { NiceStockChart as vi } from "../../charts/NiceStockChart.mjs";
120
+ import { NiceBlockUI as gi } from "../../overlays/NiceBlockUI.mjs";
121
+ import { NiceSpreadsheet as fi } from "../../data/NiceSpreadsheet.mjs";
122
+ import { NicePDFViewer as Ni } from "../../display/NicePDFViewer.mjs";
123
+ import { NiceImageEditor as yi } from "../../editors/uploads/NiceImageEditor.mjs";
124
+ import { NiceBarcode as bi } from "../../display/NiceBarcodeGenerator.mjs";
125
+ import { NiceQRCode as Pi } from "../../display/NiceQRCode.mjs";
126
+ import { NiceDocumentEditor as ki } from "../../editors/rich/NiceDocumentEditor.mjs";
127
+ import { NiceDock as wi } from "../../navigation/NiceDock.mjs";
128
+ import { NiceTerminalUI as Ci } from "../../display/NiceTerminalUI.mjs";
129
+ import { NiceCookieConsent as Si } from "../../feedback/NiceCookieConsent.mjs";
130
+ import { NiceLoginForm as xi } from "../../feedback/NiceLoginForm.mjs";
131
+ import { NiceDesktop as Di } from "../../navigation/NiceDesktop.mjs";
132
+ import { NiceWindow as Ti } from "../../overlays/NiceWindow.mjs";
133
+ import { NiceConsole as Ri } from "../../navigation/NiceConsole.mjs";
136
134
  /* empty css */
137
135
  /* empty css */
138
136
  const f = [
@@ -145,7 +143,7 @@ const f = [
145
143
  { id: "2", key: "2", name: "Bob", email: "bob@example.com", role: "User" },
146
144
  { id: "3", key: "3", name: "Charlie", email: "charlie@example.com", role: "Editor" },
147
145
  { id: "4", key: "4", name: "Diana", email: "diana@example.com", role: "User" }
148
- ], Bi = [
146
+ ], Ai = [
149
147
  {
150
148
  key: "docs",
151
149
  text: "Documents",
@@ -155,64 +153,64 @@ const f = [
155
153
  ]
156
154
  },
157
155
  { key: "downloads", text: "Downloads" }
158
- ], l = (t = "auto") => ({
159
- maxHeight: t,
156
+ ], s = (r = "auto") => ({
157
+ maxHeight: r,
160
158
  overflow: "auto"
161
159
  });
162
- function Mi() {
163
- const [t, i] = r("");
160
+ function Bi() {
161
+ const [r, i] = t("");
164
162
  return /* @__PURE__ */ e(
165
163
  g,
166
164
  {
167
165
  label: "Username",
168
166
  placeholder: "Enter username",
169
- value: t,
167
+ value: r,
170
168
  onChange: i,
171
169
  clearable: !0
172
170
  }
173
171
  );
174
172
  }
173
+ function Vi() {
174
+ const [r, i] = t("");
175
+ return /* @__PURE__ */ e(D, { label: "Description", placeholder: "Type something…", value: r, onChange: i });
176
+ }
175
177
  function Ei() {
176
- const [t, i] = r("");
177
- return /* @__PURE__ */ e(D, { label: "Description", placeholder: "Type something…", value: t, onChange: i });
178
+ const [r, i] = t(42);
179
+ return /* @__PURE__ */ e(T, { label: "Quantity", value: r, onChange: i, min: 0, max: 100 });
178
180
  }
179
- function Li() {
180
- const [t, i] = r(42);
181
- return /* @__PURE__ */ e(T, { label: "Quantity", value: t, onChange: i, min: 0, max: 100 });
181
+ function Mi() {
182
+ const [r, i] = t("");
183
+ return /* @__PURE__ */ e(R, { label: "Start Date", value: r, onChange: i });
182
184
  }
183
185
  function Gi() {
184
- const [t, i] = r("");
185
- return /* @__PURE__ */ e(R, { label: "Start Date", value: t, onChange: i });
186
- }
187
- function Ii() {
188
- const [t, i] = r("");
186
+ const [r, i] = t("");
189
187
  return /* @__PURE__ */ e(
190
188
  A,
191
189
  {
192
190
  label: "Framework",
193
191
  options: f,
194
- value: t,
192
+ value: r,
195
193
  onChange: i,
196
194
  searchable: !0,
197
195
  clearable: !0
198
196
  }
199
197
  );
200
198
  }
201
- function zi() {
202
- const [t, i] = r(!1);
203
- return /* @__PURE__ */ e(V, { label: "Accept terms and conditions", checked: t, onChange: i });
199
+ function Ii() {
200
+ const [r, i] = t(!1);
201
+ return /* @__PURE__ */ e(B, { label: "Accept terms and conditions", checked: r, onChange: i });
204
202
  }
205
- function Fi() {
206
- const [t, i] = r(!1);
207
- return /* @__PURE__ */ e(S, { label: "Dark Mode", checked: t, onChange: i });
203
+ function zi() {
204
+ const [r, i] = t(!1);
205
+ return /* @__PURE__ */ e(S, { label: "Dark Mode", checked: r, onChange: i });
208
206
  }
209
- function Oi() {
210
- const [t, i] = r("medium");
207
+ function Li() {
208
+ const [r, i] = t("medium");
211
209
  return /* @__PURE__ */ e(
212
- B,
210
+ V,
213
211
  {
214
212
  label: "Priority",
215
- value: t,
213
+ value: r,
216
214
  onChange: i,
217
215
  options: [
218
216
  { value: "low", label: "Low" },
@@ -222,36 +220,36 @@ function Oi() {
222
220
  }
223
221
  );
224
222
  }
225
- function Wi() {
226
- const [t, i] = r(50);
227
- return /* @__PURE__ */ e(M, { label: "Volume", value: t, onChange: i, min: 0, max: 100 });
223
+ function Fi() {
224
+ const [r, i] = t(50);
225
+ return /* @__PURE__ */ e(E, { label: "Volume", value: r, onChange: i, min: 0, max: 100 });
228
226
  }
229
- function Hi() {
230
- const [t, i] = r(20), [n, c] = r(80);
227
+ function Oi() {
228
+ const [r, i] = t(20), [n, c] = t(80);
231
229
  return /* @__PURE__ */ e(
232
230
  H,
233
231
  {
234
232
  label: "Price Range",
235
- startValue: t,
233
+ startValue: r,
236
234
  endValue: n,
237
- onChange: (d, p) => {
238
- i(d), c(p);
235
+ onChange: (l, p) => {
236
+ i(l), c(p);
239
237
  },
240
238
  min: 0,
241
239
  max: 100
242
240
  }
243
241
  );
244
242
  }
245
- function Ui() {
246
- const [t, i] = r("#3b82f6");
247
- return /* @__PURE__ */ e(E, { label: "Brand Color", value: t, onChange: i });
243
+ function Wi() {
244
+ const [r, i] = t("#3b82f6");
245
+ return /* @__PURE__ */ e(M, { label: "Brand Color", value: r, onChange: i });
248
246
  }
249
- function Qi() {
250
- const [t, i] = r(["#3b82f6", "#ef4444", "#10b981"]);
251
- return /* @__PURE__ */ e(L, { value: t, onChange: i });
247
+ function Hi() {
248
+ const [r, i] = t(["#3b82f6", "#ef4444", "#10b981"]);
249
+ return /* @__PURE__ */ e(G, { value: r, onChange: i });
252
250
  }
253
- function Ki() {
254
- const [t, i] = r({
251
+ function Ui() {
252
+ const [r, i] = t({
255
253
  type: "linear",
256
254
  angle: 90,
257
255
  stops: [
@@ -259,19 +257,19 @@ function Ki() {
259
257
  { color: "#8b5cf6", position: 100 }
260
258
  ]
261
259
  });
262
- return /* @__PURE__ */ e(G, { value: t, onChange: (n) => i(n) });
260
+ return /* @__PURE__ */ e(I, { value: r, onChange: (n) => i(n) });
263
261
  }
264
- function ji() {
265
- const [t, i] = r(["react"]);
266
- return /* @__PURE__ */ e(W, { label: "Skills", options: f, value: t, onChange: i, searchable: !0 });
262
+ function Qi() {
263
+ const [r, i] = t(["react"]);
264
+ return /* @__PURE__ */ e(W, { label: "Skills", options: f, value: r, onChange: i, searchable: !0 });
267
265
  }
268
- function _i() {
269
- const [t, i] = r("");
266
+ function Ki() {
267
+ const [r, i] = t("");
270
268
  return /* @__PURE__ */ e(
271
- I,
269
+ z,
272
270
  {
273
271
  label: "City",
274
- value: t,
272
+ value: r,
275
273
  onChange: i,
276
274
  options: [
277
275
  { value: "warsaw", label: "Warsaw" },
@@ -282,28 +280,28 @@ function _i() {
282
280
  }
283
281
  );
284
282
  }
285
- function $i() {
286
- const [t, i] = r("");
287
- return /* @__PURE__ */ e(z, { label: "Customer", value: t, onChange: i, options: f });
283
+ function ji() {
284
+ const [r, i] = t("");
285
+ return /* @__PURE__ */ e(L, { label: "Customer", value: r, onChange: i, options: f });
288
286
  }
289
- function qi() {
290
- const [t, i] = r("");
291
- return /* @__PURE__ */ e(F, { value: t, onChange: i });
287
+ function _i() {
288
+ const [r, i] = t("");
289
+ return /* @__PURE__ */ e(F, { value: r, onChange: i });
292
290
  }
293
- function Ji() {
294
- const [t, i] = r(""), [n, c] = r("");
291
+ function $i() {
292
+ const [r, i] = t(""), [n, c] = t("");
295
293
  return /* @__PURE__ */ e(
296
294
  O,
297
295
  {
298
296
  label: "Period",
299
- startDate: t,
297
+ startDate: r,
300
298
  endDate: n,
301
299
  onStartChange: i,
302
300
  onEndChange: c
303
301
  }
304
302
  );
305
303
  }
306
- function Yi() {
304
+ function qi() {
307
305
  return /* @__PURE__ */ e(U, { label: "Custom Dropdown", displayValue: "Select items…", children: /* @__PURE__ */ e("div", { style: { padding: 12 }, children: /* @__PURE__ */ e(
308
306
  x,
309
307
  {
@@ -316,14 +314,14 @@ function Yi() {
316
314
  }
317
315
  ) }) });
318
316
  }
319
- function Zi() {
320
- const [t, i] = r({ name: "", email: "" });
317
+ function Ji() {
318
+ const [r, i] = t({ name: "", email: "" });
321
319
  return /* @__PURE__ */ e(
322
320
  Q,
323
321
  {
324
322
  columns: 2,
325
- data: t,
326
- onFieldChange: (n, c) => i((d) => ({ ...d, [n]: c })),
323
+ data: r,
324
+ onFieldChange: (n, c) => i((l) => ({ ...l, [n]: c })),
327
325
  items: [
328
326
  {
329
327
  field: "name",
@@ -346,49 +344,49 @@ function Zi() {
346
344
  }
347
345
  );
348
346
  }
349
- function Xi() {
350
- const [t, i] = r("<p>Hello <strong>world</strong>!</p>");
351
- return /* @__PURE__ */ e(K, { value: t, onChange: i, height: 200 });
347
+ function Yi() {
348
+ const [r, i] = t("<p>Hello <strong>world</strong>!</p>");
349
+ return /* @__PURE__ */ e(K, { value: r, onChange: i, height: 200 });
352
350
  }
353
- function et() {
354
- const [t, i] = r(`# Hello
351
+ function Xi() {
352
+ const [r, i] = t(`# Hello
355
353
 
356
354
  This is **Markdown**.`);
357
- return /* @__PURE__ */ e(ui, { value: t, onChange: i, minHeight: 200 });
355
+ return /* @__PURE__ */ e(si, { value: r, onChange: i, minHeight: 200 });
358
356
  }
359
- function it() {
360
- const [t, i] = r([
357
+ function Zi() {
358
+ const [r, i] = t([
361
359
  { id: "1", type: "heading", content: "Welcome", level: 2 },
362
360
  { id: "2", type: "paragraph", content: "This is a block-based editor." }
363
361
  ]);
364
- return /* @__PURE__ */ e(Ci, { blocks: t, onChange: (n) => i(n) });
362
+ return /* @__PURE__ */ e(ki, { blocks: r, onChange: (n) => i(n) });
365
363
  }
366
- function tt() {
367
- const [t, i] = r("");
368
- return /* @__PURE__ */ e(j, { label: "Phone", mask: "(000) 000-0000", value: t, onChange: i });
364
+ function er() {
365
+ const [r, i] = t("");
366
+ return /* @__PURE__ */ e(j, { label: "Phone", mask: "(000) 000-0000", value: r, onChange: i });
369
367
  }
370
- function rt() {
371
- const [t, i] = r(3);
372
- return /* @__PURE__ */ e(_, { value: t, onChange: i, count: 5 });
368
+ function ir() {
369
+ const [r, i] = t(3);
370
+ return /* @__PURE__ */ e(_, { value: r, onChange: i, count: 5 });
373
371
  }
374
- function nt() {
375
- const [t, i] = r("");
376
- return /* @__PURE__ */ e($, { label: "Password", value: t, onChange: i, showStrength: !0 });
372
+ function rr() {
373
+ const [r, i] = t("");
374
+ return /* @__PURE__ */ e($, { label: "Password", value: r, onChange: i, showStrength: !0 });
377
375
  }
378
- function ot() {
379
- const [t, i] = r("");
380
- return /* @__PURE__ */ e(q, { value: t, onChange: i, length: 6 });
376
+ function tr() {
377
+ const [r, i] = t("");
378
+ return /* @__PURE__ */ e(q, { value: r, onChange: i, length: 6 });
381
379
  }
382
- function at() {
383
- const [t, i] = r(50);
384
- return /* @__PURE__ */ e(J, { value: t, onChange: i, min: 0, max: 100, size: "lg" });
380
+ function nr() {
381
+ const [r, i] = t(50);
382
+ return /* @__PURE__ */ e(J, { value: r, onChange: i, min: 0, max: 100, size: "lg" });
385
383
  }
386
- function ct() {
387
- const [t, i] = r("");
384
+ function or() {
385
+ const [r, i] = t("");
388
386
  return /* @__PURE__ */ e(
389
387
  Y,
390
388
  {
391
- value: t,
389
+ value: r,
392
390
  onChange: i,
393
391
  suggestions: [
394
392
  { key: "alice", label: "Alice" },
@@ -398,13 +396,13 @@ function ct() {
398
396
  }
399
397
  );
400
398
  }
401
- function lt() {
402
- const [t, i] = r("");
399
+ function ar() {
400
+ const [r, i] = t("");
403
401
  return /* @__PURE__ */ e(
404
- Z,
402
+ X,
405
403
  {
406
404
  label: "Department",
407
- value: t,
405
+ value: r,
408
406
  onChange: (n) => i(n),
409
407
  nodes: [
410
408
  {
@@ -420,22 +418,22 @@ function lt() {
420
418
  }
421
419
  );
422
420
  }
423
- function dt() {
424
- const [t, i] = r(f), [n, c] = r([]);
421
+ function cr() {
422
+ const [r, i] = t(f), [n, c] = t([]);
425
423
  return /* @__PURE__ */ e(
426
- X,
424
+ Z,
427
425
  {
428
- source: t,
426
+ source: r,
429
427
  target: n,
430
- onChange: (d, p) => {
431
- i(d), c(p);
428
+ onChange: (l, p) => {
429
+ i(l), c(p);
432
430
  }
433
431
  }
434
432
  );
435
433
  }
436
- function st() {
437
- return /* @__PURE__ */ e("div", { style: l(300), children: /* @__PURE__ */ e(
438
- Pi,
434
+ function lr() {
435
+ return /* @__PURE__ */ e("div", { style: s(300), children: /* @__PURE__ */ e(
436
+ yi,
439
437
  {
440
438
  src: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='150'%3E%3Crect width='200' height='150' fill='%233b82f6'/%3E%3Ctext x='100' y='80' text-anchor='middle' fill='white' font-size='16'%3ESample%3C/text%3E%3C/svg%3E",
441
439
  onSave: () => {
@@ -445,7 +443,7 @@ function st() {
445
443
  }
446
444
  ) });
447
445
  }
448
- function ut() {
446
+ function dr() {
449
447
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, flexWrap: "wrap" }, children: [
450
448
  /* @__PURE__ */ e(a, { variant: "primary", children: "Primary" }),
451
449
  /* @__PURE__ */ e(a, { variant: "success", children: "Success" }),
@@ -456,14 +454,14 @@ function ut() {
456
454
  /* @__PURE__ */ e(a, { loading: !0, children: "Loading" })
457
455
  ] });
458
456
  }
459
- function mt() {
457
+ function sr() {
460
458
  return /* @__PURE__ */ o(ee, { children: [
461
459
  /* @__PURE__ */ e(a, { children: "Left" }),
462
460
  /* @__PURE__ */ e(a, { children: "Center" }),
463
461
  /* @__PURE__ */ e(a, { children: "Right" })
464
462
  ] });
465
463
  }
466
- function pt() {
464
+ function ur() {
467
465
  return /* @__PURE__ */ e(
468
466
  ie,
469
467
  {
@@ -476,21 +474,21 @@ function pt() {
476
474
  }
477
475
  );
478
476
  }
479
- function ht() {
477
+ function mr() {
480
478
  return /* @__PURE__ */ e("div", { style: { position: "relative", height: 180 }, children: /* @__PURE__ */ e(
481
- te,
479
+ re,
482
480
  {
483
- icon: /* @__PURE__ */ e(s, { name: "plus" }),
481
+ icon: /* @__PURE__ */ e(d, { name: "plus" }),
484
482
  items: [
485
- { key: "add", icon: /* @__PURE__ */ e(s, { name: "plus" }), label: "Add", onClick: () => {
483
+ { key: "add", icon: /* @__PURE__ */ e(d, { name: "plus" }), label: "Add", onClick: () => {
486
484
  } },
487
- { key: "edit", icon: /* @__PURE__ */ e(s, { name: "edit" }), label: "Edit", onClick: () => {
485
+ { key: "edit", icon: /* @__PURE__ */ e(d, { name: "edit" }), label: "Edit", onClick: () => {
488
486
  } }
489
487
  ]
490
488
  }
491
489
  ) });
492
490
  }
493
- function vt() {
491
+ function pr() {
494
492
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, flexWrap: "wrap" }, children: [
495
493
  /* @__PURE__ */ e(h, { variant: "primary", children: "Primary" }),
496
494
  /* @__PURE__ */ e(h, { variant: "success", children: "Active" }),
@@ -499,18 +497,18 @@ function vt() {
499
497
  /* @__PURE__ */ e(h, { variant: "info", children: "Info" })
500
498
  ] });
501
499
  }
502
- function gt() {
503
- const [t, i] = r(["React", "TypeScript", "Vite"]);
504
- return /* @__PURE__ */ e("div", { style: { display: "flex", gap: 6, flexWrap: "wrap" }, children: t.map((n) => /* @__PURE__ */ e(re, { removable: !0, onRemove: () => i((c) => c.filter((d) => d !== n)), children: n }, n)) });
500
+ function hr() {
501
+ const [r, i] = t(["React", "TypeScript", "Vite"]);
502
+ return /* @__PURE__ */ e("div", { style: { display: "flex", gap: 6, flexWrap: "wrap" }, children: r.map((n) => /* @__PURE__ */ e(te, { removable: !0, onRemove: () => i((c) => c.filter((l) => l !== n)), children: n }, n)) });
505
503
  }
506
- function ft() {
504
+ function vr() {
507
505
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
508
506
  /* @__PURE__ */ e(u, { name: "Alice Johnson", size: "sm" }),
509
507
  /* @__PURE__ */ e(u, { name: "Bob Smith", size: "md" }),
510
508
  /* @__PURE__ */ e(u, { name: "Charlie Brown", size: "lg" })
511
509
  ] });
512
510
  }
513
- function Nt() {
511
+ function gr() {
514
512
  return /* @__PURE__ */ o(ne, { max: 3, children: [
515
513
  /* @__PURE__ */ e(u, { name: "Alice" }),
516
514
  /* @__PURE__ */ e(u, { name: "Bob" }),
@@ -519,41 +517,41 @@ function Nt() {
519
517
  /* @__PURE__ */ e(u, { name: "Eve" })
520
518
  ] });
521
519
  }
522
- function yt() {
520
+ function fr() {
523
521
  return /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
524
522
  /* @__PURE__ */ e(N, { value: 65, variant: "primary" }),
525
523
  /* @__PURE__ */ e(N, { value: 85, variant: "success", striped: !0 }),
526
524
  /* @__PURE__ */ e(N, { value: 40, variant: "warning" })
527
525
  ] });
528
526
  }
529
- function bt() {
527
+ function Nr() {
530
528
  return /* @__PURE__ */ o("div", { children: [
531
529
  /* @__PURE__ */ e("p", { style: { margin: "4px 0" }, children: "Above the divider" }),
532
530
  /* @__PURE__ */ e(oe, { text: "or" }),
533
531
  /* @__PURE__ */ e("p", { style: { margin: "4px 0" }, children: "Below the divider" })
534
532
  ] });
535
533
  }
536
- function Pt() {
534
+ function yr() {
537
535
  return /* @__PURE__ */ e(ae, { content: "This is a helpful tooltip", children: /* @__PURE__ */ e(a, { variant: "outline", children: "Hover me" }) });
538
536
  }
539
- function kt() {
537
+ function br() {
540
538
  return /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
541
539
  /* @__PURE__ */ e(y, { width: 200, height: 20 }),
542
540
  /* @__PURE__ */ e(y, { width: 300, height: 16 }),
543
541
  /* @__PURE__ */ e(y, { width: 250, height: 16 })
544
542
  ] });
545
543
  }
546
- function wt() {
544
+ function Pr() {
547
545
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 16, alignItems: "center" }, children: [
548
546
  /* @__PURE__ */ e(b, { size: "sm" }),
549
547
  /* @__PURE__ */ e(b, { size: "md" }),
550
548
  /* @__PURE__ */ e(b, { size: "lg" })
551
549
  ] });
552
550
  }
553
- function Ct() {
551
+ function kr() {
554
552
  return /* @__PURE__ */ e(ce, { title: "No Data", description: "There is nothing to display yet." });
555
553
  }
556
- function St() {
554
+ function wr() {
557
555
  return /* @__PURE__ */ e(
558
556
  le,
559
557
  {
@@ -565,7 +563,7 @@ function St() {
565
563
  }
566
564
  );
567
565
  }
568
- function xt() {
566
+ function Cr() {
569
567
  return /* @__PURE__ */ e(
570
568
  de,
571
569
  {
@@ -585,12 +583,12 @@ function xt() {
585
583
  }
586
584
  );
587
585
  }
588
- function Dt() {
589
- const t = Array.from({ length: 200 }, (i, n) => n);
586
+ function Sr() {
587
+ const r = Array.from({ length: 200 }, (i, n) => n);
590
588
  return /* @__PURE__ */ e(
591
589
  se,
592
590
  {
593
- items: t,
591
+ items: r,
594
592
  itemHeight: 36,
595
593
  height: 200,
596
594
  renderItem: (i) => /* @__PURE__ */ o("div", { style: { padding: "6px 12px", borderBottom: "1px solid var(--border-color)" }, children: [
@@ -600,18 +598,18 @@ function Dt() {
600
598
  }
601
599
  );
602
600
  }
603
- function Tt() {
604
- return /* @__PURE__ */ e("div", { style: l(200), children: /* @__PURE__ */ e(bi, { src: "" }) });
601
+ function xr() {
602
+ return /* @__PURE__ */ e("div", { style: s(200), children: /* @__PURE__ */ e(Ni, { src: "" }) });
605
603
  }
606
- function Rt() {
607
- return /* @__PURE__ */ e(ki, { value: "123456789012", format: "CODE128" });
604
+ function Dr() {
605
+ return /* @__PURE__ */ e(bi, { value: "123456789012", format: "CODE128" });
608
606
  }
609
- function At() {
610
- return /* @__PURE__ */ e(wi, { value: "https://nice2dev.com", qrSize: 150 });
607
+ function Tr() {
608
+ return /* @__PURE__ */ e(Pi, { value: "https://nice2dev.com", qrSize: 150 });
611
609
  }
612
- function Vt() {
610
+ function Rr() {
613
611
  return /* @__PURE__ */ e(
614
- xi,
612
+ Ci,
615
613
  {
616
614
  lines: [
617
615
  { text: "$ npm install @nice2dev/ui", type: "input" },
@@ -623,7 +621,7 @@ function Vt() {
623
621
  }
624
622
  );
625
623
  }
626
- function Bt() {
624
+ function Ar() {
627
625
  return /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
628
626
  /* @__PURE__ */ e(v, { variant: "info", title: "Information", children: "This is an informational alert." }),
629
627
  /* @__PURE__ */ e(v, { variant: "success", title: "Success", children: "Operation completed." }),
@@ -631,43 +629,43 @@ function Bt() {
631
629
  /* @__PURE__ */ e(v, { variant: "error", title: "Error", closable: !0, children: "Something went wrong." })
632
630
  ] });
633
631
  }
634
- function Mt() {
635
- const [t, i] = r(!1);
632
+ function Br() {
633
+ const [r, i] = t(!1);
636
634
  return /* @__PURE__ */ o(m, { children: [
637
635
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Open Modal" }),
638
- /* @__PURE__ */ o(ue, { open: t, onClose: () => i(!1), title: "Sample Modal", children: [
636
+ /* @__PURE__ */ o(ue, { open: r, onClose: () => i(!1), title: "Sample Modal", children: [
639
637
  /* @__PURE__ */ e("p", { children: "This is modal content. Click outside or press Escape to close." }),
640
638
  /* @__PURE__ */ e(a, { variant: "primary", onClick: () => i(!1), children: "OK" })
641
639
  ] })
642
640
  ] });
643
641
  }
644
- function Et() {
645
- const [t, i] = r(!1);
642
+ function Vr() {
643
+ const [r, i] = t(!1);
646
644
  return /* @__PURE__ */ o(m, { children: [
647
645
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Open Drawer" }),
648
- /* @__PURE__ */ e(me, { open: t, onClose: () => i(!1), title: "Settings", children: /* @__PURE__ */ e("div", { style: { padding: 16 }, children: /* @__PURE__ */ e(S, { label: "Notifications", checked: !0, onChange: () => {
646
+ /* @__PURE__ */ e(me, { open: r, onClose: () => i(!1), title: "Settings", children: /* @__PURE__ */ e("div", { style: { padding: 16 }, children: /* @__PURE__ */ e(S, { label: "Notifications", checked: !0, onChange: () => {
649
647
  } }) }) })
650
648
  ] });
651
649
  }
652
- function Lt() {
653
- const t = pe();
650
+ function Er() {
651
+ const r = pe();
654
652
  return /* @__PURE__ */ o("div", { style: { position: "relative" }, children: [
655
653
  /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, flexWrap: "wrap" }, children: [
656
- /* @__PURE__ */ e(a, { variant: "success", onClick: () => t.success("Saved successfully!"), children: "Success Toast" }),
657
- /* @__PURE__ */ e(a, { variant: "error", onClick: () => t.error("Something went wrong!"), children: "Error Toast" }),
658
- /* @__PURE__ */ e(a, { variant: "info", onClick: () => t.info("Processing…"), children: "Info Toast" })
654
+ /* @__PURE__ */ e(a, { variant: "success", onClick: () => r.success("Saved successfully!"), children: "Success Toast" }),
655
+ /* @__PURE__ */ e(a, { variant: "error", onClick: () => r.error("Something went wrong!"), children: "Error Toast" }),
656
+ /* @__PURE__ */ e(a, { variant: "info", onClick: () => r.info("Processing…"), children: "Info Toast" })
659
657
  ] }),
660
- /* @__PURE__ */ e(he, { toasts: t.toasts, onDismiss: t.dismiss })
658
+ /* @__PURE__ */ e(he, { toasts: r.toasts, onDismiss: r.dismiss })
661
659
  ] });
662
660
  }
663
- function Gt() {
664
- const [t, i] = r(!1);
661
+ function Mr() {
662
+ const [r, i] = t(!1);
665
663
  return /* @__PURE__ */ o(m, { children: [
666
664
  /* @__PURE__ */ e(a, { variant: "error", onClick: () => i(!0), children: "Delete Item" }),
667
665
  /* @__PURE__ */ e(
668
666
  ve,
669
667
  {
670
- visible: t,
668
+ visible: r,
671
669
  message: "This action cannot be undone. Are you sure?",
672
670
  header: "Delete Item?",
673
671
  onAccept: () => i(!1),
@@ -676,9 +674,9 @@ function Gt() {
676
674
  )
677
675
  ] });
678
676
  }
679
- function It() {
680
- return /* @__PURE__ */ e("div", { style: l(200), children: /* @__PURE__ */ e(
681
- Di,
677
+ function Gr() {
678
+ return /* @__PURE__ */ e("div", { style: s(200), children: /* @__PURE__ */ e(
679
+ Si,
682
680
  {
683
681
  categories: ["necessary", "analytics", "marketing"],
684
682
  onAcceptAll: () => {
@@ -686,11 +684,11 @@ function It() {
686
684
  }
687
685
  ) });
688
686
  }
689
- function zt() {
690
- return /* @__PURE__ */ e("div", { style: { maxWidth: 350 }, children: /* @__PURE__ */ e(Ti, { onSubmit: () => {
687
+ function Ir() {
688
+ return /* @__PURE__ */ e("div", { style: { maxWidth: 350 }, children: /* @__PURE__ */ e(xi, { onSubmit: () => {
691
689
  } }) });
692
690
  }
693
- function Ft() {
691
+ function zr() {
694
692
  return /* @__PURE__ */ e(
695
693
  ge,
696
694
  {
@@ -714,7 +712,7 @@ function Ft() {
714
712
  }
715
713
  );
716
714
  }
717
- function Ot() {
715
+ function Lr() {
718
716
  return /* @__PURE__ */ e(
719
717
  fe,
720
718
  {
@@ -738,7 +736,7 @@ function Ot() {
738
736
  }
739
737
  );
740
738
  }
741
- function Wt() {
739
+ function Fr() {
742
740
  return /* @__PURE__ */ e(
743
741
  Ne,
744
742
  {
@@ -751,11 +749,11 @@ function Wt() {
751
749
  }
752
750
  );
753
751
  }
754
- function Ht() {
755
- const [t, i] = r(1);
756
- return /* @__PURE__ */ e(ye, { page: t, totalPages: 20, onChange: i });
752
+ function Or() {
753
+ const [r, i] = t(1);
754
+ return /* @__PURE__ */ e(ye, { page: r, totalPages: 20, onChange: i });
757
755
  }
758
- function Ut() {
756
+ function Wr() {
759
757
  return /* @__PURE__ */ e("div", { style: { maxWidth: 300 }, children: /* @__PURE__ */ e(
760
758
  be,
761
759
  {
@@ -765,7 +763,7 @@ function Ut() {
765
763
  }
766
764
  ) });
767
765
  }
768
- function Qt() {
766
+ function Hr() {
769
767
  return /* @__PURE__ */ e(
770
768
  Pe,
771
769
  {
@@ -792,13 +790,13 @@ function Qt() {
792
790
  }
793
791
  );
794
792
  }
795
- function Kt() {
796
- const t = C(null);
793
+ function Ur() {
794
+ const r = C(null);
797
795
  return /* @__PURE__ */ o("div", { children: [
798
796
  /* @__PURE__ */ e(
799
797
  "div",
800
798
  {
801
- ref: t,
799
+ ref: r,
802
800
  style: {
803
801
  padding: "2rem",
804
802
  background: "var(--bg-secondary)",
@@ -812,7 +810,7 @@ function Kt() {
812
810
  /* @__PURE__ */ e(
813
811
  ke,
814
812
  {
815
- target: t,
813
+ target: r,
816
814
  items: [
817
815
  { key: "cut", text: "Cut" },
818
816
  { key: "copy", text: "Copy" },
@@ -822,7 +820,7 @@ function Kt() {
822
820
  )
823
821
  ] });
824
822
  }
825
- function jt() {
823
+ function Qr() {
826
824
  return /* @__PURE__ */ e(
827
825
  we,
828
826
  {
@@ -834,7 +832,7 @@ function jt() {
834
832
  }
835
833
  );
836
834
  }
837
- function _t() {
835
+ function Kr() {
838
836
  return /* @__PURE__ */ e(
839
837
  "div",
840
838
  {
@@ -845,7 +843,7 @@ function _t() {
845
843
  overflow: "hidden"
846
844
  },
847
845
  children: /* @__PURE__ */ e(
848
- pi,
846
+ mi,
849
847
  {
850
848
  header: /* @__PURE__ */ e("div", { style: { padding: "8px 16px", fontWeight: 700 }, children: "My Application" }),
851
849
  sidebar: /* @__PURE__ */ e("div", { style: { padding: 12, fontSize: "0.85rem" }, children: "Sidebar nav" }),
@@ -856,7 +854,7 @@ function _t() {
856
854
  }
857
855
  );
858
856
  }
859
- function $t() {
857
+ function jr() {
860
858
  return /* @__PURE__ */ e(
861
859
  "div",
862
860
  {
@@ -867,7 +865,7 @@ function $t() {
867
865
  overflow: "hidden"
868
866
  },
869
867
  children: /* @__PURE__ */ e(
870
- mi,
868
+ ui,
871
869
  {
872
870
  panels: [
873
871
  {
@@ -894,7 +892,7 @@ function $t() {
894
892
  }
895
893
  );
896
894
  }
897
- function qt() {
895
+ function _r() {
898
896
  return /* @__PURE__ */ e(
899
897
  "div",
900
898
  {
@@ -905,19 +903,19 @@ function qt() {
905
903
  overflow: "hidden"
906
904
  },
907
905
  children: /* @__PURE__ */ e(
908
- Ri,
906
+ Di,
909
907
  {
910
908
  icons: [
911
- { key: "docs", label: "Documents", icon: /* @__PURE__ */ e(s, { name: "folder" }) },
912
- { key: "settings", label: "Settings", icon: /* @__PURE__ */ e(s, { name: "settings" }) }
909
+ { key: "docs", label: "Documents", icon: /* @__PURE__ */ e(d, { name: "folder" }) },
910
+ { key: "settings", label: "Settings", icon: /* @__PURE__ */ e(d, { name: "settings" }) }
913
911
  ],
914
- startMenuItems: [{ key: "apps", label: "Applications", icon: /* @__PURE__ */ e(s, { name: "grid" }) }]
912
+ startMenuItems: [{ key: "apps", label: "Applications", icon: /* @__PURE__ */ e(d, { name: "grid" }) }]
915
913
  }
916
914
  )
917
915
  }
918
916
  );
919
917
  }
920
- function Jt() {
918
+ function $r() {
921
919
  return /* @__PURE__ */ e(
922
920
  "div",
923
921
  {
@@ -928,7 +926,7 @@ function Jt() {
928
926
  overflow: "hidden"
929
927
  },
930
928
  children: /* @__PURE__ */ e(
931
- Vi,
929
+ Ri,
932
930
  {
933
931
  tabs: [
934
932
  {
@@ -945,21 +943,21 @@ function Jt() {
945
943
  }
946
944
  );
947
945
  }
948
- function Yt() {
946
+ function qr() {
949
947
  return /* @__PURE__ */ e("div", { style: { position: "relative", height: 100 }, children: /* @__PURE__ */ e(
950
- Si,
948
+ wi,
951
949
  {
952
950
  items: [
953
- { key: "home", icon: /* @__PURE__ */ e(s, { name: "home" }), label: "Home" },
954
- { key: "files", icon: /* @__PURE__ */ e(s, { name: "folder" }), label: "Files" },
955
- { key: "settings", icon: /* @__PURE__ */ e(s, { name: "settings" }), label: "Settings" }
951
+ { key: "home", icon: /* @__PURE__ */ e(d, { name: "home" }), label: "Home" },
952
+ { key: "files", icon: /* @__PURE__ */ e(d, { name: "folder" }), label: "Files" },
953
+ { key: "settings", icon: /* @__PURE__ */ e(d, { name: "settings" }), label: "Settings" }
956
954
  ],
957
955
  onItemClick: () => {
958
956
  }
959
957
  }
960
958
  ) });
961
959
  }
962
- function Zt() {
960
+ function Jr() {
963
961
  return /* @__PURE__ */ e(
964
962
  Se,
965
963
  {
@@ -975,7 +973,7 @@ function Zt() {
975
973
  }
976
974
  );
977
975
  }
978
- function Xt() {
976
+ function Yr() {
979
977
  return /* @__PURE__ */ e(
980
978
  Ce,
981
979
  {
@@ -989,7 +987,7 @@ function Xt() {
989
987
  }
990
988
  );
991
989
  }
992
- function er() {
990
+ function Xr() {
993
991
  return /* @__PURE__ */ e(
994
992
  x,
995
993
  {
@@ -1003,10 +1001,10 @@ function er() {
1003
1001
  }
1004
1002
  );
1005
1003
  }
1006
- function ir() {
1007
- return /* @__PURE__ */ e(xe, { nodes: Bi, showCheckboxes: !0 });
1004
+ function Zr() {
1005
+ return /* @__PURE__ */ e(xe, { nodes: Ai, showCheckboxes: !0 });
1008
1006
  }
1009
- function tr() {
1007
+ function et() {
1010
1008
  return /* @__PURE__ */ e(
1011
1009
  De,
1012
1010
  {
@@ -1029,9 +1027,9 @@ function tr() {
1029
1027
  }
1030
1028
  );
1031
1029
  }
1032
- function rr() {
1030
+ function it() {
1033
1031
  return /* @__PURE__ */ e(
1034
- Be,
1032
+ Ve,
1035
1033
  {
1036
1034
  data: [
1037
1035
  {
@@ -1052,20 +1050,20 @@ function rr() {
1052
1050
  }
1053
1051
  );
1054
1052
  }
1055
- function nr() {
1053
+ function rt() {
1056
1054
  return /* @__PURE__ */ e(
1057
1055
  Te,
1058
1056
  {
1059
1057
  items: P,
1060
- renderTile: (t) => /* @__PURE__ */ o("div", { style: { padding: 12, textAlign: "center" }, children: [
1061
- /* @__PURE__ */ e("strong", { children: t.name }),
1058
+ renderTile: (r) => /* @__PURE__ */ o("div", { style: { padding: 12, textAlign: "center" }, children: [
1059
+ /* @__PURE__ */ e("strong", { children: r.name }),
1062
1060
  /* @__PURE__ */ e("br", {}),
1063
- /* @__PURE__ */ e("span", { style: { fontSize: "0.75rem" }, children: t.role })
1061
+ /* @__PURE__ */ e("span", { style: { fontSize: "0.75rem" }, children: r.role })
1064
1062
  ] })
1065
1063
  }
1066
1064
  );
1067
1065
  }
1068
- function or() {
1066
+ function tt() {
1069
1067
  return /* @__PURE__ */ e(
1070
1068
  Re,
1071
1069
  {
@@ -1083,17 +1081,17 @@ function or() {
1083
1081
  }
1084
1082
  );
1085
1083
  }
1086
- function ar() {
1087
- const [t, i] = r([
1084
+ function nt() {
1085
+ const [r, i] = t([
1088
1086
  { field: "region", caption: "Region", area: "row" },
1089
1087
  { field: "product", caption: "Product", area: "column" },
1090
1088
  { field: "amount", caption: "Amount", area: "data", summaryType: "sum" }
1091
1089
  ]);
1092
- return /* @__PURE__ */ e(Ae, { fields: t, onChange: (n) => i(n) });
1090
+ return /* @__PURE__ */ e(Ae, { fields: r, onChange: (n) => i(n) });
1093
1091
  }
1094
- function cr() {
1095
- return /* @__PURE__ */ e("div", { style: l(300), children: /* @__PURE__ */ e(
1096
- Ve,
1092
+ function ot() {
1093
+ return /* @__PURE__ */ e("div", { style: s(300), children: /* @__PURE__ */ e(
1094
+ Be,
1097
1095
  {
1098
1096
  columns: [
1099
1097
  { key: "todo", title: "To Do" },
@@ -1110,9 +1108,9 @@ function cr() {
1110
1108
  }
1111
1109
  ) });
1112
1110
  }
1113
- function lr() {
1114
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1115
- yi,
1111
+ function at() {
1112
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1113
+ fi,
1116
1114
  {
1117
1115
  sheets: [
1118
1116
  {
@@ -1132,9 +1130,9 @@ function lr() {
1132
1130
  }
1133
1131
  ) });
1134
1132
  }
1135
- function dr() {
1133
+ function ct() {
1136
1134
  return /* @__PURE__ */ e(
1137
- Me,
1135
+ Ee,
1138
1136
  {
1139
1137
  series: [
1140
1138
  { name: "Revenue", data: [10, 25, 30, 45, 52], color: "#3b82f6" },
@@ -1148,9 +1146,9 @@ function dr() {
1148
1146
  }
1149
1147
  );
1150
1148
  }
1151
- function sr() {
1149
+ function lt() {
1152
1150
  return /* @__PURE__ */ e(
1153
- Ee,
1151
+ Me,
1154
1152
  {
1155
1153
  data: [
1156
1154
  { label: "React", value: 60, color: "#61dafb" },
@@ -1163,9 +1161,9 @@ function sr() {
1163
1161
  }
1164
1162
  );
1165
1163
  }
1166
- function ur() {
1164
+ function dt() {
1167
1165
  return /* @__PURE__ */ e(
1168
- Le,
1166
+ Ge,
1169
1167
  {
1170
1168
  series: [{ name: "Stats", data: [80, 65, 90, 75, 85], color: "#3b82f6" }],
1171
1169
  categories: ["Speed", "Power", "Range", "Safety", "Comfort"],
@@ -1174,18 +1172,18 @@ function ur() {
1174
1172
  }
1175
1173
  );
1176
1174
  }
1177
- function mr() {
1175
+ function st() {
1178
1176
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 16 }, children: [
1179
1177
  /* @__PURE__ */ e(k, { value: 72, min: 0, max: 100, label: "CPU", width: 130, height: 130 }),
1180
1178
  /* @__PURE__ */ e(k, { value: 45, min: 0, max: 100, label: "Memory", width: 130, height: 130 })
1181
1179
  ] });
1182
1180
  }
1183
- function pr() {
1184
- return /* @__PURE__ */ e(Ge, { value: 88, min: 0, max: 100, label: "Disk Usage", width: 300, height: 50 });
1181
+ function ut() {
1182
+ return /* @__PURE__ */ e(Ie, { value: 88, min: 0, max: 100, label: "Disk Usage", width: 300, height: 50 });
1185
1183
  }
1186
- function hr() {
1184
+ function mt() {
1187
1185
  return /* @__PURE__ */ e(
1188
- Ie,
1186
+ ze,
1189
1187
  {
1190
1188
  items: [
1191
1189
  { value: 85, label: "Q1" },
@@ -1199,7 +1197,7 @@ function hr() {
1199
1197
  }
1200
1198
  );
1201
1199
  }
1202
- function vr() {
1200
+ function pt() {
1203
1201
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 16, alignItems: "center" }, children: [
1204
1202
  /* @__PURE__ */ e("span", { style: { fontSize: "0.8rem" }, children: "Sales:" }),
1205
1203
  /* @__PURE__ */ e(w, { data: [12, 15, 9, 18, 22, 17, 25], width: 120, height: 30, color: "#3b82f6" }),
@@ -1207,10 +1205,10 @@ function vr() {
1207
1205
  /* @__PURE__ */ e(w, { data: [5, 8, 12, 10, 15, 20, 18], width: 120, height: 30, color: "#10b981" })
1208
1206
  ] });
1209
1207
  }
1210
- function gr() {
1211
- return /* @__PURE__ */ e(ze, { value: 75, target: 80, width: 300, height: 30, color: "#3b82f6" });
1208
+ function ht() {
1209
+ return /* @__PURE__ */ e(Le, { value: 75, target: 80, width: 300, height: 30, color: "#3b82f6" });
1212
1210
  }
1213
- function fr() {
1211
+ function vt() {
1214
1212
  return /* @__PURE__ */ e(
1215
1213
  Fe,
1216
1214
  {
@@ -1225,7 +1223,7 @@ function fr() {
1225
1223
  }
1226
1224
  );
1227
1225
  }
1228
- function Nr() {
1226
+ function gt() {
1229
1227
  return /* @__PURE__ */ e(
1230
1228
  Oe,
1231
1229
  {
@@ -1245,9 +1243,9 @@ function Nr() {
1245
1243
  }
1246
1244
  );
1247
1245
  }
1248
- function yr() {
1246
+ function ft() {
1249
1247
  return /* @__PURE__ */ e(
1250
- vi,
1248
+ hi,
1251
1249
  {
1252
1250
  data: [
1253
1251
  [10, 20, 30, 40],
@@ -1261,26 +1259,26 @@ function yr() {
1261
1259
  }
1262
1260
  );
1263
1261
  }
1264
- function br() {
1262
+ function Nt() {
1265
1263
  return /* @__PURE__ */ e(
1266
- gi,
1264
+ He,
1267
1265
  {
1268
1266
  data: {
1269
- key: "root",
1270
- label: "Company",
1267
+ id: "root",
1268
+ name: "Company",
1271
1269
  value: 170,
1272
1270
  children: [
1273
1271
  {
1274
- key: "eng",
1275
- label: "Engineering",
1272
+ id: "eng",
1273
+ name: "Engineering",
1276
1274
  value: 100,
1277
1275
  children: [
1278
- { key: "fe", label: "Frontend", value: 60 },
1279
- { key: "be", label: "Backend", value: 40 }
1276
+ { id: "fe", name: "Frontend", value: 60 },
1277
+ { id: "be", name: "Backend", value: 40 }
1280
1278
  ]
1281
1279
  },
1282
- { key: "design", label: "Design", value: 40 },
1283
- { key: "mkt", label: "Marketing", value: 30 }
1280
+ { id: "design", name: "Design", value: 40 },
1281
+ { id: "mkt", name: "Marketing", value: 30 }
1284
1282
  ]
1285
1283
  },
1286
1284
  width: 400,
@@ -1288,20 +1286,20 @@ function br() {
1288
1286
  }
1289
1287
  );
1290
1288
  }
1291
- function Pr() {
1292
- const t = Date.now(), i = Array.from({ length: 20 }, (n, c) => ({
1293
- date: new Date(t - (20 - c) * 864e5).toISOString().slice(0, 10),
1289
+ function yt() {
1290
+ const r = Date.now(), i = Array.from({ length: 20 }, (n, c) => ({
1291
+ date: new Date(r - (20 - c) * 864e5).toISOString().slice(0, 10),
1294
1292
  open: 100 + Math.random() * 20,
1295
1293
  high: 110 + Math.random() * 20,
1296
1294
  low: 90 + Math.random() * 20,
1297
1295
  close: 100 + Math.random() * 20,
1298
1296
  volume: Math.floor(Math.random() * 1e4)
1299
1297
  }));
1300
- return /* @__PURE__ */ e(fi, { data: i, type: "candlestick", width: 500, height: 250 });
1298
+ return /* @__PURE__ */ e(vi, { data: i, type: "candlestick", width: 500, height: 250 });
1301
1299
  }
1302
- function kr() {
1300
+ function bt() {
1303
1301
  return /* @__PURE__ */ e(
1304
- hi,
1302
+ pi,
1305
1303
  {
1306
1304
  data: {
1307
1305
  key: "ceo",
@@ -1314,47 +1312,33 @@ function kr() {
1314
1312
  }
1315
1313
  );
1316
1314
  }
1317
- function wr() {
1318
- const [t, i] = r(5), [n, c] = r(25);
1315
+ function Pt() {
1316
+ const [r, i] = t(5), [n, c] = t(25);
1319
1317
  return /* @__PURE__ */ e(
1320
1318
  We,
1321
1319
  {
1322
1320
  min: 0,
1323
1321
  max: 30,
1324
- start: t,
1322
+ start: r,
1325
1323
  end: n,
1326
- onChange: (d, p) => {
1327
- i(d), c(p);
1324
+ onChange: (l, p) => {
1325
+ i(l), c(p);
1328
1326
  },
1329
1327
  width: 500,
1330
1328
  height: 60
1331
1329
  }
1332
1330
  );
1333
1331
  }
1334
- function Cr() {
1335
- return /* @__PURE__ */ e(
1336
- He,
1337
- {
1338
- regions: [
1339
- { id: "us", name: "USA", path: "M0,0L10,0L10,10L0,10Z", value: 300 },
1340
- { id: "eu", name: "Europe", path: "M15,0L25,0L25,10L15,10Z", value: 200 },
1341
- { id: "asia", name: "Asia", path: "M30,0L40,0L40,10L30,10Z", value: 150 }
1342
- ],
1343
- width: 400,
1344
- height: 250
1345
- }
1346
- );
1347
- }
1348
- function Sr() {
1349
- const t = C(null), [i, n] = r(!1);
1332
+ function kt() {
1333
+ const r = C(null), [i, n] = t(!1);
1350
1334
  return /* @__PURE__ */ o(m, { children: [
1351
- /* @__PURE__ */ e(a, { ref: t, onClick: () => n(!i), variant: "outline", children: "Show Popover" }),
1335
+ /* @__PURE__ */ e(a, { ref: r, onClick: () => n(!i), variant: "outline", children: "Show Popover" }),
1352
1336
  /* @__PURE__ */ e(
1353
1337
  Qe,
1354
1338
  {
1355
1339
  visible: i,
1356
1340
  onClose: () => n(!1),
1357
- targetRef: t,
1341
+ targetRef: r,
1358
1342
  position: "bottom",
1359
1343
  title: "Details",
1360
1344
  children: /* @__PURE__ */ e("div", { style: { padding: 12, fontSize: "0.85rem" }, children: "Popover content here" })
@@ -1362,14 +1346,14 @@ function Sr() {
1362
1346
  )
1363
1347
  ] });
1364
1348
  }
1365
- function xr() {
1366
- const [t, i] = r(!1);
1349
+ function wt() {
1350
+ const [r, i] = t(!1);
1367
1351
  return /* @__PURE__ */ o(m, { children: [
1368
1352
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Show Action Sheet" }),
1369
1353
  /* @__PURE__ */ e(
1370
1354
  Ue,
1371
1355
  {
1372
- visible: t,
1356
+ visible: r,
1373
1357
  onClose: () => i(!1),
1374
1358
  title: "Choose Action",
1375
1359
  items: [
@@ -1381,8 +1365,8 @@ function xr() {
1381
1365
  )
1382
1366
  ] });
1383
1367
  }
1384
- function Dr() {
1385
- const [t, i] = r(!1);
1368
+ function Ct() {
1369
+ const [r, i] = t(!1);
1386
1370
  return /* @__PURE__ */ o(
1387
1371
  "div",
1388
1372
  {
@@ -1403,14 +1387,14 @@ function Dr() {
1403
1387
  children: "Show Loading (2s)"
1404
1388
  }
1405
1389
  ) }),
1406
- /* @__PURE__ */ e(Ke, { visible: t, message: "Please wait…" })
1390
+ /* @__PURE__ */ e(Ke, { visible: r, message: "Please wait…" })
1407
1391
  ]
1408
1392
  }
1409
1393
  );
1410
1394
  }
1411
- function Tr() {
1412
- const [t, i] = r(!1);
1413
- return /* @__PURE__ */ e(Ni, { blocked: t, message: "Saving…", children: /* @__PURE__ */ o("div", { style: { padding: 16, border: "1px solid var(--border-color)", borderRadius: 6 }, children: [
1395
+ function St() {
1396
+ const [r, i] = t(!1);
1397
+ return /* @__PURE__ */ e(gi, { blocked: r, message: "Saving…", children: /* @__PURE__ */ o("div", { style: { padding: 16, border: "1px solid var(--border-color)", borderRadius: 6 }, children: [
1414
1398
  /* @__PURE__ */ e("p", { style: { margin: "0 0 8px", fontSize: "0.85rem" }, children: "Form content that can be blocked." }),
1415
1399
  /* @__PURE__ */ e(
1416
1400
  a,
@@ -1424,14 +1408,14 @@ function Tr() {
1424
1408
  )
1425
1409
  ] }) });
1426
1410
  }
1427
- function Rr() {
1411
+ function xt() {
1428
1412
  return /* @__PURE__ */ o(je, { direction: "row", gap: 8, align: "center", children: [
1429
1413
  /* @__PURE__ */ e(a, { variant: "primary", children: "Left" }),
1430
1414
  /* @__PURE__ */ e(a, { variant: "outline", children: "Center" }),
1431
1415
  /* @__PURE__ */ e(a, { variant: "ghost", children: "Right" })
1432
1416
  ] });
1433
1417
  }
1434
- function Ar() {
1418
+ function Dt() {
1435
1419
  return /* @__PURE__ */ e(
1436
1420
  _e,
1437
1421
  {
@@ -1448,7 +1432,7 @@ function Ar() {
1448
1432
  }
1449
1433
  );
1450
1434
  }
1451
- function Vr() {
1435
+ function Tt() {
1452
1436
  return /* @__PURE__ */ e($e, { handles: ["right", "bottom"], minWidth: 150, minHeight: 80, children: /* @__PURE__ */ e(
1453
1437
  "div",
1454
1438
  {
@@ -1457,18 +1441,18 @@ function Vr() {
1457
1441
  }
1458
1442
  ) });
1459
1443
  }
1460
- function Br() {
1461
- return /* @__PURE__ */ e(qe, { style: { height: 150 }, children: /* @__PURE__ */ e("div", { style: { padding: 12 }, children: Array.from({ length: 20 }, (t, i) => /* @__PURE__ */ o("p", { style: { margin: "4px 0" }, children: [
1444
+ function Rt() {
1445
+ return /* @__PURE__ */ e(qe, { style: { height: 150 }, children: /* @__PURE__ */ e("div", { style: { padding: 12 }, children: Array.from({ length: 20 }, (r, i) => /* @__PURE__ */ o("p", { style: { margin: "4px 0" }, children: [
1462
1446
  "Scrollable line ",
1463
1447
  i + 1
1464
1448
  ] }, i)) }) });
1465
1449
  }
1466
- function Mr() {
1467
- const [t, i] = r(!1);
1450
+ function At() {
1451
+ const [r, i] = t(!1);
1468
1452
  return /* @__PURE__ */ o(m, { children: [
1469
1453
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Open Window" }),
1470
- t && /* @__PURE__ */ e(
1471
- Ai,
1454
+ r && /* @__PURE__ */ e(
1455
+ Ti,
1472
1456
  {
1473
1457
  windowKey: "demo-win",
1474
1458
  title: "My Window",
@@ -1480,7 +1464,7 @@ function Mr() {
1480
1464
  )
1481
1465
  ] });
1482
1466
  }
1483
- function Er() {
1467
+ function Bt() {
1484
1468
  return /* @__PURE__ */ e(
1485
1469
  "div",
1486
1470
  {
@@ -1494,7 +1478,7 @@ function Er() {
1494
1478
  }
1495
1479
  );
1496
1480
  }
1497
- function Lr() {
1481
+ function Vt() {
1498
1482
  return /* @__PURE__ */ o(
1499
1483
  "div",
1500
1484
  {
@@ -1512,9 +1496,9 @@ function Lr() {
1512
1496
  }
1513
1497
  );
1514
1498
  }
1515
- function Gr() {
1516
- const t = /* @__PURE__ */ new Date(), i = (n) => new Date(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours() + n);
1517
- return /* @__PURE__ */ e("div", { style: l(380), children: /* @__PURE__ */ e(
1499
+ function Et() {
1500
+ const r = /* @__PURE__ */ new Date(), i = (n) => new Date(r.getFullYear(), r.getMonth(), r.getDate(), r.getHours() + n);
1501
+ return /* @__PURE__ */ e("div", { style: s(380), children: /* @__PURE__ */ e(
1518
1502
  Je,
1519
1503
  {
1520
1504
  events: [
@@ -1559,13 +1543,13 @@ function Gr() {
1559
1543
  }
1560
1544
  ) });
1561
1545
  }
1562
- function Ir() {
1563
- const t = /* @__PURE__ */ new Date(), i = (n) => new Date(t.getTime() + n * 864e5);
1564
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1546
+ function Mt() {
1547
+ const r = /* @__PURE__ */ new Date(), i = (n) => new Date(r.getTime() + n * 864e5);
1548
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1565
1549
  Ye,
1566
1550
  {
1567
1551
  tasks: [
1568
- { id: "1", title: "Design", start: t, end: i(5), progress: 80 },
1552
+ { id: "1", title: "Design", start: r, end: i(5), progress: 80 },
1569
1553
  {
1570
1554
  id: "2",
1571
1555
  title: "Development",
@@ -1587,50 +1571,27 @@ function Ir() {
1587
1571
  }
1588
1572
  ) });
1589
1573
  }
1590
- function zr() {
1591
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ o("div", { style: { padding: 16, color: "#6b7280" }, children: [
1592
- "NiceDiagram has moved to ",
1593
- /* @__PURE__ */ e("code", { children: "@nice2dev/ui-diagrams" }),
1594
- " (NiceDiagramViewer)."
1595
- ] }) });
1596
- }
1597
- function Fr() {
1598
- const [t, i] = r(1);
1574
+ function Gt() {
1575
+ const [r, i] = t(1);
1599
1576
  return /* @__PURE__ */ e(
1600
- Ze,
1577
+ Xe,
1601
1578
  {
1602
1579
  steps: [
1603
1580
  { title: "Account", content: /* @__PURE__ */ e("div", { style: { padding: 12 }, children: "Create your account" }) },
1604
1581
  { title: "Profile", content: /* @__PURE__ */ e("div", { style: { padding: 12 }, children: "Fill in your profile" }) },
1605
1582
  { title: "Confirm", content: /* @__PURE__ */ e("div", { style: { padding: 12 }, children: "Review & confirm" }) }
1606
1583
  ],
1607
- activeStep: t,
1584
+ activeStep: r,
1608
1585
  onStepClick: i
1609
1586
  }
1610
1587
  );
1611
1588
  }
1612
- function Or() {
1613
- const [t, i] = r([
1614
- { id: "1", text: "Hello!", author: "Alice", timestamp: new Date(Date.now() - 6e4) },
1615
- { id: "2", text: "Hi! How can I help?", author: "Me", isOwn: !0, timestamp: /* @__PURE__ */ new Date() }
1616
- ]);
1617
- return /* @__PURE__ */ e("div", { style: { height: 250 }, children: /* @__PURE__ */ e(
1618
- Xe,
1619
- {
1620
- messages: t,
1621
- onSend: (n) => i((c) => [
1622
- ...c,
1623
- { id: String(c.length + 1), text: n, author: "Me", isOwn: !0, timestamp: /* @__PURE__ */ new Date() }
1624
- ])
1625
- }
1626
- ) });
1627
- }
1628
- function Wr() {
1629
- return /* @__PURE__ */ e(ti, { accept: ".pdf,.jpg,.png", multiple: !0, onFilesSelected: () => {
1589
+ function It() {
1590
+ return /* @__PURE__ */ e(ii, { accept: ".pdf,.jpg,.png", multiple: !0, onFilesSelected: () => {
1630
1591
  } });
1631
1592
  }
1632
- function Hr() {
1633
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1593
+ function zt() {
1594
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1634
1595
  ri,
1635
1596
  {
1636
1597
  items: [
@@ -1643,36 +1604,36 @@ function Hr() {
1643
1604
  }
1644
1605
  ) });
1645
1606
  }
1646
- function Ur() {
1647
- const [t, i] = r({
1607
+ function Lt() {
1608
+ const [r, i] = t({
1648
1609
  type: "group",
1649
1610
  logic: "and",
1650
1611
  items: []
1651
1612
  });
1652
1613
  return /* @__PURE__ */ e(
1653
- ni,
1614
+ ti,
1654
1615
  {
1655
1616
  fields: [
1656
1617
  { field: "name", label: "Name", type: "string" },
1657
1618
  { field: "age", label: "Age", type: "number" },
1658
1619
  { field: "active", label: "Active", type: "boolean" }
1659
1620
  ],
1660
- value: t,
1621
+ value: r,
1661
1622
  onChange: (n) => i(n)
1662
1623
  }
1663
1624
  );
1664
1625
  }
1665
- function Qr() {
1666
- const t = [1, 2, 3, 4].map((i) => ({
1626
+ function Ft() {
1627
+ const r = [1, 2, 3, 4].map((i) => ({
1667
1628
  src: `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='150'%3E%3Crect width='200' height='150' fill='hsl(${i * 60},60%25,50%25)'/%3E%3Ctext x='100' y='80' text-anchor='middle' fill='white' font-size='18'%3EPhoto ${i}%3C/text%3E%3C/svg%3E`,
1668
1629
  thumbnail: `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='75'%3E%3Crect width='100' height='75' fill='hsl(${i * 60},60%25,50%25)'/%3E%3Ctext x='50' y='42' text-anchor='middle' fill='white' font-size='12'%3E${i}%3C/text%3E%3C/svg%3E`,
1669
1630
  title: `Photo ${i}`
1670
1631
  }));
1671
- return /* @__PURE__ */ e(oi, { items: t });
1632
+ return /* @__PURE__ */ e(ni, { items: r });
1672
1633
  }
1673
- function Kr() {
1674
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1675
- ai,
1634
+ function Ot() {
1635
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1636
+ oi,
1676
1637
  {
1677
1638
  center: { lat: 52.237, lng: 21.017 },
1678
1639
  zoom: 5,
@@ -1683,12 +1644,12 @@ function Kr() {
1683
1644
  }
1684
1645
  ) });
1685
1646
  }
1686
- function jr() {
1687
- return /* @__PURE__ */ e(ci, { onResult: () => {
1647
+ function Wt() {
1648
+ return /* @__PURE__ */ e(ai, { onResult: () => {
1688
1649
  } });
1689
1650
  }
1690
- function _r() {
1691
- return /* @__PURE__ */ e(ei, { children: /* @__PURE__ */ e(
1651
+ function Ht() {
1652
+ return /* @__PURE__ */ e(Ze, { children: /* @__PURE__ */ e(
1692
1653
  "div",
1693
1654
  {
1694
1655
  style: {
@@ -1703,17 +1664,17 @@ function _r() {
1703
1664
  }
1704
1665
  ) });
1705
1666
  }
1706
- function $r() {
1707
- const [t, i] = r([
1667
+ function Ut() {
1668
+ const [r, i] = t([
1708
1669
  { id: "1", title: "First item" },
1709
1670
  { id: "2", title: "Second item" },
1710
1671
  { id: "3", title: "Third item" },
1711
1672
  { id: "4", title: "Fourth item" }
1712
1673
  ]);
1713
1674
  return /* @__PURE__ */ e(
1714
- ii,
1675
+ ei,
1715
1676
  {
1716
- items: t,
1677
+ items: r,
1717
1678
  keyField: "id",
1718
1679
  onReorder: i,
1719
1680
  renderItem: (n) => /* @__PURE__ */ e(
@@ -1732,22 +1693,22 @@ function $r() {
1732
1693
  }
1733
1694
  );
1734
1695
  }
1735
- function qr() {
1736
- const [t, i] = r("");
1737
- return /* @__PURE__ */ o(li, { children: [
1696
+ function Qt() {
1697
+ const [r, i] = t("");
1698
+ return /* @__PURE__ */ o(ci, { children: [
1738
1699
  /* @__PURE__ */ e(
1739
- di,
1700
+ li,
1740
1701
  {
1741
1702
  name: "email",
1742
1703
  rules: [{ type: "required", message: "Email is required" }],
1743
- value: t,
1744
- children: ({ errors: n }) => /* @__PURE__ */ e(g, { label: "Email", value: t, onChange: i, error: n[0] })
1704
+ value: r,
1705
+ children: ({ errors: n }) => /* @__PURE__ */ e(g, { label: "Email", value: r, onChange: i, error: n[0] })
1745
1706
  }
1746
1707
  ),
1747
- /* @__PURE__ */ e(si, {})
1708
+ /* @__PURE__ */ e(di, {})
1748
1709
  ] });
1749
1710
  }
1750
- function Jr() {
1711
+ function Kt() {
1751
1712
  return /* @__PURE__ */ e(
1752
1713
  "div",
1753
1714
  {
@@ -1761,7 +1722,7 @@ function Jr() {
1761
1722
  }
1762
1723
  );
1763
1724
  }
1764
- function Yr() {
1725
+ function jt() {
1765
1726
  return /* @__PURE__ */ e(
1766
1727
  "div",
1767
1728
  {
@@ -1775,7 +1736,7 @@ function Yr() {
1775
1736
  }
1776
1737
  );
1777
1738
  }
1778
- function Zr() {
1739
+ function _t() {
1779
1740
  return /* @__PURE__ */ e(
1780
1741
  "div",
1781
1742
  {
@@ -1789,7 +1750,7 @@ function Zr() {
1789
1750
  }
1790
1751
  );
1791
1752
  }
1792
- function Xr() {
1753
+ function $t() {
1793
1754
  return /* @__PURE__ */ e(
1794
1755
  "div",
1795
1756
  {
@@ -1803,7 +1764,7 @@ function Xr() {
1803
1764
  }
1804
1765
  );
1805
1766
  }
1806
- function en() {
1767
+ function qt() {
1807
1768
  return /* @__PURE__ */ e(
1808
1769
  "div",
1809
1770
  {
@@ -1817,7 +1778,7 @@ function en() {
1817
1778
  }
1818
1779
  );
1819
1780
  }
1820
- function tn() {
1781
+ function Jt() {
1821
1782
  return /* @__PURE__ */ e(
1822
1783
  "div",
1823
1784
  {
@@ -1831,149 +1792,146 @@ function tn() {
1831
1792
  }
1832
1793
  );
1833
1794
  }
1834
- const Ma = {
1795
+ const xa = {
1835
1796
  // Editors
1836
- NiceTextInput: Mi,
1837
- NiceTextArea: Ei,
1838
- NiceNumberInput: Li,
1839
- NiceDateTimePicker: Gi,
1840
- NiceSelect: Ii,
1841
- NiceCheckbox: zi,
1842
- NiceToggle: Fi,
1843
- NiceRadioGroup: Oi,
1844
- NiceSlider: Wi,
1845
- NiceRangeSlider: Hi,
1846
- NiceColorPicker: Ui,
1847
- NiceColorPalette: Qi,
1848
- NiceGradientPicker: Ki,
1849
- NiceTagBox: ji,
1850
- NiceAutocomplete: _i,
1851
- NiceLookup: $i,
1852
- NiceCalendar: qi,
1853
- NiceDateRangeBox: Ji,
1854
- NiceDropDownBox: Yi,
1855
- NiceForm: Zi,
1856
- NiceHtmlEditor: Xi,
1857
- NiceMarkdownEditor: et,
1858
- NiceDocumentEditor: it,
1859
- NiceMaskedInput: tt,
1860
- NiceRating: rt,
1861
- NicePasswordInput: nt,
1862
- NiceInputOtp: ot,
1863
- NiceKnob: at,
1864
- NiceMention: ct,
1865
- NiceTreeSelect: lt,
1866
- NicePickList: dt,
1867
- NiceImageEditor: st,
1797
+ NiceTextInput: Bi,
1798
+ NiceTextArea: Vi,
1799
+ NiceNumberInput: Ei,
1800
+ NiceDateTimePicker: Mi,
1801
+ NiceSelect: Gi,
1802
+ NiceCheckbox: Ii,
1803
+ NiceToggle: zi,
1804
+ NiceRadioGroup: Li,
1805
+ NiceSlider: Fi,
1806
+ NiceRangeSlider: Oi,
1807
+ NiceColorPicker: Wi,
1808
+ NiceColorPalette: Hi,
1809
+ NiceGradientPicker: Ui,
1810
+ NiceTagBox: Qi,
1811
+ NiceAutocomplete: Ki,
1812
+ NiceLookup: ji,
1813
+ NiceCalendar: _i,
1814
+ NiceDateRangeBox: $i,
1815
+ NiceDropDownBox: qi,
1816
+ NiceForm: Ji,
1817
+ NiceHtmlEditor: Yi,
1818
+ NiceMarkdownEditor: Xi,
1819
+ NiceDocumentEditor: Zi,
1820
+ NiceMaskedInput: er,
1821
+ NiceRating: ir,
1822
+ NicePasswordInput: rr,
1823
+ NiceInputOtp: tr,
1824
+ NiceKnob: nr,
1825
+ NiceMention: or,
1826
+ NiceTreeSelect: ar,
1827
+ NicePickList: cr,
1828
+ NiceImageEditor: lr,
1868
1829
  // Buttons
1869
- NiceButton: ut,
1870
- NiceButtonGroup: mt,
1871
- NiceDropDownButton: pt,
1872
- NiceSpeedDialAction: ht,
1830
+ NiceButton: dr,
1831
+ NiceButtonGroup: sr,
1832
+ NiceDropDownButton: ur,
1833
+ NiceSpeedDialAction: mr,
1873
1834
  // Display
1874
- NiceBadge: vt,
1875
- NiceTag: gt,
1876
- NiceAvatar: ft,
1877
- NiceAvatarGroup: Nt,
1878
- NiceProgress: yt,
1879
- NiceDivider: bt,
1880
- NiceTooltip: Pt,
1881
- NiceSkeleton: kt,
1882
- NiceSpinner: wt,
1883
- NiceEmpty: Ct,
1884
- NiceTimeline: St,
1885
- NiceCarousel: xt,
1886
- NiceVirtualScroller: Dt,
1887
- NicePDFViewer: Tt,
1888
- NiceBarcode: Rt,
1889
- NiceQRCode: At,
1890
- NiceTerminalUI: Vt,
1835
+ NiceBadge: pr,
1836
+ NiceTag: hr,
1837
+ NiceAvatar: vr,
1838
+ NiceAvatarGroup: gr,
1839
+ NiceProgress: fr,
1840
+ NiceDivider: Nr,
1841
+ NiceTooltip: yr,
1842
+ NiceSkeleton: br,
1843
+ NiceSpinner: Pr,
1844
+ NiceEmpty: kr,
1845
+ NiceTimeline: wr,
1846
+ NiceCarousel: Cr,
1847
+ NiceVirtualScroller: Sr,
1848
+ NicePDFViewer: xr,
1849
+ NiceBarcode: Dr,
1850
+ NiceQRCode: Tr,
1851
+ NiceTerminalUI: Rr,
1891
1852
  // Feedback
1892
- NiceAlert: Bt,
1893
- NiceModal: Mt,
1894
- NiceDrawer: Et,
1895
- NiceToastContainer: Lt,
1896
- NiceConfirmDialog: Gt,
1897
- NiceCookieConsent: It,
1898
- NiceLoginForm: zt,
1853
+ NiceAlert: Ar,
1854
+ NiceModal: Br,
1855
+ NiceDrawer: Vr,
1856
+ NiceToastContainer: Er,
1857
+ NiceConfirmDialog: Mr,
1858
+ NiceCookieConsent: Gr,
1859
+ NiceLoginForm: Ir,
1899
1860
  // Navigation
1900
- NiceTabs: Ft,
1901
- NiceAccordion: Ot,
1902
- NiceBreadcrumb: Wt,
1903
- NicePagination: Ht,
1904
- NiceCard: Ut,
1905
- NiceMenu: Qt,
1906
- NiceContextMenu: Kt,
1907
- NiceSplitter: jt,
1908
- NiceAppLayout: _t,
1909
- NiceDashboardLayout: $t,
1910
- NiceDesktop: qt,
1911
- NiceConsole: Jt,
1912
- NiceDock: Yt,
1861
+ NiceTabs: zr,
1862
+ NiceAccordion: Lr,
1863
+ NiceBreadcrumb: Fr,
1864
+ NicePagination: Or,
1865
+ NiceCard: Wr,
1866
+ NiceMenu: Hr,
1867
+ NiceContextMenu: Ur,
1868
+ NiceSplitter: Qr,
1869
+ NiceAppLayout: Kr,
1870
+ NiceDashboardLayout: jr,
1871
+ NiceDesktop: _r,
1872
+ NiceConsole: $r,
1873
+ NiceDock: qr,
1913
1874
  // Data
1914
- NiceDataGrid: Zt,
1915
- NiceTable: Xt,
1916
- NiceList: er,
1917
- NiceTreeView: ir,
1918
- NiceTreeList: tr,
1919
- NiceTreeGrid: rr,
1920
- NiceTileView: nr,
1921
- NicePivotGrid: or,
1922
- NicePivotGridFieldChooser: ar,
1923
- NiceKanbanBoard: cr,
1924
- NiceSpreadsheet: lr,
1875
+ NiceDataGrid: Jr,
1876
+ NiceTable: Yr,
1877
+ NiceList: Xr,
1878
+ NiceTreeView: Zr,
1879
+ NiceTreeList: et,
1880
+ NiceTreeGrid: it,
1881
+ NiceTileView: rt,
1882
+ NicePivotGrid: tt,
1883
+ NicePivotGridFieldChooser: nt,
1884
+ NiceKanbanBoard: ot,
1885
+ NiceSpreadsheet: at,
1925
1886
  // Charts
1926
- NiceChart: dr,
1927
- NicePieChart: sr,
1928
- NicePolarChart: ur,
1929
- NiceCircularGauge: mr,
1930
- NiceLinearGauge: pr,
1931
- NiceBarGauge: hr,
1932
- NiceSparkline: vr,
1933
- NiceBullet: gr,
1934
- NiceFunnel: fr,
1935
- NiceSankey: Nr,
1936
- NiceHeatMap: yr,
1937
- NiceTreeMap: br,
1938
- NiceStockChart: Pr,
1939
- NiceOrganizationChart: kr,
1940
- NiceRangeSelector: wr,
1941
- NiceVectorMap: Cr,
1887
+ NiceChart: ct,
1888
+ NicePieChart: lt,
1889
+ NicePolarChart: dt,
1890
+ NiceCircularGauge: st,
1891
+ NiceLinearGauge: ut,
1892
+ NiceBarGauge: mt,
1893
+ NiceSparkline: pt,
1894
+ NiceBullet: ht,
1895
+ NiceFunnel: vt,
1896
+ NiceSankey: gt,
1897
+ NiceHeatMap: ft,
1898
+ NiceTreeMap: Nt,
1899
+ NiceStockChart: yt,
1900
+ NiceOrganizationChart: bt,
1901
+ NiceChartRangeSelector: Pt,
1942
1902
  // Overlays
1943
- NicePopover: Sr,
1944
- NiceActionSheet: xr,
1945
- NiceLoadPanel: Dr,
1946
- NiceBlockUI: Tr,
1947
- NiceBox: Rr,
1948
- NiceResponsiveBox: Ar,
1949
- NiceResizable: Vr,
1950
- NiceScrollView: Br,
1951
- NiceWindow: Mr,
1952
- NiceWindowManager: Er,
1953
- NiceTutorial: Lr,
1903
+ NicePopover: kt,
1904
+ NiceActionSheet: wt,
1905
+ NiceLoadPanel: Ct,
1906
+ NiceBlockUI: St,
1907
+ NiceBox: xt,
1908
+ NiceResponsiveBox: Dt,
1909
+ NiceResizable: Tt,
1910
+ NiceScrollView: Rt,
1911
+ NiceWindow: At,
1912
+ NiceWindowManager: Bt,
1913
+ NiceTutorial: Vt,
1954
1914
  // Planning
1955
- NiceScheduler: Gr,
1956
- NiceGantt: Ir,
1957
- NiceDiagram: zr,
1958
- NiceStepper: Fr,
1915
+ NiceScheduler: Et,
1916
+ NiceGantt: Mt,
1917
+ NiceStepper: Gt,
1959
1918
  // Tools
1960
- NiceChat: Or,
1961
- NiceUpload: Wr,
1962
- NiceFileManager: Hr,
1963
- NiceFilterBuilder: Ur,
1964
- NiceGallery: Qr,
1965
- NiceMap: Kr,
1966
- NiceSpeechToText: jr,
1967
- NiceDraggable: _r,
1968
- NiceSortable: $r,
1969
- NiceValidationGroup: qr,
1970
- NiceValidator: Jr,
1971
- NiceValidationSummary: Yr,
1972
- NiceThemeDesigner: Zr,
1973
- NiceViewEditor: Xr,
1974
- NiceViewRenderer: en,
1975
- NiceShowcase: tn
1919
+ NiceUpload: It,
1920
+ NiceFileManager: zt,
1921
+ NiceFilterBuilder: Lt,
1922
+ NiceGallery: Ft,
1923
+ NiceMap: Ot,
1924
+ NiceSpeechToText: Wt,
1925
+ NiceDraggable: Ht,
1926
+ NiceSortable: Ut,
1927
+ NiceValidationGroup: Qt,
1928
+ NiceValidator: Kt,
1929
+ NiceValidationSummary: jt,
1930
+ NiceThemeDesigner: _t,
1931
+ NiceViewEditor: $t,
1932
+ NiceViewRenderer: qt,
1933
+ NiceShowcase: Jt
1976
1934
  };
1977
1935
  export {
1978
- Ma as DOC_PREVIEWS
1936
+ xa as DOC_PREVIEWS
1979
1937
  };