@licklist/design 0.78.7 → 0.78.8
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/affiliate/form/AffiliateForm.d.ts.map +1 -1
- package/dist/affiliate/form/AffiliateForm.js +6 -2
- package/dist/auth/AccessDenied/AccessDenied.d.ts.map +1 -1
- package/dist/auth/AccessDenied/AccessDenied.js +4 -3
- package/dist/auth/Authorizer.d.ts.map +1 -1
- package/dist/auth/Authorizer.js +10 -6
- package/dist/auth/ChangePassword/ChangePasswordComponent.d.ts.map +1 -1
- package/dist/auth/ChangePassword/ChangePasswordComponent.js +36 -41
- package/dist/auth/Layout/AuthNavComponent.d.ts.map +1 -1
- package/dist/auth/Layout/AuthNavComponent.js +2 -3
- package/dist/auth/Layout/UserNavDropDown.d.ts.map +1 -1
- package/dist/auth/Layout/UserNavDropDown.js +8 -9
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginComponent.js +57 -60
- package/dist/auth/Logout/Logout.d.ts.map +1 -1
- package/dist/auth/Logout/Logout.js +4 -2
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.js +53 -58
- package/dist/auth/ResetPassword/ResetPasswordComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordComponent.js +26 -30
- package/dist/auth/Social/SocialCallbackComponent.d.ts.map +1 -1
- package/dist/auth/Social/SocialCallbackComponent.js +3 -3
- package/dist/custom-fields/field-set/providers/CustomFieldSetsProvider.d.ts +2 -2
- package/dist/custom-fields/field-set/providers/CustomFieldSetsProvider.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +0 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.d.ts +1 -1
- package/dist/events/event-card/EventCard.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.js +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +0 -1
- package/dist/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.d.ts +2 -2
- package/dist/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.d.ts +1 -2
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.d.ts.map +1 -1
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.js +3 -4
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.d.ts.map +1 -1
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.js +5 -6
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.js +1 -2
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.d.ts.map +1 -1
- package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.d.ts.map +1 -1
- package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.js +3 -2
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.js +3 -3
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +2 -2
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/OrderItemsTable.js +0 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +0 -5
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
- package/dist/iframe/payment/payment-form/PaymentForm.js +0 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +1 -3
- package/dist/iframe/ryft/utils/ryft-form.d.ts +1 -1
- package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/modals/dialog/Dialog.d.ts.map +1 -1
- package/dist/modals/dialog/Dialog.js +39 -41
- package/dist/modals/dialog/DialogContext.d.ts +2 -2
- package/dist/modals/dialog/DialogContext.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/pages/PrivacyComponent.d.ts +3 -0
- package/dist/pages/PrivacyComponent.d.ts.map +1 -0
- package/dist/pages/PrivacyComponent.js +536 -0
- package/dist/pages/TermsComponent.d.ts +3 -0
- package/dist/pages/TermsComponent.d.ts.map +1 -0
- package/dist/pages/TermsComponent.js +682 -0
- package/dist/pages/index.d.ts +3 -0
- package/dist/pages/index.d.ts.map +1 -0
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +3 -2
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +1 -1
- package/dist/product-set/product/advanced-options/AdvancedOptions.js +1 -2
- package/dist/product-set/utils/index.d.ts +1 -1
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceInput.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceInput.js +1 -1
- package/dist/sales/notes/NotesTableRow.js +0 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.js +1 -3
- package/dist/setting/dashboard/payments/payments-modal/PaymentsModal.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.js +4 -4
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +14 -21
- package/dist/static/RestrictedAccess.d.ts.map +1 -1
- package/dist/static/RestrictedAccess.js +3 -2
- package/dist/static/index.js +1 -1
- package/dist/striped-static-table/StripedStaticTable.js +0 -1
- package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
- package/dist/table/ReactTableHelperComponent.js +3 -3
- package/dist/table/TableHelperComponent.d.ts.map +1 -1
- package/dist/table/TableHelperComponent.js +3 -3
- package/dist/venue-map-sets/card/VenueMapSetCard.d.ts.map +1 -1
- package/dist/venue-map-sets/card/VenueMapSetCard.js +4 -3
- package/dist/zone/card/ZoneCard.d.ts.map +1 -1
- package/dist/zone/card/ZoneCard.js +4 -3
- package/package.json +23 -20
- package/src/affiliate/form/AffiliateForm.tsx +4 -2
- package/src/auth/AccessDenied/AccessDenied.tsx +4 -3
- package/src/auth/Authorizer.tsx +11 -6
- package/src/auth/ChangePassword/ChangePasswordComponent.tsx +21 -26
- package/src/auth/Layout/AuthNavComponent.tsx +2 -3
- package/src/auth/Layout/UserNavDropDown.tsx +6 -7
- package/src/auth/Login/LoginComponent.tsx +42 -46
- package/src/auth/Logout/Logout.stories.tsx +12 -14
- package/src/auth/Logout/Logout.tsx +4 -3
- package/src/auth/Register/RegisterComponent.tsx +35 -41
- package/src/auth/ResetPassword/ResetPasswordComponent.tsx +16 -20
- package/src/auth/Social/SocialCallbackComponent.tsx +4 -4
- package/src/custom-fields/field-set/providers/CustomFieldSetsProvider.tsx +2 -2
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +1 -0
- package/src/events/event-card/EventCard.tsx +10 -8
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -0
- package/src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.tsx +2 -2
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.tsx +13 -8
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.tsx +12 -4
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.tsx +2 -2
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.tsx +18 -20
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +3 -2
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +3 -5
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +3 -3
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +3 -3
- package/src/iframe/order-process/components/utils/useOnWindowUnmount.ts +1 -1
- package/src/iframe/payment/payment-page/PaymentPage.tsx +1 -1
- package/src/iframe/ryft/RyftPaymentForm.tsx +2 -5
- package/src/iframe/ryft/utils/ryft-form.ts +1 -1
- package/src/index.ts +1 -0
- package/src/modals/dialog/Dialog.tsx +35 -36
- package/src/modals/dialog/DialogContext.tsx +8 -2
- package/src/notification/email-template/card/EmailTemplateCard.tsx +0 -2
- package/src/pages/PrivacyComponent.tsx +318 -0
- package/src/pages/TermsComponent.tsx +306 -0
- package/src/pages/index.ts +2 -0
- package/src/product-set/card/ProductSetCard.tsx +3 -2
- package/src/product-set/form/ProductSetForm.tsx +2 -1
- package/src/product-set/utils/index.ts +15 -14
- package/src/recurrence-input/RecurrenceInput.tsx +4 -3
- package/src/sales/payment-form/components/RyftPayment/RyftPayment.tsx +1 -3
- package/src/setting/dashboard/payments/payments-modal/PaymentsModal.tsx +1 -0
- package/src/setting/dashboard/snippets/card/SnippetCard.tsx +4 -3
- package/src/snippet/snippet-template/preview/Preview.tsx +6 -9
- package/src/static/RestrictedAccess.tsx +3 -6
- package/src/table/ReactTableHelperComponent.tsx +3 -5
- package/src/table/TableHelperComponent.tsx +3 -3
- package/src/venue-map-sets/card/VenueMapSetCard.tsx +4 -3
- package/src/zone/card/ZoneCard.tsx +4 -3
- package/yarn.lock +474 -542
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { useContext, useState } from 'react';
|
|
3
3
|
import { useTranslation, Trans } from 'react-i18next';
|
|
4
|
-
import { Link } from 'react-router-dom';
|
|
4
|
+
import { useNavigate, Link } from 'react-router-dom';
|
|
5
5
|
import { Row, Col } from 'react-bootstrap';
|
|
6
6
|
import RequestContext from '@licklist/plugins/dist/context/app/RequestContext';
|
|
7
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
8
7
|
import useNotification from '@licklist/plugins/dist/context/app/hooks/useNotification';
|
|
9
8
|
import useUser from '@licklist/plugins/dist/context/user/hooks/useUser';
|
|
10
9
|
import useAuth from '@licklist/plugins/dist/context/user/hooks/useAuth';
|
|
@@ -12,7 +11,6 @@ import useInvite from '@licklist/plugins/dist/context/user/hooks/useInvite';
|
|
|
12
11
|
import useUserApi from '@licklist/plugins/dist/hooks/Api/useUserApi';
|
|
13
12
|
import { RegisterFormComponent } from './RegisterFormComponent.js';
|
|
14
13
|
import { SocialFormComponent } from '../Social/SocialFormComponent.js';
|
|
15
|
-
import { Router } from '../Router.js';
|
|
16
14
|
import FormCard from '../../static/FormCard.js';
|
|
17
15
|
import { LoaderIndicator } from '../../static/loader/LoaderIndicator.js';
|
|
18
16
|
|
|
@@ -201,6 +199,7 @@ function RegisterComponent(param) {
|
|
|
201
199
|
var auth = useAuth();
|
|
202
200
|
var user = useUser();
|
|
203
201
|
var invite = useInvite();
|
|
202
|
+
var navigate = useNavigate();
|
|
204
203
|
var _useState = _sliced_to_array(useState(false), 2), isLoading = _useState[0], setIsLoading = _useState[1];
|
|
205
204
|
var _useState1 = _sliced_to_array(useState(null), 2), serverErrors = _useState1[0], setServerErrors = _useState1[1];
|
|
206
205
|
var userService = useUserApi(request);
|
|
@@ -283,7 +282,7 @@ function RegisterComponent(param) {
|
|
|
283
282
|
title: 'Success',
|
|
284
283
|
message: t('Notification:registeredSuccessfully')
|
|
285
284
|
});
|
|
286
|
-
|
|
285
|
+
navigate('/');
|
|
287
286
|
return [
|
|
288
287
|
2
|
|
289
288
|
];
|
|
@@ -294,69 +293,65 @@ function RegisterComponent(param) {
|
|
|
294
293
|
return _ref.apply(this, arguments);
|
|
295
294
|
};
|
|
296
295
|
}();
|
|
297
|
-
return /*#__PURE__*/ jsx(
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
296
|
+
return /*#__PURE__*/ jsx(Row, {
|
|
297
|
+
className: "justify-content-center",
|
|
298
|
+
children: /*#__PURE__*/ jsxs(Col, {
|
|
299
|
+
xs: true,
|
|
300
|
+
sm: 12,
|
|
301
|
+
md: 7,
|
|
302
|
+
lg: 6,
|
|
303
|
+
xl: 5,
|
|
304
|
+
className: "align-self-center",
|
|
305
|
+
children: [
|
|
306
|
+
/*#__PURE__*/ jsx("h1", {
|
|
307
|
+
className: "text-center",
|
|
308
|
+
children: t('registerTitle')
|
|
309
|
+
}),
|
|
310
|
+
/*#__PURE__*/ jsx("h6", {
|
|
311
|
+
className: "text-center",
|
|
312
|
+
children: /*#__PURE__*/ jsxs(Trans, {
|
|
313
|
+
t: t,
|
|
314
|
+
i18nKey: "registerPromo",
|
|
315
|
+
children: [
|
|
316
|
+
"Fill out the form below to sign up for ",
|
|
317
|
+
{
|
|
318
|
+
name: t('bookedit')
|
|
319
|
+
},
|
|
320
|
+
". Already signed up? Then just ",
|
|
321
|
+
/*#__PURE__*/ jsx(Link, {
|
|
322
|
+
to: "/login",
|
|
323
|
+
children: "Log in"
|
|
324
|
+
}),
|
|
325
|
+
"."
|
|
326
|
+
]
|
|
327
|
+
})
|
|
328
|
+
}),
|
|
329
|
+
/*#__PURE__*/ jsxs(FormCard, {
|
|
308
330
|
children: [
|
|
309
|
-
/*#__PURE__*/
|
|
310
|
-
className: "text-center",
|
|
311
|
-
children: t('registerTitle')
|
|
312
|
-
}),
|
|
313
|
-
/*#__PURE__*/ jsx("h6", {
|
|
314
|
-
className: "text-center",
|
|
315
|
-
children: /*#__PURE__*/ jsxs(Trans, {
|
|
316
|
-
t: t,
|
|
317
|
-
i18nKey: "registerPromo",
|
|
318
|
-
children: [
|
|
319
|
-
"Fill out the form below to sign up for ",
|
|
320
|
-
{
|
|
321
|
-
name: t('bookedit')
|
|
322
|
-
},
|
|
323
|
-
". Already signed up? Then just ",
|
|
324
|
-
/*#__PURE__*/ jsx(Link, {
|
|
325
|
-
to: "/login",
|
|
326
|
-
children: "Log in"
|
|
327
|
-
}),
|
|
328
|
-
"."
|
|
329
|
-
]
|
|
330
|
-
})
|
|
331
|
-
}),
|
|
332
|
-
/*#__PURE__*/ jsxs(FormCard, {
|
|
331
|
+
showSocialLinks && /*#__PURE__*/ jsxs(Fragment, {
|
|
333
332
|
children: [
|
|
334
|
-
|
|
335
|
-
children: [
|
|
336
|
-
/*#__PURE__*/ jsx(SocialFormComponent, {
|
|
337
|
-
isLoading: isLoading,
|
|
338
|
-
setIsLoading: setIsLoading
|
|
339
|
-
}),
|
|
340
|
-
/*#__PURE__*/ jsx("hr", {
|
|
341
|
-
className: "mb-2"
|
|
342
|
-
})
|
|
343
|
-
]
|
|
344
|
-
}),
|
|
345
|
-
/*#__PURE__*/ jsx(RegisterFormComponent, {
|
|
333
|
+
/*#__PURE__*/ jsx(SocialFormComponent, {
|
|
346
334
|
isLoading: isLoading,
|
|
347
|
-
setIsLoading: setIsLoading
|
|
348
|
-
onSubmit: handleOnSubmit,
|
|
349
|
-
invitation: invite.invitation,
|
|
350
|
-
serverErrors: serverErrors
|
|
335
|
+
setIsLoading: setIsLoading
|
|
351
336
|
}),
|
|
352
|
-
/*#__PURE__*/ jsx(
|
|
353
|
-
|
|
337
|
+
/*#__PURE__*/ jsx("hr", {
|
|
338
|
+
className: "mb-2"
|
|
354
339
|
})
|
|
355
340
|
]
|
|
341
|
+
}),
|
|
342
|
+
/*#__PURE__*/ jsx(RegisterFormComponent, {
|
|
343
|
+
isLoading: isLoading,
|
|
344
|
+
setIsLoading: setIsLoading,
|
|
345
|
+
onSubmit: handleOnSubmit,
|
|
346
|
+
invitation: invite.invitation,
|
|
347
|
+
serverErrors: serverErrors
|
|
348
|
+
}),
|
|
349
|
+
/*#__PURE__*/ jsx(LoaderIndicator, {
|
|
350
|
+
isLoaded: !isLoading
|
|
356
351
|
})
|
|
357
352
|
]
|
|
358
353
|
})
|
|
359
|
-
|
|
354
|
+
]
|
|
360
355
|
})
|
|
361
356
|
});
|
|
362
357
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordComponent.d.ts","sourceRoot":"","sources":["../../../src/auth/ResetPassword/ResetPasswordComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResetPasswordComponent.d.ts","sourceRoot":"","sources":["../../../src/auth/ResetPassword/ResetPasswordComponent.tsx"],"names":[],"mappings":"AAeA,iBAAS,sBAAsB,4CAoD9B;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx, jsxs
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useContext, useState } from 'react';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
@@ -6,10 +6,9 @@ import { useTranslation } from 'react-i18next';
|
|
|
6
6
|
import RequestContext from '@licklist/plugins/dist/context/app/RequestContext';
|
|
7
7
|
import useUserApi from '@licklist/plugins/dist/hooks/Api/useUserApi';
|
|
8
8
|
import useNotification from '@licklist/plugins/dist/context/app/hooks/useNotification';
|
|
9
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
10
9
|
import { ROUTES } from '@licklist/core/dist/Config';
|
|
10
|
+
import { useNavigate } from 'react-router-dom';
|
|
11
11
|
import { ResetPasswordFormComponent } from './ResetPasswordFormComponent.js';
|
|
12
|
-
import { Router } from '../Router.js';
|
|
13
12
|
import FormCard from '../../static/FormCard.js';
|
|
14
13
|
import { LoaderIndicator } from '../../static/loader/LoaderIndicator.js';
|
|
15
14
|
|
|
@@ -191,6 +190,7 @@ function ResetPasswordComponent() {
|
|
|
191
190
|
]).t;
|
|
192
191
|
var request = useContext(RequestContext);
|
|
193
192
|
var notification = useNotification();
|
|
193
|
+
var navigate = useNavigate();
|
|
194
194
|
var _useState = _sliced_to_array(useState(false), 2), isLoading = _useState[0], setIsLoading = _useState[1];
|
|
195
195
|
var userApiService = useUserApi(request);
|
|
196
196
|
var handleError = function(error) {
|
|
@@ -234,7 +234,7 @@ function ResetPasswordComponent() {
|
|
|
234
234
|
title: 'Success',
|
|
235
235
|
message: t('Notification:passwordResetedSuccessfully')
|
|
236
236
|
});
|
|
237
|
-
|
|
237
|
+
navigate(ROUTES.LOGIN_PAGE);
|
|
238
238
|
return [
|
|
239
239
|
2
|
|
240
240
|
];
|
|
@@ -245,37 +245,33 @@ function ResetPasswordComponent() {
|
|
|
245
245
|
return _ref.apply(this, arguments);
|
|
246
246
|
};
|
|
247
247
|
}();
|
|
248
|
-
return /*#__PURE__*/ jsx(
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
248
|
+
return /*#__PURE__*/ jsx(Row, {
|
|
249
|
+
className: "justify-content-center",
|
|
250
|
+
children: /*#__PURE__*/ jsxs(Col, {
|
|
251
|
+
xs: true,
|
|
252
|
+
sm: 12,
|
|
253
|
+
md: 7,
|
|
254
|
+
lg: 6,
|
|
255
|
+
xl: 5,
|
|
256
|
+
className: "align-self-center",
|
|
257
|
+
children: [
|
|
258
|
+
/*#__PURE__*/ jsx("h1", {
|
|
259
|
+
className: "text-center",
|
|
260
|
+
children: t('User:resetPasswordTitle')
|
|
261
|
+
}),
|
|
262
|
+
/*#__PURE__*/ jsxs(FormCard, {
|
|
259
263
|
children: [
|
|
260
|
-
/*#__PURE__*/ jsx(
|
|
261
|
-
|
|
262
|
-
|
|
264
|
+
/*#__PURE__*/ jsx(ResetPasswordFormComponent, {
|
|
265
|
+
isLoading: isLoading,
|
|
266
|
+
setIsLoading: setIsLoading,
|
|
267
|
+
onSubmit: handleOnSubmit
|
|
263
268
|
}),
|
|
264
|
-
/*#__PURE__*/
|
|
265
|
-
|
|
266
|
-
/*#__PURE__*/ jsx(ResetPasswordFormComponent, {
|
|
267
|
-
isLoading: isLoading,
|
|
268
|
-
setIsLoading: setIsLoading,
|
|
269
|
-
onSubmit: handleOnSubmit
|
|
270
|
-
}),
|
|
271
|
-
/*#__PURE__*/ jsx(LoaderIndicator, {
|
|
272
|
-
isLoaded: !isLoading
|
|
273
|
-
})
|
|
274
|
-
]
|
|
269
|
+
/*#__PURE__*/ jsx(LoaderIndicator, {
|
|
270
|
+
isLoaded: !isLoading
|
|
275
271
|
})
|
|
276
272
|
]
|
|
277
273
|
})
|
|
278
|
-
|
|
274
|
+
]
|
|
279
275
|
})
|
|
280
276
|
});
|
|
281
277
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialCallbackComponent.d.ts","sourceRoot":"","sources":["../../../src/auth/Social/SocialCallbackComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SocialCallbackComponent.d.ts","sourceRoot":"","sources":["../../../src/auth/Social/SocialCallbackComponent.tsx"],"names":[],"mappings":"AAqBA,iBAAS,uBAAuB,4CA2G/B;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -7,9 +7,8 @@ import useUser from '@licklist/plugins/dist/context/user/hooks/useUser';
|
|
|
7
7
|
import useQuery from '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
8
8
|
import useSocialApi from '@licklist/plugins/dist/hooks/Api/useSocialApi';
|
|
9
9
|
import useUserApi from '@licklist/plugins/dist/hooks/Api/useUserApi';
|
|
10
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
11
10
|
import { useTranslation } from 'react-i18next';
|
|
12
|
-
import { useParams } from 'react-router-dom';
|
|
11
|
+
import { useParams, useNavigate } from 'react-router-dom';
|
|
13
12
|
import Row from 'react-bootstrap/Row';
|
|
14
13
|
import Col from 'react-bootstrap/Col';
|
|
15
14
|
import FormCard from '../../static/FormCard.js';
|
|
@@ -196,6 +195,7 @@ function SocialCallbackComponent() {
|
|
|
196
195
|
var notification = useNotification();
|
|
197
196
|
var auth = useAuth();
|
|
198
197
|
var user = useUser();
|
|
198
|
+
var navigate = useNavigate();
|
|
199
199
|
var socialApiService = useSocialApi(request);
|
|
200
200
|
var userApiService = useUserApi(request);
|
|
201
201
|
var token = query.get('code') || query.get('oauth_token');
|
|
@@ -257,7 +257,7 @@ function SocialCallbackComponent() {
|
|
|
257
257
|
message: t('Notification:loggedSuccessfully')
|
|
258
258
|
});
|
|
259
259
|
// Redirect user in case of successful results
|
|
260
|
-
|
|
260
|
+
navigate('/');
|
|
261
261
|
return [
|
|
262
262
|
2
|
|
263
263
|
];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const CustomFieldSetsProvider:
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export declare const CustomFieldSetsProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=CustomFieldSetsProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomFieldSetsProvider.d.ts","sourceRoot":"","sources":["../../../../src/custom-fields/field-set/providers/CustomFieldSetsProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CustomFieldSetsProvider.d.ts","sourceRoot":"","sources":["../../../../src/custom-fields/field-set/providers/CustomFieldSetsProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAY,MAAM,OAAO,CAAA;AAGnD,eAAO,MAAM,uBAAuB,iBAAkB,iBAAiB,4CAQtE,CAAA"}
|
|
@@ -10,7 +10,6 @@ import { BlockLoader } from '../../../../../static/loader/BlockLoader.js';
|
|
|
10
10
|
import 'rrule';
|
|
11
11
|
import 'clsx';
|
|
12
12
|
import '@react-aria/utils';
|
|
13
|
-
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
14
13
|
import 'react-icons/fa';
|
|
15
14
|
import 'react-bootstrap/ModalHeader';
|
|
16
15
|
import 'react-bootstrap/ModalTitle';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditRecurrentEventModal.d.ts","sourceRoot":"","sources":["../../../src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAGrD,eAAO,MAAM,eAAe,cAAc,CAAA;AAC1C,eAAO,MAAM,8BAA8B,2BAA2B,CAAA;AACtE,eAAO,MAAM,eAAe,cAAc,CAAA;AAE1C,QAAA,MAAM,KAAK,+DAID,CAAA;AAEV,eAAO,MAAM,2BAA2B,cAAkB,CAAA;AAE1D,eAAO,MAAM,yBAAyB;;;;CAIrC,CAAA;AAED,eAAO,MAAM,gCAAgC;;CAE5C,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AAEvD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,kBAAkB,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,MAAM,EAAE,6BAA6B,KAAK,IAAI,CAAA;IACzD,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,uBAAuB,qHAWjC,4BAA4B,
|
|
1
|
+
{"version":3,"file":"EditRecurrentEventModal.d.ts","sourceRoot":"","sources":["../../../src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAGrD,eAAO,MAAM,eAAe,cAAc,CAAA;AAC1C,eAAO,MAAM,8BAA8B,2BAA2B,CAAA;AACtE,eAAO,MAAM,eAAe,cAAc,CAAA;AAE1C,QAAA,MAAM,KAAK,+DAID,CAAA;AAEV,eAAO,MAAM,2BAA2B,cAAkB,CAAA;AAE1D,eAAO,MAAM,yBAAyB;;;;CAIrC,CAAA;AAED,eAAO,MAAM,gCAAgC;;CAE5C,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AAEvD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,kBAAkB,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,MAAM,EAAE,6BAA6B,KAAK,IAAI,CAAA;IACzD,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,uBAAuB,qHAWjC,4BAA4B,4CAqG9B,CAAA"}
|
|
@@ -11,7 +11,7 @@ export interface EventCardProps extends HasPermissionProp {
|
|
|
11
11
|
onPreview: () => void;
|
|
12
12
|
onEdit: () => void;
|
|
13
13
|
onCopy: () => void;
|
|
14
|
-
onRemove
|
|
14
|
+
onRemove?: () => void;
|
|
15
15
|
onOpenQrCode: () => void;
|
|
16
16
|
eventStatistic?: EventStatistic | null;
|
|
17
17
|
eventMetadata?: EventMetadata | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventCard.d.ts","sourceRoot":"","sources":["../../../src/events/event-card/EventCard.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAA;AACjG,OAAO,EAAE,aAAa,EAAE,MAAM,4DAA4D,CAAA;AAS1F,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAI3C,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IACd,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"EventCard.d.ts","sourceRoot":"","sources":["../../../src/events/event-card/EventCard.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAA;AACjG,OAAO,EAAE,aAAa,EAAE,MAAM,4DAA4D,CAAA;AAS1F,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAI3C,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IACd,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IACtC,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAA;IACpC,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,MAAM,EACN,MAAM,EACN,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,aAAoB,EACpB,cAAc,EACd,WAAW,EACX,cAAc,EACd,OAAO,EACP,OAAO,GACR,EAAE,cAAc,2CAwKhB"}
|
|
@@ -232,7 +232,7 @@ function EventCard(param) {
|
|
|
232
232
|
onClick: onCopy,
|
|
233
233
|
children: /*#__PURE__*/ jsx(FaCopy, {})
|
|
234
234
|
}),
|
|
235
|
-
/*#__PURE__*/ jsx("button", {
|
|
235
|
+
onRemove && /*#__PURE__*/ jsx("button", {
|
|
236
236
|
type: "button",
|
|
237
237
|
className: "event-card-link-button",
|
|
238
238
|
onClick: onRemove,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventStatisticModal.d.ts","sourceRoot":"","sources":["../../../src/events/event-statistic-modal/EventStatisticModal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAA;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,yDAAyD,CAAA;AAK/E,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IACnC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAA;IAC9B,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,mBAAmB,wDAM7B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"EventStatisticModal.d.ts","sourceRoot":"","sources":["../../../src/events/event-statistic-modal/EventStatisticModal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAA;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,yDAAyD,CAAA;AAK/E,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IACnC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAA;IAC9B,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,mBAAmB,wDAM7B,wBAAwB,4CAkD1B,CAAA"}
|
|
@@ -11,7 +11,6 @@ import { StaticTable } from '../../table/StaticTable.js';
|
|
|
11
11
|
import 'react-router-dom';
|
|
12
12
|
import 'lodash';
|
|
13
13
|
import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
14
|
-
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
15
14
|
import 'react-loader';
|
|
16
15
|
import '../../table/utils/index.js';
|
|
17
16
|
import '@tanstack/react-table';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const DropdownWrapper:
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export declare const DropdownWrapper: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=DropdownWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DropdownWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,eAAO,MAAM,eAAe,iBAAkB,iBAAiB,4CAK9D,CAAA"}
|
|
@@ -29,7 +29,7 @@ export declare const useFileUpload: ({ allowMultiple, allowedExtensions, onFileR
|
|
|
29
29
|
files: File[];
|
|
30
30
|
isDragged: boolean;
|
|
31
31
|
setIsDragged: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
32
|
-
t: import("
|
|
32
|
+
t: import("i18next").TFunction<"Design", undefined>;
|
|
33
33
|
};
|
|
34
34
|
export {};
|
|
35
35
|
//# sourceMappingURL=FileUpload.d.ts.map
|
package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { MenuStep } from '@licklist/plugins/dist/types/context/sale/menuSteps';
|
|
1
|
+
import { MenuStep, Product } from '@licklist/plugins/dist/types/context/sale/menuSteps';
|
|
2
2
|
import { OrderModifierByProduct } from '@licklist/core/dist/DataMapper/Order/OrderModifiierByProduct';
|
|
3
|
-
import { Product } from '@licklist/plugins/dist/types/context/sale/menuSteps';
|
|
4
3
|
import { ProductCategory } from 'dist/product-set/types';
|
|
5
4
|
import { FormOrderItem } from '../../order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput';
|
|
6
5
|
export interface ManualBookingFormValues {
|
package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductWithModifierSetForm.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.tsx"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"ProductWithModifierSetForm.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,EACR,OAAO,EACR,MAAM,qDAAqD,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8DAA8D,CAAA;AAGrG,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAGxD,OAAO,EAAE,aAAa,EAAE,MAAM,qGAAqG,CAAA;AAInI,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,QAAQ,EAAE,CAAA;CAClB;AAED,UAAU,+BAA+B;IACvC,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,iBAAiB,CAAC,EAAE,sBAAsB,CAAA;IAC1C,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAA;CAC3C;AAkBD,eAAO,MAAM,0BAA0B,wDAKpC,+BAA+B,4CAkKjC,CAAA"}
|
|
@@ -6,10 +6,10 @@ import { isEmpty, uniqBy } from 'lodash';
|
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import { useIntl } from 'react-intl';
|
|
8
8
|
import { Currency } from '@licklist/core/dist/Config';
|
|
9
|
+
import clsx from 'clsx';
|
|
9
10
|
import 'recharts';
|
|
10
11
|
import 'react-loader';
|
|
11
12
|
import '@licklist/plugins/dist/hooks/Media/useWindowDimensions';
|
|
12
|
-
import clsx from 'clsx';
|
|
13
13
|
import 'moment';
|
|
14
14
|
import '@react-aria/utils';
|
|
15
15
|
import 'react-date-range';
|
|
@@ -42,7 +42,6 @@ import '../../../static/CurrencyNumberInput.js';
|
|
|
42
42
|
import '@licklist/core/dist/DataMapper/Order/OrderPaymentDataMapper';
|
|
43
43
|
import '@licklist/plugins/dist/context/sale/SalePaymentFormContext';
|
|
44
44
|
import '@licklist/core/dist/Services/Date';
|
|
45
|
-
import 'react-router-dom';
|
|
46
45
|
import '../../../static/index.js';
|
|
47
46
|
import '@licklist/core/dist/DataMapper/Order/OrderDataMapper';
|
|
48
47
|
import '@licklist/plugins/dist/utils/formatDate';
|
|
@@ -53,8 +52,8 @@ import 'react-bootstrap/Modal';
|
|
|
53
52
|
import 'react-bootstrap/PageItem';
|
|
54
53
|
import '@licklist/plugins/dist/services/Table/PaginationService';
|
|
55
54
|
import '@licklist/plugins/dist/services/Table/TableService';
|
|
55
|
+
import 'react-router-dom';
|
|
56
56
|
import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
57
|
-
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
58
57
|
import '../../../table/utils/index.js';
|
|
59
58
|
import '@tanstack/react-table';
|
|
60
59
|
import { MAX_PRODUCT_NUMBER } from '../../order-process/components/CategoryProduct/constants.js';
|
|
@@ -257,7 +256,7 @@ var ProductWithModifierSetForm = function(param) {
|
|
|
257
256
|
})
|
|
258
257
|
}),
|
|
259
258
|
/*#__PURE__*/ jsxs("div", {
|
|
260
|
-
className: "
|
|
259
|
+
className: "d-flex flex-column align-items-center justify-content-center",
|
|
261
260
|
children: [
|
|
262
261
|
/*#__PURE__*/ jsx("div", {
|
|
263
262
|
className: "modifier-price pb-4 pl-5",
|
package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductWithModifierSetModal.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProductWithModifierSetModal.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8DAA8D,CAAA;AACrG,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAA;AAE7E,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAGxD,OAAO,EAAE,aAAa,EAAE,MAAM,qGAAqG,CAAA;AAInI,UAAU,gCAAgC;IACxC,IAAI,EAAE,OAAO,CAAA;IACb,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,iBAAiB,CAAC,EAAE,sBAAsB,CAAA;IAC1C,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAA;CAC3C;AAED,eAAO,MAAM,2BAA2B,sEAOrC,gCAAgC,4CAwDlC,CAAA"}
|
package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import 'react';
|
|
3
2
|
import { Modal } from 'react-bootstrap';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import 'react';
|
|
4
5
|
import 'react-i18next';
|
|
5
6
|
import 'react-bootstrap/ModalHeader';
|
|
6
7
|
import 'react-bootstrap/ModalTitle';
|
|
@@ -11,9 +12,8 @@ import 'react-icons/fa';
|
|
|
11
12
|
import { useDialogContext, DialogContextProvider } from '../../../modals/dialog/DialogContext.js';
|
|
12
13
|
import 'react-swipeable';
|
|
13
14
|
import 'react-bootstrap/Button';
|
|
14
|
-
import '
|
|
15
|
+
import 'react-router-dom';
|
|
15
16
|
import 'react-intl';
|
|
16
|
-
import clsx from 'clsx';
|
|
17
17
|
import '../../../tiptap-editor/TipTapEditor.js';
|
|
18
18
|
import '@licklist/core/dist/Config';
|
|
19
19
|
import 'luxon';
|
|
@@ -31,7 +31,6 @@ import { ProductWithModifierSetForm } from './ProductWithModifierSetForm.js';
|
|
|
31
31
|
|
|
32
32
|
var ProductWithModifierSetModal = function(param) {
|
|
33
33
|
var show = param.show, onHide = param.onHide, product = param.product, category = param.category, onChange = param.onChange, editOrderModifier = param.editOrderModifier;
|
|
34
|
-
var _product_images, _product_images1;
|
|
35
34
|
var _useDialogContext = useDialogContext(), onBeforeUnload = _useDialogContext.onBeforeUnload, onPopState = _useDialogContext.onPopState;
|
|
36
35
|
useOnWindowUnmount({
|
|
37
36
|
onBeforeUnload: onBeforeUnload,
|
|
@@ -58,14 +57,14 @@ var ProductWithModifierSetModal = function(param) {
|
|
|
58
57
|
className: "right-block",
|
|
59
58
|
id: "select-event-container",
|
|
60
59
|
children: /*#__PURE__*/ jsxs("div", {
|
|
61
|
-
className: clsx('manual-booking-container', !
|
|
60
|
+
className: clsx('manual-booking-container', !product.images.length && 'tw-mt-8'),
|
|
62
61
|
children: [
|
|
63
62
|
/*#__PURE__*/ jsx("div", {
|
|
64
63
|
className: "manual-booking-header",
|
|
65
64
|
children: /*#__PURE__*/ jsx(TicketDescription, {
|
|
66
65
|
title: product.name,
|
|
67
66
|
description: product.description,
|
|
68
|
-
className: clsx('iframe-event__product-description', !
|
|
67
|
+
className: clsx('iframe-event__product-description', !product.images.length && 'mt-6'),
|
|
69
68
|
classNameProductModal: "d-block",
|
|
70
69
|
images: product.images,
|
|
71
70
|
isRequired: product.isRequired,
|
package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.js
CHANGED
|
@@ -44,7 +44,6 @@ import '../../../../static/CurrencyNumberInput.js';
|
|
|
44
44
|
import '@licklist/core/dist/DataMapper/Order/OrderPaymentDataMapper';
|
|
45
45
|
import '@licklist/plugins/dist/context/sale/SalePaymentFormContext';
|
|
46
46
|
import '@licklist/core/dist/Services/Date';
|
|
47
|
-
import 'react-router-dom';
|
|
48
47
|
import '../../../../static/index.js';
|
|
49
48
|
import '@licklist/core/dist/DataMapper/Order/OrderDataMapper';
|
|
50
49
|
import '@licklist/plugins/dist/utils/formatDate';
|
|
@@ -55,8 +54,8 @@ import 'react-bootstrap/Modal';
|
|
|
55
54
|
import 'react-bootstrap/PageItem';
|
|
56
55
|
import '@licklist/plugins/dist/services/Table/PaginationService';
|
|
57
56
|
import '@licklist/plugins/dist/services/Table/TableService';
|
|
57
|
+
import 'react-router-dom';
|
|
58
58
|
import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
59
|
-
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
60
59
|
import '../../../../table/utils/index.js';
|
|
61
60
|
import '@tanstack/react-table';
|
|
62
61
|
|
package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductControll.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8DAA8D,CAAA;AACrG,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAA;AAK7E,UAAU,mBAAmB;IAC3B,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iBAAiB,CAAC,EAAE,sBAAsB,CAAA;CAC3C;AAED,eAAO,MAAM,cAAc,+CAIxB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ProductControll.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8DAA8D,CAAA;AACrG,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAA;AAK7E,UAAU,mBAAmB;IAC3B,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iBAAiB,CAAC,EAAE,sBAAsB,CAAA;CAC3C;AAED,eAAO,MAAM,cAAc,+CAIxB,mBAAmB,4CA6ErB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventNavigationFooter.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx"],"names":[],"mappings":"AAUA,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IAEvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,gBAAwB,EACxB,QAAQ,EACR,UAAU,GACX,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"EventNavigationFooter.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx"],"names":[],"mappings":"AAUA,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IAEvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,gBAAwB,EACxB,QAAQ,EACR,UAAU,GACX,EAAE,0BAA0B,2CAmD5B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import Button from 'react-bootstrap/Button';
|
|
4
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
5
4
|
import { FaArrowLeft, FaArrowRight } from 'react-icons/fa';
|
|
5
|
+
import { useNavigate } from 'react-router-dom';
|
|
6
6
|
|
|
7
7
|
function _define_property(obj, key, value) {
|
|
8
8
|
if (key in obj) {
|
|
@@ -66,12 +66,13 @@ function EventNavigationFooter(param) {
|
|
|
66
66
|
} : {
|
|
67
67
|
type: 'submit'
|
|
68
68
|
};
|
|
69
|
+
var navigate = useNavigate();
|
|
69
70
|
var onPrevButtonClick = function() {
|
|
70
71
|
if (activeElement === 1) {
|
|
71
72
|
if (onPrevStep) {
|
|
72
73
|
onPrevStep();
|
|
73
74
|
} else {
|
|
74
|
-
|
|
75
|
+
navigate(-1);
|
|
75
76
|
}
|
|
76
77
|
return;
|
|
77
78
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;
|
|
1
|
+
{"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAQ5D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAA;IAC/C,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC7C;AAED,eAAO,MAAM,eAAe,sFAMzB,oBAAoB,4CAoPtB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useRef, useState, useMemo, useCallback, useEffect } from 'react';
|
|
3
|
-
import { useLocation,
|
|
3
|
+
import { useLocation, useNavigate } from 'react-router-dom';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import '../../../../static/index.js';
|
|
@@ -110,7 +110,7 @@ var NavigationSteps = function(param) {
|
|
|
110
110
|
var steps = param.steps, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading;
|
|
111
111
|
var t = useTranslation('Design').t;
|
|
112
112
|
var location = useLocation();
|
|
113
|
-
var
|
|
113
|
+
var navigate = useNavigate();
|
|
114
114
|
var containerRef = useRef(null);
|
|
115
115
|
var containerWrapperRef = useRef(null);
|
|
116
116
|
var firstStepRef = useRef(null);
|
|
@@ -126,7 +126,7 @@ var NavigationSteps = function(param) {
|
|
|
126
126
|
steps
|
|
127
127
|
]);
|
|
128
128
|
var onStepClick = function(pathname, queryParams) {
|
|
129
|
-
|
|
129
|
+
navigate({
|
|
130
130
|
pathname: pathname,
|
|
131
131
|
search: new URLSearchParams(queryParams).toString()
|
|
132
132
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { Order } from '@licklist/core/dist/DataMapper/Order/OrderDataMapper';
|
|
3
3
|
import { PaymentDetail } from '@licklist/core/dist/DataMapper/Order/PaymentDetailDataMapper';
|
|
4
4
|
export type PaymentCardProps = {
|
|
@@ -9,5 +9,5 @@ export type PaymentCardProps = {
|
|
|
9
9
|
recalculatedFee?: number;
|
|
10
10
|
isFreePayment?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const PaymentCard:
|
|
12
|
+
export declare const PaymentCard: ({ order, totalWithDiscount, recalculatedFee, discountBlock, paymentDetail, isFreePayment, }: PropsWithChildren<PaymentCardProps>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
//# sourceMappingURL=PaymentCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentCard.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/PaymentCard/PaymentCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PaymentCard.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/PaymentCard/PaymentCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIpD,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAA;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;AAG5F,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,CAAC,EAAE,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,WAAW,gGAOrB,iBAAiB,CAAC,gBAAgB,CAAC,4CAkFrC,CAAA"}
|
|
@@ -11,7 +11,6 @@ import { StaticTable } from '../../../table/StaticTable.js';
|
|
|
11
11
|
import 'react-router-dom';
|
|
12
12
|
import 'lodash';
|
|
13
13
|
import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
14
|
-
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
15
14
|
import 'react-loader';
|
|
16
15
|
import '../../../table/utils/index.js';
|
|
17
16
|
import '@tanstack/react-table';
|