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

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 +2 -2
@@ -0,0 +1,22 @@
1
+ import { CSSProperties } from 'react';
2
+ import { OnDenied } from '../@types/PermissionAttr';
3
+ import { Position } from '../@types/Position';
4
+ export interface WithTooltipProps {
5
+ tooltipWidth?: string | number;
6
+ space?: number;
7
+ tooltip?: string;
8
+ tooltipPosition?: Exclude<Position, 'center'>;
9
+ style?: CSSProperties;
10
+ handlerSetOnDeniedText?: (onDeniedValue: OnDenied) => void;
11
+ errorMessage?: string;
12
+ }
13
+ export interface ITooltipContext {
14
+ handlerSetOnDeniedText: (text: string) => void;
15
+ }
16
+ export interface GetDisplayNameParams {
17
+ displayName?: string;
18
+ name?: string;
19
+ }
20
+ export interface HasToolTipParams {
21
+ tooltip?: string;
22
+ }
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { WithTooltipProps, ITooltipContext } from './types';
3
+ export declare const TooltipContext: React.Context<ITooltipContext>;
4
+ declare const withTooltip: <ComponentProps extends WithTooltipProps>(WrappedComponent: React.ComponentType<ComponentProps>) => {
5
+ (props: ComponentProps): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ export default withTooltip;
@@ -0,0 +1,122 @@
1
+ import { j as b } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as U } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import Z, { useState as T, useRef as z, useEffect as N } from "react";
4
+ import tt from "../tooltip/index.js";
5
+ const et = 40, H = ({
6
+ tooltip: u
7
+ }) => u, F = Z.createContext({}), ot = ({
8
+ displayName: u,
9
+ name: v
10
+ }) => u || v || "Component", rt = (u) => {
11
+ const v = (i) => {
12
+ const t = U.c(39), {
13
+ tooltip: d,
14
+ tooltipWidth: A,
15
+ space: V,
16
+ tooltipPosition: B,
17
+ errorMessage: c
18
+ } = i, C = A === void 0 ? "auto" : A, y = V === void 0 ? 20 : V, _ = B === void 0 ? "bottom" : B, [a, x] = T(_), [n, J] = T(""), [I, K] = T(""), [M, p] = T(!1);
19
+ let S;
20
+ t[0] !== C ? (S = {
21
+ width: C,
22
+ height: et
23
+ }, t[0] = C, t[1] = S) : S = t[1];
24
+ const [f, Q] = T(S), l = z(null), Y = z(null);
25
+ let E;
26
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (E = (h) => {
27
+ l.current && l.current.contains(h.target) ? p(!0) : p(!1);
28
+ }, t[2] = E) : E = t[2];
29
+ const G = E;
30
+ let $;
31
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? ($ = () => {
32
+ p(!1);
33
+ }, t[3] = $) : $ = t[3];
34
+ const X = $;
35
+ let D;
36
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (D = () => {
37
+ p(!1);
38
+ }, t[4] = D) : D = t[4];
39
+ const q = D;
40
+ let L;
41
+ t[5] !== c || t[6] !== n || t[7] !== i ? (L = () => ((H(i) || n) && (c ? p(!0) : (p(!1), document.addEventListener("mouseover", G), document.addEventListener("scroll", q, !0), l && l.current && l.current.addEventListener("mouseout", X))), () => {
42
+ (H(i) || n) && (document.removeEventListener("mouseover", G), document.removeEventListener("scroll", q, !0), l && l.current && l.current.removeEventListener("mouseout", X));
43
+ }), t[5] = c, t[6] = n, t[7] = i, t[8] = L) : L = t[8];
44
+ let j;
45
+ t[9] !== c || t[10] !== n || t[11] !== d ? (j = [c, d, n], t[9] = c, t[10] = n, t[11] = d, t[12] = j) : j = t[12], N(L, j);
46
+ let P;
47
+ t[13] !== y || t[14] !== a || t[15] !== f ? (P = () => {
48
+ if (l.current && Y.current) {
49
+ const {
50
+ width: h,
51
+ height: s
52
+ } = f, o = l.current.getBoundingClientRect(), w = (o.top + o.bottom) / 2, m = Y.current.clientWidth;
53
+ let e = `width: ${typeof h == "string" ? h : `${h}px`}`, r = o.left + o.width / 2 - m / 2;
54
+ r = Math.min(r, document.body.clientWidth - m - y), e = e + `; left: ${Math.max(y, r)}px`;
55
+ t: switch (a) {
56
+ case "top": {
57
+ o.top < s ? x("bottom") : e = e + `; top: ${o.top + window.scrollY - s - 5}px`;
58
+ break t;
59
+ }
60
+ case "bottom": {
61
+ window.innerHeight - o.bottom < s ? x("top") : e = e + `; top: ${o.top + window.scrollY + o.height + 5}px`;
62
+ break t;
63
+ }
64
+ case "left": {
65
+ o.left < m ? window.innerWidth - o.right < m ? x("bottom") : x("right") : (e = e + `; top: ${w + window.scrollY - s / 2}px`, e = e + `; left: ${o.left - m - 6}px`);
66
+ break t;
67
+ }
68
+ case "right": {
69
+ window.innerWidth - o.right < m ? x("left") : (e = e + `; top: ${w + window.scrollY - s / 2}px`, e = e + `; left: ${o.left + o.width + 5}px`);
70
+ break t;
71
+ }
72
+ default:
73
+ e = e + "";
74
+ }
75
+ K(e);
76
+ }
77
+ }, t[13] = y, t[14] = a, t[15] = f, t[16] = P) : P = t[16];
78
+ let R;
79
+ t[17] !== a || t[18] !== f ? (R = [f, a], t[17] = a, t[18] = f, t[19] = R) : R = t[19], N(P, R);
80
+ let O;
81
+ t[20] !== _ ? (O = () => {
82
+ x(_);
83
+ }, t[20] = _, t[21] = O) : O = t[21];
84
+ let W;
85
+ t[22] === Symbol.for("react.memo_cache_sentinel") ? (W = [window.scrollY, window.scrollX, window.innerWidth], t[22] = W) : W = t[22], N(O, W);
86
+ let k, g;
87
+ if (t[23] !== c || t[24] !== n || t[25] !== i || t[26] !== M || t[27] !== a || t[28] !== d || t[29] !== f || t[30] !== I) {
88
+ g = Symbol.for("react.early_return_sentinel");
89
+ t: {
90
+ const h = () => d || n ? /* @__PURE__ */ b.jsx(tt, { text: n || d, textError: c, tooltipRef: Y, style: I, className: a, tooltipDimensions: f, handlerSetDimensions: Q }) : null;
91
+ let s;
92
+ t[33] === Symbol.for("react.memo_cache_sentinel") ? (s = (r) => {
93
+ l.current || (l.current = r);
94
+ }, t[33] = s) : s = t[33];
95
+ const o = s;
96
+ let w;
97
+ t[34] === Symbol.for("react.memo_cache_sentinel") ? (w = {
98
+ handlerSetOnDeniedText: J
99
+ }, t[34] = w) : w = t[34];
100
+ const m = w;
101
+ if (!H(i) && !n) {
102
+ let r;
103
+ t[35] !== i ? (r = /* @__PURE__ */ b.jsx(F.Provider, { value: m, children: /* @__PURE__ */ b.jsx(u, { ...i }) }), t[35] = i, t[36] = r) : r = t[36], g = r;
104
+ break t;
105
+ }
106
+ let e;
107
+ t[37] !== i ? (e = /* @__PURE__ */ b.jsx(u, { ...i, targetRef: o }), t[37] = i, t[38] = e) : e = t[38], k = /* @__PURE__ */ b.jsxs(F.Provider, { value: m, children: [
108
+ e,
109
+ M && h()
110
+ ] });
111
+ }
112
+ t[23] = c, t[24] = n, t[25] = i, t[26] = M, t[27] = a, t[28] = d, t[29] = f, t[30] = I, t[31] = k, t[32] = g;
113
+ } else
114
+ k = t[31], g = t[32];
115
+ return g !== Symbol.for("react.early_return_sentinel") ? g : k;
116
+ };
117
+ return v.displayName = `withTooltip(${ot(u)})`, v;
118
+ };
119
+ export {
120
+ F as TooltipContext,
121
+ rt as default
122
+ };
@@ -0,0 +1,3 @@
1
+ import { ILabelMessagesProps } from './types';
2
+ declare const LabelMessages: ({ style, icon, flat, iconName, handlerClosed, square, visible, children, customClass, type, showCloseButton }: ILabelMessagesProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default LabelMessages;
@@ -0,0 +1,53 @@
1
+ import { j as a } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as M } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useState as S, Fragment as A } from "react";
4
+ import D from "../icons/index.js";
5
+ import '../assets/index14.css';const O = (R) => {
6
+ const e = M.c(26), {
7
+ style: c,
8
+ icon: b,
9
+ flat: N,
10
+ iconName: s,
11
+ handlerClosed: r,
12
+ square: y,
13
+ visible: q,
14
+ children: w,
15
+ customClass: B,
16
+ type: E,
17
+ showCloseButton: I
18
+ } = R;
19
+ let f;
20
+ e[0] !== c ? (f = c === void 0 ? {} : c, e[0] = c, e[1] = f) : f = e[1];
21
+ const p = f, t = b === void 0 ? null : b, x = N === void 0 ? !1 : N, g = y === void 0 ? !0 : y, k = q === void 0 ? !0 : q, h = w === void 0 ? null : w, m = B === void 0 ? "" : B, l = E === void 0 ? "default" : E, C = I === void 0 ? !1 : I, [z, F] = S(!1);
22
+ let u;
23
+ e[2] !== m || e[3] !== x || e[4] !== g || e[5] !== l ? (u = () => `labelmessages-component -${l} ${m}
24
+ ${g && "-square"} ${x && "-flat"}`, e[2] = m, e[3] = x, e[4] = g, e[5] = l, e[6] = u) : u = e[6];
25
+ const L = u;
26
+ let d;
27
+ e[7] !== t || e[8] !== s || e[9] !== l ? (d = () => t || (s ? /* @__PURE__ */ a.jsx(D, { name: s, size: 16, color: "#ffffff", customClass: `-${l}svg` }) : null), e[7] = t, e[8] = s, e[9] = l, e[10] = d) : d = e[10];
28
+ const j = d;
29
+ if (z || !k)
30
+ return null;
31
+ const $ = `${L()} ${m}`;
32
+ let o;
33
+ e[11] !== h ? (o = /* @__PURE__ */ a.jsx("div", { className: "labelmessagesitem text", children: h }), e[11] = h, e[12] = o) : o = e[12];
34
+ let i;
35
+ e[13] !== j || e[14] !== t || e[15] !== s ? (i = (s || t) && /* @__PURE__ */ a.jsxs("div", { className: "labelmessagesitem -icon", children: [
36
+ " ",
37
+ j(),
38
+ " "
39
+ ] }), e[13] = j, e[14] = t, e[15] = s, e[16] = i) : i = e[16];
40
+ let n;
41
+ e[17] !== r || e[18] !== C ? (n = C && /* @__PURE__ */ a.jsx("span", { role: "presentation", className: "labelmessagesitem -close", onClick: () => {
42
+ r && r(), F(!0);
43
+ }, children: "x" }), e[17] = r, e[18] = C, e[19] = n) : n = e[19];
44
+ let v;
45
+ return e[20] !== p || e[21] !== $ || e[22] !== o || e[23] !== i || e[24] !== n ? (v = /* @__PURE__ */ a.jsx(A, { children: /* @__PURE__ */ a.jsxs("div", { className: $, style: p, children: [
46
+ o,
47
+ i,
48
+ n
49
+ ] }) }), e[20] = p, e[21] = $, e[22] = o, e[23] = i, e[24] = n, e[25] = v) : v = e[25], v;
50
+ };
51
+ export {
52
+ O as default
53
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,16 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { LabelStyles } from '../@types/LabelStyles';
3
+ import { IconNames } from '../@types/Icon';
4
+ export interface ILabelMessagesProps {
5
+ style?: CSSProperties;
6
+ type?: LabelStyles;
7
+ iconName?: IconNames;
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
+ }
@@ -0,0 +1,3 @@
1
+ import { ILabelProps } from './types';
2
+ declare const DangerLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DangerLabel;
@@ -0,0 +1,20 @@
1
+ import { j as a } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import l from "./DefaultLabel.js";
4
+ const f = (r) => {
5
+ const e = m.c(4);
6
+ let s;
7
+ if (e[0] !== r) {
8
+ const {
9
+ className: c,
10
+ ...o
11
+ } = r;
12
+ s = o, e[0] = r, e[1] = s;
13
+ } else
14
+ s = e[1];
15
+ let t;
16
+ return e[2] !== s ? (t = /* @__PURE__ */ a.jsx(l, { className: "-danger", ...s }), e[2] = s, e[3] = t) : t = e[3], t;
17
+ };
18
+ export {
19
+ f as default
20
+ };
@@ -0,0 +1,6 @@
1
+ import { ILabelProps } from './types';
2
+ declare const _default: {
3
+ (props: ILabelProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,55 @@
1
+ import { j as O } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as L } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import { useState as P } from "react";
4
+ import S from "../icons/index.js";
5
+ import T from "../internals/withTooltip.js";
6
+ import { actionsOnPermissionDenied as _, OPTIONS_ON_DENIED as h } from "../permissionValidations.js";
7
+ const w = (A) => {
8
+ const e = L.c(24), {
9
+ style: u,
10
+ targetRef: s,
11
+ iconName: o,
12
+ icon: n,
13
+ children: p,
14
+ visible: E,
15
+ customClass: b,
16
+ className: $,
17
+ disabled: v,
18
+ size: l,
19
+ iconAlign: I,
20
+ bordered: x,
21
+ permissionAttr: N,
22
+ skeletonize: g
23
+ } = A, R = E === void 0 ? !0 : E, r = I === void 0 ? "left" : I;
24
+ let c, m;
25
+ if (e[0] !== N) {
26
+ const z = [h.disabled, h.unvisible];
27
+ c = P, m = _(z, N), e[0] = N, e[1] = c, e[2] = m;
28
+ } else
29
+ c = e[1], m = e[2];
30
+ const [k] = c(m);
31
+ let a;
32
+ e[3] !== x || e[4] !== $ || e[5] !== b || e[6] !== v || e[7] !== r || e[8] !== l || e[9] !== g ? (a = () => `label-component ${$} ${b} ${x ? "-bordered" : ""} ${v ? "-disabled" : ""}
33
+ ${g ? "-skeletonized" : ""}
34
+ ${l ? `-${l}` : ""}
35
+ ${r ? `icon-${r}` : ""}`, e[3] = x, e[4] = $, e[5] = b, e[6] = v, e[7] = r, e[8] = l, e[9] = g, e[10] = a) : a = e[10];
36
+ const C = a;
37
+ let f;
38
+ e[11] !== n || e[12] !== o ? (f = () => n || (o ? /* @__PURE__ */ O.jsx(S, { name: o, size: 16 }) : null), e[11] = n, e[12] = o, e[13] = f) : f = e[13];
39
+ const D = f;
40
+ if (!R || k.unvisible)
41
+ return null;
42
+ const j = C();
43
+ let t;
44
+ e[14] !== s ? (t = (z) => s && s(z), e[14] = s, e[15] = t) : t = e[15];
45
+ let i;
46
+ e[16] !== D ? (i = D(), e[16] = D, e[17] = i) : i = e[17];
47
+ let d;
48
+ return e[18] !== p || e[19] !== u || e[20] !== j || e[21] !== t || e[22] !== i ? (d = /* @__PURE__ */ O.jsxs("div", { style: u, className: j, ref: t, children: [
49
+ i,
50
+ p
51
+ ] }), e[18] = p, e[19] = u, e[20] = j, e[21] = t, e[22] = i, e[23] = d) : d = e[23], d;
52
+ }, J = T(w);
53
+ export {
54
+ J as default
55
+ };
@@ -0,0 +1,3 @@
1
+ import { ILabelProps } from './types';
2
+ declare const InfoLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default InfoLabel;
@@ -0,0 +1,20 @@
1
+ import { j as m } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import l from "./DefaultLabel.js";
4
+ const p = (o) => {
5
+ const e = a.c(4);
6
+ let s;
7
+ if (e[0] !== o) {
8
+ const {
9
+ className: i,
10
+ ...r
11
+ } = o;
12
+ s = r, e[0] = o, e[1] = s;
13
+ } else
14
+ s = e[1];
15
+ let t;
16
+ return e[2] !== s ? (t = /* @__PURE__ */ m.jsx(l, { className: "-info", ...s }), e[2] = s, e[3] = t) : t = e[3], t;
17
+ };
18
+ export {
19
+ p as default
20
+ };
@@ -0,0 +1,3 @@
1
+ import { ILabelProps } from './types';
2
+ declare const PrimaryLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PrimaryLabel;
@@ -0,0 +1,20 @@
1
+ import { j as o } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as a } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import i from "./DefaultLabel.js";
4
+ const n = (t) => {
5
+ const e = a.c(4);
6
+ let r;
7
+ if (e[0] !== t) {
8
+ const {
9
+ className: l,
10
+ ...m
11
+ } = t;
12
+ r = m, e[0] = t, e[1] = r;
13
+ } else
14
+ r = e[1];
15
+ let s;
16
+ return e[2] !== r ? (s = /* @__PURE__ */ o.jsx(i, { className: "-primary", ...r }), e[2] = r, e[3] = s) : s = e[3], s;
17
+ };
18
+ export {
19
+ n as default
20
+ };
@@ -0,0 +1,3 @@
1
+ import { ILabelProps } from './types';
2
+ declare const SuccessLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SuccessLabel;
@@ -0,0 +1,20 @@
1
+ import { j as c } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import a from "./DefaultLabel.js";
4
+ const n = (o) => {
5
+ const s = m.c(4);
6
+ let e;
7
+ if (s[0] !== o) {
8
+ const {
9
+ className: l,
10
+ ...r
11
+ } = o;
12
+ e = r, s[0] = o, s[1] = e;
13
+ } else
14
+ e = s[1];
15
+ let t;
16
+ return s[2] !== e ? (t = /* @__PURE__ */ c.jsx(a, { className: "-success", ...e }), s[2] = e, s[3] = t) : t = s[3], t;
17
+ };
18
+ export {
19
+ n as default
20
+ };
@@ -0,0 +1,3 @@
1
+ import { ILabelProps } from './types';
2
+ declare const WarningLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default WarningLabel;
@@ -0,0 +1,20 @@
1
+ import { j as a } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as m } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ import i from "./DefaultLabel.js";
4
+ const f = (r) => {
5
+ const e = m.c(4);
6
+ let s;
7
+ if (e[0] !== r) {
8
+ const {
9
+ className: l,
10
+ ...o
11
+ } = r;
12
+ s = o, e[0] = r, e[1] = s;
13
+ } else
14
+ s = e[1];
15
+ let t;
16
+ return e[2] !== s ? (t = /* @__PURE__ */ a.jsx(i, { className: "-warning", ...s }), e[2] = s, e[3] = t) : t = e[3], t;
17
+ };
18
+ export {
19
+ f as default
20
+ };
@@ -0,0 +1,9 @@
1
+ import { default as LabelContainer } from './label_container';
2
+ import { default as Label } from './DefaultLabel';
3
+ import { default as DangerLabel } from './DangerLabel';
4
+ import { default as PrimaryLabel } from './PrimaryLabel';
5
+ import { default as WarningLabel } from './WarningLabel';
6
+ import { default as SuccessLabel } from './SuccessLabel';
7
+ import { default as InfoLabel } from './InfoLabel';
8
+ export default Label;
9
+ export { LabelContainer, PrimaryLabel, DangerLabel, WarningLabel, SuccessLabel, InfoLabel, };
@@ -0,0 +1,17 @@
1
+ import { default as f } from "./label_container/index.js";
2
+ import e from "./DefaultLabel.js";
3
+ import { default as m } from "./DangerLabel.js";
4
+ import { default as s } from "./PrimaryLabel.js";
5
+ import { default as b } from "./WarningLabel.js";
6
+ import { default as x } from "./SuccessLabel.js";
7
+ import { default as n } from "./InfoLabel.js";
8
+ import '../assets/label.css';/* empty css */
9
+ export {
10
+ m as DangerLabel,
11
+ n as InfoLabel,
12
+ f as LabelContainer,
13
+ s as PrimaryLabel,
14
+ x as SuccessLabel,
15
+ b as WarningLabel,
16
+ e as default
17
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { Position } from '../../@types/Position';
3
+ interface ILabelContainerProps {
4
+ children: ReactNode;
5
+ style?: CSSProperties;
6
+ customClass?: string;
7
+ position?: Extract<Position, 'left' | 'right'>;
8
+ }
9
+ declare const LabelContainer: ({ customClass, position, children }: ILabelContainerProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default LabelContainer;
@@ -0,0 +1,18 @@
1
+ import { j as a } from "../../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as m } from "../../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const u = (r) => {
4
+ const t = m.c(6), {
5
+ customClass: c,
6
+ position: n,
7
+ children: e
8
+ } = r, i = n === void 0 ? "left" : n, l = `lbl-container ${c}`;
9
+ let o;
10
+ t[0] !== i ? (o = {
11
+ float: i
12
+ }, t[0] = i, t[1] = o) : o = t[1];
13
+ let s;
14
+ return t[2] !== e || t[3] !== l || t[4] !== o ? (s = /* @__PURE__ */ a.jsx("div", { className: l, style: o, children: e }), t[2] = e, t[3] = l, t[4] = o, t[5] = s) : s = t[5], s;
15
+ };
16
+ export {
17
+ u as default
18
+ };
@@ -0,0 +1,22 @@
1
+ import { ReactElement } from 'react';
2
+ import { PermissionAttr } from '../@types/PermissionAttr';
3
+ import { Position } from '../@types/Position';
4
+ import { Size } from '../@types/Size';
5
+ import { IconNames } from '../@types/Icon';
6
+ export interface ILabelProps extends React.HTMLAttributes<HTMLDivElement> {
7
+ customClass?: string;
8
+ size?: Size;
9
+ iconName?: IconNames;
10
+ iconAlign?: Position;
11
+ icon?: ReactElement;
12
+ targetRef?: (ref: HTMLDivElement | null) => void;
13
+ bordered?: boolean;
14
+ tooltipPosition?: Exclude<Position, 'center'>;
15
+ tooltipWidth?: string | number;
16
+ tooltip?: string;
17
+ visible?: boolean;
18
+ disabled?: boolean;
19
+ permissionAttr?: PermissionAttr | PermissionAttr[];
20
+ skeletonize?: boolean;
21
+ validationKey?: string;
22
+ }
@@ -0,0 +1,3 @@
1
+ import { IListHeaderProps } from './types';
2
+ declare const Header: ({ title, children, style, customClass }: IListHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Header;
@@ -0,0 +1,20 @@
1
+ import { j as o } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as n } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const x = (a) => {
4
+ const t = n.c(7), {
5
+ title: l,
6
+ children: r,
7
+ style: i,
8
+ customClass: m
9
+ } = a, c = `list-header ${m}`;
10
+ let e;
11
+ t[0] !== l ? (e = /* @__PURE__ */ o.jsx("h1", { className: "title", children: l }), t[0] = l, t[1] = e) : e = t[1];
12
+ let s;
13
+ return t[2] !== r || t[3] !== i || t[4] !== c || t[5] !== e ? (s = /* @__PURE__ */ o.jsxs("li", { className: c, style: i, children: [
14
+ e,
15
+ r
16
+ ] }), t[2] = r, t[3] = i, t[4] = c, t[5] = e, t[6] = s) : s = t[6], s;
17
+ };
18
+ export {
19
+ x as default
20
+ };
@@ -0,0 +1,6 @@
1
+ import { IListItemProps } from './types';
2
+ declare const _default: {
3
+ (props: IListItemProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import "react";
3
+ import "../chunks/compiler-runtime.Cu50tn6L.js";
4
+ import "react-router-dom";
5
+ import "../icons/index.js";
6
+ import { L as u } from "../chunks/tabs.BvKfeA6Y.js";
7
+ import "./helpers.js";
8
+ import "../dropdown/withDropdown.js";
9
+ import "../internals/constants.js";
10
+ import "../internals/withTooltip.js";
11
+ import "../permissionValidations.js";
12
+ export {
13
+ u as default
14
+ };
@@ -0,0 +1,2 @@
1
+ declare const Separator: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Separator;
@@ -0,0 +1,10 @@
1
+ import { j as r } from "../chunks/jsx-runtime.D1SHvdVE.js";
2
+ import { c as o } from "../chunks/compiler-runtime.Cu50tn6L.js";
3
+ const m = () => {
4
+ const e = o.c(1);
5
+ let t;
6
+ return e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ r.jsx("li", { className: "list-separator" }), e[0] = t) : t = e[0], t;
7
+ };
8
+ export {
9
+ m as default
10
+ };
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { IListContext } from './types';
3
+ declare const ListContext: React.Context<IListContext>;
4
+ declare const LIST_ITEMS_TYPES: {
5
+ listHeader: string;
6
+ listItem: string;
7
+ listSeparator: string;
8
+ };
9
+ export { ListContext, LIST_ITEMS_TYPES, };
@@ -0,0 +1,10 @@
1
+ import t from "react";
2
+ const r = t.createContext({}), o = {
3
+ listHeader: "Header",
4
+ listItem: "Item",
5
+ listSeparator: "Separator"
6
+ };
7
+ export {
8
+ o as LIST_ITEMS_TYPES,
9
+ r as ListContext
10
+ };
@@ -0,0 +1,7 @@
1
+ import { default as ListHeader } from './Header';
2
+ import { default as ListItem } from './Item';
3
+ import { default as ListSeparator } from './Separator';
4
+ import { IListProps } from './types';
5
+ declare const List: (props: IListProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default List;
7
+ export { ListHeader, ListItem, ListSeparator };