@gct-paas/word 0.2.41-beta.0 → 0.2.41-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.
Files changed (44) hide show
  1. package/dist/base/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  2. package/dist/base/checkbox/src/checkbox-group.vue.d.ts +1 -1
  3. package/dist/base/date-time-picker/src/DateTimePicker.vue.d.ts +1 -1
  4. package/dist/base/form-item/src/form-item.vue.d.ts +1 -1
  5. package/dist/base/icon/src/icon.vue.d.ts +1 -1
  6. package/dist/base/index.d.ts +1 -0
  7. package/dist/base/input/src/input.vue.d.ts +3 -3
  8. package/dist/base/input/src/text-area.vue.d.ts +1 -1
  9. package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -1
  10. package/dist/base/radio/src/radio-group.vue.d.ts +1 -1
  11. package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +1 -1
  12. package/dist/base/select/src/basic-select.vue.d.ts +1 -1
  13. package/dist/base/select/src/searchable-select.vue.d.ts +1 -1
  14. package/dist/base/switch/src/switch.vue.d.ts +1 -1
  15. package/dist/base/table/src/table.vue.d.ts +1 -1
  16. package/dist/base/time-picker/index.d.ts +1 -0
  17. package/dist/base/time-picker/src/TimePicker.vue.d.ts +29 -0
  18. package/dist/core/data/DataManager.d.ts +2 -1
  19. package/dist/core/data/enrichers/received-qty-enricher.d.ts +4 -0
  20. package/dist/domain/field/field-type.d.ts +4 -0
  21. package/dist/index.es.js +16103 -6206
  22. package/dist/runtime/_register_/runtime/SuiteRuntime.d.ts +4 -0
  23. package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +1 -1
  24. package/dist/runtime/canvas/table/render/material-consume/service.d.ts +5 -2
  25. package/dist/runtime/designer/toolkit/renderer/add-field-btn.vue.d.ts +8 -0
  26. package/dist/runtime/designer/toolkit/renderer/toolkit-content-fields.vue.d.ts +3 -1
  27. package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +3 -16
  28. package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +16 -16
  29. package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +7 -7
  30. package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +2 -2
  31. package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +7 -7
  32. package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +7 -7
  33. package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +7 -7
  34. package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +7 -7
  35. package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +7 -7
  36. package/dist/sdk/index.d.ts +1 -0
  37. package/dist/suites/edhr/manifest/field/business/quantity-received-qty-manifest.d.ts +3 -0
  38. package/dist/suites/edhr/panel-schema/rule/components/decision-rule-condition.vue.d.ts +2 -2
  39. package/dist/suites/edhr/panel-schema/rule/components/field-map-row.vue.d.ts +1 -1
  40. package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +1 -1
  41. package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
  42. package/dist/utils/func/base-formula-functions.d.ts +8 -0
  43. package/dist/word.css +269 -181
  44. package/package.json +2 -2
@@ -10,6 +10,7 @@ import { FieldModelQuery } from '../../../sdk/types/field-model-query';
10
10
  /** 套件唯一运行期入口 */
