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 { INavSubMenuItemProps } from './types';
2
+ declare const NavSubMenuItem: ({ title, url, permissionAttr }: INavSubMenuItemProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default NavSubMenuItem;
@@ -0,0 +1,39 @@
1
+ import { j as d } from "../../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as j } from "../../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useContext as v, useState as D } from "react";
4
+ import S from "./MenuLink.js";
5
+ import { SubMenuContext as h } from "./helpers.js";
6
+ import { OPTIONS_ON_DENIED as f, actionsOnPermissionDenied as E } from "../../permissionValidations.js";
7
+ const w = (p) => {
8
+ const t = j.c(13), {
9
+ title: l,
10
+ url: m,
11
+ permissionAttr: u
12
+ } = p;
13
+ let o, i;
14
+ if (t[0] !== u) {
15
+ const N = [f.disabled, f.unvisible];
16
+ o = D, i = E(N, u), t[0] = u, t[1] = o, t[2] = i;
17
+ } else
18
+ o = t[1], i = t[2];
19
+ const [b] = o(i), {
20
+ toggleSubMenu: c
21
+ } = v(h), {
22
+ unvisible: x,
23
+ disabled: s
24
+ } = b;
25
+ if (x)
26
+ return null;
27
+ const a = `item hvr-forward ${s && "-disabled"}`;
28
+ let e;
29
+ t[3] !== l ? (e = /* @__PURE__ */ d.jsx("span", { className: "title", children: l }), t[3] = l, t[4] = e) : e = t[4];
30
+ let n;
31
+ t[5] !== s || t[6] !== e || t[7] !== m ? (n = /* @__PURE__ */ d.jsx(S, { disabled: s, url: m, children: e }), t[5] = s, t[6] = e, t[7] = m, t[8] = n) : n = t[8];
32
+ let r;
33
+ return t[9] !== a || t[10] !== n || t[11] !== c ? (r = /* @__PURE__ */ d.jsx("div", { className: a, onKeyDown: I, role: "button", tabIndex: -1, onClick: c, children: n }), t[9] = a, t[10] = n, t[11] = c, t[12] = r) : r = t[12], r;
34
+ };
35
+ function I() {
36
+ }
37
+ export {
38
+ w as default
39
+ };
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { ISideNavContext, ISubMenuContext } from './types';
3
+ declare const getCssClassMenu: (isExpanded?: boolean, size?: string) => string;
4
+ export declare const SubMenuContext: React.Context<ISubMenuContext>;
5
+ export declare const SideNavContext: React.Context<ISideNavContext>;
6
+ export default getCssClassMenu;
@@ -0,0 +1,10 @@
1
+ import t from "react";
2
+ const a = (n, s) => {
3
+ let e = "expandedmenu";
4
+ return n || (e = `collapsedmenu -${s}`), e;
5
+ }, c = t.createContext({}), r = t.createContext({});
6
+ export {
7
+ r as SideNavContext,
8
+ c as SubMenuContext,
9
+ a as default
10
+ };
@@ -0,0 +1,8 @@
1
+ import { default as NavMenuItem } from './NavMenuItem';
2
+ import { default as NavSubMenuItem } from './NavSubMenuItem';
3
+ import { default as NavMenuGroup } from './NavMenuGroup';
4
+ import { default as ExpandedMenu } from './ExpandMenu';
5
+ import { ISideNavProps } from './types';
6
+ declare const SideNav: (props: ISideNavProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SideNav;
8
+ export { NavMenuItem, NavSubMenuItem, NavMenuGroup, ExpandedMenu, };
@@ -0,0 +1,150 @@
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 L, useRef as me, useEffect as W } from "react";
4
+ import oe from "./NavMenuItem.js";
5
+ import ue from "./NavSubMenuItem.js";
6
+ import pe from "./NavMenuGroup.js";
7
+ import fe from "./ExpandMenu.js";
8
+ import { SideNavContext as de } from "./helpers.js";
9
+ import he from "../../icons/index.js";
10
+ import { keyCodes as xe } from "../../internals/constants.js";
11
+ import Se from "./popup_menu_search/index.js";
12
+ import { v as se } from "../../chunks/v1.Ds1rkxUj.js";
13
+ import '../../assets/index27.css';const De = (m) => {
14
+ const e = ae.c(52), {
15
+ customClass: re,
16
+ showExpandMenu: A,
17
+ expandMenuCustomClass: H,
18
+ expanded: X,
19
+ menuSize: Y,
20
+ onExpandMenuClick: S,
21
+ children: l,
22
+ enableMenuSearch: c,
23
+ menuSearchCustomComponent: C
24
+ } = m, x = X === void 0 ? !0 : X, r = Y === void 0 ? "medium" : Y, [o, Z] = L(x);
25
+ let v;
26
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (v = [], e[0] = v) : v = e[0];
27
+ const [u, ie] = L(v);
28
+ let y;
29
+ e[1] === Symbol.for("react.memo_cache_sentinel") ? (y = {}, e[1] = y) : y = e[1];
30
+ const [T, le] = L(y), [a, ee] = L(!1), M = me(null);
31
+ let b;
32
+ e[2] !== o || e[3] !== S ? (b = () => {
33
+ Z(!o), S && S(!o);
34
+ }, e[2] = o, e[3] = S, e[4] = b) : b = e[4];
35
+ const q = b;
36
+ let _;
37
+ e[5] !== T ? (_ = () => {
38
+ const {
39
+ left: n,
40
+ top: t,
41
+ width: s,
42
+ height: U
43
+ } = T;
44
+ return `left: ${n + s + 5}px; top: ${t + 1}px; height: ${U - 8}px;`;
45
+ }, e[5] = T, e[6] = _) : _ = e[6];
46
+ const B = _;
47
+ let E;
48
+ e[7] === Symbol.for("react.memo_cache_sentinel") ? (E = () => {
49
+ ee(!1);
50
+ }, e[7] = E) : E = e[7];
51
+ const ce = E;
52
+ let p, I;
53
+ if (e[8] === Symbol.for("react.memo_cache_sentinel")) {
54
+ const n = (t) => {
55
+ const {
56
+ type: s
57
+ } = t;
58
+ (s === oe || s === ue) && !t.props.children && ie((U) => [...U, {
59
+ id: t.props.id || `${t.props.title}-${se()}`,
60
+ content: t.props.title,
61
+ url: t.props.url
62
+ }]);
63
+ };
64
+ p = (t) => {
65
+ Array.isArray(t) ? t.forEach((s) => {
66
+ s && (n(s), s.props && s.props.children && p(s.props.children));
67
+ }) : t && (n(t), t.props && t.props.children && p(t.props.children));
68
+ }, I = () => {
69
+ ee(!0);
70
+ }, e[8] = p, e[9] = I;
71
+ } else
72
+ p = e[8], I = e[9];
73
+ const te = I;
74
+ let N;
75
+ e[10] === Symbol.for("react.memo_cache_sentinel") ? (N = (n) => {
76
+ [xe.F].includes(n.keyCode) && n.ctrlKey && n.shiftKey && (n.preventDefault(), te());
77
+ }, e[10] = N) : N = e[10];
78
+ const ne = N;
79
+ let $, g;
80
+ e[11] === Symbol.for("react.memo_cache_sentinel") ? (g = () => (document.addEventListener("keydown", ne), () => {
81
+ document.removeEventListener("keydown", ne);
82
+ }), $ = [], e[11] = $, e[12] = g) : ($ = e[11], g = e[12]), W(g, $);
83
+ let j;
84
+ e[13] !== l || e[14] !== c ? (j = () => {
85
+ c && M && M.current && le(M.current.getBoundingClientRect()), c && p(l);
86
+ }, e[13] = l, e[14] = c, e[15] = j) : j = e[15];
87
+ let k;
88
+ e[16] === Symbol.for("react.memo_cache_sentinel") ? (k = [], e[16] = k) : k = e[16], W(j, k);
89
+ let w, R;
90
+ e[17] !== x ? (w = () => {
91
+ Z(x);
92
+ }, R = [x], e[17] = x, e[18] = w, e[19] = R) : (w = e[18], R = e[19]), W(w, R);
93
+ let D;
94
+ e[20] !== u ? (D = () => u.filter(Ce), e[20] = u, e[21] = D) : D = e[21];
95
+ const G = D;
96
+ let K;
97
+ e[22] !== B || e[23] !== u || e[24] !== C || e[25] !== r || e[26] !== a || e[27] !== m || e[28] !== G ? (K = () => {
98
+ const n = {
99
+ ...m,
100
+ style: B(),
101
+ handlerClose: ce,
102
+ menuItemsContent: u && G()
103
+ };
104
+ return /* @__PURE__ */ i.jsx(pe, { children: /* @__PURE__ */ i.jsxs(oe, { childrenIsSubMenu: !1, customClass: "-customsidenavitem", tooltip: "Pesquisar funcionalidades (CTRL+SHIFT+F)", tooltipPosition: "right", children: [
105
+ /* @__PURE__ */ i.jsx("div", { className: "searchmenubutton", role: "button", tabIndex: -1, onKeyDown: ve, onClick: () => {
106
+ te();
107
+ }, children: /* @__PURE__ */ i.jsx(he, { name: "search", customClass: "searchmenuicon", size: r === "small" && 16 || r === "medium" && 22 || r === "large" && 32 || 16 }) }, "searchMenuIcon"),
108
+ a && (C ? C(n) : /* @__PURE__ */ i.jsx(Se, { ...n }))
109
+ ] }) }, `popup-menusearch-${se()}`);
110
+ }, e[22] = B, e[23] = u, e[24] = C, e[25] = r, e[26] = a, e[27] = m, e[28] = G, e[29] = K) : K = e[29];
111
+ const O = K;
112
+ let P;
113
+ e[30] !== l || e[31] !== c || e[32] !== O ? (P = () => {
114
+ if (!c)
115
+ return l;
116
+ const n = [...l];
117
+ return n.splice(1, 0, O()), n;
118
+ }, e[30] = l, e[31] = c, e[32] = O, e[33] = P) : P = e[33];
119
+ const V = P;
120
+ let z;
121
+ e[34] !== o || e[35] !== r || e[36] !== a ? (z = {
122
+ isExpanded: o,
123
+ menuSize: r,
124
+ openSearchMenuPopup: a
125
+ }, e[34] = o, e[35] = r, e[36] = a, e[37] = z) : z = e[37];
126
+ const J = z, Q = `sidenav-component ${o ? "-expanded" : ""} ${a ? "-blocked" : ""} ${re}`;
127
+ let f;
128
+ e[38] !== H || e[39] !== o || e[40] !== q || e[41] !== A ? (f = A && /* @__PURE__ */ i.jsx(fe, { expandMenuCustomClass: `${o && "closefromexpanded"} ${H}`, onExpandMenu: q, iconName: o ? "arrow_left" : "arrow_right" }), e[38] = H, e[39] = o, e[40] = q, e[41] = A, e[42] = f) : f = e[42];
129
+ let d;
130
+ e[43] !== V ? (d = V(), e[43] = V, e[44] = d) : d = e[44];
131
+ let h;
132
+ e[45] !== Q || e[46] !== f || e[47] !== d ? (h = /* @__PURE__ */ i.jsxs("div", { className: Q, ref: M, children: [
133
+ f,
134
+ d
135
+ ] }), e[45] = Q, e[46] = f, e[47] = d, e[48] = h) : h = e[48];
136
+ let F;
137
+ return e[49] !== J || e[50] !== h ? (F = /* @__PURE__ */ i.jsx(de.Provider, { value: J, children: h }), e[49] = J, e[50] = h, e[51] = F) : F = e[51], F;
138
+ };
139
+ function Ce(m) {
140
+ return m.content !== "";
141
+ }
142
+ function ve() {
143
+ }
144
+ export {
145
+ fe as ExpandedMenu,
146
+ pe as NavMenuGroup,
147
+ oe as NavMenuItem,
148
+ ue as NavSubMenuItem,
149
+ De as default
150
+ };
@@ -0,0 +1,3 @@
1
+ import { IEmptyListProps } from '../types';
2
+ declare const EmptyList: ({ info, visible, }: IEmptyListProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default EmptyList;
@@ -0,0 +1,23 @@
1
+ import { j as i } from "../../../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as l } from "../../../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import m from "../../../icons/index.js";
4
+ const d = (c) => {
5
+ const e = l.c(4), {
6
+ info: r,
7
+ visible: n
8
+ } = c;
9
+ if (!(n === void 0 ? !0 : n)) {
10
+ let o;
11
+ return e[0] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ i.jsx("noscript", {}), e[0] = o) : o = e[0], o;
12
+ }
13
+ let t;
14
+ e[1] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ i.jsx(m, { name: "information", color: "#bdbdbd", size: 128 }), e[1] = t) : t = e[1];
15
+ let s;
16
+ return e[2] !== r ? (s = /* @__PURE__ */ i.jsxs("div", { className: "nodata-container", children: [
17
+ t,
18
+ /* @__PURE__ */ i.jsx("p", { className: "subtext", children: r })
19
+ ] }), e[2] = r, e[3] = s) : s = e[3], s;
20
+ };
21
+ export {
22
+ d as default
23
+ };
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { IPopupMenuSearchProps } from '../types';
3
+ declare const PopupMenuSearch: (props: IPopupMenuSearchProps) => React.ReactPortal;
4
+ export default PopupMenuSearch;
@@ -0,0 +1,56 @@
1
+ import { j as t } from "../../../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { useState as d, useRef as f, useEffect as u, Fragment as v } from "react";
3
+ import P from "react-dom";
4
+ import w from "../../../inputs/search/index.js";
5
+ import F from "../../../list/index.js";
6
+ import O from "../../../icons/index.js";
7
+ import k from "./EmptyList.js";
8
+ import { L as M } from "../../../chunks/tabs.BvKfeA6Y.js";
9
+ const h = document.getElementsByTagName("body")[0], A = (x) => {
10
+ const {
11
+ style: c,
12
+ menuItemsContent: a,
13
+ handlerClose: l,
14
+ menuSearchEmptyMessage: g,
15
+ menuSearchPlaceholder: y
16
+ } = x, [b, j] = d(""), [n, I] = d(a), [C, i] = d(""), o = f(null), r = f(document.createElement("div"));
17
+ Object.assign(r.current, {
18
+ className: "searchmenu",
19
+ style: c
20
+ });
21
+ const m = (e) => {
22
+ e.key === "Escape" && (l(), e.stopPropagation());
23
+ };
24
+ u(() => (h.appendChild(r.current), o && o.current && o.current.focus(), document.body.addEventListener("keydown", m), () => {
25
+ h.removeChild(r.current), document.body.removeEventListener("keydown", m);
26
+ }), []), u(() => {
27
+ Object.assign(r.current, {
28
+ style: c
29
+ });
30
+ }, [c]), u(() => {
31
+ n && n.length > 0 && i(n[0].id);
32
+ }, []);
33
+ const p = (e) => {
34
+ const L = e.toLowerCase(), s = a && a.filter((R) => R.content.toLowerCase().includes(L));
35
+ s && s.length > 0 && i(s[0].id), j(e), I(s);
36
+ }, E = () => n && n.length > 0 ? /* @__PURE__ */ t.jsx(F, { condensed: !0, transparent: !0, selectable: !0, onSelectItem: l, selectedItemId: C, selectOnEnter: !0, style: {
37
+ margin: "25px 0px",
38
+ border: "none",
39
+ boxShadow: "none"
40
+ }, children: n.map((e) => /* @__PURE__ */ t.jsx(M, { itemId: e.id, url: e.url, text: e.content }, e.id)) }) : /* @__PURE__ */ t.jsx(k, { info: g }), S = () => /* @__PURE__ */ t.jsxs(v, { children: [
41
+ /* @__PURE__ */ t.jsx("span", { onClick: l, className: "closebutton", onKeyPress: () => {
42
+ }, role: "button", tabIndex: 0, children: /* @__PURE__ */ t.jsx(O, { name: "close", size: 22 }) }),
43
+ /* @__PURE__ */ t.jsx(w, { rounded: !0, onChange: (e) => {
44
+ e && p(e.target.value);
45
+ }, inputRef: o, value: b, placeHolder: y, onReset: () => {
46
+ p("");
47
+ } }),
48
+ /* @__PURE__ */ t.jsx("div", { style: {
49
+ height: "90%"
50
+ }, children: E() })
51
+ ] });
52
+ return P.createPortal(S(), r.current);
53
+ };
54
+ export {
55
+ A as default
56
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,85 @@
1
+ import { CSSProperties, ReactElement, ReactNode } from 'react';
2
+ import { PermissionAttr } from '../../@types/PermissionAttr';
3
+ import { Size } from '../../@types/Size';
4
+ import { WithTooltipProps } from '../../internals/types';
5
+ import { IconNames } from '../../../lib/@types/Icon';
6
+ export interface ISideNavProps {
7
+ children: ReactNode;
8
+ expanded?: boolean;
9
+ menuSize?: Extract<Size, 'small' | 'medium' | 'large'>;
10
+ customClass?: string;
11
+ expandMenuCustomClass?: string;
12
+ onExpandMenuClick?: (value: boolean) => void;
13
+ showExpandMenu?: boolean;
14
+ enableMenuSearch?: boolean;
15
+ menuSearchEmptyMessage?: string;
16
+ menuSearchPlaceholder?: string;
17
+ menuSearchCustomComponent?: (props: IPopupMenuSearchProps) => ReactElement;
18
+ }
19
+ export interface ISideNavDimensions {
20
+ left: number;
21
+ top: number;
22
+ width: number;
23
+ height: number;
24
+ }
25
+ export interface IMenuItemContent {
26
+ id: string;
27
+ content: string;
28
+ url: string;
29
+ }
30
+ export interface IMenuLinkProps extends WithTooltipProps {
31
+ children: ReactElement;
32
+ url?: string;
33
+ targetRef?: ((ref: HTMLAnchorElement | null) => void) | null;
34
+ disabled?: boolean;
35
+ }
36
+ export interface INavMenuGroupProps {
37
+ children: ReactNode;
38
+ scrollable?: boolean;
39
+ style?: CSSProperties;
40
+ }
41
+ export interface INavMenuItemProps extends WithTooltipProps {
42
+ children?: ReactNode;
43
+ title?: string;
44
+ iconName?: IconNames;
45
+ childrenIsSubMenu?: boolean;
46
+ url?: string;
47
+ customClass?: string;
48
+ permissionAttr?: PermissionAttr | PermissionAttr[];
49
+ minWidth?: string | number;
50
+ maxWidth?: string | number;
51
+ columnsQtty?: number;
52
+ targetRef?: (ref: HTMLLIElement | null) => void;
53
+ disableDefaultStyle?: boolean;
54
+ showDropdownOnClick?: boolean;
55
+ style?: CSSProperties;
56
+ customClassForDropdown?: string;
57
+ }
58
+ export interface INavSubMenuItemProps {
59
+ title: string;
60
+ url?: string;
61
+ permissionAttr?: PermissionAttr | PermissionAttr[];
62
+ }
63
+ export interface IExpandMenuProps {
64
+ expandMenuCustomClass?: string;
65
+ onExpandMenu?: () => void;
66
+ iconName: IconNames;
67
+ }
68
+ export interface IEmptyListProps {
69
+ info?: string;
70
+ visible?: boolean;
71
+ }
72
+ export interface IPopupMenuSearchProps extends ISideNavProps {
73
+ menuItemsContent?: IMenuItemContent[];
74
+ handlerClose: () => void;
75
+ style?: CSSProperties | string;
76
+ }
77
+ export interface ISubMenuContext {
78
+ toggleSubMenu: () => void;
79
+ }
80
+ export interface ISideNavContext {
81
+ isExpanded?: boolean;
82
+ menuSize?: Extract<Size, 'small' | 'medium' | 'large'>;
83
+ openSearchMenuPopup?: boolean;
84
+ }
85
+ export type ITargetDimensions = DOMRect;
@@ -0,0 +1,2 @@
1
+ declare const NoPermission: () => import("react/jsx-runtime").JSX.Element;
2
+ export default NoPermission;
@@ -0,0 +1,16 @@
1
+ import { j as e } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as t } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import r from "../icons/index.js";
4
+ import '../assets/noPermission.css';/* empty css */
5
+ const c = () => {
6
+ const o = t.c(1);
7
+ let s;
8
+ return o[0] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ e.jsxs("div", { className: "no-permission-component", "data-testid": "no-permission-component", children: [
9
+ /* @__PURE__ */ e.jsx(r, { name: "warning", size: 128, color: "#bdbdbd" }),
10
+ /* @__PURE__ */ e.jsx("p", { className: "text", children: "Acesso Negado" }),
11
+ /* @__PURE__ */ e.jsx("p", { className: "subtext", children: "Você não tem permissão para acessar este conteúdo. Consulte o Administrador do sistema!" })
12
+ ] }), o[0] = s) : s = o[0], s;
13
+ };
14
+ export {
15
+ c as default
16
+ };
@@ -0,0 +1,3 @@
1
+ import { IPanelContentProps } from './types';
2
+ declare const PanelContent: ({ customClass, children, ...rest }: IPanelContentProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default PanelContent;
@@ -0,0 +1,55 @@
1
+ import { j as H } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as T } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useContext as w, useRef as R, useEffect as z } from "react";
4
+ import O, { getCurrentThreshold as N } from "./helpers.js";
5
+ import S from "../noPermission/index.js";
6
+ const A = (h) => {
7
+ const e = T.c(18);
8
+ let o, c, l;
9
+ e[0] !== h ? ({
10
+ customClass: c,
11
+ children: o,
12
+ ...l
13
+ } = h, e[0] = h, e[1] = o, e[2] = c, e[3] = l) : (o = e[1], c = e[2], l = e[3]);
14
+ const {
15
+ opened: i,
16
+ onEndReached: s,
17
+ onEndReachedThreshold: x,
18
+ hideContent: m
19
+ } = w(O), E = x === void 0 ? 0.1 : x, t = R(null), g = R(0), p = R(!0);
20
+ let u;
21
+ e[4] !== s || e[5] !== E ? (u = async () => {
22
+ const n = t.current;
23
+ if (n && s) {
24
+ const {
25
+ scrollTop: v,
26
+ scrollHeight: C,
27
+ clientHeight: b
28
+ } = n, j = C - b - v - 1, L = N(n, E);
29
+ j <= L && p.current && (p.current = !1, await new Promise((P) => {
30
+ P(s());
31
+ }), g.current = C);
32
+ }
33
+ }, e[4] = s, e[5] = E, e[6] = u) : u = e[6];
34
+ const r = u;
35
+ let d;
36
+ e[7] !== s || e[8] !== r ? (d = () => {
37
+ let n;
38
+ return t.current && s && (n = new ResizeObserver(() => {
39
+ const {
40
+ scrollHeight: v
41
+ } = t.current;
42
+ v !== g.current && (p.current = !0, n?.disconnect());
43
+ }), n.observe(t.current), t.current.addEventListener("scroll", r), t.current.addEventListener("resize", r)), () => {
44
+ t.current?.removeEventListener("scroll", r), t.current?.removeEventListener("resize", r), n?.disconnect();
45
+ };
46
+ }, e[7] = s, e[8] = r, e[9] = d) : d = e[9];
47
+ let f;
48
+ if (e[10] !== r ? (f = [r], e[10] = r, e[11] = f) : f = e[11], z(d, f), !i)
49
+ return null;
50
+ let a;
51
+ return e[12] !== o || e[13] !== c || e[14] !== m || e[15] !== i || e[16] !== l ? (a = m ? /* @__PURE__ */ H.jsx(S, {}) : /* @__PURE__ */ H.jsx("div", { ref: t, className: `panel-content ${c ?? ""}`, ...l, children: i && o }), e[12] = o, e[13] = c, e[14] = m, e[15] = i, e[16] = l, e[17] = a) : a = e[17], a;
52
+ };
53
+ export {
54
+ A as default
55
+ };
@@ -0,0 +1,3 @@
1
+ import { IPanelProps } from './types';
2
+ declare const DangerPanel: (props: IPanelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DangerPanel;
@@ -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 c = (e) => {
6
+ const t = l.c(2);
7
+ let o;
8
+ return t[0] !== e ? (o = /* @__PURE__ */ r.jsx(m, { ...e, colorStyle: s.DANGER }), t[0] = e, 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 DefaultPanel: ({ startOpened, toggleable, customClass, children, title, gridCols, onEndReached, onEndReachedThreshold, permissionAttr, colorStyle, ...rest }: IPanelProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default DefaultPanel;
@@ -0,0 +1,68 @@
1
+ import { j as g } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as y } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useState as T } from "react";
4
+ import '../assets/gridlayout.css';/* empty css */
5
+ import A from "../gridlayout/GridCol.js";
6
+ import G from "./Header.js";
7
+ import H from "./helpers.js";
8
+ import { OPTIONS_ON_DENIED as V, actionsOnPermissionDenied as k } from "../permissionValidations.js";
9
+ const M = (j) => {
10
+ const e = y.c(37);
11
+ let o, t, i, l, r, d, c, u, f, n, a;
12
+ e[0] !== j ? ({
13
+ startOpened: u,
14
+ toggleable: a,
15
+ customClass: i,
16
+ children: o,
17
+ title: n,
18
+ gridCols: l,
19
+ onEndReached: r,
20
+ onEndReachedThreshold: f,
21
+ permissionAttr: d,
22
+ colorStyle: t,
23
+ ...c
24
+ } = j, e[0] = j, e[1] = o, e[2] = t, e[3] = i, e[4] = l, e[5] = r, e[6] = d, e[7] = c, e[8] = u, e[9] = f, e[10] = n, e[11] = a) : (o = e[1], t = e[2], i = e[3], l = e[4], r = e[5], d = e[6], c = e[7], u = e[8], f = e[9], n = e[10], a = e[11]);
25
+ const S = u === void 0 ? !0 : u, P = f === void 0 ? 0.1 : f, [h, $] = T(S), {
26
+ hideContent: I,
27
+ unvisible: _
28
+ } = V;
29
+ let C;
30
+ e[12] !== d ? (C = k([I, _], d), e[12] = d, e[13] = C) : C = e[13];
31
+ const [s] = T(C);
32
+ let v;
33
+ e[14] !== t || e[15] !== i ? (v = () => {
34
+ let N = `panel-component ${i}`;
35
+ return N = N + (t !== "" ? ` -${t}` : ""), N;
36
+ }, e[14] = t, e[15] = i, e[16] = v) : v = e[16];
37
+ const D = v;
38
+ let x;
39
+ e[17] !== o || e[18] !== D || e[19] !== c || e[20] !== n ? (x = () => /* @__PURE__ */ g.jsxs("div", { className: D(), ...c, children: [
40
+ n && /* @__PURE__ */ g.jsx(G, { title: n }),
41
+ o
42
+ ] }), e[17] = o, e[18] = D, e[19] = c, e[20] = n, e[21] = x) : x = e[21];
43
+ const b = x;
44
+ let E;
45
+ e[22] !== s.hideContent || e[23] !== s.unvisible || e[24] !== r || e[25] !== P || e[26] !== h || e[27] !== a ? (E = () => ({
46
+ toggleable: a,
47
+ handlerToggleable: () => {
48
+ $(!h);
49
+ },
50
+ opened: h,
51
+ onEndReached: r,
52
+ onEndReachedThreshold: P,
53
+ hideContent: s.hideContent,
54
+ unvisible: s.unvisible
55
+ }), e[22] = s.hideContent, e[23] = s.unvisible, e[24] = r, e[25] = P, e[26] = h, e[27] = a, e[28] = E) : E = e[28];
56
+ const R = E;
57
+ if (s.unvisible)
58
+ return null;
59
+ let m;
60
+ e[29] !== R ? (m = R(), e[29] = R, e[30] = m) : m = e[30];
61
+ let p;
62
+ e[31] !== l || e[32] !== b ? (p = l ? /* @__PURE__ */ g.jsx(A, { cols: l, children: b() }) : b(), e[31] = l, e[32] = b, e[33] = p) : p = e[33];
63
+ let O;
64
+ return e[34] !== m || e[35] !== p ? (O = /* @__PURE__ */ g.jsx(H.Provider, { value: m, children: p }), e[34] = m, e[35] = p, e[36] = O) : O = e[36], O;
65
+ };
66
+ export {
67
+ M as default
68
+ };
@@ -0,0 +1,3 @@
1
+ import { IPanelHeaderProps } from './types';
2
+ declare const PanelHeader: (props: IPanelHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PanelHeader;
@@ -0,0 +1,58 @@
1
+ import { j as r } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as I } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useContext as v } from "react";
4
+ import p from "../icons/index.js";
5
+ import w from "../buttons/button_container/index.js";
6
+ import z from "../buttons/Button.js";
7
+ import '../assets/button.css';/* empty css */
8
+ import B from "./helpers.js";
9
+ const E = (t, e) => e || (t ? /* @__PURE__ */ r.jsx(p, { name: t, color: "#000", size: 16 }) : null), P = ({
10
+ customClass: t,
11
+ headerColored: e = !0
12
+ }) => {
13
+ let l = `panel-header ${t ?? ""}`;
14
+ return e || (l += " -uncolored"), l;
15
+ }, L = (t) => {
16
+ const e = I.c(28);
17
+ let l, i, o, a, c, n, s;
18
+ if (e[0] !== t) {
19
+ const {
20
+ titleIcon: g,
21
+ icon: N,
22
+ title: T,
23
+ children: F,
24
+ customClass: R,
25
+ headerColored: k,
26
+ styleForTitle: $,
27
+ customClassForTitle: b,
28
+ ...y
29
+ } = t;
30
+ s = g, o = N, n = T, l = F, c = $, i = b, a = y, e[0] = t, e[1] = l, e[2] = i, e[3] = o, e[4] = a, e[5] = c, e[6] = n, e[7] = s;
31
+ } else
32
+ l = e[1], i = e[2], o = e[3], a = e[4], c = e[5], n = e[6], s = e[7];
33
+ const {
34
+ toggleable: h,
35
+ handlerToggleable: j,
36
+ opened: C
37
+ } = v(B);
38
+ let m;
39
+ e[8] !== t ? (m = P(t), e[8] = t, e[9] = m) : m = e[9];
40
+ let u;
41
+ e[10] !== o || e[11] !== s ? (u = (o || s) && /* @__PURE__ */ r.jsx("div", { className: `${o !== null || s !== null ? "icon-left-panel" : ""}`, children: E(s, o) }), e[10] = o, e[11] = s, e[12] = u) : u = e[12];
42
+ let f;
43
+ e[13] !== i || e[14] !== c || e[15] !== n ? (f = n && /* @__PURE__ */ r.jsx("h1", { className: `title ${i ?? ""}`, style: c, children: n }), e[13] = i, e[14] = c, e[15] = n, e[16] = f) : f = e[16];
44
+ let d;
45
+ e[17] !== j || e[18] !== C || e[19] !== h ? (d = h && /* @__PURE__ */ r.jsx(w, { position: "right", children: /* @__PURE__ */ r.jsx(z, { boxShadow: !1, transparent: !0, onClick: () => {
46
+ j();
47
+ }, icon: /* @__PURE__ */ r.jsx(p, { name: C ? "up" : "down", size: 16 }) }) }), e[17] = j, e[18] = C, e[19] = h, e[20] = d) : d = e[20];
48
+ let x;
49
+ return e[21] !== l || e[22] !== a || e[23] !== m || e[24] !== u || e[25] !== f || e[26] !== d ? (x = /* @__PURE__ */ r.jsxs("div", { className: m, ...a, children: [
50
+ u,
51
+ f,
52
+ d,
53
+ l
54
+ ] }), e[21] = l, e[22] = a, e[23] = m, e[24] = u, e[25] = f, e[26] = d, e[27] = x) : x = e[27], x;
55
+ };
56
+ export {
57
+ L as default
58
+ };
@@ -0,0 +1,3 @@
1
+ import { IPanelProps } from './types';
2
+ declare const InfoPanel: (props: IPanelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default InfoPanel;
@@ -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 c = (e) => {
6
+ const t = l.c(2);
7
+ let o;
8
+ return t[0] !== e ? (o = /* @__PURE__ */ r.jsx(m, { ...e, colorStyle: s.INFO }), t[0] = e, t[1] = o) : o = t[1], o;
9
+ };
10
+ export {
11
+ c as default
12
+ };