@comet/admin-rte 9.0.0-beta.1 → 9.0.0-beta.3
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/lib/core/BlockElement.d.ts +2 -2
- package/lib/core/BlockElement.d.ts.map +1 -1
- package/lib/core/Controls/BlockTypesControls.d.ts +1 -1
- package/lib/core/Controls/BlockTypesControls.d.ts.map +1 -1
- package/lib/core/Controls/ControlButton.d.ts +3 -3
- package/lib/core/Controls/ControlButton.d.ts.map +1 -1
- package/lib/core/Controls/Controls.d.ts +1 -1
- package/lib/core/Controls/Controls.d.ts.map +1 -1
- package/lib/core/Controls/CustomControls.d.ts +1 -1
- package/lib/core/Controls/CustomControls.d.ts.map +1 -1
- package/lib/core/Controls/FeaturesButtonGroup.d.ts +2 -2
- package/lib/core/Controls/FeaturesButtonGroup.d.ts.map +1 -1
- package/lib/core/Controls/HistoryContols.d.ts +1 -1
- package/lib/core/Controls/HistoryContols.d.ts.map +1 -1
- package/lib/core/Controls/InlineStyleTypeControls.d.ts +1 -1
- package/lib/core/Controls/InlineStyleTypeControls.d.ts.map +1 -1
- package/lib/core/Controls/LinkControls.d.ts +1 -1
- package/lib/core/Controls/LinkControls.d.ts.map +1 -1
- package/lib/core/Controls/ListsControls.d.ts +1 -1
- package/lib/core/Controls/ListsControls.d.ts.map +1 -1
- package/lib/core/Controls/ListsIndentControls.d.ts +1 -1
- package/lib/core/Controls/ListsIndentControls.d.ts.map +1 -1
- package/lib/core/Controls/SpecialCharactersControls.d.ts +1 -1
- package/lib/core/Controls/SpecialCharactersControls.d.ts.map +1 -1
- package/lib/core/Controls/Toolbar/Toolbar.d.ts +3 -3
- package/lib/core/Controls/Toolbar/Toolbar.d.ts.map +1 -1
- package/lib/core/Controls/TranslationControls.d.ts +1 -1
- package/lib/core/Controls/TranslationControls.d.ts.map +1 -1
- package/lib/core/Controls/useBlockTypes.d.ts +3 -3
- package/lib/core/Controls/useBlockTypes.d.ts.map +1 -1
- package/lib/core/Controls/useHistory.d.ts +2 -2
- package/lib/core/Controls/useHistory.d.ts.map +1 -1
- package/lib/core/Controls/useInlineStyleType.d.ts +2 -2
- package/lib/core/Controls/useInlineStyleType.d.ts.map +1 -1
- package/lib/core/Controls/useListIndent.d.ts +2 -2
- package/lib/core/Controls/useListIndent.d.ts.map +1 -1
- package/lib/core/Rte.d.ts +1 -1
- package/lib/core/Rte.d.ts.map +1 -1
- package/lib/core/RteReadOnly.d.ts +1 -1
- package/lib/core/RteReadOnly.d.ts.map +1 -1
- package/lib/core/defaultBlocktypeMap.d.ts +1 -1
- package/lib/core/defaultBlocktypeMap.d.ts.map +1 -1
- package/lib/core/extension/Link/Decorator.d.ts +1 -1
- package/lib/core/extension/Link/Decorator.d.ts.map +1 -1
- package/lib/core/extension/Link/EditorComponent.d.ts +2 -2
- package/lib/core/extension/Link/EditorComponent.d.ts.map +1 -1
- package/lib/core/extension/Link/ToolbarButton.d.ts +1 -1
- package/lib/core/extension/Link/ToolbarButton.d.ts.map +1 -1
- package/lib/core/extension/LinksRemove/ToolbarButton.d.ts +1 -1
- package/lib/core/extension/LinksRemove/ToolbarButton.d.ts.map +1 -1
- package/lib/core/extension/NonBreakingSpace/Decorator.d.ts +1 -1
- package/lib/core/extension/NonBreakingSpace/Decorator.d.ts.map +1 -1
- package/lib/core/extension/NonBreakingSpace/EditorComponent.d.ts +2 -2
- package/lib/core/extension/NonBreakingSpace/EditorComponent.d.ts.map +1 -1
- package/lib/core/extension/NonBreakingSpace/EditorComponent.js +2 -2
- package/lib/core/extension/NonBreakingSpace/ToolbarButton.d.ts +1 -1
- package/lib/core/extension/NonBreakingSpace/ToolbarButton.d.ts.map +1 -1
- package/lib/core/extension/SoftHyphen/Decorator.d.ts +1 -1
- package/lib/core/extension/SoftHyphen/Decorator.d.ts.map +1 -1
- package/lib/core/extension/SoftHyphen/EditorComponent.d.ts +2 -2
- package/lib/core/extension/SoftHyphen/EditorComponent.d.ts.map +1 -1
- package/lib/core/extension/SoftHyphen/EditorComponent.js +1 -1
- package/lib/core/extension/SoftHyphen/ToolbarButton.d.ts +1 -1
- package/lib/core/extension/SoftHyphen/ToolbarButton.d.ts.map +1 -1
- package/lib/core/filterEditor/composeFilterEditorFns.d.ts +1 -1
- package/lib/core/filterEditor/composeFilterEditorFns.d.ts.map +1 -1
- package/lib/core/filterEditor/default.d.ts +1 -1
- package/lib/core/filterEditor/default.d.ts.map +1 -1
- package/lib/core/filterEditor/manageStandardBlockType.d.ts +1 -1
- package/lib/core/filterEditor/manageStandardBlockType.d.ts.map +1 -1
- package/lib/core/filterEditor/removeBlocksExceedingBlockLimit.d.ts +1 -1
- package/lib/core/filterEditor/removeBlocksExceedingBlockLimit.d.ts.map +1 -1
- package/lib/core/filterEditor/removeUnsupportedBlockTypes.d.ts +1 -1
- package/lib/core/filterEditor/removeUnsupportedBlockTypes.d.ts.map +1 -1
- package/lib/core/filterEditor/removeUnsupportedEntities.d.ts +1 -1
- package/lib/core/filterEditor/removeUnsupportedEntities.d.ts.map +1 -1
- package/lib/core/filterEditor/removeUnsupportedInlineStyles.d.ts +1 -1
- package/lib/core/filterEditor/removeUnsupportedInlineStyles.d.ts.map +1 -1
- package/lib/core/filterEditor/removeUnsupportedListLevels.d.ts +1 -1
- package/lib/core/filterEditor/removeUnsupportedListLevels.d.ts.map +1 -1
- package/lib/core/filterEditor/utils/changeBlockType.d.ts +1 -1
- package/lib/core/filterEditor/utils/changeBlockType.d.ts.map +1 -1
- package/lib/core/filterEditor/utils/manipulateEntityData.d.ts +1 -1
- package/lib/core/filterEditor/utils/manipulateEntityData.d.ts.map +1 -1
- package/lib/core/filterEditor/utils/removeEntities.d.ts +1 -1
- package/lib/core/filterEditor/utils/removeEntities.d.ts.map +1 -1
- package/lib/core/filterEditor/utils/removeInlineStyles.d.ts +1 -1
- package/lib/core/filterEditor/utils/removeInlineStyles.d.ts.map +1 -1
- package/lib/core/translation/EditorStateTranslationDialog.d.ts +1 -1
- package/lib/core/translation/EditorStateTranslationDialog.d.ts.map +1 -1
- package/lib/core/translation/ToolbarButton.d.ts +1 -1
- package/lib/core/translation/ToolbarButton.d.ts.map +1 -1
- package/lib/core/translation/stateToHtml.d.ts +2 -2
- package/lib/core/translation/stateToHtml.d.ts.map +1 -1
- package/lib/core/types.d.ts +4 -4
- package/lib/core/types.d.ts.map +1 -1
- package/lib/core/utils/createBlockRenderMap.d.ts +1 -1
- package/lib/core/utils/createBlockRenderMap.d.ts.map +1 -1
- package/lib/core/utils/findEntityDataInCurrentSelection.d.ts +1 -1
- package/lib/core/utils/findEntityDataInCurrentSelection.d.ts.map +1 -1
- package/lib/core/utils/findTextInCurrentSelection.d.ts +1 -1
- package/lib/core/utils/findTextInCurrentSelection.d.ts.map +1 -1
- package/lib/core/utils/getCurrentBlock.d.ts +1 -1
- package/lib/core/utils/getCurrentBlock.d.ts.map +1 -1
- package/lib/core/utils/getRteTheme.d.ts +2 -2
- package/lib/core/utils/getRteTheme.d.ts.map +1 -1
- package/lib/core/utils/pasteAndFilterText.d.ts +1 -1
- package/lib/core/utils/pasteAndFilterText.d.ts.map +1 -1
- package/lib/core/utils/selectionIsInOneBlock.d.ts +1 -1
- package/lib/core/utils/selectionIsInOneBlock.d.ts.map +1 -1
- package/lib/field/createFinalFormRte.d.ts +1 -1
- package/lib/field/createFinalFormRte.d.ts.map +1 -1
- package/lib/field/createRteField.d.ts +2 -2
- package/lib/field/createRteField.d.ts.map +1 -1
- package/lib/utils/requiredValidator.d.ts +1 -1
- package/lib/utils/requiredValidator.d.ts.map +1 -1
- package/package.json +13 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ThemedComponentBaseProps } from "@comet/admin";
|
|
2
2
|
import { type ComponentsOverrides, type Theme, Typography, type TypographyProps } from "@mui/material";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { ElementType } from "react";
|
|
4
|
+
import type { SupportedThings } from "./Rte";
|
|
5
5
|
type StylableBlockTypes = Extract<SupportedThings, "header-one" | "header-two" | "header-three" | "header-four" | "header-five" | "header-six" | "blockquote" | "unordered-list" | "ordered-list">;
|
|
6
6
|
export type RteBlockElementClassKey = StylableBlockTypes | "root";
|
|
7
7
|
export interface RteBlockElementProps extends ThemedComponentBaseProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockElement.d.ts","sourceRoot":"","sources":["../../src/core/BlockElement.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,KAAK,mBAAmB,EAAO,KAAK,KAAK,EAAE,UAAU,EAAE,KAAK,eAAe,EAAiB,MAAM,eAAe,CAAC;AAC3H,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BlockElement.d.ts","sourceRoot":"","sources":["../../src/core/BlockElement.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,KAAK,mBAAmB,EAAO,KAAK,KAAK,EAAE,UAAU,EAAE,KAAK,eAAe,EAAiB,MAAM,eAAe,CAAC;AAC3H,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAG7C,KAAK,kBAAkB,GAAG,OAAO,CAC7B,eAAe,EACf,YAAY,GAAG,YAAY,GAAG,cAAc,GAAG,aAAa,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,GAAG,gBAAgB,GAAG,cAAc,CACjJ,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,MAAM,CAAC;AA4FlE,MAAM,WAAW,oBACb,SAAQ,wBAAwB,CAAC;IACzB,IAAI,EAAE,OAAO,UAAU,CAAC;CAC3B,CAAC,EACF,eAAe;IACnB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,SAAS,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,oBAAoB,2CAMzD;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,uBAAuB;QAC7B,yBAAyB,EAAE,uBAAuB,CAAC;KACtD;IAED,UAAU,mBAAmB;QACzB,yBAAyB,EAAE,oBAAoB,CAAC;KACnD;IAED,UAAU,UAAU;QAChB,yBAAyB,CAAC,EAAE;YACxB,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,2BAA2B,CAAC,CAAC,CAAC;YACzE,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,2BAA2B,CAAC,CAAC;SAC5E,CAAC;KACL;CACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentsOverrides, type Theme } from "@mui/material";
|
|
2
|
-
import {
|
|
2
|
+
import type { IControlProps } from "../types";
|
|
3
3
|
export type RteBlockTypeControlsClassKey = "root" | "select";
|
|
4
4
|
declare const _default: (p: IControlProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockTypesControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/BlockTypesControls.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,mBAAmB,EAOxB,KAAK,KAAK,EAEb,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BlockTypesControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/BlockTypesControls.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,mBAAmB,EAOxB,KAAK,KAAK,EAEb,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAa9C,MAAM,MAAM,4BAA4B,GAAG,MAAM,GAAG,QAAQ,CAAC;yBAoE7C,GAAG,aAAa;AAAhC,wBASE;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,uBAAuB;QAC7B,8BAA8B,EAAE,4BAA4B,CAAC;KAChE;IAED,UAAU,UAAU;QAChB,8BAA8B,CAAC,EAAE;YAC7B,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,gCAAgC,CAAC,CAAC;SACjF,CAAC;KACL;CACJ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ThemedComponentBaseProps } from "@comet/admin";
|
|
2
|
-
import {
|
|
2
|
+
import type { ComponentsOverrides } from "@mui/material";
|
|
3
3
|
import { type Theme } from "@mui/material/styles";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import type { SvgIconProps } from "@mui/material/SvgIcon";
|
|
5
|
+
import type { ForwardRefExoticComponent, MouseEvent, PropsWithChildren, RefAttributes } from "react";
|
|
6
6
|
export type RteControlButtonClassKey = "root" | "selected" | "renderAsIcon";
|
|
7
7
|
export interface IProps extends ThemedComponentBaseProps<{
|
|
8
8
|
root: "button";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControlButton.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/ControlButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ControlButton.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/ControlButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAO,KAAK,KAAK,EAAiB,MAAM,sBAAsB,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,yBAAyB,EAAE,UAAU,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAIrG,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,UAAU,GAAG,cAAc,CAAC;AA4D5E,MAAM,WAAW,MACb,SAAQ,wBAAwB,CAAC;IAC7B,IAAI,EAAE,QAAQ,CAAC;CAClB,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,IAAI,CAAC,EAAE,yBAAyB,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;IAE3F,mCAAmC;IACnC,IAAI,CAAC,EAAE,yBAAyB,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;CAC9F;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC,2CAyB/D;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,uBAAuB;QAC7B,0BAA0B,EAAE,wBAAwB,CAAC;KACxD;IAED,UAAU,UAAU;QAChB,0BAA0B,CAAC,EAAE;YACzB,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,4BAA4B,CAAC,CAAC;SAC7E,CAAC;KACL;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Controls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/Controls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Controls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/Controls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAY9C,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,CAAC,EAAE,aAAa,2CAoBhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/CustomControls.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CustomControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/CustomControls.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,CAAC,EAAE,aAAa,kDAiB1D"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ThemedComponentBaseProps } from "@comet/admin";
|
|
2
2
|
import { type ComponentsOverrides, ListItemIcon as MuiListItemIcon, MenuItem, type Theme } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import type { Editor } from "draft-js";
|
|
4
4
|
import { type RefObject } from "react";
|
|
5
|
-
import {
|
|
5
|
+
import type { IFeatureConfig } from "../types";
|
|
6
6
|
interface IProps extends ThemedComponentBaseProps<{
|
|
7
7
|
root: "div";
|
|
8
8
|
buttonWrapper: "div";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturesButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/FeaturesButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAW,MAAM,cAAc,CAAC;AAE3F,OAAO,EAAE,KAAK,mBAAmB,EAAO,YAAY,IAAI,eAAe,EAAQ,QAAQ,EAAE,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC1I,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FeaturesButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/FeaturesButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAW,MAAM,cAAc,CAAC;AAE3F,OAAO,EAAE,KAAK,mBAAmB,EAAO,YAAY,IAAI,eAAe,EAAQ,QAAQ,EAAE,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC1I,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAmB,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAGlE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,UAAU,MACN,SAAQ,wBAAwB,CAAC;IAC7B,IAAI,EAAE,KAAK,CAAC;IACZ,aAAa,EAAE,KAAK,CAAC;IACrB,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,YAAY,EAAE,OAAO,eAAe,CAAC;CACxC,CAAC;IACF,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,kDA4FlD;AAED,MAAM,MAAM,8BAA8B,GAAG,MAAM,GAAG,eAAe,GAAG,UAAU,GAAG,cAAc,CAAC;AAkCpG,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,uBAAuB;QAC7B,gCAAgC,EAAE,8BAA8B,CAAC;KACpE;IAED,UAAU,UAAU;QAChB,gCAAgC,CAAC,EAAE;YAC/B,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,kCAAkC,CAAC,CAAC;SACnF,CAAC;KACL;CACJ"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../types";
|
|
2
2
|
export default function HistoryControls({ editorState, setEditorState, options, disabled, editorRef }: IControlProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=HistoryContols.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HistoryContols.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/HistoryContols.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"HistoryContols.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/HistoryContols.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,aAAa,kDAMnH"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../types";
|
|
2
2
|
export default function InlineStyleTypeControls({ editorState, setEditorState, options: { supports: supportedThings, customInlineStyles }, disabled, editorRef, }: IControlProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=InlineStyleTypeControls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineStyleTypeControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/InlineStyleTypeControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"InlineStyleTypeControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/InlineStyleTypeControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC5C,WAAW,EACX,cAAc,EACd,OAAO,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,kBAAkB,EAAE,EAC1D,QAAQ,EACR,SAAS,GACZ,EAAE,aAAa,kDAMf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ThemedComponentBaseProps } from "@comet/admin";
|
|
2
2
|
import { ButtonGroup, type ComponentsOverrides, type Theme } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import type { IControlProps } from "../types";
|
|
4
4
|
export interface RteLinkControlsProps extends IControlProps, ThemedComponentBaseProps<{
|
|
5
5
|
root: typeof ButtonGroup;
|
|
6
6
|
item: "div";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/LinkControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,KAAK,mBAAmB,EAAO,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAItG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"LinkControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/LinkControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,KAAK,mBAAmB,EAAO,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAItG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,MAAM,WAAW,oBACb,SAAQ,aAAa,EACjB,wBAAwB,CAAC;IACrB,IAAI,EAAE,OAAO,WAAW,CAAC;IACzB,IAAI,EAAE,KAAK,CAAC;CACf,CAAC;CAAG;AAqBb,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,MAAM,CAAC;yBAmBtC,GAAG,aAAa;AAAhC,wBAQE;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,yBAAyB,EAAE,oBAAoB,CAAC;KACnD;IAED,UAAU,uBAAuB;QAC7B,yBAAyB,EAAE,uBAAuB,CAAC;KACtD;IAED,UAAU,UAAU;QAChB,yBAAyB,CAAC,EAAE;YACxB,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,2BAA2B,CAAC,CAAC,CAAC;YACzE,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,2BAA2B,CAAC,CAAC;SAC5E,CAAC;KACL;CACJ"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../types";
|
|
2
2
|
export default function ListsControls({ editorState, setEditorState, editorRef, options: { supports: supportedThings, blocktypeMap, standardBlockType }, disabled, }: IControlProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=ListsControls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListsControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/ListsControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ListsControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/ListsControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAClC,WAAW,EACX,cAAc,EACd,SAAS,EACT,OAAO,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,YAAY,EAAE,iBAAiB,EAAE,EACvE,QAAQ,GACX,EAAE,aAAa,kDAMf"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../types";
|
|
2
2
|
export default function ListsIndentControls({ editorState, setEditorState, options: { supports: supportedThings, listLevelMax }, disabled, editorRef, }: IControlProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=ListsIndentControls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListsIndentControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/ListsIndentControls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ListsIndentControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/ListsIndentControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI9C,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EACxC,WAAW,EACX,cAAc,EACd,OAAO,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,YAAY,EAAE,EACpD,QAAQ,EACR,SAAS,GACZ,EAAE,aAAa,kDAMf"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../types";
|
|
2
2
|
declare function SpecialCharactersControls(props: IControlProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default SpecialCharactersControls;
|
|
4
4
|
//# sourceMappingURL=SpecialCharactersControls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpecialCharactersControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/SpecialCharactersControls.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SpecialCharactersControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/SpecialCharactersControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,iBAAS,yBAAyB,CAAC,KAAK,EAAE,aAAa,kDAetD;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ThemedComponentBaseProps } from "@comet/admin";
|
|
2
|
+
import type { ComponentsOverrides, Theme } from "@mui/material";
|
|
3
3
|
import { type JSX } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import type { IControlProps } from "../../types";
|
|
5
5
|
import { type RteToolbarClassKey } from "./Toolbar.styles";
|
|
6
6
|
interface RteToolbarProps extends IControlProps, ThemedComponentBaseProps<{
|
|
7
7
|
root: "div";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../src/core/Controls/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../src/core/Controls/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAQ,KAAK,kBAAkB,EAAQ,MAAM,kBAAkB,CAAC;AAEvE,UAAU,eACN,SAAQ,aAAa,EACjB,wBAAwB,CAAC;IACrB,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,KAAK,CAAC;CACf,CAAC;IACN,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,aAAa,KAAK,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CAC7D;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,eAAe,2CAyB/C;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,oBAAoB,EAAE,eAAe,CAAC;KACzC;IAED,UAAU,uBAAuB;QAC7B,oBAAoB,EAAE,kBAAkB,CAAC;KAC5C;IAED,UAAU,UAAU;QAChB,oBAAoB,CAAC,EAAE;YACnB,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,CAAC;YACpE,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC,CAAC;SACvE,CAAC;KACL;CACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../types";
|
|
2
2
|
declare function TranslationControls(props: IControlProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export default TranslationControls;
|
|
4
4
|
//# sourceMappingURL=TranslationControls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranslationControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/TranslationControls.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TranslationControls.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/TranslationControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,iBAAS,mBAAmB,CAAC,KAAK,EAAE,aAAa,kDAWhD;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SelectChangeEvent } from "@mui/material";
|
|
2
2
|
import { type DraftBlockType, type Editor, type EditorState } from "draft-js";
|
|
3
3
|
import { type RefObject } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import type { SupportedThings } from "../Rte";
|
|
5
|
+
import type { IBlocktypeMap, IFeatureConfig } from "../types";
|
|
6
6
|
interface IProps {
|
|
7
7
|
editorState: EditorState;
|
|
8
8
|
setEditorState: (editorState: EditorState) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBlockTypes.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useBlockTypes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useBlockTypes.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useBlockTypes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAa,MAAM,UAAU,CAAC;AACzF,OAAO,EAAmB,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG9D,UAAU,MAAM;IACZ,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;IACnD,eAAe,EAAE,eAAe,EAAE,CAAC;IACnC,YAAY,EAAE,aAAa,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACpC,iBAAiB,EAAE,cAAc,CAAC;CACrC;AA+BD,KAAK,gBAAgB,GAAG,iBAAiB,CAAC,cAAc,CAAC,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC1B,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,uBAAuB,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,cAAc,EAAE,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAClC,WAAW,EACX,cAAc,EACd,eAAe,EACf,YAAY,EACZ,SAAS,EACT,iBAAiB,GACpB,EAAE,MAAM,GAAG,aAAa,CAkExB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorState } from "draft-js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SupportedThings } from "../Rte";
|
|
3
|
+
import type { IFeatureConfig } from "../types";
|
|
4
4
|
interface IProps {
|
|
5
5
|
editorState: EditorState;
|
|
6
6
|
setEditorState: (editorState: EditorState) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHistory.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useHistory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAIvC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useHistory.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useHistory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAIvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,UAAU,MAAM;IACZ,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;IACnD,eAAe,EAAE,eAAe,EAAE,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,EAAE,MAAM;;EAsD1F"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Editor, type EditorState } from "draft-js";
|
|
2
2
|
import { type RefObject } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { SupportedThings } from "../Rte";
|
|
4
|
+
import type { CustomInlineStyles, IFeatureConfig } from "../types";
|
|
5
5
|
interface IProps {
|
|
6
6
|
editorState: EditorState;
|
|
7
7
|
setEditorState: (editorState: EditorState) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInlineStyleType.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useInlineStyleType.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAa,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useInlineStyleType.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useInlineStyleType.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAa,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAmB,MAAM,UAAU,CAAC;AAIpF,UAAU,MAAM;IACZ,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;IACnD,eAAe,EAAE,eAAe,EAAE,CAAC;IACnC,SAAS,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACpC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CAC3C;AAqDD,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,kBAAkB,EAAE,EAAE,MAAM;;EAgEjI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorState } from "draft-js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SupportedThings } from "../Rte";
|
|
3
|
+
import type { IFeatureConfig } from "../types";
|
|
4
4
|
interface IProps {
|
|
5
5
|
editorState: EditorState;
|
|
6
6
|
setEditorState: (editorState: EditorState) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListIndent.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useListIndent.ts"],"names":[],"mappings":"AACA,OAAO,EAAoC,WAAW,EAAE,MAAM,UAAU,CAAC;AAIzE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useListIndent.d.ts","sourceRoot":"","sources":["../../../src/core/Controls/useListIndent.ts"],"names":[],"mappings":"AACA,OAAO,EAAoC,WAAW,EAAE,MAAM,UAAU,CAAC;AAIzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAwD/C,UAAU,MAAM;IACZ,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;IACnD,eAAe,EAAE,eAAe,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,YAAgB,EAAE,EAAE,MAAM;;EA4D/G"}
|
package/lib/core/Rte.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { type ThemedComponentBaseProps } from "@comet/admin";
|
|
|
3
3
|
import { type ComponentsOverrides, type Theme } from "@mui/material";
|
|
4
4
|
import { type DraftBlockType, type EditorProps as DraftJsEditorProps, type EditorState } from "draft-js";
|
|
5
5
|
import { type ForwardRefExoticComponent, type PropsWithoutRef, type RefAttributes } from "react";
|
|
6
|
-
import {
|
|
6
|
+
import type { CustomInlineStyles, IBlocktypeMap, ICustomBlockTypeMap_Deprecated, ToolbarButtonComponent } from "./types";
|
|
7
7
|
import { type RteThemeColors } from "./utils/getRteTheme";
|
|
8
8
|
export type SupportedThings = "bold" | "italic" | "underline" | "strikethrough" | "sub" | "sup" | "header-one" | "header-two" | "header-three" | "header-four" | "header-five" | "header-six" | "ordered-list" | "unordered-list" | "blockquote" | "history" | "link" | "links-remove" | "non-breaking-space" | "soft-hyphen";
|
|
9
9
|
export interface IRteOptions {
|
package/lib/core/Rte.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rte.d.ts","sourceRoot":"","sources":["../../src/core/Rte.tsx"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAuB,KAAK,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,KAAK,mBAAmB,EAAO,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AACzF,OAAO,EACH,KAAK,cAAc,EAKnB,KAAK,WAAW,IAAI,kBAAkB,EACtC,KAAK,WAAW,EAGnB,MAAM,UAAU,CAAC;AAElB,OAAO,EAGH,KAAK,yBAAyB,EAE9B,KAAK,eAAe,EACpB,KAAK,aAAa,EAIrB,MAAM,OAAO,CAAC;AAQf,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Rte.d.ts","sourceRoot":"","sources":["../../src/core/Rte.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "draft-js/dist/Draft.css";
|
|
2
2
|
import { type EditorState } from "draft-js";
|
|
3
|
-
import {
|
|
3
|
+
import type { IBlocktypeMap as IBlocktypeMap, ICustomBlockTypeMap_Deprecated } from "./types";
|
|
4
4
|
interface IRteReadOnlyOptions {
|
|
5
5
|
blocktypeMap: IBlocktypeMap;
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RteReadOnly.d.ts","sourceRoot":"","sources":["../../src/core/RteReadOnly.tsx"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAA2B,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAKrE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RteReadOnly.d.ts","sourceRoot":"","sources":["../../src/core/RteReadOnly.tsx"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAA2B,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAKrE,OAAO,KAAK,EAAE,aAAa,IAAI,aAAa,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAG9F,UAAU,mBAAmB;IACzB,YAAY,EAAE,aAAa,CAAC;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,8BAA8B,CAAC;CACnD;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAEpD,MAAM,WAAW,MAAM;IACnB,KAAK,EAAE,WAAW,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACtB;AAMD,QAAA,MAAM,WAAW,GAAI,+DAA+D,MAAM,4CA4CzF,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IBlocktypeMap } from "./types";
|
|
2
2
|
declare const defaultBlocktypeMap: IBlocktypeMap;
|
|
3
3
|
export declare function mergeBlocktypeMaps(...args: IBlocktypeMap[]): IBlocktypeMap;
|
|
4
4
|
export declare function cleanBlockTypeMap(map: IBlocktypeMap): IBlocktypeMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultBlocktypeMap.d.ts","sourceRoot":"","sources":["../../src/core/defaultBlocktypeMap.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"defaultBlocktypeMap.d.ts","sourceRoot":"","sources":["../../src/core/defaultBlocktypeMap.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAoB,aAAa,EAAE,MAAM,SAAS,CAAC;AAI/D,QAAA,MAAM,mBAAmB,EAAE,aA+F1B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,GAAG,IAAI,EAAE,aAAa,EAAE,iBAmB1D;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,aAAa,iBAgBnD;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Decorator.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/Link/Decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Decorator.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/Link/Decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI/C,eAAO,MAAM,WAAW,SAAS,CAAC;AAElC,QAAA,MAAM,SAAS,EAAE,cAShB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorComponent.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/Link/EditorComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EditorComponent.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/Link/EditorComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,UAAU,MAAM;IACZ,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,eAAe,GAAI,OAAO,iBAAiB,CAAC,MAAM,CAAC,4CAaxD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/Link/ToolbarButton.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/Link/ToolbarButton.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAOjD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,aAAa,2CAkCzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/LinksRemove/ToolbarButton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/LinksRemove/ToolbarButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,aAAa,2CAazD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Decorator.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/NonBreakingSpace/Decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Decorator.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/NonBreakingSpace/Decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAM/C,QAAA,MAAM,SAAS,EAAE,cAKhB,CAAC;AAWF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorComponent.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/NonBreakingSpace/EditorComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EditorComponent.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/NonBreakingSpace/EditorComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,UAAU,KAAK;IACX,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,GAAI,cAAc,iBAAiB,CAAC,KAAK,CAAC,4CAO9D,CAAC;AAkBF,eAAe,eAAe,CAAC"}
|
|
@@ -18,7 +18,7 @@ var Root = /*#__PURE__*/styled("span", process.env.NODE_ENV === "production" ? {
|
|
|
18
18
|
styles: "position:relative;letter-spacing:0.9em"
|
|
19
19
|
} : {
|
|
20
20
|
name: "vv2s67",
|
|
21
|
-
styles: "position:relative;letter-spacing:0.9em/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
21
|
+
styles: "position:relative;letter-spacing:0.9em/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb3JlL2V4dGVuc2lvbi9Ob25CcmVha2luZ1NwYWNlL0VkaXRvckNvbXBvbmVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUIyQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvY29yZS9leHRlbnNpb24vTm9uQnJlYWtpbmdTcGFjZS9FZGl0b3JDb21wb25lbnQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUnRlTm9uQnJlYWtpbmdTcGFjZSB9IGZyb20gXCJAY29tZXQvYWRtaW4taWNvbnNcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbXVpL21hdGVyaWFsL3N0eWxlc1wiO1xuaW1wb3J0IHR5cGUgeyBDb250ZW50U3RhdGUgfSBmcm9tIFwiZHJhZnQtanNcIjtcbmltcG9ydCB0eXBlIHsgUHJvcHNXaXRoQ2hpbGRyZW4gfSBmcm9tIFwicmVhY3RcIjtcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgICBjb250ZW50U3RhdGU6IENvbnRlbnRTdGF0ZTtcbiAgICBlbnRpdHlLZXk6IHN0cmluZztcbn1cblxuY29uc3QgRWRpdG9yQ29tcG9uZW50ID0gKHsgY2hpbGRyZW4gfTogUHJvcHNXaXRoQ2hpbGRyZW48UHJvcHM+KSA9PiB7XG4gICAgcmV0dXJuIChcbiAgICAgICAgPFJvb3Q+XG4gICAgICAgICAgICA8SWNvbiAvPlxuICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICA8L1Jvb3Q+XG4gICAgKTtcbn07XG5cbmNvbnN0IFJvb3QgPSBzdHlsZWQoXCJzcGFuXCIpYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAvLyBBcmJpdHJhcnkgdmFsdWUgdG8gbWFrZSB0aGUgbm9uLWJyZWFraW5nIHNwYWNlIHRoZSBzYW1lIHdpZHRoIGFzIHRoZSBpY29uXG4gICAgbGV0dGVyLXNwYWNpbmc6IDAuOWVtO1xuYDtcblxuY29uc3QgSWNvbiA9IHN0eWxlZChSdGVOb25CcmVha2luZ1NwYWNlKWBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgLy8gQXJiaXRyYXJ5IHZhbHVlcyB0byBtYWtlIHRoZSBpY29uIGxvb2sgY2VudGVyZWRcbiAgICB0b3A6IDAuMTJlbTtcbiAgICBsZWZ0OiAwLjA4ZW07XG4gICAgZm9udC1zaXplOiBpbmhlcml0O1xuICAgIGNvbG9yOiBjdXJyZW50Y29sb3I7XG4gICAgb3BhY2l0eTogMC41O1xuYDtcblxuZXhwb3J0IGRlZmF1bHQgRWRpdG9yQ29tcG9uZW50O1xuIl19 */",
|
|
22
22
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23
23
|
});
|
|
24
24
|
var Icon = /*#__PURE__*/styled(RteNonBreakingSpace, process.env.NODE_ENV === "production" ? {
|
|
@@ -31,7 +31,7 @@ var Icon = /*#__PURE__*/styled(RteNonBreakingSpace, process.env.NODE_ENV === "pr
|
|
|
31
31
|
styles: "position:absolute;top:0.12em;left:0.08em;font-size:inherit;color:currentcolor;opacity:0.5"
|
|
32
32
|
} : {
|
|
33
33
|
name: "11s64h0",
|
|
34
|
-
styles: "position:absolute;top:0.12em;left:0.08em;font-size:inherit;color:currentcolor;opacity:0.5/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
34
|
+
styles: "position:absolute;top:0.12em;left:0.08em;font-size:inherit;color:currentcolor;opacity:0.5/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb3JlL2V4dGVuc2lvbi9Ob25CcmVha2luZ1NwYWNlL0VkaXRvckNvbXBvbmVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUJ3QyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvY29yZS9leHRlbnNpb24vTm9uQnJlYWtpbmdTcGFjZS9FZGl0b3JDb21wb25lbnQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUnRlTm9uQnJlYWtpbmdTcGFjZSB9IGZyb20gXCJAY29tZXQvYWRtaW4taWNvbnNcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbXVpL21hdGVyaWFsL3N0eWxlc1wiO1xuaW1wb3J0IHR5cGUgeyBDb250ZW50U3RhdGUgfSBmcm9tIFwiZHJhZnQtanNcIjtcbmltcG9ydCB0eXBlIHsgUHJvcHNXaXRoQ2hpbGRyZW4gfSBmcm9tIFwicmVhY3RcIjtcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgICBjb250ZW50U3RhdGU6IENvbnRlbnRTdGF0ZTtcbiAgICBlbnRpdHlLZXk6IHN0cmluZztcbn1cblxuY29uc3QgRWRpdG9yQ29tcG9uZW50ID0gKHsgY2hpbGRyZW4gfTogUHJvcHNXaXRoQ2hpbGRyZW48UHJvcHM+KSA9PiB7XG4gICAgcmV0dXJuIChcbiAgICAgICAgPFJvb3Q+XG4gICAgICAgICAgICA8SWNvbiAvPlxuICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICA8L1Jvb3Q+XG4gICAgKTtcbn07XG5cbmNvbnN0IFJvb3QgPSBzdHlsZWQoXCJzcGFuXCIpYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAvLyBBcmJpdHJhcnkgdmFsdWUgdG8gbWFrZSB0aGUgbm9uLWJyZWFraW5nIHNwYWNlIHRoZSBzYW1lIHdpZHRoIGFzIHRoZSBpY29uXG4gICAgbGV0dGVyLXNwYWNpbmc6IDAuOWVtO1xuYDtcblxuY29uc3QgSWNvbiA9IHN0eWxlZChSdGVOb25CcmVha2luZ1NwYWNlKWBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgLy8gQXJiaXRyYXJ5IHZhbHVlcyB0byBtYWtlIHRoZSBpY29uIGxvb2sgY2VudGVyZWRcbiAgICB0b3A6IDAuMTJlbTtcbiAgICBsZWZ0OiAwLjA4ZW07XG4gICAgZm9udC1zaXplOiBpbmhlcml0O1xuICAgIGNvbG9yOiBjdXJyZW50Y29sb3I7XG4gICAgb3BhY2l0eTogMC41O1xuYDtcblxuZXhwb3J0IGRlZmF1bHQgRWRpdG9yQ29tcG9uZW50O1xuIl19 */",
|
|
35
35
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
36
36
|
});
|
|
37
37
|
export default EditorComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../../types";
|
|
2
2
|
declare function ToolbarButton({ editorState, setEditorState }: IControlProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ToolbarButton;
|
|
4
4
|
//# sourceMappingURL=ToolbarButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/NonBreakingSpace/ToolbarButton.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/NonBreakingSpace/ToolbarButton.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAIjD,iBAAS,aAAa,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,EAAE,aAAa,2CA6BpE;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Decorator.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/SoftHyphen/Decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Decorator.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/SoftHyphen/Decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAM/C,QAAA,MAAM,SAAS,EAAE,cAKhB,CAAC;AAWF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorComponent.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/SoftHyphen/EditorComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EditorComponent.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/SoftHyphen/EditorComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,UAAU,KAAK;IACX,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;CACrB;AAGD,eAAO,MAAM,eAAe,GAAI,cAAc,iBAAiB,CAAC,KAAK,CAAC,4CAOrE,CAAC"}
|
|
@@ -19,6 +19,6 @@ var VisibleHyphen = /*#__PURE__*/styled(RteSoftHyphen, process.env.NODE_ENV ===
|
|
|
19
19
|
styles: "font-size:inherit;color:currentcolor;opacity:0.5;padding-top:0.2em"
|
|
20
20
|
} : {
|
|
21
21
|
name: "1928uno",
|
|
22
|
-
styles: "font-size:inherit;color:currentcolor;opacity:0.5;padding-top:0.2em/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
22
|
+
styles: "font-size:inherit;color:currentcolor;opacity:0.5;padding-top:0.2em/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb3JlL2V4dGVuc2lvbi9Tb2Z0SHlwaGVuL0VkaXRvckNvbXBvbmVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0IyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvY29yZS9leHRlbnNpb24vU29mdEh5cGhlbi9FZGl0b3JDb21wb25lbnQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUnRlU29mdEh5cGhlbiB9IGZyb20gXCJAY29tZXQvYWRtaW4taWNvbnNcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbXVpL21hdGVyaWFsL3N0eWxlc1wiO1xuaW1wb3J0IHR5cGUgeyBDb250ZW50U3RhdGUgfSBmcm9tIFwiZHJhZnQtanNcIjtcbmltcG9ydCB0eXBlIHsgUHJvcHNXaXRoQ2hpbGRyZW4gfSBmcm9tIFwicmVhY3RcIjtcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgICBjb250ZW50U3RhdGU6IENvbnRlbnRTdGF0ZTtcbiAgICBlbnRpdHlLZXk6IHN0cmluZztcbn1cblxuLy9UT0RPOiBBbGxvdyB0ZXh0IHNlbGVjdGlvbiBmb3IgU29mdEh5cGhlblxuZXhwb3J0IGNvbnN0IEVkaXRvckNvbXBvbmVudCA9ICh7IGNoaWxkcmVuIH06IFByb3BzV2l0aENoaWxkcmVuPFByb3BzPikgPT4ge1xuICAgIHJldHVybiAoXG4gICAgICAgIDxzcGFuPlxuICAgICAgICAgICAgPFZpc2libGVIeXBoZW4gLz5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgPC9zcGFuPlxuICAgICk7XG59O1xuXG5jb25zdCBWaXNpYmxlSHlwaGVuID0gc3R5bGVkKFJ0ZVNvZnRIeXBoZW4pYFxuICAgIGZvbnQtc2l6ZTogaW5oZXJpdDtcbiAgICBjb2xvcjogY3VycmVudGNvbG9yO1xuICAgIG9wYWNpdHk6IDAuNTtcblxuICAgIC8vIEFyYml0cmFyeSB2YWx1ZSB0byBtYWtlIHRoZSBpY29uIGxvb2sgY2VudGVyZWRcbiAgICBwYWRkaW5nLXRvcDogMC4yZW07XG5gO1xuIl19 */",
|
|
23
23
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
24
24
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../../types";
|
|
2
2
|
export declare function ToolbarButton({ editorState, setEditorState }: IControlProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=ToolbarButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/SoftHyphen/ToolbarButton.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../../src/core/extension/SoftHyphen/ToolbarButton.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAIjD,wBAAgB,aAAa,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,EAAE,aAAa,2CAsB3E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const composeFilterEditorFns: (fns: FilterEditorStateBeforeUpdateFn[]) => FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default composeFilterEditorFns;
|
|
4
4
|
//# sourceMappingURL=composeFilterEditorFns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composeFilterEditorFns.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/composeFilterEditorFns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"composeFilterEditorFns.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/composeFilterEditorFns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAE9D,QAAA,MAAM,sBAAsB,EAAE,CAAC,GAAG,EAAE,+BAA+B,EAAE,KAAK,+BAEzE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const defaultFilterEditorStateBeforeUpdate: FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default defaultFilterEditorStateBeforeUpdate;
|
|
4
4
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAQ9D,QAAA,MAAM,oCAAoC,EAAE,+BAe3C,CAAC;AAEF,eAAe,oCAAoC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const manageStandardBlockType: FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default manageStandardBlockType;
|
|
4
4
|
//# sourceMappingURL=manageStandardBlockType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manageStandardBlockType.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/manageStandardBlockType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"manageStandardBlockType.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/manageStandardBlockType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAK9D,QAAA,MAAM,uBAAuB,EAAE,+BAO9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const removeBlocksExceedingBlockLimit: FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default removeBlocksExceedingBlockLimit;
|
|
4
4
|
//# sourceMappingURL=removeBlocksExceedingBlockLimit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeBlocksExceedingBlockLimit.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeBlocksExceedingBlockLimit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"removeBlocksExceedingBlockLimit.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeBlocksExceedingBlockLimit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAI9D,QAAA,MAAM,+BAA+B,EAAE,+BAmBtC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const removeUnsupportedBlockTypes: FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default removeUnsupportedBlockTypes;
|
|
4
4
|
//# sourceMappingURL=removeUnsupportedBlockTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeUnsupportedBlockTypes.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedBlockTypes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"removeUnsupportedBlockTypes.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedBlockTypes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAmB,MAAM,QAAQ,CAAC;AAG/E,QAAA,MAAM,2BAA2B,EAAE,+BA8BlC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const removeUnsupportedEntities: FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default removeUnsupportedEntities;
|
|
4
4
|
//# sourceMappingURL=removeUnsupportedEntities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeUnsupportedEntities.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedEntities.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"removeUnsupportedEntities.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedEntities.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAG9D,QAAA,MAAM,yBAAyB,EAAE,+BAehC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const removeUnsupportedInlineStyles: FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default removeUnsupportedInlineStyles;
|
|
4
4
|
//# sourceMappingURL=removeUnsupportedInlineStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeUnsupportedInlineStyles.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedInlineStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"removeUnsupportedInlineStyles.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedInlineStyles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAmB,MAAM,QAAQ,CAAC;AAI/E,QAAA,MAAM,6BAA6B,EAAE,+BAuBpC,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateBeforeUpdateFn } from "../Rte";
|
|
2
2
|
declare const removeUnsupportedListLevels: FilterEditorStateBeforeUpdateFn;
|
|
3
3
|
export default removeUnsupportedListLevels;
|
|
4
4
|
//# sourceMappingURL=removeUnsupportedListLevels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeUnsupportedListLevels.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedListLevels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"removeUnsupportedListLevels.d.ts","sourceRoot":"","sources":["../../../src/core/filterEditor/removeUnsupportedListLevels.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAE9D,QAAA,MAAM,2BAA2B,EAAE,+BASlC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changeBlockType.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/changeBlockType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAe,MAAM,UAAU,CAAC;AAE5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"changeBlockType.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/changeBlockType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAe,MAAM,UAAU,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,KAAK,aAAa,GAAG,cAAc,EAAE,CAAC;AAEtC,UAAU,QAAQ;IACd,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,QAAA,MAAM,eAAe,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,QAAQ,KAAK,mBAkCnG,CAAC;AAEN,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type EntityInstance } from "draft-js";
|
|
2
|
-
import {
|
|
2
|
+
import type { FilterEditorStateFn } from "../../types";
|
|
3
3
|
type UpdateEntityDataFn = (entity: EntityInstance) => Record<string, any> | undefined;
|
|
4
4
|
declare const manipulateEntityData: (updateEntityDataFn: UpdateEntityDataFn) => FilterEditorStateFn;
|
|
5
5
|
export default manipulateEntityData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manipulateEntityData.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/manipulateEntityData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"manipulateEntityData.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/manipulateEntityData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,KAAK,kBAAkB,GAAG,CAAC,MAAM,EAAE,cAAc,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;AAGtF,QAAA,MAAM,oBAAoB,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,KAAK,mBAgCvE,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type EntityInstance } from "draft-js";
|
|
2
|
-
import {
|
|
2
|
+
import type { FilterEditorStateFn } from "../../types";
|
|
3
3
|
type FilterFn = (entity: EntityInstance) => boolean;
|
|
4
4
|
declare const removeEntities: (filterFn: FilterFn) => FilterEditorStateFn;
|
|
5
5
|
export default removeEntities;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeEntities.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/removeEntities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"removeEntities.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/removeEntities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,KAAK,QAAQ,GAAG,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC;AAGpD,QAAA,MAAM,cAAc,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,mBA4B7C,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FilterEditorStateFn, InlineStyleType } from "../../types";
|
|
2
2
|
type StyleBlacklist = InlineStyleType[];
|
|
3
3
|
declare const removeInlineStyles: (blockBlacklist: StyleBlacklist) => FilterEditorStateFn;
|
|
4
4
|
export default removeInlineStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeInlineStyles.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/removeInlineStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"removeInlineStyles.d.ts","sourceRoot":"","sources":["../../../../src/core/filterEditor/utils/removeInlineStyles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAExE,KAAK,cAAc,GAAG,eAAe,EAAE,CAAC;AAGxC,QAAA,MAAM,kBAAkB,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,mBA6B7D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorStateTranslationDialog.d.ts","sourceRoot":"","sources":["../../../src/core/translation/EditorStateTranslationDialog.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EditorStateTranslationDialog.d.ts","sourceRoot":"","sources":["../../../src/core/translation/EditorStateTranslationDialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAK5C,UAAU,iCAAiC;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,WAAW,CAAC;IAC1B,cAAc,EAAE,WAAW,CAAC;IAC5B,kBAAkB,EAAE,CAAC,QAAQ,EAAE,WAAW,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,4BAA4B,GAAI,OAAO,iCAAiC,4CAcpF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IControlProps } from "../types";
|
|
2
2
|
declare function ToolbarButton({ editorState, setEditorState, options }: IControlProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ToolbarButton;
|
|
4
4
|
//# sourceMappingURL=ToolbarButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../src/core/translation/ToolbarButton.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ToolbarButton.d.ts","sourceRoot":"","sources":["../../../src/core/translation/ToolbarButton.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,iBAAS,aAAa,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,aAAa,2CA6C7E;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { EditorState } from "draft-js";
|
|
2
|
+
import type { IOptions } from "../Rte";
|
|
3
3
|
export declare function stateToHtml({ editorState, options }: {
|
|
4
4
|
editorState: EditorState;
|
|
5
5
|
options: IOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateToHtml.d.ts","sourceRoot":"","sources":["../../../src/core/translation/stateToHtml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"stateToHtml.d.ts","sourceRoot":"","sources":["../../../src/core/translation/stateToHtml.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,wBAAgB,WAAW,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,OAAO,EAAE,QAAQ,CAAA;CAAE;;;YAc3E,MAAM;cAAQ,GAAG;;EA0B1C"}
|
package/lib/core/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { SvgIconProps } from "@mui/material/SvgIcon";
|
|
2
|
+
import type { DraftInlineStyleType, Editor, EditorState } from "draft-js";
|
|
3
|
+
import type { ComponentType, CSSProperties, ForwardRefExoticComponent, JSX, MouseEvent, ReactNode, RefAttributes, RefObject } from "react";
|
|
4
|
+
import type { IRteOptions, SupportedThings } from "./Rte";
|
|
5
5
|
interface DraftBlockRenderConfig {
|
|
6
6
|
element: string | ComponentType;
|
|
7
7
|
wrapper?: ReactNode;
|
package/lib/core/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createBlockRenderMap.d.ts","sourceRoot":"","sources":["../../../src/core/utils/createBlockRenderMap.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,SAAS,MAAM,WAAW,CAAC;AAEvC,OAAO,
|
|
1
|
+
{"version":3,"file":"createBlockRenderMap.d.ts","sourceRoot":"","sources":["../../../src/core/utils/createBlockRenderMap.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,SAAS,MAAM,WAAW,CAAC;AAEvC,OAAO,KAAK,EAAoB,aAAa,EAAE,MAAM,UAAU,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,EAAE,aAAa,CAAA;CAAE,2BAY7F"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorState } from "draft-js";
|
|
2
2
|
export default function findEntityDataInCurrentSelection<T extends Record<string, any> = Record<string, any>>(editorState: EditorState, entityType: string): T | null;
|
|
3
3
|
//# sourceMappingURL=findEntityDataInCurrentSelection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findEntityDataInCurrentSelection.d.ts","sourceRoot":"","sources":["../../../src/core/utils/findEntityDataInCurrentSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"findEntityDataInCurrentSelection.d.ts","sourceRoot":"","sources":["../../../src/core/utils/findEntityDataInCurrentSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAK5C,MAAM,CAAC,OAAO,UAAU,gCAAgC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACxG,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,MAAM,GACnB,CAAC,GAAG,IAAI,CASV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findTextInCurrentSelection.d.ts","sourceRoot":"","sources":["../../../src/core/utils/findTextInCurrentSelection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"findTextInCurrentSelection.d.ts","sourceRoot":"","sources":["../../../src/core/utils/findTextInCurrentSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAK5C,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAanF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentBlock.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getCurrentBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getCurrentBlock.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getCurrentBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,WAAW,EAAE,WAAW,iDAM/D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
import type { RteProps } from "../Rte";
|
|
3
3
|
export type RteThemeColors = {
|
|
4
4
|
border: CSSProperties["color"];
|
|
5
5
|
outerBorderOnHover: CSSProperties["color"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRteTheme.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getRteTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getRteTheme.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getRteTheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG;IACzB,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,kBAAkB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC3C,kBAAkB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC3C,iBAAiB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC1C,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACnC,kBAAkB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC3C,qBAAqB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9C,iBAAiB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC1C,oBAAoB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CAChD,CAAC;AAEF,UAAU,QAAQ;IACd,MAAM,EAAE,cAAc,CAAC;CAC1B;yBAEe,YAAY,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,KAAG,QAAQ;AAApE,wBAcE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorState } from "draft-js";
|
|
2
2
|
import { type IOptions } from "../Rte";
|
|
3
3
|
declare function pasteAndFilterText(html: string | undefined, editorState: EditorState, options: Pick<IOptions, "supports" | "listLevelMax" | "maxBlocks" | "standardBlockType">): false | EditorState;
|
|
4
4
|
export { pasteAndFilterText };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pasteAndFilterText.d.ts","sourceRoot":"","sources":["../../../src/core/utils/pasteAndFilterText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"pasteAndFilterText.d.ts","sourceRoot":"","sources":["../../../src/core/utils/pasteAndFilterText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvD,iBAAS,kBAAkB,CACvB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,cAAc,GAAG,WAAW,GAAG,mBAAmB,CAAC,GACzF,KAAK,GAAG,WAAW,CAQrB;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectionIsInOneBlock.d.ts","sourceRoot":"","sources":["../../../src/core/utils/selectionIsInOneBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"selectionIsInOneBlock.d.ts","sourceRoot":"","sources":["../../../src/core/utils/selectionIsInOneBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAM/E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FunctionComponent } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import type { FieldRenderProps } from "react-final-form";
|
|
3
3
|
import { type IMakeRteApiProps } from "../core/makeRteApi";
|
|
4
4
|
import { type IOptions as RteOptions, type RteProps } from "../core/Rte";
|
|
5
5
|
export interface IConfig<T = any> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFinalFormRte.d.ts","sourceRoot":"","sources":["../../src/field/createFinalFormRte.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAU,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"createFinalFormRte.d.ts","sourceRoot":"","sources":["../../src/field/createFinalFormRte.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAU,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAmB,EAAE,KAAK,gBAAgB,EAAmC,MAAM,oBAAoB,CAAC;AACxG,OAAO,EAAE,KAAK,QAAQ,IAAI,UAAU,EAAO,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG9E,MAAM,WAAW,OAAO,CAAC,CAAC,GAAG,GAAG;IAC5B,aAAa,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B;AAID;;;;GAIG;AACH,iBAAS,kBAAkB,CAAC,CAAC,GAAG,GAAG,EAAE,MAAM,GAAE,OAAO,CAAC,CAAC,CAAiB;;;kBAmClB,CAAC;wBAAkB,OAAO;;EAiB9E;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FieldProps } from "@comet/admin";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { FunctionComponent } from "react";
|
|
3
|
+
import type { RteProps } from "../core/Rte";
|
|
4
4
|
import { type IConfig } from "./createFinalFormRte";
|
|
5
5
|
export type RteFieldProps = FieldProps<string, HTMLInputElement> & Partial<RteProps>;
|
|
6
6
|
export declare const createRteField: (config?: IConfig) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRteField.d.ts","sourceRoot":"","sources":["../../src/field/createRteField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"createRteField.d.ts","sourceRoot":"","sources":["../../src/field/createRteField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,OAA2B,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAExE,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAQrF,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO;;;;;;CAQ9C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type RawDraftContentState } from "draft-js";
|
|
2
|
-
import {
|
|
2
|
+
import type { FieldValidator } from "final-form";
|
|
3
3
|
export declare const requiredValidator: FieldValidator<string | RawDraftContentState | undefined>;
|
|
4
4
|
//# sourceMappingURL=requiredValidator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requiredValidator.d.ts","sourceRoot":"","sources":["../../src/utils/requiredValidator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"requiredValidator.d.ts","sourceRoot":"","sources":["../../src/utils/requiredValidator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAKjD,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,MAAM,GAAG,oBAAoB,GAAG,SAAS,CASvF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comet/admin-rte",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.3",
|
|
4
4
|
"description": "Comet Admin Rich Text Editor component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/admin/admin-rte",
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"url": "https://github.com/vivid-planet/comet"
|
|
9
9
|
},
|
|
10
10
|
"license": "BSD-2-Clause",
|
|
11
|
+
"sideEffects": [
|
|
12
|
+
"./lib/core/Rte.js",
|
|
13
|
+
"./lib/core/RteReadOnly.js"
|
|
14
|
+
],
|
|
11
15
|
"type": "module",
|
|
12
16
|
"exports": {
|
|
13
17
|
".": {
|
|
@@ -24,8 +28,8 @@
|
|
|
24
28
|
"draft-js-import-html": "^1.4.1",
|
|
25
29
|
"draftjs-conductor": "^3.0.0",
|
|
26
30
|
"immutable": "~3.8.2",
|
|
27
|
-
"@comet/admin": "9.0.0-beta.
|
|
28
|
-
"@comet/admin-icons": "9.0.0-beta.
|
|
31
|
+
"@comet/admin": "9.0.0-beta.3",
|
|
32
|
+
"@comet/admin-icons": "9.0.0-beta.3"
|
|
29
33
|
},
|
|
30
34
|
"devDependencies": {
|
|
31
35
|
"@babel/cli": "^7.28.6",
|
|
@@ -37,7 +41,7 @@
|
|
|
37
41
|
"draft-js": "^0.11.7",
|
|
38
42
|
"eslint": "^9.39.2",
|
|
39
43
|
"final-form": "^4.20.10",
|
|
40
|
-
"jsdom": "^28.
|
|
44
|
+
"jsdom": "^28.1.0",
|
|
41
45
|
"npm-run-all2": "^8.0.4",
|
|
42
46
|
"prettier": "^3.6.2",
|
|
43
47
|
"react": "^19.2.4",
|
|
@@ -47,8 +51,8 @@
|
|
|
47
51
|
"rimraf": "^6.1.2",
|
|
48
52
|
"typescript": "^5.9.3",
|
|
49
53
|
"vitest": "^4.0.16",
|
|
50
|
-
"@comet/admin-babel-preset": "9.0.0-beta.
|
|
51
|
-
"@comet/eslint-config": "9.0.0-beta.
|
|
54
|
+
"@comet/admin-babel-preset": "9.0.0-beta.3",
|
|
55
|
+
"@comet/eslint-config": "9.0.0-beta.3"
|
|
52
56
|
},
|
|
53
57
|
"peerDependencies": {
|
|
54
58
|
"@mui/material": "^7.0.0",
|
|
@@ -74,6 +78,9 @@
|
|
|
74
78
|
"lint": "run-p lint:prettier lint:eslint lint:tsc",
|
|
75
79
|
"lint:ci": "pnpm run lint",
|
|
76
80
|
"lint:eslint": "eslint --max-warnings 0 src/ '**/*.json' --no-warn-ignored",
|
|
81
|
+
"lint:fix": "run-p lint:fix:eslint lint:fix:prettier",
|
|
82
|
+
"lint:fix:eslint": "pnpm run lint:eslint --fix",
|
|
83
|
+
"lint:fix:prettier": "pnpm run lint:prettier --write",
|
|
77
84
|
"lint:prettier": "pnpm exec prettier --check '*.{ts,js,json,md,yml,yaml}'",
|
|
78
85
|
"lint:tsc": "tsc --noEmit",
|
|
79
86
|
"start": "run-p start:babel start:types",
|