11
11
  export declare class SuiteRuntime implements FieldModelQuery {
12
12
  readonly suiteKey: SuiteKey;
13
+ private readonly fieldsUpdatedListeners;
13
14
  readonly fieldService: FieldService;
14
15
  readonly modelService: ModelService;
15
16
  readonly fieldScope: FieldScope;
@@ -36,6 +37,9 @@ export declare class SuiteRuntime implements FieldModelQuery {
36
37
  getMasterSlaveFieldList(modelKey: ModelKey): FieldMeta[];
37
38
  getFieldManifest(type: FIELD_TYPE): import('../../../capabilities/field-manifest').FieldManifest | undefined;
38
39
  reloadFields(modelKey: ModelKey): Promise<import('../../../capabilities/model-field-runtime').FieldListResult>;
40
+ onFieldsUpdated(listener: (modelKey: ModelKey) => void): () => void;
41
+ /** 通知正在使用指定模型的面板,从字段缓存更新列表;不重新请求字段或加载文档。 */
42
+ notifyFieldsUpdated(modelKey: ModelKey): void;
39
43
  reloadModel(modelKey: ModelKey): Promise<[ModelMeta | undefined, import('../../../capabilities/model-field-runtime').FieldListResult]>;
40
44
  dispose(): void;
41
45
  }
@@ -262,7 +262,7 @@ export declare class MaterialConsumeTableController {
262
262
  /** 校验有效期 */
263
263
  validateExpiration(row: IMaterialConsumeData): void;
264
264
  /**
265
- * 物料+批次查复检日期;缺任一参数不查;无日期放过;小于当天则 throw
265
+ * 物料+批次查复检日期、有效期;缺任一参数不查;无日期放过;小于当天则 throw
266
266
  */
267
267
  private validateReinspectionDate;
268
268
  /**
@@ -71,8 +71,11 @@ export declare function getReinspectionDate(params: {
71
71
  product_id_: string;
72
72
  material_no_?: string;
73
73
  material_no_id_?: string;
74
- }): Promise<string | undefined>;
75
- /** 物料+批次查复检日期;缺任一参数不查;无日期放过;小于当天则 throw */
74
+ }): Promise<{
75
+ reInspectionDate?: string;
76
+ validateDate?: string;
77
+ }>;
78
+ /** 物料+批次查复检日期、有效期;缺任一参数不查;无日期放过;小于当天则 throw */
76
79
  export declare function assertReinspectionDate(opts: {
77
80
  product_id_?: string;
78
81
  material_no_?: string;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ /** 新字段的保存位置:主表的主模型、子表绑定的子模型,或二维表所选分组对应的模型。 */
3
+ model?: string;
4
+ /** 新字段所属的表单版本。 */
5
+ tmplVersionId: string;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ export default _default;
@@ -1,2 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ addFieldModelKey: import('vue').ComputedRef<string | undefined>;
3
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
4
  export default _default;
@@ -10,17 +10,11 @@ type __VLS_Props = {
10
10
  declare function __VLS_template(): {
11
11
  attrs: Partial<{}>;
12
12
  slots: {
13
+ 'title-actions'?(_: {}): any;
13
14
  default?(_: {}): any;
14
15
  };
15
16
  refs: {
16
- dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
17
- P: {};
18
- B: {};
19
- D: {};
20
- C: {};
21
- M: {};
22
- Defaults: {};
23
- }, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
17
+ dropdownRef: unknown;
24
18
  };
25
19
  rootEl: HTMLDivElement;
26
20
  };
@@ -46,14 +40,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
46
40
  active: boolean;
47
41
  noDropdown: boolean;
48
42
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
49
- dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
50
- P: {};
51
- B: {};
52
- D: {};
53
- C: {};
54
- M: {};
55
- Defaults: {};
56
- }, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
43
+ dropdownRef: unknown;
57
44
  }, HTMLDivElement>;
58
45
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
46
  export default _default;
@@ -17,14 +17,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
17
17
  $refs: {
18
18
  [x: string]: unknown;
19
19
  } & {
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;
20
+ dropdownRef: unknown;
28
21
  };
29
22
  $slots: Readonly<{
30
23
  [name: string]: import('vue').Slot<any> | undefined;
@@ -105,9 +98,22 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
105
98
  isVisible: import('vue').Ref<boolean, boolean>;
106
99
  }> & {} & import('vue').ComponentCustomProperties & {} & {
107
100
  $slots: {
101
+ 'title-actions'?(_: {}): any;
108
102
  default?(_: {}): any;
109
103
  };
110
104
  }) | null;
