@licklist/design 0.70.5 → 0.70.6-dev.0

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 (182) 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 +16 -18
  4. package/dist/auth/Login/LoginComponent.js +2 -1
  5. package/dist/availability-indicator/AvailabilityIndicator.d.ts +4 -2
  6. package/dist/availability-indicator/AvailabilityIndicator.d.ts.map +1 -1
  7. package/dist/availability-indicator/AvailabilityIndicator.js +112 -18
  8. package/dist/calendar/Calendar.d.ts +2 -0
  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 +3 -2
  13. package/dist/calendar/utils/index.d.ts +8 -2
  14. package/dist/calendar/utils/index.d.ts.map +1 -1
  15. package/dist/calendar/utils/index.js +9 -21
  16. package/dist/date-time-button/DateContent.d.ts.map +1 -1
  17. package/dist/date-time-button/DateContent.js +3 -3
  18. package/dist/date-time-button/DateTimeButton.d.ts +3 -1
  19. package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
  20. package/dist/date-time-button/DateTimeButton.js +5 -3
  21. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +3 -2
  22. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  23. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +0 -1
  24. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  25. package/dist/events/event-venue-map/EventVenueMap.js +1 -0
  26. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  27. package/dist/events/event-venue-map/hooks/useCanvasSize.js +11 -4
  28. package/dist/iframe/activity-card/ActivityCard.d.ts +3 -1
  29. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  30. package/dist/iframe/activity-card/ActivityCard.js +5 -3
  31. package/dist/iframe/event/ticket-description/TicketDescription.d.ts.map +1 -1
  32. package/dist/iframe/event/ticket-description/TicketDescription.js +43 -32
  33. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  34. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +13 -0
  35. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  36. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  37. package/dist/iframe/ryft/RyftPaymentForm.js +25 -12
  38. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  39. package/dist/iframe/ryft/utils/ryft-form.js +4 -5
  40. package/dist/layout/DropDown.d.ts +2 -1
  41. package/dist/layout/DropDown.d.ts.map +1 -1
  42. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  43. package/dist/notification/email-template/control/EmailTemplateControl.js +3 -0
  44. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  45. package/dist/product-set/form/ProductCategoriesControl.js +48 -2
  46. package/dist/product-set/form/ProductSetForm.d.ts +4 -1
  47. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  48. package/dist/product-set/form/ProductSetForm.js +1 -1
  49. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  50. package/dist/product-set/form/ProductZonesControl.js +0 -2
  51. package/dist/product-set/form/ProductsControl.js +1 -0
  52. package/dist/product-set/form/SelectCategoryModal.d.ts +12 -0
  53. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  54. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  55. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  56. package/dist/product-set/form/SubProductsControl.js +0 -3
  57. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  58. package/dist/product-set/form/VenueMapsControl.js +0 -3
  59. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  60. package/dist/product-set/product/advanced-options/AdvancedOptions.js +1 -1
  61. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  62. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +6 -0
  63. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  64. package/dist/product-set/product/deposit/ProductDepositControl.js +3 -0
  65. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  66. package/dist/product-set/product/duration/ProductDurationControl.js +6 -0
  67. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  68. package/dist/product-set/product/price/ProductPriceControl.js +3 -0
  69. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  70. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +6 -0
  71. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  72. package/dist/product-set/product/quantity/ProductQuantityControl.js +6 -0
  73. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  74. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +4 -1
  75. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  76. package/dist/product-set/product-category/ProductCategoryControl.js +12 -0
  77. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  78. package/dist/recurrence-input/RecurrenceEndInput.js +3 -0
  79. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  80. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  81. package/dist/resource/form/components/CapacityControl.js +3 -0
  82. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  83. package/dist/resource/form/components/SortControl.js +3 -0
  84. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  85. package/dist/sales/booking/results/components/ResultCard.js +0 -2
  86. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  87. package/dist/sales/coupon/control/CouponFormControl.js +21 -0
  88. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  89. package/dist/setting/admin/PaymentFeeForm.js +16 -1
  90. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  91. package/dist/setting/dashboard/DashboardSettingForm.js +4 -1
  92. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  93. package/dist/snippet/snippet-template/preview/Preview.js +11 -3
  94. package/dist/sortable-tree/SortableTreeItem.d.ts +2 -1
  95. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  96. package/dist/sortable-tree/SortableTreeItem.js +10 -4
  97. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  98. package/dist/static/CurrencyNumberInput.js +3 -0
  99. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  100. package/dist/static/form-number-input/FormNumberInput.js +3 -0
  101. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  102. package/dist/static/number-input/NumberInput.js +3 -0
  103. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +9 -0
  104. package/dist/styles/date-time-button/DateTimeButton.scss +2 -1
  105. package/dist/styles/iframe-events/TicketDescription.scss +1 -1
  106. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  107. package/dist/styles/product-set/ProductSetForm.scss +22 -0
  108. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +1 -3
  109. package/dist/styles/sales/BookingFilter.scss +2 -3
  110. package/dist/styles/sales/BookingResults.scss +1 -1
  111. package/dist/styles/sales/BookingTabs.scss +26 -29
  112. package/dist/tiptap-editor/TipTapEditor.d.ts +2 -1
  113. package/dist/tiptap-editor/TipTapEditor.d.ts.map +1 -1
  114. package/dist/tiptap-editor/TipTapEditor.js +32 -2
  115. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  116. package/dist/zone/form/components/GameDurationControl.js +3 -0
  117. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  118. package/dist/zone/form/components/SortControl.js +3 -0
  119. package/package.json +8 -6
  120. package/src/affiliate/form/AffiliateForm.tsx +1 -0
  121. package/src/assets/iframe/available.svg +4 -4
  122. package/src/auth/Login/LoginComponent.tsx +1 -1
  123. package/src/availability-indicator/AvailabilityIndicator.tsx +92 -17
  124. package/src/calendar/Calendar.tsx +2 -0
  125. package/src/calendar/components/CalendarDates/CalendarDates.tsx +3 -0
  126. package/src/calendar/utils/index.ts +17 -26
  127. package/src/date-time-button/DateContent.tsx +3 -3
  128. package/src/date-time-button/DateTimeButton.tsx +7 -3
  129. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +0 -1
  130. package/src/events/event-venue-map/EventVenueMap.tsx +1 -0
  131. package/src/events/event-venue-map/hooks/useCanvasSize.ts +5 -1
  132. package/src/iframe/activity-card/ActivityCard.tsx +15 -2
  133. package/src/iframe/event/ticket-description/TicketDescription.tsx +35 -22
  134. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +9 -0
  135. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +1 -0
  136. package/src/iframe/ryft/RyftPaymentForm.tsx +14 -3
  137. package/src/iframe/ryft/utils/ryft-form.ts +6 -5
  138. package/src/layout/DropDown.tsx +1 -1
  139. package/src/notification/email-template/control/EmailTemplateControl.tsx +1 -0
  140. package/src/product-set/form/ProductCategoriesControl.tsx +37 -1
  141. package/src/product-set/form/ProductSetForm.tsx +6 -2
  142. package/src/product-set/form/ProductZonesControl.tsx +1 -4
  143. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  144. package/src/product-set/form/SubProductsControl.tsx +0 -3
  145. package/src/product-set/form/VenueMapsControl.tsx +0 -3
  146. package/src/product-set/product/ProductControl.tsx +0 -1
  147. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  148. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -0
  149. package/src/product-set/product/deposit/ProductDepositControl.tsx +1 -0
  150. package/src/product-set/product/duration/ProductDurationControl.tsx +2 -0
  151. package/src/product-set/product/price/ProductPriceControl.tsx +1 -0
  152. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +2 -0
  153. package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -0
  154. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +1 -0
  155. package/src/product-set/product-category/ProductCategoryControl.tsx +4 -0
  156. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  157. package/src/recurrence-input/RecurrenceEndInput.tsx +1 -0
  158. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +1 -0
  159. package/src/resource/form/components/CapacityControl.tsx +1 -0
  160. package/src/resource/form/components/SortControl.tsx +1 -0
  161. package/src/sales/booking/results/components/ResultCard.tsx +0 -2
  162. package/src/sales/coupon/control/CouponFormControl.tsx +7 -0
  163. package/src/setting/admin/PaymentFeeForm.tsx +5 -0
  164. package/src/setting/dashboard/DashboardSettingForm.tsx +1 -0
  165. package/src/snippet/snippet-template/preview/Preview.tsx +13 -5
  166. package/src/sortable-tree/SortableTreeItem.tsx +6 -0
  167. package/src/static/CurrencyNumberInput.tsx +1 -0
  168. package/src/static/form-number-input/FormNumberInput.tsx +1 -0
  169. package/src/static/number-input/NumberInput.tsx +1 -0
  170. package/src/styles/availability-indicator/AvailabilityIndicator.scss +9 -0
  171. package/src/styles/date-time-button/DateTimeButton.scss +2 -1
  172. package/src/styles/iframe-events/TicketDescription.scss +1 -1
  173. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  174. package/src/styles/product-set/ProductSetForm.scss +22 -0
  175. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +1 -3
  176. package/src/styles/sales/BookingFilter.scss +2 -3
  177. package/src/styles/sales/BookingResults.scss +1 -1
  178. package/src/styles/sales/BookingTabs.scss +26 -29
  179. package/src/tiptap-editor/TipTapEditor.tsx +8 -1
  180. package/src/zone/form/components/GameDurationControl.tsx +1 -0
  181. package/src/zone/form/components/SortControl.tsx +1 -0
  182. package/yarn.lock +176 -167
