linear-react-components-ui 0.4.77-beta.27 → 0.4.77-beta.29

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 (560) hide show
  1. package/.eslintrc.json +3 -76
  2. package/.husky/pre-commit +4 -0
  3. package/.vscode/settings.json +2 -2
  4. package/jest.config.js +3 -3
  5. package/lib/alerts/AlertContainer.js +19 -14
  6. package/lib/alerts/AlertProvider.js +9 -4
  7. package/lib/alerts/BaseAlert.js +8 -5
  8. package/lib/alerts/Message.js +40 -31
  9. package/lib/alerts/alert.spec.js +133 -0
  10. package/lib/alerts/helpers.js +5 -2
  11. package/lib/alerts/withAlert.js +2 -2
  12. package/lib/assets/styles/commons.scss +10 -0
  13. package/lib/assets/styles/dropdown.scss +36 -2
  14. package/lib/assets/styles/effects.scss +11 -0
  15. package/lib/assets/styles/list.scss +8 -0
  16. package/lib/assets/styles/table.scss +2 -7
  17. package/lib/avatar/avatar.spec.js +190 -0
  18. package/lib/avatar/index.js +58 -13
  19. package/lib/badge/badge.spec.js +127 -0
  20. package/lib/badge/index.js +22 -6
  21. package/lib/buttons/ActivateButton.js +3 -3
  22. package/lib/buttons/AddButton.js +1 -1
  23. package/lib/buttons/Button.js +11 -19
  24. package/lib/buttons/ButtonGroups.js +5 -0
  25. package/lib/buttons/CancelButton.js +3 -16
  26. package/lib/buttons/DangerButton.js +19 -14
  27. package/lib/buttons/DefaultButton.js +127 -65
  28. package/lib/buttons/DestroyButton.js +3 -12
  29. package/lib/buttons/EditButton.js +3 -3
  30. package/lib/buttons/InactivateButton.js +3 -3
  31. package/lib/buttons/InfoButton.js +19 -14
  32. package/lib/buttons/PrimaryButton.js +19 -14
  33. package/lib/buttons/RestoreButton.js +3 -3
  34. package/lib/buttons/SaveButton.js +2 -15
  35. package/lib/buttons/SpinnerLoading.js +230 -0
  36. package/lib/buttons/SuccessButton.js +18 -13
  37. package/lib/buttons/WarningButton.js +18 -13
  38. package/lib/buttons/button_container/index.js +18 -5
  39. package/lib/buttons/buttons.spec.js +504 -0
  40. package/lib/buttons/index.js +28 -28
  41. package/lib/buttons/split_button/index.js +30 -13
  42. package/lib/calendar/DangerCalendar.js +2 -11
  43. package/lib/calendar/InfoCalendar.js +2 -11
  44. package/lib/calendar/PrimaryCalendar.js +2 -11
  45. package/lib/calendar/SuccessCalendar.js +2 -11
  46. package/lib/calendar/WarningCalendar.js +2 -11
  47. package/lib/calendar/base/Day.js +8 -2
  48. package/lib/calendar/base/Month.js +5 -0
  49. package/lib/calendar/base/Week.js +6 -0
  50. package/lib/calendar/base/helpers.js +9 -9
  51. package/lib/calendar/base/index.js +36 -33
  52. package/lib/calendar/calendar.spec.js +171 -0
  53. package/lib/calendar/index.js +10 -10
  54. package/lib/checkbox/Label.js +12 -2
  55. package/lib/checkbox/checkbox.spec.js +215 -0
  56. package/lib/checkbox/index.js +79 -42
  57. package/lib/dialog/Alert.js +8 -3
  58. package/lib/dialog/Custom.js +25 -17
  59. package/lib/dialog/Error.js +6 -1
  60. package/lib/dialog/Information.js +6 -1
  61. package/lib/dialog/Question.js +17 -6
  62. package/lib/dialog/Warning.js +6 -1
  63. package/lib/dialog/base/Content.js +9 -0
  64. package/lib/dialog/base/Footer.js +8 -2
  65. package/lib/dialog/base/Header.js +22 -8
  66. package/lib/dialog/base/index.js +28 -6
  67. package/lib/dialog/dialog.spec.js +488 -0
  68. package/lib/dialog/form/index.js +32 -22
  69. package/lib/dialog/index.js +6 -6
  70. package/lib/drawer/Content.js +10 -1
  71. package/lib/drawer/Drawer.js +50 -29
  72. package/lib/drawer/Drawer.spec.js +258 -0
  73. package/lib/drawer/Header.js +31 -12
  74. package/lib/drawer/helpers.js +1 -1
  75. package/lib/drawer/index.js +4 -4
  76. package/lib/dropdown/Popup.js +16 -32
  77. package/lib/dropdown/dropdown.spec.js +169 -0
  78. package/lib/dropdown/helper.js +2 -2
  79. package/lib/dropdown/withDropdown.js +43 -18
  80. package/lib/fieldset/fieldset.spec.js +329 -0
  81. package/lib/fieldset/index.js +43 -12
  82. package/lib/form/Field.js +41 -14
  83. package/lib/form/FieldArray.js +50 -20
  84. package/lib/form/FieldNumber.js +44 -12
  85. package/lib/form/FieldPeriod.js +41 -19
  86. package/lib/form/form.spec.js +293 -0
  87. package/lib/form/helpers.js +16 -10
  88. package/lib/form/index.js +92 -57
  89. package/lib/form/withFieldHOC.js +120 -40
  90. package/lib/form/withFormSecurity.js +38 -17
  91. package/lib/gridlayout/GridCol.js +18 -3
  92. package/lib/gridlayout/GridRow.js +24 -4
  93. package/lib/gridlayout/gridLayout.spec.js +169 -0
  94. package/lib/icons/helper.js +571 -560
  95. package/lib/icons/icons.spec.js +86 -0
  96. package/lib/icons/index.js +40 -23
  97. package/lib/index.js +12 -12
  98. package/lib/inputs/base/InputTextBase.js +149 -40
  99. package/lib/inputs/base/base.spec.js +690 -0
  100. package/lib/inputs/base/helpers.js +4 -4
  101. package/lib/inputs/base/index.js +1 -0
  102. package/lib/inputs/color/color_input.spec.js +174 -0
  103. package/lib/inputs/color/index.js +29 -31
  104. package/lib/inputs/date/Dialog.js +8 -1
  105. package/lib/inputs/date/Dropdown.js +70 -18
  106. package/lib/inputs/date/date.spec.js +354 -0
  107. package/lib/inputs/date/helpers.js +1 -1
  108. package/lib/inputs/date/index.js +411 -255
  109. package/lib/inputs/inputHOC.js +96 -44
  110. package/lib/inputs/mask/BaseMask.js +45 -16
  111. package/lib/inputs/mask/Cnpj.js +19 -12
  112. package/lib/inputs/mask/Cpf.js +22 -14
  113. package/lib/inputs/mask/Phone.js +9 -1
  114. package/lib/inputs/mask/ZipCode.js +1 -1
  115. package/lib/inputs/mask/helpers.js +36 -21
  116. package/lib/inputs/mask/imaskHOC.js +255 -186
  117. package/lib/inputs/mask/index.js +4 -4
  118. package/lib/inputs/mask/input_mask.spec.js +607 -0
  119. package/lib/inputs/multiSelect/ActionButtons.js +14 -2
  120. package/lib/inputs/multiSelect/Dropdown.js +70 -43
  121. package/lib/inputs/multiSelect/index.js +80 -60
  122. package/lib/inputs/number/BaseNumber.js +62 -27
  123. package/lib/inputs/number/Currency.js +14 -4
  124. package/lib/inputs/number/format_number.js +1 -1
  125. package/lib/inputs/number/index.js +15 -9
  126. package/lib/inputs/number/numberfield.spec.js +215 -0
  127. package/lib/inputs/period/Dialog.js +8 -1
  128. package/lib/inputs/period/Dropdown.js +70 -16
  129. package/lib/inputs/period/PeriodList.js +19 -6
  130. package/lib/inputs/period/helper.js +71 -30
  131. package/lib/inputs/period/index.js +160 -112
  132. package/lib/inputs/search/index.js +261 -129
  133. package/lib/inputs/search/search_input.spec.js +209 -0
  134. package/lib/inputs/select/ActionButtons.js +20 -14
  135. package/lib/inputs/select/Dropdown.js +63 -30
  136. package/lib/inputs/select/helper.js +16 -18
  137. package/lib/inputs/select/index.js +13 -14
  138. package/lib/inputs/select/multiple/Selecteds.js +13 -5
  139. package/lib/inputs/select/multiple/index.js +414 -289
  140. package/lib/inputs/select/select.spec.js +395 -0
  141. package/lib/inputs/select/simple/index.js +461 -322
  142. package/lib/inputs/text/index.js +0 -1
  143. package/lib/inputs/text/textfield.spec.js +215 -0
  144. package/lib/inputs/textarea/index.js +15 -5
  145. package/lib/inputs/textarea/textarea.spec.js +59 -0
  146. package/lib/internals/constants.js +1 -1
  147. package/lib/internals/withTooltip.js +34 -26
  148. package/lib/labelMessages/index.js +45 -27
  149. package/lib/labelMessages/labelMessages.spec.js +176 -0
  150. package/lib/labels/DangerLabel.js +4 -13
  151. package/lib/labels/DefaultLabel.js +57 -25
  152. package/lib/labels/InfoLabel.js +4 -13
  153. package/lib/labels/PrimaryLabel.js +4 -13
  154. package/lib/labels/SuccessLabel.js +4 -13
  155. package/lib/labels/WarningLabel.js +4 -13
  156. package/lib/labels/index.js +10 -10
  157. package/lib/labels/label.spec.js +162 -0
  158. package/lib/labels/label_container/index.js +12 -2
  159. package/lib/list/Header.js +13 -0
  160. package/lib/list/Item.js +65 -27
  161. package/lib/list/helpers.js +2 -2
  162. package/lib/list/index.js +51 -31
  163. package/lib/list/list.spec.js +769 -0
  164. package/lib/menus/float/MenuItem.js +42 -10
  165. package/lib/menus/float/SubMenuContainer.js +95 -0
  166. package/lib/menus/float/float-menu.spec.js +221 -0
  167. package/lib/menus/float/helpers.js +1 -1
  168. package/lib/menus/float/index.js +39 -9
  169. package/lib/menus/sidenav/ExpandMenu.js +13 -1
  170. package/lib/menus/sidenav/MenuLink.js +14 -0
  171. package/lib/menus/sidenav/NavMenuGroup.js +12 -1
  172. package/lib/menus/sidenav/NavMenuItem.js +45 -19
  173. package/lib/menus/sidenav/NavSubMenuItem.js +15 -4
  174. package/lib/menus/sidenav/helpers.js +3 -3
  175. package/lib/menus/sidenav/index.js +60 -30
  176. package/lib/menus/sidenav/popup_menu_search/EmptyList.js +11 -2
  177. package/lib/menus/sidenav/popup_menu_search/index.js +11 -14
  178. package/lib/menus/sidenav/sidenav.spec.js +379 -0
  179. package/lib/panel/Content.js +18 -6
  180. package/lib/panel/DangerPanel.js +1 -1
  181. package/lib/panel/Default.js +45 -18
  182. package/lib/panel/Header.js +29 -7
  183. package/lib/panel/InfoPanel.js +1 -1
  184. package/lib/panel/PrimaryPanel.js +1 -1
  185. package/lib/panel/SuccessPanel.js +1 -1
  186. package/lib/panel/ToolBar.js +5 -0
  187. package/lib/panel/WarningPanel.js +1 -1
  188. package/lib/panel/helpers.js +3 -7
  189. package/lib/panel/index.js +14 -14
  190. package/lib/panel/panel.spec.js +216 -0
  191. package/lib/permissionValidations.js +12 -14
  192. package/lib/popover/PopoverText.js +5 -0
  193. package/lib/popover/PopoverTitle.js +5 -0
  194. package/lib/popover/index.js +40 -26
  195. package/lib/popover/popover.spec.js +146 -0
  196. package/lib/progress/Bar.js +47 -37
  197. package/lib/progress/index.js +18 -8
  198. package/lib/progress/progress.spec.js +94 -0
  199. package/lib/radio/index.js +46 -22
  200. package/lib/radio/radio.spec.js +189 -0
  201. package/lib/skeleton/SkeletonContainer.js +13 -0
  202. package/lib/skeleton/index.js +26 -7
  203. package/lib/spinner/SpinnerLoading.js +12 -4
  204. package/lib/spinner/index.js +29 -24
  205. package/lib/spinner/spinner.spec.js +152 -0
  206. package/lib/split/Split.js +62 -45
  207. package/lib/split/SplitSide.js +21 -1
  208. package/lib/split/helpers.js +1 -1
  209. package/lib/split/split.spec.js +163 -0
  210. package/lib/table/Body.js +16 -9
  211. package/lib/table/Header.js +19 -40
  212. package/lib/table/HeaderColumn.js +20 -6
  213. package/lib/table/Row.js +28 -7
  214. package/lib/table/RowColumn.js +30 -12
  215. package/lib/table/helpers.js +3 -3
  216. package/lib/table/index.js +53 -15
  217. package/lib/table/table.spec.js +352 -0
  218. package/lib/tabs/DropdownItems.js +53 -39
  219. package/lib/tabs/Menu.js +20 -16
  220. package/lib/tabs/MenuItems.js +39 -25
  221. package/lib/tabs/Panel.js +51 -18
  222. package/lib/tabs/index.js +75 -81
  223. package/lib/tabs/tabHelpers.js +8 -10
  224. package/lib/tabs/tabs.spec.js +321 -0
  225. package/lib/toolbar/ButtonBar.js +13 -32
  226. package/lib/toolbar/LabelBar.js +18 -31
  227. package/lib/toolbar/ToolBarGroup.js +12 -6
  228. package/lib/toolbar/helpers.js +1 -1
  229. package/lib/toolbar/index.js +33 -25
  230. package/lib/toolbar/toolbar.spec.js +394 -0
  231. package/lib/tooltip/index.js +34 -25
  232. package/lib/tooltip/tooltip.spec.js +215 -0
  233. package/lib/treeview/Header.js +12 -0
  234. package/lib/treeview/Node.js +387 -261
  235. package/lib/treeview/constants.js +2 -1
  236. package/lib/treeview/index.js +548 -363
  237. package/lib/treeview/treeview.spec.js +279 -0
  238. package/lib/treeview_old/Node.js +6 -6
  239. package/lib/uitour/helpers.js +1 -1
  240. package/lib/uitour/index.js +32 -15
  241. package/lib/uitour/uitour.spec.js +176 -0
  242. package/package.json +16 -40
  243. package/.husky/pre-push +0 -4
  244. package/babel.config.json +0 -11
  245. package/lib/@types/Align.d.ts +0 -3
  246. package/lib/@types/Align.js +0 -5
  247. package/lib/@types/ButtonTypes.d.ts +0 -3
  248. package/lib/@types/ButtonTypes.js +0 -5
  249. package/lib/@types/ColorStyles.d.ts +0 -3
  250. package/lib/@types/ColorStyles.js +0 -5
  251. package/lib/@types/DataCombo.d.ts +0 -3
  252. package/lib/@types/DataCombo.js +0 -5
  253. package/lib/@types/Icon.d.ts +0 -5
  254. package/lib/@types/Icon.js +0 -5
  255. package/lib/@types/LabelStyles.d.ts +0 -3
  256. package/lib/@types/LabelStyles.js +0 -5
  257. package/lib/@types/Period.d.ts +0 -6
  258. package/lib/@types/Period.js +0 -5
  259. package/lib/@types/PermissionAttr.d.ts +0 -14
  260. package/lib/@types/PermissionAttr.js +0 -5
  261. package/lib/@types/PointerEvents.d.ts +0 -3
  262. package/lib/@types/PointerEvents.js +0 -5
  263. package/lib/@types/Position.d.ts +0 -3
  264. package/lib/@types/Position.js +0 -5
  265. package/lib/@types/PositionAlert.d.ts +0 -3
  266. package/lib/@types/PositionAlert.js +0 -5
  267. package/lib/@types/Size.d.ts +0 -3
  268. package/lib/@types/Size.js +0 -5
  269. package/lib/@types/SizePixels.d.ts +0 -3
  270. package/lib/@types/SizePixels.js +0 -5
  271. package/lib/@types/StorageMock.d.ts +0 -5
  272. package/lib/@types/StorageMock.js +0 -5
  273. package/lib/alerts/AlertContainer.d.ts +0 -16
  274. package/lib/alerts/AlertProvider.d.ts +0 -7
  275. package/lib/alerts/BaseAlert.d.ts +0 -7
  276. package/lib/alerts/Message.d.ts +0 -7
  277. package/lib/alerts/helpers.d.ts +0 -7
  278. package/lib/alerts/index.d.ts +0 -6
  279. package/lib/alerts/types.d.ts +0 -48
  280. package/lib/alerts/types.js +0 -5
  281. package/lib/alerts/withAlert.d.ts +0 -7
  282. package/lib/avatar/index.d.ts +0 -12
  283. package/lib/avatar/types.d.ts +0 -31
  284. package/lib/avatar/types.js +0 -5
  285. package/lib/badge/index.d.ts +0 -6
  286. package/lib/badge/types.d.ts +0 -13
  287. package/lib/badge/types.js +0 -5
  288. package/lib/buttons/ActivateButton.d.ts +0 -9
  289. package/lib/buttons/AddButton.d.ts +0 -9
  290. package/lib/buttons/Button.d.ts +0 -12
  291. package/lib/buttons/ButtonGroups.d.ts +0 -8
  292. package/lib/buttons/CancelButton.d.ts +0 -9
  293. package/lib/buttons/DangerButton.d.ts +0 -9
  294. package/lib/buttons/DefaultButton.d.ts +0 -12
  295. package/lib/buttons/DestroyButton.d.ts +0 -9
  296. package/lib/buttons/EditButton.d.ts +0 -9
  297. package/lib/buttons/InactivateButton.d.ts +0 -9
  298. package/lib/buttons/InfoButton.d.ts +0 -9
  299. package/lib/buttons/PrimaryButton.d.ts +0 -9
  300. package/lib/buttons/RestoreButton.d.ts +0 -9
  301. package/lib/buttons/SaveButton.d.ts +0 -9
  302. package/lib/buttons/SuccessButton.d.ts +0 -9
  303. package/lib/buttons/WarningButton.d.ts +0 -9
  304. package/lib/buttons/button_container/index.d.ts +0 -12
  305. package/lib/buttons/index.d.ts +0 -21
  306. package/lib/buttons/split_button/index.d.ts +0 -9
  307. package/lib/buttons/types.d.ts +0 -44
  308. package/lib/buttons/types.js +0 -5
  309. package/lib/calendar/DangerCalendar.d.ts +0 -7
  310. package/lib/calendar/InfoCalendar.d.ts +0 -7
  311. package/lib/calendar/PrimaryCalendar.d.ts +0 -7
  312. package/lib/calendar/SuccessCalendar.d.ts +0 -7
  313. package/lib/calendar/WarningCalendar.d.ts +0 -7
  314. package/lib/calendar/base/Day.d.ts +0 -7
  315. package/lib/calendar/base/Month.d.ts +0 -7
  316. package/lib/calendar/base/Week.d.ts +0 -7
  317. package/lib/calendar/base/helpers.d.ts +0 -62
  318. package/lib/calendar/base/index.d.ts +0 -7
  319. package/lib/calendar/index.d.ts +0 -10
  320. package/lib/calendar/types.d.ts +0 -25
  321. package/lib/calendar/types.js +0 -5
  322. package/lib/checkbox/Label.d.ts +0 -11
  323. package/lib/checkbox/index.d.ts +0 -13
  324. package/lib/checkbox/types.d.ts +0 -42
  325. package/lib/checkbox/types.js +0 -5
  326. package/lib/dialog/Alert.d.ts +0 -6
  327. package/lib/dialog/Custom.d.ts +0 -6
  328. package/lib/dialog/Error.d.ts +0 -6
  329. package/lib/dialog/Information.d.ts +0 -6
  330. package/lib/dialog/Question.d.ts +0 -6
  331. package/lib/dialog/Warning.d.ts +0 -6
  332. package/lib/dialog/base/Content.d.ts +0 -6
  333. package/lib/dialog/base/Footer.d.ts +0 -6
  334. package/lib/dialog/base/Header.d.ts +0 -6
  335. package/lib/dialog/base/index.d.ts +0 -6
  336. package/lib/dialog/form/index.d.ts +0 -6
  337. package/lib/dialog/index.d.ts +0 -10
  338. package/lib/dialog/types.d.ts +0 -68
  339. package/lib/dialog/types.js +0 -5
  340. package/lib/drawer/Content.d.ts +0 -7
  341. package/lib/drawer/Drawer.d.ts +0 -7
  342. package/lib/drawer/Header.d.ts +0 -7
  343. package/lib/drawer/helpers.d.ts +0 -7
  344. package/lib/drawer/index.d.ts +0 -9
  345. package/lib/drawer/types.d.ts +0 -34
  346. package/lib/drawer/types.js +0 -5
  347. package/lib/dropdown/Popup.d.ts +0 -6
  348. package/lib/dropdown/helper.d.ts +0 -4
  349. package/lib/dropdown/types.d.ts +0 -43
  350. package/lib/dropdown/types.js +0 -5
  351. package/lib/dropdown/withDropdown.d.ts +0 -10
  352. package/lib/fieldset/index.d.ts +0 -8
  353. package/lib/fieldset/types.d.ts +0 -28
  354. package/lib/fieldset/types.js +0 -5
  355. package/lib/form/Field.d.ts +0 -6
  356. package/lib/form/FieldArray.d.ts +0 -6
  357. package/lib/form/FieldNumber.d.ts +0 -6
  358. package/lib/form/FieldPeriod.d.ts +0 -6
  359. package/lib/form/helpers.d.ts +0 -11
  360. package/lib/form/index.d.ts +0 -9
  361. package/lib/form/types.d.ts +0 -168
  362. package/lib/form/types.js +0 -5
  363. package/lib/form/withFieldHOC.d.ts +0 -6
  364. package/lib/form/withFormSecurity.d.ts +0 -7
  365. package/lib/gridlayout/GridCol.d.ts +0 -6
  366. package/lib/gridlayout/GridRow.d.ts +0 -6
  367. package/lib/gridlayout/index.d.ts +0 -5
  368. package/lib/gridlayout/types.d.ts +0 -20
  369. package/lib/gridlayout/types.js +0 -5
  370. package/lib/icons/helper.d.ts +0 -560
  371. package/lib/icons/index.d.ts +0 -8
  372. package/lib/icons/types.d.ts +0 -28
  373. package/lib/icons/types.js +0 -5
  374. package/lib/index.d.ts +0 -35
  375. package/lib/inputs/base/InputTextBase.d.ts +0 -8
  376. package/lib/inputs/base/helpers.d.ts +0 -14
  377. package/lib/inputs/base/types.d.ts +0 -68
  378. package/lib/inputs/base/types.js +0 -5
  379. package/lib/inputs/color/index.d.ts +0 -7
  380. package/lib/inputs/color/types.d.ts +0 -14
  381. package/lib/inputs/color/types.js +0 -5
  382. package/lib/inputs/date/Dialog.d.ts +0 -10
  383. package/lib/inputs/date/Dropdown.d.ts +0 -10
  384. package/lib/inputs/date/helpers.d.ts +0 -14
  385. package/lib/inputs/date/index.d.ts +0 -10
  386. package/lib/inputs/date/types.d.ts +0 -53
  387. package/lib/inputs/date/types.js +0 -5
  388. package/lib/inputs/inputHOC.d.ts +0 -11
  389. package/lib/inputs/mask/BaseMask.d.ts +0 -12
  390. package/lib/inputs/mask/Cnpj.d.ts +0 -12
  391. package/lib/inputs/mask/Cpf.d.ts +0 -12
  392. package/lib/inputs/mask/Phone.d.ts +0 -9
  393. package/lib/inputs/mask/ZipCode.d.ts +0 -9
  394. package/lib/inputs/mask/helpers.d.ts +0 -14
  395. package/lib/inputs/mask/imaskHOC.d.ts +0 -14
  396. package/lib/inputs/mask/index.d.ts +0 -11
  397. package/lib/inputs/mask/types.d.ts +0 -66
  398. package/lib/inputs/mask/types.js +0 -5
  399. package/lib/inputs/multiSelect/ActionButtons.d.ts +0 -10
  400. package/lib/inputs/multiSelect/Dropdown.d.ts +0 -10
  401. package/lib/inputs/multiSelect/helper.d.ts +0 -9
  402. package/lib/inputs/multiSelect/index.d.ts +0 -10
  403. package/lib/inputs/multiSelect/types.d.ts +0 -49
  404. package/lib/inputs/multiSelect/types.js +0 -5
  405. package/lib/inputs/number/BaseNumber.d.ts +0 -12
  406. package/lib/inputs/number/Currency.d.ts +0 -12
  407. package/lib/inputs/number/Decimal.d.ts +0 -12
  408. package/lib/inputs/number/format_number.d.ts +0 -4
  409. package/lib/inputs/number/index.d.ts +0 -14
  410. package/lib/inputs/number/types.d.ts +0 -30
  411. package/lib/inputs/number/types.js +0 -5
  412. package/lib/inputs/period/Dialog.d.ts +0 -11
  413. package/lib/inputs/period/Dropdown.d.ts +0 -11
  414. package/lib/inputs/period/PeriodList.d.ts +0 -11
  415. package/lib/inputs/period/helper.d.ts +0 -19
  416. package/lib/inputs/period/index.d.ts +0 -11
  417. package/lib/inputs/period/types.d.ts +0 -58
  418. package/lib/inputs/period/types.js +0 -5
  419. package/lib/inputs/search/index.d.ts +0 -11
  420. package/lib/inputs/select/ActionButtons.d.ts +0 -11
  421. package/lib/inputs/select/Dropdown.d.ts +0 -11
  422. package/lib/inputs/select/helper.d.ts +0 -25
  423. package/lib/inputs/select/index.d.ts +0 -10
  424. package/lib/inputs/select/multiple/Selecteds.d.ts +0 -10
  425. package/lib/inputs/select/multiple/index.d.ts +0 -10
  426. package/lib/inputs/select/simple/index.d.ts +0 -10
  427. package/lib/inputs/select/types.d.ts +0 -98
  428. package/lib/inputs/select/types.js +0 -5
  429. package/lib/inputs/text/index.d.ts +0 -11
  430. package/lib/inputs/text/types.d.ts +0 -25
  431. package/lib/inputs/text/types.js +0 -5
  432. package/lib/inputs/textarea/index.d.ts +0 -9
  433. package/lib/inputs/textarea/types.d.ts +0 -13
  434. package/lib/inputs/textarea/types.js +0 -5
  435. package/lib/inputs/types.d.ts +0 -146
  436. package/lib/inputs/types.js +0 -5
  437. package/lib/internals/colorStyles.d.ts +0 -9
  438. package/lib/internals/constants.d.ts +0 -11
  439. package/lib/internals/types.d.ts +0 -21
  440. package/lib/internals/types.js +0 -5
  441. package/lib/internals/withTooltip.d.ts +0 -11
  442. package/lib/labelMessages/index.d.ts +0 -7
  443. package/lib/labelMessages/types.d.ts +0 -18
  444. package/lib/labelMessages/types.js +0 -5
  445. package/lib/labels/DangerLabel.d.ts +0 -9
  446. package/lib/labels/DefaultLabel.d.ts +0 -12
  447. package/lib/labels/InfoLabel.d.ts +0 -9
  448. package/lib/labels/PrimaryLabel.d.ts +0 -9
  449. package/lib/labels/SuccessLabel.d.ts +0 -9
  450. package/lib/labels/WarningLabel.d.ts +0 -9
  451. package/lib/labels/index.d.ts +0 -13
  452. package/lib/labels/label_container/index.d.ts +0 -12
  453. package/lib/labels/types.d.ts +0 -24
  454. package/lib/labels/types.js +0 -5
  455. package/lib/list/Header.d.ts +0 -7
  456. package/lib/list/Item.d.ts +0 -7
  457. package/lib/list/Separator.d.ts +0 -3
  458. package/lib/list/helpers.d.ts +0 -12
  459. package/lib/list/index.d.ts +0 -10
  460. package/lib/list/types.d.ts +0 -64
  461. package/lib/list/types.js +0 -5
  462. package/lib/menus/float/MenuItem.d.ts +0 -7
  463. package/lib/menus/float/helpers.d.ts +0 -7
  464. package/lib/menus/float/index.d.ts +0 -8
  465. package/lib/menus/float/types.d.ts +0 -27
  466. package/lib/menus/float/types.js +0 -5
  467. package/lib/menus/index.d.ts +0 -6
  468. package/lib/menus/sidenav/ExpandMenu.d.ts +0 -10
  469. package/lib/menus/sidenav/MenuLink.d.ts +0 -13
  470. package/lib/menus/sidenav/NavMenuGroup.d.ts +0 -10
  471. package/lib/menus/sidenav/NavMenuItem.d.ts +0 -13
  472. package/lib/menus/sidenav/NavSubMenuItem.d.ts +0 -10
  473. package/lib/menus/sidenav/helpers.d.ts +0 -12
  474. package/lib/menus/sidenav/index.d.ts +0 -14
  475. package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +0 -10
  476. package/lib/menus/sidenav/popup_menu_search/index.d.ts +0 -10
  477. package/lib/menus/sidenav/types.d.ts +0 -82
  478. package/lib/menus/sidenav/types.js +0 -5
  479. package/lib/noPermission/index.d.ts +0 -3
  480. package/lib/panel/Content.d.ts +0 -8
  481. package/lib/panel/DangerPanel.d.ts +0 -8
  482. package/lib/panel/Default.d.ts +0 -8
  483. package/lib/panel/Header.d.ts +0 -8
  484. package/lib/panel/InfoPanel.d.ts +0 -8
  485. package/lib/panel/PrimaryPanel.d.ts +0 -8
  486. package/lib/panel/SuccessPanel.d.ts +0 -8
  487. package/lib/panel/ToolBar.d.ts +0 -8
  488. package/lib/panel/WarningPanel.d.ts +0 -8
  489. package/lib/panel/helpers.d.ts +0 -4
  490. package/lib/panel/index.d.ts +0 -13
  491. package/lib/panel/types.d.ts +0 -4
  492. package/lib/panel/types.js +0 -5
  493. package/lib/permissionValidations.d.ts +0 -14
  494. package/lib/popover/PopoverText.d.ts +0 -8
  495. package/lib/popover/PopoverTitle.d.ts +0 -8
  496. package/lib/popover/index.d.ts +0 -13
  497. package/lib/popover/types.d.ts +0 -21
  498. package/lib/popover/types.js +0 -5
  499. package/lib/progress/Bar.d.ts +0 -6
  500. package/lib/progress/index.d.ts +0 -7
  501. package/lib/progress/types.d.ts +0 -37
  502. package/lib/progress/types.js +0 -5
  503. package/lib/radio/index.d.ts +0 -12
  504. package/lib/radio/types.d.ts +0 -18
  505. package/lib/radio/types.js +0 -5
  506. package/lib/skeleton/SkeletonContainer.d.ts +0 -7
  507. package/lib/skeleton/index.d.ts +0 -8
  508. package/lib/skeleton/types.d.ts +0 -21
  509. package/lib/skeleton/types.js +0 -5
  510. package/lib/spinner/SpinnerLoading.d.ts +0 -7
  511. package/lib/spinner/index.d.ts +0 -7
  512. package/lib/spinner/types.d.ts +0 -20
  513. package/lib/spinner/types.js +0 -5
  514. package/lib/split/Split.d.ts +0 -6
  515. package/lib/split/SplitSide.d.ts +0 -6
  516. package/lib/split/helpers.d.ts +0 -10
  517. package/lib/split/index.d.ts +0 -5
  518. package/lib/split/types.d.ts +0 -34
  519. package/lib/split/types.js +0 -5
  520. package/lib/table/Body.d.ts +0 -6
  521. package/lib/table/Header.d.ts +0 -6
  522. package/lib/table/HeaderColumn.d.ts +0 -6
  523. package/lib/table/Row.d.ts +0 -6
  524. package/lib/table/RowColumn.d.ts +0 -6
  525. package/lib/table/helpers.d.ts +0 -8
  526. package/lib/table/index.d.ts +0 -11
  527. package/lib/table/types.d.ts +0 -84
  528. package/lib/table/types.js +0 -5
  529. package/lib/tabs/DropdownItems.d.ts +0 -9
  530. package/lib/tabs/Menu.d.ts +0 -9
  531. package/lib/tabs/MenuItems.d.ts +0 -9
  532. package/lib/tabs/Panel.d.ts +0 -9
  533. package/lib/tabs/index.d.ts +0 -10
  534. package/lib/tabs/tabHelpers.d.ts +0 -21
  535. package/lib/tabs/types.d.ts +0 -63
  536. package/lib/tabs/types.js +0 -5
  537. package/lib/toolbar/ButtonBar.d.ts +0 -10
  538. package/lib/toolbar/LabelBar.d.ts +0 -10
  539. package/lib/toolbar/Separator.d.ts +0 -3
  540. package/lib/toolbar/ToolBarGroup.d.ts +0 -10
  541. package/lib/toolbar/helpers.d.ts +0 -10
  542. package/lib/toolbar/index.d.ts +0 -14
  543. package/lib/toolbar/types.d.ts +0 -43
  544. package/lib/toolbar/types.js +0 -5
  545. package/lib/tooltip/index.d.ts +0 -6
  546. package/lib/tooltip/types.d.ts +0 -16
  547. package/lib/tooltip/types.js +0 -5
  548. package/lib/treeview/Header.d.ts +0 -7
  549. package/lib/treeview/Node.d.ts +0 -7
  550. package/lib/treeview/constants.d.ts +0 -7
  551. package/lib/treeview/index.d.ts +0 -9
  552. package/lib/treeview/types.d.ts +0 -104
  553. package/lib/treeview/types.js +0 -5
  554. package/lib/types-3c6f1c20.d.ts +0 -46
  555. package/lib/uitour/helpers.d.ts +0 -8
  556. package/lib/uitour/index.d.ts +0 -6
  557. package/lib/uitour/types.d.ts +0 -30
  558. package/lib/uitour/types.js +0 -5
  559. package/tsconfig.json +0 -32
  560. package/tsup.config.ts +0 -10
