linear-react-components-ui 1.1.26-beta.5 → 1.1.26-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/package.json +27 -41
  2. package/lib/@types/Align.d.ts +0 -2
  3. package/lib/@types/ButtonTypes.d.ts +0 -1
  4. package/lib/@types/ColorStyles.d.ts +0 -1
  5. package/lib/@types/DataCombo.d.ts +0 -1
  6. package/lib/@types/Icon.d.ts +0 -2
  7. package/lib/@types/LabelStyles.d.ts +0 -1
  8. package/lib/@types/Period.d.ts +0 -4
  9. package/lib/@types/PermissionAttr.d.ts +0 -12
  10. package/lib/@types/PointerEvents.d.ts +0 -1
  11. package/lib/@types/Position.d.ts +0 -1
  12. package/lib/@types/PositionAlert.d.ts +0 -1
  13. package/lib/@types/Size.d.ts +0 -1
  14. package/lib/@types/SizePixels.d.ts +0 -1
  15. package/lib/@types/StorageMock.d.ts +0 -3
  16. package/lib/alerts/AlertContainer.d.ts +0 -12
  17. package/lib/alerts/AlertContainer.js +0 -64
  18. package/lib/alerts/AlertProvider.d.ts +0 -3
  19. package/lib/alerts/AlertProvider.js +0 -40
  20. package/lib/alerts/BaseAlert.d.ts +0 -3
  21. package/lib/alerts/BaseAlert.js +0 -18
  22. package/lib/alerts/Message.d.ts +0 -3
  23. package/lib/alerts/Message.js +0 -67
  24. package/lib/alerts/alert.spec.d.ts +0 -0
  25. package/lib/alerts/helpers.d.ts +0 -3
  26. package/lib/alerts/helpers.js +0 -5
  27. package/lib/alerts/index.d.ts +0 -4
  28. package/lib/alerts/index.js +0 -6
  29. package/lib/alerts/types.d.ts +0 -47
  30. package/lib/alerts/withAlert.d.ts +0 -4
  31. package/lib/alerts/withAlert.js +0 -10
  32. package/lib/assets/BaseAlert.css +0 -1
  33. package/lib/assets/Content.css +0 -1
  34. package/lib/assets/DefaultFile.css +0 -1
  35. package/lib/assets/Drawer.css +0 -1
  36. package/lib/assets/InputTextBase.css +0 -1
  37. package/lib/assets/button.css +0 -1
  38. package/lib/assets/gridlayout.css +0 -1
  39. package/lib/assets/index.css +0 -1
  40. package/lib/assets/index10.css +0 -1
  41. package/lib/assets/index11.css +0 -1
  42. package/lib/assets/index12.css +0 -1
  43. package/lib/assets/index13.css +0 -1
  44. package/lib/assets/index14.css +0 -1
  45. package/lib/assets/index15.css +0 -1
  46. package/lib/assets/index16.css +0 -1
  47. package/lib/assets/index17.css +0 -1
  48. package/lib/assets/index18.css +0 -1
  49. package/lib/assets/index19.css +0 -1
  50. package/lib/assets/index2.css +0 -1
  51. package/lib/assets/index20.css +0 -1
  52. package/lib/assets/index21.css +0 -1
  53. package/lib/assets/index22.css +0 -1
  54. package/lib/assets/index23.css +0 -1
  55. package/lib/assets/index24.css +0 -1
  56. package/lib/assets/index25.css +0 -1
  57. package/lib/assets/index26.css +0 -1
  58. package/lib/assets/index27.css +0 -1
  59. package/lib/assets/index28.css +0 -1
  60. package/lib/assets/index29.css +0 -1
  61. package/lib/assets/index3.css +0 -1
  62. package/lib/assets/index4.css +0 -1
  63. package/lib/assets/index5.css +0 -1
  64. package/lib/assets/index6.css +0 -1
  65. package/lib/assets/index7.css +0 -1
  66. package/lib/assets/index8.css +0 -1
  67. package/lib/assets/index9.css +0 -1
  68. package/lib/assets/label.css +0 -1
  69. package/lib/assets/noPermission.css +0 -1
  70. package/lib/assets/panel.css +0 -1
  71. package/lib/assets/radio.css +0 -1
  72. package/lib/assets/skeleton.css +0 -1
  73. package/lib/assets/table.css +0 -1
  74. package/lib/assets/tabs.css +0 -1
  75. package/lib/assets/toolbar.css +0 -1
  76. package/lib/assets/withDropdown.css +0 -1
  77. package/lib/avatar/avatar.spec.d.ts +0 -1
  78. package/lib/avatar/index.d.ts +0 -6
  79. package/lib/avatar/index.js +0 -77
  80. package/lib/avatar/types.d.ts +0 -27
  81. package/lib/badge/badge.spec.d.ts +0 -1
  82. package/lib/badge/index.d.ts +0 -3
  83. package/lib/badge/index.js +0 -26
  84. package/lib/badge/types.d.ts +0 -10
  85. package/lib/buttons/ActivateButton.d.ts +0 -3
  86. package/lib/buttons/ActivateButton.js +0 -6
  87. package/lib/buttons/AddButton.d.ts +0 -3
  88. package/lib/buttons/AddButton.js +0 -7
  89. package/lib/buttons/Button.d.ts +0 -6
  90. package/lib/buttons/Button.js +0 -8
  91. package/lib/buttons/ButtonGroups.d.ts +0 -6
  92. package/lib/buttons/ButtonGroups.js +0 -5
  93. package/lib/buttons/CancelButton.d.ts +0 -3
  94. package/lib/buttons/CancelButton.js +0 -6
  95. package/lib/buttons/DangerButton.d.ts +0 -3
  96. package/lib/buttons/DangerButton.js +0 -6
  97. package/lib/buttons/DefaultButton.d.ts +0 -6
  98. package/lib/buttons/DefaultButton.js +0 -130
  99. package/lib/buttons/DestroyButton.d.ts +0 -3
  100. package/lib/buttons/DestroyButton.js +0 -7
  101. package/lib/buttons/EditButton.d.ts +0 -3
  102. package/lib/buttons/EditButton.js +0 -6
  103. package/lib/buttons/InactivateButton.d.ts +0 -3
  104. package/lib/buttons/InactivateButton.js +0 -6
  105. package/lib/buttons/InfoButton.d.ts +0 -3
  106. package/lib/buttons/InfoButton.js +0 -6
  107. package/lib/buttons/PrimaryButton.d.ts +0 -3
  108. package/lib/buttons/PrimaryButton.js +0 -6
  109. package/lib/buttons/RestoreButton.d.ts +0 -3
  110. package/lib/buttons/RestoreButton.js +0 -6
  111. package/lib/buttons/SaveButton.d.ts +0 -3
  112. package/lib/buttons/SaveButton.js +0 -6
  113. package/lib/buttons/SuccessButton.d.ts +0 -3
  114. package/lib/buttons/SuccessButton.js +0 -6
  115. package/lib/buttons/WarningButton.d.ts +0 -3
  116. package/lib/buttons/WarningButton.js +0 -6
  117. package/lib/buttons/button_container/index.d.ts +0 -10
  118. package/lib/buttons/button_container/index.js +0 -18
  119. package/lib/buttons/buttons.spec.d.ts +0 -0
  120. package/lib/buttons/index.d.ts +0 -17
  121. package/lib/buttons/index.js +0 -33
  122. package/lib/buttons/split_button/index.d.ts +0 -3
  123. package/lib/buttons/split_button/index.js +0 -60
  124. package/lib/buttons/types.d.ts +0 -46
  125. package/lib/calendar/DangerCalendar.d.ts +0 -3
  126. package/lib/calendar/DangerCalendar.js +0 -6
  127. package/lib/calendar/InfoCalendar.d.ts +0 -3
  128. package/lib/calendar/InfoCalendar.js +0 -6
  129. package/lib/calendar/PrimaryCalendar.d.ts +0 -3
  130. package/lib/calendar/PrimaryCalendar.js +0 -6
  131. package/lib/calendar/SuccessCalendar.d.ts +0 -3
  132. package/lib/calendar/SuccessCalendar.js +0 -6
  133. package/lib/calendar/WarningCalendar.d.ts +0 -3
  134. package/lib/calendar/WarningCalendar.js +0 -6
  135. package/lib/calendar/base/Day.d.ts +0 -3
  136. package/lib/calendar/base/Day.js +0 -27
  137. package/lib/calendar/base/Month.d.ts +0 -3
  138. package/lib/calendar/base/Month.js +0 -25
  139. package/lib/calendar/base/Week.d.ts +0 -3
  140. package/lib/calendar/base/Week.js +0 -23
  141. package/lib/calendar/base/helpers.d.ts +0 -59
  142. package/lib/calendar/base/helpers.js +0 -108
  143. package/lib/calendar/base/index.d.ts +0 -3
  144. package/lib/calendar/base/index.js +0 -105
  145. package/lib/calendar/calendar.spec.d.ts +0 -0
  146. package/lib/calendar/index.d.ts +0 -8
  147. package/lib/calendar/index.js +0 -14
  148. package/lib/calendar/types.d.ts +0 -27
  149. package/lib/checkbox/checkbox.spec.d.ts +0 -1
  150. package/lib/checkbox/index.d.ts +0 -9
  151. package/lib/checkbox/index.js +0 -31
  152. package/lib/checkbox/types.d.ts +0 -45
  153. package/lib/chunks/index.CBPsbBt0.js +0 -667
  154. package/lib/chunks/index.CjD97zna.js +0 -206
  155. package/lib/chunks/index.m4wxhMbx.js +0 -89
  156. package/lib/chunks/jsx-runtime.gtoSnx-V.js +0 -284
  157. package/lib/chunks/lodash.C68pWaTB.js +0 -3684
  158. package/lib/chunks/moment.CwOqp704.js +0 -2589
  159. package/lib/chunks/tabs.CM2We4tV.js +0 -246
  160. package/lib/chunks/v1.CDXKvGzE.js +0 -41
  161. package/lib/dialog/Alert.d.ts +0 -3
  162. package/lib/dialog/Alert.js +0 -23
  163. package/lib/dialog/Custom.d.ts +0 -3
  164. package/lib/dialog/Custom.js +0 -33
  165. package/lib/dialog/Error.d.ts +0 -3
  166. package/lib/dialog/Error.js +0 -23
  167. package/lib/dialog/Information.d.ts +0 -3
  168. package/lib/dialog/Information.js +0 -23
  169. package/lib/dialog/Question.d.ts +0 -3
  170. package/lib/dialog/Question.js +0 -63
  171. package/lib/dialog/Warning.d.ts +0 -3
  172. package/lib/dialog/Warning.js +0 -23
  173. package/lib/dialog/base/Content.d.ts +0 -3
  174. package/lib/dialog/base/Content.js +0 -6
  175. package/lib/dialog/base/Footer.d.ts +0 -3
  176. package/lib/dialog/base/Footer.js +0 -5
  177. package/lib/dialog/base/Header.d.ts +0 -3
  178. package/lib/dialog/base/Header.js +0 -7
  179. package/lib/dialog/base/index.d.ts +0 -10
  180. package/lib/dialog/base/index.js +0 -9
  181. package/lib/dialog/base/style.d.ts +0 -7
  182. package/lib/dialog/dialog.spec.d.ts +0 -0
  183. package/lib/dialog/form/index.d.ts +0 -5
  184. package/lib/dialog/form/index.js +0 -15
  185. package/lib/dialog/index.d.ts +0 -9
  186. package/lib/dialog/index.js +0 -16
  187. package/lib/dialog/types.d.ts +0 -107
  188. package/lib/dialog/wizard/index.d.ts +0 -9
  189. package/lib/dialog/wizard/index.js +0 -14
  190. package/lib/dialog/wizard/progressbar.d.ts +0 -11
  191. package/lib/dialog/wizard/progressbar.js +0 -5
  192. package/lib/dialog/wizard/step.d.ts +0 -2
  193. package/lib/dialog/wizard/step.js +0 -5
  194. package/lib/dialog/wizard/useWizard.d.ts +0 -2
  195. package/lib/dialog/wizard/useWizard.js +0 -32
  196. package/lib/dialog/wizard/wizard.spec.d.ts +0 -0
  197. package/lib/drawer/Content.d.ts +0 -3
  198. package/lib/drawer/Content.js +0 -11
  199. package/lib/drawer/Drawer.d.ts +0 -4
  200. package/lib/drawer/Drawer.js +0 -72
  201. package/lib/drawer/Drawer.spec.d.ts +0 -1
  202. package/lib/drawer/Header.d.ts +0 -3
  203. package/lib/drawer/Header.js +0 -43
  204. package/lib/drawer/helpers.d.ts +0 -4
  205. package/lib/drawer/helpers.js +0 -5
  206. package/lib/drawer/index.d.ts +0 -5
  207. package/lib/drawer/index.js +0 -10
  208. package/lib/drawer/types.d.ts +0 -37
  209. package/lib/dropdown/Popup.d.ts +0 -3
  210. package/lib/dropdown/Popup.js +0 -49
  211. package/lib/dropdown/dropdown.spec.d.ts +0 -1
  212. package/lib/dropdown/helper.d.ts +0 -2
  213. package/lib/dropdown/helper.js +0 -8
  214. package/lib/dropdown/types.d.ts +0 -45
  215. package/lib/dropdown/withDropdown.d.ts +0 -9
  216. package/lib/dropdown/withDropdown.js +0 -55
  217. package/lib/fieldset/fieldset.spec.d.ts +0 -1
  218. package/lib/fieldset/index.d.ts +0 -3
  219. package/lib/fieldset/index.js +0 -51
  220. package/lib/fieldset/types.d.ts +0 -27
  221. package/lib/form/Field.d.ts +0 -2
  222. package/lib/form/Field.js +0 -72
  223. package/lib/form/FieldArray.d.ts +0 -2
  224. package/lib/form/FieldArray.js +0 -89
  225. package/lib/form/FieldNumber.d.ts +0 -2
  226. package/lib/form/FieldNumber.js +0 -44
  227. package/lib/form/FieldPeriod.d.ts +0 -2
  228. package/lib/form/FieldPeriod.js +0 -64
  229. package/lib/form/form.spec.d.ts +0 -0
  230. package/lib/form/helpers.d.ts +0 -8
  231. package/lib/form/helpers.js +0 -25
  232. package/lib/form/index.d.ts +0 -8
  233. package/lib/form/index.js +0 -162
  234. package/lib/form/types.d.ts +0 -233
  235. package/lib/form/withFieldHOC.d.ts +0 -4
  236. package/lib/form/withFieldHOC.js +0 -53
  237. package/lib/form/withFormSecurity.d.ts +0 -6
  238. package/lib/form/withFormSecurity.js +0 -33
  239. package/lib/gridlayout/GridCol.d.ts +0 -3
  240. package/lib/gridlayout/GridCol.js +0 -26
  241. package/lib/gridlayout/GridRow.d.ts +0 -3
  242. package/lib/gridlayout/GridRow.js +0 -24
  243. package/lib/gridlayout/gridLayout.spec.d.ts +0 -1
  244. package/lib/gridlayout/index.d.ts +0 -4
  245. package/lib/gridlayout/index.js +0 -6
  246. package/lib/gridlayout/types.d.ts +0 -17
  247. package/lib/hint/helpers.d.ts +0 -1
  248. package/lib/hint/helpers.js +0 -8
  249. package/lib/hint/hint.spec.d.ts +0 -1
  250. package/lib/hint/index.d.ts +0 -3
  251. package/lib/hint/index.js +0 -28
  252. package/lib/hint/types.d.ts +0 -11
  253. package/lib/icons/helper.d.ts +0 -635
  254. package/lib/icons/helper.js +0 -1064
  255. package/lib/icons/icons.spec.d.ts +0 -1
  256. package/lib/icons/index.d.ts +0 -6
  257. package/lib/icons/index.js +0 -61
  258. package/lib/icons/types.d.ts +0 -46
  259. package/lib/index.d.ts +0 -10
  260. package/lib/index.js +0 -27
  261. package/lib/inputs/base/InputTextBase.d.ts +0 -3
  262. package/lib/inputs/base/InputTextBase.js +0 -269
  263. package/lib/inputs/base/Label.d.ts +0 -6
  264. package/lib/inputs/base/Label.js +0 -32
  265. package/lib/inputs/base/base.spec.d.ts +0 -1
  266. package/lib/inputs/base/helpers.d.ts +0 -10
  267. package/lib/inputs/base/helpers.js +0 -28
  268. package/lib/inputs/base/types.d.ts +0 -98
  269. package/lib/inputs/color/color_input.spec.d.ts +0 -0
  270. package/lib/inputs/color/index.d.ts +0 -3
  271. package/lib/inputs/color/index.js +0 -78
  272. package/lib/inputs/color/types.d.ts +0 -16
  273. package/lib/inputs/date/Dialog.d.ts +0 -3
  274. package/lib/inputs/date/Dialog.js +0 -18
  275. package/lib/inputs/date/Dropdown.d.ts +0 -3
  276. package/lib/inputs/date/Dropdown.js +0 -17
  277. package/lib/inputs/date/date.spec.d.ts +0 -1
  278. package/lib/inputs/date/helpers.d.ts +0 -5
  279. package/lib/inputs/date/helpers.js +0 -10
  280. package/lib/inputs/date/index.d.ts +0 -3
  281. package/lib/inputs/date/index.js +0 -182
  282. package/lib/inputs/date/types.d.ts +0 -56
  283. package/lib/inputs/errorMessage/error.spec.d.ts +0 -1
  284. package/lib/inputs/errorMessage/index.d.ts +0 -4
  285. package/lib/inputs/errorMessage/index.js +0 -16
  286. package/lib/inputs/file/DefaultFile.d.ts +0 -3
  287. package/lib/inputs/file/DefaultFile.js +0 -71
  288. package/lib/inputs/file/DragDropFile.d.ts +0 -3
  289. package/lib/inputs/file/DragDropFile.js +0 -191
  290. package/lib/inputs/file/File.d.ts +0 -3
  291. package/lib/inputs/file/File.js +0 -46
  292. package/lib/inputs/file/FileButtonSettings.d.ts +0 -3
  293. package/lib/inputs/file/FileButtonSettings.js +0 -21
  294. package/lib/inputs/file/filefield.spec.d.ts +0 -1
  295. package/lib/inputs/file/helpers.d.ts +0 -2
  296. package/lib/inputs/file/helpers.js +0 -11
  297. package/lib/inputs/file/index.d.ts +0 -5
  298. package/lib/inputs/file/index.js +0 -8
  299. package/lib/inputs/file/types.d.ts +0 -49
  300. package/lib/inputs/inputHOC.d.ts +0 -4
  301. package/lib/inputs/inputHOC.js +0 -24
  302. package/lib/inputs/mask/BaseMask.d.ts +0 -3
  303. package/lib/inputs/mask/BaseMask.js +0 -2651
  304. package/lib/inputs/mask/Cnpj.d.ts +0 -6
  305. package/lib/inputs/mask/Cnpj.js +0 -40
  306. package/lib/inputs/mask/Cpf.d.ts +0 -6
  307. package/lib/inputs/mask/Cpf.js +0 -36
  308. package/lib/inputs/mask/Phone.d.ts +0 -3
  309. package/lib/inputs/mask/Phone.js +0 -9
  310. package/lib/inputs/mask/ZipCode.d.ts +0 -3
  311. package/lib/inputs/mask/ZipCode.js +0 -6
  312. package/lib/inputs/mask/helpers.d.ts +0 -52
  313. package/lib/inputs/mask/helpers.js +0 -63
  314. package/lib/inputs/mask/index.d.ts +0 -7
  315. package/lib/inputs/mask/index.js +0 -12
  316. package/lib/inputs/mask/input_mask.spec.d.ts +0 -0
  317. package/lib/inputs/mask/types.d.ts +0 -73
  318. package/lib/inputs/multiSelect/ActionButtons.d.ts +0 -3
  319. package/lib/inputs/multiSelect/ActionButtons.js +0 -50
  320. package/lib/inputs/multiSelect/Dropdown.d.ts +0 -3
  321. package/lib/inputs/multiSelect/Dropdown.js +0 -137
  322. package/lib/inputs/multiSelect/helper.d.ts +0 -3
  323. package/lib/inputs/multiSelect/helper.js +0 -11
  324. package/lib/inputs/multiSelect/index.d.ts +0 -3
  325. package/lib/inputs/multiSelect/index.js +0 -140
  326. package/lib/inputs/multiSelect/multiSelect.spec.d.ts +0 -1
  327. package/lib/inputs/multiSelect/types.d.ts +0 -57
  328. package/lib/inputs/number/BaseNumber.d.ts +0 -3
  329. package/lib/inputs/number/BaseNumber.js +0 -47
  330. package/lib/inputs/number/Currency.d.ts +0 -3
  331. package/lib/inputs/number/Currency.js +0 -15
  332. package/lib/inputs/number/Decimal.d.ts +0 -3
  333. package/lib/inputs/number/Decimal.js +0 -6
  334. package/lib/inputs/number/format_number.d.ts +0 -3
  335. package/lib/inputs/number/format_number.js +0 -9
  336. package/lib/inputs/number/index.d.ts +0 -6
  337. package/lib/inputs/number/index.js +0 -38
  338. package/lib/inputs/number/numberfield.spec.d.ts +0 -1
  339. package/lib/inputs/number/types.d.ts +0 -28
  340. package/lib/inputs/period/Dialog.d.ts +0 -3
  341. package/lib/inputs/period/Dialog.js +0 -18
  342. package/lib/inputs/period/Dropdown.d.ts +0 -3
  343. package/lib/inputs/period/Dropdown.js +0 -18
  344. package/lib/inputs/period/PeriodList.d.ts +0 -3
  345. package/lib/inputs/period/PeriodList.js +0 -29
  346. package/lib/inputs/period/helper.d.ts +0 -11
  347. package/lib/inputs/period/helper.js +0 -35
  348. package/lib/inputs/period/index.d.ts +0 -3
  349. package/lib/inputs/period/index.js +0 -351
  350. package/lib/inputs/period/types.d.ts +0 -69
  351. package/lib/inputs/search/index.d.ts +0 -3
  352. package/lib/inputs/search/index.js +0 -80
  353. package/lib/inputs/search/search_input.spec.d.ts +0 -1
  354. package/lib/inputs/select/ActionButtons.d.ts +0 -3
  355. package/lib/inputs/select/ActionButtons.js +0 -49
  356. package/lib/inputs/select/Dropdown.d.ts +0 -3
  357. package/lib/inputs/select/Dropdown.js +0 -119
  358. package/lib/inputs/select/helper.d.ts +0 -11
  359. package/lib/inputs/select/helper.js +0 -50
  360. package/lib/inputs/select/index.d.ts +0 -3
  361. package/lib/inputs/select/index.js +0 -29
  362. package/lib/inputs/select/multiple/Selecteds.d.ts +0 -3
  363. package/lib/inputs/select/multiple/Selecteds.js +0 -21
  364. package/lib/inputs/select/multiple/index.d.ts +0 -3
  365. package/lib/inputs/select/multiple/index.js +0 -196
  366. package/lib/inputs/select/select.spec.d.ts +0 -1
  367. package/lib/inputs/select/simple/index.d.ts +0 -3
  368. package/lib/inputs/select/simple/index.js +0 -226
  369. package/lib/inputs/select/types.d.ts +0 -117
  370. package/lib/inputs/text/index.d.ts +0 -3
  371. package/lib/inputs/text/index.js +0 -6
  372. package/lib/inputs/text/textfield.spec.d.ts +0 -1
  373. package/lib/inputs/text/types.d.ts +0 -21
  374. package/lib/inputs/textarea/index.d.ts +0 -3
  375. package/lib/inputs/textarea/index.js +0 -18
  376. package/lib/inputs/textarea/textarea.spec.d.ts +0 -1
  377. package/lib/inputs/textarea/types.d.ts +0 -7
  378. package/lib/inputs/types.d.ts +0 -151
  379. package/lib/internals/colorStyles.d.ts +0 -8
  380. package/lib/internals/colorStyles.js +0 -10
  381. package/lib/internals/constants.d.ts +0 -9
  382. package/lib/internals/constants.js +0 -12
  383. package/lib/internals/types.d.ts +0 -22
  384. package/lib/internals/withTooltip.d.ts +0 -8
  385. package/lib/internals/withTooltip.js +0 -75
  386. package/lib/labelMessages/index.d.ts +0 -3
  387. package/lib/labelMessages/index.js +0 -48
  388. package/lib/labelMessages/labelMessages.spec.d.ts +0 -1
  389. package/lib/labelMessages/types.d.ts +0 -16
  390. package/lib/labels/DangerLabel.d.ts +0 -3
  391. package/lib/labels/DangerLabel.js +0 -6
  392. package/lib/labels/DefaultLabel.d.ts +0 -6
  393. package/lib/labels/DefaultLabel.js +0 -41
  394. package/lib/labels/InfoLabel.d.ts +0 -3
  395. package/lib/labels/InfoLabel.js +0 -6
  396. package/lib/labels/PrimaryLabel.d.ts +0 -3
  397. package/lib/labels/PrimaryLabel.js +0 -6
  398. package/lib/labels/SuccessLabel.d.ts +0 -3
  399. package/lib/labels/SuccessLabel.js +0 -6
  400. package/lib/labels/WarningLabel.d.ts +0 -3
  401. package/lib/labels/WarningLabel.js +0 -6
  402. package/lib/labels/index.d.ts +0 -9
  403. package/lib/labels/index.js +0 -17
  404. package/lib/labels/label.spec.d.ts +0 -1
  405. package/lib/labels/label_container/index.d.ts +0 -10
  406. package/lib/labels/label_container/index.js +0 -12
  407. package/lib/labels/types.d.ts +0 -22
  408. package/lib/list/Header.d.ts +0 -3
  409. package/lib/list/Header.js +0 -8
  410. package/lib/list/Item.d.ts +0 -6
  411. package/lib/list/Item.js +0 -13
  412. package/lib/list/Separator.d.ts +0 -2
  413. package/lib/list/Separator.js +0 -5
  414. package/lib/list/helpers.d.ts +0 -9
  415. package/lib/list/helpers.js +0 -10
  416. package/lib/list/index.d.ts +0 -7
  417. package/lib/list/index.js +0 -101
  418. package/lib/list/list.spec.d.ts +0 -1
  419. package/lib/list/types.d.ts +0 -69
  420. package/lib/menus/float/MenuItem.d.ts +0 -3
  421. package/lib/menus/float/MenuItem.js +0 -58
  422. package/lib/menus/float/SubMenuContainer.d.ts +0 -29
  423. package/lib/menus/float/float-menu.spec.d.ts +0 -0
  424. package/lib/menus/float/helpers.d.ts +0 -4
  425. package/lib/menus/float/helpers.js +0 -5
  426. package/lib/menus/float/index.d.ts +0 -6
  427. package/lib/menus/float/index.js +0 -92
  428. package/lib/menus/float/types.d.ts +0 -26
  429. package/lib/menus/index.d.ts +0 -2
  430. package/lib/menus/index.js +0 -4
  431. package/lib/menus/sidenav/ExpandMenu.d.ts +0 -3
  432. package/lib/menus/sidenav/ExpandMenu.js +0 -17
  433. package/lib/menus/sidenav/MenuLink.d.ts +0 -6
  434. package/lib/menus/sidenav/MenuLink.js +0 -17
  435. package/lib/menus/sidenav/NavMenuGroup.d.ts +0 -3
  436. package/lib/menus/sidenav/NavMenuGroup.js +0 -17
  437. package/lib/menus/sidenav/NavMenuItem.d.ts +0 -6
  438. package/lib/menus/sidenav/NavMenuItem.js +0 -116
  439. package/lib/menus/sidenav/NavSubMenuItem.d.ts +0 -3
  440. package/lib/menus/sidenav/NavSubMenuItem.js +0 -23
  441. package/lib/menus/sidenav/helpers.d.ts +0 -6
  442. package/lib/menus/sidenav/helpers.js +0 -10
  443. package/lib/menus/sidenav/index.d.ts +0 -8
  444. package/lib/menus/sidenav/index.js +0 -128
  445. package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +0 -3
  446. package/lib/menus/sidenav/popup_menu_search/EmptyList.js +0 -19
  447. package/lib/menus/sidenav/popup_menu_search/index.d.ts +0 -4
  448. package/lib/menus/sidenav/popup_menu_search/index.js +0 -90
  449. package/lib/menus/sidenav/sidenav.spec.d.ts +0 -1
  450. package/lib/menus/sidenav/types.d.ts +0 -85
  451. package/lib/noPermission/index.d.ts +0 -2
  452. package/lib/noPermission/index.js +0 -11
  453. package/lib/panel/Content.d.ts +0 -3
  454. package/lib/panel/Content.js +0 -46
  455. package/lib/panel/DangerPanel.d.ts +0 -3
  456. package/lib/panel/DangerPanel.js +0 -7
  457. package/lib/panel/Default.d.ts +0 -3
  458. package/lib/panel/Default.js +0 -42
  459. package/lib/panel/Header.d.ts +0 -3
  460. package/lib/panel/Header.js +0 -42
  461. package/lib/panel/InfoPanel.d.ts +0 -3
  462. package/lib/panel/InfoPanel.js +0 -7
  463. package/lib/panel/PrimaryPanel.d.ts +0 -3
  464. package/lib/panel/PrimaryPanel.js +0 -7
  465. package/lib/panel/SuccessPanel.d.ts +0 -3
  466. package/lib/panel/SuccessPanel.js +0 -7
  467. package/lib/panel/ToolBar.d.ts +0 -3
  468. package/lib/panel/ToolBar.js +0 -6
  469. package/lib/panel/WarningPanel.d.ts +0 -3
  470. package/lib/panel/WarningPanel.js +0 -7
  471. package/lib/panel/helpers.d.ts +0 -5
  472. package/lib/panel/helpers.js +0 -12
  473. package/lib/panel/index.d.ts +0 -10
  474. package/lib/panel/index.js +0 -19
  475. package/lib/panel/panel.spec.d.ts +0 -0
  476. package/lib/panel/types.d.ts +0 -43
  477. package/lib/permissionValidations.d.ts +0 -12
  478. package/lib/permissionValidations.js +0 -42
  479. package/lib/popover/PopoverText.d.ts +0 -4
  480. package/lib/popover/PopoverText.js +0 -7
  481. package/lib/popover/PopoverTitle.d.ts +0 -3
  482. package/lib/popover/PopoverTitle.js +0 -5
  483. package/lib/popover/index.d.ts +0 -6
  484. package/lib/popover/index.js +0 -59
  485. package/lib/popover/popover.spec.d.ts +0 -1
  486. package/lib/popover/types.d.ts +0 -31
  487. package/lib/progress/Bar.d.ts +0 -3
  488. package/lib/progress/Bar.js +0 -42
  489. package/lib/progress/index.d.ts +0 -5
  490. package/lib/progress/index.js +0 -21
  491. package/lib/progress/progress.spec.d.ts +0 -1
  492. package/lib/progress/types.d.ts +0 -34
  493. package/lib/radio/index.d.ts +0 -8
  494. package/lib/radio/index.js +0 -96
  495. package/lib/radio/radio.spec.d.ts +0 -1
  496. package/lib/radio/types.d.ts +0 -25
  497. package/lib/shortcuts/index.d.ts +0 -3
  498. package/lib/shortcuts/index.js +0 -9
  499. package/lib/shortcuts/shortcuts.spec.d.ts +0 -0
  500. package/lib/shortcuts/types.d.ts +0 -9
  501. package/lib/skeleton/SkeletonContainer.d.ts +0 -3
  502. package/lib/skeleton/SkeletonContainer.js +0 -9
  503. package/lib/skeleton/index.d.ts +0 -5
  504. package/lib/skeleton/index.js +0 -25
  505. package/lib/skeleton/types.d.ts +0 -18
  506. package/lib/spinner/SpinnerLoading.d.ts +0 -3
  507. package/lib/spinner/SpinnerLoading.js +0 -18
  508. package/lib/spinner/index.d.ts +0 -3
  509. package/lib/spinner/index.js +0 -41
  510. package/lib/spinner/spinner.spec.d.ts +0 -1
  511. package/lib/spinner/types.d.ts +0 -17
  512. package/lib/split/Split.d.ts +0 -3
  513. package/lib/split/Split.js +0 -189
  514. package/lib/split/SplitSide.d.ts +0 -3
  515. package/lib/split/SplitSide.js +0 -19
  516. package/lib/split/helpers.d.ts +0 -8
  517. package/lib/split/helpers.js +0 -5
  518. package/lib/split/index.d.ts +0 -4
  519. package/lib/split/index.js +0 -6
  520. package/lib/split/split.spec.d.ts +0 -0
  521. package/lib/split/types.d.ts +0 -31
  522. package/lib/table/Body.d.ts +0 -3
  523. package/lib/table/Body.js +0 -59
  524. package/lib/table/Header.d.ts +0 -3
  525. package/lib/table/Header.js +0 -42
  526. package/lib/table/HeaderColumn.d.ts +0 -3
  527. package/lib/table/HeaderColumn.js +0 -30
  528. package/lib/table/Row.d.ts +0 -3
  529. package/lib/table/Row.js +0 -54
  530. package/lib/table/RowColumn.d.ts +0 -3
  531. package/lib/table/RowColumn.js +0 -46
  532. package/lib/table/helpers.d.ts +0 -7
  533. package/lib/table/helpers.js +0 -7
  534. package/lib/table/index.d.ts +0 -9
  535. package/lib/table/index.js +0 -109
  536. package/lib/table/table.spec.d.ts +0 -1
  537. package/lib/table/types.d.ts +0 -94
  538. package/lib/tabs/DropdownTabs.d.ts +0 -3
  539. package/lib/tabs/DropdownTabs.js +0 -81
  540. package/lib/tabs/Menu.d.ts +0 -3
  541. package/lib/tabs/Menu.js +0 -52
  542. package/lib/tabs/MenuTabs.d.ts +0 -4
  543. package/lib/tabs/MenuTabs.js +0 -89
  544. package/lib/tabs/Panel.d.ts +0 -3
  545. package/lib/tabs/Panel.js +0 -52
  546. package/lib/tabs/context.d.ts +0 -4
  547. package/lib/tabs/context.js +0 -68
  548. package/lib/tabs/index.d.ts +0 -5
  549. package/lib/tabs/index.js +0 -68
  550. package/lib/tabs/tabHelpers.d.ts +0 -9
  551. package/lib/tabs/tabHelpers.js +0 -46
  552. package/lib/tabs/tabs.spec.d.ts +0 -0
  553. package/lib/tabs/types.d.ts +0 -95
  554. package/lib/tabs/useTabs.d.ts +0 -1
  555. package/lib/tabs/useTabs.js +0 -8
  556. package/lib/textContent/index.d.ts +0 -18
  557. package/lib/textContent/index.js +0 -35
  558. package/lib/textContent/textContent.spec.d.ts +0 -1
  559. package/lib/toolbar/ButtonBar.d.ts +0 -3
  560. package/lib/toolbar/ButtonBar.js +0 -63
  561. package/lib/toolbar/LabelBar.d.ts +0 -3
  562. package/lib/toolbar/LabelBar.js +0 -43
  563. package/lib/toolbar/Separator.d.ts +0 -2
  564. package/lib/toolbar/Separator.js +0 -5
  565. package/lib/toolbar/ToolBarGroup.d.ts +0 -3
  566. package/lib/toolbar/ToolBarGroup.js +0 -5
  567. package/lib/toolbar/helpers.d.ts +0 -3
  568. package/lib/toolbar/helpers.js +0 -5
  569. package/lib/toolbar/index.d.ts +0 -8
  570. package/lib/toolbar/index.js +0 -33
  571. package/lib/toolbar/toolbar.spec.d.ts +0 -1
  572. package/lib/toolbar/types.d.ts +0 -43
  573. package/lib/tooltip/index.d.ts +0 -4
  574. package/lib/tooltip/index.js +0 -39
  575. package/lib/tooltip/tooltip.spec.d.ts +0 -1
  576. package/lib/tooltip/types.d.ts +0 -15
  577. package/lib/treetable/Body.d.ts +0 -2
  578. package/lib/treetable/Body.js +0 -35
  579. package/lib/treetable/Header.d.ts +0 -2
  580. package/lib/treetable/Header.js +0 -26
  581. package/lib/treetable/Row.d.ts +0 -3
  582. package/lib/treetable/Row.js +0 -157
  583. package/lib/treetable/helpers.d.ts +0 -14
  584. package/lib/treetable/helpers.js +0 -25
  585. package/lib/treetable/index.d.ts +0 -4
  586. package/lib/treetable/index.js +0 -18
  587. package/lib/treeview/Header.d.ts +0 -3
  588. package/lib/treeview/Header.js +0 -8
  589. package/lib/treeview/Node.d.ts +0 -3
  590. package/lib/treeview/Node.js +0 -183
  591. package/lib/treeview/constants.d.ts +0 -3
  592. package/lib/treeview/constants.js +0 -5
  593. package/lib/treeview/index.d.ts +0 -6
  594. package/lib/treeview/index.js +0 -185
  595. package/lib/treeview/treeview.spec.d.ts +0 -0
  596. package/lib/treeview/types.d.ts +0 -106
  597. package/lib/uitour/helpers.d.ts +0 -7
  598. package/lib/uitour/helpers.js +0 -9
  599. package/lib/uitour/index.d.ts +0 -4
  600. package/lib/uitour/index.js +0 -186
  601. package/lib/uitour/types.d.ts +0 -35
  602. package/lib/uitour/uitour.spec.d.ts +0 -0
