@opentinyvue/vue-fluent-editor 2.22.0 → 3.22.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/lib/index.js CHANGED
@@ -100,7 +100,7 @@ var FluentEditor = defineComponent({
100
100
  });
101
101
  }
102
102
  });
103
- var version = "2.22.0";
103
+ var version = "3.22.0";
104
104
  FluentEditor.model = {
105
105
  prop: "modelValue",
106
106
  event: "update:modelValue"
@@ -4,38 +4,42 @@ import FluentEditor from '@opentiny/fluent-editor';
4
4
  import '@opentiny/fluent-editor/style.css';
5
5
  import { IconEditorAlignCenter, IconEditorAlignLeft, IconEditorAlignRight, IconEditorBackground, IconEditorBold, IconEditorCode, IconEditorDeleteline, IconEditorEraser, IconEditorItalic, IconEditorLeftBorder, IconEditorList, IconEditorListDot, IconEditorListNum, IconEditorMenuLeft, IconEditorMenuRight, IconEditorQuote, IconEditorRedo, IconEditorRightBorder, IconEditorSub, IconEditorSubtitle, IconEditorSuper, IconEditorTable, IconEditorTextcolor, IconEditorTitle, IconEditorUnderline, IconEditorUndo, IconEditorVideo, IconLink, IconPicture, IconCloudUpload, IconFullscreen } from '@opentinyvue/vue-icon';
6
6
  import ImageViewer from '@opentinyvue/vue-image-viewer';
7
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, normalizeProps, mergeProps, createCommentVNode, Fragment, renderList, resolveDynamicComponent } from 'vue';
7
8
 
8
- function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
9
- var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
10
- if (render) {
11
- options.render = render;
12
- options.staticRenderFns = staticRenderFns;
13
- options._compiled = true;
9
+ function _createForOfIteratorHelperLoose(r, e) {
10
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
11
+ if (t) return (t = t.call(r)).next.bind(t);
12
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
13
+ t && (r = t);
14
+ var o = 0;
15
+ return function() {
16
+ return o >= r.length ? { done: true } : { done: false, value: r[o++] };
17
+ };
14
18
  }
15
- var hook;
16
- if (injectStyles) {
17
- hook = injectStyles;
18
- }
19
- if (hook) {
20
- if (options.functional) {
21
- options._injectStyles = hook;
22
- var originalRender = options.render;
23
- options.render = function renderWithStyleInjection(h, context) {
24
- hook.call(context);
25
- return originalRender(h, context);
26
- };
27
- } else {
28
- var existing = options.beforeCreate;
29
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
30
- }
19
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
20
+ }
21
+ function _unsupportedIterableToArray(r, a) {
22
+ if (r) {
23
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
24
+ var t = {}.toString.call(r).slice(8, -1);
25
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
31
26
  }
32
- return {
33
- exports: scriptExports,
34
- options
35
- };
36
27
  }
28
+ function _arrayLikeToArray(r, a) {
29
+ (null == a || a > r.length) && (a = r.length);
30
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
31
+ return n;
32
+ }
33
+ var _export_sfc = function _export_sfc2(sfc, props) {
34
+ var target = sfc.__vccOpts || sfc;
35
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
36
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
37
+ target[key] = val;
38
+ }
39
+ return target;
40
+ };
37
41
 
