@licklist/design 0.68.6-dev.1 → 0.68.6-dev.2

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 (86) hide show
  1. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +2 -2
  2. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  3. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +13 -0
  4. package/dist/iframe/order-process/components/Timer/Timer.js +1 -1
  5. package/dist/modals/dialog/Dialog.js +2 -2
  6. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  7. package/dist/notification/email-template/control/EmailTemplateControl.js +3 -0
  8. package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
  9. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  10. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +6 -0
  11. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  12. package/dist/product-set/product/deposit/ProductDepositControl.js +3 -0
  13. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  14. package/dist/product-set/product/duration/ProductDurationControl.js +6 -0
  15. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  16. package/dist/product-set/product/price/ProductPriceControl.js +3 -0
  17. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  18. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +6 -0
  19. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  20. package/dist/product-set/product/quantity/ProductQuantityControl.js +6 -0
  21. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  22. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +4 -1
  23. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  24. package/dist/product-set/product-category/ProductCategoryControl.js +12 -0
  25. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  26. package/dist/recurrence-input/RecurrenceEndInput.js +3 -0
  27. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  28. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  29. package/dist/resource/form/components/CapacityControl.js +3 -0
  30. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  31. package/dist/resource/form/components/SortControl.js +3 -0
  32. package/dist/root.css +51 -51
  33. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  34. package/dist/sales/coupon/control/CouponFormControl.js +21 -0
  35. package/dist/sales/manual-booking/search-user/SearchUser.js +1 -1
  36. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  37. package/dist/setting/admin/PaymentFeeForm.js +16 -1
  38. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  39. package/dist/setting/dashboard/DashboardSettingForm.js +4 -1
  40. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  41. package/dist/static/CurrencyNumberInput.js +3 -0
  42. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  43. package/dist/static/form-number-input/FormNumberInput.js +3 -0
  44. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  45. package/dist/static/number-input/NumberInput.js +3 -0
  46. package/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts.map +1 -1
  47. package/dist/tiptap-editor/TipTapMenu/extensions/constants.js +1 -1
  48. package/dist/tiptap-editor/TipTapMenu/extensions/utils.js +1 -1
  49. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  50. package/dist/zone/form/components/GameDurationControl.js +3 -0
  51. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  52. package/dist/zone/form/components/SortControl.js +3 -0
  53. package/package.json +1 -1
  54. package/postcss.config.cjs +2 -2
  55. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +2 -2
  56. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +9 -0
  57. package/src/iframe/order-process/components/Timer/Timer.tsx +1 -1
  58. package/src/modals/dialog/Dialog.tsx +2 -2
  59. package/src/notification/email-template/control/EmailTemplateControl.tsx +1 -0
  60. package/src/product-set/form/MobileFooter.tsx +1 -2
  61. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -0
  62. package/src/product-set/product/deposit/ProductDepositControl.tsx +1 -0
  63. package/src/product-set/product/duration/ProductDurationControl.tsx +2 -0
  64. package/src/product-set/product/price/ProductPriceControl.tsx +1 -0
  65. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +2 -0
  66. package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -0
  67. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +1 -0
  68. package/src/product-set/product-category/ProductCategoryControl.tsx +4 -0
  69. package/src/recurrence-input/RecurrenceEndInput.tsx +1 -0
  70. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +1 -0
  71. package/src/resource/form/components/CapacityControl.tsx +1 -0
  72. package/src/resource/form/components/SortControl.tsx +1 -0
  73. package/src/root.css +51 -51
  74. package/src/sales/coupon/control/CouponFormControl.tsx +7 -0
  75. package/src/sales/manual-booking/search-user/SearchUser.tsx +1 -1
  76. package/src/setting/admin/PaymentFeeForm.tsx +5 -0
  77. package/src/setting/dashboard/DashboardSettingForm.tsx +1 -0
  78. package/src/static/CurrencyNumberInput.tsx +1 -0
  79. package/src/static/form-number-input/FormNumberInput.tsx +1 -0
  80. package/src/static/number-input/NumberInput.tsx +1 -0
  81. package/src/tiptap-editor/TipTapMenu/extensions/constants.ts +2 -1
  82. package/src/tiptap-editor/TipTapMenu/extensions/utils.ts +2 -2
  83. package/src/zone/form/components/GameDurationControl.tsx +1 -0
  84. package/src/zone/form/components/SortControl.tsx +1 -0
  85. package/tailwind.config.js +3 -6
  86. package/yarn.lock +15 -15
