@strapi/content-manager 0.0.0-experimental.93a73ca8c7b85667fe8e46c0cb6627506570a02f → 0.0.0-experimental.997c519cb311bf692e8971f4bbd2e4a92694abee
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/_chunks/{ComponentConfigurationPage-B3yDbeU1.mjs → ComponentConfigurationPage-CnL10QYC.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-B3yDbeU1.mjs.map → ComponentConfigurationPage-CnL10QYC.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-KXSuLnQD.js → ComponentConfigurationPage-G4EIirP8.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-KXSuLnQD.js.map → ComponentConfigurationPage-G4EIirP8.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BQ17--5R.js → EditConfigurationPage-B2AA1kVF.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BQ17--5R.js.map → EditConfigurationPage-B2AA1kVF.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-D7PrLO8j.mjs → EditConfigurationPage-I2kKh9dx.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-D7PrLO8j.mjs.map → EditConfigurationPage-I2kKh9dx.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-BgjdnGz2.js → EditViewPage-CHgoNwlc.js} +4 -4
- package/dist/_chunks/EditViewPage-CHgoNwlc.js.map +1 -0
- package/dist/_chunks/{EditViewPage-B7VgwJaG.mjs → EditViewPage-zFjJK0s8.mjs} +4 -4
- package/dist/_chunks/EditViewPage-zFjJK0s8.mjs.map +1 -0
- package/dist/_chunks/{Field-CdK7ZLmv.js → Field-9DePZh-0.js} +34 -65
- package/dist/_chunks/Field-9DePZh-0.js.map +1 -0
- package/dist/_chunks/{Field-tHCw4lGA.mjs → Field-DPAzUS1M.mjs} +31 -62
- package/dist/_chunks/Field-DPAzUS1M.mjs.map +1 -0
- package/dist/_chunks/{Form-BJxdTv3Q.mjs → Form-CEkENbkF.mjs} +15 -7
- package/dist/_chunks/Form-CEkENbkF.mjs.map +1 -0
- package/dist/_chunks/{Form-C_0KTVvV.js → Form-DPm-KZ1A.js} +15 -7
- package/dist/_chunks/Form-DPm-KZ1A.js.map +1 -0
- package/dist/_chunks/{History-nuEzM5qm.js → History-DXSbTWez.js} +4 -4
- package/dist/_chunks/{History-nuEzM5qm.js.map → History-DXSbTWez.js.map} +1 -1
- package/dist/_chunks/{History-DR2txJLE.mjs → History-utls71em.mjs} +4 -4
- package/dist/_chunks/{History-DR2txJLE.mjs.map → History-utls71em.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-voFVtXu6.mjs → ListConfigurationPage-CuMXWWqb.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-voFVtXu6.mjs.map → ListConfigurationPage-CuMXWWqb.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-CnB86Psm.js → ListConfigurationPage-D5C7ACZ_.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-CnB86Psm.js.map → ListConfigurationPage-D5C7ACZ_.js.map} +1 -1
- package/dist/_chunks/{ListViewPage-B_GaWgRH.mjs → ListViewPage-CdKd-PS_.mjs} +39 -35
- package/dist/_chunks/ListViewPage-CdKd-PS_.mjs.map +1 -0
- package/dist/_chunks/{ListViewPage-SXIXm-RM.js → ListViewPage-DfuwH1tt.js} +42 -38
- package/dist/_chunks/ListViewPage-DfuwH1tt.js.map +1 -0
- package/dist/_chunks/{NoContentTypePage-BzsQ3hLZ.js → NoContentTypePage-BIxlkWWi.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-BzsQ3hLZ.js.map → NoContentTypePage-BIxlkWWi.js.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-CYiGpsbj.mjs → NoContentTypePage-DkToTT7u.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-CYiGpsbj.mjs.map → NoContentTypePage-DkToTT7u.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-IGkId4C5.js → NoPermissionsPage-Bu4GWYb-.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-IGkId4C5.js.map → NoPermissionsPage-Bu4GWYb-.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-B5baIHal.mjs → NoPermissionsPage-DlWi4BAH.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-B5baIHal.mjs.map → NoPermissionsPage-DlWi4BAH.mjs.map} +1 -1
- package/dist/_chunks/{Relations-Dhuurpx2.js → Relations-CFjTESWQ.js} +3 -3
- package/dist/_chunks/{Relations-Dhuurpx2.js.map → Relations-CFjTESWQ.js.map} +1 -1
- package/dist/_chunks/{Relations-CIYDdKU-.mjs → Relations-QP5yn9_z.mjs} +3 -3
- package/dist/_chunks/{Relations-CIYDdKU-.mjs.map → Relations-QP5yn9_z.mjs.map} +1 -1
- package/dist/_chunks/{en-uOUIxfcQ.js → en-BVzUkPxZ.js} +6 -5
- package/dist/_chunks/{en-uOUIxfcQ.js.map → en-BVzUkPxZ.js.map} +1 -1
- package/dist/_chunks/{en-BrCTWlZv.mjs → en-CPTj6CjC.mjs} +6 -5
- package/dist/_chunks/{en-BrCTWlZv.mjs.map → en-CPTj6CjC.mjs.map} +1 -1
- package/dist/_chunks/{index-C9TJPyni.mjs → index-BHfS6_D5.mjs} +184 -118
- package/dist/_chunks/index-BHfS6_D5.mjs.map +1 -0
- package/dist/_chunks/{index-CdT0kHZ8.js → index-DXiHxy70.js} +165 -99
- package/dist/_chunks/index-DXiHxy70.js.map +1 -0
- package/dist/_chunks/{layout-BNqvLR_b.mjs → layout-DX_52HSH.mjs} +5 -4
- package/dist/_chunks/{layout-BNqvLR_b.mjs.map → layout-DX_52HSH.mjs.map} +1 -1
- package/dist/_chunks/{layout-C6dxWYT7.js → layout-bE-WUnQ0.js} +5 -4
- package/dist/_chunks/{layout-C6dxWYT7.js.map → layout-bE-WUnQ0.js.map} +1 -1
- package/dist/_chunks/{relations-DtFaDnP1.js → relations-D706vblp.js} +2 -2
- package/dist/_chunks/{relations-DtFaDnP1.js.map → relations-D706vblp.js.map} +1 -1
- package/dist/_chunks/{relations-CkKqKw65.mjs → relations-SCVAL_aJ.mjs} +2 -2
- package/dist/_chunks/{relations-CkKqKw65.mjs.map → relations-SCVAL_aJ.mjs.map} +1 -1
- package/dist/_chunks/{usePrev-B9w_-eYc.js → useDebounce-CtcjDB3L.js} +14 -1
- package/dist/_chunks/useDebounce-CtcjDB3L.js.map +1 -0
- package/dist/_chunks/useDebounce-DmuSJIF3.mjs +29 -0
- package/dist/_chunks/useDebounce-DmuSJIF3.mjs.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +4 -4
- package/dist/admin/src/history/services/historyVersion.d.ts +1 -1
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +0 -32
- package/dist/admin/src/pages/EditView/components/Header.d.ts +10 -11
- package/dist/admin/src/services/api.d.ts +1 -1
- package/dist/admin/src/services/components.d.ts +2 -2
- package/dist/admin/src/services/contentTypes.d.ts +3 -3
- package/dist/admin/src/services/documents.d.ts +19 -17
- package/dist/admin/src/services/init.d.ts +1 -1
- package/dist/admin/src/services/relations.d.ts +2 -2
- package/dist/admin/src/services/uid.d.ts +3 -3
- package/dist/admin/src/utils/validation.d.ts +4 -1
- package/dist/server/index.js +47 -23
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +47 -23
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
- package/dist/server/src/controllers/relations.d.ts.map +1 -1
- package/dist/server/src/history/services/history.d.ts.map +1 -1
- package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
- package/dist/server/src/history/services/utils.d.ts +1 -0
- package/dist/server/src/history/services/utils.d.ts.map +1 -1
- package/dist/server/src/policies/hasPermissions.d.ts.map +1 -1
- package/dist/server/src/services/permission-checker.d.ts.map +1 -1
- package/dist/shared/contracts/collection-types.d.ts +3 -1
- package/dist/shared/contracts/collection-types.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/_chunks/EditViewPage-B7VgwJaG.mjs.map +0 -1
- package/dist/_chunks/EditViewPage-BgjdnGz2.js.map +0 -1
- package/dist/_chunks/Field-CdK7ZLmv.js.map +0 -1
- package/dist/_chunks/Field-tHCw4lGA.mjs.map +0 -1
- package/dist/_chunks/Form-BJxdTv3Q.mjs.map +0 -1
- package/dist/_chunks/Form-C_0KTVvV.js.map +0 -1
- package/dist/_chunks/ListViewPage-B_GaWgRH.mjs.map +0 -1
- package/dist/_chunks/ListViewPage-SXIXm-RM.js.map +0 -1
- package/dist/_chunks/index-C9TJPyni.mjs.map +0 -1
- package/dist/_chunks/index-CdT0kHZ8.js.map +0 -1
- package/dist/_chunks/usePrev-B9w_-eYc.js.map +0 -1
- package/dist/_chunks/usePrev-DH6iah0A.mjs +0 -16
- package/dist/_chunks/usePrev-DH6iah0A.mjs.map +0 -1
@@ -5,9 +5,9 @@ import { useStrapiApp, createContext, useField, useNotification, useForm, useAPI
|
|
5
5
|
import { Box, SingleSelect, SingleSelectOption, Typography, Flex, BaseLink, Button, Popover, Field, Tooltip, IconButton, useComposedRefs, Portal, FocusTrap, Divider, VisuallyHidden, Grid as Grid$1, Accordion, TextButton, TextInput, IconButtonGroup, Menu, MenuItem } from "@strapi/design-system";
|
6
6
|
import pipe$1 from "lodash/fp/pipe";
|
7
7
|
import { useIntl } from "react-intl";
|
8
|
-
import { m as DOCUMENT_META_FIELDS, g as getTranslation, c as useDoc, e as contentManagerApi, d as buildValidParams, f as useDocumentRBAC,
|
8
|
+
import { m as DOCUMENT_META_FIELDS, g as getTranslation, c as useDoc, e as contentManagerApi, n as CLONE_PATH, d as buildValidParams, f as useDocumentRBAC, o as useDocLayout } from "./index-BHfS6_D5.mjs";
|
9
9
|
import { generateNKeysBetween } from "fractional-indexing";
|
10
|
-
import { u as useComponent, C as ComponentProvider, M as MemoizedRelationsField } from "./Relations-
|
10
|
+
import { u as useComponent, C as ComponentProvider, M as MemoizedRelationsField } from "./Relations-QP5yn9_z.mjs";
|
11
11
|
import { Code, HeadingOne, HeadingTwo, HeadingThree, HeadingFour, HeadingFive, HeadingSix, Image as Image$1, NumberList, BulletList, Paragraph, Quotes, Link as Link$1, Drag, Collapse, Bold, Italic, Underline, StrikeThrough, Expand, PlusCircle, Plus, Trash, EyeStriked, CheckCircle, WarningCircle, Loader, ArrowClockwise, More } from "@strapi/icons";
|
12
12
|
import { styled, css, keyframes } from "styled-components";
|
13
13
|
import { C as ComponentIcon, a as COMPONENT_ICONS } from "./ComponentIcon-u4bIXTFY.mjs";
|
@@ -17,9 +17,9 @@ import { g as getIn } from "./objects-mKMAmfec.mjs";
|
|
17
17
|
import { Editor as Editor$1, Transforms, Node, Element, Range, Path, Point, createEditor } from "slate";
|
18
18
|
import { withHistory } from "slate-history";
|
19
19
|
import { useFocused, useSelected, ReactEditor, Editable, useSlate, Slate, withReact } from "slate-react";
|
20
|
-
import { p as prefixFileUrlWithBackendUrl, u as usePrev } from "./
|
20
|
+
import { p as prefixFileUrlWithBackendUrl, u as usePrev, a as useDebounce } from "./useDebounce-DmuSJIF3.mjs";
|
21
21
|
import * as Toolbar from "@radix-ui/react-toolbar";
|
22
|
-
import { useLocation } from "react-router-dom";
|
22
|
+
import { useLocation, useMatch } from "react-router-dom";
|
23
23
|
import CodeMirror from "codemirror5";
|
24
24
|
import sanitizeHtml from "sanitize-html";
|
25
25
|
import { getLanguage, highlight, highlightAuto } from "highlight.js";
|
@@ -1407,7 +1407,7 @@ const ToolbarButton = ({
|
|
1407
1407
|
width: 7,
|
1408
1408
|
height: 7,
|
1409
1409
|
hasRadius: true,
|
1410
|
-
children: /* @__PURE__ */ jsx(Icon, {
|
1410
|
+
children: /* @__PURE__ */ jsx(Icon, { fill: disabled ? "neutral300" : enabledColor })
|
1411
1411
|
}
|
1412
1412
|
)
|
1413
1413
|
}
|
@@ -1749,6 +1749,7 @@ const DragItem = styled(Flex)`
|
|
1749
1749
|
}
|
1750
1750
|
`;
|
1751
1751
|
const DragIconButton = styled(IconButton)`
|
1752
|
+
user-select: none;
|
1752
1753
|
display: flex;
|
1753
1754
|
align-items: center;
|
1754
1755
|
justify-content: center;
|
@@ -1877,6 +1878,7 @@ const DragAndDropElement = ({
|
|
1877
1878
|
DragIconButton,
|
1878
1879
|
{
|
1879
1880
|
tag: "div",
|
1881
|
+
contentEditable: false,
|
1880
1882
|
role: "button",
|
1881
1883
|
tabIndex: 0,
|
1882
1884
|
withTooltip: false,
|
@@ -3256,18 +3258,6 @@ const NotAllowedInput = ({ hint, label, required, name: name2 }) => {
|
|
3256
3258
|
/* @__PURE__ */ jsx(Field.Hint, {})
|
3257
3259
|
] });
|
3258
3260
|
};
|
3259
|
-
function useDebounce(value, delay) {
|
3260
|
-
const [debouncedValue, setDebouncedValue] = useState(value);
|
3261
|
-
useEffect(() => {
|
3262
|
-
const handler = setTimeout(() => {
|
3263
|
-
setDebouncedValue(value);
|
3264
|
-
}, delay);
|
3265
|
-
return () => {
|
3266
|
-
clearTimeout(handler);
|
3267
|
-
};
|
3268
|
-
}, [value, delay]);
|
3269
|
-
return debouncedValue;
|
3270
|
-
}
|
3271
3261
|
const uidApi = contentManagerApi.injectEndpoints({
|
3272
3262
|
endpoints: (builder) => ({
|
3273
3263
|
getDefaultUID: builder.query({
|
@@ -3302,7 +3292,10 @@ const uidApi = contentManagerApi.injectEndpoints({
|
|
3302
3292
|
config: {
|
3303
3293
|
params
|
3304
3294
|
}
|
3305
|
-
})
|
3295
|
+
}),
|
3296
|
+
providesTags: (_res, _error, params) => [
|
3297
|
+
{ type: "UidAvailability", id: params.contentTypeUID }
|
3298
|
+
]
|
3306
3299
|
})
|
3307
3300
|
})
|
3308
3301
|
});
|
@@ -3314,8 +3307,10 @@ const UIDInput = React.forwardRef(
|
|
3314
3307
|
const allFormValues = useForm("InputUID", (form) => form.values);
|
3315
3308
|
const [availability, setAvailability] = React.useState();
|
3316
3309
|
const [showRegenerate, setShowRegenerate] = React.useState(false);
|
3310
|
+
const isCloning = useMatch(CLONE_PATH) !== null;
|
3317
3311
|
const field = useField(name2);
|
3318
3312
|
const debouncedValue = useDebounce(field.value, 300);
|
3313
|
+
const hasChanged = debouncedValue !== field.initialValue;
|
3319
3314
|
const { toggleNotification } = useNotification();
|
3320
3315
|
const { _unstableFormatAPIError: formatAPIError } = useAPIErrorHandler();
|
3321
3316
|
const { formatMessage } = useIntl();
|
@@ -3391,8 +3386,9 @@ const UIDInput = React.forwardRef(
|
|
3391
3386
|
params
|
3392
3387
|
},
|
3393
3388
|
{
|
3389
|
+
// Don't check availability if the value is empty or wasn't changed
|
3394
3390
|
skip: !Boolean(
|
3395
|
-
|
3391
|
+
(hasChanged || isCloning) && debouncedValue && UID_REGEX.test(debouncedValue.trim())
|
3396
3392
|
)
|
3397
3393
|
}
|
3398
3394
|
);
|
@@ -3421,6 +3417,7 @@ const UIDInput = React.forwardRef(
|
|
3421
3417
|
const isLoading = isGeneratingDefaultUID || isGeneratingUID || isCheckingAvailability;
|
3422
3418
|
const fieldRef = useFocusInputField(name2);
|
3423
3419
|
const composedRefs = useComposedRefs(ref, fieldRef);
|
3420
|
+
const shouldShowAvailability = (hasChanged || isCloning) && debouncedValue != null && availability && !showRegenerate;
|
3424
3421
|
return /* @__PURE__ */ jsxs(Field.Root, { hint, name: name2, error: field.error, required, children: [
|
3425
3422
|
/* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
|
3426
3423
|
/* @__PURE__ */ jsx(
|
@@ -3429,7 +3426,7 @@ const UIDInput = React.forwardRef(
|
|
3429
3426
|
ref: composedRefs,
|
3430
3427
|
disabled: props.disabled,
|
3431
3428
|
endAction: /* @__PURE__ */ jsxs(Flex, { position: "relative", gap: 1, children: [
|
3432
|
-
|
3429
|
+
shouldShowAvailability && /* @__PURE__ */ jsxs(
|
3433
3430
|
TextValidation,
|
3434
3431
|
{
|
3435
3432
|
alignItems: "center",
|
@@ -4578,31 +4575,11 @@ const quoteAndCodeHandler = (editor, markdownType) => {
|
|
4578
4575
|
insertWithoutTextToEdit(editor, markdownType, line, contentLength);
|
4579
4576
|
}
|
4580
4577
|
};
|
4581
|
-
const CustomIconButton = styled(IconButton)`
|
4582
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4583
|
-
|
4584
|
-
svg {
|
4585
|
-
width: 1.8rem;
|
4586
|
-
height: 1.8rem;
|
4587
|
-
}
|
4588
|
-
`;
|
4589
|
-
const CustomLinkIconButton = styled(CustomIconButton)`
|
4590
|
-
svg {
|
4591
|
-
width: 0.8rem;
|
4592
|
-
height: 0.8rem;
|
4593
|
-
}
|
4594
|
-
`;
|
4595
4578
|
const MainButtons = styled(IconButtonGroup)`
|
4596
4579
|
margin-left: ${({ theme }) => theme.spaces[4]};
|
4597
4580
|
`;
|
4598
4581
|
const MoreButton = styled(IconButton)`
|
4599
4582
|
margin: ${({ theme }) => `0 ${theme.spaces[2]}`};
|
4600
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4601
|
-
|
4602
|
-
svg {
|
4603
|
-
width: 1.8rem;
|
4604
|
-
height: 1.8rem;
|
4605
|
-
}
|
4606
4583
|
`;
|
4607
4584
|
const IconButtonGroupMargin = styled(IconButtonGroup)`
|
4608
4585
|
margin-right: ${({ theme }) => `${theme.spaces[2]}`};
|
@@ -4686,9 +4663,9 @@ const WysiwygNav = ({
|
|
4686
4663
|
}
|
4687
4664
|
) }),
|
4688
4665
|
/* @__PURE__ */ jsxs(MainButtons, { children: [
|
4689
|
-
/* @__PURE__ */ jsx(
|
4690
|
-
/* @__PURE__ */ jsx(
|
4691
|
-
/* @__PURE__ */ jsx(
|
4666
|
+
/* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Bold", name: "Bold", children: /* @__PURE__ */ jsx(Bold, {}) }),
|
4667
|
+
/* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Italic", name: "Italic", children: /* @__PURE__ */ jsx(Italic, {}) }),
|
4668
|
+
/* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Underline", name: "Underline", children: /* @__PURE__ */ jsx(Underline, {}) })
|
4692
4669
|
] }),
|
4693
4670
|
/* @__PURE__ */ jsx(MoreButton, { disabled: true, label: "More", children: /* @__PURE__ */ jsx(More, {}) })
|
4694
4671
|
] }),
|
@@ -4727,17 +4704,9 @@ const WysiwygNav = ({
|
|
4727
4704
|
}
|
4728
4705
|
) }),
|
4729
4706
|
/* @__PURE__ */ jsxs(MainButtons, { children: [
|
4707
|
+
/* @__PURE__ */ jsx(IconButton, { onClick: () => onActionClick("Bold", editorRef), label: "Bold", name: "Bold", children: /* @__PURE__ */ jsx(Bold, {}) }),
|
4730
4708
|
/* @__PURE__ */ jsx(
|
4731
|
-
|
4732
|
-
{
|
4733
|
-
onClick: () => onActionClick("Bold", editorRef),
|
4734
|
-
label: "Bold",
|
4735
|
-
name: "Bold",
|
4736
|
-
children: /* @__PURE__ */ jsx(Bold, {})
|
4737
|
-
}
|
4738
|
-
),
|
4739
|
-
/* @__PURE__ */ jsx(
|
4740
|
-
CustomIconButton,
|
4709
|
+
IconButton,
|
4741
4710
|
{
|
4742
4711
|
onClick: () => onActionClick("Italic", editorRef),
|
4743
4712
|
label: "Italic",
|
@@ -4746,7 +4715,7 @@ const WysiwygNav = ({
|
|
4746
4715
|
}
|
4747
4716
|
),
|
4748
4717
|
/* @__PURE__ */ jsx(
|
4749
|
-
|
4718
|
+
IconButton,
|
4750
4719
|
{
|
4751
4720
|
onClick: () => onActionClick("Underline", editorRef),
|
4752
4721
|
label: "Underline",
|
@@ -4760,7 +4729,7 @@ const WysiwygNav = ({
|
|
4760
4729
|
/* @__PURE__ */ jsx(Popover.Content, { sideOffset: 12, children: /* @__PURE__ */ jsxs(Flex, { padding: 2, children: [
|
4761
4730
|
/* @__PURE__ */ jsxs(IconButtonGroupMargin, { children: [
|
4762
4731
|
/* @__PURE__ */ jsx(
|
4763
|
-
|
4732
|
+
IconButton,
|
4764
4733
|
{
|
4765
4734
|
onClick: () => onActionClick("Strikethrough", editorRef, handleTogglePopover),
|
4766
4735
|
label: "Strikethrough",
|
@@ -4769,7 +4738,7 @@ const WysiwygNav = ({
|
|
4769
4738
|
}
|
4770
4739
|
),
|
4771
4740
|
/* @__PURE__ */ jsx(
|
4772
|
-
|
4741
|
+
IconButton,
|
4773
4742
|
{
|
4774
4743
|
onClick: () => onActionClick("BulletList", editorRef, handleTogglePopover),
|
4775
4744
|
label: "BulletList",
|
@@ -4778,7 +4747,7 @@ const WysiwygNav = ({
|
|
4778
4747
|
}
|
4779
4748
|
),
|
4780
4749
|
/* @__PURE__ */ jsx(
|
4781
|
-
|
4750
|
+
IconButton,
|
4782
4751
|
{
|
4783
4752
|
onClick: () => onActionClick("NumberList", editorRef, handleTogglePopover),
|
4784
4753
|
label: "NumberList",
|
@@ -4789,7 +4758,7 @@ const WysiwygNav = ({
|
|
4789
4758
|
] }),
|
4790
4759
|
/* @__PURE__ */ jsxs(IconButtonGroup, { children: [
|
4791
4760
|
/* @__PURE__ */ jsx(
|
4792
|
-
|
4761
|
+
IconButton,
|
4793
4762
|
{
|
4794
4763
|
onClick: () => onActionClick("Code", editorRef, handleTogglePopover),
|
4795
4764
|
label: "Code",
|
@@ -4798,7 +4767,7 @@ const WysiwygNav = ({
|
|
4798
4767
|
}
|
4799
4768
|
),
|
4800
4769
|
/* @__PURE__ */ jsx(
|
4801
|
-
|
4770
|
+
IconButton,
|
4802
4771
|
{
|
4803
4772
|
onClick: () => {
|
4804
4773
|
handleTogglePopover();
|
@@ -4810,7 +4779,7 @@ const WysiwygNav = ({
|
|
4810
4779
|
}
|
4811
4780
|
),
|
4812
4781
|
/* @__PURE__ */ jsx(
|
4813
|
-
|
4782
|
+
IconButton,
|
4814
4783
|
{
|
4815
4784
|
onClick: () => onActionClick("Link", editorRef, handleTogglePopover),
|
4816
4785
|
label: "Link",
|
@@ -4819,7 +4788,7 @@ const WysiwygNav = ({
|
|
4819
4788
|
}
|
4820
4789
|
),
|
4821
4790
|
/* @__PURE__ */ jsx(
|
4822
|
-
|
4791
|
+
IconButton,
|
4823
4792
|
{
|
4824
4793
|
onClick: () => onActionClick("Quote", editorRef, handleTogglePopover),
|
4825
4794
|
label: "Quote",
|
@@ -5547,4 +5516,4 @@ export {
|
|
5547
5516
|
transformDocument as t,
|
5548
5517
|
useLazyComponents as u
|
5549
5518
|
};
|
5550
|
-
//# sourceMappingURL=Field-
|
5519
|
+
//# sourceMappingURL=Field-DPAzUS1M.mjs.map
|