@povio/ui 0.0.8 → 0.0.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 (482) hide show
  1. package/dist/assets/icons/AlignCenter.js +21 -0
  2. package/dist/assets/icons/AlignLeft.js +21 -0
  3. package/dist/assets/icons/AlignLeftRight.js +21 -0
  4. package/dist/assets/icons/AlignRight.js +21 -0
  5. package/dist/assets/icons/ArrowDropDown.js +21 -0
  6. package/dist/assets/icons/ArrowDropUp.js +21 -0
  7. package/dist/assets/icons/ArrowLeft.js +21 -0
  8. package/dist/assets/icons/ArrowRight.js +21 -0
  9. package/dist/assets/icons/Bold.js +21 -0
  10. package/dist/assets/icons/BulletedList.js +21 -0
  11. package/dist/assets/icons/Calendar.js +23 -0
  12. package/dist/assets/icons/Check.js +23 -0
  13. package/dist/assets/icons/CheckCircle.js +21 -0
  14. package/dist/assets/icons/CheckboxCheckmark.js +24 -0
  15. package/dist/assets/icons/CheckboxIndeterminate.js +24 -0
  16. package/dist/assets/icons/ChevronDown.js +23 -0
  17. package/dist/assets/icons/ChevronLeft.js +23 -0
  18. package/dist/assets/icons/ChevronRight.js +23 -0
  19. package/dist/assets/icons/ChevronUp.js +23 -0
  20. package/dist/assets/icons/ChevronsLeft.js +23 -0
  21. package/dist/assets/icons/ChevronsRight.js +23 -0
  22. package/dist/assets/icons/Clock.js +21 -0
  23. package/dist/assets/icons/Close.js +21 -0
  24. package/dist/assets/icons/DateTime.js +32 -0
  25. package/dist/assets/icons/Drag.js +21 -0
  26. package/dist/assets/icons/File.js +23 -0
  27. package/dist/assets/icons/Highlight.js +21 -0
  28. package/dist/assets/icons/HighlightOn.js +30 -0
  29. package/dist/assets/icons/Info.js +32 -0
  30. package/dist/assets/icons/Italic.js +21 -0
  31. package/dist/assets/icons/Link.js +21 -0
  32. package/dist/assets/icons/Menu.js +21 -0
  33. package/dist/assets/icons/NumberedList.js +21 -0
  34. package/dist/assets/icons/PointerHorizontal.js +21 -0
  35. package/dist/assets/icons/PointerVertical.js +21 -0
  36. package/dist/assets/icons/Send.js +23 -0
  37. package/dist/assets/icons/Strikethrough.js +21 -0
  38. package/dist/assets/icons/TextColor.js +30 -0
  39. package/dist/assets/icons/Today.js +21 -0
  40. package/dist/assets/icons/Underlined.js +23 -0
  41. package/dist/assets/icons/Upload.js +30 -0
  42. package/dist/assets/icons/View.js +18 -0
  43. package/dist/assets/icons/ViewOff.js +18 -0
  44. package/dist/assets/icons/WarningFilled.js +23 -0
  45. package/dist/assets/locales/en/translation.json.js +14 -0
  46. package/dist/assets/locales/sl/translation.json.js +14 -0
  47. package/dist/components/Menu/Menu.js +14 -0
  48. package/{src → dist}/components/Menu/MenuDesktop.d.ts +1 -1
  49. package/dist/components/Menu/MenuDesktop.js +68 -0
  50. package/{src → dist}/components/Menu/MenuItem.d.ts +1 -1
  51. package/dist/components/Menu/MenuItem.js +33 -0
  52. package/{src → dist}/components/Menu/MenuMobile.d.ts +1 -1
  53. package/dist/components/Menu/MenuMobile.js +78 -0
  54. package/{src → dist}/components/Menu/MenuPopover.d.ts +1 -1
  55. package/dist/components/Menu/MenuPopover.js +38 -0
  56. package/{src → dist}/components/buttons/Button/Button.d.ts +1 -1
  57. package/dist/components/buttons/Button/Button.js +68 -0
  58. package/{src → dist}/components/buttons/Button/button.cva.d.ts +1 -1
  59. package/dist/components/buttons/Button/button.cva.js +672 -0
  60. package/{src → dist}/components/buttons/IconButton/IconButton.d.ts +1 -1
  61. package/dist/components/buttons/IconButton/IconButton.js +17 -0
  62. package/{src → dist}/components/buttons/InlineIconButton/InlineIconButton.d.ts +1 -1
  63. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +18 -0
  64. package/{src → dist}/components/buttons/PillButton/PillButton.d.ts +2 -2
  65. package/dist/components/buttons/PillButton/PillButton.js +44 -0
  66. package/{src → dist}/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
  67. package/dist/components/buttons/PillButton/pillButton.cva.js +86 -0
  68. package/{src → dist}/components/buttons/SplitButton/SplitButton.d.ts +2 -2
  69. package/dist/components/buttons/SplitButton/SplitButton.js +62 -0
  70. package/{src → dist}/components/buttons/TextButton/TextButton.d.ts +3 -3
  71. package/dist/components/buttons/TextButton/TextButton.js +18 -0
  72. package/{src → dist}/components/buttons/ToggleButton/ToggleButton.d.ts +3 -3
  73. package/dist/components/buttons/ToggleButton/ToggleButton.js +21 -0
  74. package/{src → dist}/components/buttons/shared/ButtonContent.d.ts +3 -3
  75. package/dist/components/buttons/shared/ButtonContent.js +53 -0
  76. package/dist/components/buttons/shared/buttonContent.cva.js +16 -0
  77. package/{src → dist}/components/inputs/Checkbox/Checkbox.d.ts +3 -3
  78. package/dist/components/inputs/Checkbox/Checkbox.js +81 -0
  79. package/{src → dist}/components/inputs/Checkbox/CheckboxCheckmark.d.ts +1 -1
  80. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +49 -0
  81. package/{src → dist}/components/inputs/Checkbox/checkbox.cva.d.ts +1 -1
  82. package/dist/components/inputs/Checkbox/checkbox.cva.js +47 -0
  83. package/{src → dist}/components/inputs/DateTime/DatePicker/DatePicker.d.ts +3 -3
  84. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +237 -0
  85. package/{src → dist}/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +3 -3
  86. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +674 -0
  87. package/{src → dist}/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +3 -3
  88. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +251 -0
  89. package/{src → dist}/components/inputs/DateTime/TimePicker/TimePicker.d.ts +3 -3
  90. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +224 -0
  91. package/dist/components/inputs/DateTime/shared/Calendar.js +85 -0
  92. package/dist/components/inputs/DateTime/shared/CalendarCell.js +160 -0
  93. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +67 -0
  94. package/{src → dist}/components/inputs/DateTime/shared/CalendarHeader.d.ts +1 -1
  95. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +89 -0
  96. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +203 -0
  97. package/dist/components/inputs/DateTime/shared/DateField.js +62 -0
  98. package/{src → dist}/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -2
  99. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +174 -0
  100. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +55 -0
  101. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +76 -0
  102. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +41 -0
  103. package/dist/components/inputs/DateTime/shared/MonthPicker.js +82 -0
  104. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +131 -0
  105. package/dist/components/inputs/DateTime/shared/TimeField.js +26 -0
  106. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +186 -0
  107. package/{src → dist}/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -2
  108. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +114 -0
  109. package/dist/components/inputs/DateTime/shared/YearPicker.js +89 -0
  110. package/dist/components/inputs/File/FileUpload.js +254 -0
  111. package/dist/components/inputs/File/FileUploadContainer.js +17 -0
  112. package/dist/components/inputs/File/InputUpload.js +176 -0
  113. package/{src → dist}/components/inputs/File/fileUpload.types.d.ts +3 -3
  114. package/{src → dist}/components/inputs/File/inputUpload.types.d.ts +2 -2
  115. package/{src → dist}/components/inputs/File/shared/FileCard.d.ts +1 -1
  116. package/dist/components/inputs/File/shared/FileCard.js +67 -0
  117. package/{src → dist}/components/inputs/File/shared/FileCardList.d.ts +1 -1
  118. package/dist/components/inputs/File/shared/FileCardList.js +20 -0
  119. package/dist/components/inputs/File/shared/FileProgressBar.js +32 -0
  120. package/{src → dist}/components/inputs/File/shared/FileUploadContent.d.ts +1 -1
  121. package/dist/components/inputs/File/shared/FileUploadContent.js +92 -0
  122. package/{src → dist}/components/inputs/File/shared/FileUploadContentEmpty.d.ts +1 -1
  123. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +92 -0
  124. package/{src → dist}/components/inputs/File/shared/FileUploadContentError.d.ts +1 -1
  125. package/dist/components/inputs/File/shared/FileUploadContentError.js +167 -0
  126. package/{src → dist}/components/inputs/File/shared/FileUploadContentFilled.d.ts +1 -1
  127. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +176 -0
  128. package/{src → dist}/components/inputs/File/shared/FileUploadContentLoading.d.ts +1 -1
  129. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +128 -0
  130. package/{src → dist}/components/inputs/File/shared/InputUploadContent.d.ts +1 -1
  131. package/dist/components/inputs/File/shared/InputUploadContent.js +74 -0
  132. package/dist/components/inputs/File/shared/InputUploadFilled.js +45 -0
  133. package/dist/components/inputs/File/shared/fileUpload.cva.js +58 -0
  134. package/dist/components/inputs/File/shared/inputUploadButton.cva.js +49 -0
  135. package/{src → dist}/components/inputs/FormField/FormField.d.ts +3 -3
  136. package/dist/components/inputs/FormField/FormField.js +54 -0
  137. package/dist/components/inputs/FormField/FormFieldError.js +16 -0
  138. package/dist/components/inputs/FormField/FormFieldHeader.js +57 -0
  139. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +20 -0
  140. package/{src → dist}/components/inputs/FormField/FormFieldLabel.d.ts +2 -2
  141. package/dist/components/inputs/FormField/FormFieldLabel.js +37 -0
  142. package/{src → dist}/components/inputs/Input/NumberInput/NumberInput.d.ts +4 -4
  143. package/dist/components/inputs/Input/NumberInput/NumberInput.js +157 -0
  144. package/{src → dist}/components/inputs/Input/PasswordInput/PasswordInput.d.ts +2 -2
  145. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +26 -0
  146. package/{src → dist}/components/inputs/Input/TextArea/TextArea.d.ts +3 -3
  147. package/dist/components/inputs/Input/TextArea/TextArea.js +146 -0
  148. package/{src → dist}/components/inputs/Input/TextInput/TextInput.d.ts +4 -4
  149. package/dist/components/inputs/Input/TextInput/TextInput.js +170 -0
  150. package/{src → dist}/components/inputs/Input/shared/InputContent.d.ts +3 -3
  151. package/dist/components/inputs/Input/shared/InputContent.js +114 -0
  152. package/{src → dist}/components/inputs/Inputs/Form.d.ts +2 -2
  153. package/dist/components/inputs/Inputs/Form.js +68 -0
  154. package/{src → dist}/components/inputs/Inputs/InputItem.d.ts +16 -16
  155. package/dist/components/inputs/Inputs/InputItem.js +63 -0
  156. package/dist/components/inputs/Inputs/Inputs.js +32 -0
  157. package/{src → dist}/components/inputs/RadioGroup/RadioGroup.d.ts +3 -3
  158. package/dist/components/inputs/RadioGroup/RadioGroup.js +113 -0
  159. package/{src → dist}/components/inputs/RadioGroup/radio.cva.d.ts +1 -1
  160. package/dist/components/inputs/RadioGroup/radio.cva.js +47 -0
  161. package/{src → dist}/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +3 -3
  162. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +39 -0
  163. package/{src → dist}/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +3 -3
  164. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +25 -0
  165. package/{src → dist}/components/inputs/Selection/Select/Select.d.ts +3 -3
  166. package/dist/components/inputs/Selection/Select/Select.js +32 -0
  167. package/{src → dist}/components/inputs/Selection/shared/SelectBase.d.ts +3 -3
  168. package/dist/components/inputs/Selection/shared/SelectBase.js +25 -0
  169. package/{src → dist}/components/inputs/Selection/shared/SelectDesktop.d.ts +1 -1
  170. package/dist/components/inputs/Selection/shared/SelectDesktop.js +211 -0
  171. package/{src → dist}/components/inputs/Selection/shared/SelectInput.d.ts +4 -4
  172. package/dist/components/inputs/Selection/shared/SelectInput.js +231 -0
  173. package/{src → dist}/components/inputs/Selection/shared/SelectInputTags.d.ts +2 -2
  174. package/dist/components/inputs/Selection/shared/SelectInputTags.js +22 -0
  175. package/{src → dist}/components/inputs/Selection/shared/SelectListBox.d.ts +2 -2
  176. package/dist/components/inputs/Selection/shared/SelectListBox.js +108 -0
  177. package/{src → dist}/components/inputs/Selection/shared/SelectListBoxItem.d.ts +2 -2
  178. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +78 -0
  179. package/{src → dist}/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +1 -1
  180. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +45 -0
  181. package/{src → dist}/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +1 -1
  182. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +47 -0
  183. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +42 -0
  184. package/{src → dist}/components/inputs/Selection/shared/SelectMobile.d.ts +1 -1
  185. package/dist/components/inputs/Selection/shared/SelectMobile.js +161 -0
  186. package/{src → dist}/components/inputs/Selection/shared/select.context.d.ts +2 -2
  187. package/dist/components/inputs/Selection/shared/select.context.js +244 -0
  188. package/{src → dist}/components/inputs/Selection/shared/select.types.d.ts +1 -1
  189. package/{src → dist}/components/inputs/Selection/shared/useSelectItems.d.ts +2 -2
  190. package/dist/components/inputs/Selection/shared/useSelectItems.js +94 -0
  191. package/{src → dist}/components/inputs/Slider/Slider.d.ts +2 -2
  192. package/dist/components/inputs/Slider/Slider.js +137 -0
  193. package/{src → dist}/components/inputs/TextEditor/TextEditor.d.ts +2 -2
  194. package/dist/components/inputs/TextEditor/TextEditor.js +223 -0
  195. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +34 -0
  196. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +80 -0
  197. package/{src → dist}/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +1 -1
  198. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +92 -0
  199. package/{src → dist}/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +1 -1
  200. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +56 -0
  201. package/{src → dist}/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +1 -1
  202. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +33 -0
  203. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +31 -0
  204. package/{src → dist}/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +1 -1
  205. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +37 -0
  206. package/{src → dist}/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +1 -1
  207. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +51 -0
  208. package/{src → dist}/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +1 -1
  209. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +73 -0
  210. package/{src → dist}/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +1 -1
  211. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +61 -0
  212. package/dist/components/inputs/TextEditor/textEditor.types.js +40 -0
  213. package/{src → dist}/components/inputs/Toggle/Toggle.d.ts +3 -3
  214. package/dist/components/inputs/Toggle/Toggle.js +65 -0
  215. package/{src → dist}/components/inputs/Toggle/toggle.cva.d.ts +1 -1
  216. package/dist/components/inputs/Toggle/toggle.cva.js +44 -0
  217. package/{src → dist}/components/inputs/shared/CheckContent.d.ts +1 -1
  218. package/dist/components/inputs/shared/CheckContent.js +22 -0
  219. package/dist/components/inputs/shared/InputClear.js +27 -0
  220. package/dist/components/inputs/shared/input.cva.js +168 -0
  221. package/{src → dist}/components/inputs/shared/label.cva.d.ts +1 -1
  222. package/dist/components/inputs/shared/label.cva.js +133 -0
  223. package/dist/components/outline.clsx.js +11 -0
  224. package/{src → dist}/components/overlays/ActionModal/ActionModal.d.ts +2 -2
  225. package/dist/components/overlays/ActionModal/ActionModal.js +80 -0
  226. package/dist/components/overlays/BottomSheet/BottomSheet.js +261 -0
  227. package/dist/components/overlays/Drawer/Drawer.js +84 -0
  228. package/{src → dist}/components/overlays/Modal/Modal.d.ts +1 -1
  229. package/dist/components/overlays/Modal/Modal.js +53 -0
  230. package/dist/components/overlays/Modal/modal.cva.js +53 -0
  231. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +71 -0
  232. package/{src → dist}/components/overlays/Tooltip/Tooltip.d.ts +1 -1
  233. package/dist/components/overlays/Tooltip/Tooltip.js +70 -0
  234. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +27 -0
  235. package/dist/components/overlays/Tooltip/tooltip.cva.js +60 -0
  236. package/dist/components/segment/Segment.js +119 -0
  237. package/dist/components/segment/SegmentItem.js +43 -0
  238. package/{src → dist}/components/segment/segment.types.d.ts +1 -1
  239. package/dist/components/shared/pagination/Pagination.js +75 -0
  240. package/{src → dist}/components/shared/pagination/PaginationList.d.ts +1 -1
  241. package/dist/components/shared/pagination/PaginationList.js +145 -0
  242. package/dist/components/shared/pagination/minWidth.cva.js +15 -0
  243. package/{src → dist}/components/status/Alert/Alert.d.ts +1 -1
  244. package/dist/components/status/Alert/Alert.js +41 -0
  245. package/dist/components/status/Alert/alert.cva.js +64 -0
  246. package/{src → dist}/components/status/Loader/Loader.d.ts +1 -1
  247. package/dist/components/status/Loader/Loader.js +37 -0
  248. package/dist/components/status/Loader/loader.cva.js +27 -0
  249. package/{src → dist}/components/status/Toast/Toast.d.ts +1 -1
  250. package/dist/components/status/Toast/Toast.js +64 -0
  251. package/{src → dist}/components/status/Toast/toast.cva.d.ts +1 -1
  252. package/dist/components/status/Toast/toast.cva.js +150 -0
  253. package/dist/components/status/Toast/useToast.js +83 -0
  254. package/dist/components/status/shared/status.cva.js +62 -0
  255. package/dist/components/table/CellText.js +18 -0
  256. package/dist/components/table/ColumnConfig.js +124 -0
  257. package/dist/components/table/HeaderText.js +15 -0
  258. package/dist/components/table/InfiniteTable.js +40 -0
  259. package/dist/components/table/PaginatedTable.js +33 -0
  260. package/dist/components/table/Table.js +370 -0
  261. package/dist/components/table/table.cva.js +63 -0
  262. package/{src → dist}/components/text/Link/Link.d.ts +1 -1
  263. package/dist/components/text/Link/Link.js +18 -0
  264. package/dist/components/text/Link/link.cva.js +18 -0
  265. package/{src → dist}/components/text/Tag/Tag.d.ts +1 -1
  266. package/dist/components/text/Tag/Tag.js +49 -0
  267. package/dist/components/text/Tag/tag.cva.js +59 -0
  268. package/{src → dist}/components/text/Typography/Typography.d.ts +1 -1
  269. package/dist/components/text/Typography/Typography.js +22 -0
  270. package/dist/components/text/Typography/typography.cva.js +100 -0
  271. package/{src → dist}/config/confirmation.context.d.ts +1 -1
  272. package/dist/config/confirmation.context.js +107 -0
  273. package/dist/config/i18n.js +15 -0
  274. package/dist/config/router.context.js +43 -0
  275. package/{src → dist}/config/uiConfig.context.d.ts +8 -8
  276. package/dist/config/uiConfig.context.js +67 -0
  277. package/{src → dist}/config/uiStyle.context.d.ts +14 -14
  278. package/dist/config/uiStyle.context.js +16 -0
  279. package/dist/helpers/dynamicColumns.js +359 -0
  280. package/{src → dist}/helpers/dynamicInputs.d.ts +2 -2
  281. package/dist/helpers/dynamicInputs.js +216 -0
  282. package/dist/hooks/useAutosave.js +83 -0
  283. package/dist/hooks/useBreakpoint.js +20 -0
  284. package/dist/hooks/useDebounceCallback.js +29 -0
  285. package/dist/hooks/useDeepCompare.js +25 -0
  286. package/dist/hooks/useFilters.js +120 -0
  287. package/dist/hooks/useForm.js +22 -0
  288. package/{src → dist}/hooks/useFormAutosave.d.ts +2 -2
  289. package/dist/hooks/useFormAutosave.js +67 -0
  290. package/dist/hooks/useIntersectionObserver.js +27 -0
  291. package/dist/hooks/useLocalStorage.js +63 -0
  292. package/dist/hooks/useLongPressRepeat.js +33 -0
  293. package/dist/hooks/usePagination.js +35 -0
  294. package/dist/hooks/useScrollableListBox.js +30 -0
  295. package/dist/hooks/useSorting.js +30 -0
  296. package/dist/hooks/useStateAndRef.js +17 -0
  297. package/dist/hooks/useTableColumnConfig.js +63 -0
  298. package/dist/hooks/useTableNav.js +409 -0
  299. package/dist/hooks/useTranslationMemo.js +14 -0
  300. package/dist/index.js +284 -0
  301. package/{src → dist}/types/react-query.d.ts +1 -1
  302. package/dist/utils/array.utils.js +12 -0
  303. package/dist/utils/compoundMapper.js +14 -0
  304. package/dist/utils/date-time.utils.js +77 -0
  305. package/dist/utils/date.utils.js +12 -0
  306. package/dist/utils/dom.utils.js +13 -0
  307. package/dist/utils/file.utils.js +63 -0
  308. package/dist/utils/isEqual.js +95 -0
  309. package/dist/utils/logger.js +19 -0
  310. package/dist/utils/object.utils.js +53 -0
  311. package/dist/utils/queries.utils.js +9 -0
  312. package/dist/utils/rest.utils.js +51 -0
  313. package/dist/utils/routing.utils.js +15 -0
  314. package/dist/utils/string.utils.js +12 -0
  315. package/{src → dist}/utils/vendor/acl/AclGuard.d.ts +1 -1
  316. package/dist/utils/vendor/acl/AclGuard.js +15 -0
  317. package/dist/utils/vendor/acl/Can.js +18 -0
  318. package/dist/utils/vendor/acl/ability.context.js +37 -0
  319. package/dist/utils/vendor/auth/AuthGuard.js +26 -0
  320. package/dist/utils/vendor/auth/auth.context.js +36 -0
  321. package/{src → dist}/utils/vendor/auth/withPrivateAuthGuard.d.ts +1 -1
  322. package/dist/utils/vendor/auth/withPrivateAuthGuard.js +17 -0
  323. package/dist/utils/vendor/error-handling.js +119 -0
  324. package/dist/utils/vendor/rest-interceptor.js +21 -0
  325. package/dist/utils/zod.utils.js +25 -0
  326. package/package.json +57 -5
  327. package/index.js +0 -62585
  328. package/povio-ui-0.0.8.tgz +0 -0
  329. package/vite.config.d.ts +0 -2
  330. /package/{src → dist}/assets/icons/AlignCenter.d.ts +0 -0
  331. /package/{src → dist}/assets/icons/AlignLeft.d.ts +0 -0
  332. /package/{src → dist}/assets/icons/AlignLeftRight.d.ts +0 -0
  333. /package/{src → dist}/assets/icons/AlignRight.d.ts +0 -0
  334. /package/{src → dist}/assets/icons/ArrowDropDown.d.ts +0 -0
  335. /package/{src → dist}/assets/icons/ArrowDropUp.d.ts +0 -0
  336. /package/{src → dist}/assets/icons/ArrowLeft.d.ts +0 -0
  337. /package/{src → dist}/assets/icons/ArrowRight.d.ts +0 -0
  338. /package/{src → dist}/assets/icons/Bold.d.ts +0 -0
  339. /package/{src → dist}/assets/icons/BulletedList.d.ts +0 -0
  340. /package/{src → dist}/assets/icons/Calendar.d.ts +0 -0
  341. /package/{src → dist}/assets/icons/Check.d.ts +0 -0
  342. /package/{src → dist}/assets/icons/CheckCircle.d.ts +0 -0
  343. /package/{src → dist}/assets/icons/CheckboxCheckmark.d.ts +0 -0
  344. /package/{src → dist}/assets/icons/CheckboxIndeterminate.d.ts +0 -0
  345. /package/{src → dist}/assets/icons/ChevronDown.d.ts +0 -0
  346. /package/{src → dist}/assets/icons/ChevronLeft.d.ts +0 -0
  347. /package/{src → dist}/assets/icons/ChevronRight.d.ts +0 -0
  348. /package/{src → dist}/assets/icons/ChevronUp.d.ts +0 -0
  349. /package/{src → dist}/assets/icons/ChevronsLeft.d.ts +0 -0
  350. /package/{src → dist}/assets/icons/ChevronsRight.d.ts +0 -0
  351. /package/{src → dist}/assets/icons/Clock.d.ts +0 -0
  352. /package/{src → dist}/assets/icons/Close.d.ts +0 -0
  353. /package/{src → dist}/assets/icons/DateTime.d.ts +0 -0
  354. /package/{src → dist}/assets/icons/Drag.d.ts +0 -0
  355. /package/{src → dist}/assets/icons/File.d.ts +0 -0
  356. /package/{src → dist}/assets/icons/Highlight.d.ts +0 -0
  357. /package/{src → dist}/assets/icons/HighlightOn.d.ts +0 -0
  358. /package/{src → dist}/assets/icons/Info.d.ts +0 -0
  359. /package/{src → dist}/assets/icons/Italic.d.ts +0 -0
  360. /package/{src → dist}/assets/icons/Link.d.ts +0 -0
  361. /package/{src → dist}/assets/icons/Menu.d.ts +0 -0
  362. /package/{src → dist}/assets/icons/NumberedList.d.ts +0 -0
  363. /package/{src → dist}/assets/icons/PointerHorizontal.d.ts +0 -0
  364. /package/{src → dist}/assets/icons/PointerVertical.d.ts +0 -0
  365. /package/{src → dist}/assets/icons/Send.d.ts +0 -0
  366. /package/{src → dist}/assets/icons/Strikethrough.d.ts +0 -0
  367. /package/{src → dist}/assets/icons/TextColor.d.ts +0 -0
  368. /package/{src → dist}/assets/icons/Today.d.ts +0 -0
  369. /package/{src → dist}/assets/icons/Underlined.d.ts +0 -0
  370. /package/{src → dist}/assets/icons/Upload.d.ts +0 -0
  371. /package/{src → dist}/assets/icons/View.d.ts +0 -0
  372. /package/{src → dist}/assets/icons/ViewOff.d.ts +0 -0
  373. /package/{src → dist}/assets/icons/WarningFilled.d.ts +0 -0
  374. /package/{src → dist}/components/Menu/Menu.d.ts +0 -0
  375. /package/{src → dist}/components/buttons/shared/buttonContent.cva.d.ts +0 -0
  376. /package/{src → dist}/components/inputs/DateTime/shared/Calendar.d.ts +0 -0
  377. /package/{src → dist}/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -0
  378. /package/{src → dist}/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -0
  379. /package/{src → dist}/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -0
  380. /package/{src → dist}/components/inputs/DateTime/shared/DateField.d.ts +0 -0
  381. /package/{src → dist}/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -0
  382. /package/{src → dist}/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -0
  383. /package/{src → dist}/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -0
  384. /package/{src → dist}/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -0
  385. /package/{src → dist}/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -0
  386. /package/{src → dist}/components/inputs/DateTime/shared/TimeField.d.ts +0 -0
  387. /package/{src → dist}/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -0
  388. /package/{src → dist}/components/inputs/DateTime/shared/YearPicker.d.ts +0 -0
  389. /package/{src → dist}/components/inputs/File/FileUpload.d.ts +0 -0
  390. /package/{src → dist}/components/inputs/File/FileUploadContainer.d.ts +0 -0
  391. /package/{src → dist}/components/inputs/File/InputUpload.d.ts +0 -0
  392. /package/{src → dist}/components/inputs/File/index.d.ts +0 -0
  393. /package/{src → dist}/components/inputs/File/shared/FileProgressBar.d.ts +0 -0
  394. /package/{src → dist}/components/inputs/File/shared/InputUploadFilled.d.ts +0 -0
  395. /package/{src → dist}/components/inputs/File/shared/fileUpload.cva.d.ts +0 -0
  396. /package/{src → dist}/components/inputs/File/shared/inputUploadButton.cva.d.ts +0 -0
  397. /package/{src → dist}/components/inputs/FormField/FormFieldError.d.ts +0 -0
  398. /package/{src → dist}/components/inputs/FormField/FormFieldHeader.d.ts +0 -0
  399. /package/{src → dist}/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -0
  400. /package/{src → dist}/components/inputs/Inputs/Inputs.d.ts +0 -0
  401. /package/{src → dist}/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -0
  402. /package/{src → dist}/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -0
  403. /package/{src → dist}/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -0
  404. /package/{src → dist}/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -0
  405. /package/{src → dist}/components/inputs/TextEditor/textEditor.types.d.ts +0 -0
  406. /package/{src → dist}/components/inputs/shared/InputClear.d.ts +0 -0
  407. /package/{src → dist}/components/inputs/shared/form.types.d.ts +0 -0
  408. /package/{src → dist}/components/inputs/shared/input.cva.d.ts +0 -0
  409. /package/{src → dist}/components/outline.clsx.d.ts +0 -0
  410. /package/{src → dist}/components/overlays/BottomSheet/BottomSheet.d.ts +0 -0
  411. /package/{src → dist}/components/overlays/Drawer/Drawer.d.ts +0 -0
  412. /package/{src → dist}/components/overlays/Modal/modal.cva.d.ts +0 -0
  413. /package/{src → dist}/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -0
  414. /package/{src → dist}/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -0
  415. /package/{src → dist}/components/overlays/Tooltip/tooltip.cva.d.ts +0 -0
  416. /package/{src → dist}/components/segment/Segment.d.ts +0 -0
  417. /package/{src → dist}/components/segment/SegmentItem.d.ts +0 -0
  418. /package/{src → dist}/components/shared/pagination/Pagination.d.ts +0 -0
  419. /package/{src → dist}/components/shared/pagination/minWidth.cva.d.ts +0 -0
  420. /package/{src → dist}/components/status/Alert/alert.cva.d.ts +0 -0
  421. /package/{src → dist}/components/status/Loader/loader.cva.d.ts +0 -0
  422. /package/{src → dist}/components/status/Toast/useToast.d.ts +0 -0
  423. /package/{src → dist}/components/status/shared/status.cva.d.ts +0 -0
  424. /package/{src → dist}/components/table/CellText.d.ts +0 -0
  425. /package/{src → dist}/components/table/ColumnConfig.d.ts +0 -0
  426. /package/{src → dist}/components/table/HeaderText.d.ts +0 -0
  427. /package/{src → dist}/components/table/InfiniteTable.d.ts +0 -0
  428. /package/{src → dist}/components/table/PaginatedTable.d.ts +0 -0
  429. /package/{src → dist}/components/table/Table.d.ts +0 -0
  430. /package/{src → dist}/components/table/table.cva.d.ts +0 -0
  431. /package/{src → dist}/components/text/Link/link.cva.d.ts +0 -0
  432. /package/{src → dist}/components/text/Tag/tag.cva.d.ts +0 -0
  433. /package/{src → dist}/components/text/Typography/typography.cva.d.ts +0 -0
  434. /package/{src → dist}/config/i18n.d.ts +0 -0
  435. /package/{src → dist}/config/router.context.d.ts +0 -0
  436. /package/{src → dist}/helpers/dynamicColumns.d.ts +0 -0
  437. /package/{src → dist}/hooks/useAutosave.d.ts +0 -0
  438. /package/{src → dist}/hooks/useBreakpoint.d.ts +0 -0
  439. /package/{src → dist}/hooks/useDebounceCallback.d.ts +0 -0
  440. /package/{src → dist}/hooks/useDeepCompare.d.ts +0 -0
  441. /package/{src → dist}/hooks/useFilters.d.ts +0 -0
  442. /package/{src → dist}/hooks/useForm.d.ts +0 -0
  443. /package/{src → dist}/hooks/useIntersectionObserver.d.ts +0 -0
  444. /package/{src → dist}/hooks/useLocalStorage.d.ts +0 -0
  445. /package/{src → dist}/hooks/useLongPressRepeat.d.ts +0 -0
  446. /package/{src → dist}/hooks/usePagination.d.ts +0 -0
  447. /package/{src → dist}/hooks/useScrollableListBox.d.ts +0 -0
  448. /package/{src → dist}/hooks/useSorting.d.ts +0 -0
  449. /package/{src → dist}/hooks/useStateAndRef.d.ts +0 -0
  450. /package/{src → dist}/hooks/useTableColumnConfig.d.ts +0 -0
  451. /package/{src → dist}/hooks/useTableNav.d.ts +0 -0
  452. /package/{src → dist}/hooks/useTranslationMemo.d.ts +0 -0
  453. /package/{src → dist}/index.d.ts +0 -0
  454. /package/{styles → dist/styles}/editor.css +0 -0
  455. /package/{styles → dist/styles}/index.css +0 -0
  456. /package/{src → dist}/types/common.d.ts +0 -0
  457. /package/{src → dist}/utils/array.utils.d.ts +0 -0
  458. /package/{src → dist}/utils/array.utils.spec.d.ts +0 -0
  459. /package/{src → dist}/utils/compoundMapper.d.ts +0 -0
  460. /package/{src → dist}/utils/compoundMapper.spec.d.ts +0 -0
  461. /package/{src → dist}/utils/date-time.utils.d.ts +0 -0
  462. /package/{src → dist}/utils/date-time.utils.spec.d.ts +0 -0
  463. /package/{src → dist}/utils/date.utils.d.ts +0 -0
  464. /package/{src → dist}/utils/date.utils.spec.d.ts +0 -0
  465. /package/{src → dist}/utils/dom.utils.d.ts +0 -0
  466. /package/{src → dist}/utils/file.utils.d.ts +0 -0
  467. /package/{src → dist}/utils/isEqual.d.ts +0 -0
  468. /package/{src → dist}/utils/logger.d.ts +0 -0
  469. /package/{src → dist}/utils/object.utils.d.ts +0 -0
  470. /package/{src → dist}/utils/queries.utils.d.ts +0 -0
  471. /package/{src → dist}/utils/rest.utils.d.ts +0 -0
  472. /package/{src → dist}/utils/routing.utils.d.ts +0 -0
  473. /package/{src → dist}/utils/string.utils.d.ts +0 -0
  474. /package/{src → dist}/utils/vendor/acl/Can.d.ts +0 -0
  475. /package/{src → dist}/utils/vendor/acl/ability.context.d.ts +0 -0
  476. /package/{src → dist}/utils/vendor/acl/appAbility.types.d.ts +0 -0
  477. /package/{src → dist}/utils/vendor/auth/AuthGuard.d.ts +0 -0
  478. /package/{src → dist}/utils/vendor/auth/auth.context.d.ts +0 -0
  479. /package/{src → dist}/utils/vendor/error-handling.d.ts +0 -0
  480. /package/{src → dist}/utils/vendor/rest-client.types.d.ts +0 -0
  481. /package/{src → dist}/utils/vendor/rest-interceptor.d.ts +0 -0
  482. /package/{src → dist}/utils/zod.utils.d.ts +0 -0
