@licklist/design 0.69.4 → 0.69.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 (192) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  2. package/dist/auth/Login/LoginComponent.js +2 -1
  3. package/dist/calendar/utils/index.d.ts +8 -2
  4. package/dist/calendar/utils/index.d.ts.map +1 -1
  5. package/dist/calendar/utils/index.js +9 -21
  6. package/dist/date-time-button/DateContent.d.ts.map +1 -1
  7. package/dist/date-time-button/DateContent.js +3 -3
  8. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +2 -1
  9. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  10. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +3 -2
  11. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +2 -1
  12. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  13. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +31 -28
  14. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts +2 -1
  15. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  16. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +14 -2
  17. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  18. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +0 -1
  19. package/dist/events/event-card/utils.d.ts +1 -0
  20. package/dist/events/event-card/utils.d.ts.map +1 -1
  21. package/dist/events/event-card/utils.js +6 -2
  22. package/dist/iframe/activity-card/ActivityCard.d.ts +3 -1
  23. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  24. package/dist/iframe/activity-card/ActivityCard.js +8 -1
  25. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  26. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +13 -0
  27. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  28. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +2 -0
  29. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  30. package/dist/iframe/ryft/RyftPaymentForm.d.ts +2 -2
  31. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  32. package/dist/iframe/ryft/RyftPaymentForm.js +8 -2
  33. package/dist/iframe/ryft/utils/ryft-form.d.ts +2 -1
  34. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  35. package/dist/iframe/ryft/utils/ryft-form.js +20 -1
  36. package/dist/index.js +1 -0
  37. package/dist/layout/DropDown.d.ts +2 -1
  38. package/dist/layout/DropDown.d.ts.map +1 -1
  39. package/dist/modals/confirmation/ConfirmModal.d.ts +3 -1
  40. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  41. package/dist/modals/confirmation/ConfirmModal.js +172 -8
  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/card/ProductSetCard.d.ts +6 -2
  45. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  46. package/dist/product-set/card/ProductSetCard.js +20 -11
  47. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  48. package/dist/product-set/control/DateAndRecurrenceInput.js +4 -3
  49. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  50. package/dist/product-set/control/DateInput.js +2 -2
  51. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  52. package/dist/product-set/form/ProductCategoriesControl.js +48 -2
  53. package/dist/product-set/form/ProductSetForm.d.ts +4 -1
  54. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  55. package/dist/product-set/form/ProductSetForm.js +64 -1
  56. package/dist/product-set/form/ProductSetNameControl.d.ts +6 -0
  57. package/dist/product-set/form/ProductSetNameControl.d.ts.map +1 -0
  58. package/dist/product-set/form/ProductSetNameControl.js +35 -0
  59. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  60. package/dist/product-set/form/ProductZonesControl.js +0 -2
  61. package/dist/product-set/form/ProductsControl.js +1 -0
  62. package/dist/product-set/form/SelectCategoryModal.d.ts +12 -0
  63. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  64. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  65. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  66. package/dist/product-set/form/SubProductsControl.js +0 -3
  67. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  68. package/dist/product-set/form/VenueMapsControl.js +0 -3
  69. package/dist/product-set/form/index.d.ts +1 -0
  70. package/dist/product-set/form/index.d.ts.map +1 -1
  71. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  72. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  73. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +6 -0
  74. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  75. package/dist/product-set/product/deposit/ProductDepositControl.js +3 -0
  76. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  77. package/dist/product-set/product/duration/ProductDurationControl.js +6 -0
  78. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  79. package/dist/product-set/product/price/ProductPriceControl.js +3 -0
  80. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  81. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +6 -0
  82. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  83. package/dist/product-set/product/quantity/ProductQuantityControl.js +6 -0
  84. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  85. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +4 -1
  86. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  87. package/dist/product-set/product-category/ProductCategoryControl.js +12 -0
  88. package/dist/product-set/utils/index.d.ts +7 -0
  89. package/dist/product-set/utils/index.d.ts.map +1 -1
  90. package/dist/product-set/utils/index.js +10 -1
  91. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  92. package/dist/recurrence-input/RecurrenceEndInput.js +3 -0
  93. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  94. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  95. package/dist/resource/form/components/CapacityControl.js +3 -0
  96. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  97. package/dist/resource/form/components/SortControl.js +3 -0
  98. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  99. package/dist/sales/booking/results/components/ResultCard.js +0 -2
  100. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  101. package/dist/sales/coupon/control/CouponFormControl.js +21 -0
  102. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  103. package/dist/setting/admin/PaymentFeeForm.js +16 -1
  104. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  105. package/dist/setting/dashboard/DashboardSettingForm.js +4 -1
  106. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  107. package/dist/snippet/snippet-template/preview/Preview.js +6 -0
  108. package/dist/sortable-tree/SortableTreeItem.d.ts +2 -1
  109. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  110. package/dist/sortable-tree/SortableTreeItem.js +10 -4
  111. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  112. package/dist/static/CurrencyNumberInput.js +3 -0
  113. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  114. package/dist/static/form-number-input/FormNumberInput.js +3 -0
  115. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  116. package/dist/static/number-input/NumberInput.js +3 -0
  117. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +9 -0
  118. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  119. package/dist/styles/product-set/ProductSetForm.scss +22 -0
  120. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +25 -0
  121. package/dist/styles/sales/BookingResults.scss +1 -1
  122. package/dist/typeahead/Typeahead.d.ts +5 -1
  123. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  124. package/dist/typeahead/Typeahead.js +9 -2
  125. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  126. package/dist/zone/form/components/GameDurationControl.js +3 -0
  127. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  128. package/dist/zone/form/components/SortControl.js +3 -0
  129. package/package.json +8 -7
  130. package/src/affiliate/form/AffiliateForm.tsx +1 -0
  131. package/src/auth/Login/LoginComponent.tsx +1 -1
  132. package/src/calendar/utils/index.ts +17 -26
  133. package/src/date-time-button/DateContent.tsx +3 -3
  134. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -0
  135. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +88 -85
  136. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +11 -1
  137. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +0 -1
  138. package/src/events/event-card/utils.ts +5 -1
  139. package/src/iframe/activity-card/ActivityCard.tsx +6 -0
  140. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +9 -0
  141. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +1 -0
  142. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +1 -0
  143. package/src/iframe/ryft/RyftPaymentForm.tsx +9 -4
  144. package/src/iframe/ryft/utils/ryft-form.ts +28 -2
  145. package/src/layout/DropDown.tsx +1 -1
  146. package/src/modals/confirmation/ConfirmModal.tsx +19 -3
  147. package/src/notification/email-template/control/EmailTemplateControl.tsx +1 -0
  148. package/src/product-set/card/ProductSetCard.tsx +32 -6
  149. package/src/product-set/control/DateAndRecurrenceInput.tsx +3 -1
  150. package/src/product-set/control/DateInput.tsx +2 -1
  151. package/src/product-set/form/ProductCategoriesControl.tsx +37 -1
  152. package/src/product-set/form/ProductSetForm.tsx +24 -2
  153. package/src/product-set/form/ProductSetNameControl.tsx +27 -0
  154. package/src/product-set/form/ProductZonesControl.tsx +1 -4
  155. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  156. package/src/product-set/form/SubProductsControl.tsx +0 -3
  157. package/src/product-set/form/VenueMapsControl.tsx +0 -3
  158. package/src/product-set/form/index.ts +1 -0
  159. package/src/product-set/product/ProductControl.tsx +0 -1
  160. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  161. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -0
  162. package/src/product-set/product/deposit/ProductDepositControl.tsx +1 -0
  163. package/src/product-set/product/duration/ProductDurationControl.tsx +2 -0
  164. package/src/product-set/product/price/ProductPriceControl.tsx +1 -0
  165. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +2 -0
  166. package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -0
  167. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +1 -0
  168. package/src/product-set/product-category/ProductCategoryControl.tsx +4 -0
  169. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  170. package/src/product-set/utils/index.ts +11 -0
  171. package/src/recurrence-input/RecurrenceEndInput.tsx +1 -0
  172. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +1 -0
  173. package/src/resource/form/components/CapacityControl.tsx +1 -0
  174. package/src/resource/form/components/SortControl.tsx +1 -0
  175. package/src/sales/booking/results/components/ResultCard.tsx +0 -2
  176. package/src/sales/coupon/control/CouponFormControl.tsx +7 -0
  177. package/src/setting/admin/PaymentFeeForm.tsx +5 -0
  178. package/src/setting/dashboard/DashboardSettingForm.tsx +1 -0
  179. package/src/snippet/snippet-template/preview/Preview.tsx +6 -0
  180. package/src/sortable-tree/SortableTreeItem.tsx +6 -0
  181. package/src/static/CurrencyNumberInput.tsx +1 -0
  182. package/src/static/form-number-input/FormNumberInput.tsx +1 -0
  183. package/src/static/number-input/NumberInput.tsx +1 -0
  184. package/src/styles/availability-indicator/AvailabilityIndicator.scss +9 -0
  185. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  186. package/src/styles/product-set/ProductSetForm.scss +22 -0
  187. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +25 -0
  188. package/src/styles/sales/BookingResults.scss +1 -1
  189. package/src/typeahead/Typeahead.tsx +15 -1
  190. package/src/zone/form/components/GameDurationControl.tsx +1 -0
  191. package/src/zone/form/components/SortControl.tsx +1 -0
  192. package/yarn.lock +20 -62
