@nice2dev/ui 1.2.0 → 1.2.2

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 (229) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/dist/NiceApiExplorer.doc-CFJndg5h.js +25 -0
  3. package/dist/NiceApiExplorer.doc-TEx67kV5.cjs +1 -0
  4. package/dist/NiceBPMNDesigner.doc-6lK1pXRq.js +32 -0
  5. package/dist/NiceBPMNDesigner.doc-BY8t7qOi.cjs +8 -0
  6. package/dist/NiceBackupDiffViewer.doc-CYvOeX19.js +25 -0
  7. package/dist/NiceBackupDiffViewer.doc-ChQaZCg1.cjs +1 -0
  8. package/dist/NiceBackupList.doc-BdQCw0_D.cjs +1 -0
  9. package/dist/NiceBackupList.doc-BwjIAoqz.js +25 -0
  10. package/dist/NiceBackupRestoreDialog.doc-B2iiqTps.cjs +1 -0
  11. package/dist/NiceBackupRestoreDialog.doc-DuXSGJiD.js +25 -0
  12. package/dist/NiceBackupScheduler.doc-BpY45181.js +31 -0
  13. package/dist/NiceBackupScheduler.doc-ByeL3iH1.cjs +7 -0
  14. package/dist/NiceBackupStatusBadge.doc-BA3dYgiW.cjs +1 -0
  15. package/dist/NiceBackupStatusBadge.doc-CxwkVarP.js +25 -0
  16. package/dist/NiceBackupTagEditor.doc-Bej1KHco.cjs +7 -0
  17. package/dist/NiceBackupTagEditor.doc-CNy4uNws.js +31 -0
  18. package/dist/NiceBottomSheet.doc-keq-Fzlz.cjs +8 -0
  19. package/dist/NiceBottomSheet.doc-v-UPUKQk.js +32 -0
  20. package/dist/NiceBranchManager.doc-BTyRjX7X.cjs +6 -0
  21. package/dist/NiceBranchManager.doc-Cz4SyEqE.js +30 -0
  22. package/dist/NiceButton-3AcJJ15c.cjs +1 -0
  23. package/dist/NiceButton-vkI07DP0.js +88 -0
  24. package/dist/NiceCodeEditor-C43xFG8v.cjs +260 -0
  25. package/dist/NiceCodeEditor-CspuYLh6.js +1174 -0
  26. package/dist/NiceCodeEditor-VGIDWSkS.js +1181 -0
  27. package/dist/NiceCodeEditor-qX39PSnQ.cjs +260 -0
  28. package/dist/NiceColorPicker-CQhhjZ8w.cjs +1 -0
  29. package/dist/NiceColorPicker-Cbop7VMu.js +491 -0
  30. package/dist/NiceConnectorConfigForm.doc-BKrDuhXw.cjs +7 -0
  31. package/dist/NiceConnectorConfigForm.doc-BsHeXz3M.js +31 -0
  32. package/dist/NiceDataBranchGraph.doc-Axidz41W.js +29 -0
  33. package/dist/NiceDataBranchGraph.doc-sjLmrrtE.cjs +5 -0
  34. package/dist/NiceDataBranchManager.doc-B1-Rp2X4.cjs +6 -0
  35. package/dist/NiceDataBranchManager.doc-GUqfTFvW.js +30 -0
  36. package/dist/NiceDataConflictResolver.doc-CjQryrTu.cjs +5 -0
  37. package/dist/NiceDataConflictResolver.doc-L-TcnQMX.js +29 -0
  38. package/dist/NiceDataDiffViewer.doc-BzGrf0U-.cjs +6 -0
  39. package/dist/NiceDataDiffViewer.doc-goxhSldH.js +30 -0
  40. package/dist/NiceDataGrid-BDEIbuBS.js +2218 -0
  41. package/dist/NiceDataGrid-CS5aB-EN.cjs +10 -0
  42. package/dist/NiceDataGrid-CrD4HPlO.cjs +10 -0
  43. package/dist/NiceDataGrid-Dfg1DVbU.js +2224 -0
  44. package/dist/NiceDataMapper.doc-QmnmnvVq.js +30 -0
  45. package/dist/NiceDataMapper.doc-ytGVtYVr.cjs +6 -0
  46. package/dist/NiceDataMergeBuilder.doc-BcmzKxh2.cjs +6 -0
  47. package/dist/NiceDataMergeBuilder.doc-BvYa4aUJ.js +30 -0
  48. package/dist/NiceDataSnapshot.doc-C73K1biG.cjs +6 -0
  49. package/dist/NiceDataSnapshot.doc-hU7wnOzM.js +30 -0
  50. package/dist/NiceDesktopViews.doc-DJjYlyP2.cjs +1 -0
  51. package/dist/NiceDesktopViews.doc-ly-VUAJj.js +25 -0
  52. package/dist/NiceDeviceControlCard.doc-BZIo92-w.cjs +1 -0
  53. package/dist/NiceDeviceControlCard.doc-DIzZcW9L.js +25 -0
  54. package/dist/NiceDocumentViewer-B9VIVKyw.js +726 -0
  55. package/dist/NiceDocumentViewer-CDXAmPp7.cjs +180 -0
  56. package/dist/NiceDocumentationViewer.doc-BSNGa7a_.js +25 -0
  57. package/dist/NiceDocumentationViewer.doc-CrwlvPFg.cjs +1 -0
  58. package/dist/NiceEnergyChart.doc-DW-jllDV.cjs +1 -0
  59. package/dist/NiceEnergyChart.doc-DnEehTff.js +25 -0
  60. package/dist/NiceFeatureGate.doc-DN17uS_B.cjs +3 -0
  61. package/dist/NiceFeatureGate.doc-DNfFSRrh.js +27 -0
  62. package/dist/NiceForm-BcN4p2kG.cjs +1 -0
  63. package/dist/NiceForm-CISJyzoW.cjs +1 -0
  64. package/dist/NiceForm-DmH6k1b_.js +4775 -0
  65. package/dist/NiceForm-tIXS-M6b.js +4770 -0
  66. package/dist/NiceFormItem.doc-BJwEnDz2.js +36 -0
  67. package/dist/NiceFormItem.doc-Ck3PgaPD.cjs +12 -0
  68. package/dist/NiceGantt-CHnq-n8f.cjs +1 -0
  69. package/dist/NiceGantt-CTbqCuwv.cjs +1 -0
  70. package/dist/NiceGantt-CX3jVNaF.js +330 -0
  71. package/dist/NiceGantt-Dao7pN9z.js +328 -0
  72. package/dist/NiceGantt.doc-B6YZcJvG.cjs +11 -0
  73. package/dist/NiceGantt.doc-DsI1QXly.js +48 -0
  74. package/dist/NiceGitBlame.doc-BQ2KvGkD.js +30 -0
  75. package/dist/NiceGitBlame.doc-DuTSjZVN.cjs +6 -0
  76. package/dist/NiceGitDiffViewer.doc-D24AGos_.js +30 -0
  77. package/dist/NiceGitDiffViewer.doc-D9FVquBC.cjs +6 -0
  78. package/dist/NiceGitGraph.doc-C-8VGMIz.js +29 -0
  79. package/dist/NiceGitGraph.doc-eRvTmefl.cjs +5 -0
  80. package/dist/NiceGitHooks.doc-DCTVw7HX.cjs +5 -0
  81. package/dist/NiceGitHooks.doc-OCFj5w6v.js +29 -0
  82. package/dist/NiceHtmlEditor-DUwcqj5N.cjs +10 -0
  83. package/dist/NiceHtmlEditor-DeK0Of98.js +883 -0
  84. package/dist/NiceHtmlEditor-DiAphF1k.js +889 -0
  85. package/dist/NiceHtmlEditor-DvVxl4Fu.cjs +10 -0
  86. package/dist/NiceInstanceMonitor.doc-BSDZp5xa.js +31 -0
  87. package/dist/NiceInstanceMonitor.doc-HVbLufnh.cjs +7 -0
  88. package/dist/NiceLocaleManager.doc-CbVHDEWu.js +25 -0
  89. package/dist/NiceLocaleManager.doc-XH6hMW0Z.cjs +1 -0
  90. package/dist/NiceLockButton.doc-BMhSj3TB.cjs +1 -0
  91. package/dist/NiceLockButton.doc-DvHGhcfm.js +25 -0
  92. package/dist/NiceLoginForm-CHXbz0eu.js +747 -0
  93. package/dist/NiceLoginForm-DQe77Isv.js +747 -0
  94. package/dist/NiceLoginForm-NBCo-DUZ.cjs +1 -0
  95. package/dist/NiceLoginForm-ix6J1adA.cjs +1 -0
  96. package/dist/NiceLoginForm.css +1 -1
  97. package/dist/NiceMAM.doc-CsQ57saR.cjs +8 -0
  98. package/dist/NiceMAM.doc-hjW7buTH.js +32 -0
  99. package/dist/NiceMention--3P3vO-W.cjs +430 -0
  100. package/dist/NiceMention-Co2cqkVM.js +11316 -0
  101. package/dist/NiceMention-DKhk3xdM.js +11321 -0
  102. package/dist/NiceMention-wp1AJ5oh.cjs +430 -0
  103. package/dist/NiceMention.css +1 -1
  104. package/dist/NiceModal-BbQwiEOp.cjs +1 -0
  105. package/dist/NiceModal-DQEfTcnZ.js +85 -0
  106. package/dist/NiceModuleLifecyclePanel-22CEEVbA.cjs +1 -0
  107. package/dist/NiceModuleLifecyclePanel-BCd9Wv5Y.js +6825 -0
  108. package/dist/NiceModuleLifecyclePanel-DV3F_QdI.cjs +1 -0
  109. package/dist/NiceModuleLifecyclePanel-gaZkIEtK.js +6825 -0
  110. package/dist/NiceModuleLifecyclePanel.css +1 -1
  111. package/dist/NiceNetworkDiscoveryPanel.doc-B0RtGaS3.js +25 -0
  112. package/dist/NiceNetworkDiscoveryPanel.doc-BFgFZI5G.cjs +1 -0
  113. package/dist/NicePagination-B3nZDZem.js +165 -0
  114. package/dist/NicePagination-B8rg1Y67.cjs +1 -0
  115. package/dist/NicePagination-BFGt1v0a.js +165 -0
  116. package/dist/NicePagination-DltL3-Sz.cjs +1 -0
  117. package/dist/NicePipelineEditor.doc-CjqDKe2x.js +29 -0
  118. package/dist/NicePipelineEditor.doc-DZ0pTVTp.cjs +5 -0
  119. package/dist/NicePipelineMonitor.doc-C88-TagI.cjs +5 -0
  120. package/dist/NicePipelineMonitor.doc-CFtH4XJx.js +29 -0
  121. package/dist/NicePivotGrid-BD87Na7P.js +1163 -0
  122. package/dist/NicePivotGrid-BPmnvbPQ.cjs +152 -0
  123. package/dist/NicePivotGrid-BaZa2YZW.js +1157 -0
  124. package/dist/NicePivotGrid-DyOPhPO8.cjs +152 -0
  125. package/dist/NiceRoomGrid.doc-DJPVUQVg.cjs +8 -0
  126. package/dist/NiceRoomGrid.doc-DLHJS_Wb.js +32 -0
  127. package/dist/NiceSavedQueryPanel-BC84uRfh.cjs +586 -0
  128. package/dist/NiceSavedQueryPanel-BSTiZvFg.js +5130 -0
  129. package/dist/NiceSavedQueryPanel-CMfcODIO.js +5120 -0
  130. package/dist/NiceSavedQueryPanel-DrR3sw4T.cjs +586 -0
  131. package/dist/NiceSavedQueryPanel.css +1 -1
  132. package/dist/NiceSceneBar.doc-09sc3yuF.cjs +1 -0
  133. package/dist/NiceSceneBar.doc-DLePMuVU.js +25 -0
  134. package/dist/NiceSceneSelector.doc-CPzCAy-d.cjs +7 -0
  135. package/dist/NiceSceneSelector.doc-FCLZvPc0.js +31 -0
  136. package/dist/NiceScheduler-BAJRzFQN.js +1690 -0
  137. package/dist/NiceScheduler-DvxJ8N0I.js +1698 -0
  138. package/dist/NiceScheduler-TIksdF0k.cjs +5 -0
  139. package/dist/NiceScheduler-dJ7gHDv7.cjs +5 -0
  140. package/dist/NiceSchedulerViews.doc-C9opZpgg.cjs +1 -0
  141. package/dist/NiceSchedulerViews.doc-Dy7ZH1iL.js +25 -0
  142. package/dist/NiceSelect-CZR8Zu_k.js +420 -0
  143. package/dist/NiceSelect-DIKGbaJo.cjs +1 -0
  144. package/dist/NiceSensorGaugePanel.doc-BHirbWLn.cjs +8 -0
  145. package/dist/NiceSensorGaugePanel.doc-DjKmooI6.js +32 -0
  146. package/dist/NiceSpotlight.doc-BVZFfDVI.cjs +10 -0
  147. package/dist/NiceSpotlight.doc-JqwkzrEm.js +34 -0
  148. package/dist/NiceStateDesigner.doc-CfnwiwfU.js +29 -0
  149. package/dist/NiceStateDesigner.doc-DV4zEC50.cjs +5 -0
  150. package/dist/NiceStepper.doc-5VjaLM6r.js +31 -0
  151. package/dist/NiceStepper.doc-f8lYpr33.cjs +7 -0
  152. package/dist/NiceTaskInbox.doc-CHrxthqp.js +32 -0
  153. package/dist/NiceTaskInbox.doc-CdCTfgBq.cjs +8 -0
  154. package/dist/NiceTestBuilder.doc-BoBzLfa0.js +30 -0
  155. package/dist/NiceTestBuilder.doc-Cj1fNTvk.cjs +6 -0
  156. package/dist/NiceTranscoder.doc-Dnirl3wg.cjs +7 -0
  157. package/dist/NiceTranscoder.doc-cInCYZh7.js +31 -0
  158. package/dist/NiceVideoAnnotator.doc-C1iEi7OM.cjs +7 -0
  159. package/dist/NiceVideoAnnotator.doc-C8zyfKH_.js +31 -0
  160. package/dist/NiceVideoEditor.doc-C6mhEb-q.cjs +7 -0
  161. package/dist/NiceVideoEditor.doc-lrwmKjqj.js +31 -0
  162. package/dist/NiceWindow-CWN8OCHF.js +2109 -0
  163. package/dist/NiceWindow-Dd8qjkIW.cjs +1 -0
  164. package/dist/NiceWindow.css +1 -1
  165. package/dist/charts-Bo2WAI5T.cjs +768 -0
  166. package/dist/charts-BpELGDXh.cjs +768 -0
  167. package/dist/charts-ByrdMeQP.js +4767 -0
  168. package/dist/charts-M6LuVI7F.js +4776 -0
  169. package/dist/charts.cjs +1 -1
  170. package/dist/charts.css +1 -1
  171. package/dist/charts.d.ts +28 -46
  172. package/dist/charts.mjs +1 -1
  173. package/dist/core-B8eBUE4m.js +438 -0
  174. package/dist/core-lBFqvT0V.cjs +1 -0
  175. package/dist/core-lazy-Bh2yg4Et.js +351 -0
  176. package/dist/core-lazy-CkWKjfc6.cjs +1 -0
  177. package/dist/core-lazy-Ctin_LwS.cjs +1 -0
  178. package/dist/core-lazy-iDiropM6.js +351 -0
  179. package/dist/data-branching-BgIAw01q.cjs +1 -0
  180. package/dist/data-branching-Dak1_ZKR.cjs +1 -0
  181. package/dist/data-branching-DiLAO4Qt.js +6386 -0
  182. package/dist/data-branching-bvB9K6KS.js +6386 -0
  183. package/dist/data-branching.cjs +1 -1
  184. package/dist/data-branching.mjs +1 -1
  185. package/dist/data.cjs +1 -1
  186. package/dist/data.d.ts +22 -18
  187. package/dist/data.mjs +3 -3
  188. package/dist/devops-Bp-_aA-9.js +8682 -0
  189. package/dist/devops-CXBSjnyX.cjs +17 -0
  190. package/dist/devops-DkVluHBp.cjs +17 -0
  191. package/dist/devops-zsMUueTd.js +8648 -0
  192. package/dist/devops.cjs +1 -1
  193. package/dist/devops.d.ts +3 -3
  194. package/dist/devops.mjs +1 -1
  195. package/dist/editors.cjs +1 -1
  196. package/dist/editors.d.ts +100 -38
  197. package/dist/editors.mjs +8 -8
  198. package/dist/feedback.cjs +1 -1
  199. package/dist/feedback.d.ts +71 -2
  200. package/dist/feedback.mjs +10 -9
  201. package/dist/index.cjs +263 -263
  202. package/dist/index.css +1 -1
  203. package/dist/index.d.ts +641 -253
  204. package/dist/index.mjs +26438 -26260
  205. package/dist/injectStyleOnce-BzC_BCs_.js +9 -0
  206. package/dist/injectStyleOnce-DeWaxcdf.cjs +1 -0
  207. package/dist/lazy.cjs +1 -1
  208. package/dist/lazy.d.ts +9 -7
  209. package/dist/lazy.mjs +51 -51
  210. package/dist/navigation.cjs +1 -1
  211. package/dist/navigation.css +1 -0
  212. package/dist/navigation.d.ts +99 -43
  213. package/dist/navigation.mjs +504 -547
  214. package/dist/no-code-BNFk_BDO.js +8275 -0
  215. package/dist/no-code-CFdTp543.cjs +331 -0
  216. package/dist/no-code-DiTEnuRv.js +8288 -0
  217. package/dist/no-code-wG9c0z_T.cjs +331 -0
  218. package/dist/no-code.cjs +1 -1
  219. package/dist/no-code.css +1 -1
  220. package/dist/no-code.mjs +1 -1
  221. package/dist/overlays.cjs +1 -1
  222. package/dist/overlays.d.ts +12 -6
  223. package/dist/overlays.mjs +1 -1
  224. package/dist/pickerCommons-BCRiHDE_.cjs +1 -0
  225. package/dist/pickerCommons-CMxFt9SW.js +548 -0
  226. package/dist/pickerCommons-Dc_hlz-e.cjs +1 -0
  227. package/dist/pickerCommons-DkumQ3KE.js +548 -0
  228. package/dist/style.css +12 -9
  229. package/package.json +3 -3
