@povio/ui 0.0.8 → 0.0.10
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.
- package/dist/assets/icons/AlignCenter.js +21 -0
- package/dist/assets/icons/AlignLeft.js +21 -0
- package/dist/assets/icons/AlignLeftRight.js +21 -0
- package/dist/assets/icons/AlignRight.js +21 -0
- package/dist/assets/icons/ArrowDropDown.js +21 -0
- package/dist/assets/icons/ArrowDropUp.js +21 -0
- package/dist/assets/icons/ArrowLeft.js +21 -0
- package/dist/assets/icons/ArrowRight.js +21 -0
- package/dist/assets/icons/Bold.js +21 -0
- package/dist/assets/icons/BulletedList.js +21 -0
- package/dist/assets/icons/Calendar.js +23 -0
- package/dist/assets/icons/Check.js +23 -0
- package/dist/assets/icons/CheckCircle.js +21 -0
- package/dist/assets/icons/CheckboxCheckmark.js +24 -0
- package/dist/assets/icons/CheckboxIndeterminate.js +24 -0
- package/dist/assets/icons/ChevronDown.js +23 -0
- package/dist/assets/icons/ChevronLeft.js +23 -0
- package/dist/assets/icons/ChevronRight.js +23 -0
- package/dist/assets/icons/ChevronUp.js +23 -0
- package/dist/assets/icons/ChevronsLeft.js +23 -0
- package/dist/assets/icons/ChevronsRight.js +23 -0
- package/dist/assets/icons/Clock.js +21 -0
- package/dist/assets/icons/Close.js +21 -0
- package/dist/assets/icons/DateTime.js +32 -0
- package/dist/assets/icons/Drag.js +21 -0
- package/dist/assets/icons/File.js +23 -0
- package/dist/assets/icons/Highlight.js +21 -0
- package/dist/assets/icons/HighlightOn.js +30 -0
- package/dist/assets/icons/Info.js +32 -0
- package/dist/assets/icons/Italic.js +21 -0
- package/dist/assets/icons/Link.js +21 -0
- package/dist/assets/icons/Menu.js +21 -0
- package/dist/assets/icons/NumberedList.js +21 -0
- package/dist/assets/icons/PointerHorizontal.js +21 -0
- package/dist/assets/icons/PointerVertical.js +21 -0
- package/dist/assets/icons/Send.js +23 -0
- package/dist/assets/icons/Strikethrough.js +21 -0
- package/dist/assets/icons/TextColor.js +30 -0
- package/dist/assets/icons/Today.js +21 -0
- package/dist/assets/icons/Underlined.js +23 -0
- package/dist/assets/icons/Upload.js +30 -0
- package/dist/assets/icons/View.js +18 -0
- package/dist/assets/icons/ViewOff.js +18 -0
- package/dist/assets/icons/WarningFilled.js +23 -0
- package/dist/assets/locales/en/translation.json.js +14 -0
- package/dist/assets/locales/sl/translation.json.js +14 -0
- package/dist/components/Menu/Menu.js +14 -0
- package/{src → dist}/components/Menu/MenuDesktop.d.ts +1 -1
- package/dist/components/Menu/MenuDesktop.js +68 -0
- package/{src → dist}/components/Menu/MenuItem.d.ts +1 -1
- package/dist/components/Menu/MenuItem.js +33 -0
- package/{src → dist}/components/Menu/MenuMobile.d.ts +1 -1
- package/dist/components/Menu/MenuMobile.js +78 -0
- package/{src → dist}/components/Menu/MenuPopover.d.ts +1 -1
- package/dist/components/Menu/MenuPopover.js +38 -0
- package/{src → dist}/components/buttons/Button/Button.d.ts +1 -1
- package/dist/components/buttons/Button/Button.js +68 -0
- package/{src → dist}/components/buttons/Button/button.cva.d.ts +1 -1
- package/dist/components/buttons/Button/button.cva.js +672 -0
- package/{src → dist}/components/buttons/IconButton/IconButton.d.ts +1 -1
- package/dist/components/buttons/IconButton/IconButton.js +17 -0
- package/{src → dist}/components/buttons/InlineIconButton/InlineIconButton.d.ts +1 -1
- package/dist/components/buttons/InlineIconButton/InlineIconButton.js +18 -0
- package/{src → dist}/components/buttons/PillButton/PillButton.d.ts +2 -2
- package/dist/components/buttons/PillButton/PillButton.js +44 -0
- package/{src → dist}/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
- package/dist/components/buttons/PillButton/pillButton.cva.js +86 -0
- package/{src → dist}/components/buttons/SplitButton/SplitButton.d.ts +2 -2
- package/dist/components/buttons/SplitButton/SplitButton.js +62 -0
- package/{src → dist}/components/buttons/TextButton/TextButton.d.ts +3 -3
- package/dist/components/buttons/TextButton/TextButton.js +18 -0
- package/{src → dist}/components/buttons/ToggleButton/ToggleButton.d.ts +3 -3
- package/dist/components/buttons/ToggleButton/ToggleButton.js +21 -0
- package/{src → dist}/components/buttons/shared/ButtonContent.d.ts +3 -3
- package/dist/components/buttons/shared/ButtonContent.js +53 -0
- package/dist/components/buttons/shared/buttonContent.cva.js +16 -0
- package/{src → dist}/components/inputs/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/inputs/Checkbox/Checkbox.js +81 -0
- package/{src → dist}/components/inputs/Checkbox/CheckboxCheckmark.d.ts +1 -1
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +49 -0
- package/{src → dist}/components/inputs/Checkbox/checkbox.cva.d.ts +1 -1
- package/dist/components/inputs/Checkbox/checkbox.cva.js +47 -0
- package/{src → dist}/components/inputs/DateTime/DatePicker/DatePicker.d.ts +3 -3
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +245 -0
- package/{src → dist}/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +683 -0
- package/{src → dist}/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +3 -3
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +259 -0
- package/{src → dist}/components/inputs/DateTime/TimePicker/TimePicker.d.ts +3 -3
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +232 -0
- package/dist/components/inputs/DateTime/shared/Calendar.js +85 -0
- package/dist/components/inputs/DateTime/shared/CalendarCell.js +160 -0
- package/dist/components/inputs/DateTime/shared/CalendarGrid.js +67 -0
- package/{src → dist}/components/inputs/DateTime/shared/CalendarHeader.d.ts +1 -1
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +89 -0
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +203 -0
- package/dist/components/inputs/DateTime/shared/DateField.js +62 -0
- package/{src → dist}/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -2
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +175 -0
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +55 -0
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +76 -0
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +41 -0
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +82 -0
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +131 -0
- package/dist/components/inputs/DateTime/shared/TimeField.js +26 -0
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +186 -0
- package/{src → dist}/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -2
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +115 -0
- package/dist/components/inputs/DateTime/shared/YearPicker.js +89 -0
- package/dist/components/inputs/File/FileUpload.js +254 -0
- package/dist/components/inputs/File/FileUploadContainer.js +17 -0
- package/dist/components/inputs/File/InputUpload.js +176 -0
- package/{src → dist}/components/inputs/File/fileUpload.types.d.ts +3 -3
- package/{src → dist}/components/inputs/File/inputUpload.types.d.ts +2 -2
- package/{src → dist}/components/inputs/File/shared/FileCard.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileCard.js +67 -0
- package/{src → dist}/components/inputs/File/shared/FileCardList.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileCardList.js +20 -0
- package/dist/components/inputs/File/shared/FileProgressBar.js +32 -0
- package/{src → dist}/components/inputs/File/shared/FileUploadContent.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileUploadContent.js +92 -0
- package/{src → dist}/components/inputs/File/shared/FileUploadContentEmpty.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +92 -0
- package/{src → dist}/components/inputs/File/shared/FileUploadContentError.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentError.js +167 -0
- package/{src → dist}/components/inputs/File/shared/FileUploadContentFilled.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +176 -0
- package/{src → dist}/components/inputs/File/shared/FileUploadContentLoading.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +128 -0
- package/{src → dist}/components/inputs/File/shared/InputUploadContent.d.ts +1 -1
- package/dist/components/inputs/File/shared/InputUploadContent.js +74 -0
- package/dist/components/inputs/File/shared/InputUploadFilled.js +45 -0
- package/dist/components/inputs/File/shared/fileUpload.cva.js +58 -0
- package/dist/components/inputs/File/shared/inputUploadButton.cva.js +49 -0
- package/{src → dist}/components/inputs/FormField/FormField.d.ts +3 -3
- package/dist/components/inputs/FormField/FormField.js +54 -0
- package/dist/components/inputs/FormField/FormFieldError.js +16 -0
- package/dist/components/inputs/FormField/FormFieldHeader.js +57 -0
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +20 -0
- package/{src → dist}/components/inputs/FormField/FormFieldLabel.d.ts +2 -2
- package/dist/components/inputs/FormField/FormFieldLabel.js +37 -0
- package/{src → dist}/components/inputs/Input/NumberInput/NumberInput.d.ts +4 -4
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +166 -0
- package/{src → dist}/components/inputs/Input/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +26 -0
- package/{src → dist}/components/inputs/Input/TextArea/TextArea.d.ts +3 -3
- package/dist/components/inputs/Input/TextArea/TextArea.js +155 -0
- package/{src → dist}/components/inputs/Input/TextInput/TextInput.d.ts +4 -4
- package/dist/components/inputs/Input/TextInput/TextInput.js +162 -0
- package/{src → dist}/components/inputs/Input/shared/InputContent.d.ts +3 -3
- package/dist/components/inputs/Input/shared/InputContent.js +114 -0
- package/{src → dist}/components/inputs/Inputs/Form.d.ts +2 -2
- package/dist/components/inputs/Inputs/Form.js +68 -0
- package/{src → dist}/components/inputs/Inputs/InputItem.d.ts +16 -16
- package/dist/components/inputs/Inputs/InputItem.js +63 -0
- package/dist/components/inputs/Inputs/Inputs.js +32 -0
- package/{src → dist}/components/inputs/RadioGroup/RadioGroup.d.ts +3 -3
- package/dist/components/inputs/RadioGroup/RadioGroup.js +113 -0
- package/{src → dist}/components/inputs/RadioGroup/radio.cva.d.ts +1 -1
- package/dist/components/inputs/RadioGroup/radio.cva.js +47 -0
- package/{src → dist}/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +3 -3
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +39 -0
- package/{src → dist}/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +3 -3
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +25 -0
- package/{src → dist}/components/inputs/Selection/Select/Select.d.ts +3 -3
- package/dist/components/inputs/Selection/Select/Select.js +32 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectBase.d.ts +4 -3
- package/dist/components/inputs/Selection/shared/SelectBase.js +27 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectDesktop.d.ts +1 -1
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +223 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectInput.d.ts +6 -6
- package/dist/components/inputs/Selection/shared/SelectInput.js +234 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectInputTags.d.ts +4 -3
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +49 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectListBox.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/SelectListBox.js +127 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectListBoxItem.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +78 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +45 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +47 -0
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +42 -0
- package/{src → dist}/components/inputs/Selection/shared/SelectMobile.d.ts +1 -1
- package/dist/components/inputs/Selection/shared/SelectMobile.js +165 -0
- package/{src → dist}/components/inputs/Selection/shared/select.context.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/select.context.js +244 -0
- package/{src → dist}/components/inputs/Selection/shared/select.types.d.ts +1 -1
- package/{src → dist}/components/inputs/Selection/shared/useSelectItems.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/useSelectItems.js +94 -0
- package/{src → dist}/components/inputs/Slider/Slider.d.ts +2 -2
- package/dist/components/inputs/Slider/Slider.js +137 -0
- package/{src → dist}/components/inputs/TextEditor/TextEditor.d.ts +2 -2
- package/dist/components/inputs/TextEditor/TextEditor.js +223 -0
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +34 -0
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +80 -0
- package/{src → dist}/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +92 -0
- package/{src → dist}/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +56 -0
- package/{src → dist}/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +33 -0
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +31 -0
- package/{src → dist}/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +37 -0
- package/{src → dist}/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +51 -0
- package/{src → dist}/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +73 -0
- package/{src → dist}/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +61 -0
- package/dist/components/inputs/TextEditor/textEditor.types.js +40 -0
- package/{src → dist}/components/inputs/Toggle/Toggle.d.ts +3 -3
- package/dist/components/inputs/Toggle/Toggle.js +65 -0
- package/{src → dist}/components/inputs/Toggle/toggle.cva.d.ts +1 -1
- package/dist/components/inputs/Toggle/toggle.cva.js +44 -0
- package/{src → dist}/components/inputs/shared/CheckContent.d.ts +1 -1
- package/dist/components/inputs/shared/CheckContent.js +22 -0
- package/dist/components/inputs/shared/InputClear.js +27 -0
- package/dist/components/inputs/shared/TooltipWrapper.d.ts +8 -0
- package/dist/components/inputs/shared/TooltipWrapper.js +21 -0
- package/dist/components/inputs/shared/input.cva.js +168 -0
- package/{src → dist}/components/inputs/shared/label.cva.d.ts +1 -1
- package/dist/components/inputs/shared/label.cva.js +133 -0
- package/dist/components/outline.clsx.js +11 -0
- package/{src → dist}/components/overlays/ActionModal/ActionModal.d.ts +2 -2
- package/dist/components/overlays/ActionModal/ActionModal.js +80 -0
- package/dist/components/overlays/BottomSheet/BottomSheet.js +261 -0
- package/dist/components/overlays/Drawer/Drawer.js +84 -0
- package/{src → dist}/components/overlays/Modal/Modal.d.ts +1 -1
- package/dist/components/overlays/Modal/Modal.js +53 -0
- package/dist/components/overlays/Modal/modal.cva.js +53 -0
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +71 -0
- package/{src → dist}/components/overlays/Tooltip/Tooltip.d.ts +3 -2
- package/dist/components/overlays/Tooltip/Tooltip.js +72 -0
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +27 -0
- package/dist/components/overlays/Tooltip/tooltip.cva.js +60 -0
- package/dist/components/segment/Segment.js +119 -0
- package/dist/components/segment/SegmentItem.js +43 -0
- package/{src → dist}/components/segment/segment.types.d.ts +1 -1
- package/dist/components/shared/pagination/Pagination.js +75 -0
- package/{src → dist}/components/shared/pagination/PaginationList.d.ts +1 -1
- package/dist/components/shared/pagination/PaginationList.js +145 -0
- package/dist/components/shared/pagination/minWidth.cva.js +15 -0
- package/{src → dist}/components/status/Alert/Alert.d.ts +1 -1
- package/dist/components/status/Alert/Alert.js +41 -0
- package/dist/components/status/Alert/alert.cva.js +64 -0
- package/{src → dist}/components/status/Loader/Loader.d.ts +1 -1
- package/dist/components/status/Loader/Loader.js +37 -0
- package/dist/components/status/Loader/loader.cva.js +27 -0
- package/{src → dist}/components/status/Toast/Toast.d.ts +1 -1
- package/dist/components/status/Toast/Toast.js +64 -0
- package/{src → dist}/components/status/Toast/toast.cva.d.ts +1 -1
- package/dist/components/status/Toast/toast.cva.js +150 -0
- package/dist/components/status/Toast/useToast.js +83 -0
- package/dist/components/status/shared/status.cva.js +62 -0
- package/dist/components/table/CellText.js +18 -0
- package/dist/components/table/ColumnConfig.js +124 -0
- package/dist/components/table/HeaderText.js +15 -0
- package/dist/components/table/InfiniteTable.js +40 -0
- package/dist/components/table/PaginatedTable.js +33 -0
- package/dist/components/table/Table.js +370 -0
- package/dist/components/table/table.cva.js +63 -0
- package/{src → dist}/components/text/Link/Link.d.ts +1 -1
- package/dist/components/text/Link/Link.js +18 -0
- package/dist/components/text/Link/link.cva.js +18 -0
- package/{src → dist}/components/text/Tag/Tag.d.ts +1 -1
- package/dist/components/text/Tag/Tag.js +49 -0
- package/dist/components/text/Tag/tag.cva.js +59 -0
- package/{src → dist}/components/text/Typography/Typography.d.ts +1 -1
- package/dist/components/text/Typography/Typography.js +22 -0
- package/dist/components/text/Typography/typography.cva.js +100 -0
- package/{src → dist}/config/confirmation.context.d.ts +1 -1
- package/dist/config/confirmation.context.js +107 -0
- package/dist/config/i18n.js +15 -0
- package/dist/config/router.context.js +43 -0
- package/{src → dist}/config/uiConfig.context.d.ts +9 -9
- package/dist/config/uiConfig.context.js +68 -0
- package/{src → dist}/config/uiStyle.context.d.ts +14 -14
- package/dist/config/uiStyle.context.js +16 -0
- package/dist/helpers/dynamicColumns.js +359 -0
- package/{src → dist}/helpers/dynamicInputs.d.ts +2 -2
- package/dist/helpers/dynamicInputs.js +216 -0
- package/dist/hooks/useAutosave.js +83 -0
- package/dist/hooks/useBreakpoint.js +20 -0
- package/dist/hooks/useDebounceCallback.js +29 -0
- package/dist/hooks/useDeepCompare.js +25 -0
- package/dist/hooks/useFilters.js +120 -0
- package/dist/hooks/useForm.js +22 -0
- package/{src → dist}/hooks/useFormAutosave.d.ts +2 -2
- package/dist/hooks/useFormAutosave.js +67 -0
- package/dist/hooks/useIntersectionObserver.js +27 -0
- package/dist/hooks/useLocalStorage.js +63 -0
- package/dist/hooks/useLongPressRepeat.js +33 -0
- package/dist/hooks/usePagination.js +35 -0
- package/dist/hooks/useScrollableListBox.js +30 -0
- package/dist/hooks/useSorting.js +30 -0
- package/dist/hooks/useStateAndRef.js +17 -0
- package/dist/hooks/useTableColumnConfig.js +63 -0
- package/dist/hooks/useTableNav.js +394 -0
- package/dist/hooks/useTranslationMemo.js +14 -0
- package/dist/index.js +284 -0
- package/{src → dist}/types/react-query.d.ts +1 -1
- package/dist/utils/array.utils.js +12 -0
- package/dist/utils/compoundMapper.js +14 -0
- package/dist/utils/date-time.utils.js +77 -0
- package/dist/utils/date.utils.js +12 -0
- package/dist/utils/dom.utils.js +13 -0
- package/dist/utils/file.utils.js +63 -0
- package/dist/utils/isEqual.js +95 -0
- package/dist/utils/logger.js +19 -0
- package/dist/utils/object.utils.js +53 -0
- package/dist/utils/queries.utils.js +9 -0
- package/dist/utils/rest.utils.js +51 -0
- package/dist/utils/routing.utils.js +15 -0
- package/dist/utils/string.utils.js +12 -0
- package/{src → dist}/utils/vendor/acl/AclGuard.d.ts +1 -1
- package/dist/utils/vendor/acl/AclGuard.js +15 -0
- package/dist/utils/vendor/acl/Can.js +18 -0
- package/dist/utils/vendor/acl/ability.context.js +37 -0
- package/dist/utils/vendor/auth/AuthGuard.js +26 -0
- package/dist/utils/vendor/auth/auth.context.js +36 -0
- package/{src → dist}/utils/vendor/auth/withPrivateAuthGuard.d.ts +1 -1
- package/dist/utils/vendor/auth/withPrivateAuthGuard.js +17 -0
- package/dist/utils/vendor/error-handling.js +119 -0
- package/dist/utils/vendor/rest-interceptor.js +21 -0
- package/dist/utils/zod.utils.js +25 -0
- package/package.json +57 -5
- package/index.js +0 -62585
- package/povio-ui-0.0.8.tgz +0 -0
- package/vite.config.d.ts +0 -2
- /package/{src → dist}/assets/icons/AlignCenter.d.ts +0 -0
- /package/{src → dist}/assets/icons/AlignLeft.d.ts +0 -0
- /package/{src → dist}/assets/icons/AlignLeftRight.d.ts +0 -0
- /package/{src → dist}/assets/icons/AlignRight.d.ts +0 -0
- /package/{src → dist}/assets/icons/ArrowDropDown.d.ts +0 -0
- /package/{src → dist}/assets/icons/ArrowDropUp.d.ts +0 -0
- /package/{src → dist}/assets/icons/ArrowLeft.d.ts +0 -0
- /package/{src → dist}/assets/icons/ArrowRight.d.ts +0 -0
- /package/{src → dist}/assets/icons/Bold.d.ts +0 -0
- /package/{src → dist}/assets/icons/BulletedList.d.ts +0 -0
- /package/{src → dist}/assets/icons/Calendar.d.ts +0 -0
- /package/{src → dist}/assets/icons/Check.d.ts +0 -0
- /package/{src → dist}/assets/icons/CheckCircle.d.ts +0 -0
- /package/{src → dist}/assets/icons/CheckboxCheckmark.d.ts +0 -0
- /package/{src → dist}/assets/icons/CheckboxIndeterminate.d.ts +0 -0
- /package/{src → dist}/assets/icons/ChevronDown.d.ts +0 -0
- /package/{src → dist}/assets/icons/ChevronLeft.d.ts +0 -0
- /package/{src → dist}/assets/icons/ChevronRight.d.ts +0 -0
- /package/{src → dist}/assets/icons/ChevronUp.d.ts +0 -0
- /package/{src → dist}/assets/icons/ChevronsLeft.d.ts +0 -0
- /package/{src → dist}/assets/icons/ChevronsRight.d.ts +0 -0
- /package/{src → dist}/assets/icons/Clock.d.ts +0 -0
- /package/{src → dist}/assets/icons/Close.d.ts +0 -0
- /package/{src → dist}/assets/icons/DateTime.d.ts +0 -0
- /package/{src → dist}/assets/icons/Drag.d.ts +0 -0
- /package/{src → dist}/assets/icons/File.d.ts +0 -0
- /package/{src → dist}/assets/icons/Highlight.d.ts +0 -0
- /package/{src → dist}/assets/icons/HighlightOn.d.ts +0 -0
- /package/{src → dist}/assets/icons/Info.d.ts +0 -0
- /package/{src → dist}/assets/icons/Italic.d.ts +0 -0
- /package/{src → dist}/assets/icons/Link.d.ts +0 -0
- /package/{src → dist}/assets/icons/Menu.d.ts +0 -0
- /package/{src → dist}/assets/icons/NumberedList.d.ts +0 -0
- /package/{src → dist}/assets/icons/PointerHorizontal.d.ts +0 -0
- /package/{src → dist}/assets/icons/PointerVertical.d.ts +0 -0
- /package/{src → dist}/assets/icons/Send.d.ts +0 -0
- /package/{src → dist}/assets/icons/Strikethrough.d.ts +0 -0
- /package/{src → dist}/assets/icons/TextColor.d.ts +0 -0
- /package/{src → dist}/assets/icons/Today.d.ts +0 -0
- /package/{src → dist}/assets/icons/Underlined.d.ts +0 -0
- /package/{src → dist}/assets/icons/Upload.d.ts +0 -0
- /package/{src → dist}/assets/icons/View.d.ts +0 -0
- /package/{src → dist}/assets/icons/ViewOff.d.ts +0 -0
- /package/{src → dist}/assets/icons/WarningFilled.d.ts +0 -0
- /package/{src → dist}/components/Menu/Menu.d.ts +0 -0
- /package/{src → dist}/components/buttons/shared/buttonContent.cva.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/Calendar.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/DateField.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/TimeField.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -0
- /package/{src → dist}/components/inputs/DateTime/shared/YearPicker.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/FileUpload.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/FileUploadContainer.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/InputUpload.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/index.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/shared/FileProgressBar.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/shared/InputUploadFilled.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/shared/fileUpload.cva.d.ts +0 -0
- /package/{src → dist}/components/inputs/File/shared/inputUploadButton.cva.d.ts +0 -0
- /package/{src → dist}/components/inputs/FormField/FormFieldError.d.ts +0 -0
- /package/{src → dist}/components/inputs/FormField/FormFieldHeader.d.ts +0 -0
- /package/{src → dist}/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -0
- /package/{src → dist}/components/inputs/Inputs/Inputs.d.ts +0 -0
- /package/{src → dist}/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -0
- /package/{src → dist}/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -0
- /package/{src → dist}/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -0
- /package/{src → dist}/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -0
- /package/{src → dist}/components/inputs/TextEditor/textEditor.types.d.ts +0 -0
- /package/{src → dist}/components/inputs/shared/InputClear.d.ts +0 -0
- /package/{src → dist}/components/inputs/shared/form.types.d.ts +0 -0
- /package/{src → dist}/components/inputs/shared/input.cva.d.ts +0 -0
- /package/{src → dist}/components/outline.clsx.d.ts +0 -0
- /package/{src → dist}/components/overlays/BottomSheet/BottomSheet.d.ts +0 -0
- /package/{src → dist}/components/overlays/Drawer/Drawer.d.ts +0 -0
- /package/{src → dist}/components/overlays/Modal/modal.cva.d.ts +0 -0
- /package/{src → dist}/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -0
- /package/{src → dist}/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -0
- /package/{src → dist}/components/overlays/Tooltip/tooltip.cva.d.ts +0 -0
- /package/{src → dist}/components/segment/Segment.d.ts +0 -0
- /package/{src → dist}/components/segment/SegmentItem.d.ts +0 -0
- /package/{src → dist}/components/shared/pagination/Pagination.d.ts +0 -0
- /package/{src → dist}/components/shared/pagination/minWidth.cva.d.ts +0 -0
- /package/{src → dist}/components/status/Alert/alert.cva.d.ts +0 -0
- /package/{src → dist}/components/status/Loader/loader.cva.d.ts +0 -0
- /package/{src → dist}/components/status/Toast/useToast.d.ts +0 -0
- /package/{src → dist}/components/status/shared/status.cva.d.ts +0 -0
- /package/{src → dist}/components/table/CellText.d.ts +0 -0
- /package/{src → dist}/components/table/ColumnConfig.d.ts +0 -0
- /package/{src → dist}/components/table/HeaderText.d.ts +0 -0
- /package/{src → dist}/components/table/InfiniteTable.d.ts +0 -0
- /package/{src → dist}/components/table/PaginatedTable.d.ts +0 -0
- /package/{src → dist}/components/table/Table.d.ts +0 -0
- /package/{src → dist}/components/table/table.cva.d.ts +0 -0
- /package/{src → dist}/components/text/Link/link.cva.d.ts +0 -0
- /package/{src → dist}/components/text/Tag/tag.cva.d.ts +0 -0
- /package/{src → dist}/components/text/Typography/typography.cva.d.ts +0 -0
- /package/{src → dist}/config/i18n.d.ts +0 -0
- /package/{src → dist}/config/router.context.d.ts +0 -0
- /package/{src → dist}/helpers/dynamicColumns.d.ts +0 -0
- /package/{src → dist}/hooks/useAutosave.d.ts +0 -0
- /package/{src → dist}/hooks/useBreakpoint.d.ts +0 -0
- /package/{src → dist}/hooks/useDebounceCallback.d.ts +0 -0
- /package/{src → dist}/hooks/useDeepCompare.d.ts +0 -0
- /package/{src → dist}/hooks/useFilters.d.ts +0 -0
- /package/{src → dist}/hooks/useForm.d.ts +0 -0
- /package/{src → dist}/hooks/useIntersectionObserver.d.ts +0 -0
- /package/{src → dist}/hooks/useLocalStorage.d.ts +0 -0
- /package/{src → dist}/hooks/useLongPressRepeat.d.ts +0 -0
- /package/{src → dist}/hooks/usePagination.d.ts +0 -0
- /package/{src → dist}/hooks/useScrollableListBox.d.ts +0 -0
- /package/{src → dist}/hooks/useSorting.d.ts +0 -0
- /package/{src → dist}/hooks/useStateAndRef.d.ts +0 -0
- /package/{src → dist}/hooks/useTableColumnConfig.d.ts +0 -0
- /package/{src → dist}/hooks/useTableNav.d.ts +0 -0
- /package/{src → dist}/hooks/useTranslationMemo.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{styles → dist/styles}/editor.css +0 -0
- /package/{styles → dist/styles}/index.css +0 -0
- /package/{src → dist}/types/common.d.ts +0 -0
- /package/{src → dist}/utils/array.utils.d.ts +0 -0
- /package/{src → dist}/utils/array.utils.spec.d.ts +0 -0
- /package/{src → dist}/utils/compoundMapper.d.ts +0 -0
- /package/{src → dist}/utils/compoundMapper.spec.d.ts +0 -0
- /package/{src → dist}/utils/date-time.utils.d.ts +0 -0
- /package/{src → dist}/utils/date-time.utils.spec.d.ts +0 -0
- /package/{src → dist}/utils/date.utils.d.ts +0 -0
- /package/{src → dist}/utils/date.utils.spec.d.ts +0 -0
- /package/{src → dist}/utils/dom.utils.d.ts +0 -0
- /package/{src → dist}/utils/file.utils.d.ts +0 -0
- /package/{src → dist}/utils/isEqual.d.ts +0 -0
- /package/{src → dist}/utils/logger.d.ts +0 -0
- /package/{src → dist}/utils/object.utils.d.ts +0 -0
- /package/{src → dist}/utils/queries.utils.d.ts +0 -0
- /package/{src → dist}/utils/rest.utils.d.ts +0 -0
- /package/{src → dist}/utils/routing.utils.d.ts +0 -0
- /package/{src → dist}/utils/string.utils.d.ts +0 -0
- /package/{src → dist}/utils/vendor/acl/Can.d.ts +0 -0
- /package/{src → dist}/utils/vendor/acl/ability.context.d.ts +0 -0
- /package/{src → dist}/utils/vendor/acl/appAbility.types.d.ts +0 -0
- /package/{src → dist}/utils/vendor/auth/AuthGuard.d.ts +0 -0
- /package/{src → dist}/utils/vendor/auth/auth.context.d.ts +0 -0
- /package/{src → dist}/utils/vendor/error-handling.d.ts +0 -0
- /package/{src → dist}/utils/vendor/rest-client.types.d.ts +0 -0
- /package/{src → dist}/utils/vendor/rest-interceptor.d.ts +0 -0
- /package/{src → dist}/utils/zod.utils.d.ts +0 -0
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
import { logger } from "../utils/logger.js";
|
|
2
|
+
const Selectors = {
|
|
3
|
+
Cell: '[role="cell"],[role="gridcell"],[role="columnheader"],[role="rowheader"],td,th',
|
|
4
|
+
Row: '[role="row"],tr',
|
|
5
|
+
RowGroup: '[role="rowgroup"],thead,tbody,tfoot',
|
|
6
|
+
/** Selector from here: https://github.com/Shopify/polaris/blob/main/polaris-react/src/utilities/focus.ts#L10 */
|
|
7
|
+
Focusable: 'a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not([aria-disabled="true"]):not([tabindex="-1"]):not(:disabled),*[tabindex]'
|
|
8
|
+
};
|
|
9
|
+
class DataGridNav {
|
|
10
|
+
constructor(config = {}) {
|
|
11
|
+
this.keys = [];
|
|
12
|
+
this.activeCell = null;
|
|
13
|
+
this.debugLog = (functionName, message) => {
|
|
14
|
+
if (this.debug) {
|
|
15
|
+
logger.info(`[${functionName}]: ${message}`);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const { selectors = {}, pageUpDown, debug = false } = config;
|
|
19
|
+
this.selectors = { ...Selectors, ...selectors };
|
|
20
|
+
this.pageUpDown = pageUpDown;
|
|
21
|
+
this.keys = [];
|
|
22
|
+
this.debug = debug;
|
|
23
|
+
this.disabled = false;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Disables the keyboard listener in cases
|
|
27
|
+
* that elements inside the grid need to use
|
|
28
|
+
* arrows keys etc., like select dropdowns
|
|
29
|
+
*/
|
|
30
|
+
disable() {
|
|
31
|
+
this.disabled = true;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Enables the keyboard listeners
|
|
35
|
+
*/
|
|
36
|
+
enable() {
|
|
37
|
+
this.disabled = false;
|
|
38
|
+
}
|
|
39
|
+
// oxlint-disable-next-line class-methods-use-this
|
|
40
|
+
isFocusable(el) {
|
|
41
|
+
return el instanceof HTMLElement || el instanceof SVGElement;
|
|
42
|
+
}
|
|
43
|
+
getActiveCell() {
|
|
44
|
+
return this.activeCell;
|
|
45
|
+
}
|
|
46
|
+
/** Used as a keyboard listener for key up */
|
|
47
|
+
tableKeyUp() {
|
|
48
|
+
this.keys = [];
|
|
49
|
+
}
|
|
50
|
+
/** Used as a keyboard listener for key down */
|
|
51
|
+
tableKeyDown(e) {
|
|
52
|
+
if (this.disabled) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if ("ArrowDown" === e.key || "ArrowUp" === e.key || "ArrowLeft" === e.key || "ArrowRight" === e.key) {
|
|
56
|
+
e.preventDefault();
|
|
57
|
+
}
|
|
58
|
+
if (this.keys.length === 0 || this.keys[this.keys.length - 1] !== e.key) {
|
|
59
|
+
this.keys.push(e.key);
|
|
60
|
+
}
|
|
61
|
+
if (!(e.target instanceof Element)) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const cell = e.target.parentElement?.closest(`${this.selectors.Cell},${this.selectors.Row}`);
|
|
65
|
+
if (!cell) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
if (cell.matches(this.selectors.Cell)) {
|
|
69
|
+
this.cellNavigation(e);
|
|
70
|
+
} else {
|
|
71
|
+
this.gridNavigation(e);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Handles the navigation inside a cell
|
|
76
|
+
*/
|
|
77
|
+
cellNavigation(e) {
|
|
78
|
+
if (!(e.target instanceof Element)) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (e.key === "Escape") {
|
|
82
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
83
|
+
if (cell && this.isFocusable(cell)) {
|
|
84
|
+
cell.focus();
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
if (e.key === "ArrowRight" || e.key === "ArrowDown") {
|
|
89
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
90
|
+
if (!cell) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
const focusableWidgets = [...cell.querySelectorAll(this.selectors.Focusable)];
|
|
94
|
+
const widgetIdx = focusableWidgets.findIndex((el) => el === e.target);
|
|
95
|
+
const nextFocusable = widgetIdx === focusableWidgets.length - 1 ? 0 : widgetIdx + 1;
|
|
96
|
+
const widgetToFocus = focusableWidgets[nextFocusable];
|
|
97
|
+
if (this.isFocusable(widgetToFocus)) {
|
|
98
|
+
widgetToFocus.focus();
|
|
99
|
+
}
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (e.key === "ArrowLeft" || e.key === "ArrowUp") {
|
|
103
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
104
|
+
if (!cell) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
const focusableWidgets = [...cell.querySelectorAll(this.selectors.Focusable)];
|
|
108
|
+
const widgetIdx = focusableWidgets.findIndex((el) => el === e.target);
|
|
109
|
+
const previousFocusable = widgetIdx === 0 ? focusableWidgets.length - 1 : widgetIdx - 1;
|
|
110
|
+
const widgetToFocus = focusableWidgets[previousFocusable];
|
|
111
|
+
if (this.isFocusable(widgetToFocus)) {
|
|
112
|
+
widgetToFocus.focus();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Handles the navigation outside a cell
|
|
118
|
+
* on the grid level
|
|
119
|
+
*/
|
|
120
|
+
gridNavigation(e) {
|
|
121
|
+
const { target } = e;
|
|
122
|
+
if (!(e.target instanceof Element)) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
if (!(target instanceof Element)) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
if (this.keys.length === 1) {
|
|
129
|
+
if (/^[a-zA-Z0-9]$/.test(e.key)) {
|
|
130
|
+
const cell = e.target.querySelector(this.selectors.Focusable);
|
|
131
|
+
if (cell && this.isFocusable(cell) && cell instanceof HTMLInputElement) {
|
|
132
|
+
cell.focus();
|
|
133
|
+
cell.value = `${cell.value}${e.key}`;
|
|
134
|
+
e.preventDefault();
|
|
135
|
+
}
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (e.key === "Backspace") {
|
|
139
|
+
const cell = e.target.querySelector(this.selectors.Focusable);
|
|
140
|
+
if (cell && this.isFocusable(cell) && cell instanceof HTMLInputElement) {
|
|
141
|
+
const nativeInputValueSetter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")?.set;
|
|
142
|
+
if (nativeInputValueSetter) {
|
|
143
|
+
nativeInputValueSetter.call(cell, "");
|
|
144
|
+
const ev = new Event("input", { bubbles: true });
|
|
145
|
+
cell.dispatchEvent(ev);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
if (e.key === "Enter") {
|
|
151
|
+
const cell = e.target.querySelector(this.selectors.Focusable);
|
|
152
|
+
if (cell && this.isFocusable(cell)) {
|
|
153
|
+
if (cell.getAttribute("data-type") === "select-trigger") {
|
|
154
|
+
cell.click();
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
cell.focus();
|
|
158
|
+
e.preventDefault();
|
|
159
|
+
}
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
|
|
163
|
+
const direction = e.key === "ArrowLeft" ? "prev" : "next";
|
|
164
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
165
|
+
let nextCell = null;
|
|
166
|
+
if (direction === "next" && cell?.nextElementSibling instanceof HTMLElement) {
|
|
167
|
+
nextCell = cell.nextElementSibling;
|
|
168
|
+
}
|
|
169
|
+
if (direction === "prev" && cell?.previousElementSibling instanceof HTMLElement) {
|
|
170
|
+
nextCell = cell.previousElementSibling;
|
|
171
|
+
}
|
|
172
|
+
if (nextCell && this.isFocusable(nextCell)) {
|
|
173
|
+
nextCell.focus();
|
|
174
|
+
e.preventDefault();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
178
|
+
this.verticalCellNavigation(e);
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
if (e.key === "PageUp" || e.key === "PageDown") {
|
|
182
|
+
this.pageCellNavigation(e);
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
if (e.key === "Home" || e.key === "End") {
|
|
186
|
+
const row = e.target.closest(this.selectors.Row);
|
|
187
|
+
const rowChildren = [...row?.children || []];
|
|
188
|
+
if (e.key === "End") {
|
|
189
|
+
rowChildren.reverse();
|
|
190
|
+
}
|
|
191
|
+
this.focusOnFirstCell(rowChildren);
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
const [firstKey, secondKey] = this.keys;
|
|
195
|
+
if (firstKey === "Control" && // oxlint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
|
|
196
|
+
(secondKey === "Home" || secondKey === "End")) {
|
|
197
|
+
const row = e.target.closest(this.selectors.Row);
|
|
198
|
+
const siblings = row.parentElement?.children;
|
|
199
|
+
if (!siblings) {
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
const rowToFocus = secondKey === "Home" ? siblings[0] : siblings[siblings.length - 1];
|
|
203
|
+
const rowChildren = [...rowToFocus?.children || []];
|
|
204
|
+
if (secondKey === "End") {
|
|
205
|
+
rowChildren.reverse();
|
|
206
|
+
}
|
|
207
|
+
this.focusOnFirstCell(rowChildren);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
pageCellNavigation(e) {
|
|
212
|
+
if (!(e.target instanceof Element)) {
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
const row = e.target.closest(this.selectors.Row);
|
|
216
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
217
|
+
if (row && cell) {
|
|
218
|
+
const position = this.getColumnIndex(cell);
|
|
219
|
+
if (position === void 0) {
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
const direction = e.key === "PageUp" ? "prev" : "next";
|
|
223
|
+
const siblings = row.parentElement?.children;
|
|
224
|
+
if (!siblings) {
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
let destinationRow;
|
|
228
|
+
if (this.pageUpDown) {
|
|
229
|
+
const methodClbk = direction === "prev" ? "previousSibling" : "nextSibling";
|
|
230
|
+
let sibling = row[methodClbk];
|
|
231
|
+
if (sibling === null) {
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
let lastVisitedSibling = sibling;
|
|
235
|
+
for (let i = 0; i < this.pageUpDown - 1 && sibling; i++) {
|
|
236
|
+
sibling = sibling[methodClbk];
|
|
237
|
+
if (sibling) {
|
|
238
|
+
lastVisitedSibling = sibling;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
destinationRow = sibling || lastVisitedSibling;
|
|
242
|
+
} else {
|
|
243
|
+
destinationRow = direction === "prev" ? siblings[0] : siblings[siblings.length - 1];
|
|
244
|
+
}
|
|
245
|
+
if (!destinationRow || !(destinationRow instanceof Element)) {
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
const child = destinationRow.children[position];
|
|
249
|
+
if (child && this.isFocusable(child)) {
|
|
250
|
+
child.focus();
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
verticalCellNavigation(e) {
|
|
255
|
+
if (!(e.target instanceof Element)) {
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
const row = e.target.closest(this.selectors.Row);
|
|
259
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
260
|
+
if (row && cell) {
|
|
261
|
+
const cellPosition = this.getColumnIndex(cell);
|
|
262
|
+
const rowPosition = this.getRowIndex(row);
|
|
263
|
+
if (cellPosition === void 0 || rowPosition === void 0) {
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
const direction = e.key === "ArrowUp" ? "prev" : "next";
|
|
267
|
+
if (rowPosition === 0 && direction === "prev") {
|
|
268
|
+
const currentRowGroup = row.parentElement?.closest(this.selectors.RowGroup);
|
|
269
|
+
const siblingRowGroups = [...currentRowGroup?.parentElement?.children || []];
|
|
270
|
+
const currentRowGroupIdx = siblingRowGroups.findIndex((el) => el === currentRowGroup);
|
|
271
|
+
if (currentRowGroupIdx !== 0) {
|
|
272
|
+
const previousRowGroup = siblingRowGroups[currentRowGroupIdx - 1];
|
|
273
|
+
const rows = [...previousRowGroup.querySelectorAll(this.selectors.Row)];
|
|
274
|
+
const child2 = rows[rows.length - 1].children[cellPosition];
|
|
275
|
+
if (child2 && this.isFocusable(child2)) {
|
|
276
|
+
child2.focus();
|
|
277
|
+
}
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
const siblingRows = [...row.parentElement?.querySelectorAll(this.selectors.Row) || []];
|
|
282
|
+
if (rowPosition === siblingRows.length - 1 && direction === "next") {
|
|
283
|
+
const currentRowGroup = row.parentElement?.closest(this.selectors.RowGroup);
|
|
284
|
+
const siblingRowGroups = [...currentRowGroup?.parentElement?.children || []];
|
|
285
|
+
const currentRowGroupIdx = siblingRowGroups.findIndex((el) => el === currentRowGroup);
|
|
286
|
+
if (currentRowGroupIdx !== siblingRowGroups.length - 1) {
|
|
287
|
+
const nextRowGroup = siblingRowGroups[currentRowGroupIdx + 1];
|
|
288
|
+
const rows = [...nextRowGroup.querySelectorAll(this.selectors.Row)];
|
|
289
|
+
const child2 = rows[0].children[cellPosition];
|
|
290
|
+
if (child2 && this.isFocusable(child2)) {
|
|
291
|
+
child2.focus();
|
|
292
|
+
}
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
const destinationRow = this.findUntil(direction, row, this.selectors.Row);
|
|
298
|
+
if (!destinationRow) {
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
const child = destinationRow.children[cellPosition];
|
|
302
|
+
if (child && this.isFocusable(child)) {
|
|
303
|
+
child.focus();
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Sending a row `Element` and then the first cell will be focused.
|
|
309
|
+
*
|
|
310
|
+
* If you want to focus the last cell then the row children can be passed in
|
|
311
|
+
* reversed order
|
|
312
|
+
*/
|
|
313
|
+
focusOnFirstCell(el) {
|
|
314
|
+
for (let i = 0; i < el.length; i++) {
|
|
315
|
+
const child = el[i];
|
|
316
|
+
if (this.isFocusable(child)) {
|
|
317
|
+
child.focus();
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Get the column index of a `cell` based on the first `row` parent.
|
|
324
|
+
* `cellIndex` could be used, but it's not supported in HTML tables.
|
|
325
|
+
*/
|
|
326
|
+
getColumnIndex(cell) {
|
|
327
|
+
let position = 0;
|
|
328
|
+
const siblings = cell?.parentNode?.children;
|
|
329
|
+
if (!siblings) {
|
|
330
|
+
return void 0;
|
|
331
|
+
}
|
|
332
|
+
while (cell !== siblings[position] && siblings[position] !== void 0) {
|
|
333
|
+
position++;
|
|
334
|
+
}
|
|
335
|
+
if (siblings[position] === void 0) {
|
|
336
|
+
return void 0;
|
|
337
|
+
}
|
|
338
|
+
return position;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* Get the row index of a `row` based
|
|
342
|
+
* on its sibling rows
|
|
343
|
+
*/
|
|
344
|
+
getRowIndex(row) {
|
|
345
|
+
let position = 0;
|
|
346
|
+
const siblings = row?.parentNode?.children;
|
|
347
|
+
if (!siblings) {
|
|
348
|
+
return void 0;
|
|
349
|
+
}
|
|
350
|
+
while (row !== siblings[position] && siblings[position] !== void 0) {
|
|
351
|
+
position++;
|
|
352
|
+
}
|
|
353
|
+
if (siblings[position] === void 0) {
|
|
354
|
+
return void 0;
|
|
355
|
+
}
|
|
356
|
+
return position;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Equivalent to prevUntil/nextUntil in jQuery
|
|
360
|
+
* https://api.jquery.com/prevUntil/
|
|
361
|
+
*/
|
|
362
|
+
// oxlint-disable-next-line class-methods-use-this
|
|
363
|
+
findUntil(direction, el, matchSelector, exitSelector) {
|
|
364
|
+
let element = el;
|
|
365
|
+
const method = direction === "next" ? "nextSibling" : "previousSibling";
|
|
366
|
+
while (element[method]) {
|
|
367
|
+
const sibling = element[method];
|
|
368
|
+
if (!sibling) {
|
|
369
|
+
return null;
|
|
370
|
+
}
|
|
371
|
+
if (exitSelector && sibling instanceof Element && sibling.matches(exitSelector)) {
|
|
372
|
+
return null;
|
|
373
|
+
}
|
|
374
|
+
if (sibling instanceof Element && sibling.matches(matchSelector)) {
|
|
375
|
+
return sibling;
|
|
376
|
+
}
|
|
377
|
+
element = sibling;
|
|
378
|
+
}
|
|
379
|
+
return null;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
function useTableNav(options) {
|
|
383
|
+
const nav = new DataGridNav(options);
|
|
384
|
+
return {
|
|
385
|
+
listeners: {
|
|
386
|
+
onKeyDown: (e) => nav.tableKeyDown(e),
|
|
387
|
+
onKeyUp: () => nav.tableKeyUp()
|
|
388
|
+
},
|
|
389
|
+
tableNav: nav
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
export {
|
|
393
|
+
useTableNav
|
|
394
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useMemo } from "react";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
function useTranslationMemo(func) {
|
|
4
|
+
const { t } = useTranslation();
|
|
5
|
+
return useMemo(() => {
|
|
6
|
+
if (func.length === 1) {
|
|
7
|
+
return func(t);
|
|
8
|
+
}
|
|
9
|
+
return func();
|
|
10
|
+
}, [func, t]);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
useTranslationMemo
|
|
14
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import { AlignCenterIcon } from "./assets/icons/AlignCenter.js";
|
|
2
|
+
import { AlignLeftIcon } from "./assets/icons/AlignLeft.js";
|
|
3
|
+
import { AlignLeftRightIcon } from "./assets/icons/AlignLeftRight.js";
|
|
4
|
+
import { AlignRightIcon } from "./assets/icons/AlignRight.js";
|
|
5
|
+
import { ArrowDropDownIcon } from "./assets/icons/ArrowDropDown.js";
|
|
6
|
+
import { ArrowDropUpIcon } from "./assets/icons/ArrowDropUp.js";
|
|
7
|
+
import { ArrowLeftIcon } from "./assets/icons/ArrowLeft.js";
|
|
8
|
+
import { ArrowRightIcon } from "./assets/icons/ArrowRight.js";
|
|
9
|
+
import { BoldIcon } from "./assets/icons/Bold.js";
|
|
10
|
+
import { BulletedListIcon } from "./assets/icons/BulletedList.js";
|
|
11
|
+
import { CalendarIcon } from "./assets/icons/Calendar.js";
|
|
12
|
+
import { CheckIcon } from "./assets/icons/Check.js";
|
|
13
|
+
import { CheckboxCheckmarkIcon } from "./assets/icons/CheckboxCheckmark.js";
|
|
14
|
+
import { CheckboxIndeterminateIcon } from "./assets/icons/CheckboxIndeterminate.js";
|
|
15
|
+
import { ChevronDownIcon } from "./assets/icons/ChevronDown.js";
|
|
16
|
+
import { ChevronLeftIcon } from "./assets/icons/ChevronLeft.js";
|
|
17
|
+
import { ChevronRightIcon } from "./assets/icons/ChevronRight.js";
|
|
18
|
+
import { ChevronsLeftIcon } from "./assets/icons/ChevronsLeft.js";
|
|
19
|
+
import { ChevronsRightIcon } from "./assets/icons/ChevronsRight.js";
|
|
20
|
+
import { ChevronUpIcon } from "./assets/icons/ChevronUp.js";
|
|
21
|
+
import { ClockIcon } from "./assets/icons/Clock.js";
|
|
22
|
+
import { CloseIcon } from "./assets/icons/Close.js";
|
|
23
|
+
import { DateTimeIcon } from "./assets/icons/DateTime.js";
|
|
24
|
+
import { HighlightIcon } from "./assets/icons/Highlight.js";
|
|
25
|
+
import { HighlightOnIcon } from "./assets/icons/HighlightOn.js";
|
|
26
|
+
import { InfoIcon } from "./assets/icons/Info.js";
|
|
27
|
+
import { ItalicIcon } from "./assets/icons/Italic.js";
|
|
28
|
+
import { LinkIcon } from "./assets/icons/Link.js";
|
|
29
|
+
import { MenuIcon } from "./assets/icons/Menu.js";
|
|
30
|
+
import { NumberedListIcon } from "./assets/icons/NumberedList.js";
|
|
31
|
+
import { PointerHorizontalIcon } from "./assets/icons/PointerHorizontal.js";
|
|
32
|
+
import { PointerVerticalIcon } from "./assets/icons/PointerVertical.js";
|
|
33
|
+
import { SendIcon } from "./assets/icons/Send.js";
|
|
34
|
+
import { StrikethroughIcon } from "./assets/icons/Strikethrough.js";
|
|
35
|
+
import { TextColorIcon } from "./assets/icons/TextColor.js";
|
|
36
|
+
import { UnderlinedIcon } from "./assets/icons/Underlined.js";
|
|
37
|
+
import { ViewIcon } from "./assets/icons/View.js";
|
|
38
|
+
import { ViewOffIcon } from "./assets/icons/ViewOff.js";
|
|
39
|
+
import { Button } from "./components/buttons/Button/Button.js";
|
|
40
|
+
import { IconButton } from "./components/buttons/IconButton/IconButton.js";
|
|
41
|
+
import { InlineIconButton } from "./components/buttons/InlineIconButton/InlineIconButton.js";
|
|
42
|
+
import { PillButton } from "./components/buttons/PillButton/PillButton.js";
|
|
43
|
+
import { SplitButton } from "./components/buttons/SplitButton/SplitButton.js";
|
|
44
|
+
import { TextButton } from "./components/buttons/TextButton/TextButton.js";
|
|
45
|
+
import { ToggleButton } from "./components/buttons/ToggleButton/ToggleButton.js";
|
|
46
|
+
import { Checkbox } from "./components/inputs/Checkbox/Checkbox.js";
|
|
47
|
+
import { DatePicker } from "./components/inputs/DateTime/DatePicker/DatePicker.js";
|
|
48
|
+
import { DateRangePicker } from "./components/inputs/DateTime/DateRangePicker/DateRangePicker.js";
|
|
49
|
+
import { DateTimePicker } from "./components/inputs/DateTime/DateTimePicker/DateTimePicker.js";
|
|
50
|
+
import { TimePicker } from "./components/inputs/DateTime/TimePicker/TimePicker.js";
|
|
51
|
+
import { FileUpload } from "./components/inputs/File/FileUpload.js";
|
|
52
|
+
import { FileUploadContainer } from "./components/inputs/File/FileUploadContainer.js";
|
|
53
|
+
import { InputUpload } from "./components/inputs/File/InputUpload.js";
|
|
54
|
+
import { FormField } from "./components/inputs/FormField/FormField.js";
|
|
55
|
+
import { NumberInput } from "./components/inputs/Input/NumberInput/NumberInput.js";
|
|
56
|
+
import { PasswordInput } from "./components/inputs/Input/PasswordInput/PasswordInput.js";
|
|
57
|
+
import { TextArea } from "./components/inputs/Input/TextArea/TextArea.js";
|
|
58
|
+
import { TextInput } from "./components/inputs/Input/TextInput/TextInput.js";
|
|
59
|
+
import { Form } from "./components/inputs/Inputs/Form.js";
|
|
60
|
+
import { Inputs } from "./components/inputs/Inputs/Inputs.js";
|
|
61
|
+
import { RadioGroup } from "./components/inputs/RadioGroup/RadioGroup.js";
|
|
62
|
+
import { Autocomplete } from "./components/inputs/Selection/Autocomplete/Autocomplete.js";
|
|
63
|
+
import { QueryAutocomplete } from "./components/inputs/Selection/Autocomplete/QueryAutocomplete.js";
|
|
64
|
+
import { Select } from "./components/inputs/Selection/Select/Select.js";
|
|
65
|
+
import { Slider } from "./components/inputs/Slider/Slider.js";
|
|
66
|
+
import { TextEditor } from "./components/inputs/TextEditor/TextEditor.js";
|
|
67
|
+
import { Toggle } from "./components/inputs/Toggle/Toggle.js";
|
|
68
|
+
import { Menu } from "./components/Menu/Menu.js";
|
|
69
|
+
import { MenuPopover } from "./components/Menu/MenuPopover.js";
|
|
70
|
+
import { uiOutlineClass } from "./components/outline.clsx.js";
|
|
71
|
+
import { ActionModal } from "./components/overlays/ActionModal/ActionModal.js";
|
|
72
|
+
import { BottomSheet } from "./components/overlays/BottomSheet/BottomSheet.js";
|
|
73
|
+
import { Drawer } from "./components/overlays/Drawer/Drawer.js";
|
|
74
|
+
import { Modal } from "./components/overlays/Modal/Modal.js";
|
|
75
|
+
import { ResponsivePopover } from "./components/overlays/ResponsivePopover/ResponsivePopover.js";
|
|
76
|
+
import { Tooltip } from "./components/overlays/Tooltip/Tooltip.js";
|
|
77
|
+
import { TooltipEllipsis } from "./components/overlays/Tooltip/TooltipEllipsis.js";
|
|
78
|
+
import { Segment } from "./components/segment/Segment.js";
|
|
79
|
+
import { Pagination } from "./components/shared/pagination/Pagination.js";
|
|
80
|
+
import { PaginationList } from "./components/shared/pagination/PaginationList.js";
|
|
81
|
+
import { Alert } from "./components/status/Alert/Alert.js";
|
|
82
|
+
import { Loader } from "./components/status/Loader/Loader.js";
|
|
83
|
+
import { Toast, ToastContainer } from "./components/status/Toast/Toast.js";
|
|
84
|
+
import { useToast } from "./components/status/Toast/useToast.js";
|
|
85
|
+
import { CellText } from "./components/table/CellText.js";
|
|
86
|
+
import { ColumnConfigModal } from "./components/table/ColumnConfig.js";
|
|
87
|
+
import { HeaderText } from "./components/table/HeaderText.js";
|
|
88
|
+
import { InfiniteTable } from "./components/table/InfiniteTable.js";
|
|
89
|
+
import { PaginatedTable } from "./components/table/PaginatedTable.js";
|
|
90
|
+
import { Table } from "./components/table/Table.js";
|
|
91
|
+
import { Link } from "./components/text/Link/Link.js";
|
|
92
|
+
import { Tag } from "./components/text/Tag/Tag.js";
|
|
93
|
+
import { Typography } from "./components/text/Typography/Typography.js";
|
|
94
|
+
import { Confirmation } from "./config/confirmation.context.js";
|
|
95
|
+
import { ns, resources } from "./config/i18n.js";
|
|
96
|
+
import { UIRouter } from "./config/router.context.js";
|
|
97
|
+
import { UIConfig } from "./config/uiConfig.context.js";
|
|
98
|
+
import { UIStyle } from "./config/uiStyle.context.js";
|
|
99
|
+
import { dynamicColumns } from "./helpers/dynamicColumns.js";
|
|
100
|
+
import { dynamicInputs } from "./helpers/dynamicInputs.js";
|
|
101
|
+
import { useAutosave } from "./hooks/useAutosave.js";
|
|
102
|
+
import { useBreakpoint } from "./hooks/useBreakpoint.js";
|
|
103
|
+
import { useDebounceCallback } from "./hooks/useDebounceCallback.js";
|
|
104
|
+
import { useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo } from "./hooks/useDeepCompare.js";
|
|
105
|
+
import { useFilters } from "./hooks/useFilters.js";
|
|
106
|
+
import { useForm } from "./hooks/useForm.js";
|
|
107
|
+
import { useFormAutosave } from "./hooks/useFormAutosave.js";
|
|
108
|
+
import { useIntersectionObserver } from "./hooks/useIntersectionObserver.js";
|
|
109
|
+
import { useLocalStorage } from "./hooks/useLocalStorage.js";
|
|
110
|
+
import { useLongPressRepeat } from "./hooks/useLongPressRepeat.js";
|
|
111
|
+
import { usePagination } from "./hooks/usePagination.js";
|
|
112
|
+
import { useScrollableListBox } from "./hooks/useScrollableListBox.js";
|
|
113
|
+
import { useSorting } from "./hooks/useSorting.js";
|
|
114
|
+
import { useStateAndRef } from "./hooks/useStateAndRef.js";
|
|
115
|
+
import { useTableColumnConfig } from "./hooks/useTableColumnConfig.js";
|
|
116
|
+
import { useTableNav } from "./hooks/useTableNav.js";
|
|
117
|
+
import { useTranslationMemo } from "./hooks/useTranslationMemo.js";
|
|
118
|
+
import { ArrayUtils } from "./utils/array.utils.js";
|
|
119
|
+
import { compoundMapper } from "./utils/compoundMapper.js";
|
|
120
|
+
import { DateUtils } from "./utils/date.utils.js";
|
|
121
|
+
import { DateTimeUtils } from "./utils/date-time.utils.js";
|
|
122
|
+
import { DomUtils } from "./utils/dom.utils.js";
|
|
123
|
+
import { FileUtils } from "./utils/file.utils.js";
|
|
124
|
+
import { isEqual } from "./utils/isEqual.js";
|
|
125
|
+
import { logger } from "./utils/logger.js";
|
|
126
|
+
import { ObjectUtils } from "./utils/object.utils.js";
|
|
127
|
+
import { QueriesUtils } from "./utils/queries.utils.js";
|
|
128
|
+
import { RestUtils } from "./utils/rest.utils.js";
|
|
129
|
+
import { RoutingUtils } from "./utils/routing.utils.js";
|
|
130
|
+
import { StringUtils } from "./utils/string.utils.js";
|
|
131
|
+
import { createAclGuard } from "./utils/vendor/acl/AclGuard.js";
|
|
132
|
+
import { AbilityContext } from "./utils/vendor/acl/ability.context.js";
|
|
133
|
+
import { Can } from "./utils/vendor/acl/Can.js";
|
|
134
|
+
import { AuthGuard } from "./utils/vendor/auth/AuthGuard.js";
|
|
135
|
+
import { AuthContext } from "./utils/vendor/auth/auth.context.js";
|
|
136
|
+
import { withPrivateAuthGuard } from "./utils/vendor/auth/withPrivateAuthGuard.js";
|
|
137
|
+
import { ApplicationException, ErrorHandler, SharedErrorHandler } from "./utils/vendor/error-handling.js";
|
|
138
|
+
import { RestInterceptor } from "./utils/vendor/rest-interceptor.js";
|
|
139
|
+
export {
|
|
140
|
+
AbilityContext,
|
|
141
|
+
ActionModal,
|
|
142
|
+
Alert,
|
|
143
|
+
AlignCenterIcon,
|
|
144
|
+
AlignLeftIcon,
|
|
145
|
+
AlignLeftRightIcon,
|
|
146
|
+
AlignRightIcon,
|
|
147
|
+
ApplicationException,
|
|
148
|
+
ArrayUtils,
|
|
149
|
+
ArrowDropDownIcon,
|
|
150
|
+
ArrowDropUpIcon,
|
|
151
|
+
ArrowLeftIcon,
|
|
152
|
+
ArrowRightIcon,
|
|
153
|
+
AuthContext,
|
|
154
|
+
AuthGuard,
|
|
155
|
+
Autocomplete,
|
|
156
|
+
BoldIcon,
|
|
157
|
+
BottomSheet,
|
|
158
|
+
BulletedListIcon,
|
|
159
|
+
Button,
|
|
160
|
+
CalendarIcon,
|
|
161
|
+
Can,
|
|
162
|
+
CellText,
|
|
163
|
+
CheckIcon,
|
|
164
|
+
Checkbox,
|
|
165
|
+
CheckboxCheckmarkIcon,
|
|
166
|
+
CheckboxIndeterminateIcon,
|
|
167
|
+
ChevronDownIcon,
|
|
168
|
+
ChevronLeftIcon,
|
|
169
|
+
ChevronRightIcon,
|
|
170
|
+
ChevronUpIcon,
|
|
171
|
+
ChevronsLeftIcon,
|
|
172
|
+
ChevronsRightIcon,
|
|
173
|
+
ClockIcon,
|
|
174
|
+
CloseIcon,
|
|
175
|
+
ColumnConfigModal,
|
|
176
|
+
Confirmation,
|
|
177
|
+
DatePicker,
|
|
178
|
+
DateRangePicker,
|
|
179
|
+
DateTimeIcon,
|
|
180
|
+
DateTimePicker,
|
|
181
|
+
DateTimeUtils,
|
|
182
|
+
DateUtils,
|
|
183
|
+
DomUtils,
|
|
184
|
+
Drawer,
|
|
185
|
+
ErrorHandler,
|
|
186
|
+
FileUpload,
|
|
187
|
+
FileUploadContainer,
|
|
188
|
+
FileUtils,
|
|
189
|
+
Form,
|
|
190
|
+
FormField,
|
|
191
|
+
HeaderText,
|
|
192
|
+
HighlightIcon,
|
|
193
|
+
HighlightOnIcon,
|
|
194
|
+
IconButton,
|
|
195
|
+
InfiniteTable,
|
|
196
|
+
InfoIcon,
|
|
197
|
+
InlineIconButton,
|
|
198
|
+
InputUpload,
|
|
199
|
+
Inputs,
|
|
200
|
+
ItalicIcon,
|
|
201
|
+
Link,
|
|
202
|
+
LinkIcon,
|
|
203
|
+
Loader,
|
|
204
|
+
Menu,
|
|
205
|
+
MenuIcon,
|
|
206
|
+
MenuPopover,
|
|
207
|
+
Modal,
|
|
208
|
+
NumberInput,
|
|
209
|
+
NumberedListIcon,
|
|
210
|
+
ObjectUtils,
|
|
211
|
+
PaginatedTable,
|
|
212
|
+
Pagination,
|
|
213
|
+
PaginationList,
|
|
214
|
+
PasswordInput,
|
|
215
|
+
PillButton,
|
|
216
|
+
PointerHorizontalIcon,
|
|
217
|
+
PointerVerticalIcon,
|
|
218
|
+
QueriesUtils,
|
|
219
|
+
QueryAutocomplete,
|
|
220
|
+
RadioGroup,
|
|
221
|
+
ResponsivePopover,
|
|
222
|
+
RestInterceptor,
|
|
223
|
+
RestUtils,
|
|
224
|
+
RoutingUtils,
|
|
225
|
+
Segment,
|
|
226
|
+
Select,
|
|
227
|
+
SendIcon,
|
|
228
|
+
SharedErrorHandler,
|
|
229
|
+
Slider,
|
|
230
|
+
SplitButton,
|
|
231
|
+
StrikethroughIcon,
|
|
232
|
+
StringUtils,
|
|
233
|
+
Table,
|
|
234
|
+
Tag,
|
|
235
|
+
TextArea,
|
|
236
|
+
TextButton,
|
|
237
|
+
TextColorIcon,
|
|
238
|
+
TextEditor,
|
|
239
|
+
TextInput,
|
|
240
|
+
TimePicker,
|
|
241
|
+
Toast,
|
|
242
|
+
ToastContainer,
|
|
243
|
+
Toggle,
|
|
244
|
+
ToggleButton,
|
|
245
|
+
Tooltip,
|
|
246
|
+
TooltipEllipsis,
|
|
247
|
+
Typography,
|
|
248
|
+
UIConfig,
|
|
249
|
+
UIRouter,
|
|
250
|
+
UIStyle,
|
|
251
|
+
UnderlinedIcon,
|
|
252
|
+
ViewIcon,
|
|
253
|
+
ViewOffIcon,
|
|
254
|
+
compoundMapper,
|
|
255
|
+
createAclGuard,
|
|
256
|
+
dynamicColumns,
|
|
257
|
+
dynamicInputs,
|
|
258
|
+
isEqual,
|
|
259
|
+
logger,
|
|
260
|
+
ns,
|
|
261
|
+
resources,
|
|
262
|
+
uiOutlineClass,
|
|
263
|
+
useAutosave,
|
|
264
|
+
useBreakpoint,
|
|
265
|
+
useDebounceCallback,
|
|
266
|
+
useDeepCompareEffect,
|
|
267
|
+
useDeepCompareLayoutEffect,
|
|
268
|
+
useDeepCompareMemo,
|
|
269
|
+
useFilters,
|
|
270
|
+
useForm,
|
|
271
|
+
useFormAutosave,
|
|
272
|
+
useIntersectionObserver,
|
|
273
|
+
useLocalStorage,
|
|
274
|
+
useLongPressRepeat,
|
|
275
|
+
usePagination,
|
|
276
|
+
useScrollableListBox,
|
|
277
|
+
useSorting,
|
|
278
|
+
useStateAndRef,
|
|
279
|
+
useTableColumnConfig,
|
|
280
|
+
useTableNav,
|
|
281
|
+
useToast,
|
|
282
|
+
useTranslationMemo,
|
|
283
|
+
withPrivateAuthGuard
|
|
284
|
+
};
|