@itshixun/qckeditor-vue2 1.1.3 → 1.1.5
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/README.md +105 -6
- package/dist/index.css +2 -2
- package/dist/index.d.ts +84 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1428 -1290
- package/dist/src/components/QCKClassic.d.ts +2 -5
- package/dist/src/components/QCKClassic.d.ts.map +1 -1
- package/dist/src/components/QCKEditor.d.ts +93 -0
- package/dist/src/components/QCKEditor.d.ts.map +1 -0
- package/dist/src/components/QCKEditorPro.d.ts.map +1 -1
- package/dist/src/types.d.ts +10 -1
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/headingConfig.d.ts +3 -0
- package/dist/src/utils/headingConfig.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export { default as CKEditor } from './src/components/CKEditor';
|
|
2
2
|
export { default as QCKClassic } from './src/components/QCKClassic';
|
|
3
|
+
export { default as QCKEditor } from './src/components/QCKEditor';
|
|
3
4
|
export { default as QCKEditorPro } from './src/components/QCKEditorPro';
|
|
4
5
|
export { default as QCKContent } from './src/components/QCKContent';
|
|
5
6
|
export { default as QCKImageViewer } from './src/components/QCKImageViewer';
|
|
6
|
-
export type { Props, ExtractEditorType, QCKImagePreviewOptions } from './src/types';
|
|
7
|
+
export type { Props, ExtractEditorType, QCKImagePreviewOptions, QEditorType, QEditorInstance } from './src/types';
|
|
7
8
|
export { createXHRUploadAdapter, createMockUploadAdapter, createAsyncUploadAdapter } from './src/utils/uploadAdapter';
|
|
8
9
|
export type { UploadAdapterOptions } from './src/utils/uploadAdapter';
|
|
9
10
|
declare const _default: {
|
|
@@ -98,7 +99,11 @@ declare const _default: {
|
|
|
98
99
|
fontSize: number;
|
|
99
100
|
modelValue: string;
|
|
100
101
|
}>;
|
|
101
|
-
|
|
102
|
+
QCKEditor: import('vue').DefineComponent<{
|
|
103
|
+
type: {
|
|
104
|
+
type: import('vue').PropType<import('.').QEditorType>;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
102
107
|
value: {
|
|
103
108
|
type: StringConstructor;
|
|
104
109
|
default: string;
|
|
@@ -128,9 +133,83 @@ declare const _default: {
|
|
|
128
133
|
default: (data: string) => string;
|
|
129
134
|
};
|
|
130
135
|
}, {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}, {}, {}, {
|
|
136
|
+
normalizedType: import('vue').ComputedRef<import('.').QEditorType>;
|
|
137
|
+
editorClass: import('vue').ComputedRef<typeof import('ckeditor5').InlineEditor | typeof import('ckeditor5').DecoupledEditor | typeof import('ckeditor5').ClassicEditor>;
|
|
138
|
+
}, {}, {}, {
|
|
139
|
+
onEditorReady(editor: import('.').QEditorInstance): void;
|
|
140
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "focus" | "input" | "ready" | "destroy" | "update:modelValue")[], string, Readonly<import('vue').ExtractPropTypes<{
|
|
141
|
+
type: {
|
|
142
|
+
type: import('vue').PropType<import('.').QEditorType>;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
value: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
modelValue: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
config: {
|
|
154
|
+
type: import('vue').PropType<import('ckeditor5').EditorConfig>;
|
|
155
|
+
default: () => {};
|
|
156
|
+
};
|
|
157
|
+
tagName: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
disabled: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
disableTwoWayDataBinding: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
dataNormalizer: {
|
|
170
|
+
type: import('vue').PropType<(data: string) => string>;
|
|
171
|
+
default: (data: string) => string;
|
|
172
|
+
};
|
|
173
|
+
}>>, {
|
|
174
|
+
value: string;
|
|
175
|
+
config: import('ckeditor5').EditorConfig;
|
|
176
|
+
tagName: string;
|
|
177
|
+
disabled: boolean;
|
|
178
|
+
disableTwoWayDataBinding: boolean;
|
|
179
|
+
dataNormalizer: (data: string) => string;
|
|
180
|
+
modelValue: string;
|
|
181
|
+
type: import('.').QEditorType;
|
|
182
|
+
}>;
|
|
183
|
+
QCKClassic: import('vue').DefineComponent<{
|
|
184
|
+
value: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
modelValue: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
config: {
|
|
193
|
+
type: import('vue').PropType<import('ckeditor5').EditorConfig>;
|
|
194
|
+
default: () => {};
|
|
195
|
+
};
|
|
196
|
+
tagName: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
default: string;
|
|
199
|
+
};
|
|
200
|
+
disabled: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: boolean;
|
|
203
|
+
};
|
|
204
|
+
disableTwoWayDataBinding: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
dataNormalizer: {
|
|
209
|
+
type: import('vue').PropType<(data: string) => string>;
|
|
210
|
+
default: (data: string) => string;
|
|
211
|
+
};
|
|
212
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "focus" | "input" | "ready" | "destroy" | "update:modelValue")[], string, Readonly<import('vue').ExtractPropTypes<{
|
|
134
213
|
value: {
|
|
135
214
|
type: StringConstructor;
|
|
136
215
|
default: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAG5E,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGlH,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACtH,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUtE,wBAOE;AAIF,OAAO,wBAAwB,CAAC"}
|