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

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/lib/@types/Align.d.ts +2 -0
  2. package/lib/@types/ButtonTypes.d.ts +1 -0
  3. package/lib/@types/ColorStyles.d.ts +1 -0
  4. package/lib/@types/DataCombo.d.ts +1 -0
  5. package/lib/@types/Icon.d.ts +2 -0
  6. package/lib/@types/LabelStyles.d.ts +1 -0
  7. package/lib/@types/Period.d.ts +4 -0
  8. package/lib/@types/PermissionAttr.d.ts +12 -0
  9. package/lib/@types/PointerEvents.d.ts +1 -0
  10. package/lib/@types/Position.d.ts +1 -0
  11. package/lib/@types/PositionAlert.d.ts +1 -0
  12. package/lib/@types/Size.d.ts +1 -0
  13. package/lib/@types/SizePixels.d.ts +1 -0
  14. package/lib/@types/StorageMock.d.ts +3 -0
  15. package/lib/alerts/AlertContainer.d.ts +12 -0
  16. package/lib/alerts/AlertContainer.js +70 -0
  17. package/lib/alerts/AlertProvider.d.ts +3 -0
  18. package/lib/alerts/AlertProvider.js +46 -0
  19. package/lib/alerts/BaseAlert.d.ts +3 -0
  20. package/lib/alerts/BaseAlert.js +20 -0
  21. package/lib/alerts/Message.d.ts +3 -0
  22. package/lib/alerts/Message.js +94 -0
  23. package/lib/alerts/alert.spec.d.ts +0 -0
  24. package/lib/alerts/helpers.d.ts +3 -0
  25. package/lib/alerts/helpers.js +5 -0
  26. package/lib/alerts/index.d.ts +4 -0
  27. package/lib/alerts/index.js +6 -0
  28. package/lib/alerts/types.d.ts +47 -0
  29. package/lib/alerts/withAlert.d.ts +4 -0
  30. package/lib/alerts/withAlert.js +14 -0
  31. package/lib/assets/BaseAlert.css +1 -0
  32. package/lib/assets/Content.css +1 -0
  33. package/lib/assets/DefaultFile.css +1 -0
  34. package/lib/assets/Drawer.css +1 -0
  35. package/lib/assets/InputTextBase.css +1 -0
  36. package/lib/assets/button.css +1 -0
  37. package/lib/assets/gridlayout.css +1 -0
  38. package/lib/assets/index.css +1 -0
  39. package/lib/assets/index10.css +1 -0
  40. package/lib/assets/index11.css +1 -0
  41. package/lib/assets/index12.css +1 -0
  42. package/lib/assets/index13.css +1 -0
  43. package/lib/assets/index14.css +1 -0
  44. package/lib/assets/index15.css +1 -0
  45. package/lib/assets/index16.css +1 -0
  46. package/lib/assets/index17.css +1 -0
  47. package/lib/assets/index18.css +1 -0
  48. package/lib/assets/index19.css +1 -0
  49. package/lib/assets/index2.css +1 -0
  50. package/lib/assets/index20.css +1 -0
  51. package/lib/assets/index21.css +1 -0
  52. package/lib/assets/index22.css +1 -0
  53. package/lib/assets/index23.css +1 -0
  54. package/lib/assets/index24.css +1 -0
  55. package/lib/assets/index25.css +1 -0
  56. package/lib/assets/index26.css +1 -0
  57. package/lib/assets/index27.css +1 -0
  58. package/lib/assets/index28.css +1 -0
  59. package/lib/assets/index3.css +1 -0
  60. package/lib/assets/index4.css +1 -0
  61. package/lib/assets/index5.css +1 -0
  62. package/lib/assets/index6.css +1 -0
  63. package/lib/assets/index7.css +1 -0
  64. package/lib/assets/index8.css +1 -0
  65. package/lib/assets/index9.css +1 -0
  66. package/lib/assets/label.css +1 -0
  67. package/lib/assets/noPermission.css +1 -0
  68. package/lib/assets/panel.css +1 -0
  69. package/lib/assets/progressbar.css +1 -0
  70. package/lib/assets/radio.css +1 -0
  71. package/lib/assets/skeleton.css +1 -0
  72. package/lib/assets/table.css +1 -0
  73. package/lib/assets/tabs.css +1 -0
  74. package/lib/assets/toolbar.css +1 -0
  75. package/lib/assets/withDropdown.css +1 -0
  76. package/lib/avatar/avatar.spec.d.ts +1 -0
  77. package/lib/avatar/index.d.ts +6 -0
  78. package/lib/avatar/index.js +55 -0
  79. package/lib/avatar/types.d.ts +27 -0
  80. package/lib/badge/badge.spec.d.ts +1 -0
  81. package/lib/badge/index.d.ts +3 -0
  82. package/lib/badge/index.js +28 -0
  83. package/lib/badge/types.d.ts +10 -0
  84. package/lib/buttons/ActivateButton.d.ts +3 -0
  85. package/lib/buttons/ActivateButton.js +11 -0
  86. package/lib/buttons/AddButton.d.ts +3 -0
  87. package/lib/buttons/AddButton.js +14 -0
  88. package/lib/buttons/Button.d.ts +6 -0
  89. package/lib/buttons/Button.js +19 -0
  90. package/lib/buttons/ButtonGroups.d.ts +6 -0
  91. package/lib/buttons/ButtonGroups.js +12 -0
  92. package/lib/buttons/CancelButton.d.ts +3 -0
  93. package/lib/buttons/CancelButton.js +16 -0
  94. package/lib/buttons/DangerButton.d.ts +3 -0
  95. package/lib/buttons/DangerButton.js +17 -0
  96. package/lib/buttons/DefaultButton.d.ts +6 -0
  97. package/lib/buttons/DefaultButton.js +95 -0
  98. package/lib/buttons/DestroyButton.d.ts +3 -0
  99. package/lib/buttons/DestroyButton.js +23 -0
  100. package/lib/buttons/EditButton.d.ts +3 -0
  101. package/lib/buttons/EditButton.js +11 -0
  102. package/lib/buttons/InactivateButton.d.ts +3 -0
  103. package/lib/buttons/InactivateButton.js +11 -0
  104. package/lib/buttons/InfoButton.d.ts +3 -0
  105. package/lib/buttons/InfoButton.js +17 -0
  106. package/lib/buttons/PrimaryButton.d.ts +3 -0
  107. package/lib/buttons/PrimaryButton.js +17 -0
  108. package/lib/buttons/RestoreButton.d.ts +3 -0
  109. package/lib/buttons/RestoreButton.js +11 -0
  110. package/lib/buttons/SaveButton.d.ts +3 -0
  111. package/lib/buttons/SaveButton.js +16 -0
  112. package/lib/buttons/SuccessButton.d.ts +3 -0
  113. package/lib/buttons/SuccessButton.js +17 -0
  114. package/lib/buttons/WarningButton.d.ts +3 -0
  115. package/lib/buttons/WarningButton.js +17 -0
  116. package/lib/buttons/button_container/index.d.ts +10 -0
  117. package/lib/buttons/button_container/index.js +23 -0
  118. package/lib/buttons/buttons.spec.d.ts +0 -0
  119. package/lib/buttons/index.d.ts +17 -0
  120. package/lib/buttons/index.js +33 -0
  121. package/lib/buttons/split_button/index.d.ts +3 -0
  122. package/lib/buttons/split_button/index.js +58 -0
  123. package/lib/buttons/types.d.ts +46 -0
  124. package/lib/calendar/DangerCalendar.d.ts +3 -0
  125. package/lib/calendar/DangerCalendar.js +20 -0
  126. package/lib/calendar/InfoCalendar.d.ts +3 -0
  127. package/lib/calendar/InfoCalendar.js +20 -0
  128. package/lib/calendar/PrimaryCalendar.d.ts +3 -0
  129. package/lib/calendar/PrimaryCalendar.js +20 -0
  130. package/lib/calendar/SuccessCalendar.d.ts +3 -0
  131. package/lib/calendar/SuccessCalendar.js +20 -0
  132. package/lib/calendar/WarningCalendar.d.ts +3 -0
  133. package/lib/calendar/WarningCalendar.js +20 -0
  134. package/lib/calendar/base/Day.d.ts +3 -0
  135. package/lib/calendar/base/Day.js +37 -0
  136. package/lib/calendar/base/Month.d.ts +3 -0
  137. package/lib/calendar/base/Month.js +28 -0
  138. package/lib/calendar/base/Week.d.ts +3 -0
  139. package/lib/calendar/base/Week.js +24 -0
  140. package/lib/calendar/base/helpers.d.ts +59 -0
  141. package/lib/calendar/base/helpers.js +100 -0
  142. package/lib/calendar/base/index.d.ts +3 -0
  143. package/lib/calendar/base/index.js +137 -0
  144. package/lib/calendar/calendar.spec.d.ts +0 -0
  145. package/lib/calendar/index.d.ts +8 -0
  146. package/lib/calendar/index.js +14 -0
  147. package/lib/calendar/types.d.ts +27 -0
  148. package/lib/checkbox/checkbox.spec.d.ts +1 -0
  149. package/lib/checkbox/index.d.ts +9 -0
  150. package/lib/checkbox/index.js +32 -0
  151. package/lib/checkbox/types.d.ts +45 -0
  152. package/lib/chunks/compiler-runtime.Cu50tn6L.js +54 -0
  153. package/lib/chunks/index.Df3kt2LQ.js +667 -0
  154. package/lib/chunks/index.aw0XaUkg.js +266 -0
  155. package/lib/chunks/jsx-runtime.D1SHvdVE.js +282 -0
  156. package/lib/chunks/lodash.CIAK_hAg.js +3684 -0
  157. package/lib/chunks/moment.DMLRxgRE.js +2589 -0
  158. package/lib/chunks/tabs.BvKfeA6Y.js +244 -0
  159. package/lib/chunks/v1.Ds1rkxUj.js +49 -0
  160. package/lib/dialog/Alert.d.ts +3 -0
  161. package/lib/dialog/Alert.js +24 -0
  162. package/lib/dialog/Custom.d.ts +3 -0
  163. package/lib/dialog/Custom.js +47 -0
  164. package/lib/dialog/Error.d.ts +3 -0
  165. package/lib/dialog/Error.js +24 -0
  166. package/lib/dialog/Information.d.ts +3 -0
  167. package/lib/dialog/Information.js +24 -0
  168. package/lib/dialog/Question.d.ts +3 -0
  169. package/lib/dialog/Question.js +47 -0
  170. package/lib/dialog/Warning.d.ts +3 -0
  171. package/lib/dialog/Warning.js +24 -0
  172. package/lib/dialog/base/Content.d.ts +3 -0
  173. package/lib/dialog/base/Content.js +15 -0
  174. package/lib/dialog/base/Footer.d.ts +3 -0
  175. package/lib/dialog/base/Footer.js +10 -0
  176. package/lib/dialog/base/Header.d.ts +3 -0
  177. package/lib/dialog/base/Header.js +8 -0
  178. package/lib/dialog/base/index.d.ts +10 -0
  179. package/lib/dialog/base/index.js +10 -0
  180. package/lib/dialog/base/style.d.ts +7 -0
  181. package/lib/dialog/dialog.spec.d.ts +0 -0
  182. package/lib/dialog/form/index.d.ts +5 -0
  183. package/lib/dialog/form/index.js +16 -0
  184. package/lib/dialog/index.d.ts +9 -0
  185. package/lib/dialog/index.js +16 -0
  186. package/lib/dialog/types.d.ts +107 -0
  187. package/lib/dialog/wizard/index.d.ts +9 -0
  188. package/lib/dialog/wizard/index.js +15 -0
  189. package/lib/dialog/wizard/progressbar.d.ts +11 -0
  190. package/lib/dialog/wizard/progressbar.js +98 -0
  191. package/lib/dialog/wizard/step.d.ts +2 -0
  192. package/lib/dialog/wizard/step.js +6 -0
  193. package/lib/dialog/wizard/useWizard.d.ts +2 -0
  194. package/lib/dialog/wizard/useWizard.js +45 -0
  195. package/lib/dialog/wizard/wizard.spec.d.ts +0 -0
  196. package/lib/drawer/Content.d.ts +3 -0
  197. package/lib/drawer/Content.js +18 -0
  198. package/lib/drawer/Drawer.d.ts +4 -0
  199. package/lib/drawer/Drawer.js +75 -0
  200. package/lib/drawer/Drawer.spec.d.ts +1 -0
  201. package/lib/drawer/Header.d.ts +3 -0
  202. package/lib/drawer/Header.js +56 -0
  203. package/lib/drawer/helpers.d.ts +4 -0
  204. package/lib/drawer/helpers.js +5 -0
  205. package/lib/drawer/index.d.ts +5 -0
  206. package/lib/drawer/index.js +10 -0
  207. package/lib/drawer/types.d.ts +37 -0
  208. package/lib/dropdown/Popup.d.ts +3 -0
  209. package/lib/dropdown/Popup.js +51 -0
  210. package/lib/dropdown/dropdown.spec.d.ts +1 -0
  211. package/lib/dropdown/helper.d.ts +2 -0
  212. package/lib/dropdown/helper.js +8 -0
  213. package/lib/dropdown/types.d.ts +45 -0
  214. package/lib/dropdown/withDropdown.d.ts +9 -0
  215. package/lib/dropdown/withDropdown.js +80 -0
  216. package/lib/fieldset/fieldset.spec.d.ts +1 -0
  217. package/lib/fieldset/index.d.ts +3 -0
  218. package/lib/fieldset/index.js +70 -0
  219. package/lib/fieldset/types.d.ts +27 -0
  220. package/lib/form/Field.d.ts +2 -0
  221. package/lib/form/Field.js +98 -0
  222. package/lib/form/FieldArray.d.ts +2 -0
  223. package/lib/form/FieldArray.js +68 -0
  224. package/lib/form/FieldNumber.d.ts +2 -0
  225. package/lib/form/FieldNumber.js +48 -0
  226. package/lib/form/FieldPeriod.d.ts +2 -0
  227. package/lib/form/FieldPeriod.js +95 -0
  228. package/lib/form/form.spec.d.ts +0 -0
  229. package/lib/form/helpers.d.ts +8 -0
  230. package/lib/form/helpers.js +28 -0
  231. package/lib/form/index.d.ts +8 -0
  232. package/lib/form/index.js +150 -0
  233. package/lib/form/types.d.ts +233 -0
  234. package/lib/form/withFieldHOC.d.ts +4 -0
  235. package/lib/form/withFieldHOC.js +62 -0
  236. package/lib/form/withFormSecurity.d.ts +6 -0
  237. package/lib/form/withFormSecurity.js +30 -0
  238. package/lib/gridlayout/GridCol.d.ts +3 -0
  239. package/lib/gridlayout/GridCol.js +27 -0
  240. package/lib/gridlayout/GridRow.d.ts +3 -0
  241. package/lib/gridlayout/GridRow.js +26 -0
  242. package/lib/gridlayout/gridLayout.spec.d.ts +1 -0
  243. package/lib/gridlayout/index.d.ts +4 -0
  244. package/lib/gridlayout/index.js +6 -0
  245. package/lib/gridlayout/types.d.ts +17 -0
  246. package/lib/hint/helpers.d.ts +1 -0
  247. package/lib/hint/helpers.js +12 -0
  248. package/lib/hint/hint.spec.d.ts +1 -0
  249. package/lib/hint/index.d.ts +3 -0
  250. package/lib/hint/index.js +30 -0
  251. package/lib/hint/types.d.ts +11 -0
  252. package/lib/icons/helper.d.ts +635 -0
  253. package/lib/icons/helper.js +637 -0
  254. package/lib/icons/icons.spec.d.ts +1 -0
  255. package/lib/icons/index.d.ts +6 -0
  256. package/lib/icons/index.js +66 -0
  257. package/lib/icons/types.d.ts +46 -0
  258. package/lib/index.d.ts +10 -0
  259. package/lib/index.js +28 -0
  260. package/lib/inputs/base/InputTextBase.d.ts +3 -0
  261. package/lib/inputs/base/InputTextBase.js +183 -0
  262. package/lib/inputs/base/Label.d.ts +6 -0
  263. package/lib/inputs/base/Label.js +30 -0
  264. package/lib/inputs/base/base.spec.d.ts +1 -0
  265. package/lib/inputs/base/helpers.d.ts +10 -0
  266. package/lib/inputs/base/helpers.js +30 -0
  267. package/lib/inputs/base/types.d.ts +98 -0
  268. package/lib/inputs/color/color_input.spec.d.ts +0 -0
  269. package/lib/inputs/color/index.d.ts +3 -0
  270. package/lib/inputs/color/index.js +57 -0
  271. package/lib/inputs/color/types.d.ts +16 -0
  272. package/lib/inputs/date/Dialog.d.ts +3 -0
  273. package/lib/inputs/date/Dialog.js +17 -0
  274. package/lib/inputs/date/Dropdown.d.ts +3 -0
  275. package/lib/inputs/date/Dropdown.js +19 -0
  276. package/lib/inputs/date/date.spec.d.ts +1 -0
  277. package/lib/inputs/date/helpers.d.ts +5 -0
  278. package/lib/inputs/date/helpers.js +10 -0
  279. package/lib/inputs/date/index.d.ts +3 -0
  280. package/lib/inputs/date/index.js +136 -0
  281. package/lib/inputs/date/types.d.ts +56 -0
  282. package/lib/inputs/errorMessage/error.spec.d.ts +1 -0
  283. package/lib/inputs/errorMessage/index.d.ts +4 -0
  284. package/lib/inputs/errorMessage/index.js +24 -0
  285. package/lib/inputs/file/DefaultFile.d.ts +3 -0
  286. package/lib/inputs/file/DefaultFile.js +68 -0
  287. package/lib/inputs/file/DragDropFile.d.ts +3 -0
  288. package/lib/inputs/file/DragDropFile.js +135 -0
  289. package/lib/inputs/file/File.d.ts +3 -0
  290. package/lib/inputs/file/File.js +31 -0
  291. package/lib/inputs/file/FileButtonSettings.d.ts +3 -0
  292. package/lib/inputs/file/FileButtonSettings.js +24 -0
  293. package/lib/inputs/file/filefield.spec.d.ts +1 -0
  294. package/lib/inputs/file/helpers.d.ts +2 -0
  295. package/lib/inputs/file/helpers.js +11 -0
  296. package/lib/inputs/file/index.d.ts +5 -0
  297. package/lib/inputs/file/index.js +8 -0
  298. package/lib/inputs/file/types.d.ts +49 -0
  299. package/lib/inputs/inputHOC.d.ts +4 -0
  300. package/lib/inputs/inputHOC.js +42 -0
  301. package/lib/inputs/mask/BaseMask.d.ts +3 -0
  302. package/lib/inputs/mask/BaseMask.js +2672 -0
  303. package/lib/inputs/mask/Cnpj.d.ts +6 -0
  304. package/lib/inputs/mask/Cnpj.js +46 -0
  305. package/lib/inputs/mask/Cpf.d.ts +6 -0
  306. package/lib/inputs/mask/Cpf.js +48 -0
  307. package/lib/inputs/mask/Phone.d.ts +3 -0
  308. package/lib/inputs/mask/Phone.js +13 -0
  309. package/lib/inputs/mask/ZipCode.d.ts +3 -0
  310. package/lib/inputs/mask/ZipCode.js +11 -0
  311. package/lib/inputs/mask/helpers.d.ts +52 -0
  312. package/lib/inputs/mask/helpers.js +63 -0
  313. package/lib/inputs/mask/index.d.ts +7 -0
  314. package/lib/inputs/mask/index.js +12 -0
  315. package/lib/inputs/mask/input_mask.spec.d.ts +0 -0
  316. package/lib/inputs/mask/types.d.ts +73 -0
  317. package/lib/inputs/multiSelect/ActionButtons.d.ts +3 -0
  318. package/lib/inputs/multiSelect/ActionButtons.js +39 -0
  319. package/lib/inputs/multiSelect/Dropdown.d.ts +3 -0
  320. package/lib/inputs/multiSelect/Dropdown.js +98 -0
  321. package/lib/inputs/multiSelect/helper.d.ts +3 -0
  322. package/lib/inputs/multiSelect/helper.js +8 -0
  323. package/lib/inputs/multiSelect/index.d.ts +3 -0
  324. package/lib/inputs/multiSelect/index.js +180 -0
  325. package/lib/inputs/multiSelect/multiSelect.spec.d.ts +1 -0
  326. package/lib/inputs/multiSelect/types.d.ts +57 -0
  327. package/lib/inputs/number/BaseNumber.d.ts +3 -0
  328. package/lib/inputs/number/BaseNumber.js +59 -0
  329. package/lib/inputs/number/Currency.d.ts +3 -0
  330. package/lib/inputs/number/Currency.js +22 -0
  331. package/lib/inputs/number/Decimal.d.ts +3 -0
  332. package/lib/inputs/number/Decimal.js +11 -0
  333. package/lib/inputs/number/format_number.d.ts +3 -0
  334. package/lib/inputs/number/format_number.js +9 -0
  335. package/lib/inputs/number/index.d.ts +6 -0
  336. package/lib/inputs/number/index.js +34 -0
  337. package/lib/inputs/number/numberfield.spec.d.ts +1 -0
  338. package/lib/inputs/number/types.d.ts +28 -0
  339. package/lib/inputs/period/Dialog.d.ts +3 -0
  340. package/lib/inputs/period/Dialog.js +18 -0
  341. package/lib/inputs/period/Dropdown.d.ts +3 -0
  342. package/lib/inputs/period/Dropdown.js +18 -0
  343. package/lib/inputs/period/PeriodList.d.ts +3 -0
  344. package/lib/inputs/period/PeriodList.js +43 -0
  345. package/lib/inputs/period/helper.d.ts +11 -0
  346. package/lib/inputs/period/helper.js +39 -0
  347. package/lib/inputs/period/index.d.ts +3 -0
  348. package/lib/inputs/period/index.js +213 -0
  349. package/lib/inputs/period/types.d.ts +69 -0
  350. package/lib/inputs/search/index.d.ts +3 -0
  351. package/lib/inputs/search/index.js +104 -0
  352. package/lib/inputs/search/search_input.spec.d.ts +1 -0
  353. package/lib/inputs/select/ActionButtons.d.ts +3 -0
  354. package/lib/inputs/select/ActionButtons.js +28 -0
  355. package/lib/inputs/select/Dropdown.d.ts +3 -0
  356. package/lib/inputs/select/Dropdown.js +70 -0
  357. package/lib/inputs/select/helper.d.ts +11 -0
  358. package/lib/inputs/select/helper.js +48 -0
  359. package/lib/inputs/select/index.d.ts +3 -0
  360. package/lib/inputs/select/index.js +27 -0
  361. package/lib/inputs/select/multiple/Selecteds.d.ts +3 -0
  362. package/lib/inputs/select/multiple/Selecteds.js +25 -0
  363. package/lib/inputs/select/multiple/index.d.ts +3 -0
  364. package/lib/inputs/select/multiple/index.js +126 -0
  365. package/lib/inputs/select/select.spec.d.ts +1 -0
  366. package/lib/inputs/select/simple/index.d.ts +3 -0
  367. package/lib/inputs/select/simple/index.js +156 -0
  368. package/lib/inputs/select/types.d.ts +117 -0
  369. package/lib/inputs/text/index.d.ts +3 -0
  370. package/lib/inputs/text/index.js +11 -0
  371. package/lib/inputs/text/textfield.spec.d.ts +1 -0
  372. package/lib/inputs/text/types.d.ts +21 -0
  373. package/lib/inputs/textarea/index.d.ts +3 -0
  374. package/lib/inputs/textarea/index.js +16 -0
  375. package/lib/inputs/textarea/textarea.spec.d.ts +1 -0
  376. package/lib/inputs/textarea/types.d.ts +7 -0
  377. package/lib/inputs/types.d.ts +151 -0
  378. package/lib/internals/colorStyles.d.ts +8 -0
  379. package/lib/internals/colorStyles.js +10 -0
  380. package/lib/internals/constants.d.ts +9 -0
  381. package/lib/internals/constants.js +12 -0
  382. package/lib/internals/types.d.ts +22 -0
  383. package/lib/internals/withTooltip.d.ts +8 -0
  384. package/lib/internals/withTooltip.js +122 -0
  385. package/lib/labelMessages/index.d.ts +3 -0
  386. package/lib/labelMessages/index.js +53 -0
  387. package/lib/labelMessages/labelMessages.spec.d.ts +1 -0
  388. package/lib/labelMessages/types.d.ts +16 -0
  389. package/lib/labels/DangerLabel.d.ts +3 -0
  390. package/lib/labels/DangerLabel.js +20 -0
  391. package/lib/labels/DefaultLabel.d.ts +6 -0
  392. package/lib/labels/DefaultLabel.js +55 -0
  393. package/lib/labels/InfoLabel.d.ts +3 -0
  394. package/lib/labels/InfoLabel.js +20 -0
  395. package/lib/labels/PrimaryLabel.d.ts +3 -0
  396. package/lib/labels/PrimaryLabel.js +20 -0
  397. package/lib/labels/SuccessLabel.d.ts +3 -0
  398. package/lib/labels/SuccessLabel.js +20 -0
  399. package/lib/labels/WarningLabel.d.ts +3 -0
  400. package/lib/labels/WarningLabel.js +20 -0
  401. package/lib/labels/index.d.ts +9 -0
  402. package/lib/labels/index.js +17 -0
  403. package/lib/labels/label.spec.d.ts +1 -0
  404. package/lib/labels/label_container/index.d.ts +10 -0
  405. package/lib/labels/label_container/index.js +18 -0
  406. package/lib/labels/types.d.ts +22 -0
  407. package/lib/list/Header.d.ts +3 -0
  408. package/lib/list/Header.js +20 -0
  409. package/lib/list/Item.d.ts +6 -0
  410. package/lib/list/Item.js +14 -0
  411. package/lib/list/Separator.d.ts +2 -0
  412. package/lib/list/Separator.js +10 -0
  413. package/lib/list/helpers.d.ts +9 -0
  414. package/lib/list/helpers.js +10 -0
  415. package/lib/list/index.d.ts +7 -0
  416. package/lib/list/index.js +104 -0
  417. package/lib/list/list.spec.d.ts +1 -0
  418. package/lib/list/types.d.ts +69 -0
  419. package/lib/menus/float/MenuItem.d.ts +3 -0
  420. package/lib/menus/float/MenuItem.js +55 -0
  421. package/lib/menus/float/SubMenuContainer.d.ts +29 -0
  422. package/lib/menus/float/float-menu.spec.d.ts +0 -0
  423. package/lib/menus/float/helpers.d.ts +4 -0
  424. package/lib/menus/float/helpers.js +5 -0
  425. package/lib/menus/float/index.d.ts +6 -0
  426. package/lib/menus/float/index.js +113 -0
  427. package/lib/menus/float/types.d.ts +26 -0
  428. package/lib/menus/index.d.ts +2 -0
  429. package/lib/menus/index.js +4 -0
  430. package/lib/menus/sidenav/ExpandMenu.d.ts +3 -0
  431. package/lib/menus/sidenav/ExpandMenu.js +19 -0
  432. package/lib/menus/sidenav/MenuLink.d.ts +6 -0
  433. package/lib/menus/sidenav/MenuLink.js +24 -0
  434. package/lib/menus/sidenav/NavMenuGroup.d.ts +3 -0
  435. package/lib/menus/sidenav/NavMenuGroup.js +22 -0
  436. package/lib/menus/sidenav/NavMenuItem.d.ts +6 -0
  437. package/lib/menus/sidenav/NavMenuItem.js +136 -0
  438. package/lib/menus/sidenav/NavSubMenuItem.d.ts +3 -0
  439. package/lib/menus/sidenav/NavSubMenuItem.js +39 -0
  440. package/lib/menus/sidenav/helpers.d.ts +6 -0
  441. package/lib/menus/sidenav/helpers.js +10 -0
  442. package/lib/menus/sidenav/index.d.ts +8 -0
  443. package/lib/menus/sidenav/index.js +150 -0
  444. package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +3 -0
  445. package/lib/menus/sidenav/popup_menu_search/EmptyList.js +23 -0
  446. package/lib/menus/sidenav/popup_menu_search/index.d.ts +4 -0
  447. package/lib/menus/sidenav/popup_menu_search/index.js +56 -0
  448. package/lib/menus/sidenav/sidenav.spec.d.ts +1 -0
  449. package/lib/menus/sidenav/types.d.ts +85 -0
  450. package/lib/noPermission/index.d.ts +2 -0
  451. package/lib/noPermission/index.js +16 -0
  452. package/lib/panel/Content.d.ts +3 -0
  453. package/lib/panel/Content.js +55 -0
  454. package/lib/panel/DangerPanel.d.ts +3 -0
  455. package/lib/panel/DangerPanel.js +12 -0
  456. package/lib/panel/Default.d.ts +3 -0
  457. package/lib/panel/Default.js +68 -0
  458. package/lib/panel/Header.d.ts +3 -0
  459. package/lib/panel/Header.js +58 -0
  460. package/lib/panel/InfoPanel.d.ts +3 -0
  461. package/lib/panel/InfoPanel.js +12 -0
  462. package/lib/panel/PrimaryPanel.d.ts +3 -0
  463. package/lib/panel/PrimaryPanel.js +12 -0
  464. package/lib/panel/SuccessPanel.d.ts +3 -0
  465. package/lib/panel/SuccessPanel.js +12 -0
  466. package/lib/panel/ToolBar.d.ts +3 -0
  467. package/lib/panel/ToolBar.js +19 -0
  468. package/lib/panel/WarningPanel.d.ts +3 -0
  469. package/lib/panel/WarningPanel.js +12 -0
  470. package/lib/panel/helpers.d.ts +5 -0
  471. package/lib/panel/helpers.js +15 -0
  472. package/lib/panel/index.d.ts +10 -0
  473. package/lib/panel/index.js +19 -0
  474. package/lib/panel/panel.spec.d.ts +0 -0
  475. package/lib/panel/types.d.ts +43 -0
  476. package/lib/permissionValidations.d.ts +12 -0
  477. package/lib/permissionValidations.js +46 -0
  478. package/lib/popover/PopoverText.d.ts +4 -0
  479. package/lib/popover/PopoverText.js +14 -0
  480. package/lib/popover/PopoverTitle.d.ts +3 -0
  481. package/lib/popover/PopoverTitle.js +12 -0
  482. package/lib/popover/index.d.ts +6 -0
  483. package/lib/popover/index.js +39 -0
  484. package/lib/popover/popover.spec.d.ts +1 -0
  485. package/lib/popover/types.d.ts +31 -0
  486. package/lib/progress/Bar.d.ts +3 -0
  487. package/lib/progress/Bar.js +51 -0
  488. package/lib/progress/index.d.ts +5 -0
  489. package/lib/progress/index.js +26 -0
  490. package/lib/progress/progress.spec.d.ts +1 -0
  491. package/lib/progress/types.d.ts +34 -0
  492. package/lib/radio/index.d.ts +8 -0
  493. package/lib/radio/index.js +112 -0
  494. package/lib/radio/radio.spec.d.ts +1 -0
  495. package/lib/radio/types.d.ts +25 -0
  496. package/lib/shortcuts/index.d.ts +3 -0
  497. package/lib/shortcuts/index.js +22 -0
  498. package/lib/shortcuts/shortcuts.spec.d.ts +0 -0
  499. package/lib/shortcuts/types.d.ts +9 -0
  500. package/lib/skeleton/SkeletonContainer.d.ts +3 -0
  501. package/lib/skeleton/SkeletonContainer.js +19 -0
  502. package/lib/skeleton/index.d.ts +5 -0
  503. package/lib/skeleton/index.js +49 -0
  504. package/lib/skeleton/types.d.ts +18 -0
  505. package/lib/spinner/SpinnerLoading.d.ts +3 -0
  506. package/lib/spinner/SpinnerLoading.js +55 -0
  507. package/lib/spinner/index.d.ts +3 -0
  508. package/lib/spinner/index.js +51 -0
  509. package/lib/spinner/spinner.spec.d.ts +1 -0
  510. package/lib/spinner/types.d.ts +17 -0
  511. package/lib/split/Split.d.ts +3 -0
  512. package/lib/split/Split.js +193 -0
  513. package/lib/split/SplitSide.d.ts +3 -0
  514. package/lib/split/SplitSide.js +27 -0
  515. package/lib/split/helpers.d.ts +8 -0
  516. package/lib/split/helpers.js +5 -0
  517. package/lib/split/index.d.ts +4 -0
  518. package/lib/split/index.js +6 -0
  519. package/lib/split/split.spec.d.ts +0 -0
  520. package/lib/split/types.d.ts +31 -0
  521. package/lib/table/Body.d.ts +3 -0
  522. package/lib/table/Body.js +46 -0
  523. package/lib/table/Header.d.ts +3 -0
  524. package/lib/table/Header.js +52 -0
  525. package/lib/table/HeaderColumn.d.ts +3 -0
  526. package/lib/table/HeaderColumn.js +43 -0
  527. package/lib/table/Row.d.ts +3 -0
  528. package/lib/table/Row.js +53 -0
  529. package/lib/table/RowColumn.d.ts +3 -0
  530. package/lib/table/RowColumn.js +58 -0
  531. package/lib/table/helpers.d.ts +7 -0
  532. package/lib/table/helpers.js +9 -0
  533. package/lib/table/index.d.ts +9 -0
  534. package/lib/table/index.js +106 -0
  535. package/lib/table/table.spec.d.ts +1 -0
  536. package/lib/table/types.d.ts +94 -0
  537. package/lib/tabs/DropdownTabs.d.ts +3 -0
  538. package/lib/tabs/DropdownTabs.js +84 -0
  539. package/lib/tabs/Menu.d.ts +3 -0
  540. package/lib/tabs/Menu.js +38 -0
  541. package/lib/tabs/MenuTabs.d.ts +4 -0
  542. package/lib/tabs/MenuTabs.js +64 -0
  543. package/lib/tabs/Panel.d.ts +3 -0
  544. package/lib/tabs/Panel.js +62 -0
  545. package/lib/tabs/context.d.ts +4 -0
  546. package/lib/tabs/context.js +64 -0
  547. package/lib/tabs/index.d.ts +5 -0
  548. package/lib/tabs/index.js +73 -0
  549. package/lib/tabs/tabHelpers.d.ts +9 -0
  550. package/lib/tabs/tabHelpers.js +48 -0
  551. package/lib/tabs/tabs.spec.d.ts +0 -0
  552. package/lib/tabs/types.d.ts +95 -0
  553. package/lib/tabs/useTabs.d.ts +1 -0
  554. package/lib/tabs/useTabs.js +8 -0
  555. package/lib/textContent/index.d.ts +18 -0
  556. package/lib/textContent/index.js +33 -0
  557. package/lib/textContent/textContent.spec.d.ts +1 -0
  558. package/lib/toolbar/ButtonBar.d.ts +3 -0
  559. package/lib/toolbar/ButtonBar.js +67 -0
  560. package/lib/toolbar/LabelBar.d.ts +3 -0
  561. package/lib/toolbar/LabelBar.js +51 -0
  562. package/lib/toolbar/Separator.d.ts +2 -0
  563. package/lib/toolbar/Separator.js +10 -0
  564. package/lib/toolbar/ToolBarGroup.d.ts +3 -0
  565. package/lib/toolbar/ToolBarGroup.js +16 -0
  566. package/lib/toolbar/helpers.d.ts +3 -0
  567. package/lib/toolbar/helpers.js +5 -0
  568. package/lib/toolbar/index.d.ts +8 -0
  569. package/lib/toolbar/index.js +39 -0
  570. package/lib/toolbar/toolbar.spec.d.ts +1 -0
  571. package/lib/toolbar/types.d.ts +43 -0
  572. package/lib/tooltip/index.d.ts +4 -0
  573. package/lib/tooltip/index.js +39 -0
  574. package/lib/tooltip/tooltip.spec.d.ts +1 -0
  575. package/lib/tooltip/types.d.ts +15 -0
  576. package/lib/treetable/Body.d.ts +2 -0
  577. package/lib/treetable/Body.js +34 -0
  578. package/lib/treetable/Header.d.ts +2 -0
  579. package/lib/treetable/Header.js +30 -0
  580. package/lib/treetable/Row.d.ts +3 -0
  581. package/lib/treetable/Row.js +220 -0
  582. package/lib/treetable/helpers.d.ts +13 -0
  583. package/lib/treetable/helpers.js +17 -0
  584. package/lib/treetable/index.d.ts +4 -0
  585. package/lib/treetable/index.js +28 -0
  586. package/lib/treeview/Header.d.ts +3 -0
  587. package/lib/treeview/Header.js +16 -0
  588. package/lib/treeview/Node.d.ts +3 -0
  589. package/lib/treeview/Node.js +206 -0
  590. package/lib/treeview/constants.d.ts +3 -0
  591. package/lib/treeview/constants.js +5 -0
  592. package/lib/treeview/index.d.ts +6 -0
  593. package/lib/treeview/index.js +268 -0
  594. package/lib/treeview/treeview.spec.d.ts +0 -0
  595. package/lib/treeview/types.d.ts +106 -0
  596. package/lib/uitour/helpers.d.ts +7 -0
  597. package/lib/uitour/helpers.js +9 -0
  598. package/lib/uitour/index.d.ts +4 -0
  599. package/lib/uitour/index.js +187 -0
  600. package/lib/uitour/types.d.ts +35 -0
  601. package/lib/uitour/uitour.spec.d.ts +0 -0
  602. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { IPanelProps } from './types';
