@licklist/design 0.76.0-stage.2 → 0.76.0-stage.4

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 +1 @@
1
- {"version":3,"file":"IntervalInput.d.ts","sourceRoot":"","sources":["../../../src/events/edit-event-modal/IntervalInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AAIxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;IACvC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,iBAAyB,EACzB,YAAoB,EACrB,EAAE,kBAAkB,2CAkKpB"}
1
+ {"version":3,"file":"IntervalInput.d.ts","sourceRoot":"","sources":["../../../src/events/edit-event-modal/IntervalInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AAIxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;IACvC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,iBAAyB,EACzB,YAAoB,EACrB,EAAE,kBAAkB,2CAwKpB"}
@@ -118,7 +118,7 @@ function IntervalInput(param) {
118
118
  ]).t;
119
119
  var _useFormContext = useFormContext(), register = _useFormContext.register, errors = _useFormContext.formState.errors, control = _useFormContext.control, trigger = _useFormContext.trigger, setValue = _useFormContext.setValue;
120
120
  var formattedDuration = useFormattedDuration();
121
- var validationOptions = useValidationOptions();
121
+ var validationOptions = useValidationOptions({});
122
122
  var rrule = useWatch({
123
123
  control: control,
124
124
  name: 'rrule'
@@ -182,6 +182,12 @@ function IntervalInput(param) {
182
182
  setValue('rrule', null);
183
183
  }
184
184
  };
185
+ useEffect(function() {
186
+ if (!start) return;
187
+ trigger('end');
188
+ }, [
189
+ start
190
+ ]);
185
191
  return /*#__PURE__*/ jsxs(Fragment, {
186
192
  children: [
187
193
  /*#__PURE__*/ jsxs(Form.Row, {
@@ -1,10 +1,14 @@
1
- export declare const useValidationOptions: () => {
1
+ interface useValidationOptionsProps {
2
+ maxDurationExceeded?: number;
3
+ }
4
+ export declare const useValidationOptions: ({ maxDurationExceeded }: useValidationOptionsProps) => {
2
5
  start: {
3
6
  required: string;
4
7
  };
5
8
  end: {
6
9
  required: string;
7
- validate: (value: any) => string | true;
10
+ validate: (value: string) => string | true;
8
11
  };
9
12
  };
13
+ export {};
10
14
  //# sourceMappingURL=useValidationOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useValidationOptions.d.ts","sourceRoot":"","sources":["../../../../src/events/edit-event-modal/hooks/useValidationOptions.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB;;kBASrB,MAAM;;;kBAMN,MAAM;;;CAWjB,CAAA"}
1
+ {"version":3,"file":"useValidationOptions.d.ts","sourceRoot":"","sources":["../../../../src/events/edit-event-modal/hooks/useValidationOptions.tsx"],"names":[],"mappings":"AAIA,UAAU,yBAAyB;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED,eAAO,MAAM,oBAAoB,4BAAkC,yBAAyB;;kBAUhF,MAAM;;;kBAMN,MAAM;0BACM,MAAM;;CAsB7B,CAAA"}
@@ -2,7 +2,8 @@ import { DateTime } from 'luxon';
2
2
  import { useFormContext, useWatch } from 'react-hook-form';
3
3
  import { useTranslation } from 'react-i18next';
4
4
 
5
- var useValidationOptions = function() {
5
+ var useValidationOptions = function(param) {
6
+ var _param_maxDurationExceeded = param.maxDurationExceeded, maxDurationExceeded = _param_maxDurationExceeded === void 0 ? 24 : _param_maxDurationExceeded;
6
7
  var control = useFormContext().control;
7
8
  var t = useTranslation([
8
9
  'Design',
@@ -22,11 +23,21 @@ var useValidationOptions = function() {
22
23
  required: t('Validation:fieldRequired', {
23
24
  attribute: t('end')
24
25
  }),
25
- // TODO: uncomment when event splitting is implemented
26
- // and extract into plugins
27
26
  validate: function(value) {
28
- return(// endAt not required
29
- value ? DateTime.fromISO(value).diff(DateTime.fromISO(start)).toMillis() > 0 || t('Validation:fieldValidEventEnd') : true);
27
+ if (!value || !start) return true;
28
+ var startDt = DateTime.fromISO(start);
29
+ var endDt = DateTime.fromISO(value);
30
+ var diffMillis = endDt.diff(startDt).toMillis();
31
+ if (diffMillis <= 0) {
32
+ return t('Validation:fieldValidEventEnd');
33
+ }
34
+ var maxDurationExceededHours = maxDurationExceeded * 60 * 60 * 1000;
35
+ if (diffMillis > maxDurationExceededHours) {
36
+ return t('Design:eventMaxDurationExceeded', {
37
+ maxHours: maxDurationExceeded
38
+ });
39
+ }
40
+ return true;
30
41
  }
31
42
  }
32
43
  };
@@ -17,8 +17,9 @@ interface PaymentStatusComponentProps {
17
17
  showCloseButton?: boolean;
18
18
  email?: string;
19
19
  totalAmount?: number;
20
+ getBookingPDF?: () => Promise<void>;
20
21
  paymentMetadata?: PaymentMetadata;
21
22
  }
22
- export declare const PaymentStatusPage: ({ onCloseWindow, onBack, onTryAgain, isLoading, status, isAppUsingInIframe, bookingSummaryProps, EventCardComponent, showCloseButton, email, totalAmount, paymentMetadata, }: PaymentStatusComponentProps) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const PaymentStatusPage: ({ onCloseWindow, onBack, onTryAgain, isLoading, status, getBookingPDF, isAppUsingInIframe, bookingSummaryProps, EventCardComponent, showCloseButton, email, totalAmount, paymentMetadata, }: PaymentStatusComponentProps) => import("react/jsx-runtime").JSX.Element;
23
24
  export {};
24
25
  //# sourceMappingURL=PaymentStatusPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentStatusPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-status-page/PaymentStatusPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAG7D,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAE7C,MAAM,MAAM,WAAW,GACnB,OAAO,oBAAoB,GAC3B,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,CAAA;AAE/B,UAAU,2BAA2B;IACnC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AASD,eAAO,MAAM,iBAAiB,iLAa3B,2BAA2B,4CAiI7B,CAAA"}
1
+ {"version":3,"file":"PaymentStatusPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-status-page/PaymentStatusPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAG7D,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAE7C,MAAM,MAAM,WAAW,GACnB,OAAO,oBAAoB,GAC3B,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,CAAA;AAE/B,UAAU,2BAA2B;IACnC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACnC,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AASD,eAAO,MAAM,iBAAiB,gMAc3B,2BAA2B,4CAkI7B,CAAA"}
@@ -60,7 +60,7 @@ var _obj;
60
60
  var titles = (_obj = {}, _define_property(_obj, ORDER_STATUS_SUCCESS, 'purchaseSuccessful'), _define_property(_obj, ORDER_STATUS_PENDING, 'pendingPayment'), _define_property(_obj, ORDER_STATUS_FAILED, 'purchaseFailed'), _obj);
61
61
  // @TODO In future think, how to reuse this component in Iframe Pending, Success and Failed Pages
62
62
  var PaymentStatusPage = function(param) {
63
- var onCloseWindow = param.onCloseWindow, onBack = param.onBack, onTryAgain = param.onTryAgain, isLoading = param.isLoading, status = param.status, isAppUsingInIframe = param.isAppUsingInIframe, bookingSummaryProps = param.bookingSummaryProps, EventCardComponent = param.EventCardComponent, _param_showCloseButton = param.showCloseButton, showCloseButton = _param_showCloseButton === void 0 ? false : _param_showCloseButton, email = param.email, _param_totalAmount = param.totalAmount, totalAmount = _param_totalAmount === void 0 ? 0 : _param_totalAmount, paymentMetadata = param.paymentMetadata;
63
+ var onCloseWindow = param.onCloseWindow, onBack = param.onBack, onTryAgain = param.onTryAgain, isLoading = param.isLoading, status = param.status, getBookingPDF = param.getBookingPDF, isAppUsingInIframe = param.isAppUsingInIframe, bookingSummaryProps = param.bookingSummaryProps, EventCardComponent = param.EventCardComponent, _param_showCloseButton = param.showCloseButton, showCloseButton = _param_showCloseButton === void 0 ? false : _param_showCloseButton, email = param.email, _param_totalAmount = param.totalAmount, totalAmount = _param_totalAmount === void 0 ? 0 : _param_totalAmount, paymentMetadata = param.paymentMetadata;
64
64
  var t = useTranslation('Design').t;
65
65
  if (isLoading) return /*#__PURE__*/ jsx(LoaderIndicator, {
66
66
  isLoaded: false
@@ -97,6 +97,7 @@ var PaymentStatusPage = function(param) {
97
97
  EventCardComponent,
98
98
  /*#__PURE__*/ jsx(PaymentStatusBody, {
99
99
  status: status,
100
+ getBookingPDF: getBookingPDF,
100
101
  onBack: onBack || onCloseWindow,
101
102
  onTryAgain: onTryAgain,
102
103
  email: email
@@ -2,9 +2,10 @@ import { OrderStatus } from '../PaymentStatusPage';
2
2
  interface PaymentStatusBodyProps {
3
3
  status: OrderStatus;
4
4
  onBack: () => void;
5
+ getBookingPDF?: () => Promise<void>;
5
6
  onTryAgain?: () => void;
6
7
  email?: string;
7
8
  }
8
- export declare const PaymentStatusBody: ({ status, onBack, onTryAgain, email, }: PaymentStatusBodyProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const PaymentStatusBody: ({ status, onBack, onTryAgain, getBookingPDF, email, }: PaymentStatusBodyProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export {};
10
11
  //# sourceMappingURL=PaymentStatusBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentStatusBody.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/payment-status-page/component/PaymentStatusBody.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,WAAW,EACZ,MAAM,sBAAsB,CAAA;AAG7B,UAAU,sBAAsB;IAC9B,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,iBAAiB,2CAK3B,sBAAsB,4CAiBxB,CAAA"}
1
+ {"version":3,"file":"PaymentStatusBody.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/payment-status-page/component/PaymentStatusBody.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,WAAW,EACZ,MAAM,sBAAsB,CAAA;AAG7B,UAAU,sBAAsB;IAC9B,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACnC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,iBAAiB,0DAM3B,sBAAsB,4CAkBxB,CAAA"}
@@ -4,11 +4,12 @@ import { ORDER_STATUS_SUCCESS, ORDER_STATUS_PENDING } from '../PaymentStatusPage
4
4
  import { StatusBody } from '../../status-body/StatusBody.js';
5
5
 
6
6
  var PaymentStatusBody = function(param) {
7
- var status = param.status, onBack = param.onBack, onTryAgain = param.onTryAgain, email = param.email;
7
+ var status = param.status, onBack = param.onBack, onTryAgain = param.onTryAgain, getBookingPDF = param.getBookingPDF, email = param.email;
8
8
  var t = useTranslation('Design').t;
9
9
  if (status === ORDER_STATUS_SUCCESS) {
10
10
  return /*#__PURE__*/ jsx(StatusBody, {
11
11
  onBack: onBack,
12
+ getBookingPDF: getBookingPDF,
12
13
  title: t('orderConfirmationAndReceiptSendToYourEmail', {
13
14
  email: email
14
15
  })
@@ -1,8 +1,9 @@
1
1
  interface StatusBodyProps {
2
2
  onTryAgain?: () => void;
3
3
  onBack: () => void;
4
+ getBookingPDF?: () => void;
4
5
  title?: string;
5
6
  }
6
- export declare const StatusBody: ({ onTryAgain, onBack, title }: StatusBodyProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const StatusBody: ({ onTryAgain, onBack, title, getBookingPDF }: StatusBodyProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
8
9
  //# sourceMappingURL=StatusBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusBody.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/status-body/StatusBody.tsx"],"names":[],"mappings":"AAGA,UAAU,eAAe;IACvB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,UAAU,kCAAmC,eAAe,4CAYxE,CAAA"}
1
+ {"version":3,"file":"StatusBody.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/status-body/StatusBody.tsx"],"names":[],"mappings":"AAIA,UAAU,eAAe;IACvB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,UAAU,iDAAkD,eAAe,4CAiBvF,CAAA"}
@@ -1,9 +1,10 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { Button } from 'react-bootstrap';
3
+ import { Link } from 'react-router-dom';
3
4
  import { useTranslation } from 'react-i18next';
4
5
 
5
6
  var StatusBody = function(param) {
6
- var onTryAgain = param.onTryAgain, onBack = param.onBack, title = param.title;
7
+ var onTryAgain = param.onTryAgain, onBack = param.onBack, title = param.title, getBookingPDF = param.getBookingPDF;
7
8
  var t = useTranslation('Design').t;
8
9
  return /*#__PURE__*/ jsxs("div", {
9
10
  className: "status-body-wrapper mt-4",
@@ -12,6 +13,19 @@ var StatusBody = function(param) {
12
13
  className: "status-body-wrapper__text",
13
14
  children: title
14
15
  }),
16
+ getBookingPDF && /*#__PURE__*/ jsxs("div", {
17
+ className: "mt-2",
18
+ children: [
19
+ /*#__PURE__*/ jsx("p", {
20
+ className: "status-body-wrapper__text",
21
+ children: t('youCanDownload')
22
+ }),
23
+ /*#__PURE__*/ jsx(Link, {
24
+ onClick: getBookingPDF,
25
+ children: t('ticketDownloadLink')
26
+ })
27
+ ]
28
+ }),
15
29
  /*#__PURE__*/ jsxs("div", {
16
30
  className: "d-flex buttons-wrapper",
17
31
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.76.0-stage.2",
3
+ "version": "0.76.0-stage.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -42,7 +42,7 @@
42
42
  ]
43
43
  },
44
44
  "peerDependencies": {
45
- "@licklist/core": "0.33.1-stage.2",
45
+ "@licklist/core": "0.34.3-stage.5",
46
46
  "@licklist/eslint-config": "0.5.6",
47
47
  "@licklist/plugins": "0.35.6-stage.2",
48
48
  "lodash": "4.17.21",
@@ -61,7 +61,7 @@
61
61
  "@dnd-kit/utilities": "2.0.0",
62
62
  "@fortawesome/fontawesome-svg-core": "1.2.34",
63
63
  "@fortawesome/free-solid-svg-icons": "5.15.2",
64
- "@licklist/core": "0.33.1-stage.2",
64
+ "@licklist/core": "0.34.3-stage.5",
65
65
  "@licklist/eslint-config": "0.5.6",
66
66
  "@licklist/plugins": "0.35.6-stage.2",
67
67
  "@mantine/core": "6.0.22",
@@ -45,7 +45,7 @@ export function IntervalInput({
45
45
  } = useFormContext<IntervalInputValues>()
46
46
 
47
47
  const formattedDuration = useFormattedDuration()
48
- const validationOptions = useValidationOptions()
48
+ const validationOptions = useValidationOptions({})
49
49
 
50
50
  const rrule = useWatch({ control, name: 'rrule' })
51
51
  const start = useWatch({ control, name: 'start' })
@@ -106,6 +106,12 @@ export function IntervalInput({
106
106
  }
107
107
  }
108
108
 
109
+ useEffect(() => {
110
+ if (!start) return
111
+
112
+ trigger('end')
113
+ },[start])
114
+
109
115
  return (
110
116
  <>
111
117
  <Form.Row className='interval-container'>
@@ -2,9 +2,14 @@ import { DateTime } from 'luxon'
2
2
  import { useFormContext, useWatch } from 'react-hook-form'
3
3
  import { useTranslation } from 'react-i18next'
4
4
 
5
- export const useValidationOptions = () => {
5
+ interface useValidationOptionsProps {
6
+ maxDurationExceeded?: number
7
+ }
8
+
9
+ export const useValidationOptions = ({ maxDurationExceeded = 24 }: useValidationOptionsProps) => {
6
10
  const { control } = useFormContext()
7
11
  const { t } = useTranslation(['Design', 'Validation'])
12
+
8
13
  const start = useWatch({ control, name: 'start' })
9
14
 
10
15
  return {
@@ -18,14 +23,26 @@ export const useValidationOptions = () => {
18
23
  required: t('Validation:fieldRequired', {
19
24
  attribute: t('end'),
20
25
  }) as string,
21
- // TODO: uncomment when event splitting is implemented
22
- // and extract into plugins
23
- validate: (value) =>
24
- // endAt not required
25
- value
26
- ? DateTime.fromISO(value).diff(DateTime.fromISO(start)).toMillis() >
27
- 0 || (t('Validation:fieldValidEventEnd') as string)
28
- : true,
26
+ validate: (value: string) => {
27
+ if (!value || !start) return true
28
+
29
+ const startDt = DateTime.fromISO(start)
30
+ const endDt = DateTime.fromISO(value)
31
+ const diffMillis = endDt.diff(startDt).toMillis()
32
+
33
+ if (diffMillis <= 0) {
34
+ return t('Validation:fieldValidEventEnd') as string
35
+ }
36
+
37
+ const maxDurationExceededHours = maxDurationExceeded * 60 * 60 * 1000
38
+ if (diffMillis > maxDurationExceededHours) {
39
+ return t('Design:eventMaxDurationExceeded', {
40
+ maxHours: maxDurationExceeded,
41
+ }) as string
42
+ }
43
+
44
+ return true
45
+ },
29
46
  },
30
47
  }
31
48
  }
@@ -31,6 +31,7 @@ interface PaymentStatusComponentProps {
31
31
  showCloseButton?: boolean
32
32
  email?: string
33
33
  totalAmount?: number
34
+ getBookingPDF?: () => Promise<void>
34
35
  paymentMetadata?: PaymentMetadata
35
36
  }
36
37
 
@@ -47,6 +48,7 @@ export const PaymentStatusPage = ({
47
48
  onTryAgain,
48
49
  isLoading,
49
50
  status,
51
+ getBookingPDF,
50
52
  isAppUsingInIframe,
51
53
  bookingSummaryProps,
52
54
  EventCardComponent,
@@ -106,6 +108,7 @@ export const PaymentStatusPage = ({
106
108
  {EventCardComponent}
107
109
  <PaymentStatusBody
108
110
  status={status}
111
+ getBookingPDF={getBookingPDF}
109
112
  onBack={onBack || onCloseWindow}
110
113
  onTryAgain={onTryAgain}
111
114
  email={email}
@@ -9,6 +9,7 @@ import { StatusBody } from '../../status-body/StatusBody'
9
9
  interface PaymentStatusBodyProps {
10
10
  status: OrderStatus
11
11
  onBack: () => void
12
+ getBookingPDF?: () => Promise<void>
12
13
  onTryAgain?: () => void
13
14
  email?: string
14
15
  }
@@ -17,6 +18,7 @@ export const PaymentStatusBody = ({
17
18
  status,
18
19
  onBack,
19
20
  onTryAgain,
21
+ getBookingPDF,
20
22
  email,
21
23
  }: PaymentStatusBodyProps) => {
22
24
  const { t } = useTranslation('Design')
@@ -25,6 +27,7 @@ export const PaymentStatusBody = ({
25
27
  return (
26
28
  <StatusBody
27
29
  onBack={onBack}
30
+ getBookingPDF={getBookingPDF}
28
31
  title={t('orderConfirmationAndReceiptSendToYourEmail', { email })}
29
32
  />
30
33
  )
@@ -1,18 +1,25 @@
1
1
  import { Button } from 'react-bootstrap'
2
+ import { Link } from 'react-router-dom'
2
3
  import { useTranslation } from 'react-i18next'
3
4
 
4
5
  interface StatusBodyProps {
5
6
  onTryAgain?: () => void
6
7
  onBack: () => void
8
+ getBookingPDF?: () => void
7
9
  title?: string
8
10
  }
9
11
 
10
- export const StatusBody = ({ onTryAgain, onBack, title }: StatusBodyProps) => {
12
+ export const StatusBody = ({ onTryAgain, onBack, title, getBookingPDF }: StatusBodyProps) => {
11
13
  const { t } = useTranslation('Design')
12
14
 
13
15
  return (
14
16
  <div className='status-body-wrapper mt-4'>
15
17
  {title && <p className='status-body-wrapper__text'>{title}</p>}
18
+ {getBookingPDF && <div className='mt-2'>
19
+ <p className='status-body-wrapper__text'>{t('youCanDownload')}</p>
20
+ <Link onClick={getBookingPDF} >{t('ticketDownloadLink')}</Link>
21
+ </div>
22
+ }
16
23
  <div className='d-flex buttons-wrapper'>
17
24
  {onTryAgain && <Button onClick={onTryAgain}>{t('tryAgain')}</Button>}
18
25
  <Button onClick={onBack}>{t('backToSite')}</Button>
package/yarn.lock CHANGED
@@ -2478,9 +2478,9 @@ __metadata:
2478
2478
  languageName: node
2479
2479
  linkType: hard
2480
2480
 
2481
- "@licklist/core@npm:0.33.1-stage.2":
2482
- version: 0.33.1-stage.2
2483
- resolution: "@licklist/core@npm:0.33.1-stage.2"
2481
+ "@licklist/core@npm:0.34.3-stage.5":
2482
+ version: 0.34.3-stage.5
2483
+ resolution: "@licklist/core@npm:0.34.3-stage.5"
2484
2484
  dependencies:
2485
2485
  "@sentry/browser": "npm:6.2.0"
2486
2486
  axios: "npm:0.26.0"
@@ -2502,7 +2502,7 @@ __metadata:
2502
2502
  react-i18next: 11.8.8
2503
2503
  react-intl: 6.6.8
2504
2504
  zustand: 3.7.2
2505
- checksum: 10c0/3f06eaf0cd706b56aa3e216718c308a1df94ccf72756bd7e7ecb61fe4317140fa8d01e8e0c8d946f78ff2139d0b7a3eb00c1ccafc631e42d3d562cf093348b4e
2505
+ checksum: 10c0/629858facc083d7507f904ce884c633b79382a1e06b91afd0fe0bd033e08d6cb78085034f864640e80b619d16c985487a83187bc01c5a56912498faf116807ef
2506
2506
  languageName: node
2507
2507
  linkType: hard
2508
2508
 
@@ -2517,7 +2517,7 @@ __metadata:
2517
2517
  "@dnd-kit/utilities": "npm:2.0.0"
2518
2518
  "@fortawesome/fontawesome-svg-core": "npm:1.2.34"
2519
2519
  "@fortawesome/free-solid-svg-icons": "npm:5.15.2"
2520
- "@licklist/core": "npm:0.33.1-stage.2"
2520
+ "@licklist/core": "npm:0.34.3-stage.5"
2521
2521
  "@licklist/eslint-config": "npm:0.5.6"
2522
2522
  "@licklist/plugins": "npm:0.35.6-stage.2"
2523
2523
  "@mantine/core": "npm:6.0.22"
@@ -2648,7 +2648,7 @@ __metadata:
2648
2648
  vite-plugin-svgr: "npm:4.2.0"
2649
2649
  vite-tsconfig-paths: "npm:5.0.1"
2650
2650
  peerDependencies:
2651
- "@licklist/core": 0.33.1-stage.2
2651
+ "@licklist/core": 0.34.3-stage.5
2652
2652
  "@licklist/eslint-config": 0.5.6
2653
2653
  "@licklist/plugins": 0.35.6-stage.2
2654
2654
  lodash: 4.17.21
@@ -3285,8 +3285,8 @@ __metadata:
3285
3285
  linkType: hard
3286
3286
 
3287
3287
  "@rollup/pluginutils@npm:^5.0.1, @rollup/pluginutils@npm:^5.0.2, @rollup/pluginutils@npm:^5.0.5, @rollup/pluginutils@npm:^5.1.0":
3288
- version: 5.1.4
3289
- resolution: "@rollup/pluginutils@npm:5.1.4"
3288
+ version: 5.2.0
3289
+ resolution: "@rollup/pluginutils@npm:5.2.0"
3290
3290
  dependencies:
3291
3291
  "@types/estree": "npm:^1.0.0"
3292
3292
  estree-walker: "npm:^2.0.2"
@@ -3296,146 +3296,146 @@ __metadata:
3296
3296
  peerDependenciesMeta:
3297
3297
  rollup:
3298
3298
  optional: true
3299
- checksum: 10c0/6d58fbc6f1024eb4b087bc9bf59a1d655a8056a60c0b4021d3beaeec3f0743503f52467fd89d2cf0e7eccf2831feb40a05ad541a17637ea21ba10b21c2004deb
3299
+ checksum: 10c0/794890d512751451bcc06aa112366ef47ea8f9125dac49b1abf72ff8b079518b09359de9c60a013b33266541634e765ae61839c749fae0edb59a463418665c55
3300
3300
  languageName: node
3301
3301
  linkType: hard
3302
3302
 
3303
- "@rollup/rollup-android-arm-eabi@npm:4.43.0":
3304
- version: 4.43.0
3305
- resolution: "@rollup/rollup-android-arm-eabi@npm:4.43.0"
3303
+ "@rollup/rollup-android-arm-eabi@npm:4.44.0":
3304
+ version: 4.44.0
3305
+ resolution: "@rollup/rollup-android-arm-eabi@npm:4.44.0"
3306
3306
  conditions: os=android & cpu=arm
3307
3307
  languageName: node
3308
3308
  linkType: hard
3309
3309
 
3310
- "@rollup/rollup-android-arm64@npm:4.43.0":
3311
- version: 4.43.0
3312
- resolution: "@rollup/rollup-android-arm64@npm:4.43.0"
3310
+ "@rollup/rollup-android-arm64@npm:4.44.0":
3311
+ version: 4.44.0
3312
+ resolution: "@rollup/rollup-android-arm64@npm:4.44.0"
3313
3313
  conditions: os=android & cpu=arm64
3314
3314
  languageName: node
3315
3315
  linkType: hard
3316
3316
 
3317
- "@rollup/rollup-darwin-arm64@npm:4.43.0":
3318
- version: 4.43.0
3319
- resolution: "@rollup/rollup-darwin-arm64@npm:4.43.0"
3317
+ "@rollup/rollup-darwin-arm64@npm:4.44.0":
3318
+ version: 4.44.0
3319
+ resolution: "@rollup/rollup-darwin-arm64@npm:4.44.0"
3320
3320
  conditions: os=darwin & cpu=arm64
3321
3321
  languageName: node
3322
3322
  linkType: hard
3323
3323
 
3324
- "@rollup/rollup-darwin-x64@npm:4.43.0":
3325
- version: 4.43.0
3326
- resolution: "@rollup/rollup-darwin-x64@npm:4.43.0"
3324
+ "@rollup/rollup-darwin-x64@npm:4.44.0":
3325
+ version: 4.44.0
3326
+ resolution: "@rollup/rollup-darwin-x64@npm:4.44.0"
3327
3327
  conditions: os=darwin & cpu=x64
3328
3328
  languageName: node
3329
3329
  linkType: hard
3330
3330
 
3331
- "@rollup/rollup-freebsd-arm64@npm:4.43.0":
3332
- version: 4.43.0
3333
- resolution: "@rollup/rollup-freebsd-arm64@npm:4.43.0"
3331
+ "@rollup/rollup-freebsd-arm64@npm:4.44.0":
3332
+ version: 4.44.0
3333
+ resolution: "@rollup/rollup-freebsd-arm64@npm:4.44.0"
3334
3334
  conditions: os=freebsd & cpu=arm64
3335
3335
  languageName: node
3336
3336
  linkType: hard
3337
3337
 
3338
- "@rollup/rollup-freebsd-x64@npm:4.43.0":
3339
- version: 4.43.0
3340
- resolution: "@rollup/rollup-freebsd-x64@npm:4.43.0"
3338
+ "@rollup/rollup-freebsd-x64@npm:4.44.0":
3339
+ version: 4.44.0
3340
+ resolution: "@rollup/rollup-freebsd-x64@npm:4.44.0"
3341
3341
  conditions: os=freebsd & cpu=x64
3342
3342
  languageName: node
3343
3343
  linkType: hard
3344
3344
 
3345
- "@rollup/rollup-linux-arm-gnueabihf@npm:4.43.0":
3346
- version: 4.43.0
3347
- resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.43.0"
3345
+ "@rollup/rollup-linux-arm-gnueabihf@npm:4.44.0":
3346
+ version: 4.44.0
3347
+ resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.44.0"
3348
3348
  conditions: os=linux & cpu=arm & libc=glibc
3349
3349
  languageName: node
3350
3350
  linkType: hard
3351
3351
 
3352
- "@rollup/rollup-linux-arm-musleabihf@npm:4.43.0":
3353
- version: 4.43.0
3354
- resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.43.0"
3352
+ "@rollup/rollup-linux-arm-musleabihf@npm:4.44.0":
3353
+ version: 4.44.0
3354
+ resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.44.0"
3355
3355
  conditions: os=linux & cpu=arm & libc=musl
3356
3356
  languageName: node
3357
3357
  linkType: hard
3358
3358
 
3359
- "@rollup/rollup-linux-arm64-gnu@npm:4.43.0":
3360
- version: 4.43.0
3361
- resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.43.0"
3359
+ "@rollup/rollup-linux-arm64-gnu@npm:4.44.0":
3360
+ version: 4.44.0
3361
+ resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.44.0"
3362
3362
  conditions: os=linux & cpu=arm64 & libc=glibc
3363
3363
  languageName: node
3364
3364
  linkType: hard
3365
3365
 
3366
- "@rollup/rollup-linux-arm64-musl@npm:4.43.0":
3367
- version: 4.43.0
3368
- resolution: "@rollup/rollup-linux-arm64-musl@npm:4.43.0"
3366
+ "@rollup/rollup-linux-arm64-musl@npm:4.44.0":
3367
+ version: 4.44.0
3368
+ resolution: "@rollup/rollup-linux-arm64-musl@npm:4.44.0"
3369
3369
  conditions: os=linux & cpu=arm64 & libc=musl
3370
3370
  languageName: node
3371
3371
  linkType: hard
3372
3372
 
3373
- "@rollup/rollup-linux-loongarch64-gnu@npm:4.43.0":
3374
- version: 4.43.0
3375
- resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.43.0"
3373
+ "@rollup/rollup-linux-loongarch64-gnu@npm:4.44.0":
3374
+ version: 4.44.0
3375
+ resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.44.0"
3376
3376
  conditions: os=linux & cpu=loong64 & libc=glibc
3377
3377
  languageName: node
3378
3378
  linkType: hard
3379
3379
 
3380
- "@rollup/rollup-linux-powerpc64le-gnu@npm:4.43.0":
3381
- version: 4.43.0
3382
- resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.43.0"
3380
+ "@rollup/rollup-linux-powerpc64le-gnu@npm:4.44.0":
3381
+ version: 4.44.0
3382
+ resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.44.0"
3383
3383
  conditions: os=linux & cpu=ppc64 & libc=glibc
3384
3384
  languageName: node
3385
3385
  linkType: hard
3386
3386
 
3387
- "@rollup/rollup-linux-riscv64-gnu@npm:4.43.0":
3388
- version: 4.43.0
3389
- resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.43.0"
3387
+ "@rollup/rollup-linux-riscv64-gnu@npm:4.44.0":
3388
+ version: 4.44.0
3389
+ resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.44.0"
3390
3390
  conditions: os=linux & cpu=riscv64 & libc=glibc
3391
3391
  languageName: node
3392
3392
  linkType: hard
3393
3393
 
3394
- "@rollup/rollup-linux-riscv64-musl@npm:4.43.0":
3395
- version: 4.43.0
3396
- resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.43.0"
3394
+ "@rollup/rollup-linux-riscv64-musl@npm:4.44.0":
3395
+ version: 4.44.0
3396
+ resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.44.0"
3397
3397
  conditions: os=linux & cpu=riscv64 & libc=musl
3398
3398
  languageName: node
3399
3399
  linkType: hard
3400
3400
 
3401
- "@rollup/rollup-linux-s390x-gnu@npm:4.43.0":
3402
- version: 4.43.0
3403
- resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.43.0"
3401
+ "@rollup/rollup-linux-s390x-gnu@npm:4.44.0":
3402
+ version: 4.44.0
3403
+ resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.44.0"
3404
3404
  conditions: os=linux & cpu=s390x & libc=glibc
3405
3405
  languageName: node
3406
3406
  linkType: hard
3407
3407
 
3408
- "@rollup/rollup-linux-x64-gnu@npm:4.43.0":
3409
- version: 4.43.0
3410
- resolution: "@rollup/rollup-linux-x64-gnu@npm:4.43.0"
3408
+ "@rollup/rollup-linux-x64-gnu@npm:4.44.0":
3409
+ version: 4.44.0
3410
+ resolution: "@rollup/rollup-linux-x64-gnu@npm:4.44.0"
3411
3411
  conditions: os=linux & cpu=x64 & libc=glibc
3412
3412
  languageName: node
3413
3413
  linkType: hard
3414
3414
 
3415
- "@rollup/rollup-linux-x64-musl@npm:4.43.0":
3416
- version: 4.43.0
3417
- resolution: "@rollup/rollup-linux-x64-musl@npm:4.43.0"
3415
+ "@rollup/rollup-linux-x64-musl@npm:4.44.0":
3416
+ version: 4.44.0
3417
+ resolution: "@rollup/rollup-linux-x64-musl@npm:4.44.0"
3418
3418
  conditions: os=linux & cpu=x64 & libc=musl
3419
3419
  languageName: node
3420
3420
  linkType: hard
3421
3421
 
3422
- "@rollup/rollup-win32-arm64-msvc@npm:4.43.0":
3423
- version: 4.43.0
3424
- resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.43.0"
3422
+ "@rollup/rollup-win32-arm64-msvc@npm:4.44.0":
3423
+ version: 4.44.0
3424
+ resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.44.0"
3425
3425
  conditions: os=win32 & cpu=arm64
3426
3426
  languageName: node
3427
3427
  linkType: hard
3428
3428
 
3429
- "@rollup/rollup-win32-ia32-msvc@npm:4.43.0":
3430
- version: 4.43.0
3431
- resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.43.0"
3429
+ "@rollup/rollup-win32-ia32-msvc@npm:4.44.0":
3430
+ version: 4.44.0
3431
+ resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.44.0"
3432
3432
  conditions: os=win32 & cpu=ia32
3433
3433
  languageName: node
3434
3434
  linkType: hard
3435
3435
 
3436
- "@rollup/rollup-win32-x64-msvc@npm:4.43.0":
3437
- version: 4.43.0
3438
- resolution: "@rollup/rollup-win32-x64-msvc@npm:4.43.0"
3436
+ "@rollup/rollup-win32-x64-msvc@npm:4.44.0":
3437
+ version: 4.44.0
3438
+ resolution: "@rollup/rollup-win32-x64-msvc@npm:4.44.0"
3439
3439
  conditions: os=win32 & cpu=x64
3440
3440
  languageName: node
3441
3441
  linkType: hard
@@ -5466,14 +5466,7 @@ __metadata:
5466
5466
  languageName: node
5467
5467
  linkType: hard
5468
5468
 
5469
- "@types/estree@npm:1.0.7":
5470
- version: 1.0.7
5471
- resolution: "@types/estree@npm:1.0.7"
5472
- checksum: 10c0/be815254316882f7c40847336cd484c3bc1c3e34f710d197160d455dc9d6d050ffbf4c3bc76585dba86f737f020ab20bdb137ebe0e9116b0c86c7c0342221b8c
5473
- languageName: node
5474
- linkType: hard
5475
-
5476
- "@types/estree@npm:^1.0.0":
5469
+ "@types/estree@npm:1.0.8, @types/estree@npm:^1.0.0":
5477
5470
  version: 1.0.8
5478
5471
  resolution: "@types/estree@npm:1.0.8"
5479
5472
  checksum: 10c0/39d34d1afaa338ab9763f37ad6066e3f349444f9052b9676a7cc0252ef9485a41c6d81c9c4e0d26e9077993354edf25efc853f3224dd4b447175ef62bdcc86a5
@@ -6235,26 +6228,26 @@ __metadata:
6235
6228
  languageName: node
6236
6229
  linkType: hard
6237
6230
 
6238
- "@vue/compiler-core@npm:3.5.16":
6239
- version: 3.5.16
6240
- resolution: "@vue/compiler-core@npm:3.5.16"
6231
+ "@vue/compiler-core@npm:3.5.17":
6232
+ version: 3.5.17
6233
+ resolution: "@vue/compiler-core@npm:3.5.17"
6241
6234
  dependencies:
6242
- "@babel/parser": "npm:^7.27.2"
6243
- "@vue/shared": "npm:3.5.16"
6235
+ "@babel/parser": "npm:^7.27.5"
6236
+ "@vue/shared": "npm:3.5.17"
6244
6237
  entities: "npm:^4.5.0"
6245
6238
  estree-walker: "npm:^2.0.2"
6246
6239
  source-map-js: "npm:^1.2.1"
6247
- checksum: 10c0/1a6f1446320467eac382c9ee567bd6017a61d374eebe48cbf948badb13e14beb0f96645e2cb8c4bfff565aa4948f1d836352bea511e5f3322c51cc5921caf42a
6240
+ checksum: 10c0/d6b50f6f0a71a77a04452877c601cfd6ea13ec07aa68a061523166c1150e159f64230eee28e1042e6113e334a11c25c306bae5d463931a9e7f96261a29a0042d
6248
6241
  languageName: node
6249
6242
  linkType: hard
6250
6243
 
6251
6244
  "@vue/compiler-dom@npm:^3.4.0":
6252
- version: 3.5.16
6253
- resolution: "@vue/compiler-dom@npm:3.5.16"
6245
+ version: 3.5.17
6246
+ resolution: "@vue/compiler-dom@npm:3.5.17"
6254
6247
  dependencies:
6255
- "@vue/compiler-core": "npm:3.5.16"
6256
- "@vue/shared": "npm:3.5.16"
6257
- checksum: 10c0/e3ed5b50977cbb240abc2b8a71497254810e433a2e4a5eb254900c46abc6494b99df7e69ae79d7122c29c2e1cc4605c5b4925bf280e83e4f918098194b2894cf
6248
+ "@vue/compiler-core": "npm:3.5.17"
6249
+ "@vue/shared": "npm:3.5.17"
6250
+ checksum: 10c0/27e4c201522abcb2755318fc502a4cf8a752fb90441bbd954c018990e80bb30e4075dadefa7f36671028779d9c21d34d76330f6b441921e317cf1c102a5411b6
6258
6251
  languageName: node
6259
6252
  linkType: hard
6260
6253
 
@@ -6289,10 +6282,10 @@ __metadata:
6289
6282
  languageName: node
6290
6283
  linkType: hard
6291
6284
 
6292
- "@vue/shared@npm:3.5.16, @vue/shared@npm:^3.4.0":
6293
- version: 3.5.16
6294
- resolution: "@vue/shared@npm:3.5.16"
6295
- checksum: 10c0/242ecc41f4c4e8f7f5d8714d715f4a78e31ead988da47cb369b88bd2f53aacc0f1db8c15dfac726e2a3ebe1104689bddd65c5c349ca5097e6657b2af2098c2f7
6285
+ "@vue/shared@npm:3.5.17, @vue/shared@npm:^3.4.0":
6286
+ version: 3.5.17
6287
+ resolution: "@vue/shared@npm:3.5.17"
6288
+ checksum: 10c0/915d8f80d863826531cf6ddefeb52455cbffcbca4d14717472b7765b3142d2ad9900dfce351e90a22e1fe9e2f8fca588421de6e751e1c816ab9e1fdefa3e8a0d
6296
6289
  languageName: node
6297
6290
  linkType: hard
6298
6291
 
@@ -9873,9 +9866,9 @@ __metadata:
9873
9866
  linkType: hard
9874
9867
 
9875
9868
  "electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.160":
9876
- version: 1.5.167
9877
- resolution: "electron-to-chromium@npm:1.5.167"
9878
- checksum: 10c0/eba07d2d8ae99e1e29f1af380d005c378f71608617ca904cbe4e2b5b72b102b46c5687bdbef855e2214876729655661b2c20248cce425d54c8d40f0785cb998a
9869
+ version: 1.5.170
9870
+ resolution: "electron-to-chromium@npm:1.5.170"
9871
+ checksum: 10c0/138c6d293b310729f7550f6d36ae4b2bdd0453220e8b11d8780395cf38c9ae816b1f30a3978d790f1951cfa89e7c7911af4a779094c33ae167c89c7ba6751834
9879
9872
  languageName: node
9880
9873
  linkType: hard
9881
9874
 
@@ -9985,11 +9978,11 @@ __metadata:
9985
9978
  linkType: hard
9986
9979
 
9987
9980
  "end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0":
9988
- version: 1.4.4
9989
- resolution: "end-of-stream@npm:1.4.4"
9981
+ version: 1.4.5
9982
+ resolution: "end-of-stream@npm:1.4.5"
9990
9983
  dependencies:
9991
9984
  once: "npm:^1.4.0"
9992
- checksum: 10c0/870b423afb2d54bb8d243c63e07c170409d41e20b47eeef0727547aea5740bd6717aca45597a9f2745525667a6b804c1e7bede41f856818faee5806dd9ff3975
9985
+ checksum: 10c0/b0701c92a10b89afb1cb45bf54a5292c6f008d744eb4382fa559d54775ff31617d1d7bc3ef617575f552e24fad2c7c1a1835948c66b3f3a4be0a6c1f35c883d8
9993
9986
  languageName: node
9994
9987
  linkType: hard
9995
9988
 
@@ -16640,13 +16633,13 @@ __metadata:
16640
16633
  linkType: hard
16641
16634
 
16642
16635
  "postcss@npm:^8.2.6, postcss@npm:^8.4.23, postcss@npm:^8.4.39":
16643
- version: 8.5.5
16644
- resolution: "postcss@npm:8.5.5"
16636
+ version: 8.5.6
16637
+ resolution: "postcss@npm:8.5.6"
16645
16638
  dependencies:
16646
16639
  nanoid: "npm:^3.3.11"
16647
16640
  picocolors: "npm:^1.1.1"
16648
16641
  source-map-js: "npm:^1.2.1"
16649
- checksum: 10c0/6415873fab84de05c2d8fd18f72ea6654bca437bb4b9f02ca819c438501e4b3a450023e575e17587c6eaa5bedddaaa4dad3af210f5cf166e30cec09cac58baf8
16642
+ checksum: 10c0/5127cc7c91ed7a133a1b7318012d8bfa112da9ef092dddf369ae699a1f10ebbd89b1b9f25f3228795b84585c72aabd5ced5fc11f2ba467eedf7b081a66fad024
16650
16643
  languageName: node
16651
16644
  linkType: hard
16652
16645
 
@@ -18901,30 +18894,30 @@ __metadata:
18901
18894
  linkType: hard
18902
18895
 
18903
18896
  "rollup@npm:^4.13.0":
18904
- version: 4.43.0
18905
- resolution: "rollup@npm:4.43.0"
18906
- dependencies:
18907
- "@rollup/rollup-android-arm-eabi": "npm:4.43.0"
18908
- "@rollup/rollup-android-arm64": "npm:4.43.0"
18909
- "@rollup/rollup-darwin-arm64": "npm:4.43.0"
18910
- "@rollup/rollup-darwin-x64": "npm:4.43.0"
18911
- "@rollup/rollup-freebsd-arm64": "npm:4.43.0"
18912
- "@rollup/rollup-freebsd-x64": "npm:4.43.0"
18913
- "@rollup/rollup-linux-arm-gnueabihf": "npm:4.43.0"
18914
- "@rollup/rollup-linux-arm-musleabihf": "npm:4.43.0"
18915
- "@rollup/rollup-linux-arm64-gnu": "npm:4.43.0"
18916
- "@rollup/rollup-linux-arm64-musl": "npm:4.43.0"
18917
- "@rollup/rollup-linux-loongarch64-gnu": "npm:4.43.0"
18918
- "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.43.0"
18919
- "@rollup/rollup-linux-riscv64-gnu": "npm:4.43.0"
18920
- "@rollup/rollup-linux-riscv64-musl": "npm:4.43.0"
18921
- "@rollup/rollup-linux-s390x-gnu": "npm:4.43.0"
18922
- "@rollup/rollup-linux-x64-gnu": "npm:4.43.0"
18923
- "@rollup/rollup-linux-x64-musl": "npm:4.43.0"
18924
- "@rollup/rollup-win32-arm64-msvc": "npm:4.43.0"
18925
- "@rollup/rollup-win32-ia32-msvc": "npm:4.43.0"
18926
- "@rollup/rollup-win32-x64-msvc": "npm:4.43.0"
18927
- "@types/estree": "npm:1.0.7"
18897
+ version: 4.44.0
18898
+ resolution: "rollup@npm:4.44.0"
18899
+ dependencies:
18900
+ "@rollup/rollup-android-arm-eabi": "npm:4.44.0"
18901
+ "@rollup/rollup-android-arm64": "npm:4.44.0"
18902
+ "@rollup/rollup-darwin-arm64": "npm:4.44.0"
18903
+ "@rollup/rollup-darwin-x64": "npm:4.44.0"
18904
+ "@rollup/rollup-freebsd-arm64": "npm:4.44.0"
18905
+ "@rollup/rollup-freebsd-x64": "npm:4.44.0"
18906
+ "@rollup/rollup-linux-arm-gnueabihf": "npm:4.44.0"
18907
+ "@rollup/rollup-linux-arm-musleabihf": "npm:4.44.0"
18908
+ "@rollup/rollup-linux-arm64-gnu": "npm:4.44.0"
18909
+ "@rollup/rollup-linux-arm64-musl": "npm:4.44.0"
18910
+ "@rollup/rollup-linux-loongarch64-gnu": "npm:4.44.0"
18911
+ "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.44.0"
18912
+ "@rollup/rollup-linux-riscv64-gnu": "npm:4.44.0"
18913
+ "@rollup/rollup-linux-riscv64-musl": "npm:4.44.0"
18914
+ "@rollup/rollup-linux-s390x-gnu": "npm:4.44.0"
18915
+ "@rollup/rollup-linux-x64-gnu": "npm:4.44.0"
18916
+ "@rollup/rollup-linux-x64-musl": "npm:4.44.0"
18917
+ "@rollup/rollup-win32-arm64-msvc": "npm:4.44.0"
18918
+ "@rollup/rollup-win32-ia32-msvc": "npm:4.44.0"
18919
+ "@rollup/rollup-win32-x64-msvc": "npm:4.44.0"
18920
+ "@types/estree": "npm:1.0.8"
18928
18921
  fsevents: "npm:~2.3.2"
18929
18922
  dependenciesMeta:
18930
18923
  "@rollup/rollup-android-arm-eabi":
@@ -18971,7 +18964,7 @@ __metadata:
18971
18964
  optional: true
18972
18965
  bin:
18973
18966
  rollup: dist/bin/rollup
18974
- checksum: 10c0/a14a16ee5433f9eddfe803ed1a3f4528e3e96f746e55bf88c5482f9a60a4ad61f507b59f46d5d9c8dc98bb7983483e0c94b760ae37c02157eba9da5665c1641b
18967
+ checksum: 10c0/ff3e0741f2fc7b7b183079628cf50fcfc9163bef86ecfbc9f4e4023adfdee375b7075940963514e2bc4969764688d38d67095bce038b0ad5d572207f114afff5
18975
18968
  languageName: node
18976
18969
  linkType: hard
18977
18970
 
@@ -20544,8 +20537,8 @@ __metadata:
20544
20537
  linkType: hard
20545
20538
 
20546
20539
  "terser@npm:^5.3.4":
20547
- version: 5.42.0
20548
- resolution: "terser@npm:5.42.0"
20540
+ version: 5.43.1
20541
+ resolution: "terser@npm:5.43.1"
20549
20542
  dependencies:
20550
20543
  "@jridgewell/source-map": "npm:^0.3.3"
20551
20544
  acorn: "npm:^8.14.0"
@@ -20553,7 +20546,7 @@ __metadata:
20553
20546
  source-map-support: "npm:~0.5.20"
20554
20547
  bin:
20555
20548
  terser: bin/terser
20556
- checksum: 10c0/f89d5f8c9ccfcd4f6e9a0ecd9569677e2784a876b5cd916e4bc3d19e057ddae3416391df8e40746b29285bdafd48bb3a4230df1453ad8ec8caa7dd67f48f6dc0
20549
+ checksum: 10c0/9cd3fa09ea6bcb79eb71995216b8bef0651b18c5c3877535fc699a77e1ab43b140a4da5811ac9baeb654fa9ec939b17324092f0f0bdb19c402e101e3db946986
20557
20550
  languageName: node
20558
20551
  linkType: hard
20559
20552