@topol.io/editor-vue 0.0.4 → 0.2.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/README.md +43 -49
- package/dist/topol-editor-vue.es.js +9 -6
- package/dist/topol-editor-vue.umd.js +1 -1
- package/dist/types/TopolEditor.vue.d.ts +15 -68
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -2,48 +2,48 @@
|
|
|
2
2
|
<img src="https://storage.googleapis.com/topolio17326/plugin-assets/6320/17326/topol-with-bg.png" alt="Tailwind CSS" width="400" height="120">
|
|
3
3
|
</a>
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
---
|
|
6
6
|
|
|
7
7
|
Easy and quick! Drag and drop HTML editor and builder for beautiful responsive email templates.
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
# Documentation
|
|
11
10
|
|
|
12
11
|
## Installation
|
|
12
|
+
|
|
13
13
|
Install Editor from NPM using:
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
16
|
npm install @topol.io/editor-vue
|
|
17
17
|
|
|
18
|
-
//or
|
|
18
|
+
//or
|
|
19
19
|
|
|
20
20
|
yarn add @topol.io/editor-vue
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Use in Component
|
|
24
|
+
|
|
24
25
|
In your Vue component import and add the simplest options.
|
|
25
26
|
|
|
26
|
-
For more options see the docs for [TopolOptions configuration](https://topol.io/
|
|
27
|
+
For more options see the docs for [TopolOptions configuration](https://docs.topol.io/reference/topol-options.html)
|
|
27
28
|
|
|
28
|
-
```js
|
|
29
|
+
```js
|
|
29
30
|
import { TopolEditor } from '@topol.io/editor-vue';
|
|
30
31
|
|
|
31
32
|
const customOptions = {
|
|
32
33
|
authorize: {
|
|
33
|
-
apiKey:
|
|
34
|
-
userId:
|
|
35
|
-
},
|
|
34
|
+
apiKey: 'YOUR_API_TOKEN',
|
|
35
|
+
userId: 'some-user-id',
|
|
36
|
+
},
|
|
36
37
|
};
|
|
37
|
-
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
```html
|
|
41
41
|
<TopolEditor :options="customOptions"></TopolEditor>
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
|
|
45
44
|
## Call Topol Plugin actions
|
|
46
|
-
|
|
45
|
+
|
|
46
|
+
To call actions to the editor import:
|
|
47
47
|
|
|
48
48
|
```js
|
|
49
49
|
import { TopolPlugin } from '@topol.io/editor-vue';
|
|
@@ -51,22 +51,7 @@ import { TopolPlugin } from '@topol.io/editor-vue';
|
|
|
51
51
|
TopolPlugin.save();
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
| Action | Description |
|
|
57
|
-
| --- | ----------- |
|
|
58
|
-
| `TopolPlugin.save()` | Saves the content of the editor [more info](https://topol.io/docs#plugin-configuration) |
|
|
59
|
-
| `TopolPlugin.load(template)` | Loads the provided template [more info](https://topol.io/docs#save-and-load-options) |
|
|
60
|
-
| `TopolPlugin.togglePreview()` | Toggles editor preview [more info](https://topol.io/docs#preview-mode-on-desktop-and-mobile)|
|
|
61
|
-
| `TopolPlugin.togglePreviewSize()` | Toggles editor preview size |
|
|
62
|
-
| `TopolPlugin.undo()` | Undo change in editor [more info](https://topol.io/docs#redo-and-undo)|
|
|
63
|
-
| `TopolPlugin.redo()` | Redo change in editor [more info](https://topol.io/docs#redo-and-undo)|
|
|
64
|
-
| `TopolPlugin.setSavedBlocks(savedblock: ISavedBlock[])` | Sets the saved blocks [more info](https://topol.io/docs#saved-blocks) |
|
|
65
|
-
| `TopolPlugin.createNotification(notification: INotification)` | Creates editor's notification [more info](https://topol.io/docs#show-custom-notification-in-editor) |
|
|
66
|
-
| `TopolPlugin.changeEmailToMobile()` | Change email to mobile view [more info](https://topol.io/docs#mobile-first-email-template)|
|
|
67
|
-
| `TopolPlugin.changeEmailToDesktop()` | Change email to desktop view [more info](https://topol.io/docs#mobile-first-email-template)|
|
|
68
|
-
| `TopolPlugin.toggleBlocksAndStructuresVisibility()` | Toggle hidden structures visibility for blocks and structures [more info](https://topol.io/docs#mobile-first-email-template)|
|
|
69
|
-
| `TopolPlugin.destroy()` | Destroys the editor initialization [more info](https://topol.io/docs#working-with-js-frameworks) |
|
|
54
|
+
For more TopolPlugin functions refer to the [TopolPlugin actions](https://www.npmjs.com/package/@topol.io/editor#call-topol-plugin-actions)
|
|
70
55
|
|
|
71
56
|
<br>
|
|
72
57
|
|
|
@@ -75,28 +60,35 @@ TopolPlugin.save();
|
|
|
75
60
|
The callbacks from editor are received as component events.
|
|
76
61
|
|
|
77
62
|
```html
|
|
78
|
-
<TopolEditor
|
|
63
|
+
<TopolEditor
|
|
64
|
+
:options="customOptions"
|
|
65
|
+
@onSave="handleOnSave"
|
|
66
|
+
></TopolEditor>
|
|
79
67
|
```
|
|
80
68
|
|
|
81
69
|
### List of all editor events
|
|
82
70
|
|
|
83
|
-
| Event
|
|
84
|
-
|
|
|
85
|
-
| `@onSave`
|
|
86
|
-
| `@onSaveAndClose`
|
|
87
|
-
| `@onTestSend`
|
|
88
|
-
| `@onOpenFileManager`
|
|
89
|
-
| `@onLoaded`
|
|
90
|
-
| `@onInit`
|
|
91
|
-
| `@onBlockSave`
|
|
92
|
-
| `@onBlockRemove`
|
|
93
|
-
| `@onBlockEdit`
|
|
94
|
-
| `@onUndoChange`
|
|
95
|
-
| `@
|
|
96
|
-
| `@onPreview`
|
|
97
|
-
| `@onAlert`
|
|
98
|
-
| `@onClose`
|
|
99
|
-
|
|
71
|
+
| Event | Description |
|
|
72
|
+
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
73
|
+
| `@onSave` | Returns object which contains html and json of the template [more info](https://docs.topol.io/guide/callbacks.html#on-save) |
|
|
74
|
+
| `@onSaveAndClose` | Returns object which contains html and json of the template [more info](https://docs.topol.io/guide/callbacks.html#on-save-and-close) |
|
|
75
|
+
| `@onTestSend` | Returns object which contains email, html and json of the template [more info](https://docs.topol.io/guide/callbacks.html#on-test-email-send) |
|
|
76
|
+
| `@onOpenFileManager` | When user clicks file manager open [more info](https://docs.topol.io/guide/custom-filemanager.html#onopenfilemanager) |
|
|
77
|
+
| `@onLoaded` | After editor template is loaded using `TopolPlugin.load()` [more info](https://docs.topol.io/guide/callbacks.html#on-loaded) |
|
|
78
|
+
| `@onInit` | When editor inits [more info](https://docs.topol.io/guide/callbacks.html#on-init) |
|
|
79
|
+
| `@onBlockSave` | When user saves block in editor, returns object of type ISavedBlock [more info](https://docs.topol.io/guide/callbacks.html#on-block-save) |
|
|
80
|
+
| `@onBlockRemove` | When user removes saved block, returns id of saved block to be removed [more info](https://docs.topol.io/guide/callbacks.html#on-block-remove) |
|
|
81
|
+
| `@onBlockEdit` | When user edits saved block, returns id of saved block to be updated [more info](https://docs.topol.io/guide/callbacks.html#on-block-edit) |
|
|
82
|
+
| `@onUndoChange` | When user clicks undo button, retunrs number of steps user undone [more info](https://docs.topol.io/guide/callbacks.html#on-undo-change) |
|
|
83
|
+
| `@onRedoChange` | When user clicks redo button, retunrs number of steps user redone [more info](https://docs.topol.io/guide/callbacks.html#on-redo-change) |
|
|
84
|
+
| `@onPreview` | When user switches to preview [more info](https://docs.topol.io/guide/callbacks.html#on-preview) |
|
|
85
|
+
| `@onAlert` | When alert appears in editor [more info](https://docs.topol.io/guide/callbacks.html#on-alert) |
|
|
86
|
+
| `@onClose` | When close is click inside WindowBar [more info](https://docs.topol.io/guide/top-bar.html#window-bar) |
|
|
87
|
+
| `@onEdittedWithoutSaveChanged` | When user is about to leave an editor with unsaved changes [more info](https://docs.topol.io/guide/disable-before-leaving-modal.html#before-exit-modal-when-user-has-unsaved-changes) |
|
|
88
|
+
| `@onOpenCustomBlockDialog` | When user clicks on the open dialog in custom block [more info](https://docs.topol.io/guide/custom-block.html#inserting-custom-html-in-custom-dialog-component) |
|
|
89
|
+
| `@onTemplateRename` | When user clicks on the pencil icon next to the template name [more info](https://docs.topol.io/guide/rename-template.html#rename-template) |
|
|
90
|
+
| `@updateTestingEmailAddresses` | When user edits the email list in preview [more info](https://docs.topol.io/guide/sending-a-test-email.html#managing-saving-emails-yourself) |
|
|
91
|
+
| `@onError` | When an error that cannot be handled happened in the editor [more info](https://docs.topol.io/guide/callbacks.html#onerror) |
|
|
100
92
|
|
|
101
93
|
<br>
|
|
102
94
|
|
|
@@ -106,8 +98,10 @@ Topol Editor provides full TypeScript integration and exports all necessary type
|
|
|
106
98
|
|
|
107
99
|
```vue
|
|
108
100
|
<script setup lang="ts">
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
101
|
+
import {
|
|
102
|
+
ITopolOptions,
|
|
103
|
+
INotification,
|
|
104
|
+
ISavedBlock,
|
|
105
|
+
} from '@topol.io/editor-vue';
|
|
112
106
|
</script>
|
|
113
|
-
```
|
|
107
|
+
```
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import i from "@topol.io/editor";
|
|
2
|
-
import { default as
|
|
3
|
-
import { defineComponent as p, onMounted as m, onBeforeUnmount as g,
|
|
2
|
+
import { default as T } from "@topol.io/editor";
|
|
3
|
+
import { defineComponent as p, onMounted as m, onBeforeUnmount as g, createElementBlock as C, openBlock as u } from "vue";
|
|
4
4
|
const l = "topol-editor-id", B = /* @__PURE__ */ p({
|
|
5
5
|
__name: "TopolEditor",
|
|
6
6
|
props: {
|
|
7
7
|
options: {},
|
|
8
8
|
stage: { default: "production" }
|
|
9
9
|
},
|
|
10
|
-
emits: ["onSave", "onSaveAndClose", "onTestSend", "onOpenFileManager", "onLoaded", "onBlockSave", "onBlockRemove", "onBlockEdit", "onInit", "onClose", "onUndoChange", "onRedoChange", "onPreview", "onAlert", "onBannerClick", "onEdittedWithoutSaveChanged", "onOpenCustomBlockDialog", "onTemplateRename", "updateTestingEmailAddresses"],
|
|
10
|
+
emits: ["onSave", "onSaveAndClose", "onTestSend", "onOpenFileManager", "onLoaded", "onBlockSave", "onBlockRemove", "onBlockEdit", "onInit", "onClose", "onUndoChange", "onRedoChange", "onPreview", "onAlert", "onBannerClick", "onEdittedWithoutSaveChanged", "onOpenCustomBlockDialog", "onTemplateRename", "updateTestingEmailAddresses", "onError"],
|
|
11
11
|
setup(d, { emit: s }) {
|
|
12
12
|
const a = d, e = s, r = () => {
|
|
13
13
|
const t = {
|
|
@@ -53,7 +53,7 @@ const l = "topol-editor-id", B = /* @__PURE__ */ p({
|
|
|
53
53
|
onClose() {
|
|
54
54
|
e("onClose");
|
|
55
55
|
},
|
|
56
|
-
//
|
|
56
|
+
// only in free version
|
|
57
57
|
onBannerClick(o, n) {
|
|
58
58
|
e("onBannerClick", { json: o, html: n });
|
|
59
59
|
},
|
|
@@ -68,6 +68,9 @@ const l = "topol-editor-id", B = /* @__PURE__ */ p({
|
|
|
68
68
|
},
|
|
69
69
|
updateTestingEmailAddresses(o) {
|
|
70
70
|
e("updateTestingEmailAddresses", o);
|
|
71
|
+
},
|
|
72
|
+
onError(o, n) {
|
|
73
|
+
e("onError", { type: o, message: n });
|
|
71
74
|
}
|
|
72
75
|
};
|
|
73
76
|
return { id: "#" + l, ...a.options, callbacks: { ...t } };
|
|
@@ -77,7 +80,7 @@ const l = "topol-editor-id", B = /* @__PURE__ */ p({
|
|
|
77
80
|
await i.init(t, { stage: a.stage });
|
|
78
81
|
}), g(() => {
|
|
79
82
|
i.destroy();
|
|
80
|
-
}), (t, o) => (
|
|
83
|
+
}), (t, o) => (u(), C("div", {
|
|
81
84
|
id: l,
|
|
82
85
|
style: { position: "absolute", width: "100%", height: "100vh" }
|
|
83
86
|
}));
|
|
@@ -85,5 +88,5 @@ const l = "topol-editor-id", B = /* @__PURE__ */ p({
|
|
|
85
88
|
});
|
|
86
89
|
export {
|
|
87
90
|
B as TopolEditor,
|
|
88
|
-
|
|
91
|
+
T as TopolPlugin
|
|
89
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(n,
|
|
1
|
+
(function(n,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@topol.io/editor"),require("vue")):typeof define=="function"&&define.amd?define(["exports","@topol.io/editor","vue"],i):(n=typeof globalThis<"u"?globalThis:n||self,i(n["topol-editor-vue"]={},n.TopolPlugin,n.Vue))})(this,function(n,i,d){"use strict";const s="topol-editor-id",r=d.defineComponent({__name:"TopolEditor",props:{options:{},stage:{default:"production"}},emits:["onSave","onSaveAndClose","onTestSend","onOpenFileManager","onLoaded","onBlockSave","onBlockRemove","onBlockEdit","onInit","onClose","onUndoChange","onRedoChange","onPreview","onAlert","onBannerClick","onEdittedWithoutSaveChanged","onOpenCustomBlockDialog","onTemplateRename","updateTestingEmailAddresses","onError"],setup(c,{emit:p}){const l=c,e=p,u=()=>{const a={onSave(o,t){e("onSave",{json:o,html:t})},onSaveAndClose(o,t){e("onSaveAndClose",{json:o,html:t})},onTestSend(o,t,m){e("onTestSend",{email:o,json:t,html:m})},onOpenFileManager(){e("onOpenFileManager")},onLoaded(){e("onLoaded")},onBlockSave(o){e("onBlockSave",o)},onBlockRemove(o){e("onBlockRemove",o)},onBlockEdit(o){e("onBlockEdit",o)},onInit(){e("onInit")},onUndoChange(o){e("onUndoChange",o)},onRedoChange(o){e("onRedoChange",o)},onPreview(o){e("onPreview",o)},onAlert(o){e("onAlert",o)},onClose(){e("onClose")},onBannerClick(o,t){e("onBannerClick",{json:o,html:t})},onEdittedWithoutSaveChanged(o){e("onEdittedWithoutSaveChanged",o)},onOpenCustomBlockDialog(o){e("onOpenCustomBlockDialog",o)},onTemplateRename(o){e("onTemplateRename",o)},updateTestingEmailAddresses(o){e("updateTestingEmailAddresses",o)},onError(o,t){e("onError",{type:o,message:t})}};return{id:"#"+s,...l.options,callbacks:{...a}}};return d.onMounted(async()=>{const a=u();await i.init(a,{stage:l.stage})}),d.onBeforeUnmount(()=>{i.destroy()}),(a,o)=>(d.openBlock(),d.createElementBlock("div",{id:s,style:{position:"absolute",width:"100%",height:"100vh"}}))}});n.TopolPlugin=i,n.TopolEditor=r,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITopolOptions,
|
|
1
|
+
import { ITopolOptions, IStage } from '@topol.io/editor';
|
|
2
2
|
export type IVueOptions = Omit<ITopolOptions, 'id' | 'callbacks'>;
|
|
3
3
|
export type ISaveData = {
|
|
4
4
|
json: unknown;
|
|
@@ -9,74 +9,21 @@ export type ISendTestData = {
|
|
|
9
9
|
json: unknown;
|
|
10
10
|
html: unknown;
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
onSave: (data: ISaveData) => void;
|
|
19
|
-
onSaveAndClose: (data: ISaveData) => void;
|
|
20
|
-
onTestSend: (data: ISendTestData) => void;
|
|
21
|
-
onOpenFileManager: () => void;
|
|
22
|
-
onLoaded: () => void;
|
|
23
|
-
onBlockSave: (block: ISavedBlock) => void;
|
|
24
|
-
onBlockRemove: (blockId: number) => void;
|
|
25
|
-
onBlockEdit: (blockId: number) => void;
|
|
26
|
-
onInit: () => void;
|
|
27
|
-
onClose: () => void;
|
|
28
|
-
onUndoChange: (count: number) => void;
|
|
29
|
-
onRedoChange: (count: number) => void;
|
|
30
|
-
onPreview: (html: unknown) => void;
|
|
31
|
-
onAlert: (notification: INotification) => void;
|
|
32
|
-
onBannerClick: (data: ISaveData) => void;
|
|
33
|
-
onEdittedWithoutSaveChanged: (hasUnsavedChanges: boolean) => void;
|
|
34
|
-
onOpenCustomBlockDialog: (blockContent: unknown) => void;
|
|
35
|
-
onTemplateRename: (title: string) => void;
|
|
36
|
-
updateTestingEmailAddresses: (emails: string[]) => void;
|
|
37
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
export type IErrorData = {
|
|
13
|
+
type: string;
|
|
14
|
+
message: string;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Props = {
|
|
38
17
|
options: IVueOptions;
|
|
39
|
-
stage?: IStage
|
|
18
|
+
stage?: IStage;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
} & {
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
40
26
|
}>, {
|
|
41
|
-
stage: string;
|
|
42
|
-
}>>> & {
|
|
43
|
-
onOnSave?: ((data: ISaveData) => any) | undefined;
|
|
44
|
-
onOnSaveAndClose?: ((data: ISaveData) => any) | undefined;
|
|
45
|
-
onOnTestSend?: ((data: ISendTestData) => any) | undefined;
|
|
46
|
-
onOnOpenFileManager?: (() => any) | undefined;
|
|
47
|
-
onOnLoaded?: (() => any) | undefined;
|
|
48
|
-
onOnBlockSave?: ((block: ISavedBlock) => any) | undefined;
|
|
49
|
-
onOnBlockRemove?: ((blockId: number) => any) | undefined;
|
|
50
|
-
onOnBlockEdit?: ((blockId: number) => any) | undefined;
|
|
51
|
-
onOnInit?: (() => any) | undefined;
|
|
52
|
-
onOnClose?: (() => any) | undefined;
|
|
53
|
-
onOnUndoChange?: ((count: number) => any) | undefined;
|
|
54
|
-
onOnRedoChange?: ((count: number) => any) | undefined;
|
|
55
|
-
onOnPreview?: ((html: unknown) => any) | undefined;
|
|
56
|
-
onOnAlert?: ((notification: INotification) => any) | undefined;
|
|
57
|
-
onOnBannerClick?: ((data: ISaveData) => any) | undefined;
|
|
58
|
-
onOnEdittedWithoutSaveChanged?: ((hasUnsavedChanges: boolean) => any) | undefined;
|
|
59
|
-
onOnOpenCustomBlockDialog?: ((blockContent: unknown) => any) | undefined;
|
|
60
|
-
onOnTemplateRename?: ((title: string) => any) | undefined;
|
|
61
|
-
onUpdateTestingEmailAddresses?: ((emails: string[]) => any) | undefined;
|
|
62
|
-
}, {
|
|
63
27
|
stage: IStage;
|
|
64
|
-
}, {}>;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
65
29
|
export default _default;
|
|
66
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
68
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
69
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
70
|
-
} : {
|
|
71
|
-
type: import('vue').PropType<T[K]>;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
type __VLS_WithDefaults<P, D> = {
|
|
76
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
77
|
-
default: D[K];
|
|
78
|
-
}> : P[K];
|
|
79
|
-
};
|
|
80
|
-
type __VLS_Prettify<T> = {
|
|
81
|
-
[K in keyof T]: T[K];
|
|
82
|
-
} & {};
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"author": "Topol.io",
|
|
15
15
|
"homepage": "https://topol.io",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
|
-
"version": "0.0
|
|
17
|
+
"version": "0.2.0",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"files": [
|
|
20
20
|
"dist"
|
|
@@ -23,25 +23,25 @@
|
|
|
23
23
|
"types": "./dist/types/entry.d.ts",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
+
"types": "./dist/types/entry.d.ts",
|
|
26
27
|
"import": "./dist/topol-editor-vue.es.js",
|
|
27
|
-
"require": "./dist/topol-editor-vue.umd.js"
|
|
28
|
-
"types": "./dist/types/entry.d.ts"
|
|
28
|
+
"require": "./dist/topol-editor-vue.umd.js"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@topol.io/editor": "0.0
|
|
32
|
+
"@topol.io/editor": "0.2.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"vue": "^3.2.25"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@babel/types": "^7.
|
|
39
|
-
"@types/node": "^
|
|
40
|
-
"@vitejs/plugin-vue": "^5.
|
|
41
|
-
"typescript": "^5.
|
|
42
|
-
"vite": "^
|
|
43
|
-
"vue": "^3.
|
|
44
|
-
"vue-tsc": "^
|
|
38
|
+
"@babel/types": "^7.26.9",
|
|
39
|
+
"@types/node": "^22.13.5",
|
|
40
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
41
|
+
"typescript": "^5.7.3",
|
|
42
|
+
"vite": "^6.2.0",
|
|
43
|
+
"vue": "^3.5.13",
|
|
44
|
+
"vue-tsc": "^2.2.4"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|