@agilehub/agile-editor 1.7.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.
Files changed (38) hide show
  1. package/README.md +1 -0
  2. package/dist/agile-editor.css +1 -1
  3. package/dist/agile-editor.js +17696 -18074
  4. package/dist/i18n-DCR9QpaV.js +2785 -0
  5. package/dist/types/components/editor/courseware-dialog.vue.d.ts +3 -0
  6. package/dist/types/components/editor/smart-sheet-dialog.vue.d.ts +3 -0
  7. package/dist/types/components/index.d.ts +2 -1
  8. package/dist/types/components/index.vue.d.ts +355 -19
  9. package/dist/types/components/menus/button.vue.d.ts +1 -1
  10. package/dist/types/components/menus/toolbar/insert/courseware.vue.d.ts +3 -0
  11. package/dist/types/components/menus/toolbar/insert/smart-sheet.vue.d.ts +3 -0
  12. package/dist/types/components/preview-toolbar/index.vue.d.ts +2 -2
  13. package/dist/types/components/toolbar/classic.vue.d.ts +14 -14
  14. package/dist/types/components/toolbar/ribbon.vue.d.ts +14 -14
  15. package/dist/types/composables/i18n.d.ts +351 -15
  16. package/dist/types/extensions/bookmark-transaction.d.ts +4 -0
  17. package/dist/types/extensions/bubble-note.d.ts +1 -0
  18. package/dist/types/extensions/courseware/annotation-session.d.ts +4 -0
  19. package/dist/types/extensions/courseware/index.d.ts +49 -0
  20. package/dist/types/extensions/courseware/model.d.ts +20 -0
  21. package/dist/types/extensions/courseware/node-view.vue.d.ts +93 -0
  22. package/dist/types/extensions/courseware/reader.vue.d.ts +22 -0
  23. package/dist/types/extensions/smart-sheet/index.d.ts +47 -0
  24. package/dist/types/extensions/smart-sheet/model.d.ts +18 -0
  25. package/dist/types/extensions/smart-sheet/node-view.vue.d.ts +93 -0
  26. package/dist/types/extensions/smart-sheet/viewer.vue.d.ts +36 -0
  27. package/dist/types/i18n.d.ts +351 -15
  28. package/dist/types/utils/bubble-note-icon.d.ts +1 -0
  29. package/dist/types/utils/document-formatting.d.ts +41 -37
  30. package/dist/types/utils/document-import.d.ts +2 -0
  31. package/dist/types/utils/html-element-id.d.ts +9 -2
  32. package/dist/types/utils/md5.d.ts +2 -0
  33. package/dist/viewer-CyuLA7YS.js +97 -0
  34. package/docs/FORMATTING_TEMPLATES.md +253 -250
  35. package/docs/FORMATTING_TEMPLATE_BUSINESS_GUIDE.md +536 -0
  36. package/docs/README.md +1 -0
  37. package/docs/configuration.md +25 -0
  38. 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;
@@ -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, FormattingImageRule, FormattingNodeRule, FormattingNodeAdapter, FormattingAdapterResult, FormattingJSONValue, } from '../utils/document-formatting';
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
- paragraph: string;
64
- heading: string;
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
- image: string;
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;
@@ -795,6 +903,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
795
903
  "line-color": string;
796
904
  "line-type": string;
