@licklist/design 0.70.5-dev.1 → 0.70.5-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/availability-indicator/AvailabilityIndicator.d.ts +1 -1
- package/dist/availability-indicator/AvailabilityIndicator.d.ts.map +1 -1
- package/dist/availability-indicator/AvailabilityIndicator.js +3 -3
- package/dist/date-time-button/DateTimeButton.js +3 -2
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -0
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.js +11 -4
- package/dist/product-set/product/advanced-options/AdvancedOptions.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +4 -3
- package/dist/styles/date-time-button/DateTimeButton.scss +1 -0
- package/package.json +2 -2
- package/src/availability-indicator/AvailabilityIndicator.tsx +4 -4
- package/src/date-time-button/DateTimeButton.tsx +3 -3
- package/src/events/event-venue-map/EventVenueMap.tsx +1 -0
- package/src/events/event-venue-map/hooks/useCanvasSize.ts +5 -1
- package/src/snippet/snippet-template/preview/Preview.tsx +7 -5
- package/src/styles/date-time-button/DateTimeButton.scss +1 -0
- package/yarn.lock +133 -140
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ZoneResourcesAvailability } from '@licklist/core/dist/DataMapper/Order/ZoneResourcesAvailabilityDataMapper';
|
|
2
2
|
import { AvailabilityFormat } from '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
|
|
3
3
|
type AvailabilityIndicatorProps = {
|
|
4
|
-
resources
|
|
4
|
+
resources?: ZoneResourcesAvailability;
|
|
5
5
|
isUnavailable?: boolean;
|
|
6
6
|
isSoldOut?: boolean;
|
|
7
7
|
availabilityFormat?: AvailabilityFormat | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvailabilityIndicator.d.ts","sourceRoot":"","sources":["../../src/availability-indicator/AvailabilityIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0EAA0E,CAAA;AACpH,OAAO,EAEL,kBAAkB,EACnB,MAAM,2DAA2D,CAAA;AAuFlE,KAAK,0BAA0B,GAAG;IAChC,SAAS,EAAE,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"AvailabilityIndicator.d.ts","sourceRoot":"","sources":["../../src/availability-indicator/AvailabilityIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0EAA0E,CAAA;AACpH,OAAO,EAEL,kBAAkB,EACnB,MAAM,2DAA2D,CAAA;AAuFlE,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,yBAAyB,CAAA;IACrC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAA;CAC/C,CAAA;AAED,eAAO,MAAM,qBAAqB,6EAK/B,0BAA0B,4CAwB5B,CAAA"}
|
|
@@ -70,9 +70,9 @@ var getLabelsWithArgument = function(param) {
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
return availableResources === 1 ? {
|
|
73
|
-
label: '
|
|
73
|
+
label: 'availableSingleSpace'
|
|
74
74
|
} : {
|
|
75
|
-
label: '
|
|
75
|
+
label: 'availableMultipleSpaces',
|
|
76
76
|
argument: availableResources
|
|
77
77
|
};
|
|
78
78
|
};
|
|
@@ -111,7 +111,7 @@ var getIconsAndLabelsWithArgument = function(param) {
|
|
|
111
111
|
var AvailabilityIndicator = function(param) {
|
|
112
112
|
var resources = param.resources, isUnavailable = param.isUnavailable, _isSoldOut = param.isSoldOut, availabilityFormat = param.availabilityFormat;
|
|
113
113
|
var t = useTranslation('Design').t;
|
|
114
|
-
var isSoldOut = _isSoldOut || resources.bookedResources === resources.totalResources;
|
|
114
|
+
var isSoldOut = _isSoldOut || (resources === null || resources === void 0 ? void 0 : resources.bookedResources) === (resources === null || resources === void 0 ? void 0 : resources.totalResources);
|
|
115
115
|
if (isUnavailable) {
|
|
116
116
|
return /*#__PURE__*/ jsx(Indicator, {
|
|
117
117
|
Icon: SvgSoldOut,
|
|
@@ -16,6 +16,7 @@ var DateTimeButton = function(param) {
|
|
|
16
16
|
var isTimeVariant = variant === "time";
|
|
17
17
|
var isPast = variant === "time" ? isPastTime(date) : isPastDate(date);
|
|
18
18
|
var isDisabled = _isDisabled || isSoldOut || isPast;
|
|
19
|
+
var isUnavailable = _isDisabled || isPast;
|
|
19
20
|
return /*#__PURE__*/ jsxs("button", {
|
|
20
21
|
type: "button",
|
|
21
22
|
onClick: function() {
|
|
@@ -35,10 +36,10 @@ var DateTimeButton = function(param) {
|
|
|
35
36
|
className: "price",
|
|
36
37
|
children: price
|
|
37
38
|
}),
|
|
38
|
-
showResources && resources && /*#__PURE__*/ jsx(AvailabilityIndicator, {
|
|
39
|
+
showResources && (resources || isUnavailable) && /*#__PURE__*/ jsx(AvailabilityIndicator, {
|
|
39
40
|
availabilityFormat: availabilityFormat,
|
|
40
41
|
resources: resources,
|
|
41
|
-
isUnavailable:
|
|
42
|
+
isUnavailable: isUnavailable,
|
|
42
43
|
isSoldOut: isSoldOut
|
|
43
44
|
})
|
|
44
45
|
]
|
|
@@ -40,7 +40,6 @@ import '../../../../../tiptap-editor/TipTapEditor.js';
|
|
|
40
40
|
import '@licklist/core/dist/DataMapper/Product/ProductDataMapper';
|
|
41
41
|
import '@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper';
|
|
42
42
|
import 'react-color';
|
|
43
|
-
import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
|
|
44
43
|
import '../../../../../calendar/Calendar.js';
|
|
45
44
|
import 'luxon';
|
|
46
45
|
import 'react-intl';
|
|
@@ -70,6 +69,7 @@ import '@licklist/plugins/dist';
|
|
|
70
69
|
import '../../../../../iframe/order-process/components/BookingSummary/BookingSummary.js';
|
|
71
70
|
import '../../../../../iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js';
|
|
72
71
|
import '../../../../../iframe/payment/payment-status-page/PaymentStatusPage.js';
|
|
72
|
+
import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
|
|
73
73
|
import '../../../../../static/manual-date-picker/constants/index.js';
|
|
74
74
|
import '../../../../../iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js';
|
|
75
75
|
import '../../../../../sortable-tree/SortableTree.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventVenueMap.d.ts","sourceRoot":"","sources":["../../../src/events/event-venue-map/EventVenueMap.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAA;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,0DAA0D,CAAA;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAG7D,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAA;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAA;IACvC,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAA;IACjE,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC7C,GAAG,wBAAwB,CAAA;AAE5B,eAAO,MAAM,aAAa;SAXnB,MAAM;aACF,OAAO,CAAC,KAAK,CAAC,EAAE;WAClB,MAAM;qBACI,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,IAAI;eACvC,OAAO;eACP,OAAO,CAAC,OAAO,CAAC,EAAE;oBACb,OAAO,CAAC,YAAY,CAAC,EAAE;4BACf,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI;sBAC/C,wBAAwB,EAAE;
|
|
1
|
+
{"version":3,"file":"EventVenueMap.d.ts","sourceRoot":"","sources":["../../../src/events/event-venue-map/EventVenueMap.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAA;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,0DAA0D,CAAA;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAG7D,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAA;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAA;IACvC,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAA;IACjE,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC7C,GAAG,wBAAwB,CAAA;AAE5B,eAAO,MAAM,aAAa;SAXnB,MAAM;aACF,OAAO,CAAC,KAAK,CAAC,EAAE;WAClB,MAAM;qBACI,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,IAAI;eACvC,OAAO;eACP,OAAO,CAAC,OAAO,CAAC,EAAE;oBACb,OAAO,CAAC,YAAY,CAAC,EAAE;4BACf,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI;sBAC/C,wBAAwB,EAAE;0EAkD7C,CAAA"}
|
|
@@ -58,6 +58,7 @@ function _object_spread_props(target, source) {
|
|
|
58
58
|
}
|
|
59
59
|
var EventVenueMap = /*#__PURE__*/ forwardRef(function(param, ref) {
|
|
60
60
|
var url = param.url, points = param.points, _param_editMode = param.editMode, editMode = _param_editMode === void 0 ? false : _param_editMode, name = param.name, onPointsChange = param.onPointsChange, products = param.products, pointProducts = param.pointProducts, onPointProductsChange = param.onPointProductsChange, width = param.width, height = param.height, onPointClick = param.onPointClick, _param_usedInIframe = param.usedInIframe, usedInIframe = _param_usedInIframe === void 0 ? false : _param_usedInIframe, _param_choosedProductUuids = param.choosedProductUuids, choosedProductUuids = _param_choosedProductUuids === void 0 ? [] : _param_choosedProductUuids, _param_errorOnChoosedProductUuids = param.errorOnChoosedProductUuids, errorOnChoosedProductUuids = _param_errorOnChoosedProductUuids === void 0 ? [] : _param_errorOnChoosedProductUuids, soldOutProducts = param.soldOutProducts;
|
|
61
|
+
// TODO fix often updating of canvasSizes, which leads to flashing poingts
|
|
61
62
|
var canvasSizes = useCanvasSize({
|
|
62
63
|
width: width,
|
|
63
64
|
height: height
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCanvasSize.d.ts","sourceRoot":"","sources":["../../../../src/events/event-venue-map/hooks/useCanvasSize.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,aAAa,wDAGvB,eAAe;;;
|
|
1
|
+
{"version":3,"file":"useCanvasSize.d.ts","sourceRoot":"","sources":["../../../../src/events/event-venue-map/hooks/useCanvasSize.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,aAAa,wDAGvB,eAAe;;;CAcjB,CAAA"}
|
|
@@ -3,7 +3,17 @@ import { useWindowDimensions } from '@licklist/plugins/dist/hooks/Media/useWindo
|
|
|
3
3
|
|
|
4
4
|
var useCanvasSize = function(param) {
|
|
5
5
|
var componentWidth = param.width, componentHeight = param.height;
|
|
6
|
+
// TODO Fix often updating of width and height
|
|
6
7
|
var _useWindowDimensions = useWindowDimensions(), width = _useWindowDimensions.width, height = _useWindowDimensions.height;
|
|
8
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
9
|
+
var memoizedDimensions = useMemo(function() {
|
|
10
|
+
return {
|
|
11
|
+
width: width,
|
|
12
|
+
height: height
|
|
13
|
+
};
|
|
14
|
+
}, [
|
|
15
|
+
width
|
|
16
|
+
]);
|
|
7
17
|
var memoedComponentParameters = useMemo(function() {
|
|
8
18
|
if (!componentWidth && !componentHeight) return null;
|
|
9
19
|
return {
|
|
@@ -14,10 +24,7 @@ var useCanvasSize = function(param) {
|
|
|
14
24
|
componentWidth,
|
|
15
25
|
componentHeight
|
|
16
26
|
]);
|
|
17
|
-
return memoedComponentParameters ||
|
|
18
|
-
width: width,
|
|
19
|
-
height: height
|
|
20
|
-
};
|
|
27
|
+
return memoedComponentParameters || memoizedDimensions;
|
|
21
28
|
};
|
|
22
29
|
|
|
23
30
|
export { useCanvasSize };
|
|
@@ -16,7 +16,6 @@ import 'react-bootstrap/Col';
|
|
|
16
16
|
import '@licklist/plugins/dist/services/Form/FormErrorService';
|
|
17
17
|
import '@licklist/plugins/dist/services/Form/HookFormService';
|
|
18
18
|
import 'react-router-dom';
|
|
19
|
-
import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
|
|
20
19
|
import '../../../calendar/Calendar.js';
|
|
21
20
|
import 'clsx';
|
|
22
21
|
import 'luxon';
|
|
@@ -56,6 +55,7 @@ import 'react-bootstrap/ModalTitle';
|
|
|
56
55
|
import 'react-bootstrap/ModalBody';
|
|
57
56
|
import 'react-bootstrap/Modal';
|
|
58
57
|
import '../../../iframe/payment/payment-status-page/PaymentStatusPage.js';
|
|
58
|
+
import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
|
|
59
59
|
import '../../../static/manual-date-picker/constants/index.js';
|
|
60
60
|
import '../../../iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js';
|
|
61
61
|
import { ProductSetLoadingContext } from '../../form/context.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAmCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,2CAsWd"}
|
|
@@ -3,7 +3,7 @@ import { useState, useContext } from 'react';
|
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { MemoryRouter } from 'react-router-dom';
|
|
5
5
|
import { Button } from 'react-bootstrap';
|
|
6
|
-
import {
|
|
6
|
+
import { SNIPPET_TEMPLATE_TYPE_VENUE_MAP, SNIPPET_TEMPLATE_TYPE_EVENT_LIST } from '@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper';
|
|
7
7
|
import { defaultStartDay, Calendar } from '../../../calendar/Calendar.js';
|
|
8
8
|
import 'clsx';
|
|
9
9
|
import { getMonthCalendarDates } from '../../../calendar/utils/index.js';
|
|
@@ -56,6 +56,7 @@ import 'react-bootstrap/ModalTitle';
|
|
|
56
56
|
import 'react-bootstrap/ModalBody';
|
|
57
57
|
import 'react-bootstrap/Modal';
|
|
58
58
|
import '../../../iframe/payment/payment-status-page/PaymentStatusPage.js';
|
|
59
|
+
import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
|
|
59
60
|
import '@licklist/plugins';
|
|
60
61
|
import '@licklist/plugins/dist/services/Form/HookFormService';
|
|
61
62
|
import 'luxon';
|
|
@@ -116,7 +117,7 @@ function Preview(param) {
|
|
|
116
117
|
var _useState = _sliced_to_array(useState(0), 2), value = _useState[0], setValue = _useState[1];
|
|
117
118
|
var _useState1 = _sliced_to_array(useState(0), 2), productSetId = _useState1[0], onSelectProductSet = _useState1[1];
|
|
118
119
|
var setView = useContext(SnippetTemplateViewContext).setView;
|
|
119
|
-
var _useContext = useContext(SnippetTemplateContext), _useContext_template = _useContext.template, _useContext_template_type = _useContext_template.type, type = _useContext_template_type === void 0 ?
|
|
120
|
+
var _useContext = useContext(SnippetTemplateContext), _useContext_template = _useContext.template, _useContext_template_type = _useContext_template.type, type = _useContext_template_type === void 0 ? SNIPPET_TEMPLATE_TYPE_EVENT_LIST : _useContext_template_type;
|
|
120
121
|
var handleOnClick = function(nextView) {
|
|
121
122
|
setView(nextView);
|
|
122
123
|
onSettingClick();
|
|
@@ -342,7 +343,7 @@ function Preview(param) {
|
|
|
342
343
|
})
|
|
343
344
|
]
|
|
344
345
|
}),
|
|
345
|
-
providerHasMap && type ===
|
|
346
|
+
providerHasMap && type === SNIPPET_TEMPLATE_TYPE_VENUE_MAP && /*#__PURE__*/ jsxs(Fragment, {
|
|
346
347
|
children: [
|
|
347
348
|
/*#__PURE__*/ jsxs("div", {
|
|
348
349
|
className: "pt-4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licklist/design",
|
|
3
|
-
"version": "0.70.5-dev.
|
|
3
|
+
"version": "0.70.5-dev.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
|
|
@@ -208,4 +208,4 @@
|
|
|
208
208
|
"yarn": "4.4.0"
|
|
209
209
|
},
|
|
210
210
|
"stableVersion": "0.69.1-dev.3"
|
|
211
|
-
}
|
|
211
|
+
}
|
|
@@ -46,8 +46,8 @@ const getLabelsWithArgument = ({
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
return availableResources === 1
|
|
49
|
-
? { label: '
|
|
50
|
-
: { label: '
|
|
49
|
+
? { label: 'availableSingleSpace' }
|
|
50
|
+
: { label: 'availableMultipleSpaces', argument: availableResources }
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
const getIconsAndLabelsWithArgument = ({
|
|
@@ -92,7 +92,7 @@ const getIconsAndLabelsWithArgument = ({
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
type AvailabilityIndicatorProps = {
|
|
95
|
-
resources
|
|
95
|
+
resources?: ZoneResourcesAvailability
|
|
96
96
|
isUnavailable?: boolean
|
|
97
97
|
isSoldOut?: boolean
|
|
98
98
|
availabilityFormat?: AvailabilityFormat | null
|
|
@@ -106,7 +106,7 @@ export const AvailabilityIndicator = ({
|
|
|
106
106
|
}: AvailabilityIndicatorProps) => {
|
|
107
107
|
const { t } = useTranslation('Design')
|
|
108
108
|
const isSoldOut =
|
|
109
|
-
_isSoldOut || resources
|
|
109
|
+
_isSoldOut || resources?.bookedResources === resources?.totalResources
|
|
110
110
|
|
|
111
111
|
if (isUnavailable) {
|
|
112
112
|
return <Indicator Icon={SoldOutIcon} label={t('notAvailable')} />
|
|
@@ -46,7 +46,7 @@ export const DateTimeButton = ({
|
|
|
46
46
|
const isPast = variant === Variant.time ? isPastTime(date) : isPastDate(date)
|
|
47
47
|
|
|
48
48
|
const isDisabled = _isDisabled || isSoldOut || isPast
|
|
49
|
-
|
|
49
|
+
const isUnavailable = _isDisabled || isPast
|
|
50
50
|
return (
|
|
51
51
|
<button
|
|
52
52
|
type='button'
|
|
@@ -70,11 +70,11 @@ export const DateTimeButton = ({
|
|
|
70
70
|
variant={variant}
|
|
71
71
|
/>
|
|
72
72
|
{price && !isDisabled && <div className='price'>{price}</div>}
|
|
73
|
-
{showResources && resources && (
|
|
73
|
+
{showResources && (resources || isUnavailable) && (
|
|
74
74
|
<AvailabilityIndicator
|
|
75
75
|
availabilityFormat={availabilityFormat}
|
|
76
76
|
resources={resources}
|
|
77
|
-
isUnavailable={
|
|
77
|
+
isUnavailable={isUnavailable}
|
|
78
78
|
isSoldOut={isSoldOut}
|
|
79
79
|
/>
|
|
80
80
|
)}
|
|
@@ -10,13 +10,17 @@ export const useCanvasSize = ({
|
|
|
10
10
|
width: componentWidth,
|
|
11
11
|
height: componentHeight,
|
|
12
12
|
}: CanvasSizeProps) => {
|
|
13
|
+
// TODO Fix often updating of width and height
|
|
13
14
|
const { width, height } = useWindowDimensions()
|
|
14
15
|
|
|
16
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
17
|
+
const memoizedDimensions = useMemo(() => ({ width, height }), [width])
|
|
18
|
+
|
|
15
19
|
const memoedComponentParameters = useMemo(() => {
|
|
16
20
|
if (!componentWidth && !componentHeight) return null
|
|
17
21
|
|
|
18
22
|
return { width: componentWidth, height: componentHeight }
|
|
19
23
|
}, [componentWidth, componentHeight])
|
|
20
24
|
|
|
21
|
-
return memoedComponentParameters ||
|
|
25
|
+
return memoedComponentParameters || memoizedDimensions
|
|
22
26
|
}
|
|
@@ -3,9 +3,10 @@ import { useTranslation } from 'react-i18next'
|
|
|
3
3
|
import { MemoryRouter } from 'react-router-dom'
|
|
4
4
|
import { Button } from 'react-bootstrap'
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from '@licklist/core/dist/DataMapper/Provider/
|
|
6
|
+
SNIPPET_TEMPLATE_TYPE_VENUE_MAP,
|
|
7
|
+
SNIPPET_TEMPLATE_TYPE_EVENT_LIST,
|
|
8
|
+
} from '@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper'
|
|
9
|
+
|
|
9
10
|
import { ProductSet } from '@licklist/core/dist/DataMapper/Product/ProductSetDataMapper'
|
|
10
11
|
import { DateTime } from 'luxon'
|
|
11
12
|
import { Calendar, CalendarProps, defaultStartDay } from '../../../calendar'
|
|
@@ -28,6 +29,7 @@ import {
|
|
|
28
29
|
import { NumberInput } from '../../../iframe/order-process/components/CategoryProduct/components/NumberInput'
|
|
29
30
|
import { SnippetTemplateContext } from '../context/snippetTemplate'
|
|
30
31
|
|
|
32
|
+
|
|
31
33
|
const DEFAULT_IMAGE =
|
|
32
34
|
'https://images.unsplash.com/photo-1638988319382-90e61be77c59?ixlib=rb-1.2.1&auto=format&fit=crop&w=687&q=80'
|
|
33
35
|
|
|
@@ -46,7 +48,7 @@ export function Preview({
|
|
|
46
48
|
|
|
47
49
|
const { setView } = useContext(SnippetTemplateViewContext)
|
|
48
50
|
const {
|
|
49
|
-
template: { type =
|
|
51
|
+
template: { type = SNIPPET_TEMPLATE_TYPE_EVENT_LIST },
|
|
50
52
|
} = useContext(SnippetTemplateContext)
|
|
51
53
|
|
|
52
54
|
const handleOnClick = (nextView: keyof typeof snippetTemplateViews) => {
|
|
@@ -192,7 +194,7 @@ export function Preview({
|
|
|
192
194
|
</div>
|
|
193
195
|
</SettingButton>
|
|
194
196
|
|
|
195
|
-
{providerHasMap && type ===
|
|
197
|
+
{providerHasMap && type === SNIPPET_TEMPLATE_TYPE_VENUE_MAP && (
|
|
196
198
|
<>
|
|
197
199
|
<div className='pt-4'>
|
|
198
200
|
<h4>{t('Calendar')}</h4>
|
package/yarn.lock
CHANGED
|
@@ -41,20 +41,20 @@ __metadata:
|
|
|
41
41
|
linkType: hard
|
|
42
42
|
|
|
43
43
|
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.25.9, @babel/code-frame@npm:^7.26.0, @babel/code-frame@npm:^7.5.5, @babel/code-frame@npm:^7.8.3":
|
|
44
|
-
version: 7.26.
|
|
45
|
-
resolution: "@babel/code-frame@npm:7.26.
|
|
44
|
+
version: 7.26.2
|
|
45
|
+
resolution: "@babel/code-frame@npm:7.26.2"
|
|
46
46
|
dependencies:
|
|
47
47
|
"@babel/helper-validator-identifier": "npm:^7.25.9"
|
|
48
48
|
js-tokens: "npm:^4.0.0"
|
|
49
49
|
picocolors: "npm:^1.0.0"
|
|
50
|
-
checksum: 10c0/
|
|
50
|
+
checksum: 10c0/7d79621a6849183c415486af99b1a20b84737e8c11cd55b6544f688c51ce1fd710e6d869c3dd21232023da272a79b91efb3e83b5bc2dc65c1187c5fcd1b72ea8
|
|
51
51
|
languageName: node
|
|
52
52
|
linkType: hard
|
|
53
53
|
|
|
54
54
|
"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.25.9, @babel/compat-data@npm:^7.26.0":
|
|
55
|
-
version: 7.26.
|
|
56
|
-
resolution: "@babel/compat-data@npm:7.26.
|
|
57
|
-
checksum: 10c0/
|
|
55
|
+
version: 7.26.2
|
|
56
|
+
resolution: "@babel/compat-data@npm:7.26.2"
|
|
57
|
+
checksum: 10c0/c9b5f3724828d17f728a778f9d66c19b55c018d0d76de6d731178cca64f182c22b71400a73bf2b65dcc4fcfe52b630088a94d5902911b54206aa90e3ffe07d12
|
|
58
58
|
languageName: node
|
|
59
59
|
linkType: hard
|
|
60
60
|
|
|
@@ -106,15 +106,15 @@ __metadata:
|
|
|
106
106
|
linkType: hard
|
|
107
107
|
|
|
108
108
|
"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.25.9, @babel/generator@npm:^7.26.0":
|
|
109
|
-
version: 7.26.
|
|
110
|
-
resolution: "@babel/generator@npm:7.26.
|
|
109
|
+
version: 7.26.2
|
|
110
|
+
resolution: "@babel/generator@npm:7.26.2"
|
|
111
111
|
dependencies:
|
|
112
|
-
"@babel/parser": "npm:^7.26.
|
|
112
|
+
"@babel/parser": "npm:^7.26.2"
|
|
113
113
|
"@babel/types": "npm:^7.26.0"
|
|
114
114
|
"@jridgewell/gen-mapping": "npm:^0.3.5"
|
|
115
115
|
"@jridgewell/trace-mapping": "npm:^0.3.25"
|
|
116
116
|
jsesc: "npm:^3.0.2"
|
|
117
|
-
checksum: 10c0/
|
|
117
|
+
checksum: 10c0/167ebce8977142f5012fad6bd91da51ac52bcd752f2261a54b7ab605d928aebe57e21636cdd2a9c7757e552652c68d9fcb5d40b06fcb66e02d9ee7526e118a5c
|
|
118
118
|
languageName: node
|
|
119
119
|
linkType: hard
|
|
120
120
|
|
|
@@ -369,14 +369,14 @@ __metadata:
|
|
|
369
369
|
languageName: node
|
|
370
370
|
linkType: hard
|
|
371
371
|
|
|
372
|
-
"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0":
|
|
373
|
-
version: 7.26.
|
|
374
|
-
resolution: "@babel/parser@npm:7.26.
|
|
372
|
+
"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0, @babel/parser@npm:^7.26.2":
|
|
373
|
+
version: 7.26.2
|
|
374
|
+
resolution: "@babel/parser@npm:7.26.2"
|
|
375
375
|
dependencies:
|
|
376
376
|
"@babel/types": "npm:^7.26.0"
|
|
377
377
|
bin:
|
|
378
378
|
parser: ./bin/babel-parser.js
|
|
379
|
-
checksum: 10c0/
|
|
379
|
+
checksum: 10c0/751a743087b3a9172a7599f1421830d44c38f065ef781588d2bfb1c98f9b461719a226feb13c868d7a284783eee120c88ea522593118f2668f46ebfb1105c4d7
|
|
380
380
|
languageName: node
|
|
381
381
|
linkType: hard
|
|
382
382
|
|
|
@@ -3316,128 +3316,128 @@ __metadata:
|
|
|
3316
3316
|
languageName: node
|
|
3317
3317
|
linkType: hard
|
|
3318
3318
|
|
|
3319
|
-
"@rollup/rollup-android-arm-eabi@npm:4.24.
|
|
3320
|
-
version: 4.24.
|
|
3321
|
-
resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.
|
|
3319
|
+
"@rollup/rollup-android-arm-eabi@npm:4.24.4":
|
|
3320
|
+
version: 4.24.4
|
|
3321
|
+
resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.4"
|
|
3322
3322
|
conditions: os=android & cpu=arm
|
|
3323
3323
|
languageName: node
|
|
3324
3324
|
linkType: hard
|
|
3325
3325
|
|
|
3326
|
-
"@rollup/rollup-android-arm64@npm:4.24.
|
|
3327
|
-
version: 4.24.
|
|
3328
|
-
resolution: "@rollup/rollup-android-arm64@npm:4.24.
|
|
3326
|
+
"@rollup/rollup-android-arm64@npm:4.24.4":
|
|
3327
|
+
version: 4.24.4
|
|
3328
|
+
resolution: "@rollup/rollup-android-arm64@npm:4.24.4"
|
|
3329
3329
|
conditions: os=android & cpu=arm64
|
|
3330
3330
|
languageName: node
|
|
3331
3331
|
linkType: hard
|
|
3332
3332
|
|
|
3333
|
-
"@rollup/rollup-darwin-arm64@npm:4.24.
|
|
3334
|
-
version: 4.24.
|
|
3335
|
-
resolution: "@rollup/rollup-darwin-arm64@npm:4.24.
|
|
3333
|
+
"@rollup/rollup-darwin-arm64@npm:4.24.4":
|
|
3334
|
+
version: 4.24.4
|
|
3335
|
+
resolution: "@rollup/rollup-darwin-arm64@npm:4.24.4"
|
|
3336
3336
|
conditions: os=darwin & cpu=arm64
|
|
3337
3337
|
languageName: node
|
|
3338
3338
|
linkType: hard
|
|
3339
3339
|
|
|
3340
|
-
"@rollup/rollup-darwin-x64@npm:4.24.
|
|
3341
|
-
version: 4.24.
|
|
3342
|
-
resolution: "@rollup/rollup-darwin-x64@npm:4.24.
|
|
3340
|
+
"@rollup/rollup-darwin-x64@npm:4.24.4":
|
|
3341
|
+
version: 4.24.4
|
|
3342
|
+
resolution: "@rollup/rollup-darwin-x64@npm:4.24.4"
|
|
3343
3343
|
conditions: os=darwin & cpu=x64
|
|
3344
3344
|
languageName: node
|
|
3345
3345
|
linkType: hard
|
|
3346
3346
|
|
|
3347
|
-
"@rollup/rollup-freebsd-arm64@npm:4.24.
|
|
3348
|
-
version: 4.24.
|
|
3349
|
-
resolution: "@rollup/rollup-freebsd-arm64@npm:4.24.
|
|
3347
|
+
"@rollup/rollup-freebsd-arm64@npm:4.24.4":
|
|
3348
|
+
version: 4.24.4
|
|
3349
|
+
resolution: "@rollup/rollup-freebsd-arm64@npm:4.24.4"
|
|
3350
3350
|
conditions: os=freebsd & cpu=arm64
|
|
3351
3351
|
languageName: node
|
|
3352
3352
|
linkType: hard
|
|
3353
3353
|
|
|
3354
|
-
"@rollup/rollup-freebsd-x64@npm:4.24.
|
|
3355
|
-
version: 4.24.
|
|
3356
|
-
resolution: "@rollup/rollup-freebsd-x64@npm:4.24.
|
|
3354
|
+
"@rollup/rollup-freebsd-x64@npm:4.24.4":
|
|
3355
|
+
version: 4.24.4
|
|
3356
|
+
resolution: "@rollup/rollup-freebsd-x64@npm:4.24.4"
|
|
3357
3357
|
conditions: os=freebsd & cpu=x64
|
|
3358
3358
|
languageName: node
|
|
3359
3359
|
linkType: hard
|
|
3360
3360
|
|
|
3361
|
-
"@rollup/rollup-linux-arm-gnueabihf@npm:4.24.
|
|
3362
|
-
version: 4.24.
|
|
3363
|
-
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.
|
|
3361
|
+
"@rollup/rollup-linux-arm-gnueabihf@npm:4.24.4":
|
|
3362
|
+
version: 4.24.4
|
|
3363
|
+
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.4"
|
|
3364
3364
|
conditions: os=linux & cpu=arm & libc=glibc
|
|
3365
3365
|
languageName: node
|
|
3366
3366
|
linkType: hard
|
|
3367
3367
|
|
|
3368
|
-
"@rollup/rollup-linux-arm-musleabihf@npm:4.24.
|
|
3369
|
-
version: 4.24.
|
|
3370
|
-
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.
|
|
3368
|
+
"@rollup/rollup-linux-arm-musleabihf@npm:4.24.4":
|
|
3369
|
+
version: 4.24.4
|
|
3370
|
+
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.4"
|
|
3371
3371
|
conditions: os=linux & cpu=arm & libc=musl
|
|
3372
3372
|
languageName: node
|
|
3373
3373
|
linkType: hard
|
|
3374
3374
|
|
|
3375
|
-
"@rollup/rollup-linux-arm64-gnu@npm:4.24.
|
|
3376
|
-
version: 4.24.
|
|
3377
|
-
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.
|
|
3375
|
+
"@rollup/rollup-linux-arm64-gnu@npm:4.24.4":
|
|
3376
|
+
version: 4.24.4
|
|
3377
|
+
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.4"
|
|
3378
3378
|
conditions: os=linux & cpu=arm64 & libc=glibc
|
|
3379
3379
|
languageName: node
|
|
3380
3380
|
linkType: hard
|
|
3381
3381
|
|
|
3382
|
-
"@rollup/rollup-linux-arm64-musl@npm:4.24.
|
|
3383
|
-
version: 4.24.
|
|
3384
|
-
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.
|
|
3382
|
+
"@rollup/rollup-linux-arm64-musl@npm:4.24.4":
|
|
3383
|
+
version: 4.24.4
|
|
3384
|
+
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.4"
|
|
3385
3385
|
conditions: os=linux & cpu=arm64 & libc=musl
|
|
3386
3386
|
languageName: node
|
|
3387
3387
|
linkType: hard
|
|
3388
3388
|
|
|
3389
|
-
"@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.
|
|
3390
|
-
version: 4.24.
|
|
3391
|
-
resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.
|
|
3389
|
+
"@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.4":
|
|
3390
|
+
version: 4.24.4
|
|
3391
|
+
resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.4"
|
|
3392
3392
|
conditions: os=linux & cpu=ppc64 & libc=glibc
|
|
3393
3393
|
languageName: node
|
|
3394
3394
|
linkType: hard
|
|
3395
3395
|
|
|
3396
|
-
"@rollup/rollup-linux-riscv64-gnu@npm:4.24.
|
|
3397
|
-
version: 4.24.
|
|
3398
|
-
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.
|
|
3396
|
+
"@rollup/rollup-linux-riscv64-gnu@npm:4.24.4":
|
|
3397
|
+
version: 4.24.4
|
|
3398
|
+
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.4"
|
|
3399
3399
|
conditions: os=linux & cpu=riscv64 & libc=glibc
|
|
3400
3400
|
languageName: node
|
|
3401
3401
|
linkType: hard
|
|
3402
3402
|
|
|
3403
|
-
"@rollup/rollup-linux-s390x-gnu@npm:4.24.
|
|
3404
|
-
version: 4.24.
|
|
3405
|
-
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.
|
|
3403
|
+
"@rollup/rollup-linux-s390x-gnu@npm:4.24.4":
|
|
3404
|
+
version: 4.24.4
|
|
3405
|
+
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.4"
|
|
3406
3406
|
conditions: os=linux & cpu=s390x & libc=glibc
|
|
3407
3407
|
languageName: node
|
|
3408
3408
|
linkType: hard
|
|
3409
3409
|
|
|
3410
|
-
"@rollup/rollup-linux-x64-gnu@npm:4.24.
|
|
3411
|
-
version: 4.24.
|
|
3412
|
-
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.
|
|
3410
|
+
"@rollup/rollup-linux-x64-gnu@npm:4.24.4":
|
|
3411
|
+
version: 4.24.4
|
|
3412
|
+
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.4"
|
|
3413
3413
|
conditions: os=linux & cpu=x64 & libc=glibc
|
|
3414
3414
|
languageName: node
|
|
3415
3415
|
linkType: hard
|
|
3416
3416
|
|
|
3417
|
-
"@rollup/rollup-linux-x64-musl@npm:4.24.
|
|
3418
|
-
version: 4.24.
|
|
3419
|
-
resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.
|
|
3417
|
+
"@rollup/rollup-linux-x64-musl@npm:4.24.4":
|
|
3418
|
+
version: 4.24.4
|
|
3419
|
+
resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.4"
|
|
3420
3420
|
conditions: os=linux & cpu=x64 & libc=musl
|
|
3421
3421
|
languageName: node
|
|
3422
3422
|
linkType: hard
|
|
3423
3423
|
|
|
3424
|
-
"@rollup/rollup-win32-arm64-msvc@npm:4.24.
|
|
3425
|
-
version: 4.24.
|
|
3426
|
-
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.
|
|
3424
|
+
"@rollup/rollup-win32-arm64-msvc@npm:4.24.4":
|
|
3425
|
+
version: 4.24.4
|
|
3426
|
+
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.4"
|
|
3427
3427
|
conditions: os=win32 & cpu=arm64
|
|
3428
3428
|
languageName: node
|
|
3429
3429
|
linkType: hard
|
|
3430
3430
|
|
|
3431
|
-
"@rollup/rollup-win32-ia32-msvc@npm:4.24.
|
|
3432
|
-
version: 4.24.
|
|
3433
|
-
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.
|
|
3431
|
+
"@rollup/rollup-win32-ia32-msvc@npm:4.24.4":
|
|
3432
|
+
version: 4.24.4
|
|
3433
|
+
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.4"
|
|
3434
3434
|
conditions: os=win32 & cpu=ia32
|
|
3435
3435
|
languageName: node
|
|
3436
3436
|
linkType: hard
|
|
3437
3437
|
|
|
3438
|
-
"@rollup/rollup-win32-x64-msvc@npm:4.24.
|
|
3439
|
-
version: 4.24.
|
|
3440
|
-
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.
|
|
3438
|
+
"@rollup/rollup-win32-x64-msvc@npm:4.24.4":
|
|
3439
|
+
version: 4.24.4
|
|
3440
|
+
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.4"
|
|
3441
3441
|
conditions: os=win32 & cpu=x64
|
|
3442
3442
|
languageName: node
|
|
3443
3443
|
linkType: hard
|
|
@@ -5100,11 +5100,11 @@ __metadata:
|
|
|
5100
5100
|
linkType: hard
|
|
5101
5101
|
|
|
5102
5102
|
"@swc/types@npm:^0.1.9":
|
|
5103
|
-
version: 0.1.
|
|
5104
|
-
resolution: "@swc/types@npm:0.1.
|
|
5103
|
+
version: 0.1.14
|
|
5104
|
+
resolution: "@swc/types@npm:0.1.14"
|
|
5105
5105
|
dependencies:
|
|
5106
5106
|
"@swc/counter": "npm:^0.1.3"
|
|
5107
|
-
checksum: 10c0/
|
|
5107
|
+
checksum: 10c0/5ab5a213f25fbb038e8b2fa001a20c64363f81c199319373ed0228f316c046a996758fbaf906ba84d297b35e37727082d27974266db320e534da594716626529
|
|
5108
5108
|
languageName: node
|
|
5109
5109
|
linkType: hard
|
|
5110
5110
|
|
|
@@ -5698,11 +5698,11 @@ __metadata:
|
|
|
5698
5698
|
linkType: hard
|
|
5699
5699
|
|
|
5700
5700
|
"@types/node@npm:*":
|
|
5701
|
-
version: 22.8.
|
|
5702
|
-
resolution: "@types/node@npm:22.8.
|
|
5701
|
+
version: 22.8.7
|
|
5702
|
+
resolution: "@types/node@npm:22.8.7"
|
|
5703
5703
|
dependencies:
|
|
5704
5704
|
undici-types: "npm:~6.19.8"
|
|
5705
|
-
checksum: 10c0/
|
|
5705
|
+
checksum: 10c0/14372885db80059ed6e92c320b2bcd8f7dc271698adce11f51aa0f424a3f82aa1749a4f66321b87043791b894346b2458d514cbb65ce70167c2fd8a78a124947
|
|
5706
5706
|
languageName: node
|
|
5707
5707
|
linkType: hard
|
|
5708
5708
|
|
|
@@ -6556,7 +6556,7 @@ __metadata:
|
|
|
6556
6556
|
languageName: node
|
|
6557
6557
|
linkType: hard
|
|
6558
6558
|
|
|
6559
|
-
"accepts@npm:~1.3.
|
|
6559
|
+
"accepts@npm:~1.3.8":
|
|
6560
6560
|
version: 1.3.8
|
|
6561
6561
|
resolution: "accepts@npm:1.3.8"
|
|
6562
6562
|
dependencies:
|
|
@@ -7823,7 +7823,7 @@ __metadata:
|
|
|
7823
7823
|
languageName: node
|
|
7824
7824
|
linkType: hard
|
|
7825
7825
|
|
|
7826
|
-
"browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0":
|
|
7826
|
+
"browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0, browserslist@npm:^4.24.2":
|
|
7827
7827
|
version: 4.24.2
|
|
7828
7828
|
resolution: "browserslist@npm:4.24.2"
|
|
7829
7829
|
dependencies:
|
|
@@ -7887,13 +7887,6 @@ __metadata:
|
|
|
7887
7887
|
languageName: node
|
|
7888
7888
|
linkType: hard
|
|
7889
7889
|
|
|
7890
|
-
"bytes@npm:3.0.0":
|
|
7891
|
-
version: 3.0.0
|
|
7892
|
-
resolution: "bytes@npm:3.0.0"
|
|
7893
|
-
checksum: 10c0/91d42c38601c76460519ffef88371caacaea483a354c8e4b8808e7b027574436a5713337c003ea3de63ee4991c2a9a637884fdfe7f761760d746929d9e8fec60
|
|
7894
|
-
languageName: node
|
|
7895
|
-
linkType: hard
|
|
7896
|
-
|
|
7897
7890
|
"bytes@npm:3.1.2":
|
|
7898
7891
|
version: 3.1.2
|
|
7899
7892
|
resolution: "bytes@npm:3.1.2"
|
|
@@ -8080,9 +8073,9 @@ __metadata:
|
|
|
8080
8073
|
linkType: hard
|
|
8081
8074
|
|
|
8082
8075
|
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669":
|
|
8083
|
-
version: 1.0.
|
|
8084
|
-
resolution: "caniuse-lite@npm:1.0.
|
|
8085
|
-
checksum: 10c0/
|
|
8076
|
+
version: 1.0.30001677
|
|
8077
|
+
resolution: "caniuse-lite@npm:1.0.30001677"
|
|
8078
|
+
checksum: 10c0/22b4aa738b213b5d0bc820c26ba23fa265ca90a5c59776e1a686b9ab6fff9120d0825fd920c0a601a4b65056ef40d01548405feb95c8dd6083255f50c71a0864
|
|
8086
8079
|
languageName: node
|
|
8087
8080
|
linkType: hard
|
|
8088
8081
|
|
|
@@ -8544,7 +8537,7 @@ __metadata:
|
|
|
8544
8537
|
languageName: node
|
|
8545
8538
|
linkType: hard
|
|
8546
8539
|
|
|
8547
|
-
"compressible@npm:~2.0.
|
|
8540
|
+
"compressible@npm:~2.0.18":
|
|
8548
8541
|
version: 2.0.18
|
|
8549
8542
|
resolution: "compressible@npm:2.0.18"
|
|
8550
8543
|
dependencies:
|
|
@@ -8554,17 +8547,17 @@ __metadata:
|
|
|
8554
8547
|
linkType: hard
|
|
8555
8548
|
|
|
8556
8549
|
"compression@npm:^1.7.4":
|
|
8557
|
-
version: 1.7.
|
|
8558
|
-
resolution: "compression@npm:1.7.
|
|
8550
|
+
version: 1.7.5
|
|
8551
|
+
resolution: "compression@npm:1.7.5"
|
|
8559
8552
|
dependencies:
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
compressible: "npm:~2.0.16"
|
|
8553
|
+
bytes: "npm:3.1.2"
|
|
8554
|
+
compressible: "npm:~2.0.18"
|
|
8563
8555
|
debug: "npm:2.6.9"
|
|
8556
|
+
negotiator: "npm:~0.6.4"
|
|
8564
8557
|
on-headers: "npm:~1.0.2"
|
|
8565
|
-
safe-buffer: "npm:5.1
|
|
8558
|
+
safe-buffer: "npm:5.2.1"
|
|
8566
8559
|
vary: "npm:~1.1.2"
|
|
8567
|
-
checksum: 10c0/
|
|
8560
|
+
checksum: 10c0/35c9d2d57c86d8107eab5e637f2146fcefec8475a2ff3e162f5eb0982ff856d385fb5d8c9823c3d50e075f2d9304bc622dac3df27bfef0355309c0a5307861c5
|
|
8568
8561
|
languageName: node
|
|
8569
8562
|
linkType: hard
|
|
8570
8563
|
|
|
@@ -8718,25 +8711,25 @@ __metadata:
|
|
|
8718
8711
|
linkType: hard
|
|
8719
8712
|
|
|
8720
8713
|
"core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1, core-js-compat@npm:^3.8.1":
|
|
8721
|
-
version: 3.
|
|
8722
|
-
resolution: "core-js-compat@npm:3.
|
|
8714
|
+
version: 3.39.0
|
|
8715
|
+
resolution: "core-js-compat@npm:3.39.0"
|
|
8723
8716
|
dependencies:
|
|
8724
|
-
browserslist: "npm:^4.
|
|
8725
|
-
checksum: 10c0/
|
|
8717
|
+
browserslist: "npm:^4.24.2"
|
|
8718
|
+
checksum: 10c0/880579a3dab235e3b6350f1e324269c600753b48e891ea859331618d5051e68b7a95db6a03ad2f3cc7df4397318c25a5bc7740562ad39e94f56568638d09d414
|
|
8726
8719
|
languageName: node
|
|
8727
8720
|
linkType: hard
|
|
8728
8721
|
|
|
8729
8722
|
"core-js-pure@npm:^3.30.2, core-js-pure@npm:^3.8.2":
|
|
8730
|
-
version: 3.
|
|
8731
|
-
resolution: "core-js-pure@npm:3.
|
|
8732
|
-
checksum: 10c0/
|
|
8723
|
+
version: 3.39.0
|
|
8724
|
+
resolution: "core-js-pure@npm:3.39.0"
|
|
8725
|
+
checksum: 10c0/5d954e467703ea1e860eb070bd72cf9dc5bfddd7037c09d750f0eba3ffc4066db741a595af86dc833a709929e161a909e48da3cbdd2d9bee7795cb516dc9f7d4
|
|
8733
8726
|
languageName: node
|
|
8734
8727
|
linkType: hard
|
|
8735
8728
|
|
|
8736
8729
|
"core-js@npm:^3.0.4, core-js@npm:^3.6.5, core-js@npm:^3.8.2":
|
|
8737
|
-
version: 3.
|
|
8738
|
-
resolution: "core-js@npm:3.
|
|
8739
|
-
checksum: 10c0/
|
|
8730
|
+
version: 3.39.0
|
|
8731
|
+
resolution: "core-js@npm:3.39.0"
|
|
8732
|
+
checksum: 10c0/f7602069b6afb2e3298eec612a5c1e0c3e6a458930fbfc7a4c5f9ac03426507f49ce395eecdd2d9bae9024f820e44582b67ffe16f2272395af26964f174eeb6b
|
|
8740
8733
|
languageName: node
|
|
8741
8734
|
linkType: hard
|
|
8742
8735
|
|
|
@@ -9840,9 +9833,9 @@ __metadata:
|
|
|
9840
9833
|
linkType: hard
|
|
9841
9834
|
|
|
9842
9835
|
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.41":
|
|
9843
|
-
version: 1.5.
|
|
9844
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9845
|
-
checksum: 10c0/
|
|
9836
|
+
version: 1.5.50
|
|
9837
|
+
resolution: "electron-to-chromium@npm:1.5.50"
|
|
9838
|
+
checksum: 10c0/8b77b18ae833bfe2173e346ac33b8d66b5b5acf0cf5de65df9799f4d482334c938aa0950e4d01391d5fab8994f46c0e9059f4517843e7b8d861f9b0c49eb4c5d
|
|
9846
9839
|
languageName: node
|
|
9847
9840
|
linkType: hard
|
|
9848
9841
|
|
|
@@ -14897,7 +14890,7 @@ __metadata:
|
|
|
14897
14890
|
languageName: node
|
|
14898
14891
|
linkType: hard
|
|
14899
14892
|
|
|
14900
|
-
"negotiator@npm:^0.6.3":
|
|
14893
|
+
"negotiator@npm:^0.6.3, negotiator@npm:~0.6.4":
|
|
14901
14894
|
version: 0.6.4
|
|
14902
14895
|
resolution: "negotiator@npm:0.6.4"
|
|
14903
14896
|
checksum: 10c0/3e677139c7fb7628a6f36335bf11a885a62c21d5390204590a1a214a5631fcbe5ea74ef6a610b60afe84b4d975cbe0566a23f20ee17c77c73e74b80032108dea
|
|
@@ -18740,27 +18733,27 @@ __metadata:
|
|
|
18740
18733
|
linkType: hard
|
|
18741
18734
|
|
|
18742
18735
|
"rollup@npm:^4.13.0":
|
|
18743
|
-
version: 4.24.
|
|
18744
|
-
resolution: "rollup@npm:4.24.
|
|
18745
|
-
dependencies:
|
|
18746
|
-
"@rollup/rollup-android-arm-eabi": "npm:4.24.
|
|
18747
|
-
"@rollup/rollup-android-arm64": "npm:4.24.
|
|
18748
|
-
"@rollup/rollup-darwin-arm64": "npm:4.24.
|
|
18749
|
-
"@rollup/rollup-darwin-x64": "npm:4.24.
|
|
18750
|
-
"@rollup/rollup-freebsd-arm64": "npm:4.24.
|
|
18751
|
-
"@rollup/rollup-freebsd-x64": "npm:4.24.
|
|
18752
|
-
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.
|
|
18753
|
-
"@rollup/rollup-linux-arm-musleabihf": "npm:4.24.
|
|
18754
|
-
"@rollup/rollup-linux-arm64-gnu": "npm:4.24.
|
|
18755
|
-
"@rollup/rollup-linux-arm64-musl": "npm:4.24.
|
|
18756
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.
|
|
18757
|
-
"@rollup/rollup-linux-riscv64-gnu": "npm:4.24.
|
|
18758
|
-
"@rollup/rollup-linux-s390x-gnu": "npm:4.24.
|
|
18759
|
-
"@rollup/rollup-linux-x64-gnu": "npm:4.24.
|
|
18760
|
-
"@rollup/rollup-linux-x64-musl": "npm:4.24.
|
|
18761
|
-
"@rollup/rollup-win32-arm64-msvc": "npm:4.24.
|
|
18762
|
-
"@rollup/rollup-win32-ia32-msvc": "npm:4.24.
|
|
18763
|
-
"@rollup/rollup-win32-x64-msvc": "npm:4.24.
|
|
18736
|
+
version: 4.24.4
|
|
18737
|
+
resolution: "rollup@npm:4.24.4"
|
|
18738
|
+
dependencies:
|
|
18739
|
+
"@rollup/rollup-android-arm-eabi": "npm:4.24.4"
|
|
18740
|
+
"@rollup/rollup-android-arm64": "npm:4.24.4"
|
|
18741
|
+
"@rollup/rollup-darwin-arm64": "npm:4.24.4"
|
|
18742
|
+
"@rollup/rollup-darwin-x64": "npm:4.24.4"
|
|
18743
|
+
"@rollup/rollup-freebsd-arm64": "npm:4.24.4"
|
|
18744
|
+
"@rollup/rollup-freebsd-x64": "npm:4.24.4"
|
|
18745
|
+
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.4"
|
|
18746
|
+
"@rollup/rollup-linux-arm-musleabihf": "npm:4.24.4"
|
|
18747
|
+
"@rollup/rollup-linux-arm64-gnu": "npm:4.24.4"
|
|
18748
|
+
"@rollup/rollup-linux-arm64-musl": "npm:4.24.4"
|
|
18749
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.4"
|
|
18750
|
+
"@rollup/rollup-linux-riscv64-gnu": "npm:4.24.4"
|
|
18751
|
+
"@rollup/rollup-linux-s390x-gnu": "npm:4.24.4"
|
|
18752
|
+
"@rollup/rollup-linux-x64-gnu": "npm:4.24.4"
|
|
18753
|
+
"@rollup/rollup-linux-x64-musl": "npm:4.24.4"
|
|
18754
|
+
"@rollup/rollup-win32-arm64-msvc": "npm:4.24.4"
|
|
18755
|
+
"@rollup/rollup-win32-ia32-msvc": "npm:4.24.4"
|
|
18756
|
+
"@rollup/rollup-win32-x64-msvc": "npm:4.24.4"
|
|
18764
18757
|
"@types/estree": "npm:1.0.6"
|
|
18765
18758
|
fsevents: "npm:~2.3.2"
|
|
18766
18759
|
dependenciesMeta:
|
|
@@ -18804,7 +18797,7 @@ __metadata:
|
|
|
18804
18797
|
optional: true
|
|
18805
18798
|
bin:
|
|
18806
18799
|
rollup: dist/bin/rollup
|
|
18807
|
-
checksum: 10c0/
|
|
18800
|
+
checksum: 10c0/8e9e9ce4dc8cc48acf258a26519ed1bbbbdac99fd701e89d11c31271e01b4663fe61d839f7906a49c0983b1a49e2acc622948d7665ff0f57ecc48d872835d1ce
|
|
18808
18801
|
languageName: node
|
|
18809
18802
|
linkType: hard
|
|
18810
18803
|
|
|
@@ -18890,13 +18883,6 @@ __metadata:
|
|
|
18890
18883
|
languageName: node
|
|
18891
18884
|
linkType: hard
|
|
18892
18885
|
|
|
18893
|
-
"safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1":
|
|
18894
|
-
version: 5.1.2
|
|
18895
|
-
resolution: "safe-buffer@npm:5.1.2"
|
|
18896
|
-
checksum: 10c0/780ba6b5d99cc9a40f7b951d47152297d0e260f0df01472a1b99d4889679a4b94a13d644f7dbc4f022572f09ae9005fa2fbb93bbbd83643316f365a3e9a45b21
|
|
18897
|
-
languageName: node
|
|
18898
|
-
linkType: hard
|
|
18899
|
-
|
|
18900
18886
|
"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0":
|
|
18901
18887
|
version: 5.2.1
|
|
18902
18888
|
resolution: "safe-buffer@npm:5.2.1"
|
|
@@ -18904,6 +18890,13 @@ __metadata:
|
|
|
18904
18890
|
languageName: node
|
|
18905
18891
|
linkType: hard
|
|
18906
18892
|
|
|
18893
|
+
"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1":
|
|
18894
|
+
version: 5.1.2
|
|
18895
|
+
resolution: "safe-buffer@npm:5.1.2"
|
|
18896
|
+
checksum: 10c0/780ba6b5d99cc9a40f7b951d47152297d0e260f0df01472a1b99d4889679a4b94a13d644f7dbc4f022572f09ae9005fa2fbb93bbbd83643316f365a3e9a45b21
|
|
18897
|
+
languageName: node
|
|
18898
|
+
linkType: hard
|
|
18899
|
+
|
|
18907
18900
|
"safe-regex-test@npm:^1.0.3":
|
|
18908
18901
|
version: 1.0.3
|
|
18909
18902
|
resolution: "safe-regex-test@npm:1.0.3"
|
|
@@ -20583,9 +20576,9 @@ __metadata:
|
|
|
20583
20576
|
linkType: hard
|
|
20584
20577
|
|
|
20585
20578
|
"tslib@npm:^2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0":
|
|
20586
|
-
version: 2.8.
|
|
20587
|
-
resolution: "tslib@npm:2.8.
|
|
20588
|
-
checksum: 10c0/
|
|
20579
|
+
version: 2.8.1
|
|
20580
|
+
resolution: "tslib@npm:2.8.1"
|
|
20581
|
+
checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62
|
|
20589
20582
|
languageName: node
|
|
20590
20583
|
linkType: hard
|
|
20591
20584
|
|