@licklist/design 0.71.6-dev.0 → 0.71.6-dev.10

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.
Files changed (115) hide show
  1. package/dist/auth/Layout/AuthNavComponent.d.ts.map +1 -1
  2. package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
  3. package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
  4. package/dist/auth/Logout/Logout.js +1 -0
  5. package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
  6. package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
  7. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
  8. package/dist/auth/Router.d.ts.map +1 -1
  9. package/dist/auth/Router.js +2 -0
  10. package/dist/calendar/utils/index.d.ts +1 -1
  11. package/dist/calendar/utils/index.d.ts.map +1 -1
  12. package/dist/events/edit-event-modal/component/SaleDeadline/SaleDeadline.d.ts.map +1 -1
  13. package/dist/events/event-card/utils.d.ts.map +1 -1
  14. package/dist/events/event-statistic-modal/hooks/useTableData.d.ts.map +1 -1
  15. package/dist/events/event-statistic-modal/hooks/useTableData.js +1 -1
  16. package/dist/events/event-statistic-modal/utils/index.d.ts.map +1 -1
  17. package/dist/events/event-statistic-modal/utils/index.js +3 -2
  18. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
  19. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  20. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -2
  21. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts +1 -2
  22. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
  23. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.js +2 -2
  24. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -2
  25. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  26. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.js +1 -2
  27. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.d.ts.map +1 -1
  28. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.js +22 -3
  29. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +4 -1
  30. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  31. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +3 -2
  32. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  33. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  34. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
  35. package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
  36. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  37. package/dist/iframe/payment/payment-page/PaymentPage.js +29 -5
  38. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
  39. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +15 -5
  40. package/dist/iframe/ryft/RyftPaymentForm.js +1 -0
  41. package/dist/index.js +1 -0
  42. package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
  43. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
  44. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  45. package/dist/product-set/card/ProductSetCard.js +1 -0
  46. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  47. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  48. package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
  49. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  50. package/dist/report/ReportRunnerModal/ReportRunnerModal.js +1 -0
  51. package/dist/sales/life-time-sales/LifeTimeSalesChart.js +1 -0
  52. package/dist/sales/manual-booking/select-event/SelectEvent.js +1 -0
  53. package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -0
  54. package/dist/sales/manual-booking/summary/ManualBookingSummary.js +1 -0
  55. package/dist/sales/modals/refund-modal/RefundModal.d.ts.map +1 -1
  56. package/dist/sales/modals/refund-modal/RefundModal.js +1 -0
  57. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  58. package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.d.ts.map +1 -1
  59. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  60. package/dist/snippet/snippet-template/preview/Preview.js +3 -7
  61. package/dist/static/date-range-input/utils/index.d.ts +1 -1
  62. package/dist/static/date-range-input/utils/index.d.ts.map +1 -1
  63. package/dist/static/loader/FullScreenLoader.d.ts +8 -0
  64. package/dist/static/loader/FullScreenLoader.d.ts.map +1 -0
  65. package/dist/static/loader/FullScreenLoader.js +41 -0
  66. package/dist/static/loader/LoaderIndicator.d.ts +2 -3
  67. package/dist/static/loader/LoaderIndicator.d.ts.map +1 -1
  68. package/dist/static/loader/LoaderIndicator.js +4 -2
  69. package/dist/static/loader/index.d.ts +1 -0
  70. package/dist/static/loader/index.d.ts.map +1 -1
  71. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -3
  72. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +1 -1
  73. package/dist/styles/static/Loader.scss +9 -0
  74. package/package.json +5 -5
  75. package/src/auth/Layout/AuthNavComponent.tsx +4 -0
  76. package/src/auth/Login/LoginComponent.tsx +2 -0
  77. package/src/auth/Login/LoginFormComponent.tsx +2 -0
  78. package/src/auth/Register/RegisterComponent.tsx +2 -0
  79. package/src/auth/Register/RegisterFormComponent.tsx +4 -0
  80. package/src/auth/ResetPassword/ResetPasswordFormComponent.tsx +4 -0
  81. package/src/auth/Router.tsx +2 -0
  82. package/src/calendar/Calendar.stories.tsx +2 -2
  83. package/src/calendar/utils/index.ts +1 -1
  84. package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +9 -7
  85. package/src/events/event-card/utils.ts +10 -9
  86. package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
  87. package/src/events/event-statistic-modal/hooks/useTableData.tsx +3 -4
  88. package/src/events/event-statistic-modal/utils/index.ts +3 -2
  89. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +0 -2
  90. package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +1 -6
  91. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +0 -3
  92. package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx +22 -3
  93. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +14 -2
  94. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +4 -7
  95. package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +1 -2
  96. package/src/iframe/payment/payment-page/PaymentPage.tsx +65 -18
  97. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +27 -6
  98. package/src/notification/email-template/card/EmailTemplateCard.tsx +2 -0
  99. package/src/notification/sms-template/card/SmsTemplateCard.tsx +2 -0
  100. package/src/product-set/card/ProductSetCard.tsx +7 -1
  101. package/src/product-set/control/DateAndRecurrenceInput.tsx +3 -4
  102. package/src/product-set/control/DateInput.tsx +3 -4
  103. package/src/product-set/form/VenueMapsControl.tsx +1 -1
  104. package/src/sales/modals/refund-modal/RefundModal.tsx +1 -0
  105. package/src/setting/admin/AdminSettingForm.tsx +4 -0
  106. package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +2 -0
  107. package/src/snippet/snippet-template/preview/Preview.tsx +1 -8
  108. package/src/static/date-range-input/utils/index.ts +1 -1
  109. package/src/static/loader/FullScreenLoader.tsx +16 -0
  110. package/src/static/loader/LoaderIndicator.tsx +6 -3
  111. package/src/static/loader/index.ts +1 -0
  112. package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -3
  113. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +1 -1
  114. package/src/styles/static/Loader.scss +9 -0
  115. package/yarn.lock +989 -834
