@licklist/design 0.66.8-dev.2 → 0.66.9-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 (212) hide show
  1. package/dist/affiliate/card/AffiliateCard.js +9 -7
  2. package/dist/auth/AccessDenied/AccessDenied.js +6 -3
  3. package/dist/auth/Social/SocialFormComponent.d.ts.map +1 -1
  4. package/dist/auth/Social/SocialFormComponent.js +1 -0
  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 +4 -8
  10. package/dist/custom-fields/field/FieldItem.d.ts +1 -2
  11. package/dist/custom-fields/field/FieldItem.d.ts.map +1 -1
  12. package/dist/custom-fields/field/FieldItem.js +6 -1
  13. package/dist/custom-fields/forms/DropdownForm.js +9 -5
  14. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -2
  15. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.js +4 -3
  16. package/dist/events/event-card/EventCard.d.ts.map +1 -1
  17. package/dist/events/event-card/EventCard.js +16 -6
  18. package/dist/events/event-statistic-modal/EventStatisticModal.js +5 -3
  19. package/dist/events/event-venue-map/components/ZoomButtons/ZoomButtons.js +6 -3
  20. package/dist/file-upload/FilePreview.js +11 -6
  21. package/dist/help/popover/HelpPopover.js +6 -3
  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 +9 -6
  24. package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.d.ts.map +1 -1
  25. package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.js +11 -7
  26. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +8 -9
  27. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +5 -2
  28. package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +5 -2
  29. package/dist/iframe/order-process/components/NavigationFooter/NavigationFooter.js +8 -3
  30. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.js +5 -2
  31. package/dist/iframe/order-process/components/Timer/Timer.js +5 -2
  32. package/dist/iframe/payment/order-items-table/OrderItemsTable.js +2 -1
  33. package/dist/iframe/payment/payment-form/PaymentForm.js +2 -1
  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 +4 -3
  39. package/dist/modals/fullscreen/FullscreenModal.js +4 -3
  40. package/dist/notification/email-template/card/EmailTemplateCard.js +8 -3
  41. package/dist/notification/sms-template/card/SmsTemplateCard.js +8 -3
  42. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  43. package/dist/product-set/card/ProductSetCard.js +9 -7
  44. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  45. package/dist/product-set/control/DateAndRecurrenceInput.js +5 -3
  46. package/dist/product-set/control/DateInput.js +5 -3
  47. package/dist/product-set/control/ProductSetRecurrenceControl.d.ts.map +1 -1
  48. package/dist/product-set/control/ProductSetRecurrenceControl.js +8 -5
  49. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +1 -1
  50. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.js +8 -5
  51. package/dist/product-set/control/TutorialGifCard.d.ts.map +1 -1
  52. package/dist/product-set/control/TutorialGifCard.js +10 -6
  53. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  54. package/dist/product-set/elements/DeleteFieldButton.js +4 -3
  55. package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
  56. package/dist/product-set/form/ProductsControl.js +2 -2
  57. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  58. package/dist/product-set/form/SelectCategoryModal.js +23 -30
  59. package/dist/product-set/form/SubProductsControl.js +1 -1
  60. package/dist/product-set/item/CreateProductSetItem.d.ts.map +1 -1
  61. package/dist/product-set/item/CreateProductSetItem.js +6 -3
  62. package/dist/product-set/popover/ProductSetPopover.js +5 -3
  63. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  64. package/dist/product-set/product/ProductControl.js +4 -3
  65. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +4 -3
  66. package/dist/product-set/product/deposit/ProductDepositControl.js +4 -3
  67. package/dist/product-set/product/price/ProductPriceControl.js +4 -3
  68. package/dist/report/card/ReportCard.d.ts +2 -1
  69. package/dist/report/card/ReportCard.d.ts.map +1 -1
  70. package/dist/report/card/ReportCard.js +16 -6
  71. package/dist/sales/booking/results/components/ResultCard.js +5 -4
  72. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  73. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +6 -3
  74. package/dist/sales/modals/payment-modal/PaymentModal.js +4 -3
  75. package/dist/sales/modals/refund-modal/RefundModal.js +4 -3
  76. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  77. package/dist/sales/notes/NotesTable.js +6 -4
  78. package/dist/sales/notes/NotesTableRow.js +9 -7
  79. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  80. package/dist/setting/admin/AdminSettingForm.js +6 -3
  81. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  82. package/dist/setting/admin/PaymentFeeForm.js +26 -11
  83. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  84. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  85. package/dist/setting/dashboard/ProviderSettingForm.js +6 -3
  86. package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.js +5 -2
  87. package/dist/setting/dashboard/snippets/card/SnippetCard.js +9 -7
  88. package/dist/sidebar/elements/ReturnBack.js +5 -2
  89. package/dist/slide-curtain/SlideCurtain.d.ts.map +1 -1
  90. package/dist/slide-curtain/SlideCurtain.js +4 -3
  91. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  92. package/dist/snippet/snippet-template/settings/SettingButton.js +6 -3
  93. package/dist/sortable-list/CreateSortableListItem.d.ts.map +1 -1
  94. package/dist/sortable-list/CreateSortableListItem.js +6 -3
  95. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  96. package/dist/sortable-tree/SortableTreeItem.js +10 -6
  97. package/dist/static/Icon.d.ts +13 -0
  98. package/dist/static/Icon.d.ts.map +1 -0
  99. package/dist/static/Icon.js +22 -0
  100. package/dist/static/RestrictedAccess.js +4 -3
  101. package/dist/static/SocialButton.d.ts +1 -0
  102. package/dist/static/SocialButton.d.ts.map +1 -1
  103. package/dist/static/SocialButton.js +10 -7
  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 +5 -3
  107. package/dist/static/index.d.ts +1 -0
  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 +7 -5
  111. package/dist/striped-static-table/StripedStaticTable.js +2 -1
  112. package/dist/table/MenuButton.d.ts +3 -3
  113. package/dist/table/MenuButton.d.ts.map +1 -1
  114. package/dist/table/MenuButton.js +8 -3
  115. package/dist/table/PaginationHelperComponent.d.ts.map +1 -1
  116. package/dist/table/PaginationHelperComponent.js +8 -5
  117. package/dist/tiptap-editor/TipTapMenu/TipTapMenu.d.ts.map +1 -1
  118. package/dist/tiptap-editor/TipTapMenu/TipTapMenu.js +16 -17
  119. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts +3 -3
  120. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts.map +1 -1
  121. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.js +8 -2
  122. package/dist/venue-map-sets/card/VenueMapSetCard.js +9 -7
  123. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  124. package/dist/venue-map-sets/form/components/VenueMapControl.js +8 -5
  125. package/dist/venue-map-sets/form/components/VenueMapModal.js +4 -3
  126. package/dist/zone/card/ZoneCard.js +9 -7
  127. package/dist/zone/form/components/ZoneRecurrenceControl.d.ts.map +1 -1
  128. package/dist/zone/form/components/ZoneRecurrenceControl.js +8 -5
  129. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  130. package/dist/zone/form/components/ZoneRecurrencesControl.js +5 -3
  131. package/package.json +5 -4
  132. package/src/affiliate/card/AffiliateCard.tsx +4 -4
  133. package/src/auth/AccessDenied/AccessDenied.tsx +2 -2
  134. package/src/auth/Social/SocialFormComponent.tsx +1 -0
  135. package/src/collapsible-input-group/CollapsibleInputGroup.tsx +4 -7
  136. package/src/custom-fields/{constants.tsx → constants.ts} +2 -3
  137. package/src/custom-fields/field/FieldItem.tsx +3 -4
  138. package/src/custom-fields/forms/DropdownForm.tsx +3 -3
  139. package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +2 -2
  140. package/src/events/event-card/EventCard.tsx +6 -13
  141. package/src/events/event-statistic-modal/EventStatisticModal.tsx +2 -2
  142. package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +2 -2
  143. package/src/file-upload/FilePreview.tsx +8 -4
  144. package/src/header/Header.stories.tsx +2 -1
  145. package/src/help/popover/HelpPopover.tsx +2 -2
  146. package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +9 -4
  147. package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +4 -5
  148. package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +15 -11
  149. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +2 -2
  150. package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +2 -2
  151. package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +3 -3
  152. package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +2 -2
  153. package/src/iframe/order-process/components/Timer/Timer.tsx +2 -2
  154. package/src/image-radio-input/ImageRadioInput.stories.tsx +3 -3
  155. package/src/modals/confirmation/ConfirmModal.tsx +2 -2
  156. package/src/modals/fullscreen/FullscreenModal.tsx +2 -2
  157. package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -3
  158. package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -3
  159. package/src/product-set/card/ProductSetCard.tsx +5 -4
  160. package/src/product-set/control/DateAndRecurrenceInput.tsx +4 -3
  161. package/src/product-set/control/DateInput.tsx +4 -4
  162. package/src/product-set/control/ProductSetRecurrenceControl.tsx +7 -6
  163. package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +8 -5
  164. package/src/product-set/control/TutorialGifCard.tsx +12 -5
  165. package/src/product-set/elements/DeleteFieldButton.tsx +2 -2
  166. package/src/product-set/form/MobileFooter.tsx +36 -6
  167. package/src/product-set/form/ProductSetForm.tsx +1 -1
  168. package/src/product-set/form/SelectCategoryModal.tsx +19 -24
  169. package/src/product-set/item/CreateProductSetItem.tsx +7 -2
  170. package/src/product-set/popover/ProductSetPopover.tsx +2 -2
  171. package/src/product-set/product/ProductControl.tsx +5 -2
  172. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -2
  173. package/src/product-set/product/deposit/ProductDepositControl.tsx +2 -2
  174. package/src/product-set/product/price/ProductPriceControl.tsx +2 -2
  175. package/src/report/card/ReportCard.tsx +10 -0
  176. package/src/sales/booking/results/components/ResultCard.tsx +2 -2
  177. package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +9 -3
  178. package/src/sales/modals/payment-modal/PaymentModal.tsx +2 -2
  179. package/src/sales/modals/refund-modal/RefundModal.tsx +2 -2
  180. package/src/sales/notes/NotesTable.tsx +2 -2
  181. package/src/sales/notes/NotesTableRow.tsx +4 -4
  182. package/src/setting/admin/AdminSettingForm.tsx +7 -2
  183. package/src/setting/admin/PaymentFeeForm.tsx +32 -7
  184. package/src/setting/dashboard/FinancialDataForm.tsx +19 -4
  185. package/src/setting/dashboard/ProviderSettingForm.tsx +7 -2
  186. package/src/setting/dashboard/components/IpInput.tsx +2 -2
  187. package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +2 -2
  188. package/src/setting/dashboard/snippets/card/SnippetCard.tsx +4 -4
  189. package/src/sidebar/elements/ReturnBack.tsx +2 -2
  190. package/src/slide-curtain/SlideCurtain.tsx +6 -2
  191. package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
  192. package/src/sortable-list/CreateSortableListItem.tsx +7 -2
  193. package/src/sortable-tree/SortableTreeItem.tsx +5 -4
  194. package/src/static/Icon.tsx +37 -0
  195. package/src/static/RestrictedAccess.tsx +2 -2
  196. package/src/static/SocialButton.tsx +5 -4
  197. package/src/static/Static.stories.tsx +2 -2
  198. package/src/static/UserBadge.tsx +6 -2
  199. package/src/static/date-range-input/DateRangeInput.tsx +6 -2
  200. package/src/static/index.ts +1 -0
  201. package/src/static/number-input/NumberInput.tsx +3 -3
  202. package/src/table/MenuButton.tsx +8 -4
  203. package/src/table/PaginationHelperComponent.tsx +4 -3
  204. package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +16 -24
  205. package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +7 -4
  206. package/src/venue-map-sets/card/VenueMapSetCard.tsx +4 -4
  207. package/src/venue-map-sets/form/components/VenueMapControl.tsx +8 -3
  208. package/src/venue-map-sets/form/components/VenueMapModal.tsx +2 -2
  209. package/src/zone/card/ZoneCard.tsx +4 -4
  210. package/src/zone/form/components/ZoneRecurrenceControl.tsx +11 -3
  211. package/src/zone/form/components/ZoneRecurrencesControl.tsx +6 -2
  212. package/yarn.lock +127 -114
