@licklist/design 0.69.3-dev.6 → 0.69.3

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 (197) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  2. package/dist/auth/Login/LoginComponent.js +1 -2
  3. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +1 -2
  4. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  5. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +2 -3
  6. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +1 -2
  7. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  8. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +28 -31
  9. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts +1 -2
  10. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  11. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -14
  12. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  13. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +2 -3
  14. package/dist/iframe/activity-card/ActivityCard.d.ts +4 -7
  15. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  16. package/dist/iframe/activity-card/ActivityCard.js +40 -59
  17. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  18. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +0 -13
  19. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  20. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
  21. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  22. package/dist/iframe/ryft/RyftPaymentForm.d.ts +2 -2
  23. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  24. package/dist/iframe/ryft/RyftPaymentForm.js +2 -8
  25. package/dist/iframe/ryft/utils/ryft-form.d.ts +1 -2
  26. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  27. package/dist/iframe/ryft/utils/ryft-form.js +1 -20
  28. package/dist/index.js +0 -1
  29. package/dist/layout/DropDown.d.ts +1 -2
  30. package/dist/layout/DropDown.d.ts.map +1 -1
  31. package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
  32. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  33. package/dist/modals/confirmation/ConfirmModal.js +8 -172
  34. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  35. package/dist/notification/email-template/control/EmailTemplateControl.js +0 -3
  36. package/dist/product-set/card/ProductSetCard.d.ts +2 -6
  37. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  38. package/dist/product-set/card/ProductSetCard.js +11 -30
  39. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  40. package/dist/product-set/control/DateAndRecurrenceInput.js +3 -4
  41. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  42. package/dist/product-set/control/DateInput.js +2 -2
  43. package/dist/product-set/control/ProductSetControl.d.ts +0 -4
  44. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  45. package/dist/product-set/control/ProductSetControl.js +3 -30
  46. package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
  47. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  48. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  49. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  50. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  51. package/dist/product-set/form/ProductSetForm.js +1 -64
  52. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  53. package/dist/product-set/form/ProductZonesControl.js +2 -0
  54. package/dist/product-set/form/ProductsControl.js +0 -1
  55. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  56. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  57. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  58. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  59. package/dist/product-set/form/SubProductsControl.js +3 -0
  60. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  61. package/dist/product-set/form/VenueMapsControl.js +3 -0
  62. package/dist/product-set/form/index.d.ts +0 -1
  63. package/dist/product-set/form/index.d.ts.map +1 -1
  64. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  65. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  66. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +0 -6
  67. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  68. package/dist/product-set/product/deposit/ProductDepositControl.js +0 -3
  69. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  70. package/dist/product-set/product/duration/ProductDurationControl.js +0 -6
  71. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  72. package/dist/product-set/product/price/ProductPriceControl.js +0 -3
  73. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  74. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +0 -6
  75. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  76. package/dist/product-set/product/quantity/ProductQuantityControl.js +0 -6
  77. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  78. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -4
  79. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  80. package/dist/product-set/product-category/ProductCategoryControl.js +0 -12
  81. package/dist/product-set/utils/index.d.ts +0 -7
  82. package/dist/product-set/utils/index.d.ts.map +1 -1
  83. package/dist/product-set/utils/index.js +1 -10
  84. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  85. package/dist/recurrence-input/RecurrenceEndInput.js +0 -3
  86. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  87. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  88. package/dist/resource/form/components/CapacityControl.js +0 -3
  89. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  90. package/dist/resource/form/components/SortControl.js +0 -3
  91. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  92. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  93. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  94. package/dist/sales/coupon/control/CouponFormControl.js +0 -21
  95. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  96. package/dist/setting/admin/PaymentFeeForm.js +1 -16
  97. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  98. package/dist/setting/dashboard/DashboardSettingForm.js +1 -4
  99. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  100. package/dist/snippet/snippet-template/preview/Preview.js +0 -6
  101. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  102. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  103. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  104. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  105. package/dist/static/CurrencyNumberInput.js +0 -3
  106. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  107. package/dist/static/form-number-input/FormNumberInput.js +0 -3
  108. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  109. package/dist/static/number-input/NumberInput.js +0 -3
  110. package/dist/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
  111. package/dist/styles/activity-card/ListActivitiesCard.scss +42 -12
  112. package/dist/styles/activity-card/_index.scss +1 -1
  113. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  114. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  115. package/dist/styles/product-set/ProductSetForm.scss +0 -22
  116. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
  117. package/dist/styles/sales/BookingResults.scss +1 -1
  118. package/dist/typeahead/Typeahead.d.ts +1 -5
  119. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  120. package/dist/typeahead/Typeahead.js +2 -9
  121. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  122. package/dist/zone/form/components/GameDurationControl.js +0 -3
  123. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  124. package/dist/zone/form/components/SortControl.js +0 -3
  125. package/package.json +7 -9
  126. package/src/affiliate/form/AffiliateForm.tsx +0 -1
  127. package/src/auth/Login/LoginComponent.tsx +1 -1
  128. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
  129. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +85 -88
  130. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +1 -11
  131. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -2
  132. package/src/iframe/activity-card/ActivityCard.tsx +24 -41
  133. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
  134. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
  135. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  136. package/src/iframe/ryft/RyftPaymentForm.tsx +4 -9
  137. package/src/iframe/ryft/utils/ryft-form.ts +2 -28
  138. package/src/layout/DropDown.tsx +1 -1
  139. package/src/modals/confirmation/ConfirmModal.tsx +3 -19
  140. package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
  141. package/src/product-set/card/ProductSetCard.tsx +8 -47
  142. package/src/product-set/control/DateAndRecurrenceInput.tsx +1 -3
  143. package/src/product-set/control/DateInput.tsx +1 -2
  144. package/src/product-set/control/ProductSetControl.tsx +52 -52
  145. package/src/product-set/form/MobileFooter.tsx +3 -1
  146. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  147. package/src/product-set/form/ProductSetForm.tsx +2 -24
  148. package/src/product-set/form/ProductZonesControl.tsx +4 -1
  149. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  150. package/src/product-set/form/SubProductsControl.tsx +3 -0
  151. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  152. package/src/product-set/form/index.ts +0 -1
  153. package/src/product-set/product/ProductControl.tsx +1 -0
  154. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  155. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +0 -2
  156. package/src/product-set/product/deposit/ProductDepositControl.tsx +0 -1
  157. package/src/product-set/product/duration/ProductDurationControl.tsx +0 -2
  158. package/src/product-set/product/price/ProductPriceControl.tsx +0 -1
  159. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +0 -2
  160. package/src/product-set/product/quantity/ProductQuantityControl.tsx +0 -2
  161. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +0 -1
  162. package/src/product-set/product-category/ProductCategoryControl.tsx +0 -4
  163. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  164. package/src/product-set/utils/index.ts +0 -11
  165. package/src/recurrence-input/RecurrenceEndInput.tsx +0 -1
  166. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +0 -1
  167. package/src/resource/form/components/CapacityControl.tsx +0 -1
  168. package/src/resource/form/components/SortControl.tsx +0 -1
  169. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  170. package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
  171. package/src/setting/admin/PaymentFeeForm.tsx +0 -5
  172. package/src/setting/dashboard/DashboardSettingForm.tsx +0 -1
  173. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  174. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  175. package/src/static/CurrencyNumberInput.tsx +0 -1
  176. package/src/static/form-number-input/FormNumberInput.tsx +0 -1
  177. package/src/static/number-input/NumberInput.tsx +0 -1
  178. package/src/styles/activity-card/{ActivitiesCard.scss → GridActivitiesCard.scss} +5 -19
  179. package/src/styles/activity-card/ListActivitiesCard.scss +42 -12
  180. package/src/styles/activity-card/_index.scss +1 -1
  181. package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -9
  182. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  183. package/src/styles/product-set/ProductSetForm.scss +0 -22
  184. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +0 -25
  185. package/src/styles/sales/BookingResults.scss +1 -1
  186. package/src/typeahead/Typeahead.tsx +1 -15
  187. package/src/zone/form/components/GameDurationControl.tsx +0 -1
  188. package/src/zone/form/components/SortControl.tsx +0 -1
  189. package/yarn.lock +47 -73
  190. package/dist/product-set/control/ProductSetImageControl.d.ts +0 -2
  191. package/dist/product-set/control/ProductSetImageControl.d.ts.map +0 -1
  192. package/dist/product-set/control/ProductSetImageControl.js +0 -279
  193. package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
  194. package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
  195. package/dist/product-set/form/ProductSetNameControl.js +0 -35
  196. package/src/product-set/control/ProductSetImageControl.tsx +0 -97
  197. package/src/product-set/form/ProductSetNameControl.tsx +0 -27
