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,59 @@
1
+ import { default as React } from 'react';
2
+ import { default as moment, Moment } from 'moment';
3
+ import { ColorStyles } from '../../@types/ColorStyles';
4
+ import { ICalendarProps } from '../types';
5
+ export declare function dayNames(): string[];
6
+ export declare function getStartOfWeek(date: Moment): moment.Moment;
7
+ export declare function getStartOfMonth(date: Moment): moment.Moment;
8
+ export declare function dateIsEquals(date1: Moment, date2: Moment): boolean;
9
+ export declare function dayOutOfCurrentMonth(currentDate: Moment, comparedDay: Moment): boolean;
10
+ export declare function getPtBrLocale(): {
11
+ months: string[];
12
+ monthsShort: string[];
13
+ weekdays: string[];
14
+ weekdaysShort: string[];
15
+ weekdaysMin: string[];
16
+ longDateFormat: {
17
+ LT: string;
18
+ L: string;
19
+ LL: string;
20
+ LLL: string;
21
+ LLLL: string;
22
+ };
23
+ calendar: {
24
+ sameDay: string;
25
+ nextDay: string;
26
+ nextWeek: string;
27
+ lastDay: string;
28
+ lastWeek(): string;
29
+ sameElse: string;
30
+ };
31
+ relativeTime: {
32
+ future: string;
33
+ past: string;
34
+ s: string;
35
+ m: string;
36
+ mm: string;
37
+ h: string;
38
+ hh: string;
39
+ d: string;
40
+ dd: string;
41
+ M: string;
42
+ MM: string;
43
+ y: string;
44
+ yy: string;
45
+ };
46
+ ordinal: string;
47
+ };
48
+ /** Functions used insed index.jsx */
49
+ export declare function getCalendarCssClass({ unpadding, drawGridLines, customClass, colorStyle, }: {
50
+ unpadding: boolean;
51
+ drawGridLines: boolean;
52
+ customClass: string | undefined;
53
+ colorStyle: ColorStyles | undefined;
54
+ }): string;
55
+ export declare function validDate(date: Moment): moment.Moment;
56
+ /** Functions used inside Day Component */
57
+ export declare function getDayContainerCssClass(currentDate: Moment, day: Moment): string;
58
+ export declare function getDayCssClass(currentDate: Moment, day: Moment): string;
59
+ export declare const CalendarContext: React.Context<ICalendarProps>;
@@ -0,0 +1,100 @@
1
+ import u from "react";
2
+ import { h as s } from "../../chunks/moment.DMLRxgRE.js";
3
+ s.locale("pt-br");
4
+ function r(e, t) {
5
+ return e.startOf(t);
6
+ }
7
+ function l() {
8
+ return ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab"];
9
+ }
10
+ function f(e) {
11
+ return r(e, "week");
12
+ }
13
+ function M(e) {
14
+ return r(e, "month");
15
+ }
16
+ function o(e, t) {
17
+ return s(e.format("YYYY-MM-DD")).isSame(t.format("YYYY-MM-DD"));
18
+ }
19
+ function m(e, t) {
20
+ return e.format("MM") !== t.format("MM");
21
+ }
22
+ function Y() {
23
+ return {
24
+ months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
25
+ monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
26
+ weekdays: "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
27
+ weekdaysShort: "dom_seg_ter_qua_qui_sex_sáb".split("_"),
28
+ weekdaysMin: "dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),
29
+ longDateFormat: {
30
+ LT: "HH:mm",
31
+ L: "DD/MM/YYYY",
32
+ LL: "D [de] MMMM [de] YYYY",
33
+ LLL: "D [de] MMMM [de] YYYY [às] LT",
34
+ LLLL: "dddd, D [de] MMMM [de] YYYY [às] LT"
35
+ },
36
+ calendar: {
37
+ sameDay: "[Hoje às] LT",
38
+ nextDay: "[Amanhã às] LT",
39
+ nextWeek: "dddd [às] LT",
40
+ lastDay: "[Ontem às] LT",
41
+ lastWeek() {
42
+ return this.sameDay === "0" || this.sameDay === "6" ? "[Último] dddd [às] LT" : (
43
+ // Saturday + Sunday
44
+ "[Última] dddd [às] LT"
45
+ );
46
+ },
47
+ sameElse: "L"
48
+ },
49
+ relativeTime: {
50
+ future: "em %s",
51
+ past: "%s atrás",
52
+ s: "segundos",
53
+ m: "um minuto",
54
+ mm: "%d minutos",
55
+ h: "uma hora",
56
+ hh: "%d horas",
57
+ d: "um dia",
58
+ dd: "%d dias",
59
+ M: "um mês",
60
+ MM: "%d meses",
61
+ y: "um ano",
62
+ yy: "%d anos"
63
+ },
64
+ ordinal: "%dº"
65
+ };
66
+ }
67
+ function c({
68
+ unpadding: e,
69
+ drawGridLines: t,
70
+ customClass: a,
71
+ colorStyle: d
72
+ }) {
73
+ let n = `calendar-component ${a}`;
74
+ return n += ` -${d}`, n += e ? " -unpadding" : "", n += t ? " -draw-grid-lines" : "", n;
75
+ }
76
+ function h(e) {
77
+ return s(e).format() !== "Invalid date" ? e : s();
78
+ }
79
+ function L(e, t) {
80
+ let a = "monthday ";
81
+ return a += o(e, t) ? "-selectedday " : "", a;
82
+ }
83
+ function D(e, t) {
84
+ let a = "daybutton ";
85
+ return a += o(s(), t) ? "-nowday " : "", a += m(e, t) ? "-outmonth" : "", a;
86
+ }
87
+ const y = u.createContext({});
88
+ export {
89
+ y as CalendarContext,
90
+ o as dateIsEquals,
91
+ l as dayNames,
92
+ m as dayOutOfCurrentMonth,
93
+ c as getCalendarCssClass,
94
+ L as getDayContainerCssClass,
95
+ D as getDayCssClass,
96
+ Y as getPtBrLocale,
97
+ M as getStartOfMonth,
98
+ f as getStartOfWeek,
99
+ h as validDate
100
+ };
@@ -0,0 +1,3 @@
1
+ import { ICalendarProps } from '../types';
2
+ declare const Calendar: (props: ICalendarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Calendar;
@@ -0,0 +1,137 @@
1
+ import { j as n } from "../../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as ae } from "../../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useRef as Z, useState as ie, useEffect as ee } from "react";
4
+ import { h as ce } from "../../chunks/moment.DMLRxgRE.js";
5
+ import me from "./Month.js";
6
+ import te from "../../buttons/Button.js";
7
+ import "../../icons/index.js";
8
+ import '../../assets/gridlayout.css';import '../../assets/button.css';import '../../assets/index11.css';/* empty css */
9
+ /* empty css */
10
+ import fe from "../../gridlayout/GridCol.js";
11
+ import { validDate as oe, dayNames as de, CalendarContext as ue, getCalendarCssClass as he } from "./helpers.js";
12
+ import { v as ne } from "../../chunks/v1.Ds1rkxUj.js";
13
+ const pe = ["ArrowUp", "ArrowRight", "ArrowDown", "ArrowLeft"], Le = (C) => {
14
+ const e = ae.c(53), {
15
+ currentDate: w,
16
+ onDateChange: x,
17
+ drawGridLines: I,
18
+ colorStyle: U,
19
+ unpadding: J,
20
+ customClass: $,
21
+ gridLayout: y,
22
+ currentDateButton: F,
23
+ calendarContainer: K
24
+ } = C;
25
+ let g;
26
+ e[0] !== w ? (g = w === void 0 ? ce() : w, e[0] = w, e[1] = g) : g = e[1];
27
+ const r = g, T = I === void 0 ? !1 : I, V = J === void 0 ? !1 : J, h = Z(null), v = Z(null);
28
+ let D;
29
+ e[2] !== r ? (D = oe(r), e[2] = r, e[3] = D) : D = e[3];
30
+ const [o, j] = ie(D);
31
+ let A;
32
+ e[4] !== x ? (A = (t) => {
33
+ x && x(t), j(t);
34
+ }, e[4] = x, e[5] = A) : A = e[5];
35
+ const W = A;
36
+ let _;
37
+ e[6] !== o ? (_ = () => {
38
+ const t = o.clone();
39
+ j(t.subtract(1, "month"));
40
+ }, e[6] = o, e[7] = _) : _ = e[7];
41
+ const q = _;
42
+ let b;
43
+ e[8] !== o ? (b = () => {
44
+ const t = o.clone();
45
+ j(t.add(1, "month"));
46
+ }, e[8] = o, e[9] = b) : b = e[9];
47
+ const z = b;
48
+ let M;
49
+ e[10] === Symbol.for("react.memo_cache_sentinel") ? (M = (t) => {
50
+ const se = t.target, u = h.current?.getElementsByClassName("daybutton");
51
+ let p = 0;
52
+ u.length && Array.from(u).find((X, le) => {
53
+ X && X.id === se.id && (p = le);
54
+ });
55
+ const Q = {
56
+ ArrowUp: u[p - 7],
57
+ ArrowRight: u[p + 1],
58
+ ArrowDown: u[p + 7],
59
+ ArrowLeft: u[p - 1]
60
+ }[t.code];
61
+ Q && Q.focus();
62
+ }, e[10] = M) : M = e[10];
63
+ const re = M;
64
+ let E;
65
+ e[11] !== W ? (E = {
66
+ handleDateChange: W
67
+ }, e[11] = W, e[12] = E) : E = e[12];
68
+ const H = E;
69
+ let N;
70
+ e[13] !== K || e[14] !== r ? (N = () => (K?.(v?.current), j(oe(r)), document.addEventListener("keydown", (t) => {
71
+ t && t.code && pe.includes(t.code) && v.current && v.current.contains(document.activeElement) && h.current && h.current.contains(document.activeElement) && (re(t), t.stopPropagation(), t.preventDefault());
72
+ }), we), e[13] = K, e[14] = r, e[15] = N) : N = e[15];
73
+ let S;
74
+ e[16] === Symbol.for("react.memo_cache_sentinel") ? (S = [], e[16] = S) : S = e[16], ee(N, S);
75
+ let L;
76
+ e[17] !== F ? (L = () => {
77
+ const t = h.current?.getElementsByClassName("-selectedday")[0];
78
+ F?.(t.firstChild);
79
+ }, e[17] = F, e[18] = L) : L = e[18];
80
+ let R;
81
+ e[19] !== r ? (R = [r], e[19] = r, e[20] = R) : R = e[20], ee(L, R);
82
+ let s;
83
+ e[21] !== U || e[22] !== $ || e[23] !== T || e[24] !== V ? (s = he({
84
+ unpadding: V,
85
+ drawGridLines: T,
86
+ customClass: $,
87
+ colorStyle: U
88
+ }), e[21] = U, e[22] = $, e[23] = T, e[24] = V, e[25] = s) : s = e[25];
89
+ let k;
90
+ e[26] === Symbol.for("react.memo_cache_sentinel") ? (k = ne(), e[26] = k) : k = e[26];
91
+ let l;
92
+ e[27] !== q ? (l = /* @__PURE__ */ n.jsx(te, { id: k, boxShadow: !1, iconName: "arrow_left", customClass: "navbutton nav-arrow-left", onClick: () => {
93
+ q();
94
+ } }), e[27] = q, e[28] = l) : l = e[28];
95
+ let a;
96
+ e[29] !== o ? (a = o.format("MMMM YYYY"), e[29] = o, e[30] = a) : a = e[30];
97
+ let i;
98
+ e[31] !== a ? (i = /* @__PURE__ */ n.jsx("span", { className: "monthname", children: a }), e[31] = a, e[32] = i) : i = e[32];
99
+ let Y;
100
+ e[33] === Symbol.for("react.memo_cache_sentinel") ? (Y = ne(), e[33] = Y) : Y = e[33];
101
+ let c;
102
+ e[34] !== z ? (c = /* @__PURE__ */ n.jsx(te, { id: Y, boxShadow: !1, iconName: "arrow_right", customClass: "navbutton nav-arrow-right", onClick: () => {
103
+ z();
104
+ } }), e[34] = z, e[35] = c) : c = e[35];
105
+ let m;
106
+ e[36] !== l || e[37] !== i || e[38] !== c ? (m = /* @__PURE__ */ n.jsxs("div", { className: "calendarheader", children: [
107
+ l,
108
+ i,
109
+ c
110
+ ] }), e[36] = l, e[37] = i, e[38] = c, e[39] = m) : m = e[39];
111
+ let B;
112
+ e[40] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ n.jsx("div", { className: "daynames", children: de().map(xe) }), e[40] = B) : B = e[40];
113
+ let f;
114
+ e[41] !== o ? (f = /* @__PURE__ */ n.jsx(me, { monthRef: h, currentDate: o }), e[41] = o, e[42] = f) : f = e[42];
115
+ let G;
116
+ e[43] !== s || e[44] !== m || e[45] !== f ? (G = /* @__PURE__ */ n.jsxs("div", { ref: v, className: s, children: [
117
+ m,
118
+ B,
119
+ f
120
+ ] }), e[43] = s, e[44] = m, e[45] = f, e[46] = G) : G = e[46];
121
+ const O = G;
122
+ let d;
123
+ e[47] !== O || e[48] !== y ? (d = y ? /* @__PURE__ */ n.jsx(fe, { customClass: "-withinput", cols: y, children: O }) : O, e[47] = O, e[48] = y, e[49] = d) : d = e[49];
124
+ let P;
125
+ return e[50] !== H || e[51] !== d ? (P = /* @__PURE__ */ n.jsx(ue.Provider, { value: H, children: d }), e[50] = H, e[51] = d, e[52] = P) : P = e[52], P;
126
+ };
127
+ function Ce() {
128
+ }
129
+ function we() {
130
+ document.removeEventListener("keydown", Ce);
131
+ }
132
+ function xe(C) {
133
+ return /* @__PURE__ */ n.jsx("div", { children: C }, `day-${C}`);
134
+ }
135
+ export {
136
+ Le as default
137
+ };
File without changes
@@ -0,0 +1,8 @@
1
+ import { default as Calendar } from './base';
2
+ import { default as SuccessCalendar } from './SuccessCalendar';
3
+ import { default as PrimaryCalendar } from './PrimaryCalendar';
4
+ import { default as DangerCalendar } from './DangerCalendar';
5
+ import { default as WarningCalendar } from './WarningCalendar';
6
+ import { default as InfoCalendar } from './InfoCalendar';
7
+ export default Calendar;
8
+ export { DangerCalendar, SuccessCalendar, PrimaryCalendar, WarningCalendar, InfoCalendar, };
@@ -0,0 +1,14 @@
1
+ import r from "./base/index.js";
2
+ import { default as f } from "./SuccessCalendar.js";
3
+ import { default as d } from "./PrimaryCalendar.js";
4
+ import { default as n } from "./DangerCalendar.js";
5
+ import { default as s } from "./WarningCalendar.js";
6
+ import { default as u } from "./InfoCalendar.js";
7
+ export {
8
+ n as DangerCalendar,
9
+ u as InfoCalendar,
10
+ d as PrimaryCalendar,
11
+ f as SuccessCalendar,
12
+ s as WarningCalendar,
13
+ r as default
14
+ };
@@ -0,0 +1,27 @@
1
+ import { LegacyRef } from 'react';
2
+ import { Moment } from 'moment';
3
+ import { ColorStyles } from '../@types/ColorStyles';
4
+ export interface ICalendarProps {
5
+ customClass?: string;
6
+ currentDate?: Moment;
7
+ drawGridLines?: boolean;
8
+ unpadding?: boolean;
9
+ onDateChange?: (date: Moment) => void;
10
+ colorStyle?: ColorStyles;
11
+ handleDateChange?: (date: Moment) => void;
12
+ gridLayout?: string;
13
+ currentDateButton?: (buttonElement: HTMLButtonElement) => void;
14
+ calendarContainer?: (calendarElement: HTMLDivElement | null) => void;
15
+ }
16
+ export interface IWeekProps {
17
+ weekStartDate: Moment;
18
+ currentDate: Moment;
19
+ }
20
+ export interface IDayProps {
21
+ currentDate: Moment;
22
+ day: Moment;
23
+ }
24
+ export interface IMonthProps {
25
+ monthRef: LegacyRef<HTMLDivElement> | undefined;
26
+ currentDate: Moment;
27
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { ICheckBoxProps } from './types';
3
+ /**
4
+ * IMPORTANTE: Caso seja necessário alterar o nome do componente, deverá ser refatorado
5
+ * o componente Field dentro do componente Form, pois o mesmo leva em consideração o tipo do
6
+ * componente para gerar propriedades customizadas.
7
+ */
8
+ declare const CheckBox: React.ForwardRefExoticComponent<ICheckBoxProps & React.RefAttributes<HTMLInputElement>>;
9
+ export default CheckBox;
@@ -0,0 +1,32 @@
1
+ import "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import "react";
3
+ import "../chunks/compiler-runtime.Cu50tn6L.js";
4
+ import '../assets/radio.css';import '../assets/skeleton.css';import '../assets/toolbar.css';import '../assets/label.css';import '../assets/panel.css';import '../assets/noPermission.css';import '../assets/button.css';import '../assets/gridlayout.css';/* empty css */
5
+ import "../gridlayout/GridCol.js";
6
+ import "../permissionValidations.js";
7
+ import { C as E } from "../chunks/tabs.BvKfeA6Y.js";
8
+ import "../inputs/errorMessage/index.js";
9
+ import "../icons/index.js";
10
+ import "../buttons/DefaultButton.js";
11
+ /* empty css */
12
+ import "../panel/helpers.js";
13
+ /* empty css */
14
+ /* empty css */
15
+ import "../toolbar/helpers.js";
16
+ import "../labels/DefaultLabel.js";
17
+ /* empty css */
18
+ /* empty css */
19
+ import "../list/helpers.js";
20
+ /* empty css */
21
+ /* empty css */
22
+ import "../popover/index.js";
23
+ import "../textContent/index.js";
24
+ import "../tabs/MenuTabs.js";
25
+ import "../chunks/lodash.CIAK_hAg.js";
26
+ import "../tabs/context.js";
27
+ import "../tabs/tabHelpers.js";
28
+ import "../chunks/index.aw0XaUkg.js";
29
+ import "../hint/index.js";
30
+ export {
31
+ E as default
32
+ };
@@ -0,0 +1,45 @@
1
+ import { ReactElement } from 'react';
2
+ import { PermissionAttr } from '../@types/PermissionAttr';
3
+ import { Position } from '../@types/Position';
4
+ export type ChangeEvent = {
5
+ checked: boolean;
6
+ id?: string;
7
+ name?: string;
8
+ value: boolean;
9
+ };
10
+ type Target = {
11
+ target: ChangeEvent;
12
+ };
13
+ export interface ICheckBoxProps {
14
+ id?: string;
15
+ label?: string;
16
+ disabled?: boolean;
17
+ defaultChecked?: boolean;
18
+ checked?: boolean;
19
+ required?: boolean;
20
+ value?: string | number;
21
+ name?: string;
22
+ onChange?: (event: Target) => void;
23
+ onClick?: () => void;
24
+ autoFocus?: boolean;
25
+ e?: {
26
+ target: Element;
27
+ } | undefined;
28
+ children?: ReactElement;
29
+ autofocus?: boolean;
30
+ hint?: string;
31
+ hintPosition?: 'below' | 'onLabelRight';
32
+ gridLayout?: string;
33
+ permissionAttr?: PermissionAttr | PermissionAttr[];
34
+ tooltip?: string;
35
+ tooltipPosition?: Exclude<Position, 'center'>;
36
+ tooltipWidth?: string | number;
37
+ skeletonize?: boolean;
38
+ targetRef?: (ref: HTMLInputElement | null) => void;
39
+ targetSpanRef?: (ref: HTMLSpanElement | null) => void;
40
+ errorMessages?: string[] | undefined;
41
+ customClassForLabel?: string;
42
+ themePopover?: 'light' | 'dark';
43
+ popoverAlign?: 'right' | 'left';
44
+ }
45
+ export {};
@@ -0,0 +1,54 @@
1
+ import p from "react";
2
+ var e = { exports: {} }, t = {};
3
+ /**
4
+ * @license React
5
+ * react-compiler-runtime.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var a;
13
+ function s() {
14
+ if (a) return t;
15
+ a = 1;
16
+ var o = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
17
+ return t.c = function(r) {
18
+ return o.H.useMemoCache(r);
19
+ }, t;
20
+ }
21
+ var n = {};
22
+ /**
23
+ * @license React
24
+ * react-compiler-runtime.development.js
25
+ *
26
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */
31
+ var u;
32
+ function m() {
33
+ return u || (u = 1, process.env.NODE_ENV !== "production" && (function() {
34
+ var o = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
35
+ n.c = function(r) {
36
+ var i = o.H;
37
+ return i === null && console.error(
38
+ `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
39
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
40
+ 2. You might be breaking the Rules of Hooks
41
+ 3. You might have more than one copy of React in the same app
42
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
43
+ ), i.useMemoCache(r);
44
+ };
45
+ })()), n;
46
+ }
47
+ var c;
48
+ function l() {
49
+ return c || (c = 1, process.env.NODE_ENV === "production" ? e.exports = s() : e.exports = m()), e.exports;
50
+ }
51
+ var _ = l();
52
+ export {
53
+ _ as c
54
+ };