@@ -1,19 +0,0 @@
1
- import { Moment } from 'moment';
2
- import { DateTypes } from './types.js';
3
- import 'react';
4
- import '../../@types/ColorStyles.js';
5
- import '../../@types/Period.js';
6
- import '../../@types/PermissionAttr.js';
7
- import '../base/types.js';
8
-
9
- declare const getCalendarDropdownStyle: ({ topPosition, leftPosition, width }: {
10
- topPosition: number | string;
11
- leftPosition: number | string;
12
- width: number | string;
13
- }) => string;
14
-
15
- declare const getDropdownItemCssClass: (selected?: boolean, disabled?: boolean, striped?: boolean) => string;
16
- declare const CalcDatesByPeriod: (dateType: DateTypes) => Moment[];
17
- declare const isDateValid: (date: Moment) => boolean;
18
-
19
- export { CalcDatesByPeriod, getCalendarDropdownStyle as default, getDropdownItemCssClass, isDateValid };
@@ -1,11 +0,0 @@
1
- import { IPeriodPickerProps } from './types.js';
2
- import 'moment';
3
- import 'react';
4
- import '../../@types/ColorStyles.js';
5
- import '../../@types/Period.js';
6
- import '../../@types/PermissionAttr.js';
7
- import '../base/types.js';
8
-
9
- declare const PeriodPicker: (props: IPeriodPickerProps) => JSX.Element | null;
10
-
11
- export { PeriodPicker as default };
@@ -1,58 +0,0 @@
1
- import { Moment } from 'moment';
2
- import { ReactNode } from 'react';
3
- import { ColorStyles } from '../../@types/ColorStyles.js';
4
- import { Period } from '../../@types/Period.js';
5
- import { PermissionAttr } from '../../@types/PermissionAttr.js';
6
- import { CustomInputEvent } from '../base/types.js';
7
-
8
- declare type DateTypes = 'today' | 'week' | 'lastweek' | 'last15' | 'month' | 'lastmonth';
9
- interface IPeriodOptions {
10
- id: DateTypes | 'custom';
11
- label?: string;
12
- }
13
- interface IDialogProps {
14
- children: ReactNode | ReactNode[];
15
- handlerClose: () => void;
16
- dialogSize: {
17
- width: string;
18
- height: string;
19
- };
20
- }
21
- interface IPeriodDropdownProps {
22
- topPosition: number | string;
23
- leftPosition: number | string;
24
- width: number | string;
25
- children: JSX.Element | JSX.Element[];
26
- dropdownRef: (el: HTMLElement) => void;
27
- targetElement?: HTMLDivElement | HTMLInputElement | null;
28
- }
29
- interface IPeriodPickerProps {
30
- label?: string;
31
- value?: {
32
- valueInitial?: Moment | string;
33
- valueFinal?: Moment | string;
34
- };
35
- customClassForLabel?: string;
36
- labelUppercase?: boolean;
37
- showButtonOpen?: boolean;
38
- shouldCloseOnSelect?: boolean;
39
- openOnFocus?: boolean;
40
- showCalendarInDialog?: boolean;
41
- dialogSize?: {
42
- width: string;
43
- height: string;
44
- };
45
- calendarColorStyle?: ColorStyles;
46
- required?: boolean;
47
- onChange?: (event?: CustomInputEvent, maskValue?: string, date?: Period) => void;
48
- disabled?: boolean;
49
- permissionAttr?: PermissionAttr;
50
- errorMessages?: string[];
51
- name?: string;
52
- }
53
- interface IPeriodListProps {
54
- handleOnSelect: (value: DateTypes | 'custom', date: Moment[] | null) => void;
55
- selected?: string;
56
- }
57
-
58
- export { DateTypes, IDialogProps, IPeriodDropdownProps, IPeriodListProps, IPeriodOptions, IPeriodPickerProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,11 +0,0 @@
1
- import { ISearchProps } from '../types.js';
2
- import 'react';
3
- import '../../@types/PermissionAttr.js';
4
- import '../../@types/DataCombo.js';
5
- import '../select/types.js';
6
- import '../base/types.js';
7
- import '../../@types/Period.js';
8
-
9
- declare const SearchField: (props: ISearchProps) => JSX.Element | null;
10
-
11
- export { SearchField as default };
@@ -1,11 +0,0 @@
1
- import { IActionButtonsSelectProps } from '../types.js';
2
- import 'react';
3
- import '../../@types/PermissionAttr.js';
4
- import '../../@types/DataCombo.js';
5
- import './types.js';
6
- import '../base/types.js';
7
- import '../../@types/Period.js';
8
-
9
- declare const ActionButtons: (props: IActionButtonsSelectProps) => JSX.Element;
10
-
11
- export { ActionButtons as default };
@@ -1,11 +0,0 @@
1
- import { IDropdownSelectProps } from '../types.js';
2
- import 'react';
3
- import '../../@types/PermissionAttr.js';
4
- import '../../@types/DataCombo.js';
5
- import './types.js';
6
- import '../base/types.js';
7
- import '../../@types/Period.js';
8
-
9
- declare const Dropdown: (props: IDropdownSelectProps) => JSX.Element;
10
-
11
- export { Dropdown as default };
@@ -1,25 +0,0 @@
1
- import { DataCombo } from '../../@types/DataCombo.js';
2
- import { IDropdownSelectProps } from '../types.js';
3
- import 'react';
4
- import '../../@types/PermissionAttr.js';
5
- import './types.js';
6
- import '../base/types.js';
7
- import '../../@types/Period.js';
8
-
9
- declare const contentClass: (props: IDropdownSelectProps) => string;
10
- declare const getDropdownItemCssClass: (selected: boolean, disabled: boolean, striped: boolean) => string;
11
- interface GetFilteredParams {
12
- dataSource: DataCombo[];
13
- descriptionKey: string;
14
- inputText: string;
15
- currents: DataCombo[];
16
- }
17
- declare const getFilteredSimpleDataCombo: ({ dataSource, descriptionKey, inputText, }: Omit<GetFilteredParams, 'currents'>) => any[];
18
- declare const getFilteredMultipleDataCombo: ({ dataSource, inputText, descriptionKey, currents, }: GetFilteredParams) => any[];
19
- declare const returnDropdownDynamicStyles: ({ selectFieldRef, dropdownMaxHeight, dropdownRef }: IDropdownSelectProps) => {
20
- maxHeight: number;
21
- top: number;
22
- left: number;
23
- };
24
-
25
- export { contentClass, getDropdownItemCssClass, getFilteredMultipleDataCombo, getFilteredSimpleDataCombo, returnDropdownDynamicStyles };
@@ -1,10 +0,0 @@
1
- import { ISelectFieldProps } from './types.js';
2
- import 'react';
3
- import '../../@types/DataCombo.js';
4
- import '../../@types/PermissionAttr.js';
5
- import '../base/types.js';
6
- import '../../@types/Period.js';
7
-
8
- declare const SelectField: (props: ISelectFieldProps) => JSX.Element;
9
-
10
- export { SelectField as default };
@@ -1,10 +0,0 @@
1
- import { ISelectedsMultipleProps } from '../types.js';
2
- import 'react';
3
- import '../../../@types/DataCombo.js';
4
- import '../../../@types/PermissionAttr.js';
5
- import '../../base/types.js';
6
- import '../../../@types/Period.js';
7
-
8
- declare const Selecteds: ({ currents, descriptionKey, idKey, handleOnUnselect, }: ISelectedsMultipleProps) => JSX.Element;
9
-
10
- export { Selecteds as default };
@@ -1,10 +0,0 @@
1
- import { IMultipleSelectProps } from '../types.js';
2
- import 'react';
3
- import '../../../@types/DataCombo.js';
4
- import '../../../@types/PermissionAttr.js';
5
- import '../../base/types.js';
6
- import '../../../@types/Period.js';
7
-
8
- declare const MultipleSelect: (props: IMultipleSelectProps) => JSX.Element;
9
-
10
- export { MultipleSelect as default };
@@ -1,10 +0,0 @@
1
- import { ISimpleSelectProps } from '../types.js';
2
- import 'react';
3
- import '../../../@types/DataCombo.js';
4
- import '../../../@types/PermissionAttr.js';
5
- import '../../base/types.js';
6
- import '../../../@types/Period.js';
7
-
8
- declare const SimpleSelect: (props: ISimpleSelectProps) => JSX.Element;
9
-
10
- export { SimpleSelect as default };
@@ -1,98 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { DataCombo } from '../../@types/DataCombo.js';
3
- import { PermissionAttr } from '../../@types/PermissionAttr.js';
4
- import { CustomInputEvent } from '../base/types.js';
5
- import '../../@types/Period.js';
6
-
7
- interface ISimpleSelectProps {
8
- idKey: string;
9
- descriptionKey: string;
10
- dataSource?: DataCombo[];
11
- id?: string;
12
- label?: string;
13
- placeHolder?: string;
14
- hint?: string;
15
- value?: string | number | boolean | number[];
16
- textAlign?: string;
17
- errorMessages?: string[];
18
- showClearButton?: boolean;
19
- searchOnDropdown?: boolean;
20
- searchNotFoundText?: string;
21
- onChange?: (e: CustomInputEvent) => void;
22
- undigitable?: boolean;
23
- name?: string;
24
- selectFirstOnEnter?: boolean;
25
- openDropdownOnFocus?: boolean;
26
- onSearch?: (value: string) => void;
27
- remoteSearch?: boolean;
28
- onBlur?: (e: CustomInputEvent) => void;
29
- onClick?: () => void;
30
- disabled?: boolean;
31
- readOnly?: boolean;
32
- gridLayout?: string;
33
- inputText?: string;
34
- striped?: boolean | false;
35
- permissionAttr?: PermissionAttr;
36
- maxLength?: number;
37
- dropdownMaxHeight?: number;
38
- multiple?: boolean;
39
- rounded?: boolean;
40
- required?: boolean;
41
- autoFocus?: boolean;
42
- onFocus?: () => void;
43
- allOptions?: {
44
- idValue: number | null;
45
- label: string;
46
- };
47
- }
48
- interface ISelectFieldProps extends Omit<ISimpleSelectProps, 'idKey' | 'descriptionKey'> {
49
- multiple?: boolean;
50
- gridLayout?: string;
51
- descriptionKey?: string;
52
- idKey?: string;
53
- dataSource?: DataCombo[];
54
- showClearButton?: boolean;
55
- searchOnDropdown?: boolean;
56
- searchNotFoundText?: string;
57
- inputText?: string | '';
58
- striped?: boolean | false;
59
- readOnly?: boolean;
60
- undigitable?: boolean;
61
- rounded?: boolean;
62
- selectFirstOnEnter?: boolean;
63
- remoteSearch?: boolean;
64
- openDropdownOnFocus?: boolean;
65
- autoFocus?: boolean;
66
- disabled?: boolean;
67
- required?: boolean;
68
- }
69
- interface IMultipleSelectProps extends Omit<ISimpleSelectProps, 'idKey' | 'value' | 'descriptionKey'> {
70
- descriptionKey: string;
71
- idKey: string;
72
- dataSource: DataCombo[];
73
- searchNotFoundText?: string;
74
- searchOnDropdown?: boolean;
75
- value?: number[] | string[];
76
- showClearButton?: boolean;
77
- readOnly?: boolean;
78
- onSearch?: (value: string) => void;
79
- onSelect?: (data?: string | string[]) => DataCombo;
80
- remoteSearch?: boolean;
81
- onBlur?: (e: CustomInputEvent) => void;
82
- handlerClear?: () => void;
83
- disabled?: boolean;
84
- gridLayout?: string;
85
- }
86
- interface ISelectedsMultipleProps {
87
- idKey: string;
88
- descriptionKey: string;
89
- currents: DataCombo[];
90
- handleOnUnselect: (id: string) => void;
91
- }
92
- interface IAdvancedFilterProps {
93
- onStateChange?: (bol?: boolean) => void;
94
- headerTitle?: string;
95
- content?: ReactNode | ReactNode[];
96
- }
97
-
98
- export { IAdvancedFilterProps, IMultipleSelectProps, ISelectFieldProps, ISelectedsMultipleProps, ISimpleSelectProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,11 +0,0 @@
1
- import { ITextField } from './types.js';
2
- import '../../@types/Period.js';
3
- import '../../@types/PermissionAttr.js';
4
- import '../base/types.js';
5
- import 'react';
6
- import '../../internals/types.js';
7
- import '../../@types/Position.js';
8
-
9
- declare const TextField: (props: ITextField) => JSX.Element;
10
-
11
- export { TextField as default };
@@ -1,25 +0,0 @@
1
- import { Period } from '../../@types/Period.js';
2
- import { PermissionAttr } from '../../@types/PermissionAttr.js';
3
- import { IBaseProps, CustomInputEvent } from '../base/types.js';
4
- import { WithTooltipProps } from '../../internals/types.js';
5
- import 'react';
6
- import '../../@types/Position.js';
7
-
8
- declare type CommonProperties = Pick<WithTooltipProps, 'tooltip' | 'tooltipPosition' | 'tooltipWidth'>;
9
- interface ITextField extends IBaseProps, CommonProperties {
10
- value?: string | string[];
11
- required?: boolean;
12
- name?: string;
13
- label?: string | string[];
14
- onChange?: (e?: CustomInputEvent, maskValue?: string, date?: {
15
- initial: string;
16
- final: string;
17
- }, period?: Period) => void;
18
- leftElements?: JSX.Element | JSX.Element[];
19
- rightElements?: JSX.Element | JSX.Element[];
20
- permissionAttr?: PermissionAttr;
21
- textAlign?: string;
22
- gridLayout?: string;
23
- }
24
-
25
- export { ITextField };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,9 +0,0 @@
1
- import { ITextAreaProps } from './types.js';
2
- import '../base/types.js';
3
- import 'react';
4
- import '../../@types/Period.js';
5
- import '../../@types/PermissionAttr.js';
6
-
7
- declare const TextArea: (props: ITextAreaProps) => JSX.Element;
8
-
9
- export { TextArea as default };
@@ -1,13 +0,0 @@
1
- import { IBaseProps } from '../base/types.js';
2
- import 'react';
3
- import '../../@types/Period.js';
4
- import '../../@types/PermissionAttr.js';
5
-
6
- interface ITextAreaProps extends IBaseProps {
7
- rows?: number;
8
- cols?: number;
9
- customClass?: string;
10
- type?: string;
11
- }
12
-
13
- export { ITextAreaProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,146 +0,0 @@
1
- import { MouseEvent, MutableRefObject, CSSProperties, ReactNode, KeyboardEvent, ReactElement } from 'react';
2
- import { PermissionAttr, OnDenied } from '../@types/PermissionAttr.js';
3
- import { DataCombo } from '../@types/DataCombo.js';
4
- import { IAdvancedFilterProps } from './select/types.js';
5
- import { IBaseProps, CustomInputEvent } from './base/types.js';
6
- import '../@types/Period.js';
7
-
8
- interface ISearchProps extends IBaseProps {
9
- resetButton?: boolean;
10
- onReset?: (event?: CustomInputEvent) => void;
11
- onChange?: (event?: CustomInputEvent) => void;
12
- onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
13
- textAlign?: string;
14
- disabled?: boolean;
15
- readOnly?: boolean;
16
- value?: string;
17
- placeHolder?: string;
18
- permissionAttr?: PermissionAttr;
19
- advancedFilterProps?: IAdvancedFilterProps;
20
- rounded?: boolean;
21
- inputRef?: MutableRefObject<HTMLInputElement | HTMLTextAreaElement | null>;
22
- style?: CSSProperties;
23
- }
24
- interface IDropdownProps {
25
- children: ReactNode | ReactNode[];
26
- dropdownRef: (el: HTMLDivElement) => void;
27
- topPosition: number | string;
28
- leftPosition: number | string;
29
- width: number | string;
30
- }
31
- interface IInputHOCProps {
32
- value?: string | string[];
33
- required?: boolean;
34
- gridLayout?: string;
35
- visible?: boolean;
36
- rows?: number;
37
- cols?: number;
38
- type?: string;
39
- }
40
- interface IMaskHOCProps {
41
- label?: string;
42
- value?: string;
43
- unmask?: boolean;
44
- name?: string;
45
- commit?: () => void;
46
- onChange?: (event: CustomInputEvent, maskValue?: string, date?: string | {
47
- initial: string;
48
- final: string;
49
- }) => void;
50
- onFocus?: (e: CustomInputEvent) => void;
51
- onComplete?: (e: CustomInputEvent, maskValue?: string, date?: string) => void;
52
- inputRef?: MutableRefObject<HTMLInputElement | HTMLTextAreaElement | null> | ((ref: HTMLInputElement | HTMLTextAreaElement | null) => void);
53
- placeholderChar?: string;
54
- lazy?: boolean;
55
- definitions?: object;
56
- groups?: object;
57
- pattern?: string;
58
- format?: () => void;
59
- parse?: () => void;
60
- radix?: string;
61
- thousandsSeparator?: string;
62
- mapToRadix?: string[];
63
- scale?: number;
64
- signed?: boolean;
65
- normalizeZeros?: boolean;
66
- padFractionalZeros?: boolean;
67
- min?: number;
68
- max?: number;
69
- dispatch?: () => void;
70
- permissionAttr?: PermissionAttr;
71
- handlerSetOnDenied?: (onDeniedValue: OnDenied) => void;
72
- isNumeric?: boolean;
73
- required?: boolean;
74
- onKeyDown?: (e: KeyboardEvent<Element>) => void;
75
- rightElements?: JSX.Element | JSX.Element[];
76
- labelUppercase?: boolean;
77
- readOnly?: boolean;
78
- disabled?: boolean;
79
- gridLayout?: string;
80
- placeHolder?: string;
81
- customClass?: string;
82
- customClassForInputContent?: string;
83
- customClassForLabel?: string;
84
- textAlign?: string;
85
- onBlur?: (e: {
86
- target: {
87
- value: string;
88
- name?: string;
89
- };
90
- }) => void;
91
- leftElements?: JSX.Element | JSX.Element[];
92
- rounded?: boolean;
93
- errorMessages?: string[];
94
- skeletonize?: boolean;
95
- mask?: string | NumberConstructor;
96
- }
97
- interface IDropdownSelectProps {
98
- idKey: string;
99
- descriptionKey: string;
100
- dropdownWidth: number;
101
- showClearButton?: boolean;
102
- handleOnSelect: (item?: DataCombo) => void;
103
- handleOnFilter: (value: string) => void;
104
- handleOnKeydown: (e: KeyboardEvent<Element>) => void;
105
- handleOnBlur: (item: DataCombo) => void;
106
- handleOnFocus: () => void;
107
- opened: boolean;
108
- dropdownRef: MutableRefObject<HTMLDivElement | null>;
109
- dataCombo: DataCombo[];
110
- searchOnDropdown?: boolean;
111
- searchNotFoundText?: string;
112
- imgSrcKey?: string;
113
- selected?: {
114
- [key: string]: number;
115
- };
116
- currents?: DataCombo[];
117
- imageAlign?: 'left' | 'right';
118
- striped?: boolean;
119
- gridWrapperStyle?: {
120
- paddingLeft: string;
121
- paddingRight: string;
122
- };
123
- selectFieldRef?: MutableRefObject<HTMLInputElement | null>;
124
- dropdownMaxHeight?: number;
125
- inputValue?: string;
126
- align?: 'left' | 'right';
127
- }
128
- interface IActionButtonsSelectProps {
129
- handleClear: () => void;
130
- handleOpenClose: () => void;
131
- dropDownOpened: boolean;
132
- showClearButton?: boolean;
133
- disabled?: boolean;
134
- }
135
- interface IButtonsProps {
136
- onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
137
- icon: ReactElement;
138
- key: string;
139
- boxShadow: boolean;
140
- readOnly?: boolean;
141
- style: CSSProperties;
142
- transparent: boolean;
143
- disabled?: boolean;
144
- }
145
-
146
- export { IActionButtonsSelectProps, IButtonsProps, IDropdownProps, IDropdownSelectProps, IInputHOCProps, IMaskHOCProps, ISearchProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,9 +0,0 @@
1
- declare const ColorStyles: {
2
- PRIMARY: string;
3
- SUCCESS: string;
4
- DANGER: string;
5
- INFO: string;
6
- WARNING: string;
7
- };
8
-
9
- export { ColorStyles as default };
@@ -1,11 +0,0 @@
1
- declare const keyCodes: {
2
- TAB: number;
3
- ENTER: number;
4
- ARROW_UP: number;
5
- ARROW_DOWN: number;
6
- BACKSPACE: number;
7
- F: number;
8
- };
9
- declare const PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE = 1;
10
-
11
- export { PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE, keyCodes };
@@ -1,21 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { OnDenied } from '../@types/PermissionAttr.js';
3
- import { Position } from '../@types/Position.js';
4
-
5
- interface WithTooltipProps {
6
- tooltipWidth?: string | number;
7
- space?: number;
8
- tooltip?: string;
9
- tooltipPosition?: Exclude<Position, 'center'>;
10
- style?: CSSProperties;
11
- handlerSetOnDenied?: (onDeniedValue: OnDenied) => void;
12
- }
13
- interface GetDisplayNameParams {
14
- displayName?: string;
15
- name?: string;
16
- }
17
- interface HasToolTipParams {
18
- tooltip?: string;
19
- }
20
-
21
- export { GetDisplayNameParams, HasToolTipParams, WithTooltipProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,11 +0,0 @@
1
- import React__default from 'react';
2
- import { WithTooltipProps } from './types.js';
3
- import '../@types/PermissionAttr.js';
4
- import '../@types/Position.js';
5
-
6
- declare const withTooltip: <ComponentProps extends WithTooltipProps>(WrappedComponent: React__default.ComponentType<ComponentProps>) => {
7
- (props: ComponentProps): JSX.Element;
8
- displayName: string;
9
- };
10
-
11
- export { withTooltip as default };
@@ -1,7 +0,0 @@
1
- import { ILabelMessagesProps } from './types.js';
2
- import 'react';
3
- import '../@types/LabelStyles.js';
4
-
5
- declare const LabelMessages: ({ style, icon, flat, iconName, handlerClosed, square, visible, children, customClass, type, showCloseButton }: ILabelMessagesProps) => JSX.Element | null;
6
-
7
- export { LabelMessages as default };
@@ -1,18 +0,0 @@
1
- import { CSSProperties, ReactNode } from 'react';
2
- import { LabelStyles } from '../@types/LabelStyles.js';
3
-
4
- interface ILabelMessagesProps {
5
- style?: CSSProperties;
6
- type?: LabelStyles;
7
- iconName?: string;
8
- icon?: ReactNode | null;
9
- children?: ReactNode;
10
- customClass?: string;
11
- handlerClosed?: () => void;
12
- square?: boolean;
13
- flat?: boolean;
14
- showCloseButton?: boolean;
15
- visible?: boolean;
16
- }
17
-
18
- export { ILabelMessagesProps };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,9 +0,0 @@
1
- import { ILabelProps } from './types.js';
2
- import 'react';
3
- import '../@types/PermissionAttr.js';
4
- import '../@types/Position.js';
5
- import '../@types/Size.js';
6
-
7
- declare const DangerLabel: ({ className, ...rest }: ILabelProps) => JSX.Element;
8
-
9
- export { DangerLabel as default };
@@ -1,12 +0,0 @@
1
- import { ILabelProps } from './types.js';
2
- import 'react';
3
- import '../@types/PermissionAttr.js';
4
- import '../@types/Position.js';
5
- import '../@types/Size.js';
6
-
7
- declare const _default: {
8
- (props: ILabelProps): JSX.Element;
9
- displayName: string;
10
- };
11
-
12
- export { _default as default };