@licklist/design 0.69.2 → 0.69.3-dev.1

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 (187) 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/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +2 -1
  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 +3 -2
  6. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +2 -1
  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 +53 -24
  9. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -0
  10. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  11. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +3 -2
  12. package/dist/iframe/activity-card/ActivityCard.d.ts +5 -4
  13. package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
  14. package/dist/iframe/activity-card/ActivityCard.js +52 -40
  15. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  16. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +13 -0
  17. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  18. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +2 -0
  19. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  20. package/dist/iframe/ryft/RyftPaymentForm.d.ts +2 -2
  21. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  22. package/dist/iframe/ryft/RyftPaymentForm.js +8 -2
  23. package/dist/iframe/ryft/utils/ryft-form.d.ts +2 -1
  24. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  25. package/dist/iframe/ryft/utils/ryft-form.js +20 -1
  26. package/dist/index.js +1 -0
  27. package/dist/layout/DropDown.d.ts +2 -1
  28. package/dist/layout/DropDown.d.ts.map +1 -1
  29. package/dist/modals/confirmation/ConfirmModal.d.ts +3 -1
  30. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  31. package/dist/modals/confirmation/ConfirmModal.js +172 -8
  32. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  33. package/dist/notification/email-template/control/EmailTemplateControl.js +3 -0
  34. package/dist/product-set/card/ProductSetCard.d.ts +6 -2
  35. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  36. package/dist/product-set/card/ProductSetCard.js +30 -11
  37. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  38. package/dist/product-set/control/DateInput.js +2 -2
  39. package/dist/product-set/control/ProductSetControl.d.ts +4 -0
  40. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  41. package/dist/product-set/control/ProductSetControl.js +30 -3
  42. package/dist/product-set/control/ProductSetImageControl.d.ts +2 -0
  43. package/dist/product-set/control/ProductSetImageControl.d.ts.map +1 -0
  44. package/dist/product-set/control/ProductSetImageControl.js +279 -0
  45. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  46. package/dist/product-set/form/ProductCategoriesControl.js +48 -2
  47. package/dist/product-set/form/ProductSetForm.d.ts +4 -1
  48. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  49. package/dist/product-set/form/ProductSetForm.js +64 -1
  50. package/dist/product-set/form/ProductSetNameControl.d.ts +6 -0
  51. package/dist/product-set/form/ProductSetNameControl.d.ts.map +1 -0
  52. package/dist/product-set/form/ProductSetNameControl.js +35 -0
  53. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  54. package/dist/product-set/form/ProductZonesControl.js +0 -2
  55. package/dist/product-set/form/ProductsControl.js +1 -0
  56. package/dist/product-set/form/SelectCategoryModal.d.ts +12 -0
  57. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  58. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  59. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  60. package/dist/product-set/form/SubProductsControl.js +0 -3
  61. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  62. package/dist/product-set/form/VenueMapsControl.js +0 -3
  63. package/dist/product-set/form/index.d.ts +1 -0
  64. package/dist/product-set/form/index.d.ts.map +1 -1
  65. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  66. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  67. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +6 -0
  68. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  69. package/dist/product-set/product/deposit/ProductDepositControl.js +3 -0
  70. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  71. package/dist/product-set/product/duration/ProductDurationControl.js +6 -0
  72. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  73. package/dist/product-set/product/price/ProductPriceControl.js +3 -0
  74. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  75. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +6 -0
  76. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  77. package/dist/product-set/product/quantity/ProductQuantityControl.js +6 -0
  78. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  79. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +4 -1
  80. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  81. package/dist/product-set/product-category/ProductCategoryControl.js +12 -0
  82. package/dist/product-set/utils/index.d.ts +7 -0
  83. package/dist/product-set/utils/index.d.ts.map +1 -1
  84. package/dist/product-set/utils/index.js +10 -1
  85. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  86. package/dist/recurrence-input/RecurrenceEndInput.js +3 -0
  87. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  88. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  89. package/dist/resource/form/components/CapacityControl.js +3 -0
  90. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  91. package/dist/resource/form/components/SortControl.js +3 -0
  92. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  93. package/dist/sales/booking/results/components/ResultCard.js +0 -2
  94. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  95. package/dist/sales/coupon/control/CouponFormControl.js +21 -0
  96. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  97. package/dist/setting/admin/PaymentFeeForm.js +16 -1
  98. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  99. package/dist/setting/dashboard/DashboardSettingForm.js +4 -1
  100. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  101. package/dist/snippet/snippet-template/preview/Preview.js +6 -0
  102. package/dist/sortable-tree/SortableTreeItem.d.ts +2 -1
  103. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  104. package/dist/sortable-tree/SortableTreeItem.js +10 -4
  105. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  106. package/dist/static/CurrencyNumberInput.js +3 -0
  107. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  108. package/dist/static/form-number-input/FormNumberInput.js +3 -0
  109. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  110. package/dist/static/number-input/NumberInput.js +3 -0
  111. package/dist/styles/activity-card/{GridActivitiesCard.scss → ActivitiesCard.scss} +19 -5
  112. package/dist/styles/activity-card/ListActivitiesCard.scss +12 -42
  113. package/dist/styles/activity-card/_index.scss +1 -1
  114. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  115. package/dist/styles/product-set/ProductSetForm.scss +22 -0
  116. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +28 -1
  117. package/dist/styles/sales/BookingResults.scss +1 -1
  118. package/dist/typeahead/Typeahead.d.ts +5 -1
  119. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  120. package/dist/typeahead/Typeahead.js +9 -2
  121. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  122. package/dist/zone/form/components/GameDurationControl.js +3 -0
  123. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  124. package/dist/zone/form/components/SortControl.js +3 -0
  125. package/package.json +8 -6
  126. package/src/affiliate/form/AffiliateForm.tsx +1 -0
  127. package/src/auth/Login/LoginComponent.tsx +1 -1
  128. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -2
  129. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +91 -86
  130. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +2 -1
  131. package/src/iframe/activity-card/ActivityCard.tsx +35 -24
  132. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +9 -0
  133. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +1 -0
  134. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +1 -0
  135. package/src/iframe/ryft/RyftPaymentForm.tsx +13 -5
  136. package/src/iframe/ryft/utils/ryft-form.ts +26 -2
  137. package/src/layout/DropDown.tsx +1 -1
  138. package/src/modals/confirmation/ConfirmModal.tsx +19 -3
  139. package/src/notification/email-template/control/EmailTemplateControl.tsx +1 -0
  140. package/src/product-set/card/ProductSetCard.tsx +47 -8
  141. package/src/product-set/control/DateInput.tsx +2 -1
  142. package/src/product-set/control/ProductSetControl.tsx +52 -52
  143. package/src/product-set/control/ProductSetImageControl.tsx +97 -0
  144. package/src/product-set/form/ProductCategoriesControl.tsx +37 -1
  145. package/src/product-set/form/ProductSetForm.tsx +24 -2
  146. package/src/product-set/form/ProductSetNameControl.tsx +27 -0
  147. package/src/product-set/form/ProductZonesControl.tsx +1 -4
  148. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  149. package/src/product-set/form/SubProductsControl.tsx +0 -3
  150. package/src/product-set/form/VenueMapsControl.tsx +0 -3
  151. package/src/product-set/form/index.ts +1 -0
  152. package/src/product-set/product/ProductControl.tsx +0 -1
  153. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  154. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -0
  155. package/src/product-set/product/deposit/ProductDepositControl.tsx +1 -0
  156. package/src/product-set/product/duration/ProductDurationControl.tsx +2 -0
  157. package/src/product-set/product/price/ProductPriceControl.tsx +1 -0
  158. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +2 -0
  159. package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -0
  160. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +1 -0
  161. package/src/product-set/product-category/ProductCategoryControl.tsx +4 -0
  162. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  163. package/src/product-set/utils/index.ts +11 -0
  164. package/src/recurrence-input/RecurrenceEndInput.tsx +1 -0
  165. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +1 -0
  166. package/src/resource/form/components/CapacityControl.tsx +1 -0
  167. package/src/resource/form/components/SortControl.tsx +1 -0
  168. package/src/sales/booking/results/components/ResultCard.tsx +0 -2
  169. package/src/sales/coupon/control/CouponFormControl.tsx +7 -0
  170. package/src/setting/admin/PaymentFeeForm.tsx +5 -0
  171. package/src/setting/dashboard/DashboardSettingForm.tsx +1 -0
  172. package/src/snippet/snippet-template/preview/Preview.tsx +6 -0
  173. package/src/sortable-tree/SortableTreeItem.tsx +6 -0
  174. package/src/static/CurrencyNumberInput.tsx +1 -0
  175. package/src/static/form-number-input/FormNumberInput.tsx +1 -0
  176. package/src/static/number-input/NumberInput.tsx +1 -0
  177. package/src/styles/activity-card/{GridActivitiesCard.scss → ActivitiesCard.scss} +19 -5
  178. package/src/styles/activity-card/ListActivitiesCard.scss +12 -42
  179. package/src/styles/activity-card/_index.scss +1 -1
  180. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  181. package/src/styles/product-set/ProductSetForm.scss +22 -0
  182. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +28 -1
  183. package/src/styles/sales/BookingResults.scss +1 -1
  184. package/src/typeahead/Typeahead.tsx +15 -1
  185. package/src/zone/form/components/GameDurationControl.tsx +1 -0
  186. package/src/zone/form/components/SortControl.tsx +1 -0
  187. package/yarn.lock +61 -35
