cnhis-design-vue 3.1.47-beta.8 → 3.1.47-beta.9

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 (33) hide show
  1. package/es/components/form-config/index.d.ts +2 -2
  2. package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
  3. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
  4. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -1
  5. package/es/components/form-render/index.d.ts +1 -1
  6. package/es/components/form-render/src/FormRender.vue.d.ts +2 -1
  7. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
  8. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  9. package/es/components/form-render/src/types/index.d.ts +3 -3
  10. package/es/components/info-header/index.d.ts +2 -2
  11. package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -2
  12. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -1
  13. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
  14. package/es/components/shortcut-setter/index.d.ts +1 -1
  15. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  16. package/es/shared/package.json.js +1 -1
  17. package/es/shared/utils/tapableLess.d.ts +28 -0
  18. package/es/shared/utils/tapableLess.js +1 -0
  19. package/package.json +2 -2
  20. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  21. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
  22. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  23. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  24. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
  25. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  26. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  27. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
  28. package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
  29. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  30. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  31. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  32. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  33. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
@@ -7483,7 +7483,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7483
7483
  validate(path?: string): Promise<void>;
7484
7484
  getFormValues(needCombineExtendKey?: boolean): any;
7485
7485
  setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
7486
- setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
7486
+ setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
7487
7487
  match: (pattern: import("@formily/path").Pattern) => boolean;
7488
7488
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
7489
7489
  data: any;
@@ -13532,7 +13532,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
13532
13532
  validate(path?: string): Promise<void>;
13533
13533
  getFormValues(needCombineExtendKey?: boolean): any;
13534
13534
  setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
13535
- setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
13535
+ setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
13536
13536
  match: (pattern: import("@formily/path").Pattern) => boolean;
13537
13537
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
13538
13538
  data: any;
