@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.
Files changed (47) hide show
  1. package/README.md +1 -0
  2. package/dist/agile-editor.css +1 -1
  3. package/dist/agile-editor.js +18325 -18426
  4. package/dist/i18n-DCR9QpaV.js +2785 -0
  5. package/dist/types/components/editor/index.vue.d.ts +2 -2
  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 +384 -22
  9. package/dist/types/components/menus/button.vue.d.ts +1 -1
  10. package/dist/types/components/menus/toolbar/insert/bookmark.vue.d.ts +24 -0
  11. package/dist/types/components/menus/toolbar/insert/courseware.vue.d.ts +3 -0
  12. package/dist/types/components/menus/toolbar/insert/smart-sheet.vue.d.ts +3 -0
  13. package/dist/types/components/preview-toolbar/index.vue.d.ts +2 -2
  14. package/dist/types/components/toolbar/classic.vue.d.ts +19 -11
  15. package/dist/types/components/toolbar/ribbon.vue.d.ts +19 -11
  16. package/dist/types/composables/i18n.d.ts +375 -18
  17. package/dist/types/extensions/bookmark-transaction.d.ts +4 -0
  18. package/dist/types/extensions/bookmark.d.ts +8 -5
  19. package/dist/types/extensions/bubble-note.d.ts +1 -0
  20. package/dist/types/extensions/courseware/annotation-session.d.ts +4 -0
  21. package/dist/types/extensions/courseware/index.d.ts +49 -0
  22. package/dist/types/extensions/courseware/model.d.ts +20 -0
  23. package/dist/types/extensions/courseware/node-view.vue.d.ts +93 -0
  24. package/dist/types/extensions/courseware/reader.vue.d.ts +22 -0
  25. package/dist/types/extensions/smart-sheet/index.d.ts +47 -0
  26. package/dist/types/extensions/smart-sheet/model.d.ts +18 -0
  27. package/dist/types/extensions/smart-sheet/node-view.vue.d.ts +93 -0
  28. package/dist/types/extensions/smart-sheet/viewer.vue.d.ts +36 -0
  29. package/dist/types/i18n.d.ts +375 -18
  30. package/dist/types/options/config/index.d.ts +2 -0
  31. package/dist/types/utils/bubble-note-icon.d.ts +1 -0
  32. package/dist/types/utils/document-formatting.d.ts +41 -37
  33. package/dist/types/utils/document-import.d.ts +2 -0
  34. package/dist/types/utils/html-element-id.d.ts +9 -2
  35. package/dist/types/utils/md5.d.ts +2 -0
  36. package/dist/viewer-CyuLA7YS.js +97 -0
  37. package/docs/FORMATTING_TEMPLATES.md +253 -250
  38. package/docs/FORMATTING_TEMPLATE_BUSINESS_GUIDE.md +536 -0
  39. package/docs/README.md +1 -0
  40. package/docs/SECONDARY_DEVELOPMENT.md +1 -1
  41. package/docs/api.md +43 -0
  42. package/docs/configuration.md +82 -0
  43. package/docs/custom-components.md +1 -1
  44. package/docs/development.md +6 -2
  45. package/docs/menu-extension.md +26 -1
  46. package/package.json +165 -153
  47. /package/dist/types/components/{menus/toolbar/view/preview.vue.d.ts → editor/courseware-dialog.vue.d.ts} +0 -0
@@ -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,24 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
+ dialogOnly: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ triggerOnly: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
11
+ dialogOnly: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ triggerOnly: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ dialogOnly: boolean;
21
+ triggerOnly: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ 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;
@@ -185,11 +185,11 @@ declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractProp
185
185
  autoWidth: boolean;
186
186
  laserPointer: boolean;
187
187
  visible: boolean;
188
- zoomLevel: number;
189
188
  attach: PreviewToolbarAttach;
189
+ floating: boolean;
190
+ zoomLevel: number;
190
191
  minZoom: number;
191
192
  maxZoom: number;
192
- floating: boolean;
193
193
  drawingTarget: PreviewDrawingTarget;
194
194
  drawingColor: string;
195
195
  drawingWidth: number;