@@ -77,6 +77,9 @@ var SortControl = function(param) {
77
77
  required: false,
78
78
  min: 1
79
79
  })), {
80
+ onWheel: function(event) {
81
+ return event.currentTarget.blur();
82
+ },
80
83
  placeholder: t('Design:ordering'),
81
84
  isInvalid: Boolean(errors.sort),
82
85
  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;AAID,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;AAED,eAAO,MAAM,UAAU,oDAKpB,eAAe,4CAuFjB,CAAA"}
@@ -10,8 +10,6 @@ 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
15
13
  var ResultCard = function(param) {
16
14
  var order = param.order, className = param.className, staffMember = param.staffMember, onCardClick = param.onCardClick;
17
15
  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,4CAuVjB,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,4CA8VjB,CAAA"}
@@ -245,6 +245,9 @@ 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
+ },
248
251
  isInvalid: errors.discount !== undefined
249
252
  }, register('discount', {
250
253
  required: t('Validation:fieldRequired', {
@@ -391,6 +394,9 @@ var CouponFormControl = function(param) {
391
394
  }),
392
395
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({}, register('totalCoupons')), {
393
396
  type: "number",
397
+ onWheel: function(event) {
398
+ return event.currentTarget.blur();
399
+ },
394
400
  isInvalid: errors.totalCoupons !== undefined,
395
401
  disabled: isLoading
396
402
  })),
@@ -411,6 +417,9 @@ var CouponFormControl = function(param) {
411
417
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
412
418
  type: "number"
413
419
  }, register('usesPerUser')), {
420
+ onWheel: function(event) {
421
+ return event.currentTarget.blur();
422
+ },
414
423
  disabled: isLoading
415
424
  }))
