@povio/ui 2.1.14 → 2.1.15
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/README.md +74 -0
- package/dist/AclGuard.js +12 -0
- package/dist/ActionModal.js +51 -0
- package/dist/Alert.js +46 -0
- package/dist/AlignCenter.js +13 -0
- package/dist/AlignLeft.js +13 -0
- package/dist/AlignLeftRight.js +13 -0
- package/dist/AlignRight.js +13 -0
- package/dist/ArrowDropDown.js +13 -0
- package/dist/ArrowDropUp.js +13 -0
- package/dist/ArrowLeft.js +13 -0
- package/dist/ArrowRight.js +13 -0
- package/dist/AuthGuard.js +22 -0
- package/dist/Autocomplete.js +28 -0
- package/dist/Bold.js +13 -0
- package/dist/BottomSheet.js +191 -0
- package/dist/BulletedList.js +13 -0
- package/dist/Button.js +54 -0
- package/dist/ButtonContent.js +28 -0
- package/dist/Calendar.js +15 -0
- package/dist/Calendar2.js +54 -0
- package/dist/CalendarCell.js +130 -0
- package/dist/CalendarGrid.js +50 -0
- package/dist/CalendarHeader.js +75 -0
- package/dist/CalendarSelectHeader.js +170 -0
- package/dist/Can.js +13 -0
- package/dist/CellText.js +13 -0
- package/dist/Check.js +15 -0
- package/dist/CheckCircle.js +13 -0
- package/dist/CheckContent.js +16 -0
- package/dist/Checkbox.js +61 -0
- package/dist/CheckboxCheckmark.js +16 -0
- package/dist/CheckboxCheckmark2.js +25 -0
- package/dist/CheckboxIndeterminate.js +16 -0
- package/dist/ChevronDown.js +15 -0
- package/dist/ChevronLeft.js +15 -0
- package/dist/ChevronRight.js +15 -0
- package/dist/ChevronUp.js +15 -0
- package/dist/ChevronsLeft.js +15 -0
- package/dist/ChevronsRight.js +15 -0
- package/dist/Clock.js +13 -0
- package/dist/Close.js +13 -0
- package/dist/ColorPicker.js +16 -0
- package/dist/ColorPickerDropdown.js +51 -0
- package/dist/ColumnConfig.js +81 -0
- package/dist/DateField.js +89 -0
- package/dist/DatePicker.js +191 -0
- package/dist/DatePickerInput.js +158 -0
- package/dist/DateRangePicker.js +601 -0
- package/dist/DateSegmentItem.js +29 -0
- package/dist/DateTime.js +18 -0
- package/dist/DateTimeDialog.js +49 -0
- package/dist/DateTimeDialogFooter.js +25 -0
- package/dist/DateTimePicker.js +200 -0
- package/dist/Drag.js +13 -0
- package/dist/Drawer.js +43 -0
- package/dist/File.js +15 -0
- package/dist/FileCard.js +50 -0
- package/dist/FileCardList.js +17 -0
- package/dist/FileUpload.js +189 -0
- package/dist/FileUploadContainer.js +12 -0
- package/dist/FileUploadContent.js +61 -0
- package/dist/FileUploadContentEmpty.js +54 -0
- package/dist/FileUploadContentError.js +109 -0
- package/dist/FileUploadContentFilled.js +112 -0
- package/dist/FileUploadContentLoading.js +76 -0
- package/dist/Form.js +42 -0
- package/dist/FormField.js +35 -0
- package/dist/FormFieldError.js +11 -0
- package/dist/FormFieldHeader.js +36 -0
- package/dist/FormFieldHeaderClose.js +15 -0
- package/dist/FormFieldLabel.js +32 -0
- package/dist/HeaderText.js +10 -0
- package/dist/Highlight.js +13 -0
- package/dist/HighlightOn.js +19 -0
- package/dist/HyperlinkAction.js +70 -0
- package/dist/IconButton.js +12 -0
- package/dist/InfiniteTable.js +31 -0
- package/dist/Info.js +18 -0
- package/dist/InlineIconButton.js +13 -0
- package/dist/InputClear.js +19 -0
- package/dist/InputContent.js +94 -0
- package/dist/InputItem.js +54 -0
- package/dist/InputUpload.js +111 -0
- package/dist/InputUploadContent.js +52 -0
- package/dist/InputUploadFilled.js +26 -0
- package/dist/Inputs.js +15 -0
- package/dist/Italic.js +13 -0
- package/dist/Link.js +13 -0
- package/dist/Link2.js +19 -0
- package/dist/Loader.js +32 -0
- package/dist/Menu.js +13 -0
- package/dist/Menu2.js +9 -0
- package/dist/MenuDesktop.js +53 -0
- package/dist/MenuItem.js +21 -0
- package/dist/MenuMobile.js +64 -0
- package/dist/MenuPopover.js +30 -0
- package/dist/Modal.js +49 -0
- package/dist/MonthPicker.js +56 -0
- package/dist/NumberInput.js +132 -0
- package/dist/NumberedList.js +13 -0
- package/dist/PaginatedTable.js +26 -0
- package/dist/Pagination.js +43 -0
- package/dist/PaginationList.js +105 -0
- package/dist/PasswordInput.js +21 -0
- package/dist/PillButton.js +37 -0
- package/dist/PointerHorizontal.js +13 -0
- package/dist/PointerVertical.js +13 -0
- package/dist/ProgressBar.js +25 -0
- package/dist/QueryAutocomplete.js +18 -0
- package/dist/RadioGroup.js +81 -0
- package/dist/RangeCalendar.js +96 -0
- package/dist/ResponsivePopover.js +41 -0
- package/dist/Segment.js +82 -0
- package/dist/SegmentItem.js +23 -0
- package/dist/Select.js +24 -0
- package/dist/SelectBase.js +28 -0
- package/dist/SelectDesktop.js +147 -0
- package/dist/SelectInput.js +159 -0
- package/dist/SelectInputTags.js +29 -0
- package/dist/SelectListBox.js +73 -0
- package/dist/SelectListBoxItem.js +48 -0
- package/dist/SelectListBoxItemSelectAll.js +31 -0
- package/dist/SelectListBoxLoadingItem.js +41 -0
- package/dist/SelectListBoxSelectionBar.js +25 -0
- package/dist/SelectMobile.js +111 -0
- package/dist/Send.js +15 -0
- package/dist/Slider.js +93 -0
- package/dist/SplitButton.js +36 -0
- package/dist/Strikethrough.js +13 -0
- package/dist/Table.js +248 -0
- package/dist/Tag.js +42 -0
- package/dist/TextAlignSelect.js +44 -0
- package/dist/TextArea.js +120 -0
- package/dist/TextButton.js +13 -0
- package/dist/TextColor.js +16 -0
- package/dist/TextColorSelect.js +22 -0
- package/dist/TextEditor.js +143 -0
- package/dist/TextEditorToolbar.js +30 -0
- package/dist/TextHighlightSelect.js +24 -0
- package/dist/TextInput.js +125 -0
- package/dist/TextListActions.js +42 -0
- package/dist/TextMarksActions.js +67 -0
- package/dist/TextStyleSelect.js +52 -0
- package/dist/TimeField.js +17 -0
- package/dist/TimePicker.js +158 -0
- package/dist/TimePickerForm.js +158 -0
- package/dist/TimePickerInput.js +92 -0
- package/dist/Toast.js +58 -0
- package/dist/Today.js +13 -0
- package/dist/Toggle.js +60 -0
- package/dist/ToggleButton.js +13 -0
- package/dist/Tooltip.js +49 -0
- package/dist/TooltipEllipsis.js +18 -0
- package/dist/TooltipWrapper.js +19 -0
- package/dist/Typography.js +14 -0
- package/dist/Underlined.js +15 -0
- package/dist/Upload.js +16 -0
- package/dist/View.js +13 -0
- package/dist/ViewOff.js +13 -0
- package/dist/WarningFilled.js +15 -0
- package/dist/YearPicker.js +64 -0
- package/dist/ability.context.js +35 -0
- package/dist/alert.cva.js +62 -0
- package/dist/array.utils.js +8 -0
- package/dist/auth.context.js +37 -0
- package/dist/auth.js +6 -12
- package/dist/button.cva.js +656 -0
- package/dist/buttonContent.cva.js +10 -0
- package/dist/checkbox.cva.js +47 -0
- package/dist/components/inputs/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +2 -2
- package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +5 -0
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +3 -1
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +3 -1
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +3 -1
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/shared/DateField.d.ts +1 -0
- package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +8 -2
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -1
- package/dist/components/inputs/File/fileUpload.types.d.ts +1 -0
- package/dist/components/inputs/FormField/FormField.d.ts +4 -1
- package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +4 -2
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +1 -0
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +2 -1
- package/dist/components/inputs/Input/shared/InputContent.d.ts +4 -3
- package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +3 -0
- package/dist/components/inputs/TextEditor/TextEditor.d.ts +1 -0
- package/dist/components/inputs/Toggle/Toggle.d.ts +2 -0
- package/dist/components/inputs/shared/CheckContent.d.ts +2 -1
- package/dist/compoundMapper.js +11 -0
- package/dist/config/uiStyle.context.d.ts +2 -1
- package/dist/confirmation.context.js +78 -0
- package/dist/date-time.utils.js +50 -0
- package/dist/date.utils.js +17 -0
- package/dist/dom.utils.js +17 -0
- package/dist/dynamicColumns.js +272 -0
- package/dist/dynamicInputs.js +186 -0
- package/dist/error-handling.js +87 -0
- package/dist/file.utils.js +43 -0
- package/dist/fileUpload.cva.js +49 -0
- package/dist/i18n.js +8 -0
- package/dist/index.js +136 -278
- package/dist/input.cva.js +210 -0
- package/dist/inputUploadButton.cva.js +27 -0
- package/dist/isEqual.js +57 -0
- package/dist/label.cva.js +104 -0
- package/dist/link.context.js +17 -0
- package/dist/link.cva.js +7 -0
- package/dist/loader.cva.js +16 -0
- package/dist/logger.js +17 -0
- package/dist/menu.cva.js +27 -0
- package/dist/minWidth.cva.js +9 -0
- package/dist/modal.cva.js +31 -0
- package/dist/object.utils.js +36 -0
- package/dist/outline.clsx.js +4 -0
- package/dist/pillButton.cva.js +254 -0
- package/dist/queries.utils.js +7 -0
- package/dist/radio.cva.js +42 -0
- package/dist/react.js +6 -0
- package/dist/rest-interceptor.js +22 -0
- package/dist/rest.utils.js +31 -0
- package/dist/rolldown_runtime.js +16 -0
- package/dist/router.context.js +37 -0
- package/dist/routing.utils.js +9 -0
- package/dist/segment.cva.js +25 -0
- package/dist/select.context.js +190 -0
- package/dist/status.cva.js +57 -0
- package/dist/string.utils.js +10 -0
- package/dist/table.cva.js +35 -0
- package/dist/tag.cva.js +50 -0
- package/dist/text-editor.js +2 -4
- package/dist/textEditor.types.js +38 -0
- package/dist/theme.context.js +65 -0
- package/dist/toast.cva.js +158 -0
- package/dist/toggle.cva.js +27 -0
- package/dist/tooltip.cva.js +30 -0
- package/dist/translation.js +147 -0
- package/dist/translation2.js +145 -0
- package/dist/typography.cva.js +124 -0
- package/dist/uiConfig.context.js +58 -0
- package/dist/uiStyle.context.js +16 -0
- package/dist/useAutosave.js +62 -0
- package/dist/useBreakpoint.js +28 -0
- package/dist/useDebounceCallback.js +23 -0
- package/dist/useDeepCompare.js +21 -0
- package/dist/useFilters.js +121 -0
- package/dist/useForm.js +12 -0
- package/dist/useFormAutosave.js +52 -0
- package/dist/useIntersectionObserver.js +23 -0
- package/dist/useLocalStorage.js +35 -0
- package/dist/useLongPressRepeat.js +27 -0
- package/dist/usePagination.js +26 -0
- package/dist/useScrollableListBox.js +24 -0
- package/dist/useSelectItems.js +82 -0
- package/dist/useSorting.js +34 -0
- package/dist/useStateAndRef.js +15 -0
- package/dist/useTableColumnConfig.js +38 -0
- package/dist/useTableNav.js +279 -0
- package/dist/useToast.js +63 -0
- package/dist/useTranslationMemo.js +10 -0
- package/dist/zod.utils.js +17 -0
- package/package.json +14 -14
- package/dist/assets/icons/AlignCenter.js +0 -21
- package/dist/assets/icons/AlignLeft.js +0 -21
- package/dist/assets/icons/AlignLeftRight.js +0 -21
- package/dist/assets/icons/AlignRight.js +0 -21
- package/dist/assets/icons/ArrowDropDown.js +0 -21
- package/dist/assets/icons/ArrowDropUp.js +0 -21
- package/dist/assets/icons/ArrowLeft.js +0 -21
- package/dist/assets/icons/ArrowRight.js +0 -21
- package/dist/assets/icons/Bold.js +0 -21
- package/dist/assets/icons/BulletedList.js +0 -21
- package/dist/assets/icons/Calendar.js +0 -23
- package/dist/assets/icons/Check.js +0 -23
- package/dist/assets/icons/CheckCircle.js +0 -21
- package/dist/assets/icons/CheckboxCheckmark.js +0 -24
- package/dist/assets/icons/CheckboxIndeterminate.js +0 -24
- package/dist/assets/icons/ChevronDown.js +0 -23
- package/dist/assets/icons/ChevronLeft.js +0 -23
- package/dist/assets/icons/ChevronRight.js +0 -23
- package/dist/assets/icons/ChevronUp.js +0 -23
- package/dist/assets/icons/ChevronsLeft.js +0 -23
- package/dist/assets/icons/ChevronsRight.js +0 -23
- package/dist/assets/icons/Clock.js +0 -21
- package/dist/assets/icons/Close.js +0 -21
- package/dist/assets/icons/DateTime.js +0 -32
- package/dist/assets/icons/Drag.js +0 -21
- package/dist/assets/icons/File.js +0 -23
- package/dist/assets/icons/Highlight.js +0 -21
- package/dist/assets/icons/HighlightOn.js +0 -30
- package/dist/assets/icons/Info.js +0 -32
- package/dist/assets/icons/Italic.js +0 -21
- package/dist/assets/icons/Link.js +0 -21
- package/dist/assets/icons/Menu.js +0 -21
- package/dist/assets/icons/NumberedList.js +0 -21
- package/dist/assets/icons/PointerHorizontal.js +0 -21
- package/dist/assets/icons/PointerVertical.js +0 -21
- package/dist/assets/icons/Send.js +0 -23
- package/dist/assets/icons/Strikethrough.js +0 -21
- package/dist/assets/icons/TextColor.js +0 -30
- package/dist/assets/icons/Today.js +0 -21
- package/dist/assets/icons/Underlined.js +0 -23
- package/dist/assets/icons/Upload.js +0 -30
- package/dist/assets/icons/View.js +0 -18
- package/dist/assets/icons/ViewOff.js +0 -18
- package/dist/assets/icons/WarningFilled.js +0 -23
- package/dist/assets/locales/en/translation.json.js +0 -14
- package/dist/assets/locales/sl/translation.json.js +0 -14
- package/dist/components/Menu/Menu.js +0 -14
- package/dist/components/Menu/MenuDesktop.js +0 -74
- package/dist/components/Menu/MenuItem.js +0 -27
- package/dist/components/Menu/MenuMobile.js +0 -83
- package/dist/components/Menu/MenuPopover.js +0 -43
- package/dist/components/Menu/menu.cva.js +0 -45
- package/dist/components/buttons/Button/Button.js +0 -73
- package/dist/components/buttons/Button/button.cva.js +0 -666
- package/dist/components/buttons/IconButton/IconButton.js +0 -17
- package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -18
- package/dist/components/buttons/PillButton/PillButton.js +0 -44
- package/dist/components/buttons/PillButton/pillButton.cva.js +0 -268
- package/dist/components/buttons/SplitButton/SplitButton.js +0 -65
- package/dist/components/buttons/TextButton/TextButton.js +0 -18
- package/dist/components/buttons/ToggleButton/ToggleButton.js +0 -21
- package/dist/components/buttons/shared/ButtonContent.js +0 -53
- package/dist/components/buttons/shared/buttonContent.cva.js +0 -16
- package/dist/components/inputs/Checkbox/Checkbox.js +0 -81
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +0 -32
- package/dist/components/inputs/Checkbox/checkbox.cva.js +0 -51
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -251
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -689
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -265
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -217
- package/dist/components/inputs/DateTime/shared/Calendar.js +0 -85
- package/dist/components/inputs/DateTime/shared/CalendarCell.js +0 -160
- package/dist/components/inputs/DateTime/shared/CalendarGrid.js +0 -67
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +0 -89
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -203
- package/dist/components/inputs/DateTime/shared/DateField.js +0 -77
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +0 -206
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +0 -55
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +0 -76
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +0 -47
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +0 -82
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +0 -133
- package/dist/components/inputs/DateTime/shared/TimeField.js +0 -26
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +0 -186
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -125
- package/dist/components/inputs/DateTime/shared/YearPicker.js +0 -89
- package/dist/components/inputs/File/FileUpload.js +0 -257
- package/dist/components/inputs/File/FileUploadContainer.js +0 -17
- package/dist/components/inputs/File/InputUpload.js +0 -174
- package/dist/components/inputs/File/shared/FileCard.js +0 -67
- package/dist/components/inputs/File/shared/FileCardList.js +0 -20
- package/dist/components/inputs/File/shared/FileUploadContent.js +0 -92
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +0 -92
- package/dist/components/inputs/File/shared/FileUploadContentError.js +0 -167
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -173
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -128
- package/dist/components/inputs/File/shared/InputUploadContent.js +0 -73
- package/dist/components/inputs/File/shared/InputUploadFilled.js +0 -45
- package/dist/components/inputs/File/shared/ProgressBar.js +0 -42
- package/dist/components/inputs/File/shared/fileUpload.cva.js +0 -58
- package/dist/components/inputs/File/shared/inputUploadButton.cva.js +0 -49
- package/dist/components/inputs/FormField/FormField.js +0 -54
- package/dist/components/inputs/FormField/FormFieldError.js +0 -16
- package/dist/components/inputs/FormField/FormFieldHeader.js +0 -57
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +0 -20
- package/dist/components/inputs/FormField/FormFieldLabel.js +0 -37
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -166
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -26
- package/dist/components/inputs/Input/TextArea/TextArea.js +0 -155
- package/dist/components/inputs/Input/TextInput/TextInput.js +0 -162
- package/dist/components/inputs/Input/shared/InputContent.js +0 -114
- package/dist/components/inputs/Inputs/Form.js +0 -68
- package/dist/components/inputs/Inputs/InputItem.js +0 -61
- package/dist/components/inputs/Inputs/Inputs.js +0 -32
- package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -103
- package/dist/components/inputs/RadioGroup/radio.cva.js +0 -57
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +0 -39
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -25
- package/dist/components/inputs/Selection/Select/Select.js +0 -32
- package/dist/components/inputs/Selection/shared/SelectBase.js +0 -27
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +0 -223
- package/dist/components/inputs/Selection/shared/SelectInput.js +0 -234
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +0 -49
- package/dist/components/inputs/Selection/shared/SelectListBox.js +0 -127
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +0 -78
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +0 -45
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +0 -47
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +0 -42
- package/dist/components/inputs/Selection/shared/SelectMobile.js +0 -165
- package/dist/components/inputs/Selection/shared/select.context.js +0 -244
- package/dist/components/inputs/Selection/shared/useSelectItems.js +0 -94
- package/dist/components/inputs/Slider/Slider.js +0 -137
- package/dist/components/inputs/TextEditor/TextEditor.js +0 -223
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +0 -34
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +0 -80
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +0 -92
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +0 -56
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +0 -33
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +0 -31
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +0 -37
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -51
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -73
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +0 -61
- package/dist/components/inputs/TextEditor/textEditor.types.js +0 -40
- package/dist/components/inputs/Toggle/Toggle.js +0 -65
- package/dist/components/inputs/Toggle/toggle.cva.js +0 -44
- package/dist/components/inputs/shared/CheckContent.js +0 -22
- package/dist/components/inputs/shared/InputClear.js +0 -27
- package/dist/components/inputs/shared/TooltipWrapper.js +0 -23
- package/dist/components/inputs/shared/input.cva.js +0 -174
- package/dist/components/inputs/shared/label.cva.js +0 -128
- package/dist/components/outline.clsx.js +0 -11
- package/dist/components/overlays/ActionModal/ActionModal.js +0 -80
- package/dist/components/overlays/BottomSheet/BottomSheet.js +0 -261
- package/dist/components/overlays/Drawer/Drawer.js +0 -84
- package/dist/components/overlays/Modal/Modal.js +0 -64
- package/dist/components/overlays/Modal/modal.cva.js +0 -53
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -71
- package/dist/components/overlays/Tooltip/Tooltip.js +0 -92
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +0 -27
- package/dist/components/overlays/Tooltip/tooltip.cva.js +0 -60
- package/dist/components/segment/Segment.js +0 -118
- package/dist/components/segment/SegmentItem.js +0 -35
- package/dist/components/segment/segment.cva.js +0 -35
- package/dist/components/shared/pagination/Pagination.js +0 -75
- package/dist/components/shared/pagination/PaginationList.js +0 -145
- package/dist/components/shared/pagination/minWidth.cva.js +0 -15
- package/dist/components/status/Alert/Alert.js +0 -41
- package/dist/components/status/Alert/alert.cva.js +0 -64
- package/dist/components/status/Loader/Loader.js +0 -37
- package/dist/components/status/Loader/loader.cva.js +0 -27
- package/dist/components/status/Toast/Toast.js +0 -65
- package/dist/components/status/Toast/toast.cva.js +0 -150
- package/dist/components/status/Toast/useToast.js +0 -94
- package/dist/components/status/shared/status.cva.js +0 -62
- package/dist/components/table/CellText.js +0 -18
- package/dist/components/table/ColumnConfig.js +0 -124
- package/dist/components/table/HeaderText.js +0 -15
- package/dist/components/table/InfiniteTable.js +0 -40
- package/dist/components/table/PaginatedTable.js +0 -33
- package/dist/components/table/Table.js +0 -370
- package/dist/components/table/table.cva.js +0 -63
- package/dist/components/text/Link/Link.js +0 -24
- package/dist/components/text/Link/link.cva.js +0 -18
- package/dist/components/text/Tag/Tag.js +0 -49
- package/dist/components/text/Tag/tag.cva.js +0 -59
- package/dist/components/text/Typography/Typography.js +0 -22
- package/dist/components/text/Typography/typography.cva.js +0 -100
- package/dist/config/confirmation.context.js +0 -107
- package/dist/config/i18n.js +0 -15
- package/dist/config/link.context.js +0 -19
- package/dist/config/router.context.js +0 -39
- package/dist/config/theme.context.js +0 -73
- package/dist/config/uiConfig.context.js +0 -69
- package/dist/config/uiStyle.context.js +0 -16
- package/dist/helpers/dynamicColumns.js +0 -359
- package/dist/helpers/dynamicInputs.js +0 -212
- package/dist/hooks/useAutosave.js +0 -83
- package/dist/hooks/useBreakpoint.js +0 -33
- package/dist/hooks/useDebounceCallback.js +0 -29
- package/dist/hooks/useDeepCompare.js +0 -25
- package/dist/hooks/useFilters.js +0 -160
- package/dist/hooks/useForm.js +0 -22
- package/dist/hooks/useFormAutosave.js +0 -67
- package/dist/hooks/useIntersectionObserver.js +0 -27
- package/dist/hooks/useLocalStorage.js +0 -54
- package/dist/hooks/useLongPressRepeat.js +0 -33
- package/dist/hooks/usePagination.js +0 -35
- package/dist/hooks/useScrollableListBox.js +0 -30
- package/dist/hooks/useSorting.js +0 -32
- package/dist/hooks/useStateAndRef.js +0 -17
- package/dist/hooks/useTableColumnConfig.js +0 -63
- package/dist/hooks/useTableNav.js +0 -394
- package/dist/hooks/useTranslationMemo.js +0 -14
- package/dist/utils/array.utils.js +0 -12
- package/dist/utils/compoundMapper.js +0 -14
- package/dist/utils/date-time.utils.js +0 -77
- package/dist/utils/date.utils.js +0 -23
- package/dist/utils/dom.utils.js +0 -13
- package/dist/utils/file.utils.js +0 -63
- package/dist/utils/isEqual.js +0 -95
- package/dist/utils/logger.js +0 -19
- package/dist/utils/object.utils.js +0 -53
- package/dist/utils/queries.utils.js +0 -9
- package/dist/utils/rest.utils.js +0 -51
- package/dist/utils/routing.utils.js +0 -15
- package/dist/utils/string.utils.js +0 -12
- package/dist/utils/vendor/acl/AclGuard.js +0 -14
- package/dist/utils/vendor/acl/Can.js +0 -18
- package/dist/utils/vendor/acl/ability.context.js +0 -37
- package/dist/utils/vendor/auth/AuthGuard.js +0 -26
- package/dist/utils/vendor/auth/auth.context.js +0 -41
- package/dist/utils/vendor/error-handling.js +0 -119
- package/dist/utils/vendor/rest-interceptor.js +0 -21
- package/dist/utils/zod.utils.js +0 -21
package/dist/index.js
CHANGED
|
@@ -1,278 +1,136 @@
|
|
|
1
|
-
import { AlignCenterIcon } from "./
|
|
2
|
-
import { AlignLeftIcon } from "./
|
|
3
|
-
import { AlignLeftRightIcon } from "./
|
|
4
|
-
import { AlignRightIcon } from "./
|
|
5
|
-
import { ArrowDropDownIcon } from "./
|
|
6
|
-
import { ArrowDropUpIcon } from "./
|
|
7
|
-
import { ArrowLeftIcon } from "./
|
|
8
|
-
import { ArrowRightIcon } from "./
|
|
9
|
-
import { BoldIcon } from "./
|
|
10
|
-
import { BulletedListIcon } from "./
|
|
11
|
-
import { CalendarIcon } from "./
|
|
12
|
-
import { CheckIcon } from "./
|
|
13
|
-
import { CheckboxCheckmarkIcon } from "./
|
|
14
|
-
import { CheckboxIndeterminateIcon } from "./
|
|
15
|
-
import { ChevronDownIcon } from "./
|
|
16
|
-
import { ChevronLeftIcon } from "./
|
|
17
|
-
import { ChevronRightIcon } from "./
|
|
18
|
-
import { ChevronsLeftIcon } from "./
|
|
19
|
-
import { ChevronsRightIcon } from "./
|
|
20
|
-
import { ChevronUpIcon } from "./
|
|
21
|
-
import { ClockIcon } from "./
|
|
22
|
-
import { CloseIcon } from "./
|
|
23
|
-
import { DateTimeIcon } from "./
|
|
24
|
-
import { HighlightIcon } from "./
|
|
25
|
-
import { HighlightOnIcon } from "./
|
|
26
|
-
import { InfoIcon } from "./
|
|
27
|
-
import { ItalicIcon } from "./
|
|
28
|
-
import { LinkIcon } from "./
|
|
29
|
-
import { MenuIcon } from "./
|
|
30
|
-
import { NumberedListIcon } from "./
|
|
31
|
-
import { PointerHorizontalIcon } from "./
|
|
32
|
-
import { PointerVerticalIcon } from "./
|
|
33
|
-
import { SendIcon } from "./
|
|
34
|
-
import { StrikethroughIcon } from "./
|
|
35
|
-
import { TextColorIcon } from "./
|
|
36
|
-
import { UnderlinedIcon } from "./
|
|
37
|
-
import { ViewIcon } from "./
|
|
38
|
-
import { ViewOffIcon } from "./
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import { ApplicationException, ErrorHandler, SharedErrorHandler } from "./
|
|
135
|
-
import { RestInterceptor } from "./
|
|
136
|
-
export {
|
|
137
|
-
ActionModal,
|
|
138
|
-
Alert,
|
|
139
|
-
AlignCenterIcon,
|
|
140
|
-
AlignLeftIcon,
|
|
141
|
-
AlignLeftRightIcon,
|
|
142
|
-
AlignRightIcon,
|
|
143
|
-
ApplicationException,
|
|
144
|
-
ArrayUtils,
|
|
145
|
-
ArrowDropDownIcon,
|
|
146
|
-
ArrowDropUpIcon,
|
|
147
|
-
ArrowLeftIcon,
|
|
148
|
-
ArrowRightIcon,
|
|
149
|
-
Autocomplete,
|
|
150
|
-
BoldIcon,
|
|
151
|
-
BottomSheet,
|
|
152
|
-
BulletedListIcon,
|
|
153
|
-
Button,
|
|
154
|
-
CalendarIcon,
|
|
155
|
-
CellText,
|
|
156
|
-
CheckIcon,
|
|
157
|
-
Checkbox,
|
|
158
|
-
CheckboxCheckmarkIcon,
|
|
159
|
-
CheckboxIndeterminateIcon,
|
|
160
|
-
ChevronDownIcon,
|
|
161
|
-
ChevronLeftIcon,
|
|
162
|
-
ChevronRightIcon,
|
|
163
|
-
ChevronUpIcon,
|
|
164
|
-
ChevronsLeftIcon,
|
|
165
|
-
ChevronsRightIcon,
|
|
166
|
-
ClockIcon,
|
|
167
|
-
CloseIcon,
|
|
168
|
-
ColumnConfigModal,
|
|
169
|
-
Confirmation,
|
|
170
|
-
DatePicker,
|
|
171
|
-
DateRangePicker,
|
|
172
|
-
DateTimeIcon,
|
|
173
|
-
DateTimePicker,
|
|
174
|
-
DateTimeUtils,
|
|
175
|
-
DateUtils,
|
|
176
|
-
DomUtils,
|
|
177
|
-
Drawer,
|
|
178
|
-
ErrorHandler,
|
|
179
|
-
FileUpload,
|
|
180
|
-
FileUploadContainer,
|
|
181
|
-
FileUtils,
|
|
182
|
-
Form,
|
|
183
|
-
FormField,
|
|
184
|
-
HeaderText,
|
|
185
|
-
HighlightIcon,
|
|
186
|
-
HighlightOnIcon,
|
|
187
|
-
IconButton,
|
|
188
|
-
InfiniteTable,
|
|
189
|
-
InfoIcon,
|
|
190
|
-
InlineIconButton,
|
|
191
|
-
InputUpload,
|
|
192
|
-
Inputs,
|
|
193
|
-
ItalicIcon,
|
|
194
|
-
Link,
|
|
195
|
-
LinkContext,
|
|
196
|
-
LinkIcon,
|
|
197
|
-
Loader,
|
|
198
|
-
Menu,
|
|
199
|
-
MenuIcon,
|
|
200
|
-
MenuItem,
|
|
201
|
-
MenuPopover,
|
|
202
|
-
Modal,
|
|
203
|
-
NumberInput,
|
|
204
|
-
NumberedListIcon,
|
|
205
|
-
ObjectUtils,
|
|
206
|
-
PaginatedTable,
|
|
207
|
-
Pagination,
|
|
208
|
-
PaginationList,
|
|
209
|
-
PasswordInput,
|
|
210
|
-
PillButton,
|
|
211
|
-
PointerHorizontalIcon,
|
|
212
|
-
PointerVerticalIcon,
|
|
213
|
-
ProgressBar,
|
|
214
|
-
QueriesUtils,
|
|
215
|
-
QueryAutocomplete,
|
|
216
|
-
RadioGroup,
|
|
217
|
-
ResponsivePopover,
|
|
218
|
-
RestInterceptor,
|
|
219
|
-
RestUtils,
|
|
220
|
-
RoutingUtils,
|
|
221
|
-
Segment,
|
|
222
|
-
Select,
|
|
223
|
-
SendIcon,
|
|
224
|
-
SharedErrorHandler,
|
|
225
|
-
Slider,
|
|
226
|
-
SplitButton,
|
|
227
|
-
StrikethroughIcon,
|
|
228
|
-
StringUtils,
|
|
229
|
-
Table,
|
|
230
|
-
Tag,
|
|
231
|
-
TextArea,
|
|
232
|
-
TextButton,
|
|
233
|
-
TextColorIcon,
|
|
234
|
-
TextInput,
|
|
235
|
-
ThemeContext,
|
|
236
|
-
TimePicker,
|
|
237
|
-
Toast,
|
|
238
|
-
ToastContainer,
|
|
239
|
-
Toggle,
|
|
240
|
-
ToggleButton,
|
|
241
|
-
Tooltip,
|
|
242
|
-
TooltipEllipsis,
|
|
243
|
-
Typography,
|
|
244
|
-
UIConfig,
|
|
245
|
-
UIRouter,
|
|
246
|
-
UIStyle,
|
|
247
|
-
UnderlinedIcon,
|
|
248
|
-
ViewIcon,
|
|
249
|
-
ViewOffIcon,
|
|
250
|
-
compoundMapper,
|
|
251
|
-
dynamicColumns,
|
|
252
|
-
dynamicInputs,
|
|
253
|
-
isEqual,
|
|
254
|
-
logger,
|
|
255
|
-
ns,
|
|
256
|
-
resources,
|
|
257
|
-
uiOutlineClass,
|
|
258
|
-
useAutosave,
|
|
259
|
-
useBreakpoint,
|
|
260
|
-
useDebounceCallback,
|
|
261
|
-
useDeepCompareEffect,
|
|
262
|
-
useDeepCompareLayoutEffect,
|
|
263
|
-
useDeepCompareMemo,
|
|
264
|
-
useFilters,
|
|
265
|
-
useForm,
|
|
266
|
-
useFormAutosave,
|
|
267
|
-
useIntersectionObserver,
|
|
268
|
-
useLocalStorage,
|
|
269
|
-
useLongPressRepeat,
|
|
270
|
-
usePagination,
|
|
271
|
-
useScrollableListBox,
|
|
272
|
-
useSorting,
|
|
273
|
-
useStateAndRef,
|
|
274
|
-
useTableColumnConfig,
|
|
275
|
-
useTableNav,
|
|
276
|
-
useToast,
|
|
277
|
-
useTranslationMemo
|
|
278
|
-
};
|
|
1
|
+
import { AlignCenterIcon } from "./AlignCenter.js";
|
|
2
|
+
import { AlignLeftIcon } from "./AlignLeft.js";
|
|
3
|
+
import { AlignLeftRightIcon } from "./AlignLeftRight.js";
|
|
4
|
+
import { AlignRightIcon } from "./AlignRight.js";
|
|
5
|
+
import { ArrowDropDownIcon } from "./ArrowDropDown.js";
|
|
6
|
+
import { ArrowDropUpIcon } from "./ArrowDropUp.js";
|
|
7
|
+
import { ArrowLeftIcon } from "./ArrowLeft.js";
|
|
8
|
+
import { ArrowRightIcon } from "./ArrowRight.js";
|
|
9
|
+
import { BoldIcon } from "./Bold.js";
|
|
10
|
+
import { BulletedListIcon } from "./BulletedList.js";
|
|
11
|
+
import { CalendarIcon } from "./Calendar.js";
|
|
12
|
+
import { CheckIcon } from "./Check.js";
|
|
13
|
+
import { CheckboxCheckmarkIcon } from "./CheckboxCheckmark.js";
|
|
14
|
+
import { CheckboxIndeterminateIcon } from "./CheckboxIndeterminate.js";
|
|
15
|
+
import { ChevronDownIcon } from "./ChevronDown.js";
|
|
16
|
+
import { ChevronLeftIcon } from "./ChevronLeft.js";
|
|
17
|
+
import { ChevronRightIcon } from "./ChevronRight.js";
|
|
18
|
+
import { ChevronsLeftIcon } from "./ChevronsLeft.js";
|
|
19
|
+
import { ChevronsRightIcon } from "./ChevronsRight.js";
|
|
20
|
+
import { ChevronUpIcon } from "./ChevronUp.js";
|
|
21
|
+
import { ClockIcon } from "./Clock.js";
|
|
22
|
+
import { CloseIcon } from "./Close.js";
|
|
23
|
+
import { DateTimeIcon } from "./DateTime.js";
|
|
24
|
+
import { HighlightIcon } from "./Highlight.js";
|
|
25
|
+
import { HighlightOnIcon } from "./HighlightOn.js";
|
|
26
|
+
import { InfoIcon } from "./Info.js";
|
|
27
|
+
import { ItalicIcon } from "./Italic.js";
|
|
28
|
+
import { LinkIcon } from "./Link.js";
|
|
29
|
+
import { MenuIcon } from "./Menu.js";
|
|
30
|
+
import { NumberedListIcon } from "./NumberedList.js";
|
|
31
|
+
import { PointerHorizontalIcon } from "./PointerHorizontal.js";
|
|
32
|
+
import { PointerVerticalIcon } from "./PointerVertical.js";
|
|
33
|
+
import { SendIcon } from "./Send.js";
|
|
34
|
+
import { StrikethroughIcon } from "./Strikethrough.js";
|
|
35
|
+
import { TextColorIcon } from "./TextColor.js";
|
|
36
|
+
import { UnderlinedIcon } from "./Underlined.js";
|
|
37
|
+
import { ViewIcon } from "./View.js";
|
|
38
|
+
import { ViewOffIcon } from "./ViewOff.js";
|
|
39
|
+
import { Loader } from "./Loader.js";
|
|
40
|
+
import { UIStyle } from "./uiStyle.context.js";
|
|
41
|
+
import { Typography } from "./Typography.js";
|
|
42
|
+
import { Tooltip } from "./Tooltip.js";
|
|
43
|
+
import { TooltipEllipsis } from "./TooltipEllipsis.js";
|
|
44
|
+
import { LinkContext } from "./link.context.js";
|
|
45
|
+
import { uiOutlineClass } from "./outline.clsx.js";
|
|
46
|
+
import { compoundMapper } from "./compoundMapper.js";
|
|
47
|
+
import { Button } from "./Button.js";
|
|
48
|
+
import { IconButton } from "./IconButton.js";
|
|
49
|
+
import { InlineIconButton } from "./InlineIconButton.js";
|
|
50
|
+
import { PillButton } from "./PillButton.js";
|
|
51
|
+
import { MenuItem } from "./MenuItem.js";
|
|
52
|
+
import { MenuPopover } from "./MenuPopover.js";
|
|
53
|
+
import { DomUtils } from "./dom.utils.js";
|
|
54
|
+
import { BottomSheet } from "./BottomSheet.js";
|
|
55
|
+
import { useBreakpoint } from "./useBreakpoint.js";
|
|
56
|
+
import { Menu } from "./Menu2.js";
|
|
57
|
+
import { SplitButton } from "./SplitButton.js";
|
|
58
|
+
import { TextButton } from "./TextButton.js";
|
|
59
|
+
import { ToggleButton } from "./ToggleButton.js";
|
|
60
|
+
import { ObjectUtils } from "./object.utils.js";
|
|
61
|
+
import { isEqual } from "./isEqual.js";
|
|
62
|
+
import { useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo } from "./useDeepCompare.js";
|
|
63
|
+
import { UIConfig } from "./uiConfig.context.js";
|
|
64
|
+
import { Checkbox } from "./Checkbox.js";
|
|
65
|
+
import { useLongPressRepeat } from "./useLongPressRepeat.js";
|
|
66
|
+
import { useScrollableListBox } from "./useScrollableListBox.js";
|
|
67
|
+
import { ns, resources } from "./i18n.js";
|
|
68
|
+
import { FormField } from "./FormField.js";
|
|
69
|
+
import { DateTimeUtils } from "./date-time.utils.js";
|
|
70
|
+
import { DatePicker } from "./DatePicker.js";
|
|
71
|
+
import { Tag } from "./Tag.js";
|
|
72
|
+
import { useDebounceCallback } from "./useDebounceCallback.js";
|
|
73
|
+
import { useIntersectionObserver } from "./useIntersectionObserver.js";
|
|
74
|
+
import { TextInput } from "./TextInput.js";
|
|
75
|
+
import { Select } from "./Select.js";
|
|
76
|
+
import { DateRangePicker } from "./DateRangePicker.js";
|
|
77
|
+
import { DateTimePicker } from "./DateTimePicker.js";
|
|
78
|
+
import { TimePicker } from "./TimePicker.js";
|
|
79
|
+
import { RestUtils } from "./rest.utils.js";
|
|
80
|
+
import { FileUtils } from "./file.utils.js";
|
|
81
|
+
import { ProgressBar } from "./ProgressBar.js";
|
|
82
|
+
import { FileUpload } from "./FileUpload.js";
|
|
83
|
+
import { FileUploadContainer } from "./FileUploadContainer.js";
|
|
84
|
+
import { InputUpload } from "./InputUpload.js";
|
|
85
|
+
import { NumberInput } from "./NumberInput.js";
|
|
86
|
+
import { PasswordInput } from "./PasswordInput.js";
|
|
87
|
+
import { TextArea } from "./TextArea.js";
|
|
88
|
+
import { Autocomplete } from "./Autocomplete.js";
|
|
89
|
+
import { QueryAutocomplete } from "./QueryAutocomplete.js";
|
|
90
|
+
import { Slider } from "./Slider.js";
|
|
91
|
+
import { Toggle } from "./Toggle.js";
|
|
92
|
+
import { Segment } from "./Segment.js";
|
|
93
|
+
import { StringUtils } from "./string.utils.js";
|
|
94
|
+
import { dynamicInputs } from "./dynamicInputs.js";
|
|
95
|
+
import { Form } from "./Form.js";
|
|
96
|
+
import { Inputs } from "./Inputs.js";
|
|
97
|
+
import { RadioGroup } from "./RadioGroup.js";
|
|
98
|
+
import { Modal } from "./Modal.js";
|
|
99
|
+
import { ActionModal } from "./ActionModal.js";
|
|
100
|
+
import { Drawer } from "./Drawer.js";
|
|
101
|
+
import { ResponsivePopover } from "./ResponsivePopover.js";
|
|
102
|
+
import { PaginationList } from "./PaginationList.js";
|
|
103
|
+
import { Pagination } from "./Pagination.js";
|
|
104
|
+
import { Alert } from "./Alert.js";
|
|
105
|
+
import { Toast, ToastContainer } from "./Toast.js";
|
|
106
|
+
import { useToast } from "./useToast.js";
|
|
107
|
+
import { CellText } from "./CellText.js";
|
|
108
|
+
import { HeaderText } from "./HeaderText.js";
|
|
109
|
+
import { logger } from "./logger.js";
|
|
110
|
+
import { useTableNav } from "./useTableNav.js";
|
|
111
|
+
import { Table } from "./Table.js";
|
|
112
|
+
import { useTranslationMemo } from "./useTranslationMemo.js";
|
|
113
|
+
import { ColumnConfigModal } from "./ColumnConfig.js";
|
|
114
|
+
import { InfiniteTable } from "./InfiniteTable.js";
|
|
115
|
+
import { PaginatedTable } from "./PaginatedTable.js";
|
|
116
|
+
import { Link } from "./Link2.js";
|
|
117
|
+
import { Confirmation } from "./confirmation.context.js";
|
|
118
|
+
import { UIRouter } from "./router.context.js";
|
|
119
|
+
import { useLocalStorage } from "./useLocalStorage.js";
|
|
120
|
+
import { ThemeContext } from "./theme.context.js";
|
|
121
|
+
import { DateUtils } from "./date.utils.js";
|
|
122
|
+
import { dynamicColumns } from "./dynamicColumns.js";
|
|
123
|
+
import { useAutosave } from "./useAutosave.js";
|
|
124
|
+
import { useFilters } from "./useFilters.js";
|
|
125
|
+
import { useForm } from "./useForm.js";
|
|
126
|
+
import { useFormAutosave } from "./useFormAutosave.js";
|
|
127
|
+
import { usePagination } from "./usePagination.js";
|
|
128
|
+
import { useSorting } from "./useSorting.js";
|
|
129
|
+
import { useStateAndRef } from "./useStateAndRef.js";
|
|
130
|
+
import { useTableColumnConfig } from "./useTableColumnConfig.js";
|
|
131
|
+
import { ArrayUtils } from "./array.utils.js";
|
|
132
|
+
import { QueriesUtils } from "./queries.utils.js";
|
|
133
|
+
import { RoutingUtils } from "./routing.utils.js";
|
|
134
|
+
import { ApplicationException, ErrorHandler, SharedErrorHandler } from "./error-handling.js";
|
|
135
|
+
import { RestInterceptor } from "./rest-interceptor.js";
|
|
136
|
+
export { ActionModal, Alert, AlignCenterIcon, AlignLeftIcon, AlignLeftRightIcon, AlignRightIcon, ApplicationException, ArrayUtils, ArrowDropDownIcon, ArrowDropUpIcon, ArrowLeftIcon, ArrowRightIcon, Autocomplete, BoldIcon, BottomSheet, BulletedListIcon, Button, CalendarIcon, CellText, CheckIcon, Checkbox, CheckboxCheckmarkIcon, CheckboxIndeterminateIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ClockIcon, CloseIcon, ColumnConfigModal, Confirmation, DatePicker, DateRangePicker, DateTimeIcon, DateTimePicker, DateTimeUtils, DateUtils, DomUtils, Drawer, ErrorHandler, FileUpload, FileUploadContainer, FileUtils, Form, FormField, HeaderText, HighlightIcon, HighlightOnIcon, IconButton, InfiniteTable, InfoIcon, InlineIconButton, InputUpload, Inputs, ItalicIcon, Link, LinkContext, LinkIcon, Loader, Menu, MenuIcon, MenuItem, MenuPopover, Modal, NumberInput, NumberedListIcon, ObjectUtils, PaginatedTable, Pagination, PaginationList, PasswordInput, PillButton, PointerHorizontalIcon, PointerVerticalIcon, ProgressBar, QueriesUtils, QueryAutocomplete, RadioGroup, ResponsivePopover, RestInterceptor, RestUtils, RoutingUtils, Segment, Select, SendIcon, SharedErrorHandler, Slider, SplitButton, StrikethroughIcon, StringUtils, Table, Tag, TextArea, TextButton, TextColorIcon, TextInput, ThemeContext, TimePicker, Toast, ToastContainer, Toggle, ToggleButton, Tooltip, TooltipEllipsis, Typography, UIConfig, UIRouter, UIStyle, UnderlinedIcon, ViewIcon, ViewOffIcon, compoundMapper, dynamicColumns, dynamicInputs, isEqual, logger, ns, resources, uiOutlineClass, useAutosave, useBreakpoint, useDebounceCallback, useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo, useFilters, useForm, useFormAutosave, useIntersectionObserver, useLocalStorage, useLongPressRepeat, usePagination, useScrollableListBox, useSorting, useStateAndRef, useTableColumnConfig, useTableNav, useToast, useTranslationMemo };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { UIStyle } from "./uiStyle.context.js";
|
|
2
|
+
import { uiOutlineClass } from "./outline.clsx.js";
|
|
3
|
+
import { clsx } from "clsx";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
const inputBase = cva([uiOutlineClass, "flex w-full truncate"], {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
outlined: "",
|
|
9
|
+
filled: ""
|
|
10
|
+
},
|
|
11
|
+
as: {
|
|
12
|
+
default: "rounded-input-rounding-default",
|
|
13
|
+
floating: [
|
|
14
|
+
"rounded-input-rounding-default",
|
|
15
|
+
"py-floating-label-input-height-empty!",
|
|
16
|
+
"group-has-[input:not(:placeholder-shown)]/input-content:pb-floating-label-input-height-filled!",
|
|
17
|
+
"group-has-[input:not(:placeholder-shown)]/input-content:pt-[calc(var(--spacing-input-height-default)+14px)]!"
|
|
18
|
+
],
|
|
19
|
+
filter: "rounded-input-rounding-default",
|
|
20
|
+
inline: [
|
|
21
|
+
"h-full",
|
|
22
|
+
"border-transparent border-b-0 bg-transparent text-text-default-1",
|
|
23
|
+
"hover:border-input-outlined-outline-hover",
|
|
24
|
+
"focus:border-input-outlined-outline-active",
|
|
25
|
+
"invalid:border-input-outlined-outline-error",
|
|
26
|
+
"disabled:hover:border-transparent"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
compoundVariants: [
|
|
31
|
+
{
|
|
32
|
+
variant: "outlined",
|
|
33
|
+
as: "default",
|
|
34
|
+
className: [
|
|
35
|
+
"border border-input-outlined-outline-idle border-solid bg-input-outlined-idle text-text-default-1",
|
|
36
|
+
"hover:border-input-outlined-outline-hover hover:border-solid hover:bg-input-outlined-hover hover:text-text-default-1",
|
|
37
|
+
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-active focus-within:text-text-default-1",
|
|
38
|
+
"invalid:border-input-outlined-outline-error invalid:border-solid invalid:bg-input-outlined-error invalid:text-text-default-1",
|
|
39
|
+
"disabled:border-input-outlined-outline-disabled disabled:border-solid disabled:bg-input-outlined-disabled disabled:text-text-default-1",
|
|
40
|
+
"placeholder:text-text-default-3",
|
|
41
|
+
"focus-visible:outline-interactive-contained-primary-focus"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
variant: "filled",
|
|
46
|
+
as: "default",
|
|
47
|
+
className: [
|
|
48
|
+
"border border-transparent border-solid bg-input-filled-idle text-text-default-1",
|
|
49
|
+
"hover:border-input-filled-outline-hover hover:border-solid hover:bg-input-filled-hover hover:text-text-default-1",
|
|
50
|
+
"focus-within:border-input-filled-outline-active focus-within:border-solid focus-within:bg-input-filled-active focus-within:text-text-default-1",
|
|
51
|
+
"invalid:border-input-filled-outline-error invalid:border-solid invalid:bg-input-filled-error invalid:text-text-default-1",
|
|
52
|
+
"disabled:bg-input-filled-disabled disabled:text-text-default-1",
|
|
53
|
+
"placeholder:text-text-default-3",
|
|
54
|
+
"focus-visible:outline-interactive-contained-primary-focus"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
variant: "outlined",
|
|
59
|
+
as: "floating",
|
|
60
|
+
className: [
|
|
61
|
+
"border border-input-outlined-outline-idle border-solid bg-input-outlined-idle text-text-default-1",
|
|
62
|
+
"hover:border-input-outlined-outline-hover hover:border-solid hover:bg-input-outlined-hover hover:text-text-default-1",
|
|
63
|
+
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-active focus-within:text-text-default-1",
|
|
64
|
+
"invalid:border-input-outlined-outline-error invalid:border-solid invalid:bg-input-outlined-error invalid:text-text-default-1",
|
|
65
|
+
"disabled:border-input-outlined-outline-disabled disabled:border-solid disabled:bg-input-outlined-disabled disabled:text-text-default-1",
|
|
66
|
+
"placeholder:text-text-default-3",
|
|
67
|
+
"focus-visible:outline-interactive-contained-primary-focus"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
variant: "filled",
|
|
72
|
+
as: "floating",
|
|
73
|
+
className: [
|
|
74
|
+
"border border-transparent border-solid bg-input-filled-idle text-text-default-1",
|
|
75
|
+
"hover:border-input-filled-outline-hover hover:border-solid hover:bg-input-filled-hover hover:text-text-default-1",
|
|
76
|
+
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-idle focus-within:text-text-default-1",
|
|
77
|
+
"invalid:border invalid:border-input-filled-outline-error invalid:border-solid invalid:bg-input-filled-error invalid:text-text-default-1",
|
|
78
|
+
"disabled:bg-input-filled-disabled disabled:text-text-default-1",
|
|
79
|
+
"placeholder:text-text-default-3",
|
|
80
|
+
"focus-visible:outline-interactive-contained-primary-focus"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
variant: "outlined",
|
|
85
|
+
as: "filter",
|
|
86
|
+
className: [
|
|
87
|
+
"border border-input-outlined-outline-idle border-solid bg-input-outlined-idle text-text-default-1",
|
|
88
|
+
"hover:border-input-outlined-outline-hover hover:border-solid hover:bg-input-outlined-hover hover:text-text-default-1",
|
|
89
|
+
"focus-within:border-input-outlined-outline-active focus-within:border-solid focus-within:bg-input-outlined-active focus-within:text-text-default-1",
|
|
90
|
+
"invalid:border-input-outlined-outline-error invalid:border-solid invalid:bg-input-outlined-error invalid:text-text-default-1",
|
|
91
|
+
"disabled:border-input-outlined-outline-disabled disabled:border-solid disabled:bg-input-outlined-disabled disabled:text-text-default-1",
|
|
92
|
+
"placeholder:text-text-default-3",
|
|
93
|
+
"focus-visible:outline-interactive-contained-primary-focus"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
variant: "outlined",
|
|
98
|
+
as: "filter",
|
|
99
|
+
className: [
|
|
100
|
+
"border border-transparent border-solid bg-input-filled-idle text-text-default-1",
|
|
101
|
+
"hover:border-input-filled-outline-hover hover:border-solid hover:bg-input-filled-hover hover:text-text-default-1",
|
|
102
|
+
"focus-within:border-input-filled-outline-active focus-within:border-solid focus-within:bg-input-filled-active focus-within:text-text-default-1",
|
|
103
|
+
"invalid:border-input-filled-outline-error invalid:border-solid invalid:bg-input-filled-error invalid:text-text-default-1",
|
|
104
|
+
"disabled:bg-input-filled-disabled disabled:text-text-default-1",
|
|
105
|
+
"placeholder:text-text-default-3",
|
|
106
|
+
"focus-visible:outline-interactive-contained-primary-focus"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
defaultVariants: {
|
|
111
|
+
variant: "outlined",
|
|
112
|
+
as: "default"
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
const inputSize = cva("", {
|
|
116
|
+
variants: { size: {
|
|
117
|
+
"extra-small": "px-input-side-default py-input-height-default text-label-1",
|
|
118
|
+
small: "px-input-side-default py-input-height-default text-label-1",
|
|
119
|
+
default: "px-input-side-default py-input-height-default text-label-1",
|
|
120
|
+
large: "px-input-side-default py-input-height-default text-label-1"
|
|
121
|
+
} },
|
|
122
|
+
defaultVariants: { size: "default" }
|
|
123
|
+
});
|
|
124
|
+
const inputSide = cva("", {
|
|
125
|
+
variants: {
|
|
126
|
+
size: {
|
|
127
|
+
"extra-small": "",
|
|
128
|
+
small: "",
|
|
129
|
+
default: "",
|
|
130
|
+
large: ""
|
|
131
|
+
},
|
|
132
|
+
type: {
|
|
133
|
+
left: "",
|
|
134
|
+
right: "",
|
|
135
|
+
var: ""
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
compoundVariants: [
|
|
139
|
+
{
|
|
140
|
+
type: "left",
|
|
141
|
+
size: "extra-small",
|
|
142
|
+
className: "left-input-side-default"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
type: "right",
|
|
146
|
+
size: "extra-small",
|
|
147
|
+
className: "right-input-side-default"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
type: "var",
|
|
151
|
+
size: "extra-small",
|
|
152
|
+
className: "--spacing-input-side-default"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: "left",
|
|
156
|
+
size: "small",
|
|
157
|
+
className: "left-input-side-default"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: "right",
|
|
161
|
+
size: "small",
|
|
162
|
+
className: "right-input-side-default"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
type: "var",
|
|
166
|
+
size: "small",
|
|
167
|
+
className: "--spacing-input-side-default"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
type: "left",
|
|
171
|
+
size: "default",
|
|
172
|
+
className: "left-input-side-default"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
type: "right",
|
|
176
|
+
size: "default",
|
|
177
|
+
className: "right-input-side-default"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
type: "var",
|
|
181
|
+
size: "default",
|
|
182
|
+
className: "--spacing-input-side-default"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
type: "left",
|
|
186
|
+
size: "large",
|
|
187
|
+
className: "left-input-side-default"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
type: "right",
|
|
191
|
+
size: "large",
|
|
192
|
+
className: "right-input-side-default"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
type: "var",
|
|
196
|
+
size: "large",
|
|
197
|
+
className: "--spacing-input-side-default"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
defaultVariants: { size: "default" }
|
|
201
|
+
});
|
|
202
|
+
const useInputCva = () => {
|
|
203
|
+
const uiStyle = UIStyle.useConfig();
|
|
204
|
+
const inputBaseCva = uiStyle?.input?.baseCva ?? inputBase;
|
|
205
|
+
const inputSizeCva = uiStyle?.input?.sizeCva ?? inputSize;
|
|
206
|
+
return ({ className,...rest }) => {
|
|
207
|
+
return clsx(inputBaseCva(rest), inputSizeCva(rest), className);
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
export { inputBase, inputSide, inputSize, useInputCva };
|