@@ -266,9 +266,6 @@ function ProductCategoryControl(param) {
266
266
  step: 1,
267
267
  value: value === null ? '' : value,
268
268
  onChange: onChange,
269
- onWheel: function(event) {
270
- return event.currentTarget.blur();
271
- },
272
269
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".minSubItems"), errors),
273
270
  disabled: isLoading || isOverride,
274
271
  name: name
@@ -338,9 +335,6 @@ function ProductCategoryControl(param) {
338
335
  name: name,
339
336
  value: value === null ? '' : value,
340
337
  onChange: onChange,
341
- onWheel: function(event) {
342
- return event.currentTarget.blur();
343
- },
344
338
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".maxSubItems"), errors),
345
339
  disabled: isLoading || isOverride
346
340
  });
@@ -404,9 +398,6 @@ function ProductCategoryControl(param) {
404
398
  min: 0,
405
399
  step: 1,
406
400
  type: "number",
407
- onWheel: function(event) {
408
- return event.currentTarget.blur();
409
- },
410
401
  disabled: isOverride,
411
402
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".overallQuantity"), errors)
412
403
  }, field));
@@ -579,9 +570,6 @@ function ProductCategoryControl(param) {
579
570
  step: 1,
580
571
  value: value,
581
572
  onChange: onChange,
582
- onWheel: function(event) {
583
- return event.currentTarget.blur();
584
- },
585
573
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".remainderExpireAfter"), errors),
586
574
  disabled: isLoading || isOverride,
587
575
  name: name
@@ -2,7 +2,6 @@ import { EmailTemplate } from '@licklist/core/dist/DataMapper/Notification/Email
2
2
  import { SmsTemplate } from '@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper';
3
3
  import { TFunction } from 'react-i18next';
4
4
  import { UseFormSetError } from 'react-hook-form';
5
- import { ProductSet } from '@licklist/core/dist/DataMapper/Product/ProductSetDataMapper';
6
5
  import { TemplateItem } from '../control/ProductSetControl';