797
905
  "line-types": {
906
+ none: string;
798
907
  solid: string;
799
908
  dashed: string;
800
909
  dotted: string;
@@ -816,6 +925,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
816
925
  "reference-icon-placeholder": string;
817
926
  "reference-icon-invalid": string;
818
927
  "reference-icon-upload-failed": string;
928
+ "show-icon": string;
929
+ yes: string;
930
+ no: string;
819
931
  edit: string;
820
932
  delete: string;
821
933
  "open-reference": string;
@@ -1326,10 +1438,24 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
1326
1438
  formatting: {
1327
1439
  none: string;
1328
1440
  labels: {
1329
- paragraph: string;
1330
- heading: string;
1441
+ p: string;
1442
+ span: string;
1443
+ h1: string;
1444
+ h2: string;
1445
+ h3: string;
1446
+ h4: string;
1447
+ h5: string;
1448
+ h6: string;
1331
1449
  table: string;
1332
- image: string;
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;
1333
1459
  audio: string;
1334
1460
  video: string;
1335
1461
  fontFamily: string;
@@ -1345,6 +1471,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
1345
1471
  textDecoration: string;
1346
1472
  marginTop: string;
1347
1473
  marginBottom: string;
1474
+ marginLeft: string;
1475
+ marginRight: string;
1348
1476
  paddingTop: string;
1349
1477
  paddingRight: string;
1350
1478
  paddingBottom: string;
@@ -1362,7 +1490,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
1362
1490
  themeColor: string;
1363
1491
  shading: string;
1364
1492
  cellText: string;
1365
- caption: string;
1366
1493
  bulletList: string;
1367
1494
  orderedList: string;
1368
1495
  taskList: string;
@@ -1372,7 +1499,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
1372
1499
  callout: string;
1373
1500
  footnote: string;
1374
1501
  codeBlock: string;
1375
- custom: string;
1376
1502
  };
1377
1503
  values: {
1378
1504
  left: string;
@@ -1531,6 +1657,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
1531
1657
  undo: string;
1532
1658
  };
1533
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
+ };
1534
1754
  timeline: {
1535
1755
  text: string;
1536
1756
  insert: string;
@@ -2077,6 +2297,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
2077
2297
  "line-color": string;
2078
2298
  "line-type": string;
2079
2299
  "line-types": {
2300
+ none: string;
2080
2301
  solid: string;
2081
2302
  dashed: string;
2082
2303
  dotted: string;
@@ -2098,6 +2319,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
2098
2319
  "reference-icon-placeholder": string;
2099
2320
  "reference-icon-invalid": string;
2100
2321
  "reference-icon-upload-failed": string;
2322
+ "show-icon": string;
2323
+ yes: string;
2324
+ no: string;
2101
2325
  edit: string;
2102
2326
  delete: string;
2103
2327
  "open-reference": string;
@@ -2585,10 +2809,24 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
2585
2809
  formatting: {
2586
2810
  none: string;
2587
2811
  labels: {
2588
- paragraph: string;
2589
- heading: string;
2812
+ p: string;
2813
+ span: string;
2814
+ h1: string;
2815
+ h2: string;
2816
+ h3: string;
2817
+ h4: string;
2818
+ h5: string;
2819
+ h6: string;
2590
2820
  table: string;
2591
- image: string;
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;
2592
2830
  audio: string;
2593
2831
  video: string;
2594
2832
  fontFamily: string;
@@ -2604,6 +2842,8 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
2604
2842
  textDecoration: string;
2605
2843
  marginTop: string;
2606
2844
  marginBottom: string;
2845
+ marginLeft: string;
2846
+ marginRight: string;
2607
2847
  paddingTop: string;
2608
2848
  paddingRight: string;
2609
2849
  paddingBottom: string;
@@ -2621,7 +2861,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
2621
2861
  themeColor: string;
2622
2862
  shading: string;
2623
2863
  cellText: string;
2624
- caption: string;
2625
2864
  bulletList: string;
2626
2865
  orderedList: string;
2627
2866
  taskList: string;
@@ -2631,7 +2870,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
2631
2870
  callout: string;
2632
2871
  footnote: string;
2633
2872
  codeBlock: string;
2634
- custom: string;
2635
2873
  };
2636
2874
  values: {
2637
2875
  left: string;
@@ -2790,6 +3028,100 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
2790
3028
  undo: string;
2791
3029
  };
2792
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
+ };
2793
3125
  timeline: {
2794
3126
  text: string;
2795
3127
  insert: string;
@@ -3336,6 +3668,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
3336
3668
  "line-color": string;
3337
3669
  "line-type": string;
3338
3670
  "line-types": {
3671
+ none: string;
3339
3672
  solid: string;
3340
3673
  dashed: string;
3341
3674
  dotted: string;
@@ -3357,6 +3690,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
3357
3690
  "reference-icon-placeholder": string;
3358
3691
  "reference-icon-invalid": string;
3359
3692
  "reference-icon-upload-failed": string;
3693
+ "show-icon": string;
3694
+ yes: string;
3695
+ no: string;
3360
3696
  edit: string;
3361
3697
  delete: string;
3362
3698
  "open-reference": string;
@@ -3869,13 +4205,13 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
3869
4205
  * @param pramas - TDesign Dialog 配置。
3870
4206
  * @returns 弹窗实例;如 editorRef.value.useAlert({ body: '提示' })。
3871
4207
  */
3872
- useAlert(pramas: any): import("tdesign-vue-next/esm").DialogInstance;
4208
+ useAlert(pramas: any): import("tdesign-vue-next/esm/components").DialogInstance;
3873
4209
  /**
3874
4210
  * 在当前编辑器容器内显示确认弹窗。
3875
4211
  * @param pramas - TDesign Dialog 配置。
3876
4212
  * @returns 弹窗实例;如 editorRef.value.useConfirm({ body: '确认?' })。
3877
4213
  */
3878
- useConfirm(pramas: any): import("tdesign-vue-next/esm").DialogInstance;
4214
+ useConfirm(pramas: any): import("tdesign-vue-next/esm/components").DialogInstance;
3879
4215
  /**
3880
4216
  * 在当前编辑器容器内显示消息。
3881
4217
  * @param type - TDesign 消息类型,如 success、error。
@@ -3890,9 +4226,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
3890
4226
  saved: (...args: any[]) => void;
3891
4227
  blur: (...args: any[]) => void;
3892
4228
  focus: (...args: any[]) => void;
3893
- drop: (...args: any[]) => void;
3894
4229
  beforeCreate: (...args: any[]) => void;
3895
4230
  created: (...args: any[]) => void;
4231
+ drop: (...args: any[]) => void;
3896
4232
  changed: (...args: any[]) => void;
3897
4233
  "changed:selection": (...args: any[]) => void;
3898
4234
  "changed:transaction": (...args: any[]) => void;
@@ -3918,9 +4254,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
3918
4254
  onSaved?: (...args: any[]) => any;
3919
4255
  onBlur?: (...args: any[]) => any;
3920
4256
  onFocus?: (...args: any[]) => any;
3921
- onDrop?: (...args: any[]) => any;
3922
4257
  onBeforeCreate?: (...args: any[]) => any;
3923
4258
  onCreated?: (...args: any[]) => any;
4259
+ onDrop?: (...args: any[]) => any;
3924
4260
  onChanged?: (...args: any[]) => any;
3925
4261
  "onChanged:selection"?: (...args: any[]) => any;
3926
4262
  "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;
@@ -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;
@@ -1,37 +1,37 @@
1
1
  import type { PropType } from 'vue';
2
2
  declare var __VLS_172: {
3
3
  toolbarMode: string;
4
- }, __VLS_279: {
4
+ }, __VLS_289: {
5
5
  toolbarMode: string;
6
- }, __VLS_391: {
6
+ }, __VLS_401: {
7
7
  toolbarMode: string;
8
- }, __VLS_448: {
8
+ }, __VLS_458: {
9
9
  toolbarMode: string;
10
- }, __VLS_490: {
10
+ }, __VLS_500: {
11
11
  toolbarMode: string;
12
- }, __VLS_492: {
12
+ }, __VLS_502: {
13
13
  toolbarMode: string;
14
- }, __VLS_494: {
14
+ }, __VLS_504: {
15
15
  toolbarMode: string;
16
- }, __VLS_496: {
16
+ }, __VLS_506: {
17
17
  toolbarMode: string;
18
18
  };
19
19
  type __VLS_Slots = {} & {
20
20
  toolbar_base?: (props: typeof __VLS_172) => any;
21
21
  } & {
22
- toolbar_insert?: (props: typeof __VLS_279) => any;
22
+ toolbar_insert?: (props: typeof __VLS_289) => any;
23
23
  } & {
24
- toolbar_table?: (props: typeof __VLS_391) => any;
24
+ toolbar_table?: (props: typeof __VLS_401) => any;
25
25
  } & {
26
- toolbar_tools?: (props: typeof __VLS_448) => any;
26
+ toolbar_tools?: (props: typeof __VLS_458) => any;
27
27
  } & {
28
- toolbar_view?: (props: typeof __VLS_490) => any;
28
+ toolbar_view?: (props: typeof __VLS_500) => any;
29
29
  } & {
30
- toolbar_review?: (props: typeof __VLS_492) => any;
30
+ toolbar_review?: (props: typeof __VLS_502) => any;
31
31
  } & {
32
- toolbar_extension?: (props: typeof __VLS_494) => any;
32
+ toolbar_extension?: (props: typeof __VLS_504) => any;
33
33
  } & {
34
- toolbar_enhancement?: (props: typeof __VLS_496) => any;
34
+ toolbar_enhancement?: (props: typeof __VLS_506) => any;
35
35
  };
36
36
  declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
37
37
  menus: {