@agilehub/agile-editor 1.9.0 → 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 +9203 -8553
- package/dist/{i18n-CChALhQN.js → i18n-isaO-7Rd.js} +52 -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 +69 -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/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 +69 -0
- package/dist/types/extensions/table.d.ts +2 -0
- package/dist/types/i18n.d.ts +69 -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-Cv5V0Gjs.js → viewer-P9wgj_Yv.js} +2 -2
- package/package.json +4 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @agilehub/agile-editor 1.9.
|
|
2
|
+
* @agilehub/agile-editor 1.9.1
|
|
3
3
|
* @license Apache-2.0
|
|
4
4
|
* @author undefined undefined
|
|
5
5
|
* @see undefined
|
|
@@ -602,6 +602,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
602
602
|
selectAll: "Select table",
|
|
603
603
|
quickTools: {
|
|
604
604
|
tableProperties: "Table properties",
|
|
605
|
+
closeProperties: "Close properties panel",
|
|
605
606
|
rowProperties: "Row properties",
|
|
606
607
|
cellProperties: "Cell properties",
|
|
607
608
|
layout: "Layout",
|
|
@@ -649,6 +650,15 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
649
650
|
removeImage: "Remove image",
|
|
650
651
|
uploadFailed: "Failed to upload the background image",
|
|
651
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
|
+
},
|
|
652
662
|
apply: "Apply",
|
|
653
663
|
borderLines: {
|
|
654
664
|
hidden: "Hidden",
|
|
@@ -789,8 +799,20 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
789
799
|
success: "Deleted Successfully"
|
|
790
800
|
},
|
|
791
801
|
fix: {
|
|
792
|
-
text: "
|
|
793
|
-
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"
|
|
794
816
|
},
|
|
795
817
|
insert: {
|
|
796
818
|
text: "Insert Table",
|
|
@@ -952,6 +974,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
952
974
|
common: "Common actions",
|
|
953
975
|
clearFormat: "Clear formatting",
|
|
954
976
|
duplicate: "Duplicate",
|
|
977
|
+
insertBelow: "Insert Blank Line Below",
|
|
955
978
|
copy: "Copy",
|
|
956
979
|
cut: "Cut",
|
|
957
980
|
delete: "Delete",
|
|
@@ -1989,10 +2012,11 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1989
2012
|
selectAll: "选择整张表格",
|
|
1990
2013
|
quickTools: {
|
|
1991
2014
|
tableProperties: "表格属性",
|
|
2015
|
+
closeProperties: "关闭属性面板",
|
|
1992
2016
|
rowProperties: "行属性",
|
|
1993
2017
|
cellProperties: "单元格属性",
|
|
1994
2018
|
layout: "布局",
|
|
1995
|
-
caption: "
|
|
2019
|
+
caption: "表注",
|
|
1996
2020
|
rowType: "行类型",
|
|
1997
2021
|
size: "尺寸",
|
|
1998
2022
|
cellAlignment: "对齐",
|
|
@@ -2007,7 +2031,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2007
2031
|
alignRight: "居右",
|
|
2008
2032
|
pixel: "像素 (px)",
|
|
2009
2033
|
percent: "百分比 (%)",
|
|
2010
|
-
showCaption: "
|
|
2034
|
+
showCaption: "显示表格表注",
|
|
2011
2035
|
headerRow: "表头行",
|
|
2012
2036
|
borderStyle: "边框样式",
|
|
2013
2037
|
borderColor: "边框颜色",
|
|
@@ -2036,6 +2060,15 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2036
2060
|
removeImage: "移除图片",
|
|
2037
2061
|
uploadFailed: "背景图片上传失败",
|
|
2038
2062
|
clearBackground: "清除背景",
|
|
2063
|
+
cellPadding: "单元格内边距",
|
|
2064
|
+
mixedPadding: "混合",
|
|
2065
|
+
paddingCell: "单元格",
|
|
2066
|
+
paddingSides: {
|
|
2067
|
+
top: "顶部",
|
|
2068
|
+
right: "右侧",
|
|
2069
|
+
bottom: "底部",
|
|
2070
|
+
left: "左侧"
|
|
2071
|
+
},
|
|
2039
2072
|
apply: "应用",
|
|
2040
2073
|
borderLines: {
|
|
2041
2074
|
hidden: "隐藏边框",
|
|
@@ -2181,7 +2214,19 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2181
2214
|
},
|
|
2182
2215
|
fix: {
|
|
2183
2216
|
text: "修复",
|
|
2184
|
-
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: "当前表格无需进行所选修复"
|
|
2185
2230
|
},
|
|
2186
2231
|
insert: {
|
|
2187
2232
|
text: "插入表格",
|
|
@@ -2328,6 +2373,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2328
2373
|
common: "常用操作",
|
|
2329
2374
|
clearFormat: "清除格式",
|
|
2330
2375
|
duplicate: "复制节点",
|
|
2376
|
+
insertBelow: "在下方插入空行",
|
|
2331
2377
|
copy: "复制内容",
|
|
2332
2378
|
cut: "剪切",
|
|
2333
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;
|
|
@@ -621,6 +621,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
621
621
|
selectAll: string;
|
|
622
622
|
quickTools: {
|
|
623
623
|
tableProperties: string;
|
|
624
|
+
closeProperties: string;
|
|
624
625
|
rowProperties: string;
|
|
625
626
|
cellProperties: string;
|
|
626
627
|
layout: string;
|
|
@@ -668,6 +669,15 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
668
669
|
removeImage: string;
|
|
669
670
|
uploadFailed: string;
|
|
670
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
|
+
};
|
|
671
681
|
apply: string;
|
|
672
682
|
borderLines: {
|
|
673
683
|
hidden: string;
|
|
@@ -810,6 +820,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
810
820
|
fix: {
|
|
811
821
|
text: string;
|
|
812
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;
|
|
813
835
|
};
|
|
814
836
|
insert: {
|
|
815
837
|
text: string;
|
|
@@ -1333,6 +1355,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1333
1355
|
common: string;
|
|
1334
1356
|
clearFormat: string;
|
|
1335
1357
|
duplicate: string;
|
|
1358
|
+
insertBelow: string;
|
|
1336
1359
|
copy: string;
|
|
1337
1360
|
cut: string;
|
|
1338
1361
|
delete: string;
|
|
@@ -2379,6 +2402,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2379
2402
|
selectAll: string;
|
|
2380
2403
|
quickTools: {
|
|
2381
2404
|
tableProperties: string;
|
|
2405
|
+
closeProperties: string;
|
|
2382
2406
|
rowProperties: string;
|
|
2383
2407
|
cellProperties: string;
|
|
2384
2408
|
layout: string;
|
|
@@ -2426,6 +2450,15 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2426
2450
|
removeImage: string;
|
|
2427
2451
|
uploadFailed: string;
|
|
2428
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
|
+
};
|
|
2429
2462
|
apply: string;
|
|
2430
2463
|
borderLines: {
|
|
2431
2464
|
hidden: string;
|
|
@@ -2572,6 +2605,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2572
2605
|
fix: {
|
|
2573
2606
|
text: string;
|
|
2574
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;
|
|
2575
2620
|
};
|
|
2576
2621
|
insert: {
|
|
2577
2622
|
text: string;
|
|
@@ -3089,6 +3134,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3089
3134
|
common: string;
|
|
3090
3135
|
clearFormat: string;
|
|
3091
3136
|
duplicate: string;
|
|
3137
|
+
insertBelow: string;
|
|
3092
3138
|
copy: string;
|
|
3093
3139
|
cut: string;
|
|
3094
3140
|
delete: string;
|
|
@@ -4129,6 +4175,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4129
4175
|
selectAll: string;
|
|
4130
4176
|
quickTools: {
|
|
4131
4177
|
tableProperties: string;
|
|
4178
|
+
closeProperties: string;
|
|
4132
4179
|
rowProperties: string;
|
|
4133
4180
|
cellProperties: string;
|
|
4134
4181
|
layout: string;
|
|
@@ -4176,6 +4223,15 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4176
4223
|
removeImage: string;
|
|
4177
4224
|
uploadFailed: string;
|
|
4178
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
|
+
};
|
|
4179
4235
|
apply: string;
|
|
4180
4236
|
borderLines: {
|
|
4181
4237
|
hidden: string;
|
|
@@ -4322,6 +4378,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4322
4378
|
fix: {
|
|
4323
4379
|
text: string;
|
|
4324
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;
|
|
4325
4393
|
};
|
|
4326
4394
|
insert: {
|
|
4327
4395
|
text: string;
|
|
@@ -4839,6 +4907,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4839
4907
|
common: string;
|
|
4840
4908
|
clearFormat: string;
|
|
4841
4909
|
duplicate: string;
|
|
4910
|
+
insertBelow: string;
|
|
4842
4911
|
copy: string;
|
|
4843
4912
|
cut: string;
|
|
4844
4913
|
delete: string;
|
|
@@ -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;
|
|
@@ -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: {
|
|
@@ -577,6 +577,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
577
577
|
selectAll: string;
|
|
578
578
|
quickTools: {
|
|
579
579
|
tableProperties: string;
|
|
580
|
+
closeProperties: string;
|
|
580
581
|
rowProperties: string;
|
|
581
582
|
cellProperties: string;
|
|
582
583
|
layout: string;
|
|
@@ -624,6 +625,15 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
624
625
|
removeImage: string;
|
|
625
626
|
uploadFailed: string;
|
|
626
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
|
+
};
|
|
627
637
|
apply: string;
|
|
628
638
|
borderLines: {
|
|
629
639
|
hidden: string;
|
|
@@ -766,6 +776,18 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
766
776
|
fix: {
|
|
767
777
|
text: string;
|
|
768
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;
|
|
769
791
|
};
|
|
770
792
|
insert: {
|
|
771
793
|
text: string;
|
|
@@ -1289,6 +1311,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
1289
1311
|
common: string;
|
|
1290
1312
|
clearFormat: string;
|
|
1291
1313
|
duplicate: string;
|
|
1314
|
+
insertBelow: string;
|
|
1292
1315
|
copy: string;
|
|
1293
1316
|
cut: string;
|
|
1294
1317
|
delete: string;
|
|
@@ -2335,6 +2358,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2335
2358
|
selectAll: string;
|
|
2336
2359
|
quickTools: {
|
|
2337
2360
|
tableProperties: string;
|
|
2361
|
+
closeProperties: string;
|
|
2338
2362
|
rowProperties: string;
|
|
2339
2363
|
cellProperties: string;
|
|
2340
2364
|
layout: string;
|
|
@@ -2382,6 +2406,15 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2382
2406
|
removeImage: string;
|
|
2383
2407
|
uploadFailed: string;
|
|
2384
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
|
+
};
|
|
2385
2418
|
apply: string;
|
|
2386
2419
|
borderLines: {
|
|
2387
2420
|
hidden: string;
|
|
@@ -2528,6 +2561,18 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2528
2561
|
fix: {
|
|
2529
2562
|
text: string;
|
|
2530
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;
|
|
2531
2576
|
};
|
|
2532
2577
|
insert: {
|
|
2533
2578
|
text: string;
|
|
@@ -3045,6 +3090,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3045
3090
|
common: string;
|
|
3046
3091
|
clearFormat: string;
|
|
3047
3092
|
duplicate: string;
|
|
3093
|
+
insertBelow: string;
|
|
3048
3094
|
copy: string;
|
|
3049
3095
|
cut: string;
|
|
3050
3096
|
delete: string;
|
|
@@ -4085,6 +4131,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4085
4131
|
selectAll: string;
|
|
4086
4132
|
quickTools: {
|
|
4087
4133
|
tableProperties: string;
|
|
4134
|
+
closeProperties: string;
|
|
4088
4135
|
rowProperties: string;
|
|
4089
4136
|
cellProperties: string;
|
|
4090
4137
|
layout: string;
|
|
@@ -4132,6 +4179,15 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4132
4179
|
removeImage: string;
|
|
4133
4180
|
uploadFailed: string;
|
|
4134
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
|
+
};
|
|
4135
4191
|
apply: string;
|
|
4136
4192
|
borderLines: {
|
|
4137
4193
|
hidden: string;
|
|
@@ -4278,6 +4334,18 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4278
4334
|
fix: {
|
|
4279
4335
|
text: string;
|
|
4280
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;
|
|
4281
4349
|
};
|
|
4282
4350
|
insert: {
|
|
4283
4351
|
text: string;
|
|
@@ -4795,6 +4863,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4795
4863
|
common: string;
|
|
4796
4864
|
clearFormat: string;
|
|
4797
4865
|
duplicate: string;
|
|
4866
|
+
insertBelow: string;
|
|
4798
4867
|
copy: string;
|
|
4799
4868
|
cut: string;
|
|
4800
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: {
|