@licklist/design 0.66.9-dev.1 → 0.66.10-dev.0

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 (223) 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/calendar/components/CalendarButtons/CalendarButtons.js +31 -39
  6. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
  7. package/dist/collapsible-input-group/CollapsibleInputGroup.js +5 -5
  8. package/dist/custom-fields/constants.d.ts +2 -2
  9. package/dist/custom-fields/constants.d.ts.map +1 -1
  10. package/dist/custom-fields/constants.js +8 -4
  11. package/dist/custom-fields/field/FieldItem.d.ts +2 -1
  12. package/dist/custom-fields/field/FieldItem.d.ts.map +1 -1
  13. package/dist/custom-fields/field/FieldItem.js +1 -6
  14. package/dist/custom-fields/forms/DropdownForm.js +5 -9
  15. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -2
  16. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.js +3 -4
  17. package/dist/events/event-card/EventCard.d.ts.map +1 -1
  18. package/dist/events/event-card/EventCard.js +6 -16
  19. package/dist/events/event-statistic-modal/EventStatisticModal.js +3 -5
  20. package/dist/events/event-venue-map/components/ZoomButtons/ZoomButtons.js +3 -6
  21. package/dist/file-upload/FilePreview.js +6 -11
  22. package/dist/help/popover/HelpPopover.js +3 -6
  23. package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts.map +1 -1
  24. package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.js +6 -9
  25. package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.d.ts.map +1 -1
  26. package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.js +7 -11
  27. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +9 -8
  28. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +2 -5
  29. package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +2 -5
  30. package/dist/iframe/order-process/components/NavigationFooter/NavigationFooter.js +3 -8
  31. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.js +2 -5
  32. package/dist/iframe/order-process/components/Timer/Timer.js +2 -5
  33. package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -2
  34. package/dist/iframe/payment/payment-form/PaymentForm.js +1 -2
  35. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  36. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  37. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  38. package/dist/index.js +1 -1
  39. package/dist/layout/DropDown.d.ts.map +1 -1
  40. package/dist/layout/DropDown.js +1 -0
  41. package/dist/layout/DropDownToggle.d.ts.map +1 -1
  42. package/dist/layout/DropDownToggle.js +1 -0
  43. package/dist/modals/confirmation/ConfirmModal.js +3 -4
  44. package/dist/modals/fullscreen/FullscreenModal.js +3 -4
  45. package/dist/notification/email-template/card/EmailTemplateCard.js +3 -8
  46. package/dist/notification/sms-template/card/SmsTemplateCard.js +3 -8
  47. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  48. package/dist/product-set/card/ProductSetCard.js +7 -9
  49. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  50. package/dist/product-set/control/DateAndRecurrenceInput.js +3 -5
  51. package/dist/product-set/control/DateInput.js +3 -5
  52. package/dist/product-set/control/ProductSetRecurrenceControl.d.ts.map +1 -1
  53. package/dist/product-set/control/ProductSetRecurrenceControl.js +5 -8
  54. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +1 -1
  55. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.js +5 -8
  56. package/dist/product-set/control/TutorialGifCard.d.ts.map +1 -1
  57. package/dist/product-set/control/TutorialGifCard.js +6 -10
  58. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  59. package/dist/product-set/elements/DeleteFieldButton.js +3 -4
  60. package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
  61. package/dist/product-set/form/ProductsControl.js +2 -2
  62. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  63. package/dist/product-set/form/SelectCategoryModal.js +30 -23
  64. package/dist/product-set/form/SubProductsControl.js +1 -1
  65. package/dist/product-set/item/CreateProductSetItem.d.ts.map +1 -1
  66. package/dist/product-set/item/CreateProductSetItem.js +3 -6
  67. package/dist/product-set/popover/ProductSetPopover.js +3 -5
  68. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  69. package/dist/product-set/product/ProductControl.js +3 -4
  70. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +3 -4
  71. package/dist/product-set/product/deposit/ProductDepositControl.js +3 -4
  72. package/dist/product-set/product/price/ProductPriceControl.js +3 -4
  73. package/dist/report/card/ReportCard.d.ts +1 -2
  74. package/dist/report/card/ReportCard.d.ts.map +1 -1
  75. package/dist/report/card/ReportCard.js +6 -16
  76. package/dist/sales/booking/results/components/ResultCard.js +4 -5
  77. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  78. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +3 -6
  79. package/dist/sales/modals/payment-modal/PaymentModal.js +3 -4
  80. package/dist/sales/modals/refund-modal/RefundModal.js +3 -4
  81. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  82. package/dist/sales/notes/NotesTable.js +4 -6
  83. package/dist/sales/notes/NotesTableRow.js +7 -9
  84. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  85. package/dist/setting/admin/AdminSettingForm.js +3 -6
  86. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  87. package/dist/setting/admin/PaymentFeeForm.js +11 -26
  88. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  89. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  90. package/dist/setting/dashboard/ProviderSettingForm.js +3 -6
  91. package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.js +2 -5
  92. package/dist/setting/dashboard/snippets/card/SnippetCard.js +7 -9
  93. package/dist/sidebar/elements/ReturnBack.js +2 -5
  94. package/dist/slide-curtain/SlideCurtain.d.ts.map +1 -1
  95. package/dist/slide-curtain/SlideCurtain.js +3 -4
  96. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  97. package/dist/snippet/snippet-template/settings/SettingButton.js +3 -6
  98. package/dist/sortable-list/CreateSortableListItem.d.ts.map +1 -1
  99. package/dist/sortable-list/CreateSortableListItem.js +3 -6
  100. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  101. package/dist/sortable-tree/SortableTreeItem.js +6 -10
  102. package/dist/static/RestrictedAccess.js +3 -4
  103. package/dist/static/SocialButton.d.ts +0 -1
  104. package/dist/static/SocialButton.d.ts.map +1 -1
  105. package/dist/static/SocialButton.js +7 -10
  106. package/dist/static/UserBadge.d.ts.map +1 -1
  107. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  108. package/dist/static/date-range-input/DateRangeInput.js +3 -5
  109. package/dist/static/index.d.ts +0 -1
  110. package/dist/static/index.d.ts.map +1 -1
  111. package/dist/static/index.js +1 -1
  112. package/dist/static/number-input/NumberInput.js +5 -7
  113. package/dist/striped-static-table/StripedStaticTable.js +1 -2
  114. package/dist/styles/iframe-page/PageBody.scss +1 -0
  115. package/dist/table/MenuButton.d.ts +3 -3
  116. package/dist/table/MenuButton.d.ts.map +1 -1
  117. package/dist/table/MenuButton.js +3 -8
  118. package/dist/table/PaginationHelperComponent.d.ts.map +1 -1
  119. package/dist/table/PaginationHelperComponent.js +5 -8
  120. package/dist/tiptap-editor/TipTapMenu/TipTapMenu.d.ts.map +1 -1
  121. package/dist/tiptap-editor/TipTapMenu/TipTapMenu.js +17 -16
  122. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts +3 -3
  123. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts.map +1 -1
  124. package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.js +2 -8
  125. package/dist/venue-map-sets/card/VenueMapSetCard.js +7 -9
  126. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  127. package/dist/venue-map-sets/form/components/VenueMapControl.js +5 -8
  128. package/dist/venue-map-sets/form/components/VenueMapModal.js +3 -4
  129. package/dist/zone/card/ZoneCard.js +7 -9
  130. package/dist/zone/form/components/ZoneRecurrenceControl.d.ts.map +1 -1
  131. package/dist/zone/form/components/ZoneRecurrenceControl.js +5 -8
  132. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  133. package/dist/zone/form/components/ZoneRecurrencesControl.js +3 -5
  134. package/package.json +4 -5
  135. package/src/affiliate/card/AffiliateCard.tsx +4 -4
  136. package/src/auth/AccessDenied/AccessDenied.tsx +2 -2
  137. package/src/auth/Social/SocialFormComponent.tsx +0 -1
  138. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +28 -28
  139. package/src/collapsible-input-group/CollapsibleInputGroup.tsx +7 -4
  140. package/src/custom-fields/{constants.ts → constants.tsx} +3 -2
  141. package/src/custom-fields/field/FieldItem.tsx +4 -3
  142. package/src/custom-fields/forms/DropdownForm.tsx +3 -3
  143. package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +2 -2
  144. package/src/events/event-card/EventCard.tsx +13 -6
  145. package/src/events/event-statistic-modal/EventStatisticModal.tsx +2 -2
  146. package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +2 -2
  147. package/src/file-upload/FilePreview.tsx +4 -8
  148. package/src/header/Header.stories.tsx +1 -2
  149. package/src/help/popover/HelpPopover.tsx +2 -2
  150. package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +4 -9
  151. package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +5 -4
  152. package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +11 -15
  153. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +2 -2
  154. package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +2 -2
  155. package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +3 -3
  156. package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +2 -2
  157. package/src/iframe/order-process/components/Timer/Timer.tsx +2 -2
  158. package/src/image-radio-input/ImageRadioInput.stories.tsx +3 -3
  159. package/src/layout/DropDown.tsx +2 -0
  160. package/src/layout/DropDownToggle.tsx +2 -0
  161. package/src/modals/confirmation/ConfirmModal.tsx +2 -2
  162. package/src/modals/fullscreen/FullscreenModal.tsx +2 -2
  163. package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -3
  164. package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -3
  165. package/src/product-set/card/ProductSetCard.tsx +4 -5
  166. package/src/product-set/control/DateAndRecurrenceInput.tsx +3 -4
  167. package/src/product-set/control/DateInput.tsx +4 -4
  168. package/src/product-set/control/ProductSetRecurrenceControl.tsx +6 -7
  169. package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +5 -8
  170. package/src/product-set/control/TutorialGifCard.tsx +5 -12
  171. package/src/product-set/elements/DeleteFieldButton.tsx +2 -2
  172. package/src/product-set/form/MobileFooter.tsx +6 -36
  173. package/src/product-set/form/ProductSetForm.tsx +1 -1
  174. package/src/product-set/form/SelectCategoryModal.tsx +24 -19
  175. package/src/product-set/item/CreateProductSetItem.tsx +2 -7
  176. package/src/product-set/popover/ProductSetPopover.tsx +2 -2
  177. package/src/product-set/product/ProductControl.tsx +2 -5
  178. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -2
  179. package/src/product-set/product/deposit/ProductDepositControl.tsx +2 -2
  180. package/src/product-set/product/price/ProductPriceControl.tsx +2 -2
  181. package/src/report/card/ReportCard.tsx +0 -10
  182. package/src/sales/booking/results/components/ResultCard.tsx +2 -2
  183. package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -9
  184. package/src/sales/modals/payment-modal/PaymentModal.tsx +2 -2
  185. package/src/sales/modals/refund-modal/RefundModal.tsx +2 -2
  186. package/src/sales/notes/NotesTable.tsx +2 -2
  187. package/src/sales/notes/NotesTableRow.tsx +4 -4
  188. package/src/setting/admin/AdminSettingForm.tsx +2 -7
  189. package/src/setting/admin/PaymentFeeForm.tsx +7 -32
  190. package/src/setting/dashboard/FinancialDataForm.tsx +4 -19
  191. package/src/setting/dashboard/ProviderSettingForm.tsx +2 -7
  192. package/src/setting/dashboard/components/IpInput.tsx +2 -2
  193. package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +2 -2
  194. package/src/setting/dashboard/snippets/card/SnippetCard.tsx +4 -4
  195. package/src/sidebar/elements/ReturnBack.tsx +2 -2
  196. package/src/slide-curtain/SlideCurtain.tsx +2 -6
  197. package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
  198. package/src/sortable-list/CreateSortableListItem.tsx +2 -7
  199. package/src/sortable-tree/SortableTreeItem.tsx +4 -5
  200. package/src/static/RestrictedAccess.tsx +2 -2
  201. package/src/static/SocialButton.tsx +4 -5
  202. package/src/static/Static.stories.tsx +2 -2
  203. package/src/static/UserBadge.tsx +2 -6
  204. package/src/static/date-range-input/DateRangeInput.tsx +2 -6
  205. package/src/static/index.ts +0 -1
  206. package/src/static/number-input/NumberInput.tsx +3 -3
  207. package/src/styles/iframe-page/PageBody.scss +1 -0
  208. package/src/table/MenuButton.tsx +4 -8
  209. package/src/table/PaginationHelperComponent.tsx +3 -4
  210. package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +24 -16
  211. package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +4 -7
  212. package/src/venue-map-sets/card/VenueMapSetCard.tsx +4 -4
  213. package/src/venue-map-sets/form/components/VenueMapControl.tsx +3 -8
  214. package/src/venue-map-sets/form/components/VenueMapModal.tsx +2 -2
  215. package/src/zone/card/ZoneCard.tsx +4 -4
  216. package/src/zone/form/components/ZoneRecurrenceControl.tsx +3 -11
  217. package/src/zone/form/components/ZoneRecurrencesControl.tsx +2 -6
  218. package/yarn.lock +152 -165
  219. package/dist/assets/iframe/selectArrow.svg.js +0 -17
  220. package/dist/static/Icon.d.ts +0 -13
  221. package/dist/static/Icon.d.ts.map +0 -1
  222. package/dist/static/Icon.js +0 -22
  223. package/src/static/Icon.tsx +0 -37
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import Button from 'react-bootstrap/Button';
4
4
  import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
