@nice2dev/ui 1.4.24 → 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.
@@ -8,7 +8,7 @@ import { useState as t, 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";
@@ -100,38 +100,37 @@ 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
102
  import { NiceStepper as Xe } from "../../planning/NiceStepper.mjs";
103
- import { NiceChat as Ze } 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 ri } from "../../editors/inputs/NiceUpload.mjs";
107
- import { NiceFileManager as ti } 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 { NiceStockChart as gi } from "../../charts/NiceStockChart.mjs";
121
- import { NiceBlockUI as fi } from "../../overlays/NiceBlockUI.mjs";
122
- import { NiceSpreadsheet as Ni } from "../../data/NiceSpreadsheet.mjs";
123
- import { NicePDFViewer as yi } from "../../display/NicePDFViewer.mjs";
124
- import { NiceImageEditor as bi } from "../../editors/uploads/NiceImageEditor.mjs";
125
- import { NiceBarcode as Pi } from "../../display/NiceBarcodeGenerator.mjs";
126
- import { NiceQRCode as ki } from "../../display/NiceQRCode.mjs";
127
- import { NiceDocumentEditor as wi } from "../../editors/rich/NiceDocumentEditor.mjs";
128
- import { NiceDock as Ci } from "../../navigation/NiceDock.mjs";
129
- import { NiceTerminalUI as Si } from "../../display/NiceTerminalUI.mjs";
130
- import { NiceCookieConsent as xi } from "../../feedback/NiceCookieConsent.mjs";
131
- import { NiceLoginForm as Di } from "../../feedback/NiceLoginForm.mjs";
132
- import { NiceDesktop as Ti } from "../../navigation/NiceDesktop.mjs";
133
- import { NiceWindow as Ri } from "../../overlays/NiceWindow.mjs";
134
- import { NiceConsole as Ai } from "../../navigation/NiceConsole.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";
106
+ import { NiceFileManager as ri } from "../../tools/NiceFileManager.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";
135
134
  /* empty css */
136
135
  /* empty css */
