@gct-paas/word 0.2.41 → 0.2.42
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/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
- package/dist/base/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/dist/base/date-time-picker/src/DateTimePicker.vue.d.ts +1 -1
- package/dist/base/form-item/src/form-item.vue.d.ts +1 -1
- package/dist/base/icon/src/icon.vue.d.ts +1 -1
- package/dist/base/index.d.ts +1 -0
- package/dist/base/input/src/input.vue.d.ts +3 -3
- package/dist/base/input/src/text-area.vue.d.ts +1 -1
- package/dist/base/radio/src/radio-group.vue.d.ts +1 -1
- package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +1 -1
- package/dist/base/select/src/basic-select.vue.d.ts +1 -1
- package/dist/base/select/src/searchable-select.vue.d.ts +1 -1
- package/dist/base/switch/src/switch.vue.d.ts +1 -1
- package/dist/base/table/src/table.vue.d.ts +1 -1
- package/dist/base/time-picker/index.d.ts +1 -0
- package/dist/base/time-picker/src/TimePicker.vue.d.ts +29 -0
- package/dist/core/data/DataManager.d.ts +2 -1
- package/dist/core/data/enrichers/received-qty-enricher.d.ts +4 -0
- package/dist/domain/field/field-type.d.ts +4 -0
- package/dist/domain/table/business/material/material-consume/profile/product-fields.d.ts +6 -0
- package/dist/domain/table/design/hooks/on-field-attach.d.ts +3 -0
- package/dist/index.es.js +3050 -2537
- package/dist/runtime/_register_/runtime/SuiteRuntime.d.ts +4 -0
- package/dist/runtime/canvas/table/render/material-consume/initial-product-autofill.d.ts +6 -0
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +11 -7
- package/dist/runtime/canvas/table/render/material-consume/product-autofill.d.ts +7 -0
- package/dist/runtime/canvas/table/render/material-consume/product-source.d.ts +4 -0
- package/dist/runtime/canvas/table/render/material-consume/scan-fill.d.ts +7 -2
- package/dist/runtime/designer/toolkit/renderer/add-field-btn.vue.d.ts +8 -0
- package/dist/runtime/designer/toolkit/renderer/toolkit-content-fields.vue.d.ts +3 -1
- package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +3 -16
- package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +16 -16
- package/dist/runtime/factories/createDesignWidgetFactory.d.ts +2 -0
- package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +7 -7
- package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +2 -2
- package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +7 -7
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +7 -7
- package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +7 -7
- package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +7 -7
- package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +7 -7
- package/dist/sdk/index.d.ts +1 -0
- package/dist/suites/edhr/manifest/field/business/quantity-received-qty-manifest.d.ts +3 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/linkage.d.ts +7 -0
- package/dist/suites/edhr/panel-schema/rule/components/field-map-row.vue.d.ts +1 -1
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/autofill-runtime.d.ts +2 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +1 -1
- package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
- package/dist/utils/func/base-formula-functions.d.ts +8 -0
- package/dist/word.css +221 -133
- package/package.json +1 -1
|
@@ -13,8 +13,8 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
-
disabled: boolean;
|
|
17
16
|
path: string;
|
|
17
|
+
disabled: boolean;
|
|
18
18
|
isLast: boolean;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
19
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
20
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
disabled: boolean;
|
|
23
22
|
size: string;
|
|
23
|
+
disabled: boolean;
|
|
24
24
|
modelValue: Array<string | number | boolean>;
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -10,8 +10,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
10
10
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((v: string | undefined) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
disabled: boolean;
|
|
14
13
|
placeholder: string;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
format: string;
|
|
16
16
|
calendarProps: any;
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -20,8 +20,8 @@ declare function __VLS_template(): {
|
|
|
20
20
|
};
|
|
21
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
-
required: boolean;
|
|
24
23
|
size: "small" | "default" | "large";
|
|
24
|
+
required: boolean;
|
|
25
25
|
inline: boolean;
|
|
26
26
|
disableSpacing: boolean;
|
|
27
27
|
colon: boolean;
|
|
@@ -5,8 +5,8 @@ type __VLS_Props = {
|
|
|
5
5
|
icon: string;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
size: number | string;
|
|
8
9
|
version: "v1" | "v2";
|
|
9
10
|
color: string;
|
|
10
|
-
size: number | string;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
12
12
|
export default _default;
|
package/dist/base/index.d.ts
CHANGED
|
@@ -41,13 +41,13 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
41
41
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
42
42
|
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
|
-
type: import('./types').InputType;
|
|
45
44
|
id: string;
|
|
45
|
+
type: import('./types').InputType;
|
|
46
46
|
name: string;
|
|
47
|
+
placeholder: string;
|
|
48
|
+
size: import('./types').InputSize;
|
|
47
49
|
readonly: boolean;
|
|
48
50
|
disabled: boolean;
|
|
49
|
-
size: import('./types').InputSize;
|
|
50
|
-
placeholder: string;
|
|
51
51
|
modelValue: string | number;
|
|
52
52
|
prefix: string;
|
|
53
53
|
suffix: string;
|
|
@@ -40,9 +40,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
40
40
|
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
41
|
}>, {
|
|
42
42
|
name: string;
|
|
43
|
+
placeholder: string;
|
|
43
44
|
readonly: boolean;
|
|
44
45
|
disabled: boolean;
|
|
45
|
-
placeholder: string;
|
|
46
46
|
modelValue: string | number;
|
|
47
47
|
allowClear: boolean;
|
|
48
48
|
showCount: boolean;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
20
20
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
disabled: boolean;
|
|
24
23
|
size: string;
|
|
24
|
+
disabled: boolean;
|
|
25
25
|
optionType: string;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -22,9 +22,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
22
|
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
23
23
|
"onUpdate:fullPathValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
+
placeholder: string;
|
|
25
26
|
modelCategory: string;
|
|
26
27
|
disabled: boolean;
|
|
27
|
-
placeholder: string;
|
|
28
28
|
pageSize: number;
|
|
29
29
|
popperWidth: number;
|
|
30
30
|
allowClear: boolean;
|
|
@@ -91,9 +91,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
91
91
|
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
92
92
|
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
+
placeholder: string;
|
|
94
95
|
disabled: boolean;
|
|
95
96
|
options: DropdownOption[];
|
|
96
|
-
placeholder: string;
|
|
97
97
|
showCheck: boolean;
|
|
98
98
|
allowClear: boolean;
|
|
99
99
|
multipleClearable: boolean;
|
|
@@ -35,10 +35,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
35
35
|
"onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
|
|
36
36
|
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
+
placeholder: string;
|
|
38
39
|
readonly: boolean;
|
|
39
40
|
disabled: boolean;
|
|
40
41
|
options: DropdownOption[];
|
|
41
|
-
placeholder: string;
|
|
42
42
|
grouped: boolean;
|
|
43
43
|
allowClear: boolean;
|
|
44
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -10,8 +10,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
10
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
disabled: boolean;
|
|
14
13
|
size: string;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
modelValue: boolean;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
17
17
|
export default _default;
|
|
@@ -31,9 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<TableProps, {}, {},
|
|
|
31
31
|
onSelect?: ((keys: string[]) => any) | undefined;
|
|
32
32
|
"onRow-click"?: ((row: TableRow) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
+
size: "small" | "middle" | "large";
|
|
34
35
|
loading: boolean;
|
|
35
36
|
multiple: boolean;
|
|
36
|
-
size: "small" | "middle" | "large";
|
|
37
37
|
columns: TableColumn[];
|
|
38
38
|
stripe: boolean;
|
|
39
39
|
selectable: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GctTimePicker } from './src/TimePicker.vue';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
format?: 'HH:mm:ss' | 'HH:mm' | 'HH';
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** 最早可以选择的时间,例如 08:30:00。 */
|
|
7
|
+
minTime?: string;
|
|
8
|
+
/** 最晚可以选择的时间,例如 18:00:00。 */
|
|
9
|
+
maxTime?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
placeholder: string;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
format: "HH:mm:ss" | "HH:mm" | "HH";
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
28
|
+
}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
|
@@ -381,8 +381,9 @@ export declare class DataManager {
|
|
|
381
381
|
* @param targetPath 依赖值计算后需写入的字段路径
|
|
382
382
|
* @param expr 计算公式字符串
|
|
383
383
|
* @param callback 回调函数
|
|
384
|
+
* @param skipWriteOnUndefined 整条公式返回 undefined 时是否跳过赋值
|
|
384
385
|
*/
|
|
385
|
-
registerFieldDependency(targetPath: string, expr: string, callback?: (res: any) => any): void;
|
|
386
|
+
registerFieldDependency(targetPath: string, expr: string, callback?: (res: any) => any, skipWriteOnUndefined?: boolean): void;
|
|
386
387
|
/** 收集依赖 */
|
|
387
388
|
private collectDependencies;
|
|
388
389
|
/** 统一执行组件依赖 */
|
|
@@ -338,6 +338,8 @@ export declare const BUSINESS_FIELD_TYPE: {
|
|
|
338
338
|
* 检验数量
|
|
339
339
|
*/
|
|
340
340
|
readonly INSPECTION_MODULE_QTY: "inspection_module_qty";
|
|
341
|
+
/** 收检数量 */
|
|
342
|
+
readonly QUANTITY_RECEIVED_QTY: "quantity_received_qty";
|
|
341
343
|
/**
|
|
342
344
|
* 工序接收数量
|
|
343
345
|
*/
|
|
@@ -562,6 +564,8 @@ export declare const FIELD_TYPE: {
|
|
|
562
564
|
* 检验数量
|
|
563
565
|
*/
|
|
564
566
|
readonly INSPECTION_MODULE_QTY: "inspection_module_qty";
|
|
567
|
+
/** 收检数量 */
|
|
568
|
+
readonly QUANTITY_RECEIVED_QTY: "quantity_received_qty";
|
|
565
569
|
/**
|
|
566
570
|
* 工序接收数量
|
|
567
571
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FieldMeta } from '../../../../../../capabilities/model-field-runtime';
|
|
2
|
+
import { BusinessFieldProfile } from '../../../../types';
|
|
3
|
+
/** 消耗业务独立声明,不依赖入库配置。 */
|
|
4
|
+
export declare const materialConsumeProductFields: BusinessFieldProfile[];
|
|
5
|
+
/** 对象字段的后缀独立生成,从同模型、同对象中读取真实 key。 */
|
|
6
|
+
export declare function getMaterialConsumeObjectFieldProfile(field: FieldMeta, modelFields: readonly FieldMeta[]): BusinessFieldProfile | undefined;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { FieldMeta } from '../../../../capabilities/model-field-runtime';
|
|
2
2
|
import { WidgetMeta } from '../../../../core';
|
|
3
|
+
import { BusinessFieldProfile } from '../../types';
|
|
3
4
|
interface ApplyFieldProfileOptions {
|
|
4
5
|
/** 子表分区路径,如 f_crkmx 或 f_ewb:f_link */
|
|
5
6
|
parentFieldKey?: string;
|
|
6
7
|
/** 用于解析业务表 Profile */
|
|
7
8
|
refModelType?: string;
|
|
9
|
+
/** undefined:按业务表查询;null:明确无配置。 */
|
|
10
|
+
fieldProfile?: BusinessFieldProfile | null;
|
|
8
11
|
}
|
|
9
12
|
/**
|
|
10
13
|
* 字段拖入画布时应用业务表字段 Profile
|