@konstructio/ui 0.1.2-alpha.103 → 0.1.2-alpha.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -21
- package/dist/{AdditionalOptions-Cj29eeMF.js → AdditionalOptions-D0BAS2HG.js} +1 -1
- package/dist/{AlertDialogTrigger-CgcsW_ta.js → AlertDialogTrigger-BGo_acd5.js} +3 -3
- package/dist/{Checkbox-DzAx7n67.js → Checkbox-B_ngk9Dj.js} +56 -56
- package/dist/{Combination-cjXRJS03.js → Combination-CnMM05mt.js} +51 -45
- package/dist/{CommandInput-BnvRMfLI.js → CommandInput-BLq69pOT.js} +1 -1
- package/dist/Counter-BV680M5r.js +195 -0
- package/dist/DropdownButton-DfNojmCW.js +493 -0
- package/dist/{FlagSelectorList-BoYG-_It.js → FlagSelectorList-CkTR3j6O.js} +222 -218
- package/dist/{HamburgerTrigger-1vOTrm8-.js → HamburgerTrigger-DRylBL2d.js} +1 -1
- package/dist/{ImageUpload-DZTm4SBB.js → ImageUpload-DiwymQcU.js} +1 -1
- package/dist/{Input-CW0VwW2T.js → Input-Cf44DzfE.js} +18 -18
- package/dist/{Loading-fD0Xiyeq.js → Loading-DUh9PMJN.js} +3 -1
- package/dist/Modal-Dyn088X7.js +81 -0
- package/dist/Sidebar.css +1 -1
- package/dist/{Spinner-Lw9mZYhg.js → Spinner-CUwE2bLm.js} +1 -1
- package/dist/{Switch-WBRr8uOJ.js → Switch-aPhL5rNG.js} +4 -4
- package/dist/{Toast-ByH-l4XK.js → Toast-3NEz7LLa.js} +149 -148
- package/dist/Wrapper-BhqUVI1G.js +171 -0
- package/dist/Wrapper-CVJSuYWx.js +114 -0
- package/dist/{Wrapper-XeeD3av7.js → Wrapper-DP6Sxngx.js} +185 -180
- package/dist/components/Alert/Alert.js +21 -21
- 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/AlertDialog/hooks/useAlertDialog.js +14 -10
- package/dist/components/Autocomplete/components/List/List.js +22 -26
- package/dist/components/Autocomplete/components/List/List.variants.js +7 -19
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +39 -38
- package/dist/components/Autocomplete/hooks/useNavigationList.js +2 -1
- package/dist/components/Badge/Badge.js +37 -36
- package/dist/components/Button/Button.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 +6 -6
- 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 +2 -2
- 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/Command/contexts/Command.provider.js +16 -12
- 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/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +57 -58
- package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +42 -43
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +42 -50
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +61 -79
- package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.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/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.js +89 -122
- package/dist/components/Datepicker/DatePicker.js +13 -13
- package/dist/components/Drawer/Drawer.js +54 -49
- package/dist/components/Drawer/hooks/useDrawer.js +39 -44
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/Filter.js +23 -22
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +42 -56
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +30 -43
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +36 -49
- package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +1 -1
- package/dist/components/Filter/components/ResetButton/ResetButton.js +21 -18
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +1 -1
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +31 -45
- package/dist/components/Filter/contexts/filter.provider.js +15 -10
- package/dist/components/Filter/events/index.js +26 -5
- package/dist/components/Filter/hooks/index.js +4 -0
- package/dist/components/Filter/hooks/useFilterDropdownSync.js +26 -0
- package/dist/components/ImageUpload/ImageUpload.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Loading/Loading.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.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/Modal/contexts/Modal.provider.js +26 -19
- 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/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +14 -13
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +6 -4
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +16 -16
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +1 -1
- package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
- package/dist/components/PhoneNumberInput/components/index.js +2 -2
- package/dist/components/PieChart/PieChart.js +33 -32
- package/dist/components/ProgressBar/ProgressBar.js +26 -20
- package/dist/components/Radio/Radio.js +28 -30
- package/dist/components/RadioCardGroup/RadioCardGroup.js +18 -18
- package/dist/components/RadioGroup/RadioGroup.js +24 -24
- package/dist/components/Range/Range.js +15 -13
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
- package/dist/components/Select/components/List/List.js +2 -2
- package/dist/components/Select/components/ListItem/ListItem.js +30 -30
- package/dist/components/Select/components/Wrapper.js +1 -1
- package/dist/components/Select/components/index.js +2 -2
- package/dist/components/Select/hooks/useSelect.js +39 -38
- package/dist/components/Sidebar/Sidebar.js +21 -18
- package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +30 -0
- package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.variants.js +20 -0
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
- package/dist/components/Sidebar/components/Logo/Logo.js +14 -10
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +14 -4
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +41 -37
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +4 -5
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +75 -68
- package/dist/components/Sidebar/components/index.js +17 -15
- package/dist/components/Sidebar/contexts/SidebarContext.js +8 -5
- package/dist/components/Slider/Slider.js +17 -15
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Stepper/Stepper.variants.js +6 -6
- package/dist/components/Stepper/hooks/useStepItemLogic.js +12 -17
- 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/Tabs.variants.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/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.variants.js +17 -17
- 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/TagSelect/hooks/useTagSelect.js +12 -11
- package/dist/components/TimePicker/components/HoursList/HoursList.js +34 -38
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +25 -29
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +33 -33
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +91 -99
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +29 -30
- package/dist/components/TimePicker/contexts/time-picker.provider.js +10 -10
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Toast/Toast.variants.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.js +32 -29
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +0 -2
- package/dist/components/VirtualizedTable/components/Body/Body.js +5 -5
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +55 -53
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Header/Header.js +1 -1
- package/dist/components/VirtualizedTable/contexts/index.js +1 -1
- package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
- package/dist/components/VirtualizedTable/events/filters/filters.js +7 -0
- package/dist/components/VirtualizedTable/events/index.js +10 -25
- package/dist/components/VirtualizedTable/events/refresh/refresh.js +7 -0
- package/dist/components/VirtualizedTable/events/row/row.js +22 -0
- package/dist/components/VirtualizedTable/utils/get-table-id.js +4 -0
- package/dist/components/VirtualizedTable/utils/index.js +4 -2
- package/dist/components/index.js +95 -89
- package/dist/{components-BIHlj4yH.js → components-Cf345jTv.js} +45 -41
- package/dist/constants-CxJJRVK3.js +31 -0
- package/dist/{dist-DISvWx7U.js → dist-BUocnzkM.js} +1 -1
- package/dist/{dist-Dse3gSmZ.js → dist-BZNE2Tnx.js} +4 -4
- package/dist/{dist-2bGlmy8N2.js → dist-BaPW7qXd2.js} +27 -26
- package/dist/dist-BdobXn93.js +192 -0
- package/dist/dist-BlPTJNIm.js +118 -0
- package/dist/{dist-BiJrNvNo.js → dist-C3YVLapk.js} +29 -28
- package/dist/dist-C4j75TwZ.js +20 -0
- package/dist/dist-CCdbu9GU.js +46 -0
- package/dist/dist-CzKqHuqJ2.js +427 -0
- package/dist/dist-D-yS0HN8.js +228 -0
- package/dist/dist-D5XYRjmR.js +15 -0
- package/dist/dist-DDck_2lb.js +451 -0
- package/dist/{dist-C2aTw0m62.js → dist-DFCz63oC2.js} +5 -5
- package/dist/dist-DGOjiAnB2.js +14 -0
- package/dist/dist-DKryKPmP.js +193 -0
- package/dist/{dist-CTvBzxW8.js → dist-DX0sBG3Q.js} +1 -1
- package/dist/dist-DYIabsrY.js +17 -0
- package/dist/dist-pWlMx4Fi2.js +36 -0
- package/dist/{dist-CVDFmWf2.js → dist-tGUUcv8n.js} +17 -16
- package/dist/dist-xCbHbMLA.js +116 -0
- package/dist/{es2015-BWf6xQHm.js → es2015-CoHq2g4y.js} +95 -86
- package/dist/es2015-DigR3dar.js +795 -0
- package/dist/events.types-BG1Uh8i6.js +6 -0
- package/dist/hooks/index.js +6 -4
- package/dist/hooks/useClickOutside.js +14 -0
- package/dist/index.js +146 -138
- package/dist/lib/components/Autocomplete/components/List/List.variants.d.ts +0 -1
- package/dist/lib/components/DropdownButton/DropdownButton.d.ts +5 -6
- package/dist/lib/components/DropdownButton/DropdownButton.types.d.ts +2 -0
- package/dist/lib/components/Filter/Filter.types.d.ts +2 -0
- package/dist/lib/components/Filter/contexts/filter.context.d.ts +1 -0
- package/dist/lib/components/Filter/events/index.d.ts +10 -2
- package/dist/lib/components/Filter/hooks/index.d.ts +1 -0
- package/dist/lib/components/Filter/hooks/useFilterDropdownSync.d.ts +2 -0
- package/dist/lib/components/Filter/hooks/useFilterDropdownSync.types.d.ts +5 -0
- package/dist/lib/components/PieChart/PieChart.types.d.ts +4 -4
- package/dist/lib/components/ProgressBar/ProgressBar.types.d.ts +2 -0
- package/dist/lib/components/Select/hooks/useSelect.d.ts +2 -1
- package/dist/lib/components/Sidebar/Sidebar.d.ts +2 -2
- package/dist/lib/components/Sidebar/Sidebar.types.d.ts +6 -5
- package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.d.ts +4 -0
- package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.types.d.ts +4 -0
- package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.variants.d.ts +1 -0
- package/dist/lib/components/Sidebar/components/Logo/Logo.types.d.ts +8 -0
- package/dist/lib/components/Sidebar/components/Logo/Logo.variants.d.ts +3 -1
- package/dist/lib/components/Sidebar/components/index.d.ts +2 -0
- package/dist/lib/components/Sidebar/contexts/SidebarContext.d.ts +12 -0
- package/dist/lib/components/VirtualizedTable/VirtualizedTable.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/events/events.types.d.ts +11 -0
- package/dist/lib/components/VirtualizedTable/events/filters/filters.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/events/index.d.ts +4 -14
- package/dist/lib/components/VirtualizedTable/events/refresh/refresh.d.ts +2 -0
- package/dist/lib/components/VirtualizedTable/events/refresh/refresh.types.d.ts +3 -0
- package/dist/lib/components/VirtualizedTable/events/row/row.d.ts +3 -0
- package/dist/lib/components/VirtualizedTable/utils/get-table-id.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/utils/index.d.ts +1 -0
- package/dist/lib/components/index.d.ts +2 -2
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/useClickOutside.d.ts +2 -0
- package/dist/package.json +24 -24
- package/dist/styles.css +1 -1
- package/dist/{table.provider-2sAkE7z_.js → table.provider-B0BafHuU.js} +395 -381
- package/dist/ui/civo-theme.css +4 -0
- package/dist/ui/kubefirst-theme.css +4 -0
- package/package.json +24 -24
- package/dist/Counter-CY0xGnVM.js +0 -208
- package/dist/DropdownButton-DnlwdPmb.js +0 -92
- package/dist/Modal-Bfzggwlr.js +0 -76
- package/dist/Wrapper-ClJ_Mham.js +0 -110
- package/dist/Wrapper-DNEn4fef.js +0 -161
- package/dist/constants-DXrF9vV4.js +0 -31
- package/dist/dist-B-Aoze_D.js +0 -10
- package/dist/dist-BuFiu480.js +0 -13
- package/dist/dist-C2s4VX-42.js +0 -31
- package/dist/dist-CT6d9xe7.js +0 -441
- package/dist/dist-CVy-ulDZ.js +0 -42
- package/dist/dist-D4FePjTS.js +0 -194
- package/dist/dist-Db6UeFo4.js +0 -291
- package/dist/dist-DqKFpce5.js +0 -98
- package/dist/dist-j7FOUrFU.js +0 -206
- package/dist/dist-l-aDnQZC.js +0 -62
- package/dist/dist-ppXKUlVt.js +0 -10
- /package/dist/{x-a_LpoXzG.js → x-a_LpoXzG2.js} +0 -0
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
import { t as a } from "../../../../../../utils-Cx-WzRZF.js";
|
|
2
|
-
import { t as
|
|
3
|
-
import { CalendarDivider as
|
|
4
|
-
import { calendarGridContainerVariants as
|
|
5
|
-
import "../../../../../../constants-
|
|
2
|
+
import { t as Q } from "../../../../../../react-CvUtBTMg.js";
|
|
3
|
+
import { CalendarDivider as U } from "../CalendarDivider/CalendarDivider.js";
|
|
4
|
+
import { calendarGridContainerVariants as X, calendarPanelVariants as Y } from "../../CalendarPanel.variants.js";
|
|
5
|
+
import "../../../../../../constants-CxJJRVK3.js";
|
|
6
6
|
import { CalendarMonth as s } from "../CalendarMonth/CalendarMonth.js";
|
|
7
|
-
import { useIndependentCarousel as
|
|
7
|
+
import { useIndependentCarousel as Z } from "../../hooks/useIndependentCarousel.js";
|
|
8
8
|
import { NavigationButton as c } from "../NavigationButton/NavigationButton.js";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
g && v({
|
|
9
|
+
import { jsx as n, jsxs as h } from "react/jsx-runtime";
|
|
10
|
+
var O = ({ className: u, calendarWidth: C = 550, ariaLabelCalendar: N = "Date range picker calendar", ariaLabelPrevMonthStart: k = "Previous month for start date", ariaLabelNextMonthStart: b = "Next month for start date", ariaLabelPrevMonthEnd: x = "Previous month for end date", ariaLabelNextMonthEnd: R = "Next month for end date", classNames: t, range: i, onRangeSelect: T, disabled: e, disabledMatcher: r, showOutsideDays: o, hideDisabledNavigation: d, canLeftNavigatePrev: B, canLeftNavigateNext: w, canRightNavigatePrev: z, canRightNavigateNext: A, navigateLeftPrev: L, navigateLeftNext: S, navigateRightPrev: I, navigateRightNext: D, carouselProps: f }) => {
|
|
11
|
+
const { calendarHeight: M, enableLeftTransition: W, enableRightTransition: P, isLeftAnimating: v, isRightAnimating: p, leftAnimateTransform: y, leftCarouselRef: H, leftInternalMonth: j, leftNextMonth: G, leftPrevMonth: V, rightAnimateTransform: _, rightCarouselRef: $, rightInternalMonth: E, rightNextMonth: q, rightPrevMonth: F, getLeftTransform: J, getRightTransform: K } = Z(f), l = (g) => {
|
|
12
|
+
g && T({
|
|
14
13
|
from: g.from,
|
|
15
14
|
to: g.to
|
|
16
15
|
});
|
|
17
|
-
},
|
|
16
|
+
}, m = {
|
|
18
17
|
monthTitle: t?.monthTitle,
|
|
19
|
-
dayPicker:
|
|
20
|
-
}
|
|
18
|
+
dayPicker: t?.dayPicker
|
|
19
|
+
};
|
|
21
20
|
return /* @__PURE__ */ n("div", {
|
|
22
|
-
className: a(
|
|
23
|
-
children: /* @__PURE__ */
|
|
24
|
-
className: a(
|
|
25
|
-
style: { width:
|
|
26
|
-
children: [/* @__PURE__ */ n(
|
|
21
|
+
className: a(Y({ className: u }), t?.root),
|
|
22
|
+
children: /* @__PURE__ */ h("div", {
|
|
23
|
+
className: a(X(), "relative", t?.gridContainer),
|
|
24
|
+
style: { width: C },
|
|
25
|
+
children: [/* @__PURE__ */ n(U, { className: t?.divider }), /* @__PURE__ */ h(Q.div, {
|
|
27
26
|
className: "flex gap-8",
|
|
28
27
|
role: "application",
|
|
29
|
-
"aria-label":
|
|
28
|
+
"aria-label": N,
|
|
30
29
|
initial: !1,
|
|
31
|
-
animate: { height:
|
|
30
|
+
animate: { height: M },
|
|
32
31
|
transition: {
|
|
33
32
|
duration: f.animationDuration / 1e3,
|
|
34
33
|
ease: [
|
|
@@ -38,46 +37,46 @@ var et = ({ className: k, calendarWidth: b = 550, ariaLabelCalendar: x = "Date r
|
|
|
38
37
|
1
|
|
39
38
|
]
|
|
40
39
|
},
|
|
41
|
-
children: [/* @__PURE__ */
|
|
40
|
+
children: [/* @__PURE__ */ h("div", {
|
|
42
41
|
style: { width: 259 },
|
|
43
42
|
className: "relative overflow-hidden",
|
|
44
43
|
children: [
|
|
45
44
|
/* @__PURE__ */ n(c, {
|
|
46
45
|
direction: "prev",
|
|
47
|
-
onClick:
|
|
46
|
+
onClick: L,
|
|
48
47
|
disabled: e,
|
|
49
|
-
isAnimating:
|
|
50
|
-
canNavigate:
|
|
51
|
-
hideWhenDisabled:
|
|
48
|
+
isAnimating: v,
|
|
49
|
+
canNavigate: B,
|
|
50
|
+
hideWhenDisabled: d,
|
|
52
51
|
className: a("absolute left-0 top-0 z-10 p-1", "bg-white dark:bg-metal-800", t?.navButton),
|
|
53
52
|
disabledClassName: t?.navButtonDisabled,
|
|
54
|
-
ariaLabel:
|
|
53
|
+
ariaLabel: k,
|
|
55
54
|
size: "small"
|
|
56
55
|
}),
|
|
57
56
|
/* @__PURE__ */ n(c, {
|
|
58
57
|
direction: "next",
|
|
59
|
-
onClick:
|
|
58
|
+
onClick: S,
|
|
60
59
|
disabled: e,
|
|
61
|
-
isAnimating:
|
|
62
|
-
canNavigate:
|
|
63
|
-
hideWhenDisabled:
|
|
60
|
+
isAnimating: v,
|
|
61
|
+
canNavigate: w,
|
|
62
|
+
hideWhenDisabled: d,
|
|
64
63
|
className: a("absolute right-0 top-0 z-10 p-1", "bg-white dark:bg-metal-800", t?.navButton),
|
|
65
64
|
disabledClassName: t?.navButtonDisabled,
|
|
66
|
-
ariaLabel:
|
|
65
|
+
ariaLabel: b,
|
|
67
66
|
size: "small"
|
|
68
67
|
}),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
ref:
|
|
71
|
-
className: a("flex", W &&
|
|
68
|
+
/* @__PURE__ */ h("div", {
|
|
69
|
+
ref: H,
|
|
70
|
+
className: a("flex", W && y && "konstruct-drp-carousel-transition"),
|
|
72
71
|
style: {
|
|
73
72
|
"--konstruct-drp-animation-duration": `${f.animationDuration}ms`,
|
|
74
73
|
width: 3 * 259,
|
|
75
|
-
transform:
|
|
74
|
+
transform: J(),
|
|
76
75
|
willChange: "transform"
|
|
77
76
|
},
|
|
78
77
|
children: [
|
|
79
78
|
/* @__PURE__ */ n(s, {
|
|
80
|
-
month:
|
|
79
|
+
month: V,
|
|
81
80
|
range: i,
|
|
82
81
|
onRangeSelect: l,
|
|
83
82
|
disabled: e,
|
|
@@ -86,7 +85,7 @@ var et = ({ className: k, calendarWidth: b = 550, ariaLabelCalendar: x = "Date r
|
|
|
86
85
|
classNames: m
|
|
87
86
|
}),
|
|
88
87
|
/* @__PURE__ */ n(s, {
|
|
89
|
-
month:
|
|
88
|
+
month: j,
|
|
90
89
|
range: i,
|
|
91
90
|
onRangeSelect: l,
|
|
92
91
|
disabled: e,
|
|
@@ -95,7 +94,7 @@ var et = ({ className: k, calendarWidth: b = 550, ariaLabelCalendar: x = "Date r
|
|
|
95
94
|
classNames: m
|
|
96
95
|
}),
|
|
97
96
|
/* @__PURE__ */ n(s, {
|
|
98
|
-
month:
|
|
97
|
+
month: G,
|
|
99
98
|
range: i,
|
|
100
99
|
onRangeSelect: l,
|
|
101
100
|
disabled: e,
|
|
@@ -106,46 +105,46 @@ var et = ({ className: k, calendarWidth: b = 550, ariaLabelCalendar: x = "Date r
|
|
|
106
105
|
]
|
|
107
106
|
})
|
|
108
107
|
]
|
|
109
|
-
}), /* @__PURE__ */
|
|
108
|
+
}), /* @__PURE__ */ h("div", {
|
|
110
109
|
style: { width: 259 },
|
|
111
110
|
className: "relative overflow-hidden",
|
|
112
111
|
children: [
|
|
113
112
|
/* @__PURE__ */ n(c, {
|
|
114
113
|
direction: "prev",
|
|
115
|
-
onClick:
|
|
114
|
+
onClick: I,
|
|
116
115
|
disabled: e,
|
|
117
|
-
isAnimating:
|
|
118
|
-
canNavigate:
|
|
119
|
-
hideWhenDisabled:
|
|
116
|
+
isAnimating: p,
|
|
117
|
+
canNavigate: z,
|
|
118
|
+
hideWhenDisabled: d,
|
|
120
119
|
className: a("absolute left-0 top-0 z-10 p-1", "bg-white dark:bg-metal-800", t?.navButton),
|
|
121
120
|
disabledClassName: t?.navButtonDisabled,
|
|
122
|
-
ariaLabel:
|
|
121
|
+
ariaLabel: x,
|
|
123
122
|
size: "small"
|
|
124
123
|
}),
|
|
125
124
|
/* @__PURE__ */ n(c, {
|
|
126
125
|
direction: "next",
|
|
127
|
-
onClick:
|
|
126
|
+
onClick: D,
|
|
128
127
|
disabled: e,
|
|
129
|
-
isAnimating:
|
|
130
|
-
canNavigate:
|
|
131
|
-
hideWhenDisabled:
|
|
128
|
+
isAnimating: p,
|
|
129
|
+
canNavigate: A,
|
|
130
|
+
hideWhenDisabled: d,
|
|
132
131
|
className: a("absolute right-0 top-0 z-10 p-1", "bg-white dark:bg-metal-800", t?.navButton),
|
|
133
132
|
disabledClassName: t?.navButtonDisabled,
|
|
134
|
-
ariaLabel:
|
|
133
|
+
ariaLabel: R,
|
|
135
134
|
size: "small"
|
|
136
135
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
ref:
|
|
139
|
-
className: a("flex",
|
|
136
|
+
/* @__PURE__ */ h("div", {
|
|
137
|
+
ref: $,
|
|
138
|
+
className: a("flex", P && _ && "konstruct-drp-carousel-transition"),
|
|
140
139
|
style: {
|
|
141
140
|
"--konstruct-drp-animation-duration": `${f.animationDuration}ms`,
|
|
142
141
|
width: 3 * 259,
|
|
143
|
-
transform:
|
|
142
|
+
transform: K(),
|
|
144
143
|
willChange: "transform"
|
|
145
144
|
},
|
|
146
145
|
children: [
|
|
147
146
|
/* @__PURE__ */ n(s, {
|
|
148
|
-
month:
|
|
147
|
+
month: F,
|
|
149
148
|
range: i,
|
|
150
149
|
onRangeSelect: l,
|
|
151
150
|
disabled: e,
|
|
@@ -154,7 +153,7 @@ var et = ({ className: k, calendarWidth: b = 550, ariaLabelCalendar: x = "Date r
|
|
|
154
153
|
classNames: m
|
|
155
154
|
}),
|
|
156
155
|
/* @__PURE__ */ n(s, {
|
|
157
|
-
month:
|
|
156
|
+
month: E,
|
|
158
157
|
range: i,
|
|
159
158
|
onRangeSelect: l,
|
|
160
159
|
disabled: e,
|
|
@@ -163,7 +162,7 @@ var et = ({ className: k, calendarWidth: b = 550, ariaLabelCalendar: x = "Date r
|
|
|
163
162
|
classNames: m
|
|
164
163
|
}),
|
|
165
164
|
/* @__PURE__ */ n(s, {
|
|
166
|
-
month:
|
|
165
|
+
month: q,
|
|
167
166
|
range: i,
|
|
168
167
|
onRangeSelect: l,
|
|
169
168
|
disabled: e,
|
|
@@ -179,7 +178,7 @@ var et = ({ className: k, calendarWidth: b = 550, ariaLabelCalendar: x = "Date r
|
|
|
179
178
|
})
|
|
180
179
|
});
|
|
181
180
|
};
|
|
182
|
-
|
|
181
|
+
O.displayName = "IndependentModeCalendar";
|
|
183
182
|
export {
|
|
184
|
-
|
|
183
|
+
O as IndependentModeCalendar
|
|
185
184
|
};
|
|
@@ -1,57 +1,56 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as
|
|
3
|
-
import { CalendarDivider as
|
|
4
|
-
import { calendarGridContainerVariants as
|
|
5
|
-
import { CalendarMonth as
|
|
6
|
-
import { useTogetherCarousel as
|
|
7
|
-
import { NavigationButton as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
t && o({
|
|
1
|
+
import { t as n } from "../../../../../../utils-Cx-WzRZF.js";
|
|
2
|
+
import { t as P } from "../../../../../../react-CvUtBTMg.js";
|
|
3
|
+
import { CalendarDivider as W } from "../CalendarDivider/CalendarDivider.js";
|
|
4
|
+
import { calendarGridContainerVariants as z, calendarPanelVariants as L } from "../../CalendarPanel.variants.js";
|
|
5
|
+
import { CalendarMonth as R } from "../CalendarMonth/CalendarMonth.js";
|
|
6
|
+
import { useTogetherCarousel as S } from "../../hooks/useTogetherCarousel.js";
|
|
7
|
+
import { NavigationButton as d } from "../NavigationButton/NavigationButton.js";
|
|
8
|
+
import { jsx as e, jsxs as V } from "react/jsx-runtime";
|
|
9
|
+
var A = ({ className: m, calendarWidth: h = 550, ariaLabelCalendar: s = "Date range picker calendar", ariaLabelPrevMonth: c = "Previous month", ariaLabelNextMonth: f = "Next month", classNames: a, range: u, onRangeSelect: p, disabled: i, disabledMatcher: v, showOutsideDays: g, hideDisabledNavigation: o, canNavigatePrev: C, canNavigateNext: T, carouselProps: r }) => {
|
|
10
|
+
const { carouselRef: b, isAnimating: l, enableTransition: k, animateTransform: x, calendarHeight: D, carouselTotalWidth: y, monthsToRender: M, handlePrevMonth: N, handleNextMonth: B, getTransform: w } = S(r), $ = (t) => {
|
|
11
|
+
t && p({
|
|
13
12
|
from: t.from,
|
|
14
13
|
to: t.to
|
|
15
14
|
});
|
|
16
|
-
}
|
|
15
|
+
};
|
|
17
16
|
return /* @__PURE__ */ e("div", {
|
|
18
|
-
className:
|
|
19
|
-
children: /* @__PURE__ */
|
|
20
|
-
className:
|
|
17
|
+
className: n(L({ className: m }), a?.root),
|
|
18
|
+
children: /* @__PURE__ */ V("div", {
|
|
19
|
+
className: n(z(), "overflow-hidden relative justify-start!", a?.gridContainer),
|
|
21
20
|
style: { width: h },
|
|
22
21
|
children: [
|
|
23
|
-
/* @__PURE__ */ e(
|
|
22
|
+
/* @__PURE__ */ e(d, {
|
|
24
23
|
direction: "prev",
|
|
25
24
|
onClick: N,
|
|
26
25
|
disabled: i,
|
|
27
|
-
isAnimating:
|
|
26
|
+
isAnimating: l,
|
|
28
27
|
canNavigate: C,
|
|
29
|
-
hideWhenDisabled:
|
|
30
|
-
className:
|
|
28
|
+
hideWhenDisabled: o,
|
|
29
|
+
className: n("absolute left-0 top-3 z-10", a?.navButton),
|
|
31
30
|
disabledClassName: a?.navButtonDisabled,
|
|
32
|
-
ariaLabel:
|
|
31
|
+
ariaLabel: c
|
|
33
32
|
}),
|
|
34
|
-
/* @__PURE__ */ e(
|
|
33
|
+
/* @__PURE__ */ e(d, {
|
|
35
34
|
direction: "next",
|
|
36
35
|
onClick: B,
|
|
37
36
|
disabled: i,
|
|
38
|
-
isAnimating:
|
|
39
|
-
canNavigate:
|
|
40
|
-
hideWhenDisabled:
|
|
41
|
-
className:
|
|
37
|
+
isAnimating: l,
|
|
38
|
+
canNavigate: T,
|
|
39
|
+
hideWhenDisabled: o,
|
|
40
|
+
className: n("absolute right-0 top-3 z-10", a?.navButton),
|
|
42
41
|
disabledClassName: a?.navButtonDisabled,
|
|
43
|
-
ariaLabel:
|
|
42
|
+
ariaLabel: f
|
|
44
43
|
}),
|
|
45
|
-
/* @__PURE__ */ e(
|
|
46
|
-
/* @__PURE__ */ e(
|
|
47
|
-
ref:
|
|
48
|
-
className:
|
|
44
|
+
/* @__PURE__ */ e(W, { className: a?.divider }),
|
|
45
|
+
/* @__PURE__ */ e(P.div, {
|
|
46
|
+
ref: b,
|
|
47
|
+
className: n("flex gap-8", k && x && "konstruct-drp-carousel-transition"),
|
|
49
48
|
role: "application",
|
|
50
|
-
"aria-label":
|
|
49
|
+
"aria-label": s,
|
|
51
50
|
initial: !1,
|
|
52
|
-
animate: { height:
|
|
51
|
+
animate: { height: D },
|
|
53
52
|
transition: {
|
|
54
|
-
duration:
|
|
53
|
+
duration: r.animationDuration / 1e3,
|
|
55
54
|
ease: [
|
|
56
55
|
0.25,
|
|
57
56
|
0.1,
|
|
@@ -60,21 +59,21 @@ var S = ({ className: s, calendarWidth: h = 550, ariaLabelCalendar: c = "Date ra
|
|
|
60
59
|
]
|
|
61
60
|
},
|
|
62
61
|
style: {
|
|
63
|
-
"--konstruct-drp-animation-duration": `${
|
|
64
|
-
width:
|
|
65
|
-
transform:
|
|
62
|
+
"--konstruct-drp-animation-duration": `${r.animationDuration}ms`,
|
|
63
|
+
width: y,
|
|
64
|
+
transform: w(),
|
|
66
65
|
willChange: "transform"
|
|
67
66
|
},
|
|
68
|
-
children: M.map((t, j) => /* @__PURE__ */ e(
|
|
67
|
+
children: M.map((t, j) => /* @__PURE__ */ e(R, {
|
|
69
68
|
month: t,
|
|
70
|
-
range:
|
|
71
|
-
onRangeSelect:
|
|
69
|
+
range: u,
|
|
70
|
+
onRangeSelect: $,
|
|
72
71
|
disabled: i,
|
|
73
72
|
disabledMatcher: v,
|
|
74
73
|
showOutsideDays: g,
|
|
75
74
|
classNames: {
|
|
76
75
|
monthTitle: a?.monthTitle,
|
|
77
|
-
dayPicker:
|
|
76
|
+
dayPicker: a?.dayPicker
|
|
78
77
|
}
|
|
79
78
|
}, `${t.getFullYear()}-${t.getMonth()}-${j}`))
|
|
80
79
|
})
|
|
@@ -82,7 +81,7 @@ var S = ({ className: s, calendarWidth: h = 550, ariaLabelCalendar: c = "Date ra
|
|
|
82
81
|
})
|
|
83
82
|
});
|
|
84
83
|
};
|
|
85
|
-
|
|
84
|
+
A.displayName = "TogetherModeCalendar";
|
|
86
85
|
export {
|
|
87
|
-
|
|
86
|
+
A as TogetherModeCalendar
|
|
88
87
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getMonthName as E } from "../../../utils/validation.js";
|
|
2
|
-
import { a as s, i as _, n as r, o as T, r as e, s as o, t } from "../../../../../constants-
|
|
2
|
+
import { a as s, i as _, n as r, o as T, r as e, s as o, t } from "../../../../../constants-CxJJRVK3.js";
|
|
3
3
|
export {
|
|
4
4
|
t as GAP_WIDTH,
|
|
5
5
|
r as MONTH_HEADER_HEIGHT,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getMonthName as t } from "../../../utils/validation.js";
|
|
2
|
-
import { a as o, i as r, n as s, o as H, r as E, s as m, t as _ } from "../../../../../constants-
|
|
2
|
+
import { a as o, i as r, n as s, o as H, r as E, s as m, t as _ } from "../../../../../constants-CxJJRVK3.js";
|
|
3
3
|
import { calculateCalendarHeight as T, getNextMonth as i, getPrevMonth as I, getWeeksInMonth as M } from "../utils/index.js";
|
|
4
4
|
import { useTogetherCarousel as N } from "./useTogetherCarousel.js";
|
|
5
5
|
import { useIndependentCarousel as h } from "./useIndependentCarousel.js";
|
package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { calculateCalendarHeight as
|
|
3
|
-
import {
|
|
4
|
-
var
|
|
5
|
-
const [
|
|
1
|
+
import { r as w } from "../../../../../constants-CxJJRVK3.js";
|
|
2
|
+
import { calculateCalendarHeight as j, getNextMonth as m, getPrevMonth as h, getWeeksInMonth as O } from "../utils/index.js";
|
|
3
|
+
import { useEffect as g, useMemo as p, useRef as I, useState as i } from "react";
|
|
4
|
+
var Q = ({ displayedMonths: u, animationDuration: M, navigationMode: F }) => {
|
|
5
|
+
const [f, x] = i(u[0]), [s, S] = i(null), [r, b] = i(!1), [a, L] = i(!1), [W, C] = i(!0), T = I(null), N = I(!0), [o, E] = i(u[1]), [l, D] = i(null), [n, P] = i(!1), [c, H] = i(!1), [X, _] = i(!0), A = I(null), d = I(!0);
|
|
6
6
|
g(() => {
|
|
7
7
|
if (F === "independent") {
|
|
8
8
|
if (N.current) {
|
|
@@ -10,16 +10,16 @@ var U = ({ displayedMonths: u, animationDuration: M, navigationMode: F }) => {
|
|
|
10
10
|
return;
|
|
11
11
|
}
|
|
12
12
|
if (!r) {
|
|
13
|
-
const e =
|
|
13
|
+
const e = f.getTime(), t = u[0].getTime();
|
|
14
14
|
if (e !== t) {
|
|
15
|
-
const q = t - e, R = Math.round(q /
|
|
16
|
-
Math.abs(R) === 1 ? (
|
|
15
|
+
const q = t - e, R = Math.round(q / w);
|
|
16
|
+
Math.abs(R) === 1 ? (S(R > 0 ? "left" : "right"), b(!0), L(!1)) : x(u[0]);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}, [
|
|
21
21
|
u,
|
|
22
|
-
|
|
22
|
+
f,
|
|
23
23
|
r,
|
|
24
24
|
F
|
|
25
25
|
]), g(() => {
|
|
@@ -29,41 +29,41 @@ var U = ({ displayedMonths: u, animationDuration: M, navigationMode: F }) => {
|
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
if (!n) {
|
|
32
|
-
const e =
|
|
32
|
+
const e = o.getTime(), t = u[1].getTime();
|
|
33
33
|
if (e !== t) {
|
|
34
|
-
const q = t - e, R = Math.round(q /
|
|
34
|
+
const q = t - e, R = Math.round(q / w);
|
|
35
35
|
Math.abs(R) === 1 ? (D(R > 0 ? "left" : "right"), P(!0), H(!1)) : E(u[1]);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}, [
|
|
40
40
|
u,
|
|
41
|
-
|
|
41
|
+
o,
|
|
42
42
|
n,
|
|
43
43
|
F
|
|
44
44
|
]), g(() => {
|
|
45
|
-
r && !a &&
|
|
45
|
+
r && !a && s && (T.current && T.current.offsetHeight, requestAnimationFrame(() => {
|
|
46
46
|
L(!0);
|
|
47
47
|
}));
|
|
48
48
|
}, [
|
|
49
49
|
r,
|
|
50
50
|
a,
|
|
51
|
-
|
|
51
|
+
s
|
|
52
52
|
]), g(() => {
|
|
53
|
-
n && !c &&
|
|
53
|
+
n && !c && l && (A.current && A.current.offsetHeight, requestAnimationFrame(() => {
|
|
54
54
|
H(!0);
|
|
55
55
|
}));
|
|
56
56
|
}, [
|
|
57
57
|
n,
|
|
58
58
|
c,
|
|
59
|
-
|
|
59
|
+
l
|
|
60
60
|
]), g(() => {
|
|
61
61
|
if (r && a) {
|
|
62
62
|
const e = setTimeout(() => {
|
|
63
|
-
|
|
64
|
-
T.current && T.current.offsetHeight,
|
|
63
|
+
C(!1), requestAnimationFrame(() => {
|
|
64
|
+
T.current && T.current.offsetHeight, x((t) => s === "left" ? m(t) : h(t)), b(!1), S(null), L(!1), requestAnimationFrame(() => {
|
|
65
65
|
requestAnimationFrame(() => {
|
|
66
|
-
|
|
66
|
+
C(!0);
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
});
|
|
@@ -74,12 +74,12 @@ var U = ({ displayedMonths: u, animationDuration: M, navigationMode: F }) => {
|
|
|
74
74
|
r,
|
|
75
75
|
a,
|
|
76
76
|
M,
|
|
77
|
-
|
|
77
|
+
s
|
|
78
78
|
]), g(() => {
|
|
79
79
|
if (n && c) {
|
|
80
80
|
const e = setTimeout(() => {
|
|
81
81
|
_(!1), requestAnimationFrame(() => {
|
|
82
|
-
A.current && A.current.offsetHeight, E((t) =>
|
|
82
|
+
A.current && A.current.offsetHeight, E((t) => l === "left" ? m(t) : h(t)), P(!1), D(null), H(!1), requestAnimationFrame(() => {
|
|
83
83
|
requestAnimationFrame(() => {
|
|
84
84
|
_(!0);
|
|
85
85
|
});
|
|
@@ -92,53 +92,45 @@ var U = ({ displayedMonths: u, animationDuration: M, navigationMode: F }) => {
|
|
|
92
92
|
n,
|
|
93
93
|
c,
|
|
94
94
|
M,
|
|
95
|
-
|
|
95
|
+
l
|
|
96
96
|
]);
|
|
97
|
-
const $ =
|
|
98
|
-
let e =
|
|
99
|
-
return r &&
|
|
97
|
+
const $ = p(() => {
|
|
98
|
+
let e = f, t = o;
|
|
99
|
+
return r && s === "left" ? e = m(f) : r && s === "right" && (e = h(f)), n && l === "left" ? t = m(o) : n && l === "right" && (t = h(o)), j(Math.max(O(e), O(t)));
|
|
100
100
|
}, [
|
|
101
|
+
f,
|
|
101
102
|
o,
|
|
102
|
-
l,
|
|
103
103
|
r,
|
|
104
104
|
n,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
]),
|
|
105
|
+
s,
|
|
106
|
+
l
|
|
107
|
+
]), k = () => {
|
|
108
108
|
let e = -259;
|
|
109
|
-
return r && a && (
|
|
110
|
-
},
|
|
111
|
-
r,
|
|
112
|
-
a,
|
|
113
|
-
i
|
|
114
|
-
]), j = O(() => {
|
|
109
|
+
return r && a && (s === "left" ? e = -2 * 259 : s === "right" && (e = 0)), `translateX(${e}px)`;
|
|
110
|
+
}, G = () => {
|
|
115
111
|
let e = -259;
|
|
116
|
-
return n && c && (
|
|
117
|
-
}
|
|
118
|
-
n,
|
|
119
|
-
c,
|
|
120
|
-
f
|
|
121
|
-
]);
|
|
112
|
+
return n && c && (l === "left" ? e = -2 * 259 : l === "right" && (e = 0)), `translateX(${e}px)`;
|
|
113
|
+
};
|
|
122
114
|
return {
|
|
123
|
-
leftInternalMonth:
|
|
124
|
-
leftPrevMonth: h(
|
|
125
|
-
leftNextMonth: m(
|
|
115
|
+
leftInternalMonth: f,
|
|
116
|
+
leftPrevMonth: h(f),
|
|
117
|
+
leftNextMonth: m(f),
|
|
126
118
|
leftCarouselRef: T,
|
|
127
119
|
isLeftAnimating: r,
|
|
128
120
|
enableLeftTransition: W,
|
|
129
121
|
leftAnimateTransform: a,
|
|
130
|
-
getLeftTransform:
|
|
131
|
-
rightInternalMonth:
|
|
132
|
-
rightPrevMonth: h(
|
|
133
|
-
rightNextMonth: m(
|
|
122
|
+
getLeftTransform: k,
|
|
123
|
+
rightInternalMonth: o,
|
|
124
|
+
rightPrevMonth: h(o),
|
|
125
|
+
rightNextMonth: m(o),
|
|
134
126
|
rightCarouselRef: A,
|
|
135
127
|
isRightAnimating: n,
|
|
136
128
|
enableRightTransition: X,
|
|
137
129
|
rightAnimateTransform: c,
|
|
138
|
-
getRightTransform:
|
|
130
|
+
getRightTransform: G,
|
|
139
131
|
calendarHeight: $
|
|
140
132
|
};
|
|
141
133
|
};
|
|
142
134
|
export {
|
|
143
|
-
|
|
135
|
+
Q as useIndependentCarousel
|
|
144
136
|
};
|