5
- import Icon from '../../../static/Icon.js';
5
+ import { FaArrowLeft, FaArrowRight } from 'react-icons/fa';
6
6
 
7
7
  function _define_property(obj, key, value) {
8
8
  if (key in obj) {
@@ -82,9 +82,8 @@ function EventNavigationFooter(param) {
82
82
  /*#__PURE__*/ jsx(Button, {
83
83
  className: "event-fixed-footer__prev-btn m-0",
84
84
  onClick: onPrevButtonClick,
85
- children: /*#__PURE__*/ jsx(Icon, {
86
- type: "arrow-left",
87
- width: "1rem"
85
+ children: /*#__PURE__*/ jsx(FaArrowLeft, {
86
+ size: 16
88
87
  })
89
88
  }),
90
89
  amount > 1 && /*#__PURE__*/ jsx(PaginationDots, {
@@ -97,9 +96,8 @@ function EventNavigationFooter(param) {
97
96
  }, submitButtonProps), {
98
97
  children: [
99
98
  t("continue"),
100
- /*#__PURE__*/ jsx(Icon, {
101
- type: "arrow-right",
102
- width: "1rem",
99
+ /*#__PURE__*/ jsx(FaArrowRight, {
100
+ size: 16,
103
101
  className: "ml-2"
104
102
  })
105
103
  ]
@@ -108,10 +106,8 @@ function EventNavigationFooter(param) {
108
106
  onClick: onNextClick,
109
107
  children: [
110
108
  t("next"),
111
- " ",
112
- /*#__PURE__*/ jsx(Icon, {
113
- type: "arrow-right",
114
- width: "1rem",
109
+ /*#__PURE__*/ jsx(FaArrowRight, {
110
+ size: 16,
115
111
  className: "ml-2"
116
112
  })
117
113
  ]
@@ -4,9 +4,8 @@ import { useTranslation } from 'react-i18next';
4
4
  import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
5
5
  import AccordionContext from 'react-bootstrap/AccordionContext';
6
6
  import clsx from 'clsx';
7
- import '../../../../../../static/index.js';
7
+ import { FaChevronUp, FaChevronDown } from 'react-icons/fa';
8
8
  import { ACCORDION_KEY } from '../../types/index.js';
9
- import Icon from '../../../../../../static/Icon.js';
10
9
 
11
10
  var ToggleHeader = function(param) {
12
11
  var showExpandButton = param.showExpandButton, isExpanded = param.isExpanded, title = param.title, hideComponent = param.hideComponent, isPaymentPage = param.isPaymentPage, headerComponent = param.headerComponent;
@@ -72,9 +71,10 @@ var HeaderContent = function(param) {
72
71
  }),
73
72
  showExpandButton && /*#__PURE__*/ jsx("div", {
74
73
  className: "expand-button",
75
- children: /*#__PURE__*/ jsx(Icon, {
76
- type: currentEventKey === ACCORDION_KEY ? "chevron-up" : "chevron-down",
77
- width: "0.5rem"
74
+ children: currentEventKey === ACCORDION_KEY ? /*#__PURE__*/ jsx(FaChevronUp, {
75
+ size: 8
76
+ }) : /*#__PURE__*/ jsx(FaChevronDown, {
77
+ size: 8
78
78
  })
79
79
  })
80
80
  ]
@@ -94,9 +94,10 @@ var HeaderContent = function(param) {
94
94
  }),
95
95
  showExpandButton && /*#__PURE__*/ jsx("div", {
96
96
  className: "expand-button",
97
- children: /*#__PURE__*/ jsx(Icon, {
98
- type: currentEventKey === ACCORDION_KEY ? "chevron-up" : "chevron-down",
99
- width: "1rem"
97
+ children: currentEventKey === ACCORDION_KEY ? /*#__PURE__*/ jsx(FaChevronUp, {
98
+ size: 16
99
+ }) : /*#__PURE__*/ jsx(FaChevronDown, {
100
+ size: 16
100
101
  })
101
102
  })
102
103
  ]
@@ -2,8 +2,8 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useMemo } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { Button } from 'react-bootstrap';
5
+ import { FaTimes } from 'react-icons/fa';
5
6
  import { CategoryProduct } from '../../CategoryProduct/CategoryProduct.js';
6
- import Icon from '../../../../../static/Icon.js';
7
7
 
8
8
  var CategoryProductModal = function(param) {
9
9
  var activePointId = param.activePointId, product = param.product, category = param.category, pointProducts = param.pointProducts, onCloseModal = param.onCloseModal, soldOutProducts = param.soldOutProducts;
@@ -30,10 +30,7 @@ var CategoryProductModal = function(param) {
30
30
  variant: "danger",
31
31
  className: "btn-sm rounded",
32
32
  onClick: onCloseModal,
33
- children: /*#__PURE__*/ jsx(Icon, {
34
- type: "times",
35
- height: "1rem"
36
- })
33
+ children: /*#__PURE__*/ jsx(FaTimes, {})
37
34
  })
38
35
  })
39
36
  ]
@@ -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';
@@ -1 +1 @@
1
- {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC/C,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,iBAAiB,CAAC,EAAE,GAAG,CAAC;CACzB;AAED,QAAA,MAAM,QAAQ,2FAcZ,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC/C,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,iBAAiB,CAAC,EAAE,GAAG,CAAC;CACzB;AAED,QAAA,MAAM,QAAQ,2FAcZ,CAAC;AAIH,eAAe,QAAQ,CAAC"}
@@ -12,5 +12,6 @@ var DropDown = /*#__PURE__*/ forwardRef(function(props, ref) {
12
12
  children: children
13
13
  });
14
14
  });
15
+ DropDown.displayName = "DropDown";
15
16
 
16
17
  export { DropDown as default };
@@ -1 +1 @@
1
- {"version":3,"file":"DropDownToggle.d.ts","sourceRoot":"","sources":["../../src/layout/DropDownToggle.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC/C,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CACzC;AAED,QAAA,MAAM,cAAc,2FAYlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"DropDownToggle.d.ts","sourceRoot":"","sources":["../../src/layout/DropDownToggle.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC/C,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CACzC;AAED,QAAA,MAAM,cAAc,2FAYlB,CAAC;AAIH,eAAe,cAAc,CAAC"}
@@ -13,5 +13,6 @@ var DropDownToggle = /*#__PURE__*/ forwardRef(function(props, ref) {
13
13
  children: props.children
14
14
  });
15
15
  });
16
+ DropDownToggle.displayName = "DropDownToggle";
16
17
 
17
18
  export { DropDownToggle as default };
@@ -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")
@@ -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;
@@ -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
  })