@@ -1,29 +1,37 @@
1
- import type { PropType } from "vue";
1
+ import type { PropType } from 'vue';
2
2
  declare var __VLS_172: {
3
3
  toolbarMode: string;
4
- }, __VLS_274: {
4
+ }, __VLS_289: {
5
5
  toolbarMode: string;
6
- }, __VLS_386: {
6
+ }, __VLS_401: {
7
7
  toolbarMode: string;
8
- }, __VLS_443: {
8
+ }, __VLS_458: {
9
9
  toolbarMode: string;
10
- }, __VLS_490: {
10
+ }, __VLS_500: {
11
11
  toolbarMode: string;
12
- }, __VLS_492: {
12
+ }, __VLS_502: {
13
+ toolbarMode: string;
14
+ }, __VLS_504: {
15
+ toolbarMode: string;
16
+ }, __VLS_506: {
13
17
  toolbarMode: string;
14
18
  };
15
19
  type __VLS_Slots = {} & {
16
20
  toolbar_base?: (props: typeof __VLS_172) => any;
17
21
  } & {
18
- toolbar_insert?: (props: typeof __VLS_274) => any;
22
+ toolbar_insert?: (props: typeof __VLS_289) => any;
23
+ } & {
24
+ toolbar_table?: (props: typeof __VLS_401) => any;
25
+ } & {
26
+ toolbar_tools?: (props: typeof __VLS_458) => any;
19
27
  } & {
20
- toolbar_table?: (props: typeof __VLS_386) => any;
28
+ toolbar_view?: (props: typeof __VLS_500) => any;
21
29
  } & {
22
- toolbar_tools?: (props: typeof __VLS_443) => any;
30
+ toolbar_review?: (props: typeof __VLS_502) => any;
23
31
  } & {
24
- toolbar_view?: (props: typeof __VLS_490) => any;
32
+ toolbar_extension?: (props: typeof __VLS_504) => any;
25
33
  } & {
26
- toolbar_copyediting?: (props: typeof __VLS_492) => any;
34
+ toolbar_enhancement?: (props: typeof __VLS_506) => any;
27
35
  };
28
36
  declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
29
37
  menus: {
@@ -1,29 +1,37 @@
1
- import type { PropType } from "vue";
1
+ import type { PropType } from 'vue';
2
2
  declare var __VLS_173: {
3
3
  toolbarMode: string;
4
- }, __VLS_275: {
4
+ }, __VLS_290: {
5
5
  toolbarMode: string;
6
- }, __VLS_387: {
6
+ }, __VLS_402: {
7
7
  toolbarMode: string;
8
- }, __VLS_444: {
8
+ }, __VLS_459: {
9
9
  toolbarMode: string;
10
- }, __VLS_491: {
10
+ }, __VLS_501: {
11
11
  toolbarMode: string;
12
- }, __VLS_493: {
12
+ }, __VLS_503: {
13
+ toolbarMode: string;
14
+ }, __VLS_505: {
15
+ toolbarMode: string;
16
+ }, __VLS_507: {
13
17
  toolbarMode: string;
14
18
  };
15
19
  type __VLS_Slots = {} & {
16
20
  toolbar_base?: (props: typeof __VLS_173) => any;
17
21
  } & {
18
- toolbar_insert?: (props: typeof __VLS_275) => any;
22
+ toolbar_insert?: (props: typeof __VLS_290) => any;
23
+ } & {
24
+ toolbar_table?: (props: typeof __VLS_402) => any;
25
+ } & {
26
+ toolbar_tools?: (props: typeof __VLS_459) => any;
19
27
  } & {
20
- toolbar_table?: (props: typeof __VLS_387) => any;
28
+ toolbar_view?: (props: typeof __VLS_501) => any;
21
29
  } & {
22
- toolbar_tools?: (props: typeof __VLS_444) => any;
30
+ toolbar_review?: (props: typeof __VLS_503) => any;
23
31
  } & {
24
- toolbar_view?: (props: typeof __VLS_491) => any;
32
+ toolbar_extension?: (props: typeof __VLS_505) => any;
25
33
  } & {
26
- toolbar_copyediting?: (props: typeof __VLS_493) => any;
34
+ toolbar_enhancement?: (props: typeof __VLS_507) => any;
27
35
  };
28
36
  declare const __VLS_base: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
29
37
  menus: {