@@ -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, 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, availabilityFormat = param.availabilityFormat, resources = param.resources;
9
9
  if (layout === LAYOUT_GRID) {
10
10
  return /*#__PURE__*/ jsxs("button", {
11
11
  type: "button",
@@ -35,7 +35,8 @@ var ActivityCard = function(param) {
35
35
  children: description
36
36
  }),
37
37
  resources && /*#__PURE__*/ jsx(AvailabilityIndicator, {
38
- resources: resources
38
+ resources: resources,
39
+ availabilityFormat: availabilityFormat
39
40
  })
40
41
  ]
41
42
  })
@@ -74,7 +75,8 @@ var ActivityCard = function(param) {
74
75
  children: description
75
76
  }),
76
77
  resources && /*#__PURE__*/ jsx(AvailabilityIndicator, {
77
- resources: resources
78
+ resources: resources,
79
+ availabilityFormat: availabilityFormat
78
80
  })
79
81
  ]
80
82
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"TicketDescription.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/ticket-description/TicketDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAY,MAAM,OAAO,CAAA;AAE1D,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAA;AAK7D,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAID,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,WAAW,EACX,SAAc,EACd,MAAM,EACN,KAAK,EACL,UAAkB,EAClB,SAAgB,GACjB,EAAE,sBAAsB,2CA4DxB"}
1
+ {"version":3,"file":"TicketDescription.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/ticket-description/TicketDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAY,MAAM,OAAO,CAAA;AAE1D,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAA;AAK7D,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAID,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,WAAW,EACX,SAAc,EACd,MAAM,EACN,KAAK,EACL,UAAkB,EAClB,SAAgB,GACjB,EAAE,sBAAsB,2CAiDxB"}
@@ -56,40 +56,11 @@ var DESCRIPTION_MAX_LENGTH = 120;
56
56
  function TicketDescription(param) {
57
57
  var title = param.title, description = param.description, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className, images = param.images, price = param.price, _param_isRequired = param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, _param_canExpand = param.canExpand, canExpand = _param_canExpand === void 0 ? true : _param_canExpand;
58
58
  var _useState = _sliced_to_array(useState(false), 2), isDescriptionExpanded = _useState[0], setIsDescriptionExpanded = _useState[1];
59
- var showDescription = !!description;
60
59
  var wrapperClasses = clsx('ticket-description', className);
61
60
  var imageSrc = images ? MediaService.getImageSrc(images, THUMBNAIL_IMAGE_SIZE) : null;
62
61
  var descriptionWrapperStyle = {
63
62
  '--description-wrapper-height': 'inherit'
64
63
  };
65
- var renderDescription = function() {
66
- return /*#__PURE__*/ jsx("div", {
67
- className: "description-content",
68
- children: /*#__PURE__*/ jsxs("div", {
69
- className: "d-flex flex-column",
70
- children: [
71
- /*#__PURE__*/ jsxs("div", {
72
- className: "product-title",
73
- children: [
74
- title,
75
- " ",
76
- isRequired && /*#__PURE__*/ jsx("span", {
77
- children: "*"
78
- })
79
- ]
80
- }),
81
- showDescription && /*#__PURE__*/ jsx(TipTapEditor, {
82
- viewMode: true,
83
- disabled: true,
84
- content: description,
85
- editorStyle: {
86
- backgroundColor: 'transparent'
87
- }
88
- })
89
- ]
90
- })
91
- });
92
- };
93
64
  return /*#__PURE__*/ jsxs("div", {
94
65
  className: wrapperClasses,
95
66
  children: [
@@ -110,17 +81,57 @@ function TicketDescription(param) {
110
81
  className: "ticket-description__container",
111
82
  isExpanded: isDescriptionExpanded,
112
83
  setIsExpanded: setIsDescriptionExpanded,
113
- children: renderDescription()
114
- }) : renderDescription()
84
+ children: /*#__PURE__*/ jsx(Description, {
85
+ title: title,
86
+ isRequired: isRequired,
87
+ description: description
88
+ })
89
+ }) : /*#__PURE__*/ jsx(Description, {
90
+ title: title,
91
+ isRequired: isRequired,
92
+ description: description
93
+ })
115
94
  ]
