cnhis-design-vue 3.1.27-beta.1 → 3.1.27-beta.4

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.
@@ -643,12 +643,9 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
643
643
  }
644
644
  redrawPoints();
645
645
  }
646
- function redrawPoints() {
647
- var _a;
648
- if (!gridPoints.size)
649
- return;
646
+ function getRemovePoints(points) {
650
647
  const removePoints = [];
651
- [...gridPoints].forEach((point) => {
648
+ points.forEach((point) => {
652
649
  point && removePoints.push(point);
653
650
  (point == null ? void 0 : point.leftLine) && removePoints.push(point == null ? void 0 : point.leftLine);
654
651
  (point == null ? void 0 : point.rightLine) && removePoints.push(point == null ? void 0 : point.rightLine);
@@ -656,7 +653,13 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
656
653
  (o == null ? void 0 : o.obj) && removePoints.push(o == null ? void 0 : o.obj);
657
654
  });
658
655
  });
659
- (_a = canvas.value) == null ? void 0 : _a.remove(...removePoints);
656
+ return removePoints;
657
+ }
658
+ function redrawPoints() {
659
+ var _a;
660
+ if (!gridPoints.size)
661
+ return;
662
+ (_a = canvas.value) == null ? void 0 : _a.remove(...getRemovePoints([...gridPoints]));
660
663
  shadowPointCache = [];
661
664
  gridPoints.clear();
662
665
  maiboPoints.clear();
@@ -271,6 +271,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
271
271
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
272
272
  }>>;
273
273
  };
274
+ requestInstance: {
275
+ type: import("vue").PropType<import("..").RequestInstance>;
276
+ };
274
277
  }, {
275
278
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
276
279
  fieldList: {
@@ -386,6 +389,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
386
389
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
387
390
  }>>;
388
391
  };
392
+ requestInstance: {
393
+ type: import("vue").PropType<import("..").RequestInstance>;
394
+ };
389
395
  }>> & {
390
396
  onFormChange?: ((...args: any[]) => any) | undefined;
391
397
  }>>;
@@ -756,6 +762,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
756
762
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
757
763
  }>>;
758
764
  };
765
+ requestInstance: {
766
+ type: import("vue").PropType<import("..").RequestInstance>;
767
+ };
759
768
  }>> & {
760
769
  onFormChange?: ((...args: any[]) => any) | undefined;
761
770
  }, {
@@ -2706,6 +2715,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2706
2715
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
2707
2716
  }>>;
2708
2717
  };
2718
+ requestInstance: {
2719
+ type: import("vue").PropType<import("..").RequestInstance>;
2720
+ };
2709
2721
  }, {
2710
2722
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2711
2723
  fieldList: {
@@ -2821,6 +2833,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2821
2833
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
2822
2834
  }>>;
2823
2835
  };
2836
+ requestInstance: {
2837
+ type: import("vue").PropType<import("..").RequestInstance>;
2838
+ };
2824
2839
  }>> & {
2825
2840
  onFormChange?: ((...args: any[]) => any) | undefined;
2826
2841
  }>>;
@@ -3191,6 +3206,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
3191
3206
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
3192
3207
  }>>;
3193
3208
  };
3209
+ requestInstance: {
3210
+ type: import("vue").PropType<import("..").RequestInstance>;
3211
+ };
3194
3212
  }>> & {
3195
3213
  onFormChange?: ((...args: any[]) => any) | undefined;
3196
3214
  }, {
@@ -273,6 +273,9 @@ declare const _default: import("vue").DefineComponent<{
273
273
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
274
274
  }>>;
275
275
  };
276
+ requestInstance: {
277
+ type: PropType<import("../..").RequestInstance>;
278
+ };
276
279
  }, {
277
280
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
278
281
  fieldList: {
@@ -388,6 +391,9 @@ declare const _default: import("vue").DefineComponent<{
388
391
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
389
392
  }>>;
390
393
  };
394
+ requestInstance: {
395
+ type: PropType<import("../..").RequestInstance>;
396
+ };
391
397
  }>> & {
392
398
  onFormChange?: ((...args: any[]) => any) | undefined;
393
399
  }>>;
@@ -758,6 +764,9 @@ declare const _default: import("vue").DefineComponent<{
758
764
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
759
765
  }>>;
760
766
  };
767
+ requestInstance: {
768
+ type: PropType<import("../..").RequestInstance>;
769
+ };
761
770
  }>> & {
762
771
  onFormChange?: ((...args: any[]) => any) | undefined;
763
772
  }, {
@@ -2708,6 +2717,9 @@ declare const _default: import("vue").DefineComponent<{
2708
2717
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
2709
2718
  }>>;
2710
2719
  };
