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
@@ -139,20 +139,21 @@ declare const _default: import("vue").DefineComponent<{
139
139
  children: string;
140
140
  };
141
141
  };
142
- }, {
143
- searchFilterBase: {
144
- isOpen: boolean;
145
- multiple: boolean;
146
- customTitles: string[];
147
- itemHeight: number;
142
+ switchTypeProps: {
143
+ type: PropType<AnyObject[]>;
144
+ default: () => never[];
148
145
  };
149
- labelList: {
150
- key: string;
151
- label: string;
152
- }[];
153
- labelListName: {
154
- dept: string;
155
- role: string;
146
+ switchTypeData: {
147
+ type: PropType<AnyObject>;
148
+ default: () => {};
149
+ };
150
+ tagProps: {
151
+ type: PropType<AnyObject>;
152
+ default: () => {};
153
+ };
154
+ }, {
155
+ $attrs: {
156
+ [x: string]: unknown;
156
157
  };
157
158
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
158
159
  defaultList: {
@@ -240,338 +241,1110 @@ declare const _default: import("vue").DefineComponent<{
240
241
  children: string;
241
242
  };
242
243
  };
243
- }>> & {
244
- onCheck?: ((...args: any[]) => any) | undefined;
245
- onCheckWithLevel?: ((...args: any[]) => any) | undefined;
246
- }>>;
247
- emit: (event: "check" | "checkWithLevel", ...args: any[]) => void;
248
- keyword: import("vue").Ref<string>;
249
- checkedAll: import("vue").Ref<boolean>;
250
- checkedKeys: import("vue").Ref<(string | number)[]>;
251
- expandedKeys: import("vue").Ref<(string | number)[]>;
252
- treeData: import("vue").Ref<{
253
- [x: string]: unknown;
254
- key?: import("naive-ui/es/tree/src/interface").Key | undefined;
255
- label?: string | undefined;
256
- checkboxDisabled?: boolean | undefined;
257
- disabled?: boolean | undefined;
258
- isLeaf?: boolean | undefined;
259
- children?: any[] | undefined;
260
- prefix?: (() => import("vue").VNodeChild) | undefined;
261
- suffix?: (() => import("vue").VNodeChild) | undefined;
262
- }[]>;
263
- tagData: import("vue").Ref<{
264
- [x: string]: any;
265
- key: string | number;
266
- }[]>;
267
- initTagData: import("vue").Ref<{
268
- [x: string]: any;
269
- key: string | number;
270
- }[]>;
271
- isSearch: import("vue").Ref<boolean>;
272
- tempData: import("naive-ui").TreeOption[];
273
- allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
274
- isRemote: import("vue").ComputedRef<boolean>;
275
- checkStrategyResult: import("vue").ComputedRef<any>;
276
- isSearchFilter: import("vue").ComputedRef<boolean>;
277
- curSelectKey: import("vue").Ref<string>;
278
- mergeSearchFilter: import("vue").ComputedRef<{
279
- isOpen: boolean;
280
- multiple: boolean;
281
- customTitles: string[];
282
- itemHeight: number;
283
- }>;
284
- wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
285
- caculateTagData: import("vue").ComputedRef<any>;
286
- treeDataMiddle: any;
287
- checkedKeysMiddle: any;
288
- checkedTagsMiddle: any;
289
- allCheckedKeysMiddle: any;
290
- attrType: import("vue").ComputedRef<any>;
291
- keyStr: import("vue").ComputedRef<string>;
292
- getTreeDataMiddleData: () => void;
293
- getDeptData: (list: any[], cb?: any) => any[];
294
- getRoleData: (list: any[], cb?: any) => any[];
295
- onHandleLabelChange: (item: any) => void;
296
- setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
297
- uniqArrObj: (arr: any[], name: string) => any;
298
- init: () => void;
299
- getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
300
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
301
- setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
302
- setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
303
- queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
304
- setDisabled: (data: import("naive-ui").TreeOption) => void;
305
- renderLabel: ({ option }: {
306
- option: import("naive-ui").TreeOption;
307
- }) => JSX.Element;
308
- getLabelName: (option: import("naive-ui").TreeOption) => {};
309
- transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
310
- calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
311
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
312
- searchSetting: () => string;
313
- onSearch: () => Promise<void>;
314
- setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
315
- setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
316
- setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
317
- checkedAllChange: (checked: boolean) => void;
318
- uniq: (arr: {
319
- [key: string]: any;
320
- key: string | number;
321
- }[]) => {
322
- [key: string]: any;
323
- key: string | number;
324
- }[];
325
- setTagData: (tree: import("naive-ui").TreeOption[]) => void;
326
- updateTreeChecked: (keys: (string | number)[]) => void;
327
- setCheckedAll: () => void;
328
- clearAll: () => void;
329
- closeTag: (tag: {
330
- [key: string]: any;
331
- key: string | number;
332
- }) => void;
333
- notifyCheck: (keys: (string | number)[]) => void;
334
- notifySearchClear: () => void;
335
- getCheckWithLevel: () => any;
336
- NButton: any;
337
- NInput: any;
338
- NInputGroup: any;
339
- NCheckbox: any;
340
- NTree: any;
341
- NTag: any;
342
- NIcon: any;
343
- NSpace: any;
344
- NGrid: any;
345
- NGi: any;
346
- NEmpty: any;
347
- 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<{}>>, {}>;
348
- SearchMultiple: import("vue").DefineComponent<{
349
- treeData: {
350
- type: PropType<any[]>;
351
- default: () => never[];
352
- };
353
- checkedKeys: {
354
- type: PropType<(string | number)[]>;
355
- default: () => never[];
356
- };
357
- }, {
358
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
359
- treeData: {
360
- type: PropType<any[]>;
361
- default: () => never[];
362
- };
363
- checkedKeys: {
364
- type: PropType<(string | number)[]>;
365
- default: () => never[];
366
- };
367
- }>> & {
368
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
369
- }>>;
370
- emit: (event: "notifyCheck", ...args: any[]) => void;
371
- optionsRef: import("vue").ComputedRef<any[]>;
372
- list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
373
- containerProps: {
374
- ref: import("vue").Ref<any>;
375
- onScroll: () => void;
376
- style: Partial<CSSStyleDeclaration>;
377
- };
378
- wrapperProps: import("vue").ComputedRef<{
379
- style: {
380
- width: string;
381
- height: string;
382
- marginTop: string;
383
- };
384
- }>;
385
- containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
386
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
387
- showSelectKeys: import("vue").Ref<(string | number)[]>;
388
- checkedChange: (checkList: (string | number)[], meta: {
389
- actionType: "check" | "uncheck";
390
- value: string | number;
391
- }) => void;
392
- handleCheckKey: (baseKeys: (string | number)[], currentTree: {
393
- [key: string]: any;
394
- key: string | number;
395
- children: any[];
396
- parentNode: any;
397
- } | null, value: string | number) => false | undefined;
398
- findParent: (baseKeys: (string | number)[], currentTree: {
399
- [key: string]: any;
400
- key: string | number;
401
- children: any[];
402
- parentNode: any;
403
- }) => false | undefined;
404
- handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
244
+ switchTypeProps: {
245
+ type: PropType<AnyObject[]>;
246
+ default: () => never[];
247
+ };
248
+ switchTypeData: {
249
+ type: PropType<AnyObject>;
250
+ default: () => {};
251
+ };
252
+ tagProps: {
253
+ type: PropType<AnyObject>;
254
+ default: () => {};
255
+ };
256
+ }>> & {
257
+ onCheck?: ((...args: any[]) => any) | undefined;
258
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
259
+ }>>;
260
+ __emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
261
+ selectPersonRef: import("vue").Ref<any>;
262
+ isComponent: import("vue").ComputedRef<import("vue").DefineComponent<{
263
+ defaultList: {
264
+ type: PropType<((string | number) | {
265
+ [key: string]: any;
266
+ key: string | number;
267
+ })[]>;
268
+ default: () => never[];
269
+ };
270
+ data: {
271
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
272
+ default: () => never[];
273
+ };
274
+ searchPlaceholder: {
275
+ type: StringConstructor;
276
+ default: string;
277
+ };
278
+ searchButtonText: {
279
+ type: StringConstructor;
280
+ default: string;
281
+ };
282
+ wordbook: {
283
+ type: PropType<{
284
+ [key: string]: any;
285
+ parent_id_obj: string;
286
+ parent_name_obj: string;
287
+ user_count_obj?: string | undefined;
288
+ filter_key?: string | undefined;
289
+ }>;
290
+ default: () => {};
291
+ };
292
+ wordbookChild: {
293
+ type: PropType<{
294
+ user_id_obj: string;
295
+ user_name_obj: string;
296
+ user_expand_keys?: string[] | undefined;
297
+ }>;
298
+ default: () => {};
299
+ };
300
+ showCount: {
301
+ type: BooleanConstructor;
302
+ default: boolean;
303
+ };
304
+ showClear: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ multiple: {
309
+ type: BooleanConstructor;
310
+ default: boolean;
311
+ };
312
+ searchInner: {
313
+ type: BooleanConstructor;
314
+ default: boolean;
315
+ };
316
+ searchFilter: {
317
+ type: PropType<AnyObject>;
318
+ default: () => {};
319
+ };
320
+ treeSetting: {
321
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
322
+ default: () => {};
323
+ };
324
+ queryLoadChildData: {
325
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
326
+ default: undefined;
327
+ };
328
+ queryTreeSearch: {
329
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
330
+ default: () => Promise<never[]>;
331
+ };
332
+ switchTypeProps: {
333
+ type: PropType<AnyObject[]>;
334
+ default: () => never[];
335
+ };
336
+ switchTypeData: {
337
+ type: PropType<AnyObject>;
338
+ default: () => {};
339
+ };
340
+ tagProps: {
341
+ type: PropType<AnyObject>;
342
+ default: () => {};
343
+ };
344
+ }, {
345
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
346
+ defaultList: {
347
+ type: PropType<((string | number) | {
348
+ [key: string]: any;
349
+ key: string | number;
350
+ })[]>;
351
+ default: () => never[];
352
+ };
353
+ data: {
354
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
355
+ default: () => never[];
356
+ };
357
+ searchPlaceholder: {
358
+ type: StringConstructor;
359
+ default: string;
360
+ };
361
+ searchButtonText: {
362
+ type: StringConstructor;
363
+ default: string;
364
+ };
365
+ wordbook: {
366
+ type: PropType<{
367
+ [key: string]: any;
368
+ parent_id_obj: string;
369
+ parent_name_obj: string;
370
+ user_count_obj?: string | undefined;
371
+ filter_key?: string | undefined;
372
+ }>;
373
+ default: () => {};
374
+ };
375
+ wordbookChild: {
376
+ type: PropType<{
377
+ user_id_obj: string;
378
+ user_name_obj: string;
379
+ user_expand_keys?: string[] | undefined;
380
+ }>;
381
+ default: () => {};
382
+ };
383
+ showCount: {
384
+ type: BooleanConstructor;
385
+ default: boolean;
386
+ };
387
+ showClear: {
388
+ type: BooleanConstructor;
389
+ default: boolean;
390
+ };
391
+ multiple: {
392
+ type: BooleanConstructor;
393
+ default: boolean;
394
+ };
395
+ searchInner: {
396
+ type: BooleanConstructor;
397
+ default: boolean;
398
+ };
399
+ searchFilter: {
400
+ type: PropType<AnyObject>;
401
+ default: () => {};
402
+ };
403
+ treeSetting: {
404
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
405
+ default: () => {};
406
+ };
407
+ queryLoadChildData: {
408
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
409
+ default: undefined;
410
+ };
411
+ queryTreeSearch: {
412
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
413
+ default: () => Promise<never[]>;
414
+ };
415
+ switchTypeProps: {
416
+ type: PropType<AnyObject[]>;
417
+ default: () => never[];
418
+ };
419
+ switchTypeData: {
420
+ type: PropType<AnyObject>;
421
+ default: () => {};
422
+ };
423
+ tagProps: {
424
+ type: PropType<AnyObject>;
425
+ default: () => {};
426
+ };
427
+ }>> & {}>>;
428
+ emit: any;
429
+ keyword: import("vue").Ref<string>;
430
+ checkedAll: import("vue").Ref<boolean>;
431
+ checkedKeys: import("vue").Ref<(string | number)[]>;
432
+ expandedKeys: import("vue").Ref<(string | number)[]>;
433
+ treeData: import("vue").Ref<{
434
+ [x: string]: unknown;
435
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
436
+ label?: string | undefined;
437
+ checkboxDisabled?: boolean | undefined;
438
+ disabled?: boolean | undefined;
439
+ isLeaf?: boolean | undefined;
440
+ children?: any[] | undefined;
441
+ prefix?: (() => import("vue").VNodeChild) | undefined;
442
+ suffix?: (() => import("vue").VNodeChild) | undefined;
443
+ }[]>;
444
+ isSearch: import("vue").Ref<boolean>;
445
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
446
+ curSelectKey: any;
447
+ treeDataMiddle: any;
448
+ checkedTagsMiddle: import("vue").Ref<any[]>;
449
+ allCheckedKeysMiddle: any;
450
+ isSearchFilter: import("vue").ComputedRef<boolean>;
451
+ keyStr: import("vue").ComputedRef<string | number>;
452
+ onHandleLabelChange: (item: any) => void;
453
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
454
+ addTagToTemp: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
455
+ init: () => void;
456
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
457
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
458
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
459
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
460
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
461
+ renderLabel: ({ option }: {
462
+ option: import("naive-ui").TreeOption;
463
+ }) => JSX.Element;
464
+ getLabelName: (curProps: any, option: import("naive-ui").TreeOption) => {};
465
+ loopTrees: (treeObjs: any) => any;
466
+ transformData: (key: string, trees: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => import("naive-ui").TreeOption[];
467
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
468
+ searchSetting: () => string;
469
+ onSearch: () => Promise<void>;
470
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
471
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
472
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
473
+ checkedAllChange: (checked: boolean) => void;
474
+ updateTreeChecked: (keys: (string | number)[]) => void;
475
+ setCheckedAll: () => void;
476
+ clearAll: () => void;
477
+ closeTag: (tag: {
478
+ [key: string]: any;
479
+ key: string | number;
480
+ }) => void;
481
+ notifySearchClear: () => void;
482
+ getCheckWithLevel: () => any[];
483
+ NButton: any;
484
+ NInput: any;
485
+ NInputGroup: any;
486
+ NCheckbox: any;
487
+ NTree: any;
488
+ NTag: any;
489
+ NIcon: any;
490
+ NSpace: any;
491
+ NGrid: any;
492
+ NGi: any;
493
+ NEmpty: any;
494
+ 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<{}>>, {}>;
495
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
496
+ defaultList: {
497
+ type: PropType<((string | number) | {
498
+ [key: string]: any;
499
+ key: string | number;
500
+ })[]>;
501
+ default: () => never[];
502
+ };
503
+ data: {
504
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
505
+ default: () => never[];
506
+ };
507
+ searchPlaceholder: {
508
+ type: StringConstructor;
509
+ default: string;
510
+ };
511
+ searchButtonText: {
512
+ type: StringConstructor;
513
+ default: string;
514
+ };
515
+ wordbook: {
516
+ type: PropType<{
517
+ [key: string]: any;
518
+ parent_id_obj: string;
519
+ parent_name_obj: string;
520
+ user_count_obj?: string | undefined;
521
+ filter_key?: string | undefined;
522
+ }>;
523
+ default: () => {};
524
+ };
525
+ wordbookChild: {
526
+ type: PropType<{
527
+ user_id_obj: string;
528
+ user_name_obj: string;
529
+ user_expand_keys?: string[] | undefined;
530
+ }>;
531
+ default: () => {};
532
+ };
533
+ showCount: {
534
+ type: BooleanConstructor;
535
+ default: boolean;
536
+ };
537
+ showClear: {
538
+ type: BooleanConstructor;
539
+ default: boolean;
540
+ };
541
+ multiple: {
542
+ type: BooleanConstructor;
543
+ default: boolean;
544
+ };
545
+ searchInner: {
546
+ type: BooleanConstructor;
547
+ default: boolean;
548
+ };
549
+ searchFilter: {
550
+ type: PropType<AnyObject>;
551
+ default: () => {};
552
+ };
553
+ treeSetting: {
554
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
555
+ default: () => {};
556
+ };
557
+ queryLoadChildData: {
558
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
559
+ default: undefined;
560
+ };
561
+ queryTreeSearch: {
562
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
563
+ default: () => Promise<never[]>;
564
+ };
565
+ switchTypeProps: {
566
+ type: PropType<AnyObject[]>;
567
+ default: () => never[];
568
+ };
569
+ switchTypeData: {
570
+ type: PropType<AnyObject>;
571
+ default: () => {};
572
+ };
573
+ tagProps: {
574
+ type: PropType<AnyObject>;
575
+ default: () => {};
576
+ };
577
+ }>>, {
578
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
579
+ defaultList: ((string | number) | {
580
+ [key: string]: any;
581
+ key: string | number;
582
+ })[];
583
+ searchPlaceholder: string;
584
+ searchButtonText: string;
585
+ wordbook: {
586
+ [key: string]: any;
587
+ parent_id_obj: string;
588
+ parent_name_obj: string;
589
+ user_count_obj?: string | undefined;
590
+ filter_key?: string | undefined;
591
+ };
592
+ wordbookChild: {
593
+ user_id_obj: string;
594
+ user_name_obj: string;
595
+ user_expand_keys?: string[] | undefined;
596
+ };
597
+ showCount: boolean;
598
+ showClear: boolean;
599
+ multiple: boolean;
600
+ searchInner: boolean;
601
+ searchFilter: AnyObject;
602
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
603
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
604
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
605
+ switchTypeProps: AnyObject[];
606
+ switchTypeData: AnyObject;
607
+ tagProps: AnyObject;
608
+ }> | import("vue").DefineComponent<{
609
+ defaultList: {
610
+ type: PropType<((string | number) | {
611
+ [key: string]: any;
612
+ key: string | number;
613
+ })[]>;
614
+ default: () => never[];
615
+ };
616
+ data: {
617
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
618
+ default: () => never[];
619
+ };
620
+ searchPlaceholder: {
621
+ type: StringConstructor;
622
+ default: string;
623
+ };
624
+ searchButtonText: {
625
+ type: StringConstructor;
626
+ default: string;
627
+ };
628
+ wordbook: {
629
+ type: PropType<{
630
+ [key: string]: any;
631
+ parent_id_obj: string;
632
+ parent_name_obj: string;
633
+ user_count_obj?: string | undefined;
634
+ filter_key?: string | undefined;
635
+ }>;
636
+ default: () => {};
637
+ };
638
+ wordbookChild: {
639
+ type: PropType<{
640
+ user_id_obj: string;
641
+ user_name_obj: string;
642
+ user_expand_keys?: string[] | undefined;
643
+ }>;
644
+ default: () => {};
645
+ };
646
+ showCount: {
647
+ type: BooleanConstructor;
648
+ default: boolean;
649
+ };
650
+ showClear: {
651
+ type: BooleanConstructor;
652
+ default: boolean;
653
+ };
654
+ multiple: {
655
+ type: BooleanConstructor;
656
+ default: boolean;
657
+ };
658
+ searchInner: {
659
+ type: BooleanConstructor;
660
+ default: boolean;
661
+ };
662
+ searchFilter: {
663
+ type: PropType<AnyObject>;
664
+ default: () => {};
665
+ };
666
+ treeSetting: {
667
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
668
+ default: () => {};
669
+ };
670
+ queryLoadChildData: {
671
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
672
+ default: undefined;
673
+ };
674
+ queryTreeSearch: {
675
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
676
+ default: () => Promise<never[]>;
677
+ };
678
+ showSelectType: {
679
+ type: BooleanConstructor;
680
+ default: boolean;
681
+ };
682
+ roleData: {
683
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
684
+ default: () => never[];
685
+ };
686
+ roleFields: {
687
+ type: ObjectConstructor;
688
+ default: () => {
689
+ label: string;
690
+ key: string;
691
+ children: string;
692
+ };
693
+ };
694
+ }, {
695
+ searchFilterBase: {
696
+ isOpen: boolean;
697
+ multiple: boolean;
698
+ customTitles: string[];
699
+ itemHeight: number;
700
+ };
701
+ labelList: {
702
+ key: string;
703
+ label: string;
704
+ }[];
705
+ labelListName: {
706
+ dept: string;
707
+ role: string;
708
+ };
709
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
710
+ defaultList: {
711
+ type: PropType<((string | number) | {
712
+ [key: string]: any;
713
+ key: string | number;
714
+ })[]>;
715
+ default: () => never[];
716
+ };
717
+ data: {
718
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
719
+ default: () => never[];
720
+ };
721
+ searchPlaceholder: {
722
+ type: StringConstructor;
723
+ default: string;
724
+ };
725
+ searchButtonText: {
726
+ type: StringConstructor;
727
+ default: string;
728
+ };
729
+ wordbook: {
730
+ type: PropType<{
731
+ [key: string]: any;
732
+ parent_id_obj: string;
733
+ parent_name_obj: string;
734
+ user_count_obj?: string | undefined;
735
+ filter_key?: string | undefined;
736
+ }>;
737
+ default: () => {};
738
+ };
739
+ wordbookChild: {
740
+ type: PropType<{
741
+ user_id_obj: string;
742
+ user_name_obj: string;
743
+ user_expand_keys?: string[] | undefined;
744
+ }>;
745
+ default: () => {};
746
+ };
747
+ showCount: {
748
+ type: BooleanConstructor;
749
+ default: boolean;
750
+ };
751
+ showClear: {
752
+ type: BooleanConstructor;
753
+ default: boolean;
754
+ };
755
+ multiple: {
756
+ type: BooleanConstructor;
757
+ default: boolean;
758
+ };
759
+ searchInner: {
760
+ type: BooleanConstructor;
761
+ default: boolean;
762
+ };
763
+ searchFilter: {
764
+ type: PropType<AnyObject>;
765
+ default: () => {};
766
+ };
767
+ treeSetting: {
768
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
769
+ default: () => {};
770
+ };
771
+ queryLoadChildData: {
772
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
773
+ default: undefined;
774
+ };
775
+ queryTreeSearch: {
776
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
777
+ default: () => Promise<never[]>;
778
+ };
779
+ showSelectType: {
780
+ type: BooleanConstructor;
781
+ default: boolean;
782
+ };
783
+ roleData: {
784
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
785
+ default: () => never[];
786
+ };
787
+ roleFields: {
788
+ type: ObjectConstructor;
789
+ default: () => {
790
+ label: string;
791
+ key: string;
792
+ children: string;
793
+ };
794
+ };
795
+ }>> & {}>>;
796
+ emit: any;
797
+ keyword: import("vue").Ref<string>;
798
+ checkedAll: import("vue").Ref<boolean>;
799
+ checkedKeys: import("vue").Ref<(string | number)[]>;
800
+ expandedKeys: import("vue").Ref<(string | number)[]>;
801
+ treeData: import("vue").Ref<{
802
+ [x: string]: unknown;
803
+ key?: import("naive-ui/es/tree/src/interface").Key | undefined;
804
+ label?: string | undefined;
805
+ checkboxDisabled?: boolean | undefined;
806
+ disabled?: boolean | undefined;
807
+ isLeaf?: boolean | undefined;
808
+ children?: any[] | undefined;
809
+ prefix?: (() => import("vue").VNodeChild) | undefined;
810
+ suffix?: (() => import("vue").VNodeChild) | undefined;
811
+ }[]>;
812
+ tagData: import("vue").Ref<{
813
+ [x: string]: any;
814
+ key: string | number;
815
+ }[]>;
816
+ initTagData: import("vue").Ref<{
817
+ [x: string]: any;
818
+ key: string | number;
819
+ }[]>;
820
+ isSearch: import("vue").Ref<boolean>;
821
+ tempData: import("naive-ui").TreeOption[];
822
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
823
+ isRemote: import("vue").ComputedRef<boolean>;
824
+ checkStrategyResult: import("vue").ComputedRef<any>;
825
+ isSearchFilter: import("vue").ComputedRef<boolean>;
826
+ curSelectKey: import("vue").Ref<string>;
827
+ mergeSearchFilter: import("vue").ComputedRef<{
828
+ isOpen: boolean;
829
+ multiple: boolean;
830
+ customTitles: string[];
831
+ itemHeight: number;
832
+ }>;
833
+ wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
834
+ caculateTagData: import("vue").ComputedRef<any>;
835
+ treeDataMiddle: any;
836
+ checkedKeysMiddle: any;
837
+ checkedTagsMiddle: any;
838
+ allCheckedKeysMiddle: any;
839
+ attrType: import("vue").ComputedRef<any>;
840
+ keyStr: import("vue").ComputedRef<string>;
841
+ getTreeDataMiddleData: () => void;
842
+ getDeptData: (list: any[], cb?: any) => any[];
843
+ getRoleData: (list: any[], cb?: any) => any[];
844
+ onHandleLabelChange: (item: any) => void;
845
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
846
+ uniqArrObj: (arr: any[], name: string) => any;
847
+ init: () => void;
848
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
849
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
850
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
851
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
852
+ queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
853
+ setDisabled: (data: import("naive-ui").TreeOption) => void;
854
+ renderLabel: ({ option }: {
855
+ option: import("naive-ui").TreeOption;
856
+ }) => JSX.Element;
857
+ getLabelName: (option: import("naive-ui").TreeOption) => {};
858
+ transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
859
+ calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
860
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
861
+ searchSetting: () => string;
862
+ onSearch: () => Promise<void>;
863
+ setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
864
+ setCheckdWithChild: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
865
+ setCheckdWithParent: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
866
+ checkedAllChange: (checked: boolean) => void;
867
+ uniq: (arr: {
868
+ [key: string]: any;
869
+ key: string | number;
870
+ }[]) => {
871
+ [key: string]: any;
872
+ key: string | number;
873
+ }[];
874
+ setTagData: (tree: import("naive-ui").TreeOption[]) => void;
875
+ updateTreeChecked: (keys: (string | number)[]) => void;
876
+ setCheckedAll: () => void;
877
+ clearAll: () => void;
878
+ closeTag: (tag: {
879
+ [key: string]: any;
880
+ key: string | number;
881
+ }) => void;
882
+ notifyCheck: (keys: (string | number)[]) => void;
883
+ notifySearchClear: () => void;
884
+ getCheckWithLevel: () => any;
885
+ NButton: any;
886
+ NInput: any;
887
+ NInputGroup: any;
888
+ NCheckbox: any;
889
+ NTree: any;
890
+ NTag: any;
891
+ NIcon: any;
892
+ NSpace: any;
893
+ NGrid: any;
894
+ NGi: any;
895
+ NEmpty: any;
896
+ 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<{}>>, {}>;
897
+ SearchMultiple: import("vue").DefineComponent<{
898
+ treeData: {
899
+ type: PropType<any[]>;
900
+ default: () => never[];
901
+ };
902
+ checkedKeys: {
903
+ type: PropType<(string | number)[]>;
904
+ default: () => never[];
905
+ };
906
+ }, {
907
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
908
+ treeData: {
909
+ type: PropType<any[]>;
910
+ default: () => never[];
911
+ };
912
+ checkedKeys: {
913
+ type: PropType<(string | number)[]>;
914
+ default: () => never[];
915
+ };
916
+ }>> & {
917
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
918
+ }>>;
919
+ emit: (event: "notifyCheck", ...args: any[]) => void;
920
+ optionsRef: import("vue").ComputedRef<any[]>;
921
+ list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
922
+ containerProps: {
923
+ ref: import("vue").Ref<any>;
924
+ onScroll: () => void;
925
+ style: Partial<CSSStyleDeclaration>;
926
+ };
927
+ wrapperProps: import("vue").ComputedRef<{
928
+ style: {
929
+ width: string;
930
+ height: string;
931
+ marginTop: string;
932
+ };
933
+ }>;
934
+ containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
935
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
936
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
937
+ checkedChange: (checkList: (string | number)[], meta: {
938
+ actionType: "check" | "uncheck";
939
+ value: string | number;
940
+ }) => void;
941
+ handleCheckKey: (baseKeys: (string | number)[], currentTree: {
942
+ [key: string]: any;
943
+ key: string | number;
944
+ children: any[];
945
+ parentNode: any;
946
+ } | null, value: string | number) => false | undefined;
947
+ findParent: (baseKeys: (string | number)[], currentTree: {
948
+ [key: string]: any;
949
+ key: string | number;
950
+ children: any[];
951
+ parentNode: any;
952
+ }) => false | undefined;
953
+ handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
954
+ [key: string]: any;
955
+ key: string | number;
956
+ children: any[];
957
+ parentNode: any;
958
+ }, value: string | number) => false | undefined;
959
+ findChild: (baseKeys: (string | number)[], children: {
960
+ [key: string]: any;
961
+ key: string | number;
962
+ children: any[];
963
+ parentNode: any;
964
+ }[], value: string | number) => false | undefined;
965
+ checkInitTree: (tree: {
966
+ [key: string]: any;
967
+ key: string | number;
968
+ children: any[];
969
+ parentNode: any;
970
+ }, baseKey: string | number) => false | undefined;
971
+ ref: typeof ref;
972
+ NCheckboxGroup: any;
973
+ NCheckbox: any;
974
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
975
+ treeData: {
976
+ type: PropType<any[]>;
977
+ default: () => never[];
978
+ };
979
+ checkedKeys: {
980
+ type: PropType<(string | number)[]>;
981
+ default: () => never[];
982
+ };
983
+ }>> & {
984
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
985
+ }, {
986
+ treeData: any[];
987
+ checkedKeys: (string | number)[];
988
+ }>;
989
+ SearchOrgAndStaff: import("vue").DefineComponent<{
990
+ treeData: {
991
+ type: PropType<any[]>;
992
+ default: () => never[];
993
+ };
994
+ checkedKeys: {
995
+ type: PropType<(string | number)[]>;
996
+ default: () => never[];
997
+ };
998
+ searchFilter: {
999
+ type: ObjectConstructor;
1000
+ default: () => {};
1001
+ };
1002
+ isMultiple: {
1003
+ type: BooleanConstructor;
1004
+ default: boolean;
1005
+ };
1006
+ }, {
1007
+ $message: import("naive-ui").MessageApi;
1008
+ virtualItemHeight: number;
1009
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1010
+ treeData: {
1011
+ type: PropType<any[]>;
1012
+ default: () => never[];
1013
+ };
1014
+ checkedKeys: {
1015
+ type: PropType<(string | number)[]>;
1016
+ default: () => never[];
1017
+ };
1018
+ searchFilter: {
1019
+ type: ObjectConstructor;
1020
+ default: () => {};
1021
+ };
1022
+ isMultiple: {
1023
+ type: BooleanConstructor;
1024
+ default: boolean;
1025
+ };
1026
+ }>> & {
1027
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1028
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1029
+ }>>;
1030
+ emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
1031
+ moduleHeight: import("vue").ComputedRef<any>;
1032
+ showNums: import("vue").ComputedRef<number>;
1033
+ staffDataRef: import("vue").ComputedRef<any[]>;
1034
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1035
+ staffContainerProps: {
1036
+ ref: import("vue").Ref<any>;
1037
+ onScroll: () => void;
1038
+ style: Partial<CSSStyleDeclaration>;
1039
+ };
1040
+ staffWrapperProps: import("vue").ComputedRef<{
1041
+ style: {
1042
+ width: string;
1043
+ height: string;
1044
+ marginTop: string;
1045
+ };
1046
+ }>;
1047
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1048
+ orgDataRef: import("vue").ComputedRef<any[]>;
1049
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
1050
+ orgContainerProps: {
1051
+ ref: import("vue").Ref<any>;
1052
+ onScroll: () => void;
1053
+ style: Partial<CSSStyleDeclaration>;
1054
+ };
1055
+ orgWrapperProps: import("vue").ComputedRef<{
1056
+ style: {
1057
+ width: string;
1058
+ height: string;
1059
+ marginTop: string;
1060
+ };
1061
+ }>;
1062
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
1063
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
1064
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
1065
+ handleClick: (tree: any) => void;
1066
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
1067
+ [key: string]: any;
1068
+ key: string | number;
1069
+ children: any[];
1070
+ parentNode: any;
1071
+ }, value: string | number) => false | undefined;
1072
+ findParent: (baseKeys: (string | number)[], currentTree: {
1073
+ [key: string]: any;
1074
+ key: string | number;
1075
+ children: any[];
1076
+ parentNode: any;
1077
+ }) => false | undefined;
1078
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
1079
+ [key: string]: any;
1080
+ key: string | number;
1081
+ children: any[];
1082
+ parentNode: any;
1083
+ }, value: string | number) => void;
1084
+ handleFindChildren: (treeList: {
1085
+ [key: string]: any;
1086
+ key: string | number;
1087
+ children: any[];
1088
+ parentNode: any;
1089
+ }[]) => void;
1090
+ checkInitTree: (tree: {
1091
+ [key: string]: any;
1092
+ key: string | number;
1093
+ children: any[];
1094
+ parentNode: any;
1095
+ }, baseKey: string | number) => false | undefined;
1096
+ ref: typeof ref;
1097
+ NEmpty: any;
1098
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1099
+ treeData: {
1100
+ type: PropType<any[]>;
1101
+ default: () => never[];
1102
+ };
1103
+ checkedKeys: {
1104
+ type: PropType<(string | number)[]>;
1105
+ default: () => never[];
1106
+ };
1107
+ searchFilter: {
1108
+ type: ObjectConstructor;
1109
+ default: () => {};
1110
+ };
1111
+ isMultiple: {
1112
+ type: BooleanConstructor;
1113
+ default: boolean;
1114
+ };
1115
+ }>> & {
1116
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
1117
+ onNotifyClear?: ((...args: any[]) => any) | undefined;
1118
+ }, {
1119
+ searchFilter: Record<string, any>;
1120
+ treeData: any[];
1121
+ checkedKeys: (string | number)[];
1122
+ isMultiple: boolean;
1123
+ }>;
1124
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1125
+ defaultList: {
1126
+ type: PropType<((string | number) | {
1127
+ [key: string]: any;
1128
+ key: string | number;
1129
+ })[]>;
1130
+ default: () => never[];
1131
+ };
1132
+ data: {
1133
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1134
+ default: () => never[];
1135
+ };
1136
+ searchPlaceholder: {
1137
+ type: StringConstructor;
1138
+ default: string;
1139
+ };
1140
+ searchButtonText: {
1141
+ type: StringConstructor;
1142
+ default: string;
1143
+ };
1144
+ wordbook: {
1145
+ type: PropType<{
1146
+ [key: string]: any;
1147
+ parent_id_obj: string;
1148
+ parent_name_obj: string;
1149
+ user_count_obj?: string | undefined;
1150
+ filter_key?: string | undefined;
1151
+ }>;
1152
+ default: () => {};
1153
+ };
1154
+ wordbookChild: {
1155
+ type: PropType<{
1156
+ user_id_obj: string;
1157
+ user_name_obj: string;
1158
+ user_expand_keys?: string[] | undefined;
1159
+ }>;
1160
+ default: () => {};
1161
+ };
1162
+ showCount: {
1163
+ type: BooleanConstructor;
1164
+ default: boolean;
1165
+ };
1166
+ showClear: {
1167
+ type: BooleanConstructor;
1168
+ default: boolean;
1169
+ };
1170
+ multiple: {
1171
+ type: BooleanConstructor;
1172
+ default: boolean;
1173
+ };
1174
+ searchInner: {
1175
+ type: BooleanConstructor;
1176
+ default: boolean;
1177
+ };
1178
+ searchFilter: {
1179
+ type: PropType<AnyObject>;
1180
+ default: () => {};
1181
+ };
1182
+ treeSetting: {
1183
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1184
+ default: () => {};
1185
+ };
1186
+ queryLoadChildData: {
1187
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1188
+ default: undefined;
1189
+ };
1190
+ queryTreeSearch: {
1191
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
1192
+ default: () => Promise<never[]>;
1193
+ };
1194
+ showSelectType: {
1195
+ type: BooleanConstructor;
1196
+ default: boolean;
1197
+ };
1198
+ roleData: {
1199
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1200
+ default: () => never[];
1201
+ };
1202
+ roleFields: {
1203
+ type: ObjectConstructor;
1204
+ default: () => {
1205
+ label: string;
1206
+ key: string;
1207
+ children: string;
1208
+ };
1209
+ };
1210
+ }>>, {
1211
+ data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1212
+ defaultList: ((string | number) | {
405
1213
  [key: string]: any;
406
1214
  key: string | number;
407
- children: any[];
408
- parentNode: any;
409
- }, value: string | number) => false | undefined;
410
- findChild: (baseKeys: (string | number)[], children: {
411
- [key: string]: any;
412
- key: string | number;
413
- children: any[];
414
- parentNode: any;
415
- }[], value: string | number) => false | undefined;
416
- checkInitTree: (tree: {
1215
+ })[];
1216
+ searchPlaceholder: string;
1217
+ searchButtonText: string;
1218
+ wordbook: {
417
1219
  [key: string]: any;
418
- key: string | number;
419
- children: any[];
420
- parentNode: any;
421
- }, baseKey: string | number) => false | undefined;
422
- ref: typeof ref;
423
- NCheckboxGroup: any;
424
- NCheckbox: any;
425
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
426
- treeData: {
427
- type: PropType<any[]>;
428
- default: () => never[];
1220
+ parent_id_obj: string;
1221
+ parent_name_obj: string;
1222
+ user_count_obj?: string | undefined;
1223
+ filter_key?: string | undefined;
429
1224
  };
