@nice2dev/ui 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +50 -29
  3. package/css/legacy-bg-text-aliases.css +65 -61
  4. package/dist/NiceCodeEditor-Bc81wiaN.js +1134 -0
  5. package/dist/NiceCodeEditor-D6f8KdHN.js +1134 -0
  6. package/dist/NiceCodeEditor-DE3saxyt.cjs +260 -0
  7. package/dist/NiceCodeEditor-DZM16My5.cjs +260 -0
  8. package/dist/NiceCodeEditor-HqmcJjmZ.js +1179 -0
  9. package/dist/NiceColorPicker-6EqXaDj0.cjs +1 -0
  10. package/dist/NiceColorPicker-BiEWqWnd.js +596 -0
  11. package/dist/NiceColorPicker-Cuc6YXqz.cjs +1 -0
  12. package/dist/NiceColorPicker-DMATcNWG.js +596 -0
  13. package/dist/NiceColorPicker-R3O1nemp.js +596 -0
  14. package/dist/NiceConfirmDialog-B0e10fRL.cjs +1 -0
  15. package/dist/NiceConfirmDialog-BBDgEMHv.js +81 -0
  16. package/dist/NiceConfirmDialog-C7kdr8jJ.js +81 -0
  17. package/dist/NiceConfirmDialog-DMHqPfFM.js +81 -0
  18. package/dist/NiceConfirmDialog-ZJpQLQQS.cjs +1 -0
  19. package/dist/NiceDataGrid-BzUw4dSu.cjs +10 -0
  20. package/dist/NiceDataGrid-CPKcVOVz.js +1743 -0
  21. package/dist/NiceDataGrid-DJr33WMy.cjs +10 -0
  22. package/dist/NiceDataGrid-D_4gZ1Hu.js +1736 -0
  23. package/dist/NiceDataGrid-DlUAaXhD.js +1736 -0
  24. package/dist/NiceDocumentViewer-8ghRVtfO.js +672 -0
  25. package/dist/NiceDocumentViewer-ChWtA_Ry.cjs +180 -0
  26. package/dist/NiceDocumentViewer-DwLUV7Tc.js +672 -0
  27. package/dist/NiceDocumentViewer-goMzF1w3.cjs +180 -0
  28. package/dist/NiceDocumentViewer-gt1mxzP8.js +672 -0
  29. package/dist/NiceForm-CHEAHxDw.js +4805 -0
  30. package/dist/NiceForm-CJUp1CL0.cjs +1 -0
  31. package/dist/NiceForm-Cp_RH3Yj.js +4805 -0
  32. package/dist/NiceForm-a6tGr6ss.js +4819 -0
  33. package/dist/NiceForm-jU89oe2S.cjs +1 -0
  34. package/dist/NiceGantt-BnQwyTfG.cjs +1 -0
  35. package/dist/NiceGantt-D8coFAvK.js +328 -0
  36. package/dist/NiceGantt-DOZfT6r5.js +328 -0
  37. package/dist/NiceGantt-DQzH1V-R.js +328 -0
  38. package/dist/NiceGantt-jQ8ZpXko.cjs +1 -0
  39. package/dist/NiceHtmlEditor-B1nlXJNW.cjs +10 -0
  40. package/dist/NiceHtmlEditor-Bv3VqJPG.js +862 -0
  41. package/dist/NiceHtmlEditor-CKsGj-Ei.cjs +10 -0
  42. package/dist/NiceHtmlEditor-CloMgyzg.js +841 -0
  43. package/dist/NiceHtmlEditor-DUAHmkWI.js +841 -0
  44. package/dist/NiceLoginForm-Ce_QLnLf.js +736 -0
  45. package/dist/NiceLoginForm-DLpNTQlR.cjs +1 -0
  46. package/dist/NiceLoginForm-Dg0286Cc.js +736 -0
  47. package/dist/NiceLoginForm-X05Vadeg.js +708 -0
  48. package/dist/NiceLoginForm-f_dBCnUi.cjs +1 -0
  49. package/dist/NiceMention-BByI4nFG.js +11120 -0
  50. package/dist/NiceMention-C2TPiMph.cjs +430 -0
  51. package/dist/NiceMention-C67vT6m0.js +11145 -0
  52. package/dist/NiceMention-D1cdy63w.cjs +430 -0
  53. package/dist/NiceMention-QIuggb9Y.js +11122 -0
  54. package/dist/NiceMention.css +1 -1
  55. package/dist/NiceModal-CHaan9al.js +95 -0
  56. package/dist/NiceModal-Czq6OEAT.js +95 -0
  57. package/dist/NiceModal-D-HFwawr.js +95 -0
  58. package/dist/NiceModal-DOy2XTzc.cjs +1 -0
  59. package/dist/NiceModal-DkawKzEE.cjs +1 -0
  60. package/dist/NiceModuleLifecyclePanel-1CsP8Zst.js +6997 -0
  61. package/dist/NiceModuleLifecyclePanel-Bkx4Yg-3.cjs +1 -0
  62. package/dist/NiceModuleLifecyclePanel-C5oYtczk.js +6999 -0
  63. package/dist/NiceModuleLifecyclePanel-DCcy2yYi.cjs +1 -0
  64. package/dist/NiceModuleLifecyclePanel-DqdgW-0s.js +7004 -0
  65. package/dist/NiceModuleLifecyclePanel.css +1 -1
  66. package/dist/NicePagination-7od5KUa3.cjs +1 -0
  67. package/dist/NicePagination-DMrkR8hH.cjs +1 -0
  68. package/dist/NicePagination-DQmZpsSQ.js +179 -0
  69. package/dist/NicePagination-DipQRjPq.js +172 -0
  70. package/dist/NicePagination-KhlVXYaT.js +172 -0
  71. package/dist/NicePivotGrid-B-KthuqL.cjs +152 -0
  72. package/dist/NicePivotGrid-CLCTHkKO.cjs +152 -0
  73. package/dist/NicePivotGrid-DV54FCsH.js +1174 -0
  74. package/dist/NicePivotGrid-DoWLUPUs.js +1167 -0
  75. package/dist/NicePivotGrid-etwpfccz.js +1167 -0
  76. package/dist/NiceSavedQueryPanel-BABkTNc5.js +5129 -0
  77. package/dist/NiceSavedQueryPanel-Cfeig83P.cjs +586 -0
  78. package/dist/NiceSavedQueryPanel-DTWRLseb.cjs +586 -0
  79. package/dist/NiceSavedQueryPanel-Dy154sxE.js +5129 -0
  80. package/dist/NiceSavedQueryPanel-v7AffOOe.js +5129 -0
  81. package/dist/NiceSavedQueryPanel.css +1 -1
  82. package/dist/NiceScheduler-BEgB7ZgF.cjs +5 -0
  83. package/dist/NiceScheduler-C9JprsEI.cjs +5 -0
  84. package/dist/NiceScheduler-DSP-PPh0.js +1645 -0
  85. package/dist/NiceScheduler-DuPnaA3t.js +1652 -0
  86. package/dist/NiceScheduler-Oa89YZx9.js +1645 -0
  87. package/dist/NiceSelect-A336yeLZ.js +433 -0
  88. package/dist/NiceSelect-B5hTbqi2.js +433 -0
  89. package/dist/NiceSelect-BYSgDYzq.cjs +1 -0
  90. package/dist/NiceSelect-Dudf2T5T.js +433 -0
  91. package/dist/NiceSelect-DwBAIrX7.cjs +1 -0
  92. package/dist/NiceWindow-B6zjBTl9.cjs +1 -0
  93. package/dist/NiceWindow-BKQEx7Vf.js +1623 -0
  94. package/dist/NiceWindow-BnTH7Gy0.js +1623 -0
  95. package/dist/NiceWindow-CZN9NVZw.cjs +1 -0
  96. package/dist/NiceWindow-lxtPR7yZ.js +1623 -0
  97. package/dist/NiceWindow.css +1 -1
  98. package/dist/charts-B8_V3_nq.cjs +882 -0
  99. package/dist/charts-BZgyyybE.js +31933 -0
  100. package/dist/charts-FuDk5-r6.js +31958 -0
  101. package/dist/charts-INj3yFo5.js +31946 -0
  102. package/dist/charts-NolNXKUL.cjs +882 -0
  103. package/dist/charts.cjs +1 -1
  104. package/dist/charts.css +1 -1
  105. package/dist/charts.mjs +1 -1
  106. package/dist/core-A_A6c7an.js +795 -0
  107. package/dist/core-B2iH2J_X.js +795 -0
  108. package/dist/core-BmspZEfD.js +795 -0
  109. package/dist/core-DAfLOet6.cjs +1 -0
  110. package/dist/core-ZG3bgnBR.cjs +1 -0
  111. package/dist/data-branching-B3TOqXAO.cjs +1 -0
  112. package/dist/data-branching-BUGiICDZ.js +6275 -0
  113. package/dist/data-branching-DMXmcocj.js +6275 -0
  114. package/dist/data-branching-YE8P9M5P.js +6275 -0
  115. package/dist/data-branching-t6uhAwIm.cjs +1 -0
  116. package/dist/data-branching.cjs +1 -1
  117. package/dist/data-branching.mjs +1 -1
  118. package/dist/data.cjs +1 -1
  119. package/dist/data.d.ts +7 -2
  120. package/dist/data.mjs +3 -3
  121. package/dist/devops-BhV3OmF7.js +8285 -0
  122. package/dist/devops-BqUxnbRi.cjs +17 -0
  123. package/dist/devops-Bx-Qwj9w.cjs +17 -0
  124. package/dist/devops-DYZatW45.js +8251 -0
  125. package/dist/devops-R98k2zpd.js +8251 -0
  126. package/dist/devops.cjs +1 -1
  127. package/dist/devops.d.ts +29 -16
  128. package/dist/devops.mjs +1 -1
  129. package/dist/editors.cjs +1 -1
  130. package/dist/editors.d.ts +35 -20
  131. package/dist/editors.mjs +7 -7
  132. package/dist/feedback.cjs +1 -1
  133. package/dist/feedback.mjs +3 -3
  134. package/dist/index.cjs +445 -445
  135. package/dist/index.css +1 -1
  136. package/dist/index.d.ts +190 -111
  137. package/dist/index.mjs +16635 -16351
  138. package/dist/lazy.cjs +1 -1
  139. package/dist/lazy.d.ts +31 -18
  140. package/dist/lazy.mjs +24 -24
  141. package/dist/navigation.cjs +1 -1
  142. package/dist/navigation.d.ts +17 -14
  143. package/dist/navigation.mjs +130 -130
  144. package/dist/no-code-BPaAS4wW.cjs +332 -0
  145. package/dist/no-code-CBwUVL1i.js +7447 -0
  146. package/dist/no-code-CjktkQ50.js +7447 -0
  147. package/dist/no-code-DW2NrRba.js +7447 -0
  148. package/dist/no-code-DmFxrZ5T.cjs +332 -0
  149. package/dist/no-code.cjs +1 -1
  150. package/dist/no-code.d.ts +2 -2
  151. package/dist/no-code.mjs +1 -1
  152. package/dist/overlays.cjs +1 -1
  153. package/dist/overlays.d.ts +4 -4
  154. package/dist/overlays.mjs +2 -2
  155. package/dist/pickerCommons-C4XWRUvH.cjs +1 -0
  156. package/dist/pickerCommons-C_BpYs_m.cjs +1 -0
  157. package/dist/pickerCommons-DAOXH_u5.js +1122 -0
  158. package/dist/pickerCommons-Dn4wnDco.js +1122 -0
  159. package/dist/pickerCommons-DskswPS5.js +1122 -0
  160. package/dist/pickerCommons.css +1 -1
  161. package/dist/style.css +7 -7
  162. package/package.json +3 -3
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-CU0sOVEA.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-CU0sOVEA.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-C58g8_fb.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-DC6hcBQN.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B-sl1V9y.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B-sl1V9y.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-B-sl1V9y.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-BqUxnbRi.cjs")).then(e=>e.NiceGitGraph$1).then(e=>({default:e.NiceGitGraph}))),o=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NiceBranchManager$1).then(e=>({default:e.NiceBranchManager}))),l=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NiceGitDiffViewer$1).then(e=>({default:e.NiceGitDiffViewer}))),s=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NiceGitBlame$1).then(e=>({default:e.NiceGitBlame}))),h=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NiceGitConflictResolver$1).then(e=>({default:e.NiceGitConflictResolver}))),c=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NicePipelineEditor$1).then(e=>({default:e.NicePipelineEditor}))),y=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NicePipelineMonitor$1).then(e=>({default:e.NicePipelineMonitor}))),u=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NiceGitHooks$1).then(e=>({default:e.NiceGitHooks}))),z=a.lazy(()=>Promise.resolve().then(()=>require("./devops-BqUxnbRi.cjs")).then(e=>e.NiceMergeRequestBuilder$1).then(e=>({default:e.NiceMergeRequestBuilder}))),d=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DmFxrZ5T.cjs")).then(e=>e.NiceAPIFlow$1).then(e=>({default:e.NiceAPIFlow}))),f=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DmFxrZ5T.cjs")).then(e=>e.NiceCodeTemplate$1).then(e=>({default:e.NiceCodeTemplate}))),N=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DmFxrZ5T.cjs")).then(e=>e.NiceDataMapper$1).then(e=>({default:e.NiceDataMapper}))),L=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DmFxrZ5T.cjs")).then(e=>e.NiceEventOrchestrator$1).then(e=>({default:e.NiceEventOrchestrator}))),p=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DmFxrZ5T.cjs")).then(e=>e.NiceStateDesigner$1).then(e=>({default:e.NiceStateDesigner}))),v=a.lazy(()=>Promise.resolve().then(()=>require("./no-code-DmFxrZ5T.cjs")).then(e=>e.NiceTestBuilder$1).then(e=>({default:e.NiceTestBuilder}))),D=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-t6uhAwIm.cjs")).then(e=>e.NiceDataBranchManager$1).then(e=>({default:e.NiceDataBranchManager}))),P=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-t6uhAwIm.cjs")).then(e=>e.NiceDataDiffViewer$1).then(e=>({default:e.NiceDataDiffViewer}))),m=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-t6uhAwIm.cjs")).then(e=>e.NiceDataBranchGraph$1).then(e=>({default:e.NiceDataBranchGraph}))),q=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-t6uhAwIm.cjs")).then(e=>e.NiceDataMergeBuilder$1).then(e=>({default:e.NiceDataMergeBuilder}))),B=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-t6uhAwIm.cjs")).then(e=>e.NiceDataConflictResolver$1).then(e=>({default:e.NiceDataConflictResolver}))),M=a.lazy(()=>Promise.resolve().then(()=>require("./data-branching-t6uhAwIm.cjs")).then(e=>e.NiceDataSnapshot$1).then(e=>({default:e.NiceDataSnapshot}))),G=a.lazy(()=>Promise.resolve().then(()=>require("./charts-NolNXKUL.cjs")).then(e=>e.NiceChart$1).then(e=>({default:e.NiceChart}))),g=a.lazy(()=>Promise.resolve().then(()=>require("./charts-NolNXKUL.cjs")).then(e=>e.NiceTreeMap$1).then(e=>({default:e.NiceTreeMap}))),$=a.lazy(()=>Promise.resolve().then(()=>require("./charts-NolNXKUL.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.d.ts CHANGED
@@ -865,8 +865,8 @@ declare interface NiceChartSeries {
865
865
  }