@@ -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":"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"}
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"}
@@ -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
  },
@@ -11,10 +11,7 @@
11
11
  background-color: #fff;
12
12
  font-size: 0.8rem;
13
13
  background-color: $snippet-product-set-background-color;
14
-
15
- div {
16
- text-align: left;
17
- }
14
+ text-align: left;
18
15
 
19
16
  &.active {
20
17
  border: 2px solid #0e8be1;
@@ -23,7 +20,24 @@
23
20
  &-title {
24
21
  font-weight: 600;
25
22
  line-height: 1.25rem;
26
- cursor: pointer;
27
23
  font-size: 0.875rem;
28
24
  }
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
+ }
29
43
  }
@@ -3,56 +3,26 @@
3
3
  .list-activity-card {
4
4
  display: flex;
5
5
  justify-content: space-between;
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;
6
+ gap: 0.5rem;
7
+ width: 100%;
15
8
 
16
- &.active {
17
- border: 2px solid #0e8be1;
18
- }
19
-
20
- p {
21
- margin-bottom: 0;
22
- }
23
-
24
- .description {
9
+ &-info {
25
10
  width: 70%;
26
11
  font-size: 0.81rem;
27
12
  display: flex;
28
13
  flex-direction: column;
14
+ align-items: start;
29
15
  }
30
16
 
31
- .title {
32
- font-weight: 600;
33
- font-size: 0.875rem;
34
- line-height: 1.5rem;
35
- }
36
-
37
- .image-container {
38
- display: flex;
39
- justify-content: start;
17
+ img {
18
+ max-width: 120px;
40
19
  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
- }
20
+ object-fit: cover;
21
+ aspect-ratio: 1.2/1;
22
+ border-radius: 0.5rem;
53
23
  }
54
- }
55
24
 
56
- .list-activity-card-hr {
57
- margin-top: 0;
25
+ &-hr {
26
+ margin-top: 0;
27
+ }
58
28
  }
@@ -1,2 +1,2 @@
1
- @import './GridActivitiesCard.scss';
1
+ @import './ActivitiesCard.scss';
2
2
  @import './ListActivitiesCard.scss';
@@ -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,14 @@
97
102
  }