@@ -230,7 +230,7 @@ var SelectEventProductSet = function(param) {
230
230
  className: "d-flex mt-5 mb-5 align-items-end",
231
231
  children: /*#__PURE__*/ jsxs(Form.Group, {
232
232
  controlId: productSetsId,
233
- className: "d-flex flex-column w-100 choose-product-set-container ",
233
+ className: "d-flex flex-column w-100 choose-product-set-container",
234
234
  children: [
235
235
  /*#__PURE__*/ jsx(Form.Label, {
236
236
  children: t('Design:selectProductSet')
@@ -273,7 +273,7 @@ var SelectEventProductSet = function(param) {
273
273
  }),
274
274
  showOverrideProductSet && /*#__PURE__*/ jsx(Button, {
275
275
  variant: "",
276
- className: "btn product-set-button ",
276
+ className: "btn product-set-button",
277
277
  onClick: onEditProductSet,
278
278
  children: isOverrideProductSet ? t('editOverrides') : t('editProductSet')
279
279
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,+GAgGvB,CAAA"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,+GAyGvB,CAAA"}
@@ -54,6 +54,9 @@ var NumberInput = /*#__PURE__*/ forwardRef(function(param, ref) {
54
54
  onChange: function(e) {
55
55
  return handleChangeValue(Number(e.target.value));
56
56
  },
57
+ onWheel: function(event) {
58
+ return event.currentTarget.blur();
59
+ },
57
60
  value: value,
58
61
  min: 0,
59
62
  max: max,
@@ -66,6 +69,16 @@ var NumberInput = /*#__PURE__*/ forwardRef(function(param, ref) {
66
69
  /*#__PURE__*/ jsx("button", {
67
70
  type: "button",
68
71
  onClick: handleArrowUpClick,
72
+ onWheel: function(event) {
73
+ return event.currentTarget.blur();
74
+ },
75
+ onFocus: function(event) {
76
+ return event.target.addEventListener('wheel', function(event) {
77
+ return event.preventDefault();
78
+ }, {
79
+ passive: false
80
+ });
81
+ },
69
82
  className: "payment-number-input__btn-up ".concat(plusButtonGreyedOut && 'disabled-number-input-button'),
70
83
  disabled: disabled,
71
84
  children: "+"
@@ -10,7 +10,7 @@ var Timer = function(param) {
10
10
  className: "payment-timer-counter",
11
11
  children: [
12
12
  /*#__PURE__*/ jsx("div", {
13
- className: "timer-wrapper ",
13
+ className: "timer-wrapper",
14
14
  children: /*#__PURE__*/ jsxs("div", {
15
15
  className: "timer",
16
16
  children: [
@@ -25,14 +25,14 @@ var Dialog = function(param) {
25
25
  className: "text-center justify-content-center rounded",
26
26
  children: [
27
27
  /*#__PURE__*/ jsx(Modal.Header, {
28
- className: "justify-content-center border-0 ",
28
+ className: "justify-content-center border-0",
29
29
  children: title && /*#__PURE__*/ jsx(Modal.Title, {
30
30
  as: "h6",
31
31
  children: title
32
32
  })
33
33
  }),
34
34
  content && /*#__PURE__*/ jsx(Modal.Body, {
35
- className: "justify-content-center ",
35
+ className: "justify-content-center",
36
36
  children: content
37
37
  }),
38
38
  /*#__PURE__*/ jsx(Modal.Footer, {
@@ -1 +1 @@
1
- {"version":3,"file":"EmailTemplateControl.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/control/EmailTemplateControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EAEf,MAAM,sEAAsE,CAAA;AAG7E,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAA;AAM7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAMzG,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAA;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACtC,4BAA4B,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,KAAK,MAAM,CAAA;CAC1E;AAED,eAAO,MAAM,oBAAoB,+GAqahC,CAAA"}
1
+ {"version":3,"file":"EmailTemplateControl.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/control/EmailTemplateControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EAEf,MAAM,sEAAsE,CAAA;AAG7E,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAA;AAM7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAMzG,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAA;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACtC,4BAA4B,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,KAAK,MAAM,CAAA;CAC1E;AAED,eAAO,MAAM,oBAAoB,+GAsahC,CAAA"}
@@ -631,6 +631,9 @@ var EmailTemplateControl = /*#__PURE__*/ forwardRef(function(param, ref) {
631
631
  }),
632
632
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({}, register("templateOptionValues.".concat(option === null || option === void 0 ? void 0 : option.id, ".value"))), {
633
633
  type: "number",
634
+ onWheel: function(event) {
635
+ return event.currentTarget.blur();
636
+ },
634
637
  placeholder: t("Design:".concat(option.name)),
635
638
  id: option.name + option.id,
636
639
  defaultValue: option.selectedValue || ''
@@ -1 +1 @@
1
- {"version":3,"file":"MobileFooter.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/MobileFooter.tsx"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,4CAa3B"}
1
+ {"version":3,"file":"MobileFooter.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/MobileFooter.tsx"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,4CAY3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBookingManagementControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/booking-management/ProductBookingManagementControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAOrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAE9D,MAAM,WAAW,qCAAsC,SAAQ,UAAU;IACvE,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,oCAAoC,CAAC,CAAC,CACrD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACxB;AAED,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,UAAU,EAClE,KAAK,EAAE,oCAAoC,CAAC,CAAC,CAAC,2CAyJ/C"}
1
+ {"version":3,"file":"ProductBookingManagementControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/booking-management/ProductBookingManagementControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAOrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAE9D,MAAM,WAAW,qCAAsC,SAAQ,UAAU;IACvE,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,oCAAoC,CAAC,CAAC,CACrD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACxB;AAED,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,UAAU,EAClE,KAAK,EAAE,oCAAoC,CAAC,CAAC,CAAC,2CA2J/C"}
@@ -128,6 +128,9 @@ function ProductBookingManagementControl(props) {
128
128
  return /*#__PURE__*/ jsx(Form.Control, {
129
129
  ref: ref,
130
130
  type: "number",
131
+ onWheel: function(event) {
132
+ return event.currentTarget.blur();
133
+ },
131
134
  min: 0,
132
135
  step: 1,
133
136
  value: value,
@@ -174,6 +177,9 @@ function ProductBookingManagementControl(props) {
174
177
  return /*#__PURE__*/ jsx(Form.Control, {
175
178
  ref: ref,
176
179
  type: "number",
180
+ onWheel: function(event) {
181
+ return event.currentTarget.blur();
182
+ },
177
183
  min: "0",
178
184
  step: "1",
179
185
  value: value,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductDepositControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/deposit/ProductDepositControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,2BAA4B,SAAQ,UAAU;IAC7D,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC3E,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,UAAU,EACxD,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,2CA2ErC"}
1
+ {"version":3,"file":"ProductDepositControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/deposit/ProductDepositControl.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,2BAA4B,SAAQ,UAAU;IAC7D,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC3E,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,UAAU,EACxD,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,2CA4ErC"}
@@ -40,6 +40,9 @@ function ProductDepositControl(props) {
40
40
  return /*#__PURE__*/ jsx(Form.Control, {
41
41
  ref: ref,
42
42
  type: "number",
43
+ onWheel: function(event) {
44
+ return event.currentTarget.blur();
45
+ },
43
46
  min: 0,
44
47
  max: Number(totalPrice),
45
48
  step: "0.01",
@@ -1 +1 @@
1
- {"version":3,"file":"ProductDurationControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/duration/ProductDurationControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAA;AAOlG,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,kCAGrC,2BAA2B,CAAC,CAAC,CAAC,4CAqIhC,CAAA"}
1
+ {"version":3,"file":"ProductDurationControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/duration/ProductDurationControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAA;AAOlG,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,sBAAsB,GAAI,CAAC,kCAGrC,2BAA2B,CAAC,CAAC,CAAC,4CAuIhC,CAAA"}
@@ -87,6 +87,9 @@ var ProductDurationControl = function(param) {
87
87
  /*#__PURE__*/ jsx(Form.Control, {
88
88
  type: "number",
89
89
  min: 0,
90
+ onWheel: function(event) {
91
+ return event.currentTarget.blur();
92
+ },
90
93
  step: 1,
91
94
  value: durationHours,
92
95
  disabled: disabled,
@@ -134,6 +137,9 @@ var ProductDurationControl = function(param) {
134
137
  type: "number",
135
138
  min: 0,
136
139
  step: 1,
140
+ onWheel: function(event) {
141
+ return event.currentTarget.blur();
142
+ },
137
143
  disabled: disabled,
138
144
  value: durationMinutes,
139
145
  isInvalid: isInvalid,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductPriceControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/price/ProductPriceControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAKzF,OAAO,EAAc,IAAI,EAAkB,MAAM,iBAAiB,CAAA;AAIlE,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAAE,EACxD,SAAiB,EACjB,eAAe,EACf,KAAK,EACL,aAAa,EACb,UAAiB,EACjB,cAAc,GACf,EAAE,wBAAwB,CAAC,CAAC,CAAC,2CAgG7B"}
1
+ {"version":3,"file":"ProductPriceControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/price/ProductPriceControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAKzF,OAAO,EAAc,IAAI,EAAkB,MAAM,iBAAiB,CAAA;AAIlE,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAAE,EACxD,SAAiB,EACjB,eAAe,EACf,KAAK,EACL,aAAa,EACb,UAAiB,EACjB,cAAc,GACf,EAAE,wBAAwB,CAAC,CAAC,CAAC,2CAiG7B"}
@@ -42,6 +42,9 @@ function ProductPriceControl(param) {
42
42
  ref: ref,
43
43
  type: "number",
44
44
  min: 0,
45
+ onWheel: function(event) {
46
+ return event.currentTarget.blur();
47
+ },
45
48
  max: 999999.99,
46
49
  step: "0.01",
47
50
  value: value,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityConstantControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityConstantControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAiBrE,MAAM,WAAW,oCAAqC,SAAQ,UAAU;IACtE,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,mCAAmC,CAAC,CAAC,CACpD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,UAAU,EACjE,KAAK,EAAE,mCAAmC,CAAC,CAAC,CAAC,2CAkL9C"}
1
+ {"version":3,"file":"ProductQuantityConstantControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityConstantControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAiBrE,MAAM,WAAW,oCAAqC,SAAQ,UAAU;IACtE,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,mCAAmC,CAAC,CAAC,CACpD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,UAAU,EACjE,KAAK,EAAE,mCAAmC,CAAC,CAAC,CAAC,2CAoL9C"}
@@ -67,6 +67,9 @@ function ProductQuantityConstantControl(props) {
67
67
  type: "number",
68
68
  min: 0,
69
69
  step: 1,
70
+ onWheel: function(event) {
71
+ return event.currentTarget.blur();
72
+ },
70
73
  value: value,
71
74
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".totalQuantity"), errors),
72
75
  disabled: true
@@ -120,6 +123,9 @@ function ProductQuantityConstantControl(props) {
120
123
  type: "number",
121
124
  min: 0,
122
125
  step: 1,
126
+ onWheel: function(event) {
127
+ return event.currentTarget.blur();
128
+ },
123
129
  value: value,
124
130
  onChange: onChange,
125
131
  onFocus: onFocus,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAWrE,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,UAAU,EACzD,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC,2CAsJtC"}
1
+ {"version":3,"file":"ProductQuantityControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AAWrE,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,UAAU,EACzD,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC,2CAwJtC"}
@@ -65,6 +65,9 @@ function ProductQuantityControl(props) {
65
65
  type: "number",
66
66
  min: 0,
67
67
  step: 1,
68
+ onWheel: function(event) {
69
+ return event.currentTarget.blur();
70
+ },
68
71
  value: value,
69
72
  onChange: onChange,
70
73
  onFocus: onFocus,
@@ -123,6 +126,9 @@ function ProductQuantityControl(props) {
123
126
  type: "number",
124
127
  min: 0,
125
128
  step: 1,
129
+ onWheel: function(event) {
130
+ return event.currentTarget.blur();
131
+ },
126
132
  value: value && value,
127
133
  onFocus: onFocus,
128
134
  onChange: onChange,
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityRechargingControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityRechargingControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,sCAAuC,SAAQ,UAAU;IACxE,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,qCAAqC,CAAC,CAAC,CACtD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,UAAU,EACnE,KAAK,EAAE,qCAAqC,CAAC,CAAC,CAAC,2CAkGhD"}
1
+ {"version":3,"file":"ProductQuantityRechargingControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityRechargingControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAA;AASrE,MAAM,WAAW,sCAAuC,SAAQ,UAAU;IACxE,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,qCAAqC,CAAC,CAAC,CACtD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAA;CAC5C;AAED,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,UAAU,EACnE,KAAK,EAAE,qCAAqC,CAAC,CAAC,CAAC,2CAmGhD"}
@@ -97,7 +97,10 @@ function ProductQuantityRechargingControl(props) {
97
97
  ref: ref,
98
98
  type: "number",
99
99
  min: 0,
100
- step: 1
100
+ step: 1,
101
+ onWheel: function(event) {
102
+ return event.currentTarget.blur();
103
+ }
101
104
  }, register("".concat(fieldNamePrefix, ".totalQuantity"), {
102
105
  validate: function(value) {
103
106
  if (unlimited) return true;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCategoryControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product-category/ProductCategoryControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAEzF,OAAO,EACL,YAAY,EACZ,YAAY,EAKb,MAAM,kEAAkE,CAAA;AAGzE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,UAAU,CAAA;AAG5D,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,YAAY,EAAE,YAAY,CAAA;IAC1B,IAAI,EAAE,YAAY,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,eAAe,EAAE,OAAO,CAAA;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;IACnE,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IAEpB,oBAAoB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAA;IACzC,SAAS,EAAE,MAAM,CAAA;IACjB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAQD,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,UAAkB,GACnB,EAAE,2BAA2B,2CA4e7B"}
1
+ {"version":3,"file":"ProductCategoryControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product-category/ProductCategoryControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;AAEzF,OAAO,EACL,YAAY,EACZ,YAAY,EAKb,MAAM,kEAAkE,CAAA;AAGzE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,UAAU,CAAA;AAG5D,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,YAAY,EAAE,YAAY,CAAA;IAC1B,IAAI,EAAE,YAAY,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,eAAe,EAAE,OAAO,CAAA;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;IACnE,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IAEpB,oBAAoB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAA;IACzC,SAAS,EAAE,MAAM,CAAA;IACjB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAQD,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,SAAS,EACT,UAAkB,GACnB,EAAE,2BAA2B,2CAgf7B"}
@@ -266,6 +266,9 @@ function ProductCategoryControl(param) {
266
266
  step: 1,
267
267
  value: value === null ? '' : value,
268
268
  onChange: onChange,
269
+ onWheel: function(event) {
270
+ return event.currentTarget.blur();
271
+ },
269
272
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".minSubItems"), errors),
270
273
  disabled: isLoading || isOverride,
271
274
  name: name
@@ -335,6 +338,9 @@ function ProductCategoryControl(param) {
335
338
  name: name,
336
339
  value: value === null ? '' : value,
337
340
  onChange: onChange,
341
+ onWheel: function(event) {
342
+ return event.currentTarget.blur();
343
+ },
338
344
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".maxSubItems"), errors),
339
345
  disabled: isLoading || isOverride
340
346
  });
@@ -398,6 +404,9 @@ function ProductCategoryControl(param) {
398
404
  min: 0,
399
405
  step: 1,
400
406
  type: "number",
407
+ onWheel: function(event) {
408
+ return event.currentTarget.blur();
409
+ },
401
410
  disabled: isOverride,
402
411
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".overallQuantity"), errors)
403
412
  }, field));
@@ -570,6 +579,9 @@ function ProductCategoryControl(param) {
570
579
  step: 1,
571
580
  value: value,
572
581
  onChange: onChange,
582
+ onWheel: function(event) {
583
+ return event.currentTarget.blur();
584
+ },
573
585
  isInvalid: HookFormService.isInvalid("".concat(fieldNamePrefix, ".remainderExpireAfter"), errors),
574
586
  disabled: isLoading || isOverride,
575
587
  name: name
@@ -1 +1 @@
1
- {"version":3,"file":"RecurrenceEndInput.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/RecurrenceEndInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,kBAAkB,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC/D;AAED,iBAAS,kBAAkB,CAAC,EAC1B,QAAgB,EAChB,IAAI,EACJ,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,OAAO,GACR,EAAE,KAAK,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
package/dist/root.css CHANGED
@@ -3,75 +3,75 @@
3
3
  @tailwind utilities;
4
4
 
5
5
  @layer base {
6
- :root {
7
- --background: 0 0% 95%;
8
- --foreground: 0 0% 3.9%;
6
+ :root {
7
+ --background: 0 0% 95%;
8
+ --foreground: 0 0% 3.9%;
9
9
 
10
- --card: 0 0% 100%;
11
- --card-foreground: 0 0% 3.9%;
10
+ --card: 0 0% 100%;
11
+ --card-foreground: 0 0% 3.9%;
12
12
 
13
- --popover: 0 0% 100%;
14
- --popover-foreground: 0 0% 3.9%;
13
+ --popover: 0 0% 100%;
14
+ --popover-foreground: 0 0% 3.9%;
15
15
 
16
- --primary: 204 88% 47%;
17
- --primary-foreground: 0 0% 98%;
16
+ --primary: 204 88% 47%;
17
+ --primary-foreground: 0 0% 98%;
18
18
 
19
- --secondary: 0 0% 96.1%;
20
- --secondary-foreground: 0 0% 9%;
19
+ --secondary: 0 0% 96.1%;
20
+ --secondary-foreground: 0 0% 9%;
21
21
 
22
- --muted: 0 0% 96.1%;
23
- --muted-foreground: 0 0% 45.1%;
22
+ --muted: 0 0% 96.1%;
23
+ --muted-foreground: 0 0% 45.1%;
24
24
 
25
- --accent: 0 0% 96.1%;
26
- --accent-foreground: 0 0% 9%;
25
+ --accent: 0 0% 96.1%;
26
+ --accent-foreground: 0 0% 9%;
27
27
 
28
- --destructive: 0 84.2% 60.2%;
29
- --destructive-foreground: 0 0% 98%;
28
+ --destructive: 0 84.2% 60.2%;
29
+ --destructive-foreground: 0 0% 98%;
30
30
 
31
- --border: 0 0% 89.8%;
32
- --input: 0 0% 89.8%;
33
- --ring: 0 0% 3.9%;
31
+ --border: 0 0% 89.8%;
32
+ --input: 0 0% 89.8%;
33
+ --ring: 0 0% 3.9%;
34
34
 
35
- --radius: 0.5rem;
36
- }
35
+ --radius: 0.5rem;
36
+ }
37
37
 
38
- .dark {
39
- --background: 0 0% 3.9%;
40
- --foreground: 0 0% 98%;
38
+ .dark {
39
+ --background: 0 0% 3.9%;
40
+ --foreground: 0 0% 98%;
41
41
 
42
- --card: 0 0% 3.9%;
43
- --card-foreground: 0 0% 98%;
42
+ --card: 0 0% 3.9%;
43
+ --card-foreground: 0 0% 98%;
44
44
 
45
- --popover: 0 0% 3.9%;
46
- --popover-foreground: 0 0% 98%;
45
+ --popover: 0 0% 3.9%;
46
+ --popover-foreground: 0 0% 98%;
47
47
 
48
- --primary: 0 0% 98%;
49
- --primary-foreground: 0 0% 9%;
48
+ --primary: 0 0% 98%;
49
+ --primary-foreground: 0 0% 9%;
50
50
 
51
- --secondary: 0 0% 14.9%;
52
- --secondary-foreground: 0 0% 98%;
51
+ --secondary: 0 0% 14.9%;
52
+ --secondary-foreground: 0 0% 98%;
53
53
 
54
- --muted: 0 0% 14.9%;
55
- --muted-foreground: 0 0% 63.9%;
54
+ --muted: 0 0% 14.9%;
55
+ --muted-foreground: 0 0% 63.9%;
56
56
 
57
- --accent: 0 0% 14.9%;
58
- --accent-foreground: 0 0% 98%;
57
+ --accent: 0 0% 14.9%;
58
+ --accent-foreground: 0 0% 98%;
59
59
 
60
- --destructive: 0 62.8% 30.6%;
61
- --destructive-foreground: 0 0% 98%;
60
+ --destructive: 0 62.8% 30.6%;
61
+ --destructive-foreground: 0 0% 98%;
62
62
 
63
- --border: 0 0% 14.9%;
64
- --input: 0 0% 14.9%;
65
- --ring: 0 0% 83.1%;
66
- }
63
+ --border: 0 0% 14.9%;
64
+ --input: 0 0% 14.9%;
65
+ --ring: 0 0% 83.1%;
66
+ }
67
67
  }
68
68
 
69
69
  @layer base {
70
- * {
71
- @apply border-border;
72
- }
73
-
74
- body {
75
- @apply bg-background text-foreground;
76
- }
77
- }
70
+ * {
71
+ @apply border-border;
72
+ }
73
+
74
+ body {
75
+ @apply bg-background text-foreground;
76
+ }
77
+ }
@@ -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, {
@@ -149,7 +149,7 @@ var SearchUser = function(param) {
149
149
  className: "search-container",
150
150
  children: [
151
151
  /*#__PURE__*/ jsxs("div", {
152
- className: " search-input-container",
152
+ className: "search-input-container",
153
153
  children: [
154
154
  /*#__PURE__*/ jsx("div", {
155
155
  className: "input-label",
@@ -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"}