@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.
- package/dist/affiliate/card/AffiliateCard.js +9 -7
- package/dist/auth/AccessDenied/AccessDenied.js +6 -3
- package/dist/auth/Social/SocialFormComponent.d.ts.map +1 -1
- package/dist/auth/Social/SocialFormComponent.js +1 -0
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.js +5 -5
- package/dist/custom-fields/constants.d.ts +2 -2
- package/dist/custom-fields/constants.d.ts.map +1 -1
- package/dist/custom-fields/constants.js +4 -8
- package/dist/custom-fields/field/FieldItem.d.ts +1 -2
- package/dist/custom-fields/field/FieldItem.d.ts.map +1 -1
- package/dist/custom-fields/field/FieldItem.js +6 -1
- package/dist/custom-fields/forms/DropdownForm.js +9 -5
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -2
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.js +4 -3
- package/dist/events/event-card/EventCard.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.js +16 -6
- package/dist/events/event-statistic-modal/EventStatisticModal.js +5 -3
- package/dist/events/event-venue-map/components/ZoomButtons/ZoomButtons.js +6 -3
- package/dist/file-upload/FilePreview.js +11 -6
- package/dist/help/popover/HelpPopover.js +6 -3
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts.map +1 -1
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.js +9 -6
- package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.d.ts.map +1 -1
- package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.js +11 -7
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +8 -9
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +5 -2
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +5 -2
- package/dist/iframe/order-process/components/NavigationFooter/NavigationFooter.js +8 -3
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.js +5 -2
- package/dist/iframe/order-process/components/Timer/Timer.js +5 -2
- package/dist/iframe/payment/order-items-table/OrderItemsTable.js +2 -1
- package/dist/iframe/payment/payment-form/PaymentForm.js +2 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/index.js +1 -1
- package/dist/modals/confirmation/ConfirmModal.js +4 -3
- package/dist/modals/fullscreen/FullscreenModal.js +4 -3
- package/dist/notification/email-template/card/EmailTemplateCard.js +8 -3
- package/dist/notification/sms-template/card/SmsTemplateCard.js +8 -3
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +9 -7
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +5 -3
- package/dist/product-set/control/DateInput.js +5 -3
- package/dist/product-set/control/ProductSetRecurrenceControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetRecurrenceControl.js +8 -5
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.js +8 -5
- package/dist/product-set/control/TutorialGifCard.d.ts.map +1 -1
- package/dist/product-set/control/TutorialGifCard.js +10 -6
- package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
- package/dist/product-set/elements/DeleteFieldButton.js +4 -3
- package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +2 -2
- package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
- package/dist/product-set/form/SelectCategoryModal.js +23 -30
- package/dist/product-set/form/SubProductsControl.js +1 -1
- package/dist/product-set/item/CreateProductSetItem.d.ts.map +1 -1
- package/dist/product-set/item/CreateProductSetItem.js +6 -3
- package/dist/product-set/popover/ProductSetPopover.js +5 -3
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +4 -3
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +4 -3
- package/dist/product-set/product/deposit/ProductDepositControl.js +4 -3
- package/dist/product-set/product/price/ProductPriceControl.js +4 -3
- package/dist/report/card/ReportCard.d.ts +2 -1
- package/dist/report/card/ReportCard.d.ts.map +1 -1
- package/dist/report/card/ReportCard.js +16 -6
- package/dist/sales/booking/results/components/ResultCard.js +5 -4
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +6 -3
- package/dist/sales/modals/payment-modal/PaymentModal.js +4 -3
- package/dist/sales/modals/refund-modal/RefundModal.js +4 -3
- package/dist/sales/notes/NotesTable.d.ts.map +1 -1
- package/dist/sales/notes/NotesTable.js +6 -4
- package/dist/sales/notes/NotesTableRow.js +9 -7
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.js +6 -3
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.js +26 -11
- package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
- package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/ProviderSettingForm.js +6 -3
- package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.js +5 -2
- package/dist/setting/dashboard/snippets/card/SnippetCard.js +9 -7
- package/dist/sidebar/elements/ReturnBack.js +5 -2
- package/dist/slide-curtain/SlideCurtain.d.ts.map +1 -1
- package/dist/slide-curtain/SlideCurtain.js +4 -3
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/snippet/snippet-template/settings/SettingButton.js +6 -3
- package/dist/sortable-list/CreateSortableListItem.d.ts.map +1 -1
- package/dist/sortable-list/CreateSortableListItem.js +6 -3
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +10 -6
- package/dist/static/Icon.d.ts +13 -0
- package/dist/static/Icon.d.ts.map +1 -0
- package/dist/static/Icon.js +22 -0
- package/dist/static/RestrictedAccess.js +4 -3
- package/dist/static/SocialButton.d.ts +1 -0
- package/dist/static/SocialButton.d.ts.map +1 -1
- package/dist/static/SocialButton.js +10 -7
- package/dist/static/UserBadge.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.js +5 -3
- package/dist/static/index.d.ts +1 -0
- package/dist/static/index.d.ts.map +1 -1
- package/dist/static/index.js +1 -1
- package/dist/static/number-input/NumberInput.js +7 -5
- package/dist/striped-static-table/StripedStaticTable.js +2 -1
- package/dist/table/MenuButton.d.ts +3 -3
- package/dist/table/MenuButton.d.ts.map +1 -1
- package/dist/table/MenuButton.js +8 -3
- package/dist/table/PaginationHelperComponent.d.ts.map +1 -1
- package/dist/table/PaginationHelperComponent.js +8 -5
- package/dist/tiptap-editor/TipTapMenu/TipTapMenu.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/TipTapMenu.js +16 -17
- package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts +3 -3
- package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.js +8 -2
- package/dist/venue-map-sets/card/VenueMapSetCard.js +9 -7
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.js +8 -5
- package/dist/venue-map-sets/form/components/VenueMapModal.js +4 -3
- package/dist/zone/card/ZoneCard.js +9 -7
- package/dist/zone/form/components/ZoneRecurrenceControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrenceControl.js +8 -5
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.js +5 -3
- package/package.json +5 -4
- package/src/affiliate/card/AffiliateCard.tsx +4 -4
- package/src/auth/AccessDenied/AccessDenied.tsx +2 -2
- package/src/auth/Social/SocialFormComponent.tsx +1 -0
- package/src/collapsible-input-group/CollapsibleInputGroup.tsx +4 -7
- package/src/custom-fields/{constants.tsx → constants.ts} +2 -3
- package/src/custom-fields/field/FieldItem.tsx +3 -4
- package/src/custom-fields/forms/DropdownForm.tsx +3 -3
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +2 -2
- package/src/events/event-card/EventCard.tsx +6 -13
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +2 -2
- package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +2 -2
- package/src/file-upload/FilePreview.tsx +8 -4
- package/src/header/Header.stories.tsx +2 -1
- package/src/help/popover/HelpPopover.tsx +2 -2
- package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +9 -4
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +4 -5
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +15 -11
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +2 -2
- package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +2 -2
- package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +3 -3
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +2 -2
- package/src/iframe/order-process/components/Timer/Timer.tsx +2 -2
- package/src/image-radio-input/ImageRadioInput.stories.tsx +3 -3
- package/src/modals/confirmation/ConfirmModal.tsx +2 -2
- package/src/modals/fullscreen/FullscreenModal.tsx +2 -2
- package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -3
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -3
- package/src/product-set/card/ProductSetCard.tsx +5 -4
- package/src/product-set/control/DateAndRecurrenceInput.tsx +4 -3
- package/src/product-set/control/DateInput.tsx +4 -4
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +7 -6
- package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +8 -5
- package/src/product-set/control/TutorialGifCard.tsx +12 -5
- package/src/product-set/elements/DeleteFieldButton.tsx +2 -2
- package/src/product-set/form/MobileFooter.tsx +36 -6
- package/src/product-set/form/ProductSetForm.tsx +1 -1
- package/src/product-set/form/SelectCategoryModal.tsx +19 -24
- package/src/product-set/item/CreateProductSetItem.tsx +7 -2
- package/src/product-set/popover/ProductSetPopover.tsx +2 -2
- package/src/product-set/product/ProductControl.tsx +5 -2
- package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -2
- package/src/product-set/product/deposit/ProductDepositControl.tsx +2 -2
- package/src/product-set/product/price/ProductPriceControl.tsx +2 -2
- package/src/report/card/ReportCard.tsx +10 -0
- package/src/sales/booking/results/components/ResultCard.tsx +2 -2
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +9 -3
- package/src/sales/modals/payment-modal/PaymentModal.tsx +2 -2
- package/src/sales/modals/refund-modal/RefundModal.tsx +2 -2
- package/src/sales/notes/NotesTable.tsx +2 -2
- package/src/sales/notes/NotesTableRow.tsx +4 -4
- package/src/setting/admin/AdminSettingForm.tsx +7 -2
- package/src/setting/admin/PaymentFeeForm.tsx +32 -7
- package/src/setting/dashboard/FinancialDataForm.tsx +19 -4
- package/src/setting/dashboard/ProviderSettingForm.tsx +7 -2
- package/src/setting/dashboard/components/IpInput.tsx +2 -2
- package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +2 -2
- package/src/setting/dashboard/snippets/card/SnippetCard.tsx +4 -4
- package/src/sidebar/elements/ReturnBack.tsx +2 -2
- package/src/slide-curtain/SlideCurtain.tsx +6 -2
- package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
- package/src/sortable-list/CreateSortableListItem.tsx +7 -2
- package/src/sortable-tree/SortableTreeItem.tsx +5 -4
- package/src/static/Icon.tsx +37 -0
- package/src/static/RestrictedAccess.tsx +2 -2
- package/src/static/SocialButton.tsx +5 -4
- package/src/static/Static.stories.tsx +2 -2
- package/src/static/UserBadge.tsx +6 -2
- package/src/static/date-range-input/DateRangeInput.tsx +6 -2
- package/src/static/index.ts +1 -0
- package/src/static/number-input/NumberInput.tsx +3 -3
- package/src/table/MenuButton.tsx +8 -4
- package/src/table/PaginationHelperComponent.tsx +4 -3
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +16 -24
- package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +7 -4
- package/src/venue-map-sets/card/VenueMapSetCard.tsx +4 -4
- package/src/venue-map-sets/form/components/VenueMapControl.tsx +8 -3
- package/src/venue-map-sets/form/components/VenueMapModal.tsx +2 -2
- package/src/zone/card/ZoneCard.tsx +4 -4
- package/src/zone/form/components/ZoneRecurrenceControl.tsx +11 -3
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +6 -2
- package/yarn.lock +127 -114
|
@@ -7,8 +7,8 @@ import InputGroup from 'react-bootstrap/InputGroup';
|
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import { useFormContext } from 'react-hook-form';
|
|
9
9
|
import { useTranslation } from 'react-i18next';
|
|
10
|
-
import { FaPercentage, FaPoundSign } from 'react-icons/fa';
|
|
11
10
|
import '../../static/index.js';
|
|
11
|
+
import Icon from '../../static/Icon.js';
|
|
12
12
|
import WarningMessage from '../../static/WarningMessage.js';
|
|
13
13
|
|
|
14
14
|
function _define_property(obj, key, value) {
|
|
@@ -118,8 +118,11 @@ function PaymentFeeForm(param) {
|
|
|
118
118
|
children: [
|
|
119
119
|
/*#__PURE__*/ jsx(InputGroup.Prepend, {
|
|
120
120
|
children: /*#__PURE__*/ jsx(InputGroup.Text, {
|
|
121
|
-
children: /*#__PURE__*/ jsx(
|
|
122
|
-
|
|
121
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
122
|
+
type: "percentage",
|
|
123
|
+
style: {
|
|
124
|
+
width: ".7rem"
|
|
125
|
+
}
|
|
123
126
|
})
|
|
124
127
|
})
|
|
125
128
|
}),
|
|
@@ -181,8 +184,11 @@ function PaymentFeeForm(param) {
|
|
|
181
184
|
children: [
|
|
182
185
|
/*#__PURE__*/ jsx(InputGroup.Prepend, {
|
|
183
186
|
children: /*#__PURE__*/ jsx(InputGroup.Text, {
|
|
184
|
-
children: /*#__PURE__*/ jsx(
|
|
185
|
-
|
|
187
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
188
|
+
type: "pound-sign",
|
|
189
|
+
style: {
|
|
190
|
+
width: ".7rem"
|
|
191
|
+
}
|
|
186
192
|
})
|
|
187
193
|
})
|
|
188
194
|
}),
|
|
@@ -240,8 +246,11 @@ function PaymentFeeForm(param) {
|
|
|
240
246
|
children: [
|
|
241
247
|
/*#__PURE__*/ jsx(InputGroup.Prepend, {
|
|
242
248
|
children: /*#__PURE__*/ jsx(InputGroup.Text, {
|
|
243
|
-
children: /*#__PURE__*/ jsx(
|
|
244
|
-
|
|
249
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
250
|
+
type: "pound-sign",
|
|
251
|
+
style: {
|
|
252
|
+
width: ".7rem"
|
|
253
|
+
}
|
|
245
254
|
})
|
|
246
255
|
})
|
|
247
256
|
}),
|
|
@@ -311,8 +320,11 @@ function PaymentFeeForm(param) {
|
|
|
311
320
|
children: [
|
|
312
321
|
/*#__PURE__*/ jsx(InputGroup.Prepend, {
|
|
313
322
|
children: /*#__PURE__*/ jsx(InputGroup.Text, {
|
|
314
|
-
children: /*#__PURE__*/ jsx(
|
|
315
|
-
|
|
323
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
324
|
+
type: "percentage",
|
|
325
|
+
style: {
|
|
326
|
+
width: ".7rem"
|
|
327
|
+
}
|
|
316
328
|
})
|
|
317
329
|
})
|
|
318
330
|
}),
|
|
@@ -369,8 +381,11 @@ function PaymentFeeForm(param) {
|
|
|
369
381
|
children: [
|
|
370
382
|
/*#__PURE__*/ jsx(InputGroup.Prepend, {
|
|
371
383
|
children: /*#__PURE__*/ jsx(InputGroup.Text, {
|
|
372
|
-
children: /*#__PURE__*/ jsx(
|
|
373
|
-
|
|
384
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
385
|
+
type: "pound-sign",
|
|
386
|
+
style: {
|
|
387
|
+
width: ".7rem"
|
|
388
|
+
}
|
|
374
389
|
})
|
|
375
390
|
})
|
|
376
391
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinancialDataForm.d.ts","sourceRoot":"","sources":["../../../src/setting/dashboard/FinancialDataForm.tsx"],"names":[],"mappings":"AASA,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;CACvD,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAChC,SAAiB,GAClB,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"FinancialDataForm.d.ts","sourceRoot":"","sources":["../../../src/setting/dashboard/FinancialDataForm.tsx"],"names":[],"mappings":"AASA,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;CACvD,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAChC,SAAiB,GAClB,EAAE,sBAAsB,2CA4IxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/dashboard/ProviderSettingForm.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,8BAA8B,GAAG;IAC3C,0BAA0B,EAAE,MAAM,CAAC;IACnC,yBAAyB,EAAE,MAAM,CAAC;IAClC,wBAAwB,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC,8BAA8B,CAAC,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,mBAE7B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"ProviderSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/dashboard/ProviderSettingForm.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,8BAA8B,GAAG;IAC3C,0BAA0B,EAAE,MAAM,CAAC;IACnC,yBAAyB,EAAE,MAAM,CAAC;IAClC,wBAAwB,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC,8BAA8B,CAAC,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,mBAE7B,wBAAwB,4CA8K1B,CAAC"}
|
|
@@ -7,7 +7,7 @@ import InputGroup from 'react-bootstrap/InputGroup';
|
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import { useFormContext } from 'react-hook-form';
|
|
9
9
|
import { useTranslation } from 'react-i18next';
|
|
10
|
-
import
|
|
10
|
+
import Icon from '../../static/Icon.js';
|
|
11
11
|
|
|
12
12
|
function _define_property(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
@@ -106,8 +106,11 @@ var ProviderSettingForm = function(param) {
|
|
|
106
106
|
children: [
|
|
107
107
|
/*#__PURE__*/ jsx(InputGroup.Prepend, {
|
|
108
108
|
children: /*#__PURE__*/ jsx(InputGroup.Text, {
|
|
109
|
-
children: /*#__PURE__*/ jsx(
|
|
110
|
-
|
|
109
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
110
|
+
type: "phone",
|
|
111
|
+
style: {
|
|
112
|
+
width: "1rem"
|
|
113
|
+
}
|
|
111
114
|
})
|
|
112
115
|
})
|
|
113
116
|
}),
|
|
@@ -1,7 +1,8 @@
|
|
|
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
|
|
4
|
+
import '../../../../static/index.js';
|
|
5
|
+
import Icon from '../../../../static/Icon.js';
|
|
5
6
|
|
|
6
7
|
function SnippetTemplateCard(param) {
|
|
7
8
|
var name = param.name, _param_colors = param.colors, colors = _param_colors === void 0 ? [] : _param_colors, href = param.href, onRemove = param.onRemove, _param_hasPermission = param.hasPermission, hasPermission = _param_hasPermission === void 0 ? true : _param_hasPermission, _param_isDefault = param.isDefault, isDefault = _param_isDefault === void 0 ? false : _param_isDefault;
|
|
@@ -20,7 +21,9 @@ function SnippetTemplateCard(param) {
|
|
|
20
21
|
type: "button",
|
|
21
22
|
className: "snippet-template-card-button",
|
|
22
23
|
onClick: onRemove,
|
|
23
|
-
children: /*#__PURE__*/ jsx(
|
|
24
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
25
|
+
type: "trash-alt"
|
|
26
|
+
})
|
|
24
27
|
})
|
|
25
28
|
]
|
|
26
29
|
}),
|
|
@@ -5,9 +5,9 @@ import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { OverlayTrigger, Popover, ListGroup } from 'react-bootstrap';
|
|
7
7
|
import { useId } from '@react-aria/utils';
|
|
8
|
-
import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
|
|
9
8
|
import 'react-bootstrap/PageItem';
|
|
10
9
|
import '@licklist/plugins/dist/services/Table/PaginationService';
|
|
10
|
+
import '../../../../static/index.js';
|
|
11
11
|
import '@licklist/plugins/dist/services/Table/TableService';
|
|
12
12
|
import 'react-router-dom';
|
|
13
13
|
import 'lodash';
|
|
@@ -17,6 +17,7 @@ import '../../../../table/utils/index.js';
|
|
|
17
17
|
import { MenuButton } from '../../../../table/MenuButton.js';
|
|
18
18
|
import '@tanstack/react-table';
|
|
19
19
|
import { ConfirmModal } from '../../../../modals/confirmation/ConfirmModal.js';
|
|
20
|
+
import Icon from '../../../../static/Icon.js';
|
|
20
21
|
|
|
21
22
|
function _array_like_to_array(arr, len) {
|
|
22
23
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -96,9 +97,10 @@ function SnippetCard(param) {
|
|
|
96
97
|
}),
|
|
97
98
|
/*#__PURE__*/ jsx("div", {
|
|
98
99
|
className: "product-set-card-menu-eye-container",
|
|
99
|
-
children: /*#__PURE__*/ jsx(
|
|
100
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
101
|
+
type: "eye",
|
|
100
102
|
color: "#0E8CE2",
|
|
101
|
-
|
|
103
|
+
width: "20"
|
|
102
104
|
})
|
|
103
105
|
}),
|
|
104
106
|
/*#__PURE__*/ jsx(OverlayTrigger, {
|
|
@@ -124,9 +126,7 @@ function SnippetCard(param) {
|
|
|
124
126
|
confirm(onRemove);
|
|
125
127
|
},
|
|
126
128
|
name: t("remove"),
|
|
127
|
-
icon:
|
|
128
|
-
size: 12
|
|
129
|
-
}),
|
|
129
|
+
icon: "trash-alt",
|
|
130
130
|
className: "product-set-card-menu-item-text d-flex w-100 align-items-center",
|
|
131
131
|
rightIcon: true
|
|
132
132
|
});
|
|
@@ -143,7 +143,9 @@ function SnippetCard(param) {
|
|
|
143
143
|
e.stopPropagation();
|
|
144
144
|
setIsOverlayVisible(true);
|
|
145
145
|
},
|
|
146
|
-
children: /*#__PURE__*/ jsx(
|
|
146
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
147
|
+
type: "ellipsis-h"
|
|
148
|
+
})
|
|
147
149
|
})
|
|
148
150
|
})
|
|
149
151
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { Button } from 'react-bootstrap';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import
|
|
4
|
+
import Icon from '../../static/Icon.js';
|
|
5
5
|
|
|
6
6
|
function ReturnBack(param) {
|
|
7
7
|
var onClick = param.onClick;
|
|
@@ -14,7 +14,10 @@ function ReturnBack(param) {
|
|
|
14
14
|
onClick: onClick,
|
|
15
15
|
variant: "outline-primary",
|
|
16
16
|
children: [
|
|
17
|
-
/*#__PURE__*/ jsx(
|
|
17
|
+
/*#__PURE__*/ jsx(Icon, {
|
|
18
|
+
type: "chevron-left",
|
|
19
|
+
height: "1rem"
|
|
20
|
+
}),
|
|
18
21
|
/*#__PURE__*/ jsx("span", {
|
|
19
22
|
className: "sidebar-return-back__title",
|
|
20
23
|
children: t("backToCompany")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideCurtain.d.ts","sourceRoot":"","sources":["../../src/slide-curtain/SlideCurtain.tsx"],"names":[],"mappings":"AAMA,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE;;CAAA,
|
|
1
|
+
{"version":3,"file":"SlideCurtain.d.ts","sourceRoot":"","sources":["../../src/slide-curtain/SlideCurtain.tsx"],"names":[],"mappings":"AAMA,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE;;CAAA,2CAyDxC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { FaEllipsisH } from 'react-icons/fa';
|
|
4
3
|
import { useSwipeable } from 'react-swipeable';
|
|
4
|
+
import Icon from '../static/Icon.js';
|
|
5
5
|
|
|
6
6
|
function _array_like_to_array(arr, len) {
|
|
7
7
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -146,8 +146,9 @@ function SlideCurtain(param) {
|
|
|
146
146
|
className: "slide-form__swipe-trigger"
|
|
147
147
|
}, handlers), {
|
|
148
148
|
ref: passRefToSwieable,
|
|
149
|
-
children: /*#__PURE__*/ jsx(
|
|
150
|
-
|
|
149
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
150
|
+
type: "ellipsis-h",
|
|
151
|
+
height: "1.5rem",
|
|
151
152
|
className: "slide-form__swipe-trigger__icon"
|
|
152
153
|
})
|
|
153
154
|
})),
|
|
@@ -16,8 +16,8 @@ import { NavigationSteps } from '../../../iframe/order-process/components/Naviga
|
|
|
16
16
|
import { Page } from '../../../iframe/page/Page.js';
|
|
17
17
|
import { PageBody } from '../../../iframe/page/components/PageBody/PageBody.js';
|
|
18
18
|
import { PageHeader } from '../../../iframe/page/components/PageHeader/PageHeader.js';
|
|
19
|
-
import 'react-icons/fa';
|
|
20
19
|
import 'react-swipeable';
|
|
20
|
+
import '../../../static/Icon.js';
|
|
21
21
|
import 'react-bootstrap/Button';
|
|
22
22
|
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
23
23
|
import '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import Button from 'react-bootstrap/Button';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import
|
|
4
|
+
import Icon from '../../../static/Icon.js';
|
|
5
5
|
|
|
6
6
|
var SettingButton = function(param) {
|
|
7
7
|
var view = param.view, onClick = param.onClick, children = param.children, className = param.className, containerClassName = param.containerClassName;
|
|
@@ -16,8 +16,11 @@ var SettingButton = function(param) {
|
|
|
16
16
|
onClick: function() {
|
|
17
17
|
return onClick(view);
|
|
18
18
|
},
|
|
19
|
-
children: /*#__PURE__*/ jsx(
|
|
20
|
-
|
|
19
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
20
|
+
type: "cog",
|
|
21
|
+
style: {
|
|
22
|
+
width: 16
|
|
23
|
+
}
|
|
21
24
|
})
|
|
22
25
|
})
|
|
23
26
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSortableListItem.d.ts","sourceRoot":"","sources":["../../src/sortable-list/CreateSortableListItem.tsx"],"names":[],"mappings":"AAEA,UAAU,2BAA2B;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,KAAK,GACN,EAAE,2BAA2B,
|
|
1
|
+
{"version":3,"file":"CreateSortableListItem.d.ts","sourceRoot":"","sources":["../../src/sortable-list/CreateSortableListItem.tsx"],"names":[],"mappings":"AAEA,UAAU,2BAA2B;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,KAAK,GACN,EAAE,2BAA2B,2CAgB7B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import '../static/index.js';
|
|
3
|
+
import Icon from '../static/Icon.js';
|
|
3
4
|
|
|
4
5
|
function CreateSortableListItem(param) {
|
|
5
6
|
var onClick = param.onClick, title = param.title;
|
|
@@ -11,8 +12,10 @@ function CreateSortableListItem(param) {
|
|
|
11
12
|
/*#__PURE__*/ jsx("span", {
|
|
12
13
|
children: title
|
|
13
14
|
}),
|
|
14
|
-
/*#__PURE__*/ jsx(
|
|
15
|
-
|
|
15
|
+
/*#__PURE__*/ jsx(Icon, {
|
|
16
|
+
type: "plus",
|
|
17
|
+
height: "2rem",
|
|
18
|
+
width: "2rem",
|
|
16
19
|
className: "rounded sortable-list-item-icon p-2"
|
|
17
20
|
})
|
|
18
21
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortableTreeItem.d.ts","sourceRoot":"","sources":["../../src/sortable-tree/SortableTreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SortableTreeItem.d.ts","sourceRoot":"","sources":["../../src/sortable-tree/SortableTreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAC;AAkBpE,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AAEX,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAEvE,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,0BAA0B,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAClC,cAAc,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,UAAkB,EAClB,SAAiB,EACjB,cAAqB,EACrB,iBAAsB,EACtB,UAAe,EACf,UAAU,EACV,UAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,cAAc,EACd,IAAI,EACJ,cAAc,EACd,aAAa,EACb,UAAU,GACX,EAAE,qBAAqB,2CAgTvB"}
|
|
@@ -6,8 +6,8 @@ import { CSS } from '@dnd-kit/utilities';
|
|
|
6
6
|
import { Button, Collapse, Modal } from 'react-bootstrap';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import { FaMinus, FaGripVertical, FaEllipsisH } from 'react-icons/fa';
|
|
10
9
|
import { ConfirmModal } from '../modals/confirmation/ConfirmModal.js';
|
|
10
|
+
import Icon from '../static/Icon.js';
|
|
11
11
|
import { DeleteFieldButton } from '../product-set/elements/DeleteFieldButton.js';
|
|
12
12
|
|
|
13
13
|
function _array_like_to_array(arr, len) {
|
|
@@ -364,8 +364,9 @@ function SortableTreeItem(param) {
|
|
|
364
364
|
size: "sm",
|
|
365
365
|
onMouseDown: onButtonMouseDown,
|
|
366
366
|
onMouseUp: onHandleExpand,
|
|
367
|
-
children: expanded ? /*#__PURE__*/ jsx(
|
|
368
|
-
|
|
367
|
+
children: expanded ? /*#__PURE__*/ jsx(Icon, {
|
|
368
|
+
type: "minus",
|
|
369
|
+
width: ".7rem"
|
|
369
370
|
}) : /*#__PURE__*/ jsxs("div", {
|
|
370
371
|
className: "expand-icon-container",
|
|
371
372
|
children: [
|
|
@@ -408,7 +409,9 @@ function SortableTreeItem(param) {
|
|
|
408
409
|
variant: "link",
|
|
409
410
|
className: "sortable-tree-item-handle"
|
|
410
411
|
}, attributes, listeners), {
|
|
411
|
-
children: /*#__PURE__*/ jsx(
|
|
412
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
413
|
+
type: "grip-vertical"
|
|
414
|
+
})
|
|
412
415
|
})),
|
|
413
416
|
/*#__PURE__*/ jsxs(Button, {
|
|
414
417
|
className: "sortable-tree-item-toggle",
|
|
@@ -443,9 +446,10 @@ function SortableTreeItem(param) {
|
|
|
443
446
|
onKeyDown: function(e) {
|
|
444
447
|
return e.stopPropagation();
|
|
445
448
|
},
|
|
446
|
-
children: /*#__PURE__*/ jsx(
|
|
449
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
450
|
+
type: "ellipsis-h",
|
|
447
451
|
color: "#0E8CE2",
|
|
448
|
-
|
|
452
|
+
height: "1rem"
|
|
449
453
|
})
|
|
450
454
|
})
|
|
451
455
|
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
import { CSSProperties } from "react";
|
|
3
|
+
type Props = {
|
|
4
|
+
type: IconProp | string | [string, string];
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
color?: string;
|
|
7
|
+
height?: string;
|
|
8
|
+
width?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
declare function Icon(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default Icon;
|
|
13
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/static/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,QAAQ,EAAW,MAAM,mCAAmC,CAAC;AAI9E,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAOtC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,IAAI,CAAC,KAAK,EAAE,KAAK,2CAazB;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { config, library } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
import { fab } from '@fortawesome/free-brands-svg-icons';
|
|
4
|
+
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
5
|
+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
6
|
+
|
|
7
|
+
config.autoAddCss = false;
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
library.add(fas, fab);
|
|
10
|
+
function Icon(props) {
|
|
11
|
+
var type = props.type, style = props.style, color = props.color, height = props.height, width = props.width, className = props.className;
|
|
12
|
+
return /*#__PURE__*/ jsx(FontAwesomeIcon, {
|
|
13
|
+
icon: type,
|
|
14
|
+
style: style,
|
|
15
|
+
color: color,
|
|
16
|
+
height: height,
|
|
17
|
+
width: width,
|
|
18
|
+
className: className
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { Icon as default };
|
|
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Button } from 'react-bootstrap';
|
|
3
3
|
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import
|
|
5
|
+
import Icon from './Icon.js';
|
|
6
6
|
|
|
7
7
|
function RestrictedAccess() {
|
|
8
8
|
var t = useTranslation("Design").t;
|
|
@@ -14,8 +14,9 @@ function RestrictedAccess() {
|
|
|
14
14
|
onClick: function() {
|
|
15
15
|
return RouteService.goBack();
|
|
16
16
|
},
|
|
17
|
-
children: /*#__PURE__*/ jsx(
|
|
18
|
-
|
|
17
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
18
|
+
type: "arrow-left",
|
|
19
|
+
width: "25"
|
|
19
20
|
})
|
|
20
21
|
}),
|
|
21
22
|
/*#__PURE__*/ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialButton.d.ts","sourceRoot":"","sources":["../../src/static/SocialButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,iBAAS,YAAY,CAAC,KAAK,EAAE,KAAK,2CA8BjC;AAED,eAAe,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"SocialButton.d.ts","sourceRoot":"","sources":["../../src/static/SocialButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,iBAAS,YAAY,CAAC,KAAK,EAAE,KAAK,2CA8BjC;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import Icon from './Icon.js';
|
|
3
3
|
|
|
4
4
|
function SocialButton(props) {
|
|
5
|
-
var children = props.children, className = props.className, onClick = props.onClick, type = props.type, disabled = props.disabled;
|
|
5
|
+
var children = props.children, className = props.className, onClick = props.onClick, type = props.type, icon = props.icon, disabled = props.disabled;
|
|
6
6
|
var defaultType = "twitter";
|
|
7
|
+
var defaultIcon = "twitter";
|
|
7
8
|
var handleClick = function() {
|
|
8
9
|
if (onClick) {
|
|
9
10
|
onClick();
|
|
@@ -20,12 +21,14 @@ function SocialButton(props) {
|
|
|
20
21
|
].join(" "),
|
|
21
22
|
onClick: handleClick,
|
|
22
23
|
children: [
|
|
23
|
-
/*#__PURE__*/
|
|
24
|
+
/*#__PURE__*/ jsx("span", {
|
|
24
25
|
className: "separator",
|
|
25
|
-
children:
|
|
26
|
-
type
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
27
|
+
type: [
|
|
28
|
+
"fab",
|
|
29
|
+
icon !== null && icon !== void 0 ? icon : defaultIcon
|
|
30
|
+
]
|
|
31
|
+
})
|
|
29
32
|
}),
|
|
30
33
|
children
|
|
31
34
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserBadge.d.ts","sourceRoot":"","sources":["../../src/static/UserBadge.tsx"],"names":[],"mappings":"AAKA,UAAU,cAAc;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,OAAO,EACP,SAAc,GACf,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"UserBadge.d.ts","sourceRoot":"","sources":["../../src/static/UserBadge.tsx"],"names":[],"mappings":"AAKA,UAAU,cAAc;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,OAAO,EACP,SAAc,GACf,EAAE,cAAc,2CA2BhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangeInput.d.ts","sourceRoot":"","sources":["../../../src/static/date-range-input/DateRangeInput.tsx"],"names":[],"mappings":"AAeA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,yCAAyC,CAAC;AAIjD,KAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC1E,CAAC;AAEF,eAAO,MAAM,cAAc,yEAOxB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DateRangeInput.d.ts","sourceRoot":"","sources":["../../../src/static/date-range-input/DateRangeInput.tsx"],"names":[],"mappings":"AAeA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,yCAAyC,CAAC;AAIjD,KAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC1E,CAAC;AAEF,eAAO,MAAM,cAAc,yEAOxB,mBAAmB,4CA8HrB,CAAC"}
|
|
@@ -5,11 +5,12 @@ import { DateRange } from 'react-date-range';
|
|
|
5
5
|
import { useClickAway } from 'react-use';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import { useId } from '@react-aria/utils';
|
|
8
|
-
import
|
|
8
|
+
import '../index.js';
|
|
9
9
|
import { stringDatesToJSDates, stringDatesToInputValue, rangeDatesToStringDates } from './utils/index.js';
|
|
10
10
|
import { MOBILE_WIDTH } from '../../iframe/order-process/components/BookingSummary/types/index.js';
|
|
11
11
|
import 'react-date-range/dist/styles.css';
|
|
12
12
|
import 'react-date-range/dist/theme/default.css';
|
|
13
|
+
import Icon from '../Icon.js';
|
|
13
14
|
|
|
14
15
|
function _array_like_to_array(arr, len) {
|
|
15
16
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -248,8 +249,9 @@ var DateRangeInput = function(param) {
|
|
|
248
249
|
endDate: endDate
|
|
249
250
|
})
|
|
250
251
|
}),
|
|
251
|
-
/*#__PURE__*/ jsx(
|
|
252
|
-
|
|
252
|
+
/*#__PURE__*/ jsx(Icon, {
|
|
253
|
+
type: "calendar",
|
|
254
|
+
height: "1rem",
|
|
253
255
|
className: "date-range-input-icon"
|
|
254
256
|
})
|
|
255
257
|
]
|
package/dist/static/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from "./text-expand";
|
|
|
7
7
|
export { Tabs } from "./tabs";
|
|
8
8
|
export { default as CountrySelect } from "./CountrySelect";
|
|
9
9
|
export { default as FormCard } from "./FormCard";
|
|
10
|
+
export { default as Icon } from "./Icon";
|
|
10
11
|
export { default as Image } from "./Image";
|
|
11
12
|
export { default as SocialButton } from "./SocialButton";
|
|
12
13
|
export { default as StyledButton } from "./StyledButton";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/static/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/static/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,cAAc,qBAAqB,CAAC"}
|
package/dist/static/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import 'react-loader';
|
|
|
9
9
|
import 'react-i18next';
|
|
10
10
|
import '@licklist/plugins/dist/hooks/Media/useWindowDimensions';
|
|
11
11
|
import 'clsx';
|
|
12
|
-
|
|
12
|
+
export { default as Icon } from './Icon.js';
|
|
13
13
|
import 'framer-motion';
|
|
14
14
|
export { Tabs } from './tabs/Tabs.js';
|
|
15
15
|
import 'react-bootstrap/Form';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { FormControl } from 'react-bootstrap';
|
|
4
|
-
import
|
|
4
|
+
import Icon from '../Icon.js';
|
|
5
5
|
|
|
6
6
|
function NumberInput(param) {
|
|
7
7
|
var _param_disabled = param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className, value = param.value, onChange = param.onChange, onArrowDown = param.onArrowDown, onArrowUp = param.onArrowUp, min = param.min, max = param.max, defaultValue = param.defaultValue;
|
|
@@ -42,8 +42,9 @@ function NumberInput(param) {
|
|
|
42
42
|
onClick: handleArrowUpClick,
|
|
43
43
|
className: "licklist-number-input__btn-up",
|
|
44
44
|
disabled: disabled,
|
|
45
|
-
children: /*#__PURE__*/ jsx(
|
|
46
|
-
|
|
45
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
46
|
+
type: "chevron-up",
|
|
47
|
+
width: "1rem"
|
|
47
48
|
})
|
|
48
49
|
}),
|
|
49
50
|
/*#__PURE__*/ jsx("button", {
|
|
@@ -51,8 +52,9 @@ function NumberInput(param) {
|
|
|
51
52
|
onClick: handleArrowDownClick,
|
|
52
53
|
className: "licklist-number-input__btn-down",
|
|
53
54
|
disabled: disabled,
|
|
54
|
-
children: /*#__PURE__*/ jsx(
|
|
55
|
-
|
|
55
|
+
children: /*#__PURE__*/ jsx(Icon, {
|
|
56
|
+
type: "chevron-down",
|
|
57
|
+
width: "1rem"
|
|
56
58
|
})
|
|
57
59
|
})
|
|
58
60
|
]
|
|
@@ -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 '
|
|
8
|
+
import '../static/index.js';
|
|
9
9
|
import '@licklist/plugins/dist/services/Table/TableService';
|
|
10
10
|
import { StaticTable } from '../table/StaticTable.js';
|
|
11
11
|
import 'react-router-dom';
|
|
@@ -14,6 +14,7 @@ import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
|
14
14
|
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
15
15
|
import 'react-loader';
|
|
16
16
|
import '../table/utils/index.js';
|
|
17
|
+
import '../static/Icon.js';
|
|
17
18
|
import '@tanstack/react-table';
|
|
18
19
|
|
|
19
20
|
function _array_like_to_array(arr, len) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
2
1
|
export type MenuButtonProps = {
|
|
3
2
|
onClick?: () => void;
|
|
4
3
|
leftIcon?: boolean;
|
|
5
4
|
rightIcon?: boolean;
|
|
6
5
|
name: string;
|
|
7
6
|
className?: string;
|
|
8
|
-
icon?:
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconWidth?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const MenuButton: ({ onClick, name, className, icon, leftIcon, rightIcon, }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const MenuButton: ({ onClick, name, className, icon, leftIcon, rightIcon, iconWidth, }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=MenuButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/table/MenuButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/table/MenuButton.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,UAAU,wEAQpB,eAAe,4CA0BjB,CAAC"}
|