@keyblade/tinymce-editor-vue2 0.0.7 → 0.0.8-alpha.2

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.
@@ -1,6 +1,6 @@
1
1
  import { Editor, RawEditorOptions } from 'tinymce';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue-demi').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  /** vue2 v-model */
5
5
  value?: string | undefined;
6
6
  /** vue3 v-model */
@@ -55,7 +55,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
55
55
  }>, {}, {}, {}, {}, import('vue/types/v3-component-options').ComponentOptionsMixin, import('vue/types/v3-component-options').ComponentOptionsMixin, {
56
56
  input: (value: string) => void;
57
57
  "update:modelValue": (value: string) => void;
58
- }, string, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
58
+ }, string, Readonly<import('vue-demi').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
59
59
  /** vue2 v-model */
60
60
  value?: string | undefined;
61
61
  /** vue3 v-model */
package/es/editor.vue2.js CHANGED
@@ -1,4 +1,5 @@
1
- import { defineComponent as $, ref as y, computed as z, onMounted as F, onUnmounted as N, watch as j } from "vue";
1
+ import { defineComponent as $ } from "vue";
2
+ import { ref as y, computed as z, onMounted as F, onUnmounted as N, watch as j } from "vue-demi";
2
3
  import L from "compressorjs";
3
4
  import { conclude as _ } from "vue-global-config";
4
5
  import q from "tinymce";
@@ -32,7 +33,7 @@ import "tinymce/plugins/visualblocks";
32
33
  import "tinymce/plugins/visualchars";
33
34
  import "tinymce/plugins/wordcount";
34
35
  import { globalProps as d } from "./index.js";
35
- const Se = /* @__PURE__ */ $({
36
+ const ke = /* @__PURE__ */ $({
36
37
  __name: "editor",
37
38
  props: {
38
39
  value: { default: "" },
@@ -269,5 +270,5 @@ const Se = /* @__PURE__ */ $({
269
270
  }
270
271
  });
271
272
  export {
272
- Se as default
273
+ ke as default
273
274
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@keyblade/tinymce-editor-vue2",
3
3
  "description": "KeyBlade Tinymce Editor Vue2",
4
4
  "author": "yangshuai <704807396@qq.com>",
5
- "version": "0.0.7",
5
+ "version": "0.0.8-alpha.02",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",
@@ -22,10 +22,18 @@
22
22
  "dependencies": {
23
23
  "compressorjs": "^1.2.1",
24
24
  "vue-global-config": "^0.2.6",
25
- "tinymce": "^7.1.0"
25
+ "tinymce": "^7.1.0",
26
+ "vue-demi": "^0.14.6"
26
27
  },
28
+ "devDependencies": {},
27
29
  "peerDependencies": {
28
- "vue": "^2.7.0"
30
+ "@vue/composition-api": ">=1",
31
+ "vue": "2"
32
+ },
33
+ "peerDependenciesMeta": {
34
+ "@vue/composition-api": {
35
+ "optional": true
36
+ }
29
37
  },
30
38
  "scripts": {
31
39
  "build": "vite build",