package/dist/devops.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./devops-rVpB0ZAX.cjs");exports.NiceBranchManager=e.NiceBranchManager;exports.NiceGitBlame=e.NiceGitBlame;exports.NiceGitConflictResolver=e.NiceGitConflictResolver;exports.NiceGitDiffViewer=e.NiceGitDiffViewer;exports.NiceGitGraph=e.NiceGitGraph;exports.NiceGitHooks=e.NiceGitHooks;exports.NiceMergeRequestBuilder=e.NiceMergeRequestBuilder;exports.NicePipelineEditor=e.NicePipelineEditor;exports.NicePipelineMonitor=e.NicePipelineMonitor;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./devops-CXBSjnyX.cjs");exports.NiceBranchManager=e.NiceBranchManager;exports.NiceGitBlame=e.NiceGitBlame;exports.NiceGitConflictResolver=e.NiceGitConflictResolver;exports.NiceGitDiffViewer=e.NiceGitDiffViewer;exports.NiceGitGraph=e.NiceGitGraph;exports.NiceGitHooks=e.NiceGitHooks;exports.NiceMergeRequestBuilder=e.NiceMergeRequestBuilder;exports.NicePipelineEditor=e.NicePipelineEditor;exports.NicePipelineMonitor=e.NicePipelineMonitor;
package/dist/devops.d.ts CHANGED
@@ -309,7 +309,7 @@ export declare const NiceBranchManager: default_2.FC<NiceBranchManagerProps>;
309
309
 