7
6
  import { ProductSetFormValues } from '../form/ProductSetForm';
8
7
  interface CheckAvailableTimesErrors {
@@ -10,17 +9,11 @@ interface CheckAvailableTimesErrors {
10
9
  setError: UseFormSetError<ProductSetFormValues>;
11
10
  t: TFunction;
12
11
  }
13
- export interface MenuTypeheadItem {
14
- id: number;
15
- label: string;
16
- value: number;
17
- }
18
12
  export declare const moveArrayElements: <T>(array: T[], prevIndex: number, nextIndex: number) => T[];
19
13
  export declare const sortArrayByIndex: <T>(array: T[]) => (T & {
20
14
  sort: number;
21
15
  })[];
22
16
  export declare const getFilteredTemplates: (templates?: EmailTemplate[] | SmsTemplate[], formTemplates?: TemplateItem[]) => TemplateItem[] | undefined;
23
17
  export declare const checkAvailableTimesErrors: ({ values, setError, t, }: CheckAvailableTimesErrors) => boolean;
24
- export declare const getTypeHeadItemsFromMenus: (menus?: (ProductSet | ProductSetFormValues)[]) => MenuTypeheadItem[];
25
18
  export {};
26
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,UAAU,yBAAyB;IACjC,MAAM,EAAE,oBAAoB,CAAA;IAC5B,QAAQ,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAA;IAC/C,CAAC,EAAE,SAAS,CAAA;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AACD,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAC1B,CAAC,EAAE,aACC,MAAM,aACN,MAAM,QAQlB,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,CAAC,EAAE;;IACmB,CAAA;AAEjE,eAAO,MAAM,oBAAoB,eACnB,aAAa,EAAE,GAAG,WAAW,EAAE,kBAC3B,YAAY,EAAE,KAC7B,YAAY,EAAE,GAAG,SAmBnB,CAAA;AAED,eAAO,MAAM,yBAAyB,6BAInC,yBAAyB,YA0B3B,CAAA;AAED,eAAO,MAAM,yBAAyB,WAC5B,CAAC,UAAU,GAAG,oBAAoB,CAAC,EAAE,KAC5C,gBAAgB,EACwD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,UAAU,yBAAyB;IACjC,MAAM,EAAE,oBAAoB,CAAA;IAC5B,QAAQ,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAA;IAC/C,CAAC,EAAE,SAAS,CAAA;CACb;AAED,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAC1B,CAAC,EAAE,aACC,MAAM,aACN,MAAM,QAQlB,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,CAAC,EAAE;;IACmB,CAAA;AAEjE,eAAO,MAAM,oBAAoB,eACnB,aAAa,EAAE,GAAG,WAAW,EAAE,kBAC3B,YAAY,EAAE,KAC7B,YAAY,EAAE,GAAG,SAmBnB,CAAA;AAED,eAAO,MAAM,yBAAyB,6BAInC,yBAAyB,YA0B3B,CAAA"}
@@ -136,14 +136,5 @@ var checkAvailableTimesErrors = function(param) {
136
136
  });
137
137
  return hasError;
138
138
  };
139
- var getTypeHeadItemsFromMenus = function(menus) {
140
- return menus === null || menus === void 0 ? void 0 : menus.map(function(menu) {
141
- return {
142
- id: menu.id,
143
- value: menu.id,
144
- label: menu.name
145
- };
146
- });
147
- };
148
139
 
