@gct-paas/word 0.1.11 → 0.1.13
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/base/calendar/src/calendar.vue.d.ts +1 -0
- package/dist/base/calendar/src/time.vue.d.ts +1 -0
- package/dist/base/index.d.ts +2 -0
- package/dist/base/modal/src/ModalRoot.vue.d.ts +2 -0
- package/dist/base/modal/src/modal.type.d.ts +3 -0
- package/dist/base/select/src/basic-select.vue.d.ts +9 -1
- package/dist/base/table/src/table.type.d.ts +19 -0
- package/dist/base/table/src/table.vue.d.ts +31 -56
- package/dist/base/tree/index.d.ts +1 -0
- package/dist/base/tree/src/tree-node.vue.d.ts +14 -0
- package/dist/base/tree/src/tree.type.d.ts +6 -0
- package/dist/base/tree/src/tree.vue.d.ts +18 -0
- package/dist/base/tree-select/index.d.ts +1 -0
- package/dist/base/tree-select/src/tree-select.vue.d.ts +45 -0
- package/dist/base/utils/image-size-util.d.ts +2 -0
- package/dist/capabilities/panel/schema/types.d.ts +4 -1
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/cursor/logic/getCursorTextRawList.d.ts +2 -0
- package/dist/core/cursor/logic/index.d.ts +1 -0
- package/dist/core/data/DataManager.d.ts +38 -36
- package/dist/core/event/types.d.ts +1 -1
- package/dist/core/index.d.ts +3 -0
- package/dist/core/interaction/useInteraction.d.ts +0 -1
- package/dist/core/layout/LayoutContext.d.ts +1 -0
- package/dist/core/layout/handlers/FieldHandler.d.ts +0 -18
- package/dist/core/layout/handlers/fields/AttachmentHandler.d.ts +14 -0
- package/dist/core/layout/handlers/fields/BaseHandler.d.ts +67 -0
- package/dist/core/layout/handlers/fields/ImgHandler.d.ts +5 -0
- package/dist/core/layout/handlers/fields/InputHandler.d.ts +5 -0
- package/dist/core/layout/handlers/fields/OptionHandler.d.ts +15 -0
- package/dist/core/layout/handlers/fields/SignatureHandler.d.ts +24 -0
- package/dist/core/layout/handlers/fields/index.d.ts +6 -0
- package/dist/core/model/document/WrField.d.ts +3 -126
- package/dist/core/model/document/WsecPr.d.ts +39 -0
- package/dist/core/sdk/types/public-types.d.ts +2 -0
- package/dist/core/utils/calculate-formula.d.ts +5 -0
- package/dist/core/view/Doc.d.ts +5 -0
- package/dist/core/view/Page.d.ts +0 -3
- package/dist/core/view/Section.d.ts +4 -18
- package/dist/core/view/runs/ImageRun.d.ts +12 -0
- package/dist/core/view/runs/ImageWidget.d.ts +3 -0
- package/dist/core/view/runs/TextRun.d.ts +1 -0
- package/dist/core/view/runs/TextWidget.d.ts +8 -8
- package/dist/core/widget/widget-state.d.ts +21 -0
- package/dist/domain/active/active-types.d.ts +0 -1
- package/dist/domain/widget/component-type.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +6367 -4743
- package/dist/runtime/_register_/composables/panel/useActivePanel.d.ts +1 -2
- package/dist/runtime/canvas/__common__/widget-container/overlay-layer.vue.d.ts +2 -0
- package/dist/runtime/canvas/__common__/widget-container/overlay-render.vue.d.ts +1 -1
- package/dist/runtime/canvas/table/design/table-structure-overlay/dynamic-label.vue.d.ts +1 -0
- package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +0 -1
- package/dist/runtime/designer/doc-design-layout.vue.d.ts +3 -1
- package/dist/runtime/designer/ribbon/common/button-icon.vue.d.ts +3 -2
- package/dist/runtime/designer/ribbon/constant/font.d.ts +1 -1
- package/dist/runtime/factories/createValidateFactory.d.ts +3 -1
- package/dist/runtime/factories/useDependency.d.ts +5 -0
- package/dist/runtime/factories/useDocumentFactory.d.ts +2 -0
- package/dist/runtime/factories/useFormValidator.d.ts +3 -0
- package/dist/runtime/factories/useRenderData.d.ts +2 -0
- package/dist/runtime/interface/computed.d.ts +18 -0
- package/dist/runtime/interface/data.d.ts +1 -4
- package/dist/runtime/interface/render.d.ts +11 -0
- package/dist/runtime/interface/utils.d.ts +10 -0
- package/dist/runtime/renderer/doc-render-layout.vue.d.ts +58 -2
- package/dist/runtime/renderer/main/preview-canvas.vue.d.ts +3 -1
- package/dist/setup.d.ts +11 -0
- package/dist/suites/edhr/field-manifest/_common_/basic.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/data-group/data-group.basic.d.ts +4 -1
- package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-field/add-builtin-field-modal.vue.d.ts +1 -1
- package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-param/add-builtin-param-modal.vue.d.ts +5 -3
- package/dist/suites/edhr/panel-schema/data-init/common/add-field/add-field-modal.vue.d.ts +15 -6
- package/dist/suites/edhr/panel-schema/data-init/common/add-field/add-field-select.vue.d.ts +1 -5
- package/dist/suites/edhr/panel-schema/data-init/common/add-field/useField.d.ts +1 -4
- package/dist/suites/edhr/panel-schema/data-init/common/add-online-form-model/online-form-model-select.vue.d.ts +12 -0
- package/dist/suites/edhr/panel-schema/data-init/common/add-sql/add-sql-modal.vue.d.ts +3 -4
- package/dist/suites/edhr/panel-schema/data-init/common/data-source-model-link.vue.d.ts +2 -2
- package/dist/suites/edhr/panel-schema/data-init/utils/index.d.ts +9 -17
- package/dist/suites/edhr/panel-schema/dynamic-table/dynamic-table.basic.d.ts +4 -1
- package/dist/suites/edhr/panel-schema/fixed-table/fixed-table.basic.d.ts +4 -1
- package/dist/suites/edhr/panel-schema/index.d.ts +12 -3
- package/dist/utils/ServiceUtil.d.ts +31 -4
- package/dist/utils/TriggerUtil.d.ts +27 -0
- package/dist/utils/func/core.d.ts +6 -0
- package/dist/utils/func/file.d.ts +2 -0
- package/dist/word.css +1005 -998
- package/package.json +2 -2
- package/dist/runtime/designer/ribbon/components/bullet-point-select.vue.d.ts +0 -73
- package/dist/runtime/designer/ribbon/components/multistage-no-select.vue.d.ts +0 -73
- package/dist/runtime/renderer/dialogs/upload-file/utils.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/word",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "GCT 在线 word",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx --fix",
|
|
37
37
|
"publish:beta": "pnpm build && npm publish --registry=https://registry.npmjs.org/ --access public --tag beta",
|
|
38
38
|
"publish:prod": "pnpm build && npm publish --registry=https://registry.npmjs.org/ --access public",
|
|
39
|
-
"test": "vitest"
|
|
39
|
+
"test": "vitest run"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@gct-paas/api": "0.1.0-word.7",
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
-
insRef: ({
|
|
3
|
-
$: import('vue').ComponentInternalInstance;
|
|
4
|
-
$data: {};
|
|
5
|
-
$props: {
|
|
6
|
-
readonly tooltip: string;
|
|
7
|
-
readonly "onLeft-btn-click"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
9
|
-
$attrs: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
$refs: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
} & {
|
|
15
|
-
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
16
|
-
P: {};
|
|
17
|
-
B: {};
|
|
18
|
-
D: {};
|
|
19
|
-
C: {};
|
|
20
|
-
M: {};
|
|
21
|
-
Defaults: {};
|
|
22
|
-
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
23
|
-
};
|
|
24
|
-
$slots: Readonly<{
|
|
25
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
28
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
29
|
-
$host: Element | null;
|
|
30
|
-
$emit: (event: "left-btn-click", ...args: any[]) => void;
|
|
31
|
-
$el: HTMLDivElement;
|
|
32
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
33
|
-
tooltip: string;
|
|
34
|
-
}> & Readonly<{
|
|
35
|
-
"onLeft-btn-click"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}>, {
|
|
37
|
-
getRef: import('vue').Ref<any, any>;
|
|
38
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
"left-btn-click": (...args: any[]) => void;
|
|
40
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
41
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
42
|
-
created?: (() => void) | (() => void)[];
|
|
43
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
44
|
-
mounted?: (() => void) | (() => void)[];
|
|
45
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
46
|
-
updated?: (() => void) | (() => void)[];
|
|
47
|
-
activated?: (() => void) | (() => void)[];
|
|
48
|
-
deactivated?: (() => void) | (() => void)[];
|
|
49
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
50
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
51
|
-
destroyed?: (() => void) | (() => void)[];
|
|
52
|
-
unmounted?: (() => void) | (() => void)[];
|
|
53
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
54
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
55
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
56
|
-
};
|
|
57
|
-
$forceUpdate: () => void;
|
|
58
|
-
$nextTick: typeof import('vue').nextTick;
|
|
59
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
60
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
61
|
-
tooltip: string;
|
|
62
|
-
}> & Readonly<{
|
|
63
|
-
"onLeft-btn-click"?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}>, "getRef"> & import('vue').ShallowUnwrapRef<{
|
|
65
|
-
getRef: import('vue').Ref<any, any>;
|
|
66
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
67
|
-
$slots: {
|
|
68
|
-
'main-content'?(_: {}): any;
|
|
69
|
-
'left-content'?(_: {}): any;
|
|
70
|
-
};
|
|
71
|
-
}) | null;
|
|
72
|
-
}, HTMLDivElement>;
|
|
73
|
-
export default _default;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
-
insRef: ({
|
|
3
|
-
$: import('vue').ComponentInternalInstance;
|
|
4
|
-
$data: {};
|
|
5
|
-
$props: {
|
|
6
|
-
readonly tooltip: string;
|
|
7
|
-
readonly "onLeft-btn-click"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
9
|
-
$attrs: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
$refs: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
} & {
|
|
15
|
-
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
16
|
-
P: {};
|
|
17
|
-
B: {};
|
|
18
|
-
D: {};
|
|
19
|
-
C: {};
|
|
20
|
-
M: {};
|
|
21
|
-
Defaults: {};
|
|
22
|
-
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
23
|
-
};
|
|
24
|
-
$slots: Readonly<{
|
|
25
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
28
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
29
|
-
$host: Element | null;
|
|
30
|
-
$emit: (event: "left-btn-click", ...args: any[]) => void;
|
|
31
|
-
$el: HTMLDivElement;
|
|
32
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
33
|
-
tooltip: string;
|
|
34
|
-
}> & Readonly<{
|
|
35
|
-
"onLeft-btn-click"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}>, {
|
|
37
|
-
getRef: import('vue').Ref<any, any>;
|
|
38
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
"left-btn-click": (...args: any[]) => void;
|
|
40
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
41
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
42
|
-
created?: (() => void) | (() => void)[];
|
|
43
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
44
|
-
mounted?: (() => void) | (() => void)[];
|
|
45
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
46
|
-
updated?: (() => void) | (() => void)[];
|
|
47
|
-
activated?: (() => void) | (() => void)[];
|
|
48
|
-
deactivated?: (() => void) | (() => void)[];
|
|
49
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
50
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
51
|
-
destroyed?: (() => void) | (() => void)[];
|
|
52
|
-
unmounted?: (() => void) | (() => void)[];
|
|
53
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
54
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
55
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
56
|
-
};
|
|
57
|
-
$forceUpdate: () => void;
|
|
58
|
-
$nextTick: typeof import('vue').nextTick;
|
|
59
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
60
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
61
|
-
tooltip: string;
|
|
62
|
-
}> & Readonly<{
|
|
63
|
-
"onLeft-btn-click"?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}>, "getRef"> & import('vue').ShallowUnwrapRef<{
|
|
65
|
-
getRef: import('vue').Ref<any, any>;
|
|
66
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
67
|
-
$slots: {
|
|
68
|
-
'main-content'?(_: {}): any;
|
|
69
|
-
'left-content'?(_: {}): any;
|
|
70
|
-
};
|
|
71
|
-
}) | null;
|
|
72
|
-
}, HTMLDivElement>;
|
|
73
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const UploadTypeConst: {
|
|
2
|
-
readonly JPG: "jpg";
|
|
3
|
-
readonly JPEG: "jpeg";
|
|
4
|
-
readonly PNG: "png";
|
|
5
|
-
readonly BMP: "bmp";
|
|
6
|
-
readonly DOCX: "docx";
|
|
7
|
-
readonly PDF: "pdf";
|
|
8
|
-
readonly XLSX: "xlsx";
|
|
9
|
-
readonly DOC: "doc";
|
|
10
|
-
readonly MP4: "mp4";
|
|
11
|
-
readonly AVI: "avi";
|
|
12
|
-
readonly PPT: "ppt";
|
|
13
|
-
readonly GIF: "gif";
|
|
14
|
-
};
|
|
15
|
-
export declare function getUploadFileIcon(name?: string): "attachment" | "doc" | "pdf" | "xlsx" | "mp4" | "ppt" | "img";
|
|
16
|
-
export declare const formatSize: (size?: number) => string;
|