@licklist/design 0.70.10-dev.0 → 0.70.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 (172) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  2. package/dist/assets/iframe/available.svg +4 -4
  3. package/dist/assets/iframe/available.svg.js +18 -16
  4. package/dist/auth/Login/LoginComponent.js +1 -2
  5. package/dist/availability-indicator/AvailabilityIndicator.d.ts +2 -4
  6. package/dist/availability-indicator/AvailabilityIndicator.d.ts.map +1 -1
  7. package/dist/availability-indicator/AvailabilityIndicator.js +18 -112
  8. package/dist/calendar/Calendar.d.ts +0 -2
  9. package/dist/calendar/Calendar.d.ts.map +1 -1
  10. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +2 -2
  11. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  12. package/dist/calendar/components/CalendarDates/CalendarDates.js +11 -12
  13. package/dist/calendar/components/CalendarWeekdays/CalendarWeekdays.js +3 -2
  14. package/dist/calendar/utils/index.d.ts +2 -8
  15. package/dist/calendar/utils/index.d.ts.map +1 -1
  16. package/dist/calendar/utils/index.js +21 -9
  17. package/dist/date-time-button/DateContent.d.ts.map +1 -1
  18. package/dist/date-time-button/DateContent.js +3 -3
  19. package/dist/date-time-button/DateTimeButton.d.ts +1 -3
  20. package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
  21. package/dist/date-time-button/DateTimeButton.js +3 -5
  22. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -3
  23. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  24. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
  25. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  26. package/dist/events/event-venue-map/EventVenueMap.js +0 -1
  27. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  28. package/dist/events/event-venue-map/hooks/useCanvasSize.js +4 -11
  29. package/dist/iframe/activity-card/ActivityCard.d.ts +1 -3
  30. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  31. package/dist/iframe/activity-card/ActivityCard.js +3 -5
  32. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  33. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +0 -13
  34. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  35. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  36. package/dist/iframe/ryft/utils/ryft-form.js +5 -4
  37. package/dist/layout/DropDown.d.ts +1 -2
  38. package/dist/layout/DropDown.d.ts.map +1 -1
  39. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  40. package/dist/notification/email-template/control/EmailTemplateControl.js +0 -3
  41. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  42. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  43. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  44. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  45. package/dist/product-set/form/ProductSetForm.js +1 -1
  46. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  47. package/dist/product-set/form/ProductZonesControl.js +2 -0
  48. package/dist/product-set/form/ProductsControl.js +0 -1
  49. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  50. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  51. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  52. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  53. package/dist/product-set/form/SubProductsControl.js +3 -0
  54. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  55. package/dist/product-set/form/VenueMapsControl.js +3 -0
  56. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  57. package/dist/product-set/product/advanced-options/AdvancedOptions.js +0 -1
  58. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  59. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +0 -6
  60. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  61. package/dist/product-set/product/deposit/ProductDepositControl.js +0 -3
  62. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  63. package/dist/product-set/product/duration/ProductDurationControl.js +0 -6
  64. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  65. package/dist/product-set/product/price/ProductPriceControl.js +0 -3
  66. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  67. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +0 -6
  68. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  69. package/dist/product-set/product/quantity/ProductQuantityControl.js +0 -6
  70. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  71. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -4
  72. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  73. package/dist/product-set/product-category/ProductCategoryControl.js +0 -12
  74. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  75. package/dist/recurrence-input/RecurrenceEndInput.js +0 -3
  76. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  77. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  78. package/dist/resource/form/components/CapacityControl.js +0 -3
  79. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  80. package/dist/resource/form/components/SortControl.js +0 -3
  81. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  82. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  83. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  84. package/dist/sales/coupon/control/CouponFormControl.js +0 -21
  85. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  86. package/dist/setting/admin/PaymentFeeForm.js +1 -16
  87. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  88. package/dist/setting/dashboard/DashboardSettingForm.js +1 -4
  89. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  90. package/dist/snippet/snippet-template/preview/Preview.js +0 -8
  91. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  92. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  93. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  94. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  95. package/dist/static/CurrencyNumberInput.js +0 -3
  96. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  97. package/dist/static/form-number-input/FormNumberInput.js +0 -3
  98. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  99. package/dist/static/number-input/NumberInput.js +0 -3
  100. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  101. package/dist/styles/date-time-button/DateTimeButton.scss +1 -2
  102. package/dist/styles/iframe-events/Calendar.scss +12 -9
  103. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  104. package/dist/styles/iframe-page/PageBody.scss +0 -1
  105. package/dist/styles/product-set/ProductSetForm.scss +0 -22
  106. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +3 -1
  107. package/dist/styles/sales/BookingResults.scss +1 -1
  108. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  109. package/dist/zone/form/components/GameDurationControl.js +0 -3
  110. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  111. package/dist/zone/form/components/SortControl.js +0 -3
  112. package/package.json +6 -8
  113. package/src/affiliate/form/AffiliateForm.tsx +0 -1
  114. package/src/assets/iframe/available.svg +4 -4
  115. package/src/auth/Login/LoginComponent.tsx +1 -1
  116. package/src/availability-indicator/AvailabilityIndicator.tsx +17 -92
  117. package/src/calendar/Calendar.tsx +0 -2
  118. package/src/calendar/components/CalendarDates/CalendarDates.tsx +1 -5
  119. package/src/calendar/components/CalendarWeekdays/CalendarWeekdays.tsx +2 -2
  120. package/src/calendar/utils/index.ts +26 -17
  121. package/src/date-time-button/DateContent.tsx +3 -3
  122. package/src/date-time-button/DateTimeButton.tsx +3 -7
  123. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
  124. package/src/events/event-venue-map/EventVenueMap.tsx +0 -1
  125. package/src/events/event-venue-map/hooks/useCanvasSize.ts +1 -5
  126. package/src/iframe/activity-card/ActivityCard.tsx +2 -15
  127. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
  128. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  129. package/src/iframe/ryft/utils/ryft-form.ts +5 -6
  130. package/src/layout/DropDown.tsx +1 -1
  131. package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
  132. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  133. package/src/product-set/form/ProductSetForm.tsx +2 -6
  134. package/src/product-set/form/ProductZonesControl.tsx +4 -1
  135. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  136. package/src/product-set/form/SubProductsControl.tsx +3 -0
  137. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  138. package/src/product-set/product/ProductControl.tsx +1 -0
  139. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  140. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +0 -2
  141. package/src/product-set/product/deposit/ProductDepositControl.tsx +0 -1
  142. package/src/product-set/product/duration/ProductDurationControl.tsx +0 -2
  143. package/src/product-set/product/price/ProductPriceControl.tsx +0 -1
  144. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +0 -2
  145. package/src/product-set/product/quantity/ProductQuantityControl.tsx +0 -2
  146. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +0 -1
  147. package/src/product-set/product-category/ProductCategoryControl.tsx +0 -4
  148. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  149. package/src/recurrence-input/RecurrenceEndInput.tsx +0 -1
  150. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +0 -1
  151. package/src/resource/form/components/CapacityControl.tsx +0 -1
  152. package/src/resource/form/components/SortControl.tsx +0 -1
  153. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  154. package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
  155. package/src/setting/admin/PaymentFeeForm.tsx +0 -5
  156. package/src/setting/dashboard/DashboardSettingForm.tsx +0 -1
  157. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  158. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  159. package/src/static/CurrencyNumberInput.tsx +0 -1
  160. package/src/static/form-number-input/FormNumberInput.tsx +0 -1
  161. package/src/static/number-input/NumberInput.tsx +0 -1
  162. package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  163. package/src/styles/date-time-button/DateTimeButton.scss +1 -2
  164. package/src/styles/iframe-events/Calendar.scss +12 -9
  165. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  166. package/src/styles/iframe-page/PageBody.scss +0 -1
  167. package/src/styles/product-set/ProductSetForm.scss +0 -22
  168. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +3 -1
  169. package/src/styles/sales/BookingResults.scss +1 -1
  170. package/src/zone/form/components/GameDurationControl.tsx +0 -1
  171. package/src/zone/form/components/SortControl.tsx +0 -1
  172. package/yarn.lock +38 -51
