@licklist/design 0.74.0 → 0.74.1-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 (164) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  2. package/dist/assets/dashboard/chartBar.svg.js +2 -2
  3. package/dist/auth/Login/LoginComponent.js +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/SelectEventProductSet/component/EditEventProductSet.js +3 -2
  6. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
  7. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +2 -1
  8. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
  9. package/dist/events/event-statistic-modal/EventStatisticModal.js +2 -2
  10. package/dist/events/event-statistic-modal/hooks/useTableData.d.ts +1 -1
  11. package/dist/events/event-statistic-modal/hooks/useTableData.d.ts.map +1 -1
  12. package/dist/events/event-statistic-modal/hooks/useTableData.js +2 -1
  13. package/dist/events/event-statistic-modal/utils/index.js +3 -3
  14. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  15. package/dist/events/event-venue-map/EventVenueMap.js +1 -0
  16. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  17. package/dist/events/event-venue-map/hooks/useCanvasSize.js +11 -4
  18. package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.js +2 -3
  19. package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.d.ts.map +1 -1
  20. package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.js +4 -11
  21. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
  22. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  23. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +13 -0
  24. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  25. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  26. package/dist/iframe/ryft/utils/ryft-form.js +4 -5
  27. package/dist/layout/DropDown.d.ts +2 -1
  28. package/dist/layout/DropDown.d.ts.map +1 -1
  29. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  30. package/dist/notification/email-template/control/EmailTemplateControl.js +3 -0
  31. package/dist/product-set/control/ProductSetControl.d.ts +2 -0
  32. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  33. package/dist/product-set/control/ProductSetControl.js +10 -0
  34. package/dist/product-set/form/ProductSetForm.d.ts +5 -3
  35. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  36. package/dist/product-set/form/ProductSetForm.js +1 -1
  37. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  38. package/dist/product-set/form/ProductZonesControl.js +0 -2
  39. package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
  40. package/dist/product-set/form/ProductsControl.js +4 -1
  41. package/dist/product-set/form/StepsControl.d.ts.map +1 -1
  42. package/dist/product-set/form/StepsControl.js +2 -1
  43. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  44. package/dist/product-set/form/SubProductsControl.js +0 -3
  45. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  46. package/dist/product-set/form/VenueMapsControl.js +0 -3
  47. package/dist/product-set/form/context.d.ts +1 -2
  48. package/dist/product-set/form/context.d.ts.map +1 -1
  49. package/dist/product-set/product/ProductControl.d.ts +4 -1
  50. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  51. package/dist/product-set/product/ProductControl.js +35 -0
  52. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  53. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +6 -0
  54. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  55. package/dist/product-set/product/deposit/ProductDepositControl.js +3 -0
  56. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  57. package/dist/product-set/product/duration/ProductDurationControl.js +6 -0
  58. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  59. package/dist/product-set/product/price/ProductPriceControl.js +3 -0
  60. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  61. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +6 -0
  62. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  63. package/dist/product-set/product/quantity/ProductQuantityControl.js +6 -0
  64. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  65. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +4 -1
  66. package/dist/product-set/product/scanRange/ProductScanRangeControl.d.ts +12 -0
  67. package/dist/product-set/product/scanRange/ProductScanRangeControl.d.ts.map +1 -0
  68. package/dist/product-set/product/scanRange/ProductScanRangeControl.js +153 -0
  69. package/dist/product-set/product/scanRange/index.d.ts +2 -0
  70. package/dist/product-set/product/scanRange/index.d.ts.map +1 -0
  71. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  72. package/dist/product-set/product-category/ProductCategoryControl.js +12 -0
  73. package/dist/product-set/utils/index.d.ts +5 -1
  74. package/dist/product-set/utils/index.d.ts.map +1 -1
  75. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  76. package/dist/recurrence-input/RecurrenceEndInput.js +3 -0
  77. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  78. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  79. package/dist/resource/form/components/CapacityControl.js +3 -0
  80. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  81. package/dist/resource/form/components/SortControl.js +3 -0
  82. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  83. package/dist/sales/booking/results/components/ResultCard.js +0 -2
  84. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  85. package/dist/sales/coupon/control/CouponFormControl.js +21 -0
  86. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  87. package/dist/setting/dashboard/DashboardSettingForm.js +4 -1
  88. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  89. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  90. package/dist/static/CurrencyNumberInput.js +3 -0
  91. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  92. package/dist/static/form-number-input/FormNumberInput.js +3 -0
  93. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  94. package/dist/static/number-input/NumberInput.js +3 -0
  95. package/dist/styles/form/CustomCheckbox.scss +31 -0
  96. package/dist/styles/iframe-events/Calendar.scss +1 -1
  97. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  98. package/dist/styles/product-set/ProductSetForm.scss +2 -3
  99. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +1 -3
  100. package/dist/styles/sales/BookingResults.scss +1 -1
  101. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  102. package/dist/zone/form/components/GameDurationControl.js +3 -0
  103. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  104. package/dist/zone/form/components/SortControl.js +3 -0
  105. package/package.json +8 -6
  106. package/src/affiliate/form/AffiliateForm.tsx +1 -0
  107. package/src/auth/Login/LoginComponent.tsx +1 -1
  108. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +12 -7
  109. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -1
  110. package/src/events/event-statistic-modal/EventStatisticModal.tsx +3 -1
  111. package/src/events/event-statistic-modal/hooks/useTableData.tsx +2 -1
  112. package/src/events/event-statistic-modal/utils/index.ts +4 -4
  113. package/src/events/event-venue-map/EventVenueMap.tsx +1 -0
  114. package/src/events/event-venue-map/hooks/useCanvasSize.ts +5 -1
  115. package/src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.tsx +2 -2
  116. package/src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.tsx +5 -13
  117. package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +1 -0
  118. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +9 -0
  119. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +1 -0
  120. package/src/iframe/ryft/utils/ryft-form.ts +6 -5
  121. package/src/layout/DropDown.tsx +1 -1
  122. package/src/notification/email-template/control/EmailTemplateControl.tsx +1 -0
  123. package/src/product-set/control/ProductSetControl.tsx +14 -0
  124. package/src/product-set/form/ProductSetForm.tsx +7 -6
  125. package/src/product-set/form/ProductZonesControl.tsx +1 -4
  126. package/src/product-set/form/ProductsControl.tsx +3 -7
  127. package/src/product-set/form/StepsControl.tsx +1 -3
  128. package/src/product-set/form/SubProductsControl.tsx +0 -3
  129. package/src/product-set/form/VenueMapsControl.tsx +0 -3
  130. package/src/product-set/form/context.tsx +2 -5
  131. package/src/product-set/product/ProductControl.tsx +53 -18
  132. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  133. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -0
  134. package/src/product-set/product/deposit/ProductDepositControl.tsx +1 -0
  135. package/src/product-set/product/duration/ProductDurationControl.tsx +2 -0
  136. package/src/product-set/product/price/ProductPriceControl.tsx +1 -0
  137. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +2 -0
  138. package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -0
  139. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +1 -0
  140. package/src/product-set/product/scanRange/ProductScanRangeControl.stories.ts +45 -0
  141. package/src/product-set/product/scanRange/ProductScanRangeControl.tsx +163 -0
  142. package/src/product-set/product/scanRange/index.ts +1 -0
  143. package/src/product-set/product-category/ProductCategoryControl.tsx +4 -0
  144. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  145. package/src/recurrence-input/RecurrenceEndInput.tsx +1 -0
  146. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +1 -0
  147. package/src/resource/form/components/CapacityControl.tsx +1 -0
  148. package/src/resource/form/components/SortControl.tsx +1 -0
  149. package/src/sales/booking/results/components/ResultCard.tsx +0 -2
  150. package/src/sales/coupon/control/CouponFormControl.tsx +7 -0
  151. package/src/setting/dashboard/DashboardSettingForm.tsx +1 -0
  152. package/src/sortable-tree/SortableTreeItem.tsx +1 -6
  153. package/src/static/CurrencyNumberInput.tsx +1 -0
  154. package/src/static/form-number-input/FormNumberInput.tsx +1 -0
  155. package/src/static/number-input/NumberInput.tsx +1 -0
  156. package/src/styles/form/CustomCheckbox.scss +31 -0
  157. package/src/styles/iframe-events/Calendar.scss +1 -1
  158. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  159. package/src/styles/product-set/ProductSetForm.scss +2 -3
  160. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +1 -3
  161. package/src/styles/sales/BookingResults.scss +1 -1
  162. package/src/zone/form/components/GameDurationControl.tsx +1 -0
  163. package/src/zone/form/components/SortControl.tsx +1 -0
  164. package/yarn.lock +830 -850
