@agilehub/agile-editor 1.8.5 → 1.8.6
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 +13838 -13871
- package/dist/{i18n-DZxiNlPY.js → i18n-BZGLJU1q.js} +32 -2
- package/dist/types/components/editor/table-background-control.vue.d.ts +1 -1
- package/dist/types/components/index.vue.d.ts +47 -2
- package/dist/types/components/menus/bubble/menus.vue.d.ts +2 -2
- package/dist/types/components/picker/color-panel.vue.d.ts +37 -0
- package/dist/types/components/picker/color.vue.d.ts +9 -0
- package/dist/types/components/statusbar/countdown.vue.d.ts +2 -2
- package/dist/types/composables/i18n.d.ts +45 -0
- package/dist/types/extensions/bubble-note-extensions.d.ts +1 -1
- package/dist/types/i18n.d.ts +45 -0
- package/dist/types/utils/player.d.ts +12 -4
- package/dist/types/utils/video-frame.d.ts +1 -0
- package/dist/types/utils/video-skin.d.ts +1 -0
- package/dist/{viewer-DWO1FZ3A.js → viewer-Bg-htPGM.js} +2 -2
- package/docs/FORMATTING_TEMPLATES.md +253 -253
- package/docs/FORMATTING_TEMPLATE_BUSINESS_GUIDE.md +536 -536
- package/docs/SECONDARY_DEVELOPMENT.md +799 -799
- package/docs/features.md +1 -1
- package/docs/superpowers/plans/2026-11-27-table-reset-controls.md +185 -185
- package/docs/superpowers/plans/2026-11-28-bubble-note-rich-content.md +101 -101
- package/docs/superpowers/plans/2026-11-28-image-replace.md +190 -190
- package/docs/superpowers/plans/2026-11-28-table-image-resize-preview.md +121 -121
- package/docs/superpowers/plans/2026-11-28-table-property-category-actions.md +192 -192
- package/docs/superpowers/specs/2026-11-27-table-reset-controls-design.md +66 -66
- package/docs/superpowers/specs/2026-11-28-bubble-note-rich-content-design.md +64 -64
- package/docs/superpowers/specs/2026-11-28-image-replace-design.md +40 -40
- package/docs/superpowers/specs/2026-11-28-table-image-resize-preview-design.md +30 -30
- package/docs/superpowers/specs/2026-11-28-table-property-category-actions-design.md +63 -63
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @agilehub/agile-editor 1.8.
|
|
2
|
+
* @agilehub/agile-editor 1.8.6
|
|
3
3
|
* @license Apache-2.0
|
|
4
4
|
* @author undefined undefined
|
|
5
5
|
* @see undefined
|
|
@@ -38,6 +38,10 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
38
38
|
}, null, 8, s)], 8, o));
|
|
39
39
|
}
|
|
40
40
|
}), l = {
|
|
41
|
+
videoPlayer: {
|
|
42
|
+
captureFrame: "Save current frame",
|
|
43
|
+
captureFailed: "Could not save the frame. Check that the video is loaded and its server allows cross-origin access."
|
|
44
|
+
},
|
|
41
45
|
formatting: {
|
|
42
46
|
none: "No shading",
|
|
43
47
|
labels: {
|
|
@@ -413,6 +417,12 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
413
417
|
caption: "Image caption",
|
|
414
418
|
captionPlaceholder: "Enter a caption, or leave empty to hide",
|
|
415
419
|
fit: "Image fit",
|
|
420
|
+
imageVerticalAlign: "Vertical alignment",
|
|
421
|
+
verticalAlignOptions: {
|
|
422
|
+
top: "Top",
|
|
423
|
+
center: "Center",
|
|
424
|
+
bottom: "Bottom"
|
|
425
|
+
},
|
|
416
426
|
fitOptions: {
|
|
417
427
|
contain: "Contain",
|
|
418
428
|
cover: "Cover",
|
|
@@ -424,9 +434,13 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
424
434
|
leftImage: "Image Left, Text Right",
|
|
425
435
|
leftText: "Text Left, Image Right",
|
|
426
436
|
textDirection: "Text Direction",
|
|
437
|
+
verticalDirection: "Vertical column order",
|
|
438
|
+
leftToRight: "Left to right",
|
|
439
|
+
rightToLeft: "Right to left",
|
|
427
440
|
horizontal: "Horizontal",
|
|
428
441
|
vertical: "Vertical",
|
|
429
442
|
imageWidth: "Image Width",
|
|
443
|
+
componentHeight: "Component height",
|
|
430
444
|
addImage: "Add Image",
|
|
431
445
|
changeImage: "Change Image",
|
|
432
446
|
previewText: "Text content area",
|
|
@@ -925,6 +939,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
925
939
|
},
|
|
926
940
|
colorPicker: {
|
|
927
941
|
default: "Default Color",
|
|
942
|
+
remove: "Remove Color",
|
|
928
943
|
standard: "Standard Colors",
|
|
929
944
|
recent: "Recently Used",
|
|
930
945
|
more: "More Colors"
|
|
@@ -1407,6 +1422,10 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1407
1422
|
replyPlaceholder: "Type your reply..."
|
|
1408
1423
|
}
|
|
1409
1424
|
}, u = {
|
|
1425
|
+
videoPlayer: {
|
|
1426
|
+
captureFrame: "截取当前帧",
|
|
1427
|
+
captureFailed: "截图失败,请确认视频已加载,且视频服务器允许跨域访问。"
|
|
1428
|
+
},
|
|
1410
1429
|
formatting: {
|
|
1411
1430
|
none: "不填充",
|
|
1412
1431
|
labels: {
|
|
@@ -1783,6 +1802,12 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1783
1802
|
caption: "图片图注",
|
|
1784
1803
|
captionPlaceholder: "输入图注,留空则不显示",
|
|
1785
1804
|
fit: "图片填充方式",
|
|
1805
|
+
imageVerticalAlign: "图片垂直对齐",
|
|
1806
|
+
verticalAlignOptions: {
|
|
1807
|
+
top: "顶部对齐",
|
|
1808
|
+
center: "居中对齐",
|
|
1809
|
+
bottom: "底部对齐"
|
|
1810
|
+
},
|
|
1786
1811
|
fitOptions: {
|
|
1787
1812
|
contain: "完整显示(contain)",
|
|
1788
1813
|
cover: "铺满裁剪(cover)",
|
|
@@ -1794,9 +1819,13 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1794
1819
|
leftImage: "左图右文",
|
|
1795
1820
|
leftText: "左文右图",
|
|
1796
1821
|
textDirection: "文字排列方向",
|
|
1822
|
+
verticalDirection: "竖排文字方向",
|
|
1823
|
+
leftToRight: "从左到右",
|
|
1824
|
+
rightToLeft: "从右到左",
|
|
1797
1825
|
horizontal: "横版排列",
|
|
1798
1826
|
vertical: "竖版排列",
|
|
1799
1827
|
imageWidth: "图片宽度占比",
|
|
1828
|
+
componentHeight: "组件高度",
|
|
1800
1829
|
addImage: "添加图片",
|
|
1801
1830
|
changeImage: "更换图片",
|
|
1802
1831
|
previewText: "文字内容区域",
|
|
@@ -1871,7 +1900,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
1871
1900
|
copy: "复制链接",
|
|
1872
1901
|
copySuccess: "复制成功",
|
|
1873
1902
|
open: "打开链接",
|
|
1874
|
-
edit: "
|
|
1903
|
+
edit: "编辑超链接",
|
|
1875
1904
|
add: "添加超链接",
|
|
1876
1905
|
title: "链接标题:",
|
|
1877
1906
|
titlePlaceholder: "请输入链接标题",
|
|
@@ -2284,6 +2313,7 @@ var o = ["width", "height"], s = ["xlink:href", "fill"], c = /* @__PURE__ */ n({
|
|
|
2284
2313
|
},
|
|
2285
2314
|
colorPicker: {
|
|
2286
2315
|
default: "默认颜色",
|
|
2316
|
+
remove: "移除颜色",
|
|
2287
2317
|
standard: "标准色",
|
|
2288
2318
|
recent: "最近使用",
|
|
2289
2319
|
more: "更多颜色"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type TableBackground } from '@/utils/table-appearance';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
styleText: string;
|
|
3
|
+
styleText: string | null;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
apply: (background: TableBackground) => any;
|
|
@@ -57,6 +57,10 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
57
57
|
getLocale: () => "zh-CN" | "en-US" | "zh";
|
|
58
58
|
getI18n: () => import("vue-i18n").I18n<{
|
|
59
59
|
'en-US': {
|
|
60
|
+
videoPlayer: {
|
|
61
|
+
captureFrame: string;
|
|
62
|
+
captureFailed: string;
|
|
63
|
+
};
|
|
60
64
|
formatting: {
|
|
61
65
|
none: string;
|
|
62
66
|
labels: {
|
|
@@ -432,6 +436,12 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
432
436
|
caption: string;
|
|
433
437
|
captionPlaceholder: string;
|
|
434
438
|
fit: string;
|
|
439
|
+
imageVerticalAlign: string;
|
|
440
|
+
verticalAlignOptions: {
|
|
441
|
+
top: string;
|
|
442
|
+
center: string;
|
|
443
|
+
bottom: string;
|
|
444
|
+
};
|
|
435
445
|
fitOptions: {
|
|
436
446
|
contain: string;
|
|
437
447
|
cover: string;
|
|
@@ -443,9 +453,13 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
443
453
|
leftImage: string;
|
|
444
454
|
leftText: string;
|
|
445
455
|
textDirection: string;
|
|
456
|
+
verticalDirection: string;
|
|
457
|
+
leftToRight: string;
|
|
458
|
+
rightToLeft: string;
|
|
446
459
|
horizontal: string;
|
|
447
460
|
vertical: string;
|
|
448
461
|
imageWidth: string;
|
|
462
|
+
componentHeight: string;
|
|
449
463
|
addImage: string;
|
|
450
464
|
changeImage: string;
|
|
451
465
|
previewText: string;
|
|
@@ -1306,6 +1320,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1306
1320
|
};
|
|
1307
1321
|
colorPicker: {
|
|
1308
1322
|
default: string;
|
|
1323
|
+
remove: string;
|
|
1309
1324
|
standard: string;
|
|
1310
1325
|
recent: string;
|
|
1311
1326
|
more: string;
|
|
@@ -1797,6 +1812,10 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
1797
1812
|
};
|
|
1798
1813
|
};
|
|
1799
1814
|
zh: {
|
|
1815
|
+
videoPlayer: {
|
|
1816
|
+
captureFrame: string;
|
|
1817
|
+
captureFailed: string;
|
|
1818
|
+
};
|
|
1800
1819
|
formatting: {
|
|
1801
1820
|
none: string;
|
|
1802
1821
|
labels: {
|
|
@@ -2173,6 +2192,12 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2173
2192
|
caption: string;
|
|
2174
2193
|
captionPlaceholder: string;
|
|
2175
2194
|
fit: string;
|
|
2195
|
+
imageVerticalAlign: string;
|
|
2196
|
+
verticalAlignOptions: {
|
|
2197
|
+
top: string;
|
|
2198
|
+
center: string;
|
|
2199
|
+
bottom: string;
|
|
2200
|
+
};
|
|
2176
2201
|
fitOptions: {
|
|
2177
2202
|
contain: string;
|
|
2178
2203
|
cover: string;
|
|
@@ -2184,9 +2209,13 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
2184
2209
|
leftImage: string;
|
|
2185
2210
|
leftText: string;
|
|
2186
2211
|
textDirection: string;
|
|
2212
|
+
verticalDirection: string;
|
|
2213
|
+
leftToRight: string;
|
|
2214
|
+
rightToLeft: string;
|
|
2187
2215
|
horizontal: string;
|
|
2188
2216
|
vertical: string;
|
|
2189
2217
|
imageWidth: string;
|
|
2218
|
+
componentHeight: string;
|
|
2190
2219
|
addImage: string;
|
|
2191
2220
|
changeImage: string;
|
|
2192
2221
|
previewText: string;
|
|
@@ -3045,6 +3074,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3045
3074
|
};
|
|
3046
3075
|
colorPicker: {
|
|
3047
3076
|
default: string;
|
|
3077
|
+
remove: string;
|
|
3048
3078
|
standard: string;
|
|
3049
3079
|
recent: string;
|
|
3050
3080
|
more: string;
|
|
@@ -3530,6 +3560,10 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3530
3560
|
};
|
|
3531
3561
|
};
|
|
3532
3562
|
'zh-CN': {
|
|
3563
|
+
videoPlayer: {
|
|
3564
|
+
captureFrame: string;
|
|
3565
|
+
captureFailed: string;
|
|
3566
|
+
};
|
|
3533
3567
|
formatting: {
|
|
3534
3568
|
none: string;
|
|
3535
3569
|
labels: {
|
|
@@ -3906,6 +3940,12 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3906
3940
|
caption: string;
|
|
3907
3941
|
captionPlaceholder: string;
|
|
3908
3942
|
fit: string;
|
|
3943
|
+
imageVerticalAlign: string;
|
|
3944
|
+
verticalAlignOptions: {
|
|
3945
|
+
top: string;
|
|
3946
|
+
center: string;
|
|
3947
|
+
bottom: string;
|
|
3948
|
+
};
|
|
3909
3949
|
fitOptions: {
|
|
3910
3950
|
contain: string;
|
|
3911
3951
|
cover: string;
|
|
@@ -3917,9 +3957,13 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
3917
3957
|
leftImage: string;
|
|
3918
3958
|
leftText: string;
|
|
3919
3959
|
textDirection: string;
|
|
3960
|
+
verticalDirection: string;
|
|
3961
|
+
leftToRight: string;
|
|
3962
|
+
rightToLeft: string;
|
|
3920
3963
|
horizontal: string;
|
|
3921
3964
|
vertical: string;
|
|
3922
3965
|
imageWidth: string;
|
|
3966
|
+
componentHeight: string;
|
|
3923
3967
|
addImage: string;
|
|
3924
3968
|
changeImage: string;
|
|
3925
3969
|
previewText: string;
|
|
@@ -4778,6 +4822,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
4778
4822
|
};
|
|
4779
4823
|
colorPicker: {
|
|
4780
4824
|
default: string;
|
|
4825
|
+
remove: string;
|
|
4781
4826
|
standard: string;
|
|
4782
4827
|
recent: string;
|
|
4783
4828
|
more: string;
|
|
@@ -5315,6 +5360,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5315
5360
|
beforeCreate: (...args: any[]) => void;
|
|
5316
5361
|
created: (...args: any[]) => void;
|
|
5317
5362
|
drop: (...args: any[]) => void;
|
|
5363
|
+
destroy: (...args: any[]) => void;
|
|
5318
5364
|
changed: (...args: any[]) => void;
|
|
5319
5365
|
"changed:selection": (...args: any[]) => void;
|
|
5320
5366
|
"changed:transaction": (...args: any[]) => void;
|
|
@@ -5332,7 +5378,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5332
5378
|
"changed:locale": (...args: any[]) => void;
|
|
5333
5379
|
"changed:theme": (...args: any[]) => void;
|
|
5334
5380
|
"changed:skin": (...args: any[]) => void;
|
|
5335
|
-
destroy: (...args: any[]) => void;
|
|
5336
5381
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5337
5382
|
onPrint?: (...args: any[]) => any;
|
|
5338
5383
|
onDelete?: (...args: any[]) => any;
|
|
@@ -5343,6 +5388,7 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5343
5388
|
onBeforeCreate?: (...args: any[]) => any;
|
|
5344
5389
|
onCreated?: (...args: any[]) => any;
|
|
5345
5390
|
onDrop?: (...args: any[]) => any;
|
|
5391
|
+
onDestroy?: (...args: any[]) => any;
|
|
5346
5392
|
onChanged?: (...args: any[]) => any;
|
|
5347
5393
|
"onChanged:selection"?: (...args: any[]) => any;
|
|
5348
5394
|
"onChanged:transaction"?: (...args: any[]) => any;
|
|
@@ -5360,7 +5406,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
5360
5406
|
"onChanged:locale"?: (...args: any[]) => any;
|
|
5361
5407
|
"onChanged:theme"?: (...args: any[]) => any;
|
|
5362
5408
|
"onChanged:skin"?: (...args: any[]) => any;
|
|
5363
|
-
onDestroy?: (...args: any[]) => any;
|
|
5364
5409
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5365
5410
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5366
5411
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_406: {
|
|
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_406) => 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,37 @@
|
|
|
1
|
+
import type { PopupProps } from 'tdesign-vue-next';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
panel?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
swatchColors?: string[];
|
|
6
|
+
popupProps?: PopupProps;
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
enableAlpha?: boolean;
|
|
11
|
+
recentColors?: string[] | boolean | null;
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_14: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
default?: (props: typeof __VLS_14) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
remove: () => any;
|
|
19
|
+
change: (color: string, context: {
|
|
20
|
+
trigger: string;
|
|
21
|
+
}) => any;
|
|
22
|
+
"update:modelValue": (color: string) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onRemove?: () => any;
|
|
25
|
+
onChange?: (color: string, context: {
|
|
26
|
+
trigger: string;
|
|
27
|
+
}) => any;
|
|
28
|
+
"onUpdate:modelValue"?: (color: string) => any;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -3,6 +3,10 @@ type __VLS_Slots = {} & {
|
|
|
3
3
|
'before-standard'?: (props: typeof __VLS_10) => any;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
6
|
+
enableAlpha: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
defaultColor: {
|
|
7
11
|
type: StringConstructor;
|
|
8
12
|
default: string;
|
|
@@ -10,6 +14,10 @@ declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTy
|
|
|
10
14
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
15
|
change: (...args: any[]) => void;
|
|
12
16
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
17
|
+
enableAlpha: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
13
21
|
defaultColor: {
|
|
14
22
|
type: StringConstructor;
|
|
15
23
|
default: string;
|
|
@@ -17,6 +25,7 @@ declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTy
|
|
|
17
25
|
}>> & Readonly<{
|
|
18
26
|
onChange?: (...args: any[]) => any;
|
|
19
27
|
}>, {
|
|
28
|
+
enableAlpha: boolean;
|
|
20
29
|
defaultColor: string;
|
|
21
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -15,9 +15,9 @@ declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTy
|
|
|
15
15
|
};
|
|
16
16
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
close: (...args: any[]) => void;
|
|
18
|
+
"visible-change": (...args: any[]) => void;
|
|
18
19
|
"countdown-change": (...args: any[]) => void;
|
|
19
20
|
"exit-preview": (...args: any[]) => void;
|
|
20
|
-
"visible-change": (...args: any[]) => void;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
22
22
|
visible: {
|
|
23
23
|
type: BooleanConstructor;
|
|
@@ -29,9 +29,9 @@ declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTy
|
|
|
29
29
|
};
|
|
30
30
|
}>> & Readonly<{
|
|
31
31
|
onClose?: (...args: any[]) => any;
|
|
32
|
+
"onVisible-change"?: (...args: any[]) => any;
|
|
32
33
|
"onCountdown-change"?: (...args: any[]) => any;
|
|
33
34
|
"onExit-preview"?: (...args: any[]) => any;
|
|
34
|
-
"onVisible-change"?: (...args: any[]) => any;
|
|
35
35
|
}>, {
|
|
36
36
|
attach: CountdownAttach;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -13,6 +13,10 @@ export declare const t: (key: string, ...args: any[]) => string;
|
|
|
13
13
|
export declare const l: (data: any) => string;
|
|
14
14
|
export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
15
15
|
'en-US': {
|
|
16
|
+
videoPlayer: {
|
|
17
|
+
captureFrame: string;
|
|
18
|
+
captureFailed: string;
|
|
19
|
+
};
|
|
16
20
|
formatting: {
|
|
17
21
|
none: string;
|
|
18
22
|
labels: {
|
|
@@ -388,6 +392,12 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
388
392
|
caption: string;
|
|
389
393
|
captionPlaceholder: string;
|
|
390
394
|
fit: string;
|
|
395
|
+
imageVerticalAlign: string;
|
|
396
|
+
verticalAlignOptions: {
|
|
397
|
+
top: string;
|
|
398
|
+
center: string;
|
|
399
|
+
bottom: string;
|
|
400
|
+
};
|
|
391
401
|
fitOptions: {
|
|
392
402
|
contain: string;
|
|
393
403
|
cover: string;
|
|
@@ -399,9 +409,13 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
399
409
|
leftImage: string;
|
|
400
410
|
leftText: string;
|
|
401
411
|
textDirection: string;
|
|
412
|
+
verticalDirection: string;
|
|
413
|
+
leftToRight: string;
|
|
414
|
+
rightToLeft: string;
|
|
402
415
|
horizontal: string;
|
|
403
416
|
vertical: string;
|
|
404
417
|
imageWidth: string;
|
|
418
|
+
componentHeight: string;
|
|
405
419
|
addImage: string;
|
|
406
420
|
changeImage: string;
|
|
407
421
|
previewText: string;
|
|
@@ -1262,6 +1276,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
1262
1276
|
};
|
|
1263
1277
|
colorPicker: {
|
|
1264
1278
|
default: string;
|
|
1279
|
+
remove: string;
|
|
1265
1280
|
standard: string;
|
|
1266
1281
|
recent: string;
|
|
1267
1282
|
more: string;
|
|
@@ -1753,6 +1768,10 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
1753
1768
|
};
|
|
1754
1769
|
};
|
|
1755
1770
|
zh: {
|
|
1771
|
+
videoPlayer: {
|
|
1772
|
+
captureFrame: string;
|
|
1773
|
+
captureFailed: string;
|
|
1774
|
+
};
|
|
1756
1775
|
formatting: {
|
|
1757
1776
|
none: string;
|
|
1758
1777
|
labels: {
|
|
@@ -2129,6 +2148,12 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2129
2148
|
caption: string;
|
|
2130
2149
|
captionPlaceholder: string;
|
|
2131
2150
|
fit: string;
|
|
2151
|
+
imageVerticalAlign: string;
|
|
2152
|
+
verticalAlignOptions: {
|
|
2153
|
+
top: string;
|
|
2154
|
+
center: string;
|
|
2155
|
+
bottom: string;
|
|
2156
|
+
};
|
|
2132
2157
|
fitOptions: {
|
|
2133
2158
|
contain: string;
|
|
2134
2159
|
cover: string;
|
|
@@ -2140,9 +2165,13 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
2140
2165
|
leftImage: string;
|
|
2141
2166
|
leftText: string;
|
|
2142
2167
|
textDirection: string;
|
|
2168
|
+
verticalDirection: string;
|
|
2169
|
+
leftToRight: string;
|
|
2170
|
+
rightToLeft: string;
|
|
2143
2171
|
horizontal: string;
|
|
2144
2172
|
vertical: string;
|
|
2145
2173
|
imageWidth: string;
|
|
2174
|
+
componentHeight: string;
|
|
2146
2175
|
addImage: string;
|
|
2147
2176
|
changeImage: string;
|
|
2148
2177
|
previewText: string;
|
|
@@ -3001,6 +3030,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3001
3030
|
};
|
|
3002
3031
|
colorPicker: {
|
|
3003
3032
|
default: string;
|
|
3033
|
+
remove: string;
|
|
3004
3034
|
standard: string;
|
|
3005
3035
|
recent: string;
|
|
3006
3036
|
more: string;
|
|
@@ -3486,6 +3516,10 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3486
3516
|
};
|
|
3487
3517
|
};
|
|
3488
3518
|
'zh-CN': {
|
|
3519
|
+
videoPlayer: {
|
|
3520
|
+
captureFrame: string;
|
|
3521
|
+
captureFailed: string;
|
|
3522
|
+
};
|
|
3489
3523
|
formatting: {
|
|
3490
3524
|
none: string;
|
|
3491
3525
|
labels: {
|
|
@@ -3862,6 +3896,12 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3862
3896
|
caption: string;
|
|
3863
3897
|
captionPlaceholder: string;
|
|
3864
3898
|
fit: string;
|
|
3899
|
+
imageVerticalAlign: string;
|
|
3900
|
+
verticalAlignOptions: {
|
|
3901
|
+
top: string;
|
|
3902
|
+
center: string;
|
|
3903
|
+
bottom: string;
|
|
3904
|
+
};
|
|
3865
3905
|
fitOptions: {
|
|
3866
3906
|
contain: string;
|
|
3867
3907
|
cover: string;
|
|
@@ -3873,9 +3913,13 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
3873
3913
|
leftImage: string;
|
|
3874
3914
|
leftText: string;
|
|
3875
3915
|
textDirection: string;
|
|
3916
|
+
verticalDirection: string;
|
|
3917
|
+
leftToRight: string;
|
|
3918
|
+
rightToLeft: string;
|
|
3876
3919
|
horizontal: string;
|
|
3877
3920
|
vertical: string;
|
|
3878
3921
|
imageWidth: string;
|
|
3922
|
+
componentHeight: string;
|
|
3879
3923
|
addImage: string;
|
|
3880
3924
|
changeImage: string;
|
|
3881
3925
|
previewText: string;
|
|
@@ -4734,6 +4778,7 @@ export declare const useI18n: () => import("vue-i18n").Composer<{
|
|
|
4734
4778
|
};
|
|
4735
4779
|
colorPicker: {
|
|
4736
4780
|
default: string;
|
|
4781
|
+
remove: string;
|
|
4737
4782
|
standard: string;
|
|
4738
4783
|
recent: string;
|
|
4739
4784
|
more: string;
|
|
@@ -9,4 +9,4 @@ export declare const createBubbleNoteExtensions: () => (import("@tiptap/core").N
|
|
|
9
9
|
to: number;
|
|
10
10
|
session: number;
|
|
11
11
|
};
|
|
12
|
-
}> | import("@tiptap/core").Extension<import("@tiptap/starter-kit").StarterKitOptions, any> | import("@tiptap/core").Extension<import("@tiptap/extension-text-style").TextStyleKitOptions, any>)[];
|
|
12
|
+
}> | import("@tiptap/core").Extension<import("@tiptap/starter-kit").StarterKitOptions, any> | import("@tiptap/core").Extension<import("@tiptap/extension-text-style").TextStyleKitOptions, any> | import("@tiptap/core").Mark<import("@tiptap/extension-superscript").SuperscriptExtensionOptions, any>)[];
|
package/dist/types/i18n.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export declare const i18n: import("vue-i18n").I18n<{
|
|
2
2
|
'en-US': {
|
|
3
|
+
videoPlayer: {
|
|
4
|
+
captureFrame: string;
|
|
5
|
+
captureFailed: string;
|
|
6
|
+
};
|
|
3
7
|
formatting: {
|
|
4
8
|
none: string;
|
|
5
9
|
labels: {
|
|
@@ -375,6 +379,12 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
375
379
|
caption: string;
|
|
376
380
|
captionPlaceholder: string;
|
|
377
381
|
fit: string;
|
|
382
|
+
imageVerticalAlign: string;
|
|
383
|
+
verticalAlignOptions: {
|
|
384
|
+
top: string;
|
|
385
|
+
center: string;
|
|
386
|
+
bottom: string;
|
|
387
|
+
};
|
|
378
388
|
fitOptions: {
|
|
379
389
|
contain: string;
|
|
380
390
|
cover: string;
|
|
@@ -386,9 +396,13 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
386
396
|
leftImage: string;
|
|
387
397
|
leftText: string;
|
|
388
398
|
textDirection: string;
|
|
399
|
+
verticalDirection: string;
|
|
400
|
+
leftToRight: string;
|
|
401
|
+
rightToLeft: string;
|
|
389
402
|
horizontal: string;
|
|
390
403
|
vertical: string;
|
|
391
404
|
imageWidth: string;
|
|
405
|
+
componentHeight: string;
|
|
392
406
|
addImage: string;
|
|
393
407
|
changeImage: string;
|
|
394
408
|
previewText: string;
|
|
@@ -1249,6 +1263,7 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
1249
1263
|
};
|
|
1250
1264
|
colorPicker: {
|
|
1251
1265
|
default: string;
|
|
1266
|
+
remove: string;
|
|
1252
1267
|
standard: string;
|
|
1253
1268
|
recent: string;
|
|
1254
1269
|
more: string;
|
|
@@ -1740,6 +1755,10 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
1740
1755
|
};
|
|
1741
1756
|
};
|
|
1742
1757
|
zh: {
|
|
1758
|
+
videoPlayer: {
|
|
1759
|
+
captureFrame: string;
|
|
1760
|
+
captureFailed: string;
|
|
1761
|
+
};
|
|
1743
1762
|
formatting: {
|
|
1744
1763
|
none: string;
|
|
1745
1764
|
labels: {
|
|
@@ -2116,6 +2135,12 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
2116
2135
|
caption: string;
|
|
2117
2136
|
captionPlaceholder: string;
|
|
2118
2137
|
fit: string;
|
|
2138
|
+
imageVerticalAlign: string;
|
|
2139
|
+
verticalAlignOptions: {
|
|
2140
|
+
top: string;
|
|
2141
|
+
center: string;
|
|
2142
|
+
bottom: string;
|
|
2143
|
+
};
|
|
2119
2144
|
fitOptions: {
|
|
2120
2145
|
contain: string;
|
|
2121
2146
|
cover: string;
|
|
@@ -2127,9 +2152,13 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
2127
2152
|
leftImage: string;
|
|
2128
2153
|
leftText: string;
|
|
2129
2154
|
textDirection: string;
|
|
2155
|
+
verticalDirection: string;
|
|
2156
|
+
leftToRight: string;
|
|
2157
|
+
rightToLeft: string;
|
|
2130
2158
|
horizontal: string;
|
|
2131
2159
|
vertical: string;
|
|
2132
2160
|
imageWidth: string;
|
|
2161
|
+
componentHeight: string;
|
|
2133
2162
|
addImage: string;
|
|
2134
2163
|
changeImage: string;
|
|
2135
2164
|
previewText: string;
|
|
@@ -2988,6 +3017,7 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
2988
3017
|
};
|
|
2989
3018
|
colorPicker: {
|
|
2990
3019
|
default: string;
|
|
3020
|
+
remove: string;
|
|
2991
3021
|
standard: string;
|
|
2992
3022
|
recent: string;
|
|
2993
3023
|
more: string;
|
|
@@ -3473,6 +3503,10 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
3473
3503
|
};
|
|
3474
3504
|
};
|
|
3475
3505
|
'zh-CN': {
|
|
3506
|
+
videoPlayer: {
|
|
3507
|
+
captureFrame: string;
|
|
3508
|
+
captureFailed: string;
|
|
3509
|
+
};
|
|
3476
3510
|
formatting: {
|
|
3477
3511
|
none: string;
|
|
3478
3512
|
labels: {
|
|
@@ -3849,6 +3883,12 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
3849
3883
|
caption: string;
|
|
3850
3884
|
captionPlaceholder: string;
|
|
3851
3885
|
fit: string;
|
|
3886
|
+
imageVerticalAlign: string;
|
|
3887
|
+
verticalAlignOptions: {
|
|
3888
|
+
top: string;
|
|
3889
|
+
center: string;
|
|
3890
|
+
bottom: string;
|
|
3891
|
+
};
|
|
3852
3892
|
fitOptions: {
|
|
3853
3893
|
contain: string;
|
|
3854
3894
|
cover: string;
|
|
@@ -3860,9 +3900,13 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
3860
3900
|
leftImage: string;
|
|
3861
3901
|
leftText: string;
|
|
3862
3902
|
textDirection: string;
|
|
3903
|
+
verticalDirection: string;
|
|
3904
|
+
leftToRight: string;
|
|
3905
|
+
rightToLeft: string;
|
|
3863
3906
|
horizontal: string;
|
|
3864
3907
|
vertical: string;
|
|
3865
3908
|
imageWidth: string;
|
|
3909
|
+
componentHeight: string;
|
|
3866
3910
|
addImage: string;
|
|
3867
3911
|
changeImage: string;
|
|
3868
3912
|
previewText: string;
|
|
@@ -4721,6 +4765,7 @@ export declare const i18n: import("vue-i18n").I18n<{
|
|
|
4721
4765
|
};
|
|
4722
4766
|
colorPicker: {
|
|
4723
4767
|
default: string;
|
|
4768
|
+
remove: string;
|
|
4724
4769
|
standard: string;
|
|
4725
4770
|
recent: string;
|
|
4726
4771
|
more: string;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
|
|
1
|
+
import '@videojs/html/video/player';
|
|
2
|
+
import './video-skin';
|
|
3
|
+
import '@videojs/html/audio/player';
|
|
4
|
+
import '@videojs/html/audio/neutral-skin';
|
|
5
|
+
import '@videojs/html/i18n';
|
|
6
|
+
import '@videojs/html/i18n/locales/zh-CN/register';
|
|
7
|
+
import '@/assets/styles/player.less';
|
|
8
|
+
export declare const player: (media: HTMLMediaElement) => {
|
|
9
|
+
controls: HTMLDivElement;
|
|
10
|
+
poster: string;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const saveVideoFrame: (video: HTMLVideoElement) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@videojs/html/video/neutral-skin';
|