@agilehub/agile-editor 1.8.6 → 1.9.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/dist/agile-editor.css +1 -1
- package/dist/agile-editor.js +22394 -5203
- package/dist/{i18n-BZGLJU1q.js → i18n-CChALhQN.js} +5 -1
- package/dist/types/components/index.vue.d.ts +8 -2
- package/dist/types/components/menus/toolbar/insert/emoji.vue.d.ts +3 -0
- package/dist/types/components/preview-toolbar/drawing-layer.vue.d.ts +1 -1
- package/dist/types/composables/i18n.d.ts +6 -0
- package/dist/types/i18n.d.ts +6 -0
- package/dist/types/options/config/dicts.d.ts +8 -1
- package/dist/types/options/config/emojis.d.ts +15 -0
- package/dist/types/options/config/index.d.ts +8 -1
- package/dist/types/utils/emoji-search.d.ts +21 -0
- package/dist/{viewer-Bg-htPGM.js → viewer-Cv5V0Gjs.js} +2 -2
- package/package.json +165 -165
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @agilehub/agile-editor 1.
|
|
2
|
+
* @agilehub/agile-editor 1.9.0
|
|
3
3
|
* @license Apache-2.0
|
|
4
4
|
* @author undefined undefined
|
|
5
5
|
* @see undefined
|
|
@@ -451,6 +451,8 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
451
451
|
codeBlock: "Code Block",
|
|
452
452
|
date: "Chinese Date",
|
|
453
453
|
emoji: "Emoji",
|
|
454
|
+
"emoji-search": "Search emoji or meaning",
|
|
455
|
+
"emoji-empty": "No matching emoji",
|
|
454
456
|
file: "File",
|
|
455
457
|
importDocx: {
|
|
456
458
|
text: "Import Document",
|
|
@@ -1836,6 +1838,8 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1836
1838
|
codeBlock: "代码块",
|
|
1837
1839
|
date: "日期",
|
|
1838
1840
|
emoji: "表情",
|
|
1841
|
+
"emoji-search": "搜索表情或含义",
|
|
1842
|
+
"emoji-empty": "没有找到匹配的表情",
|
|
1839
1843
|
file: "文件",
|
|
1840
1844
|
importDocx: {
|
|
1841
1845
|
text: "导入文档",
|
|
@@ -470,6 +470,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
470
470
|
codeBlock: string;
|
|
471
471
|
date: string;
|
|
472
472
|
emoji: string;
|
|
473
|
+
"emoji-search": string;
|
|
474
|
+
"emoji-empty": string;
|
|
473
475
|
file: string;
|
|
474
476
|
importDocx: {
|
|
475
477
|
text: string;
|
|
@@ -2226,6 +2228,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2226
2228
|
codeBlock: string;
|
|
2227
2229
|
date: string;
|
|
2228
2230
|
emoji: string;
|
|
2231
|
+
"emoji-search": string;
|
|
2232
|
+
"emoji-empty": string;
|
|
2229
2233
|
file: string;
|
|
2230
2234
|
importDocx: {
|
|
2231
2235
|
text: string;
|
|
@@ -3974,6 +3978,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3974
3978
|
codeBlock: string;
|
|
3975
3979
|
date: string;
|
|
3976
3980
|
emoji: string;
|
|
3981
|
+
"emoji-search": string;
|
|
3982
|
+
"emoji-empty": string;
|
|
3977
3983
|
file: string;
|
|
3978
3984
|
importDocx: {
|
|
3979
3985
|
text: string;
|
|
@@ -5357,9 +5363,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5357
5363
|
saved: (...args: any[]) => void;
|
|
5358
5364
|
blur: (...args: any[]) => void;
|
|
5359
5365
|
focus: (...args: any[]) => void;
|
|
5366
|
+
drop: (...args: any[]) => void;
|
|
5360
5367
|
beforeCreate: (...args: any[]) => void;
|
|
5361
5368
|
created: (...args: any[]) => void;
|
|
5362
|
-
drop: (...args: any[]) => void;
|
|
5363
5369
|
destroy: (...args: any[]) => void;
|
|
5364
5370
|
changed: (...args: any[]) => void;
|
|
5365
5371
|
"changed:selection": (...args: any[]) => void;
|
|
@@ -5385,9 +5391,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5385
5391
|
onSaved?: (...args: any[]) => any;
|
|
5386
5392
|
onBlur?: (...args: any[]) => any;
|
|
5387
5393
|
onFocus?: (...args: any[]) => any;
|
|
5394
|
+
onDrop?: (...args: any[]) => any;
|
|
5388
5395
|
onBeforeCreate?: (...args: any[]) => any;
|
|
5389
5396
|
onCreated?: (...args: any[]) => any;
|
|
5390
|
-
onDrop?: (...args: any[]) => any;
|
|
5391
5397
|
onDestroy?: (...args: any[]) => any;
|
|
5392
5398
|
onChanged?: (...args: any[]) => any;
|
|
5393
5399
|
"onChanged:selection"?: (...args: any[]) => any;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
compact: BooleanConstructor;
|
|
2
3
|
onSelectEmoji: any;
|
|
3
4
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
5
|
+
compact: BooleanConstructor;
|
|
4
6
|
onSelectEmoji: any;
|
|
5
7
|
}>> & Readonly<{}>, {
|
|
8
|
+
compact: boolean;
|
|
6
9
|
onSelectEmoji: any;
|
|
7
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -82,8 +82,8 @@ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractProp
|
|
|
82
82
|
}>, {
|
|
83
83
|
color: string;
|
|
84
84
|
showAnnotations: boolean;
|
|
85
|
-
zoomLevel: number;
|
|
86
85
|
tool: PreviewDrawTool;
|
|
86
|
+
zoomLevel: number;
|
|
87
87
|
strokeStyle: PreviewStrokeStyle;
|
|
88
88
|
strokeWidth: number;
|
|
89
89
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -426,6 +426,8 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
426
426
|
codeBlock: string;
|
|
427
427
|
date: string;
|
|
428
428
|
emoji: string;
|
|
429
|
+
"emoji-search": string;
|
|
430
|
+
"emoji-empty": string;
|
|
429
431
|
file: string;
|
|
430
432
|
importDocx: {
|
|
431
433
|
text: string;
|
|
@@ -2182,6 +2184,8 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2182
2184
|
codeBlock: string;
|
|
2183
2185
|
date: string;
|
|
2184
2186
|
emoji: string;
|
|
2187
|
+
"emoji-search": string;
|
|
2188
|
+
"emoji-empty": string;
|
|
2185
2189
|
file: string;
|
|
2186
2190
|
importDocx: {
|
|
2187
2191
|
text: string;
|
|
@@ -3930,6 +3934,8 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3930
3934
|
codeBlock: string;
|
|
3931
3935
|
date: string;
|
|
3932
3936
|
emoji: string;
|
|
3937
|
+
"emoji-search": string;
|
|
3938
|
+
"emoji-empty": string;
|
|
3933
3939
|
file: string;
|
|
3934
3940
|
importDocx: {
|
|
3935
3941
|
text: string;
|
package/dist/types/i18n.d.ts
CHANGED
|
@@ -413,6 +413,8 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
413
413
|
codeBlock: string;
|
|
414
414
|
date: string;
|
|
415
415
|
emoji: string;
|
|
416
|
+
"emoji-search": string;
|
|
417
|
+
"emoji-empty": string;
|
|
416
418
|
file: string;
|
|
417
419
|
importDocx: {
|
|
418
420
|
text: string;
|
|
@@ -2169,6 +2171,8 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
2169
2171
|
codeBlock: string;
|
|
2170
2172
|
date: string;
|
|
2171
2173
|
emoji: string;
|
|
2174
|
+
"emoji-search": string;
|
|
2175
|
+
"emoji-empty": string;
|
|
2172
2176
|
file: string;
|
|
2173
2177
|
importDocx: {
|
|
2174
2178
|
text: string;
|
|
@@ -3917,6 +3921,8 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
3917
3921
|
codeBlock: string;
|
|
3918
3922
|
date: string;
|
|
3919
3923
|
emoji: string;
|
|
3924
|
+
"emoji-search": string;
|
|
3925
|
+
"emoji-empty": string;
|
|
3920
3926
|
file: string;
|
|
3921
3927
|
importDocx: {
|
|
3922
3928
|
text: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type EmojiLabel = string | {
|
|
2
|
+
zh_CN?: string;
|
|
3
|
+
en_US?: string;
|
|
4
|
+
};
|
|
5
|
+
export type EmojiItem = {
|
|
6
|
+
value: string;
|
|
7
|
+
label: EmojiLabel;
|
|
8
|
+
keywords?: string[];
|
|
9
|
+
};
|
|
10
|
+
type EmojiGroup = {
|
|
11
|
+
label: EmojiLabel;
|
|
12
|
+
items: string | EmojiItem[];
|
|
13
|
+
};
|
|
14
|
+
export declare const filterEmojiGroups: (groups: EmojiGroup[], query: string) => {
|
|
15
|
+
items: (EmojiItem | {
|
|
16
|
+
value: string;
|
|
17
|
+
label: string;
|
|
18
|
+
})[];
|
|
19
|
+
label: EmojiLabel;
|
|
20
|
+
}[];
|
|
21
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @agilehub/agile-editor 1.
|
|
2
|
+
* @agilehub/agile-editor 1.9.0
|
|
3
3
|
* @license Apache-2.0
|
|
4
4
|
* @author undefined undefined
|
|
5
5
|
* @see undefined
|
|
6
6
|
**/
|
|
7
7
|
import "./agile-editor.css";
|
|
8
|
-
import { a as e, n as t } from "./i18n-
|
|
8
|
+
import { a as e, n as t } from "./i18n-CChALhQN.js";
|
|
9
9
|
import { createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, guardReactiveProps as s, markRaw as c, normalizeProps as l, onMounted as u, openBlock as d, ref as f, renderSlot as p, resolveDynamicComponent as m, shallowRef as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
10
10
|
//#region src/extensions/smart-sheet/viewer.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var y = { class: "agile-smart-sheet-viewer" }, b = {
|
package/package.json
CHANGED
|
@@ -1,166 +1,166 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@agilehub/agile-editor",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Rich text editor based on Vue 3 and Tiptap 3",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"docs editor",
|
|
7
|
-
"document editor",
|
|
8
|
-
"editor",
|
|
9
|
-
"office edtior",
|
|
10
|
-
"online office",
|
|
11
|
-
"richtext editor",
|
|
12
|
-
"tiptap",
|
|
13
|
-
"tiptap3",
|
|
14
|
-
"vue editor",
|
|
15
|
-
"vue3 editor",
|
|
16
|
-
"web editor",
|
|
17
|
-
"web office",
|
|
18
|
-
"word editor"
|
|
19
|
-
],
|
|
20
|
-
"license": "Apache-2.0",
|
|
21
|
-
"author": "lytdev <lytdev@outlook.com>",
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "https://github.com/lytdev/agile-editor.git"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"dist",
|
|
28
|
-
"docs"
|
|
29
|
-
],
|
|
30
|
-
"type": "module",
|
|
31
|
-
"types": "./dist/types/components/index.d.ts",
|
|
32
|
-
"exports": {
|
|
33
|
-
".": {
|
|
34
|
-
"types": "./dist/types/components/index.d.ts",
|
|
35
|
-
"import": "./dist/agile-editor.js"
|
|
36
|
-
},
|
|
37
|
-
"./style": {
|
|
38
|
-
"import": "./dist/agile-editor.css"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"publishConfig": {
|
|
42
|
-
"access": "public"
|
|
43
|
-
},
|
|
44
|
-
"scripts": {
|
|
45
|
-
"build": "vue-tsc --noEmit && vite build && vue-tsc -p tsconfig.types.json",
|
|
46
|
-
"test:style-target": "node --test tests/style-target.test.mjs tests/image-display-size.test.mjs tests/style-schema.test.mjs tests/link.test.mjs tests/iframe.test.mjs tests/bookmark-transaction.test.mjs tests/thousands-separator.test.mjs tests/font-style.test.mjs tests/font-size.test.mjs tests/callout.test.mjs tests/callout-indent.test.mjs tests/indent.test.mjs tests/style-mark-update.test.mjs tests/figure-caption-numbering.test.mjs tests/table-caption-numbering.test.mjs tests/file-name.test.mjs tests/timeline.test.mjs tests/caption-defaults.test.mjs tests/table-caption-visibility.test.mjs tests/details-collapse.test.mjs tests/editor-view.test.mjs tests/table-selection.test.mjs tests/table-appearance.test.mjs tests/table-border.test.mjs tests/table-properties.test.mjs tests/table-column-resize.test.mjs tests/table-layout.test.mjs tests/table-reset.test.mjs tests/document-loading.test.mjs tests/document-loading-i18n.test.mjs tests/document-save.test.mjs tests/attribute-roundtrip.test.mjs tests/table-attributes.test.mjs tests/bubble-note-selection.test.mjs tests/bubble-note-rich-content.test.mjs tests/bubble-note-image.test.mjs tests/bubble-note-render.test.mjs tests/bubble-note-default-limits.test.mjs tests/image-replacement.test.mjs tests/image-paste.test.mjs tests/insert-newline.test.mjs tests/table-row-resize.test.mjs tests/courseware-reader.test.mjs tests/pointer-hover-scheduler.test.mjs",
|
|
47
|
-
"typecheck": "vue-tsc --noEmit",
|
|
48
|
-
"dev": "vite --port 9000 --open --force",
|
|
49
|
-
"format": "oxfmt --write .",
|
|
50
|
-
"lint": "oxlint --fix src",
|
|
51
|
-
"lint:style": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\"",
|
|
52
|
-
"lint:style:fix": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\" --fix",
|
|
53
|
-
"analyzer": "vite-bundle-visualizer",
|
|
54
|
-
"prepare": "husky",
|
|
55
|
-
"prepublishOnly": "npm run build"
|
|
56
|
-
},
|
|
57
|
-
"dependencies": {
|
|
58
|
-
"@agilehub/docx-converter": "^1.2.3",
|
|
59
|
-
"@agilehub/latex-formula": "1.2.2",
|
|
60
|
-
"@agilehub/vue-pdf-flipbook": "^2.1.1",
|
|
61
|
-
"@eslint/object-schema": "3.0.5",
|
|
62
|
-
"@floating-ui/dom": "1.8.0",
|
|
63
|
-
"@tiptap/core": "3.
|
|
64
|
-
"@tiptap/extension-bold": "3.
|
|
65
|
-
"@tiptap/extension-code-block": "3.
|
|
66
|
-
"@tiptap/extension-code-block-lowlight": "3.
|
|
67
|
-
"@tiptap/extension-collaboration": "3.
|
|
68
|
-
"@tiptap/extension-details": "3.
|
|
69
|
-
"@tiptap/extension-document": "3.
|
|
70
|
-
"@tiptap/extension-drag-handle": "3.
|
|
71
|
-
"@tiptap/extension-drag-handle-vue-3": "3.
|
|
72
|
-
"@tiptap/extension-heading": "3.
|
|
73
|
-
"@tiptap/extension-horizontal-rule": "3.
|
|
74
|
-
"@tiptap/extension-image": "3.
|
|
75
|
-
"@tiptap/extension-invisible-characters": "3.
|
|
76
|
-
"@tiptap/extension-link": "3.
|
|
77
|
-
"@tiptap/extension-list": "3.
|
|
78
|
-
"@tiptap/extension-node-range": "3.
|
|
79
|
-
"@tiptap/extension-paragraph": "3.
|
|
80
|
-
"@tiptap/extension-subscript": "3.
|
|
81
|
-
"@tiptap/extension-superscript": "3.
|
|
82
|
-
"@tiptap/extension-table": "3.
|
|
83
|
-
"@tiptap/extension-table-of-contents": "3.
|
|
84
|
-
"@tiptap/extension-text-align": "3.
|
|
85
|
-
"@tiptap/extension-text-style": "3.
|
|
86
|
-
"@tiptap/extension-typography": "3.
|
|
87
|
-
"@tiptap/extension-unique-id": "3.
|
|
88
|
-
"@tiptap/extensions": "3.
|
|
89
|
-
"@tiptap/pm": "3.
|
|
90
|
-
"@tiptap/starter-kit": "3.
|
|
91
|
-
"@tiptap/vue-3": "3.
|
|
92
|
-
"@tiptap/y-tiptap": "3.
|
|
93
|
-
"@tool-belt/type-predicates": "1.4.1",
|
|
94
|
-
"@videojs/html": "10.7.0",
|
|
95
|
-
"@vueuse/core": "15.0.0",
|
|
96
|
-
"@zumer/snapdom": "2.24.18",
|
|
97
|
-
"cropperjs": "^2.3.1",
|
|
98
|
-
"dom-to-image-more": "3.11.0",
|
|
99
|
-
"es-drager": "1.3.4",
|
|
100
|
-
"file-saver": "2.0.5",
|
|
101
|
-
"flowchart.js": "1.18.0",
|
|
102
|
-
"hotkeys-js": "4.0.8",
|
|
103
|
-
"hyperformula": "3.1.0",
|
|
104
|
-
"lowlight": "3.3.0",
|
|
105
|
-
"mermaid": "12.2.0",
|
|
106
|
-
"nzh": "1.0.14",
|
|
107
|
-
"ooxml-excel-editor": "1.16.3",
|
|
108
|
-
"plantuml-encoder": "1.4.0",
|
|
109
|
-
"pretty-bytes": "7.2.0",
|
|
110
|
-
"swiper": "14.3.0",
|
|
111
|
-
"tdesign-vue-next": "1.20.10",
|
|
112
|
-
"vue-i18n": "11.4.16",
|
|
113
|
-
"y-protocols": "1.0.7",
|
|
114
|
-
"yjs": "13.6.33"
|
|
115
|
-
},
|
|
116
|
-
"devDependencies": {
|
|
117
|
-
"@types/node": "^26.6.5",
|
|
118
|
-
"@vitejs/plugin-vue": "^6.0.10",
|
|
119
|
-
"@vue-macros/reactivity-transform": "^3.1.4",
|
|
120
|
-
"esbuild": "^0.28.2",
|
|
121
|
-
"fast-glob": "3.3.3",
|
|
122
|
-
"husky": "^9.1.7",
|
|
123
|
-
"less": "^4.9.1",
|
|
124
|
-
"lint-staged": "^17.6.0",
|
|
125
|
-
"oxfmt": "^0.74.0",
|
|
126
|
-
"oxlint": "^1.89.0",
|
|
127
|
-
"postcss": "^8.5.
|
|
128
|
-
"postcss-html": "^2.0.0",
|
|
129
|
-
"stylelint": "^18.0.0",
|
|
130
|
-
"stylelint-config-html": "^2.0.0",
|
|
131
|
-
"stylelint-config-recommended": "^19.0.0",
|
|
132
|
-
"stylelint-config-recommended-less": "^5.0.0",
|
|
133
|
-
"stylelint-config-recommended-vue": "^2.0.0",
|
|
134
|
-
"stylelint-less": "^5.0.0",
|
|
135
|
-
"typescript": "~6.0.3",
|
|
136
|
-
"unplugin-auto-import": "^21.1.0",
|
|
137
|
-
"unplugin-vue-components": "^32.1.0",
|
|
138
|
-
"vite": "^8.3.4",
|
|
139
|
-
"vite-bundle-visualizer": "^1.2.1",
|
|
140
|
-
"vite-plugin-svg-icons": "^2.0.1",
|
|
141
|
-
"vue": "^3.5.44",
|
|
142
|
-
"vue-tsc": "^3.3.13"
|
|
143
|
-
},
|
|
144
|
-
"overrides": {
|
|
145
|
-
"prosemirror-model": "1.25.
|
|
146
|
-
"rolldown": "^1.2.14"
|
|
147
|
-
},
|
|
148
|
-
"lint-staged": {
|
|
149
|
-
"*.ts": [
|
|
150
|
-
"oxfmt --write",
|
|
151
|
-
"oxlint --fix"
|
|
152
|
-
],
|
|
153
|
-
"*.vue": [
|
|
154
|
-
"oxfmt --write",
|
|
155
|
-
"oxlint --fix",
|
|
156
|
-
"stylelint --fix"
|
|
157
|
-
],
|
|
158
|
-
"*.less": [
|
|
159
|
-
"oxfmt --write",
|
|
160
|
-
"stylelint --fix"
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
"engines": {
|
|
164
|
-
"node": "^22.22.1 || ^24.11.0 || >=26.0.0"
|
|
165
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@agilehub/agile-editor",
|
|
3
|
+
"version": "1.9.0",
|
|
4
|
+
"description": "Rich text editor based on Vue 3 and Tiptap 3",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"docs editor",
|
|
7
|
+
"document editor",
|
|
8
|
+
"editor",
|
|
9
|
+
"office edtior",
|
|
10
|
+
"online office",
|
|
11
|
+
"richtext editor",
|
|
12
|
+
"tiptap",
|
|
13
|
+
"tiptap3",
|
|
14
|
+
"vue editor",
|
|
15
|
+
"vue3 editor",
|
|
16
|
+
"web editor",
|
|
17
|
+
"web office",
|
|
18
|
+
"word editor"
|
|
19
|
+
],
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"author": "lytdev <lytdev@outlook.com>",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/lytdev/agile-editor.git"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"docs"
|
|
29
|
+
],
|
|
30
|
+
"type": "module",
|
|
31
|
+
"types": "./dist/types/components/index.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/types/components/index.d.ts",
|
|
35
|
+
"import": "./dist/agile-editor.js"
|
|
36
|
+
},
|
|
37
|
+
"./style": {
|
|
38
|
+
"import": "./dist/agile-editor.css"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "vue-tsc --noEmit && vite build && vue-tsc -p tsconfig.types.json",
|
|
46
|
+
"test:style-target": "node --test tests/style-target.test.mjs tests/image-display-size.test.mjs tests/style-schema.test.mjs tests/link.test.mjs tests/iframe.test.mjs tests/bookmark-transaction.test.mjs tests/thousands-separator.test.mjs tests/font-style.test.mjs tests/font-size.test.mjs tests/callout.test.mjs tests/callout-indent.test.mjs tests/indent.test.mjs tests/style-mark-update.test.mjs tests/figure-caption-numbering.test.mjs tests/table-caption-numbering.test.mjs tests/file-name.test.mjs tests/timeline.test.mjs tests/caption-defaults.test.mjs tests/table-caption-visibility.test.mjs tests/details-collapse.test.mjs tests/editor-view.test.mjs tests/table-selection.test.mjs tests/table-appearance.test.mjs tests/table-border.test.mjs tests/table-properties.test.mjs tests/table-column-resize.test.mjs tests/table-layout.test.mjs tests/table-reset.test.mjs tests/document-loading.test.mjs tests/document-loading-i18n.test.mjs tests/document-save.test.mjs tests/attribute-roundtrip.test.mjs tests/table-attributes.test.mjs tests/bubble-note-selection.test.mjs tests/bubble-note-rich-content.test.mjs tests/bubble-note-image.test.mjs tests/bubble-note-render.test.mjs tests/bubble-note-default-limits.test.mjs tests/image-replacement.test.mjs tests/image-paste.test.mjs tests/insert-newline.test.mjs tests/table-row-resize.test.mjs tests/courseware-reader.test.mjs tests/pointer-hover-scheduler.test.mjs tests/tiptap-upgrade.test.mjs",
|
|
47
|
+
"typecheck": "vue-tsc --noEmit",
|
|
48
|
+
"dev": "vite --port 9000 --open --force",
|
|
49
|
+
"format": "oxfmt --write .",
|
|
50
|
+
"lint": "oxlint --fix src",
|
|
51
|
+
"lint:style": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\"",
|
|
52
|
+
"lint:style:fix": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\" --fix",
|
|
53
|
+
"analyzer": "vite-bundle-visualizer",
|
|
54
|
+
"prepare": "husky",
|
|
55
|
+
"prepublishOnly": "npm run build"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@agilehub/docx-converter": "^1.2.3",
|
|
59
|
+
"@agilehub/latex-formula": "1.2.2",
|
|
60
|
+
"@agilehub/vue-pdf-flipbook": "^2.1.1",
|
|
61
|
+
"@eslint/object-schema": "3.0.5",
|
|
62
|
+
"@floating-ui/dom": "1.8.0",
|
|
63
|
+
"@tiptap/core": "3.35.1",
|
|
64
|
+
"@tiptap/extension-bold": "3.35.1",
|
|
65
|
+
"@tiptap/extension-code-block": "3.35.1",
|
|
66
|
+
"@tiptap/extension-code-block-lowlight": "3.35.1",
|
|
67
|
+
"@tiptap/extension-collaboration": "3.35.1",
|
|
68
|
+
"@tiptap/extension-details": "3.35.1",
|
|
69
|
+
"@tiptap/extension-document": "3.35.1",
|
|
70
|
+
"@tiptap/extension-drag-handle": "3.35.1",
|
|
71
|
+
"@tiptap/extension-drag-handle-vue-3": "3.35.1",
|
|
72
|
+
"@tiptap/extension-heading": "3.35.1",
|
|
73
|
+
"@tiptap/extension-horizontal-rule": "3.35.1",
|
|
74
|
+
"@tiptap/extension-image": "3.35.1",
|
|
75
|
+
"@tiptap/extension-invisible-characters": "3.35.1",
|
|
76
|
+
"@tiptap/extension-link": "3.35.1",
|
|
77
|
+
"@tiptap/extension-list": "3.35.1",
|
|
78
|
+
"@tiptap/extension-node-range": "3.35.1",
|
|
79
|
+
"@tiptap/extension-paragraph": "3.35.1",
|
|
80
|
+
"@tiptap/extension-subscript": "3.35.1",
|
|
81
|
+
"@tiptap/extension-superscript": "3.35.1",
|
|
82
|
+
"@tiptap/extension-table": "3.35.1",
|
|
83
|
+
"@tiptap/extension-table-of-contents": "3.35.1",
|
|
84
|
+
"@tiptap/extension-text-align": "3.35.1",
|
|
85
|
+
"@tiptap/extension-text-style": "3.35.1",
|
|
86
|
+
"@tiptap/extension-typography": "3.35.1",
|
|
87
|
+
"@tiptap/extension-unique-id": "3.35.1",
|
|
88
|
+
"@tiptap/extensions": "3.35.1",
|
|
89
|
+
"@tiptap/pm": "3.35.1",
|
|
90
|
+
"@tiptap/starter-kit": "3.35.1",
|
|
91
|
+
"@tiptap/vue-3": "3.35.1",
|
|
92
|
+
"@tiptap/y-tiptap": "3.3.1",
|
|
93
|
+
"@tool-belt/type-predicates": "1.4.1",
|
|
94
|
+
"@videojs/html": "10.7.0",
|
|
95
|
+
"@vueuse/core": "15.0.0",
|
|
96
|
+
"@zumer/snapdom": "2.24.18",
|
|
97
|
+
"cropperjs": "^2.3.1",
|
|
98
|
+
"dom-to-image-more": "3.11.0",
|
|
99
|
+
"es-drager": "1.3.4",
|
|
100
|
+
"file-saver": "2.0.5",
|
|
101
|
+
"flowchart.js": "1.18.0",
|
|
102
|
+
"hotkeys-js": "4.0.8",
|
|
103
|
+
"hyperformula": "3.1.0",
|
|
104
|
+
"lowlight": "3.3.0",
|
|
105
|
+
"mermaid": "12.2.0",
|
|
106
|
+
"nzh": "1.0.14",
|
|
107
|
+
"ooxml-excel-editor": "1.16.3",
|
|
108
|
+
"plantuml-encoder": "1.4.0",
|
|
109
|
+
"pretty-bytes": "7.2.0",
|
|
110
|
+
"swiper": "14.3.0",
|
|
111
|
+
"tdesign-vue-next": "1.20.10",
|
|
112
|
+
"vue-i18n": "11.4.16",
|
|
113
|
+
"y-protocols": "1.0.7",
|
|
114
|
+
"yjs": "13.6.33"
|
|
115
|
+
},
|
|
116
|
+
"devDependencies": {
|
|
117
|
+
"@types/node": "^26.6.5",
|
|
118
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
119
|
+
"@vue-macros/reactivity-transform": "^3.1.4",
|
|
120
|
+
"esbuild": "^0.28.2",
|
|
121
|
+
"fast-glob": "3.3.3",
|
|
122
|
+
"husky": "^9.1.7",
|
|
123
|
+
"less": "^4.9.1",
|
|
124
|
+
"lint-staged": "^17.6.0",
|
|
125
|
+
"oxfmt": "^0.74.0",
|
|
126
|
+
"oxlint": "^1.89.0",
|
|
127
|
+
"postcss": "^8.5.34",
|
|
128
|
+
"postcss-html": "^2.0.0",
|
|
129
|
+
"stylelint": "^18.0.0",
|
|
130
|
+
"stylelint-config-html": "^2.0.0",
|
|
131
|
+
"stylelint-config-recommended": "^19.0.0",
|
|
132
|
+
"stylelint-config-recommended-less": "^5.0.0",
|
|
133
|
+
"stylelint-config-recommended-vue": "^2.0.0",
|
|
134
|
+
"stylelint-less": "^5.0.0",
|
|
135
|
+
"typescript": "~6.0.3",
|
|
136
|
+
"unplugin-auto-import": "^21.1.0",
|
|
137
|
+
"unplugin-vue-components": "^32.1.0",
|
|
138
|
+
"vite": "^8.3.4",
|
|
139
|
+
"vite-bundle-visualizer": "^1.2.1",
|
|
140
|
+
"vite-plugin-svg-icons": "^2.0.1",
|
|
141
|
+
"vue": "^3.5.44",
|
|
142
|
+
"vue-tsc": "^3.3.13"
|
|
143
|
+
},
|
|
144
|
+
"overrides": {
|
|
145
|
+
"prosemirror-model": "1.25.13",
|
|
146
|
+
"rolldown": "^1.2.14"
|
|
147
|
+
},
|
|
148
|
+
"lint-staged": {
|
|
149
|
+
"*.ts": [
|
|
150
|
+
"oxfmt --write",
|
|
151
|
+
"oxlint --fix"
|
|
152
|
+
],
|
|
153
|
+
"*.vue": [
|
|
154
|
+
"oxfmt --write",
|
|
155
|
+
"oxlint --fix",
|
|
156
|
+
"stylelint --fix"
|
|
157
|
+
],
|
|
158
|
+
"*.less": [
|
|
159
|
+
"oxfmt --write",
|
|
160
|
+
"stylelint --fix"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"engines": {
|
|
164
|
+
"node": "^22.22.1 || ^24.11.0 || >=26.0.0"
|
|
165
|
+
}
|
|
166
166
|
}
|