@oyat/editor 1.2.1 → 1.3.0
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/components/editor/editor-base-kit.d.ts +2 -0
- package/dist/components/editor/editor-base-kit.d.ts.map +1 -0
- package/dist/components/editor/editor-kit.d.ts +6 -0
- package/dist/components/editor/editor-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/suggestion-kit.d.ts +1 -1
- package/dist/components/editor/plugins/suggestion-kit.d.ts.map +1 -1
- package/dist/components/editor/use-chat.d.ts.map +1 -1
- package/dist/components/ui/block-list-static.d.ts.map +1 -1
- package/dist/components/ui/block-suggestion.d.ts +1 -4
- package/dist/components/ui/block-suggestion.d.ts.map +1 -1
- package/dist/components/ui/blockquote-node-static.d.ts +1 -1
- package/dist/components/ui/blockquote-node-static.d.ts.map +1 -1
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/callout-node-static.d.ts +1 -1
- package/dist/components/ui/callout-node-static.d.ts.map +1 -1
- package/dist/components/ui/code-block-node-static.d.ts +2 -1
- package/dist/components/ui/code-block-node-static.d.ts.map +1 -1
- package/dist/components/ui/code-node-static.d.ts +1 -1
- package/dist/components/ui/code-node-static.d.ts.map +1 -1
- package/dist/components/ui/column-node-static.d.ts +2 -1
- package/dist/components/ui/column-node-static.d.ts.map +1 -1
- package/dist/components/ui/comment-node-static.d.ts +2 -1
- package/dist/components/ui/comment-node-static.d.ts.map +1 -1
- package/dist/components/ui/date-node-static.d.ts +2 -1
- package/dist/components/ui/date-node-static.d.ts.map +1 -1
- package/dist/components/ui/editor-static.d.ts +1 -1
- package/dist/components/ui/editor-static.d.ts.map +1 -1
- package/dist/components/ui/equation-node-static.d.ts +2 -1
- package/dist/components/ui/equation-node-static.d.ts.map +1 -1
- package/dist/components/ui/export-toolbar-button.d.ts.map +1 -1
- package/dist/components/ui/heading-node-static.d.ts +1 -1
- package/dist/components/ui/heading-node-static.d.ts.map +1 -1
- package/dist/components/ui/highlight-node-static.d.ts +1 -1
- package/dist/components/ui/highlight-node-static.d.ts.map +1 -1
- package/dist/components/ui/hr-node-static.d.ts +1 -1
- package/dist/components/ui/hr-node-static.d.ts.map +1 -1
- package/dist/components/ui/kbd-node-static.d.ts +1 -1
- package/dist/components/ui/kbd-node-static.d.ts.map +1 -1
- package/dist/components/ui/link-node-static.d.ts +2 -1
- package/dist/components/ui/link-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-audio-node-static.d.ts +2 -1
- package/dist/components/ui/media-audio-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-file-node-static.d.ts +2 -1
- package/dist/components/ui/media-file-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-image-node-static.d.ts +2 -1
- package/dist/components/ui/media-image-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-video-node-static.d.ts +2 -1
- package/dist/components/ui/media-video-node-static.d.ts.map +1 -1
- package/dist/components/ui/mention-node-static.d.ts +2 -1
- package/dist/components/ui/mention-node-static.d.ts.map +1 -1
- package/dist/components/ui/paragraph-node-static.d.ts +1 -1
- package/dist/components/ui/paragraph-node-static.d.ts.map +1 -1
- package/dist/components/ui/suggestion-node-static.d.ts +2 -1
- package/dist/components/ui/suggestion-node-static.d.ts.map +1 -1
- package/dist/components/ui/suggestion-node.d.ts.map +1 -1
- package/dist/components/ui/table-node-static.d.ts +2 -1
- package/dist/components/ui/table-node-static.d.ts.map +1 -1
- package/dist/components/ui/toc-node-static.d.ts +1 -1
- package/dist/components/ui/toc-node-static.d.ts.map +1 -1
- package/dist/components/ui/toggle-node-static.d.ts +1 -1
- package/dist/components/ui/toggle-node-static.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +829 -12696
- package/dist/index.js.map +1 -1
- package/package.json +63 -63
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-base-kit.d.ts","sourceRoot":"","sources":["../../../src/components/editor/editor-base-kit.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,aAAa,OAqBI,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Value } from 'platejs';
|
|
2
|
+
import { TPlateEditor } from 'platejs/react';
|
|
3
|
+
export declare const EditorKit: any[];
|
|
4
|
+
export type MyEditor = TPlateEditor<Value, (typeof EditorKit)[number]>;
|
|
5
|
+
export declare const useEditor: () => MyEditor | null;
|
|
6
|
+
//# sourceMappingURL=editor-kit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-kit.d.ts","sourceRoot":"","sources":["../../../src/components/editor/editor-kit.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAuB,MAAM,SAAS,CAAC;AAC1D,OAAO,EAAE,KAAK,YAAY,EAAgB,MAAM,eAAe,CAAC;AAqChE,eAAO,MAAM,SAAS,EAAE,GAAG,EAkD1B,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEvE,eAAO,MAAM,SAAS,QAAO,QAAQ,GAAG,IAAgC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseSuggestionConfig } from '@platejs/suggestion';
|
|
2
1
|
import { ExtendConfig, Path } from 'platejs';
|
|
2
|
+
import { BaseSuggestionConfig } from '@platejs/suggestion';
|
|
3
3
|
export type SuggestionConfig = ExtendConfig<BaseSuggestionConfig, {
|
|
4
4
|
activeId: string | null;
|
|
5
5
|
hoverId: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestion-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/suggestion-kit.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"suggestion-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/suggestion-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C39tH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-list-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-list-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"block-list-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-list-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAgB,MAAM,SAAS,CAAC;AAqBrE,eAAO,MAAM,eAAe,EAAE,uBAI7B,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { TResolvedSuggestion } from '@platejs/suggestion';
|
|
2
|
-
import { NodeEntry, Path, TElement,
|
|
2
|
+
import { NodeEntry, Path, TElement, TSuggestionText } from 'platejs';
|
|
3
3
|
import { TDiscussion } from '../editor/plugins/discussion-kit';
|
|
4
4
|
import { TComment } from './comment';
|
|
5
5
|
export interface ResolvedSuggestion extends TResolvedSuggestion {
|
|
6
6
|
comments: TComment[];
|
|
7
7
|
}
|
|
8
|
-
export declare function BlockSuggestion({ element }: {
|
|
9
|
-
element: TSuggestionElement;
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
11
8
|
export declare function BlockSuggestionCard({ idx, isLast, suggestion, }: {
|
|
12
9
|
idx: number;
|
|
13
10
|
isLast: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-suggestion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-suggestion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAU/D,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,
|
|
1
|
+
{"version":3,"file":"block-suggestion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-suggestion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAU/D,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,eAAe,EAKrB,MAAM,SAAS,CAAC;AAKjB,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB;AAmCD,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,MAAM,EACN,UAAU,GACX,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,kBAAkB,CAAC;CAChC,2CA6KA;AAED,eAAO,MAAM,oBAAoB,GAC/B,iBAAiB,SAAS,CAAC,QAAQ,GAAG,eAAe,CAAC,EAAE,EACxD,WAAW,IAAI,yBA2NhB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,YAAY,kBAAkB,GAAG,WAAW,KAC3C,UAAU,IAAI,kBAEhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/blockquote-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"blockquote-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/blockquote-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAgB,MAAM,gBAAgB,CAAC;AAEtE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,iBAAiB,2CAQ/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAA;AAG7E,OAAO,EAAE,MAAM,EAAkB,MAAM,wBAAwB,CAAA;AAE/D,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;CAC/D,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAA;AAG7E,OAAO,EAAE,MAAM,EAAkB,MAAM,wBAAwB,CAAA;AAE/D,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;CAC/D,2CAuJA;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,2CA+BxC;AAED,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SlateElementProps } from 'platejs';
|
|
1
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
2
|
export declare function CalloutElementStatic({ children, className, ...props }: SlateElementProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=callout-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callout-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/callout-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"callout-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/callout-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMxD,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAyBnB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TCodeBlockElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps, SlateLeafProps } from 'platejs/static';
|
|
2
3
|
export declare function CodeBlockElementStatic(props: SlateElementProps<TCodeBlockElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export declare function CodeLineElementStatic(props: SlateElementProps): import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
export declare function CodeSyntaxLeafStatic(props: SlateLeafProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-block-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/code-block-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"code-block-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/code-block-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAExB,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,2CAc5C;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,2CAE7D;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,cAAc,2CAIzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/code-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"code-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/code-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIrD,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,2CAUnD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TColumnElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function ColumnElementStatic(props: SlateElementProps<TColumnElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export declare function ColumnGroupElementStatic(props: SlateElementProps): import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
//# sourceMappingURL=column-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/column-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"column-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/column-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,2CAe3E;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,iBAAiB,2CAMhE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TCommentText } from 'platejs';
|
|
2
|
+
import { SlateLeafProps } from 'platejs/static';
|
|
2
3
|
export declare function CommentLeafStatic(props: SlateLeafProps<TCommentText>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=comment-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/comment-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"comment-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/comment-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIrD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,CAAC,YAAY,CAAC,2CASpE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TDateElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function DateElementStatic(props: SlateElementProps<TDateElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=date-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/date-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"date-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/date-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,YAAY,CAAC,2CAuCvE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { PlateStaticProps } from 'platejs';
|
|
2
|
+
import { PlateStaticProps } from 'platejs/static';
|
|
3
3
|
export declare const editorVariants: (props?: ({
|
|
4
4
|
disabled?: boolean | null | undefined;
|
|
5
5
|
focused?: boolean | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/editor-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,KAAK,gBAAgB,EAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"editor-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/editor-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,EAAE,KAAK,gBAAgB,EAAe,MAAM,gBAAgB,CAAC;AAIpE,eAAO,MAAM,cAAc;;;;8EAgC1B,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,gBAAgB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,2CAOxD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TEquationElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function EquationElementStatic(props: SlateElementProps<TEquationElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export declare function InlineEquationElementStatic(props: SlateElementProps<TEquationElement>): import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
//# sourceMappingURL=equation-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equation-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/equation-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"equation-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/equation-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAQxD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,2CA2C3C;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,2CAyC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/export-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"export-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/export-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAsBvE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,2CAqJ3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/heading-node-static.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"heading-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/heading-node-static.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,eAAe;;8EAWnB,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,EACnC,OAAc,EACd,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,2CAU1D;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,iBAAiB,2CAEvD;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,2CAGzD;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,2CAGzD;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,2CAGzD;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,2CAGzD;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,2CAGzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/highlight-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"highlight-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/highlight-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIrD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,2CAMxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hr-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/hr-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hr-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/hr-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMxD,wBAAgB,eAAe,CAAC,KAAK,EAAE,iBAAiB,2CAavD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kbd-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/kbd-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"kbd-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/kbd-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIrD,wBAAgB,aAAa,CAAC,KAAK,EAAE,cAAc,2CAUlD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TLinkElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function LinkElementStatic(props: SlateElementProps<TLinkElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=link-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/link-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"link-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/link-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,YAAY,CAAC,2CAcvE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TAudioElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function AudioElementStatic(props: SlateElementProps<TAudioElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=media-audio-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-audio-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-audio-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"media-audio-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-audio-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC,2CAWzE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TFileElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function FileElementStatic(props: SlateElementProps<TFileElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=media-file-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-file-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-file-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"media-file-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-file-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,YAAY,CAAC,2CAsBvE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TCaptionProps, TImageElement, TResizableProps } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function ImageElementStatic(props: SlateElementProps<TImageElement & TCaptionProps & TResizableProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=media-image-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-image-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-image-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"media-image-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-image-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,iBAAiB,CAAC,aAAa,GAAG,aAAa,GAAG,eAAe,CAAC,2CA6B1E"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TCaptionElement, TResizableProps, TVideoElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function VideoElementStatic(props: SlateElementProps<TVideoElement & TCaptionElement & TResizableProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=media-video-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-video-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-video-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"media-video-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-video-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,iBAAiB,CAAC,aAAa,GAAG,eAAe,GAAG,eAAe,CAAC,2CAsB5E"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TMentionElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function MentionElementStatic(props: SlateElementProps<TMentionElement> & {
|
|
3
4
|
prefix?: string;
|
|
4
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mention-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/mention-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"mention-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/mention-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,GAAG;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,2CA0BF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/paragraph-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"paragraph-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/paragraph-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMxD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,2CAM9D"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TSuggestionText } from 'platejs';
|
|
2
|
+
import { SlateLeafProps } from 'platejs/static';
|
|
2
3
|
export declare function SuggestionLeafStatic(props: SlateLeafProps<TSuggestionText>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
//# sourceMappingURL=suggestion-node-static.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestion-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/suggestion-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"suggestion-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/suggestion-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAOrD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,cAAc,CAAC,eAAe,CAAC,2CA0B1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestion-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/suggestion-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"suggestion-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/suggestion-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAOvE,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,4CAA4C,CAAC;AA6BpD,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,eAAe,CAAC,2CAuCpE;AACD,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,gBAAgB,CAenE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TTableCellElement, TTableElement } from 'platejs';
|
|
2
|
+
import { SlateElementProps } from 'platejs/static';
|
|
2
3
|
export declare function TableElementStatic({ children, ...props }: SlateElementProps<TTableElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export declare function TableRowElementStatic(props: SlateElementProps): import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
export declare function TableCellElementStatic({ isHeader, ...props }: SlateElementProps<TTableCellElement> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"table-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,aAAa,CAAC,2CAiBlC;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,2CAM7D;AAED,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CA8CA;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,2CAG5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toc-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toc-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"toc-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toc-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAsBxD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CA4BxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toggle-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,2CAY3D"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ export { EditorKit } from './components/editor/editor-kit';
|
|
|
4
4
|
export { BaseEditorKit } from './components/editor/editor-base-kit';
|
|
5
5
|
export type { MyEditor } from './components/editor/editor-kit';
|
|
6
6
|
export type { Value } from 'platejs';
|
|
7
|
-
export { normalizeNodeId, createSlateEditor, createSlatePlugin
|
|
7
|
+
export { normalizeNodeId, createSlateEditor, createSlatePlugin } from 'platejs';
|
|
8
|
+
export { serializeHtml, PlateStatic } from 'platejs/static';
|
|
8
9
|
export { Plate, PlateView, usePlateEditor, usePlateViewEditor, toPlatePlugin, PlateLeaf, type PlateLeafProps, } from 'platejs/react';
|
|
9
10
|
export { computeDiff, withGetFragmentExcludeDiff, type DiffOperation, type DiffUpdate, } from '@platejs/diff';
|
|
10
11
|
export { Editor, EditorContainer, EditorView } from './components/ui/editor';
|
|
@@ -30,7 +31,6 @@ export { FontKit } from './components/editor/plugins/font-kit';
|
|
|
30
31
|
export { LineHeightKit } from './components/editor/plugins/line-height-kit';
|
|
31
32
|
export { LinkKit } from './components/editor/plugins/link-kit';
|
|
32
33
|
export { ListKit } from './components/editor/plugins/list-kit';
|
|
33
|
-
export { MarkdownKit } from './components/editor/plugins/markdown-kit';
|
|
34
34
|
export { MathKit } from './components/editor/plugins/math-kit';
|
|
35
35
|
export { MediaKit } from './components/editor/plugins/media-kit';
|
|
36
36
|
export { MentionKit } from './components/editor/plugins/mention-kit';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGzE,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,YAAY,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAG/D,YAAY,EAAE,KAAK,EAAE,MAAM,SAA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