cnhis-design-vue 3.2.6-release.0 → 3.2.6-release.1

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 (77) hide show
  1. package/es/components/callback/src/components/render/popupMaps.d.ts +6 -2
  2. package/es/components/expand-field/index.d.ts +1109 -321
  3. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1109 -321
  4. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1109 -321
  5. package/es/components/expand-field/src/components/form.vue.d.ts +1109 -321
  6. package/es/components/expand-field/src/index.vue.d.ts +1109 -321
  7. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  8. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  9. package/es/components/form-config/index.d.ts +12 -4
  10. package/es/components/form-config/src/FormConfig.vue.d.ts +12 -4
  11. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +6 -2
  12. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -2
  13. package/es/components/form-render/index.d.ts +6 -2
  14. package/es/components/form-render/src/FormRender.vue.d.ts +5 -1
  15. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  16. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +6 -2
  17. package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
  18. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  19. package/es/components/form-render/src/types/index.d.ts +4 -1
  20. package/es/components/iho-chat/index.d.ts +57 -27
  21. package/es/components/iho-chat/src/Index.vue.d.ts +58 -27
  22. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  23. package/es/components/iho-chat/src/api/index.js +1 -1
  24. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +1 -1
  25. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +9 -26
  26. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  27. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +2 -2
  28. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +3 -2
  29. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  30. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +1 -1
  31. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +10 -3
  32. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  33. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  34. package/es/components/iho-chat/src/components/Video.vue.d.ts +30 -25
  35. package/es/components/iho-chat/src/components/Video.vue.js +1 -0
  36. package/es/components/iho-chat/src/components/Video.vue2.js +1 -0
  37. package/es/components/iho-chat/src/hooks/useSession.js +1 -1
  38. package/es/components/iho-chat/src/types/index.d.ts +2 -0
  39. package/es/components/iho-chat/src/utils/index.d.ts +1 -1
  40. package/es/components/iho-chat/src/utils/index.js +1 -1
  41. package/es/components/iho-chat/style/index.css +1 -1
  42. package/es/components/index.css +1 -1
  43. package/es/components/info-header/index.d.ts +12 -4
  44. package/es/components/info-header/src/InfoHeader.vue.d.ts +12 -4
  45. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +6 -2
  46. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +6 -2
  47. package/es/components/recommend-search/index.d.ts +8 -8
  48. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +8 -8
  49. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  50. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
  51. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +3 -3
  52. package/es/components/select-person/index.d.ts +1109 -321
  53. package/es/components/select-person/index.js +1 -1
  54. package/es/components/select-person/src/SelectPerson.vue.d.ts +4 -10
  55. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  56. package/es/components/select-person/src/SelectPersonType.vue.d.ts +314 -0
  57. package/es/components/select-person/src/SelectPersonType.vue.js +1 -0
  58. package/es/components/select-person/src/SelectPersonType.vue2.js +1 -0
  59. package/es/components/select-person/src/components/SearchMultiple.vue.js +1 -0
  60. package/es/components/select-person/src/components/SearchOrgAndStaff.vue.js +1 -0
  61. package/es/components/select-person/src/constants/index.d.ts +2 -0
  62. package/es/components/select-person/src/constants/index.js +1 -0
  63. package/es/components/select-person/src/index.vue.d.ts +1385 -0
  64. package/es/components/select-person/src/index.vue.js +1 -0
  65. package/es/components/select-person/src/index.vue2.js +1 -0
  66. package/es/components/shortcut-setter/index.d.ts +6 -2
  67. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -2
  68. package/es/shared/hooks/useAsyncQueue/index.d.ts +3 -0
  69. package/es/shared/hooks/useAsyncQueue/index.js +1 -1
  70. package/es/shared/package.json.js +1 -1
  71. package/package.json +2 -2
  72. package/es/components/select-person/src/SearchMultiple.vue.js +0 -1
  73. package/es/components/select-person/src/SearchOrgAndStaff.vue.js +0 -1
  74. /package/es/components/select-person/src/{SearchMultiple.vue.d.ts → components/SearchMultiple.vue.d.ts} +0 -0
  75. /package/es/components/select-person/src/{SearchMultiple.vue2.js → components/SearchMultiple.vue2.js} +0 -0
  76. /package/es/components/select-person/src/{SearchOrgAndStaff.vue.d.ts → components/SearchOrgAndStaff.vue.d.ts} +0 -0
  77. /package/es/components/select-person/src/{SearchOrgAndStaff.vue2.js → components/SearchOrgAndStaff.vue2.js} +0 -0
@@ -85,20 +85,21 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
85
85
  children: string;
86
86
  };
87
87
  };
