cnhis-design-vue 3.1.49-beta.2 → 3.1.49-beta.20

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 (130) hide show
  1. package/es/components/classification/src/index.vue2.js +1 -1
  2. package/es/components/expand-field/index.d.ts +1622 -0
  3. package/es/components/expand-field/index.js +1 -0
  4. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue.d.ts +54 -0
  5. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue.js +1 -0
  6. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -0
  7. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +841 -0
  8. package/es/components/expand-field/src/components/FormItemPerson.vue.js +1 -0
  9. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +1 -0
  10. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +777 -0
  11. package/es/components/expand-field/src/components/PersonModal.vue.js +1 -0
  12. package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -0
  13. package/es/components/expand-field/src/components/form.vue.d.ts +1494 -0
  14. package/es/components/expand-field/src/components/form.vue.js +1 -0
  15. package/es/components/expand-field/src/components/form.vue2.js +1 -0
  16. package/es/components/expand-field/src/constants/index.d.ts +3 -0
  17. package/es/components/expand-field/src/constants/index.js +1 -0
  18. package/es/components/expand-field/src/hooks/useAsyncData.d.ts +6 -0
  19. package/es/components/expand-field/src/hooks/useAsyncData.js +1 -0
  20. package/es/components/expand-field/src/index.vue.d.ts +1624 -0
  21. package/es/components/expand-field/src/index.vue.js +1 -0
  22. package/es/components/expand-field/src/index.vue2.js +1 -0
  23. package/es/components/expand-field/src/types/index.d.ts +1 -0
  24. package/es/components/expand-field/src/types/index.js +1 -0
  25. package/es/components/expand-field/src/utils/constant.d.ts +17 -0
  26. package/es/components/expand-field/src/utils/constant.js +1 -0
  27. package/es/components/expand-field/src/utils/index.d.ts +6 -0
  28. package/es/components/expand-field/src/utils/index.js +1 -0
  29. package/es/components/expand-field/src/utils/tool.d.ts +2 -0
  30. package/es/components/expand-field/src/utils/tool.js +1 -0
  31. package/es/components/expand-field/style/expand-field-iconfont.ttf +0 -0
  32. package/es/components/expand-field/style/index.css +1 -0
  33. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +5 -1
  35. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  36. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +2 -1
  37. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
  38. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  39. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  40. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  41. package/es/components/fabric-chart/src/interface.d.ts +1 -1
  42. package/es/components/field-set/index.d.ts +177 -16
  43. package/es/components/field-set/src/FieldSet.vue.d.ts +161 -17
  44. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  45. package/es/components/field-set/src/components/Row.vue.d.ts +116 -15
  46. package/es/components/field-set/src/components/Row.vue2.js +1 -1
  47. package/es/components/field-set/src/types/index.d.ts +1 -1
  48. package/es/components/field-set/src/utils/index.js +1 -1
  49. package/es/components/field-set/style/index.css +1 -1
  50. package/es/components/form-config/index.d.ts +49 -3
  51. package/es/components/form-config/src/FormConfig.vue.d.ts +49 -3
  52. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +46 -30
  53. package/es/components/form-config/src/components/FormConfigCreator.vue2.js +1 -1
  54. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +23 -1
  55. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  56. package/es/components/form-render/index.d.ts +17 -1
  57. package/es/components/form-render/index.js +1 -1
  58. package/es/components/form-render/src/FormRender.vue.d.ts +17 -1
  59. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  60. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -1
  61. package/es/components/form-render/src/components/renderer/complex.js +1 -1
  62. package/es/components/form-render/src/components/renderer/date.js +1 -1
  63. package/es/components/form-render/src/components/renderer/formItem.d.ts +7 -2
  64. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  65. package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
  66. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  67. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  68. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  69. package/es/components/form-render/src/components/renderer/select.d.ts +19 -0
  70. package/es/components/form-render/src/components/renderer/select.js +1 -1
  71. package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +3 -1
  72. package/es/components/form-render/src/components/renderer/simpleComponent.js +1 -1
  73. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  74. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  75. package/es/components/form-render/src/constants/index.d.ts +2 -1
  76. package/es/components/form-render/src/constants/index.js +1 -1
  77. package/es/components/form-render/src/hooks/useAnchor.js +1 -1
  78. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
  79. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  80. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +4 -1
  81. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  82. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -1
  83. package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
  84. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  85. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  86. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  87. package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
  88. package/es/components/form-render/src/types/fieldItem.d.ts +2 -0
  89. package/es/components/form-render/src/types/index.d.ts +1 -0
  90. package/es/components/form-render/src/utils/index.d.ts +1 -0
  91. package/es/components/form-render/src/utils/index.js +1 -1
  92. package/es/components/form-render/style/index.css +1 -1
  93. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  94. package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -0
  95. package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.js +1 -0
  96. package/es/components/iho-table/src/plugins/index.js +1 -1
  97. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  98. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -1
  99. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
  100. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  101. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +21 -0
  102. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  103. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
  104. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -1
  105. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  106. package/es/components/iho-table/src/types/index.d.ts +1 -0
  107. package/es/components/iho-table/style/index.css +1 -1
  108. package/es/components/index.css +1 -1
  109. package/es/components/index.d.ts +2 -1
  110. package/es/components/index.js +1 -1
  111. package/es/components/info-header/index.d.ts +42 -3
  112. package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -3
  113. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +4 -1
  114. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +4 -1
  115. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +21 -2
  116. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -1
  117. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  118. package/es/components/select-person/style/index.css +1 -1
  119. package/es/components/shortcut-setter/index.d.ts +19 -1
  120. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +19 -1
  121. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  122. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +40 -0
  123. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -0
  124. package/es/shared/components/InputNumberSlash/index.d.ts +2 -0
  125. package/es/shared/components/InputNumberSlash/index.js +1 -0
  126. package/es/shared/hooks/useDateTime.js +1 -1
  127. package/es/shared/package.json.js +1 -1
  128. package/es/shared/utils/anime.d.ts +2 -1
  129. package/es/shared/utils/anime.js +1 -1
  130. package/package.json +2 -2