310
310
  export declare interface NiceBranchManagerProps extends NiceBaseProps {
311
311
  /** All branches */
312
- branches: GitBranch_2[];
312
+ branches?: GitBranch_2[];
313
313
  /** Current HEAD branch */
314
314
  currentBranch?: string;
315
315
  /** Default branch */
@@ -536,7 +536,7 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
536
536
  pipeline?: Pipeline;
537
537
  /** Initial pipeline when uncontrolled. */
538
538
  defaultPipeline?: Pipeline;
539
- templates: PipelineTemplate[];
539
+ templates?: PipelineTemplate[];
540
540
  /** Runners a job can be assigned to. Defaults to none. */
541
541
  runners?: Array<{
542
542
  id: string;
@@ -544,7 +544,7 @@ export declare interface NicePipelineEditorProps extends NiceBaseProps {
544
544
  os: string;
545
545
  available: boolean;
546
546
  }>;
547
- environments: Array<{
547
+ environments?: Array<{
548
548
  id: string;
549
549
  name: string;
550
550
  protection: boolean;
package/dist/devops.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a, b as c, c as s, d as r, e as t, f as o, g as N, h as l, i as n } from "./devops-D5yIDM3e.js";
1
+ import { c as a, d as c, e as s, f as r, g as t, h as o, i as N, j as l, k as n } from "./devops-Bp-_aA-9.js";
2
2
  export {
3
3
  a as NiceBranchManager,
4
4
  c as NiceGitBlame,
package/dist/editors.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./no-code-6WyYb3hL.cjs"),i=require("./NiceForm-BCEXovJR.cjs"),e=require("./NiceMention-DcaUEMSg.cjs"),o=require("./NiceSelect-tMz9QQUs.cjs"),N=require("./pickerCommons-BFbItm8o.cjs"),t=require("./NiceColorPicker-DtPFxDKM.cjs"),r=require("./NiceHtmlEditor-BYk1roA4.cjs"),n=require("./NiceCodeEditor-BJSEzhcY.cjs");exports.NiceCheckbox=c.NiceCheckbox;exports.NiceNumberInput=c.NiceNumberInput;exports.NiceTextInput=c.NiceTextInput;exports.MASK_PRESETS=i.MASK_PRESETS;exports.NiceAutocomplete=i.NiceAutocomplete;exports.NiceCalendar=i.NiceCalendar;exports.NiceCountryPicker=i.NiceCountryPicker;exports.NiceDateTimePicker=i.NiceDateTimePicker;exports.NiceForm=i.NiceForm;exports.NiceMaskedInput=i.NiceMaskedInput;exports.NicePasswordInput=i.NicePasswordInput;exports.NiceRadioGroup=i.NiceRadioGroup;exports.NiceRating=i.NiceRating;exports.NiceSlider=i.NiceSlider;exports.NiceTagBox=i.NiceTagBox;exports.NiceTextArea=i.NiceTextArea;exports.NiceUpload=i.NiceUpload;exports.NICE_COLOR_PRESET_KEYS=e.NICE_COLOR_PRESET_KEYS;exports.NiceAccountPicker=e.NiceAccountPicker;exports.NiceAddressInput=e.NiceAddressInput;exports.NiceCodeEditorAI=e.NiceCodeEditorAI;exports.NiceColorPalette=e.NiceColorPalette;exports.NiceContactPicker=e.NiceContactPicker;exports.NiceCropEditor=e.NiceCropEditor;exports.NiceDateRangeBox=e.NiceDateRangeBox;exports.NiceDocumentEditor=e.NiceDocumentEditor;exports.NiceDropDownBox=e.NiceDropDownBox;exports.NiceEmojiPicker=e.NiceEmojiPicker;exports.NiceGradientPicker=e.NiceGradientPicker;exports.NiceHtmlEditorAI=e.NiceHtmlEditorAI;exports.NiceImageAnnotator=e.NiceImageAnnotator;exports.NiceImageEditor=e.NiceImageEditor;exports.NiceInputOtp=e.NiceInputOtp;exports.NiceInvoiceLineEditor=e.NiceInvoiceLineEditor;exports.NiceKeyValueEditor=e.NiceKeyValueEditor;exports.NiceKnob=e.NiceKnob;exports.NiceLogConsole=e.NiceLogConsole;exports.NiceLookup=e.NiceLookup;exports.NiceMarkdownEditor=e.NiceMarkdownEditor;exports.NiceMention=e.NiceMention;exports.NicePDFAnnotationEditor=e.NicePDFAnnotationEditor;exports.NicePickList=e.NicePickList;exports.NiceRangeSlider=e.NiceRangeSlider;exports.NiceScannerControl=e.NiceScannerControl;exports.NiceScriptRunner=e.NiceScriptRunner;exports.NiceSignature=e.NiceSignature;exports.NiceTreeSelect=e.NiceTreeSelect;exports.NiceWiki=e.NiceWiki;exports.NiceSelect=o.NiceSelect;exports.NiceToggle=N.NiceToggle;exports.NiceColorPicker=t.NiceColorPicker;exports.NiceHtmlEditor=r.NiceHtmlEditor;exports.NiceCodeEditor=n.NiceCodeEditor;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./no-code-CFdTp543.cjs"),i=require("./NiceForm-CISJyzoW.cjs"),e=require("./NiceMention-wp1AJ5oh.cjs"),o=require("./NiceSelect-DIKGbaJo.cjs"),N=require("./pickerCommons-Dc_hlz-e.cjs"),t=require("./NiceColorPicker-CQhhjZ8w.cjs"),r=require("./NiceHtmlEditor-DvVxl4Fu.cjs"),n=require("./NiceCodeEditor-C43xFG8v.cjs");exports.NiceCheckbox=c.NiceCheckbox;exports.NiceNumberInput=c.NiceNumberInput;exports.NiceTextInput=c.NiceTextInput;exports.MASK_PRESETS=i.MASK_PRESETS;exports.NiceAutocomplete=i.NiceAutocomplete;exports.NiceCalendar=i.NiceCalendar;exports.NiceCountryPicker=i.NiceCountryPicker;exports.NiceDateTimePicker=i.NiceDateTimePicker;exports.NiceForm=i.NiceForm;exports.NiceMaskedInput=i.NiceMaskedInput;exports.NicePasswordInput=i.NicePasswordInput;exports.NiceRadioGroup=i.NiceRadioGroup;exports.NiceRating=i.NiceRating;exports.NiceSlider=i.NiceSlider;exports.NiceTagBox=i.NiceTagBox;exports.NiceTextArea=i.NiceTextArea;exports.NiceUpload=i.NiceUpload;exports.NICE_COLOR_PRESET_KEYS=e.NICE_COLOR_PRESET_KEYS;exports.NiceAccountPicker=e.NiceAccountPicker;exports.NiceAddressInput=e.NiceAddressInput;exports.NiceCodeEditorAI=e.NiceCodeEditorAI;exports.NiceColorPalette=e.NiceColorPalette;exports.NiceContactPicker=e.NiceContactPicker;exports.NiceCropEditor=e.NiceCropEditor;exports.NiceDateRangeBox=e.NiceDateRangeBox;exports.NiceDocumentEditor=e.NiceDocumentEditor;exports.NiceDropDownBox=e.NiceDropDownBox;exports.NiceEmojiPicker=e.NiceEmojiPicker;exports.NiceGradientPicker=e.NiceGradientPicker;exports.NiceHtmlEditorAI=e.NiceHtmlEditorAI;exports.NiceImageAnnotator=e.NiceImageAnnotator;exports.NiceImageEditor=e.NiceImageEditor;exports.NiceInputOtp=e.NiceInputOtp;exports.NiceInvoiceLineEditor=e.NiceInvoiceLineEditor;exports.NiceKeyValueEditor=e.NiceKeyValueEditor;exports.NiceKnob=e.NiceKnob;exports.NiceLogConsole=e.NiceLogConsole;exports.NiceLookup=e.NiceLookup;exports.NiceMarkdownEditor=e.NiceMarkdownEditor;exports.NiceMention=e.NiceMention;exports.NicePDFAnnotationEditor=e.NicePDFAnnotationEditor;exports.NicePickList=e.NicePickList;exports.NiceRangeSlider=e.NiceRangeSlider;exports.NiceScannerControl=e.NiceScannerControl;exports.NiceScriptRunner=e.NiceScriptRunner;exports.NiceSignature=e.NiceSignature;exports.NiceTreeSelect=e.NiceTreeSelect;exports.NiceWiki=e.NiceWiki;exports.NiceSelect=o.NiceSelect;exports.NiceToggle=N.NiceToggle;exports.NiceColorPicker=t.NiceColorPicker;exports.NiceHtmlEditor=r.NiceHtmlEditor;exports.NiceCodeEditor=n.NiceCodeEditor;
package/dist/editors.d.ts CHANGED
@@ -240,7 +240,9 @@ export declare const NICE_COLOR_PRESET_KEYS: NiceColorPreset[];
240
240
  * {@link NiceAccountPicker} — Accounting account selector with search,
241
241
  * tree view support, and account type indicators.
242
242
  */
243
- export declare const NiceAccountPicker: default_2.ForwardRefExoticComponent<NiceAccountPickerProps & default_2.RefAttributes<HTMLDivElement>>;
243
+ export declare const NiceAccountPicker: default_2.ForwardRefExoticComponent<NiceAccountPickerProps & default_2.RefAttributes<HTMLDivElement>> & {
244
+ displayName: string;
245
+ };
244
246
 
245
247
  /** Props for the {@link NiceAccountPicker} component. */
246
248
  export declare interface NiceAccountPickerProps extends NiceFormFieldProps {
@@ -249,7 +251,7 @@ export declare interface NiceAccountPickerProps extends NiceFormFieldProps {
249
251
  /** Fires when selection changes. */
250
252
  onChange?: (code: string, account: AccountEntry) => void;
251
253
  /** Available accounts (flat or tree). */
252
- accounts: AccountEntry[];
254
+ accounts?: AccountEntry[];
253
255
  /** Whether to display as a tree. */
254
256
  treeView?: boolean;
255
257
  /** Placeholder. */
@@ -266,7 +268,9 @@ export declare interface NiceAccountPickerProps extends NiceFormFieldProps {
266
268
  * {@link NiceAddressInput} — A structured address entry form with street, city, postal code, state and country fields.
267
269
  * Supports custom layouts, field visibility, country selection, and postal code validation.
268
270
  */
269
- export declare const NiceAddressInput: default_2.ForwardRefExoticComponent<NiceAddressInputProps & default_2.RefAttributes<HTMLDivElement>>;
271
+ export declare const NiceAddressInput: default_2.ForwardRefExoticComponent<NiceAddressInputProps & default_2.RefAttributes<HTMLDivElement>> & {
272
+ displayName: string;
273
+ };
270
274
 
271
275
  /** Props for the {@link NiceAddressInput} component — a structured address entry form. */
272
276
  export declare interface NiceAddressInputProps extends NiceFormFieldProps {
@@ -372,7 +376,9 @@ export declare interface NiceCalendarProps extends NiceBaseProps, TracelessStora
372
376
 
373
377
  export declare type NiceCalendarView = 'days' | 'months' | 'years' | 'decade';
374
378
 
375
- export declare const NiceCheckbox: default_2.ForwardRefExoticComponent<NiceCheckboxProps & default_2.RefAttributes<HTMLInputElement>>;
379
+ export declare const NiceCheckbox: default_2.ForwardRefExoticComponent<NiceCheckboxProps & default_2.RefAttributes<HTMLInputElement>> & {
380
+ displayName: string;
381
+ };
376
382
 
377
383
  /** Props for the {@link NiceCheckbox} component. */
378
384
  export declare interface NiceCheckboxProps extends NiceBaseProps {
@@ -694,7 +700,9 @@ declare interface NiceCodeMarker {
694
700
 
695
701
  declare type NiceCodeTheme = 'vs' | 'vs-dark' | 'hc-black' | 'hc-light' | 'auto';
696
702
 
697
- export declare const NiceColorPalette: default_2.ForwardRefExoticComponent<NiceColorPaletteProps & default_2.RefAttributes<HTMLDivElement>>;
703
+ export declare const NiceColorPalette: default_2.ForwardRefExoticComponent<NiceColorPaletteProps & default_2.RefAttributes<HTMLDivElement>> & {
704
+ displayName: string;
705
+ };
698
706
 
699
707
  export declare interface NiceColorPaletteProps extends NiceBaseProps {
700
708
  /** Current palette colors */
@@ -770,7 +778,9 @@ export declare interface NiceColorPaletteProps extends NiceBaseProps {
770
778
  persistCustomSchemes?: boolean;
771
779
  }
772
780
 
773
- export declare const NiceColorPicker: default_2.ForwardRefExoticComponent<NiceColorPickerProps & default_2.RefAttributes<HTMLInputElement>>;
781
+ export declare const NiceColorPicker: default_2.ForwardRefExoticComponent<NiceColorPickerProps & default_2.RefAttributes<HTMLInputElement>> & {
782
+ displayName: string;
783
+ };
774
784
 
775
785
  export declare interface NiceColorPickerProps extends NiceFormFieldProps {
776
786
  value?: string;
@@ -793,7 +803,9 @@ declare type NiceColorPreset = 'lightest-pastel' | 'bright-pastel' | 'shiny' | '
793
803
  * {@link NiceContactPicker} — Search-and-select picker for contacts (persons or companies)
794
804
  * with avatar display, async search and multi-select chip display.
795
805
  */
796
- export declare const NiceContactPicker: default_2.ForwardRefExoticComponent<NiceContactPickerProps & default_2.RefAttributes<HTMLDivElement>>;
806
+ export declare const NiceContactPicker: default_2.ForwardRefExoticComponent<NiceContactPickerProps & default_2.RefAttributes<HTMLDivElement>> & {
807
+ displayName: string;
808
+ };
797
809
 
798
810
  /** Props for the {@link NiceContactPicker} component. */
799
811
  export declare interface NiceContactPickerProps extends NiceFormFieldProps {
@@ -1030,7 +1042,9 @@ declare type NiceDateRangeStartCondition = 'today-or-greater' | 'greater-than-to
1030
1042
  * public export of the unrelated `NiceCountdown` display component. */
1031
1043
  declare type NiceDateTimeCountdownFormat = 'verbose' | 'compact' | 'short' | 'minimal' | 'words';
1032
1044
 
1033
- export declare const NiceDateTimePicker: default_2.ForwardRefExoticComponent<NiceDateTimePickerProps & default_2.RefAttributes<HTMLInputElement>>;
1045
+ export declare const NiceDateTimePicker: default_2.ForwardRefExoticComponent<NiceDateTimePickerProps & default_2.RefAttributes<HTMLInputElement>> & {
1046
+ displayName: string;
1047
+ };
1034
1048
 
1035
1049
  /** Props for the {@link NiceDateTimePicker} component — a masked, locale-aware date/time input. */
1036
1050
  export declare interface NiceDateTimePickerProps extends NiceFormFieldProps {
@@ -1155,7 +1169,9 @@ declare interface NiceDocumentBlock {
1155
1169
  /** Block type options in the {@link NiceDocumentEditor}. */
1156
1170
  declare type NiceDocumentBlockType = 'paragraph' | 'heading' | 'list' | 'image' | 'table' | 'divider' | 'code' | 'quote' | 'callout' | 'toggle' | 'video' | 'embed' | 'pageBreak';
1157
1171
 
1158
- export declare const NiceDocumentEditor: ForwardRefExoticComponent<NiceDocumentEditorProps & RefAttributes<HTMLDivElement>>;
1172
+ export declare const NiceDocumentEditor: ForwardRefExoticComponent<NiceDocumentEditorProps & RefAttributes<HTMLDivElement>> & {
1173
+ displayName: string;
1174
+ };
1159
1175
 
1160
1176
  /** Props for the {@link NiceDocumentEditor} component — a block-based document editor (Notion-like). */
1161
1177
  export declare interface NiceDocumentEditorProps extends NiceBaseProps {
@@ -1309,7 +1325,7 @@ declare interface NiceFormItem {
1309
1325
 
1310
1326
  /** Props for the {@link NiceForm} component — a declarative, data-driven form layout. */
1311
1327
  export declare interface NiceFormProps extends NiceBaseProps {
1312
- items: NiceFormItem[];
1328
+ items?: NiceFormItem[];
1313
1329
  /** Inline form data. Ignored when `dataSource` + `recordKey` are provided. */
1314
1330
  data?: Record<string, any>;
1315
1331
  /** Field change callback. Ignored when `dataSource` is provided. */
@@ -1354,7 +1370,9 @@ export declare interface NiceFormProps extends NiceBaseProps {
1354
1370
  cancelLabel?: string;
1355
1371
  }
1356
1372
 
1357
- export declare const NiceGradientPicker: default_2.ForwardRefExoticComponent<NiceGradientPickerProps & default_2.RefAttributes<HTMLDivElement>>;
1373
+ export declare const NiceGradientPicker: default_2.ForwardRefExoticComponent<NiceGradientPickerProps & default_2.RefAttributes<HTMLDivElement>> & {
1374
+ displayName: string;
1375
+ };
1358
1376
 
1359
1377
  export declare interface NiceGradientPickerProps extends NiceBaseProps {
1360
1378
  value?: NiceGradientValue;
@@ -1511,7 +1529,9 @@ export declare interface NiceHtmlEditorProps extends NiceFormFieldProps {
1511
1529
 
1512
1530
  declare type NiceImageAnnotationType = 'text' | 'rect' | 'circle' | 'line' | 'arrow';
1513
1531
 
1514
- export declare const NiceImageAnnotator: default_2.ForwardRefExoticComponent<NiceImageAnnotatorProps & default_2.RefAttributes<NiceImageAnnotatorRef>>;
1532
+ export declare const NiceImageAnnotator: default_2.ForwardRefExoticComponent<NiceImageAnnotatorProps & default_2.RefAttributes<NiceImageAnnotatorRef>> & {
1533
+ displayName: string;
1534
+ };
1515
1535
 
1516
1536
  export declare interface NiceImageAnnotatorProps {
1517
1537
  /** Image source (URL, data URI, or Blob URL) */
@@ -1557,7 +1577,9 @@ declare interface NiceImageAnnotatorRef {
1557
1577
  clear: () => void;
1558
1578
  }
1559
1579
 
1560
- export declare const NiceImageEditor: ForwardRefExoticComponent<NiceImageEditorProps & RefAttributes<HTMLDivElement>>;
1580
+ export declare const NiceImageEditor: ForwardRefExoticComponent<NiceImageEditorProps & RefAttributes<HTMLDivElement>> & {
1581
+ displayName: string;
1582
+ };
1561
1583
 
1562
1584
  declare interface NiceImageEditorAnnotation {
1563
1585
  type: NiceImageAnnotationType;
@@ -1610,7 +1632,9 @@ declare interface NiceImageEditorState {
1610
1632
  /** Available tools in the {@link NiceImageEditor} toolbar. */
1611
1633
  declare type NiceImageEditorTool = 'crop' | 'rotate' | 'flip' | 'brightness' | 'contrast' | 'saturate' | 'blur' | 'annotate';
1612
1634
 
1613
- export declare const NiceInputOtp: default_2.ForwardRefExoticComponent<NiceInputOtpProps & default_2.RefAttributes<HTMLDivElement>>;
1635
+ export declare const NiceInputOtp: default_2.ForwardRefExoticComponent<NiceInputOtpProps & default_2.RefAttributes<HTMLDivElement>> & {
1636
+ displayName: string;
1637
+ };
1614
1638
 
1615
1639
  /** Props for the {@link NiceInputOtp} component — a one-time-password input with separate digit boxes. */
1616
1640
  export declare interface NiceInputOtpProps extends NiceFormFieldProps {
@@ -1632,7 +1656,9 @@ export declare interface NiceInputOtpProps extends NiceFormFieldProps {
1632
1656
  * {@link NiceInvoiceLineEditor} — Editable grid for invoice/order line items with auto-calculated
1633
1657
  * net/gross amounts, VAT breakdown, discounts and totals.
1634
1658
  */
1635
- export declare const NiceInvoiceLineEditor: default_2.ForwardRefExoticComponent<NiceInvoiceLineEditorProps & default_2.RefAttributes<HTMLDivElement>>;
1659
+ export declare const NiceInvoiceLineEditor: default_2.ForwardRefExoticComponent<NiceInvoiceLineEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
1660
+ displayName: string;
1661
+ };
1636
1662
 
1637
1663
  /** Props for the {@link NiceInvoiceLineEditor} component. */
1638
1664
  export declare interface NiceInvoiceLineEditorProps extends NiceFormFieldProps {
@@ -1711,7 +1737,9 @@ export declare interface NiceKeyValuePair {
1711
1737
  description?: string;
1712
1738
  }
1713
1739
 
1714
- export declare const NiceKnob: default_2.ForwardRefExoticComponent<NiceKnobProps & default_2.RefAttributes<HTMLDivElement>>;
1740
+ export declare const NiceKnob: default_2.ForwardRefExoticComponent<NiceKnobProps & default_2.RefAttributes<HTMLDivElement>> & {
1741
+ displayName: string;
1742
+ };
1715
1743
 
1716
1744
  /** Props for the {@link NiceKnob} component — a rotary knob for numeric input (SVG-based). */
1717
1745
  export declare interface NiceKnobProps extends Omit<NiceFormFieldProps, 'size' | 'labelPlacement'> {
@@ -1740,7 +1768,7 @@ export declare const NiceLogConsole: ForwardRefExoticComponent<NiceLogConsolePro
1740
1768
 
1741
1769
  export declare interface NiceLogConsoleProps extends NiceBaseProps {
1742
1770
  /** Entries to render, oldest → newest. */
1743
- entries: NiceLogEntry[];
1771
+ entries?: NiceLogEntry[];
1744
1772
  /** Max height before the body scrolls. Number → px. Default `240`. */
1745
1773
  maxHeight?: number | string;
1746
1774
  /** Auto-scroll to the newest entry when `entries` grows. Default `true`. */
@@ -1825,7 +1853,9 @@ export declare interface NiceLookupProps extends NiceFormFieldProps {
1825
1853
  menuGap?: number;
1826
1854
  }
1827
1855
 
1828
- export declare const NiceMarkdownEditor: default_2.ForwardRefExoticComponent<NiceMarkdownEditorProps & default_2.RefAttributes<HTMLDivElement>>;
1856
+ export declare const NiceMarkdownEditor: default_2.ForwardRefExoticComponent<NiceMarkdownEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
1857
+ displayName: string;
1858
+ };
1829
1859
 
1830
1860
  export declare interface NiceMarkdownEditorProps extends NiceBaseProps {
1831
1861
  value?: string;
@@ -1849,7 +1879,9 @@ export declare interface NiceMarkdownEditorProps extends NiceBaseProps {
1849
1879
 
1850
1880
  declare type NiceMarkdownPreviewMode = 'side' | 'tab' | 'none';
1851
1881
 
1852
- export declare const NiceMaskedInput: default_2.ForwardRefExoticComponent<NiceMaskedInputProps & default_2.RefAttributes<HTMLInputElement>>;
1882
+ export declare const NiceMaskedInput: default_2.ForwardRefExoticComponent<NiceMaskedInputProps & default_2.RefAttributes<HTMLInputElement>> & {
1883
+ displayName: string;
1884
+ };
1853
1885
 
1854
1886
  /** Props for the {@link NiceMaskedInput} component — a text input that enforces a mask pattern (e.g. phone, credit card). */
1855
1887
  export declare interface NiceMaskedInputProps extends NiceFormFieldProps {
@@ -1882,7 +1914,9 @@ export declare interface NiceMaskedInputProps extends NiceFormFieldProps {
1882
1914
  /** Predefined mask presets. */
1883
1915
  export declare type NiceMaskPreset = 'phone' | 'credit-card' | 'date' | 'ssn' | 'zip' | 'time' | 'iban';
1884
1916
 
1885
- export declare const NiceMention: default_2.ForwardRefExoticComponent<NiceMentionProps & default_2.RefAttributes<HTMLTextAreaElement>>;
1917
+ export declare const NiceMention: default_2.ForwardRefExoticComponent<NiceMentionProps & default_2.RefAttributes<HTMLTextAreaElement>> & {
1918
+ displayName: string;
1919
+ };
1886
1920
 
1887
1921
  /** Props for the {@link NiceMention} component — a textarea with @mention triggers and suggestion popup. */
1888
1922
  export declare interface NiceMentionProps extends NiceFormFieldProps {
@@ -1908,7 +1942,9 @@ export declare interface NiceMentionSuggestion {
1908
1942
  [k: string]: unknown;
1909
1943
  }
1910
1944
 
1911
- export declare const NiceNumberInput: default_2.ForwardRefExoticComponent<NiceNumberInputProps & default_2.RefAttributes<HTMLInputElement>>;
1945
+ export declare const NiceNumberInput: default_2.ForwardRefExoticComponent<NiceNumberInputProps & default_2.RefAttributes<HTMLInputElement>> & {
1946
+ displayName: string;
1947
+ };
1912
1948
 
1913
1949
  /** Props for the {@link NiceNumberInput} component — a numeric field with stepper and precision control. */
1914
1950
  export declare interface NiceNumberInputProps extends NiceFormFieldProps {
@@ -1960,7 +1996,9 @@ export declare interface NiceNumberInputProps extends NiceFormFieldProps {
1960
1996
  suffixSeparator?: boolean;
1961
1997
  }
1962
1998
 
1963
- export declare const NicePasswordInput: default_2.ForwardRefExoticComponent<NicePasswordInputProps & default_2.RefAttributes<HTMLInputElement>>;
1999
+ export declare const NicePasswordInput: default_2.ForwardRefExoticComponent<NicePasswordInputProps & default_2.RefAttributes<HTMLInputElement>> & {
2000
+ displayName: string;
2001
+ };
1964
2002
 
1965
2003
  /** Props for the {@link NicePasswordInput} component — a password field with visibility toggle and strength meter. */
1966
2004
  export declare interface NicePasswordInputProps extends NiceFormFieldProps {
@@ -1997,7 +2035,9 @@ declare interface NicePasswordRule {
1997
2035
  * PDF rendering is external (expects an iframe/embed or a custom renderer).
1998
2036
  * This component provides the toolbar, annotation layer, and page navigation.
1999
2037
  */
2000
- export declare const NicePDFAnnotationEditor: default_2.ForwardRefExoticComponent<NicePDFAnnotationEditorProps & default_2.RefAttributes<HTMLDivElement>>;
2038
+ export declare const NicePDFAnnotationEditor: default_2.ForwardRefExoticComponent<NicePDFAnnotationEditorProps & default_2.RefAttributes<HTMLDivElement>> & {
2039
+ displayName: string;
2040
+ };
2001
2041
 
2002
2042
  /** Props for the {@link NicePDFAnnotationEditor} component. */
2003
2043
  export declare interface NicePDFAnnotationEditorProps extends NiceFormFieldProps {
@@ -2035,14 +2075,16 @@ export declare interface NicePDFAnnotationEditorProps extends NiceFormFieldProps
2035
2075
  tutorial?: NiceComponentTutorial;
2036
2076
  }
2037
2077
 
2038
- export declare const NicePickList: <T = unknown>(props: NicePickListProps<T> & default_2.RefAttributes<HTMLDivElement>) => default_2.ReactElement | null;
2078
+ export declare const NicePickList: (<T = unknown>(props: NicePickListProps<T> & default_2.RefAttributes<HTMLDivElement>) => default_2.ReactElement | null) & {
2079
+ displayName: string;
2080
+ };
2039
2081
 
2040
2082
  /** Props for the {@link NicePickList} component — a dual-list control for moving items between source and target. */
2041
2083
  export declare interface NicePickListProps<T = unknown> extends NiceBaseProps {
2042
2084
  /** Items in the source list */
2043
- source: T[];
2085
+ source?: T[];
2044
2086
  /** Items in the target list */
2045
- target: T[];
2087
+ target?: T[];
2046
2088
  /** Called when items move between lists */
2047
2089
  onChange: (source: T[], target: T[]) => void;
2048
2090
  /** Unique key extractor */
@@ -2082,7 +2124,7 @@ export declare const NiceRadioGroup: default_2.FC<NiceRadioGroupProps>;
2082
2124
  /** Props for the {@link NiceRadioGroup} component — a set of mutually exclusive radio options. */
2083
2125
  export declare interface NiceRadioGroupProps extends NiceFormFieldProps {
2084
2126
  /** Available options. */
2085
- options: NiceOption[];
2127
+ options?: NiceOption[];
2086
2128
  /** Currently selected value. */
2087
2129
  value?: string;
2088
2130
  /** Called when the selection changes. */
@@ -2115,7 +2157,9 @@ export declare interface NiceRangeSliderProps extends NiceFormFieldProps {
2115
2157
  valuePlacement?: 'right' | 'bottom' | 'none';
2116
2158
  }
2117
2159
 
2118
- export declare const NiceRating: default_2.ForwardRefExoticComponent<NiceRatingProps & default_2.RefAttributes<HTMLDivElement>>;
2160
+ export declare const NiceRating: default_2.ForwardRefExoticComponent<NiceRatingProps & default_2.RefAttributes<HTMLDivElement>> & {
2161
+ displayName: string;
2162
+ };
2119
2163
 
2120
2164
  /** Props for the {@link NiceRating} component — a star/icon rating input with half-step support. */
2121
2165
  export declare interface NiceRatingProps extends NiceBaseProps {
@@ -2160,7 +2204,9 @@ export declare interface NiceRatingProps extends NiceBaseProps {
2160
2204
  * {@link NiceScannerControl} — QR/barcode scanner UI with camera preview placeholder,
2161
2205
  * manual text entry, beep feedback, and scan history.
2162
2206
  */
2163
- export declare const NiceScannerControl: default_2.ForwardRefExoticComponent<NiceScannerControlProps & default_2.RefAttributes<HTMLDivElement>>;
2207
+ export declare const NiceScannerControl: default_2.ForwardRefExoticComponent<NiceScannerControlProps & default_2.RefAttributes<HTMLDivElement>> & {
2208
+ displayName: string;
2209
+ };
2164
2210
 
2165
2211
  /** Props for the {@link NiceScannerControl} component. */
2166
2212
  export declare interface NiceScannerControlProps extends NiceFormFieldProps {
@@ -2252,7 +2298,9 @@ export declare interface NiceScriptRunResult {
2252
2298
  durationMs?: number;
2253
2299
  }
2254
2300
 
2255
- export declare const NiceSelect: default_2.ForwardRefExoticComponent<NiceSelectProps & default_2.RefAttributes<HTMLButtonElement>>;
2301
+ export declare const NiceSelect: default_2.ForwardRefExoticComponent<NiceSelectProps & default_2.RefAttributes<HTMLButtonElement>> & {
2302
+ displayName: string;
2303
+ };
2256
2304
 
2257
2305
  /** Props for the {@link NiceSelect} component. */
2258
2306
  export declare interface NiceSelectProps extends NiceFormFieldProps {
@@ -2399,7 +2447,9 @@ declare interface NiceSignatureStroke {
2399
2447
  width: number;
2400
2448
  }
2401
2449
 
2402
- export declare const NiceSlider: default_2.ForwardRefExoticComponent<NiceSliderProps & default_2.RefAttributes<HTMLInputElement>>;
2450
+ export declare const NiceSlider: default_2.ForwardRefExoticComponent<NiceSliderProps & default_2.RefAttributes<HTMLInputElement>> & {
2451
+ displayName: string;
2452
+ };
2403
2453
 
2404
2454
  /** Props for the {@link NiceSlider} component — a single-thumb range slider for numeric input. */
2405
2455
  export declare interface NiceSliderProps extends Omit<NiceFormFieldProps, 'labelPlacement'> {
@@ -2478,7 +2528,9 @@ export declare interface NiceTagBoxProps extends NiceFormFieldProps {
2478
2528
  autoExpand?: boolean;
2479
2529
  }
2480
2530
 
2481
- export declare const NiceTextArea: default_2.ForwardRefExoticComponent<NiceTextAreaProps & default_2.RefAttributes<HTMLTextAreaElement>>;
2531
+ export declare const NiceTextArea: default_2.ForwardRefExoticComponent<NiceTextAreaProps & default_2.RefAttributes<HTMLTextAreaElement>> & {
2532
+ displayName: string;
2533
+ };
2482
2534
 
2483
2535
  export declare interface NiceTextAreaProps extends NiceFormFieldProps {
2484
2536
  value?: string;
@@ -2496,7 +2548,9 @@ export declare interface NiceTextAreaProps extends NiceFormFieldProps {
2496
2548
  counterPlacement?: 'bottom' | 'right';
2497
2549
  }
2498
2550
 
2499
- export declare const NiceTextInput: default_2.ForwardRefExoticComponent<NiceTextInputProps & default_2.RefAttributes<HTMLInputElement>>;
2551
+ export declare const NiceTextInput: default_2.ForwardRefExoticComponent<NiceTextInputProps & default_2.RefAttributes<HTMLInputElement>> & {
2552
+ displayName: string;
2553
+ };
2500
2554
 
2501
2555
  /** Props for the {@link NiceTextInput} component. */
2502
2556
  export declare interface NiceTextInputProps extends Omit<NiceFormFieldProps, 'labelPlacement'> {
@@ -2530,7 +2584,9 @@ export declare interface NiceTextInputProps extends Omit<NiceFormFieldProps, 'la
2530
2584
  variant?: 'outlined' | 'filled' | 'underlined' | string;
2531
2585
  }
2532
2586
 
2533
- export declare const NiceToggle: default_2.ForwardRefExoticComponent<NiceToggleProps & default_2.RefAttributes<HTMLInputElement>>;
2587
+ export declare const NiceToggle: default_2.ForwardRefExoticComponent<NiceToggleProps & default_2.RefAttributes<HTMLInputElement>> & {
2588
+ displayName: string;
2589
+ };
2534
2590
 
2535
2591
  /** Props for the {@link NiceToggle} component — a boolean switch/toggle. */
2536
2592
  export declare interface NiceToggleProps extends NiceBaseProps {
@@ -2568,7 +2624,9 @@ export declare interface NiceToggleProps extends NiceBaseProps {
2568
2624
  controlWidth?: string | number;
2569
2625
  }
2570
2626
 
2571
- export declare const NiceTreeSelect: default_2.ForwardRefExoticComponent<NiceTreeSelectProps & default_2.RefAttributes<HTMLDivElement>>;
2627
+ export declare const NiceTreeSelect: default_2.ForwardRefExoticComponent<NiceTreeSelectProps & default_2.RefAttributes<HTMLDivElement>> & {
2628
+ displayName: string;
2629
+ };
2572
2630
 
2573
2631
  /** A node in the tree hierarchy for {@link NiceTreeSelect}. */
2574
2632
  declare interface NiceTreeSelectNode {
@@ -2580,7 +2638,7 @@ declare interface NiceTreeSelectNode {
2580
2638
 
2581
2639
  /** Props for the {@link NiceTreeSelect} component — a dropdown that lets the user pick from a tree hierarchy. */
2582
2640
  export declare interface NiceTreeSelectProps extends NiceFormFieldProps {
2583
- nodes: NiceTreeSelectNode[];
2641
+ nodes?: NiceTreeSelectNode[];
2584
2642
  /** Selected value(s) */
2585
2643
  value?: string | number | (string | number)[];
2586
2644
  onChange?: (value: string | number | (string | number)[]) => void;
@@ -2601,7 +2659,9 @@ export declare interface NiceTreeSelectProps extends NiceFormFieldProps {
2601
2659
  menuGap?: number;
2602
2660
  }
2603
2661
 
2604
- export declare const NiceUpload: default_2.ForwardRefExoticComponent<NiceUploadProps & default_2.RefAttributes<HTMLDivElement>>;
2662
+ export declare const NiceUpload: default_2.ForwardRefExoticComponent<NiceUploadProps & default_2.RefAttributes<HTMLDivElement>> & {
2663
+ displayName: string;
2664
+ };
2605
2665
 
2606
2666
  /** Imperative handle, exposed via the optional `apiRef` prop (not the div `ref`). */
2607
2667
  export declare interface NiceUploadHandle {
@@ -2679,7 +2739,9 @@ export declare interface NiceUploadProps extends NiceBaseProps {
2679
2739
  * {@link NiceWiki} — Wiki module with page tree sidebar, rich content area,
2680
2740
  * inline editor (edit mode), page create/delete, and version history hooks.
2681
2741
  */
2682
- export declare const NiceWiki: default_2.ForwardRefExoticComponent<NiceWikiProps & default_2.RefAttributes<HTMLDivElement>>;
2742
+ export declare const NiceWiki: default_2.ForwardRefExoticComponent<NiceWikiProps & default_2.RefAttributes<HTMLDivElement>> & {
2743
+ displayName: string;
2744
+ };
2683
2745
 
2684
2746
  export declare interface NiceWikiProps extends NiceFormFieldProps {
2685
2747
  /** Page tree. Defaults to none. */
package/dist/editors.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { N as a, a as c, b as o } from "./no-code-CnHG5_Vn.js";
2
- import { M as s, N, a as t, b as n, c as d, d as p, e as m, f as l, g as E, h as u, i as k, j as x, k as C, l as P } from "./NiceForm-DUhxXArr.js";
3
- import { N as I, a as S, b as f, c as A, d as R, e as T, f as D, g as b, h as L, i as M, j as w, k as B, l as K, m as _, n as h, o as j, p as y, q as O, r as v, s as F, t as G, u as H, v as q, w as z, x as U, y as V, z as W, A as Y, B as J, C as Q, D as X } from "./NiceMention-CA7CL5BI.js";
4
- import { N as $ } from "./NiceSelect-DZB1Rs9x.js";
5
- import { N as ie } from "./pickerCommons-0vyK1Knv.js";
6
- import { NiceColorPicker as ce } from "./NiceColorPicker-DK30kJgy.js";
7
- import { NiceHtmlEditor as re } from "./NiceHtmlEditor-mWebBmy1.js";
8
- import { NiceCodeEditor as Ne } from "./NiceCodeEditor-B8At55f5.js";
1
+ import { N as a, a as c, b as o } from "./no-code-BNFk_BDO.js";
2
+ import { M as s, N, a as t, b as n, c as d, d as p, e as m, f as l, g as E, h as u, i as k, j as x, k as C, l as P } from "./NiceForm-DmH6k1b_.js";
3
+ import { N as I, a as S, b as f, c as A, d as R, e as T, f as D, g as b, h as L, i as M, j as w, k as B, l as K, m as _, n as h, o as j, p as y, q as O, r as v, s as F, t as G, u as H, v as q, w as z, x as U, y as V, z as W, A as Y, B as J, C as Q, D as X } from "./NiceMention-DKhk3xdM.js";
4
+ import { N as $ } from "./NiceSelect-CZR8Zu_k.js";
5
+ import { N as ie } from "./pickerCommons-CMxFt9SW.js";
6
+ import { NiceColorPicker as ce } from "./NiceColorPicker-Cbop7VMu.js";
7
+ import { NiceHtmlEditor as re } from "./NiceHtmlEditor-DeK0Of98.js";
8
+ import { NiceCodeEditor as Ne } from "./NiceCodeEditor-CspuYLh6.js";
9
9
  export {
10
10
  s as MASK_PRESETS,
11
11
  I as NICE_COLOR_PRESET_KEYS,
package/dist/feedback.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceLoginForm-BHyDY7br.cjs"),i=require("./NiceModal-C4p8a82e.cjs"),o=require("./NiceConfirmDialog-B7aNRL2K.cjs");exports.NiceAlert=e.NiceAlert;exports.NiceCookieConsent=e.NiceCookieConsent;exports.NiceDrawer=e.NiceDrawer;exports.NiceErrorBoundary=e.NiceErrorBoundary;exports.NiceLoginForm=e.NiceLoginForm;exports.NiceOfflineBanner=e.NiceOfflineBanner;exports.NiceRetryPanel=e.NiceRetryPanel;exports.NiceTimeoutFeedback=e.NiceTimeoutFeedback;exports.NiceToastContainer=e.NiceToastContainer;exports.alertIcons=e.alertIcons;exports.useNiceToast=e.useNiceToast;exports.NiceModal=i.NiceModal;exports.NiceConfirmDialog=o.NiceConfirmDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceLoginForm-ix6J1adA.cjs"),o=require("./NiceModal-BbQwiEOp.cjs"),i=require("./devops-CXBSjnyX.cjs");exports.NiceAlert=e.NiceAlert;exports.NiceCookieConsent=e.NiceCookieConsent;exports.NiceDrawer=e.NiceDrawer;exports.NiceErrorBoundary=e.NiceErrorBoundary;exports.NiceLoginForm=e.NiceLoginForm;exports.NiceOfflineBanner=e.NiceOfflineBanner;exports.NiceRetryPanel=e.NiceRetryPanel;exports.NiceTimeoutFeedback=e.NiceTimeoutFeedback;exports.NiceToastContainer=e.NiceToastContainer;exports.alertIcons=e.alertIcons;exports.useNiceToast=e.useNiceToast;exports.NiceModal=o.NiceModal;exports.NiceConfirmDialog=i.NiceConfirmDialog;exports.useNiceDialogs=i.useNiceDialogs;
@@ -56,12 +56,30 @@ export declare interface NiceConfirmDialogProps extends NiceStandardProps {
56
56
  closeOnOverlay?: boolean;
57
57
  /** Close on Escape key (default: true) */
58
58
  closeOnEscape?: boolean;
59
+ /** Show the reject button (default: true). `false` makes it a one-button message. */
60
+ showReject?: boolean;
61
+ }
62
+
63
+ /** What {@link useNiceDialogs}' `confirm` and `alert` show. */
64
+ export declare interface NiceConfirmRequest {
65
+ /** The question / message. */
66
+ message: default_2.ReactNode;
67
+ /** Dialog heading. */
68
+ header?: string;
69
+ /** Icon and accept-button style. */
70
+ variant?: 'info' | 'warning' | 'error' | 'success';
71
+ /** Accept button label. */
72
+ acceptLabel?: string;
73
+ /** Reject button label (`confirm` only). */
74
+ rejectLabel?: string;
59
75
  }
60
76
 
61
77
  /** Cookie category types for the {@link NiceCookieConsent} banner. */
62
78
  declare type NiceCookieCategory = 'necessary' | 'analytics' | 'marketing' | 'preferences';
63
79
 
64
- export declare const NiceCookieConsent: ForwardRefExoticComponent<NiceCookieConsentProps & RefAttributes<HTMLDivElement>>;
80
+ export declare const NiceCookieConsent: ForwardRefExoticComponent<NiceCookieConsentProps & RefAttributes<HTMLDivElement>> & {
81
+ displayName: string;
82
+ };
65
83
 
66
84
  /** Props for the {@link NiceCookieConsent} component — a GDPR-style cookie consent banner with category toggles. */
67
85
  export declare interface NiceCookieConsentProps extends NiceStandardProps {
@@ -87,6 +105,18 @@ export declare interface NiceCookieConsentProps extends NiceStandardProps {
87
105
  showDetails?: boolean;
88
106
  }
89
107
 
108
+ /** Returned by {@link useNiceDialogs}. */
109
+ export declare interface NiceDialogs {
110
+ /** Asks for one value; resolves with it, or `null` when cancelled. */
111
+ prompt: (request: NicePromptRequest) => Promise<string | null>;
112
+ /** Asks a yes / no question; resolves `true` on accept. */
113
+ confirm: (request: NiceConfirmRequest) => Promise<boolean>;
114
+ /** Shows a message with one button; resolves when it is closed. */
115
+ alert: (request: NiceConfirmRequest) => Promise<void>;
116
+ /** The open dialog, if any — render it once in the component. */
117
+ element: default_2.ReactElement | null;
118
+ }
119
+
90
120
  export declare const NiceDrawer: default_2.FC<NiceDrawerProps>;
91
121
 
92
122
  /** Props for the {@link NiceDrawer} component — a slide-in panel from any edge. */
@@ -143,7 +173,9 @@ declare interface NiceErrorBoundaryState {
143
173
  error: Error | null;
144
174
  }
145
175
 
146
- export declare const NiceLoginForm: ForwardRefExoticComponent<NiceLoginFormProps & RefAttributes<HTMLFormElement>>;
176
+ export declare const NiceLoginForm: ForwardRefExoticComponent<NiceLoginFormProps & RefAttributes<HTMLFormElement>> & {
177
+ displayName: string;
178
+ };
147
179
 
148
180
  /** Props for the {@link NiceLoginForm} component — a pre-built login form with username, password, remember-me, and social links. */
149
181
  export declare interface NiceLoginFormProps extends NiceStandardProps {
@@ -225,6 +257,24 @@ export declare interface NiceOfflineBannerProps extends NiceStandardProps {
225
257
  online?: boolean;
226
258
  }
227
259
 
260
+ /** What {@link useNiceDialogs}' `prompt` asks for. */
261
+ export declare interface NicePromptRequest {
262
+ /** Dialog heading. */
263
+ title: default_2.ReactNode;
264
+ /** Optional explanation above the input. */
265
+ message?: default_2.ReactNode;
266
+ /** Initial value of the input. */
267
+ defaultValue?: string;
268
+ /** Input placeholder. */
269
+ placeholder?: string;
270
+ /** Native input type. */
271
+ inputType?: default_2.HTMLInputTypeAttribute;
272
+ /** Confirm button label (default: translated "OK"). */
273
+ confirmLabel?: default_2.ReactNode;
274
+ /** Cancel button label (default: translated "Cancel"). */
275
+ cancelLabel?: default_2.ReactNode;
276
+ }
277
+
228
278
  export declare const NiceRetryPanel: default_2.FC<NiceRetryPanelProps>;
229
279
 
230
280
  export declare interface NiceRetryPanelProps extends NiceStandardProps {
@@ -278,6 +328,25 @@ declare interface ToastContainerProps {
278
328
  position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center';
279
329
  }
280
330
 
331
+ /**
332
+ * Promise-based `prompt` / `confirm` / `alert` on the library's own dialogs
333
+ * ({@link NicePromptDialog}, {@link NiceConfirmDialog}), in place of the browser's blocking
334
+ * `window.prompt` / `window.confirm` / `window.alert`, which ignore the theme, the language and
335
+ * the app's focus management.
336
+ *
337
+ * ```tsx
338
+ * const dialogs = useNiceDialogs();
339
+ * const rename = async () => {
340
+ * const name = await dialogs.prompt({ title: t('rename', 'New name'), defaultValue: item.name });
341
+ * if (name) onRename(item, name);
342
+ * };
343
+ * return <>{dialogs.element}<button onClick={rename}>…</button></>;
344
+ * ```
345
+ *
346
+ * One dialog at a time: a new request settles the open one as cancelled.
347
+ */
348
+ export declare function useNiceDialogs(): NiceDialogs;
349
+
281
350
  export declare function useNiceToast(): {
282
351
  toasts: NiceToastItem[];
283
352
  dismiss: (id: string) => void;
package/dist/feedback.mjs CHANGED
@@ -1,18 +1,19 @@
1
- import { N as o, a as i, b as r, c as s, d as c, e as N, f as n, g as t, h as f, i as l, u as m } from "./NiceLoginForm-BuxFY2Rk.js";
2
- import { N as u } from "./NiceModal-TNlkaL_i.js";
3
- import { N as g } from "./NiceConfirmDialog-BdhWenrO.js";
1
+ import { N as i, a as o, b as s, c as r, d as c, e as N, f as n, g as t, h as f, i as l, u as m } from "./NiceLoginForm-CHXbz0eu.js";
2
+ import { N as d } from "./NiceModal-DQEfTcnZ.js";
3
+ import { a as C, b } from "./devops-Bp-_aA-9.js";
4
4
  export {
5
- o as NiceAlert,
6
- g as NiceConfirmDialog,
7
- i as NiceCookieConsent,
8
- r as NiceDrawer,
9
- s as NiceErrorBoundary,
5
+ i as NiceAlert,
6
+ C as NiceConfirmDialog,
7
+ o as NiceCookieConsent,
8
+ s as NiceDrawer,
9
+ r as NiceErrorBoundary,
10
10
  c as NiceLoginForm,
11
- u as NiceModal,
11
+ d as NiceModal,
12
12
  N as NiceOfflineBanner,
13
13
  n as NiceRetryPanel,
14
14
  t as NiceTimeoutFeedback,
15
15
  f as NiceToastContainer,
16
16
  l as alertIcons,
17
+ b as useNiceDialogs,
17
18
  m as useNiceToast
18
19
  };