@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
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useContext, useState } from 'react';
3
3
  import { Modal, Button, ModalBody, Carousel } from 'react-bootstrap';
4
4
  import { useTranslation } from 'react-i18next';
@@ -6,7 +6,7 @@ import { CATEGORY_TYPE_MENU_ITEMS, CATEGORY_TYPE_TICKETS, CATEGORY_TYPE_BOOKINGS
6
6
  import ModalHeader from 'react-bootstrap/ModalHeader';
7
7
  import ModalTitle from 'react-bootstrap/ModalTitle';
8
8
  import Col from 'react-bootstrap/Col';
9
- import { FaTicketAlt, FaCalendar, FaBars, FaBowlingBall, FaTimes, FaArrowLeft, FaArrowRight } from 'react-icons/fa';
9
+ import Icon from '../../static/Icon.js';
10
10
  import { ProductSetLoadingContext } from './context.js';
11
11
 
12
12
  /* eslint-disable jsx-a11y/click-events-have-key-events */ function _array_like_to_array(arr, len) {
@@ -78,36 +78,21 @@ var CATEGORY_TYPES_NAMES = {
78
78
  var _obj;
79
79
  var MAIN_CATEGORIES = (_obj = {}, _define_property(_obj, CATEGORY_TYPES_NAMES.tickets, {
80
80
  label: "tickets",
81
- icon: /*#__PURE__*/ jsx(FaTicketAlt, {
82
- color: "#0e8ce2",
83
- size: 32
84
- })
81
+ icon: "ticket-alt"
85
82
  }), _define_property(_obj, CATEGORY_TYPES_NAMES.bookings, {
86
83
  label: "bookings",
87
- icon: /*#__PURE__*/ jsx(FaCalendar, {
88
- color: "#0e8ce2",
89
- size: 32
90
- })
84
+ icon: "calendar"
91
85
  }), _define_property(_obj, CATEGORY_TYPES_NAMES.menuItems, {
92
86
  label: "menuItems",
93
- icon: /*#__PURE__*/ jsx(FaBars, {
94
- color: "#0e8ce2",
95
- size: 32
96
- })
87
+ icon: "bars"
97
88
  }), _obj);
98
89
  var _obj1;
99
90
  var BOOKING_SUBCATEGORIES = (_obj1 = {}, _define_property(_obj1, CATEGORY_TYPES_NAMES.game, {
100
91
  label: "game",
101
- icon: /*#__PURE__*/ jsx(FaBowlingBall, {
102
- color: "#0e8ce2",
103
- size: 32
104
- })
92
+ icon: "bowling-ball"
105
93
  }), _define_property(_obj1, CATEGORY_TYPES_NAMES.fixedDuration, {
106
94
  label: "fixedDuration",
107
- icon: /*#__PURE__*/ jsx(FaCalendar, {
108
- color: "#0e8ce2",
109
- size: 32
110
- })
95
+ icon: "calendar"
111
96
  }), _obj1);
112
97
  function SelectCategoryModal(param) {
113
98
  var isVisible = param.isVisible, onHide = param.onHide, onCategorySelect = param.onCategorySelect;
@@ -151,8 +136,9 @@ function SelectCategoryModal(param) {
151
136
  variant: "danger",
152
137
  className: "btn-sm rounded",
153
138
  onClick: onHide,
154
- children: /*#__PURE__*/ jsx(FaTimes, {
155
- size: 20
139
+ children: /*#__PURE__*/ jsx(Icon, {
140
+ type: "times",
141
+ height: "1.2rem"
156
142
  })
157
143
  })
158
144
  ]
@@ -182,7 +168,11 @@ function SelectCategoryModal(param) {
182
168
  },
183
169
  active: selectedCategory === categoryType,
184
170
  children: [
185
- icon,
171
+ typeof icon === "string" ? /*#__PURE__*/ jsx(Icon, {
172
+ type: icon,
173
+ color: "#0e8ce2",
174
+ height: "2rem"
175
+ }) : icon,
186
176
  /*#__PURE__*/ jsx("h6", {
187
177
  className: "text-dark mt-3",
188
178
  children: t(label)
@@ -209,7 +199,11 @@ function SelectCategoryModal(param) {
209
199
  },
210
200
  active: selectedCategory === categoryType,
211
201
  children: [
212
- icon,
202
+ /*#__PURE__*/ jsx(Icon, {
203
+ type: icon,
204
+ color: "#0e8ce2",
205
+ height: "2rem"
206
+ }),
213
207
  /*#__PURE__*/ jsx("h6", {
214
208
  className: "text-dark mt-3",
215
209
  children: t(label)
@@ -230,10 +224,9 @@ function SelectCategoryModal(param) {
230
224
  return prev ? 0 : 1;
231
225
  });
232
226
  },
233
- children: activeCarouselIndex ? /*#__PURE__*/ jsx(FaArrowLeft, {
234
- size: 16
235
- }) : /*#__PURE__*/ jsx(FaArrowRight, {
236
- size: 16
227
+ children: /*#__PURE__*/ jsx(Icon, {
228
+ type: activeCarouselIndex ? "arrow-left" : "arrow-right",
229
+ height: "1rem"
237
230
  })
238
231
  })
239
232
  ]
@@ -7,7 +7,7 @@ import '@react-aria/utils';
7
7
  import 'react-bootstrap';
8
8
  import 'react-bootstrap/InputGroup';
9
9
  import 'react-i18next';
10
- import 'react-icons/fa';
10
+ import '../../static/Icon.js';
11
11
  import 'react-bootstrap/Col';
12
12
  import 'react';
13
13
  import 'react-bootstrap/Row';
@@ -1 +1 @@
1
- {"version":3,"file":"CreateProductSetItem.d.ts","sourceRoot":"","sources":["../../../src/product-set/item/CreateProductSetItem.tsx"],"names":[],"mappings":"AAGA,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,KAAK,EACL,SAAS,EACT,UAAU,GACX,EAAE,yBAAyB,2CAgB3B"}
1
+ {"version":3,"file":"CreateProductSetItem.d.ts","sourceRoot":"","sources":["../../../src/product-set/item/CreateProductSetItem.tsx"],"names":[],"mappings":"AAGA,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,KAAK,EACL,SAAS,EACT,UAAU,GACX,EAAE,yBAAyB,2CAqB3B"}
@@ -1,6 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
- import { FaPlus } from 'react-icons/fa';
3
+ import '../../static/index.js';
4
+ import Icon from '../../static/Icon.js';
4
5
 
5
6
  function CreateProductSetItem(param) {
6
7
  var onClick = param.onClick, title = param.title, className = param.className, isOverride = param.isOverride;
@@ -9,8 +10,10 @@ function CreateProductSetItem(param) {
9
10
  onClick: onClick,
10
11
  type: "button",
11
12
  children: [
12
- /*#__PURE__*/ jsx(FaPlus, {
13
- size: 20,
13
+ /*#__PURE__*/ jsx(Icon, {
14
+ type: "plus",
15
+ height: "1.25rem",
16
+ width: "1.25rem",
14
17
  className: "rounded product-set-item-icon"
15
18
  }),
16
19
  /*#__PURE__*/ jsx("span", {
@@ -4,7 +4,8 @@ import { forwardRef } from 'react';
4
4
  import Button from 'react-bootstrap/Button';
5
5
  import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
6
6
  import Popover from 'react-bootstrap/Popover';
7
- import { FaPlus } from 'react-icons/fa';
7
+ import '../../static/index.js';
8
+ import Icon from '../../static/Icon.js';
8
9
 
9
10
  var ProductSetPopover = /*#__PURE__*/ forwardRef(function(param, ref) {
10
11
  var title = param.title, isVisible = param.isVisible, _param_placement = param.placement, placement = _param_placement === void 0 ? "auto" : _param_placement, _param_trigger = param.trigger, trigger = _param_trigger === void 0 ? "click" : _param_trigger, onClick = param.onClick, children = param.children, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className;
@@ -44,8 +45,9 @@ var ProductSetPopover = /*#__PURE__*/ forwardRef(function(param, ref) {
44
45
  onClick();
45
46
  }
46
47
  },
47
- children: /*#__PURE__*/ jsx(FaPlus, {
48
- size: 12
48
+ children: /*#__PURE__*/ jsx(Icon, {
49
+ type: "plus",
50
+ width: ".7rem"
49
51
  })
50
52
  })
51
53
  })
@@ -1 +1 @@
1
- {"version":3,"file":"ProductControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product/ProductControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EAMb,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EACL,WAAW,EAEZ,MAAM,0DAA0D,CAAC;AAGlE,OAAO,EACL,mBAAmB,EACn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pB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,CACpC,SAAQ,gBAAgB,EACtB,mBAAmB,CAAC,CAAC,CAAC,EACtB,oCAAoC,CAAC,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,UAAU,EAAE,EACnD,SAAiB,EACjB,eAAe,EACf,aAAqB,EACrB,oBAA4B,EAC5B,QAAa,EACb,MAAM,EACN,mBAAmB,EACnB,WAAW,EACX,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,WAAmB,GACpB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAslBxB"}
1
+ {"version":3,"file":"ProductControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product/ProductControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EAMb,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EACL,WAAW,EAEZ,MAAM,0DAA0D,CAAC;AAGlE,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAC;AAEtE,OAAO,EACL,WAAW,EAKZ,MAAM,OAAO,CAAC;AAgBf,OAAO,EACL,KAAK,EAEN,MAAM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AC,CACpC,SAAQ,gBAAgB,EACtB,mBAAmB,CAAC,CAAC,CAAC,EACtB,oCAAoC,CAAC,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,UAAU,EAAE,EACnD,SAAiB,EACjB,eAAe,EACf,aAAqB,EACrB,oBAA4B,EAC5B,QAAa,EACb,MAAM,EACN,mBAAmB,EACnB,WAAW,EACX,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,WAAmB,GACpB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAulBxB"}
@@ -13,9 +13,9 @@ import { useFormContext, useWatch, Controller } from 'react-hook-form';
13
13
  import { useTranslation } from 'react-i18next';
14
14
  import { useImages } from '@licklist/plugins/dist/hooks/Media/useImages';
15
15
  import { IMAGE_TYPE_IMAGE } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
16
- import { FaClipboard } from 'react-icons/fa';
17
16
  import { FileUpload } from '../../file-upload/FileUpload.js';
18
17
  import '../../static/index.js';
18
+ import Icon from '../../static/Icon.js';
19
19
  import { ProductSetLoadingContext } from '../form/context.js';
20
20
  import { ProductBookingManagementControl } from './booking-management/ProductBookingManagementControl.js';
21
21
  import { ProductDepositControl } from './deposit/ProductDepositControl.js';
@@ -772,8 +772,9 @@ function ProductControl(param) {
772
772
  variant: "link",
773
773
  className: "d-flex align-items-center",
774
774
  children: [
775
- /*#__PURE__*/ jsx(FaClipboard, {
776
- size: 16,
775
+ /*#__PURE__*/ jsx(Icon, {
776
+ type: "clipboard",
777
+ height: "1rem",
777
778
  className: "mr-2"
778
779
  }),
779
780
  " ",
@@ -5,7 +5,7 @@ import { Form } from 'react-bootstrap';
5
5
  import InputGroup from 'react-bootstrap/InputGroup';
6
6
  import { useFormContext, Controller } from 'react-hook-form';
7
7
  import { useTranslation } from 'react-i18next';
8
- import { FaSortNumericUpAlt } from 'react-icons/fa';
8
+ import Icon from '../../../static/Icon.js';
9
9
 
10
10
  function _define_property(obj, key, value) {
11
11
  if (key in obj) {
@@ -117,8 +117,9 @@ function ProductBookingManagementControl(props) {
117
117
  children: [
118
118
  /*#__PURE__*/ jsx(InputGroup.Prepend, {
119
119
  children: /*#__PURE__*/ jsx(InputGroup.Text, {
120
- children: /*#__PURE__*/ jsx(FaSortNumericUpAlt, {
121
- size: 16
120
+ children: /*#__PURE__*/ jsx(Icon, {
121
+ type: "sort-numeric-up-alt",
122
+ width: "1rem"
122
123
  })
123
124
  })
124
125
  }),
@@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
6
6
  import InputGroup from 'react-bootstrap/InputGroup';
7
7
  import { useFormContext, Controller } from 'react-hook-form';
8
8
  import { useTranslation } from 'react-i18next';
9
- import { FaPoundSign } from 'react-icons/fa';
9
+ import Icon from '../../../static/Icon.js';
10
10
 
11
11
  function ProductDepositControl(props) {
12
12
  var _props_isLoading = props.isLoading, isLoading = _props_isLoading === void 0 ? false : _props_isLoading, fieldNamePrefix = props.fieldNamePrefix;
@@ -28,8 +28,9 @@ function ProductDepositControl(props) {
28
28
  children: [
29
29
  /*#__PURE__*/ jsx(InputGroup.Prepend, {
30
30
  children: /*#__PURE__*/ jsx(InputGroup.Text, {
31
- children: /*#__PURE__*/ jsx(FaPoundSign, {
32
- size: 10,
31
+ children: /*#__PURE__*/ jsx(Icon, {
32
+ type: "pound-sign",
33
+ width: ".6rem",
33
34
  className: "p-0"
34
35
  })
35
36
  })
@@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
6
6
  import InputGroup from 'react-bootstrap/InputGroup';
7
7
  import { useFormContext, Controller } from 'react-hook-form';
8
8
  import { useTranslation } from 'react-i18next';
9
- import { FaPoundSign } from 'react-icons/fa';
9
+ import Icon from '../../../static/Icon.js';
10
10
 
11
11
  function ProductPriceControl(param) {
12
12
  var _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, fieldNamePrefix = param.fieldNamePrefix, title = param.title, allowDeposits = param.allowDeposits, _param_isRequired = param.isRequired, isRequired = _param_isRequired === void 0 ? true : _param_isRequired, isMoreThanZero = param.isMoreThanZero;
@@ -29,8 +29,9 @@ function ProductPriceControl(param) {
29
29
  children: [
30
30
  /*#__PURE__*/ jsx(InputGroup.Prepend, {
31
31
  children: /*#__PURE__*/ jsx(InputGroup.Text, {
32
- children: /*#__PURE__*/ jsx(FaPoundSign, {
33
- size: 10,
32
+ children: /*#__PURE__*/ jsx(Icon, {
33
+ type: "pound-sign",
34
+ width: ".6rem",
34
35
  className: "p-0"
35
36
  })
36
37
  })
@@ -3,6 +3,7 @@ export interface ReportCardProps extends HasPermissionProp {
3
3
  name: string;
4
4
  onPress: () => void;
5
5
  className?: string;
6
+ iconType: string;
6
7
  }
7
- export declare function ReportCard({ name, onPress, className, hasPermission, }: ReportCardProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ReportCard({ name, onPress, className, hasPermission, iconType, }: ReportCardProps): import("react/jsx-runtime").JSX.Element;
8
9
  //# sourceMappingURL=ReportCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportCard.d.ts","sourceRoot":"","sources":["../../../src/report/card/ReportCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAEvF,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,SAAc,EACd,aAAoB,GACrB,EAAE,eAAe,2CAiBjB"}
1
+ {"version":3,"file":"ReportCard.d.ts","sourceRoot":"","sources":["../../../src/report/card/ReportCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAIvF,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,SAAc,EACd,aAAoB,EACpB,QAAQ,GACT,EAAE,eAAe,2CAuBjB"}
@@ -1,7 +1,9 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import '../../static/index.js';
3
+ import Icon from '../../static/Icon.js';
2
4
 
3
5
  function ReportCard(param) {
4
- var name = param.name, onPress = param.onPress, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className, _param_hasPermission = param.hasPermission, hasPermission = _param_hasPermission === void 0 ? true : _param_hasPermission;
6
+ var name = param.name, onPress = param.onPress, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className, _param_hasPermission = param.hasPermission, hasPermission = _param_hasPermission === void 0 ? true : _param_hasPermission, iconType = param.iconType;
5
7
  var reportCardClasses = "report-card ".concat(className);
6
8
  return /*#__PURE__*/ jsx("div", {
7
9
  role: "button",
@@ -10,11 +12,19 @@ function ReportCard(param) {
10
12
  onClick: hasPermission && onPress,
11
13
  children: /*#__PURE__*/ jsx("div", {
12
14
  className: "report-card-link text-center",
13
- children: /*#__PURE__*/ jsx("div", {
15
+ children: /*#__PURE__*/ jsxs("div", {
14
16
  className: "d-flex justift-content-center flex-column",
15
- children: /*#__PURE__*/ jsx("h6", {
16
- children: name
17
- })
17
+ children: [
18
+ /*#__PURE__*/ jsx(Icon, {
19
+ color: "#0e8ce2",
20
+ className: "mb-1",
21
+ type: iconType,
22
+ height: "1.5rem"
23
+ }),
24
+ /*#__PURE__*/ jsx("h6", {
25
+ children: name
26
+ })
27
+ ]
18
28
  })
19
29
  })
20
30
  });
@@ -8,7 +8,7 @@ import * as Config from '@licklist/core/dist/Config';
8
8
  import { TIME_FORMAT } from '@licklist/core/dist/Config';
9
9
  import { formatDateStringForEvent } from '@licklist/plugins/dist/utils/formatDate';
10
10
  import { getOrderSourceTitle } from '@licklist/plugins/dist/utils/sourceTitle';
11
- import { FaUser } from 'react-icons/fa';
11
+ import Icon from '../../../../static/Icon.js';
12
12
 
13
13
  var ResultCard = function(param) {
14
14
  var order = param.order, className = param.className, staffMember = param.staffMember, onCardClick = param.onCardClick;
@@ -40,9 +40,10 @@ var ResultCard = function(param) {
40
40
  /*#__PURE__*/ jsxs("div", {
41
41
  className: "order-people",
42
42
  children: [
43
- /*#__PURE__*/ jsx(FaUser, {
44
- size: 10,
45
- className: "p-0"
43
+ /*#__PURE__*/ jsx(Icon, {
44
+ type: "user",
45
+ width: "10",
46
+ height: "11"
46
47
  }),
47
48
  people
48
49
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInputHorizontal.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAKnD,KAAK,KAAK,GAAG,KAAK,GAAG,OAAO,CAAC;AAE7B,UAAU,0BAA0B;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,qBAAqB,yHA4GjC,CAAC"}
1
+ {"version":3,"file":"NumberInputHorizontal.d.ts","sourceRoot":"","sources":["../../../../src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAKnD,KAAK,KAAK,GAAG,KAAK,GAAG,OAAO,CAAC;AAE7B,UAAU,0BAA0B;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,qBAAqB,yHAkHjC,CAAC"}
@@ -3,7 +3,8 @@ import clsx from 'clsx';
3
3
  import { forwardRef } from 'react';
4
4
  import { FormControl } from 'react-bootstrap';
5
5
  import { useTranslation } from 'react-i18next';
6
- import { FaMinus, FaPlus } from 'react-icons/fa';
6
+ import '../../../static/index.js';
7
+ import Icon from '../../../static/Icon.js';
7
8
 
8
9
  var NumberInputHorizontal = /*#__PURE__*/ forwardRef(function(param, ref) {
9
10
  var _param_disabled = param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, shouldHideButtons = param.shouldHideButtons, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className, value = param.value, step = param.step, _param_size = param.size, size = _param_size === void 0 ? "small" : _param_size, hasCurrency = param.hasCurrency, onChange = param.onChange, onPlusClick = param.onPlusClick, onMinusClick = param.onMinusClick, onSelect = param.onSelect, min = param.min, max = param.max, defaultValue = param.defaultValue, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading;
@@ -46,7 +47,8 @@ var NumberInputHorizontal = /*#__PURE__*/ forwardRef(function(param, ref) {
46
47
  hasBigSize ? "big-sizes-btn" : "small-sizes-btn"
47
48
  ].join(" "),
48
49
  disabled: disabled || shouldHideButtons,
49
- children: /*#__PURE__*/ jsx(FaMinus, {
50
+ children: /*#__PURE__*/ jsx(Icon, {
51
+ type: "minus",
50
52
  className: hasBigSize ? "big_icon" : "small_icon"
51
53
  })
52
54
  }),
@@ -85,7 +87,8 @@ var NumberInputHorizontal = /*#__PURE__*/ forwardRef(function(param, ref) {
85
87
  hasBigSize ? "big-sizes-btn" : "small-sizes-btn"
86
88
  ].join(" "),
87
89
  disabled: disabled || shouldHideButtons,
88
- children: /*#__PURE__*/ jsx(FaPlus, {
90
+ children: /*#__PURE__*/ jsx(Icon, {
91
+ type: "plus",
89
92
  className: hasBigSize ? "big_icon" : "small_icon"
90
93
  })
91
94
  })
@@ -6,7 +6,7 @@ import ModalHeader from 'react-bootstrap/ModalHeader';
6
6
  import ModalTitle from 'react-bootstrap/ModalTitle';
7
7
  import { useIntl } from 'react-intl';
8
8
  import * as Config from '@licklist/core/dist/Config';
9
- import { FaTimes } from 'react-icons/fa';
9
+ import Icon from '../../../static/Icon.js';
10
10
  import { SalePaymentForm } from '../../payment-form/SalePaymentForm.js';
11
11
 
12
12
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -289,8 +289,9 @@ var PaymentModal = function(_param) {
289
289
  variant: "danger",
290
290
  className: "btn-sm rounded",
291
291
  onClick: onHide,
292
- children: /*#__PURE__*/ jsx(FaTimes, {
293
- size: 20
292
+ children: /*#__PURE__*/ jsx(Icon, {
293
+ type: "times",
294
+ height: "1.2rem"
294
295
  })
295
296
  })
296
297
  ]
@@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next';
5
5
  import { useForm } from 'react-hook-form';
6
6
  import ModalHeader from 'react-bootstrap/ModalHeader';
7
7
  import ModalTitle from 'react-bootstrap/ModalTitle';
8
- import { FaTimes } from 'react-icons/fa';
8
+ import Icon from '../../../static/Icon.js';
9
9
  import { EXTENDED_PAYMENT_TYPE_TRANSLATION_KEYS } from '../../constants.js';
10
10
  import { CurrencyNumberInput } from '../../../static/CurrencyNumberInput.js';
11
11
 
@@ -103,8 +103,9 @@ var RefundModal = function(param) {
103
103
  variant: "danger",
104
104
  className: "btn-sm rounded",
105
105
  onClick: onHide,
106
- children: /*#__PURE__*/ jsx(FaTimes, {
107
- size: 20
106
+ children: /*#__PURE__*/ jsx(Icon, {
107
+ type: "times",
108
+ height: "1.2rem"
108
109
  })
109
110
  })
110
111
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"NotesTable.d.ts","sourceRoot":"","sources":["../../../src/sales/notes/NotesTable.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAE3E,OAAO,EAAY,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAG1D,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,GAAG;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,eAAO,MAAM,UAAU,kEAMpB,eAAe,4CA4EjB,CAAC"}
1
+ {"version":3,"file":"NotesTable.d.ts","sourceRoot":"","sources":["../../../src/sales/notes/NotesTable.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAY,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAI1D,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,GAAG;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,eAAO,MAAM,UAAU,kEAMpB,eAAe,4CA4EjB,CAAC"}
@@ -2,9 +2,10 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useState, useEffect } from 'react';
3
3
  import { Table, Button } from 'react-bootstrap';
4
4
  import { useTranslation } from 'react-i18next';
5
- import { FaPlusCircle } from 'react-icons/fa';
6
5
  import { TableRow } from './NotesTableRow.js';
7
6
  import { NoteForm } from './note-form/NoteForm.js';
7
+ import '../../static/index.js';
8
+ import Icon from '../../static/Icon.js';
8
9
 
9
10
  function _array_like_to_array(arr, len) {
10
11
  if (len == null || len > arr.length) len = arr.length;
@@ -153,9 +154,10 @@ var AddNoteButton = function(param) {
153
154
  children: [
154
155
  t("addNew"),
155
156
  " ",
156
- /*#__PURE__*/ jsx(FaPlusCircle, {
157
- size: 16,
158
- className: "ml-2"
157
+ /*#__PURE__*/ jsx(Icon, {
158
+ className: "ml-2",
159
+ type: "plus-circle",
160
+ width: "1rem"
159
161
  })
160
162
  ]
161
163
  });
@@ -8,10 +8,10 @@ import { capitalize } from 'lodash';
8
8
  import { DateTime } from 'luxon';
9
9
  import { DATE_TIME_FULL_FORMAT, DATE_TIME_FORMAT } from '@licklist/core/dist/Config';
10
10
  import { getClientTimeZone } from '@licklist/core/dist/Services';
11
- import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
12
11
  import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
13
12
  import 'react-bootstrap/PageItem';
14
13
  import '@licklist/plugins/dist/services/Table/PaginationService';
14
+ import '../../static/index.js';
15
15
  import '@licklist/plugins/dist/services/Table/TableService';
16
16
  import 'react-router-dom';
17
17
  import '@licklist/plugins/dist/hooks/Query/useQuery';
@@ -20,6 +20,7 @@ import 'react-loader';
20
20
  import '../../table/utils/index.js';
21
21
  import { MenuButton } from '../../table/MenuButton.js';
22
22
  import '@tanstack/react-table';
23
+ import Icon from '../../static/Icon.js';
23
24
 
24
25
  function _array_like_to_array(arr, len) {
25
26
  if (len == null || len > arr.length) len = arr.length;
@@ -100,8 +101,9 @@ var TableRow = function(param) {
100
101
  children: [
101
102
  /*#__PURE__*/ jsx("span", {
102
103
  className: "btn btn-sm eye",
103
- children: /*#__PURE__*/ jsx(FaEye, {
104
- size: 20
104
+ children: /*#__PURE__*/ jsx(Icon, {
105
+ type: "eye",
106
+ width: "20"
105
107
  })
106
108
  }),
107
109
  /*#__PURE__*/ jsx(OverlayTrigger, {
@@ -129,9 +131,7 @@ var TableRow = function(param) {
129
131
  });
130
132
  },
131
133
  name: t("remove"),
132
- icon: /*#__PURE__*/ jsx(FaTrashAlt, {
133
- size: 12
134
- }),
134
+ icon: "trash-alt",
135
135
  className: "product-set-card-menu-item-text d-flex w-100 align-items-center",
136
136
  rightIcon: true
137
137
  });
@@ -147,7 +147,9 @@ var TableRow = function(param) {
147
147
  e.stopPropagation();
148
148
  setIsOverlayVisible(true);
149
149
  },
150
- children: /*#__PURE__*/ jsx(FaEllipsisH, {})
150
+ children: /*#__PURE__*/ jsx(Icon, {
151
+ type: "ellipsis-h"
152
+ })
151
153
  })
152
154
  })
153
155
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"AdminSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/AdminSettingForm.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAOvF,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAC;AAE9F,OAAO,EAAkB,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,MAAM,MAAM,2BAA2B,GAAG;IACxC,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,IAAI,GAAG,OAAO,CAAC;IAC/B,oBAAoB,EAAE,IAAI,GAAG,OAAO,CAAC;IACrC,+BAA+B,EAAE,IAAI,GAAG,OAAO,CAAC;IAChD,0BAA0B,EAAE,IAAI,GAAG,OAAO,CAAC;CAC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,IAAI,CAAC;IACvD,aAAa,CAAC,EAAE,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,gBAAgB,EAAE;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,YAAY,CAAC,EAAE,cAAc,CAAC;KAC/B,CAAC;CACH;AAED,eAAO,MAAM,gBAAgB,yFAO1B,qBAAqB,4CAwJvB,CAAC"}
@@ -9,7 +9,7 @@ import Row from 'react-bootstrap/Row';
9
9
  import Col from 'react-bootstrap/Col';
10
10
  import { Link } from 'react-router-dom';
11
11
  import HookFormService from '@licklist/plugins/dist/services/Form/HookFormService';
12
- import { FaCommentAlt } from 'react-icons/fa';
12
+ import Icon from '../../static/Icon.js';
13
13
  import { PaymentFeeForm } from './PaymentFeeForm.js';
14
14
 
15
15
  function _define_property(obj, key, value) {
@@ -94,8 +94,11 @@ var AdminSettingForm = function(param) {
94
94
  children: [
95
95
  /*#__PURE__*/ jsx(InputGroup.Prepend, {
96
96
  children: /*#__PURE__*/ jsx(InputGroup.Text, {
97
- children: /*#__PURE__*/ jsx(FaCommentAlt, {
98
- size: 16
97
+ children: /*#__PURE__*/ jsx(Icon, {
98
+ type: "comment-alt",
99
+ style: {
100
+ width: "1rem"
101
+ }
99
102
  })
100
103
  })
101
104
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentFeeForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/PaymentFeeForm.tsx"],"names":[],"mappings":"AAWA,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACpD,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,SAAiB,EAAE,EAAE,mBAAmB,2CAuRxE"}
1
+ {"version":3,"file":"PaymentFeeForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/PaymentFeeForm.tsx"],"names":[],"mappings":"AAWA,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACpD,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,SAAiB,EAAE,EAAE,mBAAmB,2CAgTxE"}