116
95
  })
117
96
  }),
118
97
  price && /*#__PURE__*/ jsx("div", {
119
- className: clsx(showDescription && 'mt-5'),
98
+ className: clsx({
99
+ 'mt-5': description
100
+ }),
120
101
  children: price
121
102
  })
122
103
  ]
123
104
  });
124
105
  }
106
+ var Description = function(param) {
107
+ var title = param.title, isRequired = param.isRequired, description = param.description;
108
+ return /*#__PURE__*/ jsx("div", {
109
+ className: "description-content",
110
+ children: /*#__PURE__*/ jsxs("div", {
111
+ className: "d-flex flex-column",
112
+ children: [
113
+ /*#__PURE__*/ jsxs("div", {
114
+ className: "product-title",
115
+ children: [
116
+ title,
117
+ " ",
118
+ isRequired && /*#__PURE__*/ jsx("span", {
119
+ children: "*"
120
+ })
121
+ ]
122
+ }),
123
+ !!description && /*#__PURE__*/ jsx(TipTapEditor, {
124
+ viewMode: true,
125
+ disabled: true,
126
+ content: description,
127
+ editorStyle: {
128
+ backgroundColor: 'transparent'
129
+ },
130
+ hideEmptyEditor: true
131
+ })
132
+ ]
133
+ })
134
+ });
135
+ };
125
136
 