416
425
  ]
@@ -430,6 +439,9 @@ var CouponFormControl = function(param) {
430
439
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
431
440
  type: "number"
432
441
  }, register('useAgain')), {
442
+ onWheel: function(event) {
443
+ return event.currentTarget.blur();
444
+ },
433
445
  disabled: isLoading
434
446
  })),
435
447
  /*#__PURE__*/ jsx(Form.Text, {
@@ -449,6 +461,9 @@ var CouponFormControl = function(param) {
449
461
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
450
462
  type: "number"
451
463
  }, register('usesPerUserDay')), {
464
+ onWheel: function(event) {
465
+ return event.currentTarget.blur();
466
+ },
452
467
  disabled: isLoading
453
468
  })),
454
469
  /*#__PURE__*/ jsx(Form.Text, {
@@ -472,6 +487,9 @@ var CouponFormControl = function(param) {
472
487
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
473
488
  type: "number"
474
489
  }, register('minAmount')), {
490
+ onWheel: function(event) {
491
+ return event.currentTarget.blur();
492
+ },
475
493
  disabled: isLoading
476
494
  })),
477
495
  /*#__PURE__*/ jsx(Form.Text, {
@@ -491,6 +509,9 @@ var CouponFormControl = function(param) {
491
509
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({
492
510
  type: "number"
493
511
  }, register('maxAmount')), {
512
+ onWheel: function(event) {
513
+ return event.currentTarget.blur();
514
+ },
494
515
  disabled: isLoading
495
516
  })),
496
517
  /*#__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,2CAuRxE"}
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"}
@@ -128,7 +128,10 @@ function PaymentFeeForm(param) {
128
128
  min: 0,
129
129
  max: 100,
130
130
  step: "1",
131
- placeholder: "0"
131
+ placeholder: "0",
132
+ onWheel: function(event) {
133
+ return event.currentTarget.blur();
134
+ }
132
135
  }, register('feeInPercent', {
133
136
  validate: {
134
137
  moreThan: function(v) {
@@ -202,6 +205,9 @@ function PaymentFeeForm(param) {
202
205
  max: 999999.99,
203
206
  step: "0.01",
204
207
  placeholder: "0,00",
208
+ onWheel: function(event) {
209
+ return event.currentTarget.blur();
210
+ },
205
211
  isInvalid: Boolean(errors.minFeeInPounds),
206
212
  disabled: isLoading
207
213
  })),
@@ -261,6 +267,9 @@ function PaymentFeeForm(param) {
261
267
  max: 999999.99,
262
268
  step: "0.01",
263
269
  placeholder: "0,00",
270
+ onWheel: function(event) {
271
+ return event.currentTarget.blur();
272
+ },
264
273
  isInvalid: Boolean(errors.maxFeeInPounds),
265
274
  disabled: isLoading
266
275
  })),
@@ -332,6 +341,9 @@ function PaymentFeeForm(param) {
332
341
  max: 100,
333
342
  step: "1",
334
343
  placeholder: "0",
344
+ onWheel: function(event) {
345
+ return event.currentTarget.blur();
346
+ },
335
347
  isInvalid: Boolean(errors.vatInPercent),
336
348
  disabled: isLoading
337
349
  })),
@@ -390,6 +402,9 @@ function PaymentFeeForm(param) {
390
402
  max: 999999.99,
391
403
  step: "0.01",
392
404
  placeholder: "0,00",
405
+ onWheel: function(event) {
406
+ return event.currentTarget.blur();
407
+ },
393
408
  isInvalid: Boolean(errors.fixedFee),
394
409
  disabled: isLoading
395
410
  })),
@@ -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,4CAkN3B,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,4CAmN3B,CAAA"}
@@ -194,7 +194,10 @@ 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"
197
+ type: "number",
198
+ onWheel: function(event) {
199
+ return event.currentTarget.blur();
200
+ }
198
201
  }, register('metaPixelId', {
199
202
  minLength: {
200
203
  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,2CAgWd"}
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"}
@@ -466,6 +466,7 @@ function Preview(param) {
466
466
  productCategoryId: 57,
467
467
  productGroupId: null,
468
468
  availableQuantity: 980,
469
+ zoneId: null,
469
470
  name: 'Cofee',
470
471
  description: '',
471
472
  price: 15,
@@ -474,6 +475,8 @@ function Preview(param) {
474
475
  maxQuantity: 15,
475
476
  totalQuantity: 980,
476
477
  type: 'sale',
478
+ capacity: 0,
479
+ duration: 0,
477
480
  weight: 0,
478
481
  isAvailable: true,
479
482
  isSoldOut: false,
@@ -492,6 +495,7 @@ function Preview(param) {
492
495
  productCategoryId: 57,
493
496
  productGroupId: null,
494
497
  availableQuantity: 980,
498
+ zoneId: null,
495
499
  name: 'Cofee 2',
496
500
  description: '',
497
501
  price: 15,
@@ -500,6 +504,8 @@ function Preview(param) {
500
504
  maxQuantity: 15,
501
505
  totalQuantity: 980,
502
506
  type: 'sale',
507
+ capacity: 0,
508
+ duration: 0,
503
509
  weight: 0,
504
510
  isAvailable: true,
505
511
  isSoldOut: false,
@@ -14,6 +14,7 @@ export interface SortableTreeItemProps {
14
14
  body: ReactNode;
15
15
  children?: ReactNode;
16
16
  preItem?: ReactNode;
17
+ itemButton?: ReactNode;
17
18
  postItem?: ReactNode;
18
19
  sortableItems?: string[];
19
20
  isExpanded?: boolean;
@@ -36,5 +37,5 @@ export interface SortableTreeItemProps {
36
37
  setIsExpanded?: () => void;
37
38
  isOverride?: boolean;
38
39
  }
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;
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;
40
41
  //# 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,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,i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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"}
@@ -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;
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;
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,9 +433,15 @@ 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__*/ jsx("span", {
437
- className: clsx('sortable-tree-item-title', modalLabel && 'sortable-tree-product-set-element-title'),
438
- children: title
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
+ ]
439
445
  }),
