@agilehub/agile-editor 1.7.0 → 1.8.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/README.md +1 -0
- package/dist/agile-editor.css +1 -1
- package/dist/agile-editor.js +18075 -18079
- package/dist/i18n-DkkDy5cy.js +2813 -0
- package/dist/types/components/editor/courseware-dialog.vue.d.ts +3 -0
- package/dist/types/components/editor/smart-sheet-dialog.vue.d.ts +3 -0
- package/dist/types/components/editor/thousands-separator-dialog.vue.d.ts +3 -0
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/components/index.vue.d.ts +397 -19
- package/dist/types/components/menus/button.vue.d.ts +1 -1
- package/dist/types/components/menus/toolbar/insert/courseware.vue.d.ts +3 -0
- package/dist/types/components/menus/toolbar/insert/smart-sheet.vue.d.ts +3 -0
- package/dist/types/components/menus/toolbar/tools/thousands-separator.vue.d.ts +3 -0
- package/dist/types/components/preview-toolbar/index.vue.d.ts +2 -2
- package/dist/types/components/toolbar/classic.vue.d.ts +14 -14
- package/dist/types/components/toolbar/ribbon.vue.d.ts +14 -14
- package/dist/types/composables/i18n.d.ts +393 -15
- package/dist/types/extensions/bookmark-transaction.d.ts +6 -0
- package/dist/types/extensions/bubble-note.d.ts +1 -0
- package/dist/types/extensions/courseware/annotation-session.d.ts +4 -0
- package/dist/types/extensions/courseware/index.d.ts +49 -0
- package/dist/types/extensions/courseware/model.d.ts +20 -0
- package/dist/types/extensions/courseware/node-view.vue.d.ts +93 -0
- package/dist/types/extensions/courseware/reader.vue.d.ts +22 -0
- package/dist/types/extensions/smart-sheet/index.d.ts +47 -0
- package/dist/types/extensions/smart-sheet/model.d.ts +18 -0
- package/dist/types/extensions/smart-sheet/node-view.vue.d.ts +93 -0
- package/dist/types/extensions/smart-sheet/viewer.vue.d.ts +36 -0
- package/dist/types/extensions/thousands-separator.d.ts +60 -0
- package/dist/types/i18n.d.ts +393 -15
- package/dist/types/utils/bubble-note-icon.d.ts +1 -0
- package/dist/types/utils/document-formatting.d.ts +41 -37
- package/dist/types/utils/document-import.d.ts +2 -0
- package/dist/types/utils/html-element-id.d.ts +9 -2
- package/dist/types/utils/md5.d.ts +2 -0
- package/dist/types/utils/thousands-separator.d.ts +15 -0
- package/dist/viewer-BLXXdsVI.js +97 -0
- package/docs/FORMATTING_TEMPLATES.md +253 -250
- package/docs/FORMATTING_TEMPLATE_BUSINESS_GUIDE.md +536 -0
- package/docs/README.md +1 -0
- package/docs/configuration.md +25 -0
- package/package.json +165 -162
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import 'virtual:svg-icons-register';
|
|
2
|
+
import '@agilehub/vue-pdf-flipbook/style.css';
|
|
2
3
|
import type { App } from 'vue';
|
|
3
4
|
import type defaultOptions from '../options/config';
|
|
4
5
|
import AgileEditor from './index.vue';
|
|
@@ -8,7 +9,7 @@ import AgilePreviewToolbar from './preview-toolbar/index.vue';
|
|
|
8
9
|
import AgileTooltip from './tooltip.vue';
|
|
9
10
|
/** 安装插件时可覆盖的默认编辑器配置;组件 props 优先于此处配置。 */
|
|
10
11
|
export type AgileEditorOptions = Partial<typeof defaultOptions>;
|
|
11
|
-
export type { FormattingOptions, FormattingTemplate, FormattingStyle, FormattingTableRule,
|
|
12
|
+
export type { FormattingElementRule, FormattingOptions, FormattingTemplate, FormattingTemplateRules, FormattingStyle, FormattingTableRule, FormattingFigureRule, FormattingListRule, } from '../utils/document-formatting';
|
|
12
13
|
export type { PreviewAnnotation, PreviewAnnotationSnapshot, PreviewAnnotationTool, PreviewAnnotationsSaveHandler, PreviewDrawingState, PreviewDrawTool, PreviewPageSettings, PreviewPoint, PreviewStrokeStyle, } from './preview-toolbar/types';
|
|
13
14
|
declare const useAgileEditor: {
|
|
14
15
|
/**
|
|
@@ -60,10 +60,24 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
60
60
|
formatting: {
|
|
61
61
|
none: string;
|
|
62
62
|
labels: {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
p: string;
|
|
64
|
+
span: string;
|
|
65
|
+
h1: string;
|
|
66
|
+
h2: string;
|
|
67
|
+
h3: string;
|
|
68
|
+
h4: string;
|
|
69
|
+
h5: string;
|
|
70
|
+
h6: string;
|
|
65
71
|
table: string;
|
|
66
|
-
|
|
72
|
+
th: string;
|
|
73
|
+
td: string;
|
|
74
|
+
caption: string;
|
|
75
|
+
figure: string;
|
|
76
|
+
figcaption: string;
|
|
77
|
+
img: string;
|
|
78
|
+
ol: string;
|
|
79
|
+
ul: string;
|
|
80
|
+
li: string;
|
|
67
81
|
audio: string;
|
|
68
82
|
video: string;
|
|
69
83
|
fontFamily: string;
|
|
@@ -79,6 +93,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
79
93
|
textDecoration: string;
|
|
80
94
|
marginTop: string;
|
|
81
95
|
marginBottom: string;
|
|
96
|
+
marginLeft: string;
|
|
97
|
+
marginRight: string;
|
|
82
98
|
paddingTop: string;
|
|
83
99
|
paddingRight: string;
|
|
84
100
|
paddingBottom: string;
|
|
@@ -96,7 +112,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
96
112
|
themeColor: string;
|
|
97
113
|
shading: string;
|
|
98
114
|
cellText: string;
|
|
99
|
-
caption: string;
|
|
100
115
|
bulletList: string;
|
|
101
116
|
orderedList: string;
|
|
102
117
|
taskList: string;
|
|
@@ -106,7 +121,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
106
121
|
callout: string;
|
|
107
122
|
footnote: string;
|
|
108
123
|
codeBlock: string;
|
|
109
|
-
custom: string;
|
|
110
124
|
};
|
|
111
125
|
values: {
|
|
112
126
|
left: string;
|
|
@@ -264,6 +278,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
264
278
|
undo: string;
|
|
265
279
|
};
|
|
266
280
|
insert: {
|
|
281
|
+
smartSheet: {
|
|
282
|
+
text: string;
|
|
283
|
+
insert: string;
|
|
284
|
+
edit: string;
|
|
285
|
+
open: string;
|
|
286
|
+
delete: string;
|
|
287
|
+
title: string;
|
|
288
|
+
titlePlaceholder: string;
|
|
289
|
+
description: string;
|
|
290
|
+
descriptionPlaceholder: string;
|
|
291
|
+
defaultExpanded: string;
|
|
292
|
+
expandDescription: string;
|
|
293
|
+
collapseDescription: string;
|
|
294
|
+
worksheetCount: string;
|
|
295
|
+
export: string;
|
|
296
|
+
exportExcel: string;
|
|
297
|
+
exportCsv: string;
|
|
298
|
+
exportJson: string;
|
|
299
|
+
exportImage: string;
|
|
300
|
+
exportPdf: string;
|
|
301
|
+
zoomIn: string;
|
|
302
|
+
zoomOut: string;
|
|
303
|
+
selectFile: string;
|
|
304
|
+
changeFile: string;
|
|
305
|
+
noFile: string;
|
|
306
|
+
fileTip: string;
|
|
307
|
+
invalidFile: string;
|
|
308
|
+
uploadNotConfigured: string;
|
|
309
|
+
uploadInvalid: string;
|
|
310
|
+
loading: string;
|
|
311
|
+
loadFailed: string;
|
|
312
|
+
unsaved: string;
|
|
313
|
+
close: string;
|
|
314
|
+
unsavedTitle: string;
|
|
315
|
+
unsavedTip: string;
|
|
316
|
+
closeWithoutExport: string;
|
|
317
|
+
};
|
|
318
|
+
courseware: {
|
|
319
|
+
text: string;
|
|
320
|
+
insert: string;
|
|
321
|
+
edit: string;
|
|
322
|
+
delete: string;
|
|
323
|
+
title: string;
|
|
324
|
+
titlePlaceholder: string;
|
|
325
|
+
file: string;
|
|
326
|
+
selectFile: string;
|
|
327
|
+
changeFile: string;
|
|
328
|
+
noFile: string;
|
|
329
|
+
invalidFile: string;
|
|
330
|
+
uploading: string;
|
|
331
|
+
uploadNotConfigured: string;
|
|
332
|
+
uploadInvalid: string;
|
|
333
|
+
retryUpload: string;
|
|
334
|
+
retryLoad: string;
|
|
335
|
+
defaultExpanded: string;
|
|
336
|
+
layout: string;
|
|
337
|
+
single: string;
|
|
338
|
+
double: string;
|
|
339
|
+
preview: string;
|
|
340
|
+
expand: string;
|
|
341
|
+
collapse: string;
|
|
342
|
+
fullscreen: string;
|
|
343
|
+
exitFullscreen: string;
|
|
344
|
+
readerToolbar: string;
|
|
345
|
+
firstPage: string;
|
|
346
|
+
previousPage: string;
|
|
347
|
+
nextPage: string;
|
|
348
|
+
switchToSingle: string;
|
|
349
|
+
switchToDouble: string;
|
|
350
|
+
zoomIn: string;
|
|
351
|
+
zoomOut: string;
|
|
352
|
+
resetZoom: string;
|
|
353
|
+
thumbnails: string;
|
|
354
|
+
closeThumbnails: string;
|
|
355
|
+
thumbnailPage: string;
|
|
356
|
+
annotation: string;
|
|
357
|
+
annotationRect: string;
|
|
358
|
+
annotationLine: string;
|
|
359
|
+
annotationPath: string;
|
|
360
|
+
annotationAnchor: string;
|
|
361
|
+
annotationStyle: string;
|
|
362
|
+
annotationColor: string;
|
|
363
|
+
annotationUndo: string;
|
|
364
|
+
annotationRedo: string;
|
|
365
|
+
annotationSolid: string;
|
|
366
|
+
annotationDashed: string;
|
|
367
|
+
annotationWavy: string;
|
|
368
|
+
annotationSolidBorder: string;
|
|
369
|
+
annotationDashedBorder: string;
|
|
370
|
+
annotationNoBorder: string;
|
|
371
|
+
annotationStorageUnavailable: string;
|
|
372
|
+
loading: string;
|
|
373
|
+
changedError: string;
|
|
374
|
+
};
|
|
267
375
|
timeline: {
|
|
268
376
|
text: string;
|
|
269
377
|
insert: string;
|
|
@@ -640,6 +748,20 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
640
748
|
text: string;
|
|
641
749
|
tip: string;
|
|
642
750
|
};
|
|
751
|
+
"thousands-separator": {
|
|
752
|
+
text: string;
|
|
753
|
+
tip: string;
|
|
754
|
+
edit: string;
|
|
755
|
+
delete: string;
|
|
756
|
+
separator: string;
|
|
757
|
+
space: string;
|
|
758
|
+
comma: string;
|
|
759
|
+
"group-size": string;
|
|
760
|
+
"allow-wrap": string;
|
|
761
|
+
preview: string;
|
|
762
|
+
"selection-required": string;
|
|
763
|
+
"invalid-number": string;
|
|
764
|
+
};
|
|
643
765
|
math: {
|
|
644
766
|
text: string;
|
|
645
767
|
insert: string;
|
|
@@ -795,6 +917,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
795
917
|
"line-color": string;
|
|
796
918
|
"line-type": string;
|
|
797
919
|
"line-types": {
|
|
920
|
+
none: string;
|
|
798
921
|
solid: string;
|
|
799
922
|
dashed: string;
|
|
800
923
|
dotted: string;
|
|
@@ -816,6 +939,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
816
939
|
"reference-icon-placeholder": string;
|
|
817
940
|
"reference-icon-invalid": string;
|
|
818
941
|
"reference-icon-upload-failed": string;
|
|
942
|
+
"show-icon": string;
|
|
943
|
+
yes: string;
|
|
944
|
+
no: string;
|
|
819
945
|
edit: string;
|
|
820
946
|
delete: string;
|
|
821
947
|
"open-reference": string;
|
|
@@ -1326,10 +1452,24 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1326
1452
|
formatting: {
|
|
1327
1453
|
none: string;
|
|
1328
1454
|
labels: {
|
|
1329
|
-
|
|
1330
|
-
|
|
1455
|
+
p: string;
|
|
1456
|
+
span: string;
|
|
1457
|
+
h1: string;
|
|
1458
|
+
h2: string;
|
|
1459
|
+
h3: string;
|
|
1460
|
+
h4: string;
|
|
1461
|
+
h5: string;
|
|
1462
|
+
h6: string;
|
|
1331
1463
|
table: string;
|
|
1332
|
-
|
|
1464
|
+
th: string;
|
|
1465
|
+
td: string;
|
|
1466
|
+
caption: string;
|
|
1467
|
+
figure: string;
|
|
1468
|
+
figcaption: string;
|
|
1469
|
+
img: string;
|
|
1470
|
+
ol: string;
|
|
1471
|
+
ul: string;
|
|
1472
|
+
li: string;
|
|
1333
1473
|
audio: string;
|
|
1334
1474
|
video: string;
|
|
1335
1475
|
fontFamily: string;
|
|
@@ -1345,6 +1485,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1345
1485
|
textDecoration: string;
|
|
1346
1486
|
marginTop: string;
|
|
1347
1487
|
marginBottom: string;
|
|
1488
|
+
marginLeft: string;
|
|
1489
|
+
marginRight: string;
|
|
1348
1490
|
paddingTop: string;
|
|
1349
1491
|
paddingRight: string;
|
|
1350
1492
|
paddingBottom: string;
|
|
@@ -1362,7 +1504,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1362
1504
|
themeColor: string;
|
|
1363
1505
|
shading: string;
|
|
1364
1506
|
cellText: string;
|
|
1365
|
-
caption: string;
|
|
1366
1507
|
bulletList: string;
|
|
1367
1508
|
orderedList: string;
|
|
1368
1509
|
taskList: string;
|
|
@@ -1372,7 +1513,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1372
1513
|
callout: string;
|
|
1373
1514
|
footnote: string;
|
|
1374
1515
|
codeBlock: string;
|
|
1375
|
-
custom: string;
|
|
1376
1516
|
};
|
|
1377
1517
|
values: {
|
|
1378
1518
|
left: string;
|
|
@@ -1531,6 +1671,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1531
1671
|
undo: string;
|
|
1532
1672
|
};
|
|
1533
1673
|
insert: {
|
|
1674
|
+
smartSheet: {
|
|
1675
|
+
text: string;
|
|
1676
|
+
insert: string;
|
|
1677
|
+
edit: string;
|
|
1678
|
+
open: string;
|
|
1679
|
+
delete: string;
|
|
1680
|
+
title: string;
|
|
1681
|
+
titlePlaceholder: string;
|
|
1682
|
+
description: string;
|
|
1683
|
+
descriptionPlaceholder: string;
|
|
1684
|
+
defaultExpanded: string;
|
|
1685
|
+
expandDescription: string;
|
|
1686
|
+
collapseDescription: string;
|
|
1687
|
+
worksheetCount: string;
|
|
1688
|
+
export: string;
|
|
1689
|
+
exportExcel: string;
|
|
1690
|
+
exportCsv: string;
|
|
1691
|
+
exportJson: string;
|
|
1692
|
+
exportImage: string;
|
|
1693
|
+
exportPdf: string;
|
|
1694
|
+
zoomIn: string;
|
|
1695
|
+
zoomOut: string;
|
|
1696
|
+
selectFile: string;
|
|
1697
|
+
changeFile: string;
|
|
1698
|
+
noFile: string;
|
|
1699
|
+
fileTip: string;
|
|
1700
|
+
invalidFile: string;
|
|
1701
|
+
uploadNotConfigured: string;
|
|
1702
|
+
uploadInvalid: string;
|
|
1703
|
+
loading: string;
|
|
1704
|
+
loadFailed: string;
|
|
1705
|
+
unsaved: string;
|
|
1706
|
+
close: string;
|
|
1707
|
+
unsavedTitle: string;
|
|
1708
|
+
unsavedTip: string;
|
|
1709
|
+
closeWithoutExport: string;
|
|
1710
|
+
};
|
|
1711
|
+
courseware: {
|
|
1712
|
+
text: string;
|
|
1713
|
+
insert: string;
|
|
1714
|
+
edit: string;
|
|
1715
|
+
delete: string;
|
|
1716
|
+
title: string;
|
|
1717
|
+
titlePlaceholder: string;
|
|
1718
|
+
file: string;
|
|
1719
|
+
selectFile: string;
|
|
1720
|
+
changeFile: string;
|
|
1721
|
+
noFile: string;
|
|
1722
|
+
invalidFile: string;
|
|
1723
|
+
uploading: string;
|
|
1724
|
+
uploadNotConfigured: string;
|
|
1725
|
+
uploadInvalid: string;
|
|
1726
|
+
retryUpload: string;
|
|
1727
|
+
retryLoad: string;
|
|
1728
|
+
defaultExpanded: string;
|
|
1729
|
+
layout: string;
|
|
1730
|
+
single: string;
|
|
1731
|
+
double: string;
|
|
1732
|
+
preview: string;
|
|
1733
|
+
expand: string;
|
|
1734
|
+
collapse: string;
|
|
1735
|
+
fullscreen: string;
|
|
1736
|
+
exitFullscreen: string;
|
|
1737
|
+
readerToolbar: string;
|
|
1738
|
+
firstPage: string;
|
|
1739
|
+
previousPage: string;
|
|
1740
|
+
nextPage: string;
|
|
1741
|
+
switchToSingle: string;
|
|
1742
|
+
switchToDouble: string;
|
|
1743
|
+
zoomIn: string;
|
|
1744
|
+
zoomOut: string;
|
|
1745
|
+
resetZoom: string;
|
|
1746
|
+
thumbnails: string;
|
|
1747
|
+
closeThumbnails: string;
|
|
1748
|
+
thumbnailPage: string;
|
|
1749
|
+
annotation: string;
|
|
1750
|
+
annotationRect: string;
|
|
1751
|
+
annotationLine: string;
|
|
1752
|
+
annotationPath: string;
|
|
1753
|
+
annotationAnchor: string;
|
|
1754
|
+
annotationStyle: string;
|
|
1755
|
+
annotationColor: string;
|
|
1756
|
+
annotationUndo: string;
|
|
1757
|
+
annotationRedo: string;
|
|
1758
|
+
annotationSolid: string;
|
|
1759
|
+
annotationDashed: string;
|
|
1760
|
+
annotationWavy: string;
|
|
1761
|
+
annotationSolidBorder: string;
|
|
1762
|
+
annotationDashedBorder: string;
|
|
1763
|
+
annotationNoBorder: string;
|
|
1764
|
+
annotationStorageUnavailable: string;
|
|
1765
|
+
loading: string;
|
|
1766
|
+
changedError: string;
|
|
1767
|
+
};
|
|
1534
1768
|
timeline: {
|
|
1535
1769
|
text: string;
|
|
1536
1770
|
insert: string;
|
|
@@ -1911,6 +2145,20 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1911
2145
|
text: string;
|
|
1912
2146
|
tip: string;
|
|
1913
2147
|
};
|
|
2148
|
+
"thousands-separator": {
|
|
2149
|
+
text: string;
|
|
2150
|
+
tip: string;
|
|
2151
|
+
edit: string;
|
|
2152
|
+
delete: string;
|
|
2153
|
+
separator: string;
|
|
2154
|
+
space: string;
|
|
2155
|
+
comma: string;
|
|
2156
|
+
"group-size": string;
|
|
2157
|
+
"allow-wrap": string;
|
|
2158
|
+
preview: string;
|
|
2159
|
+
"selection-required": string;
|
|
2160
|
+
"invalid-number": string;
|
|
2161
|
+
};
|
|
1914
2162
|
math: {
|
|
1915
2163
|
text: string;
|
|
1916
2164
|
insert: string;
|
|
@@ -2077,6 +2325,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2077
2325
|
"line-color": string;
|
|
2078
2326
|
"line-type": string;
|
|
2079
2327
|
"line-types": {
|
|
2328
|
+
none: string;
|
|
2080
2329
|
solid: string;
|
|
2081
2330
|
dashed: string;
|
|
2082
2331
|
dotted: string;
|
|
@@ -2098,6 +2347,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2098
2347
|
"reference-icon-placeholder": string;
|
|
2099
2348
|
"reference-icon-invalid": string;
|
|
2100
2349
|
"reference-icon-upload-failed": string;
|
|
2350
|
+
"show-icon": string;
|
|
2351
|
+
yes: string;
|
|
2352
|
+
no: string;
|
|
2101
2353
|
edit: string;
|
|
2102
2354
|
delete: string;
|
|
2103
2355
|
"open-reference": string;
|
|
@@ -2585,10 +2837,24 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2585
2837
|
formatting: {
|
|
2586
2838
|
none: string;
|
|
2587
2839
|
labels: {
|
|
2588
|
-
|
|
2589
|
-
|
|
2840
|
+
p: string;
|
|
2841
|
+
span: string;
|
|
2842
|
+
h1: string;
|
|
2843
|
+
h2: string;
|
|
2844
|
+
h3: string;
|
|
2845
|
+
h4: string;
|
|
2846
|
+
h5: string;
|
|
2847
|
+
h6: string;
|
|
2590
2848
|
table: string;
|
|
2591
|
-
|
|
2849
|
+
th: string;
|
|
2850
|
+
td: string;
|
|
2851
|
+
caption: string;
|
|
2852
|
+
figure: string;
|
|
2853
|
+
figcaption: string;
|
|
2854
|
+
img: string;
|
|
2855
|
+
ol: string;
|
|
2856
|
+
ul: string;
|
|
2857
|
+
li: string;
|
|
2592
2858
|
audio: string;
|
|
2593
2859
|
video: string;
|
|
2594
2860
|
fontFamily: string;
|
|
@@ -2604,6 +2870,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2604
2870
|
textDecoration: string;
|
|
2605
2871
|
marginTop: string;
|
|
2606
2872
|
marginBottom: string;
|
|
2873
|
+
marginLeft: string;
|
|
2874
|
+
marginRight: string;
|
|
2607
2875
|
paddingTop: string;
|
|
2608
2876
|
paddingRight: string;
|
|
2609
2877
|
paddingBottom: string;
|
|
@@ -2621,7 +2889,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2621
2889
|
themeColor: string;
|
|
2622
2890
|
shading: string;
|
|
2623
2891
|
cellText: string;
|
|
2624
|
-
caption: string;
|
|
2625
2892
|
bulletList: string;
|
|
2626
2893
|
orderedList: string;
|
|
2627
2894
|
taskList: string;
|
|
@@ -2631,7 +2898,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2631
2898
|
callout: string;
|
|
2632
2899
|
footnote: string;
|
|
2633
2900
|
codeBlock: string;
|
|
2634
|
-
custom: string;
|
|
2635
2901
|
};
|
|
2636
2902
|
values: {
|
|
2637
2903
|
left: string;
|
|
@@ -2790,6 +3056,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2790
3056
|
undo: string;
|
|
2791
3057
|
};
|
|
2792
3058
|
insert: {
|
|
3059
|
+
smartSheet: {
|
|
3060
|
+
text: string;
|
|
3061
|
+
insert: string;
|
|
3062
|
+
edit: string;
|
|
3063
|
+
open: string;
|
|
3064
|
+
delete: string;
|
|
3065
|
+
title: string;
|
|
3066
|
+
titlePlaceholder: string;
|
|
3067
|
+
description: string;
|
|
3068
|
+
descriptionPlaceholder: string;
|
|
3069
|
+
defaultExpanded: string;
|
|
3070
|
+
expandDescription: string;
|
|
3071
|
+
collapseDescription: string;
|
|
3072
|
+
worksheetCount: string;
|
|
3073
|
+
export: string;
|
|
3074
|
+
exportExcel: string;
|
|
3075
|
+
exportCsv: string;
|
|
3076
|
+
exportJson: string;
|
|
3077
|
+
exportImage: string;
|
|
3078
|
+
exportPdf: string;
|
|
3079
|
+
zoomIn: string;
|
|
3080
|
+
zoomOut: string;
|
|
3081
|
+
selectFile: string;
|
|
3082
|
+
changeFile: string;
|
|
3083
|
+
noFile: string;
|
|
3084
|
+
fileTip: string;
|
|
3085
|
+
invalidFile: string;
|
|
3086
|
+
uploadNotConfigured: string;
|
|
3087
|
+
uploadInvalid: string;
|
|
3088
|
+
loading: string;
|
|
3089
|
+
loadFailed: string;
|
|
3090
|
+
unsaved: string;
|
|
3091
|
+
close: string;
|
|
3092
|
+
unsavedTitle: string;
|
|
3093
|
+
unsavedTip: string;
|
|
3094
|
+
closeWithoutExport: string;
|
|
3095
|
+
};
|
|
3096
|
+
courseware: {
|
|
3097
|
+
text: string;
|
|
3098
|
+
insert: string;
|
|
3099
|
+
edit: string;
|
|
3100
|
+
delete: string;
|
|
3101
|
+
title: string;
|
|
3102
|
+
titlePlaceholder: string;
|
|
3103
|
+
file: string;
|
|
3104
|
+
selectFile: string;
|
|
3105
|
+
changeFile: string;
|
|
3106
|
+
noFile: string;
|
|
3107
|
+
invalidFile: string;
|
|
3108
|
+
uploading: string;
|
|
3109
|
+
uploadNotConfigured: string;
|
|
3110
|
+
uploadInvalid: string;
|
|
3111
|
+
retryUpload: string;
|
|
3112
|
+
retryLoad: string;
|
|
3113
|
+
defaultExpanded: string;
|
|
3114
|
+
layout: string;
|
|
3115
|
+
single: string;
|
|
3116
|
+
double: string;
|
|
3117
|
+
preview: string;
|
|
3118
|
+
expand: string;
|
|
3119
|
+
collapse: string;
|
|
3120
|
+
fullscreen: string;
|
|
3121
|
+
exitFullscreen: string;
|
|
3122
|
+
readerToolbar: string;
|
|
3123
|
+
firstPage: string;
|
|
3124
|
+
previousPage: string;
|
|
3125
|
+
nextPage: string;
|
|
3126
|
+
switchToSingle: string;
|
|
3127
|
+
switchToDouble: string;
|
|
3128
|
+
zoomIn: string;
|
|
3129
|
+
zoomOut: string;
|
|
3130
|
+
resetZoom: string;
|
|
3131
|
+
thumbnails: string;
|
|
3132
|
+
closeThumbnails: string;
|
|
3133
|
+
thumbnailPage: string;
|
|
3134
|
+
annotation: string;
|
|
3135
|
+
annotationRect: string;
|
|
3136
|
+
annotationLine: string;
|
|
3137
|
+
annotationPath: string;
|
|
3138
|
+
annotationAnchor: string;
|
|
3139
|
+
annotationStyle: string;
|
|
3140
|
+
annotationColor: string;
|
|
3141
|
+
annotationUndo: string;
|
|
3142
|
+
annotationRedo: string;
|
|
3143
|
+
annotationSolid: string;
|
|
3144
|
+
annotationDashed: string;
|
|
3145
|
+
annotationWavy: string;
|
|
3146
|
+
annotationSolidBorder: string;
|
|
3147
|
+
annotationDashedBorder: string;
|
|
3148
|
+
annotationNoBorder: string;
|
|
3149
|
+
annotationStorageUnavailable: string;
|
|
3150
|
+
loading: string;
|
|
3151
|
+
changedError: string;
|
|
3152
|
+
};
|
|
2793
3153
|
timeline: {
|
|
2794
3154
|
text: string;
|
|
2795
3155
|
insert: string;
|
|
@@ -3170,6 +3530,20 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3170
3530
|
text: string;
|
|
3171
3531
|
tip: string;
|
|
3172
3532
|
};
|
|
3533
|
+
"thousands-separator": {
|
|
3534
|
+
text: string;
|
|
3535
|
+
tip: string;
|
|
3536
|
+
edit: string;
|
|
3537
|
+
delete: string;
|
|
3538
|
+
separator: string;
|
|
3539
|
+
space: string;
|
|
3540
|
+
comma: string;
|
|
3541
|
+
"group-size": string;
|
|
3542
|
+
"allow-wrap": string;
|
|
3543
|
+
preview: string;
|
|
3544
|
+
"selection-required": string;
|
|
3545
|
+
"invalid-number": string;
|
|
3546
|
+
};
|
|
3173
3547
|
math: {
|
|
3174
3548
|
text: string;
|
|
3175
3549
|
insert: string;
|
|
@@ -3336,6 +3710,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3336
3710
|
"line-color": string;
|
|
3337
3711
|
"line-type": string;
|
|
3338
3712
|
"line-types": {
|
|
3713
|
+
none: string;
|
|
3339
3714
|
solid: string;
|
|
3340
3715
|
dashed: string;
|
|
3341
3716
|
dotted: string;
|
|
@@ -3357,6 +3732,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3357
3732
|
"reference-icon-placeholder": string;
|
|
3358
3733
|
"reference-icon-invalid": string;
|
|
3359
3734
|
"reference-icon-upload-failed": string;
|
|
3735
|
+
"show-icon": string;
|
|
3736
|
+
yes: string;
|
|
3737
|
+
no: string;
|
|
3360
3738
|
edit: string;
|
|
3361
3739
|
delete: string;
|
|
3362
3740
|
"open-reference": string;
|
|
@@ -3869,13 +4247,13 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3869
4247
|
* @param pramas - TDesign Dialog 配置。
|
|
3870
4248
|
* @returns 弹窗实例;如 editorRef.value.useAlert({ body: '提示' })。
|
|
3871
4249
|
*/
|
|
3872
|
-
useAlert(pramas: any): import("tdesign-vue-next/esm").DialogInstance;
|
|
4250
|
+
useAlert(pramas: any): import("tdesign-vue-next/esm/components").DialogInstance;
|
|
3873
4251
|
/**
|
|
3874
4252
|
* 在当前编辑器容器内显示确认弹窗。
|
|
3875
4253
|
* @param pramas - TDesign Dialog 配置。
|
|
3876
4254
|
* @returns 弹窗实例;如 editorRef.value.useConfirm({ body: '确认?' })。
|
|
3877
4255
|
*/
|
|
3878
|
-
useConfirm(pramas: any): import("tdesign-vue-next/esm").DialogInstance;
|
|
4256
|
+
useConfirm(pramas: any): import("tdesign-vue-next/esm/components").DialogInstance;
|
|
3879
4257
|
/**
|
|
3880
4258
|
* 在当前编辑器容器内显示消息。
|
|
3881
4259
|
* @param type - TDesign 消息类型,如 success、error。
|
|
@@ -3890,9 +4268,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3890
4268
|
saved: (...args: any[]) => void;
|
|
3891
4269
|
blur: (...args: any[]) => void;
|
|
3892
4270
|
focus: (...args: any[]) => void;
|
|
3893
|
-
drop: (...args: any[]) => void;
|
|
3894
4271
|
beforeCreate: (...args: any[]) => void;
|
|
3895
4272
|
created: (...args: any[]) => void;
|
|
4273
|
+
drop: (...args: any[]) => void;
|
|
3896
4274
|
changed: (...args: any[]) => void;
|
|
3897
4275
|
"changed:selection": (...args: any[]) => void;
|
|
3898
4276
|
"changed:transaction": (...args: any[]) => void;
|
|
@@ -3918,9 +4296,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3918
4296
|
onSaved?: (...args: any[]) => any;
|
|
3919
4297
|
onBlur?: (...args: any[]) => any;
|
|
3920
4298
|
onFocus?: (...args: any[]) => any;
|
|
3921
|
-
onDrop?: (...args: any[]) => any;
|
|
3922
4299
|
onBeforeCreate?: (...args: any[]) => any;
|
|
3923
4300
|
onCreated?: (...args: any[]) => any;
|
|
4301
|
+
onDrop?: (...args: any[]) => any;
|
|
3924
4302
|
onChanged?: (...args: any[]) => any;
|
|
3925
4303
|
"onChanged:selection"?: (...args: any[]) => any;
|
|
3926
4304
|
"onChanged:transaction"?: (...args: any[]) => any;
|
|
@@ -167,6 +167,7 @@ declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTy
|
|
|
167
167
|
}>, {
|
|
168
168
|
shortcut: string;
|
|
169
169
|
text: string;
|
|
170
|
+
disabled: boolean;
|
|
170
171
|
menuType: string;
|
|
171
172
|
huge: boolean;
|
|
172
173
|
forceHuge: boolean;
|
|
@@ -180,7 +181,6 @@ declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTy
|
|
|
180
181
|
popupVisible: boolean;
|
|
181
182
|
popupHandle: string;
|
|
182
183
|
menuActive: boolean;
|
|
183
|
-
disabled: boolean;
|
|
184
184
|
forceEnabled: boolean;
|
|
185
185
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
186
186
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -184,10 +184,10 @@ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractProp
|
|
|
184
184
|
layout: "page" | "web";
|
|
185
185
|
autoWidth: boolean;
|
|
186
186
|
laserPointer: boolean;
|
|
187
|
-
floating: boolean;
|
|
188
187
|
visible: boolean;
|
|
189
|
-
zoomLevel: number;
|
|
190
188
|
attach: PreviewToolbarAttach;
|
|
189
|
+
floating: boolean;
|
|
190
|
+
zoomLevel: number;
|
|
191
191
|
minZoom: number;
|
|
192
192
|
maxZoom: number;
|
|
193
193
|
drawingTarget: PreviewDrawingTarget;
|