149
- export { checkAvailableTimesErrors, getFilteredTemplates, getTypeHeadItemsFromMenus, moveArrayElements, sortArrayByIndex };
140
+ export { checkAvailableTimesErrors, getFilteredTemplates, moveArrayElements, sortArrayByIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"RecurrenceEndInput.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/RecurrenceEndInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,kBAAkB,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC/D;AAED,iBAAS,kBAAkB,CAAC,EAC1B,QAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,GACR,EAAE,KAAK,2CAoGP;AAED,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAA;AAoBD,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"RecurrenceEndInput.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/RecurrenceEndInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,kBAAkB,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC/D;AAED,iBAAS,kBAAkB,CAAC,EAC1B,QAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,GACR,EAAE,KAAK,2CAmGP;AAED,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAA;AAoBD,eAAe,kBAAkB,CAAA"}
@@ -161,9 +161,6 @@ function RecurrenceEndInput(param) {
161
161
  type: "number",
162
162
  min: 1,
163
163
  max: 500,
164
- onWheel: function(event) {
165
- return event.currentTarget.blur();
166
- },
167
164
  disabled: disabled || !count || count === 500,
168
165
  "aria-label": "Occurrence count",
169
166
  value: count !== null && count !== void 0 ? count : defaultOccurrences[frequency],
@@ -1 +1 @@
1
- {"version":3,"file":"RecurrenceEndInput.d.ts","sourceRoot":"","sources":["../../src/recurring-date-picker-input/RecurrenceEndInput.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,kBAAkB,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC/D;AAED,iBAAS,kBAAkB,CAAC,EAC1B,QAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,GACT,EAAE,KAAK,2CAqFP;AA2BD,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"RecurrenceEndInput.d.ts","sourceRoot":"","sources":["../../src/recurring-date-picker-input/RecurrenceEndInput.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,kBAAkB,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC/D;AAED,iBAAS,kBAAkB,CAAC,EAC1B,QAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,GACT,EAAE,KAAK,2CAoFP;AA2BD,eAAe,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"CapacityControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/CapacityControl.tsx"],"names":[],"mappings":"AAOA,KAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,4CAoClE,CAAA"}
1
+ {"version":3,"file":"CapacityControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/CapacityControl.tsx"],"names":[],"mappings":"AAOA,KAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,4CAmClE,CAAA"}
@@ -80,9 +80,6 @@ var CapacityControl = function(param) {
80
80
  required: true,
81
81
  min: 1
82
82
  })), {
83
- onWheel: function(event) {
84
- return event.currentTarget.blur();
85
- },
86
83
  placeholder: t('Design:capacity'),
87
84
  isInvalid: Boolean(errors.capacity),
88
85
  disabled: isLoading
@@ -1 +1 @@
1
- {"version":3,"file":"SortControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/SortControl.tsx"],"names":[],"mappings":"AAOA,KAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,4CAoC1D,CAAA"}
1
+ {"version":3,"file":"SortControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/SortControl.tsx"],"names":[],"mappings":"AAOA,KAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,4CAmC1D,CAAA"}
@@ -77,9 +77,6 @@ var SortControl = function(param) {
77
77
  required: false,
78
78
  min: 1
79
79
  })), {
80
- onWheel: function(event) {
81
- return event.currentTarget.blur();
82
- },
83
80
  placeholder: t('Design:ordering'),
84
81
  isInvalid: Boolean(errors.sort),
85
82
  disabled: isLoading
@@ -1 +1 @@
1
- {"version":3,"file":"ResultCard.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/results/components/ResultCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAA;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAA;AAQzE,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,KAAK,CAAA;IACZ,WAAW,CAAC,EAAE,IAAI,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACnC,CAAA;AAED,eAAO,MAAM,UAAU,oDAKpB,eAAe,4CAuFjB,CAAA"}
1
+ {"version":3,"file":"ResultCard.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/results/components/ResultCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAA;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAA;AAQzE,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,KAAK,CAAA;IACZ,WAAW,CAAC,EAAE,IAAI,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACnC,CAAA;AAID,eAAO,MAAM,UAAU,oDAKpB,eAAe,4CAuFjB,CAAA"}
@@ -10,6 +10,8 @@ import { getOrderSourceTitle } from '@licklist/plugins/dist/utils/sourceTitle';
10
10
  import { FaUser } from 'react-icons/fa';
11
11
  import { fromIso } from '@licklist/core/dist/Services';
12
12
 
13
+ // @TODO integrate when API will be available
14
+ // activity and staff keys
13
15
  var ResultCard = function(param) {
14
16
  var order = param.order, className = param.className, staffMember = param.staffMember, onCardClick = param.onCardClick;
15
17
  var _products_map, _user_userDetail, _user_userDetail1;
@@ -1 +1 @@
1
- {"version":3,"file":"CouponFormControl.d.ts","sourceRoot":"","sources":["../../../../src/sales/coupon/control/CouponFormControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAA;AAC5F,OAAO,EAOL,eAAe,EACf,UAAU,EACX,MAAM,yDAAyD,CAAA;AAYhE,OAAO,EAAa,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGhE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,UAAU,CAAA;IACxB,eAAe,EAAE,KAAK,CAAC,gBAAgB,GAAG,YAAY,CAAC,CAAA;IACvD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,eAAe,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,iBAAiB,kCAG3B,eAAe,4CA8VjB,CAAA"}
1
+ {"version":3,"file":"CouponFormControl.d.ts","sourceRoot":"","sources":["../../../../src/sales/coupon/control/CouponFormControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAA;AAC5F,OAAO,EAOL,eAAe,EACf,UAAU,EACX,MAAM,yDAAyD,CAAA;AAYhE,OAAO,EAAa,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGhE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,UAAU,CAAA;IACxB,eAAe,EAAE,KAAK,CAAC,gBAAgB,GAAG,YAAY,CAAC,CAAA;IACvD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,eAAe,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,iBAAiB,kCAG3B,eAAe,4CAuVjB,CAAA"}
@@ -245,9 +245,6 @@ var CouponFormControl = function(param) {
245
245
  }),
246
246
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
247
247
  type: "number",
248
- onWheel: function(event) {
249
- return event.currentTarget.blur();
250
- },
251
248
  isInvalid: errors.discount !== undefined
252
249
  }, register('discount', {
253
250
  required: t('Validation:fieldRequired', {
@@ -394,9 +391,6 @@ var CouponFormControl = function(param) {
394
391
  }),
395
392
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({}, register('totalCoupons')), {
396
393
  type: "number",
397
- onWheel: function(event) {
398
- return event.currentTarget.blur();
399
- },
400
394
  isInvalid: errors.totalCoupons !== undefined,
401
395
  disabled: isLoading
402
396
  })),
@@ -417,9 +411,6 @@ var CouponFormControl = function(param) {
417
411
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
418
412
  type: "number"
419
413
  }, register('usesPerUser')), {
420
- onWheel: function(event) {
421
- return event.currentTarget.blur();
422
- },
423
414
  disabled: isLoading
424
415
  }))
425
416
  ]
@@ -439,9 +430,6 @@ var CouponFormControl = function(param) {
439
430
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
440
431
  type: "number"
441
432
  }, register('useAgain')), {
442
- onWheel: function(event) {
443
- return event.currentTarget.blur();
444
- },
445
433
  disabled: isLoading
446
434
  })),
