@nice2dev/ui 1.1.10 → 1.2.1

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 (269) hide show
  1. package/CHANGELOG.md +183 -0
  2. package/README.md +12 -20
  3. package/dist/NiceApiExplorer.doc-CFJndg5h.js +25 -0
  4. package/dist/NiceApiExplorer.doc-TEx67kV5.cjs +1 -0
  5. package/dist/NiceBPMNDesigner.doc-6lK1pXRq.js +32 -0
  6. package/dist/NiceBPMNDesigner.doc-BY8t7qOi.cjs +8 -0
  7. package/dist/NiceBackupDiffViewer.doc-CYvOeX19.js +25 -0
  8. package/dist/NiceBackupDiffViewer.doc-ChQaZCg1.cjs +1 -0
  9. package/dist/NiceBackupList.doc-BdQCw0_D.cjs +1 -0
  10. package/dist/NiceBackupList.doc-BwjIAoqz.js +25 -0
  11. package/dist/NiceBackupRestoreDialog.doc-B2iiqTps.cjs +1 -0
  12. package/dist/NiceBackupRestoreDialog.doc-DuXSGJiD.js +25 -0
  13. package/dist/NiceBackupScheduler.doc-BpY45181.js +31 -0
  14. package/dist/NiceBackupScheduler.doc-ByeL3iH1.cjs +7 -0
  15. package/dist/NiceBackupStatusBadge.doc-BA3dYgiW.cjs +1 -0
  16. package/dist/NiceBackupStatusBadge.doc-CxwkVarP.js +25 -0
  17. package/dist/NiceBackupTagEditor.doc-Bej1KHco.cjs +7 -0
  18. package/dist/NiceBackupTagEditor.doc-CNy4uNws.js +31 -0
  19. package/dist/NiceBottomSheet.doc-keq-Fzlz.cjs +8 -0
  20. package/dist/NiceBottomSheet.doc-v-UPUKQk.js +32 -0
  21. package/dist/NiceBranchManager.doc-BTyRjX7X.cjs +6 -0
  22. package/dist/NiceBranchManager.doc-Cz4SyEqE.js +30 -0
  23. package/dist/NiceButton-3AcJJ15c.cjs +1 -0
  24. package/dist/NiceButton-5tWvfXKl.cjs +1 -0
  25. package/dist/NiceButton-DHSgQT1_.js +112 -0
  26. package/dist/NiceButton-vkI07DP0.js +88 -0
  27. package/dist/NiceCodeEditor-B8At55f5.js +1179 -0
  28. package/dist/NiceCodeEditor-BJSEzhcY.cjs +260 -0
  29. package/dist/NiceCodeEditor-VGIDWSkS.js +1181 -0
  30. package/dist/NiceCodeEditor-qX39PSnQ.cjs +260 -0
  31. package/dist/NiceColorPicker-CQhhjZ8w.cjs +1 -0
  32. package/dist/NiceColorPicker-Cbop7VMu.js +491 -0
  33. package/dist/NiceColorPicker-DCgmE-3H.cjs +1 -0
  34. package/dist/NiceColorPicker-DK30kJgy.js +486 -0
  35. package/dist/NiceColorPicker-DtPFxDKM.cjs +1 -0
  36. package/dist/NiceColorPicker-bNJBAU_c.js +598 -0
  37. package/dist/NiceConnectorConfigForm.doc-BKrDuhXw.cjs +7 -0
  38. package/dist/NiceConnectorConfigForm.doc-BsHeXz3M.js +31 -0
  39. package/dist/NiceDataBranchGraph.doc-Axidz41W.js +29 -0
  40. package/dist/NiceDataBranchGraph.doc-sjLmrrtE.cjs +5 -0
  41. package/dist/NiceDataBranchManager.doc-B1-Rp2X4.cjs +6 -0
  42. package/dist/NiceDataBranchManager.doc-GUqfTFvW.js +30 -0
  43. package/dist/NiceDataConflictResolver.doc-CjQryrTu.cjs +5 -0
  44. package/dist/NiceDataConflictResolver.doc-L-TcnQMX.js +29 -0
  45. package/dist/NiceDataDiffViewer.doc-BzGrf0U-.cjs +6 -0
  46. package/dist/NiceDataDiffViewer.doc-goxhSldH.js +30 -0
  47. package/dist/NiceDataGrid-BDEIbuBS.js +2218 -0
  48. package/dist/NiceDataGrid-BOCJr6XF.js +2217 -0
  49. package/dist/NiceDataGrid-BV5Oh-gy.cjs +10 -0
  50. package/dist/NiceDataGrid-CS5aB-EN.cjs +10 -0
  51. package/dist/NiceDataGrid-Dd7SI-M6.cjs +10 -0
  52. package/dist/NiceDataGrid-DjZchXYG.js +2217 -0
  53. package/dist/NiceDataMapper.doc-QmnmnvVq.js +30 -0
  54. package/dist/NiceDataMapper.doc-ytGVtYVr.cjs +6 -0
  55. package/dist/NiceDataMergeBuilder.doc-BcmzKxh2.cjs +6 -0
  56. package/dist/NiceDataMergeBuilder.doc-BvYa4aUJ.js +30 -0
  57. package/dist/NiceDataSnapshot.doc-C73K1biG.cjs +6 -0
  58. package/dist/NiceDataSnapshot.doc-hU7wnOzM.js +30 -0
  59. package/dist/NiceDesktopViews.doc-DJjYlyP2.cjs +1 -0
  60. package/dist/NiceDesktopViews.doc-ly-VUAJj.js +25 -0
  61. package/dist/NiceDeviceControlCard.doc-BZIo92-w.cjs +1 -0
  62. package/dist/NiceDeviceControlCard.doc-DIzZcW9L.js +25 -0
  63. package/dist/NiceDocumentViewer-B9VIVKyw.js +726 -0
  64. package/dist/NiceDocumentViewer-CDXAmPp7.cjs +180 -0
  65. package/dist/NiceDocumentationViewer.doc-BSNGa7a_.js +25 -0
  66. package/dist/NiceDocumentationViewer.doc-CrwlvPFg.cjs +1 -0
  67. package/dist/NiceEnergyChart.doc-DW-jllDV.cjs +1 -0
  68. package/dist/NiceEnergyChart.doc-DnEehTff.js +25 -0
  69. package/dist/NiceFeatureGate.doc-DN17uS_B.cjs +3 -0
  70. package/dist/NiceFeatureGate.doc-DNfFSRrh.js +27 -0
  71. package/dist/NiceForm-BCEXovJR.cjs +1 -0
  72. package/dist/NiceForm-BcN4p2kG.cjs +1 -0
  73. package/dist/NiceForm-D7oyWHXg.js +4820 -0
  74. package/dist/NiceForm-DUhxXArr.js +4817 -0
  75. package/dist/NiceForm-tIXS-M6b.js +4770 -0
  76. package/dist/NiceForm-uCeVmTrD.cjs +1 -0
  77. package/dist/NiceFormItem.doc-BJwEnDz2.js +36 -0
  78. package/dist/NiceFormItem.doc-Ck3PgaPD.cjs +12 -0
  79. package/dist/NiceGantt-CTbqCuwv.cjs +1 -0
  80. package/dist/NiceGantt-Dao7pN9z.js +328 -0
  81. package/dist/NiceGantt.doc-B6YZcJvG.cjs +11 -0
  82. package/dist/NiceGantt.doc-DsI1QXly.js +48 -0
  83. package/dist/NiceGitBlame.doc-BQ2KvGkD.js +30 -0
  84. package/dist/NiceGitBlame.doc-DuTSjZVN.cjs +6 -0
  85. package/dist/NiceGitDiffViewer.doc-D24AGos_.js +30 -0
  86. package/dist/NiceGitDiffViewer.doc-D9FVquBC.cjs +6 -0
  87. package/dist/NiceGitGraph.doc-C-8VGMIz.js +29 -0
  88. package/dist/NiceGitGraph.doc-eRvTmefl.cjs +5 -0
  89. package/dist/NiceGitHooks.doc-DCTVw7HX.cjs +5 -0
  90. package/dist/NiceGitHooks.doc-OCFj5w6v.js +29 -0
  91. package/dist/NiceHtmlEditor-BYk1roA4.cjs +10 -0
  92. package/dist/NiceHtmlEditor-C5kLeF9H.cjs +10 -0
  93. package/dist/NiceHtmlEditor-CFVMIC5L.js +848 -0
  94. package/dist/NiceHtmlEditor-DUwcqj5N.cjs +10 -0
  95. package/dist/NiceHtmlEditor-DiAphF1k.js +889 -0
  96. package/dist/NiceHtmlEditor-mWebBmy1.js +849 -0
  97. package/dist/NiceInstanceMonitor.doc-BSDZp5xa.js +31 -0
  98. package/dist/NiceInstanceMonitor.doc-HVbLufnh.cjs +7 -0
  99. package/dist/NiceLocaleManager.doc-CbVHDEWu.js +25 -0
  100. package/dist/NiceLocaleManager.doc-XH6hMW0Z.cjs +1 -0
  101. package/dist/NiceLockButton.doc-BMhSj3TB.cjs +1 -0
  102. package/dist/NiceLockButton.doc-DvHGhcfm.js +25 -0
  103. package/dist/NiceLoginForm-BHyDY7br.cjs +1 -0
  104. package/dist/NiceLoginForm-BuxFY2Rk.js +750 -0
  105. package/dist/NiceLoginForm-DQe77Isv.js +747 -0
  106. package/dist/NiceLoginForm-NBCo-DUZ.cjs +1 -0
  107. package/dist/NiceLoginForm.css +1 -0
  108. package/dist/NiceMAM.doc-CsQ57saR.cjs +8 -0
  109. package/dist/NiceMAM.doc-hjW7buTH.js +32 -0
  110. package/dist/NiceMention--3P3vO-W.cjs +430 -0
  111. package/dist/NiceMention-CA7CL5BI.js +11263 -0
  112. package/dist/NiceMention-CHcKRl-L.cjs +430 -0
  113. package/dist/NiceMention-Co2cqkVM.js +11316 -0
  114. package/dist/NiceMention-DJD0BLcp.js +11269 -0
  115. package/dist/NiceMention-DcaUEMSg.cjs +430 -0
  116. package/dist/NiceMention.css +1 -1
  117. package/dist/NiceModal-C4p8a82e.cjs +1 -0
  118. package/dist/NiceModal-TNlkaL_i.js +85 -0
  119. package/dist/NiceModuleLifecyclePanel-BWbKdVC_.js +7054 -0
  120. package/dist/NiceModuleLifecyclePanel-CZHIzvkE.cjs +1 -0
  121. package/dist/NiceModuleLifecyclePanel-DV3F_QdI.cjs +1 -0
  122. package/dist/NiceModuleLifecyclePanel-OC9YK2kG.js +7052 -0
  123. package/dist/NiceModuleLifecyclePanel-_OcfDmtC.cjs +1 -0
  124. package/dist/NiceModuleLifecyclePanel-gaZkIEtK.js +6825 -0
  125. package/dist/NiceModuleLifecyclePanel.css +1 -1
  126. package/dist/NiceNetworkDiscoveryPanel.doc-B0RtGaS3.js +25 -0
  127. package/dist/NiceNetworkDiscoveryPanel.doc-BFgFZI5G.cjs +1 -0
  128. package/dist/NicePagination-8XsBbMNx.js +165 -0
  129. package/dist/NicePagination-B3nZDZem.js +165 -0
  130. package/dist/NicePagination-B8rg1Y67.cjs +1 -0
  131. package/dist/NicePagination-CkOoXf0f.js +165 -0
  132. package/dist/NicePagination-D7lek1G7.cjs +1 -0
  133. package/dist/NicePagination-OjTEfZJE.cjs +1 -0
  134. package/dist/NicePipelineEditor.doc-CjqDKe2x.js +29 -0
  135. package/dist/NicePipelineEditor.doc-DZ0pTVTp.cjs +5 -0
  136. package/dist/NicePipelineMonitor.doc-C88-TagI.cjs +5 -0
  137. package/dist/NicePipelineMonitor.doc-CFtH4XJx.js +29 -0
  138. package/dist/NicePivotGrid-BJRSciWl.js +1183 -0
  139. package/dist/NicePivotGrid-BaZa2YZW.js +1157 -0
  140. package/dist/NicePivotGrid-CS1dPmNI.cjs +152 -0
  141. package/dist/NicePivotGrid-D2AxqDzJ.js +1183 -0
  142. package/dist/NicePivotGrid-DxQ6Py9D.cjs +152 -0
  143. package/dist/NicePivotGrid-DyOPhPO8.cjs +152 -0
  144. package/dist/NiceRoomGrid.doc-DJPVUQVg.cjs +8 -0
  145. package/dist/NiceRoomGrid.doc-DLHJS_Wb.js +32 -0
  146. package/dist/NiceSavedQueryPanel-B5HhqlAI.cjs +586 -0
  147. package/dist/NiceSavedQueryPanel-BC84uRfh.cjs +586 -0
  148. package/dist/NiceSavedQueryPanel-CMStDOKe.js +5125 -0
  149. package/dist/NiceSavedQueryPanel-CMfcODIO.js +5120 -0
  150. package/dist/NiceSavedQueryPanel-D2i34e_b.cjs +586 -0
  151. package/dist/NiceSavedQueryPanel-mPO2THs7.js +5142 -0
  152. package/dist/NiceSavedQueryPanel.css +1 -1
  153. package/dist/NiceSceneBar.doc-09sc3yuF.cjs +1 -0
  154. package/dist/NiceSceneBar.doc-DLePMuVU.js +25 -0
  155. package/dist/NiceSceneSelector.doc-CPzCAy-d.cjs +7 -0
  156. package/dist/NiceSceneSelector.doc-FCLZvPc0.js +31 -0
  157. package/dist/NiceScheduler-7gP7vcLy.cjs +5 -0
  158. package/dist/NiceScheduler-BAJRzFQN.js +1690 -0
  159. package/dist/NiceScheduler-Cy7F9tgH.js +1693 -0
  160. package/dist/NiceScheduler-DquRUZxD.cjs +5 -0
  161. package/dist/NiceScheduler-dJ7gHDv7.cjs +5 -0
  162. package/dist/NiceScheduler-l8N4yCWd.js +1716 -0
  163. package/dist/NiceSchedulerViews.doc-C9opZpgg.cjs +1 -0
  164. package/dist/NiceSchedulerViews.doc-Dy7ZH1iL.js +25 -0
  165. package/dist/NiceSelect-CZR8Zu_k.js +420 -0
  166. package/dist/NiceSelect-DIKGbaJo.cjs +1 -0
  167. package/dist/NiceSelect-DZB1Rs9x.js +435 -0
  168. package/dist/NiceSelect-tMz9QQUs.cjs +1 -0
  169. package/dist/NiceSensorGaugePanel.doc-BHirbWLn.cjs +8 -0
  170. package/dist/NiceSensorGaugePanel.doc-DjKmooI6.js +32 -0
  171. package/dist/NiceSpotlight.doc-BVZFfDVI.cjs +10 -0
  172. package/dist/NiceSpotlight.doc-JqwkzrEm.js +34 -0
  173. package/dist/NiceStateDesigner.doc-CfnwiwfU.js +29 -0
  174. package/dist/NiceStateDesigner.doc-DV4zEC50.cjs +5 -0
  175. package/dist/NiceStepper.doc-5VjaLM6r.js +31 -0
  176. package/dist/NiceStepper.doc-f8lYpr33.cjs +7 -0
  177. package/dist/NiceStreamDashboard.doc-74KUXya1.cjs +8 -0
  178. package/dist/NiceStreamDashboard.doc-k8PQfCM0.js +32 -0
  179. package/dist/NiceTaskInbox.doc-CHrxthqp.js +32 -0
  180. package/dist/NiceTaskInbox.doc-CdCTfgBq.cjs +8 -0
  181. package/dist/NiceTestBuilder.doc-BoBzLfa0.js +30 -0
  182. package/dist/NiceTestBuilder.doc-Cj1fNTvk.cjs +6 -0
  183. package/dist/NiceTranscoder.doc-Dnirl3wg.cjs +7 -0
  184. package/dist/NiceTranscoder.doc-cInCYZh7.js +31 -0
  185. package/dist/NiceVideoAnnotator.doc-C1iEi7OM.cjs +7 -0
  186. package/dist/NiceVideoAnnotator.doc-C8zyfKH_.js +31 -0
  187. package/dist/NiceVideoEditor.doc-C6mhEb-q.cjs +7 -0
  188. package/dist/NiceVideoEditor.doc-lrwmKjqj.js +31 -0
  189. package/dist/NiceWindow-BEov3s9F.js +2094 -0
  190. package/dist/NiceWindow-CDt6PCEg.cjs +1 -0
  191. package/dist/NiceWindow-CWN8OCHF.js +2109 -0
  192. package/dist/NiceWindow-Dd8qjkIW.cjs +1 -0
  193. package/dist/NiceWindow.css +1 -1
  194. package/dist/charts-Bo2WAI5T.cjs +768 -0
  195. package/dist/charts-ByrdMeQP.js +4767 -0
  196. package/dist/charts-C047IMVn.cjs +768 -0
  197. package/dist/charts-CCXSb3xk.js +4752 -0
  198. package/dist/charts-CqETcUhH.js +4752 -0
  199. package/dist/charts-DouiiHOT.cjs +768 -0
  200. package/dist/charts.cjs +1 -1
  201. package/dist/charts.css +1 -1
  202. package/dist/charts.d.ts +28 -18
  203. package/dist/charts.mjs +1 -1
  204. package/dist/core-B8eBUE4m.js +438 -0
  205. package/dist/core-BL-KmGYC.js +795 -0
  206. package/dist/core-Chg-oYCr.cjs +1 -0
  207. package/dist/core-CxBnKAhs.cjs +1 -0
  208. package/dist/core-D_LRh59n.js +795 -0
  209. package/dist/core-lBFqvT0V.cjs +1 -0
  210. package/dist/core-lazy-Bh2yg4Et.js +351 -0
  211. package/dist/core-lazy-CkWKjfc6.cjs +1 -0
  212. package/dist/data-branching-Dak1_ZKR.cjs +1 -0
  213. package/dist/data-branching-DiLAO4Qt.js +6386 -0
  214. package/dist/data-branching-Km4lc8P_.cjs +1 -0
  215. package/dist/data-branching-YQtJJEtn.js +6273 -0
  216. package/dist/data-branching.cjs +1 -1
  217. package/dist/data-branching.mjs +1 -1
  218. package/dist/data.cjs +1 -1
  219. package/dist/data.d.ts +22 -69
  220. package/dist/data.mjs +3 -3
  221. package/dist/devops-D5yIDM3e.js +8312 -0
  222. package/dist/devops-DkVluHBp.cjs +17 -0
  223. package/dist/devops-rVpB0ZAX.cjs +17 -0
  224. package/dist/devops-zsMUueTd.js +8648 -0
  225. package/dist/devops.cjs +1 -1
  226. package/dist/devops.d.ts +3 -3
  227. package/dist/devops.mjs +1 -1
  228. package/dist/editors.cjs +1 -1
  229. package/dist/editors.d.ts +106 -63
  230. package/dist/editors.mjs +55 -54
  231. package/dist/feedback.cjs +1 -1
  232. package/dist/feedback.d.ts +76 -2
  233. package/dist/feedback.mjs +10 -9
  234. package/dist/index.cjs +261 -261
  235. package/dist/index.css +1 -1
  236. package/dist/index.d.ts +831 -433
  237. package/dist/index.mjs +27339 -26540
  238. package/dist/injectStyleOnce-BzC_BCs_.js +9 -0
  239. package/dist/injectStyleOnce-DeWaxcdf.cjs +1 -0
  240. package/dist/lazy.cjs +1 -1
  241. package/dist/lazy.d.ts +9 -7
  242. package/dist/lazy.mjs +55 -55
  243. package/dist/navigation.cjs +1 -1
  244. package/dist/navigation.css +1 -0
  245. package/dist/navigation.d.ts +99 -43
  246. package/dist/navigation.mjs +504 -547
  247. package/dist/no-code-6WyYb3hL.cjs +331 -0
  248. package/dist/no-code-BH5oVFC6.js +8186 -0
  249. package/dist/no-code-CnHG5_Vn.js +8186 -0
  250. package/dist/no-code-DMKlg1Zl.cjs +331 -0
  251. package/dist/no-code-DiTEnuRv.js +8288 -0
  252. package/dist/no-code-wG9c0z_T.cjs +331 -0
  253. package/dist/no-code.cjs +1 -1
  254. package/dist/no-code.css +1 -1
  255. package/dist/no-code.d.ts +25 -18
  256. package/dist/no-code.mjs +3 -3
  257. package/dist/overlays.cjs +1 -1
  258. package/dist/overlays.d.ts +36 -30
  259. package/dist/overlays.mjs +24 -490
  260. package/dist/pickerCommons-0vyK1Knv.js +547 -0
  261. package/dist/pickerCommons-BCRiHDE_.cjs +1 -0
  262. package/dist/pickerCommons-BFbItm8o.cjs +1 -0
  263. package/dist/pickerCommons-BHirHJyn.js +548 -0
  264. package/dist/pickerCommons-Bt8JIaTN.cjs +1 -0
  265. package/dist/pickerCommons-DkumQ3KE.js +548 -0
  266. package/dist/pickerCommons.css +1 -1
  267. package/dist/style.css +15 -9
  268. package/package.json +4 -6
  269. package/css/legacy-bg-text-aliases.css +0 -87
