@agilehub/agile-editor 1.8.5 → 1.9.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 (37) hide show
  1. package/dist/agile-editor.css +1 -1
  2. package/dist/agile-editor.js +31160 -14002
  3. package/dist/{i18n-DZxiNlPY.js → i18n-CChALhQN.js} +36 -2
  4. package/dist/types/components/editor/table-background-control.vue.d.ts +1 -1
  5. package/dist/types/components/index.vue.d.ts +55 -4
  6. package/dist/types/components/menus/bubble/menus.vue.d.ts +2 -2
  7. package/dist/types/components/menus/toolbar/insert/emoji.vue.d.ts +3 -0
  8. package/dist/types/components/picker/color-panel.vue.d.ts +37 -0
  9. package/dist/types/components/picker/color.vue.d.ts +9 -0
  10. package/dist/types/components/preview-toolbar/drawing-layer.vue.d.ts +1 -1
  11. package/dist/types/components/statusbar/countdown.vue.d.ts +2 -2
  12. package/dist/types/composables/i18n.d.ts +51 -0
  13. package/dist/types/extensions/bubble-note-extensions.d.ts +1 -1
  14. package/dist/types/i18n.d.ts +51 -0
  15. package/dist/types/options/config/dicts.d.ts +8 -1
  16. package/dist/types/options/config/emojis.d.ts +15 -0
  17. package/dist/types/options/config/index.d.ts +8 -1
  18. package/dist/types/utils/emoji-search.d.ts +21 -0
  19. package/dist/types/utils/player.d.ts +12 -4
  20. package/dist/types/utils/video-frame.d.ts +1 -0
  21. package/dist/types/utils/video-skin.d.ts +1 -0
  22. package/dist/{viewer-DWO1FZ3A.js → viewer-Cv5V0Gjs.js} +2 -2
  23. package/docs/FORMATTING_TEMPLATES.md +253 -253
  24. package/docs/FORMATTING_TEMPLATE_BUSINESS_GUIDE.md +536 -536
  25. package/docs/SECONDARY_DEVELOPMENT.md +799 -799
  26. package/docs/features.md +1 -1
  27. package/docs/superpowers/plans/2026-11-27-table-reset-controls.md +185 -185
  28. package/docs/superpowers/plans/2026-11-28-bubble-note-rich-content.md +101 -101
  29. package/docs/superpowers/plans/2026-11-28-image-replace.md +190 -190
  30. package/docs/superpowers/plans/2026-11-28-table-image-resize-preview.md +121 -121
  31. package/docs/superpowers/plans/2026-11-28-table-property-category-actions.md +192 -192
  32. package/docs/superpowers/specs/2026-11-27-table-reset-controls-design.md +66 -66
  33. package/docs/superpowers/specs/2026-11-28-bubble-note-rich-content-design.md +64 -64
  34. package/docs/superpowers/specs/2026-11-28-image-replace-design.md +40 -40
  35. package/docs/superpowers/specs/2026-11-28-table-image-resize-preview-design.md +30 -30
  36. package/docs/superpowers/specs/2026-11-28-table-property-category-actions-design.md +63 -63
  37. package/package.json +165 -165