105
+ fieldContentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
106
+ addFieldModelKey: import('vue').ComputedRef<string | undefined>;
107
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
108
+ P: {};
109
+ B: {};
110
+ D: {};
111
+ C: {};
112
+ M: {};
113
+ Defaults: {};
114
+ }, Readonly<{}> & Readonly<{}>, {
115
+ addFieldModelKey: import('vue').ComputedRef<string | undefined>;
116
+ }, {}, {}, {}, {}> | null;
111
117
  widgetToolkitRef: ({
112
118
  $: import('vue').ComponentInternalInstance;
113
119
  $data: {};
@@ -126,14 +132,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
126
132
  $refs: {
127
133
  [x: string]: unknown;
128
134
  } & {
129
- dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
130
- P: {};
131
- B: {};
132
- D: {};
133
- C: {};
134
- M: {};
135
- Defaults: {};
136
- }, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
135
+ dropdownRef: unknown;
137
136
  };
138
137
  $slots: Readonly<{
139
138
  [name: string]: import('vue').Slot<any> | undefined;
@@ -214,6 +213,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
214
213
  isVisible: import('vue').Ref<boolean, boolean>;
215
214
  }> & {} & import('vue').ComponentCustomProperties & {} & {
216
215
  $slots: {
216
+ 'title-actions'?(_: {}): any;
217
217
  default?(_: {}): any;
218
218
  };
219
219
  }) | null;
@@ -105,13 +105,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
105
105
  keyup: (event: KeyboardEvent) => any;
106
106
  pressEnter: (event: KeyboardEvent) => any;
107
107
  }, string, {
108
- type: import('../../../../base/input/src/types').InputType;
109
108
  id: string;
109
+ type: import('../../../../base/input/src/types').InputType;
110
110
  name: string;
111
+ placeholder: string;
112
+ size: import('../../../../base/input/src/types').InputSize;
111
113
  readonly: boolean;
112
114
  disabled: boolean;
113
- size: import('../../../../base/input/src/types').InputSize;
114
- placeholder: string;
115
115
  modelValue: string | number;
116
116
  prefix: string;
117
117
  suffix: string;
@@ -149,13 +149,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
149
149
  $nextTick: typeof nextTick;
150
150
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
151
151
  } & Readonly<{
152
- type: import('../../../../base/input/src/types').InputType;
153
152
  id: string;
153
+ type: import('../../../../base/input/src/types').InputType;
154
154
  name: string;
155
+ placeholder: string;
156
+ size: import('../../../../base/input/src/types').InputSize;
155
157
  readonly: boolean;
156
158
  disabled: boolean;
157
- size: import('../../../../base/input/src/types').InputSize;
158
- placeholder: string;
159
159
  modelValue: string | number;
160
160
  prefix: string;
161
161
  suffix: string;
@@ -184,7 +184,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
184
184
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
185
185
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
186
186
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
187
- }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
187
+ }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
188
188
  focus: () => void;
189
189
  blur: () => void;
190
190
  select: () => void;
@@ -4,10 +4,10 @@ type __VLS_Props = {
4
4
  };
5
5
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
6
  success: () => any;
7
- status: (status: "error" | "success" | "warning" | "waiting") => any;
7
+ status: (status: "success" | "warning" | "error" | "waiting") => any;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onSuccess?: (() => any) | undefined;
10
- onStatus?: ((status: "error" | "success" | "warning" | "waiting") => any) | undefined;
10
+ onStatus?: ((status: "success" | "warning" | "error" | "waiting") => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
12
12
  inputRef: HTMLInputElement;
13
13
  }, HTMLDivElement>;
@@ -103,13 +103,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
103
103
  keyup: (event: KeyboardEvent) => any;
104
104
  pressEnter: (event: KeyboardEvent) => any;
