@licklist/design 0.66.7-dev.9 → 0.66.8-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 +7 -9
- package/dist/auth/AccessDenied/AccessDenied.js +3 -6
- package/dist/auth/Social/SocialFormComponent.d.ts.map +1 -1
- package/dist/auth/Social/SocialFormComponent.js +0 -1
- 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 +8 -4
- package/dist/custom-fields/field/FieldItem.d.ts +2 -1
- package/dist/custom-fields/field/FieldItem.d.ts.map +1 -1
- package/dist/custom-fields/field/FieldItem.js +1 -6
- package/dist/custom-fields/forms/DropdownForm.js +5 -9
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -2
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.js +3 -4
- package/dist/events/event-card/EventCard.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.js +6 -16
- package/dist/events/event-statistic-modal/EventStatisticModal.js +3 -5
- package/dist/events/event-venue-map/components/ZoomButtons/ZoomButtons.js +3 -6
- package/dist/file-upload/FilePreview.js +6 -11
- package/dist/help/popover/HelpPopover.js +3 -6
- 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 +6 -9
- package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.d.ts.map +1 -1
- package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.js +7 -11
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +5 -5
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +2 -5
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +2 -5
- package/dist/iframe/order-process/components/NavigationFooter/NavigationFooter.js +3 -8
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.js +2 -5
- package/dist/iframe/order-process/components/Timer/Timer.js +2 -5
- package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -2
- package/dist/iframe/payment/payment-form/PaymentForm.js +1 -2
- 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 +3 -4
- package/dist/modals/fullscreen/FullscreenModal.js +3 -4
- package/dist/notification/email-template/card/EmailTemplateCard.js +3 -8
- package/dist/notification/sms-template/card/SmsTemplateCard.js +3 -8
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +7 -9
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +3 -5
- package/dist/product-set/control/DateInput.d.ts.map +1 -1
- package/dist/product-set/control/DateInput.js +5 -7
- package/dist/product-set/control/ProductSetRecurrenceControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetRecurrenceControl.js +5 -8
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.js +5 -8
- package/dist/product-set/control/TutorialGifCard.d.ts.map +1 -1
- package/dist/product-set/control/TutorialGifCard.js +6 -10
- package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
- package/dist/product-set/elements/DeleteFieldButton.js +3 -4
- package/dist/product-set/form/MobileFooter.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +59 -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 +30 -23
- 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 +3 -6
- package/dist/product-set/popover/ProductSetPopover.js +3 -5
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +3 -4
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +3 -4
- package/dist/product-set/product/deposit/ProductDepositControl.js +3 -4
- package/dist/product-set/product/price/ProductPriceControl.js +3 -4
- package/dist/report/card/ReportCard.d.ts +1 -2
- package/dist/report/card/ReportCard.d.ts.map +1 -1
- package/dist/report/card/ReportCard.js +6 -16
- package/dist/sales/booking/results/components/ResultCard.js +4 -5
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +3 -6
- package/dist/sales/modals/payment-modal/PaymentModal.js +3 -4
- package/dist/sales/modals/refund-modal/RefundModal.js +3 -4
- package/dist/sales/notes/NotesTable.d.ts.map +1 -1
- package/dist/sales/notes/NotesTable.js +4 -6
- package/dist/sales/notes/NotesTableRow.js +7 -9
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.js +3 -6
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.js +11 -26
- 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 +3 -6
- package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.js +2 -5
- package/dist/setting/dashboard/snippets/card/SnippetCard.js +7 -9
- package/dist/sidebar/elements/ReturnBack.js +2 -5
- package/dist/slide-curtain/SlideCurtain.d.ts.map +1 -1
- package/dist/slide-curtain/SlideCurtain.js +3 -4
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/snippet/snippet-template/settings/SettingButton.js +3 -6
- package/dist/sortable-list/CreateSortableListItem.d.ts.map +1 -1
- package/dist/sortable-list/CreateSortableListItem.js +3 -6
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +6 -10
- package/dist/static/RestrictedAccess.js +3 -4
- package/dist/static/SocialButton.d.ts +0 -1
- package/dist/static/SocialButton.d.ts.map +1 -1
- package/dist/static/SocialButton.js +7 -10
- 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 +3 -5
- package/dist/static/index.d.ts +0 -1
- package/dist/static/index.d.ts.map +1 -1
- package/dist/static/index.js +1 -1
- package/dist/static/number-input/NumberInput.js +5 -7
- package/dist/striped-static-table/StripedStaticTable.js +1 -2
- package/dist/styles/iframe-external-modal/IframeExternalModal.scss +1 -1
- package/dist/table/MenuButton.d.ts +3 -3
- package/dist/table/MenuButton.d.ts.map +1 -1
- package/dist/table/MenuButton.js +3 -8
- package/dist/table/PaginationHelperComponent.d.ts.map +1 -1
- package/dist/table/PaginationHelperComponent.js +5 -8
- package/dist/tiptap-editor/TipTapMenu/TipTapMenu.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/TipTapMenu.js +17 -16
- 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 +2 -8
- package/dist/venue-map-sets/card/VenueMapSetCard.js +7 -9
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.js +5 -8
- package/dist/venue-map-sets/form/components/VenueMapModal.js +3 -4
- package/dist/zone/card/ZoneCard.js +7 -9
- package/dist/zone/form/components/ZoneRecurrenceControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrenceControl.js +5 -8
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.js +3 -5
- package/package.json +2 -3
- package/src/affiliate/card/AffiliateCard.tsx +4 -4
- package/src/auth/AccessDenied/AccessDenied.tsx +2 -2
- package/src/auth/Social/SocialFormComponent.tsx +0 -1
- package/src/collapsible-input-group/CollapsibleInputGroup.tsx +7 -4
- package/src/custom-fields/{constants.ts → constants.tsx} +3 -2
- package/src/custom-fields/field/FieldItem.tsx +4 -3
- 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 +13 -6
- 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 +4 -8
- package/src/header/Header.stories.tsx +1 -2
- package/src/help/popover/HelpPopover.tsx +2 -2
- package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +4 -9
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +5 -4
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +6 -9
- 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 +4 -5
- package/src/product-set/control/DateAndRecurrenceInput.tsx +3 -4
- package/src/product-set/control/DateInput.tsx +6 -5
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +6 -7
- package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +5 -8
- package/src/product-set/control/TutorialGifCard.tsx +5 -12
- package/src/product-set/elements/DeleteFieldButton.tsx +2 -2
- package/src/product-set/form/MobileFooter.tsx +6 -36
- package/src/product-set/form/ProductSetForm.tsx +12 -1
- package/src/product-set/form/SelectCategoryModal.tsx +24 -19
- package/src/product-set/item/CreateProductSetItem.tsx +2 -7
- package/src/product-set/popover/ProductSetPopover.tsx +2 -2
- package/src/product-set/product/ProductControl.tsx +2 -5
- 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 +0 -10
- package/src/sales/booking/results/components/ResultCard.tsx +2 -2
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -9
- 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 +2 -7
- package/src/setting/admin/PaymentFeeForm.tsx +7 -32
- package/src/setting/dashboard/FinancialDataForm.tsx +4 -19
- package/src/setting/dashboard/ProviderSettingForm.tsx +2 -7
- 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 +2 -6
- package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
- package/src/sortable-list/CreateSortableListItem.tsx +2 -7
- package/src/sortable-tree/SortableTreeItem.tsx +4 -5
- package/src/static/RestrictedAccess.tsx +2 -2
- package/src/static/SocialButton.tsx +4 -5
- package/src/static/Static.stories.tsx +2 -2
- package/src/static/UserBadge.tsx +2 -6
- package/src/static/date-range-input/DateRangeInput.tsx +2 -6
- package/src/static/index.ts +0 -1
- package/src/static/number-input/NumberInput.tsx +3 -3
- package/src/styles/iframe-external-modal/IframeExternalModal.scss +1 -1
- package/src/table/MenuButton.tsx +4 -8
- package/src/table/PaginationHelperComponent.tsx +3 -4
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +24 -16
- package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +4 -7
- package/src/venue-map-sets/card/VenueMapSetCard.tsx +4 -4
- package/src/venue-map-sets/form/components/VenueMapControl.tsx +3 -8
- 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 +3 -11
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +2 -6
- package/yarn.lock +163 -176
- package/dist/static/Icon.d.ts +0 -13
- package/dist/static/Icon.d.ts.map +0 -1
- package/dist/static/Icon.js +0 -22
- package/src/static/Icon.tsx +0 -37
|
@@ -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 'react-icons/fa';
|
|
9
9
|
import '@licklist/plugins/dist/services/Table/TableService';
|
|
10
10
|
import { StaticTable } from '../table/StaticTable.js';
|
|
11
11
|
import 'react-router-dom';
|
|
@@ -14,7 +14,6 @@ import '@licklist/plugins/dist/hooks/Query/useQuery';
|
|
|
14
14
|
import '@licklist/plugins/dist/services/Route/RouteService';
|
|
15
15
|
import 'react-loader';
|
|
16
16
|
import '../table/utils/index.js';
|
|
17
|
-
import '../static/Icon.js';
|
|
18
17
|
import '@tanstack/react-table';
|
|
19
18
|
|
|
20
19
|
function _array_like_to_array(arr, len) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
1
2
|
export type MenuButtonProps = {
|
|
2
3
|
onClick?: () => void;
|
|
3
4
|
leftIcon?: boolean;
|
|
4
5
|
rightIcon?: boolean;
|
|
5
6
|
name: string;
|
|
6
7
|
className?: string;
|
|
7
|
-
icon?:
|
|
8
|
-
iconWidth?: string;
|
|
8
|
+
icon?: ReactElement;
|
|
9
9
|
};
|
|
10
|
-
export declare const MenuButton: ({ onClick, name, className, icon, leftIcon, rightIcon,
|
|
10
|
+
export declare const MenuButton: ({ onClick, name, className, icon, leftIcon, rightIcon, }: 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":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,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,YAAY,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,UAAU,6DAOpB,eAAe,4CAwBjB,CAAC"}
|
package/dist/table/MenuButton.js
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import Icon from '../static/Icon.js';
|
|
4
3
|
|
|
5
4
|
var MenuButton = function(param) {
|
|
6
|
-
var onClick = param.onClick, name = param.name, className = param.className, icon = param.icon, leftIcon = param.leftIcon, rightIcon = param.rightIcon
|
|
7
|
-
var iconComponent = icon ? /*#__PURE__*/ jsx(Icon, {
|
|
8
|
-
type: icon,
|
|
9
|
-
width: iconWidth
|
|
10
|
-
}) : null;
|
|
5
|
+
var onClick = param.onClick, name = param.name, className = param.className, icon = param.icon, leftIcon = param.leftIcon, rightIcon = param.rightIcon;
|
|
11
6
|
return /*#__PURE__*/ jsx(Fragment, {
|
|
12
7
|
children: /*#__PURE__*/ jsxs("button", {
|
|
13
8
|
type: "button",
|
|
@@ -17,12 +12,12 @@ var MenuButton = function(param) {
|
|
|
17
12
|
},
|
|
18
13
|
className: clsx(className),
|
|
19
14
|
children: [
|
|
20
|
-
leftIcon &&
|
|
15
|
+
leftIcon && icon,
|
|
21
16
|
/*#__PURE__*/ jsx("span", {
|
|
22
17
|
className: clsx(icon && leftIcon && "ml-3", icon && rightIcon && "mr-3"),
|
|
23
18
|
children: name
|
|
24
19
|
}),
|
|
25
|
-
rightIcon &&
|
|
20
|
+
rightIcon && icon
|
|
26
21
|
]
|
|
27
22
|
})
|
|
28
23
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationHelperComponent.d.ts","sourceRoot":"","sources":["../../src/table/PaginationHelperComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,qBAAqB,MAAM,mEAAmE,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginationHelperComponent.d.ts","sourceRoot":"","sources":["../../src/table/PaginationHelperComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,qBAAqB,MAAM,mEAAmE,CAAC;AAKtG,MAAM,WAAW,8BAA8B;IAC7C,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,SAAS,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED;;;;GAIG;AACH,iBAAS,yBAAyB,CAAC,EACjC,SAAS,EACT,cAAc,EACd,qBAA4B,GAC7B,EAAE,8BAA8B,2CAoFhC;AAED,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -5,8 +5,7 @@ import PageItem, { Ellipsis } from 'react-bootstrap/PageItem';
|
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import PaginationService from '@licklist/plugins/dist/services/Table/PaginationService';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
|
-
import '
|
|
9
|
-
import Icon from '../static/Icon.js';
|
|
8
|
+
import { FaArrowLeft, FaArrowRight } from 'react-icons/fa';
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* PaginationHelperComponent
|
|
@@ -62,9 +61,8 @@ import Icon from '../static/Icon.js';
|
|
|
62
61
|
onClick: function() {
|
|
63
62
|
return onPageChange(paginationService.getPrevPage());
|
|
64
63
|
},
|
|
65
|
-
children: /*#__PURE__*/ jsx(
|
|
66
|
-
|
|
67
|
-
width: "0.9rem",
|
|
64
|
+
children: /*#__PURE__*/ jsx(FaArrowLeft, {
|
|
65
|
+
size: 14,
|
|
68
66
|
color: "black"
|
|
69
67
|
})
|
|
70
68
|
}),
|
|
@@ -91,9 +89,8 @@ import Icon from '../static/Icon.js';
|
|
|
91
89
|
onClick: function() {
|
|
92
90
|
return onPageChange(paginationService.getNextPage());
|
|
93
91
|
},
|
|
94
|
-
children: /*#__PURE__*/ jsx(
|
|
95
|
-
|
|
96
|
-
width: "0.9rem",
|
|
92
|
+
children: /*#__PURE__*/ jsx(FaArrowRight, {
|
|
93
|
+
size: 14,
|
|
97
94
|
color: "black"
|
|
98
95
|
})
|
|
99
96
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TipTapMenu.d.ts","sourceRoot":"","sources":["../../../src/tiptap-editor/TipTapMenu/TipTapMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"TipTapMenu.d.ts","sourceRoot":"","sources":["../../../src/tiptap-editor/TipTapMenu/TipTapMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAwBvC,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,cAAc,2CAuHzE"}
|
|
@@ -2,6 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import { sample } from 'lodash';
|
|
3
3
|
import { Row } from 'react-bootstrap';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
+
import { FaSmile, FaList, FaListOl, FaTasks, FaUndoAlt, FaRedoAlt } from 'react-icons/fa';
|
|
5
6
|
import { ReactComponent as SvgBold } from '../../assets/editor/bold.svg.js';
|
|
6
7
|
import { ReactComponent as SvgItalic } from '../../assets/editor/italic.svg.js';
|
|
7
8
|
import { ReactComponent as SvgStrikethrough } from '../../assets/editor/strikethrough.svg.js';
|
|
@@ -27,7 +28,7 @@ function TipTapMenu(param) {
|
|
|
27
28
|
return editor.chain().focus().toggleBold().run();
|
|
28
29
|
},
|
|
29
30
|
type: "Bold",
|
|
30
|
-
|
|
31
|
+
icon: /*#__PURE__*/ jsx(SvgBold, {}),
|
|
31
32
|
isActive: editor.isActive("bold")
|
|
32
33
|
}),
|
|
33
34
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
@@ -35,7 +36,7 @@ function TipTapMenu(param) {
|
|
|
35
36
|
return editor.chain().focus().toggleItalic().run();
|
|
36
37
|
},
|
|
37
38
|
type: "Italic",
|
|
38
|
-
|
|
39
|
+
icon: /*#__PURE__*/ jsx(SvgItalic, {}),
|
|
39
40
|
isActive: editor.isActive("italic")
|
|
40
41
|
}),
|
|
41
42
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
@@ -43,7 +44,7 @@ function TipTapMenu(param) {
|
|
|
43
44
|
return editor.chain().focus().toggleStrike().run();
|
|
44
45
|
},
|
|
45
46
|
type: "Strike",
|
|
46
|
-
|
|
47
|
+
icon: /*#__PURE__*/ jsx(SvgStrikethrough, {}),
|
|
47
48
|
isActive: editor.isActive("strike")
|
|
48
49
|
}),
|
|
49
50
|
withEmoji && /*#__PURE__*/ jsxs(Fragment, {
|
|
@@ -63,7 +64,7 @@ function TipTapMenu(param) {
|
|
|
63
64
|
])).run();
|
|
64
65
|
},
|
|
65
66
|
type: "Emoji",
|
|
66
|
-
|
|
67
|
+
icon: /*#__PURE__*/ jsx(FaSmile, {})
|
|
67
68
|
})
|
|
68
69
|
]
|
|
69
70
|
}),
|
|
@@ -77,7 +78,7 @@ function TipTapMenu(param) {
|
|
|
77
78
|
}).run();
|
|
78
79
|
},
|
|
79
80
|
type: "Heading 1",
|
|
80
|
-
|
|
81
|
+
icon: /*#__PURE__*/ jsx(SvgH1, {}),
|
|
81
82
|
isActive: editor.isActive("heading", {
|
|
82
83
|
level: 1
|
|
83
84
|
})
|
|
@@ -89,7 +90,7 @@ function TipTapMenu(param) {
|
|
|
89
90
|
}).run();
|
|
90
91
|
},
|
|
91
92
|
type: "Heading 2",
|
|
92
|
-
|
|
93
|
+
icon: /*#__PURE__*/ jsx(SvgH2, {}),
|
|
93
94
|
isActive: editor.isActive("heading", {
|
|
94
95
|
level: 2
|
|
95
96
|
})
|
|
@@ -99,7 +100,7 @@ function TipTapMenu(param) {
|
|
|
99
100
|
return editor.chain().focus().setParagraph().run();
|
|
100
101
|
},
|
|
101
102
|
type: "Paragraph",
|
|
102
|
-
|
|
103
|
+
icon: /*#__PURE__*/ jsx(SvgParagraph, {}),
|
|
103
104
|
isActive: editor.isActive("paragraph")
|
|
104
105
|
}),
|
|
105
106
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
@@ -107,7 +108,7 @@ function TipTapMenu(param) {
|
|
|
107
108
|
return editor.chain().focus().toggleOrderedList().run();
|
|
108
109
|
},
|
|
109
110
|
type: "Bullet list",
|
|
110
|
-
|
|
111
|
+
icon: /*#__PURE__*/ jsx(FaList, {}),
|
|
111
112
|
isActive: editor.isActive("bulletList")
|
|
112
113
|
}),
|
|
113
114
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
@@ -115,7 +116,7 @@ function TipTapMenu(param) {
|
|
|
115
116
|
return editor.chain().focus().toggleBulletList().run();
|
|
116
117
|
},
|
|
117
118
|
type: "Ordered list",
|
|
118
|
-
|
|
119
|
+
icon: /*#__PURE__*/ jsx(FaListOl, {}),
|
|
119
120
|
isActive: editor.isActive("orderedList")
|
|
120
121
|
}),
|
|
121
122
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
@@ -123,7 +124,7 @@ function TipTapMenu(param) {
|
|
|
123
124
|
return editor.commands.toggleTaskList();
|
|
124
125
|
},
|
|
125
126
|
type: "Task list",
|
|
126
|
-
|
|
127
|
+
icon: /*#__PURE__*/ jsx(FaTasks, {}),
|
|
127
128
|
isActive: editor.isActive("taskList")
|
|
128
129
|
}),
|
|
129
130
|
/*#__PURE__*/ jsx("div", {
|
|
@@ -134,7 +135,7 @@ function TipTapMenu(param) {
|
|
|
134
135
|
return editor.chain().focus().toggleBlockquote().run();
|
|
135
136
|
},
|
|
136
137
|
type: "Blockquote",
|
|
137
|
-
|
|
138
|
+
icon: /*#__PURE__*/ jsx(SvgDoubleQuotesL, {}),
|
|
138
139
|
isActive: editor.isActive("blockquote")
|
|
139
140
|
}),
|
|
140
141
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
@@ -142,7 +143,7 @@ function TipTapMenu(param) {
|
|
|
142
143
|
return editor.chain().focus().setHorizontalRule().run();
|
|
143
144
|
},
|
|
144
145
|
type: "Horizontal Rule",
|
|
145
|
-
|
|
146
|
+
icon: /*#__PURE__*/ jsx(SvgSeparator, {})
|
|
146
147
|
}),
|
|
147
148
|
/*#__PURE__*/ jsx("div", {
|
|
148
149
|
className: "divider"
|
|
@@ -152,14 +153,14 @@ function TipTapMenu(param) {
|
|
|
152
153
|
return editor.chain().focus().setHardBreak().run();
|
|
153
154
|
},
|
|
154
155
|
type: "Hard Break",
|
|
155
|
-
|
|
156
|
+
icon: /*#__PURE__*/ jsx(SvgTextWrap, {})
|
|
156
157
|
}),
|
|
157
158
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
158
159
|
onClick: function() {
|
|
159
160
|
return editor.chain().focus().unsetAllMarks().clearNodes().run();
|
|
160
161
|
},
|
|
161
162
|
type: "Clear Format",
|
|
162
|
-
|
|
163
|
+
icon: /*#__PURE__*/ jsx(SvgFormatClear, {})
|
|
163
164
|
}),
|
|
164
165
|
/*#__PURE__*/ jsx("div", {
|
|
165
166
|
className: "divider"
|
|
@@ -169,14 +170,14 @@ function TipTapMenu(param) {
|
|
|
169
170
|
return editor.chain().focus().undo().run();
|
|
170
171
|
},
|
|
171
172
|
type: "Undo",
|
|
172
|
-
|
|
173
|
+
icon: /*#__PURE__*/ jsx(FaUndoAlt, {})
|
|
173
174
|
}),
|
|
174
175
|
/*#__PURE__*/ jsx(TipTapMenuItem, {
|
|
175
176
|
onClick: function() {
|
|
176
177
|
return editor.chain().focus().redo().run();
|
|
177
178
|
},
|
|
178
179
|
type: "Redo",
|
|
179
|
-
|
|
180
|
+
icon: /*#__PURE__*/ jsx(FaRedoAlt, {})
|
|
180
181
|
})
|
|
181
182
|
]
|
|
182
183
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
1
2
|
interface TipTapMenuItemProps {
|
|
2
3
|
onClick: () => void;
|
|
3
4
|
type: string;
|
|
4
|
-
|
|
5
|
-
customIcon?: React.ReactElement;
|
|
5
|
+
icon?: ReactElement;
|
|
6
6
|
isActive?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const TipTapMenuItem: ({ onClick, type,
|
|
8
|
+
export declare const TipTapMenuItem: ({ onClick, type, icon, isActive, }: TipTapMenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default TipTapMenuItem;
|
|
10
10
|
//# sourceMappingURL=TipTapMenuItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TipTapMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TipTapMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,UAAU,mBAAmB;IAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,uCAKxB,mBAAmB,4CAoBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -2,11 +2,9 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { OverlayTrigger, Tooltip } from 'react-bootstrap';
|
|
3
3
|
import { useId } from '@react-aria/utils';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import '../../../static/index.js';
|
|
6
|
-
import Icon from '../../../static/Icon.js';
|
|
7
5
|
|
|
8
6
|
var TipTapMenuItem = function(param) {
|
|
9
|
-
var onClick = param.onClick, type = param.type,
|
|
7
|
+
var onClick = param.onClick, type = param.type, icon = param.icon, isActive = param.isActive;
|
|
10
8
|
var toltipId = useId();
|
|
11
9
|
return /*#__PURE__*/ jsx(OverlayTrigger, {
|
|
12
10
|
placement: "top",
|
|
@@ -24,11 +22,7 @@ var TipTapMenuItem = function(param) {
|
|
|
24
22
|
className: clsx("icon-btn", isActive && "icon-btn-active"),
|
|
25
23
|
onClick: onClick,
|
|
26
24
|
onKeyPress: function() {},
|
|
27
|
-
children:
|
|
28
|
-
type: iconName,
|
|
29
|
-
height: "1rem",
|
|
30
|
-
color: "black"
|
|
31
|
-
})
|
|
25
|
+
children: icon
|
|
32
26
|
})
|
|
33
27
|
});
|
|
34
28
|
};
|
|
@@ -5,10 +5,9 @@ import { useId } from '@react-aria/utils';
|
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
8
|
+
import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
|
|
8
9
|
import { MenuButton } from '../../table/MenuButton.js';
|
|
9
10
|
import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
|
|
10
|
-
import '../../static/index.js';
|
|
11
|
-
import Icon from '../../static/Icon.js';
|
|
12
11
|
|
|
13
12
|
function _array_like_to_array(arr, len) {
|
|
14
13
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -83,10 +82,9 @@ function VenueMapSetCard(param) {
|
|
|
83
82
|
children: [
|
|
84
83
|
/*#__PURE__*/ jsx("div", {
|
|
85
84
|
className: "venue-map-set-card-menu-eye-container",
|
|
86
|
-
children: /*#__PURE__*/ jsx(
|
|
87
|
-
type: "eye",
|
|
85
|
+
children: /*#__PURE__*/ jsx(FaEye, {
|
|
88
86
|
color: "#0E8CE2",
|
|
89
|
-
|
|
87
|
+
size: 20
|
|
90
88
|
})
|
|
91
89
|
}),
|
|
92
90
|
/*#__PURE__*/ jsx(OverlayTrigger, {
|
|
@@ -113,7 +111,9 @@ function VenueMapSetCard(param) {
|
|
|
113
111
|
confirm(onRemove);
|
|
114
112
|
},
|
|
115
113
|
name: t("remove"),
|
|
116
|
-
icon:
|
|
114
|
+
icon: /*#__PURE__*/ jsx(FaTrashAlt, {
|
|
115
|
+
size: 12
|
|
116
|
+
}),
|
|
117
117
|
className: "venue-map-set-card-menu-item-text d-flex w-100 align-items-center",
|
|
118
118
|
rightIcon: true
|
|
119
119
|
});
|
|
@@ -130,9 +130,7 @@ function VenueMapSetCard(param) {
|
|
|
130
130
|
e.stopPropagation();
|
|
131
131
|
setIsOverlayVisible(true);
|
|
132
132
|
},
|
|
133
|
-
children: /*#__PURE__*/ jsx(
|
|
134
|
-
type: "ellipsis-h"
|
|
135
|
-
})
|
|
133
|
+
children: /*#__PURE__*/ jsx(FaEllipsisH, {})
|
|
136
134
|
})
|
|
137
135
|
})
|
|
138
136
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VenueMapControl.d.ts","sourceRoot":"","sources":["../../../../src/venue-map-sets/form/components/VenueMapControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,KAAK,4BAA4B,GAAG,gBAAgB,GAAG;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,KAAK,+BAA+B,GAAG,gBAAgB,GAAG;IACxD,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,4BAA4B,GAC5B,+BAA+B,CAAC;AAEpC,eAAO,MAAM,eAAe,4EAQzB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"VenueMapControl.d.ts","sourceRoot":"","sources":["../../../../src/venue-map-sets/form/components/VenueMapControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,KAAK,4BAA4B,GAAG,gBAAgB,GAAG;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,KAAK,+BAA+B,GAAG,gBAAgB,GAAG;IACxD,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,4BAA4B,GAC5B,+BAA+B,CAAC;AAEpC,eAAO,MAAM,eAAe,4EAQzB,oBAAoB,4CAoCtB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import
|
|
3
|
+
import { FaPlus, FaEllipsisH } from 'react-icons/fa';
|
|
4
4
|
|
|
5
5
|
var VenueMapControl = function(param) {
|
|
6
6
|
var onClick = param.onClick, disabled = param.disabled, showMenu = param.showMenu, title = param.title, onMenuClick = param.onMenuClick, isInvalid = param.isInvalid, errors = param.errors;
|
|
@@ -15,10 +15,8 @@ var VenueMapControl = function(param) {
|
|
|
15
15
|
/*#__PURE__*/ jsxs("div", {
|
|
16
16
|
className: "overflow-hidden name-wrapper w-100",
|
|
17
17
|
children: [
|
|
18
|
-
!showMenu && /*#__PURE__*/ jsx(
|
|
19
|
-
|
|
20
|
-
height: "1.25rem",
|
|
21
|
-
width: "1.25rem",
|
|
18
|
+
!showMenu && /*#__PURE__*/ jsx(FaPlus, {
|
|
19
|
+
size: 20,
|
|
22
20
|
className: "rounded venue-map-zone-item-icon"
|
|
23
21
|
}),
|
|
24
22
|
/*#__PURE__*/ jsx("span", {
|
|
@@ -38,10 +36,9 @@ var VenueMapControl = function(param) {
|
|
|
38
36
|
onKeyDown: function(e) {
|
|
39
37
|
return e.stopPropagation();
|
|
40
38
|
},
|
|
41
|
-
children: /*#__PURE__*/ jsx(
|
|
42
|
-
type: "ellipsis-h",
|
|
39
|
+
children: /*#__PURE__*/ jsx(FaEllipsisH, {
|
|
43
40
|
color: "#0E8CE2",
|
|
44
|
-
|
|
41
|
+
size: 16
|
|
45
42
|
})
|
|
46
43
|
})
|
|
47
44
|
]
|
|
@@ -4,8 +4,8 @@ import { useTranslation } from 'react-i18next';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useFormContext } from 'react-hook-form';
|
|
6
6
|
import HookFormService from '@licklist/plugins/dist/services/Form/HookFormService';
|
|
7
|
+
import { FaTrashAlt } from 'react-icons/fa';
|
|
7
8
|
import { ConfirmModal } from '../../../modals/confirmation/ConfirmModal.js';
|
|
8
|
-
import Icon from '../../../static/Icon.js';
|
|
9
9
|
import { VenueMapImageControl } from './VenueMapImageControl.js';
|
|
10
10
|
import { getVenueMapsRequiredKeys } from '../utils/index.js';
|
|
11
11
|
|
|
@@ -332,9 +332,8 @@ var VenueMapModal = function(param) {
|
|
|
332
332
|
variant: "outline-danger",
|
|
333
333
|
className: "d-flex align-items-center",
|
|
334
334
|
children: [
|
|
335
|
-
/*#__PURE__*/ jsx(
|
|
336
|
-
|
|
337
|
-
height: "1rem"
|
|
335
|
+
/*#__PURE__*/ jsx(FaTrashAlt, {
|
|
336
|
+
size: 16
|
|
338
337
|
}),
|
|
339
338
|
"\xa0",
|
|
340
339
|
/*#__PURE__*/ jsx("span", {
|
|
@@ -5,10 +5,9 @@ import { useTranslation } from 'react-i18next';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { useId } from '@react-aria/utils';
|
|
7
7
|
import RouteService from '@licklist/plugins/dist/services/Route/RouteService';
|
|
8
|
+
import { FaEye, FaTrashAlt, FaEllipsisH } from 'react-icons/fa';
|
|
8
9
|
import { ConfirmModal } from '../../modals/confirmation/ConfirmModal.js';
|
|
9
|
-
import '../../static/index.js';
|
|
10
10
|
import { MenuButton } from '../../table/MenuButton.js';
|
|
11
|
-
import Icon from '../../static/Icon.js';
|
|
12
11
|
|
|
13
12
|
function _array_like_to_array(arr, len) {
|
|
14
13
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -84,10 +83,9 @@ function ZoneCard(param) {
|
|
|
84
83
|
children: [
|
|
85
84
|
/*#__PURE__*/ jsx("div", {
|
|
86
85
|
className: "zone-card-menu-eye-container",
|
|
87
|
-
children: /*#__PURE__*/ jsx(
|
|
88
|
-
type: "eye",
|
|
86
|
+
children: /*#__PURE__*/ jsx(FaEye, {
|
|
89
87
|
color: "#0E8CE2",
|
|
90
|
-
|
|
88
|
+
size: 20
|
|
91
89
|
})
|
|
92
90
|
}),
|
|
93
91
|
/*#__PURE__*/ jsx(OverlayTrigger, {
|
|
@@ -114,7 +112,9 @@ function ZoneCard(param) {
|
|
|
114
112
|
confirm(onRemove);
|
|
115
113
|
},
|
|
116
114
|
name: t("remove"),
|
|
117
|
-
icon:
|
|
115
|
+
icon: /*#__PURE__*/ jsx(FaTrashAlt, {
|
|
116
|
+
size: 12
|
|
117
|
+
}),
|
|
118
118
|
className: "zone-card-menu-item-text d-flex w-100 align-items-center",
|
|
119
119
|
rightIcon: true
|
|
120
120
|
});
|
|
@@ -131,9 +131,7 @@ function ZoneCard(param) {
|
|
|
131
131
|
e.stopPropagation();
|
|
132
132
|
setIsOverlayVisible(true);
|
|
133
133
|
},
|
|
134
|
-
children: /*#__PURE__*/ jsx(
|
|
135
|
-
type: "ellipsis-h"
|
|
136
|
-
})
|
|
134
|
+
children: /*#__PURE__*/ jsx(FaEllipsisH, {})
|
|
137
135
|
})
|
|
138
136
|
})
|
|
139
137
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneRecurrenceControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/ZoneRecurrenceControl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AAMlG,MAAM,WAAW,0BAA0B;IACzC,cAAc,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAC3D,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,qBAAqB,gCAG/B,0BAA0B,
|
|
1
|
+
{"version":3,"file":"ZoneRecurrenceControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/ZoneRecurrenceControl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AAMlG,MAAM,WAAW,0BAA0B;IACzC,cAAc,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAC3D,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,qBAAqB,gCAG/B,0BAA0B,4CA0D5B,CAAC"}
|
|
@@ -4,8 +4,7 @@ import { useIntl } from 'react-intl';
|
|
|
4
4
|
import RRule from 'rrule';
|
|
5
5
|
import { useSortable } from '@dnd-kit/sortable';
|
|
6
6
|
import { CSS } from '@dnd-kit/utilities';
|
|
7
|
-
import '
|
|
8
|
-
import Icon from '../../../static/Icon.js';
|
|
7
|
+
import { FaCalendar, FaEllipsisH } from 'react-icons/fa';
|
|
9
8
|
|
|
10
9
|
function _define_property(obj, key, value) {
|
|
11
10
|
if (key in obj) {
|
|
@@ -86,9 +85,8 @@ var ZoneRecurrenceControl = function(param) {
|
|
|
86
85
|
/*#__PURE__*/ jsxs("span", {
|
|
87
86
|
className: "d-flex flex-row align-items-center",
|
|
88
87
|
children: [
|
|
89
|
-
/*#__PURE__*/ jsx(
|
|
90
|
-
|
|
91
|
-
height: "1rem",
|
|
88
|
+
/*#__PURE__*/ jsx(FaCalendar, {
|
|
89
|
+
size: 16,
|
|
92
90
|
className: "zone-recurrence-icon-calendar"
|
|
93
91
|
}),
|
|
94
92
|
/*#__PURE__*/ jsxs("span", {
|
|
@@ -117,9 +115,8 @@ var ZoneRecurrenceControl = function(param) {
|
|
|
117
115
|
onKeyDown: function() {
|
|
118
116
|
return onEdit(zoneRecurrence);
|
|
119
117
|
},
|
|
120
|
-
children: /*#__PURE__*/ jsx(
|
|
121
|
-
|
|
122
|
-
height: "1rem",
|
|
118
|
+
children: /*#__PURE__*/ jsx(FaEllipsisH, {
|
|
119
|
+
size: 16,
|
|
123
120
|
className: "zone-recurrence-icon-more"
|
|
124
121
|
})
|
|
125
122
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneRecurrencesControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/ZoneRecurrencesControl.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AAMlG,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAWtF,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC;CAC7C;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,mBAEhC,0BAA0B,
|
|
1
|
+
{"version":3,"file":"ZoneRecurrencesControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/ZoneRecurrencesControl.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AAMlG,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AAWtF,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC;CAC7C;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,mBAEhC,0BAA0B,4CAmM5B,CAAC"}
|
|
@@ -7,12 +7,11 @@ import { useTranslation } from 'react-i18next';
|
|
|
7
7
|
import { useClickAway } from 'react-use';
|
|
8
8
|
import { SortableContext, verticalListSortingStrategy } from '@dnd-kit/sortable';
|
|
9
9
|
import { DndContext } from '@dnd-kit/core';
|
|
10
|
+
import { FaPlusCircle } from 'react-icons/fa';
|
|
10
11
|
import { CONFIRM_MODAL_ACTIONS } from '../../../modals/confirmation/ConfirmModal.js';
|
|
11
|
-
import '../../../static/index.js';
|
|
12
12
|
import { RecurringDatePickerInput } from '../../../recurring-date-picker-input/RecurringDatePickerInput.js';
|
|
13
13
|
import { ZoneRecurrenceControl } from './ZoneRecurrenceControl.js';
|
|
14
14
|
import { sameWidthPopperModifier } from '../../../product-set/control/DateAndRecurrenceInput.js';
|
|
15
|
-
import Icon from '../../../static/Icon.js';
|
|
16
15
|
|
|
17
16
|
function _array_like_to_array(arr, len) {
|
|
18
17
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -389,9 +388,8 @@ var ZoneRecurrencesControl = function(param) {
|
|
|
389
388
|
onClick: handleOnAdd,
|
|
390
389
|
onKeyDown: handleOnAdd,
|
|
391
390
|
children: [
|
|
392
|
-
/*#__PURE__*/ jsx(
|
|
393
|
-
|
|
394
|
-
height: "1rem",
|
|
391
|
+
/*#__PURE__*/ jsx(FaPlusCircle, {
|
|
392
|
+
size: 16,
|
|
395
393
|
className: "zone-recurrence-icon-add mr-2"
|
|
396
394
|
}),
|
|
397
395
|
t("addDates")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licklist/design",
|
|
3
|
-
"version": "0.66.
|
|
3
|
+
"version": "0.66.8-dev.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
|
|
@@ -60,9 +60,7 @@
|
|
|
60
60
|
"@dnd-kit/sortable": "4.0.0",
|
|
61
61
|
"@dnd-kit/utilities": "2.0.0",
|
|
62
62
|
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
|
63
|
-
"@fortawesome/free-brands-svg-icons": "5.15.2",
|
|
64
63
|
"@fortawesome/free-solid-svg-icons": "5.15.2",
|
|
65
|
-
"@fortawesome/react-fontawesome": "0.1.9",
|
|
66
64
|
"@licklist/core": "0.28.3-dev.5",
|
|
67
65
|
"@licklist/eslint-config": "0.5.4",
|
|
68
66
|
"@licklist/plugins": "0.30.4-dev.3",
|
|
@@ -113,6 +111,7 @@
|
|
|
113
111
|
"react-highlighter": "0.4.3",
|
|
114
112
|
"react-hook-form": "7.52.2",
|
|
115
113
|
"react-i18next": "11.8.8",
|
|
114
|
+
"react-icons": "5.3.0",
|
|
116
115
|
"react-intl": "6.6.8",
|
|
117
116
|
"react-konva": "17.0.2-6",
|
|
118
117
|
"react-loader": "2.4.7",
|
|
@@ -4,8 +4,8 @@ import { useTranslation } from "react-i18next";
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { useId } from "@react-aria/utils";
|
|
6
6
|
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
7
|
+
import { FaEllipsisH, FaEye, FaTrashAlt } from "react-icons/fa";
|
|
7
8
|
import { ConfirmModal } from "../../modals";
|
|
8
|
-
import { Icon } from "../../static";
|
|
9
9
|
import { MenuButton } from "../../table/MenuButton";
|
|
10
10
|
|
|
11
11
|
export interface AffiliateCardProps extends HasPermissionProp {
|
|
@@ -57,7 +57,7 @@ export function AffiliateCard({
|
|
|
57
57
|
)}
|
|
58
58
|
<div className={["d-flex", isHeader ? "invisible" : ""].join(" ")}>
|
|
59
59
|
<div className="affiliate-card-menu-eye-container">
|
|
60
|
-
<
|
|
60
|
+
<FaEye color="#0E8CE2" size={20} />
|
|
61
61
|
</div>
|
|
62
62
|
|
|
63
63
|
<OverlayTrigger
|
|
@@ -89,7 +89,7 @@ export function AffiliateCard({
|
|
|
89
89
|
confirm(onRemove);
|
|
90
90
|
}}
|
|
91
91
|
name={t("remove")}
|
|
92
|
-
icon=
|
|
92
|
+
icon={<FaTrashAlt size={12} />}
|
|
93
93
|
className="affiliate-card-menu-item-text d-flex w-100 align-items-center"
|
|
94
94
|
rightIcon
|
|
95
95
|
/>
|
|
@@ -111,7 +111,7 @@ export function AffiliateCard({
|
|
|
111
111
|
setIsOverlayVisible(true);
|
|
112
112
|
}}
|
|
113
113
|
>
|
|
114
|
-
<
|
|
114
|
+
<FaEllipsisH />
|
|
115
115
|
</button>
|
|
116
116
|
</OverlayTrigger>
|
|
117
117
|
</div>
|
|
@@ -2,7 +2,7 @@ import { Button } from "react-bootstrap";
|
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import RouteService from "@licklist/plugins/dist/services/Route/RouteService";
|
|
4
4
|
import useUser from "@licklist/plugins/dist/context/user/hooks/useUser";
|
|
5
|
-
import {
|
|
5
|
+
import { FaLock } from "react-icons/fa";
|
|
6
6
|
|
|
7
7
|
export const AccessDenied = () => {
|
|
8
8
|
const { t } = useTranslation("App");
|
|
@@ -21,7 +21,7 @@ export const AccessDenied = () => {
|
|
|
21
21
|
<div className="d-flex align-items-center justify-content-center flex-column text-center access-denied h-100">
|
|
22
22
|
<div className="col-8">
|
|
23
23
|
<div className="icon-wrapper mb-5">
|
|
24
|
-
<
|
|
24
|
+
<FaLock size={80} />
|
|
25
25
|
</div>
|
|
26
26
|
<h3 className="mb-3">{t("accessDenied")}</h3>
|
|
27
27
|
<h6 className="mb-3">{t("youDontHavePermissions")}</h6>
|