430
- checkedKeys: {
431
- type: PropType<(string | number)[]>;
432
- default: () => never[];
1225
+ wordbookChild: {
1226
+ user_id_obj: string;
1227
+ user_name_obj: string;
1228
+ user_expand_keys?: string[] | undefined;
433
1229
  };
434
- }>> & {
435
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
436
- }, {
437
- treeData: any[];
438
- checkedKeys: (string | number)[];
439
- }>;
440
- SearchOrgAndStaff: import("vue").DefineComponent<{
441
- treeData: {
442
- type: PropType<any[]>;
1230
+ showCount: boolean;
1231
+ showClear: boolean;
1232
+ multiple: boolean;
1233
+ searchInner: boolean;
1234
+ searchFilter: AnyObject;
1235
+ treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject;
1236
+ queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
1237
+ queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
1238
+ showSelectType: boolean;
1239
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
1240
+ roleFields: Record<string, any>;
1241
+ }>>;
1242
+ getProps: import("vue").ComputedRef<Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1243
+ defaultList: {
1244
+ type: PropType<((string | number) | {
1245
+ [key: string]: any;
1246
+ key: string | number;
1247
+ })[]>;
443
1248
  default: () => never[];
444
1249
  };
445
- checkedKeys: {
446
- type: PropType<(string | number)[]>;
1250
+ data: {
1251
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
447
1252
  default: () => never[];
448
1253
  };
449
- searchFilter: {
450
- type: ObjectConstructor;
1254
+ searchPlaceholder: {
1255
+ type: StringConstructor;
1256
+ default: string;
1257
+ };
1258
+ searchButtonText: {
1259
+ type: StringConstructor;
1260
+ default: string;
1261
+ };
1262
+ wordbook: {
1263
+ type: PropType<{
1264
+ [key: string]: any;
1265
+ parent_id_obj: string;
1266
+ parent_name_obj: string;
1267
+ user_count_obj?: string | undefined;
1268
+ filter_key?: string | undefined;
1269
+ }>;
1270
+ default: () => {};
1271
+ };
1272
+ wordbookChild: {
1273
+ type: PropType<{
1274
+ user_id_obj: string;
1275
+ user_name_obj: string;
1276
+ user_expand_keys?: string[] | undefined;
1277
+ }>;
451
1278
  default: () => {};
452
1279
  };
453
- isMultiple: {
1280
+ showCount: {
454
1281
  type: BooleanConstructor;
455
1282
  default: boolean;
456
1283
  };
457
- }, {
458
- $message: import("naive-ui").MessageApi;
459
- virtualItemHeight: number;
460
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
461
- treeData: {
462
- type: PropType<any[]>;
463
- default: () => never[];
464
- };
465
- checkedKeys: {
466
- type: PropType<(string | number)[]>;
467
- default: () => never[];
468
- };
469
- searchFilter: {
470
- type: ObjectConstructor;
471
- default: () => {};
472
- };
473
- isMultiple: {
474
- type: BooleanConstructor;
475
- default: boolean;
476
- };
477
- }>> & {
478
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
479
- onNotifyClear?: ((...args: any[]) => any) | undefined;
480
- }>>;
481
- emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
482
- moduleHeight: import("vue").ComputedRef<any>;
483
- showNums: import("vue").ComputedRef<number>;
484
- staffDataRef: import("vue").ComputedRef<any[]>;
485
- staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
486
- staffContainerProps: {
487
- ref: import("vue").Ref<any>;
488
- onScroll: () => void;
489
- style: Partial<CSSStyleDeclaration>;
490
- };
491
- staffWrapperProps: import("vue").ComputedRef<{
492
- style: {
493
- width: string;
494
- height: string;
495
- marginTop: string;
496
- };
497
- }>;
498
- staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
499
- orgDataRef: import("vue").ComputedRef<any[]>;
500
- orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
501
- orgContainerProps: {
502
- ref: import("vue").Ref<any>;
503
- onScroll: () => void;
504
- style: Partial<CSSStyleDeclaration>;
505
- };
506
- orgWrapperProps: import("vue").ComputedRef<{
507
- style: {
508
- width: string;
509
- height: string;
510
- marginTop: string;
511
- };
512
- }>;
513
- orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
514
- searchCheckKeys: import("vue").Ref<(string | number)[]>;
515
- showSelectKeys: import("vue").Ref<(string | number)[]>;
516
- handleClick: (tree: any) => void;
517
- handleStaffClick: (baseKeys: (string | number)[], currentTree: {
518
- [key: string]: any;
519
- key: string | number;
520
- children: any[];
521
- parentNode: any;
522
- }, value: string | number) => false | undefined;
523
- findParent: (baseKeys: (string | number)[], currentTree: {
524
- [key: string]: any;
525
- key: string | number;
526
- children: any[];
527
- parentNode: any;
528
- }) => false | undefined;
529
- handleOrgClick: (baseKeys: (string | number)[], currentTree: {
530
- [key: string]: any;
531
- key: string | number;
532
- children: any[];
533
- parentNode: any;
534
- }, value: string | number) => void;
535
- handleFindChildren: (treeList: {
536
- [key: string]: any;
537
- key: string | number;
538
- children: any[];
539
- parentNode: any;
540
- }[]) => void;
541
- checkInitTree: (tree: {
542
- [key: string]: any;
543
- key: string | number;
544
- children: any[];
545
- parentNode: any;
546
- }, baseKey: string | number) => false | undefined;
547
- ref: typeof ref;
548
- NEmpty: any;
549
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
550
- treeData: {
551
- type: PropType<any[]>;
552
- default: () => never[];
1284
+ showClear: {
1285
+ type: BooleanConstructor;
1286
+ default: boolean;
553
1287
  };
554
- checkedKeys: {
555
- type: PropType<(string | number)[]>;
556
- default: () => never[];
1288
+ multiple: {
1289
+ type: BooleanConstructor;
1290
+ default: boolean;
1291
+ };
1292
+ searchInner: {
1293
+ type: BooleanConstructor;
1294
+ default: boolean;
557
1295
  };
558
1296
  searchFilter: {
559
- type: ObjectConstructor;
1297
+ type: PropType<AnyObject>;
560
1298
  default: () => {};
561
1299
  };
562
- isMultiple: {
1300
+ treeSetting: {
1301
+ type: PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject>;
1302
+ default: () => {};
1303
+ };
1304
+ queryLoadChildData: {
1305
+ type: PropType<(node: import("naive-ui").TreeOption) => Promise<AnyObject>>;
1306
+ default: undefined;
1307
+ };
1308
+ queryTreeSearch: {
1309
+ type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
1310
+ default: () => Promise<never[]>;
1311
+ };
1312
+ showSelectType: {
563
1313
  type: BooleanConstructor;
564
1314
  default: boolean;
565
1315
  };
1316
+ roleData: {
1317
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[]>;
1318
+ default: () => never[];
1319
+ };
1320
+ roleFields: {
1321
+ type: ObjectConstructor;
1322
+ default: () => {
1323
+ label: string;
1324
+ key: string;
1325
+ children: string;
1326
+ };
1327
+ };
1328
+ switchTypeProps: {
1329
+ type: PropType<AnyObject[]>;
1330
+ default: () => never[];
1331
+ };
1332
+ switchTypeData: {
1333
+ type: PropType<AnyObject>;
1334
+ default: () => {};
1335
+ };
1336
+ tagProps: {
1337
+ type: PropType<AnyObject>;
1338
+ default: () => {};
1339
+ };
566
1340
  }>> & {
567
- onNotifyCheck?: ((...args: any[]) => any) | undefined;
568
- onNotifyClear?: ((...args: any[]) => any) | undefined;
569
- }, {
570
- searchFilter: Record<string, any>;
571
- treeData: any[];
572
- checkedKeys: (string | number)[];
573
- isMultiple: boolean;
1341
+ onCheck?: ((...args: any[]) => any) | undefined;
1342
+ onCheckWithLevel?: ((...args: any[]) => any) | undefined;
1343
+ }>> & {
1344
+ [x: string]: unknown;
574
1345
  }>;
1346
+ emits: (event: "check" | "checkWithLevel", ...args: any[]) => void;
1347
+ getCheckWithLevel: () => any;
575
1348
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
576
1349
  defaultList: {
577
1350
  type: PropType<((string | number) | {
@@ -658,6 +1431,18 @@ declare const _default: import("vue").DefineComponent<{
658
1431
  children: string;
659
1432
  };
660
1433
  };
1434
+ switchTypeProps: {
1435
+ type: PropType<AnyObject[]>;
1436
+ default: () => never[];
1437
+ };
1438
+ switchTypeData: {
1439
+ type: PropType<AnyObject>;
1440
+ default: () => {};
1441
+ };
1442
+ tagProps: {
1443
+ type: PropType<AnyObject>;
1444
+ default: () => {};
1445
+ };
661
1446
  }>> & {
662
1447
  onCheck?: ((...args: any[]) => any) | undefined;
663
1448
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -692,6 +1477,9 @@ declare const _default: import("vue").DefineComponent<{
692
1477
  showSelectType: boolean;
693
1478
  roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject)[];
694
1479
  roleFields: Record<string, any>;
1480
+ switchTypeProps: AnyObject[];
1481
+ switchTypeData: AnyObject;
1482
+ tagProps: AnyObject;
695
1483
  }>>;
696
1484
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
697
1485
  visible: {