cnhis-design-vue 3.1.23-beta.2 → 3.1.23-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.
Files changed (55) hide show
  1. package/README.md +123 -123
  2. package/es/components/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +8 -2
  3. package/es/components/big-table/src/components/edit-form/useCommon.d.ts +4 -0
  4. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  5. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  6. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  7. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  8. package/es/components/fabric-chart/src/hooks/useEvent2.js +8 -4
  9. package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
  10. package/es/components/form-config/index.d.ts +6 -0
  11. package/es/components/form-config/src/FormConfig.vue.d.ts +6 -0
  12. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -0
  13. package/es/components/form-render/src/components/renderer/search.d.ts +13 -1
  14. package/es/components/form-render/src/components/renderer/searchCascader.d.ts +63 -0
  15. package/es/components/form-render/src/types/fieldItem.d.ts +6 -0
  16. package/es/components/form-render/src/utils/schema2.js +1 -4
  17. package/es/components/iho-table/index.d.ts +100 -270
  18. package/es/components/iho-table/src/IhoTable.vue.d.ts +100 -270
  19. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +2 -2
  20. package/es/components/iho-table/src/plugins/index.js +1 -1
  21. package/es/components/iho-table/src/plugins/index2.js +1 -1
  22. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/index.d.ts +1 -1
  23. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/index.js +1 -1
  24. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -0
  25. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{inputRendererPlugins.js → inputRendererPlugin.js} +2 -2
  26. package/es/components/iho-table/src/plugins/rendererPlugins/index.js +1 -1
  27. package/es/components/index.css +1 -1
  28. package/es/components/search-cascader/index.d.ts +133 -0
  29. package/es/components/search-cascader/index.js +1 -0
  30. package/es/components/search-cascader/index2.js +10 -0
  31. package/es/components/search-cascader/src/SearchCascader.js +189 -0
  32. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +135 -0
  33. package/es/components/search-cascader/src/components/SearchMenu.d.ts +36 -0
  34. package/es/components/search-cascader/src/components/SearchMenu.js +125 -0
  35. package/es/components/search-cascader/src/components/index.d.ts +1 -0
  36. package/es/components/search-cascader/src/components/index.js +1 -0
  37. package/es/components/search-cascader/src/constants/index.d.ts +3 -0
  38. package/es/components/search-cascader/src/constants/index.js +1 -0
  39. package/es/components/search-cascader/src/constants/index2.js +3 -0
  40. package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
  41. package/es/components/search-cascader/src/hooks/index.js +1 -0
  42. package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
  43. package/es/components/search-cascader/src/hooks/useCssVariable.js +1 -0
  44. package/es/components/search-cascader/src/hooks/useCssVariable2.js +7 -0
  45. package/es/components/search-cascader/src/utils/index.d.ts +2 -0
  46. package/es/components/search-cascader/src/utils/index.js +1 -0
  47. package/es/components/search-cascader/src/utils/index2.js +11 -0
  48. package/es/components/search-cascader/style/index.css +1 -0
  49. package/es/components/shortcut-setter/index.d.ts +6 -0
  50. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -0
  51. package/es/shared/utils/index.d.ts +1 -1
  52. package/es/shared/utils/index2.js +14 -5
  53. package/es/shared/utils/tapable/index.d.ts +139 -0
  54. package/package.json +2 -2
  55. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugins.d.ts +0 -1
@@ -940,6 +940,12 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
940
940
  search_key?: string[] | undefined;
941
941
  type?: string | undefined;
942
942
  value_key?: string | undefined;
943
+ level_key?: string | undefined;
944
+ link_key?: string | undefined;
945
+ link_key_split?: string | undefined;
946
+ show_key?: string | undefined;
947
+ conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
948
+ conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
943
949
  } | undefined;