105
105
  }, string, {
106
- type: import('../../../../base/input/src/types').InputType;
107
106
  id: string;
107
+ type: import('../../../../base/input/src/types').InputType;
108
108
  name: string;
109
+ placeholder: string;
110
+ size: import('../../../../base/input/src/types').InputSize;
109
111
  readonly: boolean;
110
112
  disabled: boolean;
111
- size: import('../../../../base/input/src/types').InputSize;
112
- placeholder: string;
113
113
  modelValue: string | number;
114
114
  prefix: string;
115
115
  suffix: string;
@@ -147,13 +147,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
147
147
  $nextTick: typeof import('vue').nextTick;
148
148
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
149
149
  } & Readonly<{
150
- type: import('../../../../base/input/src/types').InputType;
151
150
  id: string;
151
+ type: import('../../../../base/input/src/types').InputType;
152
152
  name: string;
153
+ placeholder: string;
154
+ size: import('../../../../base/input/src/types').InputSize;
153
155
  readonly: boolean;
154
156
  disabled: boolean;
155
- size: import('../../../../base/input/src/types').InputSize;
156
- placeholder: string;
157
157
  modelValue: string | number;
158
158
  prefix: string;
159
159
  suffix: string;
@@ -182,7 +182,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
182
182
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
183
183
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
184
184
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
185
- }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
185
+ }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
186
186
  focus: () => void;
187
187
  blur: () => void;
188
188
  select: () => void;
@@ -105,13 +105,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
105
105
  keyup: (event: KeyboardEvent) => any;
106
106
  pressEnter: (event: KeyboardEvent) => any;
107
107
  }, string, {
108
- type: import('../../../../../base/input/src/types').InputType;
109
108
  id: string;
109
+ type: import('../../../../../base/input/src/types').InputType;
110
110
  name: string;
111
+ placeholder: string;
112
+ size: import('../../../../../base/input/src/types').InputSize;
111
113
  readonly: boolean;
112
114
  disabled: boolean;
113
- size: import('../../../../../base/input/src/types').InputSize;
114
- placeholder: string;
115
115
  modelValue: string | number;
116
116
  prefix: string;
117
117
  suffix: string;
@@ -149,13 +149,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
149
149
  $nextTick: typeof import('vue').nextTick;
150
150
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
151
151
  } & Readonly<{
152
- type: import('../../../../../base/input/src/types').InputType;
153
152
  id: string;
153
+ type: import('../../../../../base/input/src/types').InputType;
154
154
  name: string;
155
+ placeholder: string;
156
+ size: import('../../../../../base/input/src/types').InputSize;
155
157
  readonly: boolean;
156
158
  disabled: boolean;
157
- size: import('../../../../../base/input/src/types').InputSize;
158
- placeholder: string;
159
159
  modelValue: string | number;
160
160
  prefix: string;
161
161
  suffix: string;
@@ -184,7 +184,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
184
184
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
185
185
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
186
186
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
187
- }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
187
+ }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
188
188
  focus: () => void;
189
189
  blur: () => void;
190
190
  select: () => void;
@@ -100,13 +100,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
100
100
  keyup: (event: KeyboardEvent) => any;
101
101
  pressEnter: (event: KeyboardEvent) => any;
102
102
  }, string, {
103
- type: import('../../../../../base/input/src/types').InputType;
104
103
  id: string;
104
+ type: import('../../../../../base/input/src/types').InputType;
105
105
  name: string;
106
+ placeholder: string;
107
+ size: import('../../../../../base/input/src/types').InputSize;
106
108
  readonly: boolean;
107
109
  disabled: boolean;
108
- size: import('../../../../../base/input/src/types').InputSize;
109
- placeholder: string;
110
110
  modelValue: string | number;
111
111
  prefix: string;
112
112
  suffix: string;
@@ -144,13 +144,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
144
144
  $nextTick: typeof import('vue').nextTick;
145
145
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
146
146
  } & Readonly<{
147
- type: import('../../../../../base/input/src/types').InputType;
148
147
  id: string;
148
+ type: import('../../../../../base/input/src/types').InputType;
149
149
  name: string;
150
+ placeholder: string;
151
+ size: import('../../../../../base/input/src/types').InputSize;
150
152
  readonly: boolean;
151
153
  disabled: boolean;
152
- size: import('../../../../../base/input/src/types').InputSize;
153
- placeholder: string;
154
154
  modelValue: string | number;
155
155
  prefix: string;
156
156
  suffix: string;
@@ -179,7 +179,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
179
179
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
180
180
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
181
181
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
182
- }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
182
+ }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
183
183
  focus: () => void;
