@konstructio/ui 0.1.2-alpha.76 → 0.1.2-alpha.77
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/AdditionalOptions-DiXvUzhu.js +42 -0
- package/dist/Modal-h5H4yxYg.js +128 -0
- package/dist/assets/icons/components/Accounts.js +23 -35
- package/dist/assets/icons/components/AddChart.js +20 -26
- package/dist/assets/icons/components/AlertOutline.js +20 -26
- package/dist/assets/icons/components/AppRepo.js +20 -26
- package/dist/assets/icons/components/Apps.js +20 -26
- package/dist/assets/icons/components/Archives.js +20 -26
- package/dist/assets/icons/components/ArrowDown.js +20 -26
- package/dist/assets/icons/components/ArrowLeft.js +20 -26
- package/dist/assets/icons/components/ArrowRight.js +20 -26
- package/dist/assets/icons/components/ArrowUp.js +19 -25
- package/dist/assets/icons/components/BarChart.js +24 -36
- package/dist/assets/icons/components/BookOpen.js +20 -30
- package/dist/assets/icons/components/CalendarMonth.js +20 -26
- package/dist/assets/icons/components/Check.js +20 -26
- package/dist/assets/icons/components/CheckCircleFilled.js +25 -29
- package/dist/assets/icons/components/CheckCircleOutline.js +20 -26
- package/dist/assets/icons/components/CheckboxMarkedCircleOutline.js +20 -24
- package/dist/assets/icons/components/ClockAlert.js +20 -26
- package/dist/assets/icons/components/ClockOutline.js +20 -26
- package/dist/assets/icons/components/Close.js +20 -26
- package/dist/assets/icons/components/Cloud.js +20 -20
- package/dist/assets/icons/components/CloudLockOutline.js +20 -26
- package/dist/assets/icons/components/Clusters.js +24 -42
- package/dist/assets/icons/components/CogOutline.js +20 -26
- package/dist/assets/icons/components/Copy.js +20 -26
- package/dist/assets/icons/components/Cpu.js +23 -39
- package/dist/assets/icons/components/Cube.js +20 -26
- package/dist/assets/icons/components/Datacenter.js +20 -26
- package/dist/assets/icons/components/Delete.js +20 -26
- package/dist/assets/icons/components/DollarSign.js +20 -28
- package/dist/assets/icons/components/Download.js +20 -26
- package/dist/assets/icons/components/Edit.js +20 -26
- package/dist/assets/icons/components/Ellipses.js +20 -26
- package/dist/assets/icons/components/Environments.js +20 -28
- package/dist/assets/icons/components/Error.js +20 -26
- package/dist/assets/icons/components/ErrorOutline.js +20 -26
- package/dist/assets/icons/components/Exclamation.js +20 -26
- package/dist/assets/icons/components/Git.js +20 -26
- package/dist/assets/icons/components/GitOpsCatalog.js +23 -39
- package/dist/assets/icons/components/GridView.js +20 -20
- package/dist/assets/icons/components/Help.js +25 -23
- package/dist/assets/icons/components/HideOutline.js +23 -35
- package/dist/assets/icons/components/Home.js +20 -26
- package/dist/assets/icons/components/Home2.js +20 -26
- package/dist/assets/icons/components/Id.js +19 -25
- package/dist/assets/icons/components/InfoCircle.js +25 -29
- package/dist/assets/icons/components/InformationOutline.js +20 -26
- package/dist/assets/icons/components/InvoiceList.js +20 -26
- package/dist/assets/icons/components/Key.js +20 -26
- package/dist/assets/icons/components/LightBulb.js +23 -41
- package/dist/assets/icons/components/Loader.js +20 -26
- package/dist/assets/icons/components/Network.js +20 -26
- package/dist/assets/icons/components/PagesStack.js +25 -23
- package/dist/assets/icons/components/Pageview.js +20 -26
- package/dist/assets/icons/components/People.js +20 -26
- package/dist/assets/icons/components/PhotoLibrary.js +19 -25
- package/dist/assets/icons/components/Pipeline.js +20 -28
- package/dist/assets/icons/components/Plus.js +20 -26
- package/dist/assets/icons/components/PowerSettings.js +20 -26
- package/dist/assets/icons/components/Preview.js +20 -26
- package/dist/assets/icons/components/ReceiptLong.js +20 -20
- package/dist/assets/icons/components/Refresh.js +20 -26
- package/dist/assets/icons/components/ScatterPlot.js +20 -20
- package/dist/assets/icons/components/Search.js +25 -30
- package/dist/assets/icons/components/Server.js +20 -26
- package/dist/assets/icons/components/Start.js +20 -26
- package/dist/assets/icons/components/TabNew.js +24 -48
- package/dist/assets/icons/components/Teams.js +20 -26
- package/dist/assets/icons/components/Upload.js +19 -25
- package/dist/assets/icons/components/Warning.js +20 -26
- package/dist/assets/icons/components/WarningTriangle.js +20 -26
- package/dist/assets/icons/components/X.js +20 -26
- package/dist/compiler-runtime-DA41awpA.js +36 -0
- package/dist/components/Alert/Alert.js +78 -61
- package/dist/components/Alert/Alert.variants.js +30 -85
- package/dist/components/AlertDialog/AlertDialog.js +102 -128
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -2
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/AlertDialog/hooks/useAlertDialog.js +25 -7
- package/dist/components/Autocomplete/Autocomplete.js +55 -83
- package/dist/components/Autocomplete/Autocomplete.variants.js +1 -21
- package/dist/components/Autocomplete/components/List/List.js +48 -45
- package/dist/components/Autocomplete/components/List/List.variants.js +1 -29
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +74 -58
- package/dist/components/Autocomplete/hooks/useNavigationList.js +68 -62
- package/dist/components/Badge/Badge.js +66 -77
- package/dist/components/Badge/Badge.variants.js +33 -96
- package/dist/components/Breadcrumb/Breadcrumb.js +78 -70
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +1 -7
- package/dist/components/Breadcrumb/components/Item/Item.js +33 -47
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +26 -63
- package/dist/components/Button/Button.js +37 -40
- package/dist/components/Button/Button.variants.js +96 -292
- package/dist/components/ButtonGroup/ButtonGroup.js +101 -138
- package/dist/components/ButtonGroup/ButtonGroup.variants.js +9 -31
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +105 -113
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +48 -94
- package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +26 -43
- package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +28 -35
- package/dist/components/ButtonGroup/hooks/useButtonGroup.js +63 -61
- package/dist/components/Card/Card.js +35 -35
- package/dist/components/Card/Card.variants.js +25 -37
- package/dist/components/Checkbox/Checkbox.js +247 -268
- package/dist/components/Checkbox/Checkbox.variants.js +18 -65
- package/dist/components/Command/Command.js +46 -38
- package/dist/components/Command/Command.variants.js +1 -44
- package/dist/components/Command/components/Command.js +19 -6
- package/dist/components/Command/components/CommandEmpty.js +11 -13
- package/dist/components/Command/components/CommandGroup.js +19 -17
- package/dist/components/Command/components/CommandInput.js +60 -52
- package/dist/components/Command/components/CommandItem.js +28 -26
- package/dist/components/Command/components/CommandList.js +19 -14
- package/dist/components/Command/components/CommandSeparator.js +19 -14
- package/dist/components/Command/components/CommandShortcut.js +16 -16
- package/dist/components/Command/components/DialogContent.js +35 -29
- package/dist/components/Command/components/DialogOverlay.js +18 -16
- package/dist/components/Command/contexts/Command.provider.js +23 -21
- package/dist/components/Counter/Counter.js +151 -154
- package/dist/components/Counter/Counter.variants.js +6 -53
- package/dist/components/DateRangePicker/DateRangePicker.js +93 -162
- package/dist/components/DateRangePicker/DateRangePicker.variants.js +1 -20
- package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +81 -115
- package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.js +1 -45
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +14 -20
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +50 -57
- package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +56 -251
- package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +33 -37
- package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +30 -95
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +10 -126
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +138 -113
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +2 -16
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +68 -102
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.js +1 -22
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +55 -90
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +55 -90
- package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.js +204 -177
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +58 -63
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.js +1 -19
- package/dist/components/DateRangePicker/constants/presets.js +16 -7
- package/dist/components/DateRangePicker/contexts/date-range-picker.hook.js +1 -3
- package/dist/components/DateRangePicker/contexts/date-range-picker.provider.js +187 -171
- package/dist/components/DateRangePicker/utils/disabled-dates.js +16 -22
- package/dist/components/DateRangePicker/utils/validation.js +2 -17
- package/dist/components/Datepicker/DatePicker.js +80 -135
- package/dist/components/Divider/Divider.js +18 -7
- package/dist/components/Drawer/Drawer.js +108 -130
- package/dist/components/Drawer/Drawer.variants.js +17 -81
- package/dist/components/Drawer/components/Body/Body.js +18 -21
- package/dist/components/Drawer/components/Footer/Footer.js +18 -23
- package/dist/components/Drawer/components/Header/Header.js +20 -24
- package/dist/components/Drawer/contexts/Drawer.context.js +2 -2
- package/dist/components/Drawer/hooks/useDrawer.js +81 -57
- package/dist/components/DropdownButton/DropdownButton.js +99 -114
- package/dist/components/Filter/Filter.js +40 -29
- package/dist/components/Filter/Filter.variants.js +1 -17
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +128 -94
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +83 -144
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +87 -81
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +66 -120
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +22 -34
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +74 -117
- package/dist/components/Filter/components/ResetButton/ResetButton.js +24 -29
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +83 -135
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +83 -69
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +80 -151
- package/dist/components/Filter/contexts/filter.provider.js +16 -4
- package/dist/components/Filter/events/index.js +3 -3
- package/dist/components/ImageUpload/ImageUpload.js +48 -150
- package/dist/components/ImageUpload/ImageUpload.variants.js +41 -93
- package/dist/components/Input/Input.js +43 -168
- package/dist/components/Input/Input.variants.js +9 -51
- package/dist/components/LineChart/LineChart.js +83 -120
- package/dist/components/Loading/Loading.js +22 -18
- package/dist/components/Loading/Loading.variants.js +1 -8
- package/dist/components/Modal/Modal.js +3 -2
- package/dist/components/Modal/components/Body/Body.js +16 -5
- package/dist/components/Modal/components/Footer/Footer.js +16 -11
- package/dist/components/Modal/components/Header/Header.js +16 -11
- package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -3
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +1 -28
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/Modal/contexts/Modal.context.js +1 -3
- package/dist/components/Modal/contexts/Modal.provider.js +33 -23
- package/dist/components/Modal/hooks/useModal.js +29 -18
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +26 -32
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +1 -25
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +32 -27
- package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +13 -32
- package/dist/components/MultiSelectDropdown/components/List/List.js +26 -27
- package/dist/components/MultiSelectDropdown/components/List/List.variants.js +1 -21
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +73 -123
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +1 -3
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +128 -131
- package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +30 -26
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +19 -6
- package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +9 -39
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +28 -33
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +171 -231
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +7 -41
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +47 -36
- package/dist/components/PhoneNumberInput/components/Wrapper.js +465 -503
- package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +1 -3
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1163 -1135
- package/dist/components/PieChart/PieChart.js +82 -72
- package/dist/components/ProgressBar/ProgressBar.js +47 -38
- package/dist/components/ProgressBar/ProgressBar.variants.js +11 -28
- package/dist/components/Radio/Radio.js +71 -95
- package/dist/components/Radio/Radio.variants.js +33 -85
- package/dist/components/RadioCard/RadioCard.js +32 -36
- package/dist/components/RadioCardGroup/RadioCardGroup.js +42 -43
- package/dist/components/RadioGroup/RadioGroup.js +48 -48
- package/dist/components/Range/Range.js +83 -61
- package/dist/components/Range/Range.variants.js +19 -49
- package/dist/components/Select/Select.js +52 -65
- package/dist/components/Select/Select.variants.js +13 -66
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +3 -2
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -22
- package/dist/components/Select/components/EmptyList.js +8 -3
- package/dist/components/Select/components/List/List.js +89 -168
- package/dist/components/Select/components/List/List.variants.js +1 -41
- package/dist/components/Select/components/ListItem/ListItem.js +41 -96
- package/dist/components/Select/components/ListItem/ListItem.variants.js +1 -19
- package/dist/components/Select/components/Wrapper.js +110 -233
- package/dist/components/Select/components/index.js +1 -1
- package/dist/components/Select/contexts/select.provider.js +34 -41
- package/dist/components/Select/hooks/useNavigationList.js +50 -44
- package/dist/components/Select/hooks/useSelect.js +104 -94
- package/dist/components/Sidebar/Sidebar.js +26 -21
- package/dist/components/Sidebar/Sidebar.variants.js +1 -27
- package/dist/components/Sidebar/components/Footer/Footer.js +18 -6
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +1 -8
- package/dist/components/Sidebar/components/Logo/Logo.js +18 -6
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +1 -19
- package/dist/components/Sidebar/components/Navigation/Navigation.js +26 -17
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +33 -24
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -24
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +12 -39
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +17 -6
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +1 -5
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +20 -5
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +1 -10
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +21 -60
- package/dist/components/Slider/Slider.js +70 -56
- package/dist/components/Slider/Slider.variants.js +19 -41
- package/dist/components/Spinner/Spinner.js +56 -55
- package/dist/components/Spinner/Spinner.variants.js +19 -45
- package/dist/components/Stepper/Stepper.js +56 -72
- package/dist/components/Stepper/Stepper.variants.js +132 -188
- package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +151 -197
- package/dist/components/Stepper/components/StepConnector/StepConnector.js +24 -27
- package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +39 -20
- package/dist/components/Stepper/components/StepItem/StepItem.js +15 -6
- package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +93 -111
- package/dist/components/Stepper/hooks/useStepItemLogic.js +3 -6
- package/dist/components/Switch/Switch.js +135 -178
- package/dist/components/Switch/Switch.variants.js +1 -40
- package/dist/components/Table/Table.js +29 -25
- package/dist/components/Table/Table.variants.js +6 -30
- package/dist/components/Table/components/Body.js +20 -16
- package/dist/components/Table/components/Filter.js +21 -7
- package/dist/components/Table/components/Head.js +20 -16
- package/dist/components/Table/components/Row.js +28 -26
- package/dist/components/Tabs/Tabs.js +34 -26
- package/dist/components/Tabs/Tabs.variants.js +10 -39
- package/dist/components/Tabs/components/Content.js +23 -14
- package/dist/components/Tabs/components/List.js +28 -19
- package/dist/components/Tabs/components/Trigger.js +25 -21
- package/dist/components/Tag/Tag.js +33 -17
- package/dist/components/Tag/Tag.variants.js +23 -36
- package/dist/components/TagSelect/TagSelect.js +19 -8
- package/dist/components/TagSelect/TagSelect.variants.js +1 -22
- package/dist/components/TagSelect/components/Item/Item.js +24 -18
- package/dist/components/TagSelect/components/Item/Item.variants.js +13 -26
- package/dist/components/TagSelect/components/List/List.js +22 -9
- package/dist/components/TagSelect/components/List/List.variants.js +1 -19
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +68 -84
- package/dist/components/TagSelect/contexts/TagSelect.provider.js +75 -65
- package/dist/components/TagSelect/hooks/useTagSelect.js +30 -26
- package/dist/components/TextArea/TextArea.js +35 -34
- package/dist/components/TextArea/TextArea.variants.js +1 -16
- package/dist/components/TimePicker/TimePicker.js +21 -11
- package/dist/components/TimePicker/TimePicker.variants.js +1 -64
- package/dist/components/TimePicker/components/HoursList/HoursList.js +77 -116
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +79 -88
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +66 -89
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +144 -228
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +44 -75
- package/dist/components/TimePicker/contexts/time-picker.hook.js +1 -3
- package/dist/components/TimePicker/contexts/time-picker.provider.js +76 -58
- package/dist/components/Toast/Toast.js +374 -338
- package/dist/components/Toast/Toast.variants.js +10 -43
- package/dist/components/Tooltip/Tooltip.js +36 -35
- package/dist/components/Typography/Typography.js +26 -23
- package/dist/components/Typography/Typography.variants.js +24 -59
- package/dist/components/VirtualizedTable/VirtualizedTable.js +9 -91
- package/dist/components/VirtualizedTable/assets/chevron-down.js +13 -23
- package/dist/components/VirtualizedTable/assets/chevron-up.js +12 -22
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +62 -115
- package/dist/components/VirtualizedTable/components/Body/Body.js +29 -83
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +104 -165
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +13 -19
- package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +43 -49
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +116 -174
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +32 -57
- package/dist/components/VirtualizedTable/components/Header/Header.js +61 -98
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +65 -63
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +32 -102
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +51 -58
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +20 -24
- package/dist/components/VirtualizedTable/contexts/table.provider.js +129 -158
- package/dist/components/VirtualizedTable/events/index.js +18 -18
- package/dist/components/index.js +1 -1
- package/dist/contexts/theme.provider.js +61 -49
- package/dist/hooks/useToggle.js +10 -8
- package/dist/index-0g-eSmV1.js +142 -0
- package/dist/{index-Jr0cra7i.js → index-B9v5VxE2.js} +6 -6
- package/dist/{index-DWyM654o.js → index-C6mt--X_.js} +5 -5
- package/dist/{index-mPinF0Ho.js → index-CiACf4ao.js} +3 -3
- package/dist/{index-CrCTywU1.js → index-Dy4FVowi.js} +1 -1
- package/dist/{index-Cmf-IG4l.js → index-kTGTSLpq.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json +12 -11
- package/dist/{proxy-BvdTb_6B.js → proxy-BGrSEZuV.js} +2001 -1929
- package/dist/utils/index.js +1 -3
- package/package.json +12 -11
- package/dist/AdditionalOptions-C2FDVZhu.js +0 -45
- package/dist/Modal-BTOXCb0Y.js +0 -120
- package/dist/index-C7zAY3xv.js +0 -139
|
@@ -1,49 +1,16 @@
|
|
|
1
1
|
import { c as a } from "../../index-D29mdTf5.js";
|
|
2
|
-
const t = a(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"relative",
|
|
9
|
-
"overflow-hidden",
|
|
10
|
-
"h-14",
|
|
11
|
-
"items-center",
|
|
12
|
-
"gap-8",
|
|
13
|
-
"data-[state=open]:animate-slide-in",
|
|
14
|
-
"data-[state=closed]:animate-hide",
|
|
15
|
-
"data-[swipe=move]:translate-x-4",
|
|
16
|
-
"data-[swipe=cancel]:translate-x-0",
|
|
17
|
-
"data-[swipe=end]:animate-swipe-out",
|
|
18
|
-
"text-white",
|
|
19
|
-
"shadow-[0px_2px_4px_0px_rgba(100,116,139,0.25)]"
|
|
20
|
-
],
|
|
21
|
-
{
|
|
22
|
-
variants: {
|
|
23
|
-
variant: {
|
|
24
|
-
success: ["bg-green-800"],
|
|
25
|
-
error: ["bg-red-800"],
|
|
26
|
-
warning: ["bg-amber-800"]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
defaultVariants: {
|
|
30
|
-
variant: "success"
|
|
2
|
+
const t = a(["rounded-md", "p-4", "flex", "flex-row", "relative", "overflow-hidden", "h-14", "items-center", "gap-8", "data-[state=open]:animate-slide-in", "data-[state=closed]:animate-hide", "data-[swipe=move]:translate-x-4", "data-[swipe=cancel]:translate-x-0", "data-[swipe=end]:animate-swipe-out", "text-white", "shadow-[0px_2px_4px_0px_rgba(100,116,139,0.25)]"], {
|
|
3
|
+
variants: {
|
|
4
|
+
variant: {
|
|
5
|
+
success: ["bg-green-800"],
|
|
6
|
+
error: ["bg-red-800"],
|
|
7
|
+
warning: ["bg-amber-800"]
|
|
31
8
|
}
|
|
9
|
+
},
|
|
10
|
+
defaultVariants: {
|
|
11
|
+
variant: "success"
|
|
32
12
|
}
|
|
33
|
-
), s = a([
|
|
34
|
-
"fixed",
|
|
35
|
-
"bottom-0",
|
|
36
|
-
"right-0",
|
|
37
|
-
"flex",
|
|
38
|
-
"flex-col",
|
|
39
|
-
"p-[var(--viewport-padding)]",
|
|
40
|
-
"gap-8",
|
|
41
|
-
"w-[390px]",
|
|
42
|
-
"max-w-[100vw]",
|
|
43
|
-
"m-0",
|
|
44
|
-
"z-50",
|
|
45
|
-
"outline-none"
|
|
46
|
-
]), i = a(["w-4", "h-4", "text-white"]);
|
|
13
|
+
}), s = a(["fixed", "bottom-0", "right-0", "flex", "flex-col", "p-[var(--viewport-padding)]", "gap-8", "w-[390px]", "max-w-[100vw]", "m-0", "z-50", "outline-none"]), i = a(["w-4", "h-4", "text-white"]);
|
|
47
14
|
export {
|
|
48
15
|
i as closeToastVariants,
|
|
49
16
|
t as toastVariants,
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
] })
|
|
1
|
+
import { jsx as l, jsxs as y } from "react/jsx-runtime";
|
|
2
|
+
import { c as R } from "../../compiler-runtime-DA41awpA.js";
|
|
3
|
+
import { T, A as j, P as A, C as D, R as O, a as E } from "../../index-CiACf4ao.js";
|
|
4
|
+
import { cn as $ } from "../../utils/index.js";
|
|
5
|
+
const F = (P) => {
|
|
6
|
+
const e = R.c(20), {
|
|
7
|
+
content: n,
|
|
8
|
+
children: d,
|
|
9
|
+
side: N,
|
|
10
|
+
sideOffset: v,
|
|
11
|
+
bgClassName: u,
|
|
12
|
+
arrowClassName: g,
|
|
13
|
+
textClassName: w,
|
|
14
|
+
className: c,
|
|
15
|
+
delayDuration: b
|
|
16
|
+
} = P, m = N === void 0 ? "top" : N, f = v === void 0 ? 4 : v, p = u === void 0 ? "bg-slate-700" : u, x = g === void 0 ? "fill-slate-700" : g, h = w === void 0 ? "text-white" : w, C = b === void 0 ? 0 : b;
|
|
17
|
+
let t;
|
|
18
|
+
e[0] !== d ? (t = /* @__PURE__ */ l(T, { asChild: !0, children: /* @__PURE__ */ l("span", { children: d }) }), e[0] = d, e[1] = t) : t = e[1];
|
|
19
|
+
let s;
|
|
20
|
+
e[2] !== p || e[3] !== c || e[4] !== h ? (s = $("rounded px-2 py-1 text-xs shadow-md", "animate-in fade-in-0", p, h, c), e[2] = p, e[3] = c, e[4] = h, e[5] = s) : s = e[5];
|
|
21
|
+
let o;
|
|
22
|
+
e[6] !== x ? (o = /* @__PURE__ */ l(j, { className: x }), e[6] = x, e[7] = o) : o = e[7];
|
|
23
|
+
let a;
|
|
24
|
+
e[8] !== n || e[9] !== m || e[10] !== f || e[11] !== s || e[12] !== o ? (a = /* @__PURE__ */ l(A, { children: /* @__PURE__ */ y(D, { side: m, sideOffset: f, className: s, children: [
|
|
25
|
+
n,
|
|
26
|
+
o
|
|
27
|
+
] }) }), e[8] = n, e[9] = m, e[10] = f, e[11] = s, e[12] = o, e[13] = a) : a = e[13];
|
|
28
|
+
let i;
|
|
29
|
+
e[14] !== a || e[15] !== t ? (i = /* @__PURE__ */ y(O, { children: [
|
|
30
|
+
t,
|
|
31
|
+
a
|
|
32
|
+
] }), e[14] = a, e[15] = t, e[16] = i) : i = e[16];
|
|
33
|
+
let r;
|
|
34
|
+
return e[17] !== C || e[18] !== i ? (r = /* @__PURE__ */ l(E, { delayDuration: C, children: i }), e[17] = C, e[18] = i, e[19] = r) : r = e[19], r;
|
|
35
|
+
};
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
F as Tooltip
|
|
37
38
|
};
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../compiler-runtime-DA41awpA.js";
|
|
3
|
+
import { forwardRef as h } from "react";
|
|
4
|
+
import { cn as y } from "../../utils/index.js";
|
|
5
|
+
import { typographyVariants as g } from "./Typography.variants.js";
|
|
6
|
+
const u = h((i, n) => {
|
|
7
|
+
const e = d.c(17);
|
|
8
|
+
let o, r, p, m, a, t;
|
|
9
|
+
e[0] !== i ? ({
|
|
10
|
+
className: r,
|
|
11
|
+
theme: a,
|
|
12
|
+
children: o,
|
|
13
|
+
variant: t,
|
|
14
|
+
component: p,
|
|
15
|
+
...m
|
|
16
|
+
} = i, e[0] = i, e[1] = o, e[2] = r, e[3] = p, e[4] = m, e[5] = a, e[6] = t) : (o = e[1], r = e[2], p = e[3], m = e[4], a = e[5], t = e[6]);
|
|
17
|
+
const c = p ?? (t?.includes("h") ? t : "p");
|
|
18
|
+
let l;
|
|
19
|
+
e[7] !== r || e[8] !== t ? (l = y(g({
|
|
20
|
+
className: r,
|
|
21
|
+
variant: t
|
|
22
|
+
})), e[7] = r, e[8] = t, e[9] = l) : l = e[9];
|
|
23
|
+
let s;
|
|
24
|
+
return e[10] !== c || e[11] !== o || e[12] !== m || e[13] !== n || e[14] !== l || e[15] !== a ? (s = /* @__PURE__ */ f(c, { ref: n, "data-theme": a, className: l, ...m, children: o }), e[10] = c, e[11] = o, e[12] = m, e[13] = n, e[14] = l, e[15] = a, e[16] = s) : s = e[16], s;
|
|
22
25
|
});
|
|
23
|
-
|
|
26
|
+
u.displayName = "KonstructTypography";
|
|
24
27
|
export {
|
|
25
|
-
|
|
28
|
+
u as Typography
|
|
26
29
|
};
|
|
@@ -1,65 +1,30 @@
|
|
|
1
1
|
import { c as t } from "../../index-D29mdTf5.js";
|
|
2
|
-
const a = t(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"font-medium",
|
|
23
|
-
"leading-5",
|
|
24
|
-
"tracking-[0.1px]"
|
|
25
|
-
],
|
|
26
|
-
labelLarge: [
|
|
27
|
-
"text-sm",
|
|
28
|
-
"font-medium",
|
|
29
|
-
"text-slate-500",
|
|
30
|
-
"dark:text-metal-50"
|
|
31
|
-
],
|
|
32
|
-
labelMedium: [
|
|
33
|
-
"text-[12px]",
|
|
34
|
-
"font-medium",
|
|
35
|
-
"leading-4",
|
|
36
|
-
"tracking-[0.5px]",
|
|
37
|
-
"uppercase"
|
|
38
|
-
],
|
|
39
|
-
labelSmall: [
|
|
40
|
-
"text-[11px]",
|
|
41
|
-
"font-medium",
|
|
42
|
-
"leading-4",
|
|
43
|
-
"tracking-[0.5px]",
|
|
44
|
-
"uppercase"
|
|
45
|
-
],
|
|
46
|
-
buttonSmall: [
|
|
47
|
-
"text-[14px]",
|
|
48
|
-
"font-semibold",
|
|
49
|
-
"leading-5",
|
|
50
|
-
"tracking-[0.25px]"
|
|
51
|
-
],
|
|
52
|
-
body1: ["text-base", "leading-6", "tracking-[0.5px]"],
|
|
53
|
-
body2: ["text-sm", "leading-5", "tracking-[0.25px]"],
|
|
54
|
-
body3: ["text-xs", "leading-4", "tracking-[0.4px]"],
|
|
55
|
-
tooltip: ["text-sm", "leading-5.5"]
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
defaultVariants: {
|
|
59
|
-
variant: "body1"
|
|
2
|
+
const a = t(["text-slate-800", "dark:text-metal-50"], {
|
|
3
|
+
variants: {
|
|
4
|
+
variant: {
|
|
5
|
+
h1: ["text-[57px]", "leading-16"],
|
|
6
|
+
h2: ["text-[45px]", "leading-13"],
|
|
7
|
+
h3: ["text-4xl", "leading-11"],
|
|
8
|
+
h4: ["text-[32px]", "leading-10"],
|
|
9
|
+
h5: ["text-[28px]", "leading-9"],
|
|
10
|
+
h6: ["text-2xl", "font-medium", "leading-8", "tracking-[0.15px]"],
|
|
11
|
+
subtitle1: ["text-[22px]", "leading-7"],
|
|
12
|
+
subtitle2: ["text-[16px]", "font-medium", "leading-6", "tracking-[0.15px]"],
|
|
13
|
+
subtitle3: ["text-[14px]", "font-medium", "leading-5", "tracking-[0.1px]"],
|
|
14
|
+
labelLarge: ["text-sm", "font-medium", "text-slate-500", "dark:text-metal-50"],
|
|
15
|
+
labelMedium: ["text-[12px]", "font-medium", "leading-4", "tracking-[0.5px]", "uppercase"],
|
|
16
|
+
labelSmall: ["text-[11px]", "font-medium", "leading-4", "tracking-[0.5px]", "uppercase"],
|
|
17
|
+
buttonSmall: ["text-[14px]", "font-semibold", "leading-5", "tracking-[0.25px]"],
|
|
18
|
+
body1: ["text-base", "leading-6", "tracking-[0.5px]"],
|
|
19
|
+
body2: ["text-sm", "leading-5", "tracking-[0.25px]"],
|
|
20
|
+
body3: ["text-xs", "leading-4", "tracking-[0.4px]"],
|
|
21
|
+
tooltip: ["text-sm", "leading-5.5"]
|
|
60
22
|
}
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
variant: "body1"
|
|
61
26
|
}
|
|
62
|
-
);
|
|
27
|
+
});
|
|
63
28
|
export {
|
|
64
29
|
a as typographyVariants
|
|
65
30
|
};
|
|
@@ -59,97 +59,15 @@ const lr = ({
|
|
|
59
59
|
renderExpandedRow: U,
|
|
60
60
|
keepExpandColumnVisible: X
|
|
61
61
|
}) => {
|
|
62
|
-
const e = Y(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
]
|
|
69
|
-
|
|
70
|
-
);
|
|
71
|
-
return /* @__PURE__ */ r(
|
|
72
|
-
D,
|
|
73
|
-
{
|
|
74
|
-
id: c,
|
|
75
|
-
columns: d,
|
|
76
|
-
data: f,
|
|
77
|
-
getRowId: w,
|
|
78
|
-
fetchData: A,
|
|
79
|
-
totalItems: u,
|
|
80
|
-
queryOptions: y,
|
|
81
|
-
isPaginationEnabled: e,
|
|
82
|
-
enableExpandedRow: M,
|
|
83
|
-
expandedState: W,
|
|
84
|
-
onExpandedChange: S,
|
|
85
|
-
defaultExpanded: q,
|
|
86
|
-
classNameExpandedRow: F,
|
|
87
|
-
classNameExpandedCell: G,
|
|
88
|
-
classNameExpandedContent: J,
|
|
89
|
-
classNameExpandedHeader: O,
|
|
90
|
-
classNameActiveExpandedRow: Q,
|
|
91
|
-
enableHoverRow: I,
|
|
92
|
-
classNameHoverRow: K,
|
|
93
|
-
renderExpandedRow: U,
|
|
94
|
-
keepExpandColumnVisible: X,
|
|
95
|
-
children: /* @__PURE__ */ n("section", { className: s("w-full min-w-fit", b), children: [
|
|
96
|
-
B && /* @__PURE__ */ r(
|
|
97
|
-
L,
|
|
98
|
-
{
|
|
99
|
-
actions: k,
|
|
100
|
-
filters: g,
|
|
101
|
-
multiSelectFilter: j,
|
|
102
|
-
placeholder: V,
|
|
103
|
-
showFilterInput: R,
|
|
104
|
-
showResetButton: P,
|
|
105
|
-
resetButtonClassName: C,
|
|
106
|
-
closeOnApply: H
|
|
107
|
-
}
|
|
108
|
-
),
|
|
109
|
-
/* @__PURE__ */ r(
|
|
110
|
-
rr,
|
|
111
|
-
{
|
|
112
|
-
showPagination: e,
|
|
113
|
-
classNameWrapperTable: N,
|
|
114
|
-
isLoading: t,
|
|
115
|
-
children: /* @__PURE__ */ n(
|
|
116
|
-
"table",
|
|
117
|
-
{
|
|
118
|
-
className: s(
|
|
119
|
-
"w-full border-collapse table-auto",
|
|
120
|
-
"dark:border-separate dark:border-spacing-0",
|
|
121
|
-
E
|
|
122
|
-
),
|
|
123
|
-
"aria-label": p,
|
|
124
|
-
children: [
|
|
125
|
-
/* @__PURE__ */ r(
|
|
126
|
-
er,
|
|
127
|
-
{
|
|
128
|
-
className: x,
|
|
129
|
-
classNameArrows: v,
|
|
130
|
-
classNameActiveArrows: T
|
|
131
|
-
}
|
|
132
|
-
),
|
|
133
|
-
/* @__PURE__ */ r(or, { isLoading: t, showPagination: e })
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
}
|
|
138
|
-
),
|
|
139
|
-
e && /* @__PURE__ */ r(
|
|
140
|
-
tr,
|
|
141
|
-
{
|
|
142
|
-
showTotalItems: a,
|
|
143
|
-
showDropdownPagination: i,
|
|
144
|
-
showDotPagination: l,
|
|
145
|
-
showFormPagination: m,
|
|
146
|
-
pageSizes: z,
|
|
147
|
-
isLoading: t
|
|
148
|
-
}
|
|
149
|
-
)
|
|
150
|
-
] })
|
|
151
|
-
}
|
|
152
|
-
);
|
|
62
|
+
const e = Y(() => h || [a, i, l, m].some(Boolean), []);
|
|
63
|
+
return /* @__PURE__ */ r(D, { id: c, columns: d, data: f, getRowId: w, fetchData: A, totalItems: u, queryOptions: y, isPaginationEnabled: e, enableExpandedRow: M, expandedState: W, onExpandedChange: S, defaultExpanded: q, classNameExpandedRow: F, classNameExpandedCell: G, classNameExpandedContent: J, classNameExpandedHeader: O, classNameActiveExpandedRow: Q, enableHoverRow: I, classNameHoverRow: K, renderExpandedRow: U, keepExpandColumnVisible: X, children: /* @__PURE__ */ n("section", { className: s("w-full min-w-fit", b), children: [
|
|
64
|
+
B && /* @__PURE__ */ r(L, { actions: k, filters: g, multiSelectFilter: j, placeholder: V, showFilterInput: R, showResetButton: P, resetButtonClassName: C, closeOnApply: H }),
|
|
65
|
+
/* @__PURE__ */ r(rr, { showPagination: e, classNameWrapperTable: N, isLoading: t, children: /* @__PURE__ */ n("table", { className: s("w-full border-collapse table-auto", "dark:border-separate dark:border-spacing-0", E), "aria-label": p, children: [
|
|
66
|
+
/* @__PURE__ */ r(er, { className: x, classNameArrows: v, classNameActiveArrows: T }),
|
|
67
|
+
/* @__PURE__ */ r(or, { isLoading: t, showPagination: e })
|
|
68
|
+
] }) }),
|
|
69
|
+
e && /* @__PURE__ */ r(tr, { showTotalItems: a, showDropdownPagination: i, showDotPagination: l, showFormPagination: m, pageSizes: z, isLoading: t })
|
|
70
|
+
] }) });
|
|
153
71
|
}, o = lr;
|
|
154
72
|
o.displayName = "KonstructVirtualizedTable";
|
|
155
73
|
o.TruncateText = ar;
|
|
@@ -1,25 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
onClick: e,
|
|
14
|
-
children: /* @__PURE__ */ o(
|
|
15
|
-
"path",
|
|
16
|
-
{
|
|
17
|
-
d: "M0.8225 0L3.5 2.67167L6.1775 0L7 0.8225L3.5 4.3225L0 0.8225L0.8225 0Z",
|
|
18
|
-
fill: "currentColor"
|
|
19
|
-
}
|
|
20
|
-
)
|
|
21
|
-
}
|
|
22
|
-
);
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "../../../compiler-runtime-DA41awpA.js";
|
|
3
|
+
const a = (n) => {
|
|
4
|
+
const e = c.c(4), {
|
|
5
|
+
className: l,
|
|
6
|
+
onClick: r
|
|
7
|
+
} = n;
|
|
8
|
+
let t;
|
|
9
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ i("path", { d: "M0.8225 0L3.5 2.67167L6.1775 0L7 0.8225L3.5 4.3225L0 0.8225L0.8225 0Z", fill: "currentColor" }), e[0] = t) : t = e[0];
|
|
10
|
+
let o;
|
|
11
|
+
return e[1] !== l || e[2] !== r ? (o = /* @__PURE__ */ i("svg", { width: "7", height: "5", viewBox: "0 0 7 5", fill: "none", className: l, onClick: r, children: t }), e[1] = l, e[2] = r, e[3] = o) : o = e[3], o;
|
|
12
|
+
};
|
|
23
13
|
export {
|
|
24
|
-
|
|
14
|
+
a as default
|
|
25
15
|
};
|
|
@@ -1,25 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}) => /* @__PURE__ */ o(
|
|
6
|
-
"svg",
|
|
7
|
-
{
|
|
8
|
-
width: "7",
|
|
9
|
-
height: "5",
|
|
10
|
-
viewBox: "0 0 7 5",
|
|
11
|
-
fill: "currentColor",
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as n } from "../../../compiler-runtime-DA41awpA.js";
|
|
3
|
+
const a = (i) => {
|
|
4
|
+
const e = n.c(4), {
|
|
12
5
|
className: r,
|
|
13
|
-
onClick:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
)
|
|
21
|
-
}
|
|
22
|
-
);
|
|
6
|
+
onClick: l
|
|
7
|
+
} = i;
|
|
8
|
+
let t;
|
|
9
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ c("path", { d: "M0.8225 4.99999L3.5 2.32832L6.1775 4.99999L7 4.17749L3.5 0.67749L0 4.17749L0.8225 4.99999Z", fill: "currentColor" }), e[0] = t) : t = e[0];
|
|
10
|
+
let o;
|
|
11
|
+
return e[1] !== r || e[2] !== l ? (o = /* @__PURE__ */ c("svg", { width: "7", height: "5", viewBox: "0 0 7 5", fill: "currentColor", className: r, onClick: l, children: t }), e[1] = r, e[2] = l, e[3] = o) : o = e[3], o;
|
|
12
|
+
};
|
|
23
13
|
export {
|
|
24
|
-
|
|
14
|
+
a as default
|
|
25
15
|
};
|
|
@@ -1,118 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { jsx as f, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
+
import { c as R } from "../../../../compiler-runtime-DA41awpA.js";
|
|
3
|
+
import { Button as A } from "../../../Button/Button.js";
|
|
4
|
+
import { cn as d } from "../../../../utils/index.js";
|
|
5
|
+
import { E as T } from "../../../../ellipsis-vertical-Cl3yNtOy.js";
|
|
6
|
+
const I = (h) => {
|
|
7
|
+
const e = R.c(33);
|
|
8
|
+
let t, a, r, l, o, s;
|
|
9
|
+
if (e[0] !== h) {
|
|
10
|
+
s = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
11
|
+
e: {
|
|
12
|
+
const {
|
|
13
|
+
actions: y,
|
|
14
|
+
wrapperClassName: b,
|
|
15
|
+
triggerButtonClassName: v,
|
|
16
|
+
iconTriggerButtonClassName: x,
|
|
17
|
+
wrapperActionsClassName: N,
|
|
18
|
+
wrapperContentActionsClassName: k,
|
|
19
|
+
...S
|
|
20
|
+
} = h;
|
|
21
|
+
if (!y) {
|
|
22
|
+
s = null;
|
|
23
|
+
break e;
|
|
24
|
+
}
|
|
25
|
+
e[7] !== b ? (l = d("relative group", b), e[7] = b, e[8] = l) : l = e[8];
|
|
26
|
+
let c;
|
|
27
|
+
e[9] !== v ? (c = d("text-slate-400", "group-hover:text-slate-800", "group-hover:bg-aurora-50", "dark:text-metal-400", "dark:group-hover:text-aurora-500", "dark:group-hover:bg-aurora-900", v), e[9] = v, e[10] = c) : c = e[10];
|
|
28
|
+
let m;
|
|
29
|
+
e[11] !== x ? (m = d("w-7 h-7", x), e[11] = x, e[12] = m) : m = e[12];
|
|
30
|
+
let p;
|
|
31
|
+
e[13] !== m ? (p = /* @__PURE__ */ f(T, { "aria-hidden": "true", className: m }), e[13] = m, e[14] = p) : p = e[14];
|
|
32
|
+
let g;
|
|
33
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ f("span", { className: "sr-only", children: "Show Actions" }), e[15] = g) : g = e[15], e[16] !== c || e[17] !== p ? (o = /* @__PURE__ */ _(A, { variant: "link", shape: "circle", size: "large", className: c, role: "presentation", children: [
|
|
34
|
+
p,
|
|
35
|
+
g
|
|
36
|
+
] }), e[16] = c, e[17] = p, e[18] = o) : o = e[18], e[19] !== N ? (r = d("absolute", "top-full", "right-0", "w-53.75", "hidden", "group-hover:block", "z-10", N), e[19] = N, e[20] = r) : r = e[20], e[21] !== k ? (t = d("bg-white", "mt-0.5", "py-2", "rounded-lg", "shadow-lg", "border", "border-zinc-100", "animate-in", "fade-in-0", "dark:bg-metal-800", "dark:border-metal-700", k), e[21] = k, e[22] = t) : t = e[22], a = y.map((j, z) => {
|
|
37
|
+
const {
|
|
38
|
+
id: B,
|
|
39
|
+
label: w,
|
|
40
|
+
className: E,
|
|
41
|
+
component: C,
|
|
42
|
+
componentProps: $,
|
|
43
|
+
onClick: P
|
|
44
|
+
} = j;
|
|
45
|
+
return /* @__PURE__ */ f(C === void 0 ? A : C, { className: d("w-full", "text-slate-800", "cursor-pointer", "p-0", "h-9", "flex", "gap-2", "text-sm", "font-normal", "justify-start", "rounded-none", "px-6", "hover:bg-gray-50", "hover:text-slate-800", "hover:no-underline", "dark:hover:bg-metal-700", E), variant: "link", role: "presentation", onClick: () => P(S.row.original), ...$, children: w }, B ?? (typeof w == "string" ? w : `action-${z}`));
|
|
46
|
+
});
|
|
40
47
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"div",
|
|
57
|
-
{
|
|
58
|
-
className: r(
|
|
59
|
-
"bg-white",
|
|
60
|
-
"mt-0.5",
|
|
61
|
-
"py-2",
|
|
62
|
-
"rounded-lg",
|
|
63
|
-
"shadow-lg",
|
|
64
|
-
"border",
|
|
65
|
-
"border-zinc-100",
|
|
66
|
-
"animate-in",
|
|
67
|
-
"fade-in-0",
|
|
68
|
-
"dark:bg-metal-800",
|
|
69
|
-
"dark:border-metal-700",
|
|
70
|
-
c
|
|
71
|
-
),
|
|
72
|
-
children: a.map(
|
|
73
|
-
({
|
|
74
|
-
id: p,
|
|
75
|
-
label: o,
|
|
76
|
-
className: h,
|
|
77
|
-
component: u = n,
|
|
78
|
-
componentProps: g,
|
|
79
|
-
onClick: v
|
|
80
|
-
}, f) => /* @__PURE__ */ e(
|
|
81
|
-
u,
|
|
82
|
-
{
|
|
83
|
-
className: r(
|
|
84
|
-
"w-full",
|
|
85
|
-
"text-slate-800",
|
|
86
|
-
"cursor-pointer",
|
|
87
|
-
"p-0",
|
|
88
|
-
"h-9",
|
|
89
|
-
"flex",
|
|
90
|
-
"gap-2",
|
|
91
|
-
"text-sm",
|
|
92
|
-
"font-normal",
|
|
93
|
-
"justify-start",
|
|
94
|
-
"rounded-none",
|
|
95
|
-
"px-6",
|
|
96
|
-
"hover:bg-gray-50",
|
|
97
|
-
"hover:text-slate-800",
|
|
98
|
-
"hover:no-underline",
|
|
99
|
-
"dark:hover:bg-metal-700",
|
|
100
|
-
h
|
|
101
|
-
),
|
|
102
|
-
variant: "link",
|
|
103
|
-
role: "presentation",
|
|
104
|
-
onClick: () => v(m.row.original),
|
|
105
|
-
...g,
|
|
106
|
-
children: o
|
|
107
|
-
},
|
|
108
|
-
p ?? (typeof o == "string" ? o : `action-${f}`)
|
|
109
|
-
)
|
|
110
|
-
)
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
}
|
|
114
|
-
)
|
|
115
|
-
] }) : null;
|
|
48
|
+
e[0] = h, e[1] = t, e[2] = a, e[3] = r, e[4] = l, e[5] = o, e[6] = s;
|
|
49
|
+
} else
|
|
50
|
+
t = e[1], a = e[2], r = e[3], l = e[4], o = e[5], s = e[6];
|
|
51
|
+
if (s !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
|
|
52
|
+
return s;
|
|
53
|
+
let n;
|
|
54
|
+
e[23] !== t || e[24] !== a ? (n = /* @__PURE__ */ f("div", { className: t, children: a }), e[23] = t, e[24] = a, e[25] = n) : n = e[25];
|
|
55
|
+
let i;
|
|
56
|
+
e[26] !== r || e[27] !== n ? (i = /* @__PURE__ */ f("div", { className: r, children: n }), e[26] = r, e[27] = n, e[28] = i) : i = e[28];
|
|
57
|
+
let u;
|
|
58
|
+
return e[29] !== l || e[30] !== o || e[31] !== i ? (u = /* @__PURE__ */ _("div", { className: l, children: [
|
|
59
|
+
o,
|
|
60
|
+
i
|
|
61
|
+
] }), e[29] = l, e[30] = o, e[31] = i, e[32] = u) : u = e[32], u;
|
|
62
|
+
};
|
|
116
63
|
export {
|
|
117
|
-
|
|
64
|
+
I as Actions
|
|
118
65
|
};
|