2720
+ requestInstance: {
2721
+ type: PropType<import("../..").RequestInstance>;
2722
+ };
2711
2723
  }, {
2712
2724
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2713
2725
  fieldList: {
@@ -2823,6 +2835,9 @@ declare const _default: import("vue").DefineComponent<{
2823
2835
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
2824
2836
  }>>;
2825
2837
  };
2838
+ requestInstance: {
2839
+ type: PropType<import("../..").RequestInstance>;
2840
+ };
2826
2841
  }>> & {
2827
2842
  onFormChange?: ((...args: any[]) => any) | undefined;
2828
2843
  }>>;
@@ -3193,6 +3208,9 @@ declare const _default: import("vue").DefineComponent<{
3193
3208
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
3194
3209
  }>>;
3195
3210
  };
3211
+ requestInstance: {
3212
+ type: PropType<import("../..").RequestInstance>;
3213
+ };
3196
3214
  }>> & {
3197
3215
  onFormChange?: ((...args: any[]) => any) | undefined;
3198
3216
  }, {
@@ -135,6 +135,9 @@ declare const _default: import("vue").DefineComponent<{}, {
135
135
  afterRequest(fieldKey: string, payload?: any): import("../../../../shared/types").AnyObject[];
136
136
  }>>;
137
137
  };
138
+ requestInstance: {
139
+ type: import("vue").PropType<import("../../../../../es/components/form-render").RequestInstance>;
140
+ };
138
141
  }, {
139
142
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
140
143
  fieldList: {
@@ -250,6 +253,9 @@ declare const _default: import("vue").DefineComponent<{}, {
250
253
  afterRequest(fieldKey: string, payload?: any): import("../../../../shared/types").AnyObject[];
251
254
  }>>;
252
255
  };
256
+ requestInstance: {
257
+ type: import("vue").PropType<import("../../../../../es/components/form-render").RequestInstance>;
258
+ };
253
259
  }>> & {
254
260
  onFormChange?: ((...args: any[]) => any) | undefined;
255
261
  }>>;
@@ -620,6 +626,9 @@ declare const _default: import("vue").DefineComponent<{}, {
620
626
  afterRequest(fieldKey: string, payload?: any): import("../../../../shared/types").AnyObject[];
621
627
  }>>;
622
628
  };
629
+ requestInstance: {
630
+ type: import("vue").PropType<import("../../../../../es/components/form-render").RequestInstance>;
631
+ };
623
632
  }>> & {
624
633
  onFormChange?: ((...args: any[]) => any) | undefined;
625
634
  }, {
@@ -1829,6 +1829,9 @@ declare const _default: import("vue").DefineComponent<{}, {
1829
1829
  afterRequest(fieldKey: string, payload?: any): import("../../../../../es/shared/types").AnyObject[];
1830
1830
  }>>;
1831
1831
  };
1832
+ requestInstance: {
1833
+ type: import("vue").PropType<import("../../../../../es/components/form-render").RequestInstance>;
1834
+ };
1832
1835
  }, {
1833
1836
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1834
1837
  fieldList: {
@@ -1944,6 +1947,9 @@ declare const _default: import("vue").DefineComponent<{}, {
1944
1947
  afterRequest(fieldKey: string, payload?: any): import("../../../../../es/shared/types").AnyObject[];
1945
1948
  }>>;
1946
1949
  };
1950
+ requestInstance: {
1951
+ type: import("vue").PropType<import("../../../../../es/components/form-render").RequestInstance>;
1952
+ };
1947
1953
  }>> & {
1948
1954
  onFormChange?: ((...args: any[]) => any) | undefined;
1949
1955
  }>>;
@@ -2314,6 +2320,9 @@ declare const _default: import("vue").DefineComponent<{}, {
2314
2320
  afterRequest(fieldKey: string, payload?: any): import("../../../../../es/shared/types").AnyObject[];
2315
2321
  }>>;
2316
2322
  };
2323
+ requestInstance: {
2324
+ type: import("vue").PropType<import("../../../../../es/components/form-render").RequestInstance>;
2325
+ };
2317
2326
  }>> & {
2318
2327
  onFormChange?: ((...args: any[]) => any) | undefined;
2319
2328
  }, {
@@ -122,6 +122,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
122
122
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
123
123
  }>>;
124
124
  };
