@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pages/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/card/ProductSetCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAOtF,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,uBAAuB,EAAE,MAAM,CAAA;IAC/B,+BAA+B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACxD,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,+BAA+B,EAC/B,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EACT,SAAc,EACd,aAAoB,EACpB,QAAY,GACb,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ProductSetCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/card/ProductSetCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAOtF,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,uBAAuB,EAAE,MAAM,CAAA;IAC/B,+BAA+B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACxD,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,+BAA+B,EAC/B,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EACT,SAAc,EACd,aAAoB,EACpB,QAAY,GACb,EAAE,mBAAmB,2CA8IrB"}
|
|
@@ -5,8 +5,8 @@ import RRule from 'rrule';
|
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import { useId } from '@react-aria/utils';
|
|
8
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
9
8
|
import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
|
|
9
|
+
import { useNavigate } from 'react-router-dom';
|
|
10
10
|
import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
|
|
11
11
|
import { MenuButton } from '../../table/MenuButton.js';
|
|
12
12
|
import { ProductSetNameControl } from '../form/ProductSetNameControl.js';
|
|
@@ -63,8 +63,9 @@ function ProductSetCard(param) {
|
|
|
63
63
|
var popoverId = useId();
|
|
64
64
|
var productSetCardClasses = "product-set-card ".concat(className);
|
|
65
65
|
var _useState = _sliced_to_array(useState(false), 2), isOverlayVisibile = _useState[0], setIsOverlayVisible = _useState[1];
|
|
66
|
+
var navigate = useNavigate();
|
|
66
67
|
var onCardClick = function() {
|
|
67
|
-
|
|
68
|
+
navigate(href);
|
|
68
69
|
};
|
|
69
70
|
return(// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
70
71
|
/*#__PURE__*/ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetForm.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductSetForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;
|
|
1
|
+
{"version":3,"file":"ProductSetForm.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductSetForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAKzF,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAA;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAE3E,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAA;AAE1F,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAA;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AAGrF,OAAO,EAEL,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAQ3D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,OAAO,CAAA;CACnB;AACD,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAA;CACX;AACD,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,MAAM,EACN,uBAAuB;IACzB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,WAAW,mBACf,SAAQ,aAAa,EACnB,uBAAuB;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,oBAAoB,CAAA;IACpC,mBAAmB,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC3D,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAC3D,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAA;CACjC;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,cAAsB,EACtB,YAAiB,EACjB,4BAA4B,EAC5B,KAAK,EACL,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACR,GAAG,MAAM,EACV,EAAE,mBAAmB,2CAkKrB"}
|
|
@@ -10,8 +10,8 @@ import HookFormService from '@licklist/plugins/dist/services/Form/HookFormServic
|
|
|
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';
|
|
14
|
+
import 'react-router-dom';
|
|
15
15
|
import 'react-bootstrap/ModalHeader';
|
|
16
16
|
import 'react-bootstrap/ModalTitle';
|
|
17
17
|
import 'react-bootstrap/ModalBody';
|
|
@@ -15,7 +15,6 @@ import 'react-bootstrap/Row';
|
|
|
15
15
|
import 'react-bootstrap/Col';
|
|
16
16
|
import '@licklist/plugins/dist/services/Form/FormErrorService';
|
|
17
17
|
import '@licklist/plugins/dist/services/Form/HookFormService';
|
|
18
|
-
import 'react-router-dom';
|
|
19
18
|
import '../../../calendar/Calendar.js';
|
|
20
19
|
import 'clsx';
|
|
21
20
|
import 'luxon';
|
|
@@ -24,11 +23,11 @@ import '../../../tiptap-editor/TipTapEditor.js';
|
|
|
24
23
|
import '@licklist/core/dist/Config';
|
|
25
24
|
import '../../../iframe/event/event-card/IframeEventCardSkeleton.js';
|
|
26
25
|
import 'react-icons/fa';
|
|
26
|
+
import 'react-router-dom';
|
|
27
27
|
import '../../../static/index.js';
|
|
28
28
|
import '../../../iframe/page/Page.js';
|
|
29
29
|
import '../../../iframe/page/components/PageBody/PageBody.js';
|
|
30
30
|
import 'react-swipeable';
|
|
31
|
-
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
32
31
|
import '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
|
|
33
32
|
import '@licklist/plugins/dist/services/Media/MediaService';
|
|
34
33
|
import 'react-bootstrap/Accordion';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmailTemplate } from '@licklist/core/dist/DataMapper/Notification/EmailTemplateDataMapper';
|
|
2
2
|
import { SmsTemplate } from '@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper';
|
|
3
|
-
import { TFunction } from '
|
|
3
|
+
import { TFunction } from 'i18next';
|
|
4
4
|
import { UseFormSetError } from 'react-hook-form';
|
|
5
5
|
import { ProductSet } from '@licklist/core/dist/DataMapper/Product/ProductSetDataMapper';
|
|
6
6
|
import { TemplateItem } from '../control/ProductSetControl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAG/F,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAG/F,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,UAAU,yBAAyB;IACjC,MAAM,EAAE,oBAAoB,CAAA;IAC5B,QAAQ,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAA;IAC/C,CAAC,EAAE,SAAS,CAAA;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AACD,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAC1B,CAAC,EAAE,aACC,MAAM,aACN,MAAM,QAQlB,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,CAAC,EAAE;;IACmB,CAAA;AAEjE,eAAO,MAAM,oBAAoB,eACnB,aAAa,EAAE,GAAG,WAAW,EAAE,kBAC3B,YAAY,EAAE,KAC7B,YAAY,EAAE,GAAG,SAmBnB,CAAA;AAED,eAAO,MAAM,kCAAkC,SACvC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe1B,CAAA;AAEF,eAAO,MAAM,yBAAyB,6BAInC,yBAAyB,YA0B3B,CAAA;AAED,eAAO,MAAM,yBAAyB,WAC5B,CAAC,UAAU,GAAG,oBAAoB,CAAC,EAAE,KAC5C,gBAAgB,EACwD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecurrenceInput.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/RecurrenceInput.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAWjD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,gBAAgB,CAAC,EAAE,SAAS,CAAA;CAC7B;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAgB,EAChB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,gBAAmC,GACpC,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"RecurrenceInput.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/RecurrenceInput.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAWjD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,gBAAgB,CAAC,EAAE,SAAS,CAAA;CAC7B;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAgB,EAChB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,gBAAmC,GACpC,EAAE,oBAAoB,2CA0EtB"}
|
|
@@ -117,7 +117,7 @@ function RecurrenceInput(param) {
|
|
|
117
117
|
})), 2), state = _useReducer[0], updateState = _useReducer[1];
|
|
118
118
|
useEffect(// TODO: unhardcode timezone
|
|
119
119
|
function() {
|
|
120
|
-
|
|
120
|
+
onChange(RRule.optionsToString(_object_spread({
|
|
121
121
|
freq: state.freq,
|
|
122
122
|
count: state.count,
|
|
123
123
|
interval: state.interval,
|
|
@@ -14,7 +14,6 @@ import '@licklist/plugins/dist/services/Table/PaginationService';
|
|
|
14
14
|
import '@licklist/plugins/dist/services/Table/TableService';
|
|
15
15
|
import 'react-router-dom';
|
|
16
16
|
import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
17
|
-
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
18
17
|
import 'react-loader';
|
|
19
18
|
import '../../table/utils/index.js';
|
|
20
19
|
import { MenuButton } from '../../table/MenuButton.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RyftPayment.d.ts","sourceRoot":"","sources":["../../../../../src/sales/payment-form/components/RyftPayment/RyftPayment.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RyftPayment.d.ts","sourceRoot":"","sources":["../../../../../src/sales/payment-form/components/RyftPayment/RyftPayment.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,WAAW,6CAIrB,gBAAgB,4CA4ClB,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import { Alert, Button } from 'react-bootstrap';
|
|
4
|
-
import { useHistory } from 'react-router-dom';
|
|
5
4
|
import '../../../../static/index.js';
|
|
6
5
|
import { BlockLoader } from '../../../../static/loader/BlockLoader.js';
|
|
7
6
|
|
|
@@ -11,7 +10,6 @@ var RyftPayment = function(param) {
|
|
|
11
10
|
'Design',
|
|
12
11
|
'App'
|
|
13
12
|
]).t;
|
|
14
|
-
var history = useHistory();
|
|
15
13
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
16
14
|
children: [
|
|
17
15
|
!isLoading && !isError && !ryftInitFailure && /*#__PURE__*/ jsx("div", {
|
|
@@ -48,7 +46,7 @@ var RyftPayment = function(param) {
|
|
|
48
46
|
children: /*#__PURE__*/ jsx(Button, {
|
|
49
47
|
variant: "primary",
|
|
50
48
|
onClick: function() {
|
|
51
|
-
|
|
49
|
+
window.location.reload();
|
|
52
50
|
},
|
|
53
51
|
children: t('refresh')
|
|
54
52
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentsModal.d.ts","sourceRoot":"","sources":["../../../../../src/setting/dashboard/payments/payments-modal/PaymentsModal.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;IAC9C,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,MAAM,GACP,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PaymentsModal.d.ts","sourceRoot":"","sources":["../../../../../src/setting/dashboard/payments/payments-modal/PaymentsModal.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;IAC9C,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,MAAM,GACP,EAAE,kBAAkB,2CAiCpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SnippetCard.d.ts","sourceRoot":"","sources":["../../../../../src/setting/dashboard/snippets/card/SnippetCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAUtF,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,aAAoB,EACpB,SAAiB,GAClB,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"SnippetCard.d.ts","sourceRoot":"","sources":["../../../../../src/setting/dashboard/snippets/card/SnippetCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAUtF,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,aAAoB,EACpB,SAAiB,GAClB,EAAE,gBAAgB,2CA4ElB"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
5
4
|
import clsx from 'clsx';
|
|
6
5
|
import { OverlayTrigger, Popover, ListGroup } from 'react-bootstrap';
|
|
7
6
|
import { useId } from '@react-aria/utils';
|
|
8
7
|
import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
|
|
8
|
+
import { useNavigate } from 'react-router-dom';
|
|
9
9
|
import 'react-bootstrap/PageItem';
|
|
10
10
|
import '@licklist/plugins/dist/services/Table/PaginationService';
|
|
11
11
|
import '@licklist/plugins/dist/services/Table/TableService';
|
|
12
|
-
import 'react-router-dom';
|
|
13
12
|
import 'lodash';
|
|
14
13
|
import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
15
14
|
import 'react-loader';
|
|
@@ -69,16 +68,17 @@ function SnippetCard(param) {
|
|
|
69
68
|
var t = useTranslation('Design').t;
|
|
70
69
|
var popoverId = useId();
|
|
71
70
|
var _useState = _sliced_to_array(useState(false), 2), isOverlayVisibile = _useState[0], setIsOverlayVisible = _useState[1];
|
|
71
|
+
var navigate = useNavigate();
|
|
72
72
|
var isDeletingAllowed = hasPermission && !isDefault;
|
|
73
73
|
return /*#__PURE__*/ jsx("div", {
|
|
74
74
|
className: "border-0 product-set-card-wrapper w-100 pb-0",
|
|
75
75
|
role: "button",
|
|
76
76
|
tabIndex: 0,
|
|
77
77
|
onClick: function() {
|
|
78
|
-
return
|
|
78
|
+
return navigate(href);
|
|
79
79
|
},
|
|
80
80
|
onKeyUp: function() {
|
|
81
|
-
return
|
|
81
|
+
return navigate(href);
|
|
82
82
|
},
|
|
83
83
|
children: /*#__PURE__*/ jsxs("div", {
|
|
84
84
|
className: "product-set-card",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAiCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,2CA8Vd"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useContext } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { MemoryRouter } from 'react-router-dom';
|
|
5
4
|
import { Button } from 'react-bootstrap';
|
|
6
5
|
import { SNIPPET_TEMPLATE_TYPE_VENUE_MAP, SNIPPET_TEMPLATE_TYPE_EVENT_LIST } from '@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper';
|
|
7
6
|
import { defaultStartDay, Calendar } from '../../../calendar/Calendar.js';
|
|
@@ -19,7 +18,7 @@ import { PageHeader } from '../../../iframe/page/components/PageHeader/PageHeade
|
|
|
19
18
|
import 'react-icons/fa';
|
|
20
19
|
import 'react-swipeable';
|
|
21
20
|
import 'react-bootstrap/Button';
|
|
22
|
-
import '
|
|
21
|
+
import 'react-router-dom';
|
|
23
22
|
import '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
|
|
24
23
|
import '@licklist/plugins/dist/services/Media/MediaService';
|
|
25
24
|
import '../../../tiptap-editor/TipTapEditor.js';
|
|
@@ -155,25 +154,19 @@ function Preview(param) {
|
|
|
155
154
|
/*#__PURE__*/ jsx(Timer, {
|
|
156
155
|
timer: 600
|
|
157
156
|
}),
|
|
158
|
-
/*#__PURE__*/ jsx(
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
pathname: '/step2',
|
|
172
|
-
key: '/step2',
|
|
173
|
-
name: 'Cheese'
|
|
174
|
-
}
|
|
175
|
-
]
|
|
176
|
-
})
|
|
157
|
+
/*#__PURE__*/ jsx(NavigationSteps, {
|
|
158
|
+
steps: [
|
|
159
|
+
{
|
|
160
|
+
pathname: '/step1',
|
|
161
|
+
key: '/step1',
|
|
162
|
+
name: 'Burger'
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
pathname: '/step2',
|
|
166
|
+
key: '/step2',
|
|
167
|
+
name: 'Cheese'
|
|
168
|
+
}
|
|
169
|
+
]
|
|
177
170
|
})
|
|
178
171
|
]
|
|
179
172
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RestrictedAccess.d.ts","sourceRoot":"","sources":["../../src/static/RestrictedAccess.tsx"],"names":[],"mappings":"AAKA,iBAAS,gBAAgB,
|
|
1
|
+
{"version":3,"file":"RestrictedAccess.d.ts","sourceRoot":"","sources":["../../src/static/RestrictedAccess.tsx"],"names":[],"mappings":"AAKA,iBAAS,gBAAgB,4CAiBxB;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Button } from 'react-bootstrap';
|
|
3
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
4
3
|
import { useTranslation } from 'react-i18next';
|
|
5
4
|
import { FaArrowLeft } from 'react-icons/fa';
|
|
5
|
+
import { useNavigate } from 'react-router-dom';
|
|
6
6
|
|
|
7
7
|
function RestrictedAccess() {
|
|
8
8
|
var t = useTranslation('Design').t;
|
|
9
|
+
var navigate = useNavigate();
|
|
9
10
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
10
11
|
children: [
|
|
11
12
|
/*#__PURE__*/ jsx(Button, {
|
|
12
13
|
className: "mt-3 ml-3",
|
|
13
14
|
variant: "link",
|
|
14
15
|
onClick: function() {
|
|
15
|
-
return
|
|
16
|
+
return navigate(-1);
|
|
16
17
|
},
|
|
17
18
|
children: /*#__PURE__*/ jsx(FaArrowLeft, {
|
|
18
19
|
size: 25
|
package/dist/static/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import 'react-phone-number-input/locale/en.json';
|
|
|
19
19
|
import 'react-phone-number-input/style.css';
|
|
20
20
|
import 'react-bootstrap/Card';
|
|
21
21
|
import 'react-bootstrap/Button';
|
|
22
|
-
import '
|
|
22
|
+
import 'react-router-dom';
|
|
23
23
|
import 'react-bootstrap/Alert';
|
|
24
24
|
import 'react-date-range';
|
|
25
25
|
import 'react-use';
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactTableHelperComponent.d.ts","sourceRoot":"","sources":["../../src/table/ReactTableHelperComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,GAAG,EACH,YAAY,EACb,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ReactTableHelperComponent.d.ts","sourceRoot":"","sources":["../../src/table/ReactTableHelperComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,GAAG,EACH,YAAY,EACb,MAAM,OAAO,CAAA;AAgBd,OAAO,EACL,mBAAmB,EACnB,mCAAmC,EACnC,qCAAqC,EAErC,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAGhB,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD,MAAM,MAAM,8BAA8B,CAAC,CAAC,SAAS,MAAM,IACzD,mBAAmB,CAAC,CAAC,CAAC,GACpB,CACI,mCAAmC,CAAC,CAAC,CAAC,GACtC,qCAAqC,CAAC,CAAC,CAAC,CAC3C,CAAA;AAEL,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAAA;CACrC,CAAA;AAyQD,QAAA,MAAM,yBAAyB,EAE1B,CAAC,CAAgB,SAAN,MAAM,EACpB,KAAK,EAAE,8BAA8B,CAAC,CAAC,CAAC,GAAG;IACzC,GAAG,CAAC,EAAE,GAAG,CAAC,4BAA4B,CAAC,CAAA;CACxC,KACE,YAAY,CAAA;AAEjB,OAAO,EAAE,yBAAyB,EAAE,CAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { forwardRef, useMemo, useImperativeHandle, useEffect } from 'react';
|
|
3
3
|
import { Row, Col, Table } from 'react-bootstrap';
|
|
4
|
-
import { useLocation } from 'react-router-dom';
|
|
4
|
+
import { useLocation, useNavigate } from 'react-router-dom';
|
|
5
5
|
import { isEqual } from 'lodash';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import { useReactTable, getCoreRowModel, flexRender } from '@tanstack/react-table';
|
|
8
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
9
8
|
import TableService from '@licklist/plugins/dist/services/Table/TableService';
|
|
10
9
|
import { LoaderIndicator } from '../static/loader/LoaderIndicator.js';
|
|
11
10
|
import { FilterHelperComponent } from './FilterHelperComponent.js';
|
|
@@ -117,6 +116,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
117
116
|
"renderRow"
|
|
118
117
|
]);
|
|
119
118
|
var pathname = useLocation().pathname;
|
|
119
|
+
var navigate = useNavigate();
|
|
120
120
|
var _useTableQueryOptions = useTableQueryOptions({
|
|
121
121
|
initialOptions: initialOptions,
|
|
122
122
|
externalFilters: externalFilters
|
|
@@ -194,7 +194,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
194
194
|
setOptionsCache(options);
|
|
195
195
|
setCachedExternalFilters(externalFilters);
|
|
196
196
|
var nextUrlSearchParams = new URLSearchParams(_object_spread({}, options, externalFilters));
|
|
197
|
-
|
|
197
|
+
navigate([
|
|
198
198
|
pathname,
|
|
199
199
|
nextUrlSearchParams.toString()
|
|
200
200
|
].join('?'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHelperComponent.d.ts","sourceRoot":"","sources":["../../src/table/TableHelperComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"TableHelperComponent.d.ts","sourceRoot":"","sources":["../../src/table/TableHelperComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAA;AAM3D,OAAO,qBAAqB,MAAM,mEAAmE,CAAA;AACrG,OAAO,YAAY,MAAM,0DAA0D,CAAA;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAA;AAQrF,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,YAAY,EAAE,QAAQ,CAAA;IACtB,SAAS,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAA;IACtC,WAAW,CAAC,EAAE,QAAQ,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IACxC,cAAc,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAA;IACrC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;CACrE;AAUD;;;;;;GAMG;AACH,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CA8S7D;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
import { Row, Col, Table } from 'react-bootstrap';
|
|
4
|
-
import { useLocation } from 'react-router-dom';
|
|
4
|
+
import { useLocation, useNavigate } from 'react-router-dom';
|
|
5
5
|
import { isEqual } from 'lodash';
|
|
6
6
|
import useQuery from '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
7
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
8
7
|
import TableService from '@licklist/plugins/dist/services/Table/TableService';
|
|
9
8
|
import { LoaderIndicator } from '../static/loader/LoaderIndicator.js';
|
|
10
9
|
import { FilterHelperComponent } from './FilterHelperComponent.js';
|
|
@@ -158,6 +157,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
158
157
|
var paginator = props.paginator, headers = props.headers, renderItemFn = props.renderItemFn, isLoading = props.isLoading, onRefreshFn = props.onRefreshFn, refreshAt = props.refreshAt, _props_striped = props.striped, striped = _props_striped === void 0 ? true : _props_striped, _props_bordered = props.bordered, bordered = _props_bordered === void 0 ? true : _props_bordered, _props_displaySearchBar = props.displaySearchBar, displaySearchBar = _props_displaySearchBar === void 0 ? true : _props_displaySearchBar, _props_displayPerPageSelect = props.displayPerPageSelect, displayPerPageSelect = _props_displayPerPageSelect === void 0 ? true : _props_displayPerPageSelect, _props_displayShowingSection = props.displayShowingSection, displayShowingSection = _props_displayShowingSection === void 0 ? true : _props_displayShowingSection, _props_externalFilters = props.externalFilters, externalFilters = _props_externalFilters === void 0 ? {} : _props_externalFilters, _props_initialOptions = props.initialOptions, initialOptions = _props_initialOptions === void 0 ? {} : _props_initialOptions, filteredOrdersOptions = props.filteredOrdersOptions;
|
|
159
158
|
var query = useQuery();
|
|
160
159
|
var pathname = useLocation().pathname;
|
|
160
|
+
var navigate = useNavigate();
|
|
161
161
|
var page = Number(getFilterOptionsValue(query, initialOptions, 'page'));
|
|
162
162
|
var perPage = Number(getFilterOptionsValue(query, initialOptions, 'perPage'));
|
|
163
163
|
var sortKey = String(getFilterOptionsValue(query, initialOptions, 'sortKey'));
|
|
@@ -182,7 +182,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
182
182
|
if (onRefreshFn) {
|
|
183
183
|
onRefreshFn(options);
|
|
184
184
|
}
|
|
185
|
-
|
|
185
|
+
navigate([
|
|
186
186
|
pathname,
|
|
187
187
|
[
|
|
188
188
|
"page=".concat(options.page),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VenueMapSetCard.d.ts","sourceRoot":"","sources":["../../../src/venue-map-sets/card/VenueMapSetCard.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAMtF,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,SAAc,EACd,aAAoB,GACrB,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"VenueMapSetCard.d.ts","sourceRoot":"","sources":["../../../src/venue-map-sets/card/VenueMapSetCard.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAMtF,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,SAAc,EACd,aAAoB,GACrB,EAAE,oBAAoB,2CA8EtB"}
|
|
@@ -4,8 +4,8 @@ import { OverlayTrigger, Popover, ListGroup } from 'react-bootstrap';
|
|
|
4
4
|
import { useId } from '@react-aria/utils';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
8
7
|
import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
|
|
8
|
+
import { useNavigate } from 'react-router-dom';
|
|
9
9
|
import { MenuButton } from '../../table/MenuButton.js';
|
|
10
10
|
import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
|
|
11
11
|
|
|
@@ -60,15 +60,16 @@ function VenueMapSetCard(param) {
|
|
|
60
60
|
var t = useTranslation('Design').t;
|
|
61
61
|
var popoverId = useId();
|
|
62
62
|
var _useState = _sliced_to_array(useState(false), 2), isOverlayVisibile = _useState[0], setIsOverlayVisible = _useState[1];
|
|
63
|
+
var navigate = useNavigate();
|
|
63
64
|
return /*#__PURE__*/ jsx("div", {
|
|
64
65
|
role: "button",
|
|
65
66
|
tabIndex: 0,
|
|
66
67
|
className: "border-0 venue-map-set-card-wrapper w-100 pb-0",
|
|
67
68
|
onClick: function() {
|
|
68
|
-
return
|
|
69
|
+
return navigate(href);
|
|
69
70
|
},
|
|
70
71
|
onKeyUp: function() {
|
|
71
|
-
return
|
|
72
|
+
return navigate(href);
|
|
72
73
|
},
|
|
73
74
|
children: /*#__PURE__*/ jsxs("div", {
|
|
74
75
|
className: clsx('venue-map-set-card', className),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneCard.d.ts","sourceRoot":"","sources":["../../../src/zone/card/ZoneCard.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAMtF,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,SAAc,EACd,aAAoB,GACrB,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"ZoneCard.d.ts","sourceRoot":"","sources":["../../../src/zone/card/ZoneCard.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAMtF,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,SAAc,EACd,aAAoB,GACrB,EAAE,aAAa,2CA+Ef"}
|
|
@@ -4,8 +4,8 @@ import { OverlayTrigger, Popover, ListGroup } from 'react-bootstrap';
|
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { useId } from '@react-aria/utils';
|
|
7
|
-
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
8
7
|
import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
|
|
8
|
+
import { useNavigate } from 'react-router-dom';
|
|
9
9
|
import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
|
|
10
10
|
import { MenuButton } from '../../table/MenuButton.js';
|
|
11
11
|
|
|
@@ -61,15 +61,16 @@ function ZoneCard(param) {
|
|
|
61
61
|
var popoverId = useId();
|
|
62
62
|
var ZoneCardClasses = "zone-card ".concat(className);
|
|
63
63
|
var _useState = _sliced_to_array(useState(false), 2), isOverlayVisibile = _useState[0], setIsOverlayVisible = _useState[1];
|
|
64
|
+
var navigate = useNavigate();
|
|
64
65
|
return /*#__PURE__*/ jsx("div", {
|
|
65
66
|
role: "button",
|
|
66
67
|
tabIndex: 0,
|
|
67
68
|
className: "border-0 zone-card-wrapper w-100 pb-0",
|
|
68
69
|
onClick: function() {
|
|
69
|
-
return
|
|
70
|
+
return navigate(href);
|
|
70
71
|
},
|
|
71
72
|
onKeyUp: function() {
|
|
72
|
-
return
|
|
73
|
+
return navigate(href);
|
|
73
74
|
},
|
|
74
75
|
children: /*#__PURE__*/ jsxs("div", {
|
|
75
76
|
className: ZoneCardClasses,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licklist/design",
|
|
3
|
-
"version": "0.78.
|
|
3
|
+
"version": "0.78.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
|
|
@@ -42,17 +42,20 @@
|
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@licklist/core": "0.36.
|
|
45
|
+
"@licklist/core": "0.36.4",
|
|
46
46
|
"@licklist/eslint-config": "0.5.6",
|
|
47
|
-
"@licklist/plugins": "0.
|
|
47
|
+
"@licklist/plugins": "0.36.5",
|
|
48
|
+
"clsx": "2.1.1",
|
|
49
|
+
"i18next": "25.3.2",
|
|
48
50
|
"lodash": "4.17.21",
|
|
49
51
|
"luxon": "3.5.0",
|
|
50
|
-
"react": "
|
|
51
|
-
"react-dom": "
|
|
52
|
+
"react": "18.3.1",
|
|
53
|
+
"react-dom": "18.3.1",
|
|
52
54
|
"react-hook-form": "7.52.2",
|
|
53
|
-
"react-i18next": "
|
|
54
|
-
"react-intl": "
|
|
55
|
-
"react-query": "3.34.12"
|
|
55
|
+
"react-i18next": "15.6.1",
|
|
56
|
+
"react-intl": "7.1.11",
|
|
57
|
+
"react-query": "3.34.12",
|
|
58
|
+
"react-router-dom": "6.30.1"
|
|
56
59
|
},
|
|
57
60
|
"dependencies": {
|
|
58
61
|
"@dnd-kit/core": "3.1.1",
|
|
@@ -61,9 +64,9 @@
|
|
|
61
64
|
"@dnd-kit/utilities": "2.0.0",
|
|
62
65
|
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
|
63
66
|
"@fortawesome/free-solid-svg-icons": "5.15.2",
|
|
64
|
-
"@licklist/core": "0.36.
|
|
67
|
+
"@licklist/core": "0.36.4",
|
|
65
68
|
"@licklist/eslint-config": "0.5.6",
|
|
66
|
-
"@licklist/plugins": "0.
|
|
69
|
+
"@licklist/plugins": "0.36.5",
|
|
67
70
|
"@mantine/core": "6.0.22",
|
|
68
71
|
"@mantine/hooks": "6.0.22",
|
|
69
72
|
"@mdx-js/react": "1.6.22",
|
|
@@ -100,28 +103,28 @@
|
|
|
100
103
|
"emojibase-data": "7.0.1",
|
|
101
104
|
"emojibase-regex": "6.0.1",
|
|
102
105
|
"framer-motion": "4.1.17",
|
|
106
|
+
"i18next": "25.3.2",
|
|
103
107
|
"konva": "6.0.0",
|
|
104
108
|
"lodash": "4.17.21",
|
|
105
109
|
"luxon": "3.5.0",
|
|
106
110
|
"moment": "2.29.1",
|
|
107
|
-
"react": "
|
|
111
|
+
"react": "18.3.1",
|
|
108
112
|
"react-bootstrap": "1.6.1",
|
|
109
113
|
"react-color": "2.19.3",
|
|
110
114
|
"react-date-range": "1.4.0",
|
|
111
|
-
"react-dom": "
|
|
115
|
+
"react-dom": "18.3.1",
|
|
112
116
|
"react-email-editor": "1.6.1",
|
|
113
117
|
"react-highlighter": "0.4.3",
|
|
114
118
|
"react-hook-form": "7.52.2",
|
|
115
|
-
"react-i18next": "
|
|
119
|
+
"react-i18next": "15.6.1",
|
|
116
120
|
"react-icons": "5.3.0",
|
|
117
|
-
"react-intl": "
|
|
118
|
-
"react-konva": "
|
|
121
|
+
"react-intl": "7.1.11",
|
|
122
|
+
"react-konva": "18.2.12",
|
|
119
123
|
"react-loader": "2.4.7",
|
|
120
124
|
"react-loading-skeleton": "3.3.1",
|
|
121
125
|
"react-overlays": "4.1.1",
|
|
122
126
|
"react-phone-number-input": "3.1.16",
|
|
123
127
|
"react-query": "3.34.12",
|
|
124
|
-
"react-router-dom": "5.2.0",
|
|
125
128
|
"react-select": "5.3.0",
|
|
126
129
|
"react-swipeable": "6.2.0",
|
|
127
130
|
"react-use": "17.3.1",
|
|
@@ -149,10 +152,10 @@
|
|
|
149
152
|
"@types/luxon": "3.4.2",
|
|
150
153
|
"@types/mdx-js__react": "1.5.3",
|
|
151
154
|
"@types/node": "20.9.0",
|
|
152
|
-
"@types/react": "
|
|
155
|
+
"@types/react": "18.3.12",
|
|
153
156
|
"@types/react-bootstrap": "1.0.1",
|
|
154
157
|
"@types/react-date-range": "1.4.9",
|
|
155
|
-
"@types/react-dom": "
|
|
158
|
+
"@types/react-dom": "18.3.1",
|
|
156
159
|
"@types/react-email-editor": "1.1.7",
|
|
157
160
|
"@types/react-loader": "2.4.4",
|
|
158
161
|
"@types/react-phone-number-input": "3.0.6",
|
|
@@ -196,8 +199,8 @@
|
|
|
196
199
|
"vite-tsconfig-paths": "5.0.1"
|
|
197
200
|
},
|
|
198
201
|
"resolutions": {
|
|
199
|
-
"@types/react": "
|
|
200
|
-
"@types/react-dom": "
|
|
202
|
+
"@types/react": "18.3.12",
|
|
203
|
+
"@types/react-dom": "18.3.1"
|
|
201
204
|
},
|
|
202
205
|
"lint-staged": {
|
|
203
206
|
"*.{ts,tsx}": [
|
|
@@ -3,6 +3,7 @@ import { Button, Form } from 'react-bootstrap'
|
|
|
3
3
|
import { FormProvider, useForm } from 'react-hook-form'
|
|
4
4
|
import { useTranslation } from 'react-i18next'
|
|
5
5
|
import { Affiliate } from '@licklist/core/dist/DataMapper/Product/AffiliateDataMapper'
|
|
6
|
+
import { useNavigate } from 'react-router-dom'
|
|
6
7
|
import { Dialog, useDialogContext } from '../../modals/dialog'
|
|
7
8
|
import { AffiliateFormValues, GenerateLinkFunction } from '../types'
|
|
8
9
|
import { AffiliateControl } from './AffiliateControl'
|
|
@@ -22,6 +23,7 @@ export const AffiliateForm = ({
|
|
|
22
23
|
}: AffiliateFormProps) => {
|
|
23
24
|
const { t } = useTranslation('Design')
|
|
24
25
|
const { isShownDialog, showDialog, hideDialog } = useDialogContext()
|
|
26
|
+
const navigate = useNavigate()
|
|
25
27
|
|
|
26
28
|
const form = useForm({
|
|
27
29
|
defaultValues,
|
|
@@ -47,8 +49,8 @@ export const AffiliateForm = ({
|
|
|
47
49
|
)
|
|
48
50
|
|
|
49
51
|
const onApproveDialog = useCallback(() => {
|
|
50
|
-
|
|
51
|
-
}, [])
|
|
52
|
+
navigate(-1)
|
|
53
|
+
}, [navigate])
|
|
52
54
|
|
|
53
55
|
const onDeclineDialog = useCallback(() => {
|
|
54
56
|
window.history.pushState(null, '', window.location.pathname)
|