98
103
 
99
104
  .ryft-payment-form {
105
+
106
+ .form-disable-box {
107
+ display: none;
108
+ position: absolute;
109
+ width: 100%;
110
+ height: 100%;
111
+ }
112
+
100
113
  .submit-button-wrapper {
101
114
  margin: -1rem 0 1rem;
102
115
 
@@ -104,15 +117,18 @@
104
117
  width: 100%;
105
118
  }
106
119
  }
120
+
107
121
  #mobile-pay-divider-container {
108
122
  display: flex;
109
123
  position: relative;
110
124
  margin-bottom: 1rem;
125
+
111
126
  #mobile-pay-divider-text {
112
127
  margin-right: 1rem;
113
128
  font-size: 0.875rem;
114
129
  font-weight: 600;
115
130
  }
131
+
116
132
  #mobile-pay-divider {
117
133
  width: 100%;
118
134
  border-bottom: 1px #dfdfdf solid;
@@ -125,6 +141,7 @@
125
141
  border: none;
126
142
  margin-bottom: 0.5rem;
127
143
  text-align: left;
144
+
128
145
  :first-child {
129
146
  font-size: 1rem;
130
147
  font-weight: 600;
@@ -135,14 +152,17 @@
135
152
  margin-bottom: 0.5rem;
136
153
  }
137
154
  }
155
+
138
156
  .ryft-pay-grid {
139
157
  display: flex;
140
158
  flex-direction: column;
159
+
141
160
  .apple-pay-button {
142
161
  height: 2.5rem;
143
162
  margin-top: 1rem;
144
163
  }
145
164
  }
165
+
146
166
  .mobile-pay-title {
147
167
  display: block;
148
168
  font-weight: 600;
@@ -156,10 +176,16 @@
156
176
  }
157
177
 
