@agilehub/agile-editor 1.8.6 → 1.9.1
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 +26938 -9097
- package/dist/{i18n-BZGLJU1q.js → i18n-isaO-7Rd.js} +56 -6
- package/dist/types/components/editor/table-padding-control.vue.d.ts +7 -0
- package/dist/types/components/editor/table-property-section.vue.d.ts +5 -2
- package/dist/types/components/index.vue.d.ts +77 -2
- package/dist/types/components/menus/toolbar/insert/emoji.vue.d.ts +3 -0
- package/dist/types/components/menus/toolbar/view/break-marks.vue.d.ts +3 -0
- package/dist/types/components/menus/toolbar/view/line-number.vue.d.ts +3 -0
- package/dist/types/components/preview-toolbar/drawing-layer.vue.d.ts +1 -1
- package/dist/types/components/toolbar/classic.vue.d.ts +8 -8
- package/dist/types/components/toolbar/ribbon.vue.d.ts +8 -8
- package/dist/types/composables/i18n.d.ts +75 -0
- package/dist/types/extensions/table.d.ts +2 -0
- package/dist/types/i18n.d.ts +75 -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/types/utils/table-border.d.ts +8 -0
- package/dist/types/utils/table-cell-padding.d.ts +6 -0
- package/dist/types/utils/table-repair.d.ts +8 -0
- package/dist/{viewer-Bg-htPGM.js → viewer-P9wgj_Yv.js} +2 -2
- package/package.json +167 -166
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @agilehub/agile-editor 1.
|
|
2
|
+
* @agilehub/agile-editor 1.9.1
|
|
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",
|
|
@@ -600,6 +602,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
600
602
|
selectAll: "Select table",
|
|
601
603
|
quickTools: {
|
|
602
604
|
tableProperties: "Table properties",
|
|
605
|
+
closeProperties: "Close properties panel",
|
|
603
606
|
rowProperties: "Row properties",
|
|
604
607
|
cellProperties: "Cell properties",
|
|
605
608
|
layout: "Layout",
|
|
@@ -647,6 +650,15 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
647
650
|
removeImage: "Remove image",
|
|
648
651
|
uploadFailed: "Failed to upload the background image",
|
|
649
652
|
clearBackground: "Clear background",
|
|
653
|
+
cellPadding: "Cell padding",
|
|
654
|
+
mixedPadding: "Mixed",
|
|
655
|
+
paddingCell: "Cell",
|
|
656
|
+
paddingSides: {
|
|
657
|
+
top: "Top",
|
|
658
|
+
right: "Right",
|
|
659
|
+
bottom: "Bottom",
|
|
660
|
+
left: "Left"
|
|
661
|
+
},
|
|
650
662
|
apply: "Apply",
|
|
651
663
|
borderLines: {
|
|
652
664
|
hidden: "Hidden",
|
|
@@ -787,8 +799,20 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
787
799
|
success: "Deleted Successfully"
|
|
788
800
|
},
|
|
789
801
|
fix: {
|
|
790
|
-
text: "
|
|
791
|
-
tip: "
|
|
802
|
+
text: "Repair",
|
|
803
|
+
tip: "Repair the current table's structure, wrapping, width or row heights",
|
|
804
|
+
title: "Repair current table",
|
|
805
|
+
apply: "Repair",
|
|
806
|
+
structure: "Repair table structure",
|
|
807
|
+
structureTip: "Fill missing cells and correct invalid spans and column-width data.",
|
|
808
|
+
wrapping: "Restore text wrapping",
|
|
809
|
+
wrappingTip: "Remove cell and paragraph wrapping restrictions while preserving explicitly marked no-wrap text.",
|
|
810
|
+
fitWidth: "Fit document width",
|
|
811
|
+
fitWidthTip: "Set table width to 100% and scale columns using their existing proportions.",
|
|
812
|
+
rowHeight: "Clear fixed row heights",
|
|
813
|
+
rowHeightTip: "Remove row and cell height restrictions so content can expand naturally.",
|
|
814
|
+
finished: "Table repaired. Undo is available.",
|
|
815
|
+
unchanged: "No changes needed for the selected repairs"
|
|
792
816
|
},
|
|
793
817
|
insert: {
|
|
794
818
|
text: "Insert Table",
|
|
@@ -950,6 +974,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
950
974
|
common: "Common actions",
|
|
951
975
|
clearFormat: "Clear formatting",
|
|
952
976
|
duplicate: "Duplicate",
|
|
977
|
+
insertBelow: "Insert Blank Line Below",
|
|
953
978
|
copy: "Copy",
|
|
954
979
|
cut: "Cut",
|
|
955
980
|
delete: "Delete",
|
|
@@ -1836,6 +1861,8 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1836
1861
|
codeBlock: "代码块",
|
|
1837
1862
|
date: "日期",
|
|
1838
1863
|
emoji: "表情",
|
|
1864
|
+
"emoji-search": "搜索表情或含义",
|
|
1865
|
+
"emoji-empty": "没有找到匹配的表情",
|
|
1839
1866
|
file: "文件",
|
|
1840
1867
|
importDocx: {
|
|
1841
1868
|
text: "导入文档",
|
|
@@ -1985,10 +2012,11 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1985
2012
|
selectAll: "选择整张表格",
|
|
1986
2013
|
quickTools: {
|
|
1987
2014
|
tableProperties: "表格属性",
|
|
2015
|
+
closeProperties: "关闭属性面板",
|
|
1988
2016
|
rowProperties: "行属性",
|
|
1989
2017
|
cellProperties: "单元格属性",
|
|
1990
2018
|
layout: "布局",
|
|
1991
|
-
caption: "
|
|
2019
|
+
caption: "表注",
|
|
1992
2020
|
rowType: "行类型",
|
|
1993
2021
|
size: "尺寸",
|
|
1994
2022
|
cellAlignment: "对齐",
|
|
@@ -2003,7 +2031,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2003
2031
|
alignRight: "居右",
|
|
2004
2032
|
pixel: "像素 (px)",
|
|
2005
2033
|
percent: "百分比 (%)",
|
|
2006
|
-
showCaption: "
|
|
2034
|
+
showCaption: "显示表格表注",
|
|
2007
2035
|
headerRow: "表头行",
|
|
2008
2036
|
borderStyle: "边框样式",
|
|
2009
2037
|
borderColor: "边框颜色",
|
|
@@ -2032,6 +2060,15 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2032
2060
|
removeImage: "移除图片",
|
|
2033
2061
|
uploadFailed: "背景图片上传失败",
|
|
2034
2062
|
clearBackground: "清除背景",
|
|
2063
|
+
cellPadding: "单元格内边距",
|
|
2064
|
+
mixedPadding: "混合",
|
|
2065
|
+
paddingCell: "单元格",
|
|
2066
|
+
paddingSides: {
|
|
2067
|
+
top: "顶部",
|
|
2068
|
+
right: "右侧",
|
|
2069
|
+
bottom: "底部",
|
|
2070
|
+
left: "左侧"
|
|
2071
|
+
},
|
|
2035
2072
|
apply: "应用",
|
|
2036
2073
|
borderLines: {
|
|
2037
2074
|
hidden: "隐藏边框",
|
|
@@ -2177,7 +2214,19 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2177
2214
|
},
|
|
2178
2215
|
fix: {
|
|
2179
2216
|
text: "修复",
|
|
2180
|
-
tip: "
|
|
2217
|
+
tip: "选择修复当前表格的结构、换行、宽度或行高",
|
|
2218
|
+
title: "修复当前表格",
|
|
2219
|
+
apply: "开始修复",
|
|
2220
|
+
structure: "修复表格结构",
|
|
2221
|
+
structureTip: "补齐缺失单元格,校正异常合并范围及列宽数据。",
|
|
2222
|
+
wrapping: "恢复文字自动换行",
|
|
2223
|
+
wrappingTip: "清理单元格和段落的不换行设置,保留文字单独设置的强制不换行。",
|
|
2224
|
+
fitWidth: "适配文档宽度",
|
|
2225
|
+
fitWidthTip: "表格宽度设为 100%,按已有列宽比例重新分配列宽。",
|
|
2226
|
+
rowHeight: "清除固定行高",
|
|
2227
|
+
rowHeightTip: "清除行和单元格的高度限制,让行高随内容自动撑开。",
|
|
2228
|
+
finished: "表格修复完成,可通过撤销恢复",
|
|
2229
|
+
unchanged: "当前表格无需进行所选修复"
|
|
2181
2230
|
},
|
|
2182
2231
|
insert: {
|
|
2183
2232
|
text: "插入表格",
|
|
@@ -2324,6 +2373,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2324
2373
|
common: "常用操作",
|
|
2325
2374
|
clearFormat: "清除格式",
|
|
2326
2375
|
duplicate: "复制节点",
|
|
2376
|
+
insertBelow: "在下方插入空行",
|
|
2327
2377
|
copy: "复制内容",
|
|
2328
2378
|
cut: "剪切",
|
|
2329
2379
|
delete: "删除",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type TablePaddingScope } from '@/utils/table-cell-padding';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
scope: TablePaddingScope;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
title: string;
|
|
3
|
+
immediate?: boolean;
|
|
3
4
|
};
|
|
4
|
-
declare var
|
|
5
|
+
declare var __VLS_15: {}, __VLS_17: {};
|
|
5
6
|
type __VLS_Slots = {} & {
|
|
6
|
-
|
|
7
|
+
headerRight?: (props: typeof __VLS_15) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_17) => any;
|
|
7
10
|
};
|
|
8
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
12
|
save: () => any;
|
|
@@ -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;
|
|
@@ -619,6 +621,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
619
621
|
selectAll: string;
|
|
620
622
|
quickTools: {
|
|
621
623
|
tableProperties: string;
|
|
624
|
+
closeProperties: string;
|
|
622
625
|
rowProperties: string;
|
|
623
626
|
cellProperties: string;
|
|
624
627
|
layout: string;
|
|
@@ -666,6 +669,15 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
666
669
|
removeImage: string;
|
|
667
670
|
uploadFailed: string;
|
|
668
671
|
clearBackground: string;
|
|
672
|
+
cellPadding: string;
|
|
673
|
+
mixedPadding: string;
|
|
674
|
+
paddingCell: string;
|
|
675
|
+
paddingSides: {
|
|
676
|
+
top: string;
|
|
677
|
+
right: string;
|
|
678
|
+
bottom: string;
|
|
679
|
+
left: string;
|
|
680
|
+
};
|
|
669
681
|
apply: string;
|
|
670
682
|
borderLines: {
|
|
671
683
|
hidden: string;
|
|
@@ -808,6 +820,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
808
820
|
fix: {
|
|
809
821
|
text: string;
|
|
810
822
|
tip: string;
|
|
823
|
+
title: string;
|
|
824
|
+
apply: string;
|
|
825
|
+
structure: string;
|
|
826
|
+
structureTip: string;
|
|
827
|
+
wrapping: string;
|
|
828
|
+
wrappingTip: string;
|
|
829
|
+
fitWidth: string;
|
|
830
|
+
fitWidthTip: string;
|
|
831
|
+
rowHeight: string;
|
|
832
|
+
rowHeightTip: string;
|
|
833
|
+
finished: string;
|
|
834
|
+
unchanged: string;
|
|
811
835
|
};
|
|
812
836
|
insert: {
|
|
813
837
|
text: string;
|
|
@@ -1331,6 +1355,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1331
1355
|
common: string;
|
|
1332
1356
|
clearFormat: string;
|
|
1333
1357
|
duplicate: string;
|
|
1358
|
+
insertBelow: string;
|
|
1334
1359
|
copy: string;
|
|
1335
1360
|
cut: string;
|
|
1336
1361
|
delete: string;
|
|
@@ -2226,6 +2251,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2226
2251
|
codeBlock: string;
|
|
2227
2252
|
date: string;
|
|
2228
2253
|
emoji: string;
|
|
2254
|
+
"emoji-search": string;
|
|
2255
|
+
"emoji-empty": string;
|
|
2229
2256
|
file: string;
|
|
2230
2257
|
importDocx: {
|
|
2231
2258
|
text: string;
|
|
@@ -2375,6 +2402,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2375
2402
|
selectAll: string;
|
|
2376
2403
|
quickTools: {
|
|
2377
2404
|
tableProperties: string;
|
|
2405
|
+
closeProperties: string;
|
|
2378
2406
|
rowProperties: string;
|
|
2379
2407
|
cellProperties: string;
|
|
2380
2408
|
layout: string;
|
|
@@ -2422,6 +2450,15 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2422
2450
|
removeImage: string;
|
|
2423
2451
|
uploadFailed: string;
|
|
2424
2452
|
clearBackground: string;
|
|
2453
|
+
cellPadding: string;
|
|
2454
|
+
mixedPadding: string;
|
|
2455
|
+
paddingCell: string;
|
|
2456
|
+
paddingSides: {
|
|
2457
|
+
top: string;
|
|
2458
|
+
right: string;
|
|
2459
|
+
bottom: string;
|
|
2460
|
+
left: string;
|
|
2461
|
+
};
|
|
2425
2462
|
apply: string;
|
|
2426
2463
|
borderLines: {
|
|
2427
2464
|
hidden: string;
|
|
@@ -2568,6 +2605,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2568
2605
|
fix: {
|
|
2569
2606
|
text: string;
|
|
2570
2607
|
tip: string;
|
|
2608
|
+
title: string;
|
|
2609
|
+
apply: string;
|
|
2610
|
+
structure: string;
|
|
2611
|
+
structureTip: string;
|
|
2612
|
+
wrapping: string;
|
|
2613
|
+
wrappingTip: string;
|
|
2614
|
+
fitWidth: string;
|
|
2615
|
+
fitWidthTip: string;
|
|
2616
|
+
rowHeight: string;
|
|
2617
|
+
rowHeightTip: string;
|
|
2618
|
+
finished: string;
|
|
2619
|
+
unchanged: string;
|
|
2571
2620
|
};
|
|
2572
2621
|
insert: {
|
|
2573
2622
|
text: string;
|
|
@@ -3085,6 +3134,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3085
3134
|
common: string;
|
|
3086
3135
|
clearFormat: string;
|
|
3087
3136
|
duplicate: string;
|
|
3137
|
+
insertBelow: string;
|
|
3088
3138
|
copy: string;
|
|
3089
3139
|
cut: string;
|
|
3090
3140
|
delete: string;
|
|
@@ -3974,6 +4024,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3974
4024
|
codeBlock: string;
|
|
3975
4025
|
date: string;
|
|
3976
4026
|
emoji: string;
|
|
4027
|
+
"emoji-search": string;
|
|
4028
|
+
"emoji-empty": string;
|
|
3977
4029
|
file: string;
|
|
3978
4030
|
importDocx: {
|
|
3979
4031
|
text: string;
|
|
@@ -4123,6 +4175,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4123
4175
|
selectAll: string;
|
|
4124
4176
|
quickTools: {
|
|
4125
4177
|
tableProperties: string;
|
|
4178
|
+
closeProperties: string;
|
|
4126
4179
|
rowProperties: string;
|
|
4127
4180
|
cellProperties: string;
|
|
4128
4181
|
layout: string;
|
|
@@ -4170,6 +4223,15 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4170
4223
|
removeImage: string;
|
|
4171
4224
|
uploadFailed: string;
|
|
4172
4225
|
clearBackground: string;
|
|
4226
|
+
cellPadding: string;
|
|
4227
|
+
mixedPadding: string;
|
|
4228
|
+
paddingCell: string;
|
|
4229
|
+
paddingSides: {
|
|
4230
|
+
top: string;
|
|
4231
|
+
right: string;
|
|
4232
|
+
bottom: string;
|
|
4233
|
+
left: string;
|
|
4234
|
+
};
|
|
4173
4235
|
apply: string;
|
|
4174
4236
|
borderLines: {
|
|
4175
4237
|
hidden: string;
|
|
@@ -4316,6 +4378,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4316
4378
|
fix: {
|
|
4317
4379
|
text: string;
|
|
4318
4380
|
tip: string;
|
|
4381
|
+
title: string;
|
|
4382
|
+
apply: string;
|
|
4383
|
+
structure: string;
|
|
4384
|
+
structureTip: string;
|
|
4385
|
+
wrapping: string;
|
|
4386
|
+
wrappingTip: string;
|
|
4387
|
+
fitWidth: string;
|
|
4388
|
+
fitWidthTip: string;
|
|
4389
|
+
rowHeight: string;
|
|
4390
|
+
rowHeightTip: string;
|
|
4391
|
+
finished: string;
|
|
4392
|
+
unchanged: string;
|
|
4319
4393
|
};
|
|
4320
4394
|
insert: {
|
|
4321
4395
|
text: string;
|
|
@@ -4833,6 +4907,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4833
4907
|
common: string;
|
|
4834
4908
|
clearFormat: string;
|
|
4835
4909
|
duplicate: string;
|
|
4910
|
+
insertBelow: string;
|
|
4836
4911
|
copy: string;
|
|
4837
4912
|
cut: string;
|
|
4838
4913
|
delete: string;
|
|
@@ -5357,9 +5432,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5357
5432
|
saved: (...args: any[]) => void;
|
|
5358
5433
|
blur: (...args: any[]) => void;
|
|
5359
5434
|
focus: (...args: any[]) => void;
|
|
5435
|
+
drop: (...args: any[]) => void;
|
|
5360
5436
|
beforeCreate: (...args: any[]) => void;
|
|
5361
5437
|
created: (...args: any[]) => void;
|
|
5362
|
-
drop: (...args: any[]) => void;
|
|
5363
5438
|
destroy: (...args: any[]) => void;
|
|
5364
5439
|
changed: (...args: any[]) => void;
|
|
5365
5440
|
"changed:selection": (...args: any[]) => void;
|
|
@@ -5385,9 +5460,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5385
5460
|
onSaved?: (...args: any[]) => any;
|
|
5386
5461
|
onBlur?: (...args: any[]) => any;
|
|
5387
5462
|
onFocus?: (...args: any[]) => any;
|
|
5463
|
+
onDrop?: (...args: any[]) => any;
|
|
5388
5464
|
onBeforeCreate?: (...args: any[]) => any;
|
|
5389
5465
|
onCreated?: (...args: any[]) => any;
|
|
5390
|
-
onDrop?: (...args: any[]) => any;
|
|
5391
5466
|
onDestroy?: (...args: any[]) => any;
|
|
5392
5467
|
onChanged?: (...args: any[]) => any;
|
|
5393
5468
|
"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;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -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>;
|
|
@@ -7,13 +7,13 @@ declare var __VLS_172: {
|
|
|
7
7
|
toolbarMode: string;
|
|
8
8
|
}, __VLS_473: {
|
|
9
9
|
toolbarMode: string;
|
|
10
|
-
},
|
|
10
|
+
}, __VLS_525: {
|
|
11
11
|
toolbarMode: string;
|
|
12
|
-
},
|
|
12
|
+
}, __VLS_527: {
|
|
13
13
|
toolbarMode: string;
|
|
14
|
-
},
|
|
14
|
+
}, __VLS_529: {
|
|
15
15
|
toolbarMode: string;
|
|
16
|
-
},
|
|
16
|
+
}, __VLS_531: {
|
|
17
17
|
toolbarMode: string;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
@@ -25,13 +25,13 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
} & {
|
|
26
26
|
toolbar_tools?: (props: typeof __VLS_473) => any;
|
|
27
27
|
} & {
|
|
28
|
-
toolbar_view?: (props: typeof
|
|
28
|
+
toolbar_view?: (props: typeof __VLS_525) => any;
|
|
29
29
|
} & {
|
|
30
|
-
toolbar_review?: (props: typeof
|
|
30
|
+
toolbar_review?: (props: typeof __VLS_527) => any;
|
|
31
31
|
} & {
|
|
32
|
-
toolbar_extension?: (props: typeof
|
|
32
|
+
toolbar_extension?: (props: typeof __VLS_529) => any;
|
|
33
33
|
} & {
|
|
34
|
-
toolbar_enhancement?: (props: typeof
|
|
34
|
+
toolbar_enhancement?: (props: typeof __VLS_531) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
37
37
|
menus: {
|
|
@@ -7,13 +7,13 @@ declare var __VLS_173: {
|
|
|
7
7
|
toolbarMode: string;
|
|
8
8
|
}, __VLS_474: {
|
|
9
9
|
toolbarMode: string;
|
|
10
|
-
},
|
|
10
|
+
}, __VLS_526: {
|
|
11
11
|
toolbarMode: string;
|
|
12
|
-
},
|
|
12
|
+
}, __VLS_528: {
|
|
13
13
|
toolbarMode: string;
|
|
14
|
-
},
|
|
14
|
+
}, __VLS_530: {
|
|
15
15
|
toolbarMode: string;
|
|
16
|
-
},
|
|
16
|
+
}, __VLS_532: {
|
|
17
17
|
toolbarMode: string;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
@@ -25,13 +25,13 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
} & {
|
|
26
26
|
toolbar_tools?: (props: typeof __VLS_474) => any;
|
|
27
27
|
} & {
|
|
28
|
-
toolbar_view?: (props: typeof
|
|
28
|
+
toolbar_view?: (props: typeof __VLS_526) => any;
|
|
29
29
|
} & {
|
|
30
|
-
toolbar_review?: (props: typeof
|
|
30
|
+
toolbar_review?: (props: typeof __VLS_528) => any;
|
|
31
31
|
} & {
|
|
32
|
-
toolbar_extension?: (props: typeof
|
|
32
|
+
toolbar_extension?: (props: typeof __VLS_530) => any;
|
|
33
33
|
} & {
|
|
34
|
-
toolbar_enhancement?: (props: typeof
|
|
34
|
+
toolbar_enhancement?: (props: typeof __VLS_532) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
37
37
|
menus: {
|
|
@@ -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;
|
|
@@ -575,6 +577,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
575
577
|
selectAll: string;
|
|
576
578
|
quickTools: {
|
|
577
579
|
tableProperties: string;
|
|
580
|
+
closeProperties: string;
|
|
578
581
|
rowProperties: string;
|
|
579
582
|
cellProperties: string;
|
|
580
583
|
layout: string;
|
|
@@ -622,6 +625,15 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
622
625
|
removeImage: string;
|
|
623
626
|
uploadFailed: string;
|
|
624
627
|
clearBackground: string;
|
|
628
|
+
cellPadding: string;
|
|
629
|
+
mixedPadding: string;
|
|
630
|
+
paddingCell: string;
|
|
631
|
+
paddingSides: {
|
|
632
|
+
top: string;
|
|
633
|
+
right: string;
|
|
634
|
+
bottom: string;
|
|
635
|
+
left: string;
|
|
636
|
+
};
|
|
625
637
|
apply: string;
|
|
626
638
|
borderLines: {
|
|
627
639
|
hidden: string;
|
|
@@ -764,6 +776,18 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
764
776
|
fix: {
|
|
765
777
|
text: string;
|
|
766
778
|
tip: string;
|
|
779
|
+
title: string;
|
|
780
|
+
apply: string;
|
|
781
|
+
structure: string;
|
|
782
|
+
structureTip: string;
|
|
783
|
+
wrapping: string;
|
|
784
|
+
wrappingTip: string;
|
|
785
|
+
fitWidth: string;
|
|
786
|
+
fitWidthTip: string;
|
|
787
|
+
rowHeight: string;
|
|
788
|
+
rowHeightTip: string;
|
|
789
|
+
finished: string;
|
|
790
|
+
unchanged: string;
|
|
767
791
|
};
|
|
768
792
|
insert: {
|
|
769
793
|
text: string;
|
|
@@ -1287,6 +1311,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
1287
1311
|
common: string;
|
|
1288
1312
|
clearFormat: string;
|
|
1289
1313
|
duplicate: string;
|
|
1314
|
+
insertBelow: string;
|
|
1290
1315
|
copy: string;
|
|
1291
1316
|
cut: string;
|
|
1292
1317
|
delete: string;
|
|
@@ -2182,6 +2207,8 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2182
2207
|
codeBlock: string;
|
|
2183
2208
|
date: string;
|
|
2184
2209
|
emoji: string;
|
|
2210
|
+
"emoji-search": string;
|
|
2211
|
+
"emoji-empty": string;
|
|
2185
2212
|
file: string;
|
|
2186
2213
|
importDocx: {
|
|
2187
2214
|
text: string;
|
|
@@ -2331,6 +2358,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2331
2358
|
selectAll: string;
|
|
2332
2359
|
quickTools: {
|
|
2333
2360
|
tableProperties: string;
|
|
2361
|
+
closeProperties: string;
|
|
2334
2362
|
rowProperties: string;
|
|
2335
2363
|
cellProperties: string;
|
|
2336
2364
|
layout: string;
|
|
@@ -2378,6 +2406,15 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2378
2406
|
removeImage: string;
|
|
2379
2407
|
uploadFailed: string;
|
|
2380
2408
|
clearBackground: string;
|
|
2409
|
+
cellPadding: string;
|
|
2410
|
+
mixedPadding: string;
|
|
2411
|
+
paddingCell: string;
|
|
2412
|
+
paddingSides: {
|
|
2413
|
+
top: string;
|
|
2414
|
+
right: string;
|
|
2415
|
+
bottom: string;
|
|
2416
|
+
left: string;
|
|
2417
|
+
};
|
|
2381
2418
|
apply: string;
|
|
2382
2419
|
borderLines: {
|
|
2383
2420
|
hidden: string;
|
|
@@ -2524,6 +2561,18 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2524
2561
|
fix: {
|
|
2525
2562
|
text: string;
|
|
2526
2563
|
tip: string;
|
|
2564
|
+
title: string;
|
|
2565
|
+
apply: string;
|
|
2566
|
+
structure: string;
|
|
2567
|
+
structureTip: string;
|
|
2568
|
+
wrapping: string;
|
|
2569
|
+
wrappingTip: string;
|
|
2570
|
+
fitWidth: string;
|
|
2571
|
+
fitWidthTip: string;
|
|
2572
|
+
rowHeight: string;
|
|
2573
|
+
rowHeightTip: string;
|
|
2574
|
+
finished: string;
|
|
2575
|
+
unchanged: string;
|
|
2527
2576
|
};
|
|
2528
2577
|
insert: {
|
|
2529
2578
|
text: string;
|
|
@@ -3041,6 +3090,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3041
3090
|
common: string;
|
|
3042
3091
|
clearFormat: string;
|
|
3043
3092
|
duplicate: string;
|
|
3093
|
+
insertBelow: string;
|
|
3044
3094
|
copy: string;
|
|
3045
3095
|
cut: string;
|
|
3046
3096
|
delete: string;
|
|
@@ -3930,6 +3980,8 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3930
3980
|
codeBlock: string;
|
|
3931
3981
|
date: string;
|
|
3932
3982
|
emoji: string;
|
|
3983
|
+
"emoji-search": string;
|
|
3984
|
+
"emoji-empty": string;
|
|
3933
3985
|
file: string;
|
|
3934
3986
|
importDocx: {
|
|
3935
3987
|
text: string;
|
|
@@ -4079,6 +4131,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4079
4131
|
selectAll: string;
|
|
4080
4132
|
quickTools: {
|
|
4081
4133
|
tableProperties: string;
|
|
4134
|
+
closeProperties: string;
|
|
4082
4135
|
rowProperties: string;
|
|
4083
4136
|
cellProperties: string;
|
|
4084
4137
|
layout: string;
|
|
@@ -4126,6 +4179,15 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4126
4179
|
removeImage: string;
|
|
4127
4180
|
uploadFailed: string;
|
|
4128
4181
|
clearBackground: string;
|
|
4182
|
+
cellPadding: string;
|
|
4183
|
+
mixedPadding: string;
|
|
4184
|
+
paddingCell: string;
|
|
4185
|
+
paddingSides: {
|
|
4186
|
+
top: string;
|
|
4187
|
+
right: string;
|
|
4188
|
+
bottom: string;
|
|
4189
|
+
left: string;
|
|
4190
|
+
};
|
|
4129
4191
|
apply: string;
|
|
4130
4192
|
borderLines: {
|
|
4131
4193
|
hidden: string;
|
|
@@ -4272,6 +4334,18 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4272
4334
|
fix: {
|
|
4273
4335
|
text: string;
|
|
4274
4336
|
tip: string;
|
|
4337
|
+
title: string;
|
|
4338
|
+
apply: string;
|
|
4339
|
+
structure: string;
|
|
4340
|
+
structureTip: string;
|
|
4341
|
+
wrapping: string;
|
|
4342
|
+
wrappingTip: string;
|
|
4343
|
+
fitWidth: string;
|
|
4344
|
+
fitWidthTip: string;
|
|
4345
|
+
rowHeight: string;
|
|
4346
|
+
rowHeightTip: string;
|
|
4347
|
+
finished: string;
|
|
4348
|
+
unchanged: string;
|
|
4275
4349
|
};
|
|
4276
4350
|
insert: {
|
|
4277
4351
|
text: string;
|
|
@@ -4789,6 +4863,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4789
4863
|
common: string;
|
|
4790
4864
|
clearFormat: string;
|
|
4791
4865
|
duplicate: string;
|
|
4866
|
+
insertBelow: string;
|
|
4792
4867
|
copy: string;
|
|
4793
4868
|
cut: string;
|
|
4794
4869
|
delete: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Node as TiptapNode } from '@tiptap/core';
|
|
2
|
+
import { type TableRepairOptions } from '@/utils/table-repair';
|
|
2
3
|
import { type TableBackground } from '@/utils/table-appearance';
|
|
3
4
|
import { type TableBorderPatch } from '@/utils/table-border';
|
|
4
5
|
import { type TableCellSizeValues } from '@/utils/table-properties';
|
|
@@ -12,6 +13,7 @@ declare module '@tiptap/core' {
|
|
|
12
13
|
selectCurrentTable: () => ReturnType;
|
|
13
14
|
};
|
|
14
15
|
tableAppearance: {
|
|
16
|
+
repairTable: (options: TableRepairOptions) => ReturnType;
|
|
15
17
|
clearTableSettings: () => ReturnType;
|
|
16
18
|
};
|
|
17
19
|
tableCellAppearance: {
|