88
- }, {
89
- searchFilterBase: {
90
- isOpen: boolean;
91
- multiple: boolean;
92
- customTitles: string[];
93
- itemHeight: number;
88
+ switchTypeProps: {
89
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
90
+ default: () => never[];
91
+ };
92
+ switchTypeData: {
93
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
94
+ default: () => {};
94
95
  };
95
- labelList: {
96
- key: string;
97
- label: string;
98
- }[];
99
- labelListName: {
100
- dept: string;
101
- role: string;
96
+ tagProps: {
97
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
98
+ default: () => {};
99
+ };
100
+ }, {
101
+ $attrs: {
102
+ [x: string]: unknown;
102
103
  };
103
104
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
104
105
  defaultList: {
@@ -186,338 +187,1110 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
186
187
  children: string;
187
188
  };
188
189
  };
189
- }>> & {
190
- onCheck?: ((...args: any[]) => any) | undefined;
191
- onCheckWithLevel?: ((...args: any[]) => any) | undefined;
192
- }>>;
193
- emit: (event: "check" | "checkWithLevel", ...args: any[]) => void;
194
- keyword: import("vue").Ref<string>;
195
- checkedAll: import("vue").Ref<boolean>;
196
- checkedKeys: import("vue").Ref<(string | number)[]>;
197
- expandedKeys: import("vue").Ref<(string | number)[]>;
198
- treeData: import("vue").Ref<{
199
- [x: string]: unknown;
200
- key?: import("naive-ui/es/tree/src/interface").Key | undefined;
201
- label?: string | undefined;
202
- checkboxDisabled?: boolean | undefined;
203
- disabled?: boolean | undefined;
204
- isLeaf?: boolean | undefined;
205
- children?: any[] | undefined;
206
- prefix?: (() => import("vue").VNodeChild) | undefined;
207
- suffix?: (() => import("vue").VNodeChild) | undefined;
208
- }[]>;
209
- tagData: import("vue").Ref<{
210
- [x: string]: any;
211
- key: string | number;
212
- }[]>;
213
- initTagData: import("vue").Ref<{
214
- [x: string]: any;
215
- key: string | number;
216
- }[]>;
217
- isSearch: import("vue").Ref<boolean>;
218
- tempData: import("naive-ui").TreeOption[];
219
- allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
220
- isRemote: import("vue").ComputedRef<boolean>;
221
- checkStrategyResult: import("vue").ComputedRef<any>;
222
- isSearchFilter: import("vue").ComputedRef<boolean>;
223
- curSelectKey: import("vue").Ref<string>;
224
- mergeSearchFilter: import("vue").ComputedRef<{
225
- isOpen: boolean;
226
- multiple: boolean;
227
- customTitles: string[];
228
- itemHeight: number;
229
- }>;
230
- wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
231
- caculateTagData: import("vue").ComputedRef<any>;
232
- treeDataMiddle: any;
233
- checkedKeysMiddle: any;
234
- checkedTagsMiddle: any;
235
- allCheckedKeysMiddle: any;
236
- attrType: import("vue").ComputedRef<any>;
237
- keyStr: import("vue").ComputedRef<string>;
238
- getTreeDataMiddleData: () => void;
239
- getDeptData: (list: any[], cb?: any) => any[];
240
- getRoleData: (list: any[], cb?: any) => any[];
241
- onHandleLabelChange: (item: any) => void;
242
- setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
243
- uniqArrObj: (arr: any[], name: string) => any;
244
- init: () => void;
245
- getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
246
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
247
- setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
248
- setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
249
- queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
250
- setDisabled: (data: import("naive-ui").TreeOption) => void;
251
- renderLabel: ({ option }: {
252
- option: import("naive-ui").TreeOption;
253
- }) => JSX.Element;
254
- getLabelName: (option: import("naive-ui").TreeOption) => {};
255
- transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
256
- calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
257
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
258
- searchSetting: () => string;
259
- onSearch: () => Promise<void>;
260
- setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
261
- setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
262
- setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
263
- checkedAllChange: (checked: boolean) => void;
264
- uniq: (arr: {
265
- [key: string]: any;
266
- key: string | number;
267
- }[]) => {
268
- [key: string]: any;
269
- key: string | number;
270
- }[];
271
- setTagData: (tree: import("naive-ui").TreeOption[]) => void;
272
- updateTreeChecked: (keys: (string | number)[]) => void;
273
- setCheckedAll: () => void;
274
- clearAll: () => void;
275
- closeTag: (tag: {
276
- [key: string]: any;
277
- key: string | number;
278
- }) => void;
279
- notifyCheck: (keys: (string | number)[]) => void;
280
- notifySearchClear: () => void;
281
- getCheckWithLevel: () => any;
282
- NButton: any;
283
- NInput: any;
284
- NInputGroup: any;
285
- NCheckbox: any;
286
- NTree: any;
287
- NTag: any;
288
- NIcon: any;
289
- NSpace: any;
290
- NGrid: any;
291
- NGi: any;
292
- NEmpty: any;
293
- 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<{}>>, {}>;
294
- SearchMultiple: import("vue").DefineComponent<{
295
- treeData: {
296
- type: import("vue").PropType<any[]>;
297
- default: () => never[];
298
- };
299
- checkedKeys: {
300
- type: import("vue").PropType<(string | number)[]>;
301
- default: () => never[];
302
- };
303
- }, {
304
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
305
- treeData: {
306
- type: import("vue").PropType<any[]>;
307
- default: () => never[];
308
- };
309
- checkedKeys: {
310
- type: import("vue").PropType<(string | number)[]>;
311
- default: () => never[];
312
- };
313
- }>> & {
314
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
315
- }>>;
316
- emit: (event: "notifyCheck", ...args: any[]) => void;
317
- optionsRef: import("vue").ComputedRef<any[]>;
318
- list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
319
- containerProps: {
320
- ref: import("vue").Ref<any>;
321
- onScroll: () => void;
322
- style: Partial<CSSStyleDeclaration>;
323
- };
324
- wrapperProps: import("vue").ComputedRef<{
325
- style: {
326
- width: string;
327
- height: string;
328
- marginTop: string;
329
- };
330
- }>;
331
- containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
332
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
333
- showSelectKeys: import("vue").Ref<(string | number)[]>;
334
- checkedChange: (checkList: (string | number)[], meta: {
335
- actionType: "check" | "uncheck";
336
- value: string | number;
337
- }) => void;
338
- handleCheckKey: (baseKeys: (string | number)[], currentTree: {
339
- [key: string]: any;
340
- key: string | number;
341
- children: any[];
342
- parentNode: any;
343
- } | null, value: string | number) => false | undefined;
344
- findParent: (baseKeys: (string | number)[], currentTree: {
345
- [key: string]: any;
346
- key: string | number;
347
- children: any[];
348
- parentNode: any;
349
- }) => false | undefined;
350
- handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
351
- [key: string]: any;
352
- key: string | number;
353
- children: any[];
354
- parentNode: any;
355
- }, value: string | number) => false | undefined;
356
- findChild: (baseKeys: (string | number)[], children: {
190
+ switchTypeProps: {
191
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
192
+ default: () => never[];
193
+ };
194
+ switchTypeData: {
195
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
196
+ default: () => {};
197
+ };
198
+ tagProps: {
199
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
200
+ default: () => {};
201
+ };
202
+ }>> & {
203
+ onCheck?: ((...args: any[]) => any) | undefined;
204
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
205
+ }>>;
206
+ __emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
207
+ selectPersonRef: import("vue").Ref<any>;
208
+ isComponent: import("vue").ComputedRef<import("vue").DefineComponent<{
209
+ defaultList: {
210
+ type: import("vue").PropType<((string | number) | {
211
+ [key: string]: any;
212
+ key: string | number;
213
+ })[]>;
214
+ default: () => never[];
215
+ };
216
+ data: {
217
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
218
+ default: () => never[];
219
+ };
220
+ searchPlaceholder: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ };
224
+ searchButtonText: {
225
+ type: StringConstructor;
226
+ default: string;
227
+ };
228
+ wordbook: {
229
+ type: import("vue").PropType<{
230
+ [key: string]: any;
231
+ parent_id_obj: string;
232
+ parent_name_obj: string;
233
+ user_count_obj?: string | undefined;
234
+ filter_key?: string | undefined;
235
+ }>;
236
+ default: () => {};
237
+ };
238
+ wordbookChild: {
239
+ type: import("vue").PropType<{
240
+ user_id_obj: string;
241
+ user_name_obj: string;
242
+ user_expand_keys?: string[] | undefined;
243
+ }>;
244
+ default: () => {};
245
+ };
246
+ showCount: {
247
+ type: BooleanConstructor;
248
+ default: boolean;
249
+ };
250
+ showClear: {
251
+ type: BooleanConstructor;
252
+ default: boolean;
253
+ };
254
+ multiple: {
255
+ type: BooleanConstructor;
256
+ default: boolean;
257
+ };
258
+ searchInner: {
259
+ type: BooleanConstructor;
260
+ default: boolean;
261
+ };
262
+ searchFilter: {
263
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
264
+ default: () => {};
265
+ };
266
+ treeSetting: {
267
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject>;
268
+ default: () => {};
269
+ };
270
+ queryLoadChildData: {
271
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
272
+ default: undefined;
273
+ };
274
+ queryTreeSearch: {
275
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
276
+ default: () => Promise<never[]>;
277
+ };
278
+ switchTypeProps: {
279
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
280
+ default: () => never[];
281
+ };
282
+ switchTypeData: {
283
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
284
+ default: () => {};
285
+ };
286
+ tagProps: {
287
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
288
+ default: () => {};
289
+ };
290
+ }, {
291
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
292
+ defaultList: {
293
+ type: import("vue").PropType<((string | number) | {
294
+ [key: string]: any;
295
+ key: string | number;
296
+ })[]>;
297
+ default: () => never[];
298
+ };
299
+ data: {
300
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
301
+ default: () => never[];
302
+ };
303
+ searchPlaceholder: {
304
+ type: StringConstructor;
305
+ default: string;
306
+ };
307
+ searchButtonText: {
308
+ type: StringConstructor;
309
+ default: string;
310
+ };
311
+ wordbook: {
312
+ type: import("vue").PropType<{
313
+ [key: string]: any;
314
+ parent_id_obj: string;
315
+ parent_name_obj: string;
316
+ user_count_obj?: string | undefined;
317
+ filter_key?: string | undefined;
318
+ }>;
319
+ default: () => {};
320
+ };
321
+ wordbookChild: {
322
+ type: import("vue").PropType<{
323
+ user_id_obj: string;
324
+ user_name_obj: string;
325
+ user_expand_keys?: string[] | undefined;
326
+ }>;
327
+ default: () => {};
328
+ };
329
+ showCount: {
330
+ type: BooleanConstructor;
331
+ default: boolean;
332
+ };
333
+ showClear: {
334
+ type: BooleanConstructor;
335
+ default: boolean;
336
+ };
337
+ multiple: {
338
+ type: BooleanConstructor;
339
+ default: boolean;
340
+ };
341
+ searchInner: {
342
+ type: BooleanConstructor;
343
+ default: boolean;
344
+ };
345
+ searchFilter: {
346
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
347
+ default: () => {};
348
+ };
349
+ treeSetting: {
350
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject>;
351
+ default: () => {};
352
+ };
353
+ queryLoadChildData: {
354
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
355
+ default: undefined;
356
+ };
357
+ queryTreeSearch: {
358
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
359
+ default: () => Promise<never[]>;
360
+ };
361
+ switchTypeProps: {
362
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
363
+ default: () => never[];
364
+ };
365
+ switchTypeData: {
366
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
367
+ default: () => {};
368
+ };
369
+ tagProps: {
370
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
371
+ default: () => {};
372
+ };
373
+ }>> & {}>>;
374
+ emit: any;
375
+ keyword: import("vue").Ref<string>;
376
+ checkedAll: import("vue").Ref<boolean>;
377
+ checkedKeys: import("vue").Ref<(string | number)[]>;
378
+ expandedKeys: import("vue").Ref<(string | number)[]>;
379
+ treeData: import("vue").Ref<{
380
+ [x: string]: unknown;
381
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
382
+ label?: string | undefined;
383
+ checkboxDisabled?: boolean | undefined;
384
+ disabled?: boolean | undefined;
385
+ isLeaf?: boolean | undefined;
386
+ children?: any[] | undefined;
387
+ prefix?: (() => import("vue").VNodeChild) | undefined;
388
+ suffix?: (() => import("vue").VNodeChild) | undefined;
389
+ }[]>;
390
+ isSearch: import("vue").Ref<boolean>;
391
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
392
+ curSelectKey: any;
393
+ treeDataMiddle: any;
394
+ checkedTagsMiddle: import("vue").Ref<any[]>;
395
+ allCheckedKeysMiddle: any;
396
+ isSearchFilter: import("vue").ComputedRef<boolean>;
397
+ keyStr: import("vue").ComputedRef<string | number>;
398
+ onHandleLabelChange: (item: any) => void;
399
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
400
+ addTagToTemp: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
401
+ init: () => void;
402
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
403
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
404
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
405
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
406
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
407
+ renderLabel: ({ option }: {
408
+ option: import("naive-ui").TreeOption;
409
+ }) => JSX.Element;
410
+ getLabelName: (curProps: any, option: import("naive-ui").TreeOption) => {};
411
+ loopTrees: (treeObjs: any) => any;
412
+ transformData: (key: string, trees: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => import("naive-ui").TreeOption[];
413
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
414
+ searchSetting: () => string;
415
+ onSearch: () => Promise<void>;
416
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
417
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
418
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
419
+ checkedAllChange: (checked: boolean) => void;
420
+ updateTreeChecked: (keys: (string | number)[]) => void;
421
+ setCheckedAll: () => void;
422
+ clearAll: () => void;
423
+ closeTag: (tag: {
424
+ [key: string]: any;
425
+ key: string | number;
426
+ }) => void;
427
+ notifySearchClear: () => void;
428
+ getCheckWithLevel: () => any[];
429
+ NButton: any;
430
+ NInput: any;
431
+ NInputGroup: any;
432
+ NCheckbox: any;
433
+ NTree: any;
434
+ NTag: any;
435
+ NIcon: any;
436
+ NSpace: any;
437
+ NGrid: any;
438
+ NGi: any;
439
+ NEmpty: any;
440
+ 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<{}>>, {}>;
441
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
442
+ defaultList: {
443
+ type: import("vue").PropType<((string | number) | {
444
+ [key: string]: any;
445
+ key: string | number;
446
+ })[]>;
447
+ default: () => never[];
448
+ };
449
+ data: {
450
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
451
+ default: () => never[];
452
+ };
453
+ searchPlaceholder: {
454
+ type: StringConstructor;
455
+ default: string;
456
+ };
457
+ searchButtonText: {
458
+ type: StringConstructor;
459
+ default: string;
460
+ };
461
+ wordbook: {
462
+ type: import("vue").PropType<{
463
+ [key: string]: any;
464
+ parent_id_obj: string;
465
+ parent_name_obj: string;
466
+ user_count_obj?: string | undefined;
467
+ filter_key?: string | undefined;
468
+ }>;
469
+ default: () => {};
470
+ };
471
+ wordbookChild: {
472
+ type: import("vue").PropType<{
473
+ user_id_obj: string;
474
+ user_name_obj: string;
475
+ user_expand_keys?: string[] | undefined;
476
+ }>;
477
+ default: () => {};
478
+ };
479
+ showCount: {
480
+ type: BooleanConstructor;
481
+ default: boolean;
482
+ };
483
+ showClear: {
484
+ type: BooleanConstructor;
485
+ default: boolean;
486
+ };
487
+ multiple: {
488
+ type: BooleanConstructor;
489
+ default: boolean;
490
+ };
491
+ searchInner: {
492
+ type: BooleanConstructor;
493
+ default: boolean;
494
+ };
495
+ searchFilter: {
496
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
497
+ default: () => {};
498
+ };
499
+ treeSetting: {
500
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject>;
501
+ default: () => {};
502
+ };
503
+ queryLoadChildData: {
504
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
505
+ default: undefined;
506
+ };
507
+ queryTreeSearch: {
508
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
509
+ default: () => Promise<never[]>;
510
+ };
511
+ switchTypeProps: {
512
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
513
+ default: () => never[];
514
+ };
515
+ switchTypeData: {
516
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
517
+ default: () => {};
518
+ };
519
+ tagProps: {
520
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
521
+ default: () => {};
522
+ };
523
+ }>>, {
524
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[];
525
+ defaultList: ((string | number) | {
526
+ [key: string]: any;
527
+ key: string | number;
528
+ })[];
529
+ searchPlaceholder: string;
530
+ searchButtonText: string;
531
+ wordbook: {
532
+ [key: string]: any;
533
+ parent_id_obj: string;
534
+ parent_name_obj: string;
535
+ user_count_obj?: string | undefined;
536
+ filter_key?: string | undefined;
537
+ };
538
+ wordbookChild: {
539
+ user_id_obj: string;
540
+ user_name_obj: string;
541
+ user_expand_keys?: string[] | undefined;
542
+ };
543
+ showCount: boolean;
544
+ showClear: boolean;
545
+ multiple: boolean;
546
+ searchInner: boolean;
547
+ searchFilter: import("../../shared/types").AnyObject;
548
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject;
549
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
550
+ queryTreeSearch: (keyWork: string) => Promise<import("../../shared/types").AnyObject[]>;
551
+ switchTypeProps: import("../../shared/types").AnyObject[];
552
+ switchTypeData: import("../../shared/types").AnyObject;
553
+ tagProps: import("../../shared/types").AnyObject;
554
+ }> | import("vue").DefineComponent<{
555
+ defaultList: {
556
+ type: import("vue").PropType<((string | number) | {
557
+ [key: string]: any;
558
+ key: string | number;
559
+ })[]>;
560
+ default: () => never[];
561
+ };
562
+ data: {
563
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
564
+ default: () => never[];
565
+ };
566
+ searchPlaceholder: {
567
+ type: StringConstructor;
568
+ default: string;
569
+ };
570
+ searchButtonText: {
571
+ type: StringConstructor;
572
+ default: string;
573
+ };
574
+ wordbook: {
575
+ type: import("vue").PropType<{
576
+ [key: string]: any;
577
+ parent_id_obj: string;
578
+ parent_name_obj: string;
579
+ user_count_obj?: string | undefined;
580
+ filter_key?: string | undefined;
581
+ }>;
582
+ default: () => {};
583
+ };
584
+ wordbookChild: {
585
+ type: import("vue").PropType<{
586
+ user_id_obj: string;
587
+ user_name_obj: string;
588
+ user_expand_keys?: string[] | undefined;
589
+ }>;
590
+ default: () => {};
591
+ };
592
+ showCount: {
593
+ type: BooleanConstructor;
594
+ default: boolean;
595
+ };
596
+ showClear: {
597
+ type: BooleanConstructor;
598
+ default: boolean;
599
+ };
600
+ multiple: {
601
+ type: BooleanConstructor;
602
+ default: boolean;
603
+ };
604
+ searchInner: {
605
+ type: BooleanConstructor;
606
+ default: boolean;
607
+ };
608
+ searchFilter: {
609
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
610
+ default: () => {};
611
+ };
612
+ treeSetting: {
613
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject>;
614
+ default: () => {};
615
+ };
616
+ queryLoadChildData: {
617
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
618
+ default: undefined;
619
+ };
620
+ queryTreeSearch: {
621
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
622
+ default: () => Promise<never[]>;
623
+ };
624
+ showSelectType: {
625
+ type: BooleanConstructor;
626
+ default: boolean;
627
+ };
628
+ roleData: {
629
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
630
+ default: () => never[];
631
+ };
632
+ roleFields: {
633
+ type: ObjectConstructor;
634
+ default: () => {
635
+ label: string;
636
+ key: string;
637
+ children: string;
638
+ };
639
+ };
640
+ }, {
641
+ searchFilterBase: {
642
+ isOpen: boolean;
643
+ multiple: boolean;
644
+ customTitles: string[];
645
+ itemHeight: number;
646
+ };
647
+ labelList: {
648
+ key: string;
649
+ label: string;
650
+ }[];
651
+ labelListName: {
652
+ dept: string;
653
+ role: string;
654
+ };
655
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
656
+ defaultList: {
657
+ type: import("vue").PropType<((string | number) | {
658
+ [key: string]: any;
659
+ key: string | number;
660
+ })[]>;
661
+ default: () => never[];
662
+ };
663
+ data: {
664
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
665
+ default: () => never[];
666
+ };
667
+ searchPlaceholder: {
668
+ type: StringConstructor;
669
+ default: string;
670
+ };
671
+ searchButtonText: {
672
+ type: StringConstructor;
673
+ default: string;
674
+ };
675
+ wordbook: {
676
+ type: import("vue").PropType<{
677
+ [key: string]: any;
678
+ parent_id_obj: string;
679
+ parent_name_obj: string;
680
+ user_count_obj?: string | undefined;
681
+ filter_key?: string | undefined;
682
+ }>;
683
+ default: () => {};
684
+ };
685
+ wordbookChild: {
686
+ type: import("vue").PropType<{
687
+ user_id_obj: string;
688
+ user_name_obj: string;
689
+ user_expand_keys?: string[] | undefined;
690
+ }>;
691
+ default: () => {};
692
+ };
693
+ showCount: {
694
+ type: BooleanConstructor;
695
+ default: boolean;
696
+ };
697
+ showClear: {
698
+ type: BooleanConstructor;
699
+ default: boolean;
700
+ };
701
+ multiple: {
702
+ type: BooleanConstructor;
703
+ default: boolean;
704
+ };
705
+ searchInner: {
706
+ type: BooleanConstructor;
707
+ default: boolean;
708
+ };
709
+ searchFilter: {
710
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
711
+ default: () => {};
712
+ };
713
+ treeSetting: {
714
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject>;
715
+ default: () => {};
716
+ };
717
+ queryLoadChildData: {
718
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
719
+ default: undefined;
720
+ };
721
+ queryTreeSearch: {
722
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
723
+ default: () => Promise<never[]>;
724
+ };
725
+ showSelectType: {
726
+ type: BooleanConstructor;
727
+ default: boolean;
728
+ };
729
+ roleData: {
730
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
731
+ default: () => never[];
732
+ };
733
+ roleFields: {
734
+ type: ObjectConstructor;
735
+ default: () => {
736
+ label: string;
737
+ key: string;
738
+ children: string;
739
+ };
740
+ };
741
+ }>> & {}>>;
742
+ emit: any;
743
+ keyword: import("vue").Ref<string>;
744
+ checkedAll: import("vue").Ref<boolean>;
745
+ checkedKeys: import("vue").Ref<(string | number)[]>;
746
+ expandedKeys: import("vue").Ref<(string | number)[]>;
747
+ treeData: import("vue").Ref<{
748
+ [x: string]: unknown;
749
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
750
+ label?: string | undefined;
751
+ checkboxDisabled?: boolean | undefined;
752
+ disabled?: boolean | undefined;
753
+ isLeaf?: boolean | undefined;
754
+ children?: any[] | undefined;
755
+ prefix?: (() => import("vue").VNodeChild) | undefined;
756
+ suffix?: (() => import("vue").VNodeChild) | undefined;
757
+ }[]>;
758
+ tagData: import("vue").Ref<{
759
+ [x: string]: any;
760
+ key: string | number;
761
+ }[]>;
762
+ initTagData: import("vue").Ref<{
763
+ [x: string]: any;
764
+ key: string | number;
765
+ }[]>;
766
+ isSearch: import("vue").Ref<boolean>;
767
+ tempData: import("naive-ui").TreeOption[];
768
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
769
+ isRemote: import("vue").ComputedRef<boolean>;
770
+ checkStrategyResult: import("vue").ComputedRef<any>;
771
+ isSearchFilter: import("vue").ComputedRef<boolean>;
772
+ curSelectKey: import("vue").Ref<string>;
773
+ mergeSearchFilter: import("vue").ComputedRef<{
774
+ isOpen: boolean;
775
+ multiple: boolean;
776
+ customTitles: string[];
777
+ itemHeight: number;
778
+ }>;
779
+ wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
780
+ caculateTagData: import("vue").ComputedRef<any>;
781
+ treeDataMiddle: any;
782
+ checkedKeysMiddle: any;
783
+ checkedTagsMiddle: any;
784
+ allCheckedKeysMiddle: any;
785
+ attrType: import("vue").ComputedRef<any>;
786
+ keyStr: import("vue").ComputedRef<string>;
787
+ getTreeDataMiddleData: () => void;
788
+ getDeptData: (list: any[], cb?: any) => any[];
789
+ getRoleData: (list: any[], cb?: any) => any[];
790
+ onHandleLabelChange: (item: any) => void;
791
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
792
+ uniqArrObj: (arr: any[], name: string) => any;
793
+ init: () => void;
794
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
795
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
796
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
797
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
798
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
799
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
800
+ renderLabel: ({ option }: {
801
+ option: import("naive-ui").TreeOption;
802
+ }) => JSX.Element;
803
+ getLabelName: (option: import("naive-ui").TreeOption) => {};
804
+ transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
805
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
806
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
807
+ searchSetting: () => string;
808
+ onSearch: () => Promise<void>;
809
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
810
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
811
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
812
+ checkedAllChange: (checked: boolean) => void;
813
+ uniq: (arr: {
814
+ [key: string]: any;
815
+ key: string | number;
816
+ }[]) => {
817
+ [key: string]: any;
818
+ key: string | number;
819
+ }[];
820
+ setTagData: (tree: import("naive-ui").TreeOption[]) => void;
821
+ updateTreeChecked: (keys: (string | number)[]) => void;
822
+ setCheckedAll: () => void;
823
+ clearAll: () => void;
824
+ closeTag: (tag: {
825
+ [key: string]: any;
826
+ key: string | number;
827
+ }) => void;
828
+ notifyCheck: (keys: (string | number)[]) => void;
829
+ notifySearchClear: () => void;
830
+ getCheckWithLevel: () => any;
831
+ NButton: any;
832
+ NInput: any;
833
+ NInputGroup: any;
834
+ NCheckbox: any;
835
+ NTree: any;
836
+ NTag: any;
837
+ NIcon: any;
838
+ NSpace: any;
839
+ NGrid: any;
840
+ NGi: any;
841
+ NEmpty: any;
842
+ 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<{}>>, {}>;
843
+ SearchMultiple: import("vue").DefineComponent<{
844
+ treeData: {
845
+ type: import("vue").PropType<any[]>;
846
+ default: () => never[];
847
+ };
848
+ checkedKeys: {
849
+ type: import("vue").PropType<(string | number)[]>;
850
+ default: () => never[];
851
+ };
852
+ }, {
853
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
854
+ treeData: {
855
+ type: import("vue").PropType<any[]>;
856
+ default: () => never[];
857
+ };
858
+ checkedKeys: {
859
+ type: import("vue").PropType<(string | number)[]>;
860
+ default: () => never[];
861
+ };
862
+ }>> & {
863
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
864
+ }>>;
865
+ emit: (event: "notifyCheck", ...args: any[]) => void;
866
+ optionsRef: import("vue").ComputedRef<any[]>;
867
+ list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
868
+ containerProps: {
869
+ ref: import("vue").Ref<any>;
870
+ onScroll: () => void;
871
+ style: Partial<CSSStyleDeclaration>;
872
+ };
873
+ wrapperProps: import("vue").ComputedRef<{
874
+ style: {
875
+ width: string;
876
+ height: string;
877
+ marginTop: string;
878
+ };
879
+ }>;
880
+ containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
881
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
882
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
883
+ checkedChange: (checkList: (string | number)[], meta: {
884
+ actionType: "check" | "uncheck";
885
+ value: string | number;
886
+ }) => void;
887
+ handleCheckKey: (baseKeys: (string | number)[], currentTree: {
888
+ [key: string]: any;
889
+ key: string | number;
890
+ children: any[];
891
+ parentNode: any;
892
+ } | null, value: string | number) => false | undefined;
893
+ findParent: (baseKeys: (string | number)[], currentTree: {
894
+ [key: string]: any;
895
+ key: string | number;
896
+ children: any[];
897
+ parentNode: any;
898
+ }) => false | undefined;
899
+ handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
900
+ [key: string]: any;
901
+ key: string | number;
902
+ children: any[];
903
+ parentNode: any;
904
+ }, value: string | number) => false | undefined;
905
+ findChild: (baseKeys: (string | number)[], children: {
906
+ [key: string]: any;
907
+ key: string | number;
908
+ children: any[];
909
+ parentNode: any;
910
+ }[], value: string | number) => false | undefined;
911
+ checkInitTree: (tree: {
912
+ [key: string]: any;
913
+ key: string | number;
914
+ children: any[];
915
+ parentNode: any;
916
+ }, baseKey: string | number) => false | undefined;
917
+ ref: typeof import("vue").ref;
918
+ NCheckboxGroup: any;
919
+ NCheckbox: any;
920
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
921
+ treeData: {
922
+ type: import("vue").PropType<any[]>;
923
+ default: () => never[];
924
+ };
925
+ checkedKeys: {
926
+ type: import("vue").PropType<(string | number)[]>;
927
+ default: () => never[];
928
+ };
929
+ }>> & {
930
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
931
+ }, {
932
+ treeData: any[];
933
+ checkedKeys: (string | number)[];
934
+ }>;
935
+ SearchOrgAndStaff: import("vue").DefineComponent<{
936
+ treeData: {
937
+ type: import("vue").PropType<any[]>;
938
+ default: () => never[];
939
+ };
940
+ checkedKeys: {
941
+ type: import("vue").PropType<(string | number)[]>;
942
+ default: () => never[];
943
+ };
944
+ searchFilter: {
945
+ type: ObjectConstructor;
946
+ default: () => {};
947
+ };
948
+ isMultiple: {
949
+ type: BooleanConstructor;
950
+ default: boolean;
951
+ };
952
+ }, {
953
+ $message: import("naive-ui").MessageApi;
954
+ virtualItemHeight: number;
955
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
956
+ treeData: {
957
+ type: import("vue").PropType<any[]>;
958
+ default: () => never[];
959
+ };
960
+ checkedKeys: {
961
+ type: import("vue").PropType<(string | number)[]>;
962
+ default: () => never[];
963
+ };
964
+ searchFilter: {
965
+ type: ObjectConstructor;
966
+ default: () => {};
967
+ };
968
+ isMultiple: {
969
+ type: BooleanConstructor;
970
+ default: boolean;
971
+ };
972
+ }>> & {
973
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
974
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
975
+ }>>;
976
+ emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
977
+ moduleHeight: import("vue").ComputedRef<any>;
978
+ showNums: import("vue").ComputedRef<number>;
979
+ staffDataRef: import("vue").ComputedRef<any[]>;
980
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
981
+ staffContainerProps: {
982
+ ref: import("vue").Ref<any>;
983
+ onScroll: () => void;
984
+ style: Partial<CSSStyleDeclaration>;
985
+ };
986
+ staffWrapperProps: import("vue").ComputedRef<{
987
+ style: {
988
+ width: string;
989
+ height: string;
990
+ marginTop: string;
991
+ };
992
+ }>;
993
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
994
+ orgDataRef: import("vue").ComputedRef<any[]>;
995
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
996
+ orgContainerProps: {
997
+ ref: import("vue").Ref<any>;
998
+ onScroll: () => void;
999
+ style: Partial<CSSStyleDeclaration>;
1000
+ };
1001
+ orgWrapperProps: import("vue").ComputedRef<{
1002
+ style: {
1003
+ width: string;
1004
+ height: string;
1005
+ marginTop: string;
1006
+ };
1007
+ }>;
1008
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1009
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1010
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1011
+ handleClick: (tree: any) => void;
1012
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
1013
+ [key: string]: any;
1014
+ key: string | number;
1015
+ children: any[];
1016
+ parentNode: any;
1017
+ }, value: string | number) => false | undefined;
1018
+ findParent: (baseKeys: (string | number)[], currentTree: {
1019
+ [key: string]: any;
1020
+ key: string | number;
1021
+ children: any[];
1022
+ parentNode: any;
1023
+ }) => false | undefined;
1024
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
1025
+ [key: string]: any;
1026
+ key: string | number;
1027
+ children: any[];
1028
+ parentNode: any;
1029
+ }, value: string | number) => void;
1030
+ handleFindChildren: (treeList: {
1031
+ [key: string]: any;
1032
+ key: string | number;
1033
+ children: any[];
1034
+ parentNode: any;
1035
+ }[]) => void;
1036
+ checkInitTree: (tree: {
1037
+ [key: string]: any;
1038
+ key: string | number;
1039
+ children: any[];
1040
+ parentNode: any;
1041
+ }, baseKey: string | number) => false | undefined;
1042
+ ref: typeof import("vue").ref;
1043
+ NEmpty: any;
1044
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1045
+ treeData: {
1046
+ type: import("vue").PropType<any[]>;
1047
+ default: () => never[];
1048
+ };
1049
+ checkedKeys: {
1050
+ type: import("vue").PropType<(string | number)[]>;
1051
+ default: () => never[];
1052
+ };
1053
+ searchFilter: {
1054
+ type: ObjectConstructor;
1055
+ default: () => {};
1056
+ };
1057
+ isMultiple: {
1058
+ type: BooleanConstructor;
1059
+ default: boolean;
1060
+ };
1061
+ }>> & {
1062
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1063
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1064
+ }, {
1065
+ searchFilter: Record<string, any>;
1066
+ treeData: any[];
1067
+ checkedKeys: (string | number)[];
1068
+ isMultiple: boolean;
1069
+ }>;
1070
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1071
+ defaultList: {
1072
+ type: import("vue").PropType<((string | number) | {
1073
+ [key: string]: any;
1074
+ key: string | number;
1075
+ })[]>;
1076
+ default: () => never[];
1077
+ };
1078
+ data: {
1079
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
1080
+ default: () => never[];
1081
+ };
1082
+ searchPlaceholder: {
1083
+ type: StringConstructor;
1084
+ default: string;
1085
+ };
1086
+ searchButtonText: {
1087
+ type: StringConstructor;
1088
+ default: string;
1089
+ };
1090
+ wordbook: {
1091
+ type: import("vue").PropType<{
1092
+ [key: string]: any;
1093
+ parent_id_obj: string;
1094
+ parent_name_obj: string;
1095
+ user_count_obj?: string | undefined;
1096
+ filter_key?: string | undefined;
1097
+ }>;
1098
+ default: () => {};
1099
+ };
1100
+ wordbookChild: {
1101
+ type: import("vue").PropType<{
1102
+ user_id_obj: string;
1103
+ user_name_obj: string;
1104
+ user_expand_keys?: string[] | undefined;
1105
+ }>;
1106
+ default: () => {};
1107
+ };
1108
+ showCount: {
1109
+ type: BooleanConstructor;
1110
+ default: boolean;
1111
+ };
1112
+ showClear: {
1113
+ type: BooleanConstructor;
1114
+ default: boolean;
1115
+ };
1116
+ multiple: {
1117
+ type: BooleanConstructor;
1118
+ default: boolean;
1119
+ };
1120
+ searchInner: {
1121
+ type: BooleanConstructor;
1122
+ default: boolean;
1123
+ };
1124
+ searchFilter: {
1125
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1126
+ default: () => {};
1127
+ };
1128
+ treeSetting: {
1129
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject>;
1130
+ default: () => {};
1131
+ };
1132
+ queryLoadChildData: {
1133
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
1134
+ default: undefined;
1135
+ };
1136
+ queryTreeSearch: {
1137
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
1138
+ default: () => Promise<never[]>;
1139
+ };
1140
+ showSelectType: {
1141
+ type: BooleanConstructor;
1142
+ default: boolean;
1143
+ };
1144
+ roleData: {
1145
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
1146
+ default: () => never[];
1147
+ };
1148
+ roleFields: {
1149
+ type: ObjectConstructor;
1150
+ default: () => {
1151
+ label: string;
1152
+ key: string;
1153
+ children: string;
1154
+ };
1155
+ };
1156
+ }>>, {
1157
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[];
1158
+ defaultList: ((string | number) | {
357
1159
  [key: string]: any;
358
1160
  key: string | number;
359
- children: any[];
360
- parentNode: any;
361
- }[], value: string | number) => false | undefined;
362
- checkInitTree: (tree: {
1161
+ })[];
1162
+ searchPlaceholder: string;
1163
+ searchButtonText: string;
1164
+ wordbook: {
363
1165
  [key: string]: any;
364
- key: string | number;
365
- children: any[];
366
- parentNode: any;
367
- }, baseKey: string | number) => false | undefined;
368
- ref: typeof import("vue").ref;
369
- NCheckboxGroup: any;
370
- NCheckbox: any;
371
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
372
- treeData: {
373
- type: import("vue").PropType<any[]>;
374
- default: () => never[];
1166
+ parent_id_obj: string;
1167
+ parent_name_obj: string;
1168
+ user_count_obj?: string | undefined;
1169
+ filter_key?: string | undefined;
375
1170
  };