447
435
  /*#__PURE__*/ jsx(Form.Text, {
@@ -461,9 +449,6 @@ var CouponFormControl = function(param) {
461
449
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
462
450
  type: "number"
463
451
  }, register('usesPerUserDay')), {
464
- onWheel: function(event) {
465
- return event.currentTarget.blur();
466
- },
467
452
  disabled: isLoading
468
453
  })),
469
454
  /*#__PURE__*/ jsx(Form.Text, {
@@ -487,9 +472,6 @@ var CouponFormControl = function(param) {
487
472
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
488
473
  type: "number"
489
474
  }, register('minAmount')), {
490
- onWheel: function(event) {
491
- return event.currentTarget.blur();
492
- },
493
475
  disabled: isLoading
494
476
  })),
495
477
  /*#__PURE__*/ jsx(Form.Text, {
@@ -509,9 +491,6 @@ var CouponFormControl = function(param) {
509
491
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
510
492
  type: "number"
511
493
  }, register('maxAmount')), {
512
- onWheel: function(event) {
513
- return event.currentTarget.blur();
514
- },
515
494
  disabled: isLoading
516
495
  })),
517
496
  /*#__PURE__*/ jsx(Form.Text, {
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentFeeForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/PaymentFeeForm.tsx"],"names":[],"mappings":"AAWA,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAA;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAiB,EAAE,EAAE,mBAAmB,2CA4RxE"}
1
+ {"version":3,"file":"PaymentFeeForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/PaymentFeeForm.tsx"],"names":[],"mappings":"AAWA,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAA;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAiB,EAAE,EAAE,mBAAmB,2CAuRxE"}
@@ -128,10 +128,7 @@ function PaymentFeeForm(param) {
128
128
  min: 0,
129
129
  max: 100,
130
130
  step: "1",
131
- placeholder: "0",
132
- onWheel: function(event) {
133
- return event.currentTarget.blur();
134
- }
131
+ placeholder: "0"
135
132
  }, register('feeInPercent', {
136
133
  validate: {
137
134
  moreThan: function(v) {
@@ -205,9 +202,6 @@ function PaymentFeeForm(param) {
205
202
  max: 999999.99,
206
203
  step: "0.01",
207
204
  placeholder: "0,00",
208
- onWheel: function(event) {
209
- return event.currentTarget.blur();
210
- },
211
205
  isInvalid: Boolean(errors.minFeeInPounds),
212
206
  disabled: isLoading
213
207
  })),
@@ -267,9 +261,6 @@ function PaymentFeeForm(param) {
267
261
  max: 999999.99,
268
262
  step: "0.01",
269
263
  placeholder: "0,00",
270
- onWheel: function(event) {
271
- return event.currentTarget.blur();
272
- },
273
264
  isInvalid: Boolean(errors.maxFeeInPounds),
274
265
  disabled: isLoading
275
266
  })),
@@ -341,9 +332,6 @@ function PaymentFeeForm(param) {
341
332
  max: 100,
342
333
  step: "1",
343
334
  placeholder: "0",
344
- onWheel: function(event) {
345
- return event.currentTarget.blur();
346
- },
347
335
  isInvalid: Boolean(errors.vatInPercent),
348
336
  disabled: isLoading
349
337
  })),
@@ -402,9 +390,6 @@ function PaymentFeeForm(param) {
402
390
  max: 999999.99,
403
391
  step: "0.01",
404
392
  placeholder: "0,00",
405
- onWheel: function(event) {
406
- return event.currentTarget.blur();
407
- },
408
393
  isInvalid: Boolean(errors.fixedFee),
409
394
  disabled: isLoading
410
395
  })),
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/dashboard/DashboardSettingForm.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAM3E,OAAO,EAEL,2BAA2B,EAC5B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EAEL,8BAA8B,EAC/B,MAAM,uBAAuB,CAAA;AAE9B,MAAM,MAAM,+BAA+B,GAAG;IAC5C,uBAAuB,EAAE,MAAM,CAAA;IAC/B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,OAAO,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAA;CACnC,GAAG,2BAA2B,GAC7B,8BAA8B,CAAA;AAYhC,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,+BAA+B,KAAK,IAAI,CAAA;IAC1D,aAAa,CAAC,EAAE,OAAO,CAAC,+BAA+B,CAAC,CAAA;IACxD,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B;AAED,eAAO,MAAM,oBAAoB,yEAM9B,yBAAyB,4CAmN3B,CAAA"}
1
+ {"version":3,"file":"DashboardSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/dashboard/DashboardSettingForm.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAM3E,OAAO,EAEL,2BAA2B,EAC5B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EAEL,8BAA8B,EAC/B,MAAM,uBAAuB,CAAA;AAE9B,MAAM,MAAM,+BAA+B,GAAG;IAC5C,uBAAuB,EAAE,MAAM,CAAA;IAC/B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,OAAO,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAA;CACnC,GAAG,2BAA2B,GAC7B,8BAA8B,CAAA;AAYhC,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,+BAA+B,KAAK,IAAI,CAAA;IAC1D,aAAa,CAAC,EAAE,OAAO,CAAC,+BAA+B,CAAC,CAAA;IACxD,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B;AAED,eAAO,MAAM,oBAAoB,yEAM9B,yBAAyB,4CAkN3B,CAAA"}
@@ -194,10 +194,7 @@ var DashboardSettingForm = function(param) {
194
194
  children: t('metaPixelId')
195
195
  }),
