@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
@@ -4,9 +4,10 @@ import { OverlayTrigger, Popover, ListGroup } from 'react-bootstrap';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import clsx from 'clsx';
6
6
  import { useId } from '@react-aria/utils';
7
- import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
8
7
  import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
8
+ import '../../static/index.js';
9
9
  import { MenuButton } from '../../table/MenuButton.js';
10
+ import Icon from '../../static/Icon.js';
10
11
 
11
12
  function _array_like_to_array(arr, len) {
12
13
  if (len == null || len > arr.length) len = arr.length;
@@ -96,9 +97,10 @@ function AffiliateCard(param) {
96
97
  children: [
97
98
  /*#__PURE__*/ jsx("div", {
98
99
  className: "affiliate-card-menu-eye-container",
99
- children: /*#__PURE__*/ jsx(FaEye, {
100
+ children: /*#__PURE__*/ jsx(Icon, {
101
+ type: "eye",
100
102
  color: "#0E8CE2",
101
- size: 20
103
+ width: "20"
102
104
  })
103
105
  }),
104
106
  /*#__PURE__*/ jsx(OverlayTrigger, {
@@ -125,9 +127,7 @@ function AffiliateCard(param) {
125
127
  confirm(onRemove);
126
128
  },
127
129
  name: t("remove"),
128
- icon: /*#__PURE__*/ jsx(FaTrashAlt, {
129
- size: 12
130
- }),
130
+ icon: "trash-alt",
131
131
  className: "affiliate-card-menu-item-text d-flex w-100 align-items-center",
132
132
  rightIcon: true
133
133
  });
@@ -144,7 +144,9 @@ function AffiliateCard(param) {
144
144
  e.stopPropagation();
145
145
  setIsOverlayVisible(true);
146
146
  },
147
- children: /*#__PURE__*/ jsx(FaEllipsisH, {})
147
+ children: /*#__PURE__*/ jsx(Icon, {
148
+ type: "ellipsis-h"
149
+ })
148
150
  })
149
151
  })
150
152
  ]
@@ -3,7 +3,8 @@ import { Button } from 'react-bootstrap';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
5
5
  import useUser from '@licklist/plugins/dist/context/user/hooks/useUser';
6
- import { FaLock } from 'react-icons/fa';
6
+ import '../../static/index.js';
7
+ import Icon from '../../static/Icon.js';
7
8
 
