@licklist/design 0.68.2-dev.3 → 0.68.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 (112) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  2. package/dist/assets/iframe/selectArrow.svg.js +17 -0
  3. package/dist/auth/Login/LoginComponent.js +1 -2
  4. package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  5. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +40 -35
  6. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  7. package/dist/events/edit-event-modal/IntervalInput.js +1 -7
  8. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  9. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -0
  10. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  11. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +23 -24
  12. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  13. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
  14. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  15. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
  16. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
  17. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -0
  18. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  19. package/dist/index.js +0 -1
  20. package/dist/layout/DropDown.d.ts +1 -2
  21. package/dist/layout/DropDown.d.ts.map +1 -1
  22. package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
  23. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  24. package/dist/modals/confirmation/ConfirmModal.js +8 -172
  25. package/dist/product-set/card/ProductSetCard.d.ts +2 -6
  26. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  27. package/dist/product-set/card/ProductSetCard.js +11 -30
  28. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  29. package/dist/product-set/control/DateInput.js +2 -2
  30. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  31. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  32. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  33. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  34. package/dist/product-set/form/ProductSetForm.js +1 -59
  35. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  36. package/dist/product-set/form/ProductZonesControl.js +2 -0
  37. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  38. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  39. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  40. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  41. package/dist/product-set/form/SubProductsControl.js +3 -0
  42. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  43. package/dist/product-set/form/VenueMapsControl.js +3 -0
  44. package/dist/product-set/form/index.d.ts +0 -1
  45. package/dist/product-set/form/index.d.ts.map +1 -1
  46. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  47. package/dist/product-set/utils/index.d.ts +0 -7
  48. package/dist/product-set/utils/index.d.ts.map +1 -1
  49. package/dist/product-set/utils/index.js +1 -10
  50. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  51. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  52. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  53. package/dist/snippet/snippet-template/preview/Preview.js +0 -6
  54. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  55. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  56. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  57. package/dist/styles/iframe-events/Calendar.scss +1 -0
  58. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  59. package/dist/styles/iframe-page/PageBody.scss +1 -1
  60. package/dist/styles/product-set/ProductSetForm.scss +0 -22
  61. package/dist/styles/sales/BookingResults.scss +1 -1
  62. package/dist/tiptap-editor/TipTapMenu/extensions/utils.d.ts +1 -1
  63. package/dist/tiptap-editor/TipTapMenu/extensions/utils.d.ts.map +1 -1
  64. package/dist/tiptap-editor/TipTapMenu/extensions/utils.js +1 -3
  65. package/dist/typeahead/Typeahead.d.ts +1 -5
  66. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  67. package/dist/typeahead/Typeahead.js +2 -9
  68. package/package.json +6 -8
  69. package/src/affiliate/form/AffiliateForm.tsx +0 -1
  70. package/src/auth/Login/LoginComponent.tsx +1 -1
  71. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +28 -29
  72. package/src/events/edit-event-modal/IntervalInput.tsx +1 -8
  73. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +1 -0
  74. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +85 -82
  75. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
  76. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
  77. package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +1 -0
  78. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  79. package/src/layout/DropDown.tsx +1 -2
  80. package/src/modals/confirmation/ConfirmModal.tsx +3 -19
  81. package/src/product-set/card/ProductSetCard.tsx +8 -47
  82. package/src/product-set/control/DateInput.tsx +1 -2
  83. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  84. package/src/product-set/form/ProductSetForm.tsx +2 -17
  85. package/src/product-set/form/ProductZonesControl.tsx +4 -1
  86. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  87. package/src/product-set/form/SubProductsControl.tsx +3 -0
  88. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  89. package/src/product-set/form/index.ts +0 -1
  90. package/src/product-set/product/ProductControl.tsx +1 -0
  91. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  92. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  93. package/src/product-set/utils/index.ts +0 -11
  94. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  95. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  96. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  97. package/src/styles/iframe-events/Calendar.scss +1 -0
  98. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  99. package/src/styles/iframe-page/PageBody.scss +1 -1
  100. package/src/styles/product-set/ProductSetForm.scss +0 -22
  101. package/src/styles/sales/BookingResults.scss +1 -1
  102. package/src/tiptap-editor/TipTapMenu/extensions/utils.ts +1 -4
  103. package/src/typeahead/Typeahead.tsx +1 -15
  104. package/yarn.lock +33 -59
  105. package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
  106. package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
  107. package/dist/product-set/form/ProductSetNameControl.js +0 -35
  108. package/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts +0 -2
  109. package/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts.map +0 -1
  110. package/dist/tiptap-editor/TipTapMenu/extensions/constants.js +0 -3
  111. package/src/product-set/form/ProductSetNameControl.tsx +0 -27
  112. package/src/tiptap-editor/TipTapMenu/extensions/constants.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AffiliateForm.d.ts","sourceRoot":"","sources":["../../../src/affiliate/form/AffiliateForm.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,4DAA4D,CAAA;AAEtF,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAGpE,MAAM,WAAW,kBAAkB;IACjC,aAAa,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IAChC,YAAY,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAA;IACnD,YAAY,EAAE,oBAAoB,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,aAAa,8DAKvB,kBAAkB,4CA+FpB,CAAA"}
