@gct-paas/word 0.1.63-beta.0 → 0.1.63-beta.1

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 (87) hide show
  1. package/dist/base/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  2. package/dist/base/calendar/src/calendar.vue.d.ts +3 -3
  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/form-item/src/form-item.vue.d.ts +3 -0
  9. package/dist/base/input/src/input-number.vue.d.ts +4 -4
  10. package/dist/base/input/src/input.vue.d.ts +9 -9
  11. package/dist/base/input/src/text-area.vue.d.ts +8 -8
  12. package/dist/base/radio/src/radio-group.vue.d.ts +2 -2
  13. package/dist/base/radio/src/radio.vue.d.ts +2 -2
  14. package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +3 -3
  15. package/dist/base/segment-slider/src/segment-slider.vue.d.ts +2 -2
  16. package/dist/base/select/src/basic-select.vue.d.ts +2 -2
  17. package/dist/base/select/src/searchable-select.vue.d.ts +2 -2
  18. package/dist/base/slider/src/slider.vue.d.ts +2 -2
  19. package/dist/base/switch/src/switch.vue.d.ts +2 -2
  20. package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
  21. package/dist/core/cursor/layout/baseMeta.d.ts +1 -1
  22. package/dist/core/data/DataManager.d.ts +2 -31
  23. package/dist/core/data/enrichers/build-field-enrichers.d.ts +1 -11
  24. package/dist/core/data/enrichers/companion-enricher.d.ts +24 -0
  25. package/dist/core/data/enrichers/enrich-utils.d.ts +6 -0
  26. package/dist/core/data/enrichers/hydrate-utils.d.ts +6 -0
  27. package/dist/core/data/enrichers/hyperlink-enricher.d.ts +3 -2
  28. package/dist/core/data/enrichers/id-enricher.d.ts +1 -1
  29. package/dist/core/data/enrichers/label-enricher.d.ts +1 -37
  30. package/dist/core/data/enrichers/label-resolve.d.ts +40 -0
  31. package/dist/core/data/enrichers/static-label-enrichers.d.ts +1 -1
  32. package/dist/core/data/index.d.ts +10 -0
  33. package/dist/core/data/paths/field-paths.d.ts +18 -0
  34. package/dist/core/data/{enrichers → paths}/subtable-path.d.ts +29 -1
  35. package/dist/core/data/post-change-pipeline.d.ts +2 -24
  36. package/dist/core/data/submit/fields.d.ts +8 -0
  37. package/dist/core/data/{subtable-row.d.ts → subtable/row.d.ts} +4 -2
  38. package/dist/core/data/types/change.d.ts +17 -0
  39. package/dist/core/data/{enricher-types.d.ts → types/enricher.d.ts} +1 -1
  40. package/dist/core/data/types/index.d.ts +4 -0
  41. package/dist/core/data/types/pipeline.d.ts +23 -0
  42. package/dist/core/data/types/runtime-config.d.ts +10 -0
  43. package/dist/core/data/updates/field-updates.d.ts +27 -0
  44. package/dist/domain/active/active-types.d.ts +1 -1
  45. package/dist/domain/field/of-inst-num/of-inst-num-enricher.d.ts +1 -1
  46. package/dist/domain/table/business/check/check-table/actions/fetch-check-items.d.ts +9 -0
  47. package/dist/domain/table/business/check/check-table/actions/index.d.ts +1 -0
  48. package/dist/domain/table/business/check/check-table/index.d.ts +3 -1
  49. package/dist/domain/table/business/check/check-table/profile/field-keys.d.ts +48 -0
  50. package/dist/domain/table/business/check/check-table/profile/index.d.ts +1 -1
  51. package/dist/{suites/edhr/check-table → domain/table/business/check/check-table/runtime}/check-table-dyn-value.d.ts +4 -4
  52. package/dist/domain/table/business/check/check-table/runtime/check-table-label-enricher.d.ts +1 -1
  53. package/dist/{sdk/doc-runtime/check-table → domain/table/business/check/check-table/runtime}/expand-runtime-json.d.ts +10 -6
  54. package/dist/domain/table/business/check/check-table/runtime/index.d.ts +4 -1
  55. package/dist/{sdk/doc-runtime/check-table → domain/table/business/check/check-table/runtime}/map-check-table-item-infos.d.ts +2 -4
  56. package/dist/domain/table/business/check/check-table/runtime/prepare-check-table-init.d.ts +15 -0
  57. package/dist/{sdk/doc-runtime → domain/table/business/check}/check-table/types.d.ts +13 -8
  58. package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/change-parse-rule.d.ts +1 -1
  59. package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +1 -1
  60. package/dist/domain/table/runtime/engines/linkage-engine.d.ts +1 -1
  61. package/dist/domain/table/runtime/engines/remote-sync-engine.d.ts +1 -2
  62. package/dist/domain/table/runtime/engines/row-runtime-engine.d.ts +1 -2
  63. package/dist/domain/table/runtime/engines/rule-engine.d.ts +1 -1
  64. package/dist/domain/table/runtime/table-runtime-utils.d.ts +0 -39
  65. package/dist/domain/table/runtime/table-runtime.d.ts +1 -1
  66. package/dist/domain/table/types.d.ts +1 -1
  67. package/dist/index.es.js +23776 -24361
  68. package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +1 -1
  69. package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -1
  70. package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +20 -20
  71. package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
  72. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +20 -20
  73. package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +20 -20
  74. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +2 -2
  75. package/dist/word.css +58 -52
  76. package/package.json +1 -1
  77. package/dist/core/data/derived-fields.d.ts +0 -45
  78. package/dist/core/data/emit-source.d.ts +0 -15
  79. package/dist/core/data/pipeline-logger.d.ts +0 -72
  80. package/dist/core/directives/index.d.ts +0 -2
  81. package/dist/core/directives/stopPointer.d.ts +0 -13
  82. package/dist/domain/table/business/check/check-table/runtime/check-table-value-fields.d.ts +0 -3
  83. package/dist/mock/2.d.ts +0 -6
  84. package/dist/sdk/doc-runtime/check-table/index.d.ts +0 -4
  85. package/dist/sdk/doc-runtime/check-table/resolve-check-table-item-infos.d.ts +0 -5
  86. package/dist/suites/edhr/panel-schema/check-table/types.d.ts +0 -20
  87. /package/dist/core/data/{enrichers → paths}/path-templates.d.ts +0 -0
