@gct-paas/word 0.1.74-beta.6 → 0.1.74-beta.7

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 (78) hide show
  1. package/dist/assets/svgs/table/index.d.ts +2 -0
  2. package/dist/base/calendar/src/calendar.vue.d.ts +2 -2
  3. package/dist/base/calendar/src/time.vue.d.ts +2 -2
  4. package/dist/base/checkbox/src/checkbox-group.vue.d.ts +2 -2
  5. package/dist/base/checkbox/src/checkbox.vue.d.ts +2 -2
  6. package/dist/base/color-picker/src/ColorPicker.vue.d.ts +1 -1
  7. package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +2 -2
  8. package/dist/base/input/src/input-number.vue.d.ts +2 -2
  9. package/dist/base/input/src/input.vue.d.ts +5 -5
  10. package/dist/base/input/src/text-area.vue.d.ts +4 -4
  11. package/dist/base/radio/src/radio-group.vue.d.ts +2 -2
  12. package/dist/base/radio/src/radio.vue.d.ts +2 -2
  13. package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +2 -2
  14. package/dist/base/segment-slider/src/segment-slider.vue.d.ts +2 -2
  15. package/dist/base/select/src/basic-select.vue.d.ts +2 -2
  16. package/dist/base/select/src/searchable-select.vue.d.ts +2 -2
  17. package/dist/base/slider/src/slider.vue.d.ts +4 -4
  18. package/dist/base/switch/src/switch.vue.d.ts +2 -2
  19. package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
  20. package/dist/core/data/paths/field-paths.d.ts +2 -0
  21. package/dist/core/data/updates/field-updates.d.ts +7 -2
  22. package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
  23. package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +9 -1
  24. package/dist/domain/active/active-types.d.ts +5 -1
  25. package/dist/domain/field/field-type.d.ts +2 -2
  26. package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +4 -2
  27. package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +31 -10
  28. package/dist/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +0 -1
  29. package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +2 -5
  30. package/dist/domain/table/business/warehouse/warehouse-in/index.d.ts +2 -0
  31. package/dist/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +39 -0
  32. package/dist/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
  33. package/dist/domain/table/business/warehouse/warehouse-in/profile/index.d.ts +3 -0
  34. package/dist/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
  35. package/dist/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +5 -0
  36. package/dist/domain/table/business/warehouse/warehouse-inventory/index.d.ts +1 -0
  37. package/dist/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +3 -0
  38. package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +26 -42
  39. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/index.d.ts +1 -1
  40. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +2 -18
  41. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +10 -10
  42. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +10 -0
  43. package/dist/domain/table/business/warehouse/warehouse-inventory/types.d.ts +22 -22
  44. package/dist/domain/table/business/warehouse/warehouse-out/index.d.ts +2 -0
  45. package/dist/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +44 -0
  46. package/dist/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
  47. package/dist/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +3 -0
  48. package/dist/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
  49. package/dist/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +5 -0
  50. package/dist/domain/table/runtime/engines/main-field-bind-engine.d.ts +2 -0
  51. package/dist/domain/table/runtime/table-runtime-utils.d.ts +6 -1
  52. package/dist/domain/table/runtime/table-runtime.d.ts +2 -0
  53. package/dist/domain/table/types.d.ts +46 -6
  54. package/dist/index.es.js +2427 -1745
  55. package/dist/runtime/canvas/inline-image/resize-box.vue.d.ts +2 -2
  56. package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -1
  57. package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +13 -12
  58. package/dist/runtime/renderer/dialogs/device-scan/submit-device-scan.d.ts +1 -0
  59. package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +12 -12
  60. package/dist/runtime/renderer/dropdowns/components/tables/columns/business/product-ndo.d.ts +12 -0
  61. package/dist/runtime/renderer/dropdowns/components/tables/columns/columns.d.ts +2 -1
  62. package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
  63. package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -0
  64. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +12 -12
  65. package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +9 -0
  66. package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +12 -12
  67. package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +12 -12
  68. package/dist/suites/edhr/panel-schema/index.d.ts +2 -0
  69. package/dist/suites/edhr/panel-schema/warehouse-in-table/warehouse-in-table.basic.d.ts +1 -0
  70. package/dist/suites/edhr/panel-schema/warehouse-out-table/warehouse-out-table.basic.d.ts +1 -0
  71. package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +2 -0
  72. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +2 -2
  73. package/dist/utils/func/file.d.ts +1 -1
  74. package/dist/word.css +118 -108
  75. package/package.json +2 -2
  76. package/dist/domain/table/business/warehouse/warehouse-allocate/types.d.ts +0 -38
  77. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/remote-sync-apply.d.ts +0 -9
  78. package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/warehouse-context.d.ts +0 -3