440
446
  !expanded && /*#__PURE__*/ jsx("span", {
441
447
  className: "sortable-tree-item-subtitle",
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyNumberInput.d.ts","sourceRoot":"","sources":["../../src/static/CurrencyNumberInput.tsx"],"names":[],"mappings":"AAA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AA;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"}
@@ -88,6 +88,9 @@ 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
+ },
91
94
  ref: ref
92
95
  }, props)),
93
96
  /*#__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,4CAiEtB,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,4CAkEtB,CAAA"}
@@ -106,6 +106,9 @@ 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
+ },
109
112
  isInvalid: HookFormService.isInvalid(fieldName, errors)
110
113
  }, field), {
111
114
  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,2CAmDlB"}
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"}
@@ -27,6 +27,9 @@ 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
+ },
30
33
  onChange: function(e) {
31
34
  return onChange(Number(e.target.value));
32
35
  },
@@ -15,3 +15,12 @@
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: 1000000;
18
+ z-index: 2147483646;
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: 1000001;
27
+ z-index: 2147483647;
28
28
  display: none;
29
29
  width: 100%;
30
30
  height: 100%;
@@ -15,10 +15,12 @@
15
15
  height: 2.5rem;
16
16
  border-width: 2px;
17
17
  padding: 2px;
18
+
18
19
  label,
19
20
  .btn-switch-indicator {
20
21
  border-radius: 0.375rem !important;
21
22
  }
23
+
22
24
  label {
23
25
  height: 2rem;
24
26
  }
@@ -34,6 +36,7 @@
34
36
  margin-top: 1.5rem;
35
37
  margin-bottom: 1.5rem;
36
38
  }
39
+
37
40
  @include media-breakpoint-down(sm) {
38
41
  padding: 1.5rem 1rem;
39
42
  margin-top: 0.5rem;
@@ -59,10 +62,21 @@
59
62
  background-color: #ffdbdb;
60
63
  color: #d52902;
61
64
  }
65
+
62
66
  .category-badge {
63
67
  background-color: #e8f4f6;
64
68
  color: #1a93aa;
65
69
  }
70
+
71
+ .item-icon {
72
+ display: flex;
73
+ justify-items: center;
74
+ align-items: center;
75
+ font-size: 0.65rem;
76
+ padding: 0.2rem;
77
+ margin-right: 1rem;
78
+ }
79
+
66
80
  .product-badge {
67
81
  background-color: #e9f5ea;
68
82
  color: #269b36;
@@ -75,10 +89,12 @@
75
89
 
76
90
  .product-set-mobile-modal {
77
91
  margin: 0;
92
+
78
93
  .modal-content {
79
94
  border-radius: 1rem 1rem 0 0;
80
95
  border-width: 0;
81
96
  margin: 0;
97
+
82
98
  .modal-body {
83
99
  padding: 1rem 0;
84
100
  }
@@ -100,18 +116,22 @@
100
116
  font-weight: 600;
101
117
  font-size: 0.625rem;
102
118
  }
119
+
103
120
  .product-set-subtitle-dot {
104
121
  margin-right: 0.375rem;
105
122
  width: 0.375rem;
106
123
  height: 0.375rem;
107
124
  border-radius: 3px;
108
125
  }
126
+
109
127
  .product-set-subtitle-category-dot {
110
128
  background-color: #269b36;
111
129
  }
130
+
112
131
  .product-set-subtitle-step-dot {
113
132
  background-color: #1a93aa;
114
133
  }
134
+
115
135
  .product-set-subtitle-product-dot {
116
136
  background-color: #269b36;
117
137
  }
@@ -156,6 +176,7 @@
156
176
  justify-self: flex-end;
157
177
  align-items: flex-end;
158
178
  }
179
+
159
180
  .small-badge {
160
181
  font-size: 0.5rem;
161
182
  height: 1rem;
@@ -163,6 +184,7 @@
163
184
  padding: 0 0.2rem;
164
185
  margin-bottom: 0.2rem;
165
186
  }
187
+
166
188
  .product-set-save-btn-wrapper {
167
189
  padding-left: 0 !important;
168
190
  display: flex;
@@ -14,6 +14,7 @@
14
14
 
15
15
  .navigation {
16
16
  display: block;
17
+
17
18
  @include media-breakpoint-down(sm) {
18
19
  padding: 0;
19
20
  }
@@ -23,6 +24,7 @@
23
24
  margin-left: 0;
24
25
  height: calc(100vh - 2rem);
25
26
  max-height: calc(100vh - 1rem);
27
+
26
28
  @include media-breakpoint-down(sm) {
27
29
  width: calc(100% - 2rem);
28
30
  max-width: unset;
@@ -69,9 +71,11 @@
69
71
  .left-block {
70
72
  min-height: 100%;
71
73
  }
74
+
72
75
  .right-block {
73
76
  margin: 0 auto;
74
77
  width: 100%;
78
+
75
79
  .children-wrapper {
76
80
  .accordion {
77
81
  .collapse {
@@ -85,6 +89,7 @@
85
89
  }
86
90
  }
87
91
  }
92
+
88
93
  ::-webkit-scrollbar {
89
94
  display: none;
90
95
  scrollbar-width: none;
@@ -97,6 +102,13 @@
97
102
  }
98
103
 
99
104
  .ryft-payment-form {
105
+ .form-disable-box {
106
+ display: none;
107
+ position: absolute;
108
+ width: 100%;
109
+ height: 100%;
110
+ }
111
+
100
112
  .submit-button-wrapper {
101
113
  margin: -1rem 0 1rem;
102
114
 
@@ -104,15 +116,18 @@
104
116
  width: 100%;
105
117
  }
106
118
  }
119
+
107
120
  #mobile-pay-divider-container {
108
121
  display: flex;
109
122
  position: relative;
110
123
  margin-bottom: 1rem;
124
+
111
125
  #mobile-pay-divider-text {
112
126
  margin-right: 1rem;
113
127
  font-size: 0.875rem;
114
128
  font-weight: 600;
115
129
  }
130
+
116
131
  #mobile-pay-divider {
117
132
  width: 100%;
118
133
  border-bottom: 1px #dfdfdf solid;
@@ -125,6 +140,7 @@
125
140
  border: none;
126
141
  margin-bottom: 0.5rem;
127
142
  text-align: left;
143
+
128
144
  :first-child {
129
145
  font-size: 1rem;
130
146
  font-weight: 600;
@@ -135,14 +151,17 @@
135
151
  margin-bottom: 0.5rem;
136
152
  }
137
153
  }
154
+
138
155
  .ryft-pay-grid {
139
156
  display: flex;
140
157
  flex-direction: column;
158
+
141
159
  .apple-pay-button {
142
160
  height: 2.5rem;
143
161
  margin-top: 1rem;
144
162
  }
145
163
  }
164
+
146
165
  .mobile-pay-title {
147
166
  display: block;
148
167
  font-weight: 600;
@@ -157,9 +176,14 @@
157
176
 
158
177
  @include media-breakpoint-up(md) {
159
178
  .ryft-payment-form,
179
+ .form-disable-box {
180
+ height: 50%;
181
+ top: 15rem;
182
+ }
160
183
  .iframe-payment-form {
161
184
  position: relative;
162
185
  max-height: 300px !important;
186
+
163
187
  .submit-button-wrapper {
164
188
  max-width: 15.5rem;
165
189
  }
@@ -171,6 +195,7 @@
171
195
  max-width: 15.5rem;
172
196
  margin-bottom: 1rem;
173
197
  }
198
+
174
199
  .ryft-pay-apple-pay-button {
175
200
  border-radius: 0.25rem;
176
201
  }
@@ -5,7 +5,7 @@
5
5
  flex-wrap: wrap;
6
6
 
7
7
  .result-card {
8
- height: 14.25rem;
8
+ height: 14rem;
9
9
  border: 1px solid $gray-400;
10
10
  max-width: calc(50% - 0.75rem);
11
11
  flex: 0 0 calc(50% - 0.75rem);
@@ -1,3 +1,4 @@
1
+ import { CSSObjectWithLabel } from 'react-select';
1
2
  export type TypeaheadOptions = {
2
3
  id: number | string;
3
4
  value: any;
@@ -8,11 +9,14 @@ export interface TypeaheadProps {
8
9
  placeholder: string;
9
10
  isRequired?: boolean;
10
11
  name: string;
12
+ value?: TypeaheadOptions;
11
13
  isMultipleChoise?: boolean;
12
14
  noOptionsMessage: string;
13
15
  isInvalid?: boolean;
14
16
  isCouponForm?: boolean;
17
+ containerStyles?: CSSObjectWithLabel;
18
+ onChangeValue?: (value: TypeaheadOptions) => void;
15
19
  }
16
- declare function Typeahead({ options, placeholder, isRequired, isMultipleChoise, name, isCouponForm, noOptionsMessage, isInvalid, }: TypeaheadProps): import("react/jsx-runtime").JSX.Element;
20
+ declare function Typeahead({ options, placeholder, isRequired, isMultipleChoise, name, value, onChangeValue, containerStyles, isCouponForm, noOptionsMessage, isInvalid, }: TypeaheadProps): import("react/jsx-runtime").JSX.Element;
17
21
  export { Typeahead };
18
22
  //# sourceMappingURL=Typeahead.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Typeahead.d.ts","sourceRoot":"","sources":["../../src/typeahead/Typeahead.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,KAAK,EAAE,GAAG,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,iBAAS,SAAS,CAAC,EACjB,OAAO,EACP,WAAW,EACX,UAAkB,EAClB,gBAAgB,EAChB,IAAS,EACT,YAAoB,EACpB,gBAAqB,EACrB,SAAS,GACV,EAAE,cAAc,2CA4ChB;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Typeahead.d.ts","sourceRoot":"","sources":["../../src/typeahead/Typeahead.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;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