158
178
  @include media-breakpoint-up(md) {
179
+
159
180
  .ryft-payment-form,
181
+ .form-disable-box {
182
+ height: 50%;
183
+ top: 15rem;
184
+ }
160
185
  .iframe-payment-form {
161
186
  position: relative;
162
187
  max-height: 300px !important;
188
+
163
189
  .submit-button-wrapper {
164
190
  max-width: 15.5rem;
165
191
  }
@@ -171,6 +197,7 @@
171
197
  max-width: 15.5rem;
172
198
  margin-bottom: 1rem;
173
199
  }
200
+
174
201
  .ryft-pay-apple-pay-button {
175
202
  border-radius: 0.25rem;
176
203
  }
@@ -178,4 +205,4 @@
178
205
  .divider {
179
206
  display: none !important;
180
207
  }
181
- }
208
+ }
@@ -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;AAGzD,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,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,eAAe,CAAC,EAAE,kBAAkB,CAAA;IACpC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAA;CAClD;AAED,iBAAS,SAAS,CAAC,EACjB,OAAO,EACP,WAAW,EACX,UAAkB,EAClB,gBAAgB,EAChB,IAAS,EACT,KAAK,EACL,aAAa,EACb,eAAe,EACf,YAAoB,EACpB,gBAAqB,EACrB,SAAS,GACV,EAAE,cAAc,2CAoDhB;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -31,7 +31,7 @@ function _object_spread(target) {
31
31
  return target;
32
32
  }
33
33
  function Typeahead(param) {
34
- var options = param.options, placeholder = param.placeholder, _param_isRequired = param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, isMultipleChoise = param.isMultipleChoise, _param_name = param.name, name = _param_name === void 0 ? '' : _param_name, _param_isCouponForm = param.isCouponForm, isCouponForm = _param_isCouponForm === void 0 ? false : _param_isCouponForm, _param_noOptionsMessage = param.noOptionsMessage, noOptionsMessage = _param_noOptionsMessage === void 0 ? '' : _param_noOptionsMessage, isInvalid = param.isInvalid;
34
+ var options = param.options, placeholder = param.placeholder, _param_isRequired = param.isRequired, isRequired = _param_isRequired === void 0 ? false : _param_isRequired, isMultipleChoise = param.isMultipleChoise, _param_name = param.name, name = _param_name === void 0 ? '' : _param_name, value = param.value, onChangeValue = param.onChangeValue, containerStyles = param.containerStyles, _param_isCouponForm = param.isCouponForm, isCouponForm = _param_isCouponForm === void 0 ? false : _param_isCouponForm, _param_noOptionsMessage = param.noOptionsMessage, noOptionsMessage = _param_noOptionsMessage === void 0 ? '' : _param_noOptionsMessage, isInvalid = param.isInvalid;
35
35
  var control = useFormContext().control;
36
36
  var getStyle = function() {
37
37
  var couponFormStyle = isCouponForm ? {
@@ -53,14 +53,21 @@ function Typeahead(param) {
53
53
  var field = param.field;
54
54
  return /*#__PURE__*/ jsx(Select, {
55
55
  placeholder: placeholder,
56
- value: field.value,
56
+ value: value !== null && value !== void 0 ? value : field.value,
57
57
  isMulti: isMultipleChoise,
58
58
  styles: {
59
+ container: function(base) {
60
+ return _object_spread({}, base, containerStyles);
61
+ },
59
62
  control: function(base) {
60
63
  return _object_spread({}, base, getStyle());
61
64
  }
62
65
  },
63
66
  onChange: function(value) {
67
+ if (onChangeValue) {
68
+ onChangeValue(value);
69
+ return;
70
+ }
64
71
  field.onChange(value);
65
72
  },
66
73
  options: options,
@@ -1 +1 @@
1
- {"version":3,"file":"GameDurationControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/GameDurationControl.tsx"],"names":[],"mappings":"AAOA,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,mBAAmB,mBAE7B,wBAAwB,4CA+B1B,CAAA"}
1
+ {"version":3,"file":"GameDurationControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/GameDurationControl.tsx"],"names":[],"mappings":"AAOA,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,mBAAmB,mBAE7B,wBAAwB,4CAgC1B,CAAA"}
@@ -77,6 +77,9 @@ var GameDurationControl = 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:duration'),
81
84
  isInvalid: Boolean(errors.defaultDuration),
82
85
  disabled: isLoading
@@ -1 +1 @@
1
- {"version":3,"file":"SortControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/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"}
1
+ {"version":3,"file":"SortControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/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"}
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.69.2",
3
+ "version": "0.69.3-dev.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -42,9 +42,9 @@
42
42
  ]
43
43
  },
44
44
  "peerDependencies": {
45
- "@licklist/core": "0.30.1",
45
+ "@licklist/core": "0.30.0-dev.0",
46
46
  "@licklist/eslint-config": "0.5.6",
47
- "@licklist/plugins": "0.33.1",
47
+ "@licklist/plugins": "0.33.2-dev.1",
48
48
  "lodash": "4.17.21",
49
49
  "luxon": "3.5.0",
50
50
  "react": "17.0.2",
@@ -61,9 +61,9 @@
61
61
  "@dnd-kit/utilities": "2.0.0",
62
62
  "@fortawesome/fontawesome-svg-core": "1.2.34",
63
63
  "@fortawesome/free-solid-svg-icons": "5.15.2",
64
- "@licklist/core": "0.30.1",
64
+ "@licklist/core": "0.30.0-dev.0",
65
65
  "@licklist/eslint-config": "0.5.6",
66
- "@licklist/plugins": "0.33.1",
66
+ "@licklist/plugins": "0.33.0-dev.0",
67
67
  "@mantine/core": "6.0.22",
68
68
  "@mantine/hooks": "6.0.22",
69
69
  "@mdx-js/react": "1.6.22",
@@ -202,8 +202,10 @@
202
202
  "yarn tsc"
203
203
  ]
204
204
  },
205
+ "packageManager": "yarn@4.4.0",
205
206
  "volta": {
206
207
  "node": "20.9.0",
207
208
  "yarn": "4.4.0"
208
- }
209
+ },
210
+ "stableVersion": "0.69.1-dev.3"
209
211
  }