8
9
  var AccessDenied = function() {
9
10
  var t = useTranslation("App").t;
@@ -22,8 +23,10 @@ var AccessDenied = function() {
22
23
  children: [
23
24
  /*#__PURE__*/ jsx("div", {
24
25
  className: "icon-wrapper mb-5",
25
- children: /*#__PURE__*/ jsx(FaLock, {
26
- size: 80
26
+ children: /*#__PURE__*/ jsx(Icon, {
27
+ type: "lock",
28
+ width: "5rem",
29
+ height: "5rem"
27
30
  })
28
31
  }),
29
32
  /*#__PURE__*/ jsx("h3", {
@@ -1 +1 @@
1
- {"version":3,"file":"SocialFormComponent.d.ts","sourceRoot":"","sources":["../../../src/auth/Social/SocialFormComponent.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,QAAQ,CAAC;CACxB;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CA8E3D;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"SocialFormComponent.d.ts","sourceRoot":"","sources":["../../../src/auth/Social/SocialFormComponent.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,QAAQ,CAAC;CACxB;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CA+E3D;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -245,6 +245,7 @@ function SocialFormComponent(props) {
245
245
  "pr-1"
246
246
  ].join(" "),
247
247
  type: "facebook",
248
+ icon: "facebook-f",
248
249
  onClick: handleFacebookClick,
249
250
  disabled: isLoading,
250
251
  children: "Facebook"
@@ -1 +1 @@
1
- {"version":3,"file":"CollapsibleInputGroup.d.ts","sourceRoot":"","sources":["../../src/collapsible-input-group/CollapsibleInputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAW9C,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,EAAE,SAAS,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,KAAK,GACN,EAAE,0BAA0B,2CAoC5B;AAED,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"CollapsibleInputGroup.d.ts","sourceRoot":"","sources":["../../src/collapsible-input-group/CollapsibleInputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAW9C,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,EAAE,SAAS,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,KAAK,GACN,EAAE,0BAA0B,2CAiC5B;AAED,eAAe,qBAAqB,CAAC"}
@@ -2,11 +2,12 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useContext } from 'react';
3
3
  import { AccordionContext, Card, Accordion, Collapse, Form } from 'react-bootstrap';
4
4
  import clsx from 'clsx';
5
- import { FaChevronUp, FaChevronDown } from 'react-icons/fa';
5
+ import Icon from '../static/Icon.js';
6
6
 
7
7
  function CollapsibleInputGroup(param) {
8
8
  var label = param.label, description = param.description, eventKey = param.eventKey, children = param.children, alwaysOpen = param.alwaysOpen, error = param.error;
9
9
  var currentEventKey = useContext(AccordionContext);
10
+ var accordionIcon = currentEventKey === eventKey ? "chevron-up" : "chevron-down";
10
11
  var isInvalid = Boolean(error);
11
12
  return /*#__PURE__*/ jsxs(Card, {
12
13
  className: "rounded-0",
@@ -25,10 +26,9 @@ function CollapsibleInputGroup(param) {
25
26
  className: "mb-0 pl-3",
26
27
  children: label
27
28
  }),
28
- currentEventKey === eventKey ? /*#__PURE__*/ jsx(FaChevronUp, {
29
- size: 20
30
- }) : /*#__PURE__*/ jsx(FaChevronDown, {
31
- size: 20
29
+ /*#__PURE__*/ jsx(Icon, {
30
+ type: accordionIcon,
31
+ height: "1.25rem"
32
32
  })
33
33
  ]
34
34
  }),
@@ -2,12 +2,12 @@ export declare const FIELD_TYPES: {
2
2
  input: {
3
3
  id: string;
4
4
  label: string;
5
- icon: import("react/jsx-runtime").JSX.Element;
5
+ icon: string;
6
6
  };
7
7
  dropdown: {
8
8
  id: string;
9
9
  label: string;
10
- icon: import("react/jsx-runtime").JSX.Element;
10
+ icon: string;
11
11
  };
12
12
  };
13
13
  export declare const DEFAULT_FIELDS_VALUES: () => {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/custom-fields/constants.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW;;;;;;;;;;;CAWvB,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;CAmBhC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/custom-fields/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;CAWvB,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;CAmBhC,CAAC"}
@@ -1,7 +1,7 @@
1
- import { jsx } from 'react/jsx-runtime';
2
1
  import { uniqueId } from 'lodash';
3
2
  import { CUSTOM_FIELD_TYPE_INPUT, CUSTOM_FIELD_TYPE_DROPDOWN } from '@licklist/core/dist/DataMapper/Order/CustomFieldDataMapper';
4
- import { FaFont, FaListOl } from 'react-icons/fa';
3
+ import 'react/jsx-runtime';
4
+ import '../static/index.js';
5
5
  import { SORTABLE_ID_KEY } from '../sortable-list/SortableList.js';
6
6
 
7
7
  function _define_property(obj, key, value) {
@@ -21,15 +21,11 @@ var _obj;
21
21
  var FIELD_TYPES = (_obj = {}, _define_property(_obj, CUSTOM_FIELD_TYPE_INPUT, {
22
22
  id: "1",
23
23
  label: "Text Input",
24
- icon: /*#__PURE__*/ jsx(FaFont, {
25
- size: 32
26
- })
24
+ icon: "font"
27
25
  }), _define_property(_obj, CUSTOM_FIELD_TYPE_DROPDOWN, {
28
26
  id: "2",
29
27
  label: "Dropdown",
30
- icon: /*#__PURE__*/ jsx(FaListOl, {
31
- size: 32
32
- })
28
+ icon: "list-ol"
33
29
  }), _obj);
34
30
  var DEFAULT_FIELDS_VALUES = function() {
35
31
  var _obj;
@@ -1,7 +1,6 @@
1
- import { ReactElement } from "react";
2
1
  interface FieldItemProps {
3
2
  label: string;
4
- icon: ReactElement;
3
+ icon: string;
5
4
  onClick: () => void;
6
5
  }
7
6
  export declare function FieldItem({ label, icon, onClick }: FieldItemProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"FieldItem.d.ts","sourceRoot":"","sources":["../../../src/custom-fields/field/FieldItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,cAAc,2CAOjE"}
1
+ {"version":3,"file":"FieldItem.d.ts","sourceRoot":"","sources":["../../../src/custom-fields/field/FieldItem.tsx"],"names":[],"mappings":"AAIA,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,cAAc,2CAOjE"}
@@ -1,4 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import '../../static/index.js';
3
+ import Icon from '../../static/Icon.js';
2
4
 
3
5
  function FieldItem(param) {
4
6
  var label = param.label, icon = param.icon, onClick = param.onClick;
@@ -6,7 +8,10 @@ function FieldItem(param) {
6
8
  className: "custom-field-item",
7
9
  onClick: onClick,
8
10
  children: [
9
- icon,
11
+ /*#__PURE__*/ jsx(Icon, {
12
+ type: icon,
13
+ height: "2rem"
14
+ }),
10
15
  /*#__PURE__*/ jsx("h6", {
11
16
  children: label
12
17
  })
@@ -3,7 +3,8 @@ import { Form, FormLabel, Button } from 'react-bootstrap';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { useFormContext, useFieldArray } from 'react-hook-form';
5
5
  import HookFormService from '@licklist/plugins/dist/services/Form/HookFormService';
6
- import { FaTrashAlt, FaPlus } from 'react-icons/fa';
6
+ import '../../static/index.js';
7
+ import Icon from '../../static/Icon.js';
7
8
 
8
9
  function _array_like_to_array(arr, len) {
9
10
  if (len == null || len > arr.length) len = arr.length;
@@ -208,8 +209,9 @@ function DropdownForm(param) {
208
209
  remove(i);
209
210
  trigger();
210
211
  },
211
- children: /*#__PURE__*/ jsx(FaTrashAlt, {
212
- size: 20
212
+ children: /*#__PURE__*/ jsx(Icon, {
213
+ type: "trash-alt",
214
+ height: "1.2rem"
213
215
  })
214
216
  })
215
217
  })
@@ -226,8 +228,10 @@ function DropdownForm(param) {
226
228
  });
227
229
  resetOptionsError();
228
230
  },
229
- children: /*#__PURE__*/ jsx(FaPlus, {
230
- size: 18
231
+ children: /*#__PURE__*/ jsx(Icon, {
232
+ type: "plus",
233
+ height: "1.1rem",
234
+ width: ".8rem"
231
235
  })
232
236
  })
233
237
  ]
@@ -11,12 +11,13 @@ import 'rrule';
11
11
  import 'clsx';
12
12
  import '@react-aria/utils';
13
13
  import '@licklist/plugins/dist/services/Route/RouteService';
14
- import 'react-icons/fa';
15
14
  import 'react-bootstrap/ModalHeader';
16
15
  import 'react-bootstrap/ModalTitle';
17
16
  import 'react-bootstrap/ModalBody';
18
17
  import 'react-bootstrap/ModalFooter';
19
18
  import 'react-bootstrap/Modal';
19
+ import '../../../../../static/Icon.js';
20
+ import '../../../../../static/index.js';
20
21
  import { ProductSetControl } from '../../../../../product-set/control/ProductSetControl.js';
21
22
  import 'react-bootstrap/Col';
22
23
  import 'react-bootstrap/InputGroup';
@@ -34,7 +35,6 @@ import 'react-bootstrap/Collapse';
34
35
  import '@licklist/plugins/dist/hooks/Media/useImages';
35
36
  import '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
36
37
  import '@licklist/plugins/dist/context/app/hooks/useNotification';
37
- import '../../../../../static/index.js';
38
38
  import '@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper';
39
39
  import 'react-color';
40
40
  import '@licklist/core/dist/DataMapper/Provider/SnippetDataMapper';
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import { Modal, Form, Button } from 'react-bootstrap';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { useForm, Controller } from 'react-hook-form';
5
- import { FaTimes } from 'react-icons/fa';
5
+ import Icon from '../../static/Icon.js';
6
6
 
7
7
  function _define_property(obj, key, value) {
8
8
  if (key in obj) {
@@ -52,8 +52,9 @@ var EditRecurrentEventModal = function(param) {
52
52
  variant: "danger",
53
53
  className: "btn-sm rounded",
54
54
  onClick: onHide,
55
- children: /*#__PURE__*/ jsx(FaTimes, {
56
- size: 16
55
+ children: /*#__PURE__*/ jsx(Icon, {
56
+ type: "times",
57
+ height: "1rem"
57
58
  })
58
59
  })
59
60
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"EventCard.d.ts","sourceRoot":"","sources":["../../../src/events/event-card/EventCard.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AAQlG,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAS5C,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,aAAoB,EACpB,cAAc,EACd,WAAW,EACX,cAAc,EACd,OAAO,EACP,aAAa,GACd,EAAE,cAAc,2CAmJhB"}
1
+ {"version":3,"file":"EventCard.d.ts","sourceRoot":"","sources":["../../../src/events/event-card/EventCard.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AAElG,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAS5C,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,aAAoB,EACpB,cAAc,EACd,WAAW,EACX,cAAc,EACd,OAAO,EACP,aAAa,GACd,EAAE,cAAc,2CAkJhB"}
@@ -5,7 +5,7 @@ import { useIntl } from 'react-intl';
5
5
  import clsx from 'clsx';
6
6
  import { useTranslation } from 'react-i18next';
7
7
  import * as Config from '@licklist/core/dist/Config';
8
- import { FaEye, FaExternalLinkAlt, FaEdit, FaCopy, FaTrashAlt } from 'react-icons/fa';
8
+ import Icon from '../../static/Icon.js';
9
9
  import { TipTapEditor } from '../../tiptap-editor/TipTapEditor.js';
10
10
  import { getStatisticInfo, formatContentWithoutTags, EVENT_DESCRIPTION_SIZE } from './utils.js';
11
11
  import { ReactComponent as SvgChartBar } from '../../assets/dashboard/chartBar.svg.js';
@@ -185,7 +185,9 @@ function EventCard(param) {
185
185
  /*#__PURE__*/ jsxs("div", {
186
186
  className: "event-card-views",
187
187
  children: [
188
- /*#__PURE__*/ jsx(FaEye, {}),
188
+ /*#__PURE__*/ jsx(Icon, {
189
+ type: "eye"
190
+ }),
189
191
  /*#__PURE__*/ jsx("span", {
190
192
  children: formatNumber(totalViews)
191
193
  })
@@ -199,7 +201,9 @@ function EventCard(param) {
199
201
  type: "button",
200
202
  className: "event-card-link-button",
201
203
  onClick: onPreview,
202
- children: /*#__PURE__*/ jsx(FaExternalLinkAlt, {})
204
+ children: /*#__PURE__*/ jsx(Icon, {
205
+ type: "external-link-alt"
206
+ })
203
207
  }),
204
208
  hasPermission && /*#__PURE__*/ jsxs(Fragment, {
205
209
  children: [
@@ -207,19 +211,25 @@ function EventCard(param) {
207
211
  type: "button",
208
212
  className: "event-card-link-button",
209
213
  onClick: onEdit,
210
- children: /*#__PURE__*/ jsx(FaEdit, {})
214
+ children: /*#__PURE__*/ jsx(Icon, {
215
+ type: "edit"
216
+ })
211
217
  }),
212
218
  /*#__PURE__*/ jsx("button", {
213
219
  type: "button",
214
220
  className: "event-card-link-button",
215
221
  onClick: onCopy,
216
- children: /*#__PURE__*/ jsx(FaCopy, {})
222
+ children: /*#__PURE__*/ jsx(Icon, {
223
+ type: "copy"
224
+ })
217
225
  }),
218
226
  /*#__PURE__*/ jsx("button", {
219
227
  type: "button",
220
228
  className: "event-card-link-button",
221
229
  onClick: onRemove,
222
- children: /*#__PURE__*/ jsx(FaTrashAlt, {})
230
+ children: /*#__PURE__*/ jsx(Icon, {
231
+ type: "trash-alt"
232
+ })
223
233
  })
224
234
  ]
225
235
  })
@@ -1,11 +1,12 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Modal, Button } from 'react-bootstrap';
3
3
  import { useTranslation } from 'react-i18next';
4
- import { FaTimes } from 'react-icons/fa';
4
+ import Icon from '../../static/Icon.js';
5
5
  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
10
  import '@licklist/plugins/dist/services/Table/TableService';
10
11
  import { StaticTable } from '../../table/StaticTable.js';
11
12
  import 'react-router-dom';
@@ -42,8 +43,9 @@ var EventStatisticModal = function(param) {
42
43
  variant: "danger",
43
44
  className: "btn-sm rounded",
44
45
  onClick: handleClose,
45
- children: /*#__PURE__*/ jsx(FaTimes, {
46
- size: 16
46
+ children: /*#__PURE__*/ jsx(Icon, {
47
+ type: "times",
48
+ height: "1rem"
47
49
  })
48
50
  })
49
51
  ]
@@ -1,7 +1,8 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { Button } from 'react-bootstrap';
3
- import { FaSearch } from 'react-icons/fa';
3
+ import '../../../../static/index.js';
4
4
  import { useZoom } from '../../hooks/useZoom.js';
5
+ import Icon from '../../../../static/Icon.js';
5
6
 
6
7
  var ZoomButtons = function(param) {
7
8
  var stageRef = param.stageRef, imageRef = param.imageRef;
@@ -16,8 +17,10 @@ var ZoomButtons = function(param) {
16
17
  children: [
17
18
  /*#__PURE__*/ jsx("div", {
18
19
  className: "icon-wrapper mb-1",
19
- children: /*#__PURE__*/ jsx(FaSearch, {
20
- size: 16
20
+ children: /*#__PURE__*/ jsx(Icon, {
21
+ type: "search",
22
+ width: "1rem",
23
+ height: "1rem"
21
24
  })
22
25
  }),
23
26
  /*#__PURE__*/ jsx(Button, {
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { IMAGE_TYPE_MAP } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
3
- import { FaTimes, FaFilePdf, FaFile } from 'react-icons/fa';
4
3
  import '../static/index.js';
4
+ import Icon from '../static/Icon.js';
5
5
  import Image from '../static/Image.js';
6
6
 
7
7
  function _instanceof(left, right) {
@@ -42,7 +42,10 @@ function PreviewItem(param) {
42
42
  }
43
43
  },
44
44
  disabled: disabled,
45
- children: /*#__PURE__*/ jsx(FaTimes, {})
45
+ children: /*#__PURE__*/ jsx(Icon, {
46
+ type: "times",
47
+ height: "1rem"
48
+ })
46
49
  }),
47
50
  renderItemPreview(item)
48
51
  ]
@@ -89,10 +92,12 @@ var renderFileTypeIcon = function(itemName) {
89
92
  var isPdfFile = itemName === null || itemName === void 0 ? void 0 : itemName.includes("pdf");
90
93
  return /*#__PURE__*/ jsx("div", {
91
94
  className: "preview-item__file",
92
- children: isPdfFile ? /*#__PURE__*/ jsx(FaFilePdf, {
93
- size: 80
94
- }) : /*#__PURE__*/ jsx(FaFile, {
95
- size: 80
95
+ children: isPdfFile ? /*#__PURE__*/ jsx(Icon, {
96
+ type: "file-pdf",
97
+ height: "5rem"
98
+ }) : /*#__PURE__*/ jsx(Icon, {
99
+ type: "file",
100
+ height: "5rem"
96
101
  })
97
102
  });
98
103
  };
@@ -4,7 +4,7 @@ import Button from 'react-bootstrap/Button';
4
4
  import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
5
5
  import Popover from 'react-bootstrap/Popover';
6
6
  import clsx from 'clsx';
7
- import { FaQuestion } from 'react-icons/fa';
7
+ import Icon from '../../static/Icon.js';
8
8
 
9
9
  function _define_property(obj, key, value) {
10
10
  if (key in obj) {
@@ -120,8 +120,11 @@ function HelpPopover(param) {
120
120
  ref: ref
121
121
  }, triggerHandler), {
122
122
  className: "btn-icon-popover rounded-circle px-2 py-1 d-inline-flex align-items-center",
123
- children: icon !== null && icon !== void 0 ? icon : /*#__PURE__*/ jsx(FaQuestion, {
124
- size: 10
123
+ children: icon !== null && icon !== void 0 ? icon : /*#__PURE__*/ jsx(Icon, {
124
+ type: "question",
125
+ style: {
126
+ width: "10px"
127
+ }
125
128
  })
126
129
  }));
127
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,SAAS,EAEV,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAI9E,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMlD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AA6BD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,iBAAiB,GAClB,EAAE,kBAAkB,2CAsBpB"}
1
+ {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,SAAS,EAEV,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAG9E,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAOlD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AA6BD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,iBAAiB,GAClB,EAAE,kBAAkB,2CAsBpB"}
@@ -5,9 +5,9 @@ import Accordion from 'react-bootstrap/Accordion';
5
5
  import Card from 'react-bootstrap/Card';
6
6
  import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
7
7
  import AccordionContext from 'react-bootstrap/AccordionContext';
8
- import { useContext } from 'react';
9
- import { FaTimes, FaAngleRight } from 'react-icons/fa';
10
8
  import '../../../../../static/index.js';
9
+ import Icon from '../../../../../static/Icon.js';
10
+ import { useContext } from 'react';
11
11
  import { NumberInput } from '../../../../../static/number-input/NumberInput.js';
12
12
 
13
13
  function _define_property(obj, key, value) {
@@ -82,9 +82,10 @@ function CustomToggle(param) {
82
82
  className: contentClassName,
83
83
  children: children
84
84
  }),
85
- /*#__PURE__*/ jsx(FaAngleRight, {
85
+ /*#__PURE__*/ jsx(Icon, {
86
86
  className: iconClassName,
87
- size: 24
87
+ type: "angle-right",
88
+ height: "1.5rem"
88
89
  })
89
90
  ]
90
91
  });
@@ -179,9 +180,11 @@ function ProductItem(param) {
179
180
  value: ((_order_id = order[id]) === null || _order_id === void 0 ? void 0 : _order_id.quantity) || 0,
180
181
  className: "product-item__counter"
181
182
  }),
182
- /*#__PURE__*/ jsx(FaTimes, {
183
+ /*#__PURE__*/ jsx(Icon, {
183
184
  className: "product-item__icon m-3",
184
- size: 16
185
+ type: "times",
186
+ height: "1rem",
187
+ width: "1rem"
185
188
  }),
186
189
  /*#__PURE__*/ jsx("div", {
187
190
  className: "product-item__price",
@@ -1 +1 @@
1
- {"version":3,"file":"EventNavigationFooter.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx"],"names":[],"mappings":"AAUA,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IAExB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,gBAAwB,EACxB,QAAQ,EACR,UAAU,GACX,EAAE,0BAA0B,2CAkD5B"}
1
+ {"version":3,"file":"EventNavigationFooter.d.ts","sourceRoot":"","sources":["../../../../src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx"],"names":[],"mappings":"AAUA,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IAExB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,gBAAwB,EACxB,QAAQ,EACR,UAAU,GACX,EAAE,0BAA0B,2CAiD5B"}
@@ -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 { FaArrowLeft, FaArrowRight } from 'react-icons/fa';
5
+ import Icon from '../../../static/Icon.js';
6
6
 
7
7
  function _define_property(obj, key, value) {
8
8
  if (key in obj) {
@@ -82,8 +82,9 @@ 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(FaArrowLeft, {
86
- size: 16
85
+ children: /*#__PURE__*/ jsx(Icon, {
86
+ type: "arrow-left",
87
+ width: "1rem"
87
88
  })
88
89
  }),
89
90
  amount > 1 && /*#__PURE__*/ jsx(PaginationDots, {
@@ -96,8 +97,9 @@ function EventNavigationFooter(param) {
96
97
  }, submitButtonProps), {
97
98
  children: [
98
99
  t("continue"),
99
- /*#__PURE__*/ jsx(FaArrowRight, {
100
- size: 16,
100
+ /*#__PURE__*/ jsx(Icon, {
101
+ type: "arrow-right",
102
+ width: "1rem",
101
103
  className: "ml-2"
102
104
  })
103
105
  ]
@@ -106,8 +108,10 @@ function EventNavigationFooter(param) {
106
108
  onClick: onNextClick,
107
109
  children: [
108
110
  t("next"),
109
- /*#__PURE__*/ jsx(FaArrowRight, {
110
- size: 16,
111
+ " ",
112
+ /*#__PURE__*/ jsx(Icon, {
113
+ type: "arrow-right",
114
+ width: "1rem",
111
115
  className: "ml-2"
112
116
  })
113
117
  ]
@@ -4,8 +4,9 @@ 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 { FaChevronUp, FaChevronDown } from 'react-icons/fa';
7
+ import '../../../../../../static/index.js';
8
8
  import { ACCORDION_KEY } from '../../types/index.js';
9
+ import Icon from '../../../../../../static/Icon.js';
9
10
 
10
11
  var ToggleHeader = function(param) {
11
12
  var showExpandButton = param.showExpandButton, isExpanded = param.isExpanded, title = param.title, hideComponent = param.hideComponent, isPaymentPage = param.isPaymentPage, headerComponent = param.headerComponent;
@@ -71,10 +72,9 @@ var HeaderContent = function(param) {
71
72
  }),
72
73
  showExpandButton && /*#__PURE__*/ jsx("div", {
73
74
  className: "expand-button",
74
- children: currentEventKey === ACCORDION_KEY ? /*#__PURE__*/ jsx(FaChevronUp, {
75
- size: 8
76
- }) : /*#__PURE__*/ jsx(FaChevronDown, {
77
- size: 8
75
+ children: /*#__PURE__*/ jsx(Icon, {
76
+ type: currentEventKey === ACCORDION_KEY ? "chevron-up" : "chevron-down",
77
+ width: "0.5rem"
78
78
  })
79
79
  })
80
80
  ]
@@ -94,10 +94,9 @@ var HeaderContent = function(param) {
94
94
  }),
95
95
  showExpandButton && /*#__PURE__*/ jsx("div", {
96
96
  className: "expand-button",
97
- children: currentEventKey === ACCORDION_KEY ? /*#__PURE__*/ jsx(FaChevronUp, {
98
- size: 16
99
- }) : /*#__PURE__*/ jsx(FaChevronDown, {
100
- size: 16
97
+ children: /*#__PURE__*/ jsx(Icon, {
98
+ type: currentEventKey === ACCORDION_KEY ? "chevron-up" : "chevron-down",
99
+ width: "1rem"
101
100
  })
102
101
  })
103
102
  ]
@@ -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';
6
5
  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,7 +30,10 @@ var CategoryProductModal = function(param) {
30
30
  variant: "danger",
31
31
  className: "btn-sm rounded",
32
32
  onClick: onCloseModal,
33
- children: /*#__PURE__*/ jsx(FaTimes, {})
33
+ children: /*#__PURE__*/ jsx(Icon, {
34
+ type: "times",
35
+ height: "1rem"
36
+ })
34
37
  })
35
38
  })
36
39
  ]