@@ -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;AAG/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;AAG7D,UAAU,yBAAy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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"}
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"}
@@ -161,6 +161,9 @@ 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
+ },
164
167
  disabled: disabled || !count || count === 500,
165
168
  "aria-label": "Occurrence count",
166
169
  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,2CAoFP;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,2CAqFP;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,4CAmClE,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,4CAoClE,CAAA"}
@@ -80,6 +80,9 @@ var CapacityControl = function(param) {
80
80
  required: true,
81
81
  min: 1
82
82
  })), {
83
+ onWheel: function(event) {
84
+ return event.currentTarget.blur();
85
+ },
83
86
  placeholder: t('Design:capacity'),
84
87
  isInvalid: Boolean(errors.capacity),
85
88
  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,4CAmC1D,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,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
@@ -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":"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":"SortableTreeItem.d.ts","sourceRoot":"","sources":["../../src/sortable-tree/SortableTreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAIV,MAAM,OAAO,CAAA;AAiBd,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAA;AAEV,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAA;AAEtE,MAAM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AAA;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
  },
@@ -28,3 +28,34 @@
28
28
  z-index: 2;
29
29
  }
30
30
  }
31
+
32
+ .checkbox-second-column {
33
+ margin-top: 1rem;
34
+ display: flex;
35
+ z-index: 2;
36
+ align-items: center;
37
+
38
+ .custom-checkbox .custom-control-label::before {
39
+ width: 1.5rem;
40
+ height: 1.5rem;
41
+ border-radius: 0.5rem;
42
+ border: 2px solid #0e8ce2;
43
+ margin-top: -0.3rem;
44
+ }
45
+ .custom-checkbox .custom-control-label::after {
46
+ width: 1.5rem;
47
+ height: 1.5rem;
48
+ top: 0;
49
+ }
50
+
51
+ .custom-control-label {
52
+ padding-left: 0.5rem;
53
+ font-weight: 400;
54
+ font-size: 1rem;
55
+ min-height: 3rem;
56
+ }
57
+
58
+ .checkbox-input {
59
+ z-index: 2;
60
+ }
61
+ }
@@ -74,7 +74,7 @@
74
74
  .calendar-dates-wrapper {
75
75
  .calendar-dates {
76
76
  display: grid;
77
- grid-template-columns: repeat(7, 1fr);
77
+ grid-template-columns: repeat(7, auto);
78
78
  grid-gap: 0.5rem 1rem;
79
79
  overflow-x: auto;
80
80
  }
@@ -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%;
@@ -1,5 +1,4 @@
1
1
  .product-set-form {
2
-
3
2
  input,
4
3
  textarea,
5
4
  select,
@@ -211,8 +210,8 @@
211
210
 
212
211
  .sortable-tree-item-toggle {
213
212
  .product-zone-badge {
214
- background-color: #EFE9F5;
215
- color: #84269B;
213
+ background-color: #efe9f5;
214
+ color: #84269b;
216
215
  font-size: 0.875rem;
217
216
  font-weight: 600;
218
217
  }
@@ -102,7 +102,6 @@
102
102
  }
103
103
 
104
104
  .ryft-payment-form {
105
-
106
105
  .form-disable-box {
107
106
  display: none;
108
107
  position: absolute;
@@ -184,7 +183,6 @@
184
183
  }
185
184
 
186
185
  @include media-breakpoint-up(md) {
187
-
188
186
  .ryft-payment-form,
189
187
  .form-disable-box {
190
188
  height: 50%;
@@ -213,4 +211,4 @@
213
211
  .divider {
214
212
  display: none !important;
215
213
  }
216
- }
214
+ }
@@ -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 +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.74.0",
3
+ "version": "0.74.1-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.32.14",
45
+ "@licklist/core": "0.32.15-dev.3",
46
46
  "@licklist/eslint-config": "0.5.6",
47
- "@licklist/plugins": "0.35.10",
47
+ "@licklist/plugins": "0.35.1-dev.9",
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.32.14",
64
+ "@licklist/core": "0.31.2-dev.18",
65
65
  "@licklist/eslint-config": "0.5.6",
66
- "@licklist/plugins": "0.35.10",
66
+ "@licklist/plugins": "0.35.1-dev.9",
67
67
  "@mantine/core": "6.0.22",
68
68
  "@mantine/hooks": "6.0.22",
69
69
  "@mdx-js/react": "1.6.22",
@@ -206,8 +206,10 @@
206
206
  "yarn tsc"
207
207
  ]
208
208
  },
209
+ "packageManager": "yarn@4.4.0",
209
210
  "volta": {
210
211
  "node": "20.9.0",
211
212
  "yarn": "4.4.0"
212
- }
213
+ },
214
+ "stableVersion": "0.71.4-dev.1"
213
215
  }
