@nice2dev/ui 1.0.27 → 1.0.28

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 (60) hide show
  1. package/dist/NiceConfirmDialog-BIppqGad.cjs +1 -0
  2. package/dist/NiceConfirmDialog-CtU3paTe.js +81 -0
  3. package/dist/NiceErrorBoundary-C9ZPRC1v.js +695 -0
  4. package/dist/NiceErrorBoundary-CNsxmX4m.cjs +1 -0
  5. package/dist/NiceForm-B-T7vnE3.cjs +382 -0
  6. package/dist/NiceForm-D3g3RUzs.js +5000 -0
  7. package/dist/NiceModal-Cg7Eo9Ig.cjs +1 -0
  8. package/dist/NiceModal-IHk7nfRN.js +95 -0
  9. package/dist/NiceModuleLifecyclePanel-BY3zmDOy.js +7582 -0
  10. package/dist/NiceModuleLifecyclePanel-Dmbqjb8W.cjs +1 -0
  11. package/dist/NicePagination-BAxcfqnE.js +171 -0
  12. package/dist/NicePagination-BONcK9M_.cjs +1 -0
  13. package/dist/NicePinCodeInput-BDR2PSoo.cjs +696 -0
  14. package/dist/NicePinCodeInput-xJwHHpeS.js +13102 -0
  15. package/dist/NiceSavedQueryPanel-CbE-wQLO.js +6893 -0
  16. package/dist/NiceSavedQueryPanel-DuE2wgV_.cjs +596 -0
  17. package/dist/NiceWindow--TIJTyxg.cjs +1 -0
  18. package/dist/NiceWindow-vqhh0tb_.js +1592 -0
  19. package/dist/charts-C877HM7d.js +4657 -0
  20. package/dist/charts-CjHdhW3E.cjs +761 -0
  21. package/dist/charts.cjs +1 -1
  22. package/dist/charts.mjs +1 -1
  23. package/dist/core-BbGBF3q0.js +25364 -0
  24. package/dist/core-DwOyxP1F.cjs +122 -0
  25. package/dist/data-branching-7B25ogCm.cjs +1 -0
  26. package/dist/data-branching-B_jX2zDY.js +6133 -0
  27. package/dist/data-branching.cjs +1 -1
  28. package/dist/data-branching.mjs +1 -1
  29. package/dist/data.cjs +1 -1
  30. package/dist/data.mjs +1 -1
  31. package/dist/devops-DbKWJZmr.cjs +17 -0
  32. package/dist/devops-nYQjPDoH.js +7684 -0
  33. package/dist/devops.cjs +1 -1
  34. package/dist/devops.mjs +1 -1
  35. package/dist/editors.cjs +1 -1
  36. package/dist/editors.mjs +3 -3
  37. package/dist/feedback.cjs +1 -1
  38. package/dist/feedback.mjs +15 -14
  39. package/dist/index-By5F3DMu.js +67607 -0
  40. package/dist/index-aAc_1dLg.cjs +5518 -0
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.css +1 -1
  43. package/dist/index.d.ts +76 -5
  44. package/dist/index.mjs +986 -985
  45. package/dist/lazy.cjs +1 -1
  46. package/dist/lazy.mjs +24 -24
  47. package/dist/navigation.cjs +1 -1
  48. package/dist/navigation.d.ts +332 -5
  49. package/dist/navigation.mjs +4 -4
  50. package/dist/no-code-C4DPSqYz.cjs +332 -0
  51. package/dist/no-code-zo1dWOLX.js +7133 -0
  52. package/dist/no-code.cjs +1 -1
  53. package/dist/no-code.mjs +1 -1
  54. package/dist/overlays.cjs +1 -1
  55. package/dist/overlays.mjs +2 -2
  56. package/dist/pickerCommons-BRJZMI3n.cjs +1 -0
  57. package/dist/pickerCommons-DWhw7aWu.js +2043 -0
  58. package/dist/pickerCommons.css +1 -0
  59. package/dist/style.css +4 -4
  60. package/package.json +2 -2
package/dist/lazy.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-JwBTMk0A.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DSa5Yn6l.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DSa5Yn6l.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DSa5Yn6l.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DSa5Yn6l.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DSa5Yn6l.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DSa5Yn6l.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-Dz3xLUZM.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-Dz3xLUZM.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-Dz3xLUZM.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-Dz3xLUZM.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-Dz3xLUZM.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-Dz3xLUZM.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B_lYNVMJ.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B_lYNVMJ.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B_lYNVMJ.cjs")).then(e=>e.NiceSankey$1).then(e=>({default:e.NiceSankey}))),t=()=>{Promise.resolve().then(()=>require("./devops.cjs"))},r=()=>{Promise.resolve().then(()=>require("./no-code.cjs"))},i=()=>{Promise.resolve().then(()=>require("./data-branching.cjs"))},C=()=>{"requestIdleCallback"in window?requestIdleCallback(()=>{t(),r(),i()}):setTimeout(()=>{t(),r(),i()},2e3)};exports.LazyAPIFlow=d;exports.LazyBranchManager=o;exports.LazyChart=G;exports.LazyCodeTemplate=f;exports.LazyDataBranchGraph=m;exports.LazyDataBranchManager=D;exports.LazyDataConflictResolver=B;exports.LazyDataDiffViewer=P;exports.LazyDataMapper=N;exports.LazyDataMergeBuilder=q;exports.LazyDataSnapshot=M;exports.LazyEventOrchestrator=L;exports.LazyGitBlame=s;exports.LazyGitConflictResolver=h;exports.LazyGitDiffViewer=l;exports.LazyGitGraph=n;exports.LazyGitHooks=u;exports.LazyMergeRequestBuilder=z;exports.LazyPipelineEditor=c;exports.LazyPipelineMonitor=y;exports.LazySankey=$;exports.LazyStateDesigner=p;exports.LazyTestBuilder=v;exports.LazyTreemap=g;exports.preloadDataBranching=i;exports.preloadDevOps=t;exports.preloadHeavyModules=C;exports.preloadNoCode=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),n=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-DbKWJZmr.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C4DPSqYz.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C4DPSqYz.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C4DPSqYz.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C4DPSqYz.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C4DPSqYz.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C4DPSqYz.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7B25ogCm.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7B25ogCm.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7B25ogCm.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7B25ogCm.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7B25ogCm.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-7B25ogCm.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-CjHdhW3E.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-CjHdhW3E.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-CjHdhW3E.cjs")).then(e=>e.NiceSankey$1).then(e=>({default:e.NiceSankey}))),t=()=>{Promise.resolve().then(()=>require("./devops.cjs"))},r=()=>{Promise.resolve().then(()=>require("./no-code.cjs"))},i=()=>{Promise.resolve().then(()=>require("./data-branching.cjs"))},C=()=>{"requestIdleCallback"in window?requestIdleCallback(()=>{t(),r(),i()}):setTimeout(()=>{t(),r(),i()},2e3)};exports.LazyAPIFlow=d;exports.LazyBranchManager=o;exports.LazyChart=G;exports.LazyCodeTemplate=f;exports.LazyDataBranchGraph=m;exports.LazyDataBranchManager=D;exports.LazyDataConflictResolver=B;exports.LazyDataDiffViewer=P;exports.LazyDataMapper=N;exports.LazyDataMergeBuilder=q;exports.LazyDataSnapshot=M;exports.LazyEventOrchestrator=L;exports.LazyGitBlame=s;exports.LazyGitConflictResolver=h;exports.LazyGitDiffViewer=l;exports.LazyGitGraph=n;exports.LazyGitHooks=u;exports.LazyMergeRequestBuilder=z;exports.LazyPipelineEditor=c;exports.LazyPipelineMonitor=y;exports.LazySankey=$;exports.LazyStateDesigner=p;exports.LazyTestBuilder=v;exports.LazyTreemap=g;exports.preloadDataBranching=i;exports.preloadDevOps=t;exports.preloadHeavyModules=C;exports.preloadNoCode=r;
package/dist/lazy.mjs CHANGED
@@ -1,58 +1,58 @@
1
1
  import { lazy as t } from "react";