184
184
  blur: () => void;
185
185
  select: () => void;
@@ -122,13 +122,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
122
122
  keyup: (event: KeyboardEvent) => any;
123
123
  pressEnter: (event: KeyboardEvent) => any;
124
124
  }, string, {
125
- type: import('../../../../../base/input/src/types').InputType;
126
125
  id: string;
126
+ type: import('../../../../../base/input/src/types').InputType;
127
127
  name: string;
128
+ placeholder: string;
129
+ size: import('../../../../../base/input/src/types').InputSize;
128
130
  readonly: boolean;
129
131
  disabled: boolean;
130
- size: import('../../../../../base/input/src/types').InputSize;
131
- placeholder: string;
132
132
  modelValue: string | number;
133
133
  prefix: string;
134
134
  suffix: string;
@@ -166,13 +166,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
166
166
  $nextTick: typeof nextTick;
167
167
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
168
168
  } & Readonly<{
169
- type: import('../../../../../base/input/src/types').InputType;
170
169
  id: string;
170
+ type: import('../../../../../base/input/src/types').InputType;
171
171
  name: string;
172
+ placeholder: string;
173
+ size: import('../../../../../base/input/src/types').InputSize;
172
174
  readonly: boolean;
173
175
  disabled: boolean;
174
- size: import('../../../../../base/input/src/types').InputSize;
175
- placeholder: string;
176
176
  modelValue: string | number;
177
177
  prefix: string;
178
178
  suffix: string;
@@ -201,7 +201,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
201
201
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
202
202
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
203
203
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
204
- }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
204
+ }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
205
205
  focus: () => void;
206
206
  blur: () => void;
207
207
  select: () => void;
@@ -102,13 +102,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
102
102
  keyup: (event: KeyboardEvent) => any;
103
103
  pressEnter: (event: KeyboardEvent) => any;