@@ -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
 
@@ -36,7 +36,6 @@ import { ProductSetFormValues } from '../../../../product-set/form/ProductSetFor
36
36
  import { isUrlValid } from '../../utils/isUrlValid'
37
37
  import { toSimpleDateTime } from '../../utils/checkIfEventBooked'
38
38
 
39
-
40
39
  export interface EditEventFormValues extends IntervalInputValues {
41
40
  name: string
42
41
  startAt: string
@@ -200,9 +199,13 @@ export const EditEventForm = ({
200
199
  rrule && setValue('rrule', rrule?.concat(`;EXDATE=${defaultExDate}`))
201
200
  }, [defaultExDate, rrule])
202
201
 
203
- const isChanged = !isEqual(watchedValues, sanitizeDefaultValues(defaultEventValues));
202
+ const isChanged = !isEqual(
203
+ watchedValues,
204
+ sanitizeDefaultValues(defaultEventValues),
205
+ )
204
206
  const isChangedTime =
205
- watchedValues?.start !== toSimpleDateTime(defaultEventValues?.startAt || '') ||
207
+ watchedValues?.start !==
208
+ toSimpleDateTime(defaultEventValues?.startAt || '') ||
206
209
  watchedValues?.end !== toSimpleDateTime(defaultEventValues?.endAt || '')
207
210
  const isSinglEventWithBooked = !rrule && isBooked && isChangedTime
208
211
 
@@ -453,9 +456,13 @@ export const EditEventForm = ({
453
456
  }
454
457
  className='save-event'
455
458
  type='button'
456
- onClick={() => confirm(handleSubmit(onSaveEvent, onErrorSubmit))}
459
+ onClick={() =>
460
+ confirm(handleSubmit(onSaveEvent, onErrorSubmit))
461
+ }
457
462
  >
458
- {formState.isSubmitting ? `${t('saveAndAdd')}...` : t('saveAndAdd')}
463
+ {formState.isSubmitting
464
+ ? `${t('saveAndAdd')}...`
465
+ : t('saveAndAdd')}
459
466
  </Button>
460
467
  )}