2
+ declare const PrimaryPanel: (props: IPanelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PrimaryPanel;
@@ -0,0 +1,12 @@
1
+ import { j as e } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import l from "./Default.js";
4
+ import i from "../internals/colorStyles.js";
5
+ const c = (r) => {
6
+ const t = m.c(2);
7
+ let o;
8
+ return t[0] !== r ? (o = /* @__PURE__ */ e.jsx(l, { ...r, colorStyle: i.PRIMARY }), t[0] = r, t[1] = o) : o = t[1], o;
9
+ };
10
+ export {
11
+ c as default
12
+ };
@@ -0,0 +1,3 @@
1
+ import { IPanelProps } from './types';
2
+ declare const SuccessPanel: (props: IPanelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SuccessPanel;
@@ -0,0 +1,12 @@
1
+ import { j as r } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as l } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import m from "./Default.js";
4
+ import s from "../internals/colorStyles.js";
5
+ const n = (e) => {
6
+ const t = l.c(2);
7
+ let o;
8
+ return t[0] !== e ? (o = /* @__PURE__ */ r.jsx(m, { ...e, colorStyle: s.SUCCESS }), t[0] = e, t[1] = o) : o = t[1], o;
9
+ };
10
+ export {
11
+ n as default
12
+ };
@@ -0,0 +1,3 @@
1
+ import { IPanelProps } from './types';
2
+ declare const ToolBar: ({ children }: IPanelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ToolBar;
@@ -0,0 +1,19 @@
1
+ import { j as l } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import m from "../toolbar/index.js";
4
+ const p = (s) => {
5
+ const o = a.c(3), {
6
+ children: e
7
+ } = s;
8
+ let t;
9
+ o[0] === Symbol.for("react.memo_cache_sentinel") ? (t = {
10
+ width: "auto",
11
+ backgroundColor: "transparent",
12
+ border: 0
13
+ }, o[0] = t) : t = o[0];
14
+ let r;
15
+ return o[1] !== e ? (r = /* @__PURE__ */ l.jsx(m, { style: t, children: e }), o[1] = e, o[2] = r) : r = o[2], r;
16
+ };
17
+ export {
18
+ p as default
19
+ };
@@ -0,0 +1,3 @@
1
+ import { IPanelProps } from './types';
2
+ declare const WarningPanel: (props: IPanelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default WarningPanel;
@@ -0,0 +1,12 @@
1
+ import { j as e } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as l } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import m from "./Default.js";
4
+ import i from "../internals/colorStyles.js";
5
+ const c = (r) => {
6
+ const t = l.c(2);
7
+ let o;
8
+ return t[0] !== r ? (o = /* @__PURE__ */ e.jsx(m, { ...r, colorStyle: i.WARNING }), t[0] = r, t[1] = o) : o = t[1], o;
9
+ };
10
+ export {
11
+ c as default
12
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { ContextProps } from './types';
3
+ export declare function getCurrentThreshold(scrollableElement: HTMLDivElement, scrollThreshold: number): number;
4
+ declare const PanelContext: React.Context<ContextProps>;
5
+ export default PanelContext;
@@ -0,0 +1,15 @@
1
+ import a from "react";
2
+ function M(o, t) {
3
+ if (t < 0) return 0;
4
+ if (t > 1) return 1;
5
+ const {
6
+ scrollHeight: e,
7
+ clientHeight: r
8
+ } = o, n = e - r, H = Math.round(e * t), c = Math.round(n - n * 0.3);
9
+ return Math.min(H, c);
10
+ }
11
+ const h = a.createContext({});
12
+ export {
13
+ h as default,
14
+ M as getCurrentThreshold
15
+ };
@@ -0,0 +1,10 @@
1
+ import { default as Panel } from './Default';
2
+ import { default as PrimaryPanel } from './PrimaryPanel';
3
+ import { default as DangerPanel } from './DangerPanel';
4
+ import { default as WarningPanel } from './WarningPanel';
5
+ import { default as SuccessPanel } from './SuccessPanel';
6
+ import { default as InfoPanel } from './InfoPanel';
7
+ import { default as PanelHeader } from './Header';
8
+ import { default as PanelContent } from './Content';
9
+ export default Panel;
10
+ export { PanelHeader, PanelContent, PrimaryPanel, DangerPanel, SuccessPanel, InfoPanel, WarningPanel, };
@@ -0,0 +1,19 @@
1
+ import a from "./Default.js";
2
+ import { default as f } from "./PrimaryPanel.js";
3
+ import { default as n } from "./DangerPanel.js";
4
+ import { default as p } from "./WarningPanel.js";
5
+ import { default as u } from "./SuccessPanel.js";
6
+ import { default as P } from "./InfoPanel.js";
7
+ import { default as i } from "./Header.js";
8
+ import { default as g } from "./Content.js";
9
+ import '../assets/panel.css';/* empty css */
10
+ export {
11
+ n as DangerPanel,
12
+ P as InfoPanel,
13
+ g as PanelContent,
14
+ i as PanelHeader,
15
+ f as PrimaryPanel,
16
+ u as SuccessPanel,
17
+ p as WarningPanel,
18
+ a as default
19
+ };
File without changes
@@ -0,0 +1,43 @@
1
+ import { ComponentPropsWithoutRef, ReactElement, ReactNode } from 'react';
2
+ import { PermissionAttr } from '../@types/PermissionAttr';
3
+ import { default as ColorStyles } from '../internals/colorStyles';
4
+ import { IconNames } from '../@types/Icon';
5
+ export type Func = () => void;
6
+ export type AsyncFunc = () => Promise<void>;
7
+ export interface IPanelProps extends Omit<ComponentPropsWithoutRef<'div'>, 'className'> {
8
+ customClass?: string;
9
+ startOpened?: boolean;
10
+ toggleable?: boolean;
11
+ children?: ReactNode;
12
+ colorStyle?: typeof ColorStyles | string;
13
+ gridCols?: string;
14
+ title?: string;
15
+ onEndReached?: Func | AsyncFunc;
16
+ onEndReachedThreshold?: number;
17
+ permissionAttr?: PermissionAttr | PermissionAttr[];
18
+ }
19
+ export interface IPanelContentProps extends Omit<ComponentPropsWithoutRef<'div'>, 'className'> {
20
+ customClass?: string;
21
+ }
22
+ export interface IPanelHeaderProps extends Omit<ComponentPropsWithoutRef<'div'>, 'className'> {
23
+ title?: string;
24
+ icon?: ReactElement;
25
+ titleIcon?: IconNames;
26
+ customClass?: string;
27
+ styleForTitle?: object;
28
+ customClassForTitle?: string;
29
+ headerColored?: boolean;
30
+ }
31
+ export type ContextProps = {
32
+ toggleable: boolean;
33
+ handlerToggleable: () => void;
34
+ opened: boolean;
35
+ hideContent: boolean;
36
+ onEndReached?: Func | AsyncFunc;
37
+ onEndReachedThreshold: number;
38
+ };
39
+ export interface IParameterFunction {
40
+ props: any;
41
+ propName: string | number;
42
+ componentName: string;
43
+ }
@@ -0,0 +1,12 @@
1
+ import { PermissionAttr } from './@types/PermissionAttr';
2
+ declare const checkPermissionFromStorage: (permissionAttr?: PermissionAttr | PermissionAttr[]) => boolean;
3
+ export declare const actionsOnPermissionDenied: (options: string[], permissionAttr?: PermissionAttr | PermissionAttr[]) => {
4
+ [option: string]: boolean;
5
+ };
6
+ export declare const OPTIONS_ON_DENIED: {
7
+ disabled: string;
8
+ unvisible: string;
9
+ readOnly: string;
10
+ hideContent: string;
11
+ };
12
+ export default checkPermissionFromStorage;
@@ -0,0 +1,46 @@
1
+ const a = (e) => {
2
+ if (!e) return [];
3
+ const n = JSON.parse(sessionStorage.getItem("permissionsStorage") || "{}");
4
+ return n && n[e] ? n[e] : [];
5
+ }, c = (e, n) => e.some((t) => t.codigo === n), i = (e, n, t) => {
6
+ for (let r = 0; r < e.length; r += 1) {
7
+ const s = e[r];
8
+ if (s.codigo === n && s.permissoes.length > 0)
9
+ return c(s.permissoes, t);
10
+ if (s.itens.length > 0) {
11
+ if (i(s.itens, n, t)) return !0;
12
+ if (r === e.length - 1) return !1;
13
+ }
14
+ }
15
+ return !1;
16
+ }, l = (e) => {
17
+ if (!e) return !0;
18
+ const n = Array.isArray(e) ? e : [e];
19
+ for (let t = 0; t < n.length; t += 1) {
20
+ const {
21
+ module: r,
22
+ feature: s,
23
+ operation: o
24
+ } = n[t];
25
+ if (i(a(r), s, o)) return !0;
26
+ }
27
+ return !1;
28
+ }, d = (e, n) => {
29
+ const t = l(n), r = n && !Array.isArray(n) ? [n] : n;
30
+ if (r && r[0].onDenied && !e.includes(r[0].onDenied))
31
+ throw new Error("in property onDenied from permissionAttr it`s not a valid option. Look for valid options in the component documentation.");
32
+ const s = {};
33
+ return e.forEach((o) => {
34
+ s[o] = t ? !1 : o === r?.[0].onDenied;
35
+ }), s;
36
+ }, f = {
37
+ disabled: "disabled",
38
+ unvisible: "unvisible",
39
+ readOnly: "readOnly",
40
+ hideContent: "hideContent"
41
+ };
42
+ export {
43
+ f as OPTIONS_ON_DENIED,
44
+ d as actionsOnPermissionDenied,
45
+ l as default
46
+ };
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { PopoverTextProps } from './types';
3
+ declare const PopoverText: React.ForwardRefExoticComponent<PopoverTextProps & React.RefAttributes<HTMLParagraphElement>>;
4
+ export default PopoverText;
@@ -0,0 +1,14 @@
1
+ import { j as m } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as p } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { forwardRef as a } from "react";
4
+ const i = a((s, e) => {
5
+ const t = p.c(3), {
6
+ children: r
7
+ } = s;
8
+ let o;
9
+ return t[0] !== r || t[1] !== e ? (o = /* @__PURE__ */ m.jsx("p", { className: "text", ref: e, children: r }), t[0] = r, t[1] = e, t[2] = o) : o = t[2], o;
10
+ });
11
+ i.displayName = "PopoverText";
12
+ export {
13
+ i as default
14
+ };
@@ -0,0 +1,3 @@
1
+ import { PopoverTitleProps } from './types';
2
+ declare const PopoverTitle: ({ children }: PopoverTitleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PopoverTitle;
@@ -0,0 +1,12 @@
1
+ import { j as r } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as i } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const m = (s) => {
4
+ const t = i.c(2), {
5
+ children: o
6
+ } = s;
7
+ let e;
8
+ return t[0] !== o ? (e = /* @__PURE__ */ r.jsx("h1", { className: "title", children: o }), t[0] = o, t[1] = e) : e = t[1], e;
9
+ };
10
+ export {
11
+ m as default
12
+ };
@@ -0,0 +1,6 @@
1
+ import { default as PopoverText } from './PopoverText';
2
+ import { default as PopoverTitle } from './PopoverTitle';
3
+ import { IPopoverProps } from './types';
4
+ declare const Popover: ({ children, align, theme, iconName, iconSize, iconColor, customClass, style, customStyle, ...rest }: IPopoverProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default Popover;
6
+ export { PopoverText, PopoverTitle };
@@ -0,0 +1,39 @@
1
+ import { j } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as b } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import z from "../buttons/Button.js";
4
+ import I from "../icons/index.js";
5
+ import '../assets/button.css';import '../assets/index3.css';/* empty css */
6
+ import { default as B } from "./PopoverText.js";
7
+ import { default as q } from "./PopoverTitle.js";
8
+ const N = (i) => {
9
+ const o = b.c(25);
10
+ let t, e, f, n, s, c, a, m, p, d;
11
+ o[0] !== i ? ({
12
+ children: t,
13
+ align: c,
14
+ theme: a,
15
+ iconName: f,
16
+ iconSize: m,
17
+ iconColor: p,
18
+ customClass: d,
19
+ style: s,
20
+ customStyle: e,
21
+ ...n
22
+ } = i, o[0] = i, o[1] = t, o[2] = e, o[3] = f, o[4] = n, o[5] = s, o[6] = c, o[7] = a, o[8] = m, o[9] = p, o[10] = d) : (t = o[1], e = o[2], f = o[3], n = o[4], s = o[5], c = o[6], a = o[7], m = o[8], p = o[9], d = o[10]);
23
+ const v = c === void 0 ? "left" : c, w = a === void 0 ? "dark" : a, x = m === void 0 ? 16 : m, y = p === void 0 ? "" : p, S = d === void 0 ? "" : d, C = f || "information", h = y || "gray";
24
+ let r;
25
+ o[11] !== x || o[12] !== C || o[13] !== h ? (r = /* @__PURE__ */ j.jsx(I, { customClass: "buttonicon", name: C, color: h, size: x }), o[11] = x, o[12] = C, o[13] = h, o[14] = r) : r = o[14];
26
+ const g = `popovercontainer -${w} ${S}`;
27
+ let l;
28
+ o[15] !== t || o[16] !== e || o[17] !== g ? (l = /* @__PURE__ */ j.jsx("div", { className: g, "data-testid": "popover-container", style: e, children: t }), o[15] = t, o[16] = e, o[17] = g, o[18] = l) : l = o[18];
29
+ let u;
30
+ return o[19] !== v || o[20] !== n || o[21] !== s || o[22] !== l || o[23] !== r ? (u = /* @__PURE__ */ j.jsx(z, { round: !0, dropdown: !0, transparent: !0, tabIndex: -1, boxShadow: !1, iconAlign: "center", dropdownAlign: v, showIconDropdown: !1, customClass: "popover-component", style: s, icon: r, onClick: P, ...n, children: l }), o[19] = v, o[20] = n, o[21] = s, o[22] = l, o[23] = r, o[24] = u) : u = o[24], u;
31
+ };
32
+ function P(i) {
33
+ i.preventDefault();
34
+ }
35
+ export {
36
+ B as PopoverText,
37
+ q as PopoverTitle,
38
+ N as default
39
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,31 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { Position } from '../@types/Position';
3
+ import { SizePixels } from '../@types/SizePixels';
4
+ import { IconNames } from '../@types/Icon';
5
+ import { PermissionAttr } from '../@types/PermissionAttr';
6
+ export interface PopoverTitleProps {
7
+ children?: ReactNode;
8
+ }
9
+ export interface PopoverTextProps {
10
+ children?: ReactNode;
11
+ }
12
+ export interface IPopoverProps {
13
+ iconName?: IconNames;
14
+ iconColor?: string;
15
+ customClass?: string;
16
+ children?: ReactNode;
17
+ theme?: 'light' | 'dark';
18
+ align?: Extract<Position, 'left' | 'right'>;
19
+ iconSize?: Extract<SizePixels, 10 | 16 | 24 | 32 | 40 | 64>;
20
+ disabled?: boolean;
21
+ customStyle?: CSSProperties;
22
+ isLoading?: boolean;
23
+ visible?: boolean;
24
+ skeletonize?: boolean;
25
+ tooltipPosition?: Exclude<Position, 'center'>;
26
+ tooltipWidth?: string | number;
27
+ tooltip?: string;
28
+ handlerClose?: (cb: () => void) => void;
29
+ permissionAttr?: PermissionAttr | PermissionAttr[];
30
+ style?: CSSProperties;
31
+ }
@@ -0,0 +1,3 @@
1
+ import { IBarProps } from './types';
2
+ declare const ProgressBar: (props: IBarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ProgressBar;
@@ -0,0 +1,51 @@
1
+ import { j as h } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as g } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const v = 1e3, b = ({
4
+ max: t = 100,
5
+ min: e = 0,
6
+ value: a = 0
7
+ }) => {
8
+ const i = (a - e) / (t - e) * 100;
9
+ return Math.round(i * v) / v;
10
+ }, x = (t) => {
11
+ let e = "bar";
12
+ return t.customClass && (e += `${t.customClass}`), t.type && (e += ` -${t.type}`), t.effect && (e += " -effect"), t.animated && (e += " -animated"), t.indeterminate && (e += " -indeterminate"), e;
13
+ }, y = (t) => {
14
+ let e = t.label;
15
+ return t.label || (e = `${b(t)}%`), /* @__PURE__ */ h.jsx("span", { className: "progressbar-label ", children: e });
16
+ }, $ = (t) => {
17
+ const {
18
+ indeterminate: e,
19
+ indeterminateDelay: a = 1,
20
+ indeterminateDuration: i = 1.5,
21
+ progressWidth: c = "100%",
22
+ height: r = "100%"
23
+ } = t;
24
+ return e ? {
25
+ width: c,
26
+ height: r,
27
+ animationDuration: `${i}s`,
28
+ animationDelay: `${a}s`
29
+ } : {
30
+ width: `${b(t)}%`,
31
+ height: r
32
+ };
33
+ }, j = (t) => {
34
+ const e = g.c(14), {
35
+ value: a,
36
+ min: i,
37
+ max: c,
38
+ showLabel: r
39
+ } = t, o = a === void 0 ? 0 : a, u = i === void 0 ? 0 : i, d = c === void 0 ? 100 : c, f = r === void 0 ? !0 : r;
40
+ let n;
41
+ e[0] !== t ? (n = x(t), e[0] = t, e[1] = n) : n = e[1];
42
+ let l;
43
+ e[2] !== t ? (l = $(t), e[2] = t, e[3] = l) : l = e[3];
44
+ let s;
45
+ e[4] !== t || e[5] !== f ? (s = f && !t.indeterminate && y(t), e[4] = t, e[5] = f, e[6] = s) : s = e[6];
46
+ let m;
47
+ return e[7] !== d || e[8] !== u || e[9] !== n || e[10] !== l || e[11] !== s || e[12] !== o ? (m = /* @__PURE__ */ h.jsx("div", { role: "progressbar", className: n, style: l, "aria-valuenow": o, "aria-valuemin": u, "aria-valuemax": d, children: s }), e[7] = d, e[8] = u, e[9] = n, e[10] = l, e[11] = s, e[12] = o, e[13] = m) : m = e[13], m;
48
+ };
49
+ export {
50
+ j as default
51
+ };
@@ -0,0 +1,5 @@
1
+ import { default as Bar } from './Bar';
2
+ import { IProgressBarProps } from './types';
3
+ declare const ProgressBar: (props: IProgressBarProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default ProgressBar;
5
+ export { Bar };
@@ -0,0 +1,26 @@
1
+ import { j as h } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as f } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import x from "./Bar.js";
4
+ import '../assets/index9.css';const p = (s) => {
5
+ const t = f.c(10), {
6
+ style: o,
7
+ children: l,
8
+ width: m,
9
+ height: d
10
+ } = s, c = m === void 0 ? "100%" : m, n = d === void 0 ? "24px" : d;
11
+ let r;
12
+ t[0] !== n || t[1] !== o || t[2] !== c ? (r = {
13
+ ...o,
14
+ width: c,
15
+ height: n
16
+ }, t[0] = n, t[1] = o, t[2] = c, t[3] = r) : r = t[3];
17
+ const a = r;
18
+ let e;
19
+ t[4] !== l || t[5] !== s ? (e = l || /* @__PURE__ */ h.jsx(x, { ...s }), t[4] = l, t[5] = s, t[6] = e) : e = t[6];
20
+ let i;
21
+ return t[7] !== a || t[8] !== e ? (i = /* @__PURE__ */ h.jsx("div", { className: "container-progress", style: a, children: e }), t[7] = a, t[8] = e, t[9] = i) : i = t[9], i;
22
+ };
23
+ export {
24
+ x as Bar,
25
+ p as default
26
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,34 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface IBarProps {
3
+ label?: string;
4
+ min?: number;
5
+ value?: number;
6
+ max?: number;
7
+ progressWidth?: string | number;
8
+ height?: string | number;
9
+ showLabel?: boolean;
10
+ effect?: boolean;
11
+ type?: string;
12
+ customClass?: string;
13
+ animated?: boolean;
14
+ indeterminate?: boolean;
15
+ indeterminateDuration?: number;
16
+ indeterminateDelay?: number;
17
+ }
18
+ export interface IProgressBarProps extends IBarProps {
19
+ width?: string | number;
20
+ height?: string | number;
21
+ style?: CSSProperties;
22
+ children?: ReactNode;
23
+ }
24
+ export interface IPercentageParams {
25
+ max?: number;
26
+ min?: number;
27
+ value?: number;
28
+ }
29
+ export interface ILabelParams {
30
+ label?: string;
31
+ max?: number;
32
+ min?: number;
33
+ value?: number;
34
+ }
@@ -0,0 +1,8 @@
1
+ import { IRadioProps } from './types';
2
+ /**
3
+ * IMPORTANTE: Caso seja necessário alterar o nome do componente, deverá ser refatorado
4
+ * o componente Field dentro do componente Form, pois o mesmo leva em consideração o tipo do
5
+ * componente para gerar propriedades customizadas.
6
+ */
7
+ declare const Radio: ({ id, label, value, checked, onChange, name, disabled, required, skeletonize, defaultChecked, inputRef, size, customClassForLabel, labelUppercase, hint, hintPosition, themePopover, popoverAlign, permissionAttr, }: IRadioProps) => import("react/jsx-runtime").JSX.Element | null;
8
+ export default Radio;
@@ -0,0 +1,112 @@
1
+ import { j as i } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as ae } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useState as te, useEffect as ce } from "react";
4
+ import '../assets/radio.css';/* empty css */
5
+ import { OPTIONS_ON_DENIED as se, actionsOnPermissionDenied as de } from "../permissionValidations.js";
6
+ import re from "../popover/index.js";
7
+ import ie from "../textContent/index.js";
8
+ const ge = (oe) => {
9
+ const e = ae.c(58), {
10
+ id: o,
11
+ label: S,
12
+ value: $,
13
+ checked: t,
14
+ onChange: v,
15
+ name: H,
16
+ disabled: J,
17
+ required: M,
18
+ skeletonize: Q,
19
+ defaultChecked: V,
20
+ inputRef: O,
21
+ size: W,
22
+ customClassForLabel: A,
23
+ labelUppercase: L,
24
+ hint: x,
25
+ hintPosition: X,
26
+ themePopover: Y,
27
+ popoverAlign: Z,
28
+ permissionAttr: q
29
+ } = oe, w = H === void 0 ? "" : H, g = J === void 0 ? !1 : J, l = M === void 0 ? !1 : M, k = Q === void 0 ? !1 : Q, C = V === void 0 ? !1 : V, ee = W === void 0 ? "medium" : W, F = X === void 0 ? "onLabelRight" : X, T = Y === void 0 ? "light" : Y, K = Z === void 0 ? "left" : Z, [n, le] = te(t);
30
+ let P, j;
31
+ if (e[0] !== q) {
32
+ const b = [se.disabled, se.unvisible];
33
+ P = te, j = de(b, q), e[0] = q, e[1] = P, e[2] = j;
34
+ } else
35
+ P = e[1], j = e[2];
36
+ const [N] = P(j);
37
+ let y;
38
+ e[3] !== t || e[4] !== n ? (y = () => {
39
+ t !== n && le(t);
40
+ }, e[3] = t, e[4] = n, e[5] = y) : y = e[5];
41
+ let z;
42
+ e[6] !== t ? (z = [t], e[6] = t, e[7] = z) : z = e[7], ce(y, z);
43
+ let D;
44
+ e[8] !== g || e[9] !== N.disabled || e[10] !== k ? (D = () => g || !!N.disabled || k, e[8] = g, e[9] = N.disabled, e[10] = k, e[11] = D) : D = e[11];
45
+ const s = D;
46
+ let R;
47
+ e[12] !== t || e[13] !== C || e[14] !== n || e[15] !== v || e[16] !== s ? (R = () => {
48
+ let b;
49
+ return b = {
50
+ ...C && !t ? {
51
+ defaultChecked: C
52
+ } : {
53
+ checked: n
54
+ }
55
+ }, v && !s() && (b = {
56
+ ...b,
57
+ onChange: (ne) => v(ne),
58
+ onKeyDown: null,
59
+ role: "button",
60
+ tabIndex: "0"
61
+ }), b;
62
+ }, e[12] = t, e[13] = C, e[14] = n, e[15] = v, e[16] = s, e[17] = R) : R = e[17];
63
+ const U = R;
64
+ if (N.unvisible)
65
+ return null;
66
+ let _;
67
+ e[18] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
68
+ display: "flex",
69
+ alignItems: "center"
70
+ }, e[18] = _) : _ = e[18];
71
+ const B = `radio-button ${g ? "disabled" : ""} ${k ? "-skeletonized" : ""}`;
72
+ let a;
73
+ e[19] !== U ? (a = U(), e[19] = U, e[20] = a) : a = e[20];
74
+ let c;
75
+ e[21] !== s ? (c = s(), e[21] = s, e[22] = c) : c = e[22];
76
+ let d;
77
+ e[23] !== o || e[24] !== O || e[25] !== w || e[26] !== l || e[27] !== a || e[28] !== c || e[29] !== $ ? (d = /* @__PURE__ */ i.jsx("input", { ...a, ref: O, className: "radio-component", type: "radio", value: $, id: o, name: w, required: l, disabled: c }), e[23] = o, e[24] = O, e[25] = w, e[26] = l, e[27] = a, e[28] = c, e[29] = $, e[30] = d) : d = e[30];
78
+ const G = `description ${ee && `-${ee}`}`;
79
+ let r;
80
+ e[31] !== s ? (r = s(), e[31] = s, e[32] = r) : r = e[32];
81
+ let m;
82
+ e[33] !== A || e[34] !== L || e[35] !== l || e[36] !== r ? (m = /* @__PURE__ */ i.jsx(ie, { required: l, disabled: r, className: A, labelUppercase: L }), e[33] = A, e[34] = L, e[35] = l, e[36] = r, e[37] = m) : m = e[37];
83
+ let E;
84
+ e[38] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ i.jsx(ie, {}), e[38] = E) : E = e[38];
85
+ let f;
86
+ e[39] !== S || e[40] !== m ? (f = /* @__PURE__ */ i.jsxs("span", { children: [
87
+ m,
88
+ S,
89
+ E
90
+ ] }), e[39] = S, e[40] = m, e[41] = f) : f = e[41];
91
+ let p;
92
+ e[42] !== o || e[43] !== G || e[44] !== f ? (p = /* @__PURE__ */ i.jsx("label", { className: G, htmlFor: o, children: f }), e[42] = o, e[43] = G, e[44] = f, e[45] = p) : p = e[45];
93
+ let h;
94
+ e[46] !== B || e[47] !== d || e[48] !== p ? (h = /* @__PURE__ */ i.jsxs("div", { className: B, children: [
95
+ d,
96
+ p
97
+ ] }), e[46] = B, e[47] = d, e[48] = p, e[49] = h) : h = e[49];
98
+ let u;
99
+ e[50] !== x || e[51] !== F || e[52] !== K || e[53] !== T ? (u = !!x && F === "onLabelRight" && /* @__PURE__ */ i.jsx(re, { theme: T, align: K, customClass: "-hint", iconColor: "#03bde2", iconSize: 16, style: {
100
+ margin: "0px 5px",
101
+ height: "auto",
102
+ width: 20
103
+ }, children: x }), e[50] = x, e[51] = F, e[52] = K, e[53] = T, e[54] = u) : u = e[54];
104
+ let I;
105
+ return e[55] !== h || e[56] !== u ? (I = /* @__PURE__ */ i.jsxs("div", { className: "radio-input", style: _, children: [
106
+ h,
107
+ u
108
+ ] }), e[55] = h, e[56] = u, e[57] = I) : I = e[57], I;
109
+ };
110
+ export {
111
+ ge as default
112
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import { ChangeEvent, Ref, RefObject } from 'react';
2
+ import { PermissionAttr } from '../@types/PermissionAttr';
3
+ import { Size } from '../@types/Size';
4
+ export interface IRadioProps {
5
+ label?: string;
6
+ disabled?: boolean;
7
+ defaultChecked?: boolean;
8
+ value?: string;
9
+ name?: string;
10
+ id?: string;
11
+ required?: boolean;
12
+ size?: Extract<Size, 'small' | 'medium' | 'large'>;
13
+ onChange?: (value: ChangeEvent<HTMLInputElement>) => void;
14
+ checked?: boolean;
15
+ permissionAttr?: PermissionAttr | PermissionAttr;
16
+ skeletonize?: boolean;
17
+ forwardedRef?: Ref<HTMLInputElement>;
18
+ inputRef?: RefObject<HTMLInputElement>;
19
+ customClassForLabel?: string;
20
+ labelUppercase?: boolean;
21
+ hint?: string;
22
+ hintPosition?: 'below' | 'onLabelRight';
23
+ themePopover?: 'light' | 'dark';
24
+ popoverAlign?: 'right' | 'left';
25
+ }
@@ -0,0 +1,3 @@
1
+ import { IShortcutsProps } from './types';
2
+ declare const Shortcuts: ({ type, style, styleShortcut, shortcut, description }: IShortcutsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Shortcuts;