@licklist/design 0.75.1-dev.5 → 0.75.1-dev.6
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/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +12 -2
- package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts +6 -2
- package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts.map +1 -1
- package/dist/events/edit-event-modal/hooks/useValidationOptions.js +16 -5
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +2 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +2 -1
- package/dist/iframe/payment/payment-status-page/component/PaymentStatusBody.d.ts +2 -1
- package/dist/iframe/payment/payment-status-page/component/PaymentStatusBody.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/component/PaymentStatusBody.js +2 -1
- package/dist/iframe/payment/status-body/StatusBody.d.ts +2 -1
- package/dist/iframe/payment/status-body/StatusBody.d.ts.map +1 -1
- package/dist/iframe/payment/status-body/StatusBody.js +15 -1
- package/package.json +1 -1
- package/src/events/edit-event-modal/IntervalInput.tsx +11 -1
- package/src/events/edit-event-modal/hooks/useValidationOptions.tsx +26 -9
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +3 -0
- package/src/iframe/payment/payment-status-page/component/PaymentStatusBody.tsx +3 -0
- package/src/iframe/payment/status-body/StatusBody.tsx +8 -1
- package/yarn.lock +119 -126
|
@@ -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,
|
|
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,2CA4KpB"}
|
|
@@ -111,14 +111,14 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
111
111
|
}
|
|
112
112
|
function IntervalInput(param) {
|
|
113
113
|
var _param_disabled = param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, editedProductSet = param.editedProductSet, productSetId = param.productSetId, productSets = param.productSets, _param_disabledRecurrent = param.disabledRecurrent, disabledRecurrent = _param_disabledRecurrent === void 0 ? false : _param_disabledRecurrent, _param_isCopyCreate = param.isCopyCreate, isCopyCreate = _param_isCopyCreate === void 0 ? false : _param_isCopyCreate;
|
|
114
|
-
var _errors_start, _errors_end;
|
|
114
|
+
var _errors_start, _errors_end, _errors_end1;
|
|
115
115
|
var t = useTranslation([
|
|
116
116
|
'Design',
|
|
117
117
|
'Validation'
|
|
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, {
|
|
@@ -250,6 +256,10 @@ function IntervalInput(param) {
|
|
|
250
256
|
children: formattedDuration && "lasts ".concat(formattedDuration)
|
|
251
257
|
})
|
|
252
258
|
]
|
|
259
|
+
}),
|
|
260
|
+
/*#__PURE__*/ jsx(Form.Control.Feedback, {
|
|
261
|
+
type: "invalid",
|
|
262
|
+
children: (_errors_end1 = errors.end) === null || _errors_end1 === void 0 ? void 0 : _errors_end1.message
|
|
253
263
|
})
|
|
254
264
|
]
|
|
255
265
|
}),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
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:
|
|
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;;
|
|
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
|
-
|
|
29
|
-
|
|
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,
|
|
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,
|
|
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":"
|
|
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
|
@@ -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'>
|
|
@@ -153,6 +159,10 @@ export function IntervalInput({
|
|
|
153
159
|
{formattedDuration && `lasts ${formattedDuration}`}
|
|
154
160
|
</Form.Text>
|
|
155
161
|
</Form.Group>
|
|
162
|
+
|
|
163
|
+
<Form.Control.Feedback type='invalid'>
|
|
164
|
+
{errors.end?.message}
|
|
165
|
+
</Form.Control.Feedback>
|
|
156
166
|
</Form.Row>
|
|
157
167
|
{start && (
|
|
158
168
|
<Form.Group controlId={recurrentId}>
|
|
@@ -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
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
value
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
@@ -3287,8 +3287,8 @@ __metadata:
|
|
|
3287
3287
|
linkType: hard
|
|
3288
3288
|
|
|
3289
3289
|
"@rollup/pluginutils@npm:^5.0.1, @rollup/pluginutils@npm:^5.0.2, @rollup/pluginutils@npm:^5.0.5, @rollup/pluginutils@npm:^5.1.0":
|
|
3290
|
-
version: 5.
|
|
3291
|
-
resolution: "@rollup/pluginutils@npm:5.
|
|
3290
|
+
version: 5.2.0
|
|
3291
|
+
resolution: "@rollup/pluginutils@npm:5.2.0"
|
|
3292
3292
|
dependencies:
|
|
3293
3293
|
"@types/estree": "npm:^1.0.0"
|
|
3294
3294
|
estree-walker: "npm:^2.0.2"
|
|
@@ -3298,146 +3298,146 @@ __metadata:
|
|
|
3298
3298
|
peerDependenciesMeta:
|
|
3299
3299
|
rollup:
|
|
3300
3300
|
optional: true
|
|
3301
|
-
checksum: 10c0/
|
|
3301
|
+
checksum: 10c0/794890d512751451bcc06aa112366ef47ea8f9125dac49b1abf72ff8b079518b09359de9c60a013b33266541634e765ae61839c749fae0edb59a463418665c55
|
|
3302
3302
|
languageName: node
|
|
3303
3303
|
linkType: hard
|
|
3304
3304
|
|
|
3305
|
-
"@rollup/rollup-android-arm-eabi@npm:4.
|
|
3306
|
-
version: 4.
|
|
3307
|
-
resolution: "@rollup/rollup-android-arm-eabi@npm:4.
|
|
3305
|
+
"@rollup/rollup-android-arm-eabi@npm:4.44.0":
|
|
3306
|
+
version: 4.44.0
|
|
3307
|
+
resolution: "@rollup/rollup-android-arm-eabi@npm:4.44.0"
|
|
3308
3308
|
conditions: os=android & cpu=arm
|
|
3309
3309
|
languageName: node
|
|
3310
3310
|
linkType: hard
|
|
3311
3311
|
|
|
3312
|
-
"@rollup/rollup-android-arm64@npm:4.
|
|
3313
|
-
version: 4.
|
|
3314
|
-
resolution: "@rollup/rollup-android-arm64@npm:4.
|
|
3312
|
+
"@rollup/rollup-android-arm64@npm:4.44.0":
|
|
3313
|
+
version: 4.44.0
|
|
3314
|
+
resolution: "@rollup/rollup-android-arm64@npm:4.44.0"
|
|
3315
3315
|
conditions: os=android & cpu=arm64
|
|
3316
3316
|
languageName: node
|
|
3317
3317
|
linkType: hard
|
|
3318
3318
|
|
|
3319
|
-
"@rollup/rollup-darwin-arm64@npm:4.
|
|
3320
|
-
version: 4.
|
|
3321
|
-
resolution: "@rollup/rollup-darwin-arm64@npm:4.
|
|
3319
|
+
"@rollup/rollup-darwin-arm64@npm:4.44.0":
|
|
3320
|
+
version: 4.44.0
|
|
3321
|
+
resolution: "@rollup/rollup-darwin-arm64@npm:4.44.0"
|
|
3322
3322
|
conditions: os=darwin & cpu=arm64
|
|
3323
3323
|
languageName: node
|
|
3324
3324
|
linkType: hard
|
|
3325
3325
|
|
|
3326
|
-
"@rollup/rollup-darwin-x64@npm:4.
|
|
3327
|
-
version: 4.
|
|
3328
|
-
resolution: "@rollup/rollup-darwin-x64@npm:4.
|
|
3326
|
+
"@rollup/rollup-darwin-x64@npm:4.44.0":
|
|
3327
|
+
version: 4.44.0
|
|
3328
|
+
resolution: "@rollup/rollup-darwin-x64@npm:4.44.0"
|
|
3329
3329
|
conditions: os=darwin & cpu=x64
|
|
3330
3330
|
languageName: node
|
|
3331
3331
|
linkType: hard
|
|
3332
3332
|
|
|
3333
|
-
"@rollup/rollup-freebsd-arm64@npm:4.
|
|
3334
|
-
version: 4.
|
|
3335
|
-
resolution: "@rollup/rollup-freebsd-arm64@npm:4.
|
|
3333
|
+
"@rollup/rollup-freebsd-arm64@npm:4.44.0":
|
|
3334
|
+
version: 4.44.0
|
|
3335
|
+
resolution: "@rollup/rollup-freebsd-arm64@npm:4.44.0"
|
|
3336
3336
|
conditions: os=freebsd & cpu=arm64
|
|
3337
3337
|
languageName: node
|
|
3338
3338
|
linkType: hard
|
|
3339
3339
|
|
|
3340
|
-
"@rollup/rollup-freebsd-x64@npm:4.
|
|
3341
|
-
version: 4.
|
|
3342
|
-
resolution: "@rollup/rollup-freebsd-x64@npm:4.
|
|
3340
|
+
"@rollup/rollup-freebsd-x64@npm:4.44.0":
|
|
3341
|
+
version: 4.44.0
|
|
3342
|
+
resolution: "@rollup/rollup-freebsd-x64@npm:4.44.0"
|
|
3343
3343
|
conditions: os=freebsd & cpu=x64
|
|
3344
3344
|
languageName: node
|
|
3345
3345
|
linkType: hard
|
|
3346
3346
|
|
|
3347
|
-
"@rollup/rollup-linux-arm-gnueabihf@npm:4.
|
|
3348
|
-
version: 4.
|
|
3349
|
-
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.
|
|
3347
|
+
"@rollup/rollup-linux-arm-gnueabihf@npm:4.44.0":
|
|
3348
|
+
version: 4.44.0
|
|
3349
|
+
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.44.0"
|
|
3350
3350
|
conditions: os=linux & cpu=arm & libc=glibc
|
|
3351
3351
|
languageName: node
|
|
3352
3352
|
linkType: hard
|
|
3353
3353
|
|
|
3354
|
-
"@rollup/rollup-linux-arm-musleabihf@npm:4.
|
|
3355
|
-
version: 4.
|
|
3356
|
-
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.
|
|
3354
|
+
"@rollup/rollup-linux-arm-musleabihf@npm:4.44.0":
|
|
3355
|
+
version: 4.44.0
|
|
3356
|
+
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.44.0"
|
|
3357
3357
|
conditions: os=linux & cpu=arm & libc=musl
|
|
3358
3358
|
languageName: node
|
|
3359
3359
|
linkType: hard
|
|
3360
3360
|
|
|
3361
|
-
"@rollup/rollup-linux-arm64-gnu@npm:4.
|
|
3362
|
-
version: 4.
|
|
3363
|
-
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.
|
|
3361
|
+
"@rollup/rollup-linux-arm64-gnu@npm:4.44.0":
|
|
3362
|
+
version: 4.44.0
|
|
3363
|
+
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.44.0"
|
|
3364
3364
|
conditions: os=linux & cpu=arm64 & libc=glibc
|
|
3365
3365
|
languageName: node
|
|
3366
3366
|
linkType: hard
|
|
3367
3367
|
|
|
3368
|
-
"@rollup/rollup-linux-arm64-musl@npm:4.
|
|
3369
|
-
version: 4.
|
|
3370
|
-
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.
|
|
3368
|
+
"@rollup/rollup-linux-arm64-musl@npm:4.44.0":
|
|
3369
|
+
version: 4.44.0
|
|
3370
|
+
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.44.0"
|
|
3371
3371
|
conditions: os=linux & cpu=arm64 & libc=musl
|
|
3372
3372
|
languageName: node
|
|
3373
3373
|
linkType: hard
|
|
3374
3374
|
|
|
3375
|
-
"@rollup/rollup-linux-loongarch64-gnu@npm:4.
|
|
3376
|
-
version: 4.
|
|
3377
|
-
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.
|
|
3375
|
+
"@rollup/rollup-linux-loongarch64-gnu@npm:4.44.0":
|
|
3376
|
+
version: 4.44.0
|
|
3377
|
+
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.44.0"
|
|
3378
3378
|
conditions: os=linux & cpu=loong64 & libc=glibc
|
|
3379
3379
|
languageName: node
|
|
3380
3380
|
linkType: hard
|
|
3381
3381
|
|
|
3382
|
-
"@rollup/rollup-linux-powerpc64le-gnu@npm:4.
|
|
3383
|
-
version: 4.
|
|
3384
|
-
resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.
|
|
3382
|
+
"@rollup/rollup-linux-powerpc64le-gnu@npm:4.44.0":
|
|
3383
|
+
version: 4.44.0
|
|
3384
|
+
resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.44.0"
|
|
3385
3385
|
conditions: os=linux & cpu=ppc64 & libc=glibc
|
|
3386
3386
|
languageName: node
|
|
3387
3387
|
linkType: hard
|
|
3388
3388
|
|
|
3389
|
-
"@rollup/rollup-linux-riscv64-gnu@npm:4.
|
|
3390
|
-
version: 4.
|
|
3391
|
-
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.
|
|
3389
|
+
"@rollup/rollup-linux-riscv64-gnu@npm:4.44.0":
|
|
3390
|
+
version: 4.44.0
|
|
3391
|
+
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.44.0"
|
|
3392
3392
|
conditions: os=linux & cpu=riscv64 & libc=glibc
|
|
3393
3393
|
languageName: node
|
|
3394
3394
|
linkType: hard
|
|
3395
3395
|
|
|
3396
|
-
"@rollup/rollup-linux-riscv64-musl@npm:4.
|
|
3397
|
-
version: 4.
|
|
3398
|
-
resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.
|
|
3396
|
+
"@rollup/rollup-linux-riscv64-musl@npm:4.44.0":
|
|
3397
|
+
version: 4.44.0
|
|
3398
|
+
resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.44.0"
|
|
3399
3399
|
conditions: os=linux & cpu=riscv64 & libc=musl
|
|
3400
3400
|
languageName: node
|
|
3401
3401
|
linkType: hard
|
|
3402
3402
|
|
|
3403
|
-
"@rollup/rollup-linux-s390x-gnu@npm:4.
|
|
3404
|
-
version: 4.
|
|
3405
|
-
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.
|
|
3403
|
+
"@rollup/rollup-linux-s390x-gnu@npm:4.44.0":
|
|
3404
|
+
version: 4.44.0
|
|
3405
|
+
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.44.0"
|
|
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.
|
|
3411
|
-
version: 4.
|
|
3412
|
-
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.
|
|
3410
|
+
"@rollup/rollup-linux-x64-gnu@npm:4.44.0":
|
|
3411
|
+
version: 4.44.0
|
|
3412
|
+
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.44.0"
|
|
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.
|
|
3418
|
-
version: 4.
|
|
3419
|
-
resolution: "@rollup/rollup-linux-x64-musl@npm:4.
|
|
3417
|
+
"@rollup/rollup-linux-x64-musl@npm:4.44.0":
|
|
3418
|
+
version: 4.44.0
|
|
3419
|
+
resolution: "@rollup/rollup-linux-x64-musl@npm:4.44.0"
|
|
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.
|
|
3425
|
-
version: 4.
|
|
3426
|
-
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.
|
|
3424
|
+
"@rollup/rollup-win32-arm64-msvc@npm:4.44.0":
|
|
3425
|
+
version: 4.44.0
|
|
3426
|
+
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.44.0"
|
|
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.
|
|
3432
|
-
version: 4.
|
|
3433
|
-
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.
|
|
3431
|
+
"@rollup/rollup-win32-ia32-msvc@npm:4.44.0":
|
|
3432
|
+
version: 4.44.0
|
|
3433
|
+
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.44.0"
|
|
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.
|
|
3439
|
-
version: 4.
|
|
3440
|
-
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.
|
|
3438
|
+
"@rollup/rollup-win32-x64-msvc@npm:4.44.0":
|
|
3439
|
+
version: 4.44.0
|
|
3440
|
+
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.44.0"
|
|
3441
3441
|
conditions: os=win32 & cpu=x64
|
|
3442
3442
|
languageName: node
|
|
3443
3443
|
linkType: hard
|
|
@@ -5468,14 +5468,7 @@ __metadata:
|
|
|
5468
5468
|
languageName: node
|
|
5469
5469
|
linkType: hard
|
|
5470
5470
|
|
|
5471
|
-
"@types/estree@npm:1.0.
|
|
5472
|
-
version: 1.0.7
|
|
5473
|
-
resolution: "@types/estree@npm:1.0.7"
|
|
5474
|
-
checksum: 10c0/be815254316882f7c40847336cd484c3bc1c3e34f710d197160d455dc9d6d050ffbf4c3bc76585dba86f737f020ab20bdb137ebe0e9116b0c86c7c0342221b8c
|
|
5475
|
-
languageName: node
|
|
5476
|
-
linkType: hard
|
|
5477
|
-
|
|
5478
|
-
"@types/estree@npm:^1.0.0":
|
|
5471
|
+
"@types/estree@npm:1.0.8, @types/estree@npm:^1.0.0":
|
|
5479
5472
|
version: 1.0.8
|
|
5480
5473
|
resolution: "@types/estree@npm:1.0.8"
|
|
5481
5474
|
checksum: 10c0/39d34d1afaa338ab9763f37ad6066e3f349444f9052b9676a7cc0252ef9485a41c6d81c9c4e0d26e9077993354edf25efc853f3224dd4b447175ef62bdcc86a5
|
|
@@ -5705,11 +5698,11 @@ __metadata:
|
|
|
5705
5698
|
linkType: hard
|
|
5706
5699
|
|
|
5707
5700
|
"@types/node@npm:*":
|
|
5708
|
-
version: 24.0.
|
|
5709
|
-
resolution: "@types/node@npm:24.0.
|
|
5701
|
+
version: 24.0.3
|
|
5702
|
+
resolution: "@types/node@npm:24.0.3"
|
|
5710
5703
|
dependencies:
|
|
5711
5704
|
undici-types: "npm:~7.8.0"
|
|
5712
|
-
checksum: 10c0/
|
|
5705
|
+
checksum: 10c0/9c3c4e87600d1cf11e291c2fd4bfd806a615455463c30a0ef6dc9c801b3423344d9b82b8084e3ccabce485a7421ebb61a66e9676181bd7d9aea4759998a120d5
|
|
5713
5706
|
languageName: node
|
|
5714
5707
|
linkType: hard
|
|
5715
5708
|
|
|
@@ -6237,26 +6230,26 @@ __metadata:
|
|
|
6237
6230
|
languageName: node
|
|
6238
6231
|
linkType: hard
|
|
6239
6232
|
|
|
6240
|
-
"@vue/compiler-core@npm:3.5.
|
|
6241
|
-
version: 3.5.
|
|
6242
|
-
resolution: "@vue/compiler-core@npm:3.5.
|
|
6233
|
+
"@vue/compiler-core@npm:3.5.17":
|
|
6234
|
+
version: 3.5.17
|
|
6235
|
+
resolution: "@vue/compiler-core@npm:3.5.17"
|
|
6243
6236
|
dependencies:
|
|
6244
|
-
"@babel/parser": "npm:^7.27.
|
|
6245
|
-
"@vue/shared": "npm:3.5.
|
|
6237
|
+
"@babel/parser": "npm:^7.27.5"
|
|
6238
|
+
"@vue/shared": "npm:3.5.17"
|
|
6246
6239
|
entities: "npm:^4.5.0"
|
|
6247
6240
|
estree-walker: "npm:^2.0.2"
|
|
6248
6241
|
source-map-js: "npm:^1.2.1"
|
|
6249
|
-
checksum: 10c0/
|
|
6242
|
+
checksum: 10c0/d6b50f6f0a71a77a04452877c601cfd6ea13ec07aa68a061523166c1150e159f64230eee28e1042e6113e334a11c25c306bae5d463931a9e7f96261a29a0042d
|
|
6250
6243
|
languageName: node
|
|
6251
6244
|
linkType: hard
|
|
6252
6245
|
|
|
6253
6246
|
"@vue/compiler-dom@npm:^3.4.0":
|
|
6254
|
-
version: 3.5.
|
|
6255
|
-
resolution: "@vue/compiler-dom@npm:3.5.
|
|
6247
|
+
version: 3.5.17
|
|
6248
|
+
resolution: "@vue/compiler-dom@npm:3.5.17"
|
|
6256
6249
|
dependencies:
|
|
6257
|
-
"@vue/compiler-core": "npm:3.5.
|
|
6258
|
-
"@vue/shared": "npm:3.5.
|
|
6259
|
-
checksum: 10c0/
|
|
6250
|
+
"@vue/compiler-core": "npm:3.5.17"
|
|
6251
|
+
"@vue/shared": "npm:3.5.17"
|
|
6252
|
+
checksum: 10c0/27e4c201522abcb2755318fc502a4cf8a752fb90441bbd954c018990e80bb30e4075dadefa7f36671028779d9c21d34d76330f6b441921e317cf1c102a5411b6
|
|
6260
6253
|
languageName: node
|
|
6261
6254
|
linkType: hard
|
|
6262
6255
|
|
|
@@ -6291,10 +6284,10 @@ __metadata:
|
|
|
6291
6284
|
languageName: node
|
|
6292
6285
|
linkType: hard
|
|
6293
6286
|
|
|
6294
|
-
"@vue/shared@npm:3.5.
|
|
6295
|
-
version: 3.5.
|
|
6296
|
-
resolution: "@vue/shared@npm:3.5.
|
|
6297
|
-
checksum: 10c0/
|
|
6287
|
+
"@vue/shared@npm:3.5.17, @vue/shared@npm:^3.4.0":
|
|
6288
|
+
version: 3.5.17
|
|
6289
|
+
resolution: "@vue/shared@npm:3.5.17"
|
|
6290
|
+
checksum: 10c0/915d8f80d863826531cf6ddefeb52455cbffcbca4d14717472b7765b3142d2ad9900dfce351e90a22e1fe9e2f8fca588421de6e751e1c816ab9e1fdefa3e8a0d
|
|
6298
6291
|
languageName: node
|
|
6299
6292
|
linkType: hard
|
|
6300
6293
|
|
|
@@ -9875,9 +9868,9 @@ __metadata:
|
|
|
9875
9868
|
linkType: hard
|
|
9876
9869
|
|
|
9877
9870
|
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.160":
|
|
9878
|
-
version: 1.5.
|
|
9879
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9880
|
-
checksum: 10c0/
|
|
9871
|
+
version: 1.5.170
|
|
9872
|
+
resolution: "electron-to-chromium@npm:1.5.170"
|
|
9873
|
+
checksum: 10c0/138c6d293b310729f7550f6d36ae4b2bdd0453220e8b11d8780395cf38c9ae816b1f30a3978d790f1951cfa89e7c7911af4a779094c33ae167c89c7ba6751834
|
|
9881
9874
|
languageName: node
|
|
9882
9875
|
linkType: hard
|
|
9883
9876
|
|
|
@@ -9987,11 +9980,11 @@ __metadata:
|
|
|
9987
9980
|
linkType: hard
|
|
9988
9981
|
|
|
9989
9982
|
"end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0":
|
|
9990
|
-
version: 1.4.
|
|
9991
|
-
resolution: "end-of-stream@npm:1.4.
|
|
9983
|
+
version: 1.4.5
|
|
9984
|
+
resolution: "end-of-stream@npm:1.4.5"
|
|
9992
9985
|
dependencies:
|
|
9993
9986
|
once: "npm:^1.4.0"
|
|
9994
|
-
checksum: 10c0/
|
|
9987
|
+
checksum: 10c0/b0701c92a10b89afb1cb45bf54a5292c6f008d744eb4382fa559d54775ff31617d1d7bc3ef617575f552e24fad2c7c1a1835948c66b3f3a4be0a6c1f35c883d8
|
|
9995
9988
|
languageName: node
|
|
9996
9989
|
linkType: hard
|
|
9997
9990
|
|
|
@@ -16642,13 +16635,13 @@ __metadata:
|
|
|
16642
16635
|
linkType: hard
|
|
16643
16636
|
|
|
16644
16637
|
"postcss@npm:^8.2.6, postcss@npm:^8.4.23, postcss@npm:^8.4.39":
|
|
16645
|
-
version: 8.5.
|
|
16646
|
-
resolution: "postcss@npm:8.5.
|
|
16638
|
+
version: 8.5.6
|
|
16639
|
+
resolution: "postcss@npm:8.5.6"
|
|
16647
16640
|
dependencies:
|
|
16648
16641
|
nanoid: "npm:^3.3.11"
|
|
16649
16642
|
picocolors: "npm:^1.1.1"
|
|
16650
16643
|
source-map-js: "npm:^1.2.1"
|
|
16651
|
-
checksum: 10c0/
|
|
16644
|
+
checksum: 10c0/5127cc7c91ed7a133a1b7318012d8bfa112da9ef092dddf369ae699a1f10ebbd89b1b9f25f3228795b84585c72aabd5ced5fc11f2ba467eedf7b081a66fad024
|
|
16652
16645
|
languageName: node
|
|
16653
16646
|
linkType: hard
|
|
16654
16647
|
|
|
@@ -18903,30 +18896,30 @@ __metadata:
|
|
|
18903
18896
|
linkType: hard
|
|
18904
18897
|
|
|
18905
18898
|
"rollup@npm:^4.13.0":
|
|
18906
|
-
version: 4.
|
|
18907
|
-
resolution: "rollup@npm:4.
|
|
18908
|
-
dependencies:
|
|
18909
|
-
"@rollup/rollup-android-arm-eabi": "npm:4.
|
|
18910
|
-
"@rollup/rollup-android-arm64": "npm:4.
|
|
18911
|
-
"@rollup/rollup-darwin-arm64": "npm:4.
|
|
18912
|
-
"@rollup/rollup-darwin-x64": "npm:4.
|
|
18913
|
-
"@rollup/rollup-freebsd-arm64": "npm:4.
|
|
18914
|
-
"@rollup/rollup-freebsd-x64": "npm:4.
|
|
18915
|
-
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.
|
|
18916
|
-
"@rollup/rollup-linux-arm-musleabihf": "npm:4.
|
|
18917
|
-
"@rollup/rollup-linux-arm64-gnu": "npm:4.
|
|
18918
|
-
"@rollup/rollup-linux-arm64-musl": "npm:4.
|
|
18919
|
-
"@rollup/rollup-linux-loongarch64-gnu": "npm:4.
|
|
18920
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "npm:4.
|
|
18921
|
-
"@rollup/rollup-linux-riscv64-gnu": "npm:4.
|
|
18922
|
-
"@rollup/rollup-linux-riscv64-musl": "npm:4.
|
|
18923
|
-
"@rollup/rollup-linux-s390x-gnu": "npm:4.
|
|
18924
|
-
"@rollup/rollup-linux-x64-gnu": "npm:4.
|
|
18925
|
-
"@rollup/rollup-linux-x64-musl": "npm:4.
|
|
18926
|
-
"@rollup/rollup-win32-arm64-msvc": "npm:4.
|
|
18927
|
-
"@rollup/rollup-win32-ia32-msvc": "npm:4.
|
|
18928
|
-
"@rollup/rollup-win32-x64-msvc": "npm:4.
|
|
18929
|
-
"@types/estree": "npm:1.0.
|
|
18899
|
+
version: 4.44.0
|
|
18900
|
+
resolution: "rollup@npm:4.44.0"
|
|
18901
|
+
dependencies:
|
|
18902
|
+
"@rollup/rollup-android-arm-eabi": "npm:4.44.0"
|
|
18903
|
+
"@rollup/rollup-android-arm64": "npm:4.44.0"
|
|
18904
|
+
"@rollup/rollup-darwin-arm64": "npm:4.44.0"
|
|
18905
|
+
"@rollup/rollup-darwin-x64": "npm:4.44.0"
|
|
18906
|
+
"@rollup/rollup-freebsd-arm64": "npm:4.44.0"
|
|
18907
|
+
"@rollup/rollup-freebsd-x64": "npm:4.44.0"
|
|
18908
|
+
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.44.0"
|
|
18909
|
+
"@rollup/rollup-linux-arm-musleabihf": "npm:4.44.0"
|
|
18910
|
+
"@rollup/rollup-linux-arm64-gnu": "npm:4.44.0"
|
|
18911
|
+
"@rollup/rollup-linux-arm64-musl": "npm:4.44.0"
|
|
18912
|
+
"@rollup/rollup-linux-loongarch64-gnu": "npm:4.44.0"
|
|
18913
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "npm:4.44.0"
|
|
18914
|
+
"@rollup/rollup-linux-riscv64-gnu": "npm:4.44.0"
|
|
18915
|
+
"@rollup/rollup-linux-riscv64-musl": "npm:4.44.0"
|
|
18916
|
+
"@rollup/rollup-linux-s390x-gnu": "npm:4.44.0"
|
|
18917
|
+
"@rollup/rollup-linux-x64-gnu": "npm:4.44.0"
|
|
18918
|
+
"@rollup/rollup-linux-x64-musl": "npm:4.44.0"
|
|
18919
|
+
"@rollup/rollup-win32-arm64-msvc": "npm:4.44.0"
|
|
18920
|
+
"@rollup/rollup-win32-ia32-msvc": "npm:4.44.0"
|
|
18921
|
+
"@rollup/rollup-win32-x64-msvc": "npm:4.44.0"
|
|
18922
|
+
"@types/estree": "npm:1.0.8"
|
|
18930
18923
|
fsevents: "npm:~2.3.2"
|
|
18931
18924
|
dependenciesMeta:
|
|
18932
18925
|
"@rollup/rollup-android-arm-eabi":
|
|
@@ -18973,7 +18966,7 @@ __metadata:
|
|
|
18973
18966
|
optional: true
|
|
18974
18967
|
bin:
|
|
18975
18968
|
rollup: dist/bin/rollup
|
|
18976
|
-
checksum: 10c0/
|
|
18969
|
+
checksum: 10c0/ff3e0741f2fc7b7b183079628cf50fcfc9163bef86ecfbc9f4e4023adfdee375b7075940963514e2bc4969764688d38d67095bce038b0ad5d572207f114afff5
|
|
18977
18970
|
languageName: node
|
|
18978
18971
|
linkType: hard
|
|
18979
18972
|
|
|
@@ -20553,8 +20546,8 @@ __metadata:
|
|
|
20553
20546
|
linkType: hard
|
|
20554
20547
|
|
|
20555
20548
|
"terser@npm:^5.3.4":
|
|
20556
|
-
version: 5.
|
|
20557
|
-
resolution: "terser@npm:5.
|
|
20549
|
+
version: 5.43.1
|
|
20550
|
+
resolution: "terser@npm:5.43.1"
|
|
20558
20551
|
dependencies:
|
|
20559
20552
|
"@jridgewell/source-map": "npm:^0.3.3"
|
|
20560
20553
|
acorn: "npm:^8.14.0"
|
|
@@ -20562,7 +20555,7 @@ __metadata:
|
|
|
20562
20555
|
source-map-support: "npm:~0.5.20"
|
|
20563
20556
|
bin:
|
|
20564
20557
|
terser: bin/terser
|
|
20565
|
-
checksum: 10c0/
|
|
20558
|
+
checksum: 10c0/9cd3fa09ea6bcb79eb71995216b8bef0651b18c5c3877535fc699a77e1ab43b140a4da5811ac9baeb654fa9ec939b17324092f0f0bdb19c402e101e3db946986
|
|
20566
20559
|
languageName: node
|
|
20567
20560
|
linkType: hard
|
|
20568
20561
|
|