@@ -12,6 +12,8 @@ export declare const TABLE_DATA_SVG: {
12
12
  };
13
13
  /** 业务表下拉项图标(按 tableType) */
14
14
  export declare const TABLE_BUSINESS_SVG: {
15
+ readonly 'warehouse-in': string;
16
+ readonly 'warehouse-out': string;
15
17
  readonly 'warehouse-in-out': string;
16
18
  readonly 'warehouse-inventory': string;
17
19
  readonly 'warehouse-allocate': string;
@@ -11,11 +11,11 @@ type __VLS_Props = {
11
11
  showClearBtn?: boolean;
12
12
  };
13
13
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
- change: (value: Date | null) => any;
15
14
  "update:modelValue": (value: Date | null) => any;
15
+ change: (value: Date | null) => any;
16
16
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
- onChange?: ((value: Date | null) => any) | undefined;
18
17
  "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
18
+ onChange?: ((value: Date | null) => any) | undefined;
19
19
  }>, {
20
20
  showClearBtn: boolean;
21
21
  mode: "datetime" | "date";
@@ -10,10 +10,10 @@ type __VLS_Props = {
10
10
  };
11
11
  };
12
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
- change: (...args: any[]) => void;
14
13
  "update:modelValue": (...args: any[]) => void;
14
+ change: (...args: any[]) => void;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onChange?: ((...args: any[]) => any) | undefined;
17
16
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
+ onChange?: ((...args: any[]) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  export default _default;
@@ -13,11 +13,11 @@ 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, {
16
- change: (...args: any[]) => void;
17
16
  "update:modelValue": (...args: any[]) => void;
17
+ change: (...args: any[]) => void;
18
18
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
- onChange?: ((...args: any[]) => any) | undefined;
20
19
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
+ onChange?: ((...args: any[]) => any) | undefined;
21
21
  }>, {
22
22
  disabled: boolean;
23
23
  size: string;
@@ -15,11 +15,11 @@ declare function __VLS_template(): {
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
- change: (...args: any[]) => void;
19
18
  "update:modelValue": (...args: any[]) => void;
19
+ change: (...args: any[]) => void;
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
- onChange?: ((...args: any[]) => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ onChange?: ((...args: any[]) => any) | undefined;
23
23
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
25
  export default _default;
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
9
9
  } & {
10
10
  change: (val: string) => any;
11
11
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- onChange?: ((val: string) => any) | undefined;
13
12
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ onChange?: ((val: string) => any) | undefined;
14
14
  }>, {
15
15
  tooltip: string;
16
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -63,12 +63,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
63
63
  getRef: import('vue').Ref<any, any>;
64
64
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
65
65
  edit: (...args: any[]) => void;
66
- change: (...args: any[]) => void;
67
66
  "update:modelValue": (...args: any[]) => void;
67
+ change: (...args: any[]) => void;
68
68
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
69
69
  onEdit?: ((...args: any[]) => any) | undefined;
70
- onChange?: ((...args: any[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
+ onChange?: ((...args: any[]) => any) | undefined;
72
72
  }>, {
73
73
  options: DropdownOption[] | DropdownOptionGroup[];
74
74
  showCheck: boolean;
@@ -34,13 +34,13 @@ declare function __VLS_template(): {
34
34
  };
35
35
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
36
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
37
+ "update:modelValue": (val: string | number | null) => any;
37
38
  change: (val: string | number | null) => any;
38
39
  blur: () => any;
39
- "update:modelValue": (val: string | number | null) => any;
40
40
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
41
+ "onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
41
42
  onChange?: ((val: string | number | null) => any) | undefined;
42
43
  onBlur?: (() => any) | undefined;
43
- "onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
44
44
  }>, {
45
45
  disabled: boolean;
46
46
  modelValue: ValueType;
@@ -20,10 +20,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
20
20
  input: (value: string | number, event: Event) => any;
21
21
  search: (value: string | number) => any;
22
22
  clear: () => any;
23
- focus: (event: FocusEvent) => any;
23
+ "update:modelValue": (value: string | number) => any;
24
24
  change: (value: string | number, event: Event) => any;
25
25
  blur: (event: FocusEvent) => any;
26
- "update:modelValue": (value: string | number) => any;
26
+ focus: (event: FocusEvent) => any;
27
27
  keydown: (event: KeyboardEvent) => any;
28
28
  keypress: (event: KeyboardEvent) => any;
29
29
  keyup: (event: KeyboardEvent) => any;
@@ -32,10 +32,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
32
32
  onInput?: ((value: string | number, event: Event) => any) | undefined;
33
33
  onSearch?: ((value: string | number) => any) | undefined;
34
34
  onClear?: (() => any) | undefined;
35
- onFocus?: ((event: FocusEvent) => any) | undefined;
35
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
36
36
  onChange?: ((value: string | number, event: Event) => any) | undefined;
37
37
  onBlur?: ((event: FocusEvent) => any) | undefined;
38
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
38
+ onFocus?: ((event: FocusEvent) => any) | undefined;
39
39
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
40
40
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
41
41
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
@@ -48,9 +48,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
48
48
  disabled: boolean;
49
49
  size: import('./types').InputSize;
50
50
  placeholder: string;
51
- suffix: string;
52
51
  modelValue: string | number;
53
52
  prefix: string;
53
+ suffix: string;
54
54
  addonBefore: string;
55
55
  addonAfter: string;
56
56
  allowClear: boolean;
@@ -18,10 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
18
18
  input: (value: string | number, event: Event) => any;
19
19
  search: (value: string | number) => any;
20
20
  clear: () => any;
21
- focus: (event: FocusEvent) => any;
21
+ "update:modelValue": (value: string | number) => any;
22
22
  change: (value: string | number, event: Event) => any;
23
23
  blur: (event: FocusEvent) => any;
24
- "update:modelValue": (value: string | number) => any;
24
+ focus: (event: FocusEvent) => any;
25
25
  keydown: (event: KeyboardEvent) => any;
26
26
  keypress: (event: KeyboardEvent) => any;
27
27
  keyup: (event: KeyboardEvent) => any;
@@ -30,10 +30,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
30
30
  onInput?: ((value: string | number, event: Event) => any) | undefined;
31
31
  onSearch?: ((value: string | number) => any) | undefined;
32
32
  onClear?: (() => any) | undefined;
33
- onFocus?: ((event: FocusEvent) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
34
34
  onChange?: ((value: string | number, event: Event) => any) | undefined;
35
35
  onBlur?: ((event: FocusEvent) => any) | undefined;
36
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
36
+ onFocus?: ((event: FocusEvent) => any) | undefined;
37
37
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
38
38
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
39
39
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
@@ -14,11 +14,11 @@ declare function __VLS_template(): {
14
14
  };
15
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
16
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- change: (...args: any[]) => void;
18
17
  "update:modelValue": (...args: any[]) => void;
18
+ change: (...args: any[]) => void;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onChange?: ((...args: any[]) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
+ onChange?: ((...args: any[]) => any) | undefined;
22
22
  }>, {
23
23
  disabled: boolean;
24
24
  size: string;
@@ -13,11 +13,11 @@ 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, {
16
- change: (...args: any[]) => void;
17
16
  "update:modelValue": (...args: any[]) => void;
17
+ change: (...args: any[]) => void;
18
18
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
- onChange?: ((...args: any[]) => any) | undefined;
20
19
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
+ onChange?: ((...args: any[]) => any) | undefined;
21
21
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
@@ -14,12 +14,12 @@ type __VLS_Props = {
14
14
  showSearch?: boolean;
15
15
  };
16
16
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
- change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
18
17
  "update:modelValue": (value?: string | null | undefined) => any;
18
+ change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
19
19
  "update:fullPathValue": (value?: string | null | undefined) => any;
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
- onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((value?: string | null | undefined) => any) | undefined;
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
25
  modelCategory: string;
@@ -18,11 +18,11 @@ type __VLS_Props = {
18
18
  multiple?: boolean;
19
19
  };
20
20
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
21
- change: (v: any) => any;
22
21
  "update:modelValue": (v: any) => any;
22
+ change: (v: any) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- onChange?: ((v: any) => any) | undefined;
25
24
  "onUpdate:modelValue"?: ((v: any) => any) | undefined;
25
+ onChange?: ((v: any) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
27
  rootRef: HTMLDivElement;
28
28
  }, HTMLDivElement>;
@@ -67,13 +67,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
67
67
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
68
68
  edit: (option: DropdownOption) => any;
69
69
  click: (evt: any) => any;
70
- change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
71
70
  "update:modelValue": (val: string | number | (string | number)[]) => any;
71
+ change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
72
72
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
73
73
  onEdit?: ((option: DropdownOption) => any) | undefined;
74
74
  onClick?: ((evt: any) => any) | undefined;
75
- onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
76
75
  "onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
76
+ onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
79
  options: DropdownOption[];
@@ -29,11 +29,11 @@ declare function __VLS_template(): {
29
29
  };
30
30
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
31
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
32
- change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
33
32
  "update:modelValue": (val?: string | number | undefined) => any;
33
+ change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
34
34
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
35
- onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
36
35
  "onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
36
+ onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
37
37
  }>, {
38
38
  readonly: boolean;
39
39
  disabled: boolean;
@@ -6,16 +6,16 @@ type __VLS_Props = {
6
6
  tooltipConvert?: (v: number) => string | number;
7
7
  };
8
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- change: (...args: any[]) => void;
10
9
  "update:modelValue": (...args: any[]) => void;
10
+ change: (...args: any[]) => void;
11
11
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- onChange?: ((...args: any[]) => any) | undefined;
13
12
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
+ onChange?: ((...args: any[]) => any) | undefined;
14
14
  }>, {
15
- max: number;
16
- min: number;
17
15
  modelValue: number;
18
16
  step: number;
17
+ min: number;
18
+ max: number;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
20
  sliderRef: HTMLDivElement;
21
21
  }, any>;
@@ -4,11 +4,11 @@ type __VLS_Props = {
4
4
  size?: string;
5
5
  };
6
6
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- change: (...args: any[]) => void;
8
7
  "update:modelValue": (...args: any[]) => void;
8
+ change: (...args: any[]) => void;
9
9
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- onChange?: ((...args: any[]) => any) | undefined;
11
10
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
+ onChange?: ((...args: any[]) => any) | undefined;
12
12
  }>, {
13
13
  disabled: boolean;
14
14
  size: string;
@@ -23,12 +23,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
23
23
  getRef: import('vue').Ref<any, any>;
24
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
25
25
  edit: (option: DropdownOption) => any;
26
- change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
27
26
  "update:modelValue": (val: string | number | (string | number)[]) => any;
27
+ change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
28
28
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
29
  onEdit?: ((option: DropdownOption) => any) | undefined;
30
- onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
31
30
  "onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
31
+ onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
32
32
  }>, {
33
33
  placeholder: string;
34
34
  popperWidth: number;
@@ -9,6 +9,8 @@ export declare const HYPERLINK_TEXT_COLOR = "#0563c1";
9
9
  export declare function getLabelPath(path: string): string;
10
10
  export declare function getHrefPath(path: string): string;
11
11
  export declare function getIdPath(path: string): string;
12
+ /** 将路径末段替换为同行另一字段 key(如 `$.t[0].product_id_` + `inventory_id_` → `$.t[0].inventory_id_`) */
13
+ export declare function getSiblingFieldPath(path: string, fieldKey: string): string;
12
14
  /**
13
15
  * 是否为批次 companion id 路径(以 `__id_` 结尾)。
14
16
  * 在于判断用了 endsWith('_id_'):product_id_、warehouse_id_ 也会命中。改成只认以 __id_ 结尾
@@ -8,11 +8,16 @@ export declare function buildClearUpdates(rowPath: string, fields: readonly stri
8
8
  interface BuildFieldSelectUpdatesOptions {
9
9
  /** 是否写入 companion id(下拉选中时) */
10
10
  persistOptionId?: boolean;
11
+ /**
12
+ * 自定义 option id 写入路径(如出库物料的 inventory_id_)。
13
+ * 有值时优先于此路径;否则在 persistOptionId 时写 getIdPath(valuePath)
14
+ */
15
+ optionIdPath?: string;
11
16
  }
12
17
  /**
13
18
  * 构建字段选中/清空更新:
14
- * - 选中:写 value + 可选 companion id
15
- * - 清空:仅写 value,companion 由 enricher 负责清空
19
+ * - 选中:写 value + 可选 companion / 自定义 option id
20
+ * - 清空:写 value,并清空 companion / 自定义 option id(若启用)
16
21
  */
17
22
  export declare function buildFieldSelectUpdates(valuePath: string, value: unknown, optionId?: unknown, options?: BuildFieldSelectUpdatesOptions): Record<string, unknown>;
18
23
  /** 判断两个字段值是否逻辑相等 */
@@ -29,7 +29,7 @@ export declare const SUB_TABLE_REGION_TYPES: readonly ["repeating", "bounded", "
29
29
  * 子表 layout 类型
30
30
  * Ribbon 面板、子表主题色均使用此类型;主题配置见 @/domain/table 各 Profile.theme
31
31
  */
32
- export type SubTableLayoutType = 'dynamic-table' | 'fixed-table' | '2d-table' | 'check-table' | 'material-consume-table' | 'material-balance-table' | 'warehouse-in-out-table' | 'warehouse-inventory-table' | 'warehouse-allocate-table' | 'pretreatment-list-table' | 'entrust-steril-batch-list-table';
32
+ export type SubTableLayoutType = 'dynamic-table' | 'fixed-table' | '2d-table' | 'check-table' | 'material-consume-table' | 'material-balance-table' | 'warehouse-in-table' | 'warehouse-out-table' | 'warehouse-in-out-table' | 'warehouse-inventory-table' | 'warehouse-allocate-table' | 'pretreatment-list-table' | 'entrust-steril-batch-list-table';
33
33
  /** 表头 layout 类型 */
34
34
  export type TableHeaderLayoutType = 'table-header';
35
35
  /** 所有子表表格 layout 类型 */
@@ -13,6 +13,12 @@ export type RepeatingWidgetPropsBase = {
13
13
  export type DynamicTableProps = RepeatingWidgetPropsBase & {
14
14
  layoutType?: 'dynamic-table';
15
15
  };
16
+ export type WarehouseInTableProps = RepeatingWidgetPropsBase & {
17
+ layoutType: 'warehouse-in-table';
18
+ };
19
+ export type WarehouseOutTableProps = RepeatingWidgetPropsBase & {
20
+ layoutType: 'warehouse-out-table';
21
+ };
16
22
  export type WarehouseInOutTableProps = RepeatingWidgetPropsBase & {
17
23
  layoutType: 'warehouse-in-out-table';
18
24
  };
@@ -30,6 +36,8 @@ export type WarehouseInventoryTableProps = RepeatingWidgetPropsBase & {
30
36
  layoutType: 'warehouse-inventory-table';
31
37
  /** 库存自动加载 */
32
38
  autoLoadInventory?: boolean;
39
+ /** 盘点维度 */
40
+ stocktakeDimension?: 'warehouse_summary' | 'location_detail';
33
41
  /** 条码解析规则 */
34
42
  barcode_parsing_rules_id_?: string;
35
43
  };
@@ -40,7 +48,7 @@ export type WarehouseAllocateTableProps = RepeatingWidgetPropsBase & {
40
48
  layoutType: 'warehouse-allocate-table';
41
49
  barcode_parsing_rules_id_?: string;
42
50
  };
43
- export type RepeatingWidgetPropsMeta = DynamicTableProps | WarehouseInOutTableProps | WarehouseInventoryTableProps | WarehouseAllocateTableProps | EntrustSterilBatchListTableProps | PretreatmentListTableProps;
51
+ export type RepeatingWidgetPropsMeta = DynamicTableProps | WarehouseInTableProps | WarehouseOutTableProps | WarehouseInOutTableProps | WarehouseInventoryTableProps | WarehouseAllocateTableProps | EntrustSterilBatchListTableProps | PretreatmentListTableProps;
44
52
  export type RepeatingWidgetMeta = {
45
53
  props: RepeatingWidgetPropsMeta;
46
54
  };
@@ -14,7 +14,11 @@ export type PanelType =
14
14
  | 'panel:rule'
15
15
  /** 动态表 */
16
16
  | 'panel:dynamic-table'
17
- /** 出入库明细表 */
17
+ /** 入库明细表 */
18
+ | 'panel:warehouse-in-table'
19
+ /** 出库明细表 */
20
+ | 'panel:warehouse-out-table'
21
+ /** 出入库明细表(兼容老文档) */
18
22
  | 'panel:warehouse-in-out-table'
19
23
  /** 库存盘点表 */
20
24
  | 'panel:warehouse-inventory-table'
@@ -219,7 +219,7 @@ export declare enum FIELD_TYPE {
219
219
  SHOPFLOOR = "shopfloor",
220
220
  /**
221
221
  * 建模关联
222
- */
222
+ */
223
223
  MODEL_RELATION = "model_relation",
224
224
  /**
225
225
  * 记录单号
@@ -378,7 +378,7 @@ export declare enum FIELD_TYPE {
378
378
  */
379
379
  OF_INST_NUM = "of_inst_num",
380
380
  /**
381
- * 生产批次号
381
+ * 生产批次号(生产 lot/sn)(追溯)
382
382
  */
383
383
  PRODUCTION_CONTAINER = "production_container",
384
384
  /**
@@ -26,14 +26,16 @@ export declare const F: {
26
26
  };
27
27
  /** remoteSync 成功回写的基础字段 */
28
28
  export declare const INVENTORY_INFO_APPLY_FIELDS: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "mfg_order_code_"];
29
+ /** 设计态输入属性固定禁用、运行态只读:物料名称 / 编码 / 规格 */
30
+ export declare const DISABLED_INPUT_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
29
31
  /** 行变更 handler:生产批次号清空时的字段集 */
30
32
  export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
31
33
  /** 行变更 handler:生产批次号切换时的字段集 */
32
- export declare const CLEAR_ON_PROD_CONTAINER_SWITCH: ("material_container_no_" | "mfg_order_id_")[];
34
+ export declare const CLEAR_ON_PROD_CONTAINER_SWITCH: ("mfg_order_id_" | "material_container_no_")[];
33
35
  /** 行变更 handler:工单清空时的字段集 */
34
36
  export declare const CLEAR_ON_MFG_ORDER_EMPTY: ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
35
37
  /** 行变更 handler:工单切换时的字段集 */
36
- export declare const CLEAR_ON_MFG_ORDER_SWITCH: ("material_container_no_" | "production_container_id_")[];
38
+ export declare const CLEAR_ON_MFG_ORDER_SWITCH: ("production_container_id_" | "material_container_no_")[];
37
39
  /** 行变更 handler:物料批次号清空时的字段集 */
38
40
  export declare const CLEAR_ON_MATERIAL_CONTAINER_NO_EMPTY: ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
39
41
  /** 行变更 handler:物料批次号切换时的字段集 */
@@ -3,23 +3,44 @@
3
3
  */
4
4
  /** 单字段 key */
5
5
  export declare const F: {
6
- readonly batch: "production_identification_id_";
6
+ /** 库存主键(选物料时写 option.id_,用于唯一回显) */
7
+ readonly inventory: "inventory_id_";
8
+ /** 物料 */
7
9
  readonly product: "product_id_";
10
+ /** 物料名称 */
8
11
  readonly productName: "product_id_name_";
12
+ /** 物料编码 */
9
13
  readonly productCode: "product_id_code_";
14
+ /** 物料规格 */
10
15
  readonly productSpec: "product_id_spec_";
11
- readonly validity: "validity_";
12
- readonly stock: "stock_num_";
16
+ /** 物料批号 */
17
+ readonly batch: "production_identification_id_";
18
+ /** 源仓库 */
19
+ readonly originWarehouse: "origin_warehouse_id_";
20
+ /** 源库位 */
21
+ readonly originLocation: "origin_location_id_";
22
+ /** 目标仓库 */
13
23
  readonly warehouse: "warehouse_id_";
24
+ /** 目标库位 */
14
25
  readonly location: "location_id_";
15
- readonly originWarehouseId: "origin_warehouse_id_";
16
- readonly originLocationId: "origin_location_id_";
17
- readonly allocateReason: "allocate_reason_";
26
+ /** 库存数量 */
27
+ readonly stock: "stock_num_";
28
+ /** 调拨数量 */
18
29
  readonly allocateNum: "allocate_num_";
30
+ /** 工单 */
31
+ readonly mfgOrder: "mfg_order_id_";
32
+ /** 批次/SN */
33
+ readonly lotSn: "lot_sn_id_";
34
+ /** 有效期 */
35
+ readonly validity: "validity_";
36
+ /** 复检日期 */
37
+ readonly reInspectionDate: "re_inspection_date_";
38
+ /** 唯一码 */
39
+ readonly uniqueCode: "unique_code_";
19
40
  readonly matcode: "product_code_";
20
- readonly rowSource: "row_source_";
21
- readonly allocateLocationIds: "_allocate_location_ids_";
22
41
  };
23
42
  export type AllocateFieldKey = (typeof F)[keyof typeof F];
24
- /** runtimeRules:始终只读的信息字段 */
25
- export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "production_identification_id_", "stock_num_", "validity_", "origin_warehouse_id_", "origin_location_id_"];
43
+ /** 设计态输入属性固定禁用、运行态只读的字段 */
44
+ export declare const DISABLED_INPUT_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "production_identification_id_", "origin_warehouse_id_", "origin_location_id_", "mfg_order_id_", "lot_sn_id_", "stock_num_", "validity_", "re_inspection_date_"];
45
+ /** 物料清空时需一并清空的字段 */
46
+ export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["inventory_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "production_identification_id_", "origin_warehouse_id_", "origin_location_id_", "warehouse_id_", "location_id_", "mfg_order_id_", "lot_sn_id_", "stock_num_", "allocate_num_", "validity_", "re_inspection_date_"];
@@ -1,4 +1,3 @@
1
1
  import { BusinessSubTableProfile } from '../../../../types';
2
2
  export declare const TABLE_TYPE: "warehouse-allocate";
3
3
  export declare const profile: BusinessSubTableProfile;
4
- export { profile as warehouseAllocateProfile };
@@ -1,9 +1,6 @@
1
1
  import { Doc } from '../../../../../../core';
2
2
  /**
3
- * 物料切换 / 清空
3
+ * 物料清空时,同步清空选库存带回的填充字段
4
+ * 切换物料不预清:由 fillFromOption 覆盖回填
4
5
  */
5
6
  export declare function handleProductIdChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
6
- /**
7
- * 库位切换 / 清空
8
- */
9
- export declare function handleLocationChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
@@ -0,0 +1,2 @@
1
+ export { profile as warehouseInProfile, TABLE_TYPE } from './profile';
2
+ export * from './profile';
@@ -0,0 +1,39 @@
1
+ /**
2
+ * 入库明细表字段 key 统一定义
3
+ */
4
+ /** 单字段 key */
5
+ export declare const F: {
6
+ /** 物料 */
7
+ readonly product: "product_id_";
8
+ /** 物料名称 */
9
+ readonly productName: "product_id_name_";
10
+ /** 物料编码 */
11
+ readonly productCode: "product_id_code_";
12
+ /** 物料规格 */
13
+ readonly productSpec: "product_id_spec_";
14
+ /** 物料批号 */
15
+ readonly materialNo: "material_no_";
16
+ /** 物料批号ID */
17
+ readonly materialNoId: "material_no__id_";
18
+ /** 数量 */
19
+ readonly qty: "qty_";
20
+ /** 仓库 */
21
+ readonly warehouse: "warehouse_id_";
22
+ /** 库位 */
23
+ readonly location: "location_id_";
24
+ /** 工单 */
25
+ readonly mfgOrder: "mfg_order_id_";
26
+ /** 生产批次/SN */
27
+ readonly lotSn: "lot_sn_id_";
28
+ /** 有效期 */
29
+ readonly validity: "validity_";
30
+ /** 唯一码 */
31
+ readonly uniqueCode: "unique_code_";
32
+ /** 复检日期 */
33
+ readonly reInspectionDate: "re_inspection_date_";
34
+ };
35
+ export type WarehouseInFieldKey = (typeof F)[keyof typeof F];
36
+ /** runtimeRules:始终只读的信息字段 */
37
+ export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
38
+ /** 物料清空时需一并清空的字段 */
39
+ export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
@@ -0,0 +1,2 @@
1
+ import { BusinessFieldProfile } from '../../../../types';
2
+ export declare const fields: BusinessFieldProfile[];
@@ -0,0 +1,3 @@
1
+ import { BusinessSubTableProfile } from '../../../../types';
2
+ export declare const TABLE_TYPE: "warehouse-in";
3
+ export declare const profile: BusinessSubTableProfile;
@@ -0,0 +1,5 @@
1
+ import { Doc } from '../../../../../../core';
2
+ /**
3
+ * 物料清空时,同步清空名称 / 编码 / 规格
4
+ */
5
+ export declare function handleProductIdChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
@@ -1,3 +1,4 @@
1
1
  export { profile as warehouseInventoryProfile } from './profile';
2
2
  export * from './runtime';
3
3
  export * from './actions';
4
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ import { BizServiceApiDef } from '../../../../types';
2
+ /** 按盘点维度解析库存接口 */
3
+ export declare function resolveStocktakeInventoryApi(regionProps?: Record<string, unknown> | null): BizServiceApiDef;