@@ -0,0 +1,841 @@
1
+ import { ref, PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ defaultValue: {
4
+ type: (ArrayConstructor | StringConstructor)[];
5
+ };
6
+ orgId: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ }, {
11
+ findAllDeptEmpByOrg: (params: any, filterApiConfig: any) => Promise<any>;
12
+ expandFieldApiConfig: import("../../..").AnyObject;
13
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14
+ defaultValue: {
15
+ type: (ArrayConstructor | StringConstructor)[];
16
+ };
17
+ orgId: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ }>> & {
22
+ onCheckPerson?: ((...args: any[]) => any) | undefined;
23
+ }>>;
24
+ emits: (event: "checkPerson", ...args: any[]) => void;
25
+ personSelect: import("vue").Ref<any[]>;
26
+ personDefaultList: import("vue").Ref<any[]>;
27
+ treeData: import("vue").Ref<any[]>;
28
+ personStr: import("vue").Ref<any>;
29
+ personModalRef: import("vue").Ref<null>;
30
+ personModalVisible: import("vue").Ref<boolean>;
31
+ inputChange: (value: string) => void;
32
+ openChoice: () => void;
33
+ clearAllTags: () => void;
34
+ checkModal: (list: any[]) => void;
35
+ getPersonModelData: () => Promise<void>;
36
+ findAllDeptEmpByOrgFunc: () => Promise<void>;
37
+ handleInit: () => never[] | undefined;
38
+ init: () => Promise<void>;
39
+ NInputGroup: import("vue").DefineComponent<{
40
+ [x: string]: never;
41
+ [x: number]: never;
42
+ [x: symbol]: never;
43
+ }, {
44
+ mergedClsPrefix: import("vue").ComputedRef<string>;
45
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ [x: string]: never;
47
+ [x: number]: never;
48
+ [x: symbol]: never;
49
+ }>>, {}>;
50
+ NButton: any;
51
+ NInput: any;
52
+ NTooltip: any;
53
+ NTag: any;
54
+ PersonModal: import("vue").DefineComponent<{
55
+ visible: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ orgId: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ defaultList: {
64
+ type: PropType<string[]>;
65
+ default: () => never[];
66
+ };
67
+ treeData: {
68
+ type: PropType<import("../../..").AnyObject[]>;
69
+ default: () => never[];
70
+ };
71
+ }, {
72
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
73
+ visible: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ orgId: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ defaultList: {
82
+ type: PropType<string[]>;
83
+ default: () => never[];
84
+ };
85
+ treeData: {
86
+ type: PropType<import("../../..").AnyObject[]>;
87
+ default: () => never[];
88
+ };
89
+ }>> & {
90
+ onCheck?: ((...args: any[]) => any) | undefined;
91
+ onChangeModalVisible?: ((...args: any[]) => any) | undefined;
92
+ }>>;
93
+ emits: (event: "check" | "changeModalVisible", ...args: any[]) => void;
94
+ wordbook: import("vue").Ref<{
95
+ parent_id_obj: string;
96
+ parent_id_obj_key: string;
97
+ parent_name_obj: string;
98
+ parent_name_obj_key: string;
99
+ user_count_obj: string;
100
+ }>;
101
+ wordbookChild: {
102
+ user_id_obj: string;
103
+ user_id_obj_key: string;
104
+ user_name_obj: string;
105
+ user_name_obj_key: string;
106
+ };
107
+ personList: import("vue").Ref<never[]>;
108
+ checkedTreeItem: import("vue").Ref<any[]>;
109
+ modalSave: () => void;
110
+ modalCancel: () => void;
111
+ checkWithLevel: (checkedItem: any[]) => void;
112
+ NModal: any;
113
+ NCard: any;
114
+ NButton: any;
115
+ CSelectPerson: import("../../..").SFCWithInstall<import("vue").DefineComponent<{
116
+ defaultList: {
117
+ type: PropType<((string | number) | {
118
+ [key: string]: any;
119
+ key: string | number;
120
+ name: string;
121
+ })[]>;
122
+ default: () => never[];
123
+ };
124
+ data: {
125
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
126
+ [k: string]: unknown;
127
+ } & import("../../..").AnyObject)[]>;
128
+ default: () => never[];
129
+ };
130
+ searchPlaceholder: {
131
+ type: StringConstructor;
132
+ default: string;
133
+ };
134
+ searchButtonText: {
135
+ type: StringConstructor;
136
+ default: string;
137
+ };
138
+ wordbook: {
139
+ type: PropType<{
140
+ parent_id_obj: string | number;
141
+ parent_name_obj: string | number;
142
+ user_count_obj?: string | number | undefined;
143
+ filter_key?: string | undefined;
144
+ }>;
145
+ default: () => {};
146
+ };
147
+ wordbookChild: {
148
+ type: PropType<{
149
+ user_id_obj: string | number;
150
+ user_name_obj: string | number;
151
+ user_expand_keys?: string[] | undefined;
152
+ }>;
153
+ default: () => {};
154
+ };
155
+ showCount: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ showClear: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ multiple: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ searchInner: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ searchFilter: {
172
+ type: PropType<import("../../..").AnyObject>;
173
+ default: () => {};
174
+ };
175
+ treeSetting: {
176
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
177
+ [k: string]: unknown;
178
+ } & import("../../..").AnyObject>;
179
+ default: () => {};
180
+ };
181
+ queryLoadChildData: {
182
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>>;
183
+ default: undefined;
184
+ };
185
+ queryTreeSearch: {
186
+ type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
187
+ default: () => Promise<never[]>;
188
+ };
189
+ }, {
190
+ searchFilterBase: {
191
+ isOpen: boolean;
192
+ multiple: boolean;
193
+ customTitles: string[];
194
+ itemHeight: number;
195
+ };
196
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
197
+ defaultList: {
198
+ type: PropType<((string | number) | {
199
+ [key: string]: any;
200
+ key: string | number;
201
+ name: string;
202
+ })[]>;
203
+ default: () => never[];
204
+ };
205
+ data: {
206
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
207
+ [k: string]: unknown;
208
+ } & import("../../..").AnyObject)[]>;
209
+ default: () => never[];
210
+ };
211
+ searchPlaceholder: {
212
+ type: StringConstructor;
213
+ default: string;
214
+ };
215
+ searchButtonText: {
216
+ type: StringConstructor;
217
+ default: string;
218
+ };
219
+ wordbook: {
220
+ type: PropType<{
221
+ parent_id_obj: string | number;
222
+ parent_name_obj: string | number;
223
+ user_count_obj?: string | number | undefined;
224
+ filter_key?: string | undefined;
225
+ }>;
226
+ default: () => {};
227
+ };
228
+ wordbookChild: {
229
+ type: PropType<{
230
+ user_id_obj: string | number;
231
+ user_name_obj: string | number;
232
+ user_expand_keys?: string[] | undefined;
233
+ }>;
234
+ default: () => {};
235
+ };
236
+ showCount: {
237
+ type: BooleanConstructor;
238
+ default: boolean;
239
+ };
240
+ showClear: {
241
+ type: BooleanConstructor;
242
+ default: boolean;
243
+ };
244
+ multiple: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
248
+ searchInner: {
249
+ type: BooleanConstructor;
250
+ default: boolean;
251
+ };
252
+ searchFilter: {
253
+ type: PropType<import("../../..").AnyObject>;
254
+ default: () => {};
255
+ };
256
+ treeSetting: {
257
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
258
+ [k: string]: unknown;
259
+ } & import("../../..").AnyObject>;
260
+ default: () => {};
261
+ };
262
+ queryLoadChildData: {
263
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>>;
264
+ default: undefined;
265
+ };
266
+ queryTreeSearch: {
267
+ type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
268
+ default: () => Promise<never[]>;
269
+ };
270
+ }>> & {
271
+ onCheck?: ((...args: any[]) => any) | undefined;
272
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
273
+ }>>;
274
+ emit: (event: "check" | "checkWithLevel", ...args: any[]) => void;
275
+ keyword: import("vue").Ref<string>;
276
+ checkedAll: import("vue").Ref<boolean>;
277
+ checkedKeys: import("vue").Ref<(string | number)[]>;
278
+ expandedKeys: import("vue").Ref<(string | number)[]>;
279
+ treeData: import("vue").Ref<{
280
+ [x: string]: unknown;
281
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
282
+ label?: string | undefined;
283
+ checkboxDisabled?: boolean | undefined;
284
+ disabled?: boolean | undefined;
285
+ isLeaf?: boolean | undefined;
286
+ children?: any[] | undefined;
287
+ prefix?: (() => import("vue").VNodeChild) | undefined;
288
+ suffix?: (() => import("vue").VNodeChild) | undefined;
289
+ }[]>;
290
+ tagData: import("vue").Ref<{
291
+ [x: string]: any;
292
+ key: string | number;
293
+ name: string;
294
+ }[]>;
295
+ initTagData: import("vue").Ref<{
296
+ [x: string]: any;
297
+ key: string | number;
298
+ name: string;
299
+ }[]>;
300
+ isSearch: import("vue").Ref<boolean>;
301
+ temp: import("naive-ui").TreeOption[];
302
+ allCheckedKeys: (string | number)[];
303
+ isRemote: import("vue").ComputedRef<boolean>;
304
+ checkStrategyResult: import("vue").ComputedRef<any>;
305
+ isSearchFilter: import("vue").ComputedRef<boolean>;
306
+ mergeSearchFilter: import("vue").ComputedRef<{
307
+ isOpen: boolean;
308
+ multiple: boolean;
309
+ customTitles: string[];
310
+ itemHeight: number;
311
+ }>;
312
+ wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
313
+ caculateTagData: import("vue").ComputedRef<any[]>;
314
+ init: () => void;
315
+ getallCheckedKeysWithChild: (item: import("naive-ui").TreeOption) => void;
316
+ getallCheckedKeysWithParent: (item: import("naive-ui").TreeOption) => void;
317
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>;
318
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
319
+ renderLabel: ({ option }: {
320
+ option: import("naive-ui").TreeOption;
321
+ }) => JSX.Element;
322
+ getLabelName: (option: import("naive-ui").TreeOption) => unknown;
323
+ transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
324
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
325
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], temp: any) => import("naive-ui").TreeOption[];
326
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
327
+ setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
328
+ setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
329
+ searchSetting: () => string;
330
+ onSearch: () => Promise<void>;
331
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
332
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
333
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
334
+ checkedAllChange: (checked: boolean) => void;
335
+ uniq: (arr: {
336
+ [key: string]: any;
337
+ key: string | number;
338
+ name: string;
339
+ }[]) => {
340
+ [key: string]: any;
341
+ key: string | number;
342
+ name: string;
343
+ }[];
344
+ setTagData: (tree: import("naive-ui").TreeOption[]) => void;
345
+ updateTreeChecked: (keys: (string | number)[]) => void;
346
+ setCheckedAll: () => void;
347
+ clearAll: () => void;
348
+ closeTag: (tag: {
349
+ [key: string]: any;
350
+ key: string | number;
351
+ name: string;
352
+ }) => void;
353
+ notifyCheck: (keys: (string | number)[]) => void;
354
+ notifySearchClear: () => void;
355
+ getCheckWithLevel: () => {
356
+ [x: string]: any;
357
+ key: string | number;
358
+ name: string;
359
+ }[];
360
+ NButton: any;
361
+ NInput: any;
362
+ NInputGroup: import("vue").DefineComponent<{
363
+ [x: string]: never;
364
+ [x: number]: never;
365
+ [x: symbol]: never;
366
+ }, {
367
+ mergedClsPrefix: import("vue").ComputedRef<string>;
368
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
369
+ [x: string]: never;
370
+ [x: number]: never;
371
+ [x: symbol]: never;
372
+ }>>, {}>;
373
+ NCheckbox: any;
374
+ NTree: any;
375
+ NIcon: any;
376
+ NSpace: any;
377
+ NGrid: any;
378
+ NGi: import("vue").DefineComponent<{
379
+ readonly span: {
380
+ readonly type: PropType<string | number>;
381
+ readonly default: 1;
382
+ };
383
+ readonly offset: {
384
+ readonly type: PropType<string | number>;
385
+ readonly default: 0;
386
+ };
387
+ readonly suffix: BooleanConstructor;
388
+ readonly privateOffset: NumberConstructor;
389
+ readonly privateSpan: NumberConstructor;
390
+ readonly privateColStart: NumberConstructor;
391
+ readonly privateShow: {
392
+ readonly type: BooleanConstructor;
393
+ readonly default: true;
394
+ };
395
+ }, {
396
+ overflow: import("vue").Ref<boolean>;
397
+ itemStyle: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
398
+ layoutShiftDisabled: import("vue").Ref<boolean>;
399
+ mergedXGap: import("vue").ComputedRef<string>;
400
+ deriveStyle: () => {
401
+ display: string;
402
+ gridColumn: string;
403
+ marginLeft: string;
404
+ };
405
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
406
+ readonly span: {
407
+ readonly type: PropType<string | number>;
408
+ readonly default: 1;
409
+ };
410
+ readonly offset: {
411
+ readonly type: PropType<string | number>;
412
+ readonly default: 0;
413
+ };
414
+ readonly suffix: BooleanConstructor;
415
+ readonly privateOffset: NumberConstructor;
416
+ readonly privateSpan: NumberConstructor;
417
+ readonly privateColStart: NumberConstructor;
418
+ readonly privateShow: {
419
+ readonly type: BooleanConstructor;
420
+ readonly default: true;
421
+ };
422
+ }>>, {
423
+ readonly offset: string | number;
424
+ readonly span: string | number;
425
+ readonly suffix: boolean;
426
+ readonly privateShow: boolean;
427
+ }>;
428
+ CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
429
+ SearchMultiple: import("vue").DefineComponent<{
430
+ treeData: {
431
+ type: PropType<any[]>;
432
+ default: () => never[];
433
+ };
434
+ checkedKeys: {
435
+ type: PropType<(string | number)[]>;
436
+ default: () => never[];
437
+ };
438
+ }, {
439
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
440
+ treeData: {
441
+ type: PropType<any[]>;
442
+ default: () => never[];
443
+ };
444
+ checkedKeys: {
445
+ type: PropType<(string | number)[]>;
446
+ default: () => never[];
447
+ };
448
+ }>> & {
449
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
450
+ }>>;
451
+ emit: (event: "notifyCheck", ...args: any[]) => void;
452
+ optionsRef: import("vue").ComputedRef<any[]>;
453
+ list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
454
+ containerProps: {
455
+ ref: import("vue").Ref<any>;
456
+ onScroll: () => void;
457
+ style: Partial<CSSStyleDeclaration>;
458
+ };
459
+ wrapperProps: import("vue").ComputedRef<{
460
+ style: {
461
+ width: string;
462
+ height: string;
463
+ marginTop: string;
464
+ };
465
+ }>;
466
+ containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
467
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
468
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
469
+ checkedChange: (checkList: (string | number)[], meta: {
470
+ actionType: "check" | "uncheck";
471
+ value: string | number;
472
+ }) => void;
473
+ handleCheckKey: (baseKeys: (string | number)[], currentTree: {
474
+ [key: string]: any;
475
+ key: string | number;
476
+ children: any[];
477
+ parentNode: any;
478
+ } | null, value: string | number) => false | undefined;
479
+ findParent: (baseKeys: (string | number)[], currentTree: {
480
+ [key: string]: any;
481
+ key: string | number;
482
+ children: any[];
483
+ parentNode: any;
484
+ }) => false | undefined;
485
+ handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
486
+ [key: string]: any;
487
+ key: string | number;
488
+ children: any[];
489
+ parentNode: any;
490
+ }, value: string | number) => false | undefined;
491
+ findChild: (baseKeys: (string | number)[], children: {
492
+ [key: string]: any;
493
+ key: string | number;
494
+ children: any[];
495
+ parentNode: any;
496
+ }[], value: string | number) => false | undefined;
497
+ checkInitTree: (tree: {
498
+ [key: string]: any;
499
+ key: string | number;
500
+ children: any[];
501
+ parentNode: any;
502
+ }, baseKey: string | number) => false | undefined;
503
+ ref: typeof ref;
504
+ NCheckboxGroup: import("vue").DefineComponent<{
505
+ readonly min: NumberConstructor;
506
+ readonly max: NumberConstructor;
507
+ readonly size: PropType<"small" | "medium" | "large">;
508
+ readonly value: PropType<(string | number)[] | null>;
509
+ readonly defaultValue: {
510
+ readonly type: PropType<(string | number)[] | null>;
511
+ readonly default: null;
512
+ };
513
+ readonly disabled: {
514
+ readonly type: PropType<boolean | undefined>;
515
+ readonly default: undefined;
516
+ };
517
+ readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
518
+ actionType: "check" | "uncheck";
519
+ value: string | number;
520
+ }) => void>>;
521
+ readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
522
+ actionType: "check" | "uncheck";
523
+ value: string | number;
524
+ }) => void>>;
525
+ readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
526
+ }, {
527
+ mergedClsPrefix: import("vue").ComputedRef<string>;
528
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
529
+ readonly min: NumberConstructor;
530
+ readonly max: NumberConstructor;
531
+ readonly size: PropType<"small" | "medium" | "large">;
532
+ readonly value: PropType<(string | number)[] | null>;
533
+ readonly defaultValue: {
534
+ readonly type: PropType<(string | number)[] | null>;
535
+ readonly default: null;
536
+ };
537
+ readonly disabled: {
538
+ readonly type: PropType<boolean | undefined>;
539
+ readonly default: undefined;
540
+ };
541
+ readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
542
+ actionType: "check" | "uncheck";
543
+ value: string | number;
544
+ }) => void>>;
545
+ readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
546
+ actionType: "check" | "uncheck";
547
+ value: string | number;
548
+ }) => void>>;
549
+ readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
550
+ }>>, {
551
+ readonly disabled: boolean | undefined;
552
+ readonly defaultValue: (string | number)[] | null;
553
+ }>;
554
+ NCheckbox: any;
555
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
556
+ treeData: {
557
+ type: PropType<any[]>;
558
+ default: () => never[];
559
+ };
560
+ checkedKeys: {
561
+ type: PropType<(string | number)[]>;
562
+ default: () => never[];
563
+ };
564
+ }>> & {
565
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
566
+ }, {
567
+ treeData: any[];
568
+ checkedKeys: (string | number)[];
569
+ }>;
570
+ SearchOrgAndStaff: import("vue").DefineComponent<{
571
+ treeData: {
572
+ type: PropType<any[]>;
573
+ default: () => never[];
574
+ };
575
+ checkedKeys: {
576
+ type: PropType<(string | number)[]>;
577
+ default: () => never[];
578
+ };
579
+ searchFilter: {
580
+ type: ObjectConstructor;
581
+ default: () => {};
582
+ };
583
+ }, {
584
+ $message: import("naive-ui").MessageApi;
585
+ virtualItemHeight: number;
586
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
587
+ treeData: {
588
+ type: PropType<any[]>;
589
+ default: () => never[];
590
+ };
591
+ checkedKeys: {
592
+ type: PropType<(string | number)[]>;
593
+ default: () => never[];
594
+ };
595
+ searchFilter: {
596
+ type: ObjectConstructor;
597
+ default: () => {};
598
+ };
599
+ }>> & {
600
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
601
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
602
+ }>>;
603
+ emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
604
+ moduleHeight: import("vue").ComputedRef<any>;
605
+ showNums: import("vue").ComputedRef<number>;
606
+ staffDataRef: import("vue").ComputedRef<any[]>;
607
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
608
+ staffContainerProps: {
609
+ ref: import("vue").Ref<any>;
610
+ onScroll: () => void;
611
+ style: Partial<CSSStyleDeclaration>;
612
+ };
613
+ staffWrapperProps: import("vue").ComputedRef<{
614
+ style: {
615
+ width: string;
616
+ height: string;
617
+ marginTop: string;
618
+ };
619
+ }>;
620
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
621
+ orgDataRef: import("vue").ComputedRef<any[]>;
622
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
623
+ orgContainerProps: {
624
+ ref: import("vue").Ref<any>;
625
+ onScroll: () => void;
626
+ style: Partial<CSSStyleDeclaration>;
627
+ };
628
+ orgWrapperProps: import("vue").ComputedRef<{
629
+ style: {
630
+ width: string;
631
+ height: string;
632
+ marginTop: string;
633
+ };
634
+ }>;
635
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
636
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
637
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
638
+ handleClick: (tree: any) => void;
639
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
640
+ [key: string]: any;
641
+ key: string | number;
642
+ children: any[];
643
+ parentNode: any;
644
+ }, value: string | number) => false | undefined;
645
+ findParent: (baseKeys: (string | number)[], currentTree: {
646
+ [key: string]: any;
647
+ key: string | number;
648
+ children: any[];
649
+ parentNode: any;
650
+ }) => false | undefined;
651
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
652
+ [key: string]: any;
653
+ key: string | number;
654
+ children: any[];
655
+ parentNode: any;
656
+ }, value: string | number) => void;
657
+ handleFindChildren: (treeList: {
658
+ [key: string]: any;
659
+ key: string | number;
660
+ children: any[];
661
+ parentNode: any;
662
+ }[]) => void;
663
+ checkInitTree: (tree: {
664
+ [key: string]: any;
665
+ key: string | number;
666
+ children: any[];
667
+ parentNode: any;
668
+ }, baseKey: string | number) => false | undefined;
669
+ ref: typeof ref;
670
+ NEmpty: any;
671
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
672
+ treeData: {
673
+ type: PropType<any[]>;
674
+ default: () => never[];
675
+ };
676
+ checkedKeys: {
677
+ type: PropType<(string | number)[]>;
678
+ default: () => never[];
679
+ };
680
+ searchFilter: {
681
+ type: ObjectConstructor;
682
+ default: () => {};
683
+ };
684
+ }>> & {
685
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
686
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
687
+ }, {
688
+ searchFilter: Record<string, any>;
689
+ treeData: any[];
690
+ checkedKeys: (string | number)[];
691
+ }>;
692
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
693
+ defaultList: {
694
+ type: PropType<((string | number) | {
695
+ [key: string]: any;
696
+ key: string | number;
697
+ name: string;
698
+ })[]>;
699
+ default: () => never[];
700
+ };
701
+ data: {
702
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
703
+ [k: string]: unknown;
704
+ } & import("../../..").AnyObject)[]>;
705
+ default: () => never[];
706
+ };
707
+ searchPlaceholder: {
708
+ type: StringConstructor;
709
+ default: string;
710
+ };
711
+ searchButtonText: {
712
+ type: StringConstructor;
713
+ default: string;
714
+ };
715
+ wordbook: {
716
+ type: PropType<{
717
+ parent_id_obj: string | number;
718
+ parent_name_obj: string | number;
719
+ user_count_obj?: string | number | undefined;
720
+ filter_key?: string | undefined;
721
+ }>;
722
+ default: () => {};
723
+ };
724
+ wordbookChild: {
725
+ type: PropType<{
726
+ user_id_obj: string | number;
727
+ user_name_obj: string | number;
728
+ user_expand_keys?: string[] | undefined;
729
+ }>;
730
+ default: () => {};
731
+ };
732
+ showCount: {
733
+ type: BooleanConstructor;
734
+ default: boolean;
735
+ };
736
+ showClear: {
737
+ type: BooleanConstructor;
738
+ default: boolean;
739
+ };
740
+ multiple: {
741
+ type: BooleanConstructor;
742
+ default: boolean;
743
+ };
744
+ searchInner: {
745
+ type: BooleanConstructor;
746
+ default: boolean;
747
+ };
748
+ searchFilter: {
749
+ type: PropType<import("../../..").AnyObject>;
750
+ default: () => {};
751
+ };
752
+ treeSetting: {
753
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
754
+ [k: string]: unknown;
755
+ } & import("../../..").AnyObject>;
756
+ default: () => {};
757
+ };
758
+ queryLoadChildData: {
759
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>>;
760
+ default: undefined;
761
+ };
762
+ queryTreeSearch: {
763
+ type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
764
+ default: () => Promise<never[]>;
765
+ };
766
+ }>> & {
767
+ onCheck?: ((...args: any[]) => any) | undefined;
768
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
769
+ }, {
770
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
771
+ [k: string]: unknown;
772
+ } & import("../../..").AnyObject)[];
773
+ defaultList: ((string | number) | {
774
+ [key: string]: any;
775
+ key: string | number;
776
+ name: string;
777
+ })[];
778
+ searchPlaceholder: string;
779
+ searchButtonText: string;
780
+ wordbook: {
781
+ parent_id_obj: string | number;
782
+ parent_name_obj: string | number;
783
+ user_count_obj?: string | number | undefined;
784
+ filter_key?: string | undefined;
785
+ };
786
+ wordbookChild: {
787
+ user_id_obj: string | number;
788
+ user_name_obj: string | number;
789
+ user_expand_keys?: string[] | undefined;
790
+ };
791
+ showCount: boolean;
792
+ showClear: boolean;
793
+ multiple: boolean;
794
+ searchInner: boolean;
795
+ searchFilter: import("../../..").AnyObject;
796
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & {
797
+ [k: string]: unknown;
798
+ } & import("../../..").AnyObject;
799
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>;
800
+ queryTreeSearch: (keyWork: string) => Promise<import("../../..").AnyObject[]>;
801
+ }>>;
802
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
803
+ visible: {
804
+ type: BooleanConstructor;
805
+ default: boolean;
806
+ };
807
+ orgId: {
808
+ type: StringConstructor;
809
+ default: string;
810
+ };
811
+ defaultList: {
812
+ type: PropType<string[]>;
813
+ default: () => never[];
814
+ };
815
+ treeData: {
816
+ type: PropType<import("../../..").AnyObject[]>;
817
+ default: () => never[];
818
+ };
819
+ }>> & {
820
+ onCheck?: ((...args: any[]) => any) | undefined;
821
+ onChangeModalVisible?: ((...args: any[]) => any) | undefined;
822
+ }, {
823
+ visible: boolean;
824
+ defaultList: string[];
825
+ treeData: import("../../..").AnyObject[];
826
+ orgId: string;
827
+ }>;
828
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "checkPerson"[], "checkPerson", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
829
+ defaultValue: {
830
+ type: (ArrayConstructor | StringConstructor)[];
831
+ };
832
+ orgId: {
833
+ type: StringConstructor;
834
+ default: string;
835
+ };
836
+ }>> & {
837
+ onCheckPerson?: ((...args: any[]) => any) | undefined;
838
+ }, {
839
+ orgId: string;
840
+ }>;
841
+ export default _default;