sevago-library 1.0.2

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 (326) hide show
  1. package/README.md +221 -0
  2. package/dist/images/icons/empty.tsx +121 -0
  3. package/dist/images/icons/icon-left.tsx +15 -0
  4. package/dist/index.cjs.js +78181 -0
  5. package/dist/index.cjs.js.map +1 -0
  6. package/dist/index.d.ts +2 -0
  7. package/dist/index.esm.js +78165 -0
  8. package/dist/index.esm.js.map +1 -0
  9. package/dist/sevago-library.css +106 -0
  10. package/dist/src/App.d.ts +1 -0
  11. package/dist/src/common/const/apps.const.d.ts +371 -0
  12. package/dist/src/common/const/color.const.d.ts +286 -0
  13. package/dist/src/common/const/color.const.stories.d.ts +5 -0
  14. package/dist/src/common/const/icons.const.d.ts +24 -0
  15. package/dist/src/common/const/icons.const.stories.d.ts +5 -0
  16. package/dist/src/common/const/index.d.ts +6 -0
  17. package/dist/src/common/const/mode.const.d.ts +133 -0
  18. package/dist/src/common/const/other.const.d.ts +107 -0
  19. package/dist/src/common/const/style.const.d.ts +668 -0
  20. package/dist/src/common/const/style.const.stories.d.ts +5 -0
  21. package/dist/src/common/enums/api.enum.d.ts +8 -0
  22. package/dist/src/common/enums/index.d.ts +3 -0
  23. package/dist/src/common/enums/other.enum.d.ts +37 -0
  24. package/dist/src/common/enums/system.enum.d.ts +16 -0
  25. package/dist/src/common/index.d.ts +4 -0
  26. package/dist/src/common/interfaces/api.interface.d.ts +31 -0
  27. package/dist/src/common/interfaces/file.interface.d.ts +19 -0
  28. package/dist/src/common/interfaces/index.d.ts +3 -0
  29. package/dist/src/common/interfaces/other.interface.d.ts +20 -0
  30. package/dist/src/common/styles/index.d.ts +0 -0
  31. package/dist/src/common/utils/array.util.d.ts +7 -0
  32. package/dist/src/common/utils/delay.util.d.ts +2 -0
  33. package/dist/src/common/utils/file.util.d.ts +10 -0
  34. package/dist/src/common/utils/file.utils.d.ts +8 -0
  35. package/dist/src/common/utils/index.d.ts +8 -0
  36. package/dist/src/common/utils/number.util.d.ts +2 -0
  37. package/dist/src/common/utils/object.util.d.ts +8 -0
  38. package/dist/src/common/utils/other.util.d.ts +15 -0
  39. package/dist/src/common/utils/string.util.d.ts +14 -0
  40. package/dist/src/common/utils/time.util.d.ts +16 -0
  41. package/dist/src/components/app-grid/app-grid-item.component.d.ts +13 -0
  42. package/dist/src/components/app-grid/app-grid.component.d.ts +17 -0
  43. package/dist/src/components/app-grid/index.d.ts +2 -0
  44. package/dist/src/components/card/card-statistic.argtypes.d.ts +3 -0
  45. package/dist/src/components/card/card-statistic.component.d.ts +10 -0
  46. package/dist/src/components/card/card-statistic.stories.d.ts +7 -0
  47. package/dist/src/components/card/index.d.ts +1 -0
  48. package/dist/src/components/dropdown-field/dropdown-field.component.d.ts +29 -0
  49. package/dist/src/components/dropdown-field/index.d.ts +1 -0
  50. package/dist/src/components/elements/avatar/avatar-enum.enum.d.ts +13 -0
  51. package/dist/src/components/elements/avatar/avatar-group/avatar-group.argtypes.d.ts +3 -0
  52. package/dist/src/components/elements/avatar/avatar-group/avatar-group.element.d.ts +21 -0
  53. package/dist/src/components/elements/avatar/avatar-group/avatar-group.element.stories.d.ts +9 -0
  54. package/dist/src/components/elements/avatar/avatar-online-status/avatar-online-status.argtypes.d.ts +3 -0
  55. package/dist/src/components/elements/avatar/avatar-online-status/avatar-online-status.element.d.ts +12 -0
  56. package/dist/src/components/elements/avatar/avatar-online-status/avatar-online-status.element.stories.d.ts +9 -0
  57. package/dist/src/components/elements/avatar/avatar-user-info/avatar-user-info.argtypes.d.ts +3 -0
  58. package/dist/src/components/elements/avatar/avatar-user-info/avatar-user-info.element.d.ts +15 -0
  59. package/dist/src/components/elements/avatar/avatar-user-info/avatar-user-info.element.stories.d.ts +12 -0
  60. package/dist/src/components/elements/avatar/avatar-user-info-detail/avatar-user-info-detail.argtypes.d.ts +3 -0
  61. package/dist/src/components/elements/avatar/avatar-user-info-detail/avatar-user-info-detail.element.d.ts +12 -0
  62. package/dist/src/components/elements/avatar/avatar-user-info-detail/avatar-user-info-detail.element.stories.d.ts +9 -0
  63. package/dist/src/components/elements/avatar/avatar-user-info-update/avatar-user-info-update.argtypes.d.ts +3 -0
  64. package/dist/src/components/elements/avatar/avatar-user-info-update/avatar-user-info-update.element.d.ts +11 -0
  65. package/dist/src/components/elements/avatar/avatar-user-info-update/avatar-user-info-update.element.stories.d.ts +8 -0
  66. package/dist/src/components/elements/avatar/avatar.argtypes.d.ts +3 -0
  67. package/dist/src/components/elements/avatar/avatar.element.d.ts +9 -0
  68. package/dist/src/components/elements/avatar/avatar.element.stories.d.ts +9 -0
  69. package/dist/src/components/elements/avatar/index.d.ts +6 -0
  70. package/dist/src/components/elements/breadcrumb/breadcrumb.element.d.ts +11 -0
  71. package/dist/src/components/elements/breadcrumb/breadcrumb.element.stories.d.ts +8 -0
  72. package/dist/src/components/elements/breadcrumb/index.d.ts +1 -0
  73. package/dist/src/components/elements/button/button-icon-content/button-icon-content-opacity.argtypes.d.ts +3 -0
  74. package/dist/src/components/elements/button/button-icon-content/button-icon-content-opacity.element.d.ts +10 -0
  75. package/dist/src/components/elements/button/button-icon-content/button-icon-content-opacity.element.stories.d.ts +9 -0
  76. package/dist/src/components/elements/button/button-icon-element/button-icon.argtypes.d.ts +3 -0
  77. package/dist/src/components/elements/button/button-icon-element/button-icon.element.d.ts +8 -0
  78. package/dist/src/components/elements/button/button-icon-element/button-icon.element.stories.d.ts +9 -0
  79. package/dist/src/components/elements/button/button-image/button-image.argtypes.d.ts +3 -0
  80. package/dist/src/components/elements/button/button-image/button-image.element.d.ts +11 -0
  81. package/dist/src/components/elements/button/button-image/button-image.element.stories.d.ts +9 -0
  82. package/dist/src/components/elements/button/button-upload-file/button-upload-file.element.d.ts +11 -0
  83. package/dist/src/components/elements/button/button-upload-file/button-upload-file.element.stories.d.ts +8 -0
  84. package/dist/src/components/elements/button/button.argtypes.d.ts +3 -0
  85. package/dist/src/components/elements/button/button.element.d.ts +11 -0
  86. package/dist/src/components/elements/button/button.element.stories.d.ts +8 -0
  87. package/dist/src/components/elements/button/index.d.ts +5 -0
  88. package/dist/src/components/elements/check-box/check-box.argtypes.d.ts +3 -0
  89. package/dist/src/components/elements/check-box/check-box.element.d.ts +8 -0
  90. package/dist/src/components/elements/check-box/check-box.element.stories.d.ts +8 -0
  91. package/dist/src/components/elements/check-box/index.d.ts +1 -0
  92. package/dist/src/components/elements/collapsible-section/collapsible-section.argtypes.d.ts +3 -0
  93. package/dist/src/components/elements/collapsible-section/collapsible-section.component.d.ts +11 -0
  94. package/dist/src/components/elements/collapsible-section/collapsible-section.stories.d.ts +9 -0
  95. package/dist/src/components/elements/collapsible-section/index.d.ts +1 -0
  96. package/dist/src/components/elements/dialog/dialog-confirm-action/dialog-confirm-action.argtypes.d.ts +2 -0
  97. package/dist/src/components/elements/dialog/dialog-confirm-action/dialog-confirm-action.element.d.ts +16 -0
  98. package/dist/src/components/elements/dialog/dialog-confirm-action/dialog-confirm-action.element.stories.d.ts +8 -0
  99. package/dist/src/components/elements/dialog/dialog.argtypes.d.ts +3 -0
  100. package/dist/src/components/elements/dialog/dialog.element.d.ts +30 -0
  101. package/dist/src/components/elements/dialog/dialog.element.stories.d.ts +7 -0
  102. package/dist/src/components/elements/dialog/index.d.ts +2 -0
  103. package/dist/src/components/elements/divider/dashed-divider.argtypes.d.ts +3 -0
  104. package/dist/src/components/elements/divider/dashed-divider.element.d.ts +10 -0
  105. package/dist/src/components/elements/divider/dashed-divider.element.stories.d.ts +10 -0
  106. package/dist/src/components/elements/divider/index.d.ts +1 -0
  107. package/dist/src/components/elements/filters/advanced-operator-filter-dialog.component.d.ts +22 -0
  108. package/dist/src/components/elements/filters/advanced-operator-filter-dialog.component.stories.d.ts +9 -0
  109. package/dist/src/components/elements/filters/advanced-operator-filter.helper.d.ts +5 -0
  110. package/dist/src/components/elements/filters/filter.enum.d.ts +46 -0
  111. package/dist/src/components/elements/filters/filter.interface.d.ts +26 -0
  112. package/dist/src/components/elements/filters/index.d.ts +4 -0
  113. package/dist/src/components/elements/icon/icon-content/icon-content.argtypes.d.ts +3 -0
  114. package/dist/src/components/elements/icon/icon-content/icon-content.element.d.ts +16 -0
  115. package/dist/src/components/elements/icon/icon-content/icon-content.element.stories.d.ts +8 -0
  116. package/dist/src/components/elements/icon/icon-content-badge/icon-content-badge.argtypes.d.ts +3 -0
  117. package/dist/src/components/elements/icon/icon-content-badge/icon-content-badge.element.d.ts +10 -0
  118. package/dist/src/components/elements/icon/icon-content-badge/icon-content-badge.element.stories.d.ts +8 -0
  119. package/dist/src/components/elements/icon/icon-content-badge-subs/icon-content-badge-subs.argtypes.d.ts +3 -0
  120. package/dist/src/components/elements/icon/icon-content-badge-subs/icon-content-badge-subs.element.d.ts +15 -0
  121. package/dist/src/components/elements/icon/icon-content-badge-subs/icon-content-badge-subs.element.stories.d.ts +6 -0
  122. package/dist/src/components/elements/icon/icon-content-badge-subs-vertical/icon-content-badge-subs-vertical.element.d.ts +13 -0
  123. package/dist/src/components/elements/icon/icon.argtypes.d.ts +3 -0
  124. package/dist/src/components/elements/icon/icon.element.d.ts +11 -0
  125. package/dist/src/components/elements/icon/icon.element.stories.d.ts +9 -0
  126. package/dist/src/components/elements/icon/index.d.ts +5 -0
  127. package/dist/src/components/elements/image/image-content-caption/image-content-caption.argtypes.d.ts +3 -0
  128. package/dist/src/components/elements/image/image-content-caption/image-content-caption.component.d.ts +15 -0
  129. package/dist/src/components/elements/image/image-content-caption/image-content-caption.component.stories.d.ts +8 -0
  130. package/dist/src/components/elements/image/image-name-time.component.d.ts +9 -0
  131. package/dist/src/components/elements/image/image.argtypes.d.ts +3 -0
  132. package/dist/src/components/elements/image/image.element.d.ts +11 -0
  133. package/dist/src/components/elements/image/image.element.stories.d.ts +8 -0
  134. package/dist/src/components/elements/image/index.d.ts +3 -0
  135. package/dist/src/components/elements/index.d.ts +25 -0
  136. package/dist/src/components/elements/link/index.d.ts +1 -0
  137. package/dist/src/components/elements/link/link.argtypes.d.ts +3 -0
  138. package/dist/src/components/elements/link/link.element.d.ts +7 -0
  139. package/dist/src/components/elements/link/link.element.stories.d.ts +7 -0
  140. package/dist/src/components/elements/list/index.d.ts +1 -0
  141. package/dist/src/components/elements/list/list-icon-content.argtypes.d.ts +3 -0
  142. package/dist/src/components/elements/list/list-icon-content.element.d.ts +15 -0
  143. package/dist/src/components/elements/list/list-icon-content.element.stories.d.ts +7 -0
  144. package/dist/src/components/elements/pagination/index.d.ts +1 -0
  145. package/dist/src/components/elements/pagination/pagination.argtypes.d.ts +3 -0
  146. package/dist/src/components/elements/pagination/pagination.element.d.ts +14 -0
  147. package/dist/src/components/elements/pagination/pagination.element.stories.d.ts +6 -0
  148. package/dist/src/components/elements/radio/index.d.ts +2 -0
  149. package/dist/src/components/elements/radio/radio-group/radio-group.argtypes.d.ts +3 -0
  150. package/dist/src/components/elements/radio/radio-group/radio-group.element.d.ts +16 -0
  151. package/dist/src/components/elements/radio/radio-group/radio-group.element.stories.d.ts +7 -0
  152. package/dist/src/components/elements/radio/radio.argtypes.d.ts +3 -0
  153. package/dist/src/components/elements/radio/radio.element.d.ts +7 -0
  154. package/dist/src/components/elements/radio/radio.element.stories.d.ts +7 -0
  155. package/dist/src/components/elements/section/index.d.ts +1 -0
  156. package/dist/src/components/elements/section/section-title-element.d.ts +11 -0
  157. package/dist/src/components/elements/switch/index.d.ts +2 -0
  158. package/dist/src/components/elements/switch/switch-content/switch-content.argtypes.d.ts +3 -0
  159. package/dist/src/components/elements/switch/switch-content/switch-content.element.d.ts +10 -0
  160. package/dist/src/components/elements/switch/switch-content/switch-content.element.stories.d.ts +6 -0
  161. package/dist/src/components/elements/switch/switch.argtypes.d.ts +3 -0
  162. package/dist/src/components/elements/switch/switch.element.d.ts +7 -0
  163. package/dist/src/components/elements/switch/switch.element.stories.d.ts +6 -0
  164. package/dist/src/components/elements/table/index.d.ts +6 -0
  165. package/dist/src/components/elements/table/part/row-collapse.part.d.ts +25 -0
  166. package/dist/src/components/elements/table/part/table-container.part.d.ts +5 -0
  167. package/dist/src/components/elements/table/part/table-head.part.d.ts +8 -0
  168. package/dist/src/components/elements/table/part/table-tree.part.d.ts +25 -0
  169. package/dist/src/components/elements/table/table-collapse.argtypes.d.ts +6 -0
  170. package/dist/src/components/elements/table/table-collapse.component.d.ts +20 -0
  171. package/dist/src/components/elements/table/table-collapse.component.stories.d.ts +19 -0
  172. package/dist/src/components/elements/table/table.argtypes.d.ts +6 -0
  173. package/dist/src/components/elements/table/table.component.d.ts +41 -0
  174. package/dist/src/components/elements/table/table.component.stories.d.ts +17 -0
  175. package/dist/src/components/elements/table/table.constant.d.ts +8 -0
  176. package/dist/src/components/elements/table/table.enum.d.ts +17 -0
  177. package/dist/src/components/elements/table/table.interface.d.ts +45 -0
  178. package/dist/src/components/elements/tabs/index.d.ts +4 -0
  179. package/dist/src/components/elements/tabs/tabs-badge/tabs-badge.component.d.ts +10 -0
  180. package/dist/src/components/elements/tabs/tabs-badge-subs-vertical/tabs-badge-subs-vertical.component.d.ts +19 -0
  181. package/dist/src/components/elements/tabs/tabs.argtypes.d.ts +3 -0
  182. package/dist/src/components/elements/tabs/tabs.component.d.ts +48 -0
  183. package/dist/src/components/elements/tabs/tabs.constant.d.ts +22 -0
  184. package/dist/src/components/elements/tabs/tabs.element.stories.d.ts +11 -0
  185. package/dist/src/components/elements/tag/index.d.ts +1 -0
  186. package/dist/src/components/elements/tag/tag.argtypes.d.ts +3 -0
  187. package/dist/src/components/elements/tag/tag.element.d.ts +17 -0
  188. package/dist/src/components/elements/tag/tag.element.stories.d.ts +13 -0
  189. package/dist/src/components/elements/text-field/index.d.ts +15 -0
  190. package/dist/src/components/elements/text-field/text-field-date/text-field-date.argtypes.d.ts +3 -0
  191. package/dist/src/components/elements/text-field/text-field-date/text-field-date.element.d.ts +21 -0
  192. package/dist/src/components/elements/text-field/text-field-date/text-field-date.element.stories.d.ts +8 -0
  193. package/dist/src/components/elements/text-field/text-field-date-range/text-field-date-range.argtypes.d.ts +6 -0
  194. package/dist/src/components/elements/text-field/text-field-date-range/text-field-date-range.element.d.ts +19 -0
  195. package/dist/src/components/elements/text-field/text-field-date-range/text-field-date-range.element.stories.d.ts +9 -0
  196. package/dist/src/components/elements/text-field/text-field-date-time/text-field-date-time.argtypes.d.ts +3 -0
  197. package/dist/src/components/elements/text-field/text-field-date-time/text-field-date-time.element.d.ts +22 -0
  198. package/dist/src/components/elements/text-field/text-field-date-time/text-field-date-time.element.stories.d.ts +9 -0
  199. package/dist/src/components/elements/text-field/text-field-email-autocomplete/text-field-email-autocomplete.argtypes.d.ts +6 -0
  200. package/dist/src/components/elements/text-field/text-field-email-autocomplete/text-field-email-autocomplete.element.d.ts +17 -0
  201. package/dist/src/components/elements/text-field/text-field-email-autocomplete/text-field-email-autocomplete.element.stories.d.ts +8 -0
  202. package/dist/src/components/elements/text-field/text-field-hour-minute/text-field-hour-minute.element.d.ts +18 -0
  203. package/dist/src/components/elements/text-field/text-field-label/text-field-label.argtypes.d.ts +3 -0
  204. package/dist/src/components/elements/text-field/text-field-label/text-field-label.element.d.ts +8 -0
  205. package/dist/src/components/elements/text-field/text-field-label/text-field-label.element.stories.d.ts +9 -0
  206. package/dist/src/components/elements/text-field/text-field-month-year/text-field-month-year.element.d.ts +18 -0
  207. package/dist/src/components/elements/text-field/text-field-number/text-field-number.argtypes.d.ts +3 -0
  208. package/dist/src/components/elements/text-field/text-field-number/text-field-number.element.d.ts +21 -0
  209. package/dist/src/components/elements/text-field/text-field-number/text-field-number.element.stories.d.ts +11 -0
  210. package/dist/src/components/elements/text-field/text-field-search/text-field-search.element.d.ts +10 -0
  211. package/dist/src/components/elements/text-field/text-field-search-custom/text-field-search-custom.element.d.ts +9 -0
  212. package/dist/src/components/elements/text-field/text-field-select/text-field-select.argtypes.d.ts +3 -0
  213. package/dist/src/components/elements/text-field/text-field-select/text-field-select.element.d.ts +16 -0
  214. package/dist/src/components/elements/text-field/text-field-select/text-field-select.element.stories.d.ts +12 -0
  215. package/dist/src/components/elements/text-field/text-field-select-search-object/text-field-select-search-object.argtypes.d.ts +3 -0
  216. package/dist/src/components/elements/text-field/text-field-select-search-object/text-field-select-search-object.element.d.ts +26 -0
  217. package/dist/src/components/elements/text-field/text-field-select-search-object/text-field-select-search-object.element.stories.d.ts +13 -0
  218. package/dist/src/components/elements/text-field/text-field-time/text-field-time.element.d.ts +16 -0
  219. package/dist/src/components/elements/text-field/text-field.argtypes.d.ts +3 -0
  220. package/dist/src/components/elements/text-field/text-field.element.d.ts +13 -0
  221. package/dist/src/components/elements/text-field/text-field.element.stories.d.ts +10 -0
  222. package/dist/src/components/elements/text-field/text-highlight/text-highlight.element.d.ts +3 -0
  223. package/dist/src/components/elements/text-field/text-highlight/text-highlight.element.stories.d.ts +5 -0
  224. package/dist/src/components/elements/time-ago/index.d.ts +2 -0
  225. package/dist/src/components/elements/time-ago/time-ago-content/time-ago-content.argtypes.d.ts +3 -0
  226. package/dist/src/components/elements/time-ago/time-ago-content/time-ago-content.component.d.ts +7 -0
  227. package/dist/src/components/elements/time-ago/time-ago-content/time-ago-content.component.stories.d.ts +6 -0
  228. package/dist/src/components/elements/time-ago/time-ago.argtypes.d.ts +3 -0
  229. package/dist/src/components/elements/time-ago/time-ago.component.d.ts +6 -0
  230. package/dist/src/components/elements/time-ago/time-ago.component.stories.d.ts +7 -0
  231. package/dist/src/components/elements/tooltip/index.d.ts +2 -0
  232. package/dist/src/components/elements/tooltip/tooltip-on-click/tooltip-on-click.argtypes.d.ts +3 -0
  233. package/dist/src/components/elements/tooltip/tooltip-on-click/tooltip-on-click.element.d.ts +7 -0
  234. package/dist/src/components/elements/tooltip/tooltip-on-click/tooltip-on-click.element.stories.d.ts +6 -0
  235. package/dist/src/components/elements/tooltip/tooltip-on-hover/tooltip-on-hover.argtypes.d.ts +3 -0
  236. package/dist/src/components/elements/tooltip/tooltip-on-hover/tooltip-on-hover.element.d.ts +9 -0
  237. package/dist/src/components/elements/tooltip/tooltip-on-hover/tooltip-on-hover.element.stories.d.ts +8 -0
  238. package/dist/src/components/elements/typography/index.d.ts +6 -0
  239. package/dist/src/components/elements/typography/typography-animated-icon/typography-animated-icon.argtypes.d.ts +3 -0
  240. package/dist/src/components/elements/typography/typography-animated-icon/typography-animated-icon.component.d.ts +11 -0
  241. package/dist/src/components/elements/typography/typography-animated-icon/typography-animated-icon.component.stories.d.ts +10 -0
  242. package/dist/src/components/elements/typography/typography-content-caption/typography-content-caption.argtypes.d.ts +3 -0
  243. package/dist/src/components/elements/typography/typography-content-caption/typography-content-caption.component.d.ts +11 -0
  244. package/dist/src/components/elements/typography/typography-content-caption/typography-content-caption.component.stories.d.ts +8 -0
  245. package/dist/src/components/elements/typography/typography-grid-info-row/typography-grid-info-row.argtypes.d.ts +3 -0
  246. package/dist/src/components/elements/typography/typography-grid-info-row/typography-grid-info-row.component.d.ts +13 -0
  247. package/dist/src/components/elements/typography/typography-grid-info-row/typography-grid-info-row.component.stories.d.ts +8 -0
  248. package/dist/src/components/elements/typography/typography-info-row/typography-info-row.argtypes.d.ts +3 -0
  249. package/dist/src/components/elements/typography/typography-info-row/typography-info-row.component.d.ts +11 -0
  250. package/dist/src/components/elements/typography/typography-info-row/typography-info-row.component.stories.d.ts +8 -0
  251. package/dist/src/components/elements/typography/typography-info-user/typography-info-user.argtypes.d.ts +3 -0
  252. package/dist/src/components/elements/typography/typography-info-user/typography-info-user.component.d.ts +19 -0
  253. package/dist/src/components/elements/typography/typography-info-user/typography-info-user.component.stories.d.ts +7 -0
  254. package/dist/src/components/elements/typography/typography-one-line/typography-limit-one-line.component.d.ts +7 -0
  255. package/dist/src/components/elements/typography/typography-one-line/typography-one-line.argtypes.d.ts +3 -0
  256. package/dist/src/components/elements/typography/typography-one-line/typography-one-line.component.stories.d.ts +7 -0
  257. package/dist/src/components/elements/user/index.d.ts +1 -0
  258. package/dist/src/components/elements/user/user-info.argtypes.d.ts +3 -0
  259. package/dist/src/components/elements/user/user-info.element.d.ts +9 -0
  260. package/dist/src/components/elements/user/user-info.element.stories.d.ts +8 -0
  261. package/dist/src/components/elements/wrapper/index.d.ts +4 -0
  262. package/dist/src/components/elements/wrapper/wrapper-center/wrapper-center.argtypes.d.ts +3 -0
  263. package/dist/src/components/elements/wrapper/wrapper-center/wrapper-center.element.d.ts +6 -0
  264. package/dist/src/components/elements/wrapper/wrapper-center/wrapper-center.element.stories.d.ts +6 -0
  265. package/dist/src/components/elements/wrapper/wrapper-chart/wrapper-chart.argtypes.d.ts +3 -0
  266. package/dist/src/components/elements/wrapper/wrapper-chart/wrapper-chart.element.d.ts +9 -0
  267. package/dist/src/components/elements/wrapper/wrapper-chart/wrapper-chart.element.stories.d.ts +7 -0
  268. package/dist/src/components/elements/wrapper/wrapper-content/wrapper-content.argtypes.d.ts +3 -0
  269. package/dist/src/components/elements/wrapper/wrapper-content/wrapper-content.element.d.ts +18 -0
  270. package/dist/src/components/elements/wrapper/wrapper-content/wrapper-content.element.stories.d.ts +8 -0
  271. package/dist/src/components/elements/wrapper/wrapper.argtypes.d.ts +3 -0
  272. package/dist/src/components/elements/wrapper/wrapper.element.d.ts +23 -0
  273. package/dist/src/components/elements/wrapper/wrapper.element.stories.d.ts +8 -0
  274. package/dist/src/components/empty/empty.component.d.ts +7 -0
  275. package/dist/src/components/empty/empty.stories.d.ts +6 -0
  276. package/dist/src/components/empty/index.d.ts +1 -0
  277. package/dist/src/components/index.d.ts +17 -0
  278. package/dist/src/components/layouts/default.layout.d.ts +5 -0
  279. package/dist/src/components/layouts/index.d.ts +1 -0
  280. package/dist/src/components/loading/index.d.ts +1 -0
  281. package/dist/src/components/loading/loading.argtypes.d.ts +3 -0
  282. package/dist/src/components/loading/loading.component.d.ts +7 -0
  283. package/dist/src/components/loading/loading.stories.d.ts +6 -0
  284. package/dist/src/components/logo/index.d.ts +1 -0
  285. package/dist/src/components/logo/logo.argtypes.d.ts +3 -0
  286. package/dist/src/components/logo/logo.component.d.ts +19 -0
  287. package/dist/src/components/logo/logo.stories.d.ts +7 -0
  288. package/dist/src/components/motion/index.d.ts +1 -0
  289. package/dist/src/components/motion/motion-box.component.d.ts +148 -0
  290. package/dist/src/components/note/index.d.ts +1 -0
  291. package/dist/src/components/note/note.argtypes.d.ts +3 -0
  292. package/dist/src/components/note/note.component.d.ts +8 -0
  293. package/dist/src/components/note/note.stories.d.ts +8 -0
  294. package/dist/src/components/pages/pages.stories.d.ts +6 -0
  295. package/dist/src/components/price/index.d.ts +1 -0
  296. package/dist/src/components/price/price.argtypes.d.ts +3 -0
  297. package/dist/src/components/price/price.component.d.ts +14 -0
  298. package/dist/src/components/price/price.stories.d.ts +8 -0
  299. package/dist/src/components/providers/index.d.ts +1 -0
  300. package/dist/src/components/providers/sevago.provider.d.ts +5 -0
  301. package/dist/src/components/review/index.d.ts +1 -0
  302. package/dist/src/components/review/review.argtypes.d.ts +3 -0
  303. package/dist/src/components/review/review.component.d.ts +9 -0
  304. package/dist/src/components/review/review.stories.d.ts +7 -0
  305. package/dist/src/components/search-dropdown/index.d.ts +1 -0
  306. package/dist/src/components/search-dropdown/search-dropdown.component.d.ts +32 -0
  307. package/dist/src/components/sidebar/apps-sidebar.component.d.ts +11 -0
  308. package/dist/src/components/sidebar/index.d.ts +2 -0
  309. package/dist/src/components/sidebar/system-monitor-sidebar.argtypes.d.ts +3 -0
  310. package/dist/src/components/sidebar/system-monitor-sidebar.part.d.ts +11 -0
  311. package/dist/src/components/sidebar/system-monitor-sidebar.part.stories.d.ts +6 -0
  312. package/dist/src/components/styles/image.style.d.ts +3 -0
  313. package/dist/src/components/styles/index.d.ts +7 -0
  314. package/dist/src/components/styles/input.style.d.ts +1 -0
  315. package/dist/src/components/styles/link.style.d.ts +1 -0
  316. package/dist/src/components/styles/paper.style.d.ts +7 -0
  317. package/dist/src/components/styles/picker.style.d.ts +47 -0
  318. package/dist/src/components/styles/stack.style.d.ts +83 -0
  319. package/dist/src/components/styles/typography.style.d.ts +1 -0
  320. package/dist/src/components/system-monitor/index.d.ts +1 -0
  321. package/dist/src/components/system-monitor/system-monitor.argtypes.d.ts +3 -0
  322. package/dist/src/components/system-monitor/system-monitor.screen.d.ts +10 -0
  323. package/dist/src/components/system-monitor/system-monitor.stories.d.ts +7 -0
  324. package/dist/src/index.d.ts +3 -0
  325. package/dist/src/main.d.ts +0 -0
  326. package/package.json +109 -0