2
2
  const r = t(
3
- () => import("./devops-CX538_rA.js").then((e) => e.i).then((e) => ({ default: e.NiceGitGraph }))
3
+ () => import("./devops-nYQjPDoH.js").then((e) => e.i).then((e) => ({ default: e.NiceGitGraph }))
4
4
  ), c = t(
5
- () => import("./devops-CX538_rA.js").then((e) => e.j).then((e) => ({ default: e.NiceBranchManager }))
5
+ () => import("./devops-nYQjPDoH.js").then((e) => e.j).then((e) => ({ default: e.NiceBranchManager }))
6
6
  ), h = t(
7
- () => import("./devops-CX538_rA.js").then((e) => e.l).then((e) => ({ default: e.NiceGitDiffViewer }))
7
+ () => import("./devops-nYQjPDoH.js").then((e) => e.l).then((e) => ({ default: e.NiceGitDiffViewer }))
8
8
  ), l = t(
9
- () => import("./devops-CX538_rA.js").then((e) => e.m).then((e) => ({ default: e.NiceGitBlame }))
9
+ () => import("./devops-nYQjPDoH.js").then((e) => e.m).then((e) => ({ default: e.NiceGitBlame }))
10
10
  ), p = t(
11
- () => import("./devops-CX538_rA.js").then((e) => e.n).then((e) => ({ default: e.NiceGitConflictResolver }))
11
+ () => import("./devops-nYQjPDoH.js").then((e) => e.n).then((e) => ({ default: e.NiceGitConflictResolver }))
12
12
  ), s = t(
13
- () => import("./devops-CX538_rA.js").then((e) => e.p).then((e) => ({ default: e.NicePipelineEditor }))
13
+ () => import("./devops-nYQjPDoH.js").then((e) => e.p).then((e) => ({ default: e.NicePipelineEditor }))
14
14
  ), d = t(
15
- () => import("./devops-CX538_rA.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineMonitor }))
15
+ () => import("./devops-nYQjPDoH.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineMonitor }))
16
16
  ), f = t(
17
- () => import("./devops-CX538_rA.js").then((e) => e.o).then((e) => ({ default: e.NiceGitHooks }))
17
+ () => import("./devops-nYQjPDoH.js").then((e) => e.o).then((e) => ({ default: e.NiceGitHooks }))
18
18
  ), m = t(
19
- () => import("./devops-CX538_rA.js").then((e) => e.k).then((e) => ({ default: e.NiceMergeRequestBuilder }))
19
+ () => import("./devops-nYQjPDoH.js").then((e) => e.k).then((e) => ({ default: e.NiceMergeRequestBuilder }))
20
20
  ), u = t(
21
- () => import("./no-code-CIf6wiUc.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
21
+ () => import("./no-code-zo1dWOLX.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
22
22
  ), y = t(
23
- () => import("./no-code-CIf6wiUc.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
23
+ () => import("./no-code-zo1dWOLX.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
24
24
  ), z = t(
25
- () => import("./no-code-CIf6wiUc.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
25
+ () => import("./no-code-zo1dWOLX.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
26
26
  ), N = t(
27
- () => import("./no-code-CIf6wiUc.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
27
+ () => import("./no-code-zo1dWOLX.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
28
28
  ), L = t(
29
- () => import("./no-code-CIf6wiUc.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
29
+ () => import("./no-code-zo1dWOLX.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
30
30
  ), D = t(
31
- () => import("./no-code-CIf6wiUc.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
31
+ () => import("./no-code-zo1dWOLX.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
32
32
  ), B = t(
33
- () => import("./data-branching-BGw7O52F.js").then((e) => e.f).then((e) => ({
33
+ () => import("./data-branching-B_jX2zDY.js").then((e) => e.f).then((e) => ({
34
34
  default: e.NiceDataBranchManager
35
35
  }))
36
36
  ), G = t(
37
- () => import("./data-branching-BGw7O52F.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
37
+ () => import("./data-branching-B_jX2zDY.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
38
38
  ), M = t(
39
- () => import("./data-branching-BGw7O52F.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
39
+ () => import("./data-branching-B_jX2zDY.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
40
40
  ), g = t(
41
- () => import("./data-branching-BGw7O52F.js").then((e) => e.i).then((e) => ({
41
+ () => import("./data-branching-B_jX2zDY.js").then((e) => e.i).then((e) => ({
42
42
  default: e.NiceDataMergeBuilder
43
43
  }))
44
44
  ), C = t(
45
- () => import("./data-branching-BGw7O52F.js").then((e) => e.j).then((e) => ({
45
+ () => import("./data-branching-B_jX2zDY.js").then((e) => e.j).then((e) => ({
46
46
  default: e.NiceDataConflictResolver
47
47
  }))
48
48
  ), k = t(
49
- () => import("./data-branching-BGw7O52F.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
49
+ () => import("./data-branching-B_jX2zDY.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
50
50
  ), v = t(
51
- () => import("./charts-CABhvyAA.js").then((e) => e.A).then((e) => ({ default: e.NiceChart }))
51
+ () => import("./charts-C877HM7d.js").then((e) => e.A).then((e) => ({ default: e.NiceChart }))
52
52
  ), w = t(
53
- () => import("./charts-CABhvyAA.js").then((e) => e.E).then((e) => ({ default: e.NiceTreeMap }))
53
+ () => import("./charts-C877HM7d.js").then((e) => e.E).then((e) => ({ default: e.NiceTreeMap }))
54
54
  ), T = t(
55
- () => import("./charts-CABhvyAA.js").then((e) => e.B).then((e) => ({ default: e.NiceSankey }))
55
+ () => import("./charts-C877HM7d.js").then((e) => e.B).then((e) => ({ default: e.NiceSankey }))
56
56
  ), a = () => {
57
57
  import("./devops.mjs");
58
58
  }, n = () => {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-Cn_nB4dg.cjs"),e=require("react/jsx-runtime"),v=require("./core-C7PK1L9r.cjs"),h=require("react"),U=require("./NiceTabs-DHiA02RD.cjs"),V=require("./NicePagination-Dnlho_8O.cjs"),I=h.forwardRef(({items:b,activeKey:N,collapsed:a=!1,width:p=240,collapsedWidth:l=52,onItemClick:k,onCollapseChange:D,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:S,...C},x)=>{const s=v.Gs(y),o=v.pc(S,y),[t,u]=h.useState(new Set),r=h.useCallback(i=>{u($=>{const c=new Set($);return c.has(i)?c.delete(i):c.add(i),c})},[]);if(o==="hidden")return null;const _=(i,$=0)=>{const c=i.children&&i.children.length>0,E=t.has(i.key),w=i.key===N;return e.jsxs("li",{className:"nice-sidebar-menu__item",children:[e.jsxs("button",{className:`nice-sidebar-menu__btn ${w?"nice-sidebar-menu__btn--active":""} ${i.disabled?"nice-sidebar-menu__btn--disabled":""}`,style:{paddingLeft:a?void 0:12+$*16},onClick:()=>c?r(i.key):k?.(i),disabled:i.disabled,title:a?i.text:void 0,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-sidebar-menu__icon",children:i.icon}),!a&&e.jsx("span",{className:"nice-sidebar-menu__label",children:i.text}),!a&&i.badge!==void 0&&e.jsx("span",{className:"nice-sidebar-menu__badge",children:i.badge}),!a&&c&&e.jsx("span",{className:"nice-sidebar-menu__chevron",children:E?"▾":"▸"})]}),c&&E&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(T=>_(T,$+1))})]},i.key)};return e.jsxs("nav",{ref:x,id:s,className:`nice-sidebar-menu nice-sidebar-menu--${m} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?l:p},...C,children:[j&&e.jsx("div",{className:"nice-sidebar-menu__header",children:j}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:b.map(i=>_(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});I.displayName="NiceSidebarMenu";const P=h.forwardRef(({items:b,activeKey:N,onItemClick:a,brand:p,actions:l,size:k="md",className:D,style:j,id:d,accessMode:m,...g},M)=>{const y=v.Gs(d),S=v.pc(m,d),[C,x]=h.useState(null);return S==="hidden"?null:e.jsxs("nav",{ref:M,id:y,className:`nice-top-menu nice-top-menu--${k} ${D??""}`,style:j,...g,children:[p&&e.jsx("div",{className:"nice-top-menu__brand",children:p}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:b.map(s=>{const o=s.children&&s.children.length>0,t=C===s.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>o&&x(s.key),onMouseLeave:()=>o&&x(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${s.key===N?"nice-top-menu__btn--active":""}`,onClick:()=>o?x(t?null:s.key):a?.(s),role:"menuitem","aria-haspopup":o,"aria-expanded":t,disabled:s.disabled,type:"button",children:[s.icon&&e.jsx("span",{children:s.icon}),e.jsx("span",{children:s.text}),o&&e.jsx("span",{className:"nice-top-menu__chevron",children:"▾"})]}),o&&t&&e.jsx("ul",{className:"nice-top-menu__dropdown",role:"menu",children:s.children.map(u=>e.jsx("li",{children:e.jsxs("button",{className:`nice-top-menu__dropdown-btn ${u.key===N?"nice-top-menu__dropdown-btn--active":""}`,onClick:()=>{a?.(u),x(null)},disabled:u.disabled,role:"menuitem",type:"button",children:[u.icon&&e.jsx("span",{children:u.icon}),e.jsx("span",{children:u.text}),u.badge!==void 0&&e.jsx("span",{className:"nice-top-menu__badge",children:u.badge})]})},u.key))})]},s.key)})}),l&&e.jsx("div",{className:"nice-top-menu__actions",children:l})]})});P.displayName="NiceTopMenu";const B=h.forwardRef(({tabs:b,activeTab:N,onTabChange:a,onItemClick:p,minimized:l=!1,onMinimizeToggle:k,size:D="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const S=v.Gs(m),C=v.pc(g,m),[x,s]=h.useState(N??b[0]?.key),o=N??x,t=b.find(r=>r.key===o),u=h.useCallback(r=>{s(r),a?.(r)},[a]);return C==="hidden"?null:e.jsxs("div",{ref:y,id:S,className:`nice-ribbon-menu nice-ribbon-menu--${D} ${l?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[b.map(r=>e.jsx("button",{className:`nice-ribbon-menu__tab ${r.key===o?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(r.key),role:"tab","aria-selected":r.key===o,type:"button",children:r.label},r.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!l),type:"button","aria-label":l?"Expand":"Minimize",children:l?"▼":"▲"})]}),!l&&t&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:t.groups.map((r,_)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:r.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>p?.(i),disabled:i.disabled,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-ribbon-menu__item-icon",children:i.icon}),e.jsx("span",{className:"nice-ribbon-menu__item-label",children:i.text})]},i.key))}),e.jsx("div",{className:"nice-ribbon-menu__group-label",children:r.label})]},_))})]})});B.displayName="NiceRibbonMenu";const W=h.forwardRef(({items:b,activeKey:N,onItemClick:a,position:p="bottom",autoHide:l=!1,iconSize:k=40,size:D="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const S=v.Gs(m),C=v.pc(g,m),[x,s]=h.useState(!1),o=!l||x;return C==="hidden"?null:e.jsx("div",{ref:y,id:S,className:`nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${D} ${l&&!o?"nice-dock-menu--hidden":""} ${j??""}`,style:d,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),...M,children:e.jsx("div",{className:"nice-dock-menu__items",children:b.map(t=>e.jsxs("button",{className:`nice-dock-menu__item ${t.key===N?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(t),disabled:t.disabled,title:t.text,type:"button",style:{width:k,height:k},children:[t.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:t.icon}):e.jsx("span",{children:t.text[0]}),t.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:t.badge})]},t.key))})})});W.displayName="NiceDockMenu";const L=h.forwardRef(({items:b,activeKey:N,onItemClick:a,open:p,onOpenChange:l,position:k="left",panelWidth:D=280,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:S,...C},x)=>{const s=v.Gs(y),o=v.pc(S,y),{t}=v.Zt(),[u,r]=h.useState(!1),_=p??u,i=h.useCallback(()=>{const c=!_;r(c),l?.(c)},[_,l]),$=h.useCallback(c=>{a?.(c),r(!1),l?.(!1)},[a,l]);return o==="hidden"?null:e.jsxs("div",{ref:x,id:s,className:`nice-hamburger-menu nice-hamburger-menu--${m} ${g??""}`,style:M,...C,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":t("nav.menu","Menu"),"aria-expanded":_,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${_?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),_&&e.jsx("div",{className:"nice-hamburger-menu__backdrop",onClick:i,"aria-hidden":!0}),e.jsxs("div",{className:`nice-hamburger-menu__panel nice-hamburger-menu__panel--${k} ${_?"nice-hamburger-menu__panel--open":""}`,style:{width:D},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:b.map(c=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${c.key===N?"nice-hamburger-menu__item--active":""}`,onClick:()=>$(c),disabled:c.disabled,role:"menuitem",type:"button",children:[c.icon&&e.jsx("span",{className:"nice-hamburger-menu__item-icon",children:c.icon}),e.jsx("span",{children:c.text}),c.badge!==void 0&&e.jsx("span",{className:"nice-hamburger-menu__item-badge",children:c.badge})]})},c.key))}),d&&e.jsx("div",{className:"nice-hamburger-menu__footer",children:d})]})]})});L.displayName="NiceHamburgerMenu";const O=h.forwardRef(({canGoBack:b=!1,canGoForward:N=!1,onBack:a,onForward:p,onRefresh:l,enableShortcuts:k=!0,showRefresh:D=!0,showStop:j=!0,isLoading:d=!1,onStop:m,size:g="md",variant:M="default",tooltipPosition:y="bottom",backIcon:S,forwardIcon:C,refreshIcon:x,stopIcon:s,className:o,style:t,id:u,accessMode:r,disabled:_,...i},$)=>{const c=v.Gs(u),E=v.pc(r,u),{t:w}=v.Zt();if(h.useEffect(()=>{if(!k||_)return;const A=f=>{const R=f.altKey,H=f.ctrlKey||f.metaKey;R&&f.key==="ArrowLeft"?(f.preventDefault(),b&&a?.()):R&&f.key==="ArrowRight"?(f.preventDefault(),N&&p?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?m?.():l?.()):f.key==="Escape"&&d&&(f.preventDefault(),m?.())};return window.addEventListener("keydown",A),()=>window.removeEventListener("keydown",A)},[k,_,b,N,d,a,p,l,m]),E==="hidden")return null;const T=E==="disabled"||_,q=S??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"15 18 9 12 15 6"})}),z=C??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"9 18 15 12 9 6"})}),F=x??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("polyline",{points:"23 4 23 10 17 10"}),e.jsx("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]}),K=s??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]});return e.jsxs("div",{ref:$,id:c,className:`nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${M}${T?" nice-nav-controls--disabled":""}${o?` ${o}`:""}`,style:t,role:"navigation","aria-label":w("nav.controls","Navigation controls"),...i,children:[e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--back${b?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:T||!b,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:q}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${N?"":" nice-nav-controls__btn--disabled"}`,onClick:p,disabled:T||!N,"aria-label":w("nav.forward","Forward"),title:`${w("nav.forward","Forward")} (Alt+→)`,children:z}),(D||j&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:m,disabled:T,"aria-label":w("nav.stop","Stop"),title:`${w("nav.stop","Stop")} (Esc)`,children:K}):e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--refresh",onClick:l,disabled:T,"aria-label":w("nav.refresh","Refresh"),title:`${w("nav.refresh","Refresh")} (F5)`,children:F}))]})});O.displayName="NiceNavigationControls";exports.DEFAULT_SIDEBAR_PREFS=n.DEFAULT_SIDEBAR_PREFS;exports.DesktopContextMenu=n.DesktopContextMenu;exports.DesktopGrid=n.DesktopGrid;exports.DesktopStartMenu=n.DesktopStartMenu;exports.DesktopSystemTray=n.DesktopSystemTray;exports.DesktopTaskbar=n.DesktopTaskbar;exports.NiceAccordion=n.NiceAccordion;exports.NiceAppLayout=n.NiceAppLayout;exports.NiceAuthButtons=n.NiceAuthButtons;exports.NiceBottomNavigation=n.NiceBottomNavigation;exports.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;exports.NiceClassicShell=n.NiceClassicShell;exports.NiceCompactShell=n.NiceCompactShell;exports.NiceConsole=n.NiceConsole;exports.NiceContextMenu=n.NiceContextMenu;exports.NiceDashboardLayout=n.NiceDashboardLayout;exports.NiceDashboardShell=n.NiceDashboardShell;exports.NiceDesktop=n.NiceDesktop;exports.NiceDock=n.NiceDock;exports.NiceDynamicSidebar=n.NiceDynamicSidebar;exports.NiceHybridShell=n.NiceHybridShell;exports.NiceKioskShell=n.NiceKioskShell;exports.NiceMdiWorkspace=n.NiceMdiWorkspace;exports.NiceMenu=n.NiceMenu;exports.NiceMinimalShell=n.NiceMinimalShell;exports.NiceModeSelector=n.NiceModeSelector;exports.NiceModernShell=n.NiceModernShell;exports.NiceModuleLifecyclePanel=n.NiceModuleLifecyclePanel;exports.NiceMultiView=n.NiceMultiView;exports.NiceNavMenu=n.NiceNavMenu;exports.NiceNavbar=n.NiceNavbar;exports.NiceOnboardingWizard=n.NiceOnboardingWizard;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePwaShell=n.NicePwaShell;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;exports.NiceTabPanel=n.NiceTabPanel;exports.NiceTenantSwitcher=n.NiceTenantSwitcher;exports.NiceToolbar=n.NiceToolbar;exports.NiceUserMenu=n.NiceUserMenu;exports.NiceWizard=n.NiceWizard;exports.SIDEBAR_MODE_META=n.SIDEBAR_MODE_META;exports.NiceTabs=U.NiceTabs;exports.NicePagination=V.NicePagination;exports.NiceDockMenu=W;exports.NiceHamburgerMenu=L;exports.NiceNavigationControls=O;exports.NiceRibbonMenu=B;exports.NiceSidebarMenu=I;exports.NiceTopMenu=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-Dmbqjb8W.cjs"),e=require("react/jsx-runtime"),v=require("./core-DwOyxP1F.cjs"),h=require("react"),U=require("./pickerCommons-BRJZMI3n.cjs"),V=require("./NicePagination-BONcK9M_.cjs"),I=h.forwardRef(({items:b,activeKey:N,collapsed:a=!1,width:p=240,collapsedWidth:l=52,onItemClick:k,onCollapseChange:D,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:S,...C},x)=>{const s=v.Gs(y),o=v.pc(S,y),[t,u]=h.useState(new Set),r=h.useCallback(i=>{u($=>{const c=new Set($);return c.has(i)?c.delete(i):c.add(i),c})},[]);if(o==="hidden")return null;const _=(i,$=0)=>{const c=i.children&&i.children.length>0,E=t.has(i.key),w=i.key===N;return e.jsxs("li",{className:"nice-sidebar-menu__item",children:[e.jsxs("button",{className:`nice-sidebar-menu__btn ${w?"nice-sidebar-menu__btn--active":""} ${i.disabled?"nice-sidebar-menu__btn--disabled":""}`,style:{paddingLeft:a?void 0:12+$*16},onClick:()=>c?r(i.key):k?.(i),disabled:i.disabled,title:a?i.text:void 0,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-sidebar-menu__icon",children:i.icon}),!a&&e.jsx("span",{className:"nice-sidebar-menu__label",children:i.text}),!a&&i.badge!==void 0&&e.jsx("span",{className:"nice-sidebar-menu__badge",children:i.badge}),!a&&c&&e.jsx("span",{className:"nice-sidebar-menu__chevron",children:E?"▾":"▸"})]}),c&&E&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(T=>_(T,$+1))})]},i.key)};return e.jsxs("nav",{ref:x,id:s,className:`nice-sidebar-menu nice-sidebar-menu--${m} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?l:p},...C,children:[j&&e.jsx("div",{className:"nice-sidebar-menu__header",children:j}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:b.map(i=>_(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});I.displayName="NiceSidebarMenu";const P=h.forwardRef(({items:b,activeKey:N,onItemClick:a,brand:p,actions:l,size:k="md",className:D,style:j,id:d,accessMode:m,...g},M)=>{const y=v.Gs(d),S=v.pc(m,d),[C,x]=h.useState(null);return S==="hidden"?null:e.jsxs("nav",{ref:M,id:y,className:`nice-top-menu nice-top-menu--${k} ${D??""}`,style:j,...g,children:[p&&e.jsx("div",{className:"nice-top-menu__brand",children:p}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:b.map(s=>{const o=s.children&&s.children.length>0,t=C===s.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>o&&x(s.key),onMouseLeave:()=>o&&x(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${s.key===N?"nice-top-menu__btn--active":""}`,onClick:()=>o?x(t?null:s.key):a?.(s),role:"menuitem","aria-haspopup":o,"aria-expanded":t,disabled:s.disabled,type:"button",children:[s.icon&&e.jsx("span",{children:s.icon}),e.jsx("span",{children:s.text}),o&&e.jsx("span",{className:"nice-top-menu__chevron",children:"▾"})]}),o&&t&&e.jsx("ul",{className:"nice-top-menu__dropdown",role:"menu",children:s.children.map(u=>e.jsx("li",{children:e.jsxs("button",{className:`nice-top-menu__dropdown-btn ${u.key===N?"nice-top-menu__dropdown-btn--active":""}`,onClick:()=>{a?.(u),x(null)},disabled:u.disabled,role:"menuitem",type:"button",children:[u.icon&&e.jsx("span",{children:u.icon}),e.jsx("span",{children:u.text}),u.badge!==void 0&&e.jsx("span",{className:"nice-top-menu__badge",children:u.badge})]})},u.key))})]},s.key)})}),l&&e.jsx("div",{className:"nice-top-menu__actions",children:l})]})});P.displayName="NiceTopMenu";const B=h.forwardRef(({tabs:b,activeTab:N,onTabChange:a,onItemClick:p,minimized:l=!1,onMinimizeToggle:k,size:D="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const S=v.Gs(m),C=v.pc(g,m),[x,s]=h.useState(N??b[0]?.key),o=N??x,t=b.find(r=>r.key===o),u=h.useCallback(r=>{s(r),a?.(r)},[a]);return C==="hidden"?null:e.jsxs("div",{ref:y,id:S,className:`nice-ribbon-menu nice-ribbon-menu--${D} ${l?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[b.map(r=>e.jsx("button",{className:`nice-ribbon-menu__tab ${r.key===o?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(r.key),role:"tab","aria-selected":r.key===o,type:"button",children:r.label},r.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!l),type:"button","aria-label":l?"Expand":"Minimize",children:l?"▼":"▲"})]}),!l&&t&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:t.groups.map((r,_)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:r.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>p?.(i),disabled:i.disabled,type:"button",children:[i.icon&&e.jsx("span",{className:"nice-ribbon-menu__item-icon",children:i.icon}),e.jsx("span",{className:"nice-ribbon-menu__item-label",children:i.text})]},i.key))}),e.jsx("div",{className:"nice-ribbon-menu__group-label",children:r.label})]},_))})]})});B.displayName="NiceRibbonMenu";const W=h.forwardRef(({items:b,activeKey:N,onItemClick:a,position:p="bottom",autoHide:l=!1,iconSize:k=40,size:D="md",className:j,style:d,id:m,accessMode:g,...M},y)=>{const S=v.Gs(m),C=v.pc(g,m),[x,s]=h.useState(!1),o=!l||x;return C==="hidden"?null:e.jsx("div",{ref:y,id:S,className:`nice-dock-menu nice-dock-menu--${p} nice-dock-menu--${D} ${l&&!o?"nice-dock-menu--hidden":""} ${j??""}`,style:d,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),...M,children:e.jsx("div",{className:"nice-dock-menu__items",children:b.map(t=>e.jsxs("button",{className:`nice-dock-menu__item ${t.key===N?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(t),disabled:t.disabled,title:t.text,type:"button",style:{width:k,height:k},children:[t.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:t.icon}):e.jsx("span",{children:t.text[0]}),t.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:t.badge})]},t.key))})})});W.displayName="NiceDockMenu";const L=h.forwardRef(({items:b,activeKey:N,onItemClick:a,open:p,onOpenChange:l,position:k="left",panelWidth:D=280,header:j,footer:d,size:m="md",className:g,style:M,id:y,accessMode:S,...C},x)=>{const s=v.Gs(y),o=v.pc(S,y),{t}=v.Zt(),[u,r]=h.useState(!1),_=p??u,i=h.useCallback(()=>{const c=!_;r(c),l?.(c)},[_,l]),$=h.useCallback(c=>{a?.(c),r(!1),l?.(!1)},[a,l]);return o==="hidden"?null:e.jsxs("div",{ref:x,id:s,className:`nice-hamburger-menu nice-hamburger-menu--${m} ${g??""}`,style:M,...C,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":t("nav.menu","Menu"),"aria-expanded":_,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${_?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),_&&e.jsx("div",{className:"nice-hamburger-menu__backdrop",onClick:i,"aria-hidden":!0}),e.jsxs("div",{className:`nice-hamburger-menu__panel nice-hamburger-menu__panel--${k} ${_?"nice-hamburger-menu__panel--open":""}`,style:{width:D},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:b.map(c=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${c.key===N?"nice-hamburger-menu__item--active":""}`,onClick:()=>$(c),disabled:c.disabled,role:"menuitem",type:"button",children:[c.icon&&e.jsx("span",{className:"nice-hamburger-menu__item-icon",children:c.icon}),e.jsx("span",{children:c.text}),c.badge!==void 0&&e.jsx("span",{className:"nice-hamburger-menu__item-badge",children:c.badge})]})},c.key))}),d&&e.jsx("div",{className:"nice-hamburger-menu__footer",children:d})]})]})});L.displayName="NiceHamburgerMenu";const O=h.forwardRef(({canGoBack:b=!1,canGoForward:N=!1,onBack:a,onForward:p,onRefresh:l,enableShortcuts:k=!0,showRefresh:D=!0,showStop:j=!0,isLoading:d=!1,onStop:m,size:g="md",variant:M="default",tooltipPosition:y="bottom",backIcon:S,forwardIcon:C,refreshIcon:x,stopIcon:s,className:o,style:t,id:u,accessMode:r,disabled:_,...i},$)=>{const c=v.Gs(u),E=v.pc(r,u),{t:w}=v.Zt();if(h.useEffect(()=>{if(!k||_)return;const A=f=>{const R=f.altKey,H=f.ctrlKey||f.metaKey;R&&f.key==="ArrowLeft"?(f.preventDefault(),b&&a?.()):R&&f.key==="ArrowRight"?(f.preventDefault(),N&&p?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?m?.():l?.()):f.key==="Escape"&&d&&(f.preventDefault(),m?.())};return window.addEventListener("keydown",A),()=>window.removeEventListener("keydown",A)},[k,_,b,N,d,a,p,l,m]),E==="hidden")return null;const T=E==="disabled"||_,q=S??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"15 18 9 12 15 6"})}),z=C??e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("polyline",{points:"9 18 15 12 9 6"})}),F=x??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("polyline",{points:"23 4 23 10 17 10"}),e.jsx("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]}),K=s??e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]});return e.jsxs("div",{ref:$,id:c,className:`nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${M}${T?" nice-nav-controls--disabled":""}${o?` ${o}`:""}`,style:t,role:"navigation","aria-label":w("nav.controls","Navigation controls"),...i,children:[e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--back${b?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:T||!b,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:q}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${N?"":" nice-nav-controls__btn--disabled"}`,onClick:p,disabled:T||!N,"aria-label":w("nav.forward","Forward"),title:`${w("nav.forward","Forward")} (Alt+→)`,children:z}),(D||j&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:m,disabled:T,"aria-label":w("nav.stop","Stop"),title:`${w("nav.stop","Stop")} (Esc)`,children:K}):e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--refresh",onClick:l,disabled:T,"aria-label":w("nav.refresh","Refresh"),title:`${w("nav.refresh","Refresh")} (F5)`,children:F}))]})});O.displayName="NiceNavigationControls";exports.DEFAULT_SIDEBAR_PREFS=n.DEFAULT_SIDEBAR_PREFS;exports.DesktopContextMenu=n.DesktopContextMenu;exports.DesktopGrid=n.DesktopGrid;exports.DesktopStartMenu=n.DesktopStartMenu;exports.DesktopSystemTray=n.DesktopSystemTray;exports.DesktopTaskbar=n.DesktopTaskbar;exports.NiceAccordion=n.NiceAccordion;exports.NiceAppLayout=n.NiceAppLayout;exports.NiceAuthButtons=n.NiceAuthButtons;exports.NiceBottomNavigation=n.NiceBottomNavigation;exports.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;exports.NiceClassicShell=n.NiceClassicShell;exports.NiceCompactShell=n.NiceCompactShell;exports.NiceConsole=n.NiceConsole;exports.NiceContextMenu=n.NiceContextMenu;exports.NiceDashboardLayout=n.NiceDashboardLayout;exports.NiceDashboardShell=n.NiceDashboardShell;exports.NiceDesktop=n.NiceDesktop;exports.NiceDock=n.NiceDock;exports.NiceDynamicSidebar=n.NiceDynamicSidebar;exports.NiceHybridShell=n.NiceHybridShell;exports.NiceKioskShell=n.NiceKioskShell;exports.NiceMdiWorkspace=n.NiceMdiWorkspace;exports.NiceMenu=n.NiceMenu;exports.NiceMinimalShell=n.NiceMinimalShell;exports.NiceModeSelector=n.NiceModeSelector;exports.NiceModernShell=n.NiceModernShell;exports.NiceModuleLifecyclePanel=n.NiceModuleLifecyclePanel;exports.NiceMultiView=n.NiceMultiView;exports.NiceNavMenu=n.NiceNavMenu;exports.NiceNavbar=n.NiceNavbar;exports.NiceOnboardingWizard=n.NiceOnboardingWizard;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePwaShell=n.NicePwaShell;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;exports.NiceTabPanel=n.NiceTabPanel;exports.NiceTenantSwitcher=n.NiceTenantSwitcher;exports.NiceToolbar=n.NiceToolbar;exports.NiceUserMenu=n.NiceUserMenu;exports.NiceWizard=n.NiceWizard;exports.SIDEBAR_MODE_META=n.SIDEBAR_MODE_META;exports.NiceTabs=U.NiceTabs;exports.NicePagination=V.NicePagination;exports.NiceDockMenu=W;exports.NiceHamburgerMenu=L;exports.NiceNavigationControls=O;exports.NiceRibbonMenu=B;exports.NiceSidebarMenu=I;exports.NiceTopMenu=P;
