cnhis-design-vue 3.2.7-beta.5 → 3.2.7-beta.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/README.md +87 -87
  2. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  3. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  4. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
  5. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  6. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  7. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
  8. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
  9. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  10. package/es/components/form-config/index.d.ts +3 -3
  11. package/es/components/form-config/src/FormConfig.vue.d.ts +3 -3
  12. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -3
  13. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  14. package/es/components/form-render/src/types/fieldItem.d.ts +1 -2
  15. package/es/components/iho-chat/index.d.ts +1 -1
  16. package/es/components/iho-chat/src/Index.vue.d.ts +1 -1
  17. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  18. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +1 -1
  19. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  20. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  21. package/es/components/shortcut-setter/index.d.ts +1 -1
  22. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  23. package/es/env.d.ts +25 -25
  24. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  25. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  26. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  27. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  28. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  29. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  30. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  31. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  32. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  33. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  34. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  35. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  36. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  37. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  38. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  39. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  40. package/es/shared/assets/img/failure.png.js +1 -1
  41. package/es/shared/assets/img/no-permission.png.js +1 -1
  42. package/es/shared/assets/img/nodata.png.js +1 -1
  43. package/es/shared/assets/img/notfound.png.js +1 -1
  44. package/es/shared/assets/img/qr.png.js +1 -1
  45. package/es/shared/assets/img/success.png.js +1 -1
  46. package/es/shared/assets/img/table_style_2.png.js +1 -1
  47. package/es/shared/assets/img/video.png.js +1 -1
  48. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  49. package/es/shared/assets/img/xb_big.png.js +1 -1
  50. package/es/shared/assets/img/xb_small.png.js +1 -1
  51. package/es/shared/package.json.js +1 -1
  52. package/package.json +2 -2
  53. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  54. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  55. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  56. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  57. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  58. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  59. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1,139 +0,0 @@
1
- type FixedSizeArray<T extends number, U> = T extends 0
2
- ? void[]
3
- : ReadonlyArray<U> & {
4
- 0: U;
5
- length: T;
6
- };
7
- type Measure<T extends number> = T extends 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 ? T : never;
8
- type Append<T extends any[], U> = {
9
- 0: [U];
10
- 1: [T[0], U];
11
- 2: [T[0], T[1], U];
12
- 3: [T[0], T[1], T[2], U];
13
- 4: [T[0], T[1], T[2], T[3], U];
14
- 5: [T[0], T[1], T[2], T[3], T[4], U];
15
- 6: [T[0], T[1], T[2], T[3], T[4], T[5], U];
16
- 7: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], U];
17
- 8: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], T[7], U];
18
- }[Measure<T['length']>];
19
- type AsArray<T> = T extends any[] ? T : [T];
20
-
21
- declare class UnsetAdditionalOptions {
22
- _UnsetAdditionalOptions: true;
23
- }
24
- type IfSet<X> = X extends UnsetAdditionalOptions ? {} : X;
25
-
26
- type Callback<E, T> = (error: E | null, result?: T) => void;
27
- type InnerCallback<E, T> = (error?: E | null | false, result?: T) => void;
28
-
29
- type FullTap = Tap & {
30
- type: 'sync' | 'async' | 'promise';
31
- fn: Function;
32
- };
33
-
34
- type Tap = TapOptions & {
35
- name: string;
36
- };
37
-
38
- type TapOptions = {
39
- before?: string;
40
- stage?: number;
41
- };
42
-
43
- interface HookInterceptor<T, R, AdditionalOptions = UnsetAdditionalOptions> {
44
- name?: string;
45
- tap?: (tap: FullTap & IfSet<AdditionalOptions>) => void;
46
- call?: (...args: any[]) => void;
47
- loop?: (...args: any[]) => void;
48
- error?: (err: Error) => void;
49
- result?: (result: R) => void;
50
- done?: () => void;
51
- register?: (tap: FullTap & IfSet<AdditionalOptions>) => FullTap & IfSet<AdditionalOptions>;
52
- }
53
-
54
- type ArgumentNames<T extends any[]> = FixedSizeArray<T['length'], string>;
55
-
56
- declare class Hook<T, R, AdditionalOptions = UnsetAdditionalOptions> {
57
- constructor(args?: ArgumentNames<AsArray<T>>, name?: string);
58
- name: string | undefined;
59
- taps: FullTap[];
60
- intercept(interceptor: HookInterceptor<T, R, AdditionalOptions>): void;
61
- isUsed(): boolean;
62
- callAsync(...args: Append<AsArray<T>, Callback<Error, R>>): void;
63
- promise(...args: AsArray<T>): Promise<R>;
64
- tap(options: string | (Tap & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => R): void;
65
- withOptions(options: TapOptions & IfSet<AdditionalOptions>): Omit<this, 'call' | 'callAsync' | 'promise'>;
66
- }
67
-
68
- export class SyncHook<T, R = void, AdditionalOptions = UnsetAdditionalOptions> extends Hook<T, R, AdditionalOptions> {
69
- call(...args: AsArray<T>): R;
70
- }
71
-
72
- export class SyncBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<T, R, AdditionalOptions> {}
73
- export class SyncLoopHook<T, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<T, void, AdditionalOptions> {}
74
- export class SyncWaterfallHook<T, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<
75
- T,
76
- AsArray<T>[0],
77
- AdditionalOptions
78
- > {}
79
-
80
- declare class AsyncHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends Hook<T, R, AdditionalOptions> {
81
- tapAsync(
82
- options: string | (Tap & IfSet<AdditionalOptions>),
83
- fn: (...args: Append<AsArray<T>, InnerCallback<Error, R>>) => void
84
- ): void;
85
- tapPromise(options: string | (Tap & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => Promise<R>): void;
86
- }
87
-
88
- export class AsyncParallelHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
89
- T,
90
- void,
91
- AdditionalOptions
92
- > {}
93
- export class AsyncParallelBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
94
- T,
95
- R,
96
- AdditionalOptions
97
- > {}
98
- export class AsyncSeriesHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
99
- T,
100
- void,
101
- AdditionalOptions
102
- > {}
103
- export class AsyncSeriesBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
104
- T,
105
- R,
106
- AdditionalOptions
107
- > {}
108
- export class AsyncSeriesLoopHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
109
- T,
110
- void,
111
- AdditionalOptions
112
- > {}
113
- export class AsyncSeriesWaterfallHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
114
- T,
115
- AsArray<T>[0],
116
- AdditionalOptions
117
- > {}
118
-
119
- type HookFactory<H> = (key: any, hook?: H) => H;
120
-
121
- interface HookMapInterceptor<H> {
122
- factory?: HookFactory<H>;
123
- }
124
-
125
- export class HookMap<H> {
126
- constructor(factory: HookFactory<H>, name?: string);
127
- name: string | undefined;
128
- get(key: any): H | undefined;
129
- for(key: any): H;
130
- intercept(interceptor: HookMapInterceptor<H>): void;
131
- }
132
-
133
- export class MultiHook<H> {
134
- constructor(hooks: H[], name?: string);
135
- name: string | undefined;
136
- tap(options: string | Tap, fn?: Function): void;
137
- tapAsync(options: string | Tap, fn?: Function): void;
138
- tapPromise(options: string | Tap, fn?: Function): void;
139
- }