@agilehub/agile-editor 1.8.2 → 1.8.5

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 (119) hide show
  1. package/dist/agile-editor.css +1 -1
  2. package/dist/agile-editor.js +23702 -14755
  3. package/dist/{i18n-DID6uqiw.js → i18n-DZxiNlPY.js} +483 -520
  4. package/dist/types/components/editor/callout-dialog.vue.d.ts +48 -0
  5. package/dist/types/components/editor/callout-gradient-editor.vue.d.ts +12 -0
  6. package/dist/types/components/editor/figure-caption-numbering-dialog.vue.d.ts +30 -0
  7. package/dist/types/components/editor/image-text-dialog.vue.d.ts +13 -0
  8. package/dist/types/components/editor/index.vue.d.ts +2 -2
  9. package/dist/types/components/editor/table-background-control.vue.d.ts +11 -0
  10. package/dist/types/components/editor/table-cell-properties.vue.d.ts +8 -0
  11. package/dist/types/components/editor/table-property-section.vue.d.ts +22 -0
  12. package/dist/types/components/index.d.ts +2 -0
  13. package/dist/types/components/index.vue.d.ts +1057 -19
  14. package/dist/types/components/menus/bubble/image/replace.vue.d.ts +3 -0
  15. package/dist/types/components/menus/bubble/image/size.vue.d.ts +3 -0
  16. package/dist/types/components/menus/bubble/image-text/delete.vue.d.ts +3 -0
  17. package/dist/types/components/menus/bubble/image-text/edit.vue.d.ts +3 -0
  18. package/dist/types/components/menus/bubble/image-text/target.d.ts +5 -0
  19. package/dist/types/components/menus/bubble/link/edit.vue.d.ts +3 -0
  20. package/dist/types/components/menus/bubble/menus.vue.d.ts +2 -2
  21. package/dist/types/components/menus/toolbar/tools/bubble-note-editor.vue.d.ts +52 -0
  22. package/dist/types/components/menus/toolbar/tools/bubble-note-image.d.ts +3 -0
  23. package/dist/types/components/menus/toolbar/tools/bubble-note.vue.d.ts +9 -0
  24. package/dist/types/components/menus/toolbar/tools/figure-caption-numbering.vue.d.ts +17 -0
  25. package/dist/types/components/toolbar/classic.vue.d.ts +10 -10
  26. package/dist/types/components/toolbar/ribbon.vue.d.ts +10 -10
  27. package/dist/types/composables/i18n.d.ts +1056 -18
  28. package/dist/types/extensions/bubble-note-content.d.ts +48 -0
  29. package/dist/types/extensions/bubble-note-extensions.d.ts +12 -0
  30. package/dist/types/extensions/bubble-note-render.d.ts +1 -0
  31. package/dist/types/extensions/bubble-note.d.ts +5 -0
  32. package/dist/types/extensions/callout/index.d.ts +3 -3
  33. package/dist/types/extensions/callout/title-view.vue.d.ts +93 -0
  34. package/dist/types/extensions/callout/title.d.ts +7 -0
  35. package/dist/types/extensions/code-block/index.d.ts +8 -0
  36. package/dist/types/extensions/columns/schema.d.ts +6 -1
  37. package/dist/types/extensions/courseware/reader-visibility.d.ts +6 -0
  38. package/dist/types/extensions/file/index.d.ts +4 -0
  39. package/dist/types/extensions/image/automatic-attributes.d.ts +6 -0
  40. package/dist/types/extensions/image/paste.d.ts +3 -0
  41. package/dist/types/extensions/indent.d.ts +1 -0
  42. package/dist/types/extensions/insert-newline.d.ts +2 -3
  43. package/dist/types/extensions/math/index.d.ts +2 -1
  44. package/dist/types/extensions/smart-sheet/model.d.ts +5 -0
  45. package/dist/types/extensions/table-column-resize.d.ts +15 -0
  46. package/dist/types/extensions/table.d.ts +29 -0
  47. package/dist/types/extensions/timeline/content.vue.d.ts +1 -0
  48. package/dist/types/extensions/timeline/index.d.ts +3 -6
  49. package/dist/types/extensions/timeline/model.d.ts +18 -15
  50. package/dist/types/extensions/trailing-node.d.ts +14 -0
  51. package/dist/types/i18n.d.ts +1056 -18
  52. package/dist/types/options/config/callout-assets.d.ts +3 -0
  53. package/dist/types/options/config/callout-color-picker.d.ts +13 -0
  54. package/dist/types/options/config/callout-templates.d.ts +66 -0
  55. package/dist/types/options/config/index.d.ts +12 -0
  56. package/dist/types/options/config/table-color-picker.d.ts +6 -0
  57. package/dist/types/utils/base64url.d.ts +2 -0
  58. package/dist/types/utils/block-menu.d.ts +1 -0
  59. package/dist/types/utils/bookmark-attributes.d.ts +2 -0
  60. package/dist/types/utils/bubble-note-selection.d.ts +7 -0
  61. package/dist/types/utils/callout.d.ts +204 -0
  62. package/dist/types/utils/caption-numbering.d.ts +62 -0
  63. package/dist/types/utils/code-block-indent.d.ts +15 -0
  64. package/dist/types/utils/column-width.d.ts +9 -0
  65. package/dist/types/utils/document-attributes.d.ts +3 -0
  66. package/dist/types/utils/document-import.d.ts +4 -0
  67. package/dist/types/utils/document-loading.d.ts +14 -0
  68. package/dist/types/utils/document-save.d.ts +5 -0
  69. package/dist/types/utils/editor-active.d.ts +9 -0
  70. package/dist/types/utils/editor-scroll.d.ts +1 -0
  71. package/dist/types/utils/editor-view.d.ts +12 -0
  72. package/dist/types/utils/figure-caption-numbering.d.ts +19 -0
  73. package/dist/types/utils/figure-caption-visibility.d.ts +8 -0
  74. package/dist/types/utils/file-name.d.ts +4 -0
  75. package/dist/types/utils/file.d.ts +5 -2
  76. package/dist/types/utils/font-size.d.ts +2 -0
  77. package/dist/types/utils/formula-size.d.ts +23 -0
  78. package/dist/types/utils/iframe.d.ts +5 -0
  79. package/dist/types/utils/image-display-size.d.ts +13 -0
  80. package/dist/types/utils/image-file-caption.d.ts +11 -0
  81. package/dist/types/utils/image-replacement.d.ts +31 -0
  82. package/dist/types/utils/image-source.d.ts +2 -0
  83. package/dist/types/utils/inline-style.d.ts +9 -0
  84. package/dist/types/utils/insert-newline-position.d.ts +23 -0
  85. package/dist/types/utils/link.d.ts +5 -0
  86. package/dist/types/utils/pointer-hover-scheduler.d.ts +9 -0
  87. package/dist/types/utils/selection.d.ts +2 -1
  88. package/dist/types/utils/source-attributes.d.ts +7 -0
  89. package/dist/types/utils/style-target.d.ts +4 -0
  90. package/dist/types/utils/table-appearance.d.ts +33 -0
  91. package/dist/types/utils/table-attributes.d.ts +14 -0
  92. package/dist/types/utils/table-border.d.ts +38 -0
  93. package/dist/types/utils/table-caption-numbering.d.ts +19 -0
  94. package/dist/types/utils/table-caption-visibility.d.ts +32 -0
  95. package/dist/types/utils/table-column-resize.d.ts +10 -0
  96. package/dist/types/utils/table-layout.d.ts +10 -0
  97. package/dist/types/utils/table-properties.d.ts +39 -0
  98. package/dist/types/utils/table-reset.d.ts +23 -0
  99. package/dist/types/utils/table-row-resize.d.ts +8 -0
  100. package/dist/types/utils/table-selection.d.ts +18 -0
  101. package/dist/types/utils/thousands-separator.d.ts +1 -0
  102. package/dist/types/utils/tracking-attributes.d.ts +8 -0
  103. package/dist/{viewer-CoKl4QoQ.js → viewer-DWO1FZ3A.js} +2 -2
  104. package/docs/SECONDARY_DEVELOPMENT.md +799 -795
  105. package/docs/superpowers/plans/2026-11-27-table-reset-controls.md +185 -0
  106. package/docs/superpowers/plans/2026-11-28-bubble-note-rich-content.md +101 -0
  107. package/docs/superpowers/plans/2026-11-28-image-replace.md +190 -0
  108. package/docs/superpowers/plans/2026-11-28-table-image-resize-preview.md +121 -0
  109. package/docs/superpowers/plans/2026-11-28-table-property-category-actions.md +192 -0
  110. package/docs/superpowers/specs/2026-11-27-table-reset-controls-design.md +66 -0
  111. package/docs/superpowers/specs/2026-11-28-bubble-note-rich-content-design.md +64 -0
  112. package/docs/superpowers/specs/2026-11-28-image-replace-design.md +40 -0
  113. package/docs/superpowers/specs/2026-11-28-table-image-resize-preview-design.md +30 -0
  114. package/docs/superpowers/specs/2026-11-28-table-property-category-actions-design.md +63 -0
  115. package/package.json +4 -4
  116. package/dist/types/components/menus/bubble/callout/background.vue.d.ts +0 -7
  117. package/dist/types/components/menus/bubble/callout/emoji-remove.vue.d.ts +0 -7
  118. /package/dist/types/components/{menus/bubble/callout/builtin.vue.d.ts → editor/table-cell-context-menu.vue.d.ts} +0 -0
  119. /package/dist/types/components/{menus/bubble/image/open.vue.d.ts → editor/table-quick-toolbar.vue.d.ts} +0 -0
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -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,5 @@
1
+ import { type EditorState } from '@tiptap/pm/state';
2
+ export declare const getImageTextTarget: (state: EditorState) => {
3
+ node: import("@tiptap/pm/model").Node;
4
+ position: number;
5
+ };
@@ -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,9 +1,9 @@
1
- declare var __VLS_401: {
1
+ declare var __VLS_411: {
2
2
  nodeType: any;
3
3
  nodeAttrs: any;
4
4
  };
5
5
  type __VLS_Slots = {} & {
6
- bubble_menu?: (props: typeof __VLS_401) => any;
6
+ bubble_menu?: (props: typeof __VLS_411) => 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,52 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
+ modelValue: {
3
+ type: ObjectConstructor;
4
+ default: any;
5
+ };
6
+ legacyText: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ limits: {
11
+ type: ObjectConstructor;
12
+ default: () => {};
13
+ };
14
+ }>, {
15
+ commit: (value: unknown) => void;
16
+ focus: () => void;
17
+ getContent: () => {
18
+ type: string;
19
+ content: any;
20
+ };
21
+ getValidation: () => import("@/extensions/bubble-note-content").BubbleNoteValidationResult;
22
+ hasPendingUploads: () => boolean;
23
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:modelValue": (...args: any[]) => void;
25
+ "update:stats": (...args: any[]) => void;
26
+ "update:dirty": (...args: any[]) => void;
27
+ "update:uploading": (...args: any[]) => void;
28
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
29
+ modelValue: {
30
+ type: ObjectConstructor;
31
+ default: any;
32
+ };
33
+ legacyText: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ limits: {
38
+ type: ObjectConstructor;
39
+ default: () => {};
40
+ };
41
+ }>> & Readonly<{
42
+ "onUpdate:modelValue"?: (...args: any[]) => any;
43
+ "onUpdate:stats"?: (...args: any[]) => any;
44
+ "onUpdate:dirty"?: (...args: any[]) => any;
45
+ "onUpdate:uploading"?: (...args: any[]) => any;
46
+ }>, {
47
+ modelValue: Record<string, any>;
48
+ legacyText: string;
49
+ limits: Record<string, any>;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
+ declare const _default: typeof __VLS_export;
52
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { Node } from '@tiptap/core';
2
+ declare const _default: Node<any, any>;
3
+ export default _default;
@@ -7,6 +7,10 @@ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractProp
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ icoSize: {
11
+ type: StringConstructor;
12
+ default: any;
13
+ };
10
14
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
11
15
  dialogOnly: {
12
16
  type: BooleanConstructor;
@@ -16,7 +20,12 @@ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractProp
16
20
  type: BooleanConstructor;
17
21
  default: boolean;
18
22
  };
23
+ icoSize: {
24
+ type: StringConstructor;
25
+ default: any;
26
+ };
19
27
  }>> & Readonly<{}>, {
28
+ icoSize: string;
20
29
  dialogOnly: boolean;
21
30
  triggerOnly: boolean;
22
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,17 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
+ captionType: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ validator: (value: string) => boolean;
6
+ };
7
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
8
+ captionType: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ validator: (value: string) => boolean;
12
+ };
13
+ }>> & Readonly<{}>, {
14
+ captionType: string;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -5,15 +5,15 @@ declare var __VLS_172: {
5
5
  toolbarMode: string;
6
6
  }, __VLS_401: {
7
7
  toolbarMode: string;
8
- }, __VLS_463: {
8
+ }, __VLS_473: {
9
9
  toolbarMode: string;
10
- }, __VLS_505: {
10
+ }, __VLS_515: {
11
11
  toolbarMode: string;
12
- }, __VLS_507: {
12
+ }, __VLS_517: {
13
13
  toolbarMode: string;
14
- }, __VLS_509: {
14
+ }, __VLS_519: {
15
15
  toolbarMode: string;
16
- }, __VLS_511: {
16
+ }, __VLS_521: {
17
17
  toolbarMode: string;
18
18
  };
19
19
  type __VLS_Slots = {} & {
@@ -23,15 +23,15 @@ type __VLS_Slots = {} & {
23
23
  } & {
24
24
  toolbar_table?: (props: typeof __VLS_401) => any;
25
25
  } & {
26
- toolbar_tools?: (props: typeof __VLS_463) => any;
26
+ toolbar_tools?: (props: typeof __VLS_473) => any;
27
27
  } & {
28
- toolbar_view?: (props: typeof __VLS_505) => any;
28
+ toolbar_view?: (props: typeof __VLS_515) => any;
29
29
  } & {
30
- toolbar_review?: (props: typeof __VLS_507) => any;
30
+ toolbar_review?: (props: typeof __VLS_517) => any;
31
31
  } & {
32
- toolbar_extension?: (props: typeof __VLS_509) => any;
32
+ toolbar_extension?: (props: typeof __VLS_519) => any;
33
33
  } & {
34
- toolbar_enhancement?: (props: typeof __VLS_511) => any;
34
+ toolbar_enhancement?: (props: typeof __VLS_521) => any;
35
35
  };
36
36
  declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
37
37
  menus: {
@@ -5,15 +5,15 @@ declare var __VLS_173: {
5
5
  toolbarMode: string;
6
6
  }, __VLS_402: {
7
7
  toolbarMode: string;
8
- }, __VLS_464: {
8
+ }, __VLS_474: {
9
9
  toolbarMode: string;
10
- }, __VLS_506: {
10
+ }, __VLS_516: {
11
11
  toolbarMode: string;
12
- }, __VLS_508: {
12
+ }, __VLS_518: {
13
13
  toolbarMode: string;
14
- }, __VLS_510: {
14
+ }, __VLS_520: {
15
15
  toolbarMode: string;
16
- }, __VLS_512: {
16
+ }, __VLS_522: {
17
17
  toolbarMode: string;
18
18
  };
19
19
  type __VLS_Slots = {} & {
@@ -23,15 +23,15 @@ type __VLS_Slots = {} & {
23
23
  } & {
24
24
  toolbar_table?: (props: typeof __VLS_402) => any;
25
25
  } & {
26
- toolbar_tools?: (props: typeof __VLS_464) => any;
26
+ toolbar_tools?: (props: typeof __VLS_474) => any;
27
27
  } & {
28
- toolbar_view?: (props: typeof __VLS_506) => any;
28
+ toolbar_view?: (props: typeof __VLS_516) => any;
29
29
  } & {
30
- toolbar_review?: (props: typeof __VLS_508) => any;
30
+ toolbar_review?: (props: typeof __VLS_518) => any;
31
31
  } & {
32
- toolbar_extension?: (props: typeof __VLS_510) => any;
32
+ toolbar_extension?: (props: typeof __VLS_520) => any;
33
33
  } & {
34
- toolbar_enhancement?: (props: typeof __VLS_512) => any;
34
+ toolbar_enhancement?: (props: typeof __VLS_522) => any;
35
35
  };
36
36
  declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
37
37
  menus: {