866
866
 
867
867
  declare interface NiceCodeTemplateProps extends NiceBaseProps {
868
- /** Available templates */
869
- templates: CodeTemplate[];
868
+ /** Available templates. Defaults to none. */
869
+ templates?: CodeTemplate[];
870
870
  /** Framework presets */
871
871
  presets?: FrameworkPreset[];
872
872
  /** Currently selected template */
@@ -1063,8 +1063,8 @@ declare interface NiceGitConflictResolverProps extends NiceBaseProps {
1063
1063
  }
1064
1064
 
1065
1065
  declare interface NiceGitDiffViewerProps extends NiceBaseProps {
1066
- /** Diff files */
1067
- files: DiffFile[];
1066
+ /** Diff files. Defaults to none. */
1067
+ files?: DiffFile[];
1068
1068
  /** View mode */
1069
1069
  viewMode?: DiffViewMode;
1070
1070
  /** Show whitespace changes */
@@ -1089,12 +1089,12 @@ declare interface NiceGitDiffViewerProps extends NiceBaseProps {
1089
1089
  }
1090
1090
 
1091
1091
  declare interface NiceGitGraphProps extends NiceBaseProps {
1092
- /** Commits to display (newest first) */
1093
- commits: GitCommit[];
1094
- /** All branches */
1095
- branches: GitBranch[];
1096
- /** All tags */
1097
- tags: GitTag[];
1092
+ /** Commits to display (newest first). Defaults to none. */
1093
+ commits?: GitCommit[];
1094
+ /** All branches. Defaults to none. */
1095
+ branches?: GitBranch[];
1096
+ /** All tags. Defaults to none. */
1097
+ tags?: GitTag[];
1098
1098
  /** Currently checked out branch/commit */
1099
1099
  head?: string;
1100
1100
  /** Selected commit hash */
@@ -1131,8 +1131,13 @@ declare interface NiceGitGraphProps extends NiceBaseProps {
1131
1131
  }
1132
1132
 
1133
1133
  declare interface NiceGitHooksProps extends NiceBaseProps {
1134
- /** Current hooks configuration */
1135
- hooks: GitHook[];
1134
+ /**
1135
+ * Hooks configuration. Controlled only together with `onHooksChange`; on its own it is
1136
+ * the initial configuration the editor then keeps in a local copy.
1137
+ */
1138
+ hooks?: GitHook[];
1139
+ /** Initial hooks configuration when uncontrolled. */
1140
+ defaultHooks?: GitHook[];
1136
1141
  /** Available templates */
1137
1142
  templates?: HookTemplate[];
1138
1143
  /** Hook manager type */
@@ -1141,7 +1146,10 @@ declare interface NiceGitHooksProps extends NiceBaseProps {
1141
1146
  repoPath?: string;
1142
1147
  /** Currently editing hook */
1143
1148
  selectedHook?: GitHookType;
1149
+ /** Called with each hook the user changed. */
1144
1150
  onHookChange?: (hook: GitHook) => void;
1151
+ /** Called with the whole hooks list after any change. */
1152
+ onHooksChange?: (hooks: GitHook[]) => void;
1145
1153
  onHookToggle?: (hookType: GitHookType, enabled: boolean) => void;
1146
1154
  onActionAdd?: (hookType: GitHookType, action: HookAction) => void;
1147
1155
  onActionRemove?: (hookType: GitHookType, actionId: string) => void;
@@ -1152,8 +1160,8 @@ declare interface NiceGitHooksProps extends NiceBaseProps {
1152
1160
  }
1153
1161
 
1154
1162
  declare interface NiceMergeRequestBuilderProps extends NiceBaseProps {
1155
- /** Available branches */
1156
- branches: Array<{
1163
+ /** Available branches. Defaults to none. */
1164
+ branches?: Array<{
1157
1165
  name: string;
1158
1166
  isRemote?: boolean;
1159
1167
  }>;
@@ -1184,9 +1192,13 @@ declare interface NiceMergeRequestBuilderProps extends NiceBaseProps {
1184
1192
  }
1185
1193
 
1186
1194
  declare interface NicePipelineEditorProps extends NiceBaseProps {
1187
- pipeline: Pipeline;
1195
+ /** The pipeline (controlled). Omit it to let the editor keep its own. */
1196
+ pipeline?: Pipeline;
1197
+ /** Initial pipeline when uncontrolled. */
1198
+ defaultPipeline?: Pipeline;
1188
1199
  templates: PipelineTemplate[];
1189
- runners: Array<{
1200
+ /** Runners a job can be assigned to. Defaults to none. */
1201
+ runners?: Array<{
1190
1202
  id: string;
1191
1203
  name: string;
1192
1204
  os: string;
@@ -1197,7 +1209,7 @@ declare interface NicePipelineEditorProps extends NiceBaseProps {
1197
1209
  name: string;
1198
1210
  protection: boolean;
1199
1211
  }>;
1200
- onPipelineChange: (pipeline: Pipeline) => void;
1212
+ onPipelineChange?: (pipeline: Pipeline) => void;
1201
1213
  onStageAdd: () => void;
1202
1214
  onStageRemove: (stageId: string) => void;
1203
1215
  onStageMove: (stageId: string, direction: 'up' | 'down') => void;
@@ -1218,7 +1230,8 @@ declare interface NicePipelineEditorProps extends NiceBaseProps {
1218
1230
  }
1219
1231
 
1220
1232
  declare interface NicePipelineMonitorProps extends NiceBaseProps {
1221
- runs: PipelineRun[];
1233
+ /** Pipeline runs. Defaults to none. */
1234
+ runs?: PipelineRun[];
1222
1235
  stats?: PipelineStats;
1223
1236
  selectedRunId?: string;
1224
1237
  onRunSelect: (runId: string) => void;
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-CXyEwQeM.js").then((e) => e.j).then((e) => ({ default: e.NiceGitGraph }))
3
+ () => import("./devops-BhV3OmF7.js").then((e) => e.j).then((e) => ({ default: e.NiceGitGraph }))
4
4
  ), c = t(
5
- () => import("./devops-CXyEwQeM.js").then((e) => e.k).then((e) => ({ default: e.NiceBranchManager }))
5
+ () => import("./devops-BhV3OmF7.js").then((e) => e.k).then((e) => ({ default: e.NiceBranchManager }))
6
6
  ), h = t(
7
- () => import("./devops-CXyEwQeM.js").then((e) => e.m).then((e) => ({ default: e.NiceGitDiffViewer }))
7
+ () => import("./devops-BhV3OmF7.js").then((e) => e.m).then((e) => ({ default: e.NiceGitDiffViewer }))
8
8
  ), l = t(
9
- () => import("./devops-CXyEwQeM.js").then((e) => e.n).then((e) => ({ default: e.NiceGitBlame }))
9
+ () => import("./devops-BhV3OmF7.js").then((e) => e.n).then((e) => ({ default: e.NiceGitBlame }))
10
10
  ), p = t(
11
- () => import("./devops-CXyEwQeM.js").then((e) => e.o).then((e) => ({ default: e.NiceGitConflictResolver }))
11
+ () => import("./devops-BhV3OmF7.js").then((e) => e.o).then((e) => ({ default: e.NiceGitConflictResolver }))
12
12
  ), s = t(
13
- () => import("./devops-CXyEwQeM.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineEditor }))
13
+ () => import("./devops-BhV3OmF7.js").then((e) => e.q).then((e) => ({ default: e.NicePipelineEditor }))
14
14
  ), d = t(
15
- () => import("./devops-CXyEwQeM.js").then((e) => e.r).then((e) => ({ default: e.NicePipelineMonitor }))
15
+ () => import("./devops-BhV3OmF7.js").then((e) => e.r).then((e) => ({ default: e.NicePipelineMonitor }))
16
16
  ), f = t(
17
- () => import("./devops-CXyEwQeM.js").then((e) => e.p).then((e) => ({ default: e.NiceGitHooks }))
17
+ () => import("./devops-BhV3OmF7.js").then((e) => e.p).then((e) => ({ default: e.NiceGitHooks }))
18
18
  ), m = t(
19
- () => import("./devops-CXyEwQeM.js").then((e) => e.l).then((e) => ({ default: e.NiceMergeRequestBuilder }))
19
+ () => import("./devops-BhV3OmF7.js").then((e) => e.l).then((e) => ({ default: e.NiceMergeRequestBuilder }))
20
20
  ), u = t(
21
- () => import("./no-code-Cj4xJ3w9.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
21
+ () => import("./no-code-CBwUVL1i.js").then((e) => e.k).then((e) => ({ default: e.NiceAPIFlow }))
22
22
  ), y = t(
23
- () => import("./no-code-Cj4xJ3w9.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
23
+ () => import("./no-code-CBwUVL1i.js").then((e) => e.o).then((e) => ({ default: e.NiceCodeTemplate }))
24
24
  ), z = t(
25
- () => import("./no-code-Cj4xJ3w9.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
25
+ () => import("./no-code-CBwUVL1i.js").then((e) => e.l).then((e) => ({ default: e.NiceDataMapper }))
26
26
  ), N = t(
27
- () => import("./no-code-Cj4xJ3w9.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
27
+ () => import("./no-code-CBwUVL1i.js").then((e) => e.m).then((e) => ({ default: e.NiceEventOrchestrator }))
28
28
  ), L = t(
29
- () => import("./no-code-Cj4xJ3w9.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
29
+ () => import("./no-code-CBwUVL1i.js").then((e) => e.j).then((e) => ({ default: e.NiceStateDesigner }))
30
30
  ), D = t(
31
- () => import("./no-code-Cj4xJ3w9.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
31
+ () => import("./no-code-CBwUVL1i.js").then((e) => e.n).then((e) => ({ default: e.NiceTestBuilder }))
32
32
  ), B = t(
33
- () => import("./data-branching-DykdTpjJ.js").then((e) => e.f).then((e) => ({
33
+ () => import("./data-branching-DMXmcocj.js").then((e) => e.f).then((e) => ({
34
34
  default: e.NiceDataBranchManager
35
35
  }))
36
36
  ), G = t(
37
- () => import("./data-branching-DykdTpjJ.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
37
+ () => import("./data-branching-DMXmcocj.js").then((e) => e.g).then((e) => ({ default: e.NiceDataDiffViewer }))
38
38
  ), M = t(
39
- () => import("./data-branching-DykdTpjJ.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
39
+ () => import("./data-branching-DMXmcocj.js").then((e) => e.h).then((e) => ({ default: e.NiceDataBranchGraph }))
40
40
  ), g = t(
41
- () => import("./data-branching-DykdTpjJ.js").then((e) => e.i).then((e) => ({
41
+ () => import("./data-branching-DMXmcocj.js").then((e) => e.i).then((e) => ({
42
42
  default: e.NiceDataMergeBuilder
43
43
  }))
44
44
  ), C = t(
45
- () => import("./data-branching-DykdTpjJ.js").then((e) => e.j).then((e) => ({
45
+ () => import("./data-branching-DMXmcocj.js").then((e) => e.j).then((e) => ({
46
46
  default: e.NiceDataConflictResolver
47
47
  }))
48
48
  ), k = t(
49
- () => import("./data-branching-DykdTpjJ.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
49
+ () => import("./data-branching-DMXmcocj.js").then((e) => e.k).then((e) => ({ default: e.NiceDataSnapshot }))
50
50
  ), v = t(
51
- () => import("./charts-DO2z6Ziu.js").then((e) => e.fC).then((e) => ({ default: e.NiceChart }))
51
+ () => import("./charts-FuDk5-r6.js").then((e) => e.fC).then((e) => ({ default: e.NiceChart }))
52
52
  ), w = t(
53
- () => import("./charts-DO2z6Ziu.js").then((e) => e.fE).then((e) => ({ default: e.NiceTreeMap }))
53
+ () => import("./charts-FuDk5-r6.js").then((e) => e.fE).then((e) => ({ default: e.NiceTreeMap }))
54
54
  ), T = t(
55
- () => import("./charts-DO2z6Ziu.js").then((e) => e.fD).then((e) => ({ default: e.NiceSankey }))
55
+ () => import("./charts-FuDk5-r6.js").then((e) => e.fD).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-Df_1k5qW.cjs"),e=require("react/jsx-runtime"),b=require("./charts-B-sl1V9y.cjs"),_=require("react"),U=require("./pickerCommons-B-wOzHFh.cjs"),V=require("./NicePagination-EEQ6o1dF.cjs"),I=_.forwardRef(({items:m,activeKey:h,collapsed:a=!1,width:x=240,collapsedWidth:t=52,onItemClick:k,onCollapseChange:C,header:j,footer:d,size:N="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const c=b.bc(y),l=b.Dc(D,y),[r,u]=_.useState(new Set),o=_.useCallback(i=>{u($=>{const s=new Set($);return s.has(i)?s.delete(i):s.add(i),s})},[]);if(l==="hidden")return null;const p=(i,$=0)=>{const s=i.children&&i.children.length>0,A=r.has(i.key),w=i.key===h;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:()=>s?o(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&&s&&e.jsx("span",{className:"nice-sidebar-menu__chevron",children:e.jsx(b.oa,{name:A?"chevron-down":"chevron-right",size:14})})]}),s&&A&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(E=>p(E,$+1))})]},i.key)};return e.jsxs("nav",{ref:v,id:c,className:`nice-sidebar-menu nice-sidebar-menu--${N} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?t:x},...S,children:[j&&e.jsx("div",{className:"nice-sidebar-menu__header",children:j}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:m.map(i=>p(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});I.displayName="NiceSidebarMenu";const P=_.forwardRef(({items:m,activeKey:h,onItemClick:a,brand:x,actions:t,size:k="md",className:C,style:j,id:d,accessMode:N,...g},M)=>{const y=b.bc(d),D=b.Dc(N,d),[S,v]=_.useState(null);return D==="hidden"?null:e.jsxs("nav",{ref:M,id:y,className:`nice-top-menu nice-top-menu--${k} ${C??""}`,style:j,...g,children:[x&&e.jsx("div",{className:"nice-top-menu__brand",children:x}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:m.map(c=>{const l=c.children&&c.children.length>0,r=S===c.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>l&&v(c.key),onMouseLeave:()=>l&&v(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${c.key===h?"nice-top-menu__btn--active":""}`,onClick:()=>l?v(r?null:c.key):a?.(c),role:"menuitem","aria-haspopup":l,"aria-expanded":r,disabled:c.disabled,type:"button",children:[c.icon&&e.jsx("span",{children:c.icon}),e.jsx("span",{children:c.text}),l&&e.jsx("span",{className:"nice-top-menu__chevron",children:e.jsx(b.oa,{name:"chevron-down",size:14})})]}),l&&r&&e.jsx("ul",{className:"nice-top-menu__dropdown",role:"menu",children:c.children.map(u=>e.jsx("li",{children:e.jsxs("button",{className:`nice-top-menu__dropdown-btn ${u.key===h?"nice-top-menu__dropdown-btn--active":""}`,onClick:()=>{a?.(u),v(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))})]},c.key)})}),t&&e.jsx("div",{className:"nice-top-menu__actions",children:t})]})});P.displayName="NiceTopMenu";const L=_.forwardRef(({tabs:m,activeTab:h,onTabChange:a,onItemClick:x,minimized:t=!1,onMinimizeToggle:k,size:C="md",className:j,style:d,id:N,accessMode:g,...M},y)=>{const D=b.bc(N),S=b.Dc(g,N),[v,c]=_.useState(h??m[0]?.key),l=h??v,r=m.find(o=>o.key===l),u=_.useCallback(o=>{c(o),a?.(o)},[a]);return S==="hidden"?null:e.jsxs("div",{ref:y,id:D,className:`nice-ribbon-menu nice-ribbon-menu--${C} ${t?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[m.map(o=>e.jsx("button",{className:`nice-ribbon-menu__tab ${o.key===l?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(o.key),role:"tab","aria-selected":o.key===l,type:"button",children:o.label},o.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!t),type:"button","aria-label":t?"Expand":"Minimize",children:e.jsx(b.oa,{name:t?"chevron-down":"chevron-up",size:14})})]}),!t&&r&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:r.groups.map((o,p)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:o.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>x?.(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:o.label})]},p))})]})});L.displayName="NiceRibbonMenu";const B=_.forwardRef(({items:m,activeKey:h,onItemClick:a,position:x="bottom",autoHide:t=!1,iconSize:k=40,size:C="md",className:j,style:d,id:N,accessMode:g,...M},y)=>{const D=b.bc(N),S=b.Dc(g,N),[v,c]=_.useState(!1),l=!t||v;return S==="hidden"?null:e.jsx("div",{ref:y,id:D,className:`nice-dock-menu nice-dock-menu--${x} nice-dock-menu--${C} ${t&&!l?"nice-dock-menu--hidden":""} ${j??""}`,style:d,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),...M,children:e.jsx("div",{className:"nice-dock-menu__items",children:m.map(r=>e.jsxs("button",{className:`nice-dock-menu__item ${r.key===h?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(r),disabled:r.disabled,title:r.text,type:"button",style:{width:k,height:k},children:[r.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:r.icon}):e.jsx("span",{children:r.text[0]}),r.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:r.badge})]},r.key))})})});B.displayName="NiceDockMenu";const W=_.forwardRef(({items:m,activeKey:h,onItemClick:a,open:x,onOpenChange:t,position:k="left",panelWidth:C=280,header:j,footer:d,size:N="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const c=b.bc(y),l=b.Dc(D,y),{t:r}=b.Gt(),[u,o]=_.useState(!1),p=x??u,i=_.useCallback(()=>{const s=!p;o(s),t?.(s)},[p,t]),$=_.useCallback(s=>{a?.(s),o(!1),t?.(!1)},[a,t]);return l==="hidden"?null:e.jsxs("div",{ref:v,id:c,className:`nice-hamburger-menu nice-hamburger-menu--${N} ${g??""}`,style:M,...S,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":r("nav.menu","Menu"),"aria-expanded":p,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${p?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),p&&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} ${p?"nice-hamburger-menu__panel--open":""}`,style:{width:C},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:m.map(s=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${s.key===h?"nice-hamburger-menu__item--active":""}`,onClick:()=>$(s),disabled:s.disabled,role:"menuitem",type:"button",children:[s.icon&&e.jsx("span",{className:"nice-hamburger-menu__item-icon",children:s.icon}),e.jsx("span",{children:s.text}),s.badge!==void 0&&e.jsx("span",{className:"nice-hamburger-menu__item-badge",children:s.badge})]})},s.key))}),d&&e.jsx("div",{className:"nice-hamburger-menu__footer",children:d})]})]})});W.displayName="NiceHamburgerMenu";const z=_.forwardRef(({canGoBack:m=!1,canGoForward:h=!1,onBack:a,onForward:x,onRefresh:t,enableShortcuts:k=!0,showRefresh:C=!0,showStop:j=!0,isLoading:d=!1,onStop:N,size:g="md",variant:M="default",tooltipPosition:y="bottom",backIcon:D,forwardIcon:S,refreshIcon:v,stopIcon:c,className:l,style:r,id:u,accessMode:o,disabled:p,...i},$)=>{const s=b.bc(u),A=b.Dc(o,u),{t:w}=b.Gt();if(_.useEffect(()=>{if(!k||p)return;const R=f=>{const T=f.altKey,H=f.ctrlKey||f.metaKey;T&&f.key==="ArrowLeft"?(f.preventDefault(),m&&a?.()):T&&f.key==="ArrowRight"?(f.preventDefault(),h&&x?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?N?.():t?.()):f.key==="Escape"&&d&&(f.preventDefault(),N?.())};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[k,p,m,h,d,a,x,t,N]),A==="hidden")return null;const E=A==="disabled"||p,O=D??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"})}),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:"9 18 15 12 9 6"})}),F=v??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=c??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:s,className:`nice-nav-controls nice-nav-controls--${g} nice-nav-controls--${M}${E?" nice-nav-controls--disabled":""}${l?` ${l}`:""}`,style:r,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${m?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:E||!m,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:O}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${h?"":" nice-nav-controls__btn--disabled"}`,onClick:x,disabled:E||!h,"aria-label":w("nav.forward","Forward"),title:`${w("nav.forward","Forward")} (Alt+→)`,children:q}),(C||j&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:N,disabled:E,"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:t,disabled:E,"aria-label":w("nav.refresh","Refresh"),title:`${w("nav.refresh","Refresh")} (F5)`,children:F}))]})});z.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.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;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.NiceNavMenu=n.NiceNavMenu;exports.NiceNavbar=n.NiceNavbar;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePwaShell=n.NicePwaShell;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;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=B;exports.NiceHamburgerMenu=W;exports.NiceNavigationControls=z;exports.NiceRibbonMenu=L;exports.NiceSidebarMenu=I;exports.NiceTopMenu=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./NiceModuleLifecyclePanel-Bkx4Yg-3.cjs"),e=require("react/jsx-runtime"),b=require("./charts-NolNXKUL.cjs"),h=require("react"),U=require("./pickerCommons-C_BpYs_m.cjs"),V=require("./NicePagination-7od5KUa3.cjs"),I=h.forwardRef(({items:m,activeKey:_,collapsed:a=!1,width:x=240,collapsedWidth:t=52,onItemClick:k,onCollapseChange:C,header:j,footer:d,size:N="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const s=b.bc(y),l=b.Dc(D,y),[r,u]=h.useState(new Set),o=h.useCallback(i=>{u($=>{const c=new Set($);return c.has(i)?c.delete(i):c.add(i),c})},[]);if(l==="hidden")return null;const p=(i,$=0)=>{const c=i.children&&i.children.length>0,A=r.has(i.key),w=i.key===_;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?o(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.jsx(b.oa,{name:A?"chevron-down":"chevron-right",size:14})})]}),c&&A&&!a&&e.jsx("ul",{className:"nice-sidebar-menu__children",children:i.children.map(E=>p(E,$+1))})]},i.key)};return e.jsxs("nav",{ref:v,id:s,className:`nice-sidebar-menu nice-sidebar-menu--${N} ${a?"nice-sidebar-menu--collapsed":""} ${g??""}`,style:{...M,width:a?t:x},...S,children:[j&&e.jsx("div",{className:"nice-sidebar-menu__header",children:j}),e.jsx("ul",{className:"nice-sidebar-menu__list",role:"list",children:m.map(i=>p(i))}),d&&e.jsx("div",{className:"nice-sidebar-menu__footer",children:d})]})});I.displayName="NiceSidebarMenu";const P=h.forwardRef(({items:m,activeKey:_,onItemClick:a,brand:x,actions:t,size:k="md",className:C,style:j,id:d,accessMode:N,...g},M)=>{const y=b.bc(d),D=b.Dc(N,d),[S,v]=h.useState(null);return D==="hidden"?null:e.jsxs("nav",{ref:M,id:y,className:`nice-top-menu nice-top-menu--${k} ${C??""}`,style:j,...g,children:[x&&e.jsx("div",{className:"nice-top-menu__brand",children:x}),e.jsx("ul",{className:"nice-top-menu__items",role:"menubar",children:m.map(s=>{const l=s.children&&s.children.length>0,r=S===s.key;return e.jsxs("li",{className:"nice-top-menu__item",onMouseEnter:()=>l&&v(s.key),onMouseLeave:()=>l&&v(null),children:[e.jsxs("button",{className:`nice-top-menu__btn ${s.key===_?"nice-top-menu__btn--active":""}`,onClick:()=>l?v(r?null:s.key):a?.(s),role:"menuitem","aria-haspopup":l,"aria-expanded":r,disabled:s.disabled,type:"button",children:[s.icon&&e.jsx("span",{children:s.icon}),e.jsx("span",{children:s.text}),l&&e.jsx("span",{className:"nice-top-menu__chevron",children:e.jsx(b.oa,{name:"chevron-down",size:14})})]}),l&&r&&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===_?"nice-top-menu__dropdown-btn--active":""}`,onClick:()=>{a?.(u),v(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)})}),t&&e.jsx("div",{className:"nice-top-menu__actions",children:t})]})});P.displayName="NiceTopMenu";const J=[],B=h.forwardRef(({tabs:m=J,activeTab:_,onTabChange:a,onItemClick:x,minimized:t=!1,onMinimizeToggle:k,size:C="md",className:j,style:d,id:N,accessMode:g,...M},y)=>{const D=b.bc(N),S=b.Dc(g,N),[v,s]=h.useState(void 0),l=_??v??m[0]?.key,r=m.find(o=>o.key===l),u=h.useCallback(o=>{s(o),a?.(o)},[a]);return S==="hidden"?null:e.jsxs("div",{ref:y,id:D,className:`nice-ribbon-menu nice-ribbon-menu--${C} ${t?"nice-ribbon-menu--minimized":""} ${j??""}`,style:d,...M,children:[e.jsxs("div",{className:"nice-ribbon-menu__tabs",role:"tablist",children:[m.map(o=>e.jsx("button",{className:`nice-ribbon-menu__tab ${o.key===l?"nice-ribbon-menu__tab--active":""}`,onClick:()=>u(o.key),role:"tab","aria-selected":o.key===l,type:"button",children:o.label},o.key)),e.jsx("button",{className:"nice-ribbon-menu__minimize",onClick:()=>k?.(!t),type:"button","aria-label":t?"Expand":"Minimize",children:e.jsx(b.oa,{name:t?"chevron-down":"chevron-up",size:14})})]}),!t&&r&&e.jsx("div",{className:"nice-ribbon-menu__panel",role:"tabpanel",children:r.groups.map((o,p)=>e.jsxs("div",{className:"nice-ribbon-menu__group",children:[e.jsx("div",{className:"nice-ribbon-menu__group-items",children:o.items.map(i=>e.jsxs("button",{className:"nice-ribbon-menu__item",onClick:()=>x?.(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:o.label})]},p))})]})});B.displayName="NiceRibbonMenu";const L=h.forwardRef(({items:m,activeKey:_,onItemClick:a,position:x="bottom",autoHide:t=!1,iconSize:k=40,size:C="md",className:j,style:d,id:N,accessMode:g,...M},y)=>{const D=b.bc(N),S=b.Dc(g,N),[v,s]=h.useState(!1),l=!t||v;return S==="hidden"?null:e.jsx("div",{ref:y,id:D,className:`nice-dock-menu nice-dock-menu--${x} nice-dock-menu--${C} ${t&&!l?"nice-dock-menu--hidden":""} ${j??""}`,style:d,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),...M,children:e.jsx("div",{className:"nice-dock-menu__items",children:m.map(r=>e.jsxs("button",{className:`nice-dock-menu__item ${r.key===_?"nice-dock-menu__item--active":""}`,onClick:()=>a?.(r),disabled:r.disabled,title:r.text,type:"button",style:{width:k,height:k},children:[r.icon?e.jsx("span",{className:"nice-dock-menu__icon",children:r.icon}):e.jsx("span",{children:r.text[0]}),r.badge!==void 0&&e.jsx("span",{className:"nice-dock-menu__badge",children:r.badge})]},r.key))})})});L.displayName="NiceDockMenu";const W=h.forwardRef(({items:m,activeKey:_,onItemClick:a,open:x,onOpenChange:t,position:k="left",panelWidth:C=280,header:j,footer:d,size:N="md",className:g,style:M,id:y,accessMode:D,...S},v)=>{const s=b.bc(y),l=b.Dc(D,y),{t:r}=b.Gt(),[u,o]=h.useState(!1),p=x??u,i=h.useCallback(()=>{const c=!p;o(c),t?.(c)},[p,t]),$=h.useCallback(c=>{a?.(c),o(!1),t?.(!1)},[a,t]);return l==="hidden"?null:e.jsxs("div",{ref:v,id:s,className:`nice-hamburger-menu nice-hamburger-menu--${N} ${g??""}`,style:M,...S,children:[e.jsx("button",{className:"nice-hamburger-menu__trigger",onClick:i,"aria-label":r("nav.menu","Menu"),"aria-expanded":p,type:"button",children:e.jsxs("span",{className:`nice-hamburger-menu__icon ${p?"nice-hamburger-menu__icon--open":""}`,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})}),p&&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} ${p?"nice-hamburger-menu__panel--open":""}`,style:{width:C},children:[j&&e.jsx("div",{className:"nice-hamburger-menu__header",children:j}),e.jsx("ul",{className:"nice-hamburger-menu__list",role:"menu",children:m.map(c=>e.jsx("li",{children:e.jsxs("button",{className:`nice-hamburger-menu__item ${c.key===_?"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})]})]})});W.displayName="NiceHamburgerMenu";const O=h.forwardRef(({canGoBack:m=!1,canGoForward:_=!1,onBack:a,onForward:x,onRefresh:t,enableShortcuts:k=!0,showRefresh:C=!0,showStop:j=!0,isLoading:d=!1,onStop:N,size:g="md",variant:M="default",tooltipPosition:y="bottom",backIcon:D,forwardIcon:S,refreshIcon:v,stopIcon:s,className:l,style:r,id:u,accessMode:o,disabled:p,...i},$)=>{const c=b.bc(u),A=b.Dc(o,u),{t:w}=b.Gt();if(h.useEffect(()=>{if(!k||p)return;const R=f=>{const T=f.altKey,H=f.ctrlKey||f.metaKey;T&&f.key==="ArrowLeft"?(f.preventDefault(),m&&a?.()):T&&f.key==="ArrowRight"?(f.preventDefault(),_&&x?.()):f.key==="F5"||H&&f.key==="r"?(f.preventDefault(),d?N?.():t?.()):f.key==="Escape"&&d&&(f.preventDefault(),N?.())};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[k,p,m,_,d,a,x,t,N]),A==="hidden")return null;const E=A==="disabled"||p,z=D??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"})}),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:"9 18 15 12 9 6"})}),F=v??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}${E?" nice-nav-controls--disabled":""}${l?` ${l}`:""}`,style:r,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${m?"":" nice-nav-controls__btn--disabled"}`,onClick:a,disabled:E||!m,"aria-label":w("nav.back","Back"),title:`${w("nav.back","Back")} (Alt+←)`,children:z}),e.jsx("button",{type:"button",className:`nice-nav-controls__btn nice-nav-controls__btn--forward${_?"":" nice-nav-controls__btn--disabled"}`,onClick:x,disabled:E||!_,"aria-label":w("nav.forward","Forward"),title:`${w("nav.forward","Forward")} (Alt+→)`,children:q}),(C||j&&d)&&(d?e.jsx("button",{type:"button",className:"nice-nav-controls__btn nice-nav-controls__btn--stop nice-nav-controls__btn--loading",onClick:N,disabled:E,"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:t,disabled:E,"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.NiceBreadcrumb=n.NiceBreadcrumb;exports.NiceCard=n.NiceCard;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.NiceNavMenu=n.NiceNavMenu;exports.NiceNavbar=n.NiceNavbar;exports.NiceOrganizationProfileForm=n.NiceOrganizationProfileForm;exports.NicePwaShell=n.NicePwaShell;exports.NiceSetupWizard=n.NiceSetupWizard;exports.NiceSidebarNav=n.NiceSidebarNav;exports.NiceSplitter=n.NiceSplitter;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=L;exports.NiceHamburgerMenu=W;exports.NiceNavigationControls=O;exports.NiceRibbonMenu=B;exports.NiceSidebarMenu=I;exports.NiceTopMenu=P;
@@ -696,8 +696,10 @@ export declare const NiceMdiWorkspace: ForwardRefExoticComponent<NiceMdiWorkspac
696
696
  export declare interface NiceMdiWorkspaceProps extends NiceBaseProps {
697
697
  /** Currently open tabs. */
698
698
  tabs: NiceTabDescriptor[];
699
- /** Index of the active (visible) tab. */
700
- activeIndex: number;
699
+ /** Index of the active (visible) tab (controlled). Omit it to let the workspace keep its own. */
700
+ activeIndex?: number;
701
+ /** Initial active index when uncontrolled. Defaults to 0. */
702
+ defaultActiveIndex?: number;
701
703
  /** Render function returning the content for a given tab. */
702
704
  renderTab: (tab: NiceTabDescriptor, index: number) => React.ReactNode;
703
705
  /** Called when user selects a different tab. */
@@ -937,8 +939,8 @@ export declare const NiceModeSelector: ForwardRefExoticComponent<NiceModeSelecto
937
939
  export declare interface NiceModeSelectorProps extends NiceBaseProps {
938
940
  /** Size variant. */
939
941
  size?: NiceSize;
940
- /** Available modes. */
941
- modes: NiceModeInfo[];
942
+ /** Available modes. Defaults to none. */
943
+ modes?: NiceModeInfo[];
942
944
  /** Currently active mode key. */
943
945
  activeMode: string;
944
946
  /** Called when user selects a mode. */
@@ -1195,12 +1197,14 @@ export declare const NicePagination: default_2.FC<NicePaginationProps>;
1195
1197
  export declare interface NicePaginationProps extends NiceBaseProps {
1196
1198
  /** Pagination size. */
1197
1199
  size?: NiceSize;
1198
- /** Current 1-based page number. */
1199
- page: number;
1200
+ /** Current 1-based page number (controlled). Omit it to let the bar keep its own. */
1201
+ page?: number;
1202
+ /** Initial page when uncontrolled. Defaults to 1. */
1203
+ defaultPage?: number;
1200
1204
  /** Total number of pages. */
1201
1205
  totalPages: number;
1202
1206
  /** Called when the page changes. */
1203
- onChange: (page: number) => void;
1207
+ onChange?: (page: number) => void;
1204
1208
  /**
1205
1209
  * Show "Page X of Y" info text.
1206
1210
  * @default true
@@ -1264,7 +1268,8 @@ export declare const NiceRibbonMenu: ForwardRefExoticComponent<NiceRibbonMenuPro
1264
1268
 
1265
1269
  export declare interface NiceRibbonMenuProps extends NiceBaseProps {
1266
1270
  size?: NiceSize;
1267
- tabs: NiceRibbonTab[];
1271
+ /** Ribbon tabs. Defaults to none. */
1272
+ tabs?: NiceRibbonTab[];
1268
1273
  activeTab?: string;
1269
1274
  onTabChange?: (key: string) => void;
1270
1275
  onItemClick?: (item: NiceMenuGroupItem) => void;
@@ -1301,10 +1306,9 @@ export declare interface NiceRibbonTab {
1301
1306
  */
1302
1307
  export declare const NiceSetupWizard: default_2.ForwardRefExoticComponent<NiceSetupWizardProps & default_2.RefAttributes<HTMLDivElement>>;
1303
1308
 
1304
- /** Props */
1305
1309
  export declare interface NiceSetupWizardProps {
1306
- /** Step definitions */
1307
- steps: SetupWizardStep[];
1310
+ /** Step definitions. Defaults to none. */
1311
+ steps?: SetupWizardStep[];
1308
1312
  /** Initial values */
1309
1313
  initialValues?: Record<string, unknown>;
1310
1314
  /** Controlled current step */
@@ -1908,10 +1912,9 @@ export declare interface NiceUserMenuProps extends NiceFormFieldProps {
1908
1912
  */
1909
1913
  export declare const NiceWizard: default_2.ForwardRefExoticComponent<NiceWizardProps & default_2.RefAttributes<HTMLDivElement>>;
1910
1914
 
1911
- /** Props for the {@link NiceWizard} component. */
1912
1915
  export declare interface NiceWizardProps {
1913
- /** Step definitions. */
1914
- steps: WizardStep[];
1916
+ /** Step definitions. Defaults to none. */
1917
+ steps?: WizardStep[];
1915
1918
  /** Controlled current step index. */
1916
1919
  activeStep?: number;
1917
1920
  /** Called when step changes. */