@@ -1,7 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Image } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
3
3
  import { ZoneResourcesAvailability } from '@licklist/core/dist/DataMapper/Order/ZoneResourcesAvailabilityDataMapper';
4
- import { AvailabilityFormat } from '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
5
4
  export declare const LAYOUT_GRID = "grid";
6
5
  export declare const LAYOUT_LIST = "list";
7
6
  export type ActivityCardProps = {
@@ -15,7 +14,6 @@ export type ActivityCardProps = {
15
14
  availableTimes?: string | null;
16
15
  image?: Image | null;
17
16
  resources?: ZoneResourcesAvailability;
18
- availabilityFormat?: AvailabilityFormat | null;
19
17
  };
20
- export declare const ActivityCard: ({ title, duration, price, description, availableTimes, image, onSelect, isSelected, layout, availabilityFormat, resources, }: ActivityCardProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const ActivityCard: ({ title, duration, price, description, availableTimes, image, onSelect, isSelected, layout, resources, }: ActivityCardProps) => import("react/jsx-runtime").JSX.Element;
21
19
  //# sourceMappingURL=ActivityCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityCard.d.ts","sourceRoot":"","sources":["../../../src/iframe/activity-card/ActivityCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAA;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0EAA0E,CAAA;AACpH,OAAO,EAAE,kBAAkB,EAAE,MAAM,2DAA2D,CAAA;AAG9F,eAAO,MAAM,WAAW,SAAS,CAAA;AACjC,eAAO,MAAM,WAAW,SAAS,CAAA;AAEjC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,SAAS,CAAA;IAChB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,WAAW,GAAG,OAAO,WAAW,CAAA;IAChD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,yBAAyB,CAAA;IACrC,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAA;CAC/C,CAAA;AAED,eAAO,MAAM,YAAY,iIAYtB,iBAAiB,4CA6DnB,CAAA"}
1
+ {"version":3,"file":"ActivityCard.d.ts","sourceRoot":"","sources":["../../../src/iframe/activity-card/ActivityCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAA;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0EAA0E,CAAA;AAGpH,eAAO,MAAM,WAAW,SAAS,CAAA;AACjC,eAAO,MAAM,WAAW,SAAS,CAAA;AAEjC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,SAAS,CAAA;IAChB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,WAAW,GAAG,OAAO,WAAW,CAAA;IAChD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,yBAAyB,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,YAAY,6GAWtB,iBAAiB,4CAmDnB,CAAA"}
@@ -5,7 +5,7 @@ import { AvailabilityIndicator } from '../../availability-indicator/Availability
5
5
  var LAYOUT_GRID = 'grid';
6
6
  var LAYOUT_LIST = 'list';
7
7
  var ActivityCard = function(param) {
8
- var title = param.title, duration = param.duration, price = param.price, description = param.description, availableTimes = param.availableTimes, image = param.image, onSelect = param.onSelect, isSelected = param.isSelected, _param_layout = param.layout, layout = _param_layout === void 0 ? LAYOUT_GRID : _param_layout, availabilityFormat = param.availabilityFormat, resources = param.resources;
8
+ var title = param.title, duration = param.duration, price = param.price, description = param.description, availableTimes = param.availableTimes, image = param.image, onSelect = param.onSelect, isSelected = param.isSelected, _param_layout = param.layout, layout = _param_layout === void 0 ? LAYOUT_GRID : _param_layout, resources = param.resources;
9
9
  if (layout === LAYOUT_GRID) {
10
10
  return /*#__PURE__*/ jsxs("button", {
11
11
  type: "button",
@@ -35,8 +35,7 @@ var ActivityCard = function(param) {
35
35
  children: description
36
36
  }),
37
37
  resources && /*#__PURE__*/ jsx(AvailabilityIndicator, {
38
- resources: resources,
39
- availabilityFormat: availabilityFormat
38
+ resources: resources
40
39
  })
41
40
  ]
42
41
  })
@@ -75,8 +74,7 @@ var ActivityCard = function(param) {
75
74
  children: description
76
75
  }),
77
76
  resources && /*#__PURE__*/ jsx(AvailabilityIndicator, {
78
- resources: resources,
79
- availabilityFormat: availabilityFormat
77
+ resources: resources
80
78
  })
81
79
  ]
82
80
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,+GAyGvB,CAAA"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,+GAgGvB,CAAA"}
@@ -54,9 +54,6 @@ var NumberInput = /*#__PURE__*/ forwardRef(function(param, ref) {
54
54
  onChange: function(e) {
55
55
  return handleChangeValue(Number(e.target.value));
56
56
  },
57
- onWheel: function(event) {
58
- return event.currentTarget.blur();
59
- },
60
57
  value: value,
61
58
  min: 0,
62
59
  max: max,
@@ -69,16 +66,6 @@ var NumberInput = /*#__PURE__*/ forwardRef(function(param, ref) {
69
66
  /*#__PURE__*/ jsx("button", {
70
67
  type: "button",
71
68
  onClick: handleArrowUpClick,
72
- onWheel: function(event) {
73
- return event.currentTarget.blur();
74
- },
75
- onFocus: function(event) {
76
- return event.target.addEventListener('wheel', function(event) {
77
- return event.preventDefault();
78
- }, {
79
- passive: false
80
- });
81
- },
82
69
  className: "payment-number-input__btn-up ".concat(plusButtonGreyedOut && 'disabled-number-input-button'),
83
70
  disabled: disabled,
84
71
  children: "+"
@@ -1 +1 @@
1
- {"version":3,"file":"paymentSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/order-items-table/utils/paymentSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,oBAAoB,EAEpB,WAAW,EAEZ,MAAM,UAAU,CAAA;AA4FjB,eAAO,MAAM,oBAAoB,oEAK9B,oBAAoB,KAAG,WAAW,EAUpC,CAAA"}
1
+ {"version":3,"file":"paymentSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/order-items-table/utils/paymentSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,oBAAoB,EAEpB,WAAW,EAEZ,MAAM,UAAU,CAAA;AA2FjB,eAAO,MAAM,oBAAoB,oEAK9B,oBAAoB,KAAG,WAAW,EAUpC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ryft-form.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ryft/utils/ryft-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEzD,UAAU,0BACR,SAAQ,IAAI,CACV,oBAAoB,EACpB,uBAAuB,GAAG,oBAAoB,CAC/C;IACD,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,+BAA+B,CAAC,EAAE,OAAO,CAAA;CAC1C;AAED,eAAO,MAAM,0BAA0B,wGAMpC,0BAA0B,SA8E5B,CAAA"}
1
+ {"version":3,"file":"ryft-form.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ryft/utils/ryft-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEzD,UAAU,0BACR,SAAQ,IAAI,CACV,oBAAoB,EACpB,uBAAuB,GAAG,oBAAoB,CAC/C;IACD,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,+BAA+B,CAAC,EAAE,OAAO,CAAA;CAC1C;AAED,eAAO,MAAM,0BAA0B,wGAMpC,0BAA0B,SA6E5B,CAAA"}
@@ -39,17 +39,17 @@ var injectComponentsInRyftForm = function(param) {
39
39
  divider.id = 'mobile-pay-divider';
40
40
  container.id = 'mobile-pay-divider-container';
41
41
  container.append(dividerText, divider);
42
- var payIframe = document.getElementById('ryft-pay-iframe');
42
+ var payIframe = document.getElementById("ryft-pay-iframe");
43
43
  if (payIframe) {
44
44
  var formBox = document.getElementById('form-disable-box');
45
45
  if (formBox) {
46
- formBox.style.display = isDisableButton ? 'block' : 'none';
46
+ formBox.style.display = isDisableButton ? "block" : "none";
47
47
  }
48
48
  var googleButton = document.getElementById('gpay-button-online-api-id');
49
- var appleButton = document.getElementById('ryft-pay-apple-pay-button');
49
+ var appleButton = document.getElementById("ryft-pay-apple-pay-button");
50
50
  if (googleButton) {
51
51
  googleButton.disabled = isDisableButton;
52
- googleButton.style.opacity = !isDisableButton ? '1' : '0.6';
52
+ googleButton.style.opacity = isDisableButton ? '1' : '0.6';
53
53
  }
54
54
  if (appleButton) {
55
55
  appleButton.disabled = isDisableButton;
@@ -60,6 +60,7 @@ var injectComponentsInRyftForm = function(param) {
60
60
  var applePayButton = document.createElement('button');
61
61
  applePayButton.id = 'apple-pay';
62
62
  applePayButton.type = 'button';
63
+ applePayButton.style.opacity = !isDisableButton ? '1' : '0.6';
63
64
  applePayButton.className = 'bg-dark btn btn-primary apple-pay-button';
64
65
  applePayButton.textContent = t('Events:payWithApple');
65
66
  applePayButton.onclick = onApplePayButtonClick;
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  interface Props {
3
2
  children?: React.ReactNode | React.ReactNode[];
4
3
  style?: any;
5
4
  className?: any;
6
5
  'aria-laballedby'?: any;
7
6
  }
8
- declare const DropDown: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
7
+ declare const DropDown: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
9
8
  export default DropDown;
10
9
  //# sourceMappingURL=DropDown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC9C,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED,QAAA,MAAM,QAAQ,uEAcZ,CAAA;AAIF,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC9C,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED,QAAA,MAAM,QAAQ,2FAcZ,CAAA;AAIF,eAAe,QAAQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"EmailTemplateControl.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/control/EmailTemplateControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EAEf,MAAM,sEAAsE,CAAA;AAG7E,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAA;AAM7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAMzG,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAA;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACtC,4BAA4B,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,KAAK,MAAM,CAAA;CAC1E;AAED,eAAO,MAAM,oBAAoB,+GAsahC,CAAA"}
1
+ {"version":3,"file":"EmailTemplateControl.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/control/EmailTemplateControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EAEf,MAAM,sEAAsE,CAAA;AAG7E,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAA;AAM7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAMzG,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAA;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACtC,4BAA4B,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,KAAK,MAAM,CAAA;CAC1E;AAED,eAAO,MAAM,oBAAoB,+GAqahC,CAAA"}
@@ -631,9 +631,6 @@ var EmailTemplateControl = /*#__PURE__*/ forwardRef(function(param, ref) {
631
631
  }),
632
632
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({}, register("templateOptionValues.".concat(option === null || option === void 0 ? void 0 : option.id, ".value"))), {
633
633
  type: "number",
634
- onWheel: function(event) {
635
- return event.currentTarget.blur();
636
- },
637
634
  placeholder: t("Design:".concat(option.name)),
638
635
  id: option.name + option.id,
639
636
  defaultValue: option.selectedValue || ''
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCategoriesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductCategoriesControl.tsx"],"names":[],"mappings":"AAaA,OAAO,EAKL,YAAY,EACb,MAAM,kEAAkE,CAAA;AAQzE,OAAO,EAAwB,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAoCtE,UAAU,6BAA8B,SAAQ,aAAa;IAC3D,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;AA0BD,wBAAgB,wBAAwB,CAAC,EACvC,SAAS,EACT,SAAS,EACT,WAAW,EACX,qBAAqB,EACrB,oBAAoB,GACrB,EAAE,6BAA6B,2CA4T/B;AAED,eAAO,MAAM,cAAc,iBACX,YAAY,SACnB,MAAM,KACZ;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,IAczC,CAAA"}
1
+ {"version":3,"file":"ProductCategoriesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductCategoriesControl.tsx"],"names":[],"mappings":"AAYA,OAAO,EAKL,YAAY,EACb,MAAM,kEAAkE,CAAA;AAQzE,OAAO,EAAwB,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAStE,UAAU,6BAA8B,SAAQ,aAAa;IAC3D,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;AA0BD,wBAAgB,wBAAwB,CAAC,EACvC,SAAS,EACT,SAAS,EACT,WAAW,EACX,qBAAqB,EACrB,oBAAoB,GACrB,EAAE,6BAA6B,2CAoT/B;AAED,eAAO,MAAM,cAAc,iBACX,YAAY,SACnB,MAAM,KACZ;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,IAczC,CAAA"}
@@ -1,10 +1,9 @@
1
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { useContext, useState, useEffect } from 'react';
3
3
  import HookFormService from '@licklist/plugins/dist/services/Form/HookFormService';
4
4
  import { uniqueId } from 'lodash';
5
5
  import { Badge } from 'react-bootstrap';
6
6
  import { useFormContext, useFieldArray, useWatch, Controller } from 'react-hook-form';
7
- import { FaTicketAlt, FaCalendar, FaBars, FaBowlingBall } from 'react-icons/fa';
8
7
  import { useTranslation } from 'react-i18next';
9
8
  import { useSensor, MouseSensor } from '@dnd-kit/core';
10
9
  import { CATEGORY_TYPE_GAME, CATEGORY_TYPE_FIXED_DURATION, QUANTITY_TYPE_STANDARD, CATEGORY_TYPE_TICKETS } from '@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper';
@@ -14,7 +13,7 @@ import { ProductSetModalClasses } from '../../sortable-tree/SortableTreeItem.js'
14
13
  import { CreateProductSetItem } from '../item/CreateProductSetItem.js';
15
14
  import { ProductCategoryControl } from '../product-category/ProductCategoryControl.js';
16
15
  import { ProductsControl } from './ProductsControl.js';
17
- import { CATEGORY_TYPES_NAMES, SelectCategoryModal } from './SelectCategoryModal.js';
16
+ import { SelectCategoryModal } from './SelectCategoryModal.js';
18
17
  import { ProductSetLoadingContext } from './context.js';
19
18
  import { VenueMapSetModal } from './VenueMapSetModal.js';
20
19
  import { sortArrayByIndex, moveArrayElements } from '../utils/index.js';
@@ -118,40 +117,6 @@ function _unsupported_iterable_to_array(o, minLen) {
118
117
  if (n === "Map" || n === "Set") return Array.from(n);
119
118
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
120
119
  }
121
- var _obj;
122
- // @TODO not for first release
123
- // import Popover from "./ProductSetFormPopover";
124
- var CATEGORIES_TYPE = (_obj = {}, _define_property(_obj, CATEGORY_TYPES_NAMES.tickets, {
125
- label: 'tickets',
126
- icon: /*#__PURE__*/ jsx(FaTicketAlt, {
127
- color: "#0e8ce2",
128
- size: 10
129
- })
130
- }), _define_property(_obj, CATEGORY_TYPES_NAMES.bookings, {
131
- label: 'bookings',
132
- icon: /*#__PURE__*/ jsx(FaCalendar, {
133
- color: "#0e8ce2",
134
- size: 10
135
- })
136
- }), _define_property(_obj, CATEGORY_TYPES_NAMES.menuItems, {
137
- label: 'menuItems',
138
- icon: /*#__PURE__*/ jsx(FaBars, {
139
- color: "#0e8ce2",
140
- size: 10
141
- })
142
- }), _define_property(_obj, CATEGORY_TYPES_NAMES.game, {
143
- label: 'game',
144
- icon: /*#__PURE__*/ jsx(FaBowlingBall, {
145
- color: "#0e8ce2",
146
- size: 10
147
- })
148
- }), _define_property(_obj, CATEGORY_TYPES_NAMES.fixedDuration, {
149
- label: 'fixedDuration',
150
- icon: /*#__PURE__*/ jsx(FaCalendar, {
151
- color: "#0e8ce2",
152
- size: 10
153
- })
154
- }), _obj);
155
120
  var getCategoryDefaultValue = function(categoryType, sort) {
156
121
  return {
157
122
  id: null,
@@ -285,7 +250,6 @@ function ProductCategoriesControl(param) {
285
250
  var onSetIsExpanded = function() {
286
251
  setIsExpanded(productCategoryId);
287
252
  };
288
- var categoryType = CATEGORIES_TYPE[productCategory.type];
289
253
  return /*#__PURE__*/ jsx(Controller, {
290
254
  name: "".concat(productCategoriesFieldName, ".").concat(index, ".name"),
291
255
  control: control,
@@ -335,16 +299,6 @@ function ProductCategoriesControl(param) {
335
299
  secondaryBadge: getBadgeConfig(productCategory.type, t(productCategory.type)),
336
300
  modalClass: ProductSetModalClasses.category,
337
301
  isNewAdded: showCategoryModal,
338
- itemButton: /*#__PURE__*/ jsxs("div", {
339
- className: "btn-outline-primary item-icon sm border border-primary rounded-sm",
340
- children: [
341
- categoryType.icon,
342
- /*#__PURE__*/ jsx("span", {
343
- className: "ml-2",
344
- children: t(categoryType.label)
345
- })
346
- ]
347
- }),
348
302
  body: /*#__PURE__*/ jsx(ProductCategoryControl, {
349
303
  isLoading: isLoading,
350
304
  onCategoryNameChange: onChange,
@@ -10,13 +10,10 @@ import { SelectItem } from '../../types/generic/SelectItem';
10
10
  export interface WithIsLoading {
11
11
  isLoading: boolean;
12
12
  }
13
- export interface WithIdOptional {
14
- id?: number;
15
- }
16
13
  export interface WithId {
17
14
  id: number;
18
15
  }
19
- export interface ProductSetFormValues extends FormValues, WithIdOptional, ProductSetControlValues {
16
+ export interface ProductSetFormValues extends FormValues, WithId, ProductSetControlValues {
20
17
  steps: Step[];
21
18
  isOverrides?: boolean;
22
19
  }
@@ -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;AAIzF,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAA;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAK3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oFAAoF,CAAA;AACrI,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;AAI3D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,OAAO,CAAA;CACnB;AACD,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAA;CACX;AACD,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,cAAc,EACd,uBAAuB;IACzB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,WAAW,CAAC,EAAE,OAAO,C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,EAAE,QAAQ,EAAE,CAAA;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,cAAsB,EACtB,YAAiB,EACjB,4BAA4B,EAC5B,KAAK,EACL,cAAc,EACd,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACR,GAAG,MAAM,EACV,EAAE,mBAAmB,2CAiKrB"}
@@ -5,7 +5,7 @@ import { useForm, FormProvider } from 'react-hook-form';
5
5
  import { useTranslation } from 'react-i18next';
6
6
  import FormErrorService from '@licklist/plugins/dist/services/Form/FormErrorService';
7
7
  import { isEqual } from 'lodash';
8
- import { transformErrorToMessage } from '@licklist/plugins/dist/utils/error';
8
+ import { transformErrorToMessage } from '@licklist/plugins';
9
9
  import { Dialog } from '../../modals/dialog/Dialog.js';
10
10
  import { useDialogContext } from '../../modals/dialog/DialogContext.js';
11
11
  import { ProductSetControl } from '../control/ProductSetControl.js';
@@ -1 +1 @@
1
- {"version":3,"file":"ProductZonesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductZonesControl.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,YAAY,EAAE,MAAM,kEAAkE,CAAA;AAG/F,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAQrE,UAAU,wBAAwB,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAClE,WAAW,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAaD,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,UAAU,mDAIrD,wBAAwB,CAAC,CAAC,CAAC,4CAqI7B,CAAA"}
1
+ {"version":3,"file":"ProductZonesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductZonesControl.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,kEAAkE,CAAA;AAG/F,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAQrE,UAAU,wBAAwB,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAClE,WAAW,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAaD,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,UAAU,mDAIrD,wBAAwB,CAAC,CAAC,CAAC,4CAqI7B,CAAA"}
@@ -11,6 +11,8 @@ import { CreateProductSetItem } from '../item/CreateProductSetItem.js';
11
11
  import { SortableTree } from '../../sortable-tree/SortableTree.js';
12
12
  import { ProductSetModalClasses } from '../../sortable-tree/SortableTreeItem.js';
13
13
 
14
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
15
+ // @ts-nocheck
14
16
  function _array_like_to_array(arr, len) {
15
17
  if (len == null || len > arr.length) len = arr.length;
16
18
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
@@ -23,7 +23,6 @@ import 'react-bootstrap/Col';
23
23
  import 'react-bootstrap/InputGroup';
24
24
  import 'react-bootstrap/Row';
25
25
  import '@licklist/plugins/dist/services/Form/FormErrorService';
26
- import '@licklist/plugins/dist/utils/error';
27
26
  import '@licklist/plugins';
28
27
  import 'react-bootstrap/Button';
29
28
  import 'react-bootstrap/OverlayTrigger';
@@ -1,16 +1,4 @@
1
- import { ReactElement } from 'react';
2
1
  import { CategoryType } from '@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper';
3
- export declare const CATEGORY_TYPES_NAMES: {
4
- readonly menuItems: "menuItems";
5
- readonly tickets: "tickets";
6
- readonly bookings: "bookings";
7
- readonly game: "game";
8
- readonly fixedDuration: "fixedDuration";
9
- };
10
- export type CategoryConfig = {
11
- label: string;
12
- icon: ReactElement;
13
- };
14
2
  export interface SelectCategoryModalProps {
15
3
  isVisible: boolean;
16
4
  onHide: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectCategoryModal.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SelectCategoryModal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAwB,MAAM,OAAO,CAAA;AAG1D,OAAO,EAML,YAAY,EACb,MAAM,kEAAkE,CAAA;AAgBzE,eAAO,MAAM,oBAAoB;;;;;;CAMvB,CAAA;AAEV,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,YAAY,CAAA;CAAE,CAAA;AA4BlE,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAA;CACnD;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,gBAAgB,GACjB,EAAE,wBAAwB,2CAyH1B"}
1
+ {"version":3,"file":"SelectCategoryModal.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SelectCategoryModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAML,YAAY,EACb,MAAM,kEAAkE,CAAA;AAoDzE,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAA;CACnD;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,gBAAgB,GACjB,EAAE,wBAAwB,2CAyH1B"}
@@ -242,4 +242,4 @@ function SelectCategoryModal(param) {
242
242
  });
243
243
  }
244
244
 
245
- export { CATEGORY_TYPES_NAMES, SelectCategoryModal };
245
+ export { SelectCategoryModal };
@@ -1 +1 @@
1
- {"version":3,"file":"SubProductsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SubProductsControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAIvD,UAAU,uBAAuB;IAC/B,YAAY,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,cAAc,CAAC,CAAA;IACvE,SAAS,EAAE,MAAM,CAAA;IACjB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,YAAY,EACZ,WAAW,GACZ,EAAE,uBAAuB,2CAuDzB"}
1
+ {"version":3,"file":"SubProductsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SubProductsControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAIvD,UAAU,uBAAuB;IAC/B,YAAY,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,cAAc,CAAC,CAAA;IACvE,SAAS,EAAE,MAAM,CAAA;IACjB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,YAAY,EACZ,WAAW,GACZ,EAAE,uBAAuB,2CA0DzB"}
@@ -108,6 +108,9 @@ function SubProductsControl(param) {
108
108
  images: (_subProducts_index = subProducts[index]) === null || _subProducts_index === void 0 ? void 0 : _subProducts_index.images
109
109
  });
110
110
  // @ts-expect-error TS2345
111
+ // @TODO fix prod type error
112
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
113
+ // @ts-ignore
111
114
  append(subProductCopy);
112
115
  }
113
116
  })
@@ -1 +1 @@
1
- {"version":3,"file":"VenueMapsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapsControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2DAA2D,CAAA;AAEpF,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAA;AAG5F,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAA;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAA;IACvC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAA;CACjE,CAAA;AAED,eAAO,MAAM,gBAAgB,mEAK1B,qBAAqB,4CA2DvB,CAAA"}
1
+ {"version":3,"file":"VenueMapsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapsControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2DAA2D,CAAA;AAEpF,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAA;AAG5F,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAA;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAA;IACvC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAA;CACjE,CAAA;AAED,eAAO,MAAM,gBAAgB,mEAK1B,qBAAqB,4CA8DvB,CAAA"}
@@ -35,6 +35,9 @@ var VenueMapsControl = function(param) {
35
35
  url: image.url,
36
36
  name: name,
37
37
  points: points,
38
+ // @TODO fix prod type error
39
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
40
+ // @ts-ignore
38
41
  products: products,
39
42
  pointProducts: pointProducts,
40
43
  onPointProductsChange: onPointProductsChange
@@ -1 +1 @@
1
- {"version":3,"file":"ProductControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product/ProductControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EAIb,MAAM,kEAAkE,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAA;AAGtF,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAErE,OAAO,EACL,WAAW,EAKZ,MAAM,OAAO,CAAA;AAed,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAA;AAO7D,OAAO,EAEL,oCAAoC,EACrC,MAAM,sDAAsD,CAAA;AAC7D,OAAO,EAEL,2BAA2B,EAC5B,MAAM,iCAAiC,CAAA;AAOxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAG3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAM1D,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,2BAA2B;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,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SAAiB,EACjB,eAAe,EACf,aAAqB,EACrB,oBAA4B,EAC5B,QAAa,EACb,MAAM,EACN,mBAAmB,EACnB,WAAW,EACX,SAAS,EACT,YAAY,EACZ,WAAmB,GACpB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAwWxB"}
1
+ {"version":3,"file":"ProductControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product/ProductControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EAIb,MAAM,kEAAkE,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAA;AAGtF,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAErE,OAAO,EACL,WAAW,EAKZ,MAAM,OAAO,CAAA;AAgBd,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAA;AAO7D,OAAO,EAEL,oCAAoC,EACrC,MAAM,sDAAsD,CAAA;AAC7D,OAAO,EAEL,2BAA2B,EAC5B,MAAM,iCAAiC,CAAA;AAOxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAG3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAM1D,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,2BAA2B;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAA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Title';
55
55
  import 'react-bootstrap/ModalBody';
56
56
  import 'react-bootstrap/Modal';
57
57
  import '../../../iframe/payment/payment-status-page/PaymentStatusPage.js';
58
- import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
59
58
  import '../../../static/manual-date-picker/constants/index.js';
60
59
  import '../../../iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js';
61
60
  import { ProductSetLoadingContext } from '../../form/context.js';
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBookingManagementControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/booking-management/ProductBookingManagementControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAOrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAE9D,MAAM,WAAW,qCAAsC,SAAQ,UAAU;IACvE,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,oCAAoC,CAAC,CAAC,CACrD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACxB;AAED,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,UAAU,EAClE,KAAK,EAAE,oCAAoC,CAAC,CAAC,CAAC,2CA2J/C"}
1
+ {"version":3,"file":"ProductBookingManagementControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/booking-management/ProductBookingManagementControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAOrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAE9D,MAAM,WAAW,qCAAsC,SAAQ,UAAU;IACvE,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,oCAAoC,CAAC,CAAC,CACrD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACxB;AAED,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,UAAU,EAClE,KAAK,EAAE,oCAAoC,CAAC,CAAC,CAAC,2CAyJ/C"}
@@ -128,9 +128,6 @@ function ProductBookingManagementControl(props) {
128
128
  return /*#__PURE__*/ jsx(Form.Control, {
129
129
  ref: ref,
130
130
  type: "number",
131
- onWheel: function(event) {
132
- return event.currentTarget.blur();
133
- },
134
131
  min: 0,
135
132
  step: 1,
136
133
  value: value,
@@ -177,9 +174,6 @@ function ProductBookingManagementControl(props) {
177
174
  return /*#__PURE__*/ jsx(Form.Control, {
178
175
  ref: ref,
179
176
  type: "number",
180
- onWheel: function(event) {
181
- return event.currentTarget.blur();
182
- },
183
177
  min: "0",
184
178
  step: "1",
185
179
  value: value,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductDepositControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/deposit/ProductDepositControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,2BAA4B,SAAQ,UAAU;IAC7D,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC3E,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,UAAU,EACxD,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,2CA4ErC"}
1
+ {"version":3,"file":"ProductDepositControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/deposit/ProductDepositControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,2BAA4B,SAAQ,UAAU;IAC7D,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC3E,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,UAAU,EACxD,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,2CA2ErC"}
@@ -40,9 +40,6 @@ function ProductDepositControl(props) {
40
40
  return /*#__PURE__*/ jsx(Form.Control, {
41
41
  ref: ref,
42
42
  type: "number",
43
- onWheel: function(event) {
44
- return event.currentTarget.blur();
45
- },
46
43
  min: 0,
47
44
  max: Number(totalPrice),
48
45
  step: "0.01",
@@ -1 +1 @@
1
- {"version":3,"file":"ProductDurationControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/duration/ProductDurationControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAA;AAOlG,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,kCAGrC,2BAA2B,CAAC,CAAC,CAAC,4CAuIhC,CAAA"}
1
+ {"version":3,"file":"ProductDurationControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/duration/ProductDurationControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAA;AAOlG,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,kCAGrC,2BAA2B,CAAC,CAAC,CAAC,4CAqIhC,CAAA"}
@@ -87,9 +87,6 @@ var ProductDurationControl = function(param) {
87
87
  /*#__PURE__*/ jsx(Form.Control, {
88
88
  type: "number",
89
89
  min: 0,
90
- onWheel: function(event) {
91
- return event.currentTarget.blur();
92
- },
93
90
  step: 1,
94
91
  value: durationHours,
95
92
  disabled: disabled,
@@ -137,9 +134,6 @@ var ProductDurationControl = function(param) {
137
134
  type: "number",
138
135
  min: 0,
139
136
  step: 1,
140
- onWheel: function(event) {
141
- return event.currentTarget.blur();
142
- },
143
137
  disabled: disabled,
144
138
  value: durationMinutes,
145
139
  isInvalid: isInvalid,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductPriceControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/price/ProductPriceControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAKzF,OAAO,EAAc,IAAI,EAAkB,MAAM,iBAAiB,CAAA;AAIlE,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAAE,EACxD,SAAiB,EACjB,eAAe,EACf,KAAK,EACL,aAAa,EACb,UAAiB,EACjB,cAAc,GACf,EAAE,wBAAwB,CAAC,CAAC,CAAC,2CAiG7B"}
1
+ {"version":3,"file":"ProductPriceControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/price/ProductPriceControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAKzF,OAAO,EAAc,IAAI,EAAkB,MAAM,iBAAiB,CAAA;AAIlE,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAAE,EACxD,SAAiB,EACjB,eAAe,EACf,KAAK,EACL,aAAa,EACb,UAAiB,EACjB,cAAc,GACf,EAAE,wBAAwB,CAAC,CAAC,CAAC,2CAgG7B"}
@@ -42,9 +42,6 @@ function ProductPriceControl(param) {
42
42
  ref: ref,
43
43
  type: "number",
44
44
  min: 0,
45
- onWheel: function(event) {
46
- return event.currentTarget.blur();
47
- },
48
45
  max: 999999.99,
49
46
  step: "0.01",
50
47
  value: value,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityConstantControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityConstantControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAiBrE,MAAM,WAAW,oCAAqC,SAAQ,UAAU;IACtE,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,mCAAmC,CAAC,CAAC,CACpD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,UAAU,EACjE,KAAK,EAAE,mCAAmC,CAAC,CAAC,CAAC,2CAoL9C"}
1
+ {"version":3,"file":"ProductQuantityConstantControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityConstantControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAiBrE,MAAM,WAAW,oCAAqC,SAAQ,UAAU;IACtE,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,mCAAmC,CAAC,CAAC,CACpD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,UAAU,EACjE,KAAK,EAAE,mCAAmC,CAAC,CAAC,CAAC,2CAkL9C"}
@@ -67,9 +67,6 @@ function ProductQuantityConstantControl(props) {
67
67
  type: "number",
68
68
  min: 0,
69
69
  step: 1,
70
- onWheel: function(event) {
71
- return event.currentTarget.blur();
72
- },
73
70
  value: value,
74
71
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".totalQuantity"), errors),
75
72
  disabled: true
@@ -123,9 +120,6 @@ function ProductQuantityConstantControl(props) {
123
120
  type: "number",
124
121
  min: 0,
125
122
  step: 1,
126
- onWheel: function(event) {
127
- return event.currentTarget.blur();
128
- },
129
123
  value: value,
130
124
  onChange: onChange,
131
125
  onFocus: onFocus,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAWrE,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,UAAU,EACzD,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC,2CAwJtC"}
1
+ {"version":3,"file":"ProductQuantityControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAWrE,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,UAAU,EACzD,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC,2CAsJtC"}
@@ -65,9 +65,6 @@ function ProductQuantityControl(props) {
65
65
  type: "number",
66
66
  min: 0,
67
67
  step: 1,
68
- onWheel: function(event) {
69
- return event.currentTarget.blur();
70
- },
71
68
  value: value,
72
69
  onChange: onChange,
73
70
  onFocus: onFocus,
@@ -126,9 +123,6 @@ function ProductQuantityControl(props) {
126
123
  type: "number",
127
124
  min: 0,
128
125
  step: 1,
129
- onWheel: function(event) {
130
- return event.currentTarget.blur();
131
- },
132
126
  value: value && value,
133
127
  onFocus: onFocus,
134
128
  onChange: onChange,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityRechargingControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityRechargingControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,sCAAuC,SAAQ,UAAU;IACxE,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,qCAAqC,CAAC,CAAC,CACtD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,UAAU,EACnE,KAAK,EAAE,qCAAqC,CAAC,CAAC,CAAC,2CAmGhD"}
1
+ {"version":3,"file":"ProductQuantityRechargingControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityRechargingControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,sCAAuC,SAAQ,UAAU;IACxE,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,qCAAqC,CAAC,CAAC,CACtD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,UAAU,EACnE,KAAK,EAAE,qCAAqC,CAAC,CAAC,CAAC,2CAkGhD"}
@@ -97,10 +97,7 @@ function ProductQuantityRechargingControl(props) {
97
97
  ref: ref,
98
98
  type: "number",
99
99
  min: 0,
100
- step: 1,
101
- onWheel: function(event) {
102
- return event.currentTarget.blur();
103
- }
100
+ step: 1
104
101
  }, register("".concat(fieldNamePrefix, ".totalQuantity"), {
105
102
  validate: function(value) {
106
103
  if (unlimited) return true;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCategoryControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product-category/ProductCategoryControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAEzF,OAAO,EACL,YAAY,EACZ,YAAY,EAKb,MAAM,kEAAkE,CAAA;AAGzE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,UAAU,CAAA;AAG5D,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,YAAY,EAAE,YAAY,CAAA;IAC1B,IAAI,EAAE,YAAY,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,eAAe,EAAE,OAAO,CAAA;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;IACnE,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IAEpB,oBAAoB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAA;IACzC,SAAS,EAAE,MAAM,CAAA;IACjB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAQD,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,UAAkB,GACnB,EAAE,2BAA2B,2CAgf7B"}
1
+ {"version":3,"file":"ProductCategoryControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product-category/ProductCategoryControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAEzF,OAAO,EACL,YAAY,EACZ,YAAY,EAKb,MAAM,kEAAkE,CAAA;AAGzE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,UAAU,CAAA;AAG5D,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,YAAY,EAAE,YAAY,CAAA;IAC1B,IAAI,EAAE,YAAY,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,eAAe,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