@omnia/fx 8.0.93-dev → 8.0.94-dev
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/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +16 -16
- package/internal-do-not-import-from-here/ux/oxide/pagination/Pagination.d.ts +20 -20
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageEditor.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +5 -6
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/Alignment.d.ts +15 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/AlignmentToolbar.d.ts +16 -13
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLink.d.ts +114 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLinkMenu.d.ts +116 -20
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerEditorExtension.d.ts +164 -5
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerToolbar.d.ts +164 -30
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaImageNode.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNode.d.ts +9 -6
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNodeView.d.ts +165 -0
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +1 -1
- package/package.json +5 -4
- package/internal-do-not-import-from-here/ux/stylexjs/variables/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/stylexjs/variables/theme.d.ts +0 -11
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLinkMenu.d.ts
CHANGED
@@ -1,20 +1,116 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
1
|
+
import { TipTapEditor, GuidValue, EditorBubbleMenuBar } from "../../../../models";
|
2
|
+
declare const _default: {
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
"editor-id": {
|
5
|
+
type: import("vue").PropType<GuidValue>;
|
6
|
+
};
|
7
|
+
editorId: {
|
8
|
+
type: import("vue").PropType<GuidValue>;
|
9
|
+
};
|
10
|
+
editor: {
|
11
|
+
type: import("vue").PropType<TipTapEditor>;
|
12
|
+
} & {
|
13
|
+
type: import("vue").PropType<TipTapEditor>;
|
14
|
+
};
|
15
|
+
"on-content-changed": {
|
16
|
+
type: import("vue").PropType<(content: string) => void>;
|
17
|
+
};
|
18
|
+
onContentChanged: {
|
19
|
+
type: import("vue").PropType<(content: string) => void>;
|
20
|
+
};
|
21
|
+
menubar: {
|
22
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
23
|
+
} & {
|
24
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
25
|
+
};
|
26
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
27
|
+
"editor-id": {
|
28
|
+
type: import("vue").PropType<GuidValue>;
|
29
|
+
};
|
30
|
+
editorId: {
|
31
|
+
type: import("vue").PropType<GuidValue>;
|
32
|
+
};
|
33
|
+
editor: {
|
34
|
+
type: import("vue").PropType<TipTapEditor>;
|
35
|
+
} & {
|
36
|
+
type: import("vue").PropType<TipTapEditor>;
|
37
|
+
};
|
38
|
+
"on-content-changed": {
|
39
|
+
type: import("vue").PropType<(content: string) => void>;
|
40
|
+
};
|
41
|
+
onContentChanged: {
|
42
|
+
type: import("vue").PropType<(content: string) => void>;
|
43
|
+
};
|
44
|
+
menubar: {
|
45
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
46
|
+
} & {
|
47
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
48
|
+
};
|
49
|
+
}>>, {}, true, {}, {}, {
|
50
|
+
P: {};
|
51
|
+
B: {};
|
52
|
+
D: {};
|
53
|
+
C: {};
|
54
|
+
M: {};
|
55
|
+
Defaults: {};
|
56
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
57
|
+
"editor-id": {
|
58
|
+
type: import("vue").PropType<GuidValue>;
|
59
|
+
};
|
60
|
+
editorId: {
|
61
|
+
type: import("vue").PropType<GuidValue>;
|
62
|
+
};
|
63
|
+
editor: {
|
64
|
+
type: import("vue").PropType<TipTapEditor>;
|
65
|
+
} & {
|
66
|
+
type: import("vue").PropType<TipTapEditor>;
|
67
|
+
};
|
68
|
+
"on-content-changed": {
|
69
|
+
type: import("vue").PropType<(content: string) => void>;
|
70
|
+
};
|
71
|
+
onContentChanged: {
|
72
|
+
type: import("vue").PropType<(content: string) => void>;
|
73
|
+
};
|
74
|
+
menubar: {
|
75
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
76
|
+
} & {
|
77
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
78
|
+
};
|
79
|
+
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
80
|
+
__isFragment?: never;
|
81
|
+
__isTeleport?: never;
|
82
|
+
__isSuspense?: never;
|
83
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
84
|
+
"editor-id": {
|
85
|
+
type: import("vue").PropType<GuidValue>;
|
86
|
+
};
|
87
|
+
editorId: {
|
88
|
+
type: import("vue").PropType<GuidValue>;
|
89
|
+
};
|
90
|
+
editor: {
|
91
|
+
type: import("vue").PropType<TipTapEditor>;
|
92
|
+
} & {
|
93
|
+
type: import("vue").PropType<TipTapEditor>;
|
94
|
+
};
|
95
|
+
"on-content-changed": {
|
96
|
+
type: import("vue").PropType<(content: string) => void>;
|
97
|
+
};
|
98
|
+
onContentChanged: {
|
99
|
+
type: import("vue").PropType<(content: string) => void>;
|
100
|
+
};
|
101
|
+
menubar: {
|
102
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
103
|
+
} & {
|
104
|
+
type: import("vue").PropType<EditorBubbleMenuBar<any>>;
|
105
|
+
};
|
106
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
107
|
+
propsDefinition: Omit<Readonly<{} & {
|
108
|
+
menubar?: EditorBubbleMenuBar<any>;
|
109
|
+
editor?: TipTapEditor;
|
110
|
+
onContentChanged?: (content: string) => void;
|
111
|
+
"on-content-changed"?: (content: string) => void;
|
112
|
+
editorId?: GuidValue;
|
113
|
+
"editor-id"?: GuidValue;
|
114
|
+
}>, never>;
|
115
|
+
};
|
116
|
+
export default _default;
|
@@ -1,16 +1,175 @@
|
|
1
1
|
import { IMediaPicker } from "../../..";
|
2
|
-
import { Guid } from "../../../../models";
|
3
|
-
import MediaPickerToolbar from "./MediaPickerToolbar";
|
2
|
+
import { Guid, MediaPickerNodeCommand } from "../../../../models";
|
4
3
|
export declare const mediaPickerEditorExtension: () => {
|
5
4
|
id: Guid;
|
6
5
|
title: string;
|
7
6
|
getConfiguration(): {
|
8
7
|
nodes: import("@tiptap/core").Node<any, any>[];
|
9
8
|
toolbarItems: {
|
10
|
-
toolbar:
|
9
|
+
toolbar: {
|
10
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
11
|
+
"media-picker": {
|
12
|
+
type: import("vue").PropType<IMediaPicker>;
|
13
|
+
};
|
14
|
+
mediaPicker: {
|
15
|
+
type: import("vue").PropType<IMediaPicker>;
|
16
|
+
};
|
17
|
+
"onUpdate:selectedMedia": {
|
18
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
19
|
+
};
|
20
|
+
"v-model:selectedMedia": {
|
21
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
22
|
+
required: false;
|
23
|
+
};
|
24
|
+
selectedMedia: {
|
25
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
26
|
+
required: false;
|
27
|
+
};
|
28
|
+
editor: {
|
29
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
30
|
+
} & {
|
31
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
32
|
+
};
|
33
|
+
"on-content-changed": {
|
34
|
+
type: import("vue").PropType<(content: string) => void>;
|
35
|
+
};
|
36
|
+
onContentChanged: {
|
37
|
+
type: import("vue").PropType<(content: string) => void>;
|
38
|
+
};
|
39
|
+
menubar: {
|
40
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
41
|
+
} & {
|
42
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
43
|
+
};
|
44
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
45
|
+
"media-picker": {
|
46
|
+
type: import("vue").PropType<IMediaPicker>;
|
47
|
+
};
|
48
|
+
mediaPicker: {
|
49
|
+
type: import("vue").PropType<IMediaPicker>;
|
50
|
+
};
|
51
|
+
"onUpdate:selectedMedia": {
|
52
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
53
|
+
};
|
54
|
+
"v-model:selectedMedia": {
|
55
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
56
|
+
required: false;
|
57
|
+
};
|
58
|
+
selectedMedia: {
|
59
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
60
|
+
required: false;
|
61
|
+
};
|
62
|
+
editor: {
|
63
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
64
|
+
} & {
|
65
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
66
|
+
};
|
67
|
+
"on-content-changed": {
|
68
|
+
type: import("vue").PropType<(content: string) => void>;
|
69
|
+
};
|
70
|
+
onContentChanged: {
|
71
|
+
type: import("vue").PropType<(content: string) => void>;
|
72
|
+
};
|
73
|
+
menubar: {
|
74
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
75
|
+
} & {
|
76
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
77
|
+
};
|
78
|
+
}>>, {}, true, {}, {}, {
|
79
|
+
P: {};
|
80
|
+
B: {};
|
81
|
+
D: {};
|
82
|
+
C: {};
|
83
|
+
M: {};
|
84
|
+
Defaults: {};
|
85
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
86
|
+
"media-picker": {
|
87
|
+
type: import("vue").PropType<IMediaPicker>;
|
88
|
+
};
|
89
|
+
mediaPicker: {
|
90
|
+
type: import("vue").PropType<IMediaPicker>;
|
91
|
+
};
|
92
|
+
"onUpdate:selectedMedia": {
|
93
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
94
|
+
};
|
95
|
+
"v-model:selectedMedia": {
|
96
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
97
|
+
required: false;
|
98
|
+
};
|
99
|
+
selectedMedia: {
|
100
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
101
|
+
required: false;
|
102
|
+
};
|
103
|
+
editor: {
|
104
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
105
|
+
} & {
|
106
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
107
|
+
};
|
108
|
+
"on-content-changed": {
|
109
|
+
type: import("vue").PropType<(content: string) => void>;
|
110
|
+
};
|
111
|
+
onContentChanged: {
|
112
|
+
type: import("vue").PropType<(content: string) => void>;
|
113
|
+
};
|
114
|
+
menubar: {
|
115
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
116
|
+
} & {
|
117
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
118
|
+
};
|
119
|
+
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
120
|
+
__isFragment?: never;
|
121
|
+
__isTeleport?: never;
|
122
|
+
__isSuspense?: never;
|
123
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
124
|
+
"media-picker": {
|
125
|
+
type: import("vue").PropType<IMediaPicker>;
|
126
|
+
};
|
127
|
+
mediaPicker: {
|
128
|
+
type: import("vue").PropType<IMediaPicker>;
|
129
|
+
};
|
130
|
+
"onUpdate:selectedMedia": {
|
131
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
132
|
+
};
|
133
|
+
"v-model:selectedMedia": {
|
134
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
135
|
+
required: false;
|
136
|
+
};
|
137
|
+
selectedMedia: {
|
138
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
139
|
+
required: false;
|
140
|
+
};
|
141
|
+
editor: {
|
142
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
143
|
+
} & {
|
144
|
+
type: import("vue").PropType<import("@omnia/fx-models").TipTapEditor>;
|
145
|
+
};
|
146
|
+
"on-content-changed": {
|
147
|
+
type: import("vue").PropType<(content: string) => void>;
|
148
|
+
};
|
149
|
+
onContentChanged: {
|
150
|
+
type: import("vue").PropType<(content: string) => void>;
|
151
|
+
};
|
152
|
+
menubar: {
|
153
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
154
|
+
} & {
|
155
|
+
type: import("vue").PropType<import("@omnia/fx-models").MediaPickerMenuBar>;
|
156
|
+
};
|
157
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
158
|
+
propsDefinition: Omit<Readonly<{} & {
|
159
|
+
menubar?: import("@omnia/fx-models").MediaPickerMenuBar;
|
160
|
+
editor?: import("@omnia/fx-models").TipTapEditor;
|
161
|
+
onContentChanged?: (content: string) => void;
|
162
|
+
mediaPicker?: IMediaPicker;
|
163
|
+
"on-content-changed"?: (content: string) => void;
|
164
|
+
selectedMedia?: MediaPickerNodeCommand;
|
165
|
+
"onUpdate:selectedMedia"?: (value: MediaPickerNodeCommand) => any;
|
166
|
+
"v-model:selectedMedia"?: MediaPickerNodeCommand;
|
167
|
+
"media-picker"?: IMediaPicker;
|
168
|
+
}>, never>;
|
169
|
+
};
|
11
170
|
configuration: {
|
12
|
-
selectedMedia:
|
13
|
-
mediaPicker:
|
171
|
+
selectedMedia: MediaPickerNodeCommand;
|
172
|
+
mediaPicker: IMediaPicker;
|
14
173
|
};
|
15
174
|
}[];
|
16
175
|
};
|
@@ -1,30 +1,164 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
1
|
+
import { IMediaPicker } from "@omnia/fx/ux";
|
2
|
+
import { TipTapEditor, MediaPickerMenuBar, MediaPickerNodeCommand } from "@omnia/fx-models";
|
3
|
+
declare const _default: {
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
5
|
+
"media-picker": {
|
6
|
+
type: import("vue").PropType<IMediaPicker>;
|
7
|
+
};
|
8
|
+
mediaPicker: {
|
9
|
+
type: import("vue").PropType<IMediaPicker>;
|
10
|
+
};
|
11
|
+
"onUpdate:selectedMedia": {
|
12
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
13
|
+
};
|
14
|
+
"v-model:selectedMedia": {
|
15
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
16
|
+
required: false;
|
17
|
+
};
|
18
|
+
selectedMedia: {
|
19
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
20
|
+
required: false;
|
21
|
+
};
|
22
|
+
editor: {
|
23
|
+
type: import("vue").PropType<TipTapEditor>;
|
24
|
+
} & {
|
25
|
+
type: import("vue").PropType<TipTapEditor>;
|
26
|
+
};
|
27
|
+
"on-content-changed": {
|
28
|
+
type: import("vue").PropType<(content: string) => void>;
|
29
|
+
};
|
30
|
+
onContentChanged: {
|
31
|
+
type: import("vue").PropType<(content: string) => void>;
|
32
|
+
};
|
33
|
+
menubar: {
|
34
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
35
|
+
} & {
|
36
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
37
|
+
};
|
38
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
39
|
+
"media-picker": {
|
40
|
+
type: import("vue").PropType<IMediaPicker>;
|
41
|
+
};
|
42
|
+
mediaPicker: {
|
43
|
+
type: import("vue").PropType<IMediaPicker>;
|
44
|
+
};
|
45
|
+
"onUpdate:selectedMedia": {
|
46
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
47
|
+
};
|
48
|
+
"v-model:selectedMedia": {
|
49
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
50
|
+
required: false;
|
51
|
+
};
|
52
|
+
selectedMedia: {
|
53
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
54
|
+
required: false;
|
55
|
+
};
|
56
|
+
editor: {
|
57
|
+
type: import("vue").PropType<TipTapEditor>;
|
58
|
+
} & {
|
59
|
+
type: import("vue").PropType<TipTapEditor>;
|
60
|
+
};
|
61
|
+
"on-content-changed": {
|
62
|
+
type: import("vue").PropType<(content: string) => void>;
|
63
|
+
};
|
64
|
+
onContentChanged: {
|
65
|
+
type: import("vue").PropType<(content: string) => void>;
|
66
|
+
};
|
67
|
+
menubar: {
|
68
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
69
|
+
} & {
|
70
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
71
|
+
};
|
72
|
+
}>>, {}, true, {}, {}, {
|
73
|
+
P: {};
|
74
|
+
B: {};
|
75
|
+
D: {};
|
76
|
+
C: {};
|
77
|
+
M: {};
|
78
|
+
Defaults: {};
|
79
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
80
|
+
"media-picker": {
|
81
|
+
type: import("vue").PropType<IMediaPicker>;
|
82
|
+
};
|
83
|
+
mediaPicker: {
|
84
|
+
type: import("vue").PropType<IMediaPicker>;
|
85
|
+
};
|
86
|
+
"onUpdate:selectedMedia": {
|
87
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
88
|
+
};
|
89
|
+
"v-model:selectedMedia": {
|
90
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
91
|
+
required: false;
|
92
|
+
};
|
93
|
+
selectedMedia: {
|
94
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
95
|
+
required: false;
|
96
|
+
};
|
97
|
+
editor: {
|
98
|
+
type: import("vue").PropType<TipTapEditor>;
|
99
|
+
} & {
|
100
|
+
type: import("vue").PropType<TipTapEditor>;
|
101
|
+
};
|
102
|
+
"on-content-changed": {
|
103
|
+
type: import("vue").PropType<(content: string) => void>;
|
104
|
+
};
|
105
|
+
onContentChanged: {
|
106
|
+
type: import("vue").PropType<(content: string) => void>;
|
107
|
+
};
|
108
|
+
menubar: {
|
109
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
110
|
+
} & {
|
111
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
112
|
+
};
|
113
|
+
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
114
|
+
__isFragment?: never;
|
115
|
+
__isTeleport?: never;
|
116
|
+
__isSuspense?: never;
|
117
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
118
|
+
"media-picker": {
|
119
|
+
type: import("vue").PropType<IMediaPicker>;
|
120
|
+
};
|
121
|
+
mediaPicker: {
|
122
|
+
type: import("vue").PropType<IMediaPicker>;
|
123
|
+
};
|
124
|
+
"onUpdate:selectedMedia": {
|
125
|
+
type: import("vue").PropType<(value: MediaPickerNodeCommand) => any>;
|
126
|
+
};
|
127
|
+
"v-model:selectedMedia": {
|
128
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
129
|
+
required: false;
|
130
|
+
};
|
131
|
+
selectedMedia: {
|
132
|
+
type: import("vue").PropType<MediaPickerNodeCommand>;
|
133
|
+
required: false;
|
134
|
+
};
|
135
|
+
editor: {
|
136
|
+
type: import("vue").PropType<TipTapEditor>;
|
137
|
+
} & {
|
138
|
+
type: import("vue").PropType<TipTapEditor>;
|
139
|
+
};
|
140
|
+
"on-content-changed": {
|
141
|
+
type: import("vue").PropType<(content: string) => void>;
|
142
|
+
};
|
143
|
+
onContentChanged: {
|
144
|
+
type: import("vue").PropType<(content: string) => void>;
|
145
|
+
};
|
146
|
+
menubar: {
|
147
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
148
|
+
} & {
|
149
|
+
type: import("vue").PropType<MediaPickerMenuBar>;
|
150
|
+
};
|
151
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
152
|
+
propsDefinition: Omit<Readonly<{} & {
|
153
|
+
menubar?: MediaPickerMenuBar;
|
154
|
+
editor?: TipTapEditor;
|
155
|
+
onContentChanged?: (content: string) => void;
|
156
|
+
mediaPicker?: IMediaPicker;
|
157
|
+
"on-content-changed"?: (content: string) => void;
|
158
|
+
selectedMedia?: MediaPickerNodeCommand;
|
159
|
+
"onUpdate:selectedMedia"?: (value: MediaPickerNodeCommand) => any;
|
160
|
+
"v-model:selectedMedia"?: MediaPickerNodeCommand;
|
161
|
+
"media-picker"?: IMediaPicker;
|
162
|
+
}>, never>;
|
163
|
+
};
|
164
|
+
export default _default;
|
@@ -1,7 +1,10 @@
|
|
1
|
-
import "
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
import { MediaPickerNodeCommand } from "@omnia/fx-models";
|
2
|
+
declare module "@tiptap/core" {
|
3
|
+
interface Commands<ReturnType> {
|
4
|
+
mediaPicker: {
|
5
|
+
setMediaContent: (data: MediaPickerNodeCommand) => ReturnType;
|
6
|
+
};
|
7
|
+
}
|
8
|
+
}
|
9
|
+
declare const _default: () => import("@tiptap/vue-3").Node<any, any>;
|
7
10
|
export default _default;
|