@@ -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
- path: string;
17
16
  disabled: boolean;
17
+ path: string;
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"]>;
@@ -11,14 +11,14 @@ 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
- mode: "datetime" | "date";
21
20
  showClearBtn: boolean;
21
+ mode: "datetime" | "date";
22
22
  weekStart: number;
23
23
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
24
  export default _default;
@@ -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, {
@@ -62,13 +62,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
62
62
  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
- change: (...args: any[]) => void;
66
65
  edit: (...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
- onChange?: ((...args: any[]) => any) | undefined;
70
69
  onEdit?: ((...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;
@@ -5,6 +5,8 @@ type __VLS_Props = {
5
5
  size?: 'small' | 'default' | 'large';
6
6
  /** 是否取消与上一项之间的间距 */
7
7
  disableSpacing?: boolean;
8
+ /** 标签后是否显示冒号 */
9
+ colon?: boolean;
8
10
  };
9
11
  declare function __VLS_template(): {
10
12
  attrs: Partial<{}>;
@@ -22,6 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
22
24
  size: "small" | "default" | "large";
23
25
  inline: boolean;
24
26
  disableSpacing: boolean;
27
+ colon: boolean;
25
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
30
  export default _default;
@@ -32,13 +32,13 @@ declare function __VLS_template(): {
32
32
  };
33
33
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
34
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
35
- blur: () => any;
36
- change: (val: string | number | null) => any;
37
35
  "update:modelValue": (val: string | number | null) => any;
36
+ change: (val: string | number | null) => any;
37
+ blur: () => any;
38
38
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
39
- onBlur?: (() => any) | undefined;
40
- onChange?: ((val: string | number | null) => any) | undefined;
41
39
  "onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
40
+ onChange?: ((val: string | number | null) => any) | undefined;
41
+ onBlur?: (() => any) | undefined;
42
42
  }>, {
43
43
  disabled: boolean;
44
44
  modelValue: ValueType;
@@ -19,26 +19,26 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
19
19
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
20
  input: (value: string | number, event: Event) => any;
21
21
  search: (value: string | number) => any;
22
- blur: (event: FocusEvent) => any;
23
- change: (value: string | number, event: Event) => any;
22
+ clear: () => any;
24
23
  focus: (event: FocusEvent) => any;
24
+ "update:modelValue": (value: string | number) => any;
25
+ change: (value: string | number, event: Event) => any;
26
+ blur: (event: FocusEvent) => any;
25
27
  keydown: (event: KeyboardEvent) => any;
26
28
  keypress: (event: KeyboardEvent) => any;
27
29
  keyup: (event: KeyboardEvent) => any;
28
- clear: () => any;
29
- "update:modelValue": (value: string | number) => any;
30
30
  pressEnter: (event: KeyboardEvent) => any;
31
31
  }, string, import('vue').PublicProps, Readonly<GctInputProps> & Readonly<{
32
32
  onInput?: ((value: string | number, event: Event) => any) | undefined;
33
33
  onSearch?: ((value: string | number) => any) | undefined;
34
- onBlur?: ((event: FocusEvent) => any) | undefined;
35
- onChange?: ((value: string | number, event: Event) => any) | undefined;
34
+ onClear?: (() => any) | undefined;
36
35
  onFocus?: ((event: FocusEvent) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
37
+ onChange?: ((value: string | number, event: Event) => any) | undefined;
38
+ onBlur?: ((event: FocusEvent) => any) | undefined;
37
39
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
38
40
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
39
41
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
40
- onClear?: (() => any) | undefined;
41
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
42
42
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
43
43
  }>, {
44
44
  name: string;
@@ -47,8 +47,8 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
47
47
  readonly: boolean;
48
48
  disabled: boolean;
49
49
  size: import('./types').InputSize;
50
- suffix: string;
51
50
  placeholder: string;
51
+ suffix: string;
52
52
  modelValue: string | number;
53
53
  prefix: string;
54
54
  addonBefore: string;
@@ -17,26 +17,26 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
17
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
18
18
  input: (value: string | number, event: Event) => any;
19
19
  search: (value: string | number) => any;
20
- blur: (event: FocusEvent) => any;
21
- change: (value: string | number, event: Event) => any;
20
+ clear: () => any;
22
21
  focus: (event: FocusEvent) => any;
22
+ "update:modelValue": (value: string | number) => any;
23
+ change: (value: string | number, event: Event) => any;
24
+ blur: (event: FocusEvent) => any;
23
25
  keydown: (event: KeyboardEvent) => any;
24
26
  keypress: (event: KeyboardEvent) => any;
25
27
  keyup: (event: KeyboardEvent) => any;
26
- clear: () => any;
27
- "update:modelValue": (value: string | number) => any;
28
28
  pressEnter: (event: KeyboardEvent) => any;
29
29
  }, string, import('vue').PublicProps, Readonly<GctInputProps> & Readonly<{
30
30
  onInput?: ((value: string | number, event: Event) => any) | undefined;
31
31
  onSearch?: ((value: string | number) => any) | undefined;
32
- onBlur?: ((event: FocusEvent) => any) | undefined;
33
- onChange?: ((value: string | number, event: Event) => any) | undefined;
32
+ onClear?: (() => any) | undefined;
34
33
  onFocus?: ((event: FocusEvent) => any) | undefined;
34
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
35
+ onChange?: ((value: string | number, event: Event) => any) | undefined;
36
+ onBlur?: ((event: FocusEvent) => any) | undefined;
35
37
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
36
38
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
37
39
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
38
- onClear?: (() => any) | undefined;
39
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
40
40
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
41
41
  }>, {
42
42
  name: string;
@@ -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,18 +14,18 @@ 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
  disabled: boolean;
26
26
  modelCategory: string;
27
- pageSize: number;
28
27
  placeholder: string;
28
+ pageSize: number;
29
29
  popperWidth: number;
30
30
  allowClear: boolean;
31
31
  disabledParent: boolean;
@@ -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>;
@@ -62,13 +62,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
62
62
  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
- change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
66
65
  edit: (option: DropdownOption) => any;
67
66
  "update:modelValue": (val: string | number | (string | number)[]) => any;
67
+ change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
68
68
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
69
- onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
70
69
  onEdit?: ((option: DropdownOption) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
71
+ onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
72
72
  }>, {
73
73
  disabled: boolean;
74
74
  options: DropdownOption[];
@@ -9,11 +9,11 @@ type __VLS_Props = {
9
9
  popperWidth?: number;
10
10
  };
11
11
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
- change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
13
12
  "update:modelValue": (val?: string | number | undefined) => any;
13
+ change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
14
14
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
16
15
  "onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
16
+ onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
17
17
  }>, {
18
18
  readonly: boolean;
19
19
  disabled: boolean;
@@ -6,11 +6,11 @@ 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
15
  modelValue: number;
16
16
  step: number;
@@ -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;
@@ -22,13 +22,13 @@ type __VLS_Props = {
22
22
  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
- change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
26
25
  edit: (option: DropdownOption) => 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
- onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
30
29
  onEdit?: ((option: DropdownOption) => 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;
@@ -7,8 +7,8 @@ export declare function getBaseMetaInfo(node: BaseMetaNode): {
7
7
  isPlaceholder: boolean;
8
8
  /** model 侧 run 的 id,布局重建后可用于重锚定 */
9
9
  modelId: string | undefined;
10
- path: string[];
11
10
  id: string;
11
+ path: string[];
12
12
  pathIndex: number[];
13
13
  pageId: string;
14
14
  preId: string;
@@ -1,30 +1,7 @@
1
1
  import { Doc } from '../view/Doc';
2
- import { PostChangePipelineContext } from './post-change-pipeline';
3
- import { EmitSource } from './emit-source';
4
- export type { EmitSource } from './emit-source';
5
- export { EMIT_SOURCE_DESC } from './emit-source';
6
- /** 单字段变更明细(path 作为 FieldChangeMap 的 key) */
7
- export interface FieldChangeDetail {
8
- oldValue: unknown;
9
- newValue: unknown;
10
- source: EmitSource;
11
- }
12
- /** 本批次字段变更:path → 变更明细 */
13
- export type FieldChangeMap = Record<string, FieldChangeDetail>;
14
- export type Data = Record<string, any>;
15
- export type PartialData = Partial<Data>;
2
+ import { EmitSource, Data, PartialData, FieldRuntimeSpecificConfig, PostChangePipelineContext } from './types';
16
3
  type JsonPath = string;
17
4
  type SubscriptionCallback = (newValue: any, oldValue: any) => void;
18
- /** 组件依赖按 runtime valuePath 写入的运行时配置(子表各行独立) */
19
- export type FieldRuntimeSpecificConfig = {
20
- newReadonly?: boolean;
21
- newRequired?: boolean;
22
- newDisabled?: boolean;
23
- /** assignment 策略「始终覆盖」时按行不可输入 */
24
- cannotInput?: boolean;
25
- /** 实例数字段:用户手填后不再被 API 回填覆盖 */
26
- ofInstNumUserEdited?: boolean;
27
- };
28
5
  /**
29
6
  * 数据管理器
30
7
  * 用于保存和操作原始 JSON 数据,支持基于 jsonpath 的读写操作
@@ -259,18 +236,11 @@ export declare class DataManager {
259
236
  * 不处理主体轴(如 f_ewb / f_jianyan1),避免覆盖接口行或误扩纵向轴。
260
237
  */
261
238
  private syncSubTableRowsToLayout;
262
- /** 子表在 rawData 中的行数(支持尚未转成数组的 { data: [] } 接口形态,此时返回 0 且不在此阶段强转) */
263
- private countSubTableDataRows;
264
239
  /**
265
240
  * 为检验表关联轴补足铺砖行:占位标记 + __gw_x_uid(与 push/insert 行为一致)。
266
241
  */
267
242
  private ensureCheckTableLinkLayoutRows;
268
243
  private applyInitDataCrossWildcard;
269
- /**
270
- * 解析子表初始化行数:接口已有行数、版面数据分组槽位。
271
- * layoutRows 为 0(如二维表纵向 f_ewb)时不按分组扩行,仅保证至少 1 行可绑定。
272
- */
273
- private resolveInitRowCount;
274
244
  /**
275
245
  * 将子表数组补齐到指定行数。
276
246
  * @param asPlaceholder true:push/insert 用的系统占位行(带 __gw_default);false:applyInitData 物化行(空对象)
@@ -389,3 +359,4 @@ export declare class DataManager {
389
359
  */
390
360
  clear(): void;
391
361
  }
362
+ export {};
@@ -1,7 +1,5 @@
1
1
  import { Doc } from '../../view/Doc';
2
- import { Wr } from '../../model/document';
3
- import { PostChangePipelineContext } from '../post-change-pipeline';
4
- import { DataEnricherRegistration } from '../enricher-types';
2
+ import { PostChangePipelineContext, DataEnricherRegistration } from '../types';
5
3
  import { FieldComputedConfig } from '../../../domain/field/field-props-schema-type';
6
4
  /**
7
5
  * 解析 enricher 用的 widget props
@@ -16,11 +14,3 @@ export declare function resolveEnricherWidgetProps(instance: {
16
14
  }): Record<string, unknown>;
17
15
  /** 根据文档 widget 列表构建全部 enricher 注册项 */
18
16
  export declare function buildFieldEnricherRegistrations(instances: any[], ctx: PostChangePipelineContext, doc: Doc): DataEnricherRegistration[];
19
- /**
20
- * 收集 init / 换数后需要跑 hydrate 的运行时路径(仅 rawData 中已有值的字段)
21
- */
22
- export declare function collectInitialEnrichPaths(instances: Wr[], rawData: Record<string, any>): string[];
23
- /** 收集子表指定行的 widget 字段路径(扫码 / 批量写行后补跑 label enrich) */
24
- export declare function collectSubtableRowEnrichPaths(instances: Wr[], subFieldKey: string, rowIndexes: number[]): string[];
25
- /** 子表指定行补跑 label / 派生字段 hydrate(enrichment 或整表 user 写入后不触发 enricher) */
26
- export declare function hydrateSubtableRowLabels(doc: Doc, subFieldKey: string, rowIndexes: number[]): Promise<void>;
@@ -0,0 +1,24 @@
1
+ import { Doc } from '../../view/Doc';
2
+ import { DataEnricherRegistration } from '../types';
3
+ type CompanionEnricherRegistration = Omit<DataEnricherRegistration, 'enrich'> & {
4
+ doc: Doc;
5
+ };
6
+ type CreateCompanionEnricherConfig = {
7
+ /** withRequestCache 命名空间 */
8
+ cacheNamespace: string;
9
+ /** 默认 enricher id 前缀(如 `id:` / `hyperlink:`) */
10
+ defaultIdPrefix: string;
11
+ getCompanionPath: (valuePath: string) => string;
12
+ buildCacheKey: (path: string, value: unknown, doc: Doc) => Record<string, unknown>;
13
+ resolveCompanion: (path: string, value: unknown, doc: Doc, cacheKey: Record<string, unknown>) => Promise<unknown>;
14
+ /** hydrate 且 value 未变时保留已有 companion */
15
+ preserveOnHydrate?: boolean;
16
+ /** value 非空且 companion 已有值时跳过(如下拉同次写入 id) */
17
+ skipWhenCompanionPresent?: boolean;
18
+ };
19
+ /**
20
+ * 创建「value → companion 字段」类 enricher 的通用工厂。
21
+ * 负责空值清空、可选 hydrate 保留、withRequestCache 包装。
22
+ */
23
+ export declare function createCompanionEnricher(reg: CompanionEnricherRegistration, config: CreateCompanionEnricherConfig): DataEnricherRegistration;
24
+ export {};
@@ -0,0 +1,6 @@
1
+ import { DataManager } from '../DataManager';
2
+ import { EnrichContext } from '../types';
3
+ /**
4
+ * hydrate 且 value 未变时,保留已有 companion 字段快照(如 _lb_、_id_)
5
+ */
6
+ export declare function shouldPreservePersistedCompanion(dataManager: DataManager, valuePath: string, getCompanionPath: (path: string) => string, ctx?: EnrichContext): boolean;
@@ -0,0 +1,6 @@
1
+ import { Doc } from '../../view/Doc';
2
+ import { Wr } from '../../model/document';
3
+ /** 收集 init / 换数后需要跑 hydrate 的运行时路径(仅 rawData 中已有值的字段) */
4
+ export declare function collectInitialEnrichPaths(instances: Wr[], rawData: Record<string, any>): string[];
5
+ /** 子表指定行补跑 label / 派生字段 hydrate(enrichment 或整表 user 写入后不触发 enricher) */
6
+ export declare function hydrateSubtableRowLabels(doc: Doc, subFieldKey: string, rowIndexes: number[]): Promise<void>;
@@ -1,8 +1,9 @@
1
1
  import { Doc } from '../../view/Doc';
2
2
  import { WidgetMeta } from '../../widget/widget-meta';
3
- import { DataEnricherRegistration } from '../enricher-types';
4
- export type HyperlinkEnricherOptions = Omit<DataEnricherRegistration, 'enrich'> & {
3
+ import { DataEnricherRegistration } from '../types';
4
+ type HyperlinkEnricherOptions = Omit<DataEnricherRegistration, 'enrich'> & {
5
5
  doc: Doc;
6
6
  widgetMeta: WidgetMeta;
7
7
  };
8
8
  export declare function createHyperlinkEnricher(reg: HyperlinkEnricherOptions): DataEnricherRegistration;
9
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { Doc } from '../../view/Doc';
2
2
  import { WidgetMeta } from '../../widget/widget-meta';
3
- import { DataEnricherRegistration } from '../enricher-types';
3
+ import { DataEnricherRegistration } from '../types';
4
4
  type IdEnricherOptions = Omit<DataEnricherRegistration, 'enrich'> & {
5
5
  doc: Doc;
6
6
  widgetMeta: WidgetMeta;
@@ -1,39 +1,9 @@
1
1
  import { Doc } from '../../view/Doc';
2
2
  import { WidgetMeta } from '../../widget/widget-meta';
3
3
  import { FieldDataBindingMeta } from '../../../domain/field/field-binding';
4
- import { FIELD_TYPE } from '../../../domain/field/field-type';
5
4
  import { FieldManifest } from '../../../capabilities/field-manifest';
6
5
  import { FieldMeta } from '../../../capabilities/model-field-runtime';
7
- import { DataEnricherRegistration } from '../enricher-types';
8
- import { DataManager } from '../DataManager';
9
- import { apiFetchers } from '../../../runtime/interface/fetchers';
10
- /** 单条 label 解析策略 */
11
- type LabelResolveStrategy = {
12
- type: 'dict';
13
- dictFieldKey?: string;
14
- } | {
15
- type: 'options';
16
- from: 'optionsJson' | 'computedOptions';
17
- labelKey?: string;
18
- multiple?: boolean;
19
- } | {
20
- type: 'api';
21
- fetcher: keyof typeof apiFetchers;
22
- fallback?: string;
23
- } | {
24
- type: 'static-map';
25
- map: Record<string, string>;
26
- };
27
- /** resolveFieldLabel 运行时入参 */
28
- interface LabelResolveContext {
29
- path: string;
30
- value: unknown;
31
- dataManager: DataManager;
32
- fieldBinding: FieldDataBindingMeta;
33
- widgetProps: Record<string, unknown>;
34
- manifest?: FieldManifest;
35
- loadFieldByKey: (modelKey: string, key: string) => Promise<FieldMeta | undefined>;
36
- }
6
+ import { DataEnricherRegistration } from '../types';
37
7
  type LabelEnricherOptions = Omit<DataEnricherRegistration, 'enrich'> & {
38
8
  doc: Doc;
39
9
  widgetMeta: WidgetMeta;
@@ -41,8 +11,6 @@ type LabelEnricherOptions = Omit<DataEnricherRegistration, 'enrich'> & {
41
11
  manifest?: FieldManifest;
42
12
  loadFieldByKey: (modelKey: string, key: string) => Promise<FieldMeta | undefined>;
43
13
  };
44
- /** 该字段是否应注册 label-enricher */
45
- export declare function fieldNeedsLabelEnrichment(fieldType: FIELD_TYPE, manifest?: FieldManifest): boolean;
46
14
  /**
47
15
  * 静态映射 enricher:value 字段 → 固定 label 字段
48
16
  * 用于无 widget 的业务字段,如盘点 stocktake_status → stocktake_status__lb_
@@ -53,10 +21,6 @@ export declare function createStaticMapLabelEnricher(doc: Doc, options: {
53
21
  labelFieldKey: string;
54
22
  map: Record<string, string>;
55
23
  }): DataEnricherRegistration;
56
- /** 从 manifest 推导 label 解析策略链 */
57
- export declare function resolveFieldLabelStrategies(fieldType: FIELD_TYPE, manifest?: FieldManifest): LabelResolveStrategy[] | undefined;
58
- /** 按策略链解析 label */
59
- export declare function resolveFieldLabel(strategies: LabelResolveStrategy[], ctx: LabelResolveContext): Promise<string | null | undefined>;
60
24
  /** 为单个 widget 字段创建 label enricher 注册项 */
61
25
  export declare function createLabelEnricher(reg: LabelEnricherOptions): DataEnricherRegistration;
62
26
  export {};
@@ -0,0 +1,40 @@
1
+ import { FieldDataBindingMeta } from '../../../domain/field/field-binding';
2
+ import { FIELD_TYPE } from '../../../domain/field/field-type';
3
+ import { FieldManifest } from '../../../capabilities/field-manifest';
4
+ import { FieldMeta } from '../../../capabilities/model-field-runtime';
5
+ import { DataManager } from '../DataManager';
6
+ import { apiFetchers } from '../../../runtime/interface/fetchers';
7
+ /** 单条 label 解析策略 */
8
+ type LabelResolveStrategy = {
9
+ type: 'dict';
10
+ dictFieldKey?: string;
11
+ } | {
12
+ type: 'options';
13
+ from: 'optionsJson' | 'computedOptions';
14
+ labelKey?: string;
15
+ multiple?: boolean;
16
+ } | {
17
+ type: 'api';
18
+ fetcher: keyof typeof apiFetchers;
19
+ fallback?: string;
20
+ } | {
21
+ type: 'static-map';
22
+ map: Record<string, string>;
23
+ };
24
+ /** resolveFieldLabel 运行时入参 */
25
+ interface LabelResolveContext {
26
+ path: string;
27
+ value: unknown;
28
+ dataManager: DataManager;
29
+ fieldBinding: FieldDataBindingMeta;
30
+ widgetProps: Record<string, unknown>;
31
+ manifest?: FieldManifest;
32
+ loadFieldByKey: (modelKey: string, key: string) => Promise<FieldMeta | undefined>;
33
+ }
34
+ /** 该字段是否应注册 label-enricher */
35
+ export declare function fieldNeedsLabelEnrichment(fieldType: FIELD_TYPE, manifest?: FieldManifest): boolean;
36
+ /** 从 manifest 推导 label 解析策略链 */
37
+ export declare function resolveFieldLabelStrategies(fieldType: FIELD_TYPE, manifest?: FieldManifest): LabelResolveStrategy[] | undefined;
38
+ /** 按策略链解析 label */
39
+ export declare function resolveFieldLabel(strategies: LabelResolveStrategy[], ctx: LabelResolveContext): Promise<string | null | undefined>;
40
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { Doc } from '../../view/Doc';
2
- import { DataEnricherRegistration } from '../enricher-types';
2
+ import { DataEnricherRegistration } from '../types';
3
3
  /** 拿到 doc 后生成 enricher 注册项 */
4
4
  type StaticLabelEnricherFactory = (doc: Doc) => DataEnricherRegistration;
5
5
  /** 注册业务侧静态/定制 label enricher */