125
+ requestInstance: {
126
+ type: import("vue").PropType<import("./src/hooks").RequestInstance>;
127
+ };
125
128
  }, {
126
129
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
127
130
  fieldList: {
@@ -237,6 +240,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
237
240
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
238
241
  }>>;
239
242
  };
243
+ requestInstance: {
244
+ type: import("vue").PropType<import("./src/hooks").RequestInstance>;
245
+ };
240
246
  }>> & {
241
247
  onFormChange?: ((...args: any[]) => any) | undefined;
242
248
  }>>;
@@ -607,6 +613,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
607
613
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
608
614
  }>>;
609
615
  };
616
+ requestInstance: {
617
+ type: import("vue").PropType<import("./src/hooks").RequestInstance>;
618
+ };
610
619
  }>> & {
611
620
  onFormChange?: ((...args: any[]) => any) | undefined;
612
621
  }, {
@@ -55,7 +55,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
55
  annotation: { type: Object },
56
56
  consumer: { type: Boolean, default: false },
57
57
  uuid: { type: String },
58
- lifeCycle: { type: Object }
58
+ lifeCycle: { type: Object },
59
+ requestInstance: { type: Object }
59
60
  },
60
61
  emits: [
61
62
  "formChange"
@@ -1,5 +1,6 @@
1
1
  import { AnyObject } from '../../../../es/shared/types';
2
2
  import { Component, FunctionalComponent, PropType } from 'vue';
3
+ import { RequestInstance } from './hooks';
3
4
  import { FieldItem, FieldVisitor, FormBusinessFormatter } from './types';
4
5
  declare const _default: import("vue").DefineComponent<{
5
6
  fieldList: {
@@ -115,6 +116,9 @@ declare const _default: import("vue").DefineComponent<{
115
116
  afterRequest(fieldKey: string, payload?: any): AnyObject[];
116
117
  }>>;
117
118
  };
119
+ requestInstance: {
120
+ type: PropType<RequestInstance>;
121
+ };
118
122
  }, {
119
123
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
120
124
  fieldList: {
@@ -230,6 +234,9 @@ declare const _default: import("vue").DefineComponent<{
230
234
  afterRequest(fieldKey: string, payload?: any): AnyObject[];
231
235
  }>>;
232
236
  };
237
+ requestInstance: {
238
+ type: PropType<RequestInstance>;
239
+ };
233
240
  }>> & {
234
241
  onFormChange?: ((...args: any[]) => any) | undefined;
235
242
  }>>;
@@ -600,6 +607,9 @@ declare const _default: import("vue").DefineComponent<{
600
607
  afterRequest(fieldKey: string, payload?: any): AnyObject[];
601
608
  }>>;
602
609
  };
610
+ requestInstance: {
611
+ type: PropType<RequestInstance>;
612
+ };
603
613
  }>> & {
604
614
  onFormChange?: ((...args: any[]) => any) | undefined;
605
615
  }, {
@@ -119,6 +119,9 @@ declare const _default: import("vue").DefineComponent<{}, {
119
119
  afterRequest(fieldKey: string, payload?: any): import("../../../shared/types").AnyObject[];
120
120
  }>>;
121
121
  };
122
+ requestInstance: {
123
+ type: import("vue").PropType<import("../../../../es/components/form-render").RequestInstance>;
124
+ };
122
125
  }, {
123
126
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
124
127
  fieldList: {
@@ -234,6 +237,9 @@ declare const _default: import("vue").DefineComponent<{}, {
234
237
  afterRequest(fieldKey: string, payload?: any): import("../../../shared/types").AnyObject[];
235
238
  }>>;
236
239
  };
240
+ requestInstance: {
241
+ type: import("vue").PropType<import("../../../../es/components/form-render").RequestInstance>;
242
+ };
237
243
  }>> & {
238
244
  onFormChange?: ((...args: any[]) => any) | undefined;
239
245
  }>>;
@@ -604,6 +610,9 @@ declare const _default: import("vue").DefineComponent<{}, {
604
610
  afterRequest(fieldKey: string, payload?: any): import("../../../shared/types").AnyObject[];
605
611
  }>>;
606
612
  };