137
136
  const f = [
@@ -144,7 +143,7 @@ const f = [
144
143
  { id: "2", key: "2", name: "Bob", email: "bob@example.com", role: "User" },
145
144
  { id: "3", key: "3", name: "Charlie", email: "charlie@example.com", role: "Editor" },
146
145
  { id: "4", key: "4", name: "Diana", email: "diana@example.com", role: "User" }
147
- ], Bi = [
146
+ ], Ai = [
148
147
  {
149
148
  key: "docs",
150
149
  text: "Documents",
@@ -154,11 +153,11 @@ const f = [
154
153
  ]
155
154
  },
156
155
  { key: "downloads", text: "Downloads" }
157
- ], l = (r = "auto") => ({
156
+ ], s = (r = "auto") => ({
158
157
  maxHeight: r,
159
158
  overflow: "auto"
160
159
  });
161
- function Vi() {
160
+ function Bi() {
162
161
  const [r, i] = t("");
163
162
  return /* @__PURE__ */ e(
164
163
  g,
@@ -171,19 +170,19 @@ function Vi() {
171
170
  }
172
171
  );
173
172
  }
174
- function Ei() {
173
+ function Vi() {
175
174
  const [r, i] = t("");
176
175
  return /* @__PURE__ */ e(D, { label: "Description", placeholder: "Type something…", value: r, onChange: i });
177
176
  }
178
- function Mi() {
177
+ function Ei() {
179
178
  const [r, i] = t(42);
180
179
  return /* @__PURE__ */ e(T, { label: "Quantity", value: r, onChange: i, min: 0, max: 100 });
181
180
  }
182
- function Gi() {
181
+ function Mi() {
183
182
  const [r, i] = t("");
184
183
  return /* @__PURE__ */ e(R, { label: "Start Date", value: r, onChange: i });
185
184
  }
186
- function Ii() {
185
+ function Gi() {
187
186
  const [r, i] = t("");
188
187
  return /* @__PURE__ */ e(
189
188
  A,
@@ -197,15 +196,15 @@ function Ii() {
197
196
  }
198
197
  );
199
198
  }
200
- function zi() {
199
+ function Ii() {
201
200
  const [r, i] = t(!1);
202
201
  return /* @__PURE__ */ e(B, { label: "Accept terms and conditions", checked: r, onChange: i });
203
202
  }
204
- function Li() {
203
+ function zi() {
205
204
  const [r, i] = t(!1);
206
205
  return /* @__PURE__ */ e(S, { label: "Dark Mode", checked: r, onChange: i });
207
206
  }
208
- function Fi() {
207
+ function Li() {
209
208
  const [r, i] = t("medium");
210
209
  return /* @__PURE__ */ e(
211
210
  V,
@@ -221,11 +220,11 @@ function Fi() {
221
220
  }
222
221
  );
223
222
  }
224
- function Oi() {
223
+ function Fi() {
225
224
  const [r, i] = t(50);
226
225
  return /* @__PURE__ */ e(E, { label: "Volume", value: r, onChange: i, min: 0, max: 100 });
227
226
  }
228
- function Wi() {
227
+ function Oi() {
229
228
  const [r, i] = t(20), [n, c] = t(80);
230
229
  return /* @__PURE__ */ e(
231
230
  H,
@@ -233,23 +232,23 @@ function Wi() {
233
232
  label: "Price Range",
234
233
  startValue: r,
235
234
  endValue: n,
236
- onChange: (d, p) => {
237
- i(d), c(p);
235
+ onChange: (l, p) => {
236
+ i(l), c(p);
238
237
  },
239
238
  min: 0,
240
239
  max: 100
241
240
  }
242
241
  );
243
242
  }
244
- function Hi() {
243
+ function Wi() {
245
244
  const [r, i] = t("#3b82f6");
246
245
  return /* @__PURE__ */ e(M, { label: "Brand Color", value: r, onChange: i });
247
246
  }
248
- function Ui() {
247
+ function Hi() {
249
248
  const [r, i] = t(["#3b82f6", "#ef4444", "#10b981"]);
250
249
  return /* @__PURE__ */ e(G, { value: r, onChange: i });
251
250
  }
252
- function Qi() {
251
+ function Ui() {
253
252
  const [r, i] = t({
254
253
  type: "linear",
255
254
  angle: 90,
@@ -260,11 +259,11 @@ function Qi() {
260
259
  });
261
260
  return /* @__PURE__ */ e(I, { value: r, onChange: (n) => i(n) });
262
261
  }
263
- function Ki() {
262
+ function Qi() {
264
263
  const [r, i] = t(["react"]);
265
264
  return /* @__PURE__ */ e(W, { label: "Skills", options: f, value: r, onChange: i, searchable: !0 });
266
265
  }
267
- function ji() {
266
+ function Ki() {
268
267
  const [r, i] = t("");
269
268
  return /* @__PURE__ */ e(
270
269
  z,
@@ -281,15 +280,15 @@ function ji() {
281
280
  }
282
281
  );
283
282
  }
284
- function _i() {
283
+ function ji() {
285
284
  const [r, i] = t("");
286
285
  return /* @__PURE__ */ e(L, { label: "Customer", value: r, onChange: i, options: f });
287
286
  }
288
- function $i() {
287
+ function _i() {
289
288
  const [r, i] = t("");
290
289
  return /* @__PURE__ */ e(F, { value: r, onChange: i });
291
290
  }
292
- function qi() {
291
+ function $i() {
293
292
  const [r, i] = t(""), [n, c] = t("");
294
293
  return /* @__PURE__ */ e(
295
294
  O,
@@ -302,7 +301,7 @@ function qi() {
302
301
  }
303
302
  );
304
303
  }
305
- function Ji() {
304
+ function qi() {
306
305
  return /* @__PURE__ */ e(U, { label: "Custom Dropdown", displayValue: "Select items…", children: /* @__PURE__ */ e("div", { style: { padding: 12 }, children: /* @__PURE__ */ e(
307
306
  x,
308
307
  {
@@ -315,14 +314,14 @@ function Ji() {
315
314
  }
316
315
  ) }) });
317
316
  }
318
- function Yi() {
317
+ function Ji() {
319
318
  const [r, i] = t({ name: "", email: "" });
320
319
  return /* @__PURE__ */ e(
321
320
  Q,
322
321
  {
323
322
  columns: 2,
324
323
  data: r,
325
- onFieldChange: (n, c) => i((d) => ({ ...d, [n]: c })),
324
+ onFieldChange: (n, c) => i((l) => ({ ...l, [n]: c })),
326
325
  items: [
327
326
  {
328
327
  field: "name",
@@ -345,44 +344,44 @@ function Yi() {
345
344
  }
346
345
  );
347
346
  }
348
- function Xi() {
347
+ function Yi() {
349
348
  const [r, i] = t("<p>Hello <strong>world</strong>!</p>");
350
349
  return /* @__PURE__ */ e(K, { value: r, onChange: i, height: 200 });
351
350
  }
352
- function Zi() {
351
+ function Xi() {
353
352
  const [r, i] = t(`# Hello
354
353
 
355
354
  This is **Markdown**.`);
356
- return /* @__PURE__ */ e(ui, { value: r, onChange: i, minHeight: 200 });
355
+ return /* @__PURE__ */ e(si, { value: r, onChange: i, minHeight: 200 });
357
356
  }
358
- function er() {
357
+ function Zi() {
359
358
  const [r, i] = t([
360
359
  { id: "1", type: "heading", content: "Welcome", level: 2 },
361
360
  { id: "2", type: "paragraph", content: "This is a block-based editor." }
362
361
  ]);
363
- return /* @__PURE__ */ e(wi, { blocks: r, onChange: (n) => i(n) });
362
+ return /* @__PURE__ */ e(ki, { blocks: r, onChange: (n) => i(n) });
364
363
  }
365
- function ir() {
364
+ function er() {
366
365
  const [r, i] = t("");
367
366
  return /* @__PURE__ */ e(j, { label: "Phone", mask: "(000) 000-0000", value: r, onChange: i });
368
367
  }
369
- function rr() {
368
+ function ir() {
370
369
  const [r, i] = t(3);
371
370
  return /* @__PURE__ */ e(_, { value: r, onChange: i, count: 5 });
372
371
  }
373
- function tr() {
372
+ function rr() {
374
373
  const [r, i] = t("");
375
374
  return /* @__PURE__ */ e($, { label: "Password", value: r, onChange: i, showStrength: !0 });
376
375
  }
377
- function nr() {
376
+ function tr() {
378
377
  const [r, i] = t("");
379
378
  return /* @__PURE__ */ e(q, { value: r, onChange: i, length: 6 });
380
379
  }
381
- function or() {
380
+ function nr() {
382
381
  const [r, i] = t(50);
383
382
  return /* @__PURE__ */ e(J, { value: r, onChange: i, min: 0, max: 100, size: "lg" });
384
383
  }
385
- function ar() {
384
+ function or() {
386
385
  const [r, i] = t("");
387
386
  return /* @__PURE__ */ e(
388
387
  Y,
@@ -397,7 +396,7 @@ function ar() {
397
396
  }
398
397
  );
399
398
  }
400
- function cr() {
399
+ function ar() {
401
400
  const [r, i] = t("");
402
401
  return /* @__PURE__ */ e(
403
402
  X,
@@ -419,22 +418,22 @@ function cr() {
419
418
  }
420
419
  );
421
420
  }
422
- function lr() {
421
+ function cr() {
423
422
  const [r, i] = t(f), [n, c] = t([]);
424
423
  return /* @__PURE__ */ e(
425
424
  Z,
426
425
  {
427
426
  source: r,
428
427
  target: n,
429
- onChange: (d, p) => {
430
- i(d), c(p);
428
+ onChange: (l, p) => {
429
+ i(l), c(p);
431
430
  }
432
431
  }
433
432
  );
434
433
  }
435
- function dr() {
436
- return /* @__PURE__ */ e("div", { style: l(300), children: /* @__PURE__ */ e(
437
- bi,
434
+ function lr() {
435
+ return /* @__PURE__ */ e("div", { style: s(300), children: /* @__PURE__ */ e(
436
+ yi,
438
437
  {
439
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",
440
439
  onSave: () => {
@@ -444,7 +443,7 @@ function dr() {
444
443
  }
445
444
  ) });
446
445
  }
447
- function sr() {
446
+ function dr() {
448
447
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, flexWrap: "wrap" }, children: [
449
448
  /* @__PURE__ */ e(a, { variant: "primary", children: "Primary" }),
450
449
  /* @__PURE__ */ e(a, { variant: "success", children: "Success" }),
@@ -455,14 +454,14 @@ function sr() {
455
454
  /* @__PURE__ */ e(a, { loading: !0, children: "Loading" })
456
455
  ] });
457
456
  }
458
- function ur() {
457
+ function sr() {
459
458
  return /* @__PURE__ */ o(ee, { children: [
460
459
  /* @__PURE__ */ e(a, { children: "Left" }),
461
460
  /* @__PURE__ */ e(a, { children: "Center" }),
462
461
  /* @__PURE__ */ e(a, { children: "Right" })
463
462
  ] });
464
463
  }
465
- function mr() {
464
+ function ur() {
466
465
  return /* @__PURE__ */ e(
467
466
  ie,
468
467
  {
@@ -475,21 +474,21 @@ function mr() {
475
474
  }
476
475
  );
477
476
  }
478
- function pr() {
477
+ function mr() {
479
478
  return /* @__PURE__ */ e("div", { style: { position: "relative", height: 180 }, children: /* @__PURE__ */ e(
480
479
  re,
481
480
  {
482
- icon: /* @__PURE__ */ e(s, { name: "plus" }),
481
+ icon: /* @__PURE__ */ e(d, { name: "plus" }),
483
482
  items: [
484
- { key: "add", icon: /* @__PURE__ */ e(s, { name: "plus" }), label: "Add", onClick: () => {
483
+ { key: "add", icon: /* @__PURE__ */ e(d, { name: "plus" }), label: "Add", onClick: () => {
485
484
  } },
486
- { key: "edit", icon: /* @__PURE__ */ e(s, { name: "edit" }), label: "Edit", onClick: () => {
485
+ { key: "edit", icon: /* @__PURE__ */ e(d, { name: "edit" }), label: "Edit", onClick: () => {
487
486
  } }
488
487
  ]
489
488
  }
490
489
  ) });
491
490
  }
492
- function hr() {
491
+ function pr() {
493
492
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, flexWrap: "wrap" }, children: [
494
493
  /* @__PURE__ */ e(h, { variant: "primary", children: "Primary" }),
495
494
  /* @__PURE__ */ e(h, { variant: "success", children: "Active" }),
@@ -498,18 +497,18 @@ function hr() {
498
497
  /* @__PURE__ */ e(h, { variant: "info", children: "Info" })
499
498
  ] });
500
499
  }
501
- function vr() {
500
+ function hr() {
502
501
  const [r, i] = t(["React", "TypeScript", "Vite"]);
503
- 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((d) => d !== n)), children: n }, n)) });
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)) });
504
503
  }
505
- function gr() {
504
+ function vr() {
506
505
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
507
506
  /* @__PURE__ */ e(u, { name: "Alice Johnson", size: "sm" }),
508
507
  /* @__PURE__ */ e(u, { name: "Bob Smith", size: "md" }),
509
508
  /* @__PURE__ */ e(u, { name: "Charlie Brown", size: "lg" })
510
509
  ] });
511
510
  }
512
- function fr() {
511
+ function gr() {
513
512
  return /* @__PURE__ */ o(ne, { max: 3, children: [
514
513
  /* @__PURE__ */ e(u, { name: "Alice" }),
515
514
  /* @__PURE__ */ e(u, { name: "Bob" }),
@@ -518,41 +517,41 @@ function fr() {
518
517
  /* @__PURE__ */ e(u, { name: "Eve" })
519
518
  ] });
520
519
  }
521
- function Nr() {
520
+ function fr() {
522
521
  return /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
523
522
  /* @__PURE__ */ e(N, { value: 65, variant: "primary" }),
524
523
  /* @__PURE__ */ e(N, { value: 85, variant: "success", striped: !0 }),
525
524
  /* @__PURE__ */ e(N, { value: 40, variant: "warning" })
526
525
  ] });
527
526
  }
528
- function yr() {
527
+ function Nr() {
529
528
  return /* @__PURE__ */ o("div", { children: [
530
529
  /* @__PURE__ */ e("p", { style: { margin: "4px 0" }, children: "Above the divider" }),
531
530
  /* @__PURE__ */ e(oe, { text: "or" }),
532
531
  /* @__PURE__ */ e("p", { style: { margin: "4px 0" }, children: "Below the divider" })
533
532
  ] });
534
533
  }
535
- function br() {
534
+ function yr() {
536
535
  return /* @__PURE__ */ e(ae, { content: "This is a helpful tooltip", children: /* @__PURE__ */ e(a, { variant: "outline", children: "Hover me" }) });
537
536
  }
538
- function Pr() {
537
+ function br() {
539
538
  return /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
540
539
  /* @__PURE__ */ e(y, { width: 200, height: 20 }),
541
540
  /* @__PURE__ */ e(y, { width: 300, height: 16 }),
542
541
  /* @__PURE__ */ e(y, { width: 250, height: 16 })
543
542
  ] });
544
543
  }
545
- function kr() {
544
+ function Pr() {
546
545
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 16, alignItems: "center" }, children: [
547
546
  /* @__PURE__ */ e(b, { size: "sm" }),
548
547
  /* @__PURE__ */ e(b, { size: "md" }),
549
548
  /* @__PURE__ */ e(b, { size: "lg" })
550
549
  ] });
551
550
  }
552
- function wr() {
551
+ function kr() {
553
552
  return /* @__PURE__ */ e(ce, { title: "No Data", description: "There is nothing to display yet." });
554
553
  }
555
- function Cr() {
554
+ function wr() {
556
555
  return /* @__PURE__ */ e(
557
556
  le,
558
557
  {
@@ -564,7 +563,7 @@ function Cr() {
564
563
  }
565
564
  );
566
565
  }
567
- function Sr() {
566
+ function Cr() {
568
567
  return /* @__PURE__ */ e(
569
568
  de,
570
569
  {
@@ -584,7 +583,7 @@ function Sr() {
584
583
  }
585
584
  );
586
585
  }
587
- function xr() {
586
+ function Sr() {
588
587
  const r = Array.from({ length: 200 }, (i, n) => n);
589
588
  return /* @__PURE__ */ e(
590
589
  se,
@@ -599,18 +598,18 @@ function xr() {
599
598
  }
600
599
  );
601
600
  }
601
+ function xr() {
602
+ return /* @__PURE__ */ e("div", { style: s(200), children: /* @__PURE__ */ e(Ni, { src: "" }) });
603
+ }
602
604
  function Dr() {
603
- return /* @__PURE__ */ e("div", { style: l(200), children: /* @__PURE__ */ e(yi, { src: "" }) });
605
+ return /* @__PURE__ */ e(bi, { value: "123456789012", format: "CODE128" });
604
606
  }
605
607
  function Tr() {
606
- return /* @__PURE__ */ e(Pi, { value: "123456789012", format: "CODE128" });
608
+ return /* @__PURE__ */ e(Pi, { value: "https://nice2dev.com", qrSize: 150 });
607
609
  }
608
610
  function Rr() {
609
- return /* @__PURE__ */ e(ki, { value: "https://nice2dev.com", qrSize: 150 });
610
- }
611
- function Ar() {
612
611
  return /* @__PURE__ */ e(
613
- Si,
612
+ Ci,
614
613
  {
615
614
  lines: [
616
615
  { text: "$ npm install @nice2dev/ui", type: "input" },
@@ -622,7 +621,7 @@ function Ar() {
622
621
  }
623
622
  );
624
623
  }
625
- function Br() {
624
+ function Ar() {
626
625
  return /* @__PURE__ */ o("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
627
626
  /* @__PURE__ */ e(v, { variant: "info", title: "Information", children: "This is an informational alert." }),
628
627
  /* @__PURE__ */ e(v, { variant: "success", title: "Success", children: "Operation completed." }),
@@ -630,7 +629,7 @@ function Br() {
630
629
  /* @__PURE__ */ e(v, { variant: "error", title: "Error", closable: !0, children: "Something went wrong." })
631
630
  ] });
632
631
  }
633
- function Vr() {
632
+ function Br() {
634
633
  const [r, i] = t(!1);
635
634
  return /* @__PURE__ */ o(m, { children: [
636
635
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Open Modal" }),
@@ -640,7 +639,7 @@ function Vr() {
640
639
  ] })
641
640
  ] });
642
641
  }
643
- function Er() {
642
+ function Vr() {
644
643
  const [r, i] = t(!1);
645
644
  return /* @__PURE__ */ o(m, { children: [
646
645
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Open Drawer" }),
@@ -648,7 +647,7 @@ function Er() {
648
647
  } }) }) })
649
648
  ] });
650
649
  }
651
- function Mr() {
650
+ function Er() {
652
651
  const r = pe();
653
652
  return /* @__PURE__ */ o("div", { style: { position: "relative" }, children: [
654
653
  /* @__PURE__ */ o("div", { style: { display: "flex", gap: 8, flexWrap: "wrap" }, children: [
@@ -659,7 +658,7 @@ function Mr() {
659
658
  /* @__PURE__ */ e(he, { toasts: r.toasts, onDismiss: r.dismiss })
660
659
  ] });
661
660
  }
662
- function Gr() {
661
+ function Mr() {
663
662
  const [r, i] = t(!1);
664
663
  return /* @__PURE__ */ o(m, { children: [
665
664
  /* @__PURE__ */ e(a, { variant: "error", onClick: () => i(!0), children: "Delete Item" }),
@@ -675,9 +674,9 @@ function Gr() {
675
674
  )
676
675
  ] });
677
676
  }
678
- function Ir() {
679
- return /* @__PURE__ */ e("div", { style: l(200), children: /* @__PURE__ */ e(
680
- xi,
677
+ function Gr() {
678
+ return /* @__PURE__ */ e("div", { style: s(200), children: /* @__PURE__ */ e(
679
+ Si,
681
680
  {
682
681
  categories: ["necessary", "analytics", "marketing"],
683
682
  onAcceptAll: () => {
@@ -685,11 +684,11 @@ function Ir() {
685
684
  }
686
685
  ) });
687
686
  }
688
- function zr() {
689
- return /* @__PURE__ */ e("div", { style: { maxWidth: 350 }, children: /* @__PURE__ */ e(Di, { onSubmit: () => {
687
+ function Ir() {
688
+ return /* @__PURE__ */ e("div", { style: { maxWidth: 350 }, children: /* @__PURE__ */ e(xi, { onSubmit: () => {
690
689
  } }) });
691
690
  }
692
- function Lr() {
691
+ function zr() {
693
692
  return /* @__PURE__ */ e(
694
693
  ge,
695
694
  {
@@ -713,7 +712,7 @@ function Lr() {
713
712
  }
714
713
  );
715
714
  }
716
- function Fr() {
715
+ function Lr() {
717
716
  return /* @__PURE__ */ e(
718
717
  fe,
719
718
  {
@@ -737,7 +736,7 @@ function Fr() {
737
736
  }
738
737
  );
739
738
  }
740
- function Or() {
739
+ function Fr() {
741
740
  return /* @__PURE__ */ e(
742
741
  Ne,
743
742
  {
@@ -750,11 +749,11 @@ function Or() {
750
749
  }
751
750
  );
752
751
  }
753
- function Wr() {
752
+ function Or() {
754
753
  const [r, i] = t(1);
755
754
  return /* @__PURE__ */ e(ye, { page: r, totalPages: 20, onChange: i });
756
755
  }
757
- function Hr() {
756
+ function Wr() {
758
757
  return /* @__PURE__ */ e("div", { style: { maxWidth: 300 }, children: /* @__PURE__ */ e(
759
758
  be,
760
759
  {
@@ -764,7 +763,7 @@ function Hr() {
764
763
  }
765
764
  ) });
766
765
  }
767
- function Ur() {
766
+ function Hr() {
768
767
  return /* @__PURE__ */ e(
769
768
  Pe,
770
769
  {
@@ -791,7 +790,7 @@ function Ur() {
791
790
  }
792
791
  );
793
792
  }
794
- function Qr() {
793
+ function Ur() {
795
794
  const r = C(null);
796
795
  return /* @__PURE__ */ o("div", { children: [
797
796
  /* @__PURE__ */ e(
@@ -821,7 +820,7 @@ function Qr() {
821
820
  )
822
821
  ] });
823
822
  }
824
- function Kr() {
823
+ function Qr() {
825
824
  return /* @__PURE__ */ e(
826
825
  we,
827
826
  {
@@ -833,7 +832,7 @@ function Kr() {
833
832
  }
834
833
  );
835
834
  }
836
- function jr() {
835
+ function Kr() {
837
836
  return /* @__PURE__ */ e(
838
837
  "div",
839
838
  {
@@ -844,7 +843,7 @@ function jr() {
844
843
  overflow: "hidden"
845
844
  },
846
845
  children: /* @__PURE__ */ e(
847
- pi,
846
+ mi,
848
847
  {
849
848
  header: /* @__PURE__ */ e("div", { style: { padding: "8px 16px", fontWeight: 700 }, children: "My Application" }),
850
849
  sidebar: /* @__PURE__ */ e("div", { style: { padding: 12, fontSize: "0.85rem" }, children: "Sidebar nav" }),
@@ -855,7 +854,7 @@ function jr() {
855
854
  }
856
855
  );
857
856
  }
858
- function _r() {
857
+ function jr() {
859
858
  return /* @__PURE__ */ e(
860
859
  "div",
861
860
  {
@@ -866,7 +865,7 @@ function _r() {
866
865
  overflow: "hidden"
867
866
  },
868
867
  children: /* @__PURE__ */ e(
869
- mi,
868
+ ui,
870
869
  {
871
870
  panels: [
872
871
  {
@@ -893,7 +892,7 @@ function _r() {
893
892
  }
894
893
  );
895
894
  }
896
- function $r() {
895
+ function _r() {
897
896
  return /* @__PURE__ */ e(
898
897
  "div",
899
898
  {
@@ -904,19 +903,19 @@ function $r() {
904
903
  overflow: "hidden"
905
904
  },
906
905
  children: /* @__PURE__ */ e(
907
- Ti,
906
+ Di,
908
907
  {
909
908
  icons: [
910
- { key: "docs", label: "Documents", icon: /* @__PURE__ */ e(s, { name: "folder" }) },
911
- { 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" }) }
912
911
  ],
913
- startMenuItems: [{ key: "apps", label: "Applications", icon: /* @__PURE__ */ e(s, { name: "grid" }) }]
912
+ startMenuItems: [{ key: "apps", label: "Applications", icon: /* @__PURE__ */ e(d, { name: "grid" }) }]
914
913
  }
915
914
  )
916
915
  }
917
916
  );
918
917
  }
919
- function qr() {
918
+ function $r() {
920
919
  return /* @__PURE__ */ e(
921
920
  "div",
922
921
  {
@@ -927,7 +926,7 @@ function qr() {
927
926
  overflow: "hidden"
928
927
  },
929
928
  children: /* @__PURE__ */ e(
930
- Ai,
929
+ Ri,
931
930
  {
932
931
  tabs: [
933
932
  {
@@ -944,21 +943,21 @@ function qr() {
944
943
  }
945
944
  );
946
945
  }
947
- function Jr() {
946
+ function qr() {
948
947
  return /* @__PURE__ */ e("div", { style: { position: "relative", height: 100 }, children: /* @__PURE__ */ e(
949
- Ci,
948
+ wi,
950
949
  {
951
950
  items: [
952
- { key: "home", icon: /* @__PURE__ */ e(s, { name: "home" }), label: "Home" },
953
- { key: "files", icon: /* @__PURE__ */ e(s, { name: "folder" }), label: "Files" },
954
- { 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" }
955
954
  ],
956
955
  onItemClick: () => {
957
956
  }
958
957
  }
959
958
  ) });
960
959
  }
961
- function Yr() {
960
+ function Jr() {
962
961
  return /* @__PURE__ */ e(
963
962
  Se,
964
963
  {
@@ -974,7 +973,7 @@ function Yr() {
974
973
  }
975
974
  );
976
975
  }
977
- function Xr() {
976
+ function Yr() {
978
977
  return /* @__PURE__ */ e(
979
978
  Ce,
980
979
  {
@@ -988,7 +987,7 @@ function Xr() {
988
987
  }
989
988
  );
990
989
  }
991
- function Zr() {
990
+ function Xr() {
992
991
  return /* @__PURE__ */ e(
993
992
  x,
994
993
  {
@@ -1002,10 +1001,10 @@ function Zr() {
1002
1001
  }
1003
1002
  );
1004
1003
  }
1005
- function et() {
1006
- return /* @__PURE__ */ e(xe, { nodes: Bi, showCheckboxes: !0 });
1004
+ function Zr() {
1005
+ return /* @__PURE__ */ e(xe, { nodes: Ai, showCheckboxes: !0 });
1007
1006
  }
1008
- function it() {
1007
+ function et() {
1009
1008
  return /* @__PURE__ */ e(
1010
1009
  De,
1011
1010
  {
@@ -1028,7 +1027,7 @@ function it() {
1028
1027
  }
1029
1028
  );
1030
1029
  }
1031
- function rt() {
1030
+ function it() {
1032
1031
  return /* @__PURE__ */ e(
1033
1032
  Ve,
1034
1033
  {
@@ -1051,7 +1050,7 @@ function rt() {
1051
1050
  }
1052
1051
  );
1053
1052
  }
1054
- function tt() {
1053
+ function rt() {
1055
1054
  return /* @__PURE__ */ e(
1056
1055
  Te,
1057
1056
  {
@@ -1064,7 +1063,7 @@ function tt() {
1064
1063
  }
1065
1064
  );
1066
1065
  }
1067
- function nt() {
1066
+ function tt() {
1068
1067
  return /* @__PURE__ */ e(
1069
1068
  Re,
1070
1069
  {
@@ -1082,7 +1081,7 @@ function nt() {
1082
1081
  }
1083
1082
  );
1084
1083
  }
1085
- function ot() {
1084
+ function nt() {
1086
1085
  const [r, i] = t([
1087
1086
  { field: "region", caption: "Region", area: "row" },
1088
1087
  { field: "product", caption: "Product", area: "column" },
@@ -1090,8 +1089,8 @@ function ot() {
1090
1089
  ]);
1091
1090
  return /* @__PURE__ */ e(Ae, { fields: r, onChange: (n) => i(n) });
1092
1091
  }
1093
- function at() {
1094
- return /* @__PURE__ */ e("div", { style: l(300), children: /* @__PURE__ */ e(
1092
+ function ot() {
1093
+ return /* @__PURE__ */ e("div", { style: s(300), children: /* @__PURE__ */ e(
1095
1094
  Be,
1096
1095
  {
1097
1096
  columns: [
@@ -1109,9 +1108,9 @@ function at() {
1109
1108
  }
1110
1109
  ) });
1111
1110
  }
1112
- function ct() {
1113
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1114
- Ni,
1111
+ function at() {
1112
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1113
+ fi,
1115
1114
  {
1116
1115
  sheets: [
1117
1116
  {
@@ -1131,7 +1130,7 @@ function ct() {
1131
1130
  }
1132
1131
  ) });
1133
1132
  }
1134
- function lt() {
1133
+ function ct() {
1135
1134
  return /* @__PURE__ */ e(
1136
1135
  Ee,
1137
1136
  {
@@ -1147,7 +1146,7 @@ function lt() {
1147
1146
  }
1148
1147
  );
1149
1148
  }
1150
- function dt() {
1149
+ function lt() {
1151
1150
  return /* @__PURE__ */ e(
1152
1151
  Me,
1153
1152
  {
@@ -1162,7 +1161,7 @@ function dt() {
1162
1161
  }
1163
1162
  );
1164
1163
  }
1165
- function st() {
1164
+ function dt() {
1166
1165
  return /* @__PURE__ */ e(
1167
1166
  Ge,
1168
1167
  {
@@ -1173,16 +1172,16 @@ function st() {
1173
1172
  }
1174
1173
  );
1175
1174
  }
1176
- function ut() {
1175
+ function st() {
1177
1176
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 16 }, children: [
1178
1177
  /* @__PURE__ */ e(k, { value: 72, min: 0, max: 100, label: "CPU", width: 130, height: 130 }),
1179
1178
  /* @__PURE__ */ e(k, { value: 45, min: 0, max: 100, label: "Memory", width: 130, height: 130 })
1180
1179
  ] });
1181
1180
  }
1182
- function mt() {
1181
+ function ut() {
1183
1182
  return /* @__PURE__ */ e(Ie, { value: 88, min: 0, max: 100, label: "Disk Usage", width: 300, height: 50 });
1184
1183
  }
1185
- function pt() {
1184
+ function mt() {
1186
1185
  return /* @__PURE__ */ e(
1187
1186
  ze,
1188
1187
  {
@@ -1198,7 +1197,7 @@ function pt() {
1198
1197
  }
1199
1198
  );
1200
1199
  }
1201
- function ht() {
1200
+ function pt() {
1202
1201
  return /* @__PURE__ */ o("div", { style: { display: "flex", gap: 16, alignItems: "center" }, children: [
1203
1202
  /* @__PURE__ */ e("span", { style: { fontSize: "0.8rem" }, children: "Sales:" }),
1204
1203
  /* @__PURE__ */ e(w, { data: [12, 15, 9, 18, 22, 17, 25], width: 120, height: 30, color: "#3b82f6" }),
@@ -1206,10 +1205,10 @@ function ht() {
1206
1205
  /* @__PURE__ */ e(w, { data: [5, 8, 12, 10, 15, 20, 18], width: 120, height: 30, color: "#10b981" })
1207
1206
  ] });
1208
1207
  }
1209
- function vt() {
1208
+ function ht() {
1210
1209
  return /* @__PURE__ */ e(Le, { value: 75, target: 80, width: 300, height: 30, color: "#3b82f6" });
1211
1210
  }
1212
- function gt() {
1211
+ function vt() {
1213
1212
  return /* @__PURE__ */ e(
1214
1213
  Fe,
1215
1214
  {
@@ -1224,7 +1223,7 @@ function gt() {
1224
1223
  }
1225
1224
  );
1226
1225
  }
1227
- function ft() {
1226
+ function gt() {
1228
1227
  return /* @__PURE__ */ e(
1229
1228
  Oe,
1230
1229
  {
@@ -1244,9 +1243,9 @@ function ft() {
1244
1243
  }
1245
1244
  );
1246
1245
  }
1247
- function Nt() {
1246
+ function ft() {
1248
1247
  return /* @__PURE__ */ e(
1249
- vi,
1248
+ hi,
1250
1249
  {
1251
1250
  data: [
1252
1251
  [10, 20, 30, 40],
@@ -1260,7 +1259,7 @@ function Nt() {
1260
1259
  }
1261
1260
  );
1262
1261
  }
1263
- function yt() {
1262
+ function Nt() {
1264
1263
  return /* @__PURE__ */ e(
1265
1264
  He,
1266
1265
  {
@@ -1287,7 +1286,7 @@ function yt() {
1287
1286
  }
1288
1287
  );
1289
1288
  }
1290
- function bt() {
1289
+ function yt() {
1291
1290
  const r = Date.now(), i = Array.from({ length: 20 }, (n, c) => ({
1292
1291
  date: new Date(r - (20 - c) * 864e5).toISOString().slice(0, 10),
1293
1292
  open: 100 + Math.random() * 20,
@@ -1296,11 +1295,11 @@ function bt() {
1296
1295
  close: 100 + Math.random() * 20,
1297
1296
  volume: Math.floor(Math.random() * 1e4)
1298
1297
  }));
1299
- return /* @__PURE__ */ e(gi, { data: i, type: "candlestick", width: 500, height: 250 });
1298
+ return /* @__PURE__ */ e(vi, { data: i, type: "candlestick", width: 500, height: 250 });
1300
1299
  }
1301
- function Pt() {
1300
+ function bt() {
1302
1301
  return /* @__PURE__ */ e(
1303
- hi,
1302
+ pi,
1304
1303
  {
1305
1304
  data: {
1306
1305
  key: "ceo",
@@ -1313,7 +1312,7 @@ function Pt() {
1313
1312
  }
1314
1313
  );
1315
1314
  }
1316
- function kt() {
1315
+ function Pt() {
1317
1316
  const [r, i] = t(5), [n, c] = t(25);
1318
1317
  return /* @__PURE__ */ e(
1319
1318
  We,
@@ -1322,15 +1321,15 @@ function kt() {
1322
1321
  max: 30,
1323
1322
  start: r,
1324
1323
  end: n,
1325
- onChange: (d, p) => {
1326
- i(d), c(p);
1324
+ onChange: (l, p) => {
1325
+ i(l), c(p);
1327
1326
  },
1328
1327
  width: 500,
1329
1328
  height: 60
1330
1329
  }
1331
1330
  );
1332
1331
  }
1333
- function wt() {
1332
+ function kt() {
1334
1333
  const r = C(null), [i, n] = t(!1);
1335
1334
  return /* @__PURE__ */ o(m, { children: [
1336
1335
  /* @__PURE__ */ e(a, { ref: r, onClick: () => n(!i), variant: "outline", children: "Show Popover" }),
@@ -1347,7 +1346,7 @@ function wt() {
1347
1346
  )
1348
1347
  ] });
1349
1348
  }
1350
- function Ct() {
1349
+ function wt() {
1351
1350
  const [r, i] = t(!1);
1352
1351
  return /* @__PURE__ */ o(m, { children: [
1353
1352
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Show Action Sheet" }),
@@ -1366,7 +1365,7 @@ function Ct() {
1366
1365
  )
1367
1366
  ] });
1368
1367
  }
1369
- function St() {
1368
+ function Ct() {
1370
1369
  const [r, i] = t(!1);
1371
1370
  return /* @__PURE__ */ o(
1372
1371
  "div",
@@ -1393,9 +1392,9 @@ function St() {
1393
1392
  }
1394
1393
  );
1395
1394
  }
1396
- function xt() {
1395
+ function St() {
1397
1396
  const [r, i] = t(!1);
1398
- return /* @__PURE__ */ e(fi, { blocked: r, message: "Saving…", children: /* @__PURE__ */ o("div", { style: { padding: 16, border: "1px solid var(--border-color)", borderRadius: 6 }, children: [
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: [
1399
1398
  /* @__PURE__ */ e("p", { style: { margin: "0 0 8px", fontSize: "0.85rem" }, children: "Form content that can be blocked." }),
1400
1399
  /* @__PURE__ */ e(
1401
1400
  a,
@@ -1409,14 +1408,14 @@ function xt() {
1409
1408
  )
1410
1409
  ] }) });
1411
1410
  }
1412
- function Dt() {
1411
+ function xt() {
1413
1412
  return /* @__PURE__ */ o(je, { direction: "row", gap: 8, align: "center", children: [
1414
1413
  /* @__PURE__ */ e(a, { variant: "primary", children: "Left" }),
1415
1414
  /* @__PURE__ */ e(a, { variant: "outline", children: "Center" }),
1416
1415
  /* @__PURE__ */ e(a, { variant: "ghost", children: "Right" })
1417
1416
  ] });
1418
1417
  }
1419
- function Tt() {
1418
+ function Dt() {
1420
1419
  return /* @__PURE__ */ e(
1421
1420
  _e,
1422
1421
  {
@@ -1433,7 +1432,7 @@ function Tt() {
1433
1432
  }
1434
1433
  );
1435
1434
  }
1436
- function Rt() {
1435
+ function Tt() {
1437
1436
  return /* @__PURE__ */ e($e, { handles: ["right", "bottom"], minWidth: 150, minHeight: 80, children: /* @__PURE__ */ e(
1438
1437
  "div",
1439
1438
  {
@@ -1442,18 +1441,18 @@ function Rt() {
1442
1441
  }
1443
1442
  ) });
1444
1443
  }
1445
- function At() {
1444
+ function Rt() {
1446
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: [
1447
1446
  "Scrollable line ",
1448
1447
  i + 1
1449
1448
  ] }, i)) }) });
1450
1449
  }
1451
- function Bt() {
1450
+ function At() {
1452
1451
  const [r, i] = t(!1);
1453
1452
  return /* @__PURE__ */ o(m, { children: [
1454
1453
  /* @__PURE__ */ e(a, { onClick: () => i(!0), children: "Open Window" }),
1455
1454
  r && /* @__PURE__ */ e(
1456
- Ri,
1455
+ Ti,
1457
1456
  {
1458
1457
  windowKey: "demo-win",
1459
1458
  title: "My Window",
@@ -1465,7 +1464,7 @@ function Bt() {
1465
1464
  )
1466
1465
  ] });
1467
1466
  }
1468
- function Vt() {
1467
+ function Bt() {
1469
1468
  return /* @__PURE__ */ e(
1470
1469
  "div",
1471
1470
  {
@@ -1479,7 +1478,7 @@ function Vt() {
1479
1478
  }
1480
1479
  );
1481
1480
  }
1482
- function Et() {
1481
+ function Vt() {
1483
1482
  return /* @__PURE__ */ o(
1484
1483
  "div",
1485
1484
  {
@@ -1497,9 +1496,9 @@ function Et() {
1497
1496
  }
1498
1497
  );
1499
1498
  }
1500
- function Mt() {
1499
+ function Et() {
1501
1500
  const r = /* @__PURE__ */ new Date(), i = (n) => new Date(r.getFullYear(), r.getMonth(), r.getDate(), r.getHours() + n);
1502
- return /* @__PURE__ */ e("div", { style: l(380), children: /* @__PURE__ */ e(
1501
+ return /* @__PURE__ */ e("div", { style: s(380), children: /* @__PURE__ */ e(
1503
1502
  Je,
1504
1503
  {
1505
1504
  events: [
@@ -1544,9 +1543,9 @@ function Mt() {
1544
1543
  }
1545
1544
  ) });
1546
1545
  }
1547
- function Gt() {
1546
+ function Mt() {
1548
1547
  const r = /* @__PURE__ */ new Date(), i = (n) => new Date(r.getTime() + n * 864e5);
1549
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1548
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1550
1549
  Ye,
1551
1550
  {
1552
1551
  tasks: [
@@ -1572,14 +1571,7 @@ function Gt() {
1572
1571
  }
1573
1572
  ) });
1574
1573
  }
1575
- function It() {
1576
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ o("div", { style: { padding: 16, color: "#6b7280" }, children: [
1577
- "NiceDiagram has moved to ",
1578
- /* @__PURE__ */ e("code", { children: "@nice2dev/ui-diagrams" }),
1579
- " (NiceDiagramViewer)."
1580
- ] }) });
1581
- }
1582
- function zt() {
1574
+ function Gt() {
1583
1575
  const [r, i] = t(1);
1584
1576
  return /* @__PURE__ */ e(
1585
1577
  Xe,
@@ -1594,29 +1586,13 @@ function zt() {
1594
1586
  }
1595
1587
  );
1596
1588
  }
1597
- function Lt() {
1598
- const [r, i] = t([
1599
- { id: "1", text: "Hello!", author: "Alice", timestamp: new Date(Date.now() - 6e4) },
1600
- { id: "2", text: "Hi! How can I help?", author: "Me", isOwn: !0, timestamp: /* @__PURE__ */ new Date() }
1601
- ]);
1602
- return /* @__PURE__ */ e("div", { style: { height: 250 }, children: /* @__PURE__ */ e(
1603
- Ze,
1604
- {
1605
- messages: r,
1606
- onSend: (n) => i((c) => [
1607
- ...c,
1608
- { id: String(c.length + 1), text: n, author: "Me", isOwn: !0, timestamp: /* @__PURE__ */ new Date() }
1609
- ])
1610
- }
1611
- ) });
1612
- }
1613
- function Ft() {
1614
- return /* @__PURE__ */ e(ri, { accept: ".pdf,.jpg,.png", multiple: !0, onFilesSelected: () => {
1589
+ function It() {
1590
+ return /* @__PURE__ */ e(ii, { accept: ".pdf,.jpg,.png", multiple: !0, onFilesSelected: () => {
1615
1591
  } });
1616
1592
  }
1617
- function Ot() {
1618
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1619
- ti,
1593
+ function zt() {
1594
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1595
+ ri,
1620
1596
  {
1621
1597
  items: [
1622
1598
  { id: "f1", name: "Documents", isDirectory: !0 },
@@ -1628,14 +1604,14 @@ function Ot() {
1628
1604
  }
1629
1605
  ) });
1630
1606
  }
1631
- function Wt() {
1607
+ function Lt() {
1632
1608
  const [r, i] = t({
1633
1609
  type: "group",
1634
1610
  logic: "and",
1635
1611
  items: []
1636
1612
  });
1637
1613
  return /* @__PURE__ */ e(
1638
- ni,
1614
+ ti,
1639
1615
  {
1640
1616
  fields: [
1641
1617
  { field: "name", label: "Name", type: "string" },
@@ -1647,17 +1623,17 @@ function Wt() {
1647
1623
  }
1648
1624
  );
1649
1625
  }
1650
- function Ht() {
1626
+ function Ft() {
1651
1627
  const r = [1, 2, 3, 4].map((i) => ({
1652
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`,
1653
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`,
1654
1630
  title: `Photo ${i}`
1655
1631
  }));
1656
- return /* @__PURE__ */ e(oi, { items: r });
1632
+ return /* @__PURE__ */ e(ni, { items: r });
1657
1633
  }
1658
- function Ut() {
1659
- return /* @__PURE__ */ e("div", { style: l(250), children: /* @__PURE__ */ e(
1660
- ai,
1634
+ function Ot() {
1635
+ return /* @__PURE__ */ e("div", { style: s(250), children: /* @__PURE__ */ e(
1636
+ oi,
1661
1637
  {
1662
1638
  center: { lat: 52.237, lng: 21.017 },
1663
1639
  zoom: 5,
@@ -1668,12 +1644,12 @@ function Ut() {
1668
1644
  }
1669
1645
  ) });
1670
1646
  }
1671
- function Qt() {
1672
- return /* @__PURE__ */ e(ci, { onResult: () => {
1647
+ function Wt() {
1648
+ return /* @__PURE__ */ e(ai, { onResult: () => {
1673
1649
  } });
1674
1650
  }
1675
- function Kt() {
1676
- return /* @__PURE__ */ e(ei, { children: /* @__PURE__ */ e(
1651
+ function Ht() {
1652
+ return /* @__PURE__ */ e(Ze, { children: /* @__PURE__ */ e(
1677
1653
  "div",
1678
1654
  {
1679
1655
  style: {
@@ -1688,7 +1664,7 @@ function Kt() {
1688
1664
  }
1689
1665
  ) });
1690
1666
  }
1691
- function jt() {
1667
+ function Ut() {
1692
1668
  const [r, i] = t([
1693
1669
  { id: "1", title: "First item" },
1694
1670
  { id: "2", title: "Second item" },
@@ -1696,7 +1672,7 @@ function jt() {
1696
1672
  { id: "4", title: "Fourth item" }
1697
1673
  ]);
1698
1674
  return /* @__PURE__ */ e(
1699
- ii,
1675
+ ei,
1700
1676
  {
1701
1677
  items: r,
1702
1678
  keyField: "id",
@@ -1717,11 +1693,11 @@ function jt() {
1717
1693
  }
1718
1694
  );
1719
1695
  }
1720
- function _t() {
1696
+ function Qt() {
1721
1697
  const [r, i] = t("");
1722
- return /* @__PURE__ */ o(li, { children: [
1698
+ return /* @__PURE__ */ o(ci, { children: [
1723
1699
  /* @__PURE__ */ e(
1724
- di,
1700
+ li,
1725
1701
  {
1726
1702
  name: "email",
1727
1703
  rules: [{ type: "required", message: "Email is required" }],
@@ -1729,10 +1705,10 @@ function _t() {
1729
1705
  children: ({ errors: n }) => /* @__PURE__ */ e(g, { label: "Email", value: r, onChange: i, error: n[0] })
1730
1706
  }
1731
1707
  ),
1732
- /* @__PURE__ */ e(si, {})
1708
+ /* @__PURE__ */ e(di, {})
1733
1709
  ] });
1734
1710
  }
1735
- function $t() {
1711
+ function Kt() {
1736
1712
  return /* @__PURE__ */ e(
1737
1713
  "div",
1738
1714
  {
@@ -1746,7 +1722,7 @@ function $t() {
1746
1722
  }
1747
1723
  );
1748
1724
  }
1749
- function qt() {
1725
+ function jt() {
1750
1726
  return /* @__PURE__ */ e(
1751
1727
  "div",
1752
1728
  {
@@ -1760,7 +1736,7 @@ function qt() {
1760
1736
  }
1761
1737
  );
1762
1738
  }
1763
- function Jt() {
1739
+ function _t() {
1764
1740
  return /* @__PURE__ */ e(
1765
1741
  "div",
1766
1742
  {
@@ -1774,7 +1750,7 @@ function Jt() {
1774
1750
  }
1775
1751
  );
1776
1752
  }
1777
- function Yt() {
1753
+ function $t() {
1778
1754
  return /* @__PURE__ */ e(
1779
1755
  "div",
1780
1756
  {
@@ -1788,7 +1764,7 @@ function Yt() {
1788
1764
  }
1789
1765
  );
1790
1766
  }
1791
- function Xt() {
1767
+ function qt() {
1792
1768
  return /* @__PURE__ */ e(
1793
1769
  "div",
1794
1770
  {
@@ -1802,7 +1778,7 @@ function Xt() {
1802
1778
  }
1803
1779
  );
1804
1780
  }
1805
- function Zt() {
1781
+ function Jt() {
1806
1782
  return /* @__PURE__ */ e(
1807
1783
  "div",
1808
1784
  {
@@ -1816,148 +1792,146 @@ function Zt() {
1816
1792
  }
1817
1793
  );
1818
1794
  }
1819
- const Aa = {
1795
+ const xa = {
1820
1796
  // Editors
1821
- NiceTextInput: Vi,
1822
- NiceTextArea: Ei,
1823
- NiceNumberInput: Mi,
1824
- NiceDateTimePicker: Gi,
1825
- NiceSelect: Ii,
1826
- NiceCheckbox: zi,
1827
- NiceToggle: Li,
1828
- NiceRadioGroup: Fi,
1829
- NiceSlider: Oi,
1830
- NiceRangeSlider: Wi,
1831
- NiceColorPicker: Hi,
1832
- NiceColorPalette: Ui,
1833
- NiceGradientPicker: Qi,
1834
- NiceTagBox: Ki,
1835
- NiceAutocomplete: ji,
1836
- NiceLookup: _i,
1837
- NiceCalendar: $i,
1838
- NiceDateRangeBox: qi,
1839
- NiceDropDownBox: Ji,
1840
- NiceForm: Yi,
1841
- NiceHtmlEditor: Xi,
1842
- NiceMarkdownEditor: Zi,
1843
- NiceDocumentEditor: er,
1844
- NiceMaskedInput: ir,
1845
- NiceRating: rr,
1846
- NicePasswordInput: tr,
1847
- NiceInputOtp: nr,
1848
- NiceKnob: or,
1849
- NiceMention: ar,
1850
- NiceTreeSelect: cr,
1851
- NicePickList: lr,
1852
- NiceImageEditor: dr,
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,
1853
1829
  // Buttons
1854
- NiceButton: sr,
1855
- NiceButtonGroup: ur,
1856
- NiceDropDownButton: mr,
1857
- NiceSpeedDialAction: pr,
1830
+ NiceButton: dr,
1831
+ NiceButtonGroup: sr,
1832
+ NiceDropDownButton: ur,
1833
+ NiceSpeedDialAction: mr,
1858
1834
  // Display
1859
- NiceBadge: hr,
1860
- NiceTag: vr,
1861
- NiceAvatar: gr,
1862
- NiceAvatarGroup: fr,
1863
- NiceProgress: Nr,
1864
- NiceDivider: yr,
1865
- NiceTooltip: br,
1866
- NiceSkeleton: Pr,
1867
- NiceSpinner: kr,
1868
- NiceEmpty: wr,
1869
- NiceTimeline: Cr,
1870
- NiceCarousel: Sr,
1871
- NiceVirtualScroller: xr,
1872
- NicePDFViewer: Dr,
1873
- NiceBarcode: Tr,
1874
- NiceQRCode: Rr,
1875
- NiceTerminalUI: Ar,
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,
1876
1852
  // Feedback
1877
- NiceAlert: Br,
1878
- NiceModal: Vr,
1879
- NiceDrawer: Er,
1880
- NiceToastContainer: Mr,
1881
- NiceConfirmDialog: Gr,
1882
- NiceCookieConsent: Ir,
1883
- NiceLoginForm: zr,
1853
+ NiceAlert: Ar,
1854
+ NiceModal: Br,
1855
+ NiceDrawer: Vr,
1856
+ NiceToastContainer: Er,
1857
+ NiceConfirmDialog: Mr,
1858
+ NiceCookieConsent: Gr,
1859
+ NiceLoginForm: Ir,
1884
1860
  // Navigation
1885
- NiceTabs: Lr,
1886
- NiceAccordion: Fr,
1887
- NiceBreadcrumb: Or,
1888
- NicePagination: Wr,
1889
- NiceCard: Hr,
1890
- NiceMenu: Ur,
1891
- NiceContextMenu: Qr,
1892
- NiceSplitter: Kr,
1893
- NiceAppLayout: jr,
1894
- NiceDashboardLayout: _r,
1895
- NiceDesktop: $r,
1896
- NiceConsole: qr,
1897
- NiceDock: Jr,
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,
1898
1874
  // Data
1899
- NiceDataGrid: Yr,
1900
- NiceTable: Xr,
1901
- NiceList: Zr,
1902
- NiceTreeView: et,
1903
- NiceTreeList: it,
1904
- NiceTreeGrid: rt,
1905
- NiceTileView: tt,
1906
- NicePivotGrid: nt,
1907
- NicePivotGridFieldChooser: ot,
1908
- NiceKanbanBoard: at,
1909
- NiceSpreadsheet: ct,
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,
1910
1886
  // Charts
1911
- NiceChart: lt,
1912
- NicePieChart: dt,
1913
- NicePolarChart: st,
1914
- NiceCircularGauge: ut,
1915
- NiceLinearGauge: mt,
1916
- NiceBarGauge: pt,
1917
- NiceSparkline: ht,
1918
- NiceBullet: vt,
1919
- NiceFunnel: gt,
1920
- NiceSankey: ft,
1921
- NiceHeatMap: Nt,
1922
- NiceTreeMap: yt,
1923
- NiceStockChart: bt,
1924
- NiceOrganizationChart: Pt,
1925
- NiceChartRangeSelector: kt,
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,
1926
1902
  // Overlays
1927
- NicePopover: wt,
1928
- NiceActionSheet: Ct,
1929
- NiceLoadPanel: St,
1930
- NiceBlockUI: xt,
1931
- NiceBox: Dt,
1932
- NiceResponsiveBox: Tt,
1933
- NiceResizable: Rt,
1934
- NiceScrollView: At,
1935
- NiceWindow: Bt,
1936
- NiceWindowManager: Vt,
1937
- NiceTutorial: Et,
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,
1938
1914
  // Planning
1939
- NiceScheduler: Mt,
1940
- NiceGantt: Gt,
1941
- NiceDiagram: It,
1942
- NiceStepper: zt,
1915
+ NiceScheduler: Et,
1916
+ NiceGantt: Mt,
1917
+ NiceStepper: Gt,
1943
1918
  // Tools
1944
- NiceChat: Lt,
1945
- NiceUpload: Ft,
1946
- NiceFileManager: Ot,
1947
- NiceFilterBuilder: Wt,
1948
- NiceGallery: Ht,
1949
- NiceMap: Ut,
1950
- NiceSpeechToText: Qt,
1951
- NiceDraggable: Kt,
1952
- NiceSortable: jt,
1953
- NiceValidationGroup: _t,
1954
- NiceValidator: $t,
1955
- NiceValidationSummary: qt,
1956
- NiceThemeDesigner: Jt,
1957
- NiceViewEditor: Yt,
1958
- NiceViewRenderer: Xt,
1959
- NiceShowcase: Zt
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
1960
1934
  };
1961
1935
  export {
1962
- Aa as DOC_PREVIEWS
1936
+ xa as DOC_PREVIEWS
1963
1937
  };