@gct-paas/word 0.2.31-beta.0 → 0.2.31-beta.2
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/domain/table/business/material/material-substitution/actions/scan.d.ts +1 -1
- package/dist/domain/table/business/material/material-substitution/runtime/scan-fill.d.ts +4 -0
- package/dist/index.es.js +2114 -1989
- package/dist/sdk/doc-runtime/factories/runtime-data-sources.d.ts +6 -2
- package/dist/sdk/doc-runtime/factories/value-change-data-sources.d.ts +4 -2
- package/package.json +2 -2
|
@@ -19,16 +19,20 @@ export declare function createRuntimeDataSourceBinding(options: RuntimeDataSourc
|
|
|
19
19
|
readonly [x: string]: {
|
|
20
20
|
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
21
21
|
readonly data?: Readonly<unknown> | undefined;
|
|
22
|
+
readonly clearTargets?: boolean | undefined;
|
|
22
23
|
readonly error?: string | undefined;
|
|
23
24
|
};
|
|
24
25
|
};
|
|
25
|
-
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
26
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters, clearOnEmpty?: boolean) => Promise<unknown>;
|
|
26
27
|
cancel: (key: string) => boolean;
|
|
27
28
|
getResult(key: string): unknown;
|
|
28
29
|
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
29
|
-
queryOnValueChange(keys: readonly string[]
|
|
30
|
+
queryOnValueChange(keys: readonly string[], changeOptions?: {
|
|
31
|
+
cleared?: boolean;
|
|
32
|
+
}): Promise<PromiseSettledResult<unknown>[]>;
|
|
30
33
|
dispose(): void;
|
|
31
34
|
};
|
|
35
|
+
initialize(): Promise<void>;
|
|
32
36
|
refresh: () => void | undefined;
|
|
33
37
|
dispose(): void;
|
|
34
38
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Doc } from '../../../core';
|
|
2
2
|
import { DocumentRuntimeExtension } from '../../../core/runtime/DocumentRuntimeManager';
|
|
3
3
|
import { DataSourceManager } from '@gct-paas/form-base';
|
|
4
|
-
/**
|
|
5
|
-
export declare function createValueChangeDataSourceRuntime(doc: Doc, manager: Pick<DataSourceManager, 'queryOnValueChange'>, canExecute: () => boolean): DocumentRuntimeExtension
|
|
4
|
+
/** 初始化就绪时补查带值字段;后续只响应用户编辑,hydrate 不重复触发。 */
|
|
5
|
+
export declare function createValueChangeDataSourceRuntime(doc: Doc, manager: Pick<DataSourceManager, 'queryOnValueChange' | 'states'>, canExecute: () => boolean): DocumentRuntimeExtension & {
|
|
6
|
+
initialize: () => Promise<void>;
|
|
7
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/word",
|
|
3
|
-
"version": "0.2.31-beta.
|
|
3
|
+
"version": "0.2.31-beta.2",
|
|
4
4
|
"description": "GCT 在线 word",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"pdf-fontkit": "^1.8.9",
|
|
60
60
|
"pdf-lib": "^1.17.1",
|
|
61
61
|
"resize-observer-polyfill": "^1.5.1",
|
|
62
|
-
"@gct-paas/form-base": "0.1.7-beta.
|
|
62
|
+
"@gct-paas/form-base": "0.1.7-beta.2",
|
|
63
63
|
"vue-color": "^3.3.3"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|