376
- checkedKeys: {
377
- type: import("vue").PropType<(string | number)[]>;
378
- default: () => never[];
1171
+ wordbookChild: {
1172
+ user_id_obj: string;
1173
+ user_name_obj: string;
1174
+ user_expand_keys?: string[] | undefined;
379
1175
  };
380
- }>> & {
381
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
382
- }, {
383
- treeData: any[];
384
- checkedKeys: (string | number)[];
385
- }>;
386
- SearchOrgAndStaff: import("vue").DefineComponent<{
387
- treeData: {
388
- type: import("vue").PropType<any[]>;
1176
+ showCount: boolean;
1177
+ showClear: boolean;
1178
+ multiple: boolean;
1179
+ searchInner: boolean;
1180
+ searchFilter: import("../../shared/types").AnyObject;
1181
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject;
1182
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
1183
+ queryTreeSearch: (keyWork: string) => Promise<import("../../shared/types").AnyObject[]>;
1184
+ showSelectType: boolean;
1185
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[];
1186
+ roleFields: Record<string, any>;
1187
+ }>>;
1188
+ getProps: import("vue").ComputedRef<Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1189
+ defaultList: {
1190
+ type: import("vue").PropType<((string | number) | {
1191
+ [key: string]: any;
1192
+ key: string | number;
1193
+ })[]>;
389
1194
  default: () => never[];
390
1195
  };
391
- checkedKeys: {
392
- type: import("vue").PropType<(string | number)[]>;
1196
+ data: {
1197
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
393
1198
  default: () => never[];
394
1199
  };
395
- searchFilter: {
396
- type: ObjectConstructor;
1200
+ searchPlaceholder: {
1201
+ type: StringConstructor;
1202
+ default: string;
1203
+ };
1204
+ searchButtonText: {
1205
+ type: StringConstructor;
1206
+ default: string;
1207
+ };
1208
+ wordbook: {
1209
+ type: import("vue").PropType<{
1210
+ [key: string]: any;
1211
+ parent_id_obj: string;
1212
+ parent_name_obj: string;
1213
+ user_count_obj?: string | undefined;
1214
+ filter_key?: string | undefined;
1215
+ }>;
1216
+ default: () => {};
1217
+ };
1218
+ wordbookChild: {
1219
+ type: import("vue").PropType<{
1220
+ user_id_obj: string;
1221
+ user_name_obj: string;
1222
+ user_expand_keys?: string[] | undefined;
1223
+ }>;
397
1224
  default: () => {};
398
1225
  };
399
- isMultiple: {
1226
+ showCount: {
400
1227
  type: BooleanConstructor;
401
1228
  default: boolean;
402
1229
  };
403
- }, {
404
- $message: import("naive-ui").MessageApi;
405
- virtualItemHeight: number;
406
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
407
- treeData: {
408
- type: import("vue").PropType<any[]>;
409
- default: () => never[];
410
- };
411
- checkedKeys: {
412
- type: import("vue").PropType<(string | number)[]>;
413
- default: () => never[];
414
- };
415
- searchFilter: {
416
- type: ObjectConstructor;
417
- default: () => {};
418
- };
419
- isMultiple: {
420
- type: BooleanConstructor;
421
- default: boolean;
422
- };
423
- }>> & {
424
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
425
- onNotifyClear?: ((...args: any[]) => any) | undefined;
426
- }>>;
427
- emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
428
- moduleHeight: import("vue").ComputedRef<any>;
429
- showNums: import("vue").ComputedRef<number>;
430
- staffDataRef: import("vue").ComputedRef<any[]>;
431
- staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
432
- staffContainerProps: {
433
- ref: import("vue").Ref<any>;
434
- onScroll: () => void;
435
- style: Partial<CSSStyleDeclaration>;
436
- };
437
- staffWrapperProps: import("vue").ComputedRef<{
438
- style: {
439
- width: string;
440
- height: string;
441
- marginTop: string;
442
- };
443
- }>;
444
- staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
445
- orgDataRef: import("vue").ComputedRef<any[]>;
446
- orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
447
- orgContainerProps: {
448
- ref: import("vue").Ref<any>;
449
- onScroll: () => void;
450
- style: Partial<CSSStyleDeclaration>;
451
- };
452
- orgWrapperProps: import("vue").ComputedRef<{
453
- style: {
454
- width: string;
455
- height: string;
456
- marginTop: string;
457
- };
458
- }>;
459
- orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
460
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
461
- showSelectKeys: import("vue").Ref<(string | number)[]>;
462
- handleClick: (tree: any) => void;
463
- handleStaffClick: (baseKeys: (string | number)[], currentTree: {
464
- [key: string]: any;
465
- key: string | number;
466
- children: any[];
467
- parentNode: any;
468
- }, value: string | number) => false | undefined;
469
- findParent: (baseKeys: (string | number)[], currentTree: {
470
- [key: string]: any;
471
- key: string | number;
472
- children: any[];
473
- parentNode: any;
474
- }) => false | undefined;
475
- handleOrgClick: (baseKeys: (string | number)[], currentTree: {
476
- [key: string]: any;
477
- key: string | number;
478
- children: any[];
479
- parentNode: any;
480
- }, value: string | number) => void;
481
- handleFindChildren: (treeList: {
482
- [key: string]: any;
483
- key: string | number;
484
- children: any[];
485
- parentNode: any;
486
- }[]) => void;
487
- checkInitTree: (tree: {
488
- [key: string]: any;
489
- key: string | number;
490
- children: any[];
491
- parentNode: any;
492
- }, baseKey: string | number) => false | undefined;
493
- ref: typeof import("vue").ref;
494
- NEmpty: any;
495
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
496
- treeData: {
497
- type: import("vue").PropType<any[]>;
498
- default: () => never[];
1230
+ showClear: {
1231
+ type: BooleanConstructor;
1232
+ default: boolean;
499
1233
  };
500
- checkedKeys: {
501
- type: import("vue").PropType<(string | number)[]>;
502
- default: () => never[];
1234
+ multiple: {
1235
+ type: BooleanConstructor;
1236
+ default: boolean;
1237
+ };
1238
+ searchInner: {
1239
+ type: BooleanConstructor;
1240
+ default: boolean;
503
1241
  };
504
1242
  searchFilter: {
505
- type: ObjectConstructor;
1243
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1244
+ default: () => {};
1245
+ };
1246
+ treeSetting: {
1247
+ type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject>;
506
1248
  default: () => {};
507
1249
  };
508
- isMultiple: {
1250
+ queryLoadChildData: {
1251
+ type: import("vue").PropType<(node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>>;
1252
+ default: undefined;
1253
+ };
1254
+ queryTreeSearch: {
1255
+ type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
1256
+ default: () => Promise<never[]>;
1257
+ };
1258
+ showSelectType: {
509
1259
  type: BooleanConstructor;
510
1260
  default: boolean;
511
1261
  };
1262
+ roleData: {
1263
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[]>;
1264
+ default: () => never[];
1265
+ };
1266
+ roleFields: {
1267
+ type: ObjectConstructor;
1268
+ default: () => {
1269
+ label: string;
1270
+ key: string;
1271
+ children: string;
1272
+ };
1273
+ };
1274
+ switchTypeProps: {
1275
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1276
+ default: () => never[];
1277
+ };
1278
+ switchTypeData: {
1279
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1280
+ default: () => {};
1281
+ };
1282
+ tagProps: {
1283
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1284
+ default: () => {};
1285
+ };
512
1286
  }>> & {
513
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
514
- onNotifyClear?: ((...args: any[]) => any) | undefined;
515
- }, {
516
- searchFilter: Record<string, any>;
517
- treeData: any[];
518
- checkedKeys: (string | number)[];
519
- isMultiple: boolean;
1287
+ onCheck?: ((...args: any[]) => any) | undefined;
1288
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
1289
+ }>> & {
1290
+ [x: string]: unknown;
520
1291
  }>;
1292
+ emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
1293
+ getCheckWithLevel: () => any;
521
1294
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
522
1295
  defaultList: {
523
1296
  type: import("vue").PropType<((string | number) | {
@@ -604,6 +1377,18 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
604
1377
  children: string;
605
1378
  };
606
1379
  };
1380
+ switchTypeProps: {
1381
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1382
+ default: () => never[];
1383
+ };
1384
+ switchTypeData: {
1385
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1386
+ default: () => {};
1387
+ };
1388
+ tagProps: {
1389
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1390
+ default: () => {};
1391
+ };
607
1392
  }>> & {
608
1393
  onCheck?: ((...args: any[]) => any) | undefined;
609
1394
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -638,5 +1423,8 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
638
1423
  showSelectType: boolean;
639
1424
  roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject)[];
640
1425
  roleFields: Record<string, any>;
1426
+ switchTypeProps: import("../../shared/types").AnyObject[];
1427
+ switchTypeData: import("../../shared/types").AnyObject;
1428
+ tagProps: import("../../shared/types").AnyObject;
641
1429
  }>>;
642
1430
  export default SelectPerson;