@licklist/design 0.66.7-dev.9 → 0.66.8-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 (217) hide show
  1. package/dist/affiliate/card/AffiliateCard.js +7 -9
  2. package/dist/auth/AccessDenied/AccessDenied.js +3 -6
  3. package/dist/auth/Social/SocialFormComponent.d.ts.map +1 -1
  4. package/dist/auth/Social/SocialFormComponent.js +0 -1
  5. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
  6. package/dist/collapsible-input-group/CollapsibleInputGroup.js +5 -5
  7. package/dist/custom-fields/constants.d.ts +2 -2
  8. package/dist/custom-fields/constants.d.ts.map +1 -1
  9. package/dist/custom-fields/constants.js +8 -4
  10. package/dist/custom-fields/field/FieldItem.d.ts +2 -1
  11. package/dist/custom-fields/field/FieldItem.d.ts.map +1 -1
  12. package/dist/custom-fields/field/FieldItem.js +1 -6
  13. package/dist/custom-fields/forms/DropdownForm.js +5 -9
  14. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -2
  15. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.js +3 -4
  16. package/dist/events/event-card/EventCard.d.ts.map +1 -1
  17. package/dist/events/event-card/EventCard.js +6 -16
  18. package/dist/events/event-statistic-modal/EventStatisticModal.js +3 -5
  19. package/dist/events/event-venue-map/components/ZoomButtons/ZoomButtons.js +3 -6
  20. package/dist/file-upload/FilePreview.js +6 -11
  21. package/dist/help/popover/HelpPopover.js +3 -6
  22. package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts.map +1 -1
  23. package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.js +6 -9
  24. package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.d.ts.map +1 -1
  25. package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.js +7 -11
  26. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +5 -5
  27. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +2 -5
  28. package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +2 -5
  29. package/dist/iframe/order-process/components/NavigationFooter/NavigationFooter.js +3 -8
  30. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.js +2 -5
  31. package/dist/iframe/order-process/components/Timer/Timer.js +2 -5
  32. package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -2
  33. package/dist/iframe/payment/payment-form/PaymentForm.js +1 -2
  34. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  35. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  36. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/modals/confirmation/ConfirmModal.js +3 -4
  39. package/dist/modals/fullscreen/FullscreenModal.js +3 -4
  40. package/dist/notification/email-template/card/EmailTemplateCard.js +3 -8
  41. package/dist/notification/sms-template/card/SmsTemplateCard.js +3 -8
  42. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  43. package/dist/product-set/card/ProductSetCard.js +7 -9
  44. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  45. package/dist/product-set/control/DateAndRecurrenceInput.js +3 -5
  46. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  47. package/dist/product-set/control/DateInput.js +5 -7
  48. package/dist/product-set/control/ProductSetRecurrenceControl.d.ts.map +1 -1
  49. package/dist/product-set/control/ProductSetRecurrenceControl.js +5 -8
  50. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +1 -1
  51. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.js +5 -8
  52. package/dist/product-set/control/TutorialGifCard.d.ts.map +1 -1
  53. package/dist/product-set/control/TutorialGifCard.js +6 -10
  54. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  55. package/dist/product-set/elements/DeleteFieldButton.js +3 -4
  56. package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
  57. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  58. package/dist/product-set/form/ProductSetForm.js +59 -1
  59. package/dist/product-set/form/ProductsControl.js +2 -2
  60. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  61. package/dist/product-set/form/SelectCategoryModal.js +30 -23
  62. package/dist/product-set/form/SubProductsControl.js +1 -1
  63. package/dist/product-set/item/CreateProductSetItem.d.ts.map +1 -1
  64. package/dist/product-set/item/CreateProductSetItem.js +3 -6
  65. package/dist/product-set/popover/ProductSetPopover.js +3 -5
  66. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  67. package/dist/product-set/product/ProductControl.js +3 -4
  68. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +3 -4
  69. package/dist/product-set/product/deposit/ProductDepositControl.js +3 -4
  70. package/dist/product-set/product/price/ProductPriceControl.js +3 -4
  71. package/dist/report/card/ReportCard.d.ts +1 -2
  72. package/dist/report/card/ReportCard.d.ts.map +1 -1
  73. package/dist/report/card/ReportCard.js +6 -16
  74. package/dist/sales/booking/results/components/ResultCard.js +4 -5
  75. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  76. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +3 -6
  77. package/dist/sales/modals/payment-modal/PaymentModal.js +3 -4
  78. package/dist/sales/modals/refund-modal/RefundModal.js +3 -4
  79. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  80. package/dist/sales/notes/NotesTable.js +4 -6
  81. package/dist/sales/notes/NotesTableRow.js +7 -9
  82. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  83. package/dist/setting/admin/AdminSettingForm.js +3 -6
  84. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  85. package/dist/setting/admin/PaymentFeeForm.js +11 -26
  86. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  87. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  88. package/dist/setting/dashboard/ProviderSettingForm.js +3 -6
  89. package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.js +2 -5
  90. package/dist/setting/dashboard/snippets/card/SnippetCard.js +7 -9
  91. package/dist/sidebar/elements/ReturnBack.js +2 -5
  92. package/dist/slide-curtain/SlideCurtain.d.ts.map +1 -1
  93. package/dist/slide-curtain/SlideCurtain.js +3 -4
  94. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  95. package/dist/snippet/snippet-template/settings/SettingButton.js +3 -6
  96. package/dist/sortable-list/CreateSortableListItem.d.ts.map +1 -1
  97. package/dist/sortable-list/CreateSortableListItem.js +3 -6
  98. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  99. package/dist/sortable-tree/SortableTreeItem.js +6 -10
  100. package/dist/static/RestrictedAccess.js +3 -4
  101. package/dist/static/SocialButton.d.ts +0 -1
  102. package/dist/static/SocialButton.d.ts.map +1 -1
  103. package/dist/static/SocialButton.js +7 -10
  104. package/dist/static/UserBadge.d.ts.map +1 -1
  105. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  106. package/dist/static/date-range-input/DateRangeInput.js +3 -5
  107. package/dist/static/index.d.ts +0 -1
  108. package/dist/static/index.d.ts.map +1 -1
  109. package/dist/static/index.js +1 -1
  110. package/dist/static/number-input/NumberInput.js +5 -7
  111. package/dist/striped-static-table/StripedStaticTable.js +1 -2
  112. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +1 -1
  113. package/dist/table/MenuButton.d.ts +3 -3
  114. package/dist/table/MenuButton.d.ts.map +1 -1
  115. package/dist/table/MenuButton.js +3 -8
  116. package/dist/table/PaginationHelperComponent.d.ts.map +1 -1
  117. package/dist/table/PaginationHelperComponent.js +5 -8
  118. package/dist/tiptap-editor/TipTapMenu/TipTapMenu.d.ts.map +1 -1
  119. package/dist/tiptap-editor/TipTapMenu/TipTapMenu.js +17 -16
  120. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts +3 -3
  121. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts.map +1 -1
  122. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.js +2 -8
  123. package/dist/venue-map-sets/card/VenueMapSetCard.js +7 -9
  124. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  125. package/dist/venue-map-sets/form/components/VenueMapControl.js +5 -8
  126. package/dist/venue-map-sets/form/components/VenueMapModal.js +3 -4
  127. package/dist/zone/card/ZoneCard.js +7 -9
  128. package/dist/zone/form/components/ZoneRecurrenceControl.d.ts.map +1 -1
  129. package/dist/zone/form/components/ZoneRecurrenceControl.js +5 -8
  130. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  131. package/dist/zone/form/components/ZoneRecurrencesControl.js +3 -5
  132. package/package.json +2 -3
  133. package/src/affiliate/card/AffiliateCard.tsx +4 -4
  134. package/src/auth/AccessDenied/AccessDenied.tsx +2 -2
  135. package/src/auth/Social/SocialFormComponent.tsx +0 -1
  136. package/src/collapsible-input-group/CollapsibleInputGroup.tsx +7 -4
  137. package/src/custom-fields/{constants.ts → constants.tsx} +3 -2
  138. package/src/custom-fields/field/FieldItem.tsx +4 -3
  139. package/src/custom-fields/forms/DropdownForm.tsx +3 -3
  140. package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +2 -2
  141. package/src/events/event-card/EventCard.tsx +13 -6
  142. package/src/events/event-statistic-modal/EventStatisticModal.tsx +2 -2
  143. package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +2 -2
  144. package/src/file-upload/FilePreview.tsx +4 -8
  145. package/src/header/Header.stories.tsx +1 -2
  146. package/src/help/popover/HelpPopover.tsx +2 -2
  147. package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +4 -9
  148. package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +5 -4
  149. package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +6 -9
  150. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +2 -2
  151. package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +2 -2
  152. package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +3 -3
  153. package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +2 -2
  154. package/src/iframe/order-process/components/Timer/Timer.tsx +2 -2
  155. package/src/image-radio-input/ImageRadioInput.stories.tsx +3 -3
  156. package/src/modals/confirmation/ConfirmModal.tsx +2 -2
  157. package/src/modals/fullscreen/FullscreenModal.tsx +2 -2
  158. package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -3
  159. package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -3
  160. package/src/product-set/card/ProductSetCard.tsx +4 -5
  161. package/src/product-set/control/DateAndRecurrenceInput.tsx +3 -4
  162. package/src/product-set/control/DateInput.tsx +6 -5
  163. package/src/product-set/control/ProductSetRecurrenceControl.tsx +6 -7
  164. package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +5 -8
  165. package/src/product-set/control/TutorialGifCard.tsx +5 -12
  166. package/src/product-set/elements/DeleteFieldButton.tsx +2 -2
  167. package/src/product-set/form/MobileFooter.tsx +6 -36
  168. package/src/product-set/form/ProductSetForm.tsx +12 -1
  169. package/src/product-set/form/SelectCategoryModal.tsx +24 -19
  170. package/src/product-set/item/CreateProductSetItem.tsx +2 -7
  171. package/src/product-set/popover/ProductSetPopover.tsx +2 -2
  172. package/src/product-set/product/ProductControl.tsx +2 -5
  173. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -2
  174. package/src/product-set/product/deposit/ProductDepositControl.tsx +2 -2
  175. package/src/product-set/product/price/ProductPriceControl.tsx +2 -2
  176. package/src/report/card/ReportCard.tsx +0 -10
  177. package/src/sales/booking/results/components/ResultCard.tsx +2 -2
  178. package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -9
  179. package/src/sales/modals/payment-modal/PaymentModal.tsx +2 -2
  180. package/src/sales/modals/refund-modal/RefundModal.tsx +2 -2
  181. package/src/sales/notes/NotesTable.tsx +2 -2
  182. package/src/sales/notes/NotesTableRow.tsx +4 -4
  183. package/src/setting/admin/AdminSettingForm.tsx +2 -7
  184. package/src/setting/admin/PaymentFeeForm.tsx +7 -32
  185. package/src/setting/dashboard/FinancialDataForm.tsx +4 -19
  186. package/src/setting/dashboard/ProviderSettingForm.tsx +2 -7
  187. package/src/setting/dashboard/components/IpInput.tsx +2 -2
  188. package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +2 -2
  189. package/src/setting/dashboard/snippets/card/SnippetCard.tsx +4 -4
  190. package/src/sidebar/elements/ReturnBack.tsx +2 -2
  191. package/src/slide-curtain/SlideCurtain.tsx +2 -6
  192. package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
  193. package/src/sortable-list/CreateSortableListItem.tsx +2 -7
  194. package/src/sortable-tree/SortableTreeItem.tsx +4 -5
  195. package/src/static/RestrictedAccess.tsx +2 -2
  196. package/src/static/SocialButton.tsx +4 -5
  197. package/src/static/Static.stories.tsx +2 -2
  198. package/src/static/UserBadge.tsx +2 -6
  199. package/src/static/date-range-input/DateRangeInput.tsx +2 -6
  200. package/src/static/index.ts +0 -1
  201. package/src/static/number-input/NumberInput.tsx +3 -3
  202. package/src/styles/iframe-external-modal/IframeExternalModal.scss +1 -1
  203. package/src/table/MenuButton.tsx +4 -8
  204. package/src/table/PaginationHelperComponent.tsx +3 -4
  205. package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +24 -16
  206. package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +4 -7
  207. package/src/venue-map-sets/card/VenueMapSetCard.tsx +4 -4
  208. package/src/venue-map-sets/form/components/VenueMapControl.tsx +3 -8
  209. package/src/venue-map-sets/form/components/VenueMapModal.tsx +2 -2
  210. package/src/zone/card/ZoneCard.tsx +4 -4
  211. package/src/zone/form/components/ZoneRecurrenceControl.tsx +3 -11
  212. package/src/zone/form/components/ZoneRecurrencesControl.tsx +2 -6
  213. package/yarn.lock +163 -176
  214. package/dist/static/Icon.d.ts +0 -13
  215. package/dist/static/Icon.d.ts.map +0 -1
  216. package/dist/static/Icon.js +0 -22
  217. package/src/static/Icon.tsx +0 -37