@@ -0,0 +1,31 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", n = "NiceInstanceMonitor", t = "Workflow instance monitor for tracking process execution and status.", s = "workflow", o = "1.0.0", c = "stable", a = [{ name: "instances", type: "WorkflowInstance[]", required: !0, description: "Workflow instances" }, { name: "onCancel", type: "(instanceId: string) => void", description: "Cancel callback" }, { name: "onRetry", type: "(instanceId: string) => void", description: "Retry callback" }, { name: "showVariables", type: "boolean", default: "true", description: "Show process variables" }, { name: "autoRefresh", type: "boolean", default: "true", description: "Auto-refresh status" }, { name: "refreshInterval", type: "number", default: "5000", description: "Refresh interval ms" }], i = [{ title: "Instance Monitor", description: "Monitor workflow instances", code: `<NiceInstanceMonitor
2
+ instances={workflowInstances}
3
+ onInstanceClick={(i) => showDetails(i)}
4
+ onCancel={(id) => cancelInstance(id)}
5
+ showTimeline
6
+ autoRefresh
7
+ />` }], r = { keyboard: ["Arrow keys to navigate instances"], aria: ["Instance status announcements"] }, l = ["NiceBPMNDesigner", "NiceTaskInbox"], d = {
8
+ $schema: e,
9
+ name: n,
10
+ description: t,
11
+ category: s,
12
+ since: o,
13
+ status: c,
14
+ props: a,
15
+ examples: i,
16
+ accessibility: r,
17
+ seeAlso: l
18
+ };
19
+ export {
20
+ e as $schema,
21
+ r as accessibility,
22
+ s as category,
23
+ d as default,
24
+ t as description,
25
+ i as examples,
26
+ n as name,
27
+ a as props,
28
+ l as seeAlso,
29
+ o as since,
30
+ c as status
31
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NiceInstanceMonitor",s="Workflow instance monitor for tracking process execution and status.",t="workflow",o="1.0.0",c="stable",a=[{name:"instances",type:"WorkflowInstance[]",required:!0,description:"Workflow instances"},{name:"onCancel",type:"(instanceId: string) => void",description:"Cancel callback"},{name:"onRetry",type:"(instanceId: string) => void",description:"Retry callback"},{name:"showVariables",type:"boolean",default:"true",description:"Show process variables"},{name:"autoRefresh",type:"boolean",default:"true",description:"Auto-refresh status"},{name:"refreshInterval",type:"number",default:"5000",description:"Refresh interval ms"}],i=[{title:"Instance Monitor",description:"Monitor workflow instances",code:`<NiceInstanceMonitor
2
+ instances={workflowInstances}
3
+ onInstanceClick={(i) => showDetails(i)}
4
+ onCancel={(id) => cancelInstance(id)}
5
+ showTimeline
6
+ autoRefresh
7
+ />`}],r={keyboard:["Arrow keys to navigate instances"],aria:["Instance status announcements"]},l=["NiceBPMNDesigner","NiceTaskInbox"],d={$schema:e,name:n,description:s,category:t,since:o,status:c,props:a,examples:i,accessibility:r,seeAlso:l};exports.$schema=e;exports.accessibility=r;exports.category=t;exports.default=d;exports.description=s;exports.examples=i;exports.name=n;exports.props=a;exports.seeAlso=l;exports.since=o;exports.status=c;
@@ -0,0 +1,25 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", c = "NiceLocaleManager", a = "Locale/language manager component.", o = "utility", n = "1.0.0", t = "stable", s = [{ name: "locales", type: "LocaleConfig[]", required: !1, default: "[]", description: "Available locales" }, { name: "current", type: "string", description: "Current locale" }], l = [{ title: "Locale Manager", code: '<NiceLocaleManager locales={locales} current="en" onLocaleChange={setLocale} />' }], i = { keyboard: [], aria: [] }, r = ["NiceLocaleSelector", "NiceI18nProvider"], d = {
2
+ $schema: e,
3
+ name: c,
4
+ description: a,
5
+ category: o,
6
+ since: n,
7
+ status: t,
8
+ props: s,
9
+ examples: l,
10
+ accessibility: i,
11
+ seeAlso: r
12
+ };
13
+ export {
14
+ e as $schema,
15
+ i as accessibility,
16
+ o as category,
17
+ d as default,
18
+ a as description,
19
+ l as examples,
20
+ c as name,
21
+ s as props,
22
+ r as seeAlso,
23
+ n as since,
24
+ t as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",c="NiceLocaleManager",a="Locale/language manager component.",o="utility",s="1.0.0",t="stable",n=[{name:"locales",type:"LocaleConfig[]",required:!1,default:"[]",description:"Available locales"},{name:"current",type:"string",description:"Current locale"}],l=[{title:"Locale Manager",code:'<NiceLocaleManager locales={locales} current="en" onLocaleChange={setLocale} />'}],i={keyboard:[],aria:[]},r=["NiceLocaleSelector","NiceI18nProvider"],p={$schema:e,name:c,description:a,category:o,since:s,status:t,props:n,examples:l,accessibility:i,seeAlso:r};exports.$schema=e;exports.accessibility=i;exports.category=o;exports.default=p;exports.description=a;exports.examples=l;exports.name=c;exports.props=n;exports.seeAlso=r;exports.since=s;exports.status=t;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceLockButton",t="Lock/unlock toggle button.",c="action",n="1.0.0",s="stable",i=[{name:"locked",type:"boolean",required:!0,description:"Lock state"},{name:"onLockChange",type:"(locked: boolean) => void",description:"State change"},{name:"requireConfirm",type:"boolean",default:"false",description:"Require confirmation"}],a=[{title:"Lock Button",code:"<NiceLockButton locked={isLocked} onLockedChange={setLocked} />"}],l={keyboard:["Enter to toggle"],aria:["Toggle state"]},r=["NiceSwitch","NiceButton"],d={$schema:e,name:o,description:t,category:c,since:n,status:s,props:i,examples:a,accessibility:l,seeAlso:r};exports.$schema=e;exports.accessibility=l;exports.category=c;exports.default=d;exports.description=t;exports.examples=a;exports.name=o;exports.props=i;exports.seeAlso=r;exports.since=n;exports.status=s;
@@ -0,0 +1,25 @@
1
+ const o = "https://nice2dev.com/schemas/component-doc-v1.json", e = "NiceLockButton", t = "Lock/unlock toggle button.", c = "action", n = "1.0.0", s = "stable", i = [{ name: "locked", type: "boolean", required: !0, description: "Lock state" }, { name: "onLockChange", type: "(locked: boolean) => void", description: "State change" }, { name: "requireConfirm", type: "boolean", default: "false", description: "Require confirmation" }], a = [{ title: "Lock Button", code: "<NiceLockButton locked={isLocked} onLockedChange={setLocked} />" }], d = { keyboard: ["Enter to toggle"], aria: ["Toggle state"] }, l = ["NiceSwitch", "NiceButton"], r = {
2
+ $schema: o,
3
+ name: e,
4
+ description: t,
5
+ category: c,
6
+ since: n,
7
+ status: s,
8
+ props: i,
9
+ examples: a,
10
+ accessibility: d,
11
+ seeAlso: l
12
+ };
13
+ export {
14
+ o as $schema,
15
+ d as accessibility,
16
+ c as category,
17
+ r as default,
18
+ t as description,
19
+ a as examples,
20
+ e as name,
21
+ i as props,
22
+ l as seeAlso,
23
+ n as since,
24
+ s as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),g=require("@nice2dev/ui-core"),n=require("react"),U=require("./NiceButton-5tWvfXKl.cjs"),M={info:e.jsx("svg",{viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})}),success:e.jsx("svg",{viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})}),warning:e.jsx("svg",{viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})}),error:e.jsx("svg",{viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})})},W=({variant:s="info",title:i,children:a,closable:r,onClose:t,icon:c,size:d="md",className:f,style:u,displayStyle:h})=>{const _=g.useComponentDisplayClass("card",h);return e.jsxs("div",{className:`nice-alert nice-alert--${s} nice-alert--${d} nice-alert--ds-${_} ${f||""}`,style:u,role:"alert",children:[e.jsx("div",{className:`nice-alert__icon nice-alert__icon--${s}`,children:c||M[s]}),e.jsxs("div",{className:"nice-alert__content",children:[i&&e.jsx("div",{className:"nice-alert__title",children:i}),e.jsx("div",{children:a})]}),r&&e.jsx("button",{type:"button",className:"nice-alert__close",onClick:t,"aria-label":"Close",children:e.jsx(g.NiceIcon,{name:"close",size:16})})]})},Y=({open:s,onClose:i,title:a,position:r="right",size:t="md",children:c,footer:d,transitionDuration:f,className:u,style:h,displayStyle:_})=>{const N=g.useComponentDisplayStyle("modal",_),x=g.useComponentDisplayClass("modal",_),{t:p}=g.useNiceTranslation(),j=n.useRef(null);return g.useFocusTrap(j,s),n.useEffect(()=>{if(!s)return;const m=o=>{o.key==="Escape"&&i()};return document.addEventListener("keydown",m),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",m),document.body.style.overflow=""}},[s,i]),s?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"nice-drawer-overlay",onMouseDown:m=>{m.target===m.currentTarget&&i()}}),e.jsxs("div",{ref:j,className:`nice-drawer nice-drawer--${r} nice-drawer--${t} nice-drawer--ds-${x} ${u||""}`,style:{...N,...h,...f!=null?{transitionDuration:`${f}ms`}:{}},role:"dialog","aria-modal":"true","aria-label":a,children:[a&&e.jsxs("div",{className:"nice-drawer__header",children:[e.jsx("h3",{className:"nice-drawer__title",children:a}),e.jsx("button",{type:"button",className:"nice-drawer__close",onClick:i,"aria-label":p("controls.close","Close"),children:e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})})})]}),e.jsx("div",{className:"nice-drawer__body",children:c}),d&&e.jsx("div",{className:"nice-drawer__footer",children:d})]})]}):null},G=({toasts:s,onDismiss:i,position:a="top-right"})=>e.jsx("div",{className:`nice-toast-container nice-toast-container--${a}`,children:s.map(r=>e.jsx(J,{toast:r,onDismiss:i},r.id))}),J=({toast:s,onDismiss:i})=>{const[a,r]=n.useState(!1);return n.useEffect(()=>{if(!s.duration&&s.duration!==0){const t=setTimeout(()=>r(!0),4e3);return()=>clearTimeout(t)}if(s.duration>0){const t=setTimeout(()=>r(!0),s.duration);return()=>clearTimeout(t)}},[s.duration]),n.useEffect(()=>{if(a){const t=setTimeout(()=>i(s.id),200);return()=>clearTimeout(t)}},[a,s.id,i]),e.jsxs("div",{className:`nice-toast nice-toast--${s.variant} ${a?"nice-toast--exiting":""}`,role:"alert",style:{position:"relative"},children:[e.jsx("div",{className:"nice-toast__icon",children:M[s.variant]}),e.jsxs("div",{className:"nice-toast__content",children:[s.title&&e.jsx("div",{className:"nice-toast__title",children:s.title}),e.jsx("div",{className:"nice-toast__message",children:s.message})]}),e.jsx("button",{type:"button",className:"nice-toast__close",onClick:()=>r(!0),"aria-label":"Close",children:e.jsx(g.NiceIcon,{name:"close",size:16})})]})};let K=0;function Q(){const[s,i]=n.useState([]),a=n.useCallback((t,c,d)=>{const f=`toast-${++K}`;return i(u=>[...u,{id:f,variant:t,message:c,title:d?.title,duration:d?.duration}]),f},[]),r=n.useCallback(t=>{i(c=>c.filter(d=>d.id!==t))},[]);return{toasts:s,dismiss:r,info:(t,c)=>a("info",t,c),success:(t,c)=>a("success",t,c),warning:(t,c)=>a("warning",t,c),error:(t,c)=>a("error",t,c)}}const P=class P extends n.Component{constructor(){super(...arguments),this.state={hasError:!1,error:null},this.handleReset=()=>{this.setState({hasError:!1,error:null})}}static getDerivedStateFromError(i){return{hasError:!0,error:i}}componentDidCatch(i,a){this.props.onError?.(i,a)}render(){if(this.state.hasError&&this.state.error){const{fallback:i,showRetry:a=!0,retryLabel:r="Retry",title:t="Something went wrong"}=this.props;return typeof i=="function"?i(this.state.error,this.handleReset):i||e.jsxs("div",{className:"nice-error-boundary",role:"alert",children:[e.jsx("div",{className:"nice-error-boundary__icon",children:e.jsx(g.NiceIcon,{name:"warning",size:32})}),e.jsx("h2",{className:"nice-error-boundary__title",children:t}),e.jsx("p",{className:"nice-error-boundary__message",children:this.state.error.message}),a&&e.jsx("button",{type:"button",className:"nice-btn nice-btn--primary",onClick:this.handleReset,children:r})]})}return this.props.children}};P.displayName="NiceErrorBoundary";let F=P;function X(s){return window.addEventListener("online",s),window.addEventListener("offline",s),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",s)}}function Z(){return navigator.onLine}function ee(){return!0}const se=({message:s,variant:i="warning",icon:a,online:r,size:t="md",className:c,style:d,"data-testid":f})=>{const{t:u}=g.useNiceTranslation(),h=n.useSyncExternalStore(X,Z,ee);return r??h?null:e.jsxs("div",{className:`nice-offline-banner nice-offline-banner--${i} nice-offline-banner--${t} ${c||""}`,style:d,role:"alert","aria-live":"assertive","data-testid":f,children:[e.jsx("span",{className:"nice-offline-banner__icon",children:a??e.jsx(g.NiceIcon,{name:"wifi",size:18})}),e.jsx("span",{className:"nice-offline-banner__message",children:s??u("offlineBanner.message","You are offline. Some features may be unavailable.")})]})},ne=({error:s,onRetry:i,retryLabel:a="Retry",title:r="Operation failed",autoRetrySeconds:t,variant:c="error",icon:d,size:f="md",className:u,style:h,"data-testid":_})=>{const[N,x]=n.useState(t??0),p=n.useRef(void 0),j=typeof s=="string"?s:s.message,m=n.useCallback(()=>{x(t??0),i()},[i,t]);return n.useEffect(()=>{if(!(!t||t<=0))return x(t),p.current=setInterval(()=>{x(o=>o<=1?(clearInterval(p.current),i(),0):o-1)},1e3),()=>clearInterval(p.current)},[t,i]),e.jsxs("div",{className:`nice-retry-panel nice-retry-panel--${c} nice-retry-panel--${f} ${u||""}`,style:h,role:"alert","data-testid":_,children:[e.jsx("div",{className:"nice-retry-panel__icon",children:d??e.jsx(g.NiceIcon,{name:"warning",size:24})}),e.jsxs("div",{className:"nice-retry-panel__content",children:[e.jsx("div",{className:"nice-retry-panel__title",children:r}),e.jsx("p",{className:"nice-retry-panel__message",children:j})]}),e.jsxs("div",{className:"nice-retry-panel__actions",children:[e.jsx("button",{type:"button",className:"nice-btn nice-btn--primary nice-btn--sm",onClick:m,children:a}),t&&N>0&&e.jsxs("span",{className:"nice-retry-panel__countdown",children:["Auto-retry in ",N,"s"]})]})]})};function q({timeoutMs:s=1e4,slowThresholdMs:i=3e3,onTimeout:a,autoRetry:r=!1,autoRetryCount:t=3}={}){const[c,d]=n.useState(!1),[f,u]=n.useState(!1),[h,_]=n.useState(!1),[N,x]=n.useState(0),[p,j]=n.useState(0),m=n.useRef(null),o=n.useRef(null),T=n.useRef(null),w=n.useRef(0),k=n.useCallback(()=>{m.current&&clearTimeout(m.current),o.current&&clearTimeout(o.current),T.current&&clearInterval(T.current)},[]),y=n.useCallback(()=>{k(),d(!0),u(!1),_(!1),x(0),w.current=Date.now(),T.current=setInterval(()=>{x(Date.now()-w.current)},200),m.current=setTimeout(()=>{u(!0)},i),o.current=setTimeout(()=>{_(!0),d(!1),u(!1),k(),a?.()},s)},[k,i,s,a]),C=n.useCallback(()=>{k(),d(!1),u(!1)},[k]),l=n.useCallback(()=>{j(v=>v+1),_(!1),y()},[y]);return n.useEffect(()=>()=>k(),[k]),n.useEffect(()=>{if(r&&h&&p<t){const v=Math.pow(2,p)*1e3,I=setTimeout(()=>l(),v);return()=>clearTimeout(I)}},[r,t,h,p,l]),{isLoading:c,isSlow:f,isTimedOut:h,elapsed:N,retryCount:p,start:y,stop:C,retry:l}}const te=({timeoutMs:s=1e4,slowThresholdMs:i=3e3,onTimeout:a,onRetry:r,autoRetry:t=!1,autoRetryCount:c=3,showProgress:d=!0,slowMessage:f,timeoutMessage:u,loading:h,children:_,size:N="md",className:x,style:p,"data-testid":j})=>{const{t:m}=g.useNiceTranslation(),{isSlow:o,isTimedOut:T,elapsed:w,start:k,stop:y,retry:C}=q({timeoutMs:s,slowThresholdMs:i,onTimeout:a,autoRetry:t,autoRetryCount:c}),l=n.useRef(k);l.current=k;const v=n.useRef(y);v.current=y,n.useEffect(()=>{h?l.current():v.current()},[h]);const I=()=>{C(),r?.()};if(!h)return e.jsx(e.Fragment,{children:_});if(T)return e.jsxs("div",{className:`nice-timeout-feedback nice-timeout-feedback--timeout nice-timeout-feedback--${N} ${x??""}`,style:p,role:"alert","data-testid":j,children:[e.jsx("p",{className:"nice-timeout-feedback__message",children:u??m("timeoutFeedback.timeout","The operation timed out. Please try again.")}),e.jsx(U.NiceButton,{size:"sm",className:"nice-timeout-feedback__retry-btn",onClick:I,children:m("timeoutFeedback.retry","Try again")})]});const $=Math.min(100,w/s*100);return e.jsxs("div",{className:`nice-timeout-feedback nice-timeout-feedback--${N} ${o?"nice-timeout-feedback--slow":""} ${x??""}`,style:p,role:"status","aria-busy":"true","data-testid":j,children:[e.jsx("div",{className:"nice-timeout-feedback__spinner","aria-hidden":"true"}),o&&e.jsx("p",{className:"nice-timeout-feedback__slow-msg",children:f??m("timeoutFeedback.slow","This is taking longer than usual…")}),d&&e.jsx("div",{className:"nice-timeout-feedback__progress",role:"progressbar","aria-label":m("timeoutFeedback.progress","Time until timeout"),"aria-valuenow":Math.round($),"aria-valuemin":0,"aria-valuemax":100,children:e.jsx("div",{className:"nice-timeout-feedback__progress-bar",style:{width:`${$}%`}})})]})},O=n.forwardRef(({visible:s,onAcceptAll:i,onRejectAll:a,onSave:r,categories:t=["necessary","analytics","marketing","preferences"],defaults:c,position:d="bottom",size:f="md",policyUrl:u,showDetails:h=!1,className:_,style:N,id:x,...p},j)=>{const m=g.useControlId(x),{t:o}=g.useNiceTranslation(),[T,w]=n.useState(!0),k=s??T,[y,C]=n.useState(h),[l,v]=n.useState(()=>{const b={necessary:!0,analytics:!1,marketing:!1,preferences:!1};return c&&Object.assign(b,c),b.necessary=!0,b}),I={necessary:o("cookie.necessary","Necessary"),analytics:o("cookie.analytics","Analytics"),marketing:o("cookie.marketing","Marketing"),preferences:o("cookie.preferences","Preferences")},$={necessary:o("cookie.necessaryDesc","Required for the website to function. Cannot be disabled."),analytics:o("cookie.analyticsDesc","Help us understand how visitors interact with the website."),marketing:o("cookie.marketingDesc","Used to deliver relevant advertisements."),preferences:o("cookie.preferencesDesc","Allow the website to remember your choices.")},L=n.useCallback(()=>{const b={necessary:!0,analytics:!0,marketing:!0,preferences:!0};i?.(),r?.(b),w(!1)},[i,r]),S=n.useCallback(()=>{const b={necessary:!0,analytics:!1,marketing:!1,preferences:!1};a?.(),r?.(b),w(!1)},[a,r]),z=n.useCallback(()=>{r?.({...l,necessary:!0}),w(!1)},[l,r]);return k?e.jsx("div",{ref:j,id:m,className:`nice-cookie-consent nice-cookie-consent--${d} nice-cookie-consent--${f} ${_??""}`,style:N,role:"dialog","aria-label":o("cookie.label","Cookie Consent"),"aria-modal":"true",...p,children:e.jsxs("div",{className:"nice-cookie-consent__content",children:[e.jsxs("p",{className:"nice-cookie-consent__message",children:[o("cookie.message","We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies."),u&&e.jsxs(e.Fragment,{children:[" ",e.jsx("a",{href:u,className:"nice-cookie-consent__link",target:"_blank",rel:"noopener noreferrer",children:o("cookie.learnMore","Learn more")})]})]}),y&&e.jsx("div",{className:"nice-cookie-consent__details",children:t.map(b=>e.jsxs("label",{className:"nice-cookie-consent__category",children:[e.jsx("input",{type:"checkbox",checked:l[b],disabled:b==="necessary",onChange:D=>v(E=>({...E,[b]:D.target.checked})),className:"nice-cookie-consent__checkbox"}),e.jsxs("div",{className:"nice-cookie-consent__cat-info",children:[e.jsx("strong",{children:I[b]}),e.jsx("span",{className:"nice-cookie-consent__cat-desc",children:$[b]})]})]},b))}),e.jsxs("div",{className:"nice-cookie-consent__actions",children:[!y&&e.jsx("button",{type:"button",className:"nice-cookie-consent__btn nice-cookie-consent__btn--details",onClick:()=>C(!0),children:o("cookie.customize","Customize")}),y&&e.jsx("button",{type:"button",className:"nice-cookie-consent__btn nice-cookie-consent__btn--save",onClick:z,children:o("cookie.savePreferences","Save preferences")}),e.jsx("button",{type:"button",className:"nice-cookie-consent__btn nice-cookie-consent__btn--reject",onClick:S,children:o("cookie.rejectAll","Reject all")}),e.jsx("button",{type:"button",className:"nice-cookie-consent__btn nice-cookie-consent__btn--accept",onClick:L,children:o("cookie.acceptAll","Accept all")})]})]})}):null});O.displayName="NiceCookieConsent";const H=n.forwardRef(({onSubmit:s,onForgotPassword:i,onRegister:a,loading:r=!1,error:t,variant:c="primary",size:d="md",showRememberMe:f=!0,showForgotPassword:u=!0,showRegister:h=!1,title:_,logo:N,usernameLabel:x,passwordLabel:p,usernamePlaceholder:j,passwordPlaceholder:m,className:o,style:T,id:w,...k},y)=>{const C=g.useControlId(w),{t:l}=g.useNiceTranslation(),[v,I]=n.useState(""),[$,L]=n.useState(""),[S,z]=n.useState(!1),[b,D]=n.useState(!1),E=`${C}-user`,A=`${C}-pass`,B=`${C}-remember`,V=n.useCallback(R=>{R.preventDefault(),!r&&s?.({username:v,password:$,rememberMe:S})},[r,v,$,S,s]);return e.jsxs("form",{ref:y,id:C,className:`nice-login nice-login--${c} nice-login--${d} ${o??""}`,style:T,onSubmit:V,noValidate:!0,...k,children:[N&&e.jsx("div",{className:"nice-login__logo",children:N}),_&&e.jsx("h2",{className:"nice-login__title",children:_??l("login.title","Sign In")}),t&&e.jsx("div",{className:"nice-login__error",role:"alert",children:t}),e.jsxs("div",{className:"nice-login__field",children:[e.jsx("label",{htmlFor:E,className:"nice-login__label",children:x??l("login.username","Username")}),e.jsx("input",{id:E,className:"nice-login__input",type:"text",value:v,onChange:R=>I(R.target.value),placeholder:j??l("login.usernamePlaceholder","Enter your username"),autoComplete:"username",required:!0,disabled:r,"aria-required":"true"})]}),e.jsxs("div",{className:"nice-login__field",children:[e.jsx("label",{htmlFor:A,className:"nice-login__label",children:p??l("login.password","Password")}),e.jsxs("div",{className:"nice-login__password-wrap",children:[e.jsx("input",{id:A,className:"nice-login__input",type:b?"text":"password",value:$,onChange:R=>L(R.target.value),placeholder:m??l("login.passwordPlaceholder","Enter your password"),autoComplete:"current-password",required:!0,disabled:r,"aria-required":"true"}),e.jsx("button",{type:"button",className:"nice-login__toggle-password",onClick:()=>D(!b),"aria-label":b?l("login.hidePassword","Hide password"):l("login.showPassword","Show password"),tabIndex:-1,children:e.jsx(g.NiceIcon,{name:b?"eye-off":"eye",size:16})})]})]}),e.jsxs("div",{className:"nice-login__options",children:[f&&e.jsxs("label",{className:"nice-login__remember",htmlFor:B,children:[e.jsx("input",{id:B,type:"checkbox",checked:S,onChange:R=>z(R.target.checked),disabled:r}),e.jsx("span",{children:l("login.rememberMe","Remember me")})]}),u&&i&&e.jsx("button",{type:"button",className:"nice-login__forgot",onClick:i,disabled:r,children:l("login.forgotPassword","Forgot password?")})]}),e.jsx("button",{type:"submit",className:`nice-login__submit nice-login__submit--${c}`,disabled:r||!v||!$,children:r?l("login.loading","Signing in..."):l("login.submit","Sign In")}),h&&a&&e.jsxs("p",{className:"nice-login__register",children:[l("login.noAccount","Don't have an account?")," ",e.jsx("button",{type:"button",className:"nice-login__register-link",onClick:a,disabled:r,children:l("login.register","Register")})]})]})});H.displayName="NiceLoginForm";exports.NiceAlert=W;exports.NiceCookieConsent=O;exports.NiceDrawer=Y;exports.NiceErrorBoundary=F;exports.NiceLoginForm=H;exports.NiceOfflineBanner=se;exports.NiceRetryPanel=ne;exports.NiceTimeoutFeedback=te;exports.NiceToastContainer=G;exports.alertIcons=M;exports.useNiceTimeout=q;exports.useNiceToast=Q;