613
+ requestInstance: {
614
+ type: import("vue").PropType<import("../../../../es/components/form-render").RequestInstance>;
615
+ };
607
616
  }>> & {
608
617
  onFormChange?: ((...args: any[]) => any) | undefined;
609
618
  }, {
@@ -1,5 +1,7 @@
1
1
  import { AnyObject, UndefinedAble } from '../../../../../es/shared/types';
2
+ import { ComputedRef } from 'vue';
2
3
  import { FormAsyncQueueItem } from '../types';
4
+ import { RequestInstance } from '../../../../../es/components/form-render';
3
5
  declare type ProcessorOption = Partial<{
4
6
  afterRequest(key: string, payload?: unknown): AnyObject[];
5
7
  beforeRequest(key: string, params?: unknown): UndefinedAble<AnyObject> | void;
@@ -36,7 +38,7 @@ export declare class AsyncQueue<T = any, K = any, R = any> {
36
38
  private _startProcess;
37
39
  private _handlerResult;
38
40
  }
39
- export declare function useAsyncQueue(): {
41
+ export declare function useAsyncQueue(requestInstance: ComputedRef<UndefinedAble<RequestInstance>>): {
40
42
  create: (parallelism?: number, option?: ProcessorOption) => AsyncQueue<FormAsyncQueueItem, any, {
41
43
  label: string;
42
44
  value: unknown;
@@ -1,5 +1,6 @@
1
1
  import { uuidGenerator } from '../../../../shared/utils/index.js';
2
2
  import { cloneDeep, isFunction } from 'lodash-es';
3
+ import { unref } from 'vue';
3
4
  import '../../index.js';
4
5
  import { useCommonLog } from './useCommonLog.js';
5
6
  import { useFormRequest } from './useFormRequest.js';
@@ -109,15 +110,15 @@ class AsyncQueue {
109
110
  }
110
111
  }
111
112
  }
112
- function useAsyncQueue() {
113
+ function useAsyncQueue(requestInstance) {
113
114
  const { getHttpInstance } = useFormRequest();
114
115
  function create(parallelism = 3, option) {
115
116
  return new AsyncQueue({
116
117
  name: "FormRenderAsyncQueue",
117
118
  parallelism,
118
119
  async processor({ key, method = "post", params, url }, cb, removeCache) {
119
- var _a;
120
- const http = getHttpInstance();
120
+ var _a, _b;
121
+ const http = (_a = unref(requestInstance)) != null ? _a : getHttpInstance();
121
122
  if (!http) {
122
123
  useCommonLog().invalidHttpInstanceLog();
123
124
  cb();
@@ -126,7 +127,7 @@ function useAsyncQueue() {
126
127
  }
127
128
  try {
128
129
  if (option && isFunction(option.beforeRequest)) {
129
- params = (_a = option.beforeRequest(key, params)) != null ? _a : {};
130
+ params = (_b = option.beforeRequest(key, params)) != null ? _b : {};
130
131
  }
131
132
  let res = await http[method](url, params);
132
133
  if (option && isFunction(option.afterRequest)) {
@@ -1,7 +1,7 @@
1
1
  import { uuidGenerator } from '../../../../shared/utils/index.js';
2
2
  import { isObject } from '@vue/shared';
3
3
  import { cloneDeep } from 'lodash-es';
4
- import { provide, computed, readonly } from 'vue';
4
+ import { computed, provide, readonly } from 'vue';
5
5
  import { createSchemaField } from '@formily/vue';
6
6
  import '../../index.js';
7
7
  import components from '../components/renderer/index.js';
@@ -18,7 +18,7 @@ function useFormContext(props, formModel) {
18
18
  const { callLifeCycle } = useFormRenderLifeCycle(props);
19
19
  const asyncQueue = injectOrProvide(
20
20
  InjectAsyncQueue,
21
- () => useAsyncQueue().create(props.parallelism, {
21
+ () => useAsyncQueue(computed(() => props.requestInstance)).create(props.parallelism, {
22
22
  beforeRequest(...args) {
23
23
  return callLifeCycle("beforeRequest", cloneDeep(args)) || args[1];
24
24
  },
@@ -1,6 +1,6 @@
1
1
  import { Func, Nullable } from '../../../../../es/shared/types';
2
2
  import { FormRequestType } from '../../../../../es/components/form-render';
3
- declare type RequestInstance = Record<string, Func>;
3
+ export declare type RequestInstance = Record<string, Func>;
4
4
  declare type SearchRequestInfo = {
5
5
  method: FormRequestType;
6
6
  url: string;
@@ -4,7 +4,7 @@ import { ISchema } from '@formily/json-schema/esm/types';
4
4
  import { Component, FunctionalComponent } from 'vue';
5
5
  import { FIELD_BUSINESS_TYPE } from '../../../../../es/components/form-render/src/constants';
6
6
  import { FieldItem } from '../types';
7
- import { AsyncQueue } from '../hooks';
7
+ import { AsyncQueue, RequestInstance } from '../hooks';
8
8
  export * from './fieldItem';
9
9
  export declare type FormCommonState = '0' | '1';
10
10
  export interface FieldVisitorContext {
@@ -74,6 +74,7 @@ export declare type FormRenderProps = Partial<{
74
74
  uuid: string;
75
75
  lifeCycle: FormRenderLifeCycle;
76
76
  businessFormatter: FormBusinessFormatter;
77
+ requestInstance: RequestInstance;
77
78
  }>;
78
79
  export declare type FormBusinessFormatter = (payload: {
79
80
  fieldKey: string;
@@ -133,8 +133,17 @@ function validateMessageParser(message, fieldItem) {
133
133
  return (_a = fieldItem[property.trim()]) != null ? _a : "";
134
134
  }
135
135
  }
136
+ function findExtendKeyField(fieldList) {
137
+ return fieldList.reduce((result, field) => {
138
+ isString(field.extendKey) && field.extendKey && result.push(field);
139
+ if (field.html_type === "COMPLEX") {
140
+ result.push(...findExtendKeyField(field.children || []));
141
+ }
142
+ return result;
143
+ }, []);
144
+ }
136
145
  function combineExtendKey(fieldList, values) {
137
- const fieldListWithExtendKey = fieldList.filter((field) => isString(field.extendKey) && field.extendKey);
146
+ const fieldListWithExtendKey = findExtendKeyField(fieldList);
138
147
  if (!fieldListWithExtendKey.length)
139
148
  return values;
140
149
  const result = {};
@@ -158,7 +167,7 @@ function combineExtendKey(fieldList, values) {
158
167
  return result;
159
168
  }
160
169
  function splitExtendKey(fieldList, values) {
161
- const fieldListWithExtendKey = fieldList.filter((field) => isString(field.extendKey) && field.extendKey);
170
+ const fieldListWithExtendKey = findExtendKeyField(fieldList);
162
171
  if (!fieldListWithExtendKey.length)
163
172
  return values;
164
173
  const queryFieldValue = useMemoize((extendKey) => {
@@ -1831,6 +1831,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
1831
1831
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
1832
1832
  }>>;
1833
1833
  };
1834
+ requestInstance: {
1835
+ type: import("vue").PropType<import("..").RequestInstance>;
1836
+ };
1834
1837
  }, {
1835
1838
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1836
1839
  fieldList: {
@@ -1946,6 +1949,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
1946
1949
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
1947
1950
  }>>;
1948
1951
  };
1952
+ requestInstance: {
1953
+ type: import("vue").PropType<import("..").RequestInstance>;
1954
+ };
1949
1955
  }>> & {
1950
1956
  onFormChange?: ((...args: any[]) => any) | undefined;
1951
1957
  }>>;
@@ -2316,6 +2322,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2316
2322
  afterRequest(fieldKey: string, payload?: any): import("../../../es/shared/types").AnyObject[];
2317
2323
  }>>;
2318
2324
  };
2325
+ requestInstance: {
2326
+ type: import("vue").PropType<import("..").RequestInstance>;
2327
+ };
2319
2328
  }>> & {
2320
2329
  onFormChange?: ((...args: any[]) => any) | undefined;
2321
2330
  }, {
@@ -1833,6 +1833,9 @@ declare const _default: import("vue").DefineComponent<{
1833
1833
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
1834
1834
  }>>;
1835
1835
  };
1836
+ requestInstance: {
1837
+ type: import("vue").PropType<import("../../../../es/components/form-render").RequestInstance>;
1838
+ };
1836
1839
  }, {
1837
1840
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1838
1841
  fieldList: {
@@ -1948,6 +1951,9 @@ declare const _default: import("vue").DefineComponent<{
1948
1951
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
1949
1952
  }>>;
1950
1953
  };
1954
+ requestInstance: {
1955
+ type: import("vue").PropType<import("../../../../es/components/form-render").RequestInstance>;
1956
+ };
1951
1957
  }>> & {
1952
1958
  onFormChange?: ((...args: any[]) => any) | undefined;
1953
1959
  }>>;
@@ -2318,6 +2324,9 @@ declare const _default: import("vue").DefineComponent<{
2318
2324
  afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
2319
2325
  }>>;
2320
2326
  };
2327
+ requestInstance: {
2328
+ type: import("vue").PropType<import("../../../../es/components/form-render").RequestInstance>;
2329
+ };
2321
2330
  }>> & {
2322
2331
  onFormChange?: ((...args: any[]) => any) | undefined;
2323
2332
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.27-beta.1",
3
+ "version": "3.1.27-beta.4",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",