@konstructio/ui 0.1.2-alpha.101 → 0.1.2-alpha.103
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/AlertDialogTrigger-CgcsW_ta.js +109 -0
- package/dist/{Breadcrumb-Bmv0vzgt.js → Breadcrumb-Cp3abB2w.js} +1 -1
- package/dist/Checkbox-DzAx7n67.js +249 -0
- package/dist/{CommandInput-CYYsk_31.js → CommandInput-BnvRMfLI.js} +2 -2
- package/dist/{Counter-DWKyr569.js → Counter-CY0xGnVM.js} +2 -2
- package/dist/{DayPicker-CwO8Zff5.js → DayPicker-kweJz134.js} +750 -746
- package/dist/{DropdownButton-Beel5_gN.js → DropdownButton-DnlwdPmb.js} +1 -1
- package/dist/FlagSelectorList-BoYG-_It.js +852 -0
- package/dist/{HamburgerTrigger-7a4POUaM.js → HamburgerTrigger-1vOTrm8-.js} +2 -2
- package/dist/{Input-DG3snJf_.js → Input-CW0VwW2T.js} +4 -4
- package/dist/{Modal-Bcu6LLAp.js → Modal-Bfzggwlr.js} +2 -2
- package/dist/{Spinner-BegZ5yd7.js → Spinner-Lw9mZYhg.js} +1 -1
- package/dist/Switch-WBRr8uOJ.js +196 -0
- package/dist/Toast-ByH-l4XK.js +459 -0
- package/dist/{Wrapper-DwxJAkNQ.js → Wrapper-ClJ_Mham.js} +2 -2
- package/dist/{Wrapper-DtT29fc5.js → Wrapper-XeeD3av7.js} +1 -1
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Command/Command.js +2 -2
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +1 -1
- package/dist/components/Command/components/CommandInput.js +1 -1
- package/dist/components/Command/components/CommandItem.js +1 -1
- package/dist/components/Command/components/CommandList.js +1 -1
- package/dist/components/Command/components/CommandSeparator.js +1 -1
- package/dist/components/Command/components/DialogContent.js +2 -2
- package/dist/components/Command/components/DialogOverlay.js +1 -1
- package/dist/components/Command/components/index.js +1 -1
- package/dist/components/Counter/Counter.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +2 -3
- package/dist/components/Drawer/Drawer.js +2 -2
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/Filter.js +4 -3
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +23 -24
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +60 -65
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +35 -43
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +40 -45
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +33 -34
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +45 -51
- package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +28 -0
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +56 -61
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +33 -34
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +70 -75
- package/dist/components/Filter/contexts/filter.provider.js +8 -5
- package/dist/components/Filter/utils/index.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/LineChart/LineChart.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/MultiSelectDropdown/components/index.js +1 -1
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +2 -2
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +2 -2
- package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
- package/dist/components/PhoneNumberInput/components/index.js +2 -2
- package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
- package/dist/components/PieChart/PieChart.js +1 -1
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Select/components/List/List.js +1 -1
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Sidebar/components/index.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Table/components/Filter.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/components/Content.js +1 -1
- package/dist/components/Tabs/components/List.js +1 -1
- package/dist/components/Tabs/components/Trigger.js +1 -1
- package/dist/components/TagSelect/TagSelect.js +1 -1
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/TagSelect/components/index.js +1 -1
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.js +87 -87
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +19 -19
- package/dist/components/VirtualizedTable/components/Body/Body.js +50 -49
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +67 -21
- package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +53 -63
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +10 -10
- package/dist/components/VirtualizedTable/components/Header/Header.js +47 -34
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +19 -15
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +10 -10
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1 -1
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +8 -8
- package/dist/components/VirtualizedTable/contexts/index.js +1 -1
- package/dist/components/VirtualizedTable/contexts/table.context.js +1 -0
- package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
- package/dist/components/index.js +10 -10
- package/dist/{components-CYt24H4n.js → components-BIHlj4yH.js} +1 -1
- package/dist/{debounce-KoeGNmnW.js → debounce-C5Ycjilj.js} +14 -14
- package/dist/dist-2bGlmy8N2.js +165 -0
- package/dist/dist-BiJrNvNo.js +193 -0
- package/dist/dist-BuFiu480.js +13 -0
- package/dist/dist-C2aTw0m62.js +1320 -0
- package/dist/{dist-DvoMuWKO2.js → dist-C2s4VX-42.js} +4 -4
- package/dist/dist-CT6d9xe7.js +441 -0
- package/dist/dist-CTvBzxW8.js +31 -0
- package/dist/dist-CVDFmWf2.js +358 -0
- package/dist/dist-D4FePjTS.js +194 -0
- package/dist/dist-DISvWx7U.js +99 -0
- package/dist/dist-Db6UeFo4.js +291 -0
- package/dist/{dist-DGO9opgu.js → dist-Dse3gSmZ.js} +49 -49
- package/dist/dist-j7FOUrFU.js +206 -0
- package/dist/{dist-C8NWUTUh.js → dist-l-aDnQZC.js} +1 -1
- package/dist/es2015-BWf6xQHm.js +222 -0
- package/dist/index.js +10 -10
- package/dist/{isObject-1ZmdWuhC.js → isObject-BeFFiVJK.js} +8 -8
- package/dist/lib/components/Alert/Alert.types.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialog.types.d.ts +1 -1
- package/dist/lib/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +2 -2
- package/dist/lib/components/Autocomplete/Autocomplete.types.d.ts +1 -1
- package/dist/lib/components/Breadcrumb/Breadcrumb.types.d.ts +1 -1
- package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.types.d.ts +1 -1
- package/dist/lib/components/Breadcrumb/components/Item/Item.types.d.ts +1 -1
- package/dist/lib/components/Button/Button.types.d.ts +1 -1
- package/dist/lib/components/ButtonGroup/ButtonGroup.types.d.ts +1 -1
- package/dist/lib/components/Card/Card.types.d.ts +1 -1
- package/dist/lib/components/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/lib/components/Command/Command.types.d.ts +1 -1
- package/dist/lib/components/Counter/Counter.types.d.ts +1 -1
- package/dist/lib/components/DateRangePicker/DateRangePicker.types.d.ts +1 -1
- package/dist/lib/components/Drawer/Drawer.types.d.ts +1 -1
- package/dist/lib/components/Filter/Filter.types.d.ts +1 -1
- package/dist/lib/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.d.ts +2 -3
- package/dist/lib/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.d.ts +1 -2
- package/dist/lib/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.d.ts +2 -3
- package/dist/lib/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.types.d.ts +1 -1
- package/dist/lib/components/Filter/components/FilterDropdown/FilterDropdown.d.ts +3 -0
- package/dist/lib/components/Filter/components/FilterDropdown/FilterDropdown.types.d.ts +9 -0
- package/dist/lib/components/Filter/components/ResetButton/ResetButton.types.d.ts +1 -1
- package/dist/lib/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.d.ts +1 -2
- package/dist/lib/components/Filter/contexts/filter.context.d.ts +1 -0
- package/dist/lib/components/ImageUpload/ImageUpload.types.d.ts +1 -1
- package/dist/lib/components/Input/Input.types.d.ts +1 -1
- package/dist/lib/components/LineChart/LineChart.types.d.ts +1 -1
- package/dist/lib/components/Loading/Loading.types.d.ts +1 -1
- package/dist/lib/components/Modal/Modal.types.d.ts +1 -1
- package/dist/lib/components/Modal/components/Wrapper/Wrapper.types.d.ts +1 -1
- package/dist/lib/components/MultiSelectDropdown/components/Item/Item.types.d.ts +1 -1
- package/dist/lib/components/MultiSelectDropdown/components/List/List.types.d.ts +1 -1
- package/dist/lib/components/MultiSelectDropdown/components/Wrapper/Wrapper.types.d.ts +1 -1
- package/dist/lib/components/ProgressBar/ProgressBar.types.d.ts +1 -1
- package/dist/lib/components/Radio/Radio.types.d.ts +1 -1
- package/dist/lib/components/RadioCard/RadioCard.types.d.ts +1 -1
- package/dist/lib/components/RadioCardGroup/RadioCardGroup.types.d.ts +1 -1
- package/dist/lib/components/RadioGroup/RadioGroup.types.d.ts +1 -1
- package/dist/lib/components/Range/Range.types.d.ts +1 -1
- package/dist/lib/components/Select/Select.types.d.ts +1 -1
- package/dist/lib/components/Sidebar/Sidebar.types.d.ts +2 -2
- package/dist/lib/components/Sidebar/components/Label/Label.types.d.ts +1 -1
- package/dist/lib/components/Slider/Slider.types.d.ts +1 -1
- package/dist/lib/components/Spinner/Spinner.types.d.ts +2 -2
- package/dist/lib/components/Stepper/Stepper.types.d.ts +1 -1
- package/dist/lib/components/Stepper/components/StepItem/StepItem.types.d.ts +1 -1
- package/dist/lib/components/Switch/Switch.types.d.ts +1 -1
- package/dist/lib/components/Table/Table.types.d.ts +1 -1
- package/dist/lib/components/Tabs/Tabs.types.d.ts +1 -1
- package/dist/lib/components/TagSelect/TagSelect.types.d.ts +1 -1
- package/dist/lib/components/TagSelect/components/Item/Item.types.d.ts +2 -2
- package/dist/lib/components/TagSelect/components/List/List.types.d.ts +1 -1
- package/dist/lib/components/TagSelect/components/Wrapper/Wrapper.types.d.ts +1 -1
- package/dist/lib/components/TagSelect/contexts/TagSelect.types.d.ts +1 -1
- package/dist/lib/components/TextArea/TextArea.types.d.ts +1 -1
- package/dist/lib/components/Toast/Toast.types.d.ts +1 -1
- package/dist/lib/components/Typography/Typography.types.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/VirtualizedTable.types.d.ts +27 -3
- package/dist/lib/components/VirtualizedTable/components/Body/Body.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Body/Body.types.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.types.d.ts +2 -0
- package/dist/lib/components/VirtualizedTable/components/Filter/Filter.types.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Header/Header.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/Header/Header.types.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/components/Pagination/Pagination.types.d.ts +2 -0
- package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.types.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/contexts/table.context.d.ts +2 -0
- package/dist/lib/components/VirtualizedTable/contexts/table.provider.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/contexts/table.types.d.ts +1 -0
- package/dist/lib/contexts/theme.context.d.ts +1 -1
- package/dist/lib/contexts/theme.hook.d.ts +1 -1
- package/dist/package.json +34 -33
- package/dist/{phone-number.provider-CJJOFYk-.js → phone-number.provider-BxQCTxp8.js} +457 -457
- package/dist/{prop-types-CaJpPVsa.js → prop-types-CfEYxTbR.js} +52 -52
- package/dist/styles.css +1 -1
- package/dist/{table.provider-9uUt5a-s.js → table.provider-2sAkE7z_.js} +395 -368
- package/dist/{utils-B6A9pnrH.js → utils-B-BTGYA5.js} +193 -193
- package/dist/{x-CESTrenk.js → x-BI9jmc7e.js} +1 -1
- package/package.json +34 -33
- package/dist/AlertDialogTrigger-HhbFOOUE.js +0 -124
- package/dist/Checkbox-B1rTwzR3.js +0 -240
- package/dist/FlagSelectorList-BARhzfj2.js +0 -848
- package/dist/Switch-1RGhhTtg.js +0 -178
- package/dist/Toast-CS-igZor.js +0 -467
- package/dist/dist-7edduNXi.js +0 -398
- package/dist/dist-BkYHh2kH.js +0 -408
- package/dist/dist-C6Cif8-U.js +0 -28
- package/dist/dist-CeuUxVmT.js +0 -13
- package/dist/dist-CfYOvauX.js +0 -125
- package/dist/dist-CktbIsHq.js +0 -264
- package/dist/dist-DGqWMRtc.js +0 -183
- package/dist/dist-DdFwUrO22.js +0 -11
- package/dist/dist-DnGj9MTf.js +0 -1692
- package/dist/dist-eAwtFCCA.js +0 -87
- /package/dist/{dist-AihTpWdF2.js → dist-AihTpWdF.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as p } from "../../phone-number.provider-
|
|
2
|
-
import { t } from "../../Wrapper-
|
|
1
|
+
import { t as p } from "../../phone-number.provider-BxQCTxp8.js";
|
|
2
|
+
import { t } from "../../Wrapper-XeeD3av7.js";
|
|
3
3
|
import { forwardRef as f } from "react";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
var h = f(({ defaultCountryCode: o = "US", ...m }, e) => /* @__PURE__ */ r(p, {
|
package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as n } from "../../../../Input-
|
|
1
|
+
import { t as n } from "../../../../Input-CW0VwW2T.js";
|
|
2
2
|
import { t as d } from "../../../../utils-Cx-WzRZF.js";
|
|
3
|
-
import { t as p } from "../../../../FlagSelectorList-
|
|
3
|
+
import { t as p } from "../../../../FlagSelectorList-BoYG-_It.js";
|
|
4
4
|
import { usePhoneNumberContext as c } from "../../contexts/phone-number.hook.js";
|
|
5
5
|
import { useCallback as u } from "react";
|
|
6
6
|
import { jsx as r, jsxs as h } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as f } from "../../../../rolldown-runtime-Ck3dxwZt.js";
|
|
2
|
-
import { a as u, i as b, n as m, o as p } from "../../../../dist-
|
|
3
|
-
import { t as h } from "../../../../debounce-
|
|
2
|
+
import { a as u, i as b, n as m, o as p } from "../../../../dist-CVDFmWf2.js";
|
|
3
|
+
import { t as h } from "../../../../debounce-C5Ycjilj.js";
|
|
4
4
|
import { useCallback as w, useEffect as i, useRef as g, useState as v } from "react";
|
|
5
5
|
import { jsx as s, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
var k = /* @__PURE__ */ f(h(), 1), N = ({ text: r, prefix: n }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t } from "../../../FlagSelectorList-
|
|
2
|
-
import { t as p } from "../../../Wrapper-
|
|
1
|
+
import { t } from "../../../FlagSelectorList-BoYG-_It.js";
|
|
2
|
+
import { t as p } from "../../../Wrapper-XeeD3av7.js";
|
|
3
3
|
export {
|
|
4
4
|
t as FlagSelectorList,
|
|
5
5
|
p as Wrapper
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PhoneNumberContext as r } from "./phone-number.context.js";
|
|
2
|
-
import { t as m } from "../../../phone-number.provider-
|
|
2
|
+
import { t as m } from "../../../phone-number.provider-BxQCTxp8.js";
|
|
3
3
|
import { usePhoneNumberContext as n } from "./phone-number.hook.js";
|
|
4
4
|
export {
|
|
5
5
|
r as PhoneNumberContext,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { i as v, n as V, r as i, t as S } from "../../dist-
|
|
2
|
+
import { i as v, n as V, r as i, t as S } from "../../dist-CT6d9xe7.js";
|
|
3
3
|
import { rangeOutsideVariants as R, rangeVariants as j, thumbVariants as c, trackVariants as b } from "./Range.variants.js";
|
|
4
4
|
import { forwardRef as k, useCallback as w, useEffect as y, useImperativeHandle as C, useRef as T, useState as E } from "react";
|
|
5
5
|
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as K } from "../../../../rolldown-runtime-Ck3dxwZt.js";
|
|
2
2
|
import { t as n } from "../../../../utils-Cx-WzRZF.js";
|
|
3
3
|
import { t as Q } from "../../../../Loading-fD0Xiyeq.js";
|
|
4
|
-
import { t as W } from "../../../../debounce-
|
|
4
|
+
import { t as W } from "../../../../debounce-C5Ycjilj.js";
|
|
5
5
|
import { useSelectContext as Y } from "../../contexts/select.hook.js";
|
|
6
6
|
import { n as $, t as R } from "../../../../AdditionalOptions-Cj29eeMF.js";
|
|
7
7
|
import { listGroupLabelVariants as ee, listVariants as te } from "./List.variants.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as l } from "../../../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { a as T, i as j, n as P, o as V, r as A, t as D } from "../../../../dist-
|
|
2
|
+
import { a as T, i as j, n as P, o as V, r as A, t as D } from "../../../../dist-CVDFmWf2.js";
|
|
3
3
|
import { useSidebarContext as E } from "../../contexts/SidebarContext.js";
|
|
4
4
|
import { NavigationOptionContext as H } from "./NavigationOption.context.js";
|
|
5
5
|
import { navigationOptionVariants as R } from "./NavigationOption.variants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as B } from "../../../../HamburgerTrigger-
|
|
1
|
+
import { t as B } from "../../../../HamburgerTrigger-1vOTrm8-.js";
|
|
2
2
|
import { t as i } from "../../../../utils-Cx-WzRZF.js";
|
|
3
3
|
import { Drawer as G } from "../../../Drawer/Drawer.js";
|
|
4
4
|
import { SidebarContext as z } from "../../contexts/SidebarContext.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as r } from "../../../HamburgerTrigger-
|
|
1
|
+
import { t as r } from "../../../HamburgerTrigger-1vOTrm8-.js";
|
|
2
2
|
import { Footer as m } from "./Footer/Footer.js";
|
|
3
3
|
import { Label as a } from "./Label/Label.js";
|
|
4
4
|
import { Logo as f } from "./Logo/Logo.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t } from "../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { i as v, r as N, t as S } from "../../dist-
|
|
2
|
+
import { i as v, r as N, t as S } from "../../dist-CT6d9xe7.js";
|
|
3
3
|
import { sliderVariants as V, thumbVariants as b, trackVariants as g } from "./Slider.variants.js";
|
|
4
4
|
import { forwardRef as j, useCallback as k, useEffect as w, useImperativeHandle as y, useRef as C, useState as R } from "react";
|
|
5
5
|
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as s } from "../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { r as e } from "../../dist-
|
|
2
|
+
import { r as e } from "../../dist-Db6UeFo4.js";
|
|
3
3
|
import { rootVariants as p } from "./Tabs.variants.js";
|
|
4
4
|
import { Content as n } from "./components/Content.js";
|
|
5
5
|
import { List as f } from "./components/List.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as r } from "../../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { t as n } from "../../../dist-
|
|
2
|
+
import { t as n } from "../../../dist-Db6UeFo4.js";
|
|
3
3
|
import { contentVariants as m } from "../Tabs.variants.js";
|
|
4
4
|
import { jsx as s } from "react/jsx-runtime";
|
|
5
5
|
var e = ({ children: t, className: o, ...a }) => /* @__PURE__ */ s(n, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as a } from "../../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { n } from "../../../dist-
|
|
2
|
+
import { n } from "../../../dist-Db6UeFo4.js";
|
|
3
3
|
import { listVariants as t } from "../Tabs.variants.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
var e = ({ children: s, className: i, orientation: m, ...o }) => /* @__PURE__ */ r("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../../utils-Cx-WzRZF.js";
|
|
2
2
|
import { Typography as m } from "../../Typography/Typography.js";
|
|
3
|
-
import { i as n } from "../../../dist-
|
|
3
|
+
import { i as n } from "../../../dist-Db6UeFo4.js";
|
|
4
4
|
import { triggerVariants as p } from "../Tabs.variants.js";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
6
|
var s = ({ tab: a, label: i, isActive: o, className: t }) => /* @__PURE__ */ r(n, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as m } from "../../Wrapper-
|
|
2
|
+
import { t as m } from "../../Wrapper-ClJ_Mham.js";
|
|
3
3
|
import { TagSelectProvider as p } from "./contexts/TagSelect.provider.js";
|
|
4
4
|
import { forwardRef as a } from "react";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as p } from "../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { a as c, i as h, n as x, o as f, r as g, t as w } from "../../dist-
|
|
2
|
+
import { a as c, i as h, n as x, o as f, r as g, t as w } from "../../dist-CVDFmWf2.js";
|
|
3
3
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
4
4
|
var C = ({ content: t, children: e, side: s = "top", sideOffset: o = 4, bgClassName: i = "bg-slate-700", arrowClassName: l = "fill-slate-700", textClassName: n = "text-white", className: d, delayDuration: m = 0 }) => /* @__PURE__ */ r(h, {
|
|
5
5
|
delayDuration: m,
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { Actions as
|
|
3
|
-
import { t as
|
|
4
|
-
import { sendCollapseRowEvent as
|
|
5
|
-
import { Body as
|
|
6
|
-
import { Filter as
|
|
7
|
-
import { Header as
|
|
8
|
-
import { Pagination as
|
|
9
|
-
import { TruncateText as
|
|
10
|
-
import { WrapperBody as
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
l,
|
|
1
|
+
import { t as l } from "../../utils-Cx-WzRZF.js";
|
|
2
|
+
import { Actions as ee } from "./components/Actions/Actions.js";
|
|
3
|
+
import { t as re } from "../../table.provider-2sAkE7z_.js";
|
|
4
|
+
import { sendCollapseRowEvent as te, sendExpandRowEvent as ae, sendResetFiltersEvent as le, sendToggleRowEvent as oe } from "./events/index.js";
|
|
5
|
+
import { Body as ie } from "./components/Body/Body.js";
|
|
6
|
+
import { Filter as se } from "./components/Filter/Filter.js";
|
|
7
|
+
import { Header as ne } from "./components/Header/Header.js";
|
|
8
|
+
import { Pagination as me } from "./components/Pagination/Pagination.js";
|
|
9
|
+
import { TruncateText as ce } from "./components/TruncateText/TruncateText.js";
|
|
10
|
+
import { WrapperBody as de } from "./components/WrapperBody/WrapperBody.js";
|
|
11
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
12
|
+
var pe = ({ id: i, ariaLabel: p, columns: f, data: v, totalItems: u = -1 / 0, className: b, classNameHeaderActiveArrows: w, classNameHeaderArrows: T, classNameHeaderTable: E, classNameTable: N, classNameWrapperTable: k, isLoading: a, emptyState: x, errorState: h, headerContent: A, classNameHeaderContent: y, classNameScrollContainer: s, getRowId: R, fetchData: z, queryOptions: B, showPagination: P, showTotalItems: n, showDropdownPagination: m, showDotPagination: c, showFormPagination: d, pageSizes: V, dropdownPaginationDirection: g, showFilter: j = !1, showFilterInput: F, filterSearchPlaceholder: H = "", filters: I, multiSelectFilter: K, filterActions: W, showResetButton: q = !0, resetButtonClassName: C, closeOnApply: G = !0, enableHoverRow: J, classNameHoverRow: M, enableExpandedRow: O, expandedState: Q, defaultExpanded: U, classNameExpandedRow: X, classNameExpandedCell: Y, classNameExpandedContent: Z, classNameExpandedHeader: _, classNameActiveExpandedRow: $, onExpandedChange: L, renderExpandedRow: S, keepExpandColumnVisible: D }) => {
|
|
13
|
+
const r = P || [
|
|
14
|
+
n,
|
|
16
15
|
m,
|
|
17
|
-
o,
|
|
18
|
-
s
|
|
19
|
-
].some(Boolean), [
|
|
20
16
|
c,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
s
|
|
25
|
-
]);
|
|
26
|
-
return /* @__PURE__ */ e(h, {
|
|
17
|
+
d
|
|
18
|
+
].some(Boolean);
|
|
19
|
+
return /* @__PURE__ */ e(re, {
|
|
27
20
|
id: i,
|
|
28
21
|
columns: f,
|
|
29
|
-
data:
|
|
22
|
+
data: v,
|
|
23
|
+
headerContent: A,
|
|
30
24
|
getRowId: R,
|
|
31
25
|
fetchData: z,
|
|
32
|
-
totalItems:
|
|
26
|
+
totalItems: u,
|
|
33
27
|
queryOptions: B,
|
|
34
28
|
isPaginationEnabled: r,
|
|
35
|
-
enableExpandedRow:
|
|
36
|
-
expandedState:
|
|
37
|
-
onExpandedChange:
|
|
38
|
-
defaultExpanded:
|
|
39
|
-
classNameExpandedRow:
|
|
40
|
-
classNameExpandedCell:
|
|
41
|
-
classNameExpandedContent:
|
|
42
|
-
classNameExpandedHeader:
|
|
43
|
-
classNameActiveExpandedRow:
|
|
44
|
-
enableHoverRow:
|
|
45
|
-
classNameHoverRow:
|
|
46
|
-
renderExpandedRow:
|
|
47
|
-
keepExpandColumnVisible:
|
|
48
|
-
children: /* @__PURE__ */
|
|
49
|
-
className:
|
|
50
|
-
children: [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
29
|
+
enableExpandedRow: O,
|
|
30
|
+
expandedState: Q,
|
|
31
|
+
onExpandedChange: L,
|
|
32
|
+
defaultExpanded: U,
|
|
33
|
+
classNameExpandedRow: X,
|
|
34
|
+
classNameExpandedCell: Y,
|
|
35
|
+
classNameExpandedContent: Z,
|
|
36
|
+
classNameExpandedHeader: _,
|
|
37
|
+
classNameActiveExpandedRow: $,
|
|
38
|
+
enableHoverRow: J,
|
|
39
|
+
classNameHoverRow: M,
|
|
40
|
+
renderExpandedRow: S,
|
|
41
|
+
keepExpandColumnVisible: D,
|
|
42
|
+
children: /* @__PURE__ */ o("section", {
|
|
43
|
+
className: l("kvt", "w-full min-w-fit", b),
|
|
44
|
+
children: [j && /* @__PURE__ */ e(se, {
|
|
45
|
+
id: i,
|
|
46
|
+
actions: W,
|
|
47
|
+
filters: I,
|
|
48
|
+
multiSelectFilter: K,
|
|
49
|
+
placeholder: H,
|
|
50
|
+
showFilterInput: F,
|
|
51
|
+
showResetButton: q,
|
|
52
|
+
resetButtonClassName: C,
|
|
53
|
+
closeOnApply: G
|
|
54
|
+
}), /* @__PURE__ */ e("div", {
|
|
55
|
+
className: l("kvt-scroll", "w-full", s),
|
|
56
|
+
children: /* @__PURE__ */ o("div", {
|
|
57
|
+
className: "kvt-scroll-content w-full min-w-fit",
|
|
58
|
+
children: [/* @__PURE__ */ e(de, {
|
|
59
|
+
showPagination: r,
|
|
60
|
+
classNameWrapperTable: k,
|
|
61
|
+
isLoading: a,
|
|
62
|
+
children: /* @__PURE__ */ o("table", {
|
|
63
|
+
className: l("kvt-table", "w-full border-collapse table-auto", "dark:border-separate dark:border-spacing-0", N),
|
|
64
|
+
"aria-label": p,
|
|
65
|
+
children: [/* @__PURE__ */ e(ne, {
|
|
66
|
+
className: E,
|
|
67
|
+
classNameArrows: T,
|
|
68
|
+
classNameActiveArrows: w,
|
|
69
|
+
classNameHeaderContent: y
|
|
70
|
+
}), /* @__PURE__ */ e(ie, {
|
|
71
|
+
isLoading: a,
|
|
72
|
+
showPagination: r,
|
|
73
|
+
emptyState: x,
|
|
74
|
+
errorState: h
|
|
75
|
+
})]
|
|
76
|
+
})
|
|
77
|
+
}), r && /* @__PURE__ */ e(me, {
|
|
78
|
+
showTotalItems: n,
|
|
79
|
+
showDropdownPagination: m,
|
|
80
|
+
showDotPagination: c,
|
|
81
|
+
showFormPagination: d,
|
|
82
|
+
pageSizes: V,
|
|
83
|
+
isLoading: a,
|
|
84
|
+
isListPortal: !!s,
|
|
85
|
+
dropdownPaginationDirection: g
|
|
86
|
+
})]
|
|
87
87
|
})
|
|
88
|
-
]
|
|
88
|
+
})]
|
|
89
89
|
})
|
|
90
90
|
});
|
|
91
|
-
}, t =
|
|
91
|
+
}, t = pe;
|
|
92
92
|
t.displayName = "KonstructVirtualizedTable";
|
|
93
|
-
t.TruncateText =
|
|
94
|
-
t.Actions =
|
|
93
|
+
t.TruncateText = ce;
|
|
94
|
+
t.Actions = ee;
|
|
95
95
|
t.Events = {
|
|
96
|
-
sendExpandRowEvent:
|
|
97
|
-
sendCollapseRowEvent:
|
|
98
|
-
sendToggleRowEvent:
|
|
99
|
-
sendResetFiltersEvent:
|
|
96
|
+
sendExpandRowEvent: ae,
|
|
97
|
+
sendCollapseRowEvent: te,
|
|
98
|
+
sendToggleRowEvent: oe,
|
|
99
|
+
sendResetFiltersEvent: le
|
|
100
100
|
};
|
|
101
101
|
export {
|
|
102
|
-
|
|
102
|
+
ce as TruncateText,
|
|
103
103
|
t as VirtualizedTable
|
|
104
104
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as r } from "../../../../utils-Cx-WzRZF.js";
|
|
2
2
|
import { Button as g } from "../../../Button/Button.js";
|
|
3
3
|
import { t as B } from "../../../../ellipsis-vertical-BBmhzIXn.js";
|
|
4
|
-
import {
|
|
5
|
-
import { jsx as
|
|
6
|
-
var
|
|
7
|
-
const c = R(null), [u, y] = A(!1), k =
|
|
8
|
-
const
|
|
9
|
-
if (!
|
|
10
|
-
const t =
|
|
11
|
-
let
|
|
4
|
+
import { useRef as R, useState as A } from "react";
|
|
5
|
+
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
6
|
+
var C = 36, H = 16, D = ({ actions: i, wrapperClassName: h, triggerButtonClassName: v, iconTriggerButtonClassName: f, wrapperActionsClassName: b, wrapperContentActionsClassName: w, ...x }) => {
|
|
7
|
+
const c = R(null), [u, y] = A(!1), k = () => {
|
|
8
|
+
const o = c.current;
|
|
9
|
+
if (!o || !i) return;
|
|
10
|
+
const t = o.getBoundingClientRect(), p = i.length * C + H;
|
|
11
|
+
let a = 0, l = window.innerHeight, e = o.parentElement;
|
|
12
12
|
for (; e; ) {
|
|
13
13
|
const { overflowY: E } = window.getComputedStyle(e);
|
|
14
14
|
if ([
|
|
@@ -17,15 +17,15 @@ var H = 36, I = 16, G = ({ actions: o, wrapperClassName: h, triggerButtonClassNa
|
|
|
17
17
|
"hidden"
|
|
18
18
|
].includes(E)) {
|
|
19
19
|
const d = e.getBoundingClientRect();
|
|
20
|
-
|
|
20
|
+
a = d.top, l = d.bottom;
|
|
21
21
|
break;
|
|
22
22
|
}
|
|
23
23
|
e = e.parentElement;
|
|
24
24
|
}
|
|
25
|
-
const s = l - t.bottom, N = t.top -
|
|
25
|
+
const s = l - t.bottom, N = t.top - a;
|
|
26
26
|
y(s < p && N > s);
|
|
27
|
-
}
|
|
28
|
-
return
|
|
27
|
+
};
|
|
28
|
+
return i ? /* @__PURE__ */ m("div", {
|
|
29
29
|
ref: c,
|
|
30
30
|
className: r("relative group", h),
|
|
31
31
|
onMouseEnter: k,
|
|
@@ -35,29 +35,29 @@ var H = 36, I = 16, G = ({ actions: o, wrapperClassName: h, triggerButtonClassNa
|
|
|
35
35
|
size: "large",
|
|
36
36
|
className: r("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),
|
|
37
37
|
role: "presentation",
|
|
38
|
-
children: [/* @__PURE__ */
|
|
38
|
+
children: [/* @__PURE__ */ n(B, {
|
|
39
39
|
"aria-hidden": "true",
|
|
40
40
|
className: r("w-7 h-7", f)
|
|
41
|
-
}), /* @__PURE__ */
|
|
41
|
+
}), /* @__PURE__ */ n("span", {
|
|
42
42
|
className: "sr-only",
|
|
43
43
|
children: "Show Actions"
|
|
44
44
|
})]
|
|
45
|
-
}), /* @__PURE__ */
|
|
45
|
+
}), /* @__PURE__ */ n("div", {
|
|
46
46
|
className: r("absolute", "right-0", "w-53.75", "z-10", u ? "bottom-full" : "top-full", u ? "pb-1" : "pt-1", "invisible", "opacity-0", "transition-[opacity,visibility]", "duration-150", "delay-150", "group-hover:visible", "group-hover:opacity-100", "group-hover:delay-0", "group-hover:duration-75", b),
|
|
47
|
-
children: /* @__PURE__ */
|
|
47
|
+
children: /* @__PURE__ */ n("div", {
|
|
48
48
|
className: r("bg-white", "py-2", "rounded-lg", "shadow-lg", "border", "border-zinc-100", "dark:bg-metal-800", "dark:border-metal-700", w),
|
|
49
|
-
children:
|
|
49
|
+
children: i.map(({ id: o, label: t, className: p, component: a = g, componentProps: l, onClick: e }, s) => /* @__PURE__ */ n(a, {
|
|
50
50
|
className: r("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", p),
|
|
51
51
|
variant: "link",
|
|
52
52
|
role: "presentation",
|
|
53
53
|
onClick: () => e(x.row.original),
|
|
54
54
|
...l,
|
|
55
55
|
children: t
|
|
56
|
-
},
|
|
56
|
+
}, o ?? (typeof t == "string" ? t : `action-${s}`)))
|
|
57
57
|
})
|
|
58
58
|
})]
|
|
59
59
|
}) : null;
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
D as Actions
|
|
63
63
|
};
|