461
468
  </ConfirmModal>
@@ -519,5 +526,3 @@ const sanitizeDefaultValues = (
519
526
  recurrenceEndAt: values?.recurrenceEndAt ?? undefined,
520
527
  }
521
528
  }
522
-
523
-
@@ -14,6 +14,7 @@ export const getDefaultValues = (
14
14
  name: productSet?.name ?? '',
15
15
  description: productSet?.description ?? '',
16
16
  image: productSet?.image,
17
+ hasGeneralTicket: productSet?.hasGeneralTicket,
17
18
  type: productSet?.type ?? DEFAULT_PRODUCT_SET_TYPE,
18
19
  termsAndConditions: productSet?.termsAndConditions ?? '',
19
20
  operationalCost: productSet?.operationalCost ?? DEFAULT_OPERATIONAL_COST_TYPE,
@@ -40,7 +41,6 @@ export const getDefaultValues = (
40
41
  ...product,
41
42
  subProducts: subProducts?.map(({ ...subProducts }) => ({
42
43
  ...subProducts,
43
- originalProductId: null,
44
44
  productCategoryId: undefined,
45
45
  })),
46
46
  productCategoryId: undefined,
@@ -12,6 +12,7 @@ export type EventStatisticModalProps = {
12
12
  date?: Event['startAt'] | null
13
13
  eventStatistic?: EventStatistic | null
14
14
  title?: string
15
+ eventId?: string
15
16
  }
16
17
 
17
18
  export const EventStatisticModal = ({
@@ -20,10 +21,11 @@ export const EventStatisticModal = ({
20
21
  date,
21
22
  eventStatistic,
22
23
  title,
24
+ eventId,
23
25
  }: EventStatisticModalProps) => {
24
26
  const { t } = useTranslation('Design')
25
27
 
26
- const data = useTableData(date, eventStatistic)
28
+ const data = useTableData(date, eventStatistic, eventId)
27
29
  const handleClose = () => {
28
30
  setIsOpen(false)
29
31
  }
@@ -11,6 +11,7 @@ import { StaticTableData } from '../../../table'
11
11
  export const useTableData = (
12
12
  date: Event['startAt'] | null,
13
13
  eventStatistic: EventStatistic | null,
14
+ eventId: string,
14
15
  ) => {
15
16
  const { t } = useTranslation('Design')
16
17
  const { formatNumber } = useIntl()
@@ -84,7 +85,7 @@ export const useTableData = (
84
85
  useEffect(() => {
85
86
  setTableRows(transformStatisticToTableRows(date, eventStatistic))
86
87
  // eslint-disable-next-line react-hooks/exhaustive-deps
87
- }, [date, eventStatistic])
88
+ }, [date, eventId, eventStatistic])
88
89
 
89
90
  return tableRows
90
91
  }
@@ -33,15 +33,15 @@ export const convertEventStatisticToTableData = (
33
33
  return []
34
34
  }
35
35
 
36
- const summaryFormattedDate = DateTime.fromISO(date)
37
- .toUTC()
38
- .toFormat(DATE_FORMAT)
36
+ const summaryFormattedDate = DateTime.fromISO(date).toFormat(
37
+ DATE_TIME_FULL_FORMAT,
38
+ )
39
39
 
40
40
  const summaryDays =
41
41
  Object.keys(eventStatistic?.productCategorySummary)?.filter(
42
42
  (date) =>
43
43
  DateTime.fromFormat(date, DATE_TIME_FULL_FORMAT).toFormat(
44
- DATE_FORMAT,
44
+ DATE_TIME_FULL_FORMAT,
45
45
  ) === summaryFormattedDate,
46
46
  ) ?? []
47
47
 
@@ -49,6 +49,7 @@ export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
49
49
  },
50
50
  ref,
51
51
  ) => {
52
+ // TODO fix often updating of canvasSizes, which leads to flashing poingts
52
53
  const canvasSizes = useCanvasSize({ width, height })
53
54
 
54
55
  return (
@@ -10,13 +10,17 @@ export const useCanvasSize = ({
10
10
  width: componentWidth,
11
11
  height: componentHeight,
12
12
  }: CanvasSizeProps) => {
13
+ // TODO Fix often updating of width and height
13
14
  const { width, height } = useWindowDimensions()
14
15
 
16
+ // eslint-disable-next-line react-hooks/exhaustive-deps
17
+ const memoizedDimensions = useMemo(() => ({ width, height }), [width])
18
+
15
19
  const memoedComponentParameters = useMemo(() => {
16
20
  if (!componentWidth && !componentHeight) return null
17
21
 
18
22
  return { width: componentWidth, height: componentHeight }
19
23
  }, [componentWidth, componentHeight])
20
24
 
21
- return memoedComponentParameters || { width, height }
25
+ return memoedComponentParameters || memoizedDimensions
22
26
  }
@@ -48,12 +48,12 @@ export const ProductWithModifierSetModal = ({
48
48
  </button>
49
49
  </div>
50
50
  <div className='right-block' id='select-event-container'>
51
- <div className={clsx('manual-booking-container', !product?.images?.length && 'tw-mt-8')}>
51
+ <div className={clsx('manual-booking-container', !product.images.length && 'tw-mt-8')}>
52
52
  <div className='manual-booking-header'>
53
53
  <TicketDescription
54
54
  title={product.name}
55
55
  description={product.description}
56
- className={clsx('iframe-event__product-description', !product?.images?.length && 'mt-6')}
56
+ className={clsx('iframe-event__product-description', !product.images.length && 'mt-6')}
57
57
  classNameProductModal='d-block'
58
58
  images={product.images}
59
59
  isRequired={product.isRequired}