guestbell-forms 2.0.298 → 2.0.299
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/build/components/InputHeader/InputHeader.js +258 -323
- package/build/components/InputHeader/InputHeader.js.map +1 -1
- package/build/components/InputHeader/InputHeaderContext.js +6 -8
- package/build/components/InputHeader/InputHeaderContext.js.map +1 -1
- package/build/components/InputHeader/index.js +4 -6
- package/build/components/InputHeader/index.js.map +1 -1
- package/build/components/InputHeader/withInputHeaderContext.js +9 -13
- package/build/components/InputHeader/withInputHeaderContext.js.map +1 -1
- package/build/components/base/input/BaseInput.js +334 -418
- package/build/components/base/input/BaseInput.js.map +1 -1
- package/build/components/base/input/index.js +1 -1
- package/build/components/base/input/index.js.map +1 -1
- package/build/components/bookingCalendar/BookingCalendar.js +68 -85
- package/build/components/bookingCalendar/BookingCalendar.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarControls/BookingCalendarControls.js +40 -71
- package/build/components/bookingCalendar/bookingCalendarControls/BookingCalendarControls.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarControls/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarControls/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarControls/index.js +2 -2
- package/build/components/bookingCalendar/bookingCalendarControls/index.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarDatePicker/BookingCalendarDatePicker.js +22 -41
- package/build/components/bookingCalendar/bookingCalendarDatePicker/BookingCalendarDatePicker.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarDatePicker/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarDatePicker/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarDatePicker/index.js +2 -2
- package/build/components/bookingCalendar/bookingCalendarDatePicker/index.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarGrid/BookingCalendarGrid.js +20 -24
- package/build/components/bookingCalendar/bookingCalendarGrid/BookingCalendarGrid.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarGrid/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarGrid/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarItem/BookingCalendarItem.js +9 -12
- package/build/components/bookingCalendar/bookingCalendarItem/BookingCalendarItem.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarItem/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarItem/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarItem/index.js +2 -2
- package/build/components/bookingCalendar/bookingCalendarItem/index.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLane/BookingCalendarLane.js +23 -28
- package/build/components/bookingCalendar/bookingCalendarLane/BookingCalendarLane.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLane/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarLane/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLane/index.js +2 -2
- package/build/components/bookingCalendar/bookingCalendarLane/index.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/BookingCalendarLaneHeader.js +6 -6
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/BookingCalendarLaneHeader.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/index.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarLaneHeader/index.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.js +12 -16
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeaderRenderItem.js +27 -31
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeaderRenderItem.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/index.js +2 -2
- package/build/components/bookingCalendar/bookingCalendarLanesHeader/index.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarRenderItem/BookingCalendarRenderItem.js +19 -19
- package/build/components/bookingCalendar/bookingCalendarRenderItem/BookingCalendarRenderItem.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarRenderItem/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarRenderItem/classes.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarRenderItem/index.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarRenderItem/index.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarSelection/BookingCalendarSelection.js +133 -175
- package/build/components/bookingCalendar/bookingCalendarSelection/BookingCalendarSelection.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarTimeAxis/BookingCalendarTimeAxis.js +17 -19
- package/build/components/bookingCalendar/bookingCalendarTimeAxis/BookingCalendarTimeAxis.js.map +1 -1
- package/build/components/bookingCalendar/bookingCalendarTimeAxis/classes.js +1 -1
- package/build/components/bookingCalendar/bookingCalendarTimeAxis/classes.js.map +1 -1
- package/build/components/bookingCalendar/classes.js +1 -1
- package/build/components/bookingCalendar/classes.js.map +1 -1
- package/build/components/bookingCalendar/common.js +5 -7
- package/build/components/bookingCalendar/common.js.map +1 -1
- package/build/components/bookingCalendar/index.js +3 -3
- package/build/components/bookingCalendar/index.js.map +1 -1
- package/build/components/bookingCalendar/utils.js +143 -205
- package/build/components/bookingCalendar/utils.js.map +1 -1
- package/build/components/button/Button.js +101 -123
- package/build/components/button/Button.js.map +1 -1
- package/build/components/button/index.js +4 -6
- package/build/components/button/index.js.map +1 -1
- package/build/components/checkbox/Checkbox.js +102 -145
- package/build/components/checkbox/Checkbox.js.map +1 -1
- package/build/components/checkbox/index.js +4 -6
- package/build/components/checkbox/index.js.map +1 -1
- package/build/components/dropdown/Dropdown.js +41 -57
- package/build/components/dropdown/Dropdown.js.map +1 -1
- package/build/components/dropdown/index.js +4 -6
- package/build/components/dropdown/index.js.map +1 -1
- package/build/components/dynamicSubmit/DynamicSubmit.js +81 -123
- package/build/components/dynamicSubmit/DynamicSubmit.js.map +1 -1
- package/build/components/dynamicSubmit/index.js +4 -6
- package/build/components/dynamicSubmit/index.js.map +1 -1
- package/build/components/form/Form.js +139 -193
- package/build/components/form/Form.js.map +1 -1
- package/build/components/form/FormContext.js +6 -8
- package/build/components/form/FormContext.js.map +1 -1
- package/build/components/form/FormValidationSummary.js +57 -105
- package/build/components/form/FormValidationSummary.js.map +1 -1
- package/build/components/form/index.js +5 -7
- package/build/components/form/index.js.map +1 -1
- package/build/components/form/withFormContext.js +9 -13
- package/build/components/form/withFormContext.js.map +1 -1
- package/build/components/inputGroup/InputGroup.js +16 -48
- package/build/components/inputGroup/InputGroup.js.map +1 -1
- package/build/components/inputGroup/index.js +4 -6
- package/build/components/inputGroup/index.js.map +1 -1
- package/build/components/money/Money.js +137 -211
- package/build/components/money/Money.js.map +1 -1
- package/build/components/money/index.js +4 -6
- package/build/components/money/index.js.map +1 -1
- package/build/components/numberInput/NumberInput.js +106 -144
- package/build/components/numberInput/NumberInput.js.map +1 -1
- package/build/components/numberInput/index.js +4 -6
- package/build/components/numberInput/index.js.map +1 -1
- package/build/components/openingHours/openingHoursDay/OpeningHoursDay.js +162 -220
- package/build/components/openingHours/openingHoursDay/OpeningHoursDay.js.map +1 -1
- package/build/components/openingHours/openingHoursDay/index.js +4 -6
- package/build/components/openingHours/openingHoursDay/index.js.map +1 -1
- package/build/components/openingHours/openingHoursSpecial/OpeningHoursSpecial.js +114 -191
- package/build/components/openingHours/openingHoursSpecial/OpeningHoursSpecial.js.map +1 -1
- package/build/components/openingHours/openingHoursSpecial/index.js +4 -6
- package/build/components/openingHours/openingHoursSpecial/index.js.map +1 -1
- package/build/components/openingHours/openingHoursWeek/OpeningHoursWeek.js +150 -209
- package/build/components/openingHours/openingHoursWeek/OpeningHoursWeek.js.map +1 -1
- package/build/components/openingHours/openingHoursWeek/index.js +4 -6
- package/build/components/openingHours/openingHoursWeek/index.js.map +1 -1
- package/build/components/openingHours/utils/OpeningHoursUtil.js +51 -76
- package/build/components/openingHours/utils/OpeningHoursUtil.js.map +1 -1
- package/build/components/radio/Radio.js +38 -75
- package/build/components/radio/Radio.js.map +1 -1
- package/build/components/radio/index.js +4 -6
- package/build/components/radio/index.js.map +1 -1
- package/build/components/radioContainer/RadioContainer.js +19 -49
- package/build/components/radioContainer/RadioContainer.js.map +1 -1
- package/build/components/radioContainer/index.js +4 -6
- package/build/components/radioContainer/index.js.map +1 -1
- package/build/components/select/Select.js +186 -264
- package/build/components/select/Select.js.map +1 -1
- package/build/components/select/index.js +4 -6
- package/build/components/select/index.js.map +1 -1
- package/build/components/submit/Submit.js +50 -87
- package/build/components/submit/Submit.js.map +1 -1
- package/build/components/submit/index.js +4 -6
- package/build/components/submit/index.js.map +1 -1
- package/build/components/submit/subComponents/SubmitValidationSummary.js +5 -7
- package/build/components/submit/subComponents/SubmitValidationSummary.js.map +1 -1
- package/build/components/tags/Tags.js +365 -565
- package/build/components/tags/Tags.js.map +1 -1
- package/build/components/tags/index.js +4 -6
- package/build/components/tags/index.js.map +1 -1
- package/build/components/tags/subComponents/TagsSuggestions.js +29 -30
- package/build/components/tags/subComponents/TagsSuggestions.js.map +1 -1
- package/build/components/text/Text.js +95 -138
- package/build/components/text/Text.js.map +1 -1
- package/build/components/text/index.js +4 -6
- package/build/components/text/index.js.map +1 -1
- package/build/components/textArea/TextArea.js +52 -91
- package/build/components/textArea/TextArea.js.map +1 -1
- package/build/components/textArea/index.js +4 -6
- package/build/components/textArea/index.js.map +1 -1
- package/build/components/themeProvider/ThemeContext.js +6 -8
- package/build/components/themeProvider/ThemeContext.js.map +1 -1
- package/build/components/themeProvider/ThemeProvider.js +3 -5
- package/build/components/themeProvider/ThemeProvider.js.map +1 -1
- package/build/components/themeProvider/index.js +4 -6
- package/build/components/themeProvider/index.js.map +1 -1
- package/build/components/themeProvider/withThemeContext.js +10 -14
- package/build/components/themeProvider/withThemeContext.js.map +1 -1
- package/build/components/time/Time.js +184 -228
- package/build/components/time/Time.js.map +1 -1
- package/build/components/time/index.js +4 -6
- package/build/components/time/index.js.map +1 -1
- package/build/components/timeSpan/TimeSpan.js +226 -280
- package/build/components/timeSpan/TimeSpan.js.map +1 -1
- package/build/components/timeSpan/index.js +4 -6
- package/build/components/timeSpan/index.js.map +1 -1
- package/build/components/utils/Guid.js +3 -5
- package/build/components/utils/Guid.js.map +1 -1
- package/build/components/utils/ShallowEqual.js +5 -11
- package/build/components/utils/ShallowEqual.js.map +1 -1
- package/build/components/utils/TimeUtil.js +8 -22
- package/build/components/utils/TimeUtil.js.map +1 -1
- package/build/components/utils/Typescript.js.map +1 -1
- package/build/dist/guestbell-forms.css +0 -6
- package/build/dist/guestbell-forms.css.map +1 -1
- package/build/dist/guestbell-forms.min.css +1 -1
- package/build/dist/guestbell-forms.min.js +1 -1
- package/build/dist/guestbell-forms.min.js.map +1 -1
- package/build/dist/report.html +2 -2
- package/build/index.js +23 -23
- package/build/index.js.map +1 -1
- package/build/types/ElementOverrideProp.js.map +1 -1
- package/build/types/Theme.js.map +1 -1
- package/build/types/ThemeOverrides.js.map +1 -1
- package/build/validators/EmailValidator.js +8 -22
- package/build/validators/EmailValidator.js.map +1 -1
- package/build/validators/LatitudeValidator.js +13 -27
- package/build/validators/LatitudeValidator.js.map +1 -1
- package/build/validators/LongitudeValidator.js +13 -27
- package/build/validators/LongitudeValidator.js.map +1 -1
- package/build/validators/NumberValidator.js +27 -39
- package/build/validators/NumberValidator.js.map +1 -1
- package/build/validators/UrlValidator.js +9 -23
- package/build/validators/UrlValidator.js.map +1 -1
- package/build/validators/base.js.map +1 -1
- package/build/validators/index.js +6 -6
- package/build/validators/index.js.map +1 -1
- package/package.json +8 -5
- package/tsconfig.json +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"BookingCalendarItem.js","names":["BookingCalendarItem","props","className","marginStart","width","BookingCalendarRenderItem","DefaultBookingCalendarRenderItem","style","React","useMemo","getItemPositionStyle","classNames","bookingCalendarItemDefaultClasses"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarItem/BookingCalendarItem.tsx"],"sourcesContent":["import * as React from 'react';\r\nimport {\r\n BookingCalendarRenderItem as DefaultBookingCalendarRenderItem,\r\n BookingCalendarRenderItemProps,\r\n} from '../bookingCalendarRenderItem/BookingCalendarRenderItem';\r\nimport { BookingCalendarItemT } from '../common';\r\nimport classNames from 'classnames';\r\nimport { getItemPositionStyle } from './../utils';\r\nimport {\r\n BookingCalendarItemClasses,\r\n bookingCalendarItemDefaultClasses,\r\n} from './classes';\r\nimport { Duration, Moment } from 'moment';\r\n\r\nexport interface BookingCalendarItemBaseProps<T extends BookingCalendarItemT> {\r\n item: T;\r\n itemIndex: number;\r\n laneIndex: number;\r\n from: Moment;\r\n till: Moment;\r\n step: Duration;\r\n /**\r\n * Number between [0,1] that tells how far from previous item (or start) this item starts\r\n */\r\n marginStart: number;\r\n\r\n /**\r\n * Number between [0,1] that tells what part of the lane the item starts at\r\n */\r\n start: number;\r\n /**\r\n * Like start but can be negative (go offscreen)\r\n */\r\n realStart: number;\r\n /**\r\n * Actual start date shown on grid\r\n */\r\n realFrom: Moment;\r\n /**\r\n * Some part of the item was cut from the beginning\r\n */\r\n startIsCut: boolean;\r\n /**\r\n * Number between [0,1] that tells what part of the lane the item takes\r\n */\r\n width: number;\r\n /**\r\n * Number between [0,1] that tells what part of the lane the item ends at\r\n */\r\n end: number;\r\n /**\r\n * Like end but can be more than 1 (go offscreen)\r\n */\r\n realEnd: number;\r\n /**\r\n * Actual end date shown on grid\r\n */\r\n realTill: Moment;\r\n /**\r\n * Some part of the item was cut from the end\r\n */\r\n endIsCut: boolean;\r\n\r\n BookingCalendarRenderItem?: React.ComponentType<\r\n BookingCalendarRenderItemProps<T>\r\n >;\r\n}\r\n\r\nexport interface BookingCalendarItemProps<T extends BookingCalendarItemT>\r\n extends BookingCalendarItemClasses,\r\n BookingCalendarItemBaseProps<T> {}\r\n\r\nexport function BookingCalendarItem<T extends BookingCalendarItemT>(\r\n props: BookingCalendarItemProps<T>\r\n) {\r\n const {\r\n className,\r\n marginStart,\r\n width,\r\n BookingCalendarRenderItem = DefaultBookingCalendarRenderItem,\r\n } = props;\r\n const style = React.useMemo(() => getItemPositionStyle(marginStart, width), [\r\n marginStart,\r\n width,\r\n ]);\r\n return (\r\n <div\r\n className={classNames(\r\n bookingCalendarItemDefaultClasses.className,\r\n className\r\n )}\r\n style={style}\r\n >\r\n <BookingCalendarRenderItem {...props} />\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;AAAA;;AACA;;AAKA;;AACA;;AACA;;;;;;;;AAgEO,SAASA,mBAAT,CACLC,KADK,EAEL;EACA,MAAM;IACJC,SADI;IAEJC,WAFI;IAGJC,KAHI;IAIJC,yBAAyB,GAAGC;EAJxB,IAKFL,KALJ;EAMA,MAAMM,KAAK,GAAGC,KAAK,CAACC,OAAN,CAAc,MAAM,IAAAC,2BAAA,EAAqBP,WAArB,EAAkCC,KAAlC,CAApB,EAA8D,CAC1ED,WAD0E,EAE1EC,KAF0E,CAA9D,CAAd;EAIA,oBACE;IACE,SAAS,EAAE,IAAAO,mBAAA,EACTC,0CAAA,CAAkCV,SADzB,EAETA,SAFS,CADb;IAKE,KAAK,EAAEK;EALT,gBAOE,oBAAC,yBAAD,EAA+BN,KAA/B,CAPF,CADF;AAWD"}
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.bookingCalendarItemDefaultClasses = void 0;
|
7
|
-
|
7
|
+
const bookingCalendarItemDefaultClasses = {
|
8
8
|
className: 'bookingCalendar__item'
|
9
9
|
};
|
10
10
|
exports.bookingCalendarItemDefaultClasses = bookingCalendarItemDefaultClasses;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"classes.js","names":["bookingCalendarItemDefaultClasses","className"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarItem/classes.ts"],"sourcesContent":["export interface BookingCalendarItemClasses {\r\n className?: string;\r\n}\r\n\r\nexport const bookingCalendarItemDefaultClasses: BookingCalendarItemClasses = {\r\n className: 'bookingCalendar__item',\r\n};\r\n"],"mappings":";;;;;;AAIO,MAAMA,iCAA6D,GAAG;EAC3EC,SAAS,EAAE;AADgE,CAAtE"}
|
@@ -11,7 +11,7 @@ Object.keys(_BookingCalendarItem).forEach(function (key) {
|
|
11
11
|
if (key in exports && exports[key] === _BookingCalendarItem[key]) return;
|
12
12
|
Object.defineProperty(exports, key, {
|
13
13
|
enumerable: true,
|
14
|
-
get: function
|
14
|
+
get: function () {
|
15
15
|
return _BookingCalendarItem[key];
|
16
16
|
}
|
17
17
|
});
|
@@ -24,7 +24,7 @@ Object.keys(_classes).forEach(function (key) {
|
|
24
24
|
if (key in exports && exports[key] === _classes[key]) return;
|
25
25
|
Object.defineProperty(exports, key, {
|
26
26
|
enumerable: true,
|
27
|
-
get: function
|
27
|
+
get: function () {
|
28
28
|
return _classes[key];
|
29
29
|
}
|
30
30
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarItem/index.ts"],"
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarItem/index.ts"],"sourcesContent":["export * from './BookingCalendarItem';\r\nexport * from './classes';\r\n"],"mappings":";;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
4
|
-
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
6
4
|
value: true
|
7
5
|
});
|
@@ -17,39 +15,36 @@ var _utils = require("../utils");
|
|
17
15
|
|
18
16
|
var _classes = require("./classes");
|
19
17
|
|
20
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
21
19
|
|
22
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null ||
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
23
21
|
|
24
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
25
23
|
|
26
|
-
function _extends() { _extends = Object.assign
|
24
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
27
25
|
|
28
26
|
function BookingCalendarLane(props) {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
}, [items, from, till]);
|
27
|
+
const {
|
28
|
+
className,
|
29
|
+
items,
|
30
|
+
laneIndex,
|
31
|
+
from,
|
32
|
+
till,
|
33
|
+
step,
|
34
|
+
BookingCalendarItem = _BookingCalendarItem.BookingCalendarItem,
|
35
|
+
BookingCalendarRenderItem
|
36
|
+
} = props;
|
37
|
+
const calculatedItems = React.useMemo(() => (0, _utils.calculateItemsDimensions)(items, from, till), [items, from, till]);
|
41
38
|
return /*#__PURE__*/React.createElement("div", {
|
42
39
|
className: (0, _classnames.default)(_classes.bookingCalendarLaneDefaultClasses.className, className)
|
43
|
-
}, calculatedItems === null || calculatedItems === void 0 ? void 0 : calculatedItems.map(
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
}, item)) : null;
|
53
|
-
}));
|
40
|
+
}, calculatedItems === null || calculatedItems === void 0 ? void 0 : calculatedItems.map((item, itemIndex) => item.width > 0 ? /*#__PURE__*/React.createElement(BookingCalendarItem, _extends({
|
41
|
+
BookingCalendarRenderItem: BookingCalendarRenderItem,
|
42
|
+
key: itemIndex,
|
43
|
+
itemIndex: itemIndex,
|
44
|
+
laneIndex: laneIndex,
|
45
|
+
from: from,
|
46
|
+
till: till,
|
47
|
+
step: step
|
48
|
+
}, item)) : null));
|
54
49
|
}
|
55
50
|
//# sourceMappingURL=BookingCalendarLane.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"BookingCalendarLane.js","names":["BookingCalendarLane","props","className","items","laneIndex","from","till","step","BookingCalendarItem","DefaultBookingCalendarItem","BookingCalendarRenderItem","calculatedItems","React","useMemo","calculateItemsDimensions","classNames","bookingCalendarLaneDefaultClasses","map","item","itemIndex","width"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLane/BookingCalendarLane.tsx"],"sourcesContent":["import classNames from 'classnames';\r\nimport { Duration, Moment } from 'moment';\r\nimport * as React from 'react';\r\nimport {\r\n BookingCalendarItem as DefaultBookingCalendarItem,\r\n BookingCalendarItemProps,\r\n} from '../bookingCalendarItem/BookingCalendarItem';\r\nimport { BookingCalendarRenderItemProps } from '../bookingCalendarRenderItem';\r\nimport { calculateItemsDimensions } from '../utils';\r\nimport { BookingCalendarItemT } from './../common';\r\nimport {\r\n bookingCalendarLaneDefaultClasses,\r\n BookingCalendarLaneClasses,\r\n} from './classes';\r\n\r\nexport interface BookingCalendarLaneProps<T extends BookingCalendarItemT>\r\n extends BookingCalendarLaneClasses {\r\n items: T[];\r\n laneIndex: number;\r\n from: Moment;\r\n till: Moment;\r\n step: Duration;\r\n BookingCalendarItem?: React.ComponentType<BookingCalendarItemProps<T>>;\r\n BookingCalendarRenderItem?: React.ComponentType<\r\n BookingCalendarRenderItemProps<T>\r\n >;\r\n}\r\n\r\nexport function BookingCalendarLane<T extends BookingCalendarItemT>(\r\n props: BookingCalendarLaneProps<T>\r\n) {\r\n const {\r\n className,\r\n items,\r\n laneIndex,\r\n from,\r\n till,\r\n step,\r\n BookingCalendarItem = DefaultBookingCalendarItem,\r\n BookingCalendarRenderItem,\r\n } = props;\r\n const calculatedItems = React.useMemo(\r\n () => calculateItemsDimensions(items, from, till),\r\n [items, from, till]\r\n );\r\n return (\r\n <div\r\n className={classNames(\r\n bookingCalendarLaneDefaultClasses.className,\r\n className\r\n )}\r\n >\r\n {calculatedItems?.map((item, itemIndex) =>\r\n item.width > 0 ? (\r\n <BookingCalendarItem\r\n BookingCalendarRenderItem={BookingCalendarRenderItem}\r\n key={itemIndex}\r\n itemIndex={itemIndex}\r\n laneIndex={laneIndex}\r\n from={from}\r\n till={till}\r\n step={step}\r\n {...item}\r\n />\r\n ) : null\r\n )}\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;AAAA;;AAEA;;AACA;;AAKA;;AAEA;;;;;;;;;;AAkBO,SAASA,mBAAT,CACLC,KADK,EAEL;EACA,MAAM;IACJC,SADI;IAEJC,KAFI;IAGJC,SAHI;IAIJC,IAJI;IAKJC,IALI;IAMJC,IANI;IAOJC,mBAAmB,GAAGC,wCAPlB;IAQJC;EARI,IASFT,KATJ;EAUA,MAAMU,eAAe,GAAGC,KAAK,CAACC,OAAN,CACtB,MAAM,IAAAC,+BAAA,EAAyBX,KAAzB,EAAgCE,IAAhC,EAAsCC,IAAtC,CADgB,EAEtB,CAACH,KAAD,EAAQE,IAAR,EAAcC,IAAd,CAFsB,CAAxB;EAIA,oBACE;IACE,SAAS,EAAE,IAAAS,mBAAA,EACTC,0CAAA,CAAkCd,SADzB,EAETA,SAFS;EADb,GAMGS,eANH,aAMGA,eANH,uBAMGA,eAAe,CAAEM,GAAjB,CAAqB,CAACC,IAAD,EAAOC,SAAP,KACpBD,IAAI,CAACE,KAAL,GAAa,CAAb,gBACE,oBAAC,mBAAD;IACE,yBAAyB,EAAEV,yBAD7B;IAEE,GAAG,EAAES,SAFP;IAGE,SAAS,EAAEA,SAHb;IAIE,SAAS,EAAEf,SAJb;IAKE,IAAI,EAAEC,IALR;IAME,IAAI,EAAEC,IANR;IAOE,IAAI,EAAEC;EAPR,GAQMW,IARN,EADF,GAWI,IAZL,CANH,CADF;AAuBD"}
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.bookingCalendarLaneDefaultClasses = void 0;
|
7
|
-
|
7
|
+
const bookingCalendarLaneDefaultClasses = {
|
8
8
|
className: 'bookingCalendar__lane'
|
9
9
|
};
|
10
10
|
exports.bookingCalendarLaneDefaultClasses = bookingCalendarLaneDefaultClasses;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"classes.js","names":["bookingCalendarLaneDefaultClasses","className"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLane/classes.ts"],"sourcesContent":["export interface BookingCalendarLaneClasses {\r\n className?: string;\r\n}\r\n\r\nexport const bookingCalendarLaneDefaultClasses: BookingCalendarLaneClasses = {\r\n className: 'bookingCalendar__lane',\r\n};\r\n"],"mappings":";;;;;;AAIO,MAAMA,iCAA6D,GAAG;EAC3EC,SAAS,EAAE;AADgE,CAAtE"}
|
@@ -11,7 +11,7 @@ Object.keys(_BookingCalendarLane).forEach(function (key) {
|
|
11
11
|
if (key in exports && exports[key] === _BookingCalendarLane[key]) return;
|
12
12
|
Object.defineProperty(exports, key, {
|
13
13
|
enumerable: true,
|
14
|
-
get: function
|
14
|
+
get: function () {
|
15
15
|
return _BookingCalendarLane[key];
|
16
16
|
}
|
17
17
|
});
|
@@ -24,7 +24,7 @@ Object.keys(_classes).forEach(function (key) {
|
|
24
24
|
if (key in exports && exports[key] === _classes[key]) return;
|
25
25
|
Object.defineProperty(exports, key, {
|
26
26
|
enumerable: true,
|
27
|
-
get: function
|
27
|
+
get: function () {
|
28
28
|
return _classes[key];
|
29
29
|
}
|
30
30
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLane/index.ts"],"
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLane/index.ts"],"sourcesContent":["export * from './BookingCalendarLane';\r\nexport * from './classes';\r\n"],"mappings":";;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
package/build/components/bookingCalendar/bookingCalendarLaneHeader/BookingCalendarLaneHeader.js
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
4
|
-
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
6
4
|
value: true
|
7
5
|
});
|
@@ -13,15 +11,17 @@ var React = _interopRequireWildcard(require("react"));
|
|
13
11
|
|
14
12
|
var _classes = require("./classes");
|
15
13
|
|
16
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function
|
14
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
17
15
|
|
18
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null ||
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
19
17
|
|
20
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
21
19
|
|
22
20
|
function BookingCalendarLaneHeader(props) {
|
23
|
-
|
24
|
-
|
21
|
+
const {
|
22
|
+
className,
|
23
|
+
laneKey
|
24
|
+
} = props;
|
25
25
|
return /*#__PURE__*/React.createElement("div", {
|
26
26
|
className: (0, _classnames.default)(_classes.bookingCalendarLaneHeaderDefaultClasses.className, className)
|
27
27
|
}, laneKey, ".");
|
package/build/components/bookingCalendar/bookingCalendarLaneHeader/BookingCalendarLaneHeader.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"BookingCalendarLaneHeader.js","names":["BookingCalendarLaneHeader","props","className","laneKey","classNames","bookingCalendarLaneHeaderDefaultClasses"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLaneHeader/BookingCalendarLaneHeader.tsx"],"sourcesContent":["import classNames from 'classnames';\r\nimport * as React from 'react';\r\nimport {\r\n bookingCalendarLaneHeaderDefaultClasses,\r\n BookingCalendarLaneHeaderClasses,\r\n} from './classes';\r\n\r\nexport interface BookingCalendarLaneHeaderProps<TLaneData>\r\n extends BookingCalendarLaneHeaderClasses {\r\n laneKey: string | number;\r\n data: TLaneData;\r\n}\r\n\r\nexport function BookingCalendarLaneHeader<TLaneData>(\r\n props: BookingCalendarLaneHeaderProps<TLaneData>\r\n) {\r\n const { className, laneKey } = props;\r\n return (\r\n <div\r\n className={classNames(\r\n bookingCalendarLaneHeaderDefaultClasses.className,\r\n className\r\n )}\r\n >\r\n {laneKey}.\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;AAWO,SAASA,yBAAT,CACLC,KADK,EAEL;EACA,MAAM;IAAEC,SAAF;IAAaC;EAAb,IAAyBF,KAA/B;EACA,oBACE;IACE,SAAS,EAAE,IAAAG,mBAAA,EACTC,gDAAA,CAAwCH,SAD/B,EAETA,SAFS;EADb,GAMGC,OANH,MADF;AAUD"}
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.bookingCalendarLaneHeaderDefaultClasses = void 0;
|
7
|
-
|
7
|
+
const bookingCalendarLaneHeaderDefaultClasses = {
|
8
8
|
className: 'bookingCalendar__laneHeader'
|
9
9
|
};
|
10
10
|
exports.bookingCalendarLaneHeaderDefaultClasses = bookingCalendarLaneHeaderDefaultClasses;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"classes.js","names":["bookingCalendarLaneHeaderDefaultClasses","className"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLaneHeader/classes.ts"],"sourcesContent":["export interface BookingCalendarLaneHeaderClasses {\r\n className?: string;\r\n}\r\n\r\nexport const bookingCalendarLaneHeaderDefaultClasses: BookingCalendarLaneHeaderClasses = {\r\n className: 'bookingCalendar__laneHeader',\r\n};\r\n"],"mappings":";;;;;;AAIO,MAAMA,uCAAyE,GAAG;EACvFC,SAAS,EAAE;AAD4E,CAAlF"}
|
@@ -11,7 +11,7 @@ Object.keys(_BookingCalendarLaneHeader).forEach(function (key) {
|
|
11
11
|
if (key in exports && exports[key] === _BookingCalendarLaneHeader[key]) return;
|
12
12
|
Object.defineProperty(exports, key, {
|
13
13
|
enumerable: true,
|
14
|
-
get: function
|
14
|
+
get: function () {
|
15
15
|
return _BookingCalendarLaneHeader[key];
|
16
16
|
}
|
17
17
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLaneHeader/index.ts"],"
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLaneHeader/index.ts"],"sourcesContent":["export * from './BookingCalendarLaneHeader';\r\n"],"mappings":";;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
package/build/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.js
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
4
|
-
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
6
4
|
value: true
|
7
5
|
});
|
@@ -19,30 +17,28 @@ var _BookingCalendarLanesHeaderRenderItem = require("./BookingCalendarLanesHeade
|
|
19
17
|
|
20
18
|
var _ = require(".");
|
21
19
|
|
22
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
23
21
|
|
24
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null ||
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
25
23
|
|
26
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
27
25
|
|
28
26
|
function BookingCalendarLanesHeader(props) {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
27
|
+
const {
|
28
|
+
className,
|
29
|
+
laneClassName,
|
30
|
+
step,
|
31
|
+
from,
|
32
|
+
till,
|
33
|
+
onRangeChange
|
34
|
+
} = props;
|
35
35
|
|
36
36
|
if (!step || !from || !till) {
|
37
37
|
return null;
|
38
38
|
}
|
39
39
|
|
40
|
-
|
41
|
-
|
42
|
-
}, [from, till, step]);
|
43
|
-
var BookingCalendarLanesHeaderRenderItem = React.useMemo(function () {
|
44
|
-
return (0, _BookingCalendarLanesHeaderRenderItem.BookingCalendarLanesHeaderRenderItemFactory)(onRangeChange);
|
45
|
-
}, [onRangeChange]);
|
40
|
+
const items = React.useMemo(() => (0, _utils.generateControlItems)(from, till, step, from === null || from === void 0 ? void 0 : from.clone().startOf('day')), [from, till, step]);
|
41
|
+
const BookingCalendarLanesHeaderRenderItem = React.useMemo(() => (0, _BookingCalendarLanesHeaderRenderItem.BookingCalendarLanesHeaderRenderItemFactory)(onRangeChange), [onRangeChange]);
|
46
42
|
return /*#__PURE__*/React.createElement("div", {
|
47
43
|
className: (0, _classnames.default)(_.bookingCalendarLanesHeaderDefaultClasses.className, className)
|
48
44
|
}, /*#__PURE__*/React.createElement(_bookingCalendarLane.BookingCalendarLane, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"BookingCalendarLanesHeader.js","names":["BookingCalendarLanesHeader","props","className","laneClassName","step","from","till","onRangeChange","items","React","useMemo","generateControlItems","clone","startOf","BookingCalendarLanesHeaderRenderItem","BookingCalendarLanesHeaderRenderItemFactory","classNames","bookingCalendarLanesHeaderDefaultClasses"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeader.tsx"],"sourcesContent":["import classNames from 'classnames';\r\nimport * as React from 'react';\r\nimport { BookingCalendarDateRange, BookingCalendarItemT } from '../common';\r\nimport { Duration, Moment } from 'moment';\r\nimport { BookingCalendarLanesHeaderClasses } from './classes';\r\nimport { generateControlItems } from '../utils';\r\nimport { BookingCalendarLane } from '../bookingCalendarLane';\r\nimport { BookingCalendarLanesHeaderRenderItemFactory } from './BookingCalendarLanesHeaderRenderItem';\r\nimport { bookingCalendarLanesHeaderDefaultClasses } from '.';\r\n\r\nexport interface BookingCalendarLanesHeaderProps<\r\n T extends BookingCalendarItemT\r\n> extends BookingCalendarLanesHeaderClasses {\r\n step: Duration;\r\n from: Moment;\r\n till: Moment;\r\n onRangeChange?: (range: BookingCalendarDateRange) => void;\r\n}\r\n\r\nexport function BookingCalendarLanesHeader<T extends BookingCalendarItemT>(\r\n props: BookingCalendarLanesHeaderProps<T>\r\n) {\r\n const { className, laneClassName, step, from, till, onRangeChange } = props;\r\n if (!step || !from || !till) {\r\n return null;\r\n }\r\n const items = React.useMemo(\r\n () => generateControlItems(from, till, step, from?.clone().startOf('day')),\r\n [from, till, step]\r\n );\r\n const BookingCalendarLanesHeaderRenderItem = React.useMemo(\r\n () => BookingCalendarLanesHeaderRenderItemFactory(onRangeChange),\r\n [onRangeChange]\r\n );\r\n return (\r\n <div\r\n className={classNames(\r\n bookingCalendarLanesHeaderDefaultClasses.className,\r\n className\r\n )}\r\n >\r\n <BookingCalendarLane\r\n className={classNames(\r\n bookingCalendarLanesHeaderDefaultClasses.laneClassName,\r\n laneClassName\r\n )}\r\n items={items}\r\n from={from}\r\n till={till}\r\n laneIndex={-1}\r\n BookingCalendarRenderItem={BookingCalendarLanesHeaderRenderItem}\r\n step={step}\r\n />\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;AAAA;;AACA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;AAWO,SAASA,0BAAT,CACLC,KADK,EAEL;EACA,MAAM;IAAEC,SAAF;IAAaC,aAAb;IAA4BC,IAA5B;IAAkCC,IAAlC;IAAwCC,IAAxC;IAA8CC;EAA9C,IAAgEN,KAAtE;;EACA,IAAI,CAACG,IAAD,IAAS,CAACC,IAAV,IAAkB,CAACC,IAAvB,EAA6B;IAC3B,OAAO,IAAP;EACD;;EACD,MAAME,KAAK,GAAGC,KAAK,CAACC,OAAN,CACZ,MAAM,IAAAC,2BAAA,EAAqBN,IAArB,EAA2BC,IAA3B,EAAiCF,IAAjC,EAAuCC,IAAvC,aAAuCA,IAAvC,uBAAuCA,IAAI,CAAEO,KAAN,GAAcC,OAAd,CAAsB,KAAtB,CAAvC,CADM,EAEZ,CAACR,IAAD,EAAOC,IAAP,EAAaF,IAAb,CAFY,CAAd;EAIA,MAAMU,oCAAoC,GAAGL,KAAK,CAACC,OAAN,CAC3C,MAAM,IAAAK,iFAAA,EAA4CR,aAA5C,CADqC,EAE3C,CAACA,aAAD,CAF2C,CAA7C;EAIA,oBACE;IACE,SAAS,EAAE,IAAAS,mBAAA,EACTC,0CAAA,CAAyCf,SADhC,EAETA,SAFS;EADb,gBAME,oBAAC,wCAAD;IACE,SAAS,EAAE,IAAAc,mBAAA,EACTC,0CAAA,CAAyCd,aADhC,EAETA,aAFS,CADb;IAKE,KAAK,EAAEK,KALT;IAME,IAAI,EAAEH,IANR;IAOE,IAAI,EAAEC,IAPR;IAQE,SAAS,EAAE,CAAC,CARd;IASE,yBAAyB,EAAEQ,oCAT7B;IAUE,IAAI,EAAEV;EAVR,EANF,CADF;AAqBD"}
|
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
4
|
-
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
6
4
|
value: true
|
7
5
|
});
|
@@ -15,39 +13,37 @@ var _classes = require("../bookingCalendarRenderItem/classes");
|
|
15
13
|
|
16
14
|
var _Button = require("../../button/Button");
|
17
15
|
|
18
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
19
17
|
|
20
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null ||
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
21
19
|
|
22
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
23
21
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
}, item.from.format('Do'))))) : null;
|
50
|
-
};
|
22
|
+
const BookingCalendarLanesHeaderRenderItemFactory = onRangeChange => function BookingCalendarLanesHeaderRenderItem(props) {
|
23
|
+
const {
|
24
|
+
item,
|
25
|
+
className,
|
26
|
+
startIsCut,
|
27
|
+
endIsCut,
|
28
|
+
realFrom,
|
29
|
+
realTill
|
30
|
+
} = props;
|
31
|
+
const onClick = React.useCallback(() => onRangeChange({
|
32
|
+
from: item.from,
|
33
|
+
till: item.till
|
34
|
+
}), [item]);
|
35
|
+
return item ? /*#__PURE__*/React.createElement("div", {
|
36
|
+
className: (0, _classnames.default)(_classes.bookingCalendarRenderItemDefaultClasses.className, className)
|
37
|
+
}, /*#__PURE__*/React.createElement(_Button.Button, {
|
38
|
+
className: "bookingCalendar__lanesHeader__renderItem__button",
|
39
|
+
noShadow: true,
|
40
|
+
onClick: onClick,
|
41
|
+
type: "primary"
|
42
|
+
}, startIsCut || endIsCut ? /*#__PURE__*/React.createElement(React.Fragment, null, item.from.format('ddd, Do'), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("span", {
|
43
|
+
className: "bookingCalendar__lanesHeader__renderItem__button__mutedText bookingCalendar__lanesHeader__renderItem__button__mutedText--split"
|
44
|
+
}, /*#__PURE__*/React.createElement("span", null, startIsCut && realFrom.format('M/D H:mm')), /*#__PURE__*/React.createElement("span", null, endIsCut && realTill.format('M/D H:mm')))) : /*#__PURE__*/React.createElement(React.Fragment, null, item.from.format('ddd'), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("span", {
|
45
|
+
className: "bookingCalendar__lanesHeader__renderItem__button__mutedText"
|
46
|
+
}, item.from.format('Do'))))) : null;
|
51
47
|
};
|
52
48
|
|
53
49
|
exports.BookingCalendarLanesHeaderRenderItemFactory = BookingCalendarLanesHeaderRenderItemFactory;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"BookingCalendarLanesHeaderRenderItem.js","names":["BookingCalendarLanesHeaderRenderItemFactory","onRangeChange","BookingCalendarLanesHeaderRenderItem","props","item","className","startIsCut","endIsCut","realFrom","realTill","onClick","React","useCallback","from","till","classNames","bookingCalendarRenderItemDefaultClasses","format"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLanesHeader/BookingCalendarLanesHeaderRenderItem.tsx"],"sourcesContent":["import classNames from 'classnames';\r\nimport * as React from 'react';\r\nimport { BookingCalendarRenderItemProps } from '../bookingCalendarRenderItem';\r\nimport { bookingCalendarRenderItemDefaultClasses } from '../bookingCalendarRenderItem/classes';\r\nimport { BookingCalendarItemT } from '../common';\r\nimport { Button } from '../../button/Button';\r\nimport { BookingCalendarDateRange } from '..';\r\n\r\nexport const BookingCalendarLanesHeaderRenderItemFactory = (\r\n onRangeChange: (range: BookingCalendarDateRange) => void\r\n) =>\r\n function BookingCalendarLanesHeaderRenderItem<T extends BookingCalendarItemT>(\r\n props: BookingCalendarRenderItemProps<T>\r\n ) {\r\n const { item, className, startIsCut, endIsCut, realFrom, realTill } = props;\r\n const onClick = React.useCallback(\r\n () => onRangeChange({ from: item.from, till: item.till }),\r\n [item]\r\n );\r\n return item ? (\r\n <div\r\n className={classNames(\r\n bookingCalendarRenderItemDefaultClasses.className,\r\n className\r\n )}\r\n >\r\n <Button\r\n className=\"bookingCalendar__lanesHeader__renderItem__button\"\r\n noShadow={true}\r\n onClick={onClick}\r\n type=\"primary\"\r\n >\r\n {startIsCut || endIsCut ? (\r\n <>\r\n {item.from.format('ddd, Do')}\r\n <br />\r\n <span className=\"bookingCalendar__lanesHeader__renderItem__button__mutedText bookingCalendar__lanesHeader__renderItem__button__mutedText--split\">\r\n <span>{startIsCut && realFrom.format('M/D H:mm')}</span>\r\n <span>{endIsCut && realTill.format('M/D H:mm')}</span>\r\n </span>\r\n </>\r\n ) : (\r\n <>\r\n {item.from.format('ddd')}\r\n <br />\r\n <span className=\"bookingCalendar__lanesHeader__renderItem__button__mutedText\">\r\n {item.from.format('Do')}\r\n </span>\r\n </>\r\n )}\r\n </Button>\r\n </div>\r\n ) : null;\r\n };\r\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AAEA;;;;;;;;AAGO,MAAMA,2CAA2C,GACtDC,aADyD,IAGzD,SAASC,oCAAT,CACEC,KADF,EAEE;EACA,MAAM;IAAEC,IAAF;IAAQC,SAAR;IAAmBC,UAAnB;IAA+BC,QAA/B;IAAyCC,QAAzC;IAAmDC;EAAnD,IAAgEN,KAAtE;EACA,MAAMO,OAAO,GAAGC,KAAK,CAACC,WAAN,CACd,MAAMX,aAAa,CAAC;IAAEY,IAAI,EAAET,IAAI,CAACS,IAAb;IAAmBC,IAAI,EAAEV,IAAI,CAACU;EAA9B,CAAD,CADL,EAEd,CAACV,IAAD,CAFc,CAAhB;EAIA,OAAOA,IAAI,gBACT;IACE,SAAS,EAAE,IAAAW,mBAAA,EACTC,gDAAA,CAAwCX,SAD/B,EAETA,SAFS;EADb,gBAME,oBAAC,cAAD;IACE,SAAS,EAAC,kDADZ;IAEE,QAAQ,EAAE,IAFZ;IAGE,OAAO,EAAEK,OAHX;IAIE,IAAI,EAAC;EAJP,GAMGJ,UAAU,IAAIC,QAAd,gBACC,0CACGH,IAAI,CAACS,IAAL,CAAUI,MAAV,CAAiB,SAAjB,CADH,eAEE,+BAFF,eAGE;IAAM,SAAS,EAAC;EAAhB,gBACE,kCAAOX,UAAU,IAAIE,QAAQ,CAACS,MAAT,CAAgB,UAAhB,CAArB,CADF,eAEE,kCAAOV,QAAQ,IAAIE,QAAQ,CAACQ,MAAT,CAAgB,UAAhB,CAAnB,CAFF,CAHF,CADD,gBAUC,0CACGb,IAAI,CAACS,IAAL,CAAUI,MAAV,CAAiB,KAAjB,CADH,eAEE,+BAFF,eAGE;IAAM,SAAS,EAAC;EAAhB,GACGb,IAAI,CAACS,IAAL,CAAUI,MAAV,CAAiB,IAAjB,CADH,CAHF,CAhBJ,CANF,CADS,GAiCP,IAjCJ;AAkCD,CA7CI"}
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.bookingCalendarLanesHeaderDefaultClasses = void 0;
|
7
|
-
|
7
|
+
const bookingCalendarLanesHeaderDefaultClasses = {
|
8
8
|
className: 'bookingCalendar__lanesHeader',
|
9
9
|
laneClassName: 'bookingCalendar__lanesHeader__lane'
|
10
10
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"classes.js","names":["bookingCalendarLanesHeaderDefaultClasses","className","laneClassName"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLanesHeader/classes.ts"],"sourcesContent":["export interface BookingCalendarLanesHeaderClasses {\r\n className?: string;\r\n laneClassName?: string;\r\n}\r\n\r\nexport const bookingCalendarLanesHeaderDefaultClasses: BookingCalendarLanesHeaderClasses = {\r\n className: 'bookingCalendar__lanesHeader',\r\n laneClassName: 'bookingCalendar__lanesHeader__lane',\r\n};\r\n"],"mappings":";;;;;;AAKO,MAAMA,wCAA2E,GAAG;EACzFC,SAAS,EAAE,8BAD8E;EAEzFC,aAAa,EAAE;AAF0E,CAApF"}
|
@@ -11,7 +11,7 @@ Object.keys(_BookingCalendarLanesHeader).forEach(function (key) {
|
|
11
11
|
if (key in exports && exports[key] === _BookingCalendarLanesHeader[key]) return;
|
12
12
|
Object.defineProperty(exports, key, {
|
13
13
|
enumerable: true,
|
14
|
-
get: function
|
14
|
+
get: function () {
|
15
15
|
return _BookingCalendarLanesHeader[key];
|
16
16
|
}
|
17
17
|
});
|
@@ -24,7 +24,7 @@ Object.keys(_classes).forEach(function (key) {
|
|
24
24
|
if (key in exports && exports[key] === _classes[key]) return;
|
25
25
|
Object.defineProperty(exports, key, {
|
26
26
|
enumerable: true,
|
27
|
-
get: function
|
27
|
+
get: function () {
|
28
28
|
return _classes[key];
|
29
29
|
}
|
30
30
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLanesHeader/index.ts"],"
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarLanesHeader/index.ts"],"sourcesContent":["export * from './BookingCalendarLanesHeader';\r\nexport * from './classes';\r\n"],"mappings":";;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
package/build/components/bookingCalendar/bookingCalendarRenderItem/BookingCalendarRenderItem.js
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
4
|
-
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
6
4
|
value: true
|
7
5
|
});
|
@@ -13,34 +11,36 @@ var React = _interopRequireWildcard(require("react"));
|
|
13
11
|
|
14
12
|
var _classes = require("./classes");
|
15
13
|
|
16
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function
|
14
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
17
15
|
|
18
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null ||
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
19
17
|
|
20
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
21
19
|
|
22
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
23
|
-
|
24
20
|
function BookingCalendarRenderItem(props) {
|
25
|
-
var _item$from, _item$from$format, _item$till, _item$till$format
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
21
|
+
var _item$from, _item$from$format, _item$till, _item$till$format;
|
22
|
+
|
23
|
+
const {
|
24
|
+
item,
|
25
|
+
className,
|
26
|
+
laneIndex,
|
27
|
+
itemIndex,
|
28
|
+
width,
|
29
|
+
endIsCut,
|
30
|
+
startIsCut,
|
31
|
+
alwaysShowContent,
|
32
|
+
children = /*#__PURE__*/React.createElement(React.Fragment, null, laneIndex, "-", itemIndex, /*#__PURE__*/React.createElement("br", null), (_item$from = item.from) === null || _item$from === void 0 ? void 0 : (_item$from$format = _item$from.format) === null || _item$from$format === void 0 ? void 0 : _item$from$format.call(_item$from, 'M/D H:mm'), /*#__PURE__*/React.createElement("br", null), (_item$till = item.till) === null || _item$till === void 0 ? void 0 : (_item$till$format = _item$till.format) === null || _item$till$format === void 0 ? void 0 : _item$till$format.call(_item$till, 'M/D H:mm'))
|
33
|
+
} = props;
|
37
34
|
/*const stepWidth = React.useMemo(
|
38
35
|
() => step.asMilliseconds() / till.diff(from),
|
39
36
|
[step, from, till]
|
40
37
|
);*/
|
41
38
|
|
42
39
|
return item ? /*#__PURE__*/React.createElement("div", {
|
43
|
-
className: (0, _classnames.default)(_classes.bookingCalendarRenderItemDefaultClasses.className, className,
|
40
|
+
className: (0, _classnames.default)(_classes.bookingCalendarRenderItemDefaultClasses.className, className, {
|
41
|
+
[_classes.bookingCalendarRenderItemDefaultClasses.cutStartClassname]: startIsCut,
|
42
|
+
[_classes.bookingCalendarRenderItemDefaultClasses.cutEndClassname]: endIsCut
|
43
|
+
})
|
44
44
|
}, (alwaysShowContent || width > 0.1) && children) : null;
|
45
45
|
}
|
46
46
|
//# sourceMappingURL=BookingCalendarRenderItem.js.map
|
package/build/components/bookingCalendar/bookingCalendarRenderItem/BookingCalendarRenderItem.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"file":"BookingCalendarRenderItem.js","names":["BookingCalendarRenderItem","props","item","className","laneIndex","itemIndex","width","endIsCut","startIsCut","alwaysShowContent","children","from","format","till","classNames","bookingCalendarRenderItemDefaultClasses","cutStartClassname","cutEndClassname"],"sources":["../../../../src/lib/components/bookingCalendar/bookingCalendarRenderItem/BookingCalendarRenderItem.tsx"],"sourcesContent":["import classNames from 'classnames';\r\nimport * as React from 'react';\r\nimport { BookingCalendarItemProps } from '../bookingCalendarItem';\r\nimport { BookingCalendarItemT } from './../common';\r\nimport {\r\n bookingCalendarRenderItemDefaultClasses,\r\n BookingCalendarRenderItemClasses,\r\n} from './classes';\r\n\r\nexport interface BookingCalendarRenderItemProps<T extends BookingCalendarItemT>\r\n extends BookingCalendarItemProps<T>,\r\n BookingCalendarRenderItemClasses {\r\n alwaysShowContent?: boolean;\r\n children?: React.ReactNode;\r\n}\r\n\r\nexport function BookingCalendarRenderItem<T extends BookingCalendarItemT>(\r\n props: BookingCalendarRenderItemProps<T>\r\n) {\r\n const {\r\n item,\r\n className,\r\n laneIndex,\r\n itemIndex,\r\n width,\r\n endIsCut,\r\n startIsCut,\r\n alwaysShowContent,\r\n children = (\r\n <>\r\n {laneIndex}-{itemIndex}\r\n <br />\r\n {item.from?.format?.('M/D H:mm')}\r\n <br />\r\n {item.till?.format?.('M/D H:mm')}\r\n </>\r\n ),\r\n } = props;\r\n /*const stepWidth = React.useMemo(\r\n () => step.asMilliseconds() / till.diff(from),\r\n [step, from, till]\r\n );*/\r\n return item ? (\r\n <div\r\n className={classNames(\r\n bookingCalendarRenderItemDefaultClasses.className,\r\n className,\r\n {\r\n [bookingCalendarRenderItemDefaultClasses.cutStartClassname]: startIsCut,\r\n [bookingCalendarRenderItemDefaultClasses.cutEndClassname]: endIsCut,\r\n }\r\n )}\r\n >\r\n {(alwaysShowContent || width > 0.1) && children}\r\n </div>\r\n ) : null;\r\n}\r\n"],"mappings":";;;;;;;AAAA;;AACA;;AAGA;;;;;;;;AAYO,SAASA,yBAAT,CACLC,KADK,EAEL;EAAA;;EACA,MAAM;IACJC,IADI;IAEJC,SAFI;IAGJC,SAHI;IAIJC,SAJI;IAKJC,KALI;IAMJC,QANI;IAOJC,UAPI;IAQJC,iBARI;IASJC,QAAQ,gBACN,0CACGN,SADH,OACeC,SADf,eAEE,+BAFF,gBAGGH,IAAI,CAACS,IAHR,oEAGG,WAAWC,MAHd,sDAGG,mCAAoB,UAApB,CAHH,eAIE,+BAJF,gBAKGV,IAAI,CAACW,IALR,oEAKG,WAAWD,MALd,sDAKG,mCAAoB,UAApB,CALH;EAVE,IAkBFX,KAlBJ;EAmBA;AACF;AACA;AACA;;EACE,OAAOC,IAAI,gBACT;IACE,SAAS,EAAE,IAAAY,mBAAA,EACTC,gDAAA,CAAwCZ,SAD/B,EAETA,SAFS,EAGT;MACE,CAACY,gDAAA,CAAwCC,iBAAzC,GAA6DR,UAD/D;MAEE,CAACO,gDAAA,CAAwCE,eAAzC,GAA2DV;IAF7D,CAHS;EADb,GAUG,CAACE,iBAAiB,IAAIH,KAAK,GAAG,GAA9B,KAAsCI,QAVzC,CADS,GAaP,IAbJ;AAcD"}
|