@@ -7485,7 +7485,7 @@ declare const _default: import("vue").DefineComponent<{
7485
7485
  validate(path?: string): Promise<void>;
7486
7486
  getFormValues(needCombineExtendKey?: boolean): any;
7487
7487
  setFormValues(values: import("../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
7488
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
7488
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
7489
7489
  match: (pattern: import("@formily/path").Pattern) => boolean;
7490
7490
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
7491
7491
  data: any;
@@ -13534,7 +13534,7 @@ declare const _default: import("vue").DefineComponent<{
13534
13534
  validate(path?: string): Promise<void>;
13535
13535
  getFormValues(needCombineExtendKey?: boolean): any;
13536
13536
  setFormValues(values: import("../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
13537
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
13537
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
13538
13538
  match: (pattern: import("@formily/path").Pattern) => boolean;
13539
13539
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
13540
13540
  data: any;
@@ -470,7 +470,7 @@ declare const _default: import("vue").DefineComponent<{}, {
470
470
  validate(path?: string): Promise<void>;
471
471
  getFormValues(needCombineExtendKey?: boolean): any;
472
472
  setFormValues(values: import("../../..").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
473
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../es/components/form-render").NonFunctionPropertyNames<{
473
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../es/components/form-render").NonFunctionPropertyNames<{
474
474
  match: (pattern: import("@formily/path").Pattern) => boolean;
475
475
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
476
476
  data: any;
@@ -5622,7 +5622,7 @@ declare const _default: import("vue").DefineComponent<{
5622
5622
  validate(path?: string): Promise<void>;
5623
5623
  getFormValues(needCombineExtendKey?: boolean): any;
5624
5624
  setFormValues(values: import("../../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
5625
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../es/components/form-render").NonFunctionPropertyNames<{
5625
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../es/components/form-render").NonFunctionPropertyNames<{
5626
5626
  match: (pattern: import("@formily/path").Pattern) => boolean;
5627
5627
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
5628
5628
  data: any;
@@ -457,7 +457,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
457
457
  validate(path?: string): Promise<void>;
458
458
  getFormValues(needCombineExtendKey?: boolean): any;
459
459
  setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
460
- setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core/esm/models/Field").Field<any, any, any, any>, import("@formily/core/esm/types").NonFunctionPropertyNames<{
460
+ setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core/esm/models/Field").Field<any, any, any, any>, import("@formily/core/esm/types").NonFunctionPropertyNames<{
461
461
  match: (pattern: import("@formily/path").Pattern) => boolean;
462
462
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
463
463
  data: any;
@@ -1,4 +1,5 @@
1
1
  import { AnyObject, FormOperationalConfig } from '../../../../es/shared/types';
2
+ import { Field } from '@formily/core';
2
3
  import { Component, FunctionalComponent, PropType } from 'vue';
3
4
  import { RequestInstance } from './hooks';
4
5
  import { FieldItem, FieldVisitor, FormBusinessFormatter, FormLowCodeReactions } from './types';
@@ -451,7 +452,7 @@ declare const _default: import("vue").DefineComponent<{
451
452
  validate(path?: string): Promise<void>;
452
453
  getFormValues(needCombineExtendKey?: boolean): any;
453
454
  setFormValues(values: AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
454
- setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
455
+ setFieldState(path: string, setter: (field: Partial<Pick<Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
455
456
  match: (pattern: import("@formily/path").Pattern) => boolean;
456
457
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
457
458
  data: any;
@@ -455,7 +455,7 @@ declare const _default: import("vue").DefineComponent<{}, {
455
455
  validate(path?: string): Promise<void>;
456
456
  getFormValues(needCombineExtendKey?: boolean): any;
457
457
  setFormValues(values: import("../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
458
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
458
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
459
459
  match: (pattern: import("@formily/path").Pattern) => boolean;
460
460
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
461
461
  data: any;
@@ -12,7 +12,7 @@ export declare function useFormExposeEvent({ formModel, formRenderRef, formUUID,
12
12
  validate(path?: string): Promise<void>;
13
13
  getFormValues(needCombineExtendKey?: boolean): any;
14
14
  setFormValues(values: AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
15
- setFieldState(path: string, handler: (field: IFieldState) => void): void;
15
+ setFieldState(path: string, setter: (field: IFieldState) => void): void;
16
16
  resetFields(path?: string): Promise<void>;
17
17
  queryWidget(key: string): Promise<{
18
18
  widgetElement: HTMLInputElement | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import { AsyncQueue } from '../../../../../es/shared/hooks';
2
2
  import { AnyObject, FormOperationalConfig, LOW_CODE_VALUE_RELATION, UndefinedAble } from '../../../../../es/shared/types';
3
- import { DataField, Form, IFieldState } from '@formily/core';
3
+ import { DataField, Field, Form } from '@formily/core';
4
4
  import { ISchema } from '@formily/json-schema/esm/types';
5
5
  import { Component, FunctionalComponent } from 'vue';
6
6
  import { FIELD_BUSINESS_TYPE } from '../../../../../es/components/form-render/src/constants';
@@ -70,9 +70,9 @@ export declare type FormRenderExpose = {
70
70
  /**
71
71
  * @desc 修改表单field实例配置
72
72
  * @param {string} path 目标路径, 支持Path语法
73
- * @param {(field: IFieldState) => void} handler
73
+ * @param {Partial<Field>|((field: Field) => void)} setter
74
74
  */
75
- setFieldState(path: string, handler: (field: IFieldState) => void): void;
75
+ setFieldState(path: string, setter: Partial<Field> | ((field: Field) => void)): void;
76
76
  /**
77
77
  * @desc 重置表单状态
78
78
  * @param {string} path 目标路径, 支持Path语法
@@ -2924,7 +2924,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
2924
2924
  validate(path?: string): Promise<void>;
2925
2925
  getFormValues(needCombineExtendKey?: boolean): any;
2926
2926
  setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2927
- setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
2927
+ setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
2928
2928
  match: (pattern: import("@formily/path").Pattern) => boolean;
2929
2929
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
2930
2930
  data: any;
@@ -3812,7 +3812,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3812
3812
  validate(path?: string): Promise<void>;
3813
3813
  getFormValues(needCombineExtendKey?: boolean): any;
3814
3814
  setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
3815
- setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
3815
+ setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
3816
3816
  match: (pattern: import("@formily/path").Pattern) => boolean;
3817
3817
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
3818
3818
  data: any;
@@ -2918,7 +2918,7 @@ declare const _default: import("vue").DefineComponent<{
2918
2918
  validate(path?: string): Promise<void>;
2919
2919
  getFormValues(needCombineExtendKey?: boolean): any;
2920
2920
  setFormValues(values: AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2921
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
2921
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
2922
2922
  match: (pattern: import("@formily/path").Pattern) => boolean;
2923
2923
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
2924
2924
  data: any;
@@ -3806,7 +3806,7 @@ declare const _default: import("vue").DefineComponent<{
3806
3806
  validate(path?: string): Promise<void>;
3807
3807
  getFormValues(needCombineExtendKey?: boolean): any;
3808
3808
  setFormValues(values: AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
3809
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
3809
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
3810
3810
  match: (pattern: import("@formily/path").Pattern) => boolean;
3811
3811
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
3812
3812
  data: any;
@@ -2491,7 +2491,7 @@ declare const _default: import("vue").DefineComponent<{
2491
2491
  validate(path?: string): Promise<void>;
2492
2492
  getFormValues(needCombineExtendKey?: boolean): any;
2493
2493
  setFormValues(values: import("../../../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2494
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
2494
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
2495
2495
  match: (pattern: import("@formily/path").Pattern) => boolean;
2496
2496
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
2497
2497
  data: any;
@@ -503,7 +503,7 @@ declare const _default: import("vue").DefineComponent<{
503
503
  validate(path?: string): Promise<void>;
504
504
  getFormValues(needCombineExtendKey?: boolean): any;
505
505
  setFormValues(values: import("../../../..").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
506
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
506
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
507
507
  match: (pattern: import("@formily/path").Pattern) => boolean;
508
508
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
509
509
  data: any;
@@ -2198,7 +2198,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2198
2198
  validate(path?: string): Promise<void>;
2199
2199
  getFormValues(needCombineExtendKey?: boolean): any;
2200
2200
  setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2201
- setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
2201
+ setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
2202
2202
  match: (pattern: import("@formily/path").Pattern) => boolean;
2203
2203
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
2204
2204
  data: any;
@@ -2200,7 +2200,7 @@ declare const _default: import("vue").DefineComponent<{
2200
2200
  validate(path?: string): Promise<void>;
2201
2201
  getFormValues(needCombineExtendKey?: boolean): any;
2202
2202
  setFormValues(values: import("../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2203
- setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
2203
+ setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
2204
2204
  match: (pattern: import("@formily/path").Pattern) => boolean;
2205
2205
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
2206
2206
  data: any;
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",i="3.1.47-beta.8",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.47-beta.8",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
1
+ var e="@cnhis-design-vue/shared",i="3.1.47-beta.9",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.47-beta.9",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
@@ -0,0 +1,28 @@
1
+ declare type PluginName = string | {
2
+ name: string;
3
+ stage: number;
4
+ };
5
+ declare type WithStage<T extends (...p: any[]) => any> = {
6
+ stage: number;
7
+ callback: T;
8
+ };
9
+ declare type ReplaceWithString<T extends any[]> = T extends [infer A, ...infer R] ? [string, ...ReplaceWithString<R>] : T;
10
+ export declare class SyncHook<T extends any[]> {
11
+ private args;
12
+ constructor(args: ReplaceWithString<T>);
13
+ callbackList: WithStage<(...payload: T) => any>[];
14
+ tap(pluginName: PluginName, callback: (...payload: T) => any): void;
15
+ tapPromise(pluginName: PluginName, callback: (...payload: T) => any): void;
16
+ call(...payload: T): void;
17
+ }
18
+ export declare class SyncWaterfallHook<T extends any[]> extends SyncHook<T> {
19
+ callbackList: WithStage<(...payload: T) => T[0]>[];
20
+ call(...payload: T): T[0];
21
+ }
22
+ export declare class AsyncParallelHook<T extends any[]> extends SyncHook<T> {
23
+ promise(...payload: T): void;
24
+ }
25
+ export declare class AsyncSeriesHook<T extends any[]> extends SyncHook<T> {
26
+ promise(...payload: T): Promise<void>;
27
+ }
28
+ export {};
@@ -0,0 +1 @@
1
+ import{isObject as a}from"@vueuse/core";import{isString as s,sortBy as c}from"lodash-es";class l{constructor(a){this.args=a,this.callbackList=[]}tap(l,t){var i;if(s(l))this.callbackList.push({stage:0,callback:t});else{if(!a(l))return;this.callbackList.push({stage:null!=(i=l.stage)?i:0,callback:t})}this.callbackList=c(this.callbackList,(a=>a.stage))}tapPromise(l,t){var i;if(s(l))this.callbackList.push({stage:0,callback:t});else{if(!a(l))return;this.callbackList.push({stage:null!=(i=l.stage)?i:0,callback:t})}this.callbackList=c(this.callbackList,(a=>a.stage))}call(...a){this.callbackList.forEach((({callback:s})=>s(...a)))}}class t extends l{constructor(){super(...arguments),this.callbackList=[]}call(...a){return this.callbackList.reduce(((s,{callback:c})=>c(s,...a.slice(1))),a[0])}}class i extends l{promise(...a){this.callbackList.forEach((({callback:s})=>s(...a)))}}class e extends l{promise(...a){return this.callbackList.reduce((async(s,{callback:c})=>(await s,c(...a))),Promise.resolve())}}export{i as AsyncParallelHook,e as AsyncSeriesHook,l as SyncHook,t as SyncWaterfallHook};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.47-beta.8",
3
+ "version": "3.1.47-beta.9",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -63,5 +63,5 @@
63
63
  "iOS 7",
64
64
  "last 3 iOS versions"
65
65
  ],
66
- "gitHead": "9e4f58e9bb744091947572878573e3e9303831a4"
66
+ "gitHead": "f27e63008fd330337b219c2bf2b3db11c5851c89"
67
67
  }
@@ -1,77 +0,0 @@
1
- export const __esModule: true;
2
- export const LEVEL_SEARCH_CASCADER: vue_2.DefineComponent<{
3
- options: {
4
- type: ArrayConstructor;
5
- default: () => never[];
6
- };
7
- labelField: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- valueField: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- autograph: {
16
- type: StringConstructor;
17
- required: true;
18
- };
19
- lazyRequest: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- requestCache: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- wordbook: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- onChange: {};
32
- value: {
33
- type: (ArrayConstructor | StringConstructor)[];
34
- };
35
- }, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
36
- options: {
37
- type: ArrayConstructor;
38
- default: () => never[];
39
- };
40
- labelField: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- valueField: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- autograph: {
49
- type: StringConstructor;
50
- required: true;
51
- };
52
- lazyRequest: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- requestCache: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- wordbook: {
61
- type: ObjectConstructor;
62
- required: true;
63
- };
64
- onChange: {};
65
- value: {
66
- type: (ArrayConstructor | StringConstructor)[];
67
- };
68
- }>> & {
69
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
70
- }, {
71
- options: unknown[];
72
- labelField: string;
73
- valueField: string;
74
- lazyRequest: boolean;
75
- requestCache: boolean;
76
- }>;
77
- import vue_2 = require("vue");
@@ -1,93 +0,0 @@
1
- export const __esModule: true;
2
- export const SEARCH_CASCADER: vue_2.DefineComponent<{
3
- options: {
4
- type: ArrayConstructor;
5
- default: () => never[];
6
- };
7
- depth: {
8
- type: (NumberConstructor | StringConstructor)[];
9
- };
10
- urlConfig: {
11
- type: ObjectConstructor;
12
- };
13
- lazyRequest: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- requestCache: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- onFocus: {
22
- type: FunctionConstructor;
23
- };
24
- filterable: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- checkStrategy: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- labelField: {
33
- type: StringConstructor;
34
- default: string;
35
- };
36
- valueField: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- onChange: {};
41
- value: {};
42
- }, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
43
- options: {
44
- type: ArrayConstructor;
45
- default: () => never[];
46
- };
47
- depth: {
48
- type: (NumberConstructor | StringConstructor)[];
49
- };
50
- urlConfig: {
51
- type: ObjectConstructor;
52
- };
53
- lazyRequest: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- requestCache: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- onFocus: {
62
- type: FunctionConstructor;
63
- };
64
- filterable: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- checkStrategy: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- labelField: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- valueField: {
77
- type: StringConstructor;
78
- default: string;
79
- };
80
- onChange: {};
81
- value: {};
82
- }>> & {
83
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
84
- }, {
85
- options: unknown[];
86
- checkStrategy: string;
87
- labelField: string;
88
- valueField: string;
89
- lazyRequest: boolean;
90
- requestCache: boolean;
91
- filterable: boolean;
92
- }>;
93
- import vue_2 = require("vue");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function highLightSetPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function filterRenderPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function dateRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function defaultRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function seqRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function variableHeightRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../es/components/iho-table");
@@ -1,44 +0,0 @@
1
- export const __esModule: true;
2
- export const IhoTableUtils: Readonly<{
3
- getCellType: (lowCodeField: any) => any;
4
- }>;
5
- export const IhoTableRenderHelper: Readonly<{
6
- createDefaultRenderCell: typeof createDefaultRenderCell;
7
- createRenderEdit: typeof createRenderEdit;
8
- isEditableColumn: (config: any, column: any) => any;
9
- hasFilter: (lowCodeField: any) => boolean;
10
- hasDateFiler: (lowCodeField: any) => any;
11
- }>;
12
- export const IhoTableStatusHelper: Readonly<{
13
- isPositive: (value: any) => boolean;
14
- isNegative: (value: any) => boolean;
15
- notPositive: (value: any) => boolean;
16
- notNegative: (value: any) => boolean;
17
- }>;
18
- export function createIhoTableClearActivedInterceptor(type: any, solution: any): (_a: any) => boolean;
19
- export function IhoTableLog(message: any): void;
20
- export function IhoTableWarn(message: any): void;
21
- export function getRowHeight(): number;
22
- export function eventListener2EventName(eventListenerName: any): string;
23
- export function eventName2EventListener(eventName: any): string;
24
- export function useUUIDMap(creator: any, isReactive: any): {
25
- getItemFromUUID: (uuid: any) => any;
26
- setItemFromUUID: (uuid: any, value: any) => void;
27
- removeItemFromUUID: (uuid: any) => void;
28
- };
29
- export function getColumnRenderWidth(column: any, $table: any): any;
30
- export function useIhoTableFormEvent(payload: any): {
31
- emitFormChange: () => void;
32
- emitFormClick: () => void;
33
- emitFormChangeWithParams: (params: any) => void;
34
- emitFormClickWithParams: (params: any) => void;
35
- };
36
- export function getLowCodeFieldFromField(field: any): any;
37
- declare function createDefaultRenderCell(): (_: any, _a: any) => any[];
38
- declare function createRenderEdit(renderer: any): (_a: any, params: any) => any;
39
- export function isTransformTreeType(config: any): boolean;
40
- export function isRichContent(content: any): boolean;
41
- export function parseRichContent(richContent: any): any;
42
- export function parseMergeField(row: any, column: any): any;
43
- export function isCompatibleColumn(field: any): any;
44
- export {};
@@ -1,36 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- form: {
4
- type: ObjectConstructor;
5
- default: () => void;
6
- };
7
- item: {
8
- type: ObjectConstructor;
9
- default: () => void;
10
- };
11
- isLock: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
16
- form: {
17
- type: ObjectConstructor;
18
- default: () => void;
19
- };
20
- item: {
21
- type: ObjectConstructor;
22
- default: () => void;
23
- };
24
- isLock: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }>> & {
29
- onScaleChange?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- item: Record<string, any>;
32
- isLock: boolean;
33
- form: Record<string, any>;
34
- }>;
35
- export default _default;
36
- import vue_1 = require("vue");
@@ -1,36 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- form: {
4
- type: ObjectConstructor;
5
- default: () => {};
6
- };
7
- item: {
8
- type: ObjectConstructor;
9
- default: () => {};
10
- };
11
- isLock: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
16
- form: {
17
- type: ObjectConstructor;
18
- default: () => {};
19
- };
20
- item: {
21
- type: ObjectConstructor;
22
- default: () => {};
23
- };
24
- isLock: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }>> & {
29
- onScaleChange?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- item: Record<string, any>;
32
- isLock: boolean;
33
- form: Record<string, any>;
34
- }>;
35
- export default _default;
36
- import vue_1 = require("vue");
@@ -1,82 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- title: {
4
- type: (StringConstructor | FunctionConstructor)[];
5
- default: string;
6
- };
7
- changeSize: {
8
- type: BooleanConstructor;
9
- default: boolean;
10
- };
11
- closable: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- modalWidth: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- modalHeight: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- handleOk: {
24
- type: FunctionConstructor;
25
- default: () => {};
26
- };
27
- cancel: {
28
- type: FunctionConstructor;
29
- default: () => {};
30
- };
31
- visible: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("update:visible" | "onClose")[], "onClose" | "update:visible", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
36
- title: {
37
- type: (StringConstructor | FunctionConstructor)[];
38
- default: string;
39
- };
40
- changeSize: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- closable: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- modalWidth: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- modalHeight: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- handleOk: {
57
- type: FunctionConstructor;
58
- default: () => {};
59
- };
60
- cancel: {
61
- type: FunctionConstructor;
62
- default: () => {};
63
- };
64
- visible: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- }>> & {
69
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
70
- onOnClose?: ((...args: any[]) => any) | undefined;
71
- }, {
72
- closable: boolean;
73
- title: string | Function;
74
- visible: boolean;
75
- modalWidth: string;
76
- modalHeight: string;
77
- handleOk: Function;
78
- cancel: Function;
79
- changeSize: boolean;
80
- }>;
81
- export default _default;
82
- import vue_1 = require("vue");
@@ -1,57 +0,0 @@
1
- export const __esModule: true;
2
- export const SearchMenu: vue_1.DefineComponent<{
3
- childKey: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- options: {
8
- type: ArrayConstructor;
9
- default: () => never[];
10
- };
11
- labelKey: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- valueKey: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- currentNode: {
20
- type: ObjectConstructor;
21
- };
22
- cursorNode: {
23
- type: ObjectConstructor;
24
- };
25
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
26
- childKey: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- options: {
31
- type: ArrayConstructor;
32
- default: () => never[];
33
- };
34
- labelKey: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- valueKey: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- currentNode: {
43
- type: ObjectConstructor;
44
- };
45
- cursorNode: {
46
- type: ObjectConstructor;
47
- };
48
- }>> & {
49
- onNodeClick?: ((...args: any[]) => any) | undefined;
50
- onChangeCursor?: ((...args: any[]) => any) | undefined;
51
- }, {
52
- options: unknown[];
53
- valueKey: string;
54
- childKey: string;
55
- labelKey: string;
56
- }>;
57
- import vue_1 = require("vue");
@@ -1,57 +0,0 @@
1
- export const __esModule: true;
2
- export const SearchMenu: vue_1.DefineComponent<{
3
- childKey: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- options: {
8
- type: ArrayConstructor;
9
- default: () => never[];
10
- };
11
- labelKey: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- valueKey: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- currentNode: {
20
- type: ObjectConstructor;
21
- };
22
- cursorNode: {
23
- type: ObjectConstructor;
24
- };
25
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
26
- childKey: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- options: {
31
- type: ArrayConstructor;
32
- default: () => never[];
33
- };
34
- labelKey: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- valueKey: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- currentNode: {
43
- type: ObjectConstructor;
44
- };
45
- cursorNode: {
46
- type: ObjectConstructor;
47
- };
48
- }>> & {
49
- onNodeClick?: ((...args: any[]) => any) | undefined;
50
- onChangeCursor?: ((...args: any[]) => any) | undefined;
51
- }, {
52
- options: unknown[];
53
- valueKey: string;
54
- childKey: string;
55
- labelKey: string;
56
- }>;
57
- import vue_1 = require("vue");