@@ -0,0 +1,16 @@
1
+ export declare enum Status {
2
+ ACTIVE = "ACTIVE",
3
+ INACTIVE = "INACTIVE",
4
+ DELETED = "DELETED",
5
+ PENDING = "PENDING"
6
+ }
7
+ export declare enum Mode {
8
+ DARK = "dark",
9
+ LIGHT = "light"
10
+ }
11
+ export declare enum Environment {
12
+ PRODUCTION_VPS = "production_vps",
13
+ DEVELOP = "develop",
14
+ STAGING = "staging",
15
+ PRODUCTION = "production"
16
+ }
@@ -0,0 +1,4 @@
1
+ export * from './const';
2
+ export * from './enums';
3
+ export * from './interfaces';
4
+ export * from './utils';
@@ -0,0 +1,31 @@
1
+ import { HttpStatusCode } from 'axios';
2
+ import { OrderType } from '../enums';
3
+ export interface BaseEntity<T> {
4
+ id: string;
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ createdBy?: Partial<T>;
8
+ updatedBy?: Partial<T>;
9
+ createdById?: string;
10
+ updatedById?: string;
11
+ }
12
+ export interface Error {
13
+ message: string;
14
+ statusCode: HttpStatusCode | number;
15
+ }
16
+ export interface PageOptions<T> {
17
+ orderType?: OrderType;
18
+ orderBy?: keyof T;
19
+ page: number;
20
+ take: number;
21
+ search?: string;
22
+ isRelations?: boolean;
23
+ isDeleted?: boolean;
24
+ }
25
+ export interface DeleteOptional {
26
+ soft: boolean | string;
27
+ }
28
+ export interface ResList<T> {
29
+ total: number;
30
+ list: T[];
31
+ }
@@ -0,0 +1,19 @@
1
+ export interface FileFromApi {
2
+ url: string;
3
+ name: string;
4
+ status?: string;
5
+ }
6
+ export interface FileItem extends Partial<File> {
7
+ url?: string;
8
+ preview?: string;
9
+ name: string;
10
+ status?: string;
11
+ }
12
+ export type FileWithPreviewOrUrl = FileWithPreview | FileFromApi | FileItem | string | undefined;
13
+ export interface FileWithPreview extends File {
14
+ preview: string;
15
+ }
16
+ export interface AttachmentDto {
17
+ url: string;
18
+ name: string;
19
+ }
@@ -0,0 +1,3 @@
1
+ export * from './api.interface';
2
+ export * from './file.interface';
3
+ export * from './other.interface';
@@ -0,0 +1,20 @@
1
+ import { AppGroup } from '../enums';
2
+ export interface ChangeEventCustom<T> {
3
+ target: {
4
+ name?: string;
5
+ value?: T;
6
+ };
7
+ }
8
+ export interface AppInfo {
9
+ path: {
10
+ local: string;
11
+ develop: string;
12
+ staging: string;
13
+ production: string;
14
+ production_vps: string;
15
+ };
16
+ content: string;
17
+ color: string;
18
+ icon: string;
19
+ group: AppGroup;
20
+ }
File without changes
@@ -0,0 +1,7 @@
1
+ export declare const checkArraysMatching: (smallArray: any[], bigArray: any[]) => boolean;
2
+ export declare const chunkArray: <T>(array: T[], size: number) => T[][];
3
+ export declare function convertArrayToObj<T extends Record<string, any>>(array: T[], keys: (keyof T)[]): Record<string, T>;
4
+ export declare function convertArrayToObj<T extends Record<string, any>, K extends keyof T>(array: T[], keys: (keyof T)[], value: K): Record<string, T[K]>;
5
+ export declare function groupBy<T>(array: T[], keys: (keyof T)[]): Record<string, T[]>;
6
+ export declare const trimmedArray: (array: any[]) => any[];
7
+ export declare const mapOrder: (originalArray: any[], orderArray: any[], key: string) => any[];
@@ -0,0 +1,2 @@
1
+ export declare function debounce<T extends (...args: any[]) => void>(func: T, delay: number): (...args: Parameters<T>) => void;
2
+ export declare function throttle<T extends (...args: any[]) => void>(func: T, delay: number): (...args: Parameters<T>) => void;
@@ -0,0 +1,10 @@
1
+ import { default as ExcelJS } from 'exceljs';
2
+ import { FileWithPreviewOrUrl } from '../interfaces';
3
+ export declare const styleDefaultRowExcel: (row: ExcelJS.Row) => void;
4
+ export declare const styleDefaultHeaderExcel: (row: ExcelJS.Row) => void;
5
+ export declare const fitColumnWidthHeightExcel: (worksheet: ExcelJS.Worksheet, fixedHeightRows?: Set<number>, // Những dòng sẽ style height bằng tay không áp dụng auto fit
6
+ rowHeight?: number) => void;
7
+ export declare function exportArrayObjectToExcel<T extends object>(array: T[], fileName: string, columnNameObj: Partial<Record<keyof T, string>>, sheetName?: string): Promise<void>;
8
+ export declare const downloadFileFromBlob: (response: any, fileName?: string) => void;
9
+ export declare const getFileExtension: (file: FileWithPreviewOrUrl) => string;
10
+ export declare const isImageFile: (file: FileWithPreviewOrUrl) => boolean;
@@ -0,0 +1,8 @@
1
+ import { FileWithPreviewOrUrl } from '../interfaces/file.interface';
2
+ /**
3
+ * Normalize multiple file shapes into a single image src string.
4
+ * - string: treated as a direct URL
5
+ * - FileWithPreview: uses `preview`
6
+ * - FileFromApi / FileItem: uses `url`
7
+ */
8
+ export declare function getFileSource(file: FileWithPreviewOrUrl): string | undefined;
@@ -0,0 +1,8 @@
1
+ export * as arrayUtil from './array.util';
2
+ export * as delayUtil from './delay.util';
3
+ export * as fileUtil from './file.util';
4
+ export * as numberUtil from './number.util';
5
+ export * as objectUtil from './object.util';
6
+ export * as otherUtil from './other.util';
7
+ export * as stringUtil from './string.util';
8
+ export * as timeUtil from './time.util';
@@ -0,0 +1,2 @@
1
+ export declare const formatNumber: (value: any, decimalPlaces?: number) => any;
2
+ export declare const round5000: (number: number) => number;
@@ -0,0 +1,8 @@
1
+ export declare const compareObjectsGetUpdatedProperties: <T extends Record<string, any>, K extends keyof T>(oldObj: T, newObj: T, blacklist: K[]) => { [P in keyof T]: {
2
+ old: T[P];
3
+ new: T[P];
4
+ }; };
5
+ export declare const sortObjectByKeyLengthDesc: (obj: Record<string, any>) => Record<string, any>;
6
+ export declare const getKeyValuesFromObject: (object: any, keys: string[]) => string;
7
+ export declare const omitProperties: <T extends object, K extends keyof T>(obj: T, keysToOmit: K[]) => Omit<T, K>;
8
+ export declare const objectToStyleInline: (styleObj: any) => string;
@@ -0,0 +1,15 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { Environment, Mode } from '../enums';
3
+ import { FileWithPreviewOrUrl } from '../interfaces';
4
+ export declare const getTheme: (mode?: Mode) => Theme;
5
+ export declare const calculatePageAndIndex: (urlIndex: number, urlPage: number, urlTake: number, currentTake?: number) => {
6
+ page: number;
7
+ index: number;
8
+ };
9
+ export declare const scrollTo: (id: string) => void;
10
+ export declare const getLimitLineCss: (line: number) => SxProps<Theme>;
11
+ export declare const getCurrentEnvironment: () => Environment;
12
+ export declare const getErrorMessage: (e: unknown) => string;
13
+ export declare const getAppBlackList: (user: any, env: Environment, appBlackList: Record<string, string[]>) => string[];
14
+ export declare const lightenColor: (hex?: string, percent?: number) => string;
15
+ export declare const getDocumentIcon: (file: FileWithPreviewOrUrl) => FileWithPreviewOrUrl;
@@ -0,0 +1,14 @@
1
+ export declare const stringToColor: (string: string) => string;
2
+ export declare const extractNumberAtStartString: (string: string) => number;
3
+ export declare const camelToKebabCase: (str: string) => string;
4
+ /**
5
+ * Pha màu để làm nhạt màu gốc (blend với màu trắng)
6
+ * @param color Màu HEX gốc (VD: '#008a77')
7
+ * @param percentage Phần trăm nhạt đi (0-100)
8
+ */
9
+ export declare const lightenColorTree: (color: string, percentage: number) => string;
10
+ export declare const stripHtml: (html: string) => string;
11
+ export declare const truncateText: (text: string, maxLength?: number) => string;
12
+ export declare const normalizeText: (text: string) => string;
13
+ export declare const isEmpty: (value: any) => boolean;
14
+ export declare const checkEmptyText: (value: any) => string;
@@ -0,0 +1,16 @@
1
+ import { default as dayjs, Dayjs } from 'dayjs';
2
+ export declare const getTimeAgo: (time: Date | string) => string;
3
+ export declare const getDateTime: (time?: Date | string, isGetDay?: boolean) => string;
4
+ export declare const getDate: (time?: Date | string) => string;
5
+ export declare const checkNowYear: (date?: Date, year?: number) => boolean;
6
+ export declare const getMonthRangeForYear: (startDate: Date, endDate: Date, year: number) => {
7
+ start: number;
8
+ end: number;
9
+ };
10
+ export declare function getDayOffsetPx(date: dayjs.Dayjs, monthWidths: number[], dayWidth: number): number;
11
+ export declare const isSameDateTime: (createdAt: Date | string, updatedAt: Date | string) => boolean;
12
+ export declare const getTimeDate: (time?: Date | string) => string;
13
+ export declare const isDateString: (value: any) => boolean;
14
+ export declare const getDateISO: (date?: Date | string | null) => string | undefined;
15
+ export declare const formatActivityDateLabel: (time: Date | string) => string;
16
+ export declare const formatRange: (range: [Dayjs | null, Dayjs | null]) => string;
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { AppInfo } from '../../common';
3
+ export interface AppGridItemProps {
4
+ app: AppInfo;
5
+ iconSize: number;
6
+ iconRadius: number;
7
+ titleVariant?: 'subtitle1' | 'body1' | 'caption';
8
+ titleColor?: string;
9
+ showNameApps?: boolean;
10
+ showIconApps?: boolean;
11
+ direction?: 'row' | 'column';
12
+ }
13
+ export declare const AppGridItem: React.FC<AppGridItemProps>;
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { AppInfo } from '../../common';
3
+ export interface AppGridProps {
4
+ apps: AppInfo[];
5
+ columns?: number;
6
+ rows?: number;
7
+ iconSize?: number;
8
+ iconRadius?: number;
9
+ titleVariant?: 'subtitle1' | 'body1' | 'caption';
10
+ captionVariant?: 'caption' | 'body2';
11
+ titleColor?: string;
12
+ captionColor?: string;
13
+ showPagination?: boolean;
14
+ onClickApp: (appInfo: AppInfo) => void;
15
+ isShowAppHidden?: boolean;
16
+ }
17
+ export declare const AppGrid: React.FC<AppGridProps>;
@@ -0,0 +1,2 @@
1
+ export * from './app-grid.component';
2
+ export * from './app-grid-item.component';
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { CardStatisticsComponentProps } from './card-statistic.component';
3
+ export declare const cardStatisticArgTypes: Partial<ArgTypes<CardStatisticsComponentProps>>;
@@ -0,0 +1,10 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ export interface CardStatisticsComponentProps {
3
+ label: string;
4
+ count: number;
5
+ color: string;
6
+ bgColor: string;
7
+ icon: string;
8
+ info?: ReactNode;
9
+ }
10
+ export declare const CardStatisticsComponent: React.FC<CardStatisticsComponentProps>;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { CardStatisticsComponent } from './card-statistic.component';
3
+ declare const meta: Meta<typeof CardStatisticsComponent>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CardStatisticsComponent>;
6
+ export declare const Default: Story;
7
+ export declare const WithInfo: Story;
@@ -0,0 +1 @@
1
+ export * from './card-statistic.component';
@@ -0,0 +1,29 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { ReactNode } from 'react';
3
+ interface SelectOption {
4
+ label: string;
5
+ value: string | number;
6
+ icon?: string;
7
+ avatar?: string;
8
+ statusIndicator?: boolean;
9
+ }
10
+ interface SelectFieldProps {
11
+ label?: string;
12
+ placeholder?: string;
13
+ value?: string | number | null;
14
+ disabled?: boolean;
15
+ error?: boolean;
16
+ success?: boolean;
17
+ errorMessage?: ReactNode;
18
+ successMessage?: ReactNode;
19
+ borderRadius?: number | 'max';
20
+ onChange?: (value: string | number) => void;
21
+ helperText?: string;
22
+ options: SelectOption[];
23
+ checkIconColor?: string;
24
+ required?: boolean;
25
+ sx?: SxProps<Theme>;
26
+ labelSx?: SxProps<Theme>;
27
+ }
28
+ declare const DropdownFieldComponent: ({ label, placeholder, value, disabled, error, success, errorMessage, successMessage, borderRadius, onChange, helperText, options, checkIconColor, required, sx, labelSx, }: SelectFieldProps) => import("react/jsx-runtime").JSX.Element;
29
+ export { DropdownFieldComponent };
@@ -0,0 +1 @@
1
+ export * from './dropdown-field.component';
@@ -0,0 +1,13 @@
1
+ export declare const SIZE_AVATAR_CHAT_PERSON = 40;
2
+ export declare const SIZE_EXTRA_LARGE = 36;
3
+ export declare const SIZE_ONLINE_STATUS = 8;
4
+ export type SizeProps = 'extra_small' | 'small' | 'medium' | 'large' | 'extra_large' | 'avatar_group' | 'online_status' | 'avatar_chat_person';
5
+ export declare const MAP_SIZE: Record<string, {
6
+ width: number;
7
+ height: number;
8
+ }>;
9
+ export declare enum StatusAvatar {
10
+ PENDING = "\u0110ang ch\u1EDD",
11
+ APPROVED = "\u0110\u00E3 ph\u00EA duy\u1EC7t",
12
+ REJECTED = "\u0110\u00E3 t\u1EEB ch\u1ED1i"
13
+ }
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { AvatarGroupElementProps } from './avatar-group.element';
3
+ export declare const avatarGroupArgTypes: Partial<ArgTypes<AvatarGroupElementProps>>;
@@ -0,0 +1,21 @@
1
+ import { AvatarProps, SxProps } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ import { SizeProps } from '../../../../common';
4
+ import { StatusAvatar } from '../avatar-enum.enum';
5
+ interface AvatarGroupItem {
6
+ url: string;
7
+ tooltipContent?: React.ReactNode;
8
+ status?: StatusAvatar;
9
+ alt?: string;
10
+ }
11
+ export interface AvatarGroupElementProps extends AvatarProps {
12
+ items: AvatarGroupItem[];
13
+ sxGroup?: SxProps;
14
+ maxAvatars?: number;
15
+ size?: SizeProps;
16
+ renderSurplus?: ((surplus: number) => React.ReactNode) | undefined;
17
+ approveStatus?: string;
18
+ rejectStatus?: string;
19
+ }
20
+ export declare const AvatarGroupElement: React.FC<AvatarGroupElementProps>;
21
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { AvatarGroupElement } from './avatar-group.element';
3
+ declare const meta: Meta<typeof AvatarGroupElement>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AvatarGroupElement>;
6
+ export declare const Default: Story;
7
+ export declare const WithStatuses: Story;
8
+ export declare const SurplusPopover: Story;
9
+ export declare const Sizes: Story;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { AvatarOnlineStatusElementProps } from './avatar-online-status.element';
3
+ export declare const avatarOnlineStatusArgTypes: Partial<ArgTypes<AvatarOnlineStatusElementProps>>;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { SizeProps } from '../../../../common';
3
+ export interface AvatarOnlineStatusElementProps {
4
+ url?: string | null;
5
+ size?: SizeProps | string;
6
+ online?: boolean;
7
+ children?: React.ReactNode;
8
+ }
9
+ export declare const OnlineBadge: import('@emotion/styled').StyledComponent<import('@mui/material').BadgeOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "components" | "style" | "color" | "className" | "classes" | "children" | "sx" | "variant" | "slots" | "slotProps" | "componentsProps" | "max" | "invisible" | "anchorOrigin" | "badgeContent" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
10
+ component?: React.ElementType;
11
+ }, {}, {}>;
12
+ export declare const AvatarOnlineStatusElement: React.FC<AvatarOnlineStatusElementProps>;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { AvatarOnlineStatusElement } from './avatar-online-status.element';
3
+ declare const meta: Meta<typeof AvatarOnlineStatusElement>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AvatarOnlineStatusElement>;
6
+ export declare const Default: Story;
7
+ export declare const Sizes: Story;
8
+ export declare const WithImage: Story;
9
+ export declare const StatusComparison: Story;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { AvatarUserInfoProps } from './avatar-user-info.element';
3
+ export declare const avatarUserInfoArgTypes: Partial<ArgTypes<AvatarUserInfoProps>>;
@@ -0,0 +1,15 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ import { SizeProps } from '../../../../common';
4
+ export interface AvatarUserInfoProps {
5
+ name?: string;
6
+ url?: string;
7
+ positions?: string[];
8
+ maxWidth?: string | number;
9
+ isTag?: boolean;
10
+ sxName?: SxProps<Theme>;
11
+ sxPosition?: SxProps<Theme>;
12
+ sizeAvatar?: SizeProps | string;
13
+ onClick?: () => void;
14
+ }
15
+ export declare const AvatarUserInfo: React.FC<AvatarUserInfoProps>;
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { AvatarUserInfo } from './avatar-user-info.element';
3
+ declare const meta: Meta<typeof AvatarUserInfo>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AvatarUserInfo>;
6
+ export declare const Default: Story;
7
+ export declare const WithTag: Story;
8
+ export declare const WithoutImage: Story;
9
+ export declare const Sizes: Story;
10
+ export declare const LongName: Story;
11
+ export declare const WithCustomMaxWidth: Story;
12
+ export declare const NameOnly: Story;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { AvatarUserInfoDetailProps } from './avatar-user-info-detail.element';
3
+ export declare const avatarUserInfoDetailArgTypes: Partial<ArgTypes<AvatarUserInfoDetailProps>>;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { SizeProps } from '../../../../common';
3
+ export interface AvatarUserInfoDetailProps {
4
+ name?: string;
5
+ url?: string;
6
+ positions?: string[];
7
+ maxWidth?: string | number;
8
+ sizeAvatar?: SizeProps;
9
+ code?: string;
10
+ directManagers?: any[];
11
+ }
12
+ export declare const AvatarUserInfoDetail: React.FC<AvatarUserInfoDetailProps>;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { AvatarUserInfoDetail } from './avatar-user-info-detail.element';
3
+ declare const meta: Meta<typeof AvatarUserInfoDetail>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AvatarUserInfoDetail>;
6
+ export declare const Default: Story;
7
+ export declare const WithDirectManagers: Story;
8
+ export declare const LongContent: Story;
9
+ export declare const ResponsivePreview: Story;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { AvatarUserInfoUpdateProps } from './avatar-user-info-update.element';
3
+ export declare const avatarUserInfoUpdateArgTypes: Partial<ArgTypes<AvatarUserInfoUpdateProps>>;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { FileWithPreview, FileWithPreviewOrUrl } from '../../../../common/interfaces/file.interface';
3
+ export interface AvatarUserInfoUpdateProps {
4
+ title?: string;
5
+ nameFile?: string;
6
+ url?: FileWithPreviewOrUrl;
7
+ positions?: string[];
8
+ onChange?: (file: FileWithPreview | null) => void;
9
+ loading?: boolean;
10
+ }
11
+ export declare const AvatarUserInfoUpdate: React.FC<AvatarUserInfoUpdateProps>;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { AvatarUserInfoUpdate } from './avatar-user-info-update.element';
3
+ declare const meta: Meta<typeof AvatarUserInfoUpdate>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AvatarUserInfoUpdate>;
6
+ export declare const Default: Story;
7
+ export declare const LoadingOverlay: Story;
8
+ export declare const Controlled: Story;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { AvatarElementProps } from './avatar.element';
3
+ export declare const avatarArgTypes: Partial<ArgTypes<AvatarElementProps>>;
@@ -0,0 +1,9 @@
1
+ import { AvatarProps } from '@mui/material';
2
+ import { default as React, ReactNode } from 'react';
3
+ import { SizeProps } from '../../../common';
4
+ export interface AvatarElementProps extends AvatarProps {
5
+ url?: string | null;
6
+ size?: SizeProps | string;
7
+ tooltipContent?: ReactNode;
8
+ }
9
+ export declare const AvatarElement: React.FC<AvatarElementProps>;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { AvatarElement } from './avatar.element';
3
+ declare const meta: Meta<typeof AvatarElement>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AvatarElement>;
6
+ export declare const Default: Story;
7
+ export declare const Sizes: Story;
8
+ export declare const WithImage: Story;
9
+ export declare const WithTooltip: Story;
@@ -0,0 +1,6 @@
1
+ export * from './avatar-group/avatar-group.element';
2
+ export * from './avatar-online-status/avatar-online-status.element';
3
+ export * from './avatar-user-info-detail/avatar-user-info-detail.element';
4
+ export * from './avatar-user-info-update/avatar-user-info-update.element';
5
+ export * from './avatar-user-info/avatar-user-info.element';
6
+ export * from './avatar.element';
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export interface BreadcrumbItem {
3
+ label: string;
4
+ href?: string;
5
+ onClick?: () => void;
6
+ }
7
+ interface BreadcrumbElementProps {
8
+ items: BreadcrumbItem[];
9
+ }
10
+ export declare const BreadcrumbElement: React.FC<BreadcrumbElementProps>;
11
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { BreadcrumbElement } from './breadcrumb.element';
3
+ declare const meta: Meta<typeof BreadcrumbElement>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof BreadcrumbElement>;
6
+ export declare const Default: Story;
7
+ export declare const WithClickableCrumbs: Story;
8
+ export declare const ManyItems: Story;
@@ -0,0 +1 @@
1
+ export * from './breadcrumb.element';
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { ButtonIconContentOpacityElementProps } from './button-icon-content-opacity.element';
3
+ export declare const buttonIconContentOpacityArgTypes: ArgTypes<ButtonIconContentOpacityElementProps>;
@@ -0,0 +1,10 @@
1
+ import { ButtonProps } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ export interface ButtonIconContentOpacityElementProps extends ButtonProps {
4
+ loading?: boolean;
5
+ icon: string;
6
+ content: any;
7
+ isQuare?: boolean;
8
+ permission?: boolean;
9
+ }
10
+ export declare const ButtonIconContentOpacityElement: React.FC<ButtonIconContentOpacityElementProps>;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { ButtonIconContentOpacityElement } from './button-icon-content-opacity.element';
3
+ declare const meta: Meta<typeof ButtonIconContentOpacityElement>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ButtonIconContentOpacityElement>;
6
+ export declare const Default: Story;
7
+ export declare const Variants: Story;
8
+ export declare const Square: Story;
9
+ export declare const ClickCallsOnClick: Story;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { ButtonIconElementProps } from './button-icon.element';
3
+ export declare const buttonIconArgTypes: ArgTypes<ButtonIconElementProps>;
@@ -0,0 +1,8 @@
1
+ import { ButtonProps } from '@mui/material';
2
+ export interface ButtonIconElementProps extends ButtonProps {
3
+ icon: string;
4
+ loading?: boolean;
5
+ permission?: boolean;
6
+ sizeType?: 'CIRCLE' | 'SQUARE' | 'FULL_WIDTH';
7
+ }
8
+ export declare const ButtonIconElement: React.FC<ButtonIconElementProps>;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { ButtonIconElement } from './button-icon.element';
3
+ declare const meta: Meta<typeof ButtonIconElement>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ButtonIconElement>;
6
+ export declare const Default: Story;
7
+ export declare const Variants: Story;
8
+ export declare const Loading: Story;
9
+ export declare const ClickCallsOnClick: Story;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes } from '@storybook/react';
2
+ import { ButtonImageElementProps } from './button-image.element';
3
+ export declare const buttonImageArgTypes: ArgTypes<ButtonImageElementProps>;
@@ -0,0 +1,11 @@
1
+ import { ButtonProps, SxProps } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ export interface ButtonImageElementProps extends ButtonProps {
4
+ loading?: boolean;
5
+ startIcon?: string;
6
+ endIcon?: string;
7
+ content: string;
8
+ sx?: SxProps;
9
+ permission?: boolean;
10
+ }
11
+ export declare const ButtonImageElement: React.FC<ButtonImageElementProps>;