@@ -1,246 +0,0 @@
1
- import { j as e } from "./jsx-runtime.gtoSnx-V.js";
2
- import { forwardRef as oe, useState as z, useRef as se, useImperativeHandle as ie, useEffect as F, useContext as M, useCallback as ne, useMemo as re, createElement as le } from "react";
3
- import { useNavigate as ce, Link as ae } from "react-router-dom";
4
- import O from "../icons/index.js";
5
- import '../assets/radio.css';import '../assets/skeleton.css';import '../assets/toolbar.css';import '../assets/label.css';import '../assets/panel.css';import '../assets/noPermission.css';import '../assets/button.css';import '../assets/gridlayout.css';import '../assets/tabs.css';/* empty css */
6
- import de from "../gridlayout/GridCol.js";
7
- import { actionsOnPermissionDenied as V, OPTIONS_ON_DENIED as P } from "../permissionValidations.js";
8
- import { ErrorMessage as me } from "../inputs/errorMessage/index.js";
9
- import "../buttons/DefaultButton.js";
10
- /* empty css */
11
- import "../panel/helpers.js";
12
- /* empty css */
13
- /* empty css */
14
- import "../toolbar/helpers.js";
15
- import "../labels/DefaultLabel.js";
16
- /* empty css */
17
- /* empty css */
18
- import { ListContext as pe } from "../list/helpers.js";
19
- import { WithDropdownContext as ue } from "../dropdown/withDropdown.js";
20
- import { keyCodes as fe } from "../internals/constants.js";
21
- import xe, { TooltipContext as he } from "../internals/withTooltip.js";
22
- /* empty css */
23
- /* empty css */
24
- import be from "../popover/index.js";
25
- import U from "../textContent/index.js";
26
- import "../tabs/MenuTabs.js";
27
- import "./lodash.C68pWaTB.js";
28
- import "../tabs/context.js";
29
- import "../tabs/tabHelpers.js";
30
- import "./index.CjD97zna.js";
31
- import ke from "../hint/index.js";
32
- const X = oe(({
33
- name: j,
34
- required: d,
35
- value: b,
36
- label: u,
37
- onChange: s,
38
- autofocus: i,
39
- hint: r,
40
- id: I = void 0,
41
- gridLayout: N,
42
- checked: l = !1,
43
- disabled: m,
44
- permissionAttr: g,
45
- tooltip: w,
46
- tooltipPosition: t = "top",
47
- tooltipWidth: D = "auto",
48
- skeletonize: k,
49
- targetRef: v,
50
- errorMessages: R,
51
- customClassForLabel: L,
52
- hintPosition: y = "below",
53
- themePopover: B = "light",
54
- popoverAlign: S = "left"
55
- }, E) => {
56
- const [c, $] = z(l), _ = [P.disabled, P.unvisible], [C] = z(V(_, g)), n = se(null);
57
- ie(E, () => n.current, [n.current]), F(() => {
58
- $(l);
59
- }, [l]);
60
- const f = () => m || C.disabled, A = () => {
61
- if (f()) return null;
62
- const x = {
63
- checked: !c,
64
- id: I,
65
- name: j,
66
- value: !c
67
- };
68
- return {
69
- onClick: () => {
70
- !f() && !k && ($(!c), s == null || s({ target: x }));
71
- },
72
- onKeyDown: void 0,
73
- role: "checkbox",
74
- tabIndex: -1
75
- };
76
- }, p = () => /* @__PURE__ */ e.jsxs("div", { children: [
77
- /* @__PURE__ */ e.jsxs(
78
- "div",
79
- {
80
- "data-skeletonized": k,
81
- className: "checkbox-component",
82
- style: { display: "flex", alignItems: "center" },
83
- children: [
84
- /* @__PURE__ */ e.jsxs(
85
- "span",
86
- {
87
- "data-testid": "checkbox-container",
88
- className: "inputcontent",
89
- "aria-checked": c,
90
- ...A(),
91
- children: [
92
- /* @__PURE__ */ e.jsx(
93
- "input",
94
- {
95
- id: I || void 0,
96
- ref: (x) => {
97
- v && v(x), n.current = x;
98
- },
99
- className: "input",
100
- type: "checkbox",
101
- autoFocus: i,
102
- checked: c,
103
- disabled: f(),
104
- name: j,
105
- required: d,
106
- value: b,
107
- onChange: () => {
108
- }
109
- }
110
- ),
111
- /* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(O, { size: 12, name: "checkmark" }) }),
112
- u && /* @__PURE__ */ e.jsxs("div", { className: "description", children: [
113
- /* @__PURE__ */ e.jsx(
114
- U,
115
- {
116
- required: d,
117
- disabled: f(),
118
- className: L,
119
- tooltip: w,
120
- tooltipWidth: D,
121
- tooltipPosition: t
122
- }
123
- ),
124
- u,
125
- /* @__PURE__ */ e.jsx(U, {}),
126
- /* @__PURE__ */ e.jsx(ke, { disabled: m, visible: !!r && y === "below", description: r, customClass: "hint" })
127
- ] })
128
- ]
129
- }
130
- ),
131
- !!r && y === "onLabelRight" && !k && /* @__PURE__ */ e.jsx(
132
- be,
133
- {
134
- theme: B,
135
- align: S,
136
- customClass: "-hint",
137
- iconColor: "#03bde2",
138
- style: { margin: "0px 5px", height: "auto", width: 20 },
139
- children: r
140
- }
141
- )
142
- ]
143
- }
144
- ),
145
- /* @__PURE__ */ e.jsx(me, { messages: R })
146
- ] });
147
- return C.unvisible ? null : N ? /* @__PURE__ */ e.jsx(de, { customClass: "-withinput", cols: N, children: p() }) : p();
148
- });
149
- X.displayName = "CheckBox";
150
- const ve = (j) => {
151
- const {
152
- onClick: d,
153
- leftIconName: b,
154
- leftIcon: u,
155
- displayCheckbox: s,
156
- url: i,
157
- leftElement: r,
158
- hovered: I = !0,
159
- customClass: N,
160
- text: l,
161
- subText: m,
162
- rightIcon: g,
163
- rightIconName: w,
164
- itemId: t = "",
165
- rightElement: D,
166
- style: k,
167
- children: v,
168
- disabled: R,
169
- separator: L = !0,
170
- visible: y = !0,
171
- permissionAttr: B,
172
- skeletonize: S,
173
- targetRef: E,
174
- target: c,
175
- onDeniedText: $ = "Permissão Negada! Consulte o Administrador do sistema."
176
- } = j, {
177
- handleSelectItem: _,
178
- selectable: C,
179
- selectedItemId: n,
180
- selectedItemRef: f,
181
- selectOnEnter: A
182
- } = M(pe), p = M(ue), { handlerSetOnDeniedText: x } = M(he), Y = [P.disabled, P.unvisible], [T] = z(V(Y, B)), Z = ce(), a = T.disabled, H = () => R || T.disabled, G = "rgb(193, 193, 193)", K = () => `item ${N} ${L && "list-separator"} ${H() && "disabled"}
183
- ${s && "list-checkbox"}`, W = (o, h) => {
184
- const te = !h && !s && !r && !b && !u && T.disabled;
185
- return h || (te ? /* @__PURE__ */ e.jsx(O, { name: "padlock", color: G }) : o ? /* @__PURE__ */ e.jsx(
186
- O,
187
- {
188
- name: a ? "padlock" : o,
189
- color: a ? G : ""
190
- }
191
- ) : null);
192
- }, J = (o) => {
193
- d !== void 0 && d(o, t), p && p.handleDropdownClose && p.handleDropdownClose(), C && _(t, d);
194
- }, Q = ne((o) => {
195
- var h;
196
- [fe.ENTER].includes(o.keyCode) && !S && t && n === t && (o.preventDefault(), J(o), i && (c === "_blank" ? (h = window.open(i, "_blank")) == null || h.focus() : Z(i)));
197
- }, [i, n, t]), q = () => {
198
- if (!H())
199
- return d === void 0 && p === void 0 && !C ? null : {
200
- onClick: (o) => {
201
- J(o);
202
- },
203
- role: "button",
204
- tabIndex: 0
205
- };
206
- };
207
- F(() => (A && document.addEventListener("keydown", Q), () => {
208
- document.removeEventListener("keydown", Q);
209
- }), [i, n, t]), F(() => {
210
- a && x($);
211
- }, [a]);
212
- const ee = re(
213
- () => !a && s ? /* @__PURE__ */ e.jsx(X, { name: "checkbox" }) : a && s ? /* @__PURE__ */ e.jsx(O, { name: "padlock" }) : null,
214
- [a && s]
215
- );
216
- return !y || T.unvisible ? null : /* @__PURE__ */ le(
217
- "li",
218
- {
219
- ref: (o) => (E && E(o), t && n === t ? f : null),
220
- style: k,
221
- className: `item-container ${I && "hovered"}
222
- ${t && n === t ? "-activedlist" : ""}`,
223
- ...q(),
224
- key: t
225
- },
226
- i && !H() && /* @__PURE__ */ e.jsx(ae, { className: "linkitem", to: i, target: c }),
227
- (s || r || b || u) && /* @__PURE__ */ e.jsxs("div", { className: `${K()} -icon-left`, children: [
228
- ee,
229
- r,
230
- W(b, u)
231
- ] }),
232
- (l || m || v) && /* @__PURE__ */ e.jsxs("div", { className: `${K()}`, children: [
233
- l && /* @__PURE__ */ e.jsx("p", { className: `${l && "text"}`, children: l }),
234
- m && /* @__PURE__ */ e.jsx("p", { className: `${m && "subtext"}`, children: m }),
235
- v
236
- ] }),
237
- (w || g || D || a) && /* @__PURE__ */ e.jsxs("div", { className: `${K()} -icon-right`, children: [
238
- W(w, g),
239
- D
240
- ] })
241
- );
242
- }, Ye = xe(ve);
243
- export {
244
- X as C,
245
- Ye as L
246
- };
@@ -1,41 +0,0 @@
1
- let y;
2
- const w = new Uint8Array(16);
3
- function k() {
4
- if (!y && (y = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !y))
5
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
6
- return y(w);
7
- }
8
- const c = [];
9
- for (let e = 0; e < 256; ++e)
10
- c.push((e + 256).toString(16).slice(1));
11
- function q(e, n = 0) {
12
- return c[e[n + 0]] + c[e[n + 1]] + c[e[n + 2]] + c[e[n + 3]] + "-" + c[e[n + 4]] + c[e[n + 5]] + "-" + c[e[n + 6]] + c[e[n + 7]] + "-" + c[e[n + 8]] + c[e[n + 9]] + "-" + c[e[n + 10]] + c[e[n + 11]] + c[e[n + 12]] + c[e[n + 13]] + c[e[n + 14]] + c[e[n + 15]];
13
- }
14
- let h, g, a = 0, o = 0;
15
- function b(e, n, S) {
16
- let l = 0;
17
- const u = new Array(16);
18
- e = e || {};
19
- let x = e.node || h, d = e.clockseq !== void 0 ? e.clockseq : g;
20
- if (x == null || d == null) {
21
- const t = e.random || (e.rng || k)();
22
- x == null && (x = h = [t[0] | 1, t[1], t[2], t[3], t[4], t[5]]), d == null && (d = g = (t[6] << 8 | t[7]) & 16383);
23
- }
24
- let f = e.msecs !== void 0 ? e.msecs : Date.now(), s = e.nsecs !== void 0 ? e.nsecs : o + 1;
25
- const r = f - a + (s - o) / 1e4;
26
- if (r < 0 && e.clockseq === void 0 && (d = d + 1 & 16383), (r < 0 || f > a) && e.nsecs === void 0 && (s = 0), s >= 1e4)
27
- throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
28
- a = f, o = s, g = d, f += 122192928e5;
29
- const i = ((f & 268435455) * 1e4 + s) % 4294967296;
30
- u[l++] = i >>> 24 & 255, u[l++] = i >>> 16 & 255, u[l++] = i >>> 8 & 255, u[l++] = i & 255;
31
- const m = f / 4294967296 * 1e4 & 268435455;
32
- u[l++] = m >>> 8 & 255, u[l++] = m & 255, u[l++] = m >>> 24 & 15 | 16, u[l++] = m >>> 16 & 255, u[l++] = d >>> 8 | 128, u[l++] = d & 255;
33
- for (let t = 0; t < 6; ++t)
34
- u[l + t] = x[t];
35
- return n || q(u);
36
- }
37
- export {
38
- k as r,
39
- q as u,
40
- b as v
41
- };
@@ -1,3 +0,0 @@
1
- import { ICommonDialogProps } from './types';
2
- declare const Alert: (props: ICommonDialogProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Alert;
@@ -1,23 +0,0 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
2
- import "react";
3
- import "../buttons/DefaultButton.js";
4
- import n from "../buttons/PrimaryButton.js";
5
- import c from "../icons/index.js";
6
- import '../assets/button.css';/* empty css */
7
- import s from "./Custom.js";
8
- const j = (t) => {
9
- const { onConfirmClick: r, confirmLabel: m = "Confirmar" } = t, i = [
10
- /* @__PURE__ */ o.jsx(n, { onClick: r, label: m }, "confirm-buttom")
11
- ];
12
- return /* @__PURE__ */ o.jsx(
13
- s,
14
- {
15
- ...t,
16
- buttons: i,
17
- icon: /* @__PURE__ */ o.jsx(c, { name: "exclamation", color: "#f39c12", size: 64 })
18
- }
19
- );
20
- };
21
- export {
22
- j as default
23
- };
@@ -1,3 +0,0 @@
1
- import { ICustomProps } from './types';
2
- declare const Custom: (props: ICustomProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Custom;
@@ -1,33 +0,0 @@
1
- import { j as e } from "../chunks/jsx-runtime.gtoSnx-V.js";
2
- import s from "react";
3
- import { B as a } from "../chunks/index.CjD97zna.js";
4
- import m from "./base/Footer.js";
5
- import c from "../icons/index.js";
6
- import u from "../buttons/button_container/index.js";
7
- import "../buttons/DefaultButton.js";
8
- import '../assets/button.css';/* empty css */
9
- import { v as d } from "../chunks/v1.CDXKvGzE.js";
10
- const x = (t, i) => i || (t ? /* @__PURE__ */ e.jsx(c, { name: t, color: "#000", size: 64 }) : null), C = (t) => {
11
- const { width: i = "35%", height: n = "auto", iconName: o = null, open: r } = t;
12
- return /* @__PURE__ */ e.jsxs(
13
- a,
14
- {
15
- open: r,
16
- width: i,
17
- height: n,
18
- ...t,
19
- wrapperClassName: "dialog-alert-wrapper",
20
- children: [
21
- /* @__PURE__ */ e.jsx("div", { className: "icon", children: x(o, t.icon) }),
22
- /* @__PURE__ */ e.jsxs("div", { className: "container", children: [
23
- t.title && /* @__PURE__ */ e.jsx("div", { className: "title", children: t.title }),
24
- /* @__PURE__ */ e.jsx("div", { className: "text", children: t.text })
25
- ] }),
26
- t.buttons && t.buttons.length > 0 && /* @__PURE__ */ e.jsx(m, { ...t, children: /* @__PURE__ */ e.jsx(u, { position: "right", children: t.buttons.map((l) => s.cloneElement(l, { key: `button-${d()}` })) }) })
27
- ]
28
- }
29
- );
30
- };
31
- export {
32
- C as default
33
- };
@@ -1,3 +0,0 @@
1
- import { ICommonDialogProps } from './types';
2
- declare const Error: (props: ICommonDialogProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Error;
@@ -1,23 +0,0 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
2
- import "react";
3
- import "../buttons/DefaultButton.js";
4
- import n from "../buttons/PrimaryButton.js";
5
- import c from "../icons/index.js";
6
- import '../assets/button.css';/* empty css */
7
- import s from "./Custom.js";
8
- const b = (r) => {
9
- const { onConfirmClick: t, confirmLabel: m = "Confirmar" } = r, i = [
10
- /* @__PURE__ */ o.jsx(n, { onClick: t, label: m }, "confirm-buttom")
11
- ];
12
- return /* @__PURE__ */ o.jsx(
13
- s,
14
- {
15
- ...r,
16
- buttons: i,
17
- icon: /* @__PURE__ */ o.jsx(c, { name: "block", color: "#e74c3c", size: 64 })
18
- }
19
- );
20
- };
21
- export {
22
- b as default
23
- };
@@ -1,3 +0,0 @@
1
- import { ICommonDialogProps } from './types';
2
- declare const Information: (props: ICommonDialogProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Information;
@@ -1,23 +0,0 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
2
- import "react";
3
- import "../buttons/DefaultButton.js";
4
- import n from "../buttons/PrimaryButton.js";
5
- import c from "../icons/index.js";
6
- import '../assets/button.css';/* empty css */
7
- import s from "./Custom.js";
8
- const b = (r) => {
9
- const { onConfirmClick: t, confirmLabel: m = "Confirmar" } = r, i = [
10
- /* @__PURE__ */ o.jsx(n, { onClick: t, label: m }, "confirm-buttom")
11
- ];
12
- return /* @__PURE__ */ o.jsx(
13
- s,
14
- {
15
- ...r,
16
- buttons: i,
17
- icon: /* @__PURE__ */ o.jsx(c, { name: "information", color: "#24cabc", size: 64 })
18
- }
19
- );
20
- };
21
- export {
22
- b as default
23
- };
@@ -1,3 +0,0 @@
1
- import { IQuestionProps } from './types';
2
- declare const Question: (props: IQuestionProps) => import("react/jsx-runtime").JSX.Element | null;
3
- export default Question;
@@ -1,63 +0,0 @@
1
- import { j as t } from "../chunks/jsx-runtime.gtoSnx-V.js";
2
- import { useLayoutEffect as d, useEffect as b } from "react";
3
- import p from "../buttons/Button.js";
4
- import x from "../buttons/DangerButton.js";
5
- import C from "../icons/index.js";
6
- import '../assets/button.css';/* empty css */
7
- import j from "./Custom.js";
8
- const h = (s) => {
9
- const {
10
- visible: n = !0,
11
- closeOnEsc: m = !1,
12
- isWaiting: i,
13
- onConfirmClick: u,
14
- onUnconfirmClick: r,
15
- confirmLabel: l = "Sim",
16
- declineLabel: f = "Não"
17
- } = s, c = "botao-unconfirm-click", a = [
18
- /* @__PURE__ */ t.jsx(
19
- x,
20
- {
21
- disabled: i,
22
- onClick: u,
23
- isLoading: i,
24
- label: l
25
- },
26
- "yes-buttom"
27
- ),
28
- /* @__PURE__ */ t.jsx(
29
- p,
30
- {
31
- id: c,
32
- disabled: i,
33
- onClick: r,
34
- label: f
35
- },
36
- "no-buttom"
37
- )
38
- ];
39
- return d(() => {
40
- const o = document.activeElement;
41
- return () => {
42
- var e;
43
- (e = o == null ? void 0 : o.focus) == null || e.call(o);
44
- };
45
- }, [n]), b(() => {
46
- var e;
47
- const o = document.getElementById(c);
48
- (e = o == null ? void 0 : o.focus) == null || e.call(o);
49
- }, [n, document.activeElement]), n ? /* @__PURE__ */ t.jsx(
50
- j,
51
- {
52
- ...s,
53
- open: n,
54
- buttons: a,
55
- closeOnEsc: m,
56
- handlerClose: r,
57
- icon: /* @__PURE__ */ t.jsx(C, { name: "question", color: "#3498db", size: 64 })
58
- }
59
- ) : null;
60
- };
61
- export {
62
- h as default
63
- };
@@ -1,3 +0,0 @@
1
- import { ICommonDialogProps } from './types';
2
- declare const Warning: (props: ICommonDialogProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Warning;
@@ -1,23 +0,0 @@
1
- import { j as o } from "../chunks/jsx-runtime.gtoSnx-V.js";
2
- import "react";
3
- import "../buttons/DefaultButton.js";
4
- import m from "../buttons/PrimaryButton.js";
5
- import s from "../icons/index.js";
6
- import '../assets/button.css';/* empty css */
7
- import a from "./Custom.js";
8
- const j = (r) => {
9
- const { onConfirmClick: t, confirmLabel: n = "Confirmar" } = r, i = [
10
- /* @__PURE__ */ o.jsx(m, { onClick: t, label: n }, 1)
11
- ];
12
- return /* @__PURE__ */ o.jsx(
13
- a,
14
- {
15
- ...r,
16
- buttons: i,
17
- icon: /* @__PURE__ */ o.jsx(s, { name: "warning", color: "#f39c12", size: 64 })
18
- }
19
- );
20
- };
21
- export {
22
- j as default
23
- };
@@ -1,3 +0,0 @@
1
- import { IContentProps } from '../types';
2
- declare const Content: ({ children, styleForContent, className }: IContentProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Content;
@@ -1,6 +0,0 @@
1
- import { j as t } from "../../chunks/jsx-runtime.gtoSnx-V.js";
2
- import { Suspense as n } from "react";
3
- import '../../assets/Content.css';const d = ({ children: o, styleForContent: s, className: e = "" }) => /* @__PURE__ */ t.jsx(n, { children: /* @__PURE__ */ t.jsx("div", { id: "modal-dialog-content", className: `dialog-content ${e}`, style: s, children: o }) });
4
- export {
5
- d as default
6
- };
@@ -1,3 +0,0 @@
1
- import { IFooterProps } from '../types';
2
- declare const Footer: (props: IFooterProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Footer;
@@ -1,5 +0,0 @@
1
- import { j as e } from "../../chunks/jsx-runtime.gtoSnx-V.js";
2
- const s = (o) => /* @__PURE__ */ e.jsx("div", { className: "footer", children: o.children });
3
- export {
4
- s as default
5
- };
@@ -1,3 +0,0 @@
1
- import { IHeaderProps } from '../types';
2
- declare const Header: ({ showCloseButton, handlerClose, title, icon, titleIcon, }: IHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Header;
@@ -1,7 +0,0 @@
1
- import "../../chunks/jsx-runtime.gtoSnx-V.js";
2
- import "react";
3
- import "../../icons/index.js";
4
- import { H as i } from "../../chunks/index.CjD97zna.js";
5
- export {
6
- i as default
7
- };
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IBaseProps } from '../types';
3
- type DialogContextType = {
4
- handleClose: () => void;
5
- open: boolean;
6
- onOpenChange: (open: boolean) => void;
7
- };
8
- export declare const DialogContext: React.Context<DialogContextType>;
9
- declare const BaseDialog: (props: IBaseProps) => import("react/jsx-runtime").JSX.Element | null;
10
- export default BaseDialog;
@@ -1,9 +0,0 @@
1
- import "../../chunks/jsx-runtime.gtoSnx-V.js";
2
- import "react";
3
- import "react-dom";
4
- import { D as a, B as e } from "../../chunks/index.CjD97zna.js";
5
- import "./Content.js";
6
- export {
7
- a as DialogContext,
8
- e as default
9
- };
@@ -1,7 +0,0 @@
1
- export default dialogStyle;
2
- declare function dialogStyle(props: any): {
3
- height: any;
4
- maxHeight: string;
5
- width: any;
6
- textAlign: any;
7
- };
File without changes
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IFormProps, IFormDialogContext } from '../types';
3
- export declare const FormDialogContext: React.Context<IFormDialogContext>;
4
- declare const _default: (props: IFormProps) => import("react/jsx-runtime").JSX.Element;
5
- export default _default;
@@ -1,15 +0,0 @@
1
- import "../../chunks/jsx-runtime.gtoSnx-V.js";
2
- import "react";
3
- import { a as F, F as d } from "../../chunks/index.CjD97zna.js";
4
- import "../../buttons/button_container/index.js";
5
- import "../../buttons/DefaultButton.js";
6
- import "../../icons/index.js";
7
- import '../../assets/button.css';/* empty css */
8
- import "../base/Content.js";
9
- import "../base/Footer.js";
10
- import "../../spinner/index.js";
11
- import "../../form/withFormSecurity.js";
12
- export {
13
- F as FormDialogContext,
14
- d as default
15
- };
@@ -1,9 +0,0 @@
1
- import { default as Dialog } from './base/';
2
- import { default as DialogAlert } from './Alert';
3
- import { default as DialogError } from './Error';
4
- import { default as DialogInformation } from './Information';
5
- import { default as DialogQuestion } from './Question';
6
- import { default as DialogWarning } from './Warning';
7
- import { default as DialogCustom } from './Custom';
8
- export default Dialog;
9
- export { DialogAlert, DialogInformation, DialogError, DialogCustom, DialogWarning, DialogQuestion, };
@@ -1,16 +0,0 @@
1
- import { B as a } from "../chunks/index.CjD97zna.js";
2
- import { default as e } from "./Alert.js";
3
- import { default as l } from "./Error.js";
4
- import { default as s } from "./Information.js";
5
- import { default as u } from "./Question.js";
6
- import { default as p } from "./Warning.js";
7
- import { default as x } from "./Custom.js";
8
- export {
9
- e as DialogAlert,
10
- x as DialogCustom,
11
- l as DialogError,
12
- s as DialogInformation,
13
- u as DialogQuestion,
14
- p as DialogWarning,
15
- a as default
16
- };