@povio/ui 3.4.0-rc.4 → 3.4.0-rc.6
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/components/Breadcrumbs/Breadcrumbs.js +13 -4
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuDesktop.js +1 -1
- package/dist/components/Menu/MenuItem.js +6 -3
- package/dist/components/Menu/MenuMobile.js +6 -3
- package/dist/components/Menu/MenuPopover.js +1 -1
- package/dist/components/buttons/IconButton/IconButton.js +1 -1
- package/dist/components/buttons/PillButton/PillButton.js +3 -3
- package/dist/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
- package/dist/components/buttons/SplitButton/SplitButton.js +3 -3
- package/dist/components/buttons/TextButton/TextButton.js +1 -1
- package/dist/components/buttons/ToggleButton/ToggleButton.js +1 -1
- package/dist/components/buttons/shared/buttonContent.cva.d.ts +1 -1
- package/dist/components/inputs/Checkbox/Checkbox.js +1 -1
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +2 -3
- package/dist/components/inputs/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +2 -1
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +2 -1
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +2 -1
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +196 -191
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +13 -9
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +7 -11
- package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -1
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +2 -2
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +1 -1
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +1 -1
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +1 -1
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +1 -1
- package/dist/components/inputs/DateTime/shared/TimeField.js +1 -1
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +3 -4
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -1
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +46 -44
- package/dist/components/inputs/DateTime/shared/YearPicker.js +1 -1
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +46 -1
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +1 -1
- package/dist/components/inputs/File/FileUpload.js +1 -1
- package/dist/components/inputs/File/FileUploadContainer.js +1 -1
- package/dist/components/inputs/File/InputUpload.js +1 -1
- package/dist/components/inputs/File/shared/FileCard.js +1 -1
- package/dist/components/inputs/File/shared/FileCardList.js +1 -1
- package/dist/components/inputs/File/shared/FileUploadContent.js +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +5 -2
- package/dist/components/inputs/File/shared/FileUploadContentError.js +8 -5
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +8 -5
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +7 -4
- package/dist/components/inputs/File/shared/InputUploadContent.js +3 -3
- package/dist/components/inputs/File/shared/InputUploadFilled.js +3 -3
- package/dist/components/inputs/FormField/FormField.js +1 -1
- package/dist/components/inputs/FormField/FormFieldError.js +1 -1
- package/dist/components/inputs/FormField/FormFieldHeader.js +4 -3
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +6 -3
- package/dist/components/inputs/FormField/FormFieldHelper.js +1 -1
- package/dist/components/inputs/FormField/FormFieldLabel.js +1 -1
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +89 -87
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +2 -1
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +264 -253
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +1 -0
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +5 -4
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +3 -4
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +1 -0
- package/dist/components/inputs/Input/TextArea/TextArea.js +99 -98
- package/dist/components/inputs/Input/TextInput/TextInput.js +92 -90
- package/dist/components/inputs/Input/shared/InputContent.d.ts +2 -1
- package/dist/components/inputs/Input/shared/InputContent.js +49 -47
- package/dist/components/inputs/Inputs/Form.js +1 -1
- package/dist/components/inputs/Inputs/InputItem.js +1 -1
- package/dist/components/inputs/Inputs/Inputs.js +1 -1
- package/dist/components/inputs/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +1 -1
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +1 -1
- package/dist/components/inputs/Selection/Select/QuerySelect.js +1 -1
- package/dist/components/inputs/Selection/Select/Select.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectBase.d.ts +1 -0
- package/dist/components/inputs/Selection/shared/SelectBase.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +55 -53
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/SelectInput.js +56 -54
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectMobile.js +7 -3
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +6 -3
- package/dist/components/inputs/Skeleton/InputFrame.d.ts +1 -0
- package/dist/components/inputs/Skeleton/InputFrame.js +2 -2
- package/dist/components/inputs/Slider/Slider.js +1 -1
- package/dist/components/inputs/TextEditor/TextEditor.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +4 -3
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +3 -3
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +6 -9
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +5 -4
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +9 -6
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +4 -5
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +6 -9
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +1 -1
- package/dist/components/inputs/Toggle/Toggle.js +1 -1
- package/dist/components/inputs/shared/CheckContent.js +1 -1
- package/dist/components/inputs/shared/InputClear.js +7 -4
- package/dist/components/inputs/shared/TooltipWrapper.d.ts +1 -1
- package/dist/components/inputs/shared/TooltipWrapper.js +1 -1
- package/dist/components/inputs/shared/form.binding.js +1 -1
- package/dist/components/inputs/shared/input.cva.js +1 -1
- package/dist/components/inputs/shared/useStaticInputHandoff.js +64 -38
- package/dist/components/navigation/Accordion/AccordionItem.js +5 -2
- package/dist/components/navigation/Stepper/StepperItem.js +6 -3
- package/dist/components/navigation/Stepper/StepperSeparator.js +1 -1
- package/dist/components/overlays/BottomSheet/BottomSheet.js +1 -1
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +6 -3
- package/dist/components/overlays/Drawer/Drawer.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +2 -2
- package/dist/components/overlays/Tooltip/Tooltip.js +14 -5
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +1 -1
- package/dist/components/segment/Segment.js +1 -1
- package/dist/components/segment/SegmentItem.js +1 -1
- package/dist/components/shared/pagination/PaginationList.js +6 -9
- package/dist/components/status/Loader/Loader.js +1 -1
- package/dist/components/status/Toast/Toast.js +1 -1
- package/dist/components/status/Toast/useToast.js +1 -1
- package/dist/components/table/ColumnConfig.js +1 -1
- package/dist/components/table/PaginatedTable.js +1 -1
- package/dist/components/table/Table.js +148 -40
- package/dist/components/text/Link/Link.js +1 -1
- package/dist/components/text/Pill/Pill.js +5 -2
- package/dist/components/text/Tag/Tag.js +5 -2
- package/dist/config/link.context.js +1 -1
- package/dist/config/router.context.js +1 -1
- package/dist/config/uiConfig.context.js +13 -6
- package/dist/config/uiOverrides.context.js +1 -1
- package/dist/hooks/useFilters.js +1 -1
- package/dist/hooks/useForm.js +1 -1
- package/dist/hooks/useIntersectionObserver.js +1 -1
- package/dist/hooks/useLocalStorage.js +1 -1
- package/dist/hooks/usePagination.js +1 -1
- package/dist/hooks/useScrollableListBox.js +1 -1
- package/dist/hooks/useSorting.js +1 -1
- package/dist/hooks/useStateAndRef.js +1 -1
- package/dist/hooks/useTableColumnConfig.js +1 -1
- package/dist/index.js +1 -40
- package/dist/node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js +15 -0
- package/dist/react-icons-sprite-4cbd6962.svg +1 -0
- package/dist/rhf/Inputs.js +1 -1
- package/dist/rhf.d.ts +0 -39
- package/dist/tanstack.d.ts +0 -39
- package/dist/tanstack.js +1 -40
- package/package.json +2 -1
- package/dist/assets/icons/Account.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.js +0 -30
- package/dist/assets/icons/AlignLeft.d.ts +0 -2
- package/dist/assets/icons/AlignLeft.js +0 -30
- package/dist/assets/icons/AlignLeftRight.d.ts +0 -2
- package/dist/assets/icons/AlignLeftRight.js +0 -30
- package/dist/assets/icons/AlignRight.d.ts +0 -2
- package/dist/assets/icons/AlignRight.js +0 -30
- package/dist/assets/icons/ArrowDropDown.d.ts +0 -2
- package/dist/assets/icons/ArrowDropDown.js +0 -30
- package/dist/assets/icons/ArrowDropUp.d.ts +0 -2
- package/dist/assets/icons/ArrowDropUp.js +0 -30
- package/dist/assets/icons/ArrowLeft.d.ts +0 -2
- package/dist/assets/icons/ArrowLeft.js +0 -30
- package/dist/assets/icons/ArrowRight.d.ts +0 -2
- package/dist/assets/icons/ArrowRight.js +0 -30
- package/dist/assets/icons/Board.d.ts +0 -2
- package/dist/assets/icons/Bold.d.ts +0 -2
- package/dist/assets/icons/Bold.js +0 -30
- package/dist/assets/icons/BulletedList.d.ts +0 -2
- package/dist/assets/icons/BulletedList.js +0 -30
- package/dist/assets/icons/Calendar.d.ts +0 -2
- package/dist/assets/icons/Calendar.js +0 -32
- package/dist/assets/icons/Check.d.ts +0 -2
- package/dist/assets/icons/Check.js +0 -32
- package/dist/assets/icons/CheckCircle.d.ts +0 -2
- package/dist/assets/icons/CheckCircle.js +0 -30
- package/dist/assets/icons/CheckboxCheckmark.d.ts +0 -2
- package/dist/assets/icons/CheckboxCheckmark.js +0 -33
- package/dist/assets/icons/CheckboxIndeterminate.d.ts +0 -2
- package/dist/assets/icons/CheckboxIndeterminate.js +0 -33
- package/dist/assets/icons/ChevronDown.d.ts +0 -2
- package/dist/assets/icons/ChevronDown.js +0 -32
- package/dist/assets/icons/ChevronLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronLeft.js +0 -32
- package/dist/assets/icons/ChevronRight.d.ts +0 -2
- package/dist/assets/icons/ChevronRight.js +0 -32
- package/dist/assets/icons/ChevronUp.d.ts +0 -2
- package/dist/assets/icons/ChevronUp.js +0 -32
- package/dist/assets/icons/ChevronsLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronsLeft.js +0 -32
- package/dist/assets/icons/ChevronsRight.d.ts +0 -2
- package/dist/assets/icons/ChevronsRight.js +0 -32
- package/dist/assets/icons/Clock.d.ts +0 -2
- package/dist/assets/icons/Clock.js +0 -30
- package/dist/assets/icons/Close.d.ts +0 -2
- package/dist/assets/icons/Close.js +0 -30
- package/dist/assets/icons/DateTime.d.ts +0 -2
- package/dist/assets/icons/DateTime.js +0 -39
- package/dist/assets/icons/DragIndicator.d.ts +0 -2
- package/dist/assets/icons/DragIndicator.js +0 -30
- package/dist/assets/icons/Edit.d.ts +0 -2
- package/dist/assets/icons/Emoji.d.ts +0 -2
- package/dist/assets/icons/File.d.ts +0 -2
- package/dist/assets/icons/File.js +0 -32
- package/dist/assets/icons/Grid.d.ts +0 -2
- package/dist/assets/icons/Highlight.d.ts +0 -2
- package/dist/assets/icons/Highlight.js +0 -30
- package/dist/assets/icons/HighlightOn.d.ts +0 -6
- package/dist/assets/icons/HighlightOn.js +0 -55
- package/dist/assets/icons/Home.d.ts +0 -2
- package/dist/assets/icons/Home.js +0 -30
- package/dist/assets/icons/Image.d.ts +0 -2
- package/dist/assets/icons/ImageError.d.ts +0 -2
- package/dist/assets/icons/Info.d.ts +0 -2
- package/dist/assets/icons/Info.js +0 -41
- package/dist/assets/icons/Italic.d.ts +0 -2
- package/dist/assets/icons/Italic.js +0 -30
- package/dist/assets/icons/Link.d.ts +0 -2
- package/dist/assets/icons/Link.js +0 -30
- package/dist/assets/icons/Loader.d.ts +0 -2
- package/dist/assets/icons/MapPin.d.ts +0 -2
- package/dist/assets/icons/Menu.d.ts +0 -2
- package/dist/assets/icons/Menu.js +0 -30
- package/dist/assets/icons/Minus.d.ts +0 -2
- package/dist/assets/icons/MoreHoriz.d.ts +0 -2
- package/dist/assets/icons/NumberedList.d.ts +0 -2
- package/dist/assets/icons/NumberedList.js +0 -30
- package/dist/assets/icons/Pause.d.ts +0 -2
- package/dist/assets/icons/Plus.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.js +0 -30
- package/dist/assets/icons/PointerVertical.d.ts +0 -2
- package/dist/assets/icons/PointerVertical.js +0 -30
- package/dist/assets/icons/Retry.d.ts +0 -2
- package/dist/assets/icons/Search.d.ts +0 -2
- package/dist/assets/icons/Search.js +0 -30
- package/dist/assets/icons/Send.d.ts +0 -2
- package/dist/assets/icons/Send.js +0 -32
- package/dist/assets/icons/Share.d.ts +0 -2
- package/dist/assets/icons/Slash.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.js +0 -30
- package/dist/assets/icons/TextColor.d.ts +0 -6
- package/dist/assets/icons/TextColor.js +0 -52
- package/dist/assets/icons/Today.d.ts +0 -2
- package/dist/assets/icons/Today.js +0 -30
- package/dist/assets/icons/Trash.d.ts +0 -2
- package/dist/assets/icons/Underlined.d.ts +0 -2
- package/dist/assets/icons/Underlined.js +0 -32
- package/dist/assets/icons/Upload.d.ts +0 -2
- package/dist/assets/icons/Upload.js +0 -39
- package/dist/assets/icons/User.d.ts +0 -2
- package/dist/assets/icons/Visibility.d.ts +0 -2
- package/dist/assets/icons/Visibility.js +0 -30
- package/dist/assets/icons/VisibilityOff.d.ts +0 -2
- package/dist/assets/icons/VisibilityOff.js +0 -30
- package/dist/assets/icons/WarningFilled.d.ts +0 -2
- package/dist/assets/icons/WarningFilled.js +0 -32
- package/dist/assets/icons/WarningOutlined.d.ts +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
2
2
|
import { Typography } from "../text/Typography/Typography.js";
|
|
3
3
|
import { segmentItemDefinition } from "./segment.cva.js";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { ToggleButton } from "react-aria-components";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
7
|
//#region src/components/segment/SegmentItem.tsx
|
|
8
8
|
var SegmentItem = (t0) => {
|
|
9
9
|
const $ = c(23);
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { ChevronLeftIcon } from "../../../assets/icons/ChevronLeft.js";
|
|
2
|
-
import { ChevronRightIcon } from "../../../assets/icons/ChevronRight.js";
|
|
3
|
-
import { ChevronsLeftIcon } from "../../../assets/icons/ChevronsLeft.js";
|
|
4
|
-
import { ChevronsRightIcon } from "../../../assets/icons/ChevronsRight.js";
|
|
5
1
|
import { Button } from "../../buttons/Button/Button.js";
|
|
6
2
|
import "../../../config/i18n.js";
|
|
7
3
|
import { minWidth } from "./minWidth.cva.js";
|
|
8
|
-
import { c } from "react/compiler-runtime";
|
|
9
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
5
|
import { clsx } from "clsx";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react";
|
|
11
8
|
import { useTranslation } from "react-i18next";
|
|
12
9
|
//#region src/components/shared/pagination/PaginationList.tsx
|
|
13
10
|
var PaginationList = (t0) => {
|
|
@@ -91,7 +88,7 @@ var PaginationList = (t0) => {
|
|
|
91
88
|
color,
|
|
92
89
|
variant,
|
|
93
90
|
iconOnly: hideText,
|
|
94
|
-
icon:
|
|
91
|
+
icon: ChevronsLeft,
|
|
95
92
|
children: t(_temp)
|
|
96
93
|
});
|
|
97
94
|
$[17] = color;
|
|
@@ -113,7 +110,7 @@ var PaginationList = (t0) => {
|
|
|
113
110
|
color,
|
|
114
111
|
variant,
|
|
115
112
|
iconOnly: hideText,
|
|
116
|
-
icon:
|
|
113
|
+
icon: ChevronLeft,
|
|
117
114
|
children: t(_temp2)
|
|
118
115
|
});
|
|
119
116
|
$[26] = color;
|
|
@@ -136,7 +133,7 @@ var PaginationList = (t0) => {
|
|
|
136
133
|
color,
|
|
137
134
|
variant,
|
|
138
135
|
iconOnly: hideText,
|
|
139
|
-
icon:
|
|
136
|
+
icon: ChevronRight,
|
|
140
137
|
children: t(_temp3)
|
|
141
138
|
});
|
|
142
139
|
$[35] = color;
|
|
@@ -158,7 +155,7 @@ var PaginationList = (t0) => {
|
|
|
158
155
|
color,
|
|
159
156
|
variant,
|
|
160
157
|
iconOnly: hideText,
|
|
161
|
-
icon:
|
|
158
|
+
icon: ChevronsRight,
|
|
162
159
|
children: t(_temp4)
|
|
163
160
|
});
|
|
164
161
|
$[44] = color;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loader, loaderWrapper } from "./loader.cva.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
//#region src/components/status/Loader/Loader.tsx
|
|
5
5
|
var Loader = (t0) => {
|
|
6
6
|
const $ = c(18);
|
|
@@ -4,8 +4,8 @@ import { Loader } from "../Loader/Loader.js";
|
|
|
4
4
|
import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
5
5
|
import { Button } from "../../buttons/Button/Button.js";
|
|
6
6
|
import { buttonColorVariant, statusIconDefinition, statusSeparatorDefinition, toastContainerDefinition, toastDefinition, toastWrapper } from "./toast.cva.js";
|
|
7
|
-
import { c } from "react/compiler-runtime";
|
|
8
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { ToastContainer } from "react-toastify";
|
|
10
10
|
//#region src/components/status/Toast/Toast.tsx
|
|
11
11
|
var Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toast } from "./Toast.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { toast } from "react-toastify";
|
|
5
5
|
//#region src/components/status/Toast/useToast.tsx
|
|
6
6
|
var useToast = () => {
|
|
@@ -4,9 +4,9 @@ import { Checkbox } from "../inputs/Checkbox/Checkbox.js";
|
|
|
4
4
|
import { Modal } from "../overlays/Modal/Modal.js";
|
|
5
5
|
import { Table } from "./Table.js";
|
|
6
6
|
import { useTranslationMemo } from "../../hooks/useTranslationMemo.js";
|
|
7
|
-
import { c } from "react/compiler-runtime";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { useEffect, useState } from "react";
|
|
9
|
+
import { c } from "react/compiler-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/table/ColumnConfig.tsx
|
|
12
12
|
var VisibilityCell = (t0) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Pagination } from "../shared/pagination/Pagination.js";
|
|
2
2
|
import { Table } from "./Table.js";
|
|
3
|
-
import { c } from "react/compiler-runtime";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
5
|
//#region src/components/table/PaginatedTable.tsx
|
|
6
6
|
var PaginatedTable = (t0) => {
|
|
7
7
|
const $ = c(24);
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
import { ChevronDownIcon } from "../../assets/icons/ChevronDown.js";
|
|
3
|
-
import { ChevronUpIcon } from "../../assets/icons/ChevronUp.js";
|
|
1
|
+
import { ReactIconsSpriteIcon } from "../../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
4
2
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
5
3
|
import { InlineIconButton } from "../buttons/InlineIconButton/InlineIconButton.js";
|
|
6
4
|
import { useIntersectionObserver } from "../../hooks/useIntersectionObserver.js";
|
|
7
5
|
import { tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableRowDefinition, theadDefinition } from "./table.cva.js";
|
|
8
6
|
import { CellText } from "./CellText.js";
|
|
9
|
-
import { DragIndicatorIcon } from "../../assets/icons/DragIndicator.js";
|
|
10
7
|
import { HeaderText } from "./HeaderText.js";
|
|
11
8
|
import { useTableNav } from "../../hooks/useTableNav.js";
|
|
12
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
10
|
import { clsx } from "clsx";
|
|
14
11
|
import { useCallback, useMemo, useRef, useState } from "react";
|
|
12
|
+
import { c } from "react/compiler-runtime";
|
|
13
|
+
import { GripVertical } from "lucide-react";
|
|
15
14
|
import { DndContext, KeyboardSensor, MouseSensor, TouchSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
16
15
|
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
|
|
17
16
|
import { SortableContext, arrayMove, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
@@ -31,48 +30,155 @@ var renderCell = (Comp, props) => {
|
|
|
31
30
|
const rendered = flexRender(Comp, props);
|
|
32
31
|
return typeof rendered === "string" ? /* @__PURE__ */ jsx(CellText, { children: rendered }) : rendered;
|
|
33
32
|
};
|
|
34
|
-
var RowDragHandleCell = (
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
33
|
+
var RowDragHandleCell = (t0) => {
|
|
34
|
+
const $ = c(5);
|
|
35
|
+
const { rowId } = t0;
|
|
36
|
+
let t1;
|
|
37
|
+
if ($[0] !== rowId) {
|
|
38
|
+
t1 = { id: rowId };
|
|
39
|
+
$[0] = rowId;
|
|
40
|
+
$[1] = t1;
|
|
41
|
+
} else t1 = $[1];
|
|
42
|
+
const { attributes, listeners } = useSortable(t1);
|
|
43
|
+
let t2;
|
|
44
|
+
if ($[2] !== attributes || $[3] !== listeners) {
|
|
45
|
+
t2 = /* @__PURE__ */ jsx(InlineIconButton, {
|
|
46
|
+
...attributes,
|
|
47
|
+
...listeners,
|
|
48
|
+
className: "cursor-move p-1",
|
|
49
|
+
label: "Drag handle",
|
|
50
|
+
icon: GripVertical
|
|
51
|
+
});
|
|
52
|
+
$[2] = attributes;
|
|
53
|
+
$[3] = listeners;
|
|
54
|
+
$[4] = t2;
|
|
55
|
+
} else t2 = $[4];
|
|
56
|
+
return t2;
|
|
43
57
|
};
|
|
44
|
-
var AutoDragHandleCell = (
|
|
45
|
-
|
|
46
|
-
const {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
58
|
+
var AutoDragHandleCell = (t0) => {
|
|
59
|
+
const $ = c(2);
|
|
60
|
+
const { row } = t0;
|
|
61
|
+
let t1;
|
|
62
|
+
if ($[0] !== row.id) {
|
|
63
|
+
t1 = /* @__PURE__ */ jsx(RowDragHandleCell, { rowId: row.id });
|
|
64
|
+
$[0] = row.id;
|
|
65
|
+
$[1] = t1;
|
|
66
|
+
} else t1 = $[1];
|
|
67
|
+
return t1;
|
|
68
|
+
};
|
|
69
|
+
var DraggableRow = (t0) => {
|
|
70
|
+
const $ = c(36);
|
|
71
|
+
const { row, showCellBorder, onRowClick, onDoubleClick, tableRowCva, tableDataCva, hasOnClick, ...props } = t0;
|
|
72
|
+
let t1;
|
|
73
|
+
if ($[0] !== row.id) {
|
|
74
|
+
t1 = { id: row.id };
|
|
75
|
+
$[0] = row.id;
|
|
76
|
+
$[1] = t1;
|
|
77
|
+
} else t1 = $[1];
|
|
78
|
+
const { transform, transition, setNodeRef, isDragging } = useSortable(t1);
|
|
79
|
+
let t2;
|
|
80
|
+
if ($[2] !== transform) {
|
|
81
|
+
t2 = CSS.Transform.toString(transform);
|
|
82
|
+
$[2] = transform;
|
|
83
|
+
$[3] = t2;
|
|
84
|
+
} else t2 = $[3];
|
|
85
|
+
const t3 = isDragging ? .8 : 1;
|
|
86
|
+
const t4 = isDragging ? 1 : 0;
|
|
87
|
+
let t5;
|
|
88
|
+
if ($[4] !== t2 || $[5] !== t3 || $[6] !== t4 || $[7] !== transition) {
|
|
89
|
+
t5 = {
|
|
90
|
+
transform: t2,
|
|
51
91
|
transition,
|
|
52
|
-
opacity:
|
|
53
|
-
zIndex:
|
|
92
|
+
opacity: t3,
|
|
93
|
+
zIndex: t4,
|
|
54
94
|
position: "relative"
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
95
|
+
};
|
|
96
|
+
$[4] = t2;
|
|
97
|
+
$[5] = t3;
|
|
98
|
+
$[6] = t4;
|
|
99
|
+
$[7] = transition;
|
|
100
|
+
$[8] = t5;
|
|
101
|
+
} else t5 = $[8];
|
|
102
|
+
const style = t5;
|
|
103
|
+
let t6;
|
|
104
|
+
if ($[9] !== hasOnClick || $[10] !== row) {
|
|
105
|
+
t6 = hasOnClick || row.getCanSelect() || void 0;
|
|
106
|
+
$[9] = hasOnClick;
|
|
107
|
+
$[10] = row;
|
|
108
|
+
$[11] = t6;
|
|
109
|
+
} else t6 = $[11];
|
|
110
|
+
let t7;
|
|
111
|
+
if ($[12] !== row) {
|
|
112
|
+
t7 = row.getIsSelected() || void 0;
|
|
113
|
+
$[12] = row;
|
|
114
|
+
$[13] = t7;
|
|
115
|
+
} else t7 = $[13];
|
|
116
|
+
const t8 = clsx(tableRowCva(props));
|
|
117
|
+
let t9;
|
|
118
|
+
if ($[14] !== onRowClick || $[15] !== row) {
|
|
119
|
+
t9 = () => {
|
|
60
120
|
if (onRowClick) {
|
|
61
121
|
onRowClick(row.original);
|
|
62
122
|
return;
|
|
63
123
|
}
|
|
64
124
|
if (row.getCanSelect()) row.toggleSelected();
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
125
|
+
};
|
|
126
|
+
$[14] = onRowClick;
|
|
127
|
+
$[15] = row;
|
|
128
|
+
$[16] = t9;
|
|
129
|
+
} else t9 = $[16];
|
|
130
|
+
let t10;
|
|
131
|
+
if ($[17] !== onDoubleClick || $[18] !== row.original) {
|
|
132
|
+
t10 = () => onDoubleClick?.(row.original);
|
|
133
|
+
$[17] = onDoubleClick;
|
|
134
|
+
$[18] = row.original;
|
|
135
|
+
$[19] = t10;
|
|
136
|
+
} else t10 = $[19];
|
|
137
|
+
let t11;
|
|
138
|
+
if ($[20] !== row || $[21] !== showCellBorder || $[22] !== tableDataCva) {
|
|
139
|
+
let t12;
|
|
140
|
+
if ($[24] !== showCellBorder || $[25] !== tableDataCva) {
|
|
141
|
+
t12 = (cell, cellIndex) => {
|
|
142
|
+
const columnMeta = cell.column.columnDef.meta ?? {};
|
|
143
|
+
return /* @__PURE__ */ jsx("td", {
|
|
144
|
+
tabIndex: -1,
|
|
145
|
+
className: clsx(tableDataCva({ hasRightBorder: cellIndex > 0 && showCellBorder }), columnMeta.cellClass, columnMeta.width),
|
|
146
|
+
children: renderCell(cell.column.columnDef.cell, CustomCellContext(cell.getContext()))
|
|
147
|
+
}, cell.id);
|
|
148
|
+
};
|
|
149
|
+
$[24] = showCellBorder;
|
|
150
|
+
$[25] = tableDataCva;
|
|
151
|
+
$[26] = t12;
|
|
152
|
+
} else t12 = $[26];
|
|
153
|
+
t11 = row.getVisibleCells().map(t12);
|
|
154
|
+
$[20] = row;
|
|
155
|
+
$[21] = showCellBorder;
|
|
156
|
+
$[22] = tableDataCva;
|
|
157
|
+
$[23] = t11;
|
|
158
|
+
} else t11 = $[23];
|
|
159
|
+
let t12;
|
|
160
|
+
if ($[27] !== setNodeRef || $[28] !== style || $[29] !== t10 || $[30] !== t11 || $[31] !== t6 || $[32] !== t7 || $[33] !== t8 || $[34] !== t9) {
|
|
161
|
+
t12 = /* @__PURE__ */ jsx("tr", {
|
|
162
|
+
ref: setNodeRef,
|
|
163
|
+
style,
|
|
164
|
+
"data-clickable": t6,
|
|
165
|
+
"data-selected": t7,
|
|
166
|
+
className: t8,
|
|
167
|
+
onClick: t9,
|
|
168
|
+
onDoubleClick: t10,
|
|
169
|
+
children: t11
|
|
170
|
+
});
|
|
171
|
+
$[27] = setNodeRef;
|
|
172
|
+
$[28] = style;
|
|
173
|
+
$[29] = t10;
|
|
174
|
+
$[30] = t11;
|
|
175
|
+
$[31] = t6;
|
|
176
|
+
$[32] = t7;
|
|
177
|
+
$[33] = t8;
|
|
178
|
+
$[34] = t9;
|
|
179
|
+
$[35] = t12;
|
|
180
|
+
} else t12 = $[35];
|
|
181
|
+
return t12;
|
|
76
182
|
};
|
|
77
183
|
var Table = ({ items, showCellBorder, columns, onRowClick, onDoubleClick, className, sorting, setSorting, columnOrder, setColumnOrder, columnVisibility, setColumnVisibility, bulkSelectionActions: ActionHeader, enableDragDrop = false, onDragEnd, onReorder, getRowId, enableRowSelection, enableMultiRowSelection = false, defaultSelectedRows, onRowSelectionChange, ...props }) => {
|
|
78
184
|
const tableRowCva = UIOverrides.useCva("table.rowCva", tableRowDefinition);
|
|
@@ -199,11 +305,13 @@ var Table = ({ items, showCellBorder, columns, onRowClick, onDoubleClick, classN
|
|
|
199
305
|
className: clsx("flex select-none items-center gap-1 text-text-default-1", header_0.column.getCanSort() ? "h-6 cursor-pointer rounded-xs px-1 hover:bg-elevation-fill-default-2" : "cursor-default", columnMeta.sortClass),
|
|
200
306
|
onClick: header_0.column.getToggleSortingHandler(),
|
|
201
307
|
children: [typeof header_0.column.columnDef.header === "function" ? flexRender(header_0.column.columnDef.header, header_0.getContext()) : /* @__PURE__ */ jsx(HeaderText, { children: header_0.column.columnDef.header }), {
|
|
202
|
-
asc: /* @__PURE__ */ jsx(
|
|
308
|
+
asc: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
309
|
+
iconId: "ri-lucide-react-ChevronUp",
|
|
203
310
|
width: 18,
|
|
204
311
|
height: 18
|
|
205
312
|
}),
|
|
206
|
-
desc: /* @__PURE__ */ jsx(
|
|
313
|
+
desc: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
314
|
+
iconId: "ri-lucide-react-ChevronDown",
|
|
207
315
|
width: 18,
|
|
208
316
|
height: 18
|
|
209
317
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { LinkContext } from "../../../config/link.context.js";
|
|
3
3
|
import { linkDefinition } from "./link.cva.js";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import { Link } from "react-aria-components";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
7
|
//#region src/components/text/Link/Link.tsx
|
|
8
8
|
var Link$1 = (t0) => {
|
|
9
9
|
const $ = c(4);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
2
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
3
3
|
import { Typography } from "../Typography/Typography.js";
|
|
4
4
|
import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
@@ -36,7 +36,10 @@ var Pill = ({ className, children, dismissable, isDisabled, onDismiss, contentRe
|
|
|
36
36
|
}), dismissable && /* @__PURE__ */ jsx(Button, {
|
|
37
37
|
...buttonProps,
|
|
38
38
|
className: "pointer-events-auto shrink-0",
|
|
39
|
-
children: /* @__PURE__ */ jsx(
|
|
39
|
+
children: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
40
|
+
iconId: "ri-lucide-react-X",
|
|
41
|
+
className: "size-4"
|
|
42
|
+
})
|
|
40
43
|
})]
|
|
41
44
|
});
|
|
42
45
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
2
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
3
3
|
import { Typography } from "../Typography/Typography.js";
|
|
4
4
|
import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
@@ -35,7 +35,10 @@ var Tag = ({ className, children, dismissable, isDisabled, onDismiss, contentRef
|
|
|
35
35
|
}), dismissable && /* @__PURE__ */ jsx(Button, {
|
|
36
36
|
...buttonProps,
|
|
37
37
|
className: "pointer-events-auto shrink-0",
|
|
38
|
-
children: /* @__PURE__ */ jsx(
|
|
38
|
+
children: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
39
|
+
iconId: "ri-lucide-react-X",
|
|
40
|
+
className: "size-4"
|
|
41
|
+
})
|
|
39
42
|
})]
|
|
40
43
|
});
|
|
41
44
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c } from "react/compiler-runtime";
|
|
2
1
|
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { createContext, use } from "react";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { RouterProvider } from "react-aria";
|
|
5
5
|
//#region src/config/router.context.tsx
|
|
6
6
|
var UIRouter;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ClockIcon } from "../assets/icons/Clock.js";
|
|
3
|
-
import { DateTimeIcon } from "../assets/icons/DateTime.js";
|
|
1
|
+
import { ReactIconsSpriteIcon } from "../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
4
2
|
import { ObjectUtils } from "../utils/object.utils.js";
|
|
5
3
|
import { useDeepCompareMemo } from "../hooks/useDeepCompare.js";
|
|
6
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -70,9 +68,18 @@ var UIConfig;
|
|
|
70
68
|
shouldForceLeadingZeros: false,
|
|
71
69
|
disableManualEntry: false,
|
|
72
70
|
autoFixYear: false,
|
|
73
|
-
calendarIcon: /* @__PURE__ */ jsx(
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
calendarIcon: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
72
|
+
iconId: "ri-lucide-react-Calendar",
|
|
73
|
+
className: "size-4"
|
|
74
|
+
}),
|
|
75
|
+
dateTimeIcon: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
76
|
+
iconId: "ri-lucide-react-CalendarClock",
|
|
77
|
+
className: "size-4"
|
|
78
|
+
}),
|
|
79
|
+
timeIcon: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
80
|
+
iconId: "ri-lucide-react-Clock",
|
|
81
|
+
className: "size-4 text-interactive-text-secondary-idle"
|
|
82
|
+
}),
|
|
76
83
|
setDateValueOnDateSelection: false,
|
|
77
84
|
timeZone: "clientLocal",
|
|
78
85
|
granularity: "day",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StyleMergeUtils } from "../utils/style-merge.util.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { clsx } from "clsx";
|
|
5
4
|
import { createContext, use } from "react";
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { cva } from "class-variance-authority";
|
|
7
7
|
//#region src/config/uiOverrides.context.tsx
|
|
8
8
|
var UIOverrides;
|
package/dist/hooks/useFilters.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UIRouter } from "../config/router.context.js";
|
|
2
2
|
import { RoutingUtils } from "../utils/routing.utils.js";
|
|
3
|
-
import { c } from "react/compiler-runtime";
|
|
4
3
|
import { useEffect, useState } from "react";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/hooks/useFilters.ts
|
|
7
7
|
function getFieldType(schema, fieldKey) {
|
package/dist/hooks/useForm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c } from "react/compiler-runtime";
|
|
2
1
|
import { useEffect, useMemo, useRef } from "react";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { useForm, useStore } from "@tanstack/react-form";
|
|
4
4
|
//#region src/hooks/useForm.ts
|
|
5
5
|
function useForm$1({ defaultValues, disabled = false, mode = "onSubmit", onSubmitAsync, zodSchema } = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UIRouter } from "../config/router.context.js";
|
|
2
2
|
import { RoutingUtils } from "../utils/routing.utils.js";
|
|
3
|
-
import { c } from "react/compiler-runtime";
|
|
4
3
|
import { useEffect, useState } from "react";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
5
|
//#region src/hooks/usePagination.ts
|
|
6
6
|
var DEFAULT_STATE = {
|
|
7
7
|
pageIndex: 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useBreakpoint } from "./useBreakpoint.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { useEffect, useRef } from "react";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
//#region src/hooks/useScrollableListBox.ts
|
|
5
5
|
function useScrollableListBox() {
|
|
6
6
|
const $ = c(4);
|
package/dist/hooks/useSorting.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UIRouter } from "../config/router.context.js";
|
|
2
2
|
import { RoutingUtils } from "../utils/routing.utils.js";
|
|
3
|
-
import { c } from "react/compiler-runtime";
|
|
4
3
|
import { useEffect, useState } from "react";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
5
|
//#region src/hooks/useSorting.ts
|
|
6
6
|
function useSorting(defaultSorting, t0) {
|
|
7
7
|
const $ = c(16);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ObjectUtils } from "../utils/object.utils.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { useRef, useState } from "react";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
//#region src/hooks/useStateAndRef.ts
|
|
5
5
|
var useStateAndRef = (initialState) => {
|
|
6
6
|
const $ = c(3);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c } from "react/compiler-runtime";
|
|
2
1
|
import { useEffect, useState } from "react";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
3
|
//#region src/hooks/useTableColumnConfig.ts
|
|
4
4
|
function sortByKeyOrder(data, orderedKeys = []) {
|
|
5
5
|
return [...data].sort((a, b) => {
|
package/dist/index.js
CHANGED
|
@@ -1,42 +1,3 @@
|
|
|
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 { HomeIcon } from "./assets/icons/Home.js";
|
|
27
|
-
import { InfoIcon } from "./assets/icons/Info.js";
|
|
28
|
-
import { ItalicIcon } from "./assets/icons/Italic.js";
|
|
29
|
-
import { LinkIcon } from "./assets/icons/Link.js";
|
|
30
|
-
import { MenuIcon } from "./assets/icons/Menu.js";
|
|
31
|
-
import { NumberedListIcon } from "./assets/icons/NumberedList.js";
|
|
32
|
-
import { PointerHorizontalIcon } from "./assets/icons/PointerHorizontal.js";
|
|
33
|
-
import { PointerVerticalIcon } from "./assets/icons/PointerVertical.js";
|
|
34
|
-
import { SendIcon } from "./assets/icons/Send.js";
|
|
35
|
-
import { StrikethroughIcon } from "./assets/icons/Strikethrough.js";
|
|
36
|
-
import { TextColorIcon } from "./assets/icons/TextColor.js";
|
|
37
|
-
import { UnderlinedIcon } from "./assets/icons/Underlined.js";
|
|
38
|
-
import { VisibilityIcon } from "./assets/icons/Visibility.js";
|
|
39
|
-
import { VisibilityOffIcon } from "./assets/icons/VisibilityOff.js";
|
|
40
1
|
import { UIOverrides } from "./config/uiOverrides.context.js";
|
|
41
2
|
import { breadcrumbChevronDefinition, breadcrumbIconDefinition, breadcrumbItemDefinition, breadcrumbSegmentDefinition, breadcrumbsDefinition } from "./components/Breadcrumbs/breadcrumbs.cva.js";
|
|
42
3
|
import { menuDefinition, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition } from "./components/Menu/menu.cva.js";
|
|
@@ -156,4 +117,4 @@ import { useSorting } from "./hooks/useSorting.js";
|
|
|
156
117
|
import { useTableColumnConfig } from "./hooks/useTableColumnConfig.js";
|
|
157
118
|
import { ArrayUtils } from "./utils/array.utils.js";
|
|
158
119
|
import { QueriesUtils } from "./utils/queries.utils.js";
|
|
159
|
-
export { Accordion, ActionModal, Alert,
|
|
120
|
+
export { Accordion, ActionModal, Alert, ArrayUtils, Autocomplete, BottomSheet, Breadcrumbs, Button, CellText, Checkbox, CheckboxGroup, ColumnConfigModal, Confirmation, DatePicker, DateRangePicker, DateTimePicker, DateTimeUtils, DateUtils, DomUtils, Drawer, FileUpload, FileUploadContainer, FileUtils, Form, FormField, HeaderText, IconButton, InfiniteTable, InlineIconButton, InputUpload, Inputs, IntlUtils, Link, LinkContext, Loader, Menu, MenuItem, MenuPopover, Modal, NumberInput, NumberRangeInput, ObjectUtils, PaginatedTable, Pagination, PaginationList, PasswordInput, Pill, PillButton, ProgressBar, QueriesUtils, QueryAutocomplete, QuerySelect, RadioGroup, ResponsivePopover, RestUtils, RoutingUtils, Segment, Select, Slider, SplitButton, Stepper, StringUtils, Table, Tag, TextArea, TextButton, TextInput, ThemeContext, TimePicker, Toast, ToastContainer, Toggle, ToggleButton, Tooltip, TooltipEllipsis, Typography, UIConfig, UIOverrides, UIRouter, ZodUtils, accordionChevronDefinition, accordionDefinition, accordionHeadingDefinition, accordionHeadingSubtitleDefinition, accordionHeadingTitleDefinition, accordionIconDefinition, accordionItemDefinition, accordionPanelContentDefinition, accordionPanelDefinition, accordionTriggerDefinition, alertDefinition, breadcrumbChevronDefinition, breadcrumbIconDefinition, breadcrumbItemDefinition, breadcrumbSegmentDefinition, breadcrumbsDefinition, buttonContentDefinition, buttonDefinition, buttonIconSizeDefinition, buttonSizeDefinition, checkboxContentRowDefinition, checkboxContentWrapperDefinition, checkboxDefinition, checkboxGroupLabelDefinition, checkboxIconDefinition, compoundMapper, createKeyInteractionsHandler, datePickerInputContentRowDefinition, dynamicColumns, dynamicInputs, fileUploadDropZoneDefinition, formFieldErrorDefinition, formFieldHeaderDefinition, formFieldHelperDefinition, getKeyInteractionAction, inputBaseDefinition, inputClearClassDefinition, inputContentWrapperDefinition, inputSideDefinition, inputSizeDefinition, inputUploadButtonDefinition, inputUploadDropZoneDefinition, isEqual, labelDefinition, linkDefinition, loaderDefinition, loaderWrapperDefinition, logger, menuDefinition, menuItemDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition, modalContentDefinition, modalMainDefinition, modalOverlayDefinition, ns, pillButtonContentDefinition, pillButtonDefinition, popoverDefinition, progressBarDefinition, progressBarFillDefinition, progressBarTrackDefinition, progressBarTrackWrapperDefinition, progressBarValueDefinition, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, resources, segmentDefinition, segmentItemDefinition, selectInputTagsContentWrapperDefinition, selectListBoxItemDefinition, selectPopoverDefinition, statusIconDefinition, statusSeparatorDefinition, stepperDefinition, stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSeparatorDefinition, stepperSubtextDefinition, stepperTitleDefinition, tableCellTextDefinition, tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableHeaderTextDefinition, tableRowDefinition, tagDefinition, textAreaWrapperDefinition, toastDefinition, statusIconDefinition$1 as toastStatusIconDefinition, statusSeparatorDefinition$1 as toastStatusSeparatorDefinition, toggleDefinition, tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition, tooltipWrapperTriggerDefinition, typographyDefinition, uiOutlineClass, useAutosave, useBreakpoint, useDebounceCallback, useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo, useFilters, useForm, useFormAutosave, useIntersectionObserver, useKeyInteractions, useLocalStorage, useLongPressRepeat, usePagination, useScrollableListBox, useSorting, useStateAndRef, useTableColumnConfig, useTableNav, useToast, useTranslationMemo };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
//#region ../../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.mjs
|
|
3
|
+
var ReactIconsSpriteIcon = ({ iconId, ...rest }) => {
|
|
4
|
+
const iconHref = `/react-icons-sprite-4cbd6962.svg#${iconId}`;
|
|
5
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
6
|
+
height: "1em",
|
|
7
|
+
width: "1em",
|
|
8
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
...rest,
|
|
11
|
+
children: /* @__PURE__ */ jsx("use", { href: iconHref })
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ReactIconsSpriteIcon };
|