@@ -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 { FaTimes } from 'react-icons/fa';
8
+ import Icon from '../../../../static/Icon.js';
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,7 +32,10 @@ var ErrorModal = function(param) {
32
32
  variant: "danger",
33
33
  className: "btn-sm rounded",
34
34
  onClick: handleClose,
35
- children: /*#__PURE__*/ jsx(FaTimes, {})
35
+ children: /*#__PURE__*/ jsx(Icon, {
36
+ type: "times",
37
+ height: "1rem"
38
+ })
36
39
  })
37
40
  ]
38
41
  }),
@@ -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 { FaArrowLeft, FaArrowRight } from 'react-icons/fa';
4
+ import Icon from '../../../../static/Icon.js';
5
5
 
6
6
  function _define_property(obj, key, value) {
7
7
  if (key in obj) {
@@ -74,7 +74,10 @@ 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(FaArrowLeft, {})
77
+ children: /*#__PURE__*/ jsx(Icon, {
78
+ type: "arrow-left",
79
+ width: "1rem"
80
+ })
78
81
  }),
79
82
  /*#__PURE__*/ jsxs(Button, _object_spread_props(_object_spread({
80
83
  className: "m-0",
@@ -82,7 +85,9 @@ var NavigationFooter = function(param) {
82
85
  }, buttonProps), {
83
86
  children: [
84
87
  nextButtonLabel !== null && nextButtonLabel !== void 0 ? nextButtonLabel : t("continue"),
85
- /*#__PURE__*/ jsx(FaArrowRight, {
88
+ /*#__PURE__*/ jsx(Icon, {
89
+ type: "arrow-right",
90
+ width: "1rem",
86
91
  className: "ml-2"
87
92
  })
88
93
  ]
@@ -2,7 +2,8 @@ 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 { FaCreditCard } from 'react-icons/fa';
5
+ import '../../../../static/index.js';
6
+ import Icon from '../../../../static/Icon.js';
6
7
 
7
8
  var PaymentCard = function(param) {
8
9
  var order = param.order, totalWithDiscount = param.totalWithDiscount, recalculatedFee = param.recalculatedFee, discountBlock = param.discountBlock, paymentDetail = param.paymentDetail, isFreePayment = param.isFreePayment;
@@ -41,7 +42,9 @@ var PaymentCard = function(param) {
41
42
  /*#__PURE__*/ jsxs("div", {
42
43
  className: "title",
43
44
  children: [
44
- /*#__PURE__*/ jsx(FaCreditCard, {}),
45
+ /*#__PURE__*/ jsx(Icon, {
46
+ type: "credit-card"
47
+ }),
45
48
  /*#__PURE__*/ jsx("p", {
46
49
  className: "m-0",
47
50
  children: t("Design:payment")
@@ -1,7 +1,8 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useTranslation } from 'react-i18next';
3
- import { FaStopwatch } from 'react-icons/fa';
4
3
  import { fancyTimeFormat } from './utils/index.js';
4
+ import '../../../../static/index.js';
5
+ import Icon from '../../../../static/Icon.js';
5
6
 
6
7
  var Timer = function(param) {
7
8
  var timer = param.timer;
@@ -16,7 +17,9 @@ var Timer = function(param) {
16
17
  children: [
17
18
  /*#__PURE__*/ jsx("div", {
18
19
  className: "d-flex align-items-center",
19
- children: /*#__PURE__*/ jsx(FaStopwatch, {})
20
+ children: /*#__PURE__*/ jsx(Icon, {
21
+ type: "stopwatch"
22
+ })
20
23
  }),
21
24
  /*#__PURE__*/ jsx("div", {
22
25
  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 'react-icons/fa';
8
+ import '../../../static/index.js';
9
9
  import '@licklist/plugins/dist/services/Table/TableService';
10
10
  import { StaticTable } from '../../../table/StaticTable.js';
11
11
  import 'react-router-dom';
@@ -14,6 +14,7 @@ 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';
17
18
  import '@tanstack/react-table';
18
19
  import { useTableData } from './hooks/useTableData.js';
19
20
 
@@ -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 'react-icons/fa';
9
+ import '../../../static/index.js';
10
10
  import '@licklist/plugins/dist/services/Table/TableService';
11
11
  import { StaticTable } from '../../../table/StaticTable.js';
12
12
  import 'react-router-dom';
@@ -15,6 +15,7 @@ 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';
18
19
  import '@tanstack/react-table';
19
20
 
20
21
  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';
17
16
  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 'react-icons/fa';
12
+ import '../../../static/Icon.js';
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';
14
13
  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
- import 'react-icons/fa';
49
+ export { default as Icon } from './static/Icon.js';
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 { FaTimes } from 'react-icons/fa';
10
+ import Icon from '../../static/Icon.js';
11
11
 
12
12
  function _array_like_to_array(arr, len) {
13
13
  if (len == null || len > arr.length) len = arr.length;
@@ -115,8 +115,9 @@ 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(FaTimes, {
119
- size: 16
118
+ children: /*#__PURE__*/ jsx(Icon, {
119
+ type: "times",
120
+ height: "1rem"
120
121
  })
121
122
  })
122
123
  ]
@@ -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 { FaTimes } from 'react-icons/fa';
10
+ import Icon from '../../static/Icon.js';
11
11
 
12
12
  function _array_like_to_array(arr, len) {
13
13
  if (len == null || len > arr.length) len = arr.length;
@@ -93,8 +93,9 @@ var FullscreenModal = function(param) {
93
93
  variant: "danger",
94
94
  className: "btn-sm rounded",
95
95
  onClick: handleClose,
96
- children: /*#__PURE__*/ jsx(FaTimes, {
97
- size: 16
96
+ children: /*#__PURE__*/ jsx(Icon, {
97
+ type: "times",
98
+ height: "1rem"
98
99
  })
99
100
  })
100
101
  ]
@@ -1,11 +1,12 @@
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';
5
4
  import { ConfirmModal, ConfirmModalType } from '../../../modals/confirmation/ConfirmModal.js';
6
5
  import 'react-bootstrap';
7
6
  import 'react';
7
+ import '../../../static/index.js';
8
8
  import { useTranslatedParameters } from '../../hooks/useTranslatedParameters.js';
9
+ import Icon from '../../../static/Icon.js';
9
10
 
10
11
  function EmailTemplateCard(param) {
11
12
  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;
@@ -40,7 +41,9 @@ function EmailTemplateCard(param) {
40
41
  e.stopPropagation();
41
42
  confirm(onRemove);
42
43
  },
43
- children: /*#__PURE__*/ jsx(FaTrashAlt, {})
44
+ children: /*#__PURE__*/ jsx(Icon, {
45
+ type: "trash-alt"
46
+ })
44
47
  });
45
48
  }
46
49
  }),
@@ -48,7 +51,9 @@ function EmailTemplateCard(param) {
48
51
  type: "button",
49
52
  className: "snippet-template-card-button",
50
53
  onClick: onDuplicate,
51
- children: /*#__PURE__*/ jsx(FaCopy, {})
54
+ children: /*#__PURE__*/ jsx(Icon, {
55
+ type: "copy"
56
+ })
52
57
  })
53
58
  ]
54
59
  }),
@@ -1,11 +1,12 @@
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';
5
4
  import { ConfirmModal, ConfirmModalType } from '../../../modals/confirmation/ConfirmModal.js';
6
5
  import 'react-bootstrap';
7
6
  import 'react';
7
+ import '../../../static/index.js';
8
8
  import { useTranslatedParameters } from '../../hooks/useTranslatedParameters.js';
9
+ import Icon from '../../../static/Icon.js';
9
10
 
10
11
  function SmsTemplateCard(param) {
11
12
  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;
@@ -40,7 +41,9 @@ function SmsTemplateCard(param) {
40
41
  e.stopPropagation();
41
42
  confirm(onRemove);
42
43
  },
43
- children: /*#__PURE__*/ jsx(FaTrashAlt, {})
44
+ children: /*#__PURE__*/ jsx(Icon, {
45
+ type: "trash-alt"
46
+ })
44
47
  });
45
48
  }
46
49
  }),
@@ -48,7 +51,9 @@ function SmsTemplateCard(param) {
48
51
  type: "button",
49
52
  className: "snippet-template-card-button",
50
53
  onClick: onDuplicate,
51
- children: /*#__PURE__*/ jsx(FaCopy, {})
54
+ children: /*#__PURE__*/ jsx(Icon, {
55
+ type: "copy"
56
+ })
52
57
  })
53
58
  ]
54
59
  }),
@@ -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;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"}
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"}
@@ -6,9 +6,10 @@ 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';
10
9
  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';
12
13
 
13
14
  function _array_like_to_array(arr, len) {
14
15
  if (len == null || len > arr.length) len = arr.length;
@@ -99,9 +100,10 @@ function ProductSetCard(param) {
99
100
  children: [
100
101
  /*#__PURE__*/ jsx("div", {
101
102
  className: "product-set-card-menu-eye-container",
102
- children: /*#__PURE__*/ jsx(FaEye, {
103
+ children: /*#__PURE__*/ jsx(Icon, {
104
+ type: "eye",
103
105
  color: "#0E8CE2",
104
- size: 20
106
+ width: "20"
105
107
  })
106
108
  }),
107
109
  /*#__PURE__*/ jsx(OverlayTrigger, {
@@ -145,9 +147,7 @@ function ProductSetCard(param) {
145
147
  confirm(onRemove);
146
148
  },
147
149
  name: t("remove"),
148
- icon: /*#__PURE__*/ jsx(FaTrashAlt, {
149
- size: 12
150
- }),
150
+ icon: "trash-alt",
151
151
  className: "product-set-card-menu-item-text d-flex w-100 align-items-center",
152
152
  rightIcon: true
153
153
  });
@@ -165,7 +165,9 @@ function ProductSetCard(param) {
165
165
  e.stopPropagation();
166
166
  setIsOverlayVisible(true);
167
167
  },
168
- children: /*#__PURE__*/ jsx(FaEllipsisH, {})
168
+ children: /*#__PURE__*/ jsx(Icon, {
169
+ type: "ellipsis-h"
170
+ })
169
171
  })
170
172
  })
171
173
  ]
@@ -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,4CA+Q7B,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,4CAgR7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAC"}
@@ -10,11 +10,12 @@ 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';
14
13
  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';
18
19
 
19
20
  function _array_like_to_array(arr, len) {
20
21
  if (len == null || len > arr.length) len = arr.length;
@@ -440,8 +441,9 @@ var DateAndRecurrenceInput = function(param) {
440
441
  onClick: handleOnAdd,
441
442
  onKeyDown: handleOnAdd,
442
443
  children: [
443
- /*#__PURE__*/ jsx(FaPlusCircle, {
444
- size: 16,
444
+ /*#__PURE__*/ jsx(Icon, {
445
+ type: "plus-circle",
446
+ height: "1rem",
445
447
  className: "product-set-recurrence-icon-add mr-2"
446
448
  }),
447
449
  t("addDates")
@@ -8,13 +8,14 @@ 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';
12
11
  import { DatePickerInput } from '../../recurring-date-picker-input/DatePickerInput.js';
13
12
  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';
18
19
 
19
20
  function _array_like_to_array(arr, len) {
20
21
  if (len == null || len > arr.length) len = arr.length;
@@ -416,8 +417,9 @@ var DateInput = function(param) {
416
417
  onClick: handleOnAdd,
417
418
  onKeyDown: handleOnAdd,
418
419
  children: [
419
- /*#__PURE__*/ jsx(FaPlusCircle, {
420
- size: 16,
420
+ /*#__PURE__*/ jsx(Icon, {
421
+ type: "plus-circle",
422
+ height: "1rem",
421
423
  className: "product-set-recurrence-icon-add mr-2"
422
424
  }),
423
425
  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,4CAwElC,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,4CAyElC,CAAC"}
@@ -4,7 +4,8 @@ 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 { FaCalendar, FaEllipsisH } from 'react-icons/fa';
7
+ import '../../static/index.js';
8
+ import Icon from '../../static/Icon.js';
8
9
 
9
10
  function _define_property(obj, key, value) {
10
11
  if (key in obj) {
@@ -86,8 +87,9 @@ var ProductSetRecurrenceControl = function(param) {
86
87
  /*#__PURE__*/ jsxs("span", {
87
88
  className: "d-flex flex-row align-items-center",
88
89
  children: [
89
- /*#__PURE__*/ jsx(FaCalendar, {
90
- size: 16,
90
+ /*#__PURE__*/ jsx(Icon, {
91
+ type: "calendar",
92
+ height: "1rem",
91
93
  className: "product-set-recurrence-icon-calendar"
92
94
  }),
93
95
  /*#__PURE__*/ jsxs("span", {
@@ -119,8 +121,9 @@ var ProductSetRecurrenceControl = function(param) {
119
121
  onKeyDown: function() {
120
122
  return onEdit(menuRecurrence);
121
123
  },
122
- children: /*#__PURE__*/ jsx(FaEllipsisH, {
123
- size: 16,
124
+ children: /*#__PURE__*/ jsx(Icon, {
125
+ type: "ellipsis-h",
126
+ height: "1rem",
124
127
  className: "product-set-recurrence-icon-more"
125
128
  })
126
129
  })
@@ -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;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
+ {"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,6 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useIntl } from 'react-intl';
3
- import { FaCalendar, FaEllipsisH } from 'react-icons/fa';
3
+ import '../../static/index.js';
4
+ import Icon from '../../static/Icon.js';
4
5
 
5
6
  var ProductSetRecurrenceOverridesControl = function(param) {
6
7
  var menuRecurrence = param.menuRecurrence, onEdit = param.onEdit, errorMessage = param.errorMessage;
@@ -16,8 +17,9 @@ var ProductSetRecurrenceOverridesControl = function(param) {
16
17
  /*#__PURE__*/ jsxs("span", {
17
18
  className: "d-flex flex-row align-items-center",
18
19
  children: [
19
- /*#__PURE__*/ jsx(FaCalendar, {
20
- size: 16,
20
+ /*#__PURE__*/ jsx(Icon, {
21
+ type: "calendar",
22
+ height: "1rem",
21
23
  className: "product-set-recurrence-icon-calendar"
22
24
  }),
23
25
  /*#__PURE__*/ jsxs("span", {
@@ -39,8 +41,9 @@ var ProductSetRecurrenceOverridesControl = function(param) {
39
41
  onKeyDown: function() {
40
42
  return onEdit(menuRecurrence);
41
43
  },
42
- children: /*#__PURE__*/ jsx(FaEllipsisH, {
43
- size: 16,
44
+ children: /*#__PURE__*/ jsx(Icon, {
45
+ type: "ellipsis-h",
46
+ height: "1rem",
44
47
  className: "product-set-recurrence-icon-more"
45
48
  })
46
49
  })
@@ -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,4CA8CtB,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,4CAqDtB,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';
8
7
  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,10 +72,12 @@ var TutorialGifCard = function(param) {
72
72
  children: [
73
73
  /*#__PURE__*/ jsxs("div", {
74
74
  children: [
75
- /*#__PURE__*/ jsx(FaCheck, {
75
+ /*#__PURE__*/ jsx(Icon, {
76
+ type: "check",
76
77
  color: "white",
77
- className: "rounded product-set-item-icon",
78
- size: 14
78
+ height: "0.9rem",
79
+ width: "0.9rem",
80
+ className: "rounded product-set-item-icon"
79
81
  }),
80
82
  /*#__PURE__*/ jsx("span", {
81
83
  children: t("bookedTopTip")
@@ -92,8 +94,10 @@ var TutorialGifCard = function(param) {
92
94
  /*#__PURE__*/ jsx("span", {
93
95
  children: t("gotIt")
94
96
  }),
95
- /*#__PURE__*/ jsx(FaTimes, {
96
- size: 18,
97
+ /*#__PURE__*/ jsx(Icon, {
98
+ type: "times",
99
+ height: "1.125rem",
100
+ width: "1.125rem",
97
101
  className: "rounded tutorial-close-icon p-1"
98
102
  })
99
103
  ]
@@ -1 +1 @@
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
+ {"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,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 { FaTrashAlt } from 'react-icons/fa';
4
+ import Icon from '../../static/Icon.js';
5
5
 
6
6
  function DeleteFieldButton(param) {
7
7
  var onDelete = param.onDelete;
@@ -11,8 +11,9 @@ function DeleteFieldButton(param) {
11
11
  variant: "outline-danger",
12
12
  className: "d-flex align-items-center",
13
13
  children: [
14
- /*#__PURE__*/ jsx(FaTrashAlt, {
15
- size: 16
14
+ /*#__PURE__*/ jsx(Icon, {
15
+ type: "trash",
16
+ height: "1rem"
16
17
  }),
17
18
  " ",
18
19
  /*#__PURE__*/ jsx("span", {
@@ -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":"AAKA,wBAAgB,YAAY,4CAyC3B"}
@@ -12,12 +12,13 @@ import 'rrule';
12
12
  import 'clsx';
13
13
  import '@react-aria/utils';
14
14
  import '@licklist/plugins/dist/services/Route/RouteService';
15
- import 'react-icons/fa';
16
15
  import 'react-bootstrap/ModalHeader';
17
16
  import 'react-bootstrap/ModalTitle';
18
17
  import 'react-bootstrap/ModalBody';
19
18
  import 'react-bootstrap/ModalFooter';
20
19
  import 'react-bootstrap/Modal';
20
+ import '../../static/Icon.js';
21
+ import '../../static/index.js';
21
22
  import '../control/ProductSetControl.js';
22
23
  import 'react-bootstrap/Col';
23
24
  import 'react-bootstrap/InputGroup';
@@ -28,7 +29,6 @@ import 'react-bootstrap/OverlayTrigger';
28
29
  import 'react-bootstrap/Popover';
29
30
  import { ProductControl } from '../product/ProductControl.js';
30
31
  import '@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper';
31
- import '../../static/index.js';
32
32
  import 'framer-motion';
33
33
  import '../tabs/ProductSetTabs.js';
34
34
  import { SortableTree } from '../../sortable-tree/SortableTree.js';
@@ -1 +1 @@
1
- {"version":3,"file":"SelectCategoryModal.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SelectCategoryModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAML,YAAY,EACb,MAAM,kEAAkE,CAAC;AAoD1E,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;CACpD;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,gBAAgB,GACjB,EAAE,wBAAwB,2CAyH1B"}
1
+ {"version":3,"file":"SelectCategoryModal.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SelectCategoryModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAML,YAAY,EACb,MAAM,kEAAkE,CAAC;AA4C1E,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;CACpD;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,gBAAgB,GACjB,EAAE,wBAAwB,2CA4H1B"}