104
104
  }, string, {
105
- type: import('../../../../../base/input/src/types').InputType;
106
105
  id: string;
106
+ type: import('../../../../../base/input/src/types').InputType;
107
107
  name: string;
108
+ placeholder: string;
109
+ size: import('../../../../../base/input/src/types').InputSize;
108
110
  readonly: boolean;
109
111
  disabled: boolean;
110
- size: import('../../../../../base/input/src/types').InputSize;
111
- placeholder: string;
112
112
  modelValue: string | number;
113
113
  prefix: string;
114
114
  suffix: string;
@@ -146,13 +146,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
146
146
  $nextTick: typeof import('vue').nextTick;
147
147
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
148
148
  } & Readonly<{
149
- type: import('../../../../../base/input/src/types').InputType;
150
149
  id: string;
150
+ type: import('../../../../../base/input/src/types').InputType;
151
151
  name: string;
152
+ placeholder: string;
153
+ size: import('../../../../../base/input/src/types').InputSize;
152
154
  readonly: boolean;
153
155
  disabled: boolean;
154
- size: import('../../../../../base/input/src/types').InputSize;
155
- placeholder: string;
156
156
  modelValue: string | number;
157
157
  prefix: string;
158
158
  suffix: string;
@@ -181,7 +181,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
181
181
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
182
182
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
183
183
  onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
184
- }>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
184
+ }>, "select" | "blur" | "focus" | "inputRef" | ("id" | "type" | "name" | "placeholder" | "size" | "readonly" | "disabled" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
185
185
  focus: () => void;
186
186
  blur: () => void;
187
187
  select: () => void;
@@ -12,3 +12,4 @@ export type { SetupPlatformAdaptersOptions, SetupVueRuntimeOptions } from './set
12
12
  export * from './engine';
13
13
  export * from './vue';
14
14
  export * from './plugins';
15
+ export declare function showWordValidationWarning(text: string): void;
@@ -0,0 +1,3 @@
1
+ import { FieldManifest } from '../../../../../capabilities/field-manifest';
2
+ /** 收检数量沿用小数控件,默认不开启上下限校验。 */
3
+ export declare const manifest: FieldManifest;
@@ -8,12 +8,12 @@ type __VLS_Props = {
8
8
  error?: boolean;
9
9
  };
10
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
- remove: () => any;
12
11
  add: () => any;
12
+ remove: () => any;
13
13
  change: () => any;
14
14
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onRemove?: (() => any) | undefined;
16
15
  onAdd?: (() => any) | undefined;
16
+ onRemove?: (() => any) | undefined;
17
17
  onChange?: (() => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  export default _default;
@@ -27,8 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
27
27
  "onUpdate:formSubModel"?: ((value?: number | undefined) => any) | undefined;
28
28
  "onUpdate:formSubFieldKey"?: ((value?: string | undefined) => any) | undefined;
29
29
  }>, {
30
- required: boolean;
31
30
  fixed: boolean;
31
+ required: boolean;
32
32
  treeData: FieldTreeNode[];
33
33
  leftTitle: string;
34
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -16,9 +16,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
16
16
  "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
17
17
  onChange?: ((value?: string | undefined, node?: FieldTreeNodeType | undefined) => any) | undefined;
18
18
  }>, {
19
+ placeholder: string;
19
20
  disabled: boolean;
20
21
  treeData: FieldTreeNodeType[];
21
- placeholder: string;
22
22
  defaultExpanded: boolean;
23
23
  defaultExpandedValues: string[];
24
24
  groupOnlyExpand: boolean;
@@ -1,4 +1,4 @@
1
- export type TriggerName = 'OPEN_COMMON_CONFIRM_MODAL' | 'OPEN_DOC_SIGNATURE_RULE_CONFIG_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL' | 'OPEN_FIELD_HYPERLINK_MODAL' | 'OPEN_FIELD_ONLINE_FORM_TMPL_MODAL' | 'OPEN_DISPLAY_FIELDS_TRANSFER_MODAL' | 'OPEN_QUICK_FILL_MODAL' | 'OPEN_CHECK_TABLE_DS_MODAL' | 'OPEN_E_SOP_VIEW_MODAL' | 'OPEN_FORMULA_EDITOR_MODAL';
1
+ export type TriggerName = 'OPEN_COMMON_CONFIRM_MODAL' | 'OPEN_DOC_SIGNATURE_RULE_CONFIG_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL' | 'OPEN_FIELD_HYPERLINK_MODAL' | 'OPEN_FIELD_ONLINE_FORM_TMPL_MODAL' | 'OPEN_ADD_ONLINE_FORM_FIELD_MODAL' | 'OPEN_DISPLAY_FIELDS_TRANSFER_MODAL' | 'OPEN_QUICK_FILL_MODAL' | 'OPEN_CHECK_TABLE_DS_MODAL' | 'OPEN_E_SOP_VIEW_MODAL' | 'OPEN_FORMULA_EDITOR_MODAL';
2
2
  export type TriggerHandler = (name: TriggerName, options?: any) => Promise<any>;
3
3
  interface TriggerUtilHandlers {
4
4
  handle?: TriggerHandler;
@@ -0,0 +1,8 @@
1
+ /** 按注册标记匹配可在无结果时跳过写回的函数名。 */
2
+ export declare function usesSkipWriteOnUndefinedFunction(expression: string): boolean;
3
+ /** 注册基础函数执行体,供表单填报和预览时计算公式。 */
4
+ export declare function registerBaseFormulaFuncs(): void;
5
+ /** 保留调用方已有函数,并按各自分组追加基础函数描述。 */
6
+ export declare function appendBaseFormulaFunctions(options: Record<string, any>): {
7
+ functions: any[];
8
+ };