@@ -5,6 +5,7 @@ import 'react-loader';
5
5
  import { BlockLoader } from '../../../static/loader/BlockLoader.js';
6
6
  import 'react';
7
7
  import '@licklist/plugins/dist/hooks/Media/useWindowDimensions';
8
+ import 'clsx';
8
9
  import { MenuButton } from './components/MenuButton.js';
9
10
 
10
11
  var SelectMenu = function(param) {
@@ -10,6 +10,7 @@ import 'react-loader';
10
10
  import { BlockLoader } from '../../../static/loader/BlockLoader.js';
11
11
  import 'react';
12
12
  import '@licklist/plugins/dist/hooks/Media/useWindowDimensions';
13
+ import 'clsx';
13
14
 
14
15
  var ManualBookingSummary = function(param) {
15
16
  var eventName = param.eventName, orders = param.orders, ordersSum = param.ordersSum, orderSumIncludingFee = param.orderSumIncludingFee, isFeeFetching = param.isFeeFetching, orderDate = param.orderDate, relyOnPeopleType = param.relyOnPeopleType, hasBookingCategory = param.hasBookingCategory, isMobileView = param.isMobileView;
@@ -1 +1 @@
1
- {"version":3,"file":"RefundModal.d.ts","sourceRoot":"","sources":["../../../../src/sales/modals/refund-modal/RefundModal.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAA;AAK9F,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAMD,eAAO,MAAM,WAAW,mGASrB,gBAAgB,4CAmGlB,CAAA"}
1
+ {"version":3,"file":"RefundModal.d.ts","sourceRoot":"","sources":["../../../../src/sales/modals/refund-modal/RefundModal.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAA;AAK9F,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,gBAAgB,CAAA;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAMD,eAAO,MAAM,WAAW,mGASrB,gBAAgB,4CAoGlB,CAAA"}
@@ -149,6 +149,7 @@ var RefundModal = function(param) {
149
149
  });
150
150
  }
151
151
  })), {
152
+ step: 0.01,
152
153
  disabled: isLoading || isFullRefund,
153
154
  isInvalid: !!errors.amount,
154
155
  min: 0
@@ -1 +1 @@
1
- {"version":3,"file":"AdminSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/AdminSettingForm.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAOtF,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAE7F,OAAO,EAAkB,yBAAyB,EAAE,MAAM,kBAAkB,CAAA;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE/C,MAAM,MAAM,2BAA2B,GAAG;IACxC,uBAAuB,EAAE,MAAM,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,IAAI,GAAG,OAAO,CAAA;IAC9B,oBAAoB,EAAE,IAAI,GAAG,OAAO,CAAA;IACpC,+BAA+B,EAAE,IAAI,GAAG,OAAO,CAAA;IAC/C,0BAA0B,EAAE,IAAI,GAAG,OAAO,CAAA;CAC3C,GAAG,yBAAyB,CAAA;AAE7B,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAA;IACtD,aAAa,CAAC,EAAE,OAAO,CAAC,2BAA2B,CAAC,CAAA;IACpD,UAAU,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;IAC5B,gBAAgB,EAAE;QAChB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,YAAY,CAAC,EAAE,cAAc,CAAA;KAC9B,CAAA;CACF;AAED,eAAO,MAAM,gBAAgB,yFAO1B,qBAAqB,4CAkJvB,CAAA"}
1
+ {"version":3,"file":"AdminSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/AdminSettingForm.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAOtF,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAA;AAE7F,OAAO,EAAkB,yBAAyB,EAAE,MAAM,kBAAkB,CAAA;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE/C,MAAM,MAAM,2BAA2B,GAAG;IACxC,uBAAuB,EAAE,MAAM,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,IAAI,GAAG,OAAO,CAAA;IAC9B,oBAAoB,EAAE,IAAI,GAAG,OAAO,CAAA;IACpC,+BAA+B,EAAE,IAAI,GAAG,OAAO,CAAA;IAC/C,0BAA0B,EAAE,IAAI,GAAG,OAAO,CAAA;CAC3C,GAAG,yBAAyB,CAAA;AAE7B,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAA;IACtD,aAAa,CAAC,EAAE,OAAO,CAAC,2BAA2B,CAAC,CAAA;IACpD,UAAU,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;IAC5B,gBAAgB,EAAE;QAChB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,YAAY,CAAC,EAAE,cAAc,CAAA;KAC9B,CAAA;CACF;AAED,eAAO,MAAM,gBAAgB,yFAO1B,qBAAqB,4CAsJvB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SnippetTemplateCard.d.ts","sourceRoot":"","sources":["../../../../../src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAItF,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,MAAW,EACX,IAAI,EACJ,QAAQ,EACR,aAAoB,EACpB,SAAiB,GAClB,EAAE,wBAAwB,2CAiC1B"}
1
+ {"version":3,"file":"SnippetTemplateCard.d.ts","sourceRoot":"","sources":["../../../../../src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAItF,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,MAAW,EACX,IAAI,EACJ,QAAQ,EACR,aAAoB,EACpB,SAAiB,GAClB,EAAE,wBAAwB,2CAmC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAmCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,2CAsWd"}
1
+ {"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAkCA,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,2CAgWd"}
@@ -125,7 +125,9 @@ function Preview(param) {
125
125
  };
126
126
  var _useState2 = _sliced_to_array(useState(defaultStartDay), 2), currentDate = _useState2[0], setCurrentDate = _useState2[1];
127
127
  var _useState3 = _sliced_to_array(useState(null), 2), selectedDate = _useState3[0], setSelectedDate = _useState3[1];
128
- var calendarDates = getMonthCalendarDates(currentDate);
128
+ var calendarDates = getMonthCalendarDates({
129
+ initialDate: currentDate
130
+ });
129
131
  return /*#__PURE__*/ jsx("div", {
130
132
  className: "w-100 h-100 snippet-template-preview",
131
133
  children: /*#__PURE__*/ jsxs(Page, {
@@ -469,7 +471,6 @@ function Preview(param) {
469
471
  productCategoryId: 57,
470
472
  productGroupId: null,
471
473
  availableQuantity: 980,
472
- zoneId: null,
473
474
  name: 'Cofee',
474
475
  description: '',
475
476
  price: 15,
@@ -478,8 +479,6 @@ function Preview(param) {
478
479
  maxQuantity: 15,
479
480
  totalQuantity: 980,
480
481
  type: 'sale',
481
- capacity: 0,
482
- duration: 0,
483
482
  weight: 0,
484
483
  isAvailable: true,
485
484
  isSoldOut: false,
@@ -498,7 +497,6 @@ function Preview(param) {
498
497
  productCategoryId: 57,
499
498
  productGroupId: null,
500
499
  availableQuantity: 980,
501
- zoneId: null,
502
500
  name: 'Cofee 2',
503
501
  description: '',
504
502
  price: 15,
@@ -507,8 +505,6 @@ function Preview(param) {
507
505
  maxQuantity: 15,
508
506
  totalQuantity: 980,
509
507
  type: 'sale',
510
- capacity: 0,
511
- duration: 0,
512
508
  weight: 0,
513
509
  isAvailable: true,
514
510
  isSoldOut: false,
@@ -14,5 +14,5 @@ export declare const stringDatesToInputValue: ({ startDate, endDate, }: {
14
14
  startDate?: string;
15
15
  endDate?: string;
16
16
  }) => string;
17
- export declare const getDateParams: (date: Date) => number[];
17
+ export declare const getDateParams: (date: Date) => [number, number, number];
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/static/date-range-input/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAKxC,eAAO,MAAM,oBAAoB,4BAG9B;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;;;CAaA,CAAA;AAED,eAAO,MAAM,uBAAuB,WAAW,KAAK,EAAE;;;CAYrD,CAAA;AAED,eAAO,MAAM,uBAAuB,4BAGjC;IACD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,WAWA,CAAA;AAED,eAAO,MAAM,aAAa,SAAU,IAAI,aAKvC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/static/date-range-input/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAKxC,eAAO,MAAM,oBAAoB,4BAG9B;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;;;CAaA,CAAA;AAED,eAAO,MAAM,uBAAuB,WAAW,KAAK,EAAE;;;CAYrD,CAAA;AAED,eAAO,MAAM,uBAAuB,4BAGjC;IACD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,WAWA,CAAA;AAED,eAAO,MAAM,aAAa,SAAU,IAAI,KAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAKjE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { LoaderIndicatorProps } from './LoaderIndicator';
2
+ interface FullScreenLoaderProps {
3
+ containerClassName?: string;
4
+ indicatorProps?: LoaderIndicatorProps;
5
+ }
6
+ export declare const FullScreenLoader: ({ containerClassName, indicatorProps, }: FullScreenLoaderProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=FullScreenLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FullScreenLoader.d.ts","sourceRoot":"","sources":["../../../src/static/loader/FullScreenLoader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAEzE,UAAU,qBAAqB;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,cAAc,CAAC,EAAE,oBAAoB,CAAA;CACtC;AAED,eAAO,MAAM,gBAAgB,4CAG1B,qBAAqB,4CAIvB,CAAA"}
@@ -0,0 +1,41 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import clsx from 'clsx';
3
+ import { LoaderIndicator } from './LoaderIndicator.js';
4
+
5
+ function _define_property(obj, key, value) {
6
+ if (key in obj) {
7
+ Object.defineProperty(obj, key, {
8
+ value: value,
9
+ enumerable: true,
10
+ configurable: true,
11
+ writable: true
12
+ });
13
+ } else {
14
+ obj[key] = value;
15
+ }
16
+ return obj;
17
+ }
18
+ function _object_spread(target) {
19
+ for(var i = 1; i < arguments.length; i++){
20
+ var source = arguments[i] != null ? arguments[i] : {};
21
+ var ownKeys = Object.keys(source);
22
+ if (typeof Object.getOwnPropertySymbols === "function") {
23
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
24
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
25
+ }));
26
+ }
27
+ ownKeys.forEach(function(key) {
28
+ _define_property(target, key, source[key]);
29
+ });
30
+ }
31
+ return target;
32
+ }
33
+ var FullScreenLoader = function(param) {
34
+ var containerClassName = param.containerClassName, indicatorProps = param.indicatorProps;
35
+ return /*#__PURE__*/ jsx("div", {
36
+ className: clsx('fullscreen-loader', containerClassName),
37
+ children: /*#__PURE__*/ jsx(LoaderIndicator, _object_spread({}, indicatorProps))
38
+ });
39
+ };
40
+
41
+ export { FullScreenLoader };
@@ -1,10 +1,9 @@
1
- import { ReactNode } from 'react';
1
+ import { PropsWithChildren } from 'react';
2
2
  import ILoaderOptions from '../../types/static/ILoaderOptions';
3
3
  export interface LoaderIndicatorProps {
4
- children?: ReactNode | ReactNode[];
5
4
  isLoaded?: boolean;
6
5
  options?: ILoaderOptions;
7
6
  className?: string;
8
7
  }
9
- export declare function LoaderIndicator(props: LoaderIndicatorProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function LoaderIndicator(props: PropsWithChildren<LoaderIndicatorProps>): import("react/jsx-runtime").JSX.Element;
10
9
  //# sourceMappingURL=LoaderIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoaderIndicator.d.ts","sourceRoot":"","sources":["../../../src/static/loader/LoaderIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAE9D,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAmC1D"}
1
+ {"version":3,"file":"LoaderIndicator.d.ts","sourceRoot":"","sources":["../../../src/static/loader/LoaderIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAE9D,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,2CAsC/C"}
@@ -49,12 +49,14 @@ function LoaderIndicator(props) {
49
49
  position: 'absolute'
50
50
  };
51
51
  var mergedOptions = _object_spread({}, defaultOptions, options);
52
- return /*#__PURE__*/ jsx(ReactLoader.default, {
52
+ return(// TODO Remove this library, it's deprecated and even removed from npm packages
53
+ // @ts-expect-error
54
+ /*#__PURE__*/ jsx(ReactLoader.default, {
53
55
  loaded: isLoaded,
54
56
  options: mergedOptions,
55
57
  className: "spinner ".concat(className),
56
58
  children: children
57
- });
59
+ }));
58
60
  }
59
61
 
60
62
  export { LoaderIndicator };
@@ -5,4 +5,5 @@ export { ButtonLoader } from './ButtonLoader';
5
5
  export { SnippetLoader } from './SnippetLoader';
6
6
  export { PaymentLoader } from './PaymentLoader';
7
7
  export type { PaymentLoaderProps } from './PaymentLoader';
8
+ export { FullScreenLoader } from './FullScreenLoader';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/static/loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/static/loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -6,7 +6,6 @@
6
6
  font-weight: 300;
7
7
  width: 100%;
8
8
 
9
-
10
9
  .indicator-label {
11
10
  text-overflow: ellipsis;
12
11
  white-space: nowrap;
@@ -25,8 +24,6 @@
25
24
  }
26
25
  }
27
26
 
28
-
29
-
30
27
  .activity-card {
31
28
  .availability-indicator {
32
29
  margin-top: 0.5rem;
@@ -179,7 +179,7 @@
179
179
  .form-disable-box {
180
180
  top: 20rem;
181
181
  }
182
- }
182
+ }
183
183
  }
184
184
 
185
185
  @include media-breakpoint-up(md) {
@@ -27,6 +27,15 @@
27
27
  }
28
28
  }
29
29
 
30
+ .fullscreen-loader {
31
+ width: 100vw;
32
+ height: 100vh;
33
+ position: fixed;
34
+ z-index: 5000;
35
+ top: 0;
36
+ left: 0;
37
+ }
38
+
30
39
  .payment-loader {
31
40
  position: absolute;
32
41
  top: 50%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.71.6-dev.0",
3
+ "version": "0.71.6-dev.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -42,9 +42,9 @@
42
42
  ]
43
43
  },
44
44
  "peerDependencies": {
45
- "@licklist/core": "0.31.2-dev.3",
45
+ "@licklist/core": "0.31.2-dev.5",
46
46
  "@licklist/eslint-config": "0.5.6",
47
- "@licklist/plugins": "0.35.0-dev.0",
47
+ "@licklist/plugins": "0.35.1-dev.5",
48
48
  "lodash": "4.17.21",
49
49
  "luxon": "3.5.0",
50
50
  "react": "17.0.2",
@@ -61,9 +61,9 @@
61
61
  "@dnd-kit/utilities": "2.0.0",
62
62
  "@fortawesome/fontawesome-svg-core": "1.2.34",
63
63
  "@fortawesome/free-solid-svg-icons": "5.15.2",
64
- "@licklist/core": "0.31.2-dev.3",
64
+ "@licklist/core": "0.31.2-dev.5",
65
65
  "@licklist/eslint-config": "0.5.6",
66
- "@licklist/plugins": "0.35.0-dev.0",
66
+ "@licklist/plugins": "0.35.1-dev.5",
67
67
  "@mantine/core": "6.0.22",
68
68
  "@mantine/hooks": "6.0.22",
69
69
  "@mdx-js/react": "1.6.22",
@@ -8,11 +8,15 @@ function AuthNavComponent() {
8
8
 
9
9
  return (
10
10
  <Router>
11
+ {/* TODO fix issue react router types
12
+ @ts-expect-error */}
11
13
  <Link to='/login'>
12
14
  <StyledButton size='sm' className='rounded-pill mr-2'>
13
15
  {t('login')}
14
16
  </StyledButton>
15
17
  </Link>
18
+ {/* TODO fix issue react router types
19
+ @ts-expect-error */}
16
20
  <Link to='/register'>
17
21
  <StyledButton
18
22
  size='sm'
@@ -112,6 +112,8 @@ const LoginComponent = ({
112
112
  {!hideSignUpLink && (
113
113
  <h6 className='text-center'>
114
114
  <Trans t={t} i18nKey='loginPromo'>
115
+ {/* TODO fix issue react router types
116
+ @ts-expect-error */}
115
117
  Don&apos;t have account? <Link to='/register'>Sign up</Link>.
116
118
  </Trans>
117
119
  </h6>
@@ -147,6 +147,8 @@ function LoginFormComponent(props: LoginFormComponentProps) {
147
147
  <p className='text-center mb-0 mt-3'>
148
148
  <Trans t={t} i18nKey='User:resetPromo'>
149
149
  Forgot your password?{' '}
150
+ {/* TODO fix issue react router types
151
+ @ts-expect-error */}
150
152
  <Link
151
153
  to='/forgot-password'
152
154
  className={[isLoading && 'disabled'].join(' ')}
@@ -105,6 +105,8 @@ function RegisterComponent({
105
105
  <h6 className='text-center'>
106
106
  <Trans t={t} i18nKey='registerPromo'>
107
107
  Fill out the form below to sign up for {{ name: t('bookedit') }}
108
+ {/* TODO fix issue react router types
109
+ @ts-expect-error */}
108
110
  . Already signed up? Then just <Link to='/login'>Log in</Link>.
109
111
  </Trans>
110
112
  </h6>
@@ -400,10 +400,14 @@ function RegisterFormComponent({
400
400
  <Trans t={t} i18nKey='User:agreementsPromo'>
401
401
  By creating an account, I agree to {{ name: t('User:bookedit') }}
402
402
  &apos;s{' '}
403
+ {/* TODO fix issue react router types
404
+ @ts-expect-error */}
403
405
  <Link to='/terms' className={[isLoading && 'disabled'].join(' ')}>
404
406
  terms of service
405
407
  </Link>{' '}
406
408
  and{' '}
409
+ {/* TODO fix issue react router types
410
+ @ts-expect-error */}
407
411
  <Link to='/privacy' className={[isLoading && 'disabled'].join(' ')}>
408
412
  privacy policy
409
413
  </Link>
@@ -97,6 +97,8 @@ function ResetPasswordFormComponent(props: ResetPasswordFormComponentProps) {
97
97
  <p className='text-center mb-0 mt-3'>
98
98
  <Trans t={t} i18nKey='User:signinPromo'>
99
99
  Already a user?{' '}
100
+ {/* TODO fix issue react router types
101
+ @ts-expect-error */}
100
102
  <Link to='/login' className={[isLoading && 'disabled'].join(' ')}>
101
103
  Sign in
102
104
  </Link>
@@ -106,6 +108,8 @@ function ResetPasswordFormComponent(props: ResetPasswordFormComponentProps) {
106
108
  <p className='text-center mb-0 mt-3'>
107
109
  <Trans t={t} i18nKey='User:loginPromo'>
108
110
  Don&apos;t have an account?{' '}
111
+ {/* TODO fix issue react router types
112
+ @ts-expect-error */}
109
113
  <Link
110
114
  to='/register'
111
115
  className={[isLoading && 'disabled'].join(' ')}
@@ -29,6 +29,8 @@ function Router(props: RouterProps) {
29
29
  }
30
30
  }, [])
31
31
 
32
+ // TODO fix issue react router types
33
+ // @ts-expect-error
32
34
  return <BrowserRouter history={history}>{children}</BrowserRouter>
33
35
  }
34
36
 
@@ -28,7 +28,7 @@ Default.args = {
28
28
  fromPrice: 'from £10',
29
29
  selectedDate: null,
30
30
  setSelectedDate: () => null,
31
- calendarDates: getMonthCalendarDates(now),
31
+ calendarDates: getMonthCalendarDates({ initialDate: now }),
32
32
  currentDate: now,
33
33
  getDateTimeButtonProps: () => ({
34
34
  resources: [],
@@ -50,7 +50,7 @@ Loading.args = {
50
50
  fromPrice: 'from £10',
51
51
  selectedDate: null,
52
52
  setSelectedDate: () => null,
53
- calendarDates: getMonthCalendarDates(now),
53
+ calendarDates: getMonthCalendarDates({ initialDate: now }),
54
54
  currentDate: now,
55
55
  getDateTimeButtonProps: () => ({
56
56
  resources: [],
@@ -3,7 +3,7 @@ import { DateTime, Interval } from 'luxon'
3
3
 
4
4
  type Builder = (args: {
5
5
  initialDate?: DateTime
6
- timeZone: TimeZone['name']
6
+ timeZone?: TimeZone['name']
7
7
  }) => DateTime[]
8
8
 
9
9
  export const getMonthCalendarDates: Builder = ({
@@ -28,11 +28,13 @@ export const DEADLINE_NAME = [
28
28
 
29
29
  export type DeadLineNameType = (typeof DEADLINE_NAME)[number]
30
30
 
31
- type SaleDeadlineType = {
32
- saleDeadline: null | number
33
- } | {
34
- [key: string] : null | number
35
- }
31
+ type SaleDeadlineType =
32
+ | {
33
+ saleDeadline: null | number
34
+ }
35
+ | {
36
+ [key: string]: null | number
37
+ }
36
38
 
37
39
  export const SaleDeadline = ({
38
40
  disabled = false,
@@ -52,8 +54,8 @@ export const SaleDeadline = ({
52
54
  const [deadlineType, setDeadlineType] = useState<DeadlineType>(
53
55
  SALE_DEADLINE_BEFORE_TYPE,
54
56
  )
55
-
56
- const saleDeadline = watch(deadLineCategory || SALE_DEADLINE_NAME)
57
+
58
+ const saleDeadline = watch(deadLineCategory || SALE_DEADLINE_NAME)
57
59
 
58
60
  useEffect(() => {
59
61
  if (onlyBefore) return
@@ -2,24 +2,25 @@ import { DATE_FORMAT, DATE_TIME_FULL_FORMAT } from '@licklist/core/dist/Config'
2
2
  import { EventStatistic } from '@licklist/core/dist/DataMapper/Provider/EventStatisticDataMapper'
3
3
  import { DateTime } from 'luxon'
4
4
 
5
- export const MIN_EVENT_DESCRIPTION_SIZE = 150;
6
- export const EVENT_DESCRIPTION_SIZE = 350;
7
- export const EMOJI_REGEX = /<span data-emoji-replacer=""><img[^>]*alt="([^"]+)"[^>]*><\/span>/g;
5
+ export const MIN_EVENT_DESCRIPTION_SIZE = 150
6
+ export const EVENT_DESCRIPTION_SIZE = 350
7
+ export const EMOJI_REGEX =
8
+ /<span data-emoji-replacer=""><img[^>]*alt="([^"]+)"[^>]*><\/span>/g
8
9
 
9
10
  export const formatContent = (content, maxLength = EVENT_DESCRIPTION_SIZE) => {
10
- if (!content) return '';
11
+ if (!content) return ''
11
12
 
12
- const replacedContent = replaceEmojiImagesWithText(content);
13
+ const replacedContent = replaceEmojiImagesWithText(content)
13
14
 
14
15
  if (replacedContent.length <= maxLength) {
15
- return replacedContent;
16
+ return replacedContent
16
17
  }
17
18
 
18
- return replacedContent.slice(0, maxLength).concat('...');
19
- };
19
+ return replacedContent.slice(0, maxLength).concat('...')
20
+ }
20
21
 
21
22
  function replaceEmojiImagesWithText(text) {
22
- return text.replace(EMOJI_REGEX, (_, emojiText) => emojiText);
23
+ return text.replace(EMOJI_REGEX, (_, emojiText) => emojiText)
23
24
  }
24
25
 
25
26
  /**
@@ -25,7 +25,7 @@ export const EventStatisticModal = ({
25
25
  }: EventStatisticModalProps) => {
26
26
  const { t } = useTranslation('Design')
27
27
 
28
- const data = useTableData(date, eventStatistic, eventId )
28
+ const data = useTableData(date, eventStatistic, eventId)
29
29
  const handleClose = () => {
30
30
  setIsOpen(false)
31
31
  }
@@ -11,7 +11,7 @@ import { StaticTableData } from '../../../table'
11
11
  export const useTableData = (
12
12
  date: Event['startAt'] | null,
13
13
  eventStatistic: EventStatistic | null,
14
- eventId: string
14
+ eventId: string,
15
15
  ) => {
16
16
  const { t } = useTranslation('Design')
17
17
  const { formatNumber } = useIntl()
@@ -34,7 +34,6 @@ export const useTableData = (
34
34
  const transformStatisticToTableRows = (
35
35
  date: Event['startAt'],
36
36
  statistic: EventStatistic | null,
37
- eventId: string
38
37
  ) => {
39
38
  if (!statistic) {
40
39
  return []
@@ -42,7 +41,7 @@ export const useTableData = (
42
41
 
43
42
  const tableDataRows: StaticTableData[] = []
44
43
 
45
- convertEventStatisticToTableData(date, statistic, eventId).forEach(
44
+ convertEventStatisticToTableData(date, statistic).forEach(
46
45
  ({ name, quantity, total, isBold, isHeader, key }) => {
47
46
  const formattedTotal = !Object.keys(TRANSLATION_KEYS).includes(
48
47
  String(total),
@@ -84,7 +83,7 @@ export const useTableData = (
84
83
  }
85
84
 
86
85
  useEffect(() => {
87
- setTableRows(transformStatisticToTableRows(date, eventStatistic, eventId))
86
+ setTableRows(transformStatisticToTableRows(date, eventStatistic))
88
87
  // eslint-disable-next-line react-hooks/exhaustive-deps
89
88
  }, [date, eventId, eventStatistic])
90
89
 
@@ -98,9 +98,10 @@ export const convertEventStatisticToTableData = (
98
98
  (summary) => summary.originalProductId === productSummary.id,
99
99
  )
100
100
 
101
- const maxTotalQuantity = maxBy(overrides, 'id').totalQuantity
101
+ const maxTotalQuantity = maxBy(overrides, 'id')?.totalQuantity
102
102
 
103
- const totalQuantity = maxTotalQuantity || productSummary.totalQuantity
103
+ const totalQuantity =
104
+ maxTotalQuantity || productSummary?.totalQuantity
104
105
 
105
106
  summaryMap.set(`${categoryName}.${productSummary.name}`, {
106
107
  name: productSummary.name,
@@ -21,7 +21,6 @@ export const BookingSummary = ({
21
21
  productsWithErrors = [],
22
22
  isLoading,
23
23
  hasPeopleInput,
24
- isPaymentLink,
25
24
  peopleAmount,
26
25
  footer,
27
26
  headerComponent,
@@ -62,7 +61,6 @@ export const BookingSummary = ({
62
61
  <div className='products-by-menu-step'>
63
62
  {menuSteps.map((menuStep) => (
64
63
  <ProductsByMenuStep
65
- isPaymentLink={isPaymentLink}
66
64
  key={menuStep.id}
67
65
  orderItems={formValues}
68
66
  step={menuStep}
@@ -7,22 +7,17 @@ type ProductSummaryProps = {
7
7
  name?: string
8
8
  productQuantityError?: string
9
9
  orderProduct: OrderItem
10
- isPaymentLink?: boolean
11
10
  }
12
11
 
13
12
  export const ProductSummary = ({
14
13
  name,
15
14
  productQuantityError,
16
15
  orderProduct,
17
- isPaymentLink,
18
16
  }: ProductSummaryProps) => {
19
17
  const { t } = useTranslation('Design')
20
18
  const { formatNumber } = useIntl()
21
19
 
22
- const priceForOneProduct =
23
- !isPaymentLink && orderProduct?.hasDeposit
24
- ? orderProduct?.deposit
25
- : orderProduct?.price
20
+ const priceForOneProduct = orderProduct?.price
26
21
 
27
22
  const fullPrice = formatNumber(priceForOneProduct * orderProduct?.quantity, {
28
23
  style: 'currency',
@@ -28,14 +28,12 @@ export type ProductsByMenuStepsProps = {
28
28
  orderItems: OrderItems
29
29
  step: MenuStep
30
30
  productsWithErrors?: QuantityCheckProductInfo[]
31
- isPaymentLink?: boolean
32
31
  }
33
32
 
34
33
  export const ProductsByMenuStep = ({
35
34
  orderItems,
36
35
  step,
37
36
  productsWithErrors = [],
38
- isPaymentLink,
39
37
  }: ProductsByMenuStepsProps) => {
40
38
  const { productCategories } = step
41
39
 
@@ -63,7 +61,6 @@ export const ProductsByMenuStep = ({
63
61
 
64
62
  return (
65
63
  <ProductSummary
66
- isPaymentLink={isPaymentLink}
67
64
  key={orderItem.id}
68
65
  name={orderItem.name}
69
66
  productQuantityError={productQuantityError}