196
196
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
197
- type: "number",
198
- onWheel: function(event) {
199
- return event.currentTarget.blur();
200
- }
197
+ type: "number"
201
198
  }, register('metaPixelId', {
202
199
  minLength: {
203
200
  value: 15,
@@ -1 +1 @@
1
- {"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAiCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,2CAsWd"}
1
+ {"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAiCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,2CAgWd"}
@@ -466,7 +466,6 @@ function Preview(param) {
466
466
  productCategoryId: 57,
467
467
  productGroupId: null,
468
468
  availableQuantity: 980,
469
- zoneId: null,
470
469
  name: 'Cofee',
471
470
  description: '',
472
471
  price: 15,
@@ -475,8 +474,6 @@ function Preview(param) {
475
474
  maxQuantity: 15,
476
475
  totalQuantity: 980,
477
476
  type: 'sale',
478
- capacity: 0,
479
- duration: 0,
480
477
  weight: 0,
481
478
  isAvailable: true,
482
479
  isSoldOut: false,
@@ -495,7 +492,6 @@ function Preview(param) {
495
492
  productCategoryId: 57,
496
493
  productGroupId: null,
497
494
  availableQuantity: 980,
498
- zoneId: null,
499
495
  name: 'Cofee 2',
500
496
  description: '',
501
497
  price: 15,
@@ -504,8 +500,6 @@ function Preview(param) {
504
500
  maxQuantity: 15,
505
501
  totalQuantity: 980,
506
502
  type: 'sale',
507
- capacity: 0,
508
- duration: 0,
509
503
  weight: 0,
510
504
  isAvailable: true,
511
505
  isSoldOut: false,
@@ -14,7 +14,6 @@ export interface SortableTreeItemProps {
14
14
  body: ReactNode;
15
15
  children?: ReactNode;
16
16
  preItem?: ReactNode;
17
- itemButton?: ReactNode;
18
17
  postItem?: ReactNode;
19
18
  sortableItems?: string[];
20
19
  isExpanded?: boolean;
@@ -37,5 +36,5 @@ export interface SortableTreeItemProps {
37
36
  setIsExpanded?: () => void;
38
37
  isOverride?: boolean;
39
38
  }
40
- export declare function SortableTreeItem({ id, title, badge, subTitle, body, children, preItem, postItem, sortableItems, isExpanded, shouldExpand, isInvalid, isIconInHeader, treeLineIconColor, modalLabel, modalClass, isNewAdded, onDelete, validate, cancelChanges, saveValidField, edit, secondaryBadge, setIsExpanded, isOverride, itemButton, }: SortableTreeItemProps): import("react/jsx-runtime").JSX.Element;
39
+ export declare function SortableTreeItem({ id, title, badge, subTitle, body, children, preItem, postItem, sortableItems, isExpanded, shouldExpand, isInvalid, isIconInHeader, treeLineIconColor, modalLabel, modalClass, isNewAdded, onDelete, validate, cancelChanges, saveValidField, edit, secondaryBadge, setIsExpanded, isOverride, }: SortableTreeItemProps): import("react/jsx-runtime").JSX.Element;
41
40
  //# sourceMappingURL=SortableTreeItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SortableTreeItem.d.ts","sourceRoot":"","sources":["../../src/sortable-tree/SortableTreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAiBnE,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAA;AAEV,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAA;AAEtE,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,IAAI,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,UAAU,CAAC,EAAE,0BAA0B,CAAA;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAA;IACjC,cAAc,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;IACD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,UAAkB,EAClB,YAAmB,EACnB,SAAiB,EACjB,cAAqB,EACrB,iBAAsB,EACtB,UAAe,EACf,UAAU,EACV,UAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,cAAc,EACd,IAAI,EACJ,cAAc,EACd,aAAa,EACb,UAAU,EACV,UAAU,GACX,EAAE,qBAAqB,2CA+TvB"}
1
+ {"version":3,"file":"SortableTreeItem.d.ts","sourceRoot":"","sources":["../../src/sortable-tree/SortableTreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAiBnE,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAA;AAEV,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAA;AAEtE,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,IAAI,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,UAAU,CAAC,EAAE,0BAA0B,CAAA;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAA;IACjC,cAAc,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;IACD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,UAAkB,EAClB,YAAmB,EACnB,SAAiB,EACjB,cAAqB,EACrB,iBAAsB,EACtB,UAAe,EACf,UAAU,EACV,UAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,cAAc,EACd,IAAI,EACJ,cAAc,EACd,aAAa,EACb,UAAU,GACX,EAAE,qBAAqB,2CA2TvB"}
@@ -240,7 +240,7 @@ var ProductSetModalClasses = {
240
240
  productZones: 'edit-product-zone'
241
241
  };
242
242
  function SortableTreeItem(param) {
243
- var id = param.id, title = param.title, badge = param.badge, subTitle = param.subTitle, body = param.body, children = param.children, preItem = param.preItem, postItem = param.postItem, sortableItems = param.sortableItems, _param_isExpanded = param.isExpanded, isExpanded = _param_isExpanded === void 0 ? false : _param_isExpanded, _param_shouldExpand = param.shouldExpand, shouldExpand = _param_shouldExpand === void 0 ? true : _param_shouldExpand, _param_isInvalid = param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isIconInHeader = param.isIconInHeader, isIconInHeader = _param_isIconInHeader === void 0 ? true : _param_isIconInHeader, _param_treeLineIconColor = param.treeLineIconColor, treeLineIconColor = _param_treeLineIconColor === void 0 ? '' : _param_treeLineIconColor, _param_modalLabel = param.modalLabel, modalLabel = _param_modalLabel === void 0 ? '' : _param_modalLabel, modalClass = param.modalClass, _param_isNewAdded = param.isNewAdded, isNewAdded = _param_isNewAdded === void 0 ? false : _param_isNewAdded, onDelete = param.onDelete, validate = param.validate, cancelChanges = param.cancelChanges, saveValidField = param.saveValidField, edit = param.edit, secondaryBadge = param.secondaryBadge, setIsExpanded = param.setIsExpanded, isOverride = param.isOverride, itemButton = param.itemButton;
243
+ var id = param.id, title = param.title, badge = param.badge, subTitle = param.subTitle, body = param.body, children = param.children, preItem = param.preItem, postItem = param.postItem, sortableItems = param.sortableItems, _param_isExpanded = param.isExpanded, isExpanded = _param_isExpanded === void 0 ? false : _param_isExpanded, _param_shouldExpand = param.shouldExpand, shouldExpand = _param_shouldExpand === void 0 ? true : _param_shouldExpand, _param_isInvalid = param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isIconInHeader = param.isIconInHeader, isIconInHeader = _param_isIconInHeader === void 0 ? true : _param_isIconInHeader, _param_treeLineIconColor = param.treeLineIconColor, treeLineIconColor = _param_treeLineIconColor === void 0 ? '' : _param_treeLineIconColor, _param_modalLabel = param.modalLabel, modalLabel = _param_modalLabel === void 0 ? '' : _param_modalLabel, modalClass = param.modalClass, _param_isNewAdded = param.isNewAdded, isNewAdded = _param_isNewAdded === void 0 ? false : _param_isNewAdded, onDelete = param.onDelete, validate = param.validate, cancelChanges = param.cancelChanges, saveValidField = param.saveValidField, edit = param.edit, secondaryBadge = param.secondaryBadge, setIsExpanded = param.setIsExpanded, isOverride = param.isOverride;
244
244
  var _useState = _sliced_to_array(useState(isExpanded), 2), expanded = _useState[0], setExpanded = _useState[1];
245
245
  var _useState1 = _sliced_to_array(useState(isNewAdded), 2), isModalVisible = _useState1[0], setIsModalVisible = _useState1[1];
246
246
  var t = useTranslation('Design').t;
@@ -433,15 +433,9 @@ function SortableTreeItem(param) {
433
433
  /*#__PURE__*/ jsxs("div", {
434
434
  className: clsx(modalLabel ? 'sortable-tree-product-set-title-container' : 'sortable-tree-title-container'),
435
435
  children: [
436
- /*#__PURE__*/ jsxs("span", {
437
- className: clsx('sortable-tree-item-title', modalLabel && 'sortable-tree-product-set-element-title', 'd-flex justify-content-between'),
438
- children: [
439
- title,
440
- /*#__PURE__*/ jsx("div", {
441
- className: "sortable-tree-item-subtitle",
442
- children: itemButton
443
- })
444
- ]
436
+ /*#__PURE__*/ jsx("span", {
437
+ className: clsx('sortable-tree-item-title', modalLabel && 'sortable-tree-product-set-element-title'),
438
+ children: title
445
439
  }),
446
440
  !expanded && /*#__PURE__*/ jsx("span", {
447
441
  className: "sortable-tree-item-subtitle",
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyNumberInput.d.ts","sourceRoot":"","sources":["../../src/static/CurrencyNumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAQ,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAExD,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAChE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,uHAqC/B,CAAA"}
1
+ {"version":3,"file":"CurrencyNumberInput.d.ts","sourceRoot":"","sources":["../../src/static/CurrencyNumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAQ,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAExD,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAChE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,uHAoC/B,CAAA"}
@@ -88,9 +88,6 @@ var CurrencyNumberInput = /*#__PURE__*/ forwardRef(function(_param, ref) {
88
88
  disabled: disabled,
89
89
  value: value,
90
90
  onChange: onChange,
91
- onWheel: function(event) {
92
- return event.currentTarget.blur();
93
- },
94
91
  ref: ref
95
92
  }, props)),
96
93
  /*#__PURE__*/ jsx(Form.Control.Feedback, {
@@ -1 +1 @@
1
- {"version":3,"file":"FormNumberInput.d.ts","sourceRoot":"","sources":["../../../src/static/form-number-input/FormNumberInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EAGhB,MAAM,iBAAiB,CAAA;AAIxB,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,IAAI,CACV,eAAe,EACf,KAAK,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CACpD,CAAA;CACF;AAED,eAAO,MAAM,eAAe,2DAOzB,oBAAoB,4CAkEtB,CAAA"}
1
+ {"version":3,"file":"FormNumberInput.d.ts","sourceRoot":"","sources":["../../../src/static/form-number-input/FormNumberInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EAGhB,MAAM,iBAAiB,CAAA;AAIxB,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,IAAI,CACV,eAAe,EACf,KAAK,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CACpD,CAAA;CACF;AAED,eAAO,MAAM,eAAe,2DAOzB,oBAAoB,4CAiEtB,CAAA"}
@@ -106,9 +106,6 @@ var FormNumberInput = function(param) {
106
106
  type: "number",
107
107
  step: step,
108
108
  disabled: disabled,
109
- onWheel: function(event) {
110
- return event.currentTarget.blur();
111
- },
112
109
  isInvalid: HookFormService.isInvalid(fieldName, errors)
113
110
  }, field), {
114
111
  onChange: function(event) {
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/static/number-input/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,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,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,wBAAgB,WAAW,CAAC,EAC1B,QAAgB,EAChB,SAAc,EACd,KAAK,EACL,QAAQ,EACR,WAAW,EACX,SAAS,EACT,GAAG,EACH,GAAG,EACH,YAAY,GACb,EAAE,gBAAgB,2CAoDlB"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/static/number-input/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,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,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,wBAAgB,WAAW,CAAC,EAC1B,QAAgB,EAChB,SAAc,EACd,KAAK,EACL,QAAQ,EACR,WAAW,EACX,SAAS,EACT,GAAG,EACH,GAAG,EACH,YAAY,GACb,EAAE,gBAAgB,2CAmDlB"}
@@ -27,9 +27,6 @@ function NumberInput(param) {
27
27
  children: [
28
28
  /*#__PURE__*/ jsx(FormControl, {
29
29
  type: "number",
30
- onWheel: function(event) {
31
- return event.currentTarget.blur();
32
- },
33
30
  onChange: function(e) {
34
31
  return onChange(Number(e.target.value));
35
32
  },
@@ -11,7 +11,10 @@
11
11
  background-color: #fff;
12
12
  font-size: 0.8rem;
13
13
  background-color: $snippet-product-set-background-color;
14
- text-align: left;
14
+
15
+ div {
16
+ text-align: left;
17
+ }
15
18
 
16
19
  &.active {
17
20
  border: 2px solid #0e8be1;
@@ -20,24 +23,7 @@
20
23
  &-title {
21
24
  font-weight: 600;
22
25
  line-height: 1.25rem;
26
+ cursor: pointer;
23
27
  font-size: 0.875rem;
24
28
  }
25
-
26
- img {
27
- max-height: 100%;
28
- max-width: 100%;
29
- object-fit: cover;
30
- aspect-ratio: 1.2/1;
31
- margin-bottom: 0.8rem;
32
- border-radius: 0.5rem;
33
- }
34
-
35
- &-description {
36
- line-clamp: 5;
37
- -webkit-line-clamp: 5;
38
- overflow: hidden;
39
- text-overflow: ellipsis;
40
- display: -webkit-box;
41
- -webkit-box-orient: vertical;
42
- }
43
29
  }
@@ -3,26 +3,56 @@
3
3
  .list-activity-card {
4
4
  display: flex;
5
5
  justify-content: space-between;
6
- gap: 0.5rem;
7
- width: 100%;
6
+ align-items: center;
7
+ cursor: pointer;
8
+ height: 6rem;
9
+ padding: 0.375rem;
10
+ border: 2px solid transparent;
11
+ border-radius: 0.5rem;
12
+ background-color: $snippet-product-set-background-color;
13
+ color: $snippet-product-set-font-color;
14
+ transition: $color-transition;
8
15
 
9
- &-info {
16
+ &.active {
17
+ border: 2px solid #0e8be1;
18
+ }
19
+
20
+ p {
21
+ margin-bottom: 0;
22
+ }
23
+
24
+ .description {
10
25
  width: 70%;
11
26
  font-size: 0.81rem;
12
27
  display: flex;
13
28
  flex-direction: column;
14
- align-items: start;
15
29
  }
16
30
 
17
- img {
18
- max-width: 120px;
19
- height: 100%;
20
- object-fit: cover;
21
- aspect-ratio: 1.2/1;
22
- border-radius: 0.5rem;
31
+ .title {
32
+ font-weight: 600;
33
+ font-size: 0.875rem;
34
+ line-height: 1.5rem;
23
35
  }
24
36
 
25
- &-hr {
26
- margin-top: 0;
37
+ .image-container {
38
+ display: flex;
39
+ justify-content: start;
40
+ height: 100%;
41
+
42
+ .image {
43
+ display: flex;
44
+ align-items: start;
45
+ width: 7rem;
46
+ height: 4rem;
47
+ margin-left: 3rem;
48
+ background-repeat: no-repeat;
49
+ background-size: cover;
50
+ background-position: center;
51
+ border-radius: 0.5rem;
52
+ }
27
53
  }
28
54
  }
55
+
56
+ .list-activity-card-hr {
57
+ margin-top: 0;
58
+ }
@@ -1,2 +1,2 @@
1
- @import './ActivitiesCard.scss';
1
+ @import './GridActivitiesCard.scss';
2
2
  @import './ListActivitiesCard.scss';
@@ -15,12 +15,3 @@
15
15
  }
16
16
  }
17
17
  }
18
-
19
-
20
-
21
- .activity-card {
22
- .availability-indicator {
23
- margin-top: 0.5rem;
24
- justify-content: flex-start;
25
- }
26
- }
@@ -15,7 +15,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
15
15
  left: 0;
16
16
  width: 100%;
17
17
  height: 100%;
18
- z-index: 2147483646;
18
+ z-index: 1000000;
19
19
  background-color: rgba(0, 0, 0, 0.5);
20
20
  display: none;
21
21
  }
@@ -24,7 +24,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
24
24
  position: fixed;
25
25
  top: 0;
26
26
  left: 0;
27
- z-index: 2147483647;
27
+ z-index: 1000001;
28
28
  display: none;
29
29
  width: 100%;
30
30
  height: 100%;