@keyblade/tinymce-editor-vue2 0.0.6 → 0.0.7

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-demi').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').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-demi').DefineComponent<__VLS_WithDefaults<__
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-demi').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
58
+ }, string, Readonly<import('vue').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,5 +1,4 @@
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";
1
+ import { defineComponent as $, ref as y, computed as z, onMounted as F, onUnmounted as N, watch as j } from "vue";
3
2
  import L from "compressorjs";
4
3
  import { conclude as _ } from "vue-global-config";
5
4
  import q from "tinymce";
@@ -33,7 +32,7 @@ import "tinymce/plugins/visualblocks";
33
32
  import "tinymce/plugins/visualchars";
34
33
  import "tinymce/plugins/wordcount";
35
34
  import { globalProps as d } from "./index.js";
36
- const ke = /* @__PURE__ */ $({
35
+ const Se = /* @__PURE__ */ $({
37
36
  __name: "editor",
38
37
  props: {
39
38
  value: { default: "" },
@@ -270,5 +269,5 @@ const ke = /* @__PURE__ */ $({
270
269
  }
271
270
  });
272
271
  export {
273
- ke as default
272
+ Se as default
274
273
  };
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.6",
5
+ "version": "0.0.7",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",
@@ -22,18 +22,10 @@
22
22
  "dependencies": {
23
23
  "compressorjs": "^1.2.1",
24
24
  "vue-global-config": "^0.2.6",
25
- "tinymce": "^7.1.0",
26
- "vue-demi": "^0.14.6"
25
+ "tinymce": "^7.1.0"
27
26
  },
28
- "devDependencies": {},
29
27
  "peerDependencies": {
30
- "@vue/composition-api": ">=1",
31
- "vue": "2"
32
- },
33
- "peerDependenciesMeta": {
34
- "@vue/composition-api": {
35
- "optional": true
36
- }
28
+ "vue": "^2.7.0"
37
29
  },
38
30
  "scripts": {
39
31
  "build": "vite build",