@alfalab/core-components 45.3.0-beta.0 → 45.3.0-beta.1
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/calendar/components/calendar-mobile/Component.js +2 -14
- package/calendar/cssm/components/calendar-mobile/Component.js +2 -14
- package/calendar/esm/components/calendar-mobile/Component.js +2 -14
- package/calendar/modern/components/calendar-mobile/Component.js +2 -14
- package/calendar-range/utils.js +1 -3
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/package.json +2 -2
- package/picker-button/Component-c44170fe.d.ts +1 -1
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/addon/component.js +1 -1
- package/pure-cell/components/addon/index.d.ts +1 -1
- package/pure-cell/components/addon/index.js +1 -1
- package/pure-cell/components/amount/component.js +1 -1
- package/pure-cell/components/amount/index.d.ts +1 -1
- package/pure-cell/components/amount/index.js +1 -1
- package/pure-cell/components/amount-title/component.js +1 -1
- package/pure-cell/components/amount-title/index.d.ts +1 -1
- package/pure-cell/components/amount-title/index.js +1 -1
- package/pure-cell/components/category/component.js +1 -1
- package/pure-cell/components/category/index.d.ts +1 -1
- package/pure-cell/components/category/index.js +1 -1
- package/pure-cell/components/content/component.js +1 -1
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +1 -1
- package/pure-cell/components/footer/component.js +1 -1
- package/pure-cell/components/footer/index.d.ts +1 -1
- package/pure-cell/components/footer/index.js +1 -1
- package/pure-cell/components/footer-button/component.js +1 -1
- package/pure-cell/components/footer-button/index.d.ts +1 -1
- package/pure-cell/components/footer-button/index.js +1 -1
- package/pure-cell/components/footer-text/component.js +1 -1
- package/pure-cell/components/footer-text/index.d.ts +1 -1
- package/pure-cell/components/footer-text/index.js +1 -1
- package/pure-cell/components/graphics/component.js +1 -1
- package/pure-cell/components/graphics/index.d.ts +1 -1
- package/pure-cell/components/graphics/index.js +1 -1
- package/pure-cell/components/main/component.js +1 -1
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +1 -1
- package/pure-cell/components/text/component.js +1 -1
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +1 -1
- package/pure-cell/esm/component.js +1 -1
- package/pure-cell/esm/components/addon/component.js +1 -1
- package/pure-cell/esm/components/addon/index.d.ts +1 -1
- package/pure-cell/esm/components/addon/index.js +1 -1
- package/pure-cell/esm/components/amount/component.js +1 -1
- package/pure-cell/esm/components/amount/index.d.ts +1 -1
- package/pure-cell/esm/components/amount/index.js +1 -1
- package/pure-cell/esm/components/amount-title/component.js +1 -1
- package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
- package/pure-cell/esm/components/amount-title/index.js +1 -1
- package/pure-cell/esm/components/category/component.js +1 -1
- package/pure-cell/esm/components/category/index.d.ts +1 -1
- package/pure-cell/esm/components/category/index.js +1 -1
- package/pure-cell/esm/components/content/component.js +1 -1
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -1
- package/pure-cell/esm/components/footer/component.js +1 -1
- package/pure-cell/esm/components/footer/index.d.ts +1 -1
- package/pure-cell/esm/components/footer/index.js +1 -1
- package/pure-cell/esm/components/footer-button/component.js +1 -1
- package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-button/index.js +1 -1
- package/pure-cell/esm/components/footer-text/component.js +1 -1
- package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-text/index.js +1 -1
- package/pure-cell/esm/components/graphics/component.js +1 -1
- package/pure-cell/esm/components/graphics/index.d.ts +1 -1
- package/pure-cell/esm/components/graphics/index.js +1 -1
- package/pure-cell/esm/components/main/component.js +1 -1
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -1
- package/pure-cell/esm/components/text/component.js +1 -1
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -1
- package/pure-cell/esm/index.js +1 -1
- package/pure-cell/index.js +1 -1
- package/pure-cell/modern/component.js +1 -1
- package/pure-cell/modern/components/addon/component.js +1 -1
- package/pure-cell/modern/components/addon/index.d.ts +1 -1
- package/pure-cell/modern/components/addon/index.js +1 -1
- package/pure-cell/modern/components/amount/component.js +1 -1
- package/pure-cell/modern/components/amount/index.d.ts +1 -1
- package/pure-cell/modern/components/amount/index.js +1 -1
- package/pure-cell/modern/components/amount-title/component.js +1 -1
- package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
- package/pure-cell/modern/components/amount-title/index.js +1 -1
- package/pure-cell/modern/components/category/component.js +1 -1
- package/pure-cell/modern/components/category/index.d.ts +1 -1
- package/pure-cell/modern/components/category/index.js +1 -1
- package/pure-cell/modern/components/content/component.js +1 -1
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -1
- package/pure-cell/modern/components/footer/component.js +1 -1
- package/pure-cell/modern/components/footer/index.d.ts +1 -1
- package/pure-cell/modern/components/footer/index.js +1 -1
- package/pure-cell/modern/components/footer-button/component.js +1 -1
- package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-button/index.js +1 -1
- package/pure-cell/modern/components/footer-text/component.js +1 -1
- package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-text/index.js +1 -1
- package/pure-cell/modern/components/graphics/component.js +1 -1
- package/pure-cell/modern/components/graphics/index.d.ts +1 -1
- package/pure-cell/modern/components/graphics/index.js +1 -1
- package/pure-cell/modern/components/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.js +1 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +5 -5
- /package/confirmation/{countdown-section-4a67b448.d.ts → countdown-section-f0928054.d.ts} +0 -0
- /package/confirmation/{countdown-section-4a67b448.js → countdown-section-f0928054.js} +0 -0
- /package/confirmation/esm/{countdown-section-d34eebea.d.ts → countdown-section-9f6a0e69.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-d34eebea.js → countdown-section-9f6a0e69.js} +0 -0
- /package/confirmation/modern/{countdown-section-918e45c2.d.ts → countdown-section-bf3d2d78.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-918e45c2.js → countdown-section-bf3d2d78.js} +0 -0
- /package/gallery/{buttons-f0fdd998.d.ts → buttons-1c0cdc14.d.ts} +0 -0
- /package/gallery/{buttons-f0fdd998.js → buttons-1c0cdc14.js} +0 -0
- /package/gallery/esm/{buttons-5ef733d8.d.ts → buttons-7e925cf3.d.ts} +0 -0
- /package/gallery/esm/{buttons-5ef733d8.js → buttons-7e925cf3.js} +0 -0
- /package/gallery/esm/{slide-36a2fff6.d.ts → slide-3feace8e.d.ts} +0 -0
- /package/gallery/esm/{slide-36a2fff6.js → slide-3feace8e.js} +0 -0
- /package/gallery/modern/{buttons-c7a25765.d.ts → buttons-d84b4f9a.d.ts} +0 -0
- /package/gallery/modern/{buttons-c7a25765.js → buttons-d84b4f9a.js} +0 -0
- /package/gallery/modern/{slide-9f50a83a.d.ts → slide-c6df0579.d.ts} +0 -0
- /package/gallery/modern/{slide-9f50a83a.js → slide-c6df0579.js} +0 -0
- /package/gallery/{slide-3b4119d1.d.ts → slide-535aa79e.d.ts} +0 -0
- /package/gallery/{slide-3b4119d1.js → slide-535aa79e.js} +0 -0
- /package/modal/esm/{layout.module-3cf9b978.js → layout.module-7fed901a.js} +0 -0
- /package/modal/{layout.module-904e5e83.js → layout.module-19c570e6.js} +0 -0
- /package/modal/modern/{layout.module-9557df27.js → layout.module-c12b8ceb.js} +0 -0
- /package/pure-cell/{component-dc981d51.d.ts → component-62687ca9.d.ts} +0 -0
- /package/pure-cell/{component-dc981d51.js → component-62687ca9.js} +0 -0
- /package/pure-cell/esm/{component-a8b5244e.d.ts → component-a3078d37.d.ts} +0 -0
- /package/pure-cell/esm/{component-a8b5244e.js → component-a3078d37.js} +0 -0
- /package/pure-cell/modern/{component-425b389b.d.ts → component-2b59df70.d.ts} +0 -0
- /package/pure-cell/modern/{component-425b389b.js → component-2b59df70.js} +0 -0
- /package/select/esm/{hook-4365ebf5.d.ts → hook-47802ae2.d.ts} +0 -0
- /package/select/esm/{hook-4365ebf5.js → hook-47802ae2.js} +0 -0
- /package/select/{hook-8816ba20.d.ts → hook-1b6b8f9e.d.ts} +0 -0
- /package/select/{hook-8816ba20.js → hook-1b6b8f9e.js} +0 -0
- /package/select/modern/{hook-a59f48b9.d.ts → hook-f2b8c0de.d.ts} +0 -0
- /package/select/modern/{hook-a59f48b9.js → hook-f2b8c0de.js} +0 -0
- /package/side-panel/esm/{layout.module-5c07638f.js → layout.module-a1f1e5d5.js} +0 -0
- /package/side-panel/{layout.module-7116bec3.js → layout.module-58cb0667.js} +0 -0
- /package/side-panel/modern/{layout.module-dff5ac9c.js → layout.module-3d5b6e76.js} +0 -0
|
@@ -47,8 +47,6 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
47
47
|
var minDate = React.useMemo(function () { return (minDateTimestamp ? startOfDay__default.default(minDateTimestamp) : undefined); }, [minDateTimestamp]);
|
|
48
48
|
var maxDate = React.useMemo(function () { return (maxDateTimestamp ? endOfDay__default.default(maxDateTimestamp) : undefined); }, [maxDateTimestamp]);
|
|
49
49
|
var selected = React.useMemo(function () { return (value ? new Date(value) : undefined); }, [value]);
|
|
50
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
51
|
-
var startingDate = React.useMemo(function () { return (value ? new Date(value) : new Date()); }, []);
|
|
52
50
|
var defaultMonth = React.useMemo(function () {
|
|
53
51
|
return startOfMonth__default.default(selected ||
|
|
54
52
|
utils.limitDate(defaultMonthTimestamp || Date.now(), minDateTimestamp, maxDateTimestamp));
|
|
@@ -72,7 +70,7 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
72
70
|
var dayAddonsMap = utils.addonArrayToHashTable(dayAddons || []);
|
|
73
71
|
var prevMonths = [];
|
|
74
72
|
var nextMonths = [];
|
|
75
|
-
var date = new Date(
|
|
73
|
+
var date = new Date();
|
|
76
74
|
var currentYear = date.getFullYear();
|
|
77
75
|
var currYearMonths = utils.generateMonths(date, {});
|
|
78
76
|
for (var i = 0; i < yearsAmount; i++) {
|
|
@@ -93,17 +91,7 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
93
91
|
holidaysMap: holidaysMap,
|
|
94
92
|
dayAddonsMap: dayAddonsMap,
|
|
95
93
|
}), title: "".concat(utils.monthName(item.date), " ").concat(item.date.getFullYear()) })); });
|
|
96
|
-
}, [
|
|
97
|
-
events,
|
|
98
|
-
offDays,
|
|
99
|
-
holidays,
|
|
100
|
-
dayAddons,
|
|
101
|
-
startingDate,
|
|
102
|
-
minDate,
|
|
103
|
-
maxDate,
|
|
104
|
-
yearsAmount,
|
|
105
|
-
selected,
|
|
106
|
-
]);
|
|
94
|
+
}, [events, offDays, holidays, dayAddons, yearsAmount, minDate, maxDate, selected]);
|
|
107
95
|
var initialMonthIndex = React.useMemo(function () {
|
|
108
96
|
var date = value || selectedFrom || activeMonth.getTime() || Date.now();
|
|
109
97
|
return activeMonths.findIndex(function (m) { return isSameMonth__default.default(date, m.date); });
|
|
@@ -44,8 +44,6 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
44
44
|
var minDate = React.useMemo(function () { return (minDateTimestamp ? startOfDay__default.default(minDateTimestamp) : undefined); }, [minDateTimestamp]);
|
|
45
45
|
var maxDate = React.useMemo(function () { return (maxDateTimestamp ? endOfDay__default.default(maxDateTimestamp) : undefined); }, [maxDateTimestamp]);
|
|
46
46
|
var selected = React.useMemo(function () { return (value ? new Date(value) : undefined); }, [value]);
|
|
47
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
48
|
-
var startingDate = React.useMemo(function () { return (value ? new Date(value) : new Date()); }, []);
|
|
49
47
|
var defaultMonth = React.useMemo(function () {
|
|
50
48
|
return startOfMonth__default.default(selected ||
|
|
51
49
|
utils.limitDate(defaultMonthTimestamp || Date.now(), minDateTimestamp, maxDateTimestamp));
|
|
@@ -69,7 +67,7 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
69
67
|
var dayAddonsMap = utils.addonArrayToHashTable(dayAddons || []);
|
|
70
68
|
var prevMonths = [];
|
|
71
69
|
var nextMonths = [];
|
|
72
|
-
var date = new Date(
|
|
70
|
+
var date = new Date();
|
|
73
71
|
var currentYear = date.getFullYear();
|
|
74
72
|
var currYearMonths = utils.generateMonths(date, {});
|
|
75
73
|
for (var i = 0; i < yearsAmount; i++) {
|
|
@@ -90,17 +88,7 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
90
88
|
holidaysMap: holidaysMap,
|
|
91
89
|
dayAddonsMap: dayAddonsMap,
|
|
92
90
|
}), title: "".concat(utils.monthName(item.date), " ").concat(item.date.getFullYear()) })); });
|
|
93
|
-
}, [
|
|
94
|
-
events,
|
|
95
|
-
offDays,
|
|
96
|
-
holidays,
|
|
97
|
-
dayAddons,
|
|
98
|
-
startingDate,
|
|
99
|
-
minDate,
|
|
100
|
-
maxDate,
|
|
101
|
-
yearsAmount,
|
|
102
|
-
selected,
|
|
103
|
-
]);
|
|
91
|
+
}, [events, offDays, holidays, dayAddons, yearsAmount, minDate, maxDate, selected]);
|
|
104
92
|
var initialMonthIndex = React.useMemo(function () {
|
|
105
93
|
var date = value || selectedFrom || activeMonth.getTime() || Date.now();
|
|
106
94
|
return activeMonths.findIndex(function (m) { return isSameMonth__default.default(date, m.date); });
|
|
@@ -85,8 +85,6 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
85
85
|
var minDate = useMemo(function () { return (minDateTimestamp ? startOfDay(minDateTimestamp) : undefined); }, [minDateTimestamp]);
|
|
86
86
|
var maxDate = useMemo(function () { return (maxDateTimestamp ? endOfDay(maxDateTimestamp) : undefined); }, [maxDateTimestamp]);
|
|
87
87
|
var selected = useMemo(function () { return (value ? new Date(value) : undefined); }, [value]);
|
|
88
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
89
|
-
var startingDate = useMemo(function () { return (value ? new Date(value) : new Date()); }, []);
|
|
90
88
|
var defaultMonth = useMemo(function () {
|
|
91
89
|
return startOfMonth(selected ||
|
|
92
90
|
limitDate(defaultMonthTimestamp || Date.now(), minDateTimestamp, maxDateTimestamp));
|
|
@@ -110,7 +108,7 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
110
108
|
var dayAddonsMap = addonArrayToHashTable(dayAddons || []);
|
|
111
109
|
var prevMonths = [];
|
|
112
110
|
var nextMonths = [];
|
|
113
|
-
var date = new Date(
|
|
111
|
+
var date = new Date();
|
|
114
112
|
var currentYear = date.getFullYear();
|
|
115
113
|
var currYearMonths = generateMonths(date, {});
|
|
116
114
|
for (var i = 0; i < yearsAmount; i++) {
|
|
@@ -131,17 +129,7 @@ var CalendarMonthOnlyView = function (_a) {
|
|
|
131
129
|
holidaysMap: holidaysMap,
|
|
132
130
|
dayAddonsMap: dayAddonsMap,
|
|
133
131
|
}), title: "".concat(monthName(item.date), " ").concat(item.date.getFullYear()) })); });
|
|
134
|
-
}, [
|
|
135
|
-
events,
|
|
136
|
-
offDays,
|
|
137
|
-
holidays,
|
|
138
|
-
dayAddons,
|
|
139
|
-
startingDate,
|
|
140
|
-
minDate,
|
|
141
|
-
maxDate,
|
|
142
|
-
yearsAmount,
|
|
143
|
-
selected,
|
|
144
|
-
]);
|
|
132
|
+
}, [events, offDays, holidays, dayAddons, yearsAmount, minDate, maxDate, selected]);
|
|
145
133
|
var initialMonthIndex = useMemo(function () {
|
|
146
134
|
var date = value || selectedFrom || activeMonth.getTime() || Date.now();
|
|
147
135
|
return activeMonths.findIndex(function (m) { return isSameMonth(date, m.date); });
|
|
@@ -83,8 +83,6 @@ const CalendarMonthOnlyView = ({ value, month: monthTimestamp, minDate: minDateT
|
|
|
83
83
|
const minDate = useMemo(() => (minDateTimestamp ? startOfDay(minDateTimestamp) : undefined), [minDateTimestamp]);
|
|
84
84
|
const maxDate = useMemo(() => (maxDateTimestamp ? endOfDay(maxDateTimestamp) : undefined), [maxDateTimestamp]);
|
|
85
85
|
const selected = useMemo(() => (value ? new Date(value) : undefined), [value]);
|
|
86
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
87
|
-
const startingDate = useMemo(() => (value ? new Date(value) : new Date()), []);
|
|
88
86
|
const defaultMonth = useMemo(() => startOfMonth(selected ||
|
|
89
87
|
limitDate(defaultMonthTimestamp || Date.now(), minDateTimestamp, maxDateTimestamp)), [defaultMonthTimestamp, maxDateTimestamp, minDateTimestamp, selected]);
|
|
90
88
|
const { activeMonth, highlighted, getDayProps } = useCalendar({
|
|
@@ -106,7 +104,7 @@ const CalendarMonthOnlyView = ({ value, month: monthTimestamp, minDate: minDateT
|
|
|
106
104
|
const dayAddonsMap = addonArrayToHashTable(dayAddons || []);
|
|
107
105
|
const prevMonths = [];
|
|
108
106
|
const nextMonths = [];
|
|
109
|
-
const date = new Date(
|
|
107
|
+
const date = new Date();
|
|
110
108
|
const currentYear = date.getFullYear();
|
|
111
109
|
const currYearMonths = generateMonths(date, {});
|
|
112
110
|
for (let i = 0; i < yearsAmount; i++) {
|
|
@@ -131,17 +129,7 @@ const CalendarMonthOnlyView = ({ value, month: monthTimestamp, minDate: minDateT
|
|
|
131
129
|
}),
|
|
132
130
|
title: `${monthName(item.date)} ${item.date.getFullYear()}`,
|
|
133
131
|
}));
|
|
134
|
-
}, [
|
|
135
|
-
events,
|
|
136
|
-
offDays,
|
|
137
|
-
holidays,
|
|
138
|
-
dayAddons,
|
|
139
|
-
startingDate,
|
|
140
|
-
minDate,
|
|
141
|
-
maxDate,
|
|
142
|
-
yearsAmount,
|
|
143
|
-
selected,
|
|
144
|
-
]);
|
|
132
|
+
}, [events, offDays, holidays, dayAddons, yearsAmount, minDate, maxDate, selected]);
|
|
145
133
|
const initialMonthIndex = useMemo(() => {
|
|
146
134
|
const date = value || selectedFrom || activeMonth.getTime() || Date.now();
|
|
147
135
|
return activeMonths.findIndex((m) => isSameMonth(date, m.date));
|
package/calendar-range/utils.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var isDayButton = function (node) {
|
|
4
|
-
return node && node.tagName === 'BUTTON' && node.dataset.date;
|
|
5
|
-
};
|
|
3
|
+
var isDayButton = function (node) { return node && node.tagName === 'BUTTON' && node.dataset.date; };
|
|
6
4
|
|
|
7
5
|
exports.isDayButton = isDayButton;
|
|
@@ -10,7 +10,7 @@ var coreComponentsTypography = require('../../../../typography');
|
|
|
10
10
|
var hooks = require('@alfalab/hooks');
|
|
11
11
|
var context = require('../../../context.js');
|
|
12
12
|
var components_header_component = require('../../header/component.js');
|
|
13
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
13
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-f0928054.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
@@ -7,7 +7,7 @@ require('../../../../spinner');
|
|
|
7
7
|
require('../../../../typography');
|
|
8
8
|
require('../../../context.js');
|
|
9
9
|
require('../../../utils.js');
|
|
10
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
10
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-f0928054.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../link/esm';
|
|
17
17
|
import '../../typography/esm';
|
|
18
18
|
import './components/header/component.js';
|
|
19
|
-
import './countdown-section-
|
|
19
|
+
import './countdown-section-9f6a0e69.js';
|
|
20
20
|
import '../../button/esm';
|
|
21
21
|
import '../../spinner/esm';
|
|
22
22
|
import './components/screens/hint/component.js';
|
|
@@ -15,7 +15,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
15
15
|
import '../../../../link/esm';
|
|
16
16
|
import '../../../../typography/esm';
|
|
17
17
|
import '../header/component.js';
|
|
18
|
-
import '../../countdown-section-
|
|
18
|
+
import '../../countdown-section-9f6a0e69.js';
|
|
19
19
|
import '../../../../button/esm';
|
|
20
20
|
import '../../../../spinner/esm';
|
|
21
21
|
import '../countdown-loader/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../../link/esm';
|
|
14
14
|
import '../../../../typography/esm';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-9f6a0e69.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-9f6a0e69.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-9f6a0e69.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/esm';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-9f6a0e69.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/esm';
|
|
14
14
|
import '../../../../../spinner/esm';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/esm';
|
|
|
4
4
|
import '../../../../../spinner/esm';
|
|
5
5
|
import '../../../../../typography/esm';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-9f6a0e69.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-9f6a0e69.js';
|
|
14
14
|
import '../../../../../button/esm';
|
|
15
15
|
import '../../../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../link/esm';
|
|
14
14
|
import '../../../typography/esm';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-9f6a0e69.js';
|
|
17
17
|
import '../../../button/esm';
|
|
18
18
|
import '../../../spinner/esm';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
|
|
|
14
14
|
import '../../../link/esm';
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '../components/header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-9f6a0e69.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
20
20
|
import '../components/screens/hint/component.js';
|
|
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../link/esm';
|
|
17
17
|
import '../../typography/esm';
|
|
18
18
|
import './components/header/component.js';
|
|
19
|
-
import './countdown-section-
|
|
19
|
+
import './countdown-section-9f6a0e69.js';
|
|
20
20
|
import '../../button/esm';
|
|
21
21
|
import '../../spinner/esm';
|
|
22
22
|
import './components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../link/esm';
|
|
14
14
|
import '../../../typography/esm';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-9f6a0e69.js';
|
|
17
17
|
import '../../../button/esm';
|
|
18
18
|
import '../../../spinner/esm';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
|
|
|
14
14
|
import '../../../link/esm';
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '../components/header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-9f6a0e69.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
20
20
|
import '../components/screens/hint/component.js';
|
|
@@ -15,6 +15,6 @@ import '../../../link/esm';
|
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import '../components/header/component.js';
|
|
18
|
-
import '../countdown-section-
|
|
18
|
+
import '../countdown-section-9f6a0e69.js';
|
|
19
19
|
import '../../../button/esm';
|
|
20
20
|
import '../../../spinner/esm';
|
|
@@ -15,7 +15,7 @@ import '../../code-input/modern/mobile';
|
|
|
15
15
|
import '../../link/modern';
|
|
16
16
|
import '../../typography/modern';
|
|
17
17
|
import './components/header/component.js';
|
|
18
|
-
import './countdown-section-
|
|
18
|
+
import './countdown-section-bf3d2d78.js';
|
|
19
19
|
import '../../button/modern';
|
|
20
20
|
import '../../spinner/modern';
|
|
21
21
|
import './components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../../code-input/modern/mobile';
|
|
|
14
14
|
import '../../../../link/modern';
|
|
15
15
|
import '../../../../typography/modern';
|
|
16
16
|
import '../header/component.js';
|
|
17
|
-
import '../../countdown-section-
|
|
17
|
+
import '../../countdown-section-bf3d2d78.js';
|
|
18
18
|
import '../../../../button/modern';
|
|
19
19
|
import '../../../../spinner/modern';
|
|
20
20
|
import '../countdown-loader/component.js';
|
|
@@ -12,7 +12,7 @@ import '../../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../../link/modern';
|
|
13
13
|
import '../../../../typography/modern';
|
|
14
14
|
import '../header/component.js';
|
|
15
|
-
import '../../countdown-section-
|
|
15
|
+
import '../../countdown-section-bf3d2d78.js';
|
|
16
16
|
import '../../../../button/modern';
|
|
17
17
|
import '../../../../spinner/modern';
|
|
18
18
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-bf3d2d78.js';
|
|
18
18
|
import '../../../button/modern';
|
|
19
19
|
import '../../../spinner/modern';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-bf3d2d78.js';
|
|
17
17
|
import '../../../../button/modern';
|
|
18
18
|
import '../../../../spinner/modern';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/modern';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-bf3d2d78.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/modern';
|
|
14
14
|
import '../../../../../spinner/modern';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/modern';
|
|
|
4
4
|
import '../../../../../spinner/modern';
|
|
5
5
|
import '../../../../../typography/modern';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-bf3d2d78.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-bf3d2d78.js';
|
|
14
14
|
import '../../../../../button/modern';
|
|
15
15
|
import '../../../../../spinner/modern';
|
|
@@ -12,7 +12,7 @@ import '../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../link/modern';
|
|
13
13
|
import '../../../typography/modern';
|
|
14
14
|
import '../components/header/component.js';
|
|
15
|
-
import '../countdown-section-
|
|
15
|
+
import '../countdown-section-bf3d2d78.js';
|
|
16
16
|
import '../../../button/modern';
|
|
17
17
|
import '../../../spinner/modern';
|
|
18
18
|
import '../components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/modern/mobile';
|
|
|
13
13
|
import '../../../link/modern';
|
|
14
14
|
import '../../../typography/modern';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-bf3d2d78.js';
|
|
17
17
|
import '../../../button/modern';
|
|
18
18
|
import '../../../spinner/modern';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -15,7 +15,7 @@ import '../../code-input/modern/mobile';
|
|
|
15
15
|
import '../../link/modern';
|
|
16
16
|
import '../../typography/modern';
|
|
17
17
|
import './components/header/component.js';
|
|
18
|
-
import './countdown-section-
|
|
18
|
+
import './countdown-section-bf3d2d78.js';
|
|
19
19
|
import '../../button/modern';
|
|
20
20
|
import '../../spinner/modern';
|
|
21
21
|
import './components/screens/hint/component.js';
|
|
@@ -12,7 +12,7 @@ import '../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../link/modern';
|
|
13
13
|
import '../../../typography/modern';
|
|
14
14
|
import '../components/header/component.js';
|
|
15
|
-
import '../countdown-section-
|
|
15
|
+
import '../countdown-section-bf3d2d78.js';
|
|
16
16
|
import '../../../button/modern';
|
|
17
17
|
import '../../../spinner/modern';
|
|
18
18
|
import '../components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/modern/mobile';
|
|
|
13
13
|
import '../../../link/modern';
|
|
14
14
|
import '../../../typography/modern';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-bf3d2d78.js';
|
|
17
17
|
import '../../../button/modern';
|
|
18
18
|
import '../../../spinner/modern';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -15,6 +15,6 @@ import '../../../link/modern';
|
|
|
15
15
|
import '../../../typography/modern';
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import '../components/header/component.js';
|
|
18
|
-
import '../countdown-section-
|
|
18
|
+
import '../countdown-section-bf3d2d78.js';
|
|
19
19
|
import '../../../button/modern';
|
|
20
20
|
import '../../../spinner/modern';
|
|
@@ -5,7 +5,7 @@ var context = require('../../context.js');
|
|
|
5
5
|
var utils_utils = require('../../utils/utils.js');
|
|
6
6
|
var utils_constants = require('../../utils/constants.js');
|
|
7
7
|
var components_headerInfoBlock_Component = require('../header-info-block/Component.js');
|
|
8
|
-
var components_header_buttons = require('../../buttons-
|
|
8
|
+
var components_header_buttons = require('../../buttons-1c0cdc14.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
@@ -8,7 +8,7 @@ require('@alfalab/icons-glyph/ArrowsInwardMIcon');
|
|
|
8
8
|
require('@alfalab/icons-glyph/ArrowsOutwardMIcon');
|
|
9
9
|
require('@alfalab/icons-glyph/CrossMIcon');
|
|
10
10
|
require('@alfalab/icons-glyph/PointerDownMIcon');
|
|
11
|
-
var components_header_buttons = require('../../buttons-
|
|
11
|
+
var components_header_buttons = require('../../buttons-1c0cdc14.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -12,7 +12,7 @@ var ChevronForwardHeavyMIcon = require('@alfalab/icons-glyph/ChevronForwardHeavy
|
|
|
12
12
|
var context = require('../../context.js');
|
|
13
13
|
var utils_utils = require('../../utils/utils.js');
|
|
14
14
|
var utils_constants = require('../../utils/constants.js');
|
|
15
|
-
var components_imageViewer_slide = require('../../slide-
|
|
15
|
+
var components_imageViewer_slide = require('../../slide-535aa79e.js');
|
|
16
16
|
require('swiper/swiper.min.css');
|
|
17
17
|
|
|
18
18
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -6,7 +6,7 @@ require('../../../typography');
|
|
|
6
6
|
require('../../utils/utils.js');
|
|
7
7
|
require('../../utils/constants.js');
|
|
8
8
|
require('./paths.js');
|
|
9
|
-
var components_imageViewer_slide = require('../../slide-
|
|
9
|
+
var components_imageViewer_slide = require('../../slide-535aa79e.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
package/gallery/esm/Component.js
CHANGED
|
@@ -20,13 +20,13 @@ import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
|
20
20
|
import './components/image-preview/paths.js';
|
|
21
21
|
import './components/header-info-block/Component.js';
|
|
22
22
|
import './utils/split-filename.js';
|
|
23
|
-
import './buttons-
|
|
23
|
+
import './buttons-7e925cf3.js';
|
|
24
24
|
import 'element-closest';
|
|
25
25
|
import 'swiper';
|
|
26
26
|
import 'swiper/react';
|
|
27
27
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
28
28
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
29
|
-
import './slide-
|
|
29
|
+
import './slide-3feace8e.js';
|
|
30
30
|
import './components/image-viewer/paths.js';
|
|
31
31
|
import 'swiper/swiper.min.css';
|
|
32
32
|
|
|
@@ -3,7 +3,7 @@ import { GalleryContext } from '../../context.js';
|
|
|
3
3
|
import { isSmallImage } from '../../utils/utils.js';
|
|
4
4
|
import { TestIds } from '../../utils/constants.js';
|
|
5
5
|
import { HeaderInfoBlock } from '../header-info-block/Component.js';
|
|
6
|
-
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
6
|
+
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-7e925cf3.js';
|
|
7
7
|
import '../../../../typography/esm';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
9
|
import 'tslib';
|
|
@@ -6,4 +6,4 @@ import '@alfalab/icons-glyph/ArrowsInwardMIcon';
|
|
|
6
6
|
import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
8
8
|
import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
9
|
-
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
9
|
+
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-7e925cf3.js';
|
|
@@ -6,7 +6,7 @@ import '../../utils/constants.js';
|
|
|
6
6
|
import '../header-info-block/Component.js';
|
|
7
7
|
import '../../../../typography/esm';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
|
-
import '../../buttons-
|
|
9
|
+
import '../../buttons-7e925cf3.js';
|
|
10
10
|
import 'tslib';
|
|
11
11
|
import '../../../../icon-button/esm';
|
|
12
12
|
import '../../../../tooltip/esm/desktop';
|
|
@@ -20,7 +20,7 @@ import 'swiper/react';
|
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
22
22
|
import '../../utils/constants.js';
|
|
23
|
-
import '../../slide-
|
|
23
|
+
import '../../slide-3feace8e.js';
|
|
24
24
|
import '../image-viewer/paths.js';
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import '@alfalab/hooks';
|
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
22
22
|
import '../../utils/constants.js';
|
|
23
|
-
import '../../slide-
|
|
23
|
+
import '../../slide-3feace8e.js';
|
|
24
24
|
import '../image-viewer/paths.js';
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
import './paths.js';
|
|
@@ -10,7 +10,7 @@ import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHea
|
|
|
10
10
|
import { GalleryContext } from '../../context.js';
|
|
11
11
|
import { getImageAlt, getImageKey } from '../../utils/utils.js';
|
|
12
12
|
import { TestIds } from '../../utils/constants.js';
|
|
13
|
-
import { s as styles, S as Slide } from '../../slide-
|
|
13
|
+
import { s as styles, S as Slide } from '../../slide-3feace8e.js';
|
|
14
14
|
import 'swiper/swiper.min.css';
|
|
15
15
|
import '../../../../typography/esm';
|
|
16
16
|
import './paths.js';
|
|
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
|
11
11
|
import '../../context.js';
|
|
12
12
|
import '../../utils/utils.js';
|
|
13
13
|
import '../../utils/constants.js';
|
|
14
|
-
import '../../slide-
|
|
14
|
+
import '../../slide-3feace8e.js';
|
|
15
15
|
import '../../../../typography/esm';
|
|
16
16
|
import './paths.js';
|
|
17
17
|
import 'swiper/swiper.min.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../../typography/esm';
|
|
4
|
-
export { S as Slide } from '../../slide-
|
|
4
|
+
export { S as Slide } from '../../slide-3feace8e.js';
|
|
5
5
|
import '../../utils/utils.js';
|
|
6
6
|
import '../../utils/constants.js';
|
|
7
7
|
import './paths.js';
|
|
@@ -22,10 +22,10 @@ import 'swiper/react';
|
|
|
22
22
|
import '@alfalab/hooks';
|
|
23
23
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
24
24
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
25
|
-
import '../slide-
|
|
25
|
+
import '../slide-3feace8e.js';
|
|
26
26
|
import './image-viewer/paths.js';
|
|
27
27
|
import 'swiper/swiper.min.css';
|
|
28
28
|
import './image-preview/paths.js';
|
|
29
29
|
import './header-info-block/Component.js';
|
|
30
30
|
import '../utils/split-filename.js';
|
|
31
|
-
import '../buttons-
|
|
31
|
+
import '../buttons-7e925cf3.js';
|