@@ -0,0 +1,30 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const HighlightOnIcon = ({ highlightColor, ...props }) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsxs("g", { fill: "currentColor", children: [
11
+ /* @__PURE__ */ jsx(
12
+ "path",
13
+ {
14
+ d: "M14.3021 12.1445L11.7021 9.54447L7.75955 13.4867C7.70188 13.5444 7.67305 13.6149 7.67305 13.6982C7.67305 13.7816 7.70188 13.8521 7.75955 13.91L9.92105 16.0867C9.97888 16.1444 10.0495 16.1732 10.1328 16.1732C10.2161 16.1732 10.2866 16.1444 10.3443 16.0867L14.3021 12.1445ZM12.7711 8.49072L15.3558 11.0752L19.6251 6.82147C19.6827 6.76381 19.7116 6.69006 19.7116 6.60022C19.7116 6.51039 19.6827 6.43664 19.6251 6.37897L17.4673 4.22147C17.4096 4.16381 17.336 4.13497 17.2463 4.13497C17.1565 4.13497 17.0827 4.16381 17.0251 4.22147L12.7711 8.49072ZM11.1903 7.94847L15.8981 12.656L11.4136 17.156C11.0519 17.5175 10.6275 17.6982 10.1403 17.6982C9.65313 17.6982 9.2288 17.5175 8.8673 17.156L8.77105 17.0597L8.3673 17.4482C8.20313 17.5919 8.01755 17.7054 7.81055 17.7887C7.60355 17.8721 7.3898 17.9137 7.1693 17.9137H5.0713C4.86363 17.9137 4.72038 17.8217 4.64155 17.6377C4.56255 17.4537 4.5968 17.2881 4.7443 17.1407L6.81355 15.0867L6.73655 15.01C6.37505 14.6483 6.18913 14.2188 6.1788 13.7215C6.16863 13.224 6.3443 12.7945 6.7058 12.433L11.1903 7.94847ZM11.1903 7.94847L15.9808 3.15797C16.3423 2.79647 16.7666 2.61572 17.2538 2.61572C17.741 2.61572 18.1654 2.79647 18.5271 3.15797L20.7038 5.31947C21.0653 5.68097 21.2461 6.10531 21.2461 6.59247C21.2461 7.07964 21.0653 7.50397 20.7038 7.86547L15.8981 12.656L11.1903 7.94847Z",
15
+ fill: "currentColor"
16
+ }
17
+ ),
18
+ /* @__PURE__ */ jsx(
19
+ "path",
20
+ {
21
+ d: "M2.84872 23.741C3.02105 23.9135 3.23613 23.9998 3.49397 23.9998H20.686C20.9438 23.9998 21.1589 23.9135 21.3312 23.741C21.5037 23.5687 21.59 23.3537 21.59 23.096V21.1728C21.59 20.9151 21.5037 20.7001 21.3312 20.5278C21.1589 20.3553 20.9438 20.269 20.686 20.269H3.49397C3.23613 20.269 3.02105 20.3553 2.84872 20.5278C2.67622 20.7001 2.58997 20.9151 2.58997 21.1728V23.096C2.58997 23.3537 2.67622 23.5687 2.84872 23.741Z",
22
+ fill: highlightColor || "black"
23
+ }
24
+ )
25
+ ] })
26
+ }
27
+ );
28
+ export {
29
+ HighlightOnIcon
30
+ };
@@ -0,0 +1,32 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const InfoIcon = (props) => /* @__PURE__ */ jsxs(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: [
11
+ /* @__PURE__ */ jsx(
12
+ "path",
13
+ {
14
+ fill: "currentColor",
15
+ d: "M12 7.8a1 1 0 0 1 1 1V12a1 1 0 1 1-2 0V8.8a1 1 0 0 1 1-1M12 14.2a1 1 0 1 0 0 2h.008a1 1 0 1 0 0-2z"
16
+ }
17
+ ),
18
+ /* @__PURE__ */ jsx(
19
+ "path",
20
+ {
21
+ fill: "currentColor",
22
+ fillRule: "evenodd",
23
+ d: "M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14",
24
+ clipRule: "evenodd"
25
+ }
26
+ )
27
+ ]
28
+ }
29
+ );
30
+ export {
31
+ InfoIcon
32
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const ItalicIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 25 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M6.743 19a.92.92 0 0 1-.678-.277.92.92 0 0 1-.277-.679q0-.401.277-.678a.92.92 0 0 1 .678-.276H9.82l3.424-10.18h-3.078a.92.92 0 0 1-.678-.277.92.92 0 0 1-.277-.679.92.92 0 0 1 .277-.678.92.92 0 0 1 .678-.276h7.762q.4 0 .678.277a.92.92 0 0 1 .277.679.92.92 0 0 1-.277.678.92.92 0 0 1-.678.276h-2.754l-3.423 10.18h2.753q.4 0 .678.277.277.277.277.679a.92.92 0 0 1-.277.678.92.92 0 0 1-.678.276z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ ItalicIcon
21
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const LinkIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M7.039 16.538q-1.884 0-3.211-1.327Q2.5 13.883 2.5 12q0-1.883 1.328-3.212 1.328-1.328 3.21-1.328h3.02q.318 0 .534.216a.73.73 0 0 1 .216.535q0 .318-.216.534a.73.73 0 0 1-.534.215h-3.02q-1.26 0-2.149.89A2.93 2.93 0 0 0 4 12q0 1.26.89 2.149.888.89 2.147.89h3.02q.32 0 .535.215a.73.73 0 0 1 .216.535q0 .318-.216.534a.73.73 0 0 1-.534.215zM9 12.75a.73.73 0 0 1-.534-.216A.73.73 0 0 1 8.25 12q0-.32.216-.535A.73.73 0 0 1 9 11.25h6q.319 0 .534.216a.73.73 0 0 1 .216.534q0 .319-.216.534a.73.73 0 0 1-.534.216zm4.942 3.788a.73.73 0 0 1-.534-.215.73.73 0 0 1-.216-.535q0-.319.216-.534a.73.73 0 0 1 .534-.216h3.02q1.26 0 2.148-.89Q20 13.26 20 12t-.89-2.15a2.93 2.93 0 0 0-2.147-.889h-3.02a.73.73 0 0 1-.535-.215.73.73 0 0 1-.216-.535q0-.318.216-.534a.73.73 0 0 1 .534-.216h3.02q1.883 0 3.21 1.328 1.328 1.328 1.328 3.21 0 1.884-1.328 3.211-1.327 1.328-3.21 1.328z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ LinkIcon
21
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const MenuIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M2 12a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M3 17a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ MenuIcon
21
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const NumberedListIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 25 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M4.432 21.5a.58.58 0 0 1-.596-.596.58.58 0 0 1 .596-.596h1.904V19.25h-.904a.58.58 0 0 1-.596-.596.58.58 0 0 1 .596-.596h.904V17H4.432a.58.58 0 0 1-.596-.596.58.58 0 0 1 .596-.596h2.25q.36 0 .603.243a.82.82 0 0 1 .243.603v1.192q0 .36-.243.603a.82.82 0 0 1-.603.243q.36 0 .603.244a.82.82 0 0 1 .243.602v1.116q0 .36-.243.603a.82.82 0 0 1-.603.243zm.087-6.654a.66.66 0 0 1-.485-.198.66.66 0 0 1-.198-.484V12.25q0-.36.243-.603a.82.82 0 0 1 .603-.243h1.654v-1.058H4.432a.58.58 0 0 1-.596-.595.58.58 0 0 1 .596-.597h2.25q.36 0 .603.243a.82.82 0 0 1 .243.603v1.75a.82.82 0 0 1-.243.603.82.82 0 0 1-.603.243H5.028v1.058h1.904a.58.58 0 0 1 .596.595.58.58 0 0 1-.596.597zm1.414-6.654a.58.58 0 0 1-.597-.596V3.692h-.904a.58.58 0 0 1-.596-.595.58.58 0 0 1 .596-.597h1.423q.286 0 .48.193a.65.65 0 0 1 .193.48v4.423a.58.58 0 0 1-.595.596m4.46 10.558a.73.73 0 0 1-.534-.216.73.73 0 0 1-.215-.534q0-.32.215-.535a.73.73 0 0 1 .535-.215h9.692q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm0-6a.73.73 0 0 1-.534-.216.73.73 0 0 1-.215-.534q0-.32.215-.534a.73.73 0 0 1 .535-.216h9.692q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm0-6a.73.73 0 0 1-.534-.216A.73.73 0 0 1 9.644 6q0-.32.215-.535a.73.73 0 0 1 .535-.215h9.692q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ NumberedListIcon
21
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const PointerHorizontalIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 20 10",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M8.586 1.414a2 2 0 0 1 2.828 0L20 10H0z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ PointerHorizontalIcon
21
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const PointerVerticalIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 10 20",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M1.414 11.414a2 2 0 0 1 0-2.828L10 0v20z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ PointerVerticalIcon
21
+ };
@@ -0,0 +1,23 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const SendIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ fillRule: "evenodd",
15
+ d: "M5.105 7.59c-1.092-1.712.764-3.774 2.58-2.866l10.973 5.487c1.474.737 1.474 2.84 0 3.578L7.685 19.275c-1.816.908-3.672-1.154-2.58-2.865L7.92 12zM17.764 12 6.79 6.513l2.815 4.41a2 2 0 0 1 0 2.153l-2.815 4.41z",
16
+ clipRule: "evenodd"
17
+ }
18
+ )
19
+ }
20
+ );
21
+ export {
22
+ SendIcon
23
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const StrikethroughIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M3.833 13.624a.68.68 0 0 1-.498-.2.68.68 0 0 1-.202-.5q0-.297.202-.499.201-.2.498-.2h16.334q.297 0 .498.2.202.202.202.5a.68.68 0 0 1-.202.498q-.201.201-.498.201zm7.18-3.248V6.983H6.929a.95.95 0 0 1-.699-.288.95.95 0 0 1-.288-.7q0-.412.288-.703A.95.95 0 0 1 6.93 5h10.15q.411 0 .699.288a.95.95 0 0 1 .288.7q0 .413-.288.704a.95.95 0 0 1-.7.291h-4.083v3.393zm0 5.097h1.983v2.54a.95.95 0 0 1-.288.7.95.95 0 0 1-.7.287.96.96 0 0 1-.703-.29.96.96 0 0 1-.292-.706z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ StrikethroughIcon
21
+ };
@@ -0,0 +1,30 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const TextColorIcon = ({ textColor, ...props }) => /* @__PURE__ */ jsxs(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 25 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: [
11
+ /* @__PURE__ */ jsx(
12
+ "path",
13
+ {
14
+ d: "M7.40305 17C7.11588 17 6.8903 16.8807 6.7263 16.6423C6.56213 16.4039 6.53072 16.1495 6.63205 15.879L11.282 4.01925C11.3397 3.86292 11.4365 3.73725 11.5723 3.64225C11.7083 3.54742 11.8577 3.5 12.0205 3.5H12.651C12.8242 3.5 12.9762 3.54742 13.107 3.64225C13.2377 3.73725 13.3319 3.86292 13.3896 4.01925L18.0453 15.8655C18.1466 16.1423 18.1136 16.4007 17.9463 16.6405C17.779 16.8802 17.5517 17 17.2646 17C17.0891 17 16.9269 16.951 16.778 16.853C16.6294 16.7548 16.523 16.6179 16.4588 16.4423L15.3205 13.3808H9.34355L8.1743 16.4672C8.11013 16.6366 8.00947 16.7677 7.8723 16.8605C7.73513 16.9535 7.57872 17 7.40305 17ZM9.8703 11.9H14.7628L12.3858 5.6H12.2666L9.8703 11.9Z",
15
+ fill: "currentColor"
16
+ }
17
+ ),
18
+ /* @__PURE__ */ jsx(
19
+ "path",
20
+ {
21
+ d: "M3.09457 23.741C3.2669 23.9135 3.48198 23.9998 3.73982 23.9998H20.9318C21.1896 23.9998 21.4047 23.9135 21.5771 23.741C21.7496 23.5687 21.8358 23.3537 21.8358 23.096V21.1728C21.8358 20.9151 21.7496 20.7001 21.5771 20.5278C21.4047 20.3553 21.1896 20.269 20.9318 20.269H3.73982C3.48198 20.269 3.2669 20.3553 3.09457 20.5278C2.92207 20.7001 2.83582 20.9151 2.83582 21.1728V23.096C2.83582 23.3537 2.92207 23.5687 3.09457 23.741Z",
22
+ fill: textColor || "black"
23
+ }
24
+ )
25
+ ]
26
+ }
27
+ );
28
+ export {
29
+ TextColorIcon
30
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const TodayIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ d: "M9.184 9.672v-.945h5.628v.945h-2.27V16H11.45V9.672z"
15
+ }
16
+ )
17
+ }
18
+ );
19
+ export {
20
+ TodayIcon
21
+ };
@@ -0,0 +1,23 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const UnderlinedIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 25 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ stroke: "currentColor",
15
+ strokeWidth: 0.2,
16
+ d: "M6.872 18.89q.212.21.518.21h9.892q.306 0 .518-.21.21-.212.21-.518a.7.7 0 0 0-.21-.518.7.7 0 0 0-.518-.21H7.39a.7.7 0 0 0-.518.209.7.7 0 0 0-.21.518q0 .308.21.519ZM8.353 5.155a.83.83 0 0 0-.264.615v5.851c0 1.348.371 2.434 1.123 3.248.754.815 1.8 1.218 3.124 1.218s2.37-.403 3.124-1.218c.752-.814 1.123-1.9 1.123-3.248v-5.85a.84.84 0 0 0-.255-.615.84.84 0 0 0-.613-.256.87.87 0 0 0-.62.255.83.83 0 0 0-.265.615V11.7c0 .828-.22 1.48-.65 1.968-.427.484-1.037.732-1.844.732s-1.417-.248-1.844-.732c-.43-.487-.65-1.14-.65-1.968V5.77a.84.84 0 0 0-.255-.614.84.84 0 0 0-.613-.256.87.87 0 0 0-.62.255Z"
17
+ }
18
+ )
19
+ }
20
+ );
21
+ export {
22
+ UnderlinedIcon
23
+ };
@@ -0,0 +1,30 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const UploadIcon = (props) => /* @__PURE__ */ jsxs(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: [
11
+ /* @__PURE__ */ jsx(
12
+ "path",
13
+ {
14
+ fill: "currentColor",
15
+ d: "M19.5 13.6a.9.9 0 0 1 .9.9v3.333a2.57 2.57 0 0 1-2.567 2.567H6.167a2.57 2.57 0 0 1-2.555-2.313l-.012-.254V14.5a.9.9 0 0 1 1.796-.092l.004.092v3.333l.015.15a.766.766 0 0 0 .752.617h11.666a.766.766 0 0 0 .767-.767V14.5a.9.9 0 0 1 .9-.9"
16
+ }
17
+ ),
18
+ /* @__PURE__ */ jsx(
19
+ "path",
20
+ {
21
+ fill: "currentColor",
22
+ d: "M12.04 3.602h.007q.078.003.151.02.006 0 .011.003c.168.04.319.127.436.247l4.158 4.158.061.069A.9.9 0 0 1 15.6 9.365l-.069-.062-2.63-2.63V14.5a.9.9 0 0 1-1.8 0V6.672l-2.63 2.63-.069.063A.901.901 0 0 1 7.196 8.03l4.167-4.167.069-.061a.9.9 0 0 1 .432-.192l.027-.004A1 1 0 0 1 12 3.6z"
23
+ }
24
+ )
25
+ ]
26
+ }
27
+ );
28
+ export {
29
+ UploadIcon
30
+ };
@@ -0,0 +1,18 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const ViewIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsxs("g", { fill: "currentColor", children: [
11
+ /* @__PURE__ */ jsx("path", { d: "M21.338 11.788A10.43 10.43 0 0 0 12 5.124a10.43 10.43 0 0 0-9.337 6.663.63.63 0 0 0 0 .425A10.43 10.43 0 0 0 12 18.875a10.43 10.43 0 0 0 9.337-6.662.62.62 0 0 0 0-.425M12 17.624c-3.312 0-6.812-2.456-8.081-5.625C5.188 8.831 8.688 6.375 12 6.375c3.313 0 6.813 2.456 8.081 5.625-1.268 3.169-4.768 5.625-8.081 5.625" }),
12
+ /* @__PURE__ */ jsx("path", { d: "M12 8.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5m0 6.25a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5" })
13
+ ] })
14
+ }
15
+ );
16
+ export {
17
+ ViewIcon
18
+ };
@@ -0,0 +1,18 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const ViewOffIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsxs("g", { fill: "currentColor", children: [
11
+ /* @__PURE__ */ jsx("path", { d: "m5.275 16.069.894-.888A8.8 8.8 0 0 1 3.919 12C5.188 8.831 8.688 6.375 12 6.375a7.7 7.7 0 0 1 2.5.45l.969-.975A9.2 9.2 0 0 0 12 5.125a10.43 10.43 0 0 0-9.337 6.663.63.63 0 0 0 0 .425 10 10 0 0 0 2.612 3.856" }),
12
+ /* @__PURE__ */ jsx("path", { d: "M9.5 11.831a2.5 2.5 0 0 1 2.313-2.312l1.13-1.138a3.75 3.75 0 0 0-4.58 4.582zM21.338 11.788a10.25 10.25 0 0 0-3.588-4.65l3-3.007-.881-.881L3.25 19.869l.881.881 3.188-3.187A9.56 9.56 0 0 0 12 18.875a10.43 10.43 0 0 0 9.337-6.662.62.62 0 0 0 0-.425M14.5 12a2.5 2.5 0 0 1-3.75 2.15l3.4-3.4A2.5 2.5 0 0 1 14.5 12M12 17.625a8.16 8.16 0 0 1-3.75-.988l1.588-1.587a3.75 3.75 0 0 0 5.218-5.219l1.794-1.793A9.1 9.1 0 0 1 20.081 12c-1.268 3.169-4.768 5.625-8.081 5.625" })
13
+ ] })
14
+ }
15
+ );
16
+ export {
17
+ ViewOffIcon
18
+ };
@@ -0,0 +1,23 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const WarningFilledIcon = (props) => /* @__PURE__ */ jsx(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 24 24",
8
+ className: "fill-current",
9
+ ...props,
10
+ children: /* @__PURE__ */ jsx(
11
+ "path",
12
+ {
13
+ fill: "currentColor",
14
+ fillRule: "evenodd",
15
+ d: "M12.165 3.52a2.57 2.57 0 0 1 1.94 1.091l.09.139.001.004 7.059 11.783.008.013.079.147a2.568 2.568 0 0 1-2.274 3.702H4.932a2.568 2.568 0 0 1-2.195-3.85l.007-.012L9.803 4.754l.002-.004.09-.139A2.57 2.57 0 0 1 12 3.514zM12 15.267a.9.9 0 0 0 0 1.8h.008l.092-.005a.9.9 0 0 0 0-1.79l-.092-.005zM12 8.6a.9.9 0 0 0-.9.9v3.333l.005.093a.9.9 0 0 0 1.79 0l.005-.093V9.5l-.005-.092A.9.9 0 0 0 12 8.6",
16
+ clipRule: "evenodd"
17
+ }
18
+ )
19
+ }
20
+ );
21
+ export {
22
+ WarningFilledIcon
23
+ };
@@ -0,0 +1,14 @@
1
+ const ui = { "openAlt": "Open", "closeAlt": "Close", "clearAlt": "Clear", "loadingState": { "text": "Loading..." }, "select": { "closeAlt": "Close the menu", "selectAll": "Select all", "clearSelection": "Clear", "allOption": "All", "search": "Search", "clearSearch": "Clear search" }, "datePicker": { "today": "Today", "clear": "Clear", "save": "Save", "presets": { "thisWeek": "This week", "lastWeek": "Last week", "thisAndLastWeek": "This & Last week", "thisMonth": "This month", "thisAndLastMonth": "This & Last month", "thisYear": "This year", "lastYear": "Last year", "thisAndLastYear": "This & Last year", "soFar": "So far" }, "errors": { "endDateBeforeStart": "End date cannot be before start date" } }, "modal": { "closeBtn": "Close" }, "autocomplete": { "createNewBtn": "Create" }, "password": { "reveal": "Reveal password", "hide": "Hide password" }, "textEditor": { "textStyle": { "label": "Text style", "normal": "Normal text", "heading1": "Heading 1", "heading2": "Heading 2", "heading3": "Heading 3", "heading4": "Heading 4", "heading5": "Heading 5", "heading6": "Heading 6" }, "marks": { "bold": "Bold", "italic": "Italic", "underline": "Underline", "strikethrough": "Strikethrough" }, "textAlign": { "label": "Text align", "left": "Left", "center": "Center", "right": "Right", "justify": "Justify" }, "link": { "label": "Hyperlink", "apply": "Apply", "remove": "Remove", "urlLabel": "URL", "urlPlaceholder": "Enter the URL" } }, "tag": { "dismiss": "Dismiss" }, "clearInput": "Clear input", "pagination": { "nextBtn": "Next", "backBtn": "Previous", "firstBtn": "First", "lastBtn": "Last", "resultsPerPage": "Results per page" }, "confirmation": { "cancel": "Cancel", "confirm": "Confirm" }, "fileUpload": { "emptyText": "Upload file", "uploadText": "Drag & drop files here or", "browse": "Browse", "noFileUploaded": "No file uploaded", "upload": "Upload", "uploadFile": "Upload file", "or": "or", "removeFile": "Remove file", "cancel": "Cancel" }, "table": { "column": "Column", "show": "Show", "configureColumns": "Configure columns" } };
2
+ const zodErrors = { "required": "Required", "invalid": "Invalid", "string": { "includes": 'Must include "{{text}}"', "startsWith": 'Must start with "{{text}}"', "endsWith": 'Must end with "{{text}}"', "constraint": "Invalid {{text}}", "contains": "Must contain exactly {{count}} character(s)", "containsAtLeast": "Must contain at least {{count}} character(s)", "containsOver": "Must contain over {{count}} character(s)", "containsAtMost": "Must contain at most {{count}} character(s)", "containsUnder": "Must contain under {{count}} character(s)" }, "array": { "contains": "Array must contain exactly {{count}} element(s)", "containsAtLeast": "Array must contain at least {{count}} element(s)", "containsMoreThan": "Array must contain more than {{count}} element(s)", "containsAtMost": "Array must contain at most {{count}} element(s)", "containsLessThan": "Array must contain less than {{count}} element(s)" }, "number": { "exact": "Number must be exactly equal to {{number}}", "greaterThanOrEqual": "Number must be greater than or equal to {{number}}", "greaterThan": "Number must be greater than {{number}}", "over": "Number must be over {{number}}", "lessThanOrEqual": "Number must be less than or equal to {{number}}", "lessThan": "Number must be less than {{number}}", "multipleOf": "Number must be a multiple of {{multipleOf}}" }, "date": { "invalid": "Invalid date", "exact": "Date must be exactly equal to {{date}}", "greaterThanOrEqual": "Date must be greater than or equal to {{date}}", "greaterThan": "Date must be greater than {{date}}", "smallerThanOrEqual": "Date must be smaller than or equal to {{date}}", "smallerThan": "Date must be smaller than {{date}}" } };
3
+ const sharedErrors = { "dataValidation": "An error occurred while validating the data", "internalError": "An internal error occurred. This is most likely a bug on our end. Please try again later.", "networkError": "A network error occurred. Are you connected to the internet?", "canceledError": "The request was canceled.", "unknownError": "An unknown error occurred. Please try again later." };
4
+ const translationEN = {
5
+ ui,
6
+ zodErrors,
7
+ sharedErrors
8
+ };
9
+ export {
10
+ translationEN as default,
11
+ sharedErrors,
12
+ ui,
13
+ zodErrors
14
+ };
@@ -0,0 +1,14 @@
1
+ const ui = { "openAlt": "Odpri", "closeAlt": "Zapri", "clearAlt": "Sprazni", "loadingState": { "text": "Nalaganje..." }, "select": { "closeAlt": "Zapri meni", "selectAll": "Izberi vse", "clearSelection": "Sprazni", "allOption": "Vse", "search": "Išči", "clearSearch": "Sprazni iskanje" }, "datePicker": { "today": "Danes", "clear": "Sprazni", "save": "Shrani", "presets": { "thisWeek": "Ta teden", "lastWeek": "Prejšnji teden", "thisAndLastWeek": "Ta in prejšnji teden", "thisMonth": "Ta mesec", "thisAndLastMonth": "Ta in prejšnji mesec", "thisYear": "Ta leto", "lastYear": "Prejšnje leto", "thisAndLastYear": "Ta in prejšnje leto", "soFar": "Od začetka" }, "errors": { "endDateBeforeStart": "Datum konca ne more biti pred datumom začetka" } }, "modal": { "closeBtn": "Zapri" }, "autocomplete": { "createNewBtn": "Ustvari" }, "password": { "reveal": "Prikaži geslo", "hide": "Skrij geslo" }, "textEditor": { "textStyle": { "label": "Vrsta besedila", "normal": "Normalni tekst", "heading1": "Naslov 1", "heading2": "Naslov 2", "heading3": "Naslov 3", "heading4": "Naslov 4", "heading5": "Naslov 5", "heading6": "Naslov 6" }, "marks": { "bold": "Krepko", "italic": "Poševno", "underline": "Podčrtano", "strikethrough": "Prečrtano" }, "textAlign": { "label": "Poravnava besedila", "left": "Levo", "center": "Sredina", "right": "Desno", "justify": "Obojestransko" }, "link": { "label": "Povezava", "apply": "Ustvari", "remove": "Odstrani", "urlLabel": "URL", "urlPlaceholder": "Vnesite URL" } }, "pagination": { "nextBtn": "Naprej", "backBtn": "Nazaj", "firstBtn": "Prva", "lastBtn": "Zadnja", "resultsPerPage": "Rezultatov na stran" }, "confirmation": { "cancel": "Prekliči", "confirm": "Potrdi" }, "fileUpload": { "emptyText": "Naloži datoteko", "uploadText": "Povlecite datoteke sem ali", "browse": "Izberi", "noFileUploaded": "Ni datotek", "upload": "Naloži", "uploadFile": "Naloži datoteko", "or": "ali", "removeFile": "Odstrani datoteko", "cancel": "Prekliči" }, "table": { "column": "Stolpec", "show": "Prikaži", "configureColumns": "Nastavi stolpce" } };
2
+ const zodErrors = { "required": "Obvezno", "invalid": "Neveljavno", "string": { "includes": 'Mora vključevati "{{text}}"', "startsWith": 'Se mora začeti z "{{text}}"', "endsWith": 'Se mora končati z "{{text}}"', "constraint": "Neveljaven {{text}}", "contains": "Mora vsebovati natančno {{count}} znak(ov)", "containsAtLeast": "Mora vsebovati vsaj {{count}} znak(ov)", "containsOver": "Mora vsebovati več kot {{count}} znak(ov)", "containsAtMost": "Mora vsebovati največ {{count}} znak(ov)", "containsUnder": "Mora vsebovati manj kot {{count}} znak(ov)" }, "array": { "contains": "Polje mora vsebovati natančno {{count}} element(ov)", "containsAtLeast": "Polje mora vsebovati vsaj {{count}} element(ov)", "containsMoreThan": "Polje mora vsebovati več kot {{count}} element(ov)", "containsAtMost": "Polje mora vsebovati največ {{count}} element(ov)", "containsLessThan": "Polje mora vsebovati manj kot {{count}} element(ov)" }, "number": { "exact": "Število mora biti natančno enako {{number}}", "greaterThanOrEqual": "Število mora biti večje ali enako {{number}}", "greaterThan": "Število mora biti večje od {{number}}", "over": "Število mora biti nad {{number}}", "lessThanOrEqual": "Število mora biti manjše ali enako {{number}}", "lessThan": "Število mora biti manjše od {{number}}", "multipleOf": "Število mora biti večkratnik števila {{multipleOf}}" }, "date": { "invalid": "Neveljaven datum", "exact": "Datum mora biti natančno enak {{date}}", "greaterThanOrEqual": "Datum mora biti večji ali enak {{date}}", "greaterThan": "Datum mora biti večji od {{date}}", "smallerThanOrEqual": "Datum mora biti manjši ali enak {{date}}", "smallerThan": "Datum mora biti manjši od {{date}}" } };
3
+ const sharedErrors = { "dataValidation": "Pri preverjanju podatkov je prišlo do napake", "internalError": "Prišlo je do notranje napake. ", "networkError": "Prišlo je do napake v omrežju. ", "canceledError": "Zahteva je bila preklicana.", "unknownError": "Prišlo je do neznane napake. " };
4
+ const translationSL = {
5
+ ui,
6
+ zodErrors,
7
+ sharedErrors
8
+ };
9
+ export {
10
+ translationSL as default,
11
+ sharedErrors,
12
+ ui,
13
+ zodErrors
14
+ };
@@ -0,0 +1,14 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { MenuDesktop } from "./MenuDesktop.js";
3
+ import { MenuMobile } from "./MenuMobile.js";
4
+ import { useBreakpoint } from "../../hooks/useBreakpoint.js";
5
+ const Menu = (props) => {
6
+ const isDesktop = useBreakpoint("md");
7
+ if (isDesktop) {
8
+ return /* @__PURE__ */ jsx(MenuDesktop, { ...props });
9
+ }
10
+ return /* @__PURE__ */ jsx(MenuMobile, { ...props });
11
+ };
12
+ export {
13
+ Menu
14
+ };
@@ -1,2 +1,2 @@
1
- import { MenuProps } from '#ui/components/Menu/Menu';
1
+ import { MenuProps } from './Menu';
2
2
  export declare const MenuDesktop: ({ trigger, items, closeDelay, triggerOnHover }: MenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,68 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import React, { useState, useRef } from "react";
3
+ import { useHover } from "react-aria";
4
+ import { MenuTrigger } from "react-aria-components";
5
+ import { MenuPopover } from "./MenuPopover.js";
6
+ const CLOSE_DELAY = 100;
7
+ const MenuDesktop = ({ trigger, items, closeDelay = CLOSE_DELAY, triggerOnHover = false }) => {
8
+ const [isOpen, setIsOpen] = useState(false);
9
+ const timeoutRef = useRef(null);
10
+ const isHoveringTrigger = useRef(false);
11
+ const openMenu = () => {
12
+ if (timeoutRef.current) {
13
+ clearTimeout(timeoutRef.current);
14
+ timeoutRef.current = null;
15
+ }
16
+ setIsOpen(true);
17
+ };
18
+ const closeMenu = () => {
19
+ if (isHoveringTrigger.current) {
20
+ return;
21
+ }
22
+ timeoutRef.current = setTimeout(() => {
23
+ setIsOpen(false);
24
+ timeoutRef.current = null;
25
+ }, closeDelay);
26
+ };
27
+ const { hoverProps } = useHover({
28
+ isDisabled: !triggerOnHover,
29
+ onHoverChange: (isHovering) => {
30
+ if (isHovering) {
31
+ isHoveringTrigger.current = true;
32
+ openMenu();
33
+ } else {
34
+ isHoveringTrigger.current = false;
35
+ closeMenu();
36
+ }
37
+ }
38
+ });
39
+ let triggerComponent = trigger;
40
+ if (triggerOnHover) {
41
+ triggerComponent = React.cloneElement(trigger, hoverProps);
42
+ }
43
+ return /* @__PURE__ */ jsxs(
44
+ MenuTrigger,
45
+ {
46
+ isOpen: triggerOnHover ? isOpen : void 0,
47
+ onOpenChange: setIsOpen,
48
+ children: [
49
+ triggerComponent,
50
+ /* @__PURE__ */ jsx(
51
+ MenuPopover,
52
+ {
53
+ offset: 0,
54
+ className: "pt-2",
55
+ items,
56
+ isOpen: triggerOnHover ? isOpen : void 0,
57
+ isNonModal: triggerOnHover,
58
+ onMouseEnter: triggerOnHover ? openMenu : void 0,
59
+ onMouseLeave: triggerOnHover ? closeMenu : void 0
60
+ }
61
+ )
62
+ ]
63
+ }
64
+ );
65
+ };
66
+ export {
67
+ MenuDesktop
68
+ };
@@ -1,4 +1,4 @@
1
- import { MenuItem as MenuItemType } from '#ui/components/Menu/Menu';
1
+ import { MenuItem as MenuItemType } from './Menu';
2
2
  type MenuListItemProps = MenuItemType;
3
3
  export declare const MenuItem: ({ label, content, children, ...item }: MenuListItemProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const menuItemClass: string;
@@ -0,0 +1,33 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { clsx } from "clsx";
3
+ import { MenuItem as MenuItem$1 } from "react-aria-components";
4
+ import { ArrowRightIcon } from "../../assets/icons/ArrowRight.js";
5
+ const MenuItem = ({ label, content, children, ...item }) => {
6
+ const hasSubmenu = !!children && children?.length > 0;
7
+ return /* @__PURE__ */ jsxs(
8
+ MenuItem$1,
9
+ {
10
+ ...item,
11
+ textValue: label,
12
+ "aria-label": label,
13
+ className: clsx(menuItemClass, item.className),
14
+ children: [
15
+ content ?? label,
16
+ hasSubmenu && /* @__PURE__ */ jsx(ArrowRightIcon, { className: "size-6" })
17
+ ]
18
+ }
19
+ );
20
+ };
21
+ const menuItemClass = clsx(
22
+ "flex cursor-pointer items-center justify-between gap-list-gap-checkbox-to-label px-list-side-item py-list-height-item",
23
+ "border-b border-b-elevation-outline-default-1 outline-none last:border-b-0",
24
+ "bg-elevation-fill-default-1 text-interactive-text-secondary-idle",
25
+ "disabled:cursor-default disabled:text-interactive-text-secondary-disabled",
26
+ "hover:bg-elevation-fill-default-1 hover:text-interactive-text-secondary-hover",
27
+ "open:bg-interactive-contained-primary-idle open:text-interactive-text-secondary-idle-inverted",
28
+ "focus-visible:bg-elevation-fill-default-1 focus-visible:text-interactive-text-secondary-hover"
29
+ );
30
+ export {
31
+ MenuItem,
32
+ menuItemClass
33
+ };
@@ -1,2 +1,2 @@
1
- import { MenuProps } from '#ui/components/Menu/Menu';
1
+ import { MenuProps } from './Menu';
2
2
  export declare const MenuMobile: ({ trigger, items }: MenuProps) => import("react/jsx-runtime").JSX.Element;