@@ -76,6 +76,7 @@ export const AffiliateForm = ({
76
76
  const copyToClipboard = () =>
77
77
  // eslint-disable-next-line consistent-return
78
78
  window.navigator.clipboard.writeText(formValues.link)
79
+
79
80
  return (
80
81
  <FormProvider {...form}>
81
82
  <Form onSubmit={form.handleSubmit(handleSubmit)}>
@@ -44,7 +44,7 @@ const LoginComponent = ({
44
44
  const handleError = (error: any) => {
45
45
  notification.danger({
46
46
  title: 'Error',
47
- message: error.message,
47
+ message: error?.response?.data?.message || error.message,
48
48
  })
49
49
  }
50
50
 
@@ -17,7 +17,6 @@ import FormErrorService from '@licklist/plugins/dist/services/Form/FormErrorServ
17
17
  import { ServerError } from '@licklist/plugins/dist/hooks/Api/useHttpQuery'
18
18
  import { scrollToError } from '@licklist/plugins/dist/utils/ScrollUtils'
19
19
  import { getFirstErrorKey } from '@licklist/plugins/dist/utils/FormValues'
20
-
21
20
  import { ProductSet } from '@licklist/core/dist/DataMapper/Product/ProductSetDataMapper'
22
21
  import { CategoryGroup } from '../../../../types/categories'
23
22
  import { SaleDeadline } from '../SaleDeadline/SaleDeadline'
@@ -31,7 +30,6 @@ import { FileUpload } from '../../../../file-upload'
31
30
  import { IntervalInput, IntervalInputValues } from '../../IntervalInput'
32
31
  import { SelectEventProductSet } from '../SelectEventProductSet'
33
32
  import { Dialog, useDialogContext } from '../../../../modals/dialog'
34
-
35
33
  import { ProductSetFormValues } from '../../../../product-set/form/ProductSetForm'
36
34
  import { isUrlValid } from '../../utils/isUrlValid'
37
35
 
@@ -65,6 +63,7 @@ export interface EditEventFormProps extends HasPermissionProp {
65
63
  setEditProductSetId: (value: string) => void
66
64
  isExternalPaymentLinkEnabled?: boolean
67
65
  timeZone: string
66
+ eventProductSet?: ProductSet
68
67
  }
69
68
 
70
69
  const eventImageTypes = {
@@ -85,6 +84,7 @@ export const EditEventForm = ({
85
84
  setEditProductSetId,
86
85
  isExternalPaymentLinkEnabled,
87
86
  timeZone,
87
+ eventProductSet,
88
88
  }: EditEventFormProps) => {
89
89
  const { t } = useTranslation(['Design', 'Validation'])
90
90
 
@@ -405,6 +405,7 @@ export const EditEventForm = ({
405
405
  setShowEditProductSet={setShowEditProductSet}
406
406
  showEditProductSet={showEditProductSet}
407
407
  timeZone={timeZone}
408
+ eventProductSet={eventProductSet}
408
409
  />
409
410
 
410
411
  {hasPermission && !showEditProductSet && (