@@ -5,7 +5,7 @@ import ModalHeader from 'react-bootstrap/ModalHeader';
5
5
  import ModalTitle from 'react-bootstrap/ModalTitle';
6
6
  import ModalBody from 'react-bootstrap/ModalBody';
7
7
  import Modal from 'react-bootstrap/Modal';
8
- import Icon from '../../../../static/Icon.js';
8
+ import { FaTimes } from 'react-icons/fa';
9
9
 
10
10
  var ErrorModal = function(param) {
11
11
  var _param_isOpen = param.isOpen, isOpen = _param_isOpen === void 0 ? false : _param_isOpen, onClose = param.onClose, message = param.message, messageKey = param.messageKey;
@@ -32,10 +32,7 @@ var ErrorModal = function(param) {
32
32
  variant: "danger",
33
33
  className: "btn-sm rounded",
34
34
  onClick: handleClose,
35
- children: /*#__PURE__*/ jsx(Icon, {
36
- type: "times",
37
- height: "1rem"
38
- })
35
+ children: /*#__PURE__*/ jsx(FaTimes, {})
39
36
  })
40
37
  ]
41
38
  }),
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import Button from 'react-bootstrap/Button';
4
- import Icon from '../../../../static/Icon.js';
4
+ import { FaArrowLeft, FaArrowRight } from 'react-icons/fa';
5
5
 