38
- var __vue2_script = defineComponent({
42
+ var _sfc_main = defineComponent({
39
43
  name: $prefix + "FluentEditor",
40
44
  components: {
41
45
  TinyImageViewer: ImageViewer,
@@ -85,50 +89,66 @@ var __vue2_script = defineComponent({
85
89
  });
86
90
  }
87
91
  });
88
- var render = function render2() {
89
- var _vm = this;
90
- var _h = _vm.$createElement;
91
- var _c = _vm._self._c || _h;
92
- return _c("div", {
93
- staticClass: "tiny-editor-wrapper",
94
- class: {
95
- "fullscreen": _vm.state.isFullscreen
96
- },
97
- style: {
98
- "z-index": _vm.state.zIndex
99
- }
100
- }, [_c("div", {
101
- ref: "editor",
102
- staticClass: "tiny-editor",
103
- attrs: {
104
- "id": "editor"
105
- },
106
- on: {
107
- "dblclick": _vm.handleDblclick
108
- }
109
- }), _vm.state.showPreview ? _c("tiny-image-viewer", _vm._b({}, "tiny-image-viewer", _vm.state.previewOptions, false)) : _vm._e(), _c("div", {
110
- ref: "editor-toolbar-icon",
111
- staticClass: "toolbar-icon"
112
- }, _vm._l(_vm.state.icons, function(icon) {
113
- return _c("div", {
114
- key: icon,
115
- ref: icon,
116
- refInFor: true
117
- }, [_c(icon, {
118
- tag: "component"
119
- })], 1);
120
- }), 0)], 1);
92
+ var _hoisted_1 = {
93
+ class: "toolbar-icon",
94
+ ref: "editor-toolbar-icon"
121
95
  };
122
- var staticRenderFns = [];
123
- var __cssModules = {};
124
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
125
- function __vue2_injectStyles(context) {
126
- for (var o in __cssModules) {
127
- this[o] = __cssModules[o];
128
- }
96
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
97
+ var _component_tiny_image_viewer = resolveComponent("tiny-image-viewer");
98
+ return openBlock(), createElementBlock(
99
+ "div",
100
+ {
101
+ class: normalizeClass(["tiny-editor-wrapper", {
102
+ "fullscreen": _ctx.state.isFullscreen
103
+ }]),
104
+ style: normalizeStyle({
105
+ "z-index": _ctx.state.zIndex
106
+ })
107
+ },
108
+ [createElementVNode(
109
+ "div",
110
+ {
111
+ ref: "editor",
112
+ id: "editor",
113
+ class: "tiny-editor",
114
+ onDblclick: _cache[0] || (_cache[0] = function() {
115
+ return _ctx.handleDblclick && _ctx.handleDblclick.apply(_ctx, arguments);
116
+ })
117
+ },
118
+ null,
119
+ 544
120
+ /* NEED_HYDRATION, NEED_PATCH */
121
+ ), _ctx.state.showPreview ? (openBlock(), createBlock(
122
+ _component_tiny_image_viewer,
123
+ normalizeProps(mergeProps({
124
+ key: 0
125
+ }, _ctx.state.previewOptions)),
126
+ null,
127
+ 16
128
+ /* FULL_PROPS */
129
+ )) : createCommentVNode("v-if", true), createElementVNode(
130
+ "div",
131
+ _hoisted_1,
132
+ [(openBlock(true), createElementBlock(
133
+ Fragment,
134
+ null,
135
+ renderList(_ctx.state.icons, function(icon) {
136
+ return openBlock(), createElementBlock("div", {
137
+ key: icon,
138
+ ref_for: true,
139
+ ref: icon
140
+ }, [(openBlock(), createBlock(resolveDynamicComponent(icon)))]);
141
+ }),
142
+ 128
143
+ /* KEYED_FRAGMENT */
144
+ ))],
145
+ 512
146
+ /* NEED_PATCH */
147
+ )],
148
+ 6
149
+ /* CLASS, STYLE */
150
+ );
129
151
  }
130
- var mobileFirst = /* @__PURE__ */ function() {
131
- return __component__.exports;
132
- }();
152
+ var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
133
153
 
134
154
  export { mobileFirst as default };
package/lib/pc.js CHANGED
@@ -5,38 +5,42 @@ import FluentEditor from '@opentiny/fluent-editor';
5
5
  import '@opentiny/fluent-editor/style.css';
6
6
  import { IconEditorAlignCenter, IconEditorAlignLeft, IconEditorAlignRight, IconEditorBackground, IconEditorBold, IconEditorCode, IconEditorDeleteline, IconEditorEraser, IconEditorItalic, IconEditorLeftBorder, IconEditorList, IconEditorListDot, IconEditorListNum, IconEditorMenuLeft, IconEditorMenuRight, IconEditorQuote, IconEditorRedo, IconEditorRightBorder, IconEditorSub, IconEditorSubtitle, IconEditorSuper, IconEditorTable, IconEditorTextcolor, IconEditorTitle, IconEditorUnderline, IconEditorUndo, IconEditorVideo, IconLink, IconPicture, IconCloudUpload, IconFullscreen } from '@opentinyvue/vue-icon';
7
7
  import ImageViewer from '@opentinyvue/vue-image-viewer';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, normalizeProps, mergeProps, createCommentVNode, Fragment, renderList, resolveDynamicComponent } from 'vue';
8
9
 
9
- function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
10
- var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
11
- if (render) {
12
- options.render = render;
13
- options.staticRenderFns = staticRenderFns;
14
- options._compiled = true;
10
+ function _createForOfIteratorHelperLoose(r, e) {
11
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
12
+ if (t) return (t = t.call(r)).next.bind(t);
13
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
14
+ t && (r = t);
15
+ var o = 0;
16
+ return function() {
17
+ return o >= r.length ? { done: true } : { done: false, value: r[o++] };
18
+ };
15
19
  }
16
- var hook;
17
- if (injectStyles) {
18
- hook = injectStyles;
19
- }
20
- if (hook) {
21
- if (options.functional) {
22
- options._injectStyles = hook;
23
- var originalRender = options.render;
24
- options.render = function renderWithStyleInjection(h, context) {
25
- hook.call(context);
26
- return originalRender(h, context);
27
- };
28
- } else {
29
- var existing = options.beforeCreate;
30
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
31
- }
20
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21
+ }
22
+ function _unsupportedIterableToArray(r, a) {
23
+ if (r) {
24
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
25
+ var t = {}.toString.call(r).slice(8, -1);
26
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
32
27
  }
33
- return {
34
- exports: scriptExports,
35
- options
36
- };
37
28
  }
29
+ function _arrayLikeToArray(r, a) {
30
+ (null == a || a > r.length) && (a = r.length);
31
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
32
+ return n;
33
+ }
34
+ var _export_sfc = function _export_sfc2(sfc, props) {
35
+ var target = sfc.__vccOpts || sfc;
36
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
37
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
38
+ target[key] = val;
39
+ }
40
+ return target;
41
+ };
38
42
 
39
- var __vue2_script = defineComponent({
43
+ var _sfc_main = defineComponent({
40
44
  name: $prefix + "FluentEditor",
41
45
  components: {
42
46
  TinyImageViewer: ImageViewer,
@@ -86,50 +90,66 @@ var __vue2_script = defineComponent({
86
90
  });
87
91
  }
88
92
  });
89
- var render = function render2() {
90
- var _vm = this;
91
- var _h = _vm.$createElement;
92
- var _c = _vm._self._c || _h;
93
- return _c("div", {
94
- staticClass: "tiny-editor-wrapper",
95
- class: {
96
- "fullscreen": _vm.state.isFullscreen
97
- },
98
- style: {
99
- "z-index": _vm.state.zIndex
100
- }
101
- }, [_c("div", {
102
- ref: "editor",
103
- staticClass: "tiny-editor",
104
- attrs: {
105
- "id": "editor"
106
- },
107
- on: {
108
- "dblclick": _vm.handleDblclick
109
- }
110
- }), _vm.state.showPreview ? _c("tiny-image-viewer", _vm._b({}, "tiny-image-viewer", _vm.state.previewOptions, false)) : _vm._e(), _c("div", {
111
- ref: "editor-toolbar-icon",
112
- staticClass: "toolbar-icon"
113
- }, _vm._l(_vm.state.icons, function(icon) {
114
- return _c("div", {
115
- key: icon,
116
- ref: icon,
117
- refInFor: true
118
- }, [_c(icon, {
119
- tag: "component"
120
- })], 1);
121
- }), 0)], 1);
93
+ var _hoisted_1 = {
94
+ class: "toolbar-icon",
95
+ ref: "editor-toolbar-icon"
122
96
  };
123
- var staticRenderFns = [];
124
- var __cssModules = {};
125
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
126
- function __vue2_injectStyles(context) {
127
- for (var o in __cssModules) {
128
- this[o] = __cssModules[o];
129
- }
97
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
98
+ var _component_tiny_image_viewer = resolveComponent("tiny-image-viewer");
99
+ return openBlock(), createElementBlock(
100
+ "div",
101
+ {
102
+ class: normalizeClass(["tiny-editor-wrapper", {
103
+ "fullscreen": _ctx.state.isFullscreen
104
+ }]),
105
+ style: normalizeStyle({
106
+ "z-index": _ctx.state.zIndex
107
+ })
108
+ },
109
+ [createElementVNode(
110
+ "div",
111
+ {
112
+ ref: "editor",
113
+ id: "editor",
114
+ class: "tiny-editor",
115
+ onDblclick: _cache[0] || (_cache[0] = function() {
116
+ return _ctx.handleDblclick && _ctx.handleDblclick.apply(_ctx, arguments);
117
+ })
118
+ },
119
+ null,
120
+ 544
121
+ /* NEED_HYDRATION, NEED_PATCH */
122
+ ), _ctx.state.showPreview ? (openBlock(), createBlock(
123
+ _component_tiny_image_viewer,
124
+ normalizeProps(mergeProps({
125
+ key: 0
126
+ }, _ctx.state.previewOptions)),
127
+ null,
128
+ 16
129
+ /* FULL_PROPS */
130
+ )) : createCommentVNode("v-if", true), createElementVNode(
131
+ "div",
132
+ _hoisted_1,
133
+ [(openBlock(true), createElementBlock(
134
+ Fragment,
135
+ null,
136
+ renderList(_ctx.state.icons, function(icon) {
137
+ return openBlock(), createElementBlock("div", {
138
+ key: icon,
139
+ ref_for: true,
140
+ ref: icon
141
+ }, [(openBlock(), createBlock(resolveDynamicComponent(icon)))]);
142
+ }),
143
+ 128
144
+ /* KEYED_FRAGMENT */
145
+ ))],
146
+ 512
147
+ /* NEED_PATCH */
148
+ )],
149
+ 6
150
+ /* CLASS, STYLE */
151
+ );
130
152
  }
131
- var pc = /* @__PURE__ */ function() {
132
- return __component__.exports;
133
- }();
153
+ var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
134
154
 
135
155
  export { pc as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-fluent-editor",
3
- "version": "2.22.0",
3
+ "version": "3.22.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -9,9 +9,9 @@
9
9
  "type": "module",
10
10
  "dependencies": {
11
11
  "@opentiny/fluent-editor": "^3.24.0",
12
- "@opentinyvue/vue-common": "~2.22.0",
13
- "@opentinyvue/vue-icon": "~2.22.0",
14
- "@opentinyvue/vue-image-viewer": "~2.22.0",
12
+ "@opentinyvue/vue-common": "~3.22.0",
13
+ "@opentinyvue/vue-icon": "~3.22.0",
14
+ "@opentinyvue/vue-image-viewer": "~3.22.0",
15
15
  "@opentinyvue/vue-renderless": "~3.22.0",
16
16
  "@opentinyvue/vue-theme": "~3.22.0"
17
17
  },
package/src/index.d.ts CHANGED
@@ -32,7 +32,7 @@ export declare const fluentEditorProps: {
32
32
  required: boolean;
33
33
  default: () => {};
34
34
  };
35
- picPreview: (ObjectConstructor | BooleanConstructor)[];
35
+ picPreview: (BooleanConstructor | ObjectConstructor)[];
36
36
  dataType: {
37
37
  type: BooleanConstructor;
38
38
  default: boolean;
@@ -60,5 +60,141 @@ export declare const fluentEditorProps: {
60
60
  tiny_theme: StringConstructor;
61
61
  tiny_chart_theme: ObjectConstructor;
62
62
  };
63
- declare const _default: any;
63
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
64
+ _constants: {
65
+ type: ObjectConstructor;
66
+ default: () => {
67
+ PIC_PREVIEW_OPTIONS: {
68
+ zIndex: number;
69
+ urlList: null;
70
+ };
71
+ EDITOR_FULLSCREEN_OPTIONS: number;
72
+ };
73
+ };
74
+ content: StringConstructor;
75
+ disabled: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ fileUpload: ObjectConstructor;
80
+ globalOptions: {
81
+ type: ObjectConstructor;
82
+ required: boolean;
83
+ default: () => {};
84
+ };
85
+ imageUpload: ObjectConstructor;
86
+ mentionObj: {
87
+ type: ObjectConstructor;
88
+ required: boolean;
89
+ default: () => {};
90
+ };
91
+ modelValue: StringConstructor;
92
+ options: {
93
+ type: ObjectConstructor;
94
+ required: boolean;
95
+ default: () => {};
96
+ };
97
+ picPreview: (BooleanConstructor | ObjectConstructor)[];
98
+ dataType: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ dataUpgrade: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ zIndex: {
107
+ type: NumberConstructor;
108
+ default: number;
109
+ };
110
+ imagePasteFailCallback: {
111
+ type: FunctionConstructor;
112
+ default: () => void;
113
+ };
114
+ beforeEditorInit: {
115
+ type: FunctionConstructor;
116
+ default: () => void;
117
+ };
118
+ tiny_mode: StringConstructor;
119
+ tiny_mode_root: BooleanConstructor;
120
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
121
+ tiny_renderless: FunctionConstructor;
122
+ tiny_theme: StringConstructor;
123
+ tiny_chart_theme: ObjectConstructor;
124
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
125
+ [key: string]: any;
126
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
127
+ _constants: {
128
+ type: ObjectConstructor;
129
+ default: () => {
130
+ PIC_PREVIEW_OPTIONS: {
131
+ zIndex: number;
132
+ urlList: null;
133
+ };
134
+ EDITOR_FULLSCREEN_OPTIONS: number;
135
+ };
136
+ };
137
+ content: StringConstructor;
138
+ disabled: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
142
+ fileUpload: ObjectConstructor;
143
+ globalOptions: {
144
+ type: ObjectConstructor;
145
+ required: boolean;
146
+ default: () => {};
147
+ };
148
+ imageUpload: ObjectConstructor;
149
+ mentionObj: {
150
+ type: ObjectConstructor;
151
+ required: boolean;
152
+ default: () => {};
153
+ };
154
+ modelValue: StringConstructor;
155
+ options: {
156
+ type: ObjectConstructor;
157
+ required: boolean;
158
+ default: () => {};
159
+ };
160
+ picPreview: (BooleanConstructor | ObjectConstructor)[];
161
+ dataType: {
162
+ type: BooleanConstructor;
163
+ default: boolean;
164
+ };
165
+ dataUpgrade: {
166
+ type: BooleanConstructor;
167
+ default: boolean;
168
+ };
169
+ zIndex: {
170
+ type: NumberConstructor;
171
+ default: number;
172
+ };
173
+ imagePasteFailCallback: {
174
+ type: FunctionConstructor;
175
+ default: () => void;
176
+ };
177
+ beforeEditorInit: {
178
+ type: FunctionConstructor;
179
+ default: () => void;
180
+ };
181
+ tiny_mode: StringConstructor;
182
+ tiny_mode_root: BooleanConstructor;
183
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
184
+ tiny_renderless: FunctionConstructor;
185
+ tiny_theme: StringConstructor;
186
+ tiny_chart_theme: ObjectConstructor;
187
+ }>>, {
188
+ disabled: boolean;
189
+ options: Record<string, any>;
190
+ zIndex: number;
191
+ tiny_mode_root: boolean;
192
+ _constants: Record<string, any>;
193
+ mentionObj: Record<string, any>;
194
+ globalOptions: Record<string, any>;
195
+ dataType: boolean;
196
+ dataUpgrade: boolean;
197
+ imagePasteFailCallback: Function;
198
+ beforeEditorInit: Function;
199
+ }, {}>;
64
200
  export default _default;
@@ -1,2 +1,83 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
+ disabled?: any;
3
+ options?: any;
4
+ zIndex?: any;
5
+ tiny_mode?: any;
6
+ tiny_mode_root?: any;
7
+ tiny_template?: any;
8
+ tiny_renderless?: any;
9
+ _constants?: any;
10
+ tiny_theme?: any;
11
+ tiny_chart_theme?: any;
12
+ modelValue?: any;
13
+ content?: any;
14
+ mentionObj?: any;
15
+ fileUpload?: any;
16
+ globalOptions?: any;
17
+ imageUpload?: any;
18
+ picPreview?: any;
19
+ dataType?: any;
20
+ dataUpgrade?: any;
21
+ imagePasteFailCallback?: any;
22
+ beforeEditorInit?: any;
23
+ }>, {
24
+ t: (this: any, path: any, options?: any) => any;
25
+ vm: any;
26
+ f: (props: any, attrs?: {}) => {};
27
+ a: (attrs: any, filters: any, include: any) => {};
28
+ d: (props: any) => void;
29
+ dp: (props: any) => void;
30
+ gcls: (key: any) => any;
31
+ m: (...cssClasses: any[]) => string;
32
+ }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "ready" | "blur" | "focus" | "update:modelValue")[], "change" | "ready" | "blur" | "focus" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
33
+ disabled?: any;
34
+ options?: any;
35
+ zIndex?: any;
36
+ tiny_mode?: any;
37
+ tiny_mode_root?: any;
38
+ tiny_template?: any;
39
+ tiny_renderless?: any;
40
+ _constants?: any;
41
+ tiny_theme?: any;
42
+ tiny_chart_theme?: any;
43
+ modelValue?: any;
44
+ content?: any;
45
+ mentionObj?: any;
46
+ fileUpload?: any;
47
+ globalOptions?: any;
48
+ imageUpload?: any;
49
+ picPreview?: any;
50
+ dataType?: any;
51
+ dataUpgrade?: any;
52
+ imagePasteFailCallback?: any;
53
+ beforeEditorInit?: any;
54
+ }>>> & {
55
+ onChange?: ((...args: any[]) => any) | undefined;
56
+ onBlur?: ((...args: any[]) => any) | undefined;
57
+ onFocus?: ((...args: any[]) => any) | undefined;
58
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
59
+ onReady?: ((...args: any[]) => any) | undefined;
60
+ }, {
61
+ readonly disabled?: any;
62
+ readonly options?: any;
63
+ readonly zIndex?: any;
64
+ readonly tiny_mode?: any;
65
+ readonly tiny_mode_root?: any;
66
+ readonly tiny_template?: any;
67
+ readonly tiny_renderless?: any;
68
+ readonly _constants?: any;
69
+ readonly tiny_theme?: any;
70
+ readonly tiny_chart_theme?: any;
71
+ readonly modelValue?: any;
72
+ readonly content?: any;
73
+ readonly mentionObj?: any;
74
+ readonly fileUpload?: any;
75
+ readonly globalOptions?: any;
76
+ readonly imageUpload?: any;
77
+ readonly picPreview?: any;
78
+ readonly dataType?: any;
79
+ readonly dataUpgrade?: any;
80
+ readonly imagePasteFailCallback?: any;
81
+ readonly beforeEditorInit?: any;
82
+ }, {}>;
2
83
  export default _default;
package/src/pc.vue.d.ts CHANGED
@@ -1,2 +1,74 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
+ disabled?: any;
3
+ options?: any;
4
+ zIndex?: any;
5
+ tiny_mode?: any;
6
+ tiny_mode_root?: any;
7
+ tiny_template?: any;
8
+ tiny_renderless?: any;
9
+ _constants?: any;
10
+ tiny_theme?: any;
11
+ tiny_chart_theme?: any;
12
+ modelValue?: any;
13
+ content?: any;
14
+ mentionObj?: any;
15
+ fileUpload?: any;
16
+ globalOptions?: any;
17
+ imageUpload?: any;
18
+ picPreview?: any;
19
+ dataType?: any;
20
+ dataUpgrade?: any;
21
+ imagePasteFailCallback?: any;
22
+ beforeEditorInit?: any;
23
+ }>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "ready" | "blur" | "focus" | "update:modelValue")[], "change" | "ready" | "blur" | "focus" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
24
+ disabled?: any;
25
+ options?: any;
26
+ zIndex?: any;
27
+ tiny_mode?: any;
28
+ tiny_mode_root?: any;
29
+ tiny_template?: any;
30
+ tiny_renderless?: any;
31
+ _constants?: any;
32
+ tiny_theme?: any;
33
+ tiny_chart_theme?: any;
34
+ modelValue?: any;
35
+ content?: any;
36
+ mentionObj?: any;
37
+ fileUpload?: any;
38
+ globalOptions?: any;
39
+ imageUpload?: any;
40
+ picPreview?: any;
41
+ dataType?: any;
42
+ dataUpgrade?: any;
43
+ imagePasteFailCallback?: any;
44
+ beforeEditorInit?: any;
45
+ }>>> & {
46
+ onChange?: ((...args: any[]) => any) | undefined;
47
+ onBlur?: ((...args: any[]) => any) | undefined;
48
+ onFocus?: ((...args: any[]) => any) | undefined;
49
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
+ onReady?: ((...args: any[]) => any) | undefined;
51
+ }, {
52
+ readonly disabled?: any;
53
+ readonly options?: any;
54
+ readonly zIndex?: any;
55
+ readonly tiny_mode?: any;
56
+ readonly tiny_mode_root?: any;
57
+ readonly tiny_template?: any;
58
+ readonly tiny_renderless?: any;
59
+ readonly _constants?: any;
60
+ readonly tiny_theme?: any;
61
+ readonly tiny_chart_theme?: any;
62
+ readonly modelValue?: any;
63
+ readonly content?: any;
64
+ readonly mentionObj?: any;
65
+ readonly fileUpload?: any;
66
+ readonly globalOptions?: any;
67
+ readonly imageUpload?: any;
68
+ readonly picPreview?: any;
69
+ readonly dataType?: any;
70
+ readonly dataUpgrade?: any;
71
+ readonly imagePasteFailCallback?: any;
72
+ readonly beforeEditorInit?: any;
73
+ }, {}>;
2
74
  export default _default;