@agilehub/agile-editor 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/agile-editor.css +1 -1
- package/dist/agile-editor.js +18325 -18426
- package/dist/i18n-DCR9QpaV.js +2785 -0
- package/dist/types/components/editor/index.vue.d.ts +2 -2
- package/dist/types/components/editor/smart-sheet-dialog.vue.d.ts +3 -0
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/components/index.vue.d.ts +384 -22
- package/dist/types/components/menus/button.vue.d.ts +1 -1
- package/dist/types/components/menus/toolbar/insert/bookmark.vue.d.ts +24 -0
- 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/preview-toolbar/index.vue.d.ts +2 -2
- package/dist/types/components/toolbar/classic.vue.d.ts +19 -11
- package/dist/types/components/toolbar/ribbon.vue.d.ts +19 -11
- package/dist/types/composables/i18n.d.ts +375 -18
- package/dist/types/extensions/bookmark-transaction.d.ts +4 -0
- package/dist/types/extensions/bookmark.d.ts +8 -5
- 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/i18n.d.ts +375 -18
- package/dist/types/options/config/index.d.ts +2 -0
- 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/viewer-CyuLA7YS.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/SECONDARY_DEVELOPMENT.md +1 -1
- package/docs/api.md +43 -0
- package/docs/configuration.md +82 -0
- package/docs/custom-components.md +1 -1
- package/docs/development.md +6 -2
- package/docs/menu-extension.md +26 -1
- package/package.json +165 -153
- /package/dist/types/components/{menus/toolbar/view/preview.vue.d.ts → editor/courseware-dialog.vue.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_28: {
|
|
2
2
|
nodeType: any;
|
|
3
3
|
nodeAttrs: any;
|
|
4
4
|
};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
|
-
bubble_menu?: (props: typeof
|
|
6
|
+
bubble_menu?: (props: typeof __VLS_28) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
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;
|
|
@@ -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;
|
|
@@ -149,7 +163,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
149
163
|
page: string;
|
|
150
164
|
view: string;
|
|
151
165
|
export: string;
|
|
152
|
-
|
|
166
|
+
extension: string;
|
|
167
|
+
enhancement: string;
|
|
153
168
|
};
|
|
154
169
|
base: {
|
|
155
170
|
align: {
|
|
@@ -263,6 +278,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
263
278
|
undo: string;
|
|
264
279
|
};
|
|
265
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
|
+
};
|
|
266
375
|
timeline: {
|
|
267
376
|
text: string;
|
|
268
377
|
insert: string;
|
|
@@ -412,12 +521,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
412
521
|
mention: string;
|
|
413
522
|
bookmark: {
|
|
414
523
|
text: string;
|
|
524
|
+
title: string;
|
|
525
|
+
"edit-title": string;
|
|
526
|
+
note: string;
|
|
415
527
|
set: string;
|
|
416
528
|
ok: string;
|
|
529
|
+
confirm: string;
|
|
530
|
+
cancel: string;
|
|
417
531
|
textName: string;
|
|
418
532
|
placeholder: string;
|
|
419
533
|
show: string;
|
|
420
534
|
actions: string;
|
|
535
|
+
edit: string;
|
|
421
536
|
delete: string;
|
|
422
537
|
emptyError: string;
|
|
423
538
|
};
|
|
@@ -788,6 +903,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
788
903
|
"line-color": string;
|
|
789
904
|
"line-type": string;
|
|
790
905
|
"line-types": {
|
|
906
|
+
none: string;
|
|
791
907
|
solid: string;
|
|
792
908
|
dashed: string;
|
|
793
909
|
dotted: string;
|
|
@@ -809,6 +925,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
809
925
|
"reference-icon-placeholder": string;
|
|
810
926
|
"reference-icon-invalid": string;
|
|
811
927
|
"reference-icon-upload-failed": string;
|
|
928
|
+
"show-icon": string;
|
|
929
|
+
yes: string;
|
|
930
|
+
no: string;
|
|
812
931
|
edit: string;
|
|
813
932
|
delete: string;
|
|
814
933
|
"open-reference": string;
|
|
@@ -1319,10 +1438,24 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1319
1438
|
formatting: {
|
|
1320
1439
|
none: string;
|
|
1321
1440
|
labels: {
|
|
1322
|
-
|
|
1323
|
-
|
|
1441
|
+
p: string;
|
|
1442
|
+
span: string;
|
|
1443
|
+
h1: string;
|
|
1444
|
+
h2: string;
|
|
1445
|
+
h3: string;
|
|
1446
|
+
h4: string;
|
|
1447
|
+
h5: string;
|
|
1448
|
+
h6: string;
|
|
1324
1449
|
table: string;
|
|
1325
|
-
|
|
1450
|
+
th: string;
|
|
1451
|
+
td: string;
|
|
1452
|
+
caption: string;
|
|
1453
|
+
figure: string;
|
|
1454
|
+
figcaption: string;
|
|
1455
|
+
img: string;
|
|
1456
|
+
ol: string;
|
|
1457
|
+
ul: string;
|
|
1458
|
+
li: string;
|
|
1326
1459
|
audio: string;
|
|
1327
1460
|
video: string;
|
|
1328
1461
|
fontFamily: string;
|
|
@@ -1338,6 +1471,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1338
1471
|
textDecoration: string;
|
|
1339
1472
|
marginTop: string;
|
|
1340
1473
|
marginBottom: string;
|
|
1474
|
+
marginLeft: string;
|
|
1475
|
+
marginRight: string;
|
|
1341
1476
|
paddingTop: string;
|
|
1342
1477
|
paddingRight: string;
|
|
1343
1478
|
paddingBottom: string;
|
|
@@ -1355,7 +1490,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1355
1490
|
themeColor: string;
|
|
1356
1491
|
shading: string;
|
|
1357
1492
|
cellText: string;
|
|
1358
|
-
caption: string;
|
|
1359
1493
|
bulletList: string;
|
|
1360
1494
|
orderedList: string;
|
|
1361
1495
|
taskList: string;
|
|
@@ -1365,7 +1499,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1365
1499
|
callout: string;
|
|
1366
1500
|
footnote: string;
|
|
1367
1501
|
codeBlock: string;
|
|
1368
|
-
custom: string;
|
|
1369
1502
|
};
|
|
1370
1503
|
values: {
|
|
1371
1504
|
left: string;
|
|
@@ -1409,7 +1542,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1409
1542
|
page: string;
|
|
1410
1543
|
view: string;
|
|
1411
1544
|
export: string;
|
|
1412
|
-
|
|
1545
|
+
extension: string;
|
|
1546
|
+
enhancement: string;
|
|
1413
1547
|
};
|
|
1414
1548
|
base: {
|
|
1415
1549
|
align: {
|
|
@@ -1523,6 +1657,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1523
1657
|
undo: string;
|
|
1524
1658
|
};
|
|
1525
1659
|
insert: {
|
|
1660
|
+
smartSheet: {
|
|
1661
|
+
text: string;
|
|
1662
|
+
insert: string;
|
|
1663
|
+
edit: string;
|
|
1664
|
+
open: string;
|
|
1665
|
+
delete: string;
|
|
1666
|
+
title: string;
|
|
1667
|
+
titlePlaceholder: string;
|
|
1668
|
+
description: string;
|
|
1669
|
+
descriptionPlaceholder: string;
|
|
1670
|
+
defaultExpanded: string;
|
|
1671
|
+
expandDescription: string;
|
|
1672
|
+
collapseDescription: string;
|
|
1673
|
+
worksheetCount: string;
|
|
1674
|
+
export: string;
|
|
1675
|
+
exportExcel: string;
|
|
1676
|
+
exportCsv: string;
|
|
1677
|
+
exportJson: string;
|
|
1678
|
+
exportImage: string;
|
|
1679
|
+
exportPdf: string;
|
|
1680
|
+
zoomIn: string;
|
|
1681
|
+
zoomOut: string;
|
|
1682
|
+
selectFile: string;
|
|
1683
|
+
changeFile: string;
|
|
1684
|
+
noFile: string;
|
|
1685
|
+
fileTip: string;
|
|
1686
|
+
invalidFile: string;
|
|
1687
|
+
uploadNotConfigured: string;
|
|
1688
|
+
uploadInvalid: string;
|
|
1689
|
+
loading: string;
|
|
1690
|
+
loadFailed: string;
|
|
1691
|
+
unsaved: string;
|
|
1692
|
+
close: string;
|
|
1693
|
+
unsavedTitle: string;
|
|
1694
|
+
unsavedTip: string;
|
|
1695
|
+
closeWithoutExport: string;
|
|
1696
|
+
};
|
|
1697
|
+
courseware: {
|
|
1698
|
+
text: string;
|
|
1699
|
+
insert: string;
|
|
1700
|
+
edit: string;
|
|
1701
|
+
delete: string;
|
|
1702
|
+
title: string;
|
|
1703
|
+
titlePlaceholder: string;
|
|
1704
|
+
file: string;
|
|
1705
|
+
selectFile: string;
|
|
1706
|
+
changeFile: string;
|
|
1707
|
+
noFile: string;
|
|
1708
|
+
invalidFile: string;
|
|
1709
|
+
uploading: string;
|
|
1710
|
+
uploadNotConfigured: string;
|
|
1711
|
+
uploadInvalid: string;
|
|
1712
|
+
retryUpload: string;
|
|
1713
|
+
retryLoad: string;
|
|
1714
|
+
defaultExpanded: string;
|
|
1715
|
+
layout: string;
|
|
1716
|
+
single: string;
|
|
1717
|
+
double: string;
|
|
1718
|
+
preview: string;
|
|
1719
|
+
expand: string;
|
|
1720
|
+
collapse: string;
|
|
1721
|
+
fullscreen: string;
|
|
1722
|
+
exitFullscreen: string;
|
|
1723
|
+
readerToolbar: string;
|
|
1724
|
+
firstPage: string;
|
|
1725
|
+
previousPage: string;
|
|
1726
|
+
nextPage: string;
|
|
1727
|
+
switchToSingle: string;
|
|
1728
|
+
switchToDouble: string;
|
|
1729
|
+
zoomIn: string;
|
|
1730
|
+
zoomOut: string;
|
|
1731
|
+
resetZoom: string;
|
|
1732
|
+
thumbnails: string;
|
|
1733
|
+
closeThumbnails: string;
|
|
1734
|
+
thumbnailPage: string;
|
|
1735
|
+
annotation: string;
|
|
1736
|
+
annotationRect: string;
|
|
1737
|
+
annotationLine: string;
|
|
1738
|
+
annotationPath: string;
|
|
1739
|
+
annotationAnchor: string;
|
|
1740
|
+
annotationStyle: string;
|
|
1741
|
+
annotationColor: string;
|
|
1742
|
+
annotationUndo: string;
|
|
1743
|
+
annotationRedo: string;
|
|
1744
|
+
annotationSolid: string;
|
|
1745
|
+
annotationDashed: string;
|
|
1746
|
+
annotationWavy: string;
|
|
1747
|
+
annotationSolidBorder: string;
|
|
1748
|
+
annotationDashedBorder: string;
|
|
1749
|
+
annotationNoBorder: string;
|
|
1750
|
+
annotationStorageUnavailable: string;
|
|
1751
|
+
loading: string;
|
|
1752
|
+
changedError: string;
|
|
1753
|
+
};
|
|
1526
1754
|
timeline: {
|
|
1527
1755
|
text: string;
|
|
1528
1756
|
insert: string;
|
|
@@ -1672,12 +1900,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1672
1900
|
mention: string;
|
|
1673
1901
|
bookmark: {
|
|
1674
1902
|
text: string;
|
|
1903
|
+
title: string;
|
|
1904
|
+
"edit-title": string;
|
|
1905
|
+
note: string;
|
|
1675
1906
|
set: string;
|
|
1676
1907
|
ok: string;
|
|
1908
|
+
confirm: string;
|
|
1909
|
+
cancel: string;
|
|
1677
1910
|
textName: string;
|
|
1678
1911
|
placeholder: string;
|
|
1679
1912
|
show: string;
|
|
1680
1913
|
actions: string;
|
|
1914
|
+
edit: string;
|
|
1681
1915
|
delete: string;
|
|
1682
1916
|
emptyError: string;
|
|
1683
1917
|
};
|
|
@@ -2063,6 +2297,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2063
2297
|
"line-color": string;
|
|
2064
2298
|
"line-type": string;
|
|
2065
2299
|
"line-types": {
|
|
2300
|
+
none: string;
|
|
2066
2301
|
solid: string;
|
|
2067
2302
|
dashed: string;
|
|
2068
2303
|
dotted: string;
|
|
@@ -2084,6 +2319,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2084
2319
|
"reference-icon-placeholder": string;
|
|
2085
2320
|
"reference-icon-invalid": string;
|
|
2086
2321
|
"reference-icon-upload-failed": string;
|
|
2322
|
+
"show-icon": string;
|
|
2323
|
+
yes: string;
|
|
2324
|
+
no: string;
|
|
2087
2325
|
edit: string;
|
|
2088
2326
|
delete: string;
|
|
2089
2327
|
"open-reference": string;
|
|
@@ -2571,10 +2809,24 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2571
2809
|
formatting: {
|
|
2572
2810
|
none: string;
|
|
2573
2811
|
labels: {
|
|
2574
|
-
|
|
2575
|
-
|
|
2812
|
+
p: string;
|
|
2813
|
+
span: string;
|
|
2814
|
+
h1: string;
|
|
2815
|
+
h2: string;
|
|
2816
|
+
h3: string;
|
|
2817
|
+
h4: string;
|
|
2818
|
+
h5: string;
|
|
2819
|
+
h6: string;
|
|
2576
2820
|
table: string;
|
|
2577
|
-
|
|
2821
|
+
th: string;
|
|
2822
|
+
td: string;
|
|
2823
|
+
caption: string;
|
|
2824
|
+
figure: string;
|
|
2825
|
+
figcaption: string;
|
|
2826
|
+
img: string;
|
|
2827
|
+
ol: string;
|
|
2828
|
+
ul: string;
|
|
2829
|
+
li: string;
|
|
2578
2830
|
audio: string;
|
|
2579
2831
|
video: string;
|
|
2580
2832
|
fontFamily: string;
|
|
@@ -2590,6 +2842,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2590
2842
|
textDecoration: string;
|
|
2591
2843
|
marginTop: string;
|
|
2592
2844
|
marginBottom: string;
|
|
2845
|
+
marginLeft: string;
|
|
2846
|
+
marginRight: string;
|
|
2593
2847
|
paddingTop: string;
|
|
2594
2848
|
paddingRight: string;
|
|
2595
2849
|
paddingBottom: string;
|
|
@@ -2607,7 +2861,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2607
2861
|
themeColor: string;
|
|
2608
2862
|
shading: string;
|
|
2609
2863
|
cellText: string;
|
|
2610
|
-
caption: string;
|
|
2611
2864
|
bulletList: string;
|
|
2612
2865
|
orderedList: string;
|
|
2613
2866
|
taskList: string;
|
|
@@ -2617,7 +2870,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2617
2870
|
callout: string;
|
|
2618
2871
|
footnote: string;
|
|
2619
2872
|
codeBlock: string;
|
|
2620
|
-
custom: string;
|
|
2621
2873
|
};
|
|
2622
2874
|
values: {
|
|
2623
2875
|
left: string;
|
|
@@ -2661,7 +2913,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2661
2913
|
page: string;
|
|
2662
2914
|
view: string;
|
|
2663
2915
|
export: string;
|
|
2664
|
-
|
|
2916
|
+
extension: string;
|
|
2917
|
+
enhancement: string;
|
|
2665
2918
|
};
|
|
2666
2919
|
base: {
|
|
2667
2920
|
align: {
|
|
@@ -2775,6 +3028,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2775
3028
|
undo: string;
|
|
2776
3029
|
};
|
|
2777
3030
|
insert: {
|
|
3031
|
+
smartSheet: {
|
|
3032
|
+
text: string;
|
|
3033
|
+
insert: string;
|
|
3034
|
+
edit: string;
|
|
3035
|
+
open: string;
|
|
3036
|
+
delete: string;
|
|
3037
|
+
title: string;
|
|
3038
|
+
titlePlaceholder: string;
|
|
3039
|
+
description: string;
|
|
3040
|
+
descriptionPlaceholder: string;
|
|
3041
|
+
defaultExpanded: string;
|
|
3042
|
+
expandDescription: string;
|
|
3043
|
+
collapseDescription: string;
|
|
3044
|
+
worksheetCount: string;
|
|
3045
|
+
export: string;
|
|
3046
|
+
exportExcel: string;
|
|
3047
|
+
exportCsv: string;
|
|
3048
|
+
exportJson: string;
|
|
3049
|
+
exportImage: string;
|
|
3050
|
+
exportPdf: string;
|
|
3051
|
+
zoomIn: string;
|
|
3052
|
+
zoomOut: string;
|
|
3053
|
+
selectFile: string;
|
|
3054
|
+
changeFile: string;
|
|
3055
|
+
noFile: string;
|
|
3056
|
+
fileTip: string;
|
|
3057
|
+
invalidFile: string;
|
|
3058
|
+
uploadNotConfigured: string;
|
|
3059
|
+
uploadInvalid: string;
|
|
3060
|
+
loading: string;
|
|
3061
|
+
loadFailed: string;
|
|
3062
|
+
unsaved: string;
|
|
3063
|
+
close: string;
|
|
3064
|
+
unsavedTitle: string;
|
|
3065
|
+
unsavedTip: string;
|
|
3066
|
+
closeWithoutExport: string;
|
|
3067
|
+
};
|
|
3068
|
+
courseware: {
|
|
3069
|
+
text: string;
|
|
3070
|
+
insert: string;
|
|
3071
|
+
edit: string;
|
|
3072
|
+
delete: string;
|
|
3073
|
+
title: string;
|
|
3074
|
+
titlePlaceholder: string;
|
|
3075
|
+
file: string;
|
|
3076
|
+
selectFile: string;
|
|
3077
|
+
changeFile: string;
|
|
3078
|
+
noFile: string;
|
|
3079
|
+
invalidFile: string;
|
|
3080
|
+
uploading: string;
|
|
3081
|
+
uploadNotConfigured: string;
|
|
3082
|
+
uploadInvalid: string;
|
|
3083
|
+
retryUpload: string;
|
|
3084
|
+
retryLoad: string;
|
|
3085
|
+
defaultExpanded: string;
|
|
3086
|
+
layout: string;
|
|
3087
|
+
single: string;
|
|
3088
|
+
double: string;
|
|
3089
|
+
preview: string;
|
|
3090
|
+
expand: string;
|
|
3091
|
+
collapse: string;
|
|
3092
|
+
fullscreen: string;
|
|
3093
|
+
exitFullscreen: string;
|
|
3094
|
+
readerToolbar: string;
|
|
3095
|
+
firstPage: string;
|
|
3096
|
+
previousPage: string;
|
|
3097
|
+
nextPage: string;
|
|
3098
|
+
switchToSingle: string;
|
|
3099
|
+
switchToDouble: string;
|
|
3100
|
+
zoomIn: string;
|
|
3101
|
+
zoomOut: string;
|
|
3102
|
+
resetZoom: string;
|
|
3103
|
+
thumbnails: string;
|
|
3104
|
+
closeThumbnails: string;
|
|
3105
|
+
thumbnailPage: string;
|
|
3106
|
+
annotation: string;
|
|
3107
|
+
annotationRect: string;
|
|
3108
|
+
annotationLine: string;
|
|
3109
|
+
annotationPath: string;
|
|
3110
|
+
annotationAnchor: string;
|
|
3111
|
+
annotationStyle: string;
|
|
3112
|
+
annotationColor: string;
|
|
3113
|
+
annotationUndo: string;
|
|
3114
|
+
annotationRedo: string;
|
|
3115
|
+
annotationSolid: string;
|
|
3116
|
+
annotationDashed: string;
|
|
3117
|
+
annotationWavy: string;
|
|
3118
|
+
annotationSolidBorder: string;
|
|
3119
|
+
annotationDashedBorder: string;
|
|
3120
|
+
annotationNoBorder: string;
|
|
3121
|
+
annotationStorageUnavailable: string;
|
|
3122
|
+
loading: string;
|
|
3123
|
+
changedError: string;
|
|
3124
|
+
};
|
|
2778
3125
|
timeline: {
|
|
2779
3126
|
text: string;
|
|
2780
3127
|
insert: string;
|
|
@@ -2924,12 +3271,18 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2924
3271
|
mention: string;
|
|
2925
3272
|
bookmark: {
|
|
2926
3273
|
text: string;
|
|
3274
|
+
title: string;
|
|
3275
|
+
"edit-title": string;
|
|
3276
|
+
note: string;
|
|
2927
3277
|
set: string;
|
|
2928
3278
|
ok: string;
|
|
3279
|
+
confirm: string;
|
|
3280
|
+
cancel: string;
|
|
2929
3281
|
textName: string;
|
|
2930
3282
|
placeholder: string;
|
|
2931
3283
|
show: string;
|
|
2932
3284
|
actions: string;
|
|
3285
|
+
edit: string;
|
|
2933
3286
|
delete: string;
|
|
2934
3287
|
emptyError: string;
|
|
2935
3288
|
};
|
|
@@ -3315,6 +3668,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3315
3668
|
"line-color": string;
|
|
3316
3669
|
"line-type": string;
|
|
3317
3670
|
"line-types": {
|
|
3671
|
+
none: string;
|
|
3318
3672
|
solid: string;
|
|
3319
3673
|
dashed: string;
|
|
3320
3674
|
dotted: string;
|
|
@@ -3336,6 +3690,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3336
3690
|
"reference-icon-placeholder": string;
|
|
3337
3691
|
"reference-icon-invalid": string;
|
|
3338
3692
|
"reference-icon-upload-failed": string;
|
|
3693
|
+
"show-icon": string;
|
|
3694
|
+
yes: string;
|
|
3695
|
+
no: string;
|
|
3339
3696
|
edit: string;
|
|
3340
3697
|
delete: string;
|
|
3341
3698
|
"open-reference": string;
|
|
@@ -3826,6 +4183,11 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3826
4183
|
* @returns 无返回值。
|
|
3827
4184
|
*/
|
|
3828
4185
|
setReadOnly(readOnly?: boolean): void;
|
|
4186
|
+
/**
|
|
4187
|
+
* 切换内容预览模式;预览时自动只读并隐藏编辑工具栏。
|
|
4188
|
+
* @param preview - true 进入预览,false 返回编辑状态。
|
|
4189
|
+
*/
|
|
4190
|
+
setPreview(preview?: boolean): void;
|
|
3829
4191
|
print: () => void;
|
|
3830
4192
|
focus: (position?: string, options?: {
|
|
3831
4193
|
scrollIntoView: boolean;
|
|
@@ -3843,13 +4205,13 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3843
4205
|
* @param pramas - TDesign Dialog 配置。
|
|
3844
4206
|
* @returns 弹窗实例;如 editorRef.value.useAlert({ body: '提示' })。
|
|
3845
4207
|
*/
|
|
3846
|
-
useAlert(pramas: any): import("tdesign-vue-next/esm").DialogInstance;
|
|
4208
|
+
useAlert(pramas: any): import("tdesign-vue-next/esm/components").DialogInstance;
|
|
3847
4209
|
/**
|
|
3848
4210
|
* 在当前编辑器容器内显示确认弹窗。
|
|
3849
4211
|
* @param pramas - TDesign Dialog 配置。
|
|
3850
4212
|
* @returns 弹窗实例;如 editorRef.value.useConfirm({ body: '确认?' })。
|
|
3851
4213
|
*/
|
|
3852
|
-
useConfirm(pramas: any): import("tdesign-vue-next/esm").DialogInstance;
|
|
4214
|
+
useConfirm(pramas: any): import("tdesign-vue-next/esm/components").DialogInstance;
|
|
3853
4215
|
/**
|
|
3854
4216
|
* 在当前编辑器容器内显示消息。
|
|
3855
4217
|
* @param type - TDesign 消息类型,如 success、error。
|
|
@@ -3866,6 +4228,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3866
4228
|
focus: (...args: any[]) => void;
|
|
3867
4229
|
beforeCreate: (...args: any[]) => void;
|
|
3868
4230
|
created: (...args: any[]) => void;
|
|
4231
|
+
drop: (...args: any[]) => void;
|
|
3869
4232
|
changed: (...args: any[]) => void;
|
|
3870
4233
|
"changed:selection": (...args: any[]) => void;
|
|
3871
4234
|
"changed:transaction": (...args: any[]) => void;
|
|
@@ -3883,7 +4246,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3883
4246
|
"changed:locale": (...args: any[]) => void;
|
|
3884
4247
|
"changed:theme": (...args: any[]) => void;
|
|
3885
4248
|
"changed:skin": (...args: any[]) => void;
|
|
3886
|
-
drop: (...args: any[]) => void;
|
|
3887
4249
|
destroy: (...args: any[]) => void;
|
|
3888
4250
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
3889
4251
|
onPrint?: (...args: any[]) => any;
|
|
@@ -3894,6 +4256,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3894
4256
|
onFocus?: (...args: any[]) => any;
|
|
3895
4257
|
onBeforeCreate?: (...args: any[]) => any;
|
|
3896
4258
|
onCreated?: (...args: any[]) => any;
|
|
4259
|
+
onDrop?: (...args: any[]) => any;
|
|
3897
4260
|
onChanged?: (...args: any[]) => any;
|
|
3898
4261
|
"onChanged:selection"?: (...args: any[]) => any;
|
|
3899
4262
|
"onChanged:transaction"?: (...args: any[]) => any;
|
|
@@ -3911,7 +4274,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3911
4274
|
"onChanged:locale"?: (...args: any[]) => any;
|
|
3912
4275
|
"onChanged:theme"?: (...args: any[]) => any;
|
|
3913
4276
|
"onChanged:skin"?: (...args: any[]) => any;
|
|
3914
|
-
onDrop?: (...args: any[]) => any;
|
|
3915
4277
|
onDestroy?: (...args: any[]) => any;
|
|
3916
4278
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3917
4279
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|