6
6
  function _define_property(obj, key, value) {
7
7
  if (key in obj) {
@@ -74,10 +74,7 @@ var NavigationFooter = function(param) {
74
74
  /*#__PURE__*/ jsx(Button, {
75
75
  className: "event-fixed-footer__prev-btn m-0",
76
76
  onClick: onPrevButtonClick,
77
- children: /*#__PURE__*/ jsx(Icon, {
78
- type: "arrow-left",
79
- width: "1rem"
80
- })
77
+ children: /*#__PURE__*/ jsx(FaArrowLeft, {})
81
78
  }),
82
79
  /*#__PURE__*/ jsxs(Button, _object_spread_props(_object_spread({
83
80
  className: "m-0",
@@ -85,9 +82,7 @@ var NavigationFooter = function(param) {
85
82
  }, buttonProps), {
86
83
  children: [
87
84
  nextButtonLabel !== null && nextButtonLabel !== void 0 ? nextButtonLabel : t("continue"),
88
- /*#__PURE__*/ jsx(Icon, {
89
- type: "arrow-right",
90
- width: "1rem",
85
+ /*#__PURE__*/ jsx(FaArrowRight, {
91
86
  className: "ml-2"
92
87
  })
93
88
  ]
@@ -2,8 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import { useIntl } from 'react-intl';
4
4
  import * as Config from '@licklist/core/dist/Config';
5
- import '../../../../static/index.js';
6
- import Icon from '../../../../static/Icon.js';
5
+ import { FaCreditCard } from 'react-icons/fa';
7
6
 
8
7
  var PaymentCard = function(param) {
9
8
  var order = param.order, totalWithDiscount = param.totalWithDiscount, recalculatedFee = param.recalculatedFee, discountBlock = param.discountBlock, paymentDetail = param.paymentDetail, isFreePayment = param.isFreePayment;
@@ -42,9 +41,7 @@ var PaymentCard = function(param) {
42
41
  /*#__PURE__*/ jsxs("div", {
43
42
  className: "title",
44
43
  children: [
45
- /*#__PURE__*/ jsx(Icon, {
46
- type: "credit-card"
47
- }),
44
+ /*#__PURE__*/ jsx(FaCreditCard, {}),
48
45
  /*#__PURE__*/ jsx("p", {
49
46
  className: "m-0",
50
47
  children: t("Design:payment")
@@ -1,8 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useTranslation } from 'react-i18next';
3
+ import { FaStopwatch } from 'react-icons/fa';
3
4
  import { fancyTimeFormat } from './utils/index.js';
4
- import '../../../../static/index.js';
5
- import Icon from '../../../../static/Icon.js';
6
5
 
7
6
  var Timer = function(param) {
8
7
  var timer = param.timer;
@@ -17,9 +16,7 @@ var Timer = function(param) {
17
16
  children: [
18
17
  /*#__PURE__*/ jsx("div", {
19
18
  className: "d-flex align-items-center",
20
- children: /*#__PURE__*/ jsx(Icon, {
21
- type: "stopwatch"
22
- })
19
+ children: /*#__PURE__*/ jsx(FaStopwatch, {})
23
20
  }),
24
21
  /*#__PURE__*/ jsx("div", {
25
22
  className: "time",
@@ -5,7 +5,7 @@ import 'react-i18next';
5
5
  import 'react-bootstrap/PageItem';
6
6
  import '@licklist/plugins/dist/services/Table/PaginationService';
7
7
  import 'clsx';
8
- import '../../../static/index.js';
8
+ import 'react-icons/fa';
9
9
  import '@licklist/plugins/dist/services/Table/TableService';
10
10
  import { StaticTable } from '../../../table/StaticTable.js';
11
11
  import 'react-router-dom';
@@ -14,7 +14,6 @@ import '@licklist/plugins/dist/hooks/Query/useQuery';
14
14
  import '@licklist/plugins/dist/services/Route/RouteService';
15
15
  import 'react-loader';
16
16
  import '../../../table/utils/index.js';
17
- import '../../../static/Icon.js';
18
17
  import '@tanstack/react-table';
19
18
  import { useTableData } from './hooks/useTableData.js';
20
19
 
@@ -6,7 +6,7 @@ import 'react';
6
6
  import 'react-bootstrap/PageItem';
7
7
  import '@licklist/plugins/dist/services/Table/PaginationService';
8
8
  import 'clsx';
9
- import '../../../static/index.js';
9
+ import 'react-icons/fa';
10
10
  import '@licklist/plugins/dist/services/Table/TableService';
11
11
  import { StaticTable } from '../../../table/StaticTable.js';
12
12
  import 'react-router-dom';
@@ -15,7 +15,6 @@ import '@licklist/plugins/dist/hooks/Query/useQuery';
15
15
  import '@licklist/plugins/dist/services/Route/RouteService';
16
16
  import 'react-loader';
17
17
  import '../../../table/utils/index.js';
18
- import '../../../static/Icon.js';
19
18
  import '@tanstack/react-table';
20
19
 
21
20
  function PaymentForm(param) {
@@ -13,8 +13,8 @@ import { PageBody } from '../../page/components/PageBody/PageBody.js';
13
13
  import '@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper';
14
14
  import { BookingSummary } from '../../order-process/components/BookingSummary/BookingSummary.js';
15
15
  import 'clsx';
16
+ import 'react-icons/fa';
16
17
  import 'react-bootstrap/Button';
17
- import '../../../static/Icon.js';
18
18
  import 'react-intl';
19
19
  import '@licklist/core/dist/Config';
20
20
  import '../../order-process/components/CalendarStepsForm/CalendarStepsForm.js';
@@ -9,7 +9,7 @@ import 'react-i18next';
9
9
  import '../../../static/index.js';
10
10
  import { Timer } from '../../order-process/components/Timer/Timer.js';
11
11
  import 'react-bootstrap/Button';
12
- import '../../../static/Icon.js';
12
+ import 'react-icons/fa';
13
13
  import 'react-intl';
14
14
  import '@licklist/core/dist/Config';
15
15
  import 'react-bootstrap';
@@ -10,8 +10,8 @@ import { BookingSummary } from '../../order-process/components/BookingSummary/Bo
10
10
  import 'react-router-dom';
11
11
  import 'clsx';
12
12
  import '../../../static/index.js';
13
+ import 'react-icons/fa';
13
14
  import 'react-bootstrap/Button';
14
- import '../../../static/Icon.js';
15
15
  import 'react-intl';
16
16
  import '@licklist/core/dist/Config';
17
17
  import { BookingSummaryFooter } from '../../order-process/components/BookingSummaryFooter/BookingSummaryFooter.js';
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ import 'react/jsx-runtime';
46
46
  import 'react-i18next';
47
47
  import 'react-bootstrap/Button';
48
48
  import '@licklist/plugins/dist/services/Route/RouteService';
49
- export { default as Icon } from './static/Icon.js';
49
+ import 'react-icons/fa';
50
50
  export { EventBookingProducts } from './iframe/event/event-booking-products/EventBookingProducts.js';
51
51
  export { EventOrderShortSummary } from './iframe/event/event-order-short-summary/EventOrderShortSummary.js';
52
52
  export { EventDescription } from './iframe/event/event-description/EventDescription.js';
@@ -7,7 +7,7 @@ import ModalTitle from 'react-bootstrap/ModalTitle';
7
7
  import ModalBody from 'react-bootstrap/ModalBody';
8
8
  import ModalFooter from 'react-bootstrap/ModalFooter';
9
9
  import Modal from 'react-bootstrap/Modal';
10
- import Icon from '../../static/Icon.js';
10
+ import { FaTimes } from 'react-icons/fa';
11
11
 
12
12
  function _array_like_to_array(arr, len) {
13
13
  if (len == null || len > arr.length) len = arr.length;
@@ -115,9 +115,8 @@ function ConfirmModal(param) {
115
115
  className: "btn-sm rounded",
116
116
  onClick: handleClose,
117
117
  "data-id": CONFIRM_MODAL_ACTION_DECLINE,
118
- children: /*#__PURE__*/ jsx(Icon, {
119
- type: "times",
120
- height: "1rem"
118
+ children: /*#__PURE__*/ jsx(FaTimes, {
119
+ size: 16
121
120
  })
122
121
  })
123
122
  ]
@@ -7,7 +7,7 @@ import ModalTitle from 'react-bootstrap/ModalTitle';
7
7
  import ModalBody from 'react-bootstrap/ModalBody';
8
8
  import ModalFooter from 'react-bootstrap/ModalFooter';
9
9
  import Modal from 'react-bootstrap/Modal';
10
- import Icon from '../../static/Icon.js';
10
+ import { FaTimes } from 'react-icons/fa';
11
11
 
12
12
  function _array_like_to_array(arr, len) {
13
13
  if (len == null || len > arr.length) len = arr.length;
@@ -93,9 +93,8 @@ var FullscreenModal = function(param) {
93
93
  variant: "danger",
94
94
  className: "btn-sm rounded",
95
95
  onClick: handleClose,
96
- children: /*#__PURE__*/ jsx(Icon, {
97
- type: "times",
98
- height: "1rem"
96
+ children: /*#__PURE__*/ jsx(FaTimes, {
97
+ size: 16
99
98
  })
100
99
  })
101
100
  ]
@@ -1,12 +1,11 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { Link } from 'react-router-dom';
3
3
  import { useTranslation } from 'react-i18next';
4
+ import { FaTrashAlt, FaCopy } from 'react-icons/fa';
4
5
  import { ConfirmModal, ConfirmModalType } from '../../../modals/confirmation/ConfirmModal.js';
5
6
  import 'react-bootstrap';
6
7
  import 'react';
7
- import '../../../static/index.js';
8
8
  import { useTranslatedParameters } from '../../hooks/useTranslatedParameters.js';
9
- import Icon from '../../../static/Icon.js';
10
9
 
11
10
  function EmailTemplateCard(param) {
12
11
  var name = param.name, href = param.href, subject = param.subject, onRemove = param.onRemove, onDuplicate = param.onDuplicate, _param_isDefault = param.isDefault, isDefault = _param_isDefault === void 0 ? false : _param_isDefault, _param_isActive = param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, _param_hasPermission = param.hasPermission, hasPermission = _param_hasPermission === void 0 ? true : _param_hasPermission, type = param.type;
@@ -41,9 +40,7 @@ function EmailTemplateCard(param) {
41
40
  e.stopPropagation();
42
41
  confirm(onRemove);
43
42
  },
44
- children: /*#__PURE__*/ jsx(Icon, {
45
- type: "trash-alt"
46
- })
43
+ children: /*#__PURE__*/ jsx(FaTrashAlt, {})
47
44
  });
48
45
  }
49
46
  }),
@@ -51,9 +48,7 @@ function EmailTemplateCard(param) {
51
48
  type: "button",
52
49
  className: "snippet-template-card-button",
53
50
  onClick: onDuplicate,
54
- children: /*#__PURE__*/ jsx(Icon, {
55
- type: "copy"
56
- })
51
+ children: /*#__PURE__*/ jsx(FaCopy, {})
57
52
  })
58
53
  ]
59
54
  }),
@@ -1,12 +1,11 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { Link } from 'react-router-dom';
3
3
  import { useTranslation } from 'react-i18next';
4
+ import { FaTrashAlt, FaCopy } from 'react-icons/fa';
4
5
  import { ConfirmModal, ConfirmModalType } from '../../../modals/confirmation/ConfirmModal.js';
5
6
  import 'react-bootstrap';
6
7
  import 'react';
7
- import '../../../static/index.js';
8
8
  import { useTranslatedParameters } from '../../hooks/useTranslatedParameters.js';
9
- import Icon from '../../../static/Icon.js';
10
9
 
11
10
  function SmsTemplateCard(param) {
12
11
  var name = param.name, href = param.href, onRemove = param.onRemove, onDuplicate = param.onDuplicate, _param_hasPermission = param.hasPermission, hasPermission = _param_hasPermission === void 0 ? true : _param_hasPermission, _param_isDefault = param.isDefault, isDefault = _param_isDefault === void 0 ? false : _param_isDefault, _param_isActive = param.isActive, isActive = _param_isActive === void 0 ? false : _param_isActive, type = param.type;
@@ -41,9 +40,7 @@ function SmsTemplateCard(param) {
41
40
  e.stopPropagation();
42
41
  confirm(onRemove);
43
42
  },
44
- children: /*#__PURE__*/ jsx(Icon, {
45
- type: "trash-alt"
46
- })
43
+ children: /*#__PURE__*/ jsx(FaTrashAlt, {})
47
44
  });
48
45
  }
49
46
  }),
@@ -51,9 +48,7 @@ function SmsTemplateCard(param) {
51
48
  type: "button",
52
49
  className: "snippet-template-card-button",
53
50
  onClick: onDuplicate,
54
- children: /*#__PURE__*/ jsx(Icon, {
55
- type: "copy"
56
- })
51
+ children: /*#__PURE__*/ jsx(FaCopy, {})
57
52
  })
58
53
  ]
59
54
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/card/ProductSetCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAOvF,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAc,EACd,aAAoB,EACpB,QAAY,GACb,EAAE,mBAAmB,2CAyGrB"}
1
+ {"version":3,"file":"ProductSetCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/card/ProductSetCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAMvF,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAc,EACd,aAAoB,EACpB,QAAY,GACb,EAAE,mBAAmB,2CAyGrB"}
@@ -6,10 +6,9 @@ import { useTranslation } from 'react-i18next';
6
6
  import clsx from 'clsx';
7
7
  import { useId } from '@react-aria/utils';
8
8
  import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
9
+ import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
9
10
  import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
10
- import '../../static/index.js';
11
11
  import { MenuButton } from '../../table/MenuButton.js';
12
- import Icon from '../../static/Icon.js';
13
12
 
14
13
  function _array_like_to_array(arr, len) {
15
14
  if (len == null || len > arr.length) len = arr.length;
@@ -100,10 +99,9 @@ function ProductSetCard(param) {
100
99
  children: [
101
100
  /*#__PURE__*/ jsx("div", {
102
101
  className: "product-set-card-menu-eye-container",
103
- children: /*#__PURE__*/ jsx(Icon, {
104
- type: "eye",
102
+ children: /*#__PURE__*/ jsx(FaEye, {
105
103
  color: "#0E8CE2",
106
- width: "20"
104
+ size: 20
107
105
  })
108
106
  }),
109
107
  /*#__PURE__*/ jsx(OverlayTrigger, {
@@ -147,7 +145,9 @@ function ProductSetCard(param) {
147
145
  confirm(onRemove);
148
146
  },
149
147
  name: t("remove"),
150
- icon: "trash-alt",
148
+ icon: /*#__PURE__*/ jsx(FaTrashAlt, {
149
+ size: 12
150
+ }),
151
151
  className: "product-set-card-menu-item-text d-flex w-100 align-items-center",
152
152
  rightIcon: true
153
153
  });
@@ -165,9 +165,7 @@ function ProductSetCard(param) {
165
165
  e.stopPropagation();
166
166
  setIsOverlayVisible(true);
167
167
  },
168
- children: /*#__PURE__*/ jsx(Icon, {
169
- type: "ellipsis-h"
170
- })
168
+ children: /*#__PURE__*/ jsx(FaEllipsisH, {})
171
169
  })
172
170
  })
173
171
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"DateAndRecurrenceInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateAndRecurrenceInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAqB7G,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAC;CACnD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IAClC,4BAA4B,EAAE,OAAO,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,sBAAsB,mFAKhC,2BAA2B,4CAgR7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAC"}
1
+ {"version":3,"file":"DateAndRecurrenceInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateAndRecurrenceInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAqB7G,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAC;CACnD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IAClC,4BAA4B,EAAE,OAAO,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,sBAAsB,mFAKhC,2BAA2B,4CA+Q7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAC"}
@@ -10,12 +10,11 @@ import { DndContext } from '@dnd-kit/core';
10
10
  import { TIME_FORMAT } from '@licklist/core/dist/Config/Date';
11
11
  import { SortableContext, verticalListSortingStrategy } from '@dnd-kit/sortable';
12
12
  import { restrictToVerticalAxis } from '@dnd-kit/modifiers';
13
+ import { FaPlusCircle } from 'react-icons/fa';
13
14
  import { CONFIRM_MODAL_ACTIONS } from '../../modals/confirmation/ConfirmModal.js';
14
- import '../../static/index.js';
15
15
  import { RecurringDatePickerInput } from '../../recurring-date-picker-input/RecurringDatePickerInput.js';
16
16
  import { ProductSetRecurrenceControl } from './ProductSetRecurrenceControl.js';
17
17
  import { AvailableTimesControl } from '../../zone/form/components/AvailableTimesControl.js';
18
- import Icon from '../../static/Icon.js';
19
18
 
20
19
  function _array_like_to_array(arr, len) {
21
20
  if (len == null || len > arr.length) len = arr.length;
@@ -441,9 +440,8 @@ var DateAndRecurrenceInput = function(param) {
441
440
  onClick: handleOnAdd,
442
441
  onKeyDown: handleOnAdd,
443
442
  children: [
444
- /*#__PURE__*/ jsx(Icon, {
445
- type: "plus-circle",
446
- height: "1rem",
443
+ /*#__PURE__*/ jsx(FaPlusCircle, {
444
+ size: 16,
447
445
  className: "product-set-recurrence-icon-add mr-2"
448
446
  }),
449
447
  t("addDates")
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAG7G,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAiBtF,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAC;CACnD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,4BAA4B,EAAE,OAAO,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,mFAKnB,2BAA2B,4CAsP7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAC"}
1
+ {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAG7G,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAiBtF,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAC;CACnD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,4BAA4B,EAAE,OAAO,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,mFAKnB,2BAA2B,4CAuP7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAC"}
@@ -8,14 +8,13 @@ import { useClickAway } from 'react-use';
8
8
  import { TIME_FORMAT, UTC_TIMEZONE } from '@licklist/core/dist/Config/Date';
9
9
  import { DateTime } from 'luxon';
10
10
  import RRule, { Frequency } from 'rrule';
11
+ import { FaPlusCircle } from 'react-icons/fa';
11
12
  import { DatePickerInput } from '../../recurring-date-picker-input/DatePickerInput.js';
12
13
  import { CONFIRM_MODAL_ACTIONS } from '../../modals/confirmation/ConfirmModal.js';
13
- import '../../static/index.js';
14
14
  import { AvailableTimesControl } from '../../zone/form/components/AvailableTimesControl.js';
15
15
  import { getDateTimeObject } from '../../recurring-date-picker-input/RecurringDatePickerInput.js';
16
16
  import { ProductSetRecurrenceOverridesControl } from './ProductSetRecurrenceOverridesControl.js';
17
17
  import { MAX_QUANTITY_RECURRENCE_DATE_IN_OVERRIDE } from '../product/constants.js';
18
- import Icon from '../../static/Icon.js';
19
18
 
20
19
  function _array_like_to_array(arr, len) {
21
20
  if (len == null || len > arr.length) len = arr.length;
@@ -401,13 +400,13 @@ var DateInput = function(param) {
401
400
  className: "product-set-recurrences",
402
401
  children: [
403
402
  fields.map(function(menuRecurrence, index) {
404
- var _errors_menuRecurrences__availableTimes, _errors_menuRecurrences_, _errors_menuRecurrences;
403
+ var _errors_menuRecurrences__availableTimes, _errors_menuRecurrences_, _errors_menuRecurrences, _errors_menuRecurrences_1, _errors_menuRecurrences1;
405
404
  return /*#__PURE__*/ jsx(ProductSetRecurrenceOverridesControl, {
406
405
  menuRecurrence: menuRecurrence,
407
406
  onEdit: function() {
408
407
  return handleOnEdit(menuRecurrence, index);
409
408
  },
410
- errorMessage: errors === null || errors === void 0 ? void 0 : (_errors_menuRecurrences = errors.menuRecurrences) === null || _errors_menuRecurrences === void 0 ? void 0 : (_errors_menuRecurrences_ = _errors_menuRecurrences["".concat(index)]) === null || _errors_menuRecurrences_ === void 0 ? void 0 : (_errors_menuRecurrences__availableTimes = _errors_menuRecurrences_.availableTimes) === null || _errors_menuRecurrences__availableTimes === void 0 ? void 0 : _errors_menuRecurrences__availableTimes.message
409
+ errorMessage: (errors === null || errors === void 0 ? void 0 : (_errors_menuRecurrences = errors.menuRecurrences) === null || _errors_menuRecurrences === void 0 ? void 0 : (_errors_menuRecurrences_ = _errors_menuRecurrences["".concat(index)]) === null || _errors_menuRecurrences_ === void 0 ? void 0 : (_errors_menuRecurrences__availableTimes = _errors_menuRecurrences_.availableTimes) === null || _errors_menuRecurrences__availableTimes === void 0 ? void 0 : _errors_menuRecurrences__availableTimes.message) || (errors === null || errors === void 0 ? void 0 : (_errors_menuRecurrences1 = errors.menuRecurrences) === null || _errors_menuRecurrences1 === void 0 ? void 0 : (_errors_menuRecurrences_1 = _errors_menuRecurrences1["".concat(index)]) === null || _errors_menuRecurrences_1 === void 0 ? void 0 : _errors_menuRecurrences_1.message)
411
410
  }, menuRecurrence._id);
412
411
  }),
413
412
  fields.length < MAX_QUANTITY_RECURRENCE_DATE_IN_OVERRIDE && /*#__PURE__*/ jsxs("div", {
@@ -417,9 +416,8 @@ var DateInput = function(param) {
417
416
  onClick: handleOnAdd,
418
417
  onKeyDown: handleOnAdd,
419
418
  children: [
420
- /*#__PURE__*/ jsx(Icon, {
421
- type: "plus-circle",
422
- height: "1rem",
419
+ /*#__PURE__*/ jsx(FaPlusCircle, {
420
+ size: 16,
423
421
  className: "product-set-recurrence-icon-add mr-2"
424
422
  }),
425
423
  t("addDates")
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetRecurrenceControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetRecurrenceControl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAM7G,MAAM,WAAW,gCAAgC;IAC/C,cAAc,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,2BAA2B,8CAIrC,gCAAgC,4CAyElC,CAAC"}
1
+ {"version":3,"file":"ProductSetRecurrenceControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetRecurrenceControl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAM7G,MAAM,WAAW,gCAAgC;IAC/C,cAAc,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,2BAA2B,8CAIrC,gCAAgC,4CAwElC,CAAC"}
@@ -4,8 +4,7 @@ import { useIntl } from 'react-intl';
4
4
  import RRule from 'rrule';
5
5
  import { useSortable } from '@dnd-kit/sortable';
6
6
  import { CSS } from '@dnd-kit/utilities';
7
- import '../../static/index.js';
8
- import Icon from '../../static/Icon.js';
7
+ import { FaCalendar, FaEllipsisH } from 'react-icons/fa';
9
8
 
10
9
  function _define_property(obj, key, value) {
11
10
  if (key in obj) {
@@ -87,9 +86,8 @@ var ProductSetRecurrenceControl = function(param) {
87
86
  /*#__PURE__*/ jsxs("span", {
88
87
  className: "d-flex flex-row align-items-center",
89
88
  children: [
90
- /*#__PURE__*/ jsx(Icon, {
91
- type: "calendar",
92
- height: "1rem",
89
+ /*#__PURE__*/ jsx(FaCalendar, {
90
+ size: 16,
93
91
  className: "product-set-recurrence-icon-calendar"
94
92
  }),
95
93
  /*#__PURE__*/ jsxs("span", {
@@ -121,9 +119,8 @@ var ProductSetRecurrenceControl = function(param) {
121
119
  onKeyDown: function() {
122
120
  return onEdit(menuRecurrence);
123
121
  },
124
- children: /*#__PURE__*/ jsx(Icon, {
125
- type: "ellipsis-h",
126
- height: "1rem",
122
+ children: /*#__PURE__*/ jsx(FaEllipsisH, {
123
+ size: 16,
127
124
  className: "product-set-recurrence-icon-more"
128
125
  })
129
126
  })
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetRecurrenceOverridesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetRecurrenceOverridesControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAI7G,MAAM,WAAW,gCAAgC;IAC/C,cAAc,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,oCAAoC,8CAI9C,gCAAgC,4CA8ClC,CAAC"}
1
+ {"version":3,"file":"ProductSetRecurrenceOverridesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetRecurrenceOverridesControl.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAC;AAG7G,MAAM,WAAW,gCAAgC;IAC/C,cAAc,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,oCAAoC,8CAI9C,gCAAgC,4CA4ClC,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useIntl } from 'react-intl';
3
- import '../../static/index.js';
4
- import Icon from '../../static/Icon.js';
3
+ import { FaCalendar, FaEllipsisH } from 'react-icons/fa';
5
4
 
6
5
  var ProductSetRecurrenceOverridesControl = function(param) {
7
6
  var menuRecurrence = param.menuRecurrence, onEdit = param.onEdit, errorMessage = param.errorMessage;
@@ -17,9 +16,8 @@ var ProductSetRecurrenceOverridesControl = function(param) {
17
16
  /*#__PURE__*/ jsxs("span", {
18
17
  className: "d-flex flex-row align-items-center",
19
18
  children: [
20
- /*#__PURE__*/ jsx(Icon, {
21
- type: "calendar",
22
- height: "1rem",
19
+ /*#__PURE__*/ jsx(FaCalendar, {
20
+ size: 16,
23
21
  className: "product-set-recurrence-icon-calendar"
24
22
  }),
25
23
  /*#__PURE__*/ jsxs("span", {
@@ -41,9 +39,8 @@ var ProductSetRecurrenceOverridesControl = function(param) {
41
39
  onKeyDown: function() {
42
40
  return onEdit(menuRecurrence);
43
41
  },
44
- children: /*#__PURE__*/ jsx(Icon, {
45
- type: "ellipsis-h",
46
- height: "1rem",
42
+ children: /*#__PURE__*/ jsx(FaEllipsisH, {
43
+ size: 16,
47
44
  className: "product-set-recurrence-icon-more"
48
45
  })
49
46
  })
@@ -1 +1 @@
1
- {"version":3,"file":"TutorialGifCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/TutorialGifCard.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,oBAAoB;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAGD,QAAA,MAAM,eAAe,oCAGlB,oBAAoB,4CAqDtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"TutorialGifCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/TutorialGifCard.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,oBAAoB;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAGD,QAAA,MAAM,eAAe,oCAGlB,oBAAoB,4CA8CtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -4,8 +4,8 @@ import Card from 'react-bootstrap/Card';
4
4
  import { useLocation } from 'react-router-dom';
5
5
  import { useTranslation } from 'react-i18next';
6
6
  import { Button } from 'react-bootstrap';
7
+ import { FaCheck, FaTimes } from 'react-icons/fa';
7
8
  import '../../static/index.js';
8
- import Icon from '../../static/Icon.js';
9
9
  import Image from '../../static/Image.js';
10
10
 
11
11
  /* eslint-disable @typescript-eslint/no-var-requires */ function _array_like_to_array(arr, len) {
@@ -72,12 +72,10 @@ var TutorialGifCard = function(param) {
72
72
  children: [
73
73
  /*#__PURE__*/ jsxs("div", {
74
74
  children: [
75
- /*#__PURE__*/ jsx(Icon, {
76
- type: "check",
75
+ /*#__PURE__*/ jsx(FaCheck, {
77
76
  color: "white",
78
- height: "0.9rem",
79
- width: "0.9rem",
80
- className: "rounded product-set-item-icon"
77
+ className: "rounded product-set-item-icon",
78
+ size: 14
81
79
  }),
82
80
  /*#__PURE__*/ jsx("span", {
83
81
  children: t("bookedTopTip")
@@ -94,10 +92,8 @@ var TutorialGifCard = function(param) {
94
92
  /*#__PURE__*/ jsx("span", {
95
93
  children: t("gotIt")
96
94
  }),
97
- /*#__PURE__*/ jsx(Icon, {
98
- type: "times",
99
- height: "1.125rem",
100
- width: "1.125rem",
95
+ /*#__PURE__*/ jsx(FaTimes, {
96
+ size: 18,
101
97
  className: "rounded tutorial-close-icon p-1"
102
98
  })
103
99
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteFieldButton.d.ts","sourceRoot":"","sources":["../../../src/product-set/elements/DeleteFieldButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEtD,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAarE"}
1
+ {"version":3,"file":"DeleteFieldButton.d.ts","sourceRoot":"","sources":["../../../src/product-set/elements/DeleteFieldButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEtD,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAarE"}
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { Button } from 'react-bootstrap';
3
3
  import { useTranslation } from 'react-i18next';
4
- import Icon from '../../static/Icon.js';
4
+ import { FaTrashAlt } from 'react-icons/fa';
5
5
 
6
6
  function DeleteFieldButton(param) {
7
7
  var onDelete = param.onDelete;
@@ -11,9 +11,8 @@ function DeleteFieldButton(param) {
11
11
  variant: "outline-danger",
12
12
  className: "d-flex align-items-center",
13
13
  children: [
14
- /*#__PURE__*/ jsx(Icon, {
15
- type: "trash",
16
- height: "1rem"
14
+ /*#__PURE__*/ jsx(FaTrashAlt, {
15
+ size: 16
17
16
  }),
18
17
  " ",
19
18
  /*#__PURE__*/ jsx("span", {
@@ -1 +1 @@
1
- {"version":3,"file":"MobileFooter.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/MobileFooter.tsx"],"names":[],"mappings":"AAKA,wBAAgB,YAAY,4CAyC3B"}
1
+ {"version":3,"file":"MobileFooter.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/MobileFooter.tsx"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,4CAa3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetForm.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductSetForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAC;AAI1F,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAK5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oFAAoF,CAAC;AACtI,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAEtF,OAAO,EAEL,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAG5D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,cAAc,EACd,uBAAuB;IACzB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,mBACf,SAAQ,aAAa,EACnB,uBAAuB;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,mBAAmB,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC5D,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC5D,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,4BAA4B,CAAC,EAAE,gCAAgC,CAAC,sBAAsB,CAAC,CAAC;IACxF,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,cAAsB,EACtB,YAAiB,EACjB,4BAA4B,EAC5B,KAAK,EACL,cAAc,EACd,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,GAAG,MAAM,EACV,EAAE,mBAAmB,2CAkJrB"}
1
+ {"version":3,"file":"ProductSetForm.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductSetForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAC;AAI1F,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAK5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oFAAoF,CAAC;AACtI,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAEtF,OAAO,EAEL,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAI5D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,cAAc,EACd,uBAAuB;IACzB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,mBACf,SAAQ,aAAa,EACnB,uBAAuB;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,mBAAmB,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC5D,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC5D,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,4BAA4B,CAAC,EAAE,gCAAgC,CAAC,sBAAsB,CAAC,CAAC;IACxF,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,cAAsB,EACtB,YAAiB,EACjB,4BAA4B,EAC5B,KAAK,EACL,cAAc,EACd,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,GAAG,MAAM,EACV,EAAE,mBAAmB,2CA4JrB"}