126
137
  export { TicketDescription };
@@ -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,+GAgGvB,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,+GAyGvB,CAAA"}
@@ -54,6 +54,9 @@ 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
+ },
57
60
  value: value,
58
61
  min: 0,
59
62
  max: max,
@@ -66,6 +69,16 @@ var NumberInput = /*#__PURE__*/ forwardRef(function(param, ref) {
66
69
  /*#__PURE__*/ jsx("button", {
67
70
  type: "button",
68
71
  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
+ },
69
82
  className: "payment-number-input__btn-up ".concat(plusButtonGreyedOut && 'disabled-number-input-button'),
70
83
  disabled: disabled,
71
84
  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;AA2FjB,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;AA4FjB,eAAO,MAAM,oBAAoB,oEAK9B,oBAAoB,KAAG,WAAW,EAUpC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"RyftPaymentForm.d.ts","sourceRoot":"","sources":["../../../src/iframe/ryft/RyftPaymentForm.tsx"],"names":[],"mappings":"AAOA,OAAO,EAML,sBAAsB,EACvB,MAAM,kDAAkD,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0EAA0E,CAAA;AAKlH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAW/C,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;AAEzD,MAAM,WAAW,oBAAoB;IAEnC,SAAS,EAAE,GAAG,CAAA;IACd,eAAe,EAAE,OAAO,CAAA;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAA;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,EAAE,CACR,SAAS,EAAE,MAAM,IAAI,EACrB,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,KAChC,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,QAAQ,EAAE,MAAM,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;CAClD;AAED,eAAO,MAAM,eAAe,8JAUzB,oBAAoB,4CA+KtB,CAAA"}
1
+ {"version":3,"file":"RyftPaymentForm.d.ts","sourceRoot":"","sources":["../../../src/iframe/ryft/RyftPaymentForm.tsx"],"names":[],"mappings":"AAOA,OAAO,EAML,sBAAsB,EACvB,MAAM,kDAAkD,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0EAA0E,CAAA;AAKlH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAW/C,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;AAOzD,MAAM,WAAW,oBAAoB;IAEnC,SAAS,EAAE,GAAG,CAAA;IACd,eAAe,EAAE,OAAO,CAAA;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAA;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,EAAE,CACR,SAAS,EAAE,MAAM,IAAI,EACrB,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,KAChC,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,QAAQ,EAAE,MAAM,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;CAClD;AAED,eAAO,MAAM,eAAe,8JAUzB,oBAAoB,4CAqLtB,CAAA"}
@@ -224,8 +224,8 @@ var RyftPaymentForm = function(param) {
224
224
  setReferrerBeforePayment();
225
225
  };
226
226
  var handleSubmit = function() {
227
- var _ref = _async_to_generator(function() {
228
- var paymentSession, _paymentSession_requiredAction, error;
227
+ var _ref = _async_to_generator(function(_paymentSession) {
228
+ var paymentSession, _tmp, _paymentSession_requiredAction, error;
229
229
  return _ts_generator(this, function(_state) {
230
230
  switch(_state.label){
231
231
  case 0:
@@ -234,16 +234,24 @@ var RyftPaymentForm = function(param) {
234
234
  case 1:
235
235
  _state.trys.push([
236
236
  1,
237
- 3,
238
237
  4,
239
- 5
238
+ 5,
239
+ 6
240
240
  ]);
241
+ _tmp = _paymentSession;
242
+ if (_tmp) return [
243
+ 3,
244
+ 3
245
+ ];
241
246
  return [
242
247
  4,
243
248
  onSubmit()
244
249
  ];
245
250
  case 2:
246
- paymentSession = _state.sent();
251
+ _tmp = _state.sent();
252
+ _state.label = 3;
253
+ case 3:
254
+ paymentSession = _tmp;
247
255
  if (!paymentSession) {
248
256
  setRyftError('unknown_error');
249
257
  }
@@ -269,28 +277,28 @@ var RyftPaymentForm = function(param) {
269
277
  }
270
278
  return [
271
279
  3,
272
- 5
280
+ 6
273
281
  ];
274
- case 3:
282
+ case 4:
275
283
  error = _state.sent();
276
284
  setRyftError(error);
277
285
  return [
278
286
  3,
279
- 5
287
+ 6
280
288
  ];
281
- case 4:
289
+ case 5:
282
290
  setIsBtnDisabled(false);
283
291
  return [
284
292
  7
285
293
  ];
286
- case 5:
294
+ case 6:
287
295
  return [
288
296
  2
289
297
  ];
290
298
  }
291
299
  });
292
300
  });
293
- return function handleSubmit() {
301
+ return function handleSubmit(_paymentSession) {
294
302
  return _ref.apply(this, arguments);
295
303
  };
296
304
  }();
@@ -319,6 +327,9 @@ var RyftPaymentForm = function(param) {
319
327
  addEventHandler('cardValidationChanged', function(e) {
320
328
  setIsValid(e.isValid);
321
329
  });
330
+ addEventHandler('walletPaymentSessionResult', function(e) {
331
+ handleSubmit(e.paymentSession);
332
+ });
322
333
  setRyftInitFailure(false);
323
334
  }, function() {
324
335
  return setRyftInitFailure(true);
@@ -374,7 +385,9 @@ var RyftPaymentForm = function(param) {
374
385
  ref: formRef,
375
386
  id: "ryft-pay-form",
376
387
  noValidate: true,
377
- onSubmit: methods.handleSubmit(handleSubmit),
388
+ onSubmit: methods.handleSubmit(function() {
389
+ return handleSubmit();
390
+ }),
378
391
  className: "ryft-payment-form",
379
392
  children: [
380
393
  /*#__PURE__*/ jsx("div", {
@@ -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,SA6E5B,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,SA8E5B,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,7 +60,6 @@ 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';
64
63
  applePayButton.className = 'bg-dark btn btn-primary apple-pay-button';
65
64
  applePayButton.textContent = t('Events:payWithApple');
66
65
  applePayButton.onclick = onApplePayButtonClick;
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  interface Props {
2
3
  children?: React.ReactNode | React.ReactNode[];
3
4
  style?: any;
4
5
  className?: any;
5
6
  'aria-laballedby'?: any;
6
7
  }
7
- declare const DropDown: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
8
+ declare const DropDown: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
8
9
  export default DropDown;
9
10
  //# sourceMappingURL=DropDown.d.ts.map
@@ -1 +1 @@
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
+ {"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 +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,+GAqahC,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,+GAsahC,CAAA"}
@@ -631,6 +631,9 @@ 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
+ },
634
637
  placeholder: t("Design:".concat(option.name)),
635
638
  id: option.name + option.id,
636
639
  defaultValue: option.selectedValue || ''
@@ -1 +1 @@
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
+ {"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,9 +1,10 @@
1
- import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
1
+ import { jsx, jsxs, Fragment } 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';
7
8
  import { useTranslation } from 'react-i18next';
8
9
  import { useSensor, MouseSensor } from '@dnd-kit/core';
9
10
  import { CATEGORY_TYPE_GAME, CATEGORY_TYPE_FIXED_DURATION, QUANTITY_TYPE_STANDARD, CATEGORY_TYPE_TICKETS } from '@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper';
@@ -13,7 +14,7 @@ import { ProductSetModalClasses } from '../../sortable-tree/SortableTreeItem.js'
13
14
  import { CreateProductSetItem } from '../item/CreateProductSetItem.js';
14
15
  import { ProductCategoryControl } from '../product-category/ProductCategoryControl.js';
15
16
  import { ProductsControl } from './ProductsControl.js';
16
- import { SelectCategoryModal } from './SelectCategoryModal.js';
17
+ import { CATEGORY_TYPES_NAMES, SelectCategoryModal } from './SelectCategoryModal.js';
17
18
  import { ProductSetLoadingContext } from './context.js';
18
19
  import { VenueMapSetModal } from './VenueMapSetModal.js';
19
20
  import { sortArrayByIndex, moveArrayElements } from '../utils/index.js';
@@ -117,6 +118,40 @@ function _unsupported_iterable_to_array(o, minLen) {
117
118
  if (n === "Map" || n === "Set") return Array.from(n);
118
119
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
119
120
  }
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);
120
155
  var getCategoryDefaultValue = function(categoryType, sort) {
121
156
  return {
122
157
  id: null,
@@ -250,6 +285,7 @@ function ProductCategoriesControl(param) {
250
285
  var onSetIsExpanded = function() {
251
286
  setIsExpanded(productCategoryId);
252
287
  };
288
+ var categoryType = CATEGORIES_TYPE[productCategory.type];
253
289
  return /*#__PURE__*/ jsx(Controller, {
254
290
  name: "".concat(productCategoriesFieldName, ".").concat(index, ".name"),
255
291
  control: control,
@@ -299,6 +335,16 @@ function ProductCategoriesControl(param) {
299
335
  secondaryBadge: getBadgeConfig(productCategory.type, t(productCategory.type)),
300
336
  modalClass: ProductSetModalClasses.category,
301
337
  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
+ }),
302
348
  body: /*#__PURE__*/ jsx(ProductCategoryControl, {
303
349
  isLoading: isLoading,
304
350
  onCategoryNameChange: onChange,
@@ -10,10 +10,13 @@ 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
+ }
13
16
  export interface WithId {
14
17
  id: number;
15
18
  }
16
- export interface ProductSetFormValues extends FormValues, WithId, ProductSetControlValues {
19
+ export interface ProductSetFormValues extends FormValues, WithIdOptional, ProductSetControlValues {
17
20
  steps: Step[];
18
21
  isOverrides?: boolean;
19
22
  }
@@ -1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AM,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';
8
+ import { transformErrorToMessage } from '@licklist/plugins/dist/utils/error';
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":"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"}
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"}
@@ -11,8 +11,6 @@ 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
16
14
  function _array_like_to_array(arr, len) {
17
15
  if (len == null || len > arr.length) len = arr.length;
18
16
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
@@ -23,6 +23,7 @@ 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';
26
27
  import '@licklist/plugins';
27
28
  import 'react-bootstrap/Button';
28
29
  import 'react-bootstrap/OverlayTrigger';
@@ -1,4 +1,16 @@
1
+ import { ReactElement } from 'react';
1
2
  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
+ };
2
14
  export interface SelectCategoryModalProps {
3
15
  isVisible: boolean;
4
16
  onHide: () => void;
@@ -1 +1 @@
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"}
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"}
@@ -242,4 +242,4 @@ function SelectCategoryModal(param) {
242
242
  });
243
243
  }
244
244
 
245
- export { SelectCategoryModal };
245
+ export { CATEGORY_TYPES_NAMES, 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,2CA0DzB"}
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"}
@@ -108,9 +108,6 @@ 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
114
111
  append(subProductCopy);
115
112
  }
116
113
  })
@@ -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,4CA8DvB,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,4CA2DvB,CAAA"}
@@ -35,9 +35,6 @@ 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
41
38
  products: products,
42
39
  pointProducts: pointProducts,
43
40
  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;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,EAAE,OAAO,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC1C;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,CACpC,SAAQ,gBAAgB,EACtB,mBAAmB,CAAC,CAAC,CAAC,EACtB,oCAAoC,CAAC,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,YAAY,CAAA;IAC1B,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mBAAmB,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC/D,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,UAAU,EAAE,EACnD,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,OA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G,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC1C;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,CACpC,SAAQ,gBAAgB,EACtB,mBAAmB,CAAC,CAAC,CAAC,EACtB,oCAAoC,CAAC,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,YAAY,CAAA;IAC1B,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mBAAmB,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC/D,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,UAAU,EAAE,EACnD,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"}
@@ -16,7 +16,6 @@ import 'react-bootstrap/Col';
16
16
  import '@licklist/plugins/dist/services/Form/FormErrorService';
17
17
  import '@licklist/plugins/dist/services/Form/HookFormService';
18
18
  import 'react-router-dom';
19
- import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
20
19
  import '../../../calendar/Calendar.js';
21
20
  import 'clsx';
22
21
  import 'luxon';
@@ -56,6 +55,7 @@ import 'react-bootstrap/ModalTitle';
56
55
  import 'react-bootstrap/ModalBody';
57
56
  import 'react-bootstrap/Modal';
58
57
  import '../../../iframe/payment/payment-status-page/PaymentStatusPage.js';
58
+ import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
59
59
  import '../../../static/manual-date-picker/constants/index.js';
60
60
  import '../../../iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js';
61
61
  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,2CAyJ/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,2CA2J/C"}