1
+ {"version":3,"file":"AffiliateForm.d.ts","sourceRoot":"","sources":["../../../src/affiliate/form/AffiliateForm.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,4DAA4D,CAAA;AAEtF,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAGpE,MAAM,WAAW,kBAAkB;IACjC,aAAa,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IAChC,YAAY,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAA;IACnD,YAAY,EAAE,oBAAoB,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,aAAa,8DAKvB,kBAAkB,4CA8FpB,CAAA"}
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
5
+ const SvgSelectArrow = props => /*#__PURE__*/React.createElement("svg", _extends({
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ width: 12,
8
+ height: 12,
9
+ fill: "none"
10
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
+ fill: "currentColor",
12
+ fillRule: "evenodd",
13
+ d: "M.759 1.34A1 1 0 0 1 2.28.487l7.61 4.66a1 1 0 0 1 0 1.706l-7.61 4.66a1 1 0 0 1-1.522-.852z",
14
+ clipRule: "evenodd"
15
+ })));
16
+
17
+ export { SvgSelectArrow as ReactComponent };
@@ -203,10 +203,9 @@ var LoginComponent = function(param) {
203
203
  var _useState = _sliced_to_array(useState(false), 2), isLoading = _useState[0], setIsLoading = _useState[1];
204
204
  var userApiService = useUserApi(request);
205
205
  var handleError = function(error) {
206
- var _error_response_data, _error_response;
207
206
  notification.danger({
208
207
  title: 'Error',
209
- message: (error === null || error === void 0 ? void 0 : (_error_response = error.response) === null || _error_response === void 0 ? void 0 : (_error_response_data = _error_response.data) === null || _error_response_data === void 0 ? void 0 : _error_response_data.message) || error.message
208
+ message: error.message
210
209
  });
211
210
  };
212
211
  var storeSecrets = function(secrets) {
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarButtons.d.ts","sourceRoot":"","sources":["../../../../src/calendar/components/CalendarButtons/CalendarButtons.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAE9C,KAAK,oBAAoB,GAAG,IAAI,CAC9B,aAAa,EACX,WAAW,GACX,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,iBAAiB,GACjB,wBAAwB,CAC3B,CAAA;AAED,eAAO,MAAM,eAAe,sGAOzB,oBAAoB,4CAkHtB,CAAA"}
1
+ {"version":3,"file":"CalendarButtons.d.ts","sourceRoot":"","sources":["../../../../src/calendar/components/CalendarButtons/CalendarButtons.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAE9C,KAAK,oBAAoB,GAAG,IAAI,CAC9B,aAAa,EACX,WAAW,GACX,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,iBAAiB,GACjB,wBAAwB,CAC3B,CAAA;AAED,eAAO,MAAM,eAAe,sGAOzB,oBAAoB,4CAiHtB,CAAA"}
@@ -3,27 +3,28 @@ import { useCallback, useMemo } from 'react';
3
3
  import { Button } from 'react-bootstrap';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { range } from 'lodash';
6
- import { DateTime } from 'luxon';
6
+ import { ReactComponent as SvgSelectArrow } from '../../../assets/iframe/selectArrow.svg.js';
7
7
  import { CalendarSelect } from '../CalendarSelect/CalendarSelect.js';
8
8
 
9
9
  var CalendarButtons = function(param) {
10
10
  var _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, initialDate = param.initialDate, currentDate = param.currentDate, setCurrentDate = param.setCurrentDate, setSelectedDate = param.setSelectedDate, getDateTimeButtonProps = param.getDateTimeButtonProps;
11
11
  var t = useTranslation('Design').t;
12
- var onSelectMonth = useCallback(function(value) {
13
- var selectedMonth = Number(value);
14
- var nextDateTime = currentDate.set({
15
- month: selectedMonth
12
+ var onSelectNextMonth = useCallback(function() {
13
+ setCurrentDate(function(prevDate) {
14
+ return prevDate.plus({
15
+ months: 1
16
+ });
16
17
  });
17
- if (nextDateTime <= initialDate) {
18
- setCurrentDate(initialDate);
19
- return;
20
- }
21
- setCurrentDate(nextDateTime);
22
- }, // eslint-disable-next-line react-hooks/exhaustive-deps
23
- [
24
- setCurrentDate,
25
- currentDate
26
- ]);
18
+ // eslint-disable-next-line react-hooks/exhaustive-deps
19
+ }, []);
20
+ var onSelectPreviousMonth = useCallback(function() {
21
+ setCurrentDate(function(prevDate) {
22
+ return prevDate.minus({
23
+ month: 1
24
+ });
25
+ });
26
+ // eslint-disable-next-line react-hooks/exhaustive-deps
27
+ }, []);
27
28
  var yearOptions = useMemo(function() {
28
29
  return range(initialDate.year, initialDate.year + 5, 1).map(function(year) {
29
30
  return {
@@ -34,21 +35,11 @@ var CalendarButtons = function(param) {
34
35
  }, [
35
36
  initialDate
36
37
  ]);
37
- var monthOptions = useMemo(function() {
38
- var initialMonth = currentDate.year > initialDate.year ? 1 : initialDate.month;
39
- return range(initialMonth, 13).map(function(monthNumber) {
40
- return {
41
- label: DateTime.fromObject({
42
- month: monthNumber
43
- }).toLocaleString({
44
- month: 'long'
45
- }),
46
- value: monthNumber
47
- };
48
- });
38
+ var canMoveBack = useMemo(function() {
39
+ return currentDate > initialDate;
49
40
  }, [
50
- initialDate,
51
- currentDate
41
+ currentDate,
42
+ initialDate
52
43
  ]);
53
44
  var onSelectYear = function(value) {
54
45
  var selectedYear = Number(value);
@@ -105,13 +96,27 @@ var CalendarButtons = function(param) {
105
96
  /*#__PURE__*/ jsxs("div", {
106
97
  className: "calendar-buttons",
107
98
  children: [
108
- /*#__PURE__*/ jsx("div", {
99
+ /*#__PURE__*/ jsxs("div", {
109
100
  className: "buttons-wrapper",
110
- children: /*#__PURE__*/ jsx(CalendarSelect, {
111
- options: monthOptions,
112
- onChange: onSelectMonth,
113
- value: currentDate.month
114
- })
101
+ children: [
102
+ /*#__PURE__*/ jsx(Button, {
103
+ className: "calendar-button left-button",
104
+ onClick: onSelectPreviousMonth,
105
+ disabled: !canMoveBack,
106
+ variant: "link",
107
+ children: /*#__PURE__*/ jsx(SvgSelectArrow, {})
108
+ }),
109
+ /*#__PURE__*/ jsx("div", {
110
+ className: "month-title",
111
+ children: currentDate.toFormat('MMMM')
112
+ }),
113
+ /*#__PURE__*/ jsx(Button, {
114
+ className: "calendar-button",
115
+ onClick: onSelectNextMonth,
116
+ variant: "link",
117
+ children: /*#__PURE__*/ jsx(SvgSelectArrow, {})
118
+ })
119
+ ]
115
120
  }),
116
121
  /*#__PURE__*/ jsx(CalendarSelect, {
117
122
  options: yearOptions,
@@ -1 +1 @@
1
- {"version":3,"file":"IntervalInput.d.ts","sourceRoot":"","sources":["../../../src/events/edit-event-modal/IntervalInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AAIxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;IACvC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,WAAW,GACZ,EAAE,kBAAkB,2CA4JpB"}
1
+ {"version":3,"file":"IntervalInput.d.ts","sourceRoot":"","sources":["../../../src/events/edit-event-modal/IntervalInput.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AAIxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;IACvC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,WAAW,GACZ,EAAE,kBAAkB,2CAqJpB"}
@@ -169,12 +169,6 @@ function IntervalInput(param) {
169
169
  setValue('end', nextEndtDate);
170
170
  trigger('end');
171
171
  };
172
- var onChangeRecurrent = function(checked) {
173
- setRecurrent(checked);
174
- if (!checked) {
175
- setValue('rrule', null);
176
- }
177
- };
178
172
  return /*#__PURE__*/ jsxs(Fragment, {
179
173
  children: [
180
174
  /*#__PURE__*/ jsxs(Form.Row, {
@@ -255,7 +249,7 @@ function IntervalInput(param) {
255
249
  checked: recurrent,
256
250
  onChange: function(param) {
257
251
  var checked = param.target.checked;
258
- onChangeRecurrent(checked);
252
+ setRecurrent(checked);
259
253
  },
260
254
  disabled: disabled || Boolean(editedProductSet)
261
255
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"EditEventForm.d.ts","sourceRoot":"","sources":["../../../../../src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,EACN,MAAM,sDAAsD,CAAA;AAM7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAGtF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAI3E,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAS5D,OAAO,EAAiB,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAIxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAA;AAGlF,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,OAAO,EAAE,OAAO,GAAG,MAAM,CAAA;IACzB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;CACxC;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,aAAa,EAAE,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAA;IACjD,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,WAAW,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAA;IAClD,WAAW,CAAC,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;IACjC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;IACtD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,QAAQ,EAAE,MAAM,CAAA;CACjB;AAOD,eAAO,MAAM,aAAa,+LAavB,kBAAkB,4CAsVpB,CAAA"}
1
+ {"version":3,"file":"EditEventForm.d.ts","sourceRoot":"","sources":["../../../../../src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,EACN,MAAM,sDAAsD,CAAA;AAM7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAGtF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAA;AAI3E,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAS5D,OAAO,EAAiB,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAIxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAA;AAGlF,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,OAAO,EAAE,OAAO,GAAG,MAAM,CAAA;IACzB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;CACxC;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,aAAa,EAAE,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAA;IACjD,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,WAAW,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAA;IAClD,WAAW,CAAC,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;IACjC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gBAAgB,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;IACtD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,QAAQ,EAAE,MAAM,CAAA;CACjB;AAOD,eAAO,MAAM,aAAa,+LAavB,kBAAkB,4CAuVpB,CAAA"}
@@ -291,6 +291,7 @@ var EditEventForm = function(param) {
291
291
  render: function(param) {
292
292
  var field = param.field;
293
293
  return /*#__PURE__*/ jsx(TipTapEditor, {
294
+ withEmoji: false,
294
295
  viewMode: false,
295
296
  onUpdate: field.onChange,
296
297
  content: field.value,
@@ -1 +1 @@
1
- {"version":3,"file":"SelectEventProductSet.d.ts","sourceRoot":"","sources":["../../../../../src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AAGxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAIpE,UAAU,0BAA2B,SAAQ,iBAAiB;IAC5D,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC/C,gBAAgB,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;IACtD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,qBAAqB,iHAO/B,0BAA0B,4CAqL5B,CAAA"}
1
+ {"version":3,"file":"SelectEventProductSet.d.ts","sourceRoot":"","sources":["../../../../../src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAA;AAExF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAGpE,UAAU,0BAA2B,SAAQ,iBAAiB;IAC5D,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC/C,gBAAgB,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;IACtD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,qBAAqB,iHAO/B,0BAA0B,4CA0L5B,CAAA"}
@@ -4,10 +4,8 @@ import { useTranslation } from 'react-i18next';
4
4
  import { Form, Button } from 'react-bootstrap';
5
5
  import { useId } from '@react-aria/utils';
6
6
  import { useFormContext, Controller } from 'react-hook-form';
7
- import { getTypeHeadItemsFromMenus } from '../../../../product-set/utils/index.js';
8
7
  import { ConfirmModal } from '../../../../modals/confirmation/ConfirmModal.js';
9
8
  import { EditEventProductSet } from './component/EditEventProductSet.js';
10
- import { Typeahead } from '../../../../typeahead/Typeahead.js';
11
9
 
12
10
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
13
11
  try {
@@ -144,15 +142,6 @@ var SelectEventProductSet = function(param) {
144
142
  var productSetsId = useId();
145
143
  var productSetId = watch('productSetId');
146
144
  var editedProductSet = watch('editedProductSet');
147
- var typeheadValues = getTypeHeadItemsFromMenus(editedProductSet ? productSets.map(function(productSet) {
148
- if (productSet.id === editedProductSet.id) {
149
- return editedProductSet;
150
- }
151
- return productSet;
152
- }) : productSets);
153
- var selectedProductSetTypeheadValue = productSetId ? typeheadValues === null || typeheadValues === void 0 ? void 0 : typeheadValues.find(function(typeheadValue) {
154
- return typeheadValue.id === productSetId;
155
- }) : undefined;
156
145
  var onEditProductSet = useCallback(function() {
157
146
  setEditProductSetId(String(productSetId));
158
147
  setShowEditProductSet(true);
@@ -221,7 +210,6 @@ var SelectEventProductSet = function(param) {
221
210
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
222
211
  var onSubmit = function(value) {
223
212
  setShowEditProductSet(false);
224
- setValue('productSetId', value.id);
225
213
  setValue('editedProductSet', value);
226
214
  };
227
215
  return /*#__PURE__*/ jsxs(Fragment, {
@@ -238,8 +226,10 @@ var SelectEventProductSet = function(param) {
238
226
  /*#__PURE__*/ jsx(Controller, {
239
227
  control: control,
240
228
  name: "productSetId",
241
- render: function() {
229
+ render: function(param) {
230
+ var field = param.field;
242
231
  var _errors_productSetId;
232
+ var fieldValue = String(field.value);
243
233
  return /*#__PURE__*/ jsxs(Fragment, {
244
234
  children: [
245
235
  /*#__PURE__*/ jsxs("div", {
@@ -247,18 +237,27 @@ var SelectEventProductSet = function(param) {
247
237
  children: [
248
238
  /*#__PURE__*/ jsx(ConfirmModal, {
249
239
  children: function(confirm) {
250
- return /*#__PURE__*/ jsx(Typeahead, {
251
- name: "productSetId",
252
- value: selectedProductSetTypeheadValue,
253
- containerStyles: {
254
- width: '100%'
255
- },
256
- onChangeValue: function(typeheadValue) {
257
- onChangeProductSet(Number(typeheadValue.id), confirm);
240
+ return /*#__PURE__*/ jsxs(Form.Control, {
241
+ as: "select",
242
+ onChange: function(e) {
243
+ return onChangeProductSet(Number(e.target.value), confirm);
258
244
  },
259
- options: typeheadValues,
260
- placeholder: t('Design:choose'),
261
- noOptionsMessage: t('Design:noAvailableProductSets')
245
+ isInvalid: Boolean(errors.productSetId),
246
+ value: fieldValue,
247
+ children: [
248
+ /*#__PURE__*/ jsx("option", {
249
+ value: "",
250
+ hidden: true,
251
+ children: t('Design:chooseProductSet')
252
+ }),
253
+ productSets === null || productSets === void 0 ? void 0 : productSets.map(function(productSet) {
254
+ var isCurrentEditedProductSet = editedProductSet && (editedProductSet === null || editedProductSet === void 0 ? void 0 : editedProductSet.id) === (productSet === null || productSet === void 0 ? void 0 : productSet.id);
255
+ return /*#__PURE__*/ jsx("option", {
256
+ value: productSet.id,
257
+ children: isCurrentEditedProductSet || productSet.isOverride ? "[".concat(t('edited'), "] ").concat(isCurrentEditedProductSet ? editedProductSet === null || editedProductSet === void 0 ? void 0 : editedProductSet.name : productSet.name) : productSet.name
258
+ }, productSet.id);
259
+ })
260
+ ]
262
261
  });
263
262
  }
264
263
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"getDefaultProductSet.d.ts","sourceRoot":"","sources":["../../../../src/events/edit-event-modal/utils/getDefaultProductSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACX,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AAE/E,eAAO,MAAM,gBAAgB,gBACd,UAAU,GAAG,IAAI,qBACX,OAAO,KACzB,oBAoCD,CAAA"}
1
+ {"version":3,"file":"getDefaultProductSet.d.ts","sourceRoot":"","sources":["../../../../src/events/edit-event-modal/utils/getDefaultProductSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACX,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AAE/E,eAAO,MAAM,gBAAgB,gBACd,UAAU,GAAG,IAAI,qBACX,OAAO,KACzB,oBAqCD,CAAA"}
@@ -133,6 +133,7 @@ var getDefaultValues = function(productSet, hasNoRecurrences) {
133
133
  subProducts: subProducts === null || subProducts === void 0 ? void 0 : subProducts.map(function(_param) {
134
134
  var subProducts = _extends({}, _object_destructuring_empty(_param));
135
135
  return _object_spread_props(_object_spread({}, subProducts), {
136
+ originalProductId: null,
136
137
  productCategoryId: undefined
137
138
  });
138
139
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAA;AAC7E,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAG5D,UAAU,aAAa;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,WAAW,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAA;IAC5C,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;IACxC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,aAAa,CAAA;CAC3B;AAED,eAAO,MAAM,oBAAoB,gGAQ9B,yBAAyB,4CAkE3B,CAAA"}
1
+ {"version":3,"file":"ProductQuantityInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAA;AAC7E,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAG5D,UAAU,aAAa;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,WAAW,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAA;IAC5C,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;IACxC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,aAAa,CAAA;CAC3B;AAED,eAAO,MAAM,oBAAoB,gGAQ9B,yBAAyB,4CAiE3B,CAAA"}
@@ -8,7 +8,6 @@ var ProductQuantityInput = function(param) {
8
8
  var product = param.product, category = param.category, _onChange = param.onChange, clearErrors = param.clearErrors, refCallback = param.refCallback, productInfo = param.productInfo, invalid = param.invalid;
9
9
  var t = useTranslation('Design').t;
10
10
  var onChange = function(quantity) {
11
- var _category_zone;
12
11
  _onChange({
13
12
  id: product.id,
14
13
  name: product.name,
@@ -16,7 +15,6 @@ var ProductQuantityInput = function(param) {
16
15
  hasDeposit: category.allowDeposits && (product === null || product === void 0 ? void 0 : product.deposit) < product.price,
17
16
  price: product.price,
18
17
  productCategoryId: category.id,
19
- zoneId: (_category_zone = category.zone) === null || _category_zone === void 0 ? void 0 : _category_zone.id,
20
18
  quantity: quantity,
21
19
  capacity: product === null || product === void 0 ? void 0 : product.capacity
22
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"useResizePageBody.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/page/components/PageBody/hooks/useResizePageBody.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;eAMnB,MAAM;gBACL,MAAM;;CA2OjB,CAAA"}
1
+ {"version":3,"file":"useResizePageBody.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/page/components/PageBody/hooks/useResizePageBody.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;eAMnB,MAAM;gBACL,MAAM;;CA4OjB,CAAA"}
@@ -80,6 +80,7 @@ var useResizePageBody = function() {
80
80
  }, [
81
81
  height,
82
82
  width,
83
+ rightBlockHeight,
83
84
  onExpandStarted,
84
85
  onExpanded,
85
86
  onCollapseStarted,
@@ -1 +1 @@
1
- {"version":3,"file":"paymentSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/order-items-table/utils/paymentSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,oBAAoB,EAEpB,WAAW,EAEZ,MAAM,UAAU,CAAA;AA4FjB,eAAO,MAAM,oBAAoB,oEAK9B,oBAAoB,KAAG,WAAW,EAUpC,CAAA"}
1
+ {"version":3,"file":"paymentSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/order-items-table/utils/paymentSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,oBAAoB,EAEpB,WAAW,EAEZ,MAAM,UAAU,CAAA;AA2FjB,eAAO,MAAM,oBAAoB,oEAK9B,oBAAoB,KAAG,WAAW,EAUpC,CAAA"}
package/dist/index.js CHANGED
@@ -87,7 +87,6 @@ export { ProductSetControl } from './product-set/control/ProductSetControl.js';
87
87
  export { ProductSetDepositPaidControl } from './product-set/deposit-paid/ProductSetDepositPaidControl.js';
88
88
  export { DeleteFieldButton } from './product-set/elements/DeleteFieldButton.js';
89
89
  export { ProductSetForm } from './product-set/form/ProductSetForm.js';
90
- export { ProductSetNameControl } from './product-set/form/ProductSetNameControl.js';
91
90
  export { ProductSetPopover } from './product-set/popover/ProductSetPopover.js';
92
91
  export { ProductBookingManagementControl } from './product-set/product/booking-management/ProductBookingManagementControl.js';
93
92
  export { ProductDepositControl } from './product-set/product/deposit/ProductDepositControl.js';
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  interface Props {
3
2
  children?: React.ReactNode | React.ReactNode[];
4
3
  style?: any;
5
4
  className?: any;
6
5
  'aria-laballedby'?: any;
7
6
  }
8
- declare const DropDown: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
7
+ declare const DropDown: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
9
8
  export default DropDown;
10
9
  //# sourceMappingURL=DropDown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC9C,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED,QAAA,MAAM,QAAQ,uEAcZ,CAAA;AAIF,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC9C,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED,QAAA,MAAM,QAAQ,2FAcZ,CAAA;AAGF,eAAe,QAAQ,CAAA"}
@@ -8,8 +8,6 @@ export type ConfirmModalTypes = (typeof ConfirmModalType)[keyof typeof ConfirmMo
8
8
  export interface ConfirmModalProps {
9
9
  type?: ConfirmModalTypes;
10
10
  children?: (confirm: (action: ConfirmAction) => void) => ReactNode;
11
- confirmationHandler?: () => Promise<boolean | undefined>;
12
- disabledButtons?: boolean;
13
11
  title?: string;
14
12
  content?: string | ReactNode;
15
13
  onClose?: () => void;
@@ -18,5 +16,5 @@ export interface ConfirmModalProps {
18
16
  export declare const CONFIRM_MODAL_ACTION_DECLINE = "confirm-modal-decline";
19
17
  export declare const CONFIRM_MODAL_ACTION_CONFIRM = "confirm-modal-confirm";
20
18
  export declare const CONFIRM_MODAL_ACTIONS: readonly string[];
21
- export declare function ConfirmModal({ type, children, onClose, confirmationHandler, title, disabledButtons, content, hideButtons, }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function ConfirmModal({ type, children, onClose, title, content, hideButtons, }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
22
20
  //# sourceMappingURL=ConfirmModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../src/modals/confirmation/ConfirmModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoB,MAAM,OAAO,CAAA;AAUnD,MAAM,MAAM,aAAa,GAAG,MAAM,IAAI,CAAA;AACtC,eAAO,MAAM,gBAAgB;;;CAGnB,CAAA;AAEV,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAA;AAE1D,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,KAAK,SAAS,CAAA;IAElE,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IACxD,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,4BAA4B,0BAA0B,CAAA;AACnE,eAAO,MAAM,4BAA4B,0BAA0B,CAAA;AACnE,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAGlD,CAAA;AAED,wBAAgB,YAAY,CAAC,EAC3B,IAAgB,EAChB,QAAQ,EACR,OAAO,EACP,mBAAmB,EACnB,KAAK,EACL,eAAe,EACf,OAAO,EACP,WAAmB,GACpB,EAAE,iBAAiB,2CA+GnB"}
1
+ {"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../src/modals/confirmation/ConfirmModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoB,MAAM,OAAO,CAAA;AAUnD,MAAM,MAAM,aAAa,GAAG,MAAM,IAAI,CAAA;AACtC,eAAO,MAAM,gBAAgB;;;CAGnB,CAAA;AAEV,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAA;AAE1D,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,KAAK,SAAS,CAAA;IAClE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,4BAA4B,0BAA0B,CAAA;AACnE,eAAO,MAAM,4BAA4B,0BAA0B,CAAA;AACnE,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAGlD,CAAA;AAED,wBAAgB,YAAY,CAAC,EAC3B,IAAgB,EAChB,QAAQ,EACR,OAAO,EACP,KAAK,EACL,OAAO,EACP,WAAmB,GACpB,EAAE,iBAAiB,2CAoGnB"}