@@ -59,6 +59,41 @@ export declare const DesktopSystemTray: default_2.FC<SystemTrayProps>;
59
59
 
60
60
  export declare const DesktopTaskbar: default_2.FC<TaskbarProps>;
61
61
 
62
+ /** Dropdown horizontal alignment relative to the trigger. */
63
+ declare type DropdownAlign = 'auto' | 'left' | 'right';
64
+
65
+ /**
66
+ * Dual-visibility props shared by NiceCountryPicker & NiceLanguagePicker.
67
+ * "InValue" controls trigger rendering, "InMenu" controls dropdown options.
68
+ */
69
+ declare interface DualVisibilityProps {
70
+ /** Show flag inside the trigger (selected value). Default: true */
71
+ showFlagInValue?: boolean;
72
+ /** Show flag inside dropdown options. Default: true */
73
+ showFlagInMenu?: boolean;
74
+ /** Show display text (country name / language name) inside the trigger. Default: false (compact) */
75
+ showTextInValue?: boolean;
76
+ /** Show display text inside dropdown options. Default: true */
77
+ showTextInMenu?: boolean;
78
+ }
79
+
80
+ declare interface Language {
81
+ /** BCP-47 language tag, e.g. 'en', 'en-US', 'pt-BR'. */
82
+ code: string;
83
+ /** Native language name (auto-glyph), e.g. 'Polski'. */
84
+ nativeName: string;
85
+ /** English language name, e.g. 'Polish'. */
86
+ englishName: string;
87
+ /**
88
+ * ISO 3166-1 alpha-2 country code whose flag visually represents this
89
+ * language entry (best-effort — language≠country, but flags are useful
90
+ * affordances). Override per-row via `languages` prop.
91
+ */
92
+ flagCountryCode: string;
93
+ }
94
+
95
+ declare type LanguageDisplayName = 'native' | 'english';
96
+
62
97
  /** A breadcrumb item. */