@@ -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;
@@ -399,6 +413,8 @@ export declare const i18n: import("vue-i18n").I18n<{
399
413
  codeBlock: string;
400
414
  date: string;
401
415
  emoji: string;
416
+ "emoji-search": string;
417
+ "emoji-empty": string;
402
418
  file: string;
403
419
  importDocx: {
404
420
  text: string;
@@ -1249,6 +1265,7 @@ export declare const i18n: import("vue-i18n").I18n<{
1249
1265
  };
1250
1266
  colorPicker: {
1251
1267
  default: string;
1268
+ remove: string;
1252
1269
  standard: string;
1253
1270
  recent: string;
1254
1271
  more: string;
@@ -1740,6 +1757,10 @@ export declare const i18n: import("vue-i18n").I18n<{
1740
1757
  };
1741
1758
  };
1742
1759
  zh: {
1760
+ videoPlayer: {
1761
+ captureFrame: string;
1762
+ captureFailed: string;
1763
+ };
1743
1764
  formatting: {
1744
1765
  none: string;
1745
1766
  labels: {
@@ -2116,6 +2137,12 @@ export declare const i18n: import("vue-i18n").I18n<{
2116
2137
  caption: string;
2117
2138
  captionPlaceholder: string;
2118
2139
  fit: string;
2140
+ imageVerticalAlign: string;
2141
+ verticalAlignOptions: {
2142
+ top: string;
2143
+ center: string;
2144
+ bottom: string;
2145
+ };
2119
2146
  fitOptions: {
2120
2147
  contain: string;
2121
2148
  cover: string;
@@ -2127,9 +2154,13 @@ export declare const i18n: import("vue-i18n").I18n<{
2127
2154
  leftImage: string;
2128
2155
  leftText: string;
2129
2156
  textDirection: string;
2157
+ verticalDirection: string;
2158
+ leftToRight: string;
2159
+ rightToLeft: string;
2130
2160
  horizontal: string;
2131
2161
  vertical: string;
2132
2162
  imageWidth: string;
2163
+ componentHeight: string;
2133
2164
  addImage: string;
2134
2165
  changeImage: string;
2135
2166
  previewText: string;
@@ -2140,6 +2171,8 @@ export declare const i18n: import("vue-i18n").I18n<{
2140
2171
  codeBlock: string;
2141
2172
  date: string;
2142
2173
  emoji: string;
2174
+ "emoji-search": string;
2175
+ "emoji-empty": string;
2143
2176
  file: string;
2144
2177
  importDocx: {
2145
2178
  text: string;
@@ -2988,6 +3021,7 @@ export declare const i18n: import("vue-i18n").I18n<{
2988
3021
  };
2989
3022
  colorPicker: {
2990
3023
  default: string;
3024
+ remove: string;
2991
3025
  standard: string;
2992
3026
  recent: string;
2993
3027
  more: string;
@@ -3473,6 +3507,10 @@ export declare const i18n: import("vue-i18n").I18n<{
3473
3507
  };
3474
3508
  };
3475
3509
  'zh-CN': {
3510
+ videoPlayer: {
3511
+ captureFrame: string;
3512
+ captureFailed: string;
3513
+ };
3476
3514
  formatting: {
3477
3515
  none: string;
3478
3516
  labels: {
@@ -3849,6 +3887,12 @@ export declare const i18n: import("vue-i18n").I18n<{
3849
3887
  caption: string;
3850
3888
  captionPlaceholder: string;
3851
3889
  fit: string;
3890
+ imageVerticalAlign: string;
3891
+ verticalAlignOptions: {
3892
+ top: string;
3893
+ center: string;
3894
+ bottom: string;
3895
+ };
3852
3896
  fitOptions: {
3853
3897
  contain: string;
3854
3898
  cover: string;
@@ -3860,9 +3904,13 @@ export declare const i18n: import("vue-i18n").I18n<{
3860
3904
  leftImage: string;
3861
3905
  leftText: string;
3862
3906
  textDirection: string;
3907
+ verticalDirection: string;
3908
+ leftToRight: string;
3909
+ rightToLeft: string;
3863
3910
  horizontal: string;
3864
3911
  vertical: string;
3865
3912
  imageWidth: string;
3913
+ componentHeight: string;
3866
3914
  addImage: string;
3867
3915
  changeImage: string;
3868
3916
  previewText: string;
@@ -3873,6 +3921,8 @@ export declare const i18n: import("vue-i18n").I18n<{
3873
3921
  codeBlock: string;
3874
3922
  date: string;
3875
3923
  emoji: string;
3924
+ "emoji-search": string;
3925
+ "emoji-empty": string;
3876
3926
  file: string;
3877
3927
  importDocx: {
3878
3928
  text: string;
@@ -4721,6 +4771,7 @@ export declare const i18n: import("vue-i18n").I18n<{
4721
4771
  };
4722
4772
  colorPicker: {
4723
4773
  default: string;
4774
+ remove: string;
4724
4775
  standard: string;
4725
4776
  recent: string;
4726
4777
  more: string;
@@ -45,7 +45,14 @@ declare const _default: {
45
45
  en_US: string;
46
46
  zh_CN: string;
47
47
  };
48
- items: string;
48
+ items: {
49
+ value: string;
50
+ label: {
51
+ zh_CN: string;
52
+ en_US: string;
53
+ };
54
+ keywords: string[];
55
+ }[];
49
56
  }[];
50
57
  pageSizes: ({
51
58
  label: string;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ label: {
3
+ en_US: string;
4
+ zh_CN: string;
5
+ };
6
+ items: {
7
+ value: string;
8
+ label: {
9
+ zh_CN: string;
10
+ en_US: string;
11
+ };
12
+ keywords: string[];
13
+ }[];
14
+ }[];
15
+ export default _default;
@@ -47,7 +47,14 @@ declare const _default: {
47
47
  en_US: string;
48
48
  zh_CN: string;
49
49
  };
50
- items: string;
50
+ items: {
51
+ value: string;
52
+ label: {
53
+ zh_CN: string;
54
+ en_US: string;
55
+ };
56
+ keywords: string[];
57
+ }[];
51
58
  }[];
52
59
  pageSizes: ({
53
60
  label: string;
@@ -0,0 +1,21 @@
1
+ type EmojiLabel = string | {
2
+ zh_CN?: string;
3
+ en_US?: string;
4
+ };
5
+ export type EmojiItem = {
6
+ value: string;
7
+ label: EmojiLabel;
8
+ keywords?: string[];
9
+ };
10
+ type EmojiGroup = {
11
+ label: EmojiLabel;
12
+ items: string | EmojiItem[];
13
+ };
14
+ export declare const filterEmojiGroups: (groups: EmojiGroup[], query: string) => {
15
+ items: (EmojiItem | {
16
+ value: string;
17
+ label: string;
18
+ })[];
19
+ label: EmojiLabel;
20
+ }[];
21
+ export {};
@@ -1,4 +1,12 @@
1
- import Plyr from 'plyr';
2
- import 'plyr/dist/plyr.css';
3
- import '@/assets/styles/plyr.less';
4
- export declare const player: (container: HTMLMediaElement) => Plyr;
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';
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @agilehub/agile-editor 1.8.5
2
+ * @agilehub/agile-editor 1.9.0
3
3
  * @license Apache-2.0
4
4
  * @author undefined undefined
5
5
  * @see undefined
6
6
  **/
7
7
  import "./agile-editor.css";
8
- import { a as e, n as t } from "./i18n-DZxiNlPY.js";
8
+ import { a as e, n as t } from "./i18n-CChALhQN.js";
9
9
  import { createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, guardReactiveProps as s, markRaw as c, normalizeProps as l, onMounted as u, openBlock as d, ref as f, renderSlot as p, resolveDynamicComponent as m, shallowRef as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
10
10
  //#region src/extensions/smart-sheet/viewer.vue?vue&type=script&setup=true&lang.ts
11
11
  var y = { class: "agile-smart-sheet-viewer" }, b = {