@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.
@@ -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: ZoneResourcesAvailability;
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;IACpC,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"}
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: 'availableSingleResource'
73
+ label: 'availableSingleSpace'
74
74
  } : {
75
- label: 'availableMultipleResources',
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: _isDisabled || isPast,
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;0EAiD7C,CAAA"}
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;;;CAUjB,CAAA"}
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":"AAiCA,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"}
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 { SNIPPET_TYPE_VENUE_MAP, SNIPPET_TYPE_EVENT_LIST } from '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
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 ? SNIPPET_TYPE_EVENT_LIST : _useContext_template_type;
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 === SNIPPET_TYPE_VENUE_MAP && /*#__PURE__*/ jsxs(Fragment, {
346
+ providerHasMap && type === SNIPPET_TEMPLATE_TYPE_VENUE_MAP && /*#__PURE__*/ jsxs(Fragment, {
346
347
  children: [
347
348
  /*#__PURE__*/ jsxs("div", {
348
349
  className: "pt-4",
@@ -80,6 +80,7 @@
80
80
  &.only-time-container {
81
81
  min-width: 5.3rem;
82
82
  max-width: 8.3rem;
83
+ flex-grow: 1;
83
84
  min-height: 2.75rem;
84
85
  border: 2px solid $snippet-calendar-disabled-button-border-color;
85
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.70.5-dev.1",
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: 'availableSingleResource' }
50
- : { label: 'availableMultipleResources', argument: availableResources }
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: ZoneResourcesAvailability
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.bookedResources === resources.totalResources
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={_isDisabled || isPast}
77
+ isUnavailable={isUnavailable}
78
78
  isSoldOut={isSoldOut}
79
79
  />
80
80
  )}
@@ -49,6 +49,7 @@ export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
49
49
  },
50
50
  ref,
51
51
  ) => {
52
+ // TODO fix often updating of canvasSizes, which leads to flashing poingts
52
53
  const canvasSizes = useCanvasSize({ width, height })
53
54
 
54
55
  return (
@@ -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 || { width, height }
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
- SNIPPET_TYPE_EVENT_LIST,
7
- SNIPPET_TYPE_VENUE_MAP,
8
- } from '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper'
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 = SNIPPET_TYPE_EVENT_LIST },
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 === SNIPPET_TYPE_VENUE_MAP && (
197
+ {providerHasMap && type === SNIPPET_TEMPLATE_TYPE_VENUE_MAP && (
196
198
  <>
197
199
  <div className='pt-4'>
198
200
  <h4>{t('Calendar')}</h4>
@@ -80,6 +80,7 @@
80
80
  &.only-time-container {
81
81
  min-width: 5.3rem;
82
82
  max-width: 8.3rem;
83
+ flex-grow: 1;
83
84
  min-height: 2.75rem;
84
85
  border: 2px solid $snippet-calendar-disabled-button-border-color;
85
86
  }
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.0
45
- resolution: "@babel/code-frame@npm:7.26.0"
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/46f7e367714be736b52ea3c01b24f47e2102e210fb83021d1c8237d8fc511b9538909e16e2fcdbb5cb6173e0794e28624309a59014e52fcfb7bde908f5284388
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.0
56
- resolution: "@babel/compat-data@npm:7.26.0"
57
- checksum: 10c0/6325c9151a3c9b0a3a807e854a26255ef66d989bff331475a935af9bb18f160e0fffe6aed550e4e96b63f91efcd874bfbaab2a1f4a2f8d25645d712a0de590fb
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.0
110
- resolution: "@babel/generator@npm:7.26.0"
109
+ version: 7.26.2
110
+ resolution: "@babel/generator@npm:7.26.2"
111
111
  dependencies:
112
- "@babel/parser": "npm:^7.26.0"
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/b6bb9185f19a97eaf58e04a6d39a13237076678e7ed16b6321dea914535d4bf6a8d7727c9dcb65539845aa0096b326eb67be4bab764bd74bcfd848e2eda68609
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.1
374
- resolution: "@babel/parser@npm:7.26.1"
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/dc7d4e6b7eb667fa0784e7e2c3f6f92ca12ad72242f6d4311995310dae55093f02acdb595b69b0dbbf04cb61ad87156ac03186ff32eacfa35149c655bc22c14b
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.3":
3320
- version: 4.24.3
3321
- resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.3"
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.3":
3327
- version: 4.24.3
3328
- resolution: "@rollup/rollup-android-arm64@npm:4.24.3"
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.3":
3334
- version: 4.24.3
3335
- resolution: "@rollup/rollup-darwin-arm64@npm:4.24.3"
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.3":
3341
- version: 4.24.3
3342
- resolution: "@rollup/rollup-darwin-x64@npm:4.24.3"
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.3":
3348
- version: 4.24.3
3349
- resolution: "@rollup/rollup-freebsd-arm64@npm:4.24.3"
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.3":
3355
- version: 4.24.3
3356
- resolution: "@rollup/rollup-freebsd-x64@npm:4.24.3"
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.3":
3362
- version: 4.24.3
3363
- resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.3"
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.3":
3369
- version: 4.24.3
3370
- resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.3"
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.3":
3376
- version: 4.24.3
3377
- resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.3"
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.3":
3383
- version: 4.24.3
3384
- resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.3"
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.3":
3390
- version: 4.24.3
3391
- resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.3"
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.3":
3397
- version: 4.24.3
3398
- resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.3"
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.3":
3404
- version: 4.24.3
3405
- resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.3"
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.3":
3411
- version: 4.24.3
3412
- resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.3"
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.3":
3418
- version: 4.24.3
3419
- resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.3"
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.3":
3425
- version: 4.24.3
3426
- resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.3"
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.3":
3432
- version: 4.24.3
3433
- resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.3"
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.3":
3439
- version: 4.24.3
3440
- resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.3"
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.13
5104
- resolution: "@swc/types@npm:0.1.13"
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/f85a850dead981ca9a26ae366529f2b383fa26324ffcbbee46d7b48399e6ed36d6a6a3d55398f17f87c65f550e28d642a35877d40f389c78765a31ecdfc88bd9
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.4
5702
- resolution: "@types/node@npm:22.8.4"
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/f88d030480630194a9168772462ec09b2d86454f34368c46d2b7fda5dc6e14594b1576fcc5c35cc53b57a4d1e8dd2865a85ae81f34ded0d1af753a0f5d294c25
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.5, accepts@npm:~1.3.8":
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.30001675
8084
- resolution: "caniuse-lite@npm:1.0.30001675"
8085
- checksum: 10c0/95196bb508a35fa4e2bd1cb2458450cc73a71ed6aea034cd7e8831d569d4f6a2a78d63de75b5a00af5ef4dbf3f1c26b5841d270cb71556fdcd34c3b84c1b164f
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.16":
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.4
8558
- resolution: "compression@npm:1.7.4"
8550
+ version: 1.7.5
8551
+ resolution: "compression@npm:1.7.5"
8559
8552
  dependencies:
8560
- accepts: "npm:~1.3.5"
8561
- bytes: "npm:3.0.0"
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.2"
8558
+ safe-buffer: "npm:5.2.1"
8566
8559
  vary: "npm:~1.1.2"
8567
- checksum: 10c0/138db836202a406d8a14156a5564fb1700632a76b6e7d1546939472895a5304f2b23c80d7a22bf44c767e87a26e070dbc342ea63bb45ee9c863354fa5556bbbc
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.38.1
8722
- resolution: "core-js-compat@npm:3.38.1"
8714
+ version: 3.39.0
8715
+ resolution: "core-js-compat@npm:3.39.0"
8723
8716
  dependencies:
8724
- browserslist: "npm:^4.23.3"
8725
- checksum: 10c0/d8bc8a35591fc5fbf3e376d793f298ec41eb452619c7ef9de4ea59b74be06e9fda799e0dcbf9ba59880dae87e3b41fb191d744ffc988315642a1272bb9442b31
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.38.1
8731
- resolution: "core-js-pure@npm:3.38.1"
8732
- checksum: 10c0/466adbc0468b8c2a95b9bc49829492dece2cc6584d757c5b38555a26ed3d71f8364ac1ea3128a0a949e004e0e60206cc535ed84320982c3efb9a40c1785ddcc6
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.38.1
8738
- resolution: "core-js@npm:3.38.1"
8739
- checksum: 10c0/7df063b6f13a54e46515817ac3e235c6c598a4d3de65cd188a061fc250642be313b895fb9fb2f36e1e31890a1bb4ef61d82666a340413f540b7ce3c65689739b
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.49
9844
- resolution: "electron-to-chromium@npm:1.5.49"
9845
- checksum: 10c0/7b22141c7ebea2f49b87adcbe2b353919abbe44066c50e5e44dd47759c4ef07f0a802b9fc8ce2eaa832a293945b6d49064c859f0fef36d10c12fb46af2c1005d
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.3
18744
- resolution: "rollup@npm:4.24.3"
18745
- dependencies:
18746
- "@rollup/rollup-android-arm-eabi": "npm:4.24.3"
18747
- "@rollup/rollup-android-arm64": "npm:4.24.3"
18748
- "@rollup/rollup-darwin-arm64": "npm:4.24.3"
18749
- "@rollup/rollup-darwin-x64": "npm:4.24.3"
18750
- "@rollup/rollup-freebsd-arm64": "npm:4.24.3"
18751
- "@rollup/rollup-freebsd-x64": "npm:4.24.3"
18752
- "@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.3"
18753
- "@rollup/rollup-linux-arm-musleabihf": "npm:4.24.3"
18754
- "@rollup/rollup-linux-arm64-gnu": "npm:4.24.3"
18755
- "@rollup/rollup-linux-arm64-musl": "npm:4.24.3"
18756
- "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.3"
18757
- "@rollup/rollup-linux-riscv64-gnu": "npm:4.24.3"
18758
- "@rollup/rollup-linux-s390x-gnu": "npm:4.24.3"
18759
- "@rollup/rollup-linux-x64-gnu": "npm:4.24.3"
18760
- "@rollup/rollup-linux-x64-musl": "npm:4.24.3"
18761
- "@rollup/rollup-win32-arm64-msvc": "npm:4.24.3"
18762
- "@rollup/rollup-win32-ia32-msvc": "npm:4.24.3"
18763
- "@rollup/rollup-win32-x64-msvc": "npm:4.24.3"
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/32425475db7a0bcb8937f92488ee8e48f7adaff711b5b5c52d86d37114c9f21fe756e21a91312d12d30da146d33d8478a11dfeb6249dbecc54fbfcc78da46005
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.0
20587
- resolution: "tslib@npm:2.8.0"
20588
- checksum: 10c0/31e4d14dc1355e9b89e4d3c893a18abb7f90b6886b089c2da91224d0a7752c79f3ddc41bc1aa0a588ac895bd97bb99c5bc2bfdb2f86de849f31caeb3ba79bbe5
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