63
98
  declare interface NavbarBreadcrumb {
64
99
  label: string;
@@ -630,6 +665,67 @@ export declare interface NiceKioskShellProps extends NiceBaseProps {
630
665
  children?: React.ReactNode;
631
666
  }
632
667
 
668
+ declare interface NiceLanguagePickerProps extends NiceFormFieldProps, DualVisibilityProps {
669
+ /** Selected language code (BCP-47) */
670
+ value?: string;
671
+ /** Default selected code (uncontrolled) */
672
+ defaultValue?: string;
673
+ /** Callback when selection changes */
674
+ onChange?: (language: Language | null) => void;
675
+ /** Placeholder text shown when nothing selected (ignored in compact mode) */
676
+ placeholder?: string;
677
+ /** Enable search */
678
+ showSearch?: boolean;
679
+ /**
680
+ * Threshold below which the internal search/filter input is hidden even
681
+ * when `showSearch` is `true`. Prevents a noisy filter UI for short lists
682
+ * (e.g. 5 languages). Default: `8`. Set `0` to always show, `Infinity` to
683
+ * always hide.
684
+ */
685
+ searchThreshold?: number;
686
+ /** Search placeholder. Default: translated `'Filter languages…'`. */
687
+ searchPlaceholder?: string;
688
+ /** Controlled open state (for coordinating with sibling controls). */
689
+ isOpen?: boolean;
690
+ /** Notified whenever the dropdown open state changes. */
691
+ onOpenChange?: (open: boolean) => void;
692
+ /** Show BCP-47 code in trigger. Default: false (compact) */
693
+ showCodeInValue?: boolean;
694
+ /** Show BCP-47 code in dropdown options. Default: true */
695
+ showCodeInMenu?: boolean;
696
+ /** Which name to render. Default: 'native' (best-practice for language switchers). */
697
+ displayName?: LanguageDisplayName;
698
+ /**
699
+ * Compact mode: minimal trigger width (flag + chevron only) and smart
700
+ * dropdown alignment. Default: false.
701
+ */
702
+ compact?: boolean;
703
+ /**
704
+ * Visual variant. `'ghost'` removes border, background and the dropdown
705
+ * arrow — only the flag is shown. Designed for dense toolbars
706
+ * (e.g. NiceTopNav narrow mode). Default: `'default'`.
707
+ */
708
+ variant?: 'default' | 'ghost';
709
+ /**
710
+ * Dropdown horizontal alignment relative to trigger. `'auto'` picks the
711
+ * side with more available viewport space. Default: `'auto'` in compact
712
+ * mode, `'left'` otherwise.
713
+ */
714
+ dropdownAlign?: DropdownAlign;
715
+ /** Custom language list (overrides `LANGUAGES`). */
716
+ languages?: Language[];
717
+ /** Filter the default list to only show certain codes. */
718
+ allowedCodes?: string[];
719
+ /** Priority codes shown at the top. */
720
+ priorityCodes?: string[];
721
+ /** Allow clearing selection */
722
+ allowClear?: boolean;
723
+ /** Size variant */
724
+ size?: NiceSize;
725
+ /** Test ID */
726
+ 'data-testid'?: string;
727
+ }
728
+
633
729
  export declare const NiceMdiWorkspace: ForwardRefExoticComponent<NiceMdiWorkspaceProps & RefAttributes<HTMLDivElement>>;
634
730
 
635
731
  export declare interface NiceMdiWorkspaceProps extends NiceBaseProps {
@@ -1282,7 +1378,7 @@ export declare interface NiceRibbonTab {
1282
1378
  * @example
1283
1379
  * ```tsx
1284
1380
  * <NiceSetupWizard
1285
- * layout="sidebar"
1381
+ * layout="vertical"
1286
1382
  * steps={[
1287
1383
  * { id: 'welcome', title: 'Welcome', content: <WelcomeScreen /> },
1288
1384
  * { id: 'account', title: 'Account', fields: [
@@ -1335,8 +1431,43 @@ export declare interface NiceSetupWizardProps {
1335
1431
  persistKey?: string;
1336
1432
  /** Animation type */
1337
1433
  animation?: 'slide' | 'fade' | 'none';
1338
- /** Brand/logo element */
1434
+ /** Brand/logo element. Rendered inline at the start of the header — swap it
1435
+ * per-product (e.g. your own logo + product name). */
1339
1436
  branding?: default_2.ReactNode;
1437
+ /**
1438
+ * Show the built-in {@link NiceLanguagePicker} inline in the header, right
1439
+ * after {@link branding}. Default: `false`. Wire it up via
1440
+ * {@link languagePickerProps} (`value` / `onChange` / `allowedCodes` …).
1441
+ */
1442
+ showLanguagePicker?: boolean;
1443
+ /**
1444
+ * Props forwarded to the built-in header {@link NiceLanguagePicker}. The
1445
+ * wizard defaults it to a dense `compact` `ghost` toolbar control; anything
1446
+ * here overrides those defaults. Provide `value` + `onChange` to control it.
1447
+ */
1448
+ languagePickerProps?: Partial<NiceLanguagePickerProps>;
1449
+ /**
1450
+ * Show the built-in {@link NiceThemePicker} inline in the header, right after
1451
+ * {@link branding} (and after the language picker when both are shown).
1452
+ * Default: `false`. Wire it up via {@link themePickerProps}.
1453
+ */
1454
+ showThemePicker?: boolean;
1455
+ /**
1456
+ * Props forwarded to the built-in header {@link NiceThemePicker}. The wizard
1457
+ * defaults it to a dense `compact` `ghost` toolbar control; anything here
1458
+ * overrides those defaults. Provide `value` + `onChange` to control it.
1459
+ */
1460
+ themePickerProps?: Partial<NiceThemePickerProps>;
1461
+ /**
1462
+ * Show the **restart** control (refresh icon) inline in the header. Clicking
1463
+ * it opens a confirmation popup (unless {@link NiceSetupWizardRestartConfig.skipConfirm})
1464
+ * and then fires {@link onRestart}. Default: `false`.
1465
+ */
1466
+ showRestart?: boolean;
1467
+ /** Fired when the user confirms the restart action (see {@link showRestart}). */
1468
+ onRestart?: () => void;
1469
+ /** Customize the restart control + its confirmation popup. */
1470
+ restart?: NiceSetupWizardRestartConfig;
1340
1471
  /** Header content */
1341
1472
  header?: default_2.ReactNode;
1342
1473
  /** Footer content */
@@ -1366,6 +1497,29 @@ export declare interface NiceSetupWizardProps {
1366
1497
  style?: default_2.CSSProperties;
1367
1498
  }
1368
1499
 
1500
+ /**
1501
+ * Configuration for the built-in header **restart** control — a refresh-icon
1502
+ * button that (by default) opens a confirmation popup before firing
1503
+ * {@link NiceSetupWizardProps.onRestart}. Use it to let operators start the
1504
+ * whole setup process over from the beginning.
1505
+ */
1506
+ declare interface NiceSetupWizardRestartConfig {
1507
+ /** Custom icon. Defaults to a refresh / circular-arrow glyph. */
1508
+ icon?: default_2.ReactNode;
1509
+ /** Tooltip + accessible label for the button. */
1510
+ label?: string;
1511
+ /** Confirmation popup title. */
1512
+ confirmTitle?: string;
1513
+ /** Confirmation popup message/body. */
1514
+ confirmMessage?: default_2.ReactNode;
1515
+ /** Confirm (accept) button label. */
1516
+ confirmLabel?: string;
1517
+ /** Cancel (reject) button label. */
1518
+ cancelLabel?: string;
1519
+ /** Skip the confirmation popup and call `onRestart` immediately. Default: `false`. */
1520
+ skipConfirm?: boolean;
1521
+ }
1522
+
1369
1523
  export declare interface NiceShellProps extends NiceBaseProps {
1370
1524
  /** Navigation data for sidebar / menus. */
1371
1525
  menu?: NiceUserMenuResponse;
@@ -1697,6 +1851,152 @@ export declare interface NiceTenantSwitcherProps extends NiceFormFieldProps {
1697
1851
  searchable?: boolean;
1698
1852
  }
1699
1853
 
1854
+ /**
1855
+ * Descriptor of a single theme available in the switcher. The `preview`
1856
+ * colours are used to render the mini page-thumbnail in the trigger and
1857
+ * dropdown options.
1858
+ */
1859
+ declare interface NiceThemeDescriptor {
1860
+ /** Stable theme id, e.g. `'omniverk-light'`, `'cyberpunk-neon'`. */
1861
+ id: string;
1862
+ /** Display name (English / fallback), e.g. `'Omniverk Light'`. */
1863
+ name: string;
1864
+ /** Native or translated name (optional). When present, takes precedence over `name`. */
1865
+ nativeName?: string;
1866
+ /** Colour swatches used to draw the preview thumbnail. */
1867
+ preview: ThemePreviewColors;
1868
+ /**
1869
+ * Whether the theme is built-in / read-only. Edit affordances are hidden
1870
+ * for read-only themes unless `edit.allowEditBuiltIn === true`.
1871
+ */
1872
+ readOnly?: boolean;
1873
+ /** Free-form metadata (author, tags, etc.). Not interpreted by the picker. */
1874
+ meta?: Record<string, unknown>;
1875
+ }
1876
+
1877
+ /**
1878
+ * Configuration for the optional add/edit-theme affordances. When `enabled`
1879
+ * is true the dropdown gains:
1880
+ * - a sticky `[+] Add theme` button at the bottom,
1881
+ * - a pencil icon next to each editable theme option.
1882
+ *
1883
+ * Both actions navigate to a configured editor route and pass back a
1884
+ * `returnUrl` so the editor can return the user to where they came from.
1885
+ */
1886
+ declare interface NiceThemePickerEditConfig {
1887
+ enabled: boolean;
1888
+ /** Base editor route, e.g. `'/settings/themes'`. */
1889
+ editorRoute: string;
1890
+ /**
1891
+ * Builds the full URL to navigate to. Defaults to a query-string scheme:
1892
+ * edit: `${editorRoute}?themeId=${id}&returnUrl=${encoded}`
1893
+ * add: `${editorRoute}/new?returnUrl=${encoded}`
1894
+ */
1895
+ buildUrl?: (params: {
1896
+ themeId?: string;
1897
+ returnUrl: string;
1898
+ }) => string;
1899
+ /**
1900
+ * Performs the navigation. Defaults to `window.location.href = url`.
1901
+ * Consumers using React Router / Next.js can pass `router.push` etc.
1902
+ */
1903
+ navigate?: (url: string) => void;
1904
+ /** Override for the return URL. Default: `window.location.href`. */
1905
+ returnUrl?: string;
1906
+ /** Label for the add button. Default i18n key: `themePicker.addTheme`. */
1907
+ addLabel?: string;
1908
+ /** ARIA label for the per-row pencil icon. Default i18n key: `themePicker.editTheme`. */
1909
+ editLabel?: string;
1910
+ /** Allow the pencil icon to appear on read-only / built-in themes. Default: false. */
1911
+ allowEditBuiltIn?: boolean;
1912
+ /**
1913
+ * "Add new theme" button rendered at the TOP of the dropdown.
1914
+ * When omitted the add button falls back to the legacy bottom position
1915
+ * (driven by `enabled`) for backward compatibility.
1916
+ */
1917
+ addNew?: {
1918
+ /** Whether to show the add-new button. Default: false. */
1919
+ enabled?: boolean;
1920
+ /** Button label. Overrides `addLabel`. */
1921
+ label?: string;
1922
+ };
1923
+ }
1924
+
1925
+ declare interface NiceThemePickerProps extends NiceFormFieldProps, DualVisibilityProps {
1926
+ /** Selected theme id */
1927
+ value?: string;
1928
+ /** Default theme id (uncontrolled) */
1929
+ defaultValue?: string;
1930
+ /** Callback when selection changes */
1931
+ onChange?: (theme: NiceThemeDescriptor | null) => void;
1932
+ /**
1933
+ * Available themes. Defaults to {@link NICE_THEME_PICKER_PRESETS} (all
1934
+ * built-in presets adapted from {@link NICE_THEME_PRESETS}). Pass an
1935
+ * explicit array to override or to add custom themes alongside the presets.
1936
+ *
1937
+ * Note: passing `[]` will produce an empty dropdown and emit a dev-mode
1938
+ * warning. Omit the prop entirely to fall back to the built-in presets.
1939
+ */
1940
+ themes?: NiceThemeDescriptor[];
1941
+ /** Placeholder shown when nothing is selected (ignored in compact mode). */
1942
+ placeholder?: string;
1943
+ /** Enable search */
1944
+ showSearch?: boolean;
1945
+ /**
1946
+ * Threshold below which the internal search/filter input is hidden even
1947
+ * when `showSearch` is `true`. Prevents a noisy filter UI for short lists
1948
+ * (e.g. 6 themes). Default: `8`. Set `0` to always show, `Infinity` to
1949
+ * always hide.
1950
+ */
1951
+ searchThreshold?: number;
1952
+ /** Search placeholder. Default: translated `'Filter themes…'`. */
1953
+ searchPlaceholder?: string;
1954
+ /** Controlled open state (for coordinating with sibling controls). */
1955
+ isOpen?: boolean;
1956
+ /** Notified whenever the dropdown open state changes. */
1957
+ onOpenChange?: (open: boolean) => void;
1958
+ /** Show preview thumbnail in trigger. Default: true */
1959
+ showPreviewInValue?: boolean;
1960
+ /** Show preview thumbnail in dropdown options. Default: true */
1961
+ showPreviewInMenu?: boolean;
1962
+ /** Show theme id in trigger. Default: false */
1963
+ showIdInValue?: boolean;
1964
+ /** Show theme id in dropdown options. Default: false */
1965
+ showIdInMenu?: boolean;
1966
+ /**
1967
+ * Compact mode: minimal trigger width (preview + chevron only) with smart
1968
+ * dropdown alignment. Default: false.
1969
+ */
1970
+ compact?: boolean;
1971
+ /**
1972
+ * Visual variant. `'ghost'` removes border, background and the dropdown
1973
+ * arrow — only the preview swatch is shown. Designed for dense toolbars
1974
+ * (e.g. NiceTopNav narrow mode). Default: `'default'`.
1975
+ */
1976
+ variant?: 'default' | 'ghost';
1977
+ /** Dropdown horizontal alignment. Default: `'auto'` in compact, `'left'` otherwise. */
1978
+ dropdownAlign?: DropdownAlign;
1979
+ /**
1980
+ * Preview thumbnail size (px) — width. Height is derived (~75% of width).
1981
+ * Defaults: 24 in compact, 32 in full mode.
1982
+ */
1983
+ previewSize?: number;
1984
+ /**
1985
+ * Preview rendering style:
1986
+ * - `'page'` (default): a small "page" thumbnail with header/text/sidebar.
1987
+ * - `'swatch'`: a flag-like vertical colour stripe (cheaper, less informative).
1988
+ */
1989
+ previewShape?: 'page' | 'swatch';
1990
+ /** Add/edit affordances. Hidden when `enabled` is false (default). */
1991
+ edit?: NiceThemePickerEditConfig;
1992
+ /** Allow clearing selection. Default: false (a theme is usually mandatory). */
1993
+ allowClear?: boolean;
1994
+ /** Size variant */
1995
+ size?: NiceSize;
1996
+ /** Test ID */
1997
+ 'data-testid'?: string;
1998
+ }
1999
+
1700
2000
  export declare const NiceToolbar: default_2.FC<NiceToolbarProps>;
1701
2001
 
1702
2002
  /** A toolbar entry in the {@link NiceToolbar}. */
@@ -1889,8 +2189,9 @@ declare interface SetupWizardContext {
1889
2189
  t: (key: string, defaultValue: string) => string;
1890
2190
  }
1891
2191
 
1892
- /** Layout variant */
1893
- declare type SetupWizardLayout = 'horizontal' | 'vertical' | 'cards' | 'minimal' | 'sidebar';
2192
+ /** Layout variant. (`cards` + `sidebar` removed in 1.0.28; `vertical` now renders
2193
+ * the former sidebar-style stepper column with sticky, independently-scrollable nav.) */
2194
+ declare type SetupWizardLayout = 'horizontal' | 'vertical' | 'minimal';
1894
2195
 
1895
2196
  /** Step definition */
1896
2197
  declare interface SetupWizardStep {
@@ -1919,7 +2220,7 @@ declare interface SetupWizardStep {
1919
2220
  minDuration?: number;
1920
2221
  /** Summary to show in review step */
1921
2222
  summary?: (values: Record<string, unknown>) => default_2.ReactNode;
1922
- /** Category/group for sidebar layout */
2223
+ /** Category/group for the vertical layout stepper */
1923
2224
  category?: string;
1924
2225
  /** Badge to show on step indicator */
1925
2226
  badge?: default_2.ReactNode;
@@ -1953,6 +2254,8 @@ export declare interface SidebarNavDataNode {
1953
2254
  export declare interface SidebarNavDataSource {
1954
2255
  id: string;
1955
2256
  label: string;
2257
+ /** Custom hover tooltip. Falls back to `label` when omitted. */
2258
+ tooltip?: ReactNode;
1956
2259
  icon?: ReactNode;
1957
2260
  color?: string;
1958
2261
  /** Server URL or connection string hint */
@@ -1964,6 +2267,8 @@ export declare interface SidebarNavDataSource {
1964
2267
  export declare interface SidebarNavFavorite {
1965
2268
  id: string;
1966
2269
  label: string;
2270
+ /** Custom hover tooltip. Falls back to `label` when omitted. */
2271
+ tooltip?: ReactNode;
1967
2272
  icon?: ReactNode;
1968
2273
  route?: string;
1969
2274
  sourceId?: string;
@@ -1987,6 +2292,8 @@ export declare type SidebarNavMode = 'all' | 'by-role' | 'by-unit' | 'favorites'
1987
2292
  export declare interface SidebarNavModule {
1988
2293
  id: string;
1989
2294
  label: string;
2295
+ /** Custom hover tooltip. Falls back to `label` when omitted. */
2296
+ tooltip?: ReactNode;
1990
2297
  icon?: ReactNode;
1991
2298
  views: SidebarNavView[];
1992
2299
  /** Source this module belongs to */
@@ -1997,6 +2304,8 @@ export declare interface SidebarNavModule {
1997
2304
  export declare interface SidebarNavRole {
1998
2305
  id: string;
1999
2306
  label: string;
2307
+ /** Custom hover tooltip. Falls back to `label` when omitted. */
2308
+ tooltip?: ReactNode;
2000
2309
  icon?: ReactNode;
2001
2310
  modules: SidebarNavModule[];
2002
2311
  /** Source this role belongs to */
@@ -2007,6 +2316,8 @@ export declare interface SidebarNavRole {
2007
2316
  export declare interface SidebarNavUnit {
2008
2317
  id: string;
2009
2318
  label: string;
2319
+ /** Custom hover tooltip. Falls back to `label` when omitted. */
2320
+ tooltip?: ReactNode;
2010
2321
  icon?: ReactNode;
2011
2322
  modules: SidebarNavModule[];
2012
2323
  /** Source this unit belongs to */
@@ -2060,6 +2371,8 @@ export declare interface SidebarNavUserPrefs {
2060
2371
  export declare interface SidebarNavView {
2061
2372
  id: string;
2062
2373
  label: string;
2374
+ /** Custom hover tooltip. Falls back to `label` when omitted. */
2375
+ tooltip?: ReactNode;
2063
2376
  icon?: ReactNode;
2064
2377
  /** Route path for navigation */
2065
2378
  route?: string;
@@ -2106,6 +2419,20 @@ declare interface TenantEntry {
2106
2419
  isCurrent?: boolean;
2107
2420
  }
2108
2421
 
2422
+ /** Colours used to render a theme preview thumbnail. All optional except `background`. */
2423
+ declare interface ThemePreviewColors {
2424
+ /** Main page background. */
2425
+ background: string;
2426
+ /** Sidebar / secondary surface (left bar in 'page' shape). */
2427
+ backgroundSecondary?: string;
2428
+ /** Accent / header bar colour. */
2429
+ primary: string;
2430
+ /** Body text colour (rendered as a thin line). */
2431
+ textColor: string;
2432
+ /** Optional border (defaults to a translucent overlay). */
2433
+ border?: string;
2434
+ }
2435
+
2109
2436
  /** A menu item in the user menu. */
2110
2437
  declare interface UserMenuItem {
2111
2438
  id: string;
@@ -1,9 +1,9 @@
1
- import { D as ae, a as ie, b as ce, c as se, d as le, e as te, N as re, f as oe, g as de, h as ue, i as be, j as me, k as _e, l as he, m as pe, n as Ne, o as ve, p as ke, q as ye, r as fe, s as ge, t as $e, u as xe, v as we, w as Me, x as Ce, y as De, z as Se, A as Ee, B as Ie, C as Te, E as Ae, F as Pe, G as Be, H as Le, I as Re, J as We, K as Ke, L as Oe, M as Fe, O as He, P as je, Q as ze, S as Ue } from "./NiceModuleLifecyclePanel-Bhd8VNjU.js";
1
+ import { D as ae, a as ie, b as ce, c as se, d as le, e as te, N as re, f as oe, g as de, h as ue, i as be, j as me, k as _e, l as he, m as pe, n as Ne, o as ve, p as ke, q as ye, r as fe, s as ge, t as $e, u as xe, v as we, w as Me, x as Ce, y as De, z as Se, A as Ee, B as Ie, C as Te, E as Ae, F as Pe, G as Be, H as Le, I as Re, J as We, K as Ke, L as Oe, M as Fe, O as He, P as je, Q as ze, S as Ue } from "./NiceModuleLifecyclePanel-BY3zmDOy.js";
2
2
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
3
- import { G as E, p as I, Z as W } from "./core-BHZDvnBo.js";
3
+ import { G as E, p as I, Z as W } from "./core-BbGBF3q0.js";
4
4
  import { forwardRef as T, useState as P, useCallback as B, useEffect as z } from "react";
5
- import { f as Ze } from "./NiceTabs-MBVJomax.js";
6
- import { N as Je } from "./NicePagination-kokSP8ls.js";
5
+ import { f as Ze } from "./pickerCommons-DWhw7aWu.js";
6
+ import { N as Je } from "./NicePagination-BAxcfqnE.js";
7
7
  const U = T(
8
8
  ({
9
9
  items: b,