944
950
  open?: {
945
951
  value?: any;
@@ -942,6 +942,12 @@ declare const _default: import("vue").DefineComponent<{
942
942
  search_key?: string[] | undefined;
943
943
  type?: string | undefined;
944
944
  value_key?: string | undefined;
945
+ level_key?: string | undefined;
946
+ link_key?: string | undefined;
947
+ link_key_split?: string | undefined;
948
+ show_key?: string | undefined;
949
+ conObj?: import("../../../../es/shared/types").AnyObject[] | undefined;
950
+ conObjFirstLevel?: import("../../../../es/shared/types").AnyObject[] | undefined;
945
951
  } | undefined;
946
952
  open?: {
947
953
  value?: any;
@@ -69,6 +69,12 @@ declare const _default: import("vue").DefineComponent<{}, {
69
69
  search_key?: string[] | undefined;
70
70
  type?: string | undefined;
71
71
  value_key?: string | undefined;
72
+ level_key?: string | undefined;
73
+ link_key?: string | undefined;
74
+ link_key_split?: string | undefined;
75
+ show_key?: string | undefined;
76
+ conObj?: import("../../../../../es/shared/types").AnyObject[] | undefined;
77
+ conObjFirstLevel?: import("../../../../../es/shared/types").AnyObject[] | undefined;
72
78
  } | undefined;
73
79
  open?: {
74
80
  value?: any;
@@ -1,4 +1,4 @@
1
- import { Func } from '../../../../../../es/shared/types';
1
+ import { AnyObject, Func } from '../../../../../../es/shared/types';
2
2
  import { PropType } from 'vue';
3
3
  export declare const SEARCH: import("vue").DefineComponent<{
4
4
  value: {
@@ -21,6 +21,12 @@ export declare const SEARCH: import("vue").DefineComponent<{
21
21
  search_key: string[];
22
22
  type: string;
23
23
  value_key: string;
24
+ level_key: string;
25
+ link_key: string;
26
+ link_key_split: string;
27
+ show_key: string;
28
+ conObj: AnyObject[];
29
+ conObjFirstLevel: AnyObject[];
24
30
  }>>;
25
31
  required: true;
26
32
  };
@@ -49,6 +55,12 @@ export declare const SEARCH: import("vue").DefineComponent<{
49
55
  search_key: string[];
50
56
  type: string;
51
57
  value_key: string;
58
+ level_key: string;
59
+ link_key: string;
60
+ link_key_split: string;
61
+ show_key: string;
62
+ conObj: AnyObject[];
63
+ conObjFirstLevel: AnyObject[];
52
64
  }>>;
53
65
  required: true;
54
66
  };
@@ -0,0 +1,63 @@
1
+ import { AnyObject, Func } from '../../../../../../es/shared/types';
2
+ import { PropType } from 'vue';
3
+ export declare const SEARCH_CASCADE: import("vue").DefineComponent<{
4
+ options: {
5
+ type: PropType<AnyObject[]>;
6
+ default: () => never[];
7
+ };
8
+ onFocus: {
9
+ type: PropType<Func<any[], any>>;
10
+ };
11
+ wordbook: {
12
+ type: PropType<Partial<{
13
+ level_num: number;
14
+ id: string;
15
+ name: string;
16
+ render_key: string[];
17
+ search_key: string[];
18
+ type: string;
19
+ value_key: string;
20
+ level_key: string;
21
+ link_key: string;
22
+ link_key_split: string;
23
+ show_key: string;
24
+ conObj: AnyObject[];
25
+ conObjFirstLevel: AnyObject[];
26
+ }>>;
27
+ required: true;
28
+ };
29
+ onChange: {};
30
+ value: {};
31
+ }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ options: {
33
+ type: PropType<AnyObject[]>;
34
+ default: () => never[];
35
+ };
36
+ onFocus: {
37
+ type: PropType<Func<any[], any>>;
38
+ };
39
+ wordbook: {
40
+ type: PropType<Partial<{
41
+ level_num: number;
42
+ id: string;
43
+ name: string;
44
+ render_key: string[];
45
+ search_key: string[];
46
+ type: string;
47
+ value_key: string;
48
+ level_key: string;
49
+ link_key: string;
50
+ link_key_split: string;
51
+ show_key: string;
52
+ conObj: AnyObject[];
53
+ conObjFirstLevel: AnyObject[];
54
+ }>>;
55
+ required: true;
56
+ };
57
+ onChange: {};
58
+ value: {};
59
+ }>> & {
60
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
61
+ }, {
62
+ options: AnyObject[];
63
+ }>;
@@ -74,6 +74,12 @@ export declare type FormWordbook = Partial<{
74
74
  search_key: string[];
75
75
  type: string;
76
76
  value_key: string;
77
+ level_key: string;
78
+ link_key: string;
79
+ link_key_split: string;
80
+ show_key: string;
81
+ conObj: AnyObject[];
82
+ conObjFirstLevel: AnyObject[];
77
83
  }>;
78
84
  export declare type FieldItem = {
79
85
  /**
@@ -27,16 +27,13 @@ function traverseDependKey(dependKeys, handler) {
27
27
  return handler(dependKey, valueKey);
28
28
  handler(dependKey, valueKey.key, valueKey.required);
29
29
  });
30
- Object.entries(createDependKeyMap()).forEach(([dependKey, valueKey]) => {
31
- handler(dependKey, valueKey);
32
- });
33
30
  function createDependKeyMap() {
34
31
  const result = /* @__PURE__ */ new Map();
35
32
  if (isArray(dependKeys)) {
36
33
  dependKeys.forEach((k) => {
37
34
  var _a;
38
35
  if (isObject(k)) {
39
- result.set(k.paramName, { key: (_a = k.paramName) != null ? _a : k.paramValue, required: k.required });
36
+ result.set(k.paramName, { key: (_a = k.paramValue) != null ? _a : k.paramName, required: k.required });
40
37
  } else {
41
38
  result.set(k, k);
42
39
  }