cnhis-design-vue 3.1.57-beta.0 → 3.1.57-beta.10

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 (121) hide show
  1. package/es/components/button-print/index.d.ts +8 -8
  2. package/es/components/button-print/src/ButtonPrint.vue.d.ts +8 -8
  3. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  4. package/es/components/button-print/src/components/EditFormat.vue.d.ts +3 -3
  5. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +7 -7
  6. package/es/components/button-print/style/index.css +1 -1
  7. package/es/components/callback/src/components/render/popupMaps.d.ts +17 -8
  8. package/es/components/expand-field/index.d.ts +98 -26
  9. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +95 -23
  10. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +95 -23
  11. package/es/components/expand-field/src/components/form.vue.d.ts +98 -26
  12. package/es/components/expand-field/src/index.vue.d.ts +98 -26
  13. package/es/components/fabric-chart/index.d.ts +2 -2
  14. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  15. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  17. package/es/components/fabric-chart/src/interface.d.ts +2 -3
  18. package/es/components/field-set/index.d.ts +107 -616
  19. package/es/components/field-set/index.js +1 -1
  20. package/es/components/field-set/src/FieldColor.vue.d.ts +1680 -0
  21. package/es/components/field-set/src/FieldColor.vue.js +1 -0
  22. package/es/components/field-set/src/FieldColor.vue2.js +1 -0
  23. package/es/components/field-set/src/FieldSet.vue.d.ts +58 -16
  24. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  25. package/es/components/field-set/src/Index.vue.d.ts +141 -0
  26. package/es/components/field-set/src/Index.vue.js +1 -0
  27. package/es/components/field-set/src/Index.vue2.js +1 -0
  28. package/es/components/field-set/src/components/Row.vue.d.ts +50 -9
  29. package/es/components/field-set/src/components/Row.vue2.js +1 -1
  30. package/es/components/field-set/src/components/condition.vue.d.ts +172 -0
  31. package/es/components/field-set/src/components/condition.vue.js +1 -0
  32. package/es/components/field-set/src/components/condition.vue2.js +1 -0
  33. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1194 -0
  34. package/es/components/field-set/src/components/edit-dialog.vue.js +1 -0
  35. package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -0
  36. package/es/components/field-set/src/components/edit-filter.vue.d.ts +286 -0
  37. package/es/components/field-set/src/components/edit-filter.vue.js +1 -0
  38. package/es/components/field-set/src/components/edit-filter.vue2.js +1 -0
  39. package/es/components/field-set/src/constants/index.d.ts +55 -0
  40. package/es/components/field-set/src/constants/index.js +1 -0
  41. package/es/components/field-set/src/types/index.d.ts +31 -1
  42. package/es/components/field-set/src/utils/index.d.ts +2 -1
  43. package/es/components/field-set/src/utils/index.js +1 -1
  44. package/es/components/field-set/style/index.css +1 -1
  45. package/es/components/form-config/index.d.ts +72 -42
  46. package/es/components/form-config/src/FormConfig.vue.d.ts +72 -42
  47. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  48. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -8
  49. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +5 -2
  50. package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
  51. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +20 -11
  52. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -8
  53. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +5 -2
  54. package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +1 -1
  55. package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
  56. package/es/components/form-config/src/constants/index.d.ts +3 -2
  57. package/es/components/form-config/src/constants/index.js +1 -1
  58. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +16 -12
  59. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  60. package/es/components/form-config/src/types/index.d.ts +14 -2
  61. package/es/components/form-render/index.d.ts +17 -8
  62. package/es/components/form-render/index.js +1 -1
  63. package/es/components/form-render/src/FormRender.vue.d.ts +17 -8
  64. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  65. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -8
  66. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  67. package/es/components/form-render/src/hooks/index.d.ts +1 -0
  68. package/es/components/form-render/src/hooks/index.js +1 -1
  69. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
  70. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  71. package/es/components/form-render/src/hooks/useNewLowCodeReactions.d.ts +6 -0
  72. package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +1 -0
  73. package/es/components/form-render/src/types/index.d.ts +1 -1
  74. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -1
  75. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
  76. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  77. package/es/components/index.css +1 -1
  78. package/es/components/index.js +1 -1
  79. package/es/components/info-header/index.d.ts +41 -23
  80. package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -23
  81. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
  82. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
  83. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +18 -9
  84. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -8
  85. package/es/components/keyboard/index.d.ts +1 -1
  86. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  87. package/es/components/quick-search/index.d.ts +3 -3
  88. package/es/components/quick-search/src/index.vue.d.ts +3 -3
  89. package/es/components/recommend-search/index.d.ts +6 -6
  90. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +6 -6
  91. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  92. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
  93. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  94. package/es/components/scale-view/index.d.ts +3 -3
  95. package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -3
  96. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  97. package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
  98. package/es/components/select-label/index.d.ts +2 -2
  99. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  100. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  101. package/es/components/select-label/src/index.vue.d.ts +1 -1
  102. package/es/components/select-person/index.d.ts +95 -23
  103. package/es/components/select-person/src/SelectPerson.vue.d.ts +84 -17
  104. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  105. package/es/components/select-person/src/types/enums.d.ts +9 -0
  106. package/es/components/select-person/src/types/enums.js +1 -1
  107. package/es/components/select-person/style/index.css +1 -1
  108. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
  109. package/es/components/shortcut-setter/index.d.ts +17 -8
  110. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -8
  111. package/es/components/table-export-field/index.d.ts +3 -3
  112. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -3
  113. package/es/components/table-export-field/src/index.vue.d.ts +3 -3
  114. package/es/components/time-line/index.d.ts +7 -7
  115. package/es/components/time-line/src/TimeLine.vue.d.ts +3 -3
  116. package/es/shared/package.json.js +1 -1
  117. package/es/shared/types/business.d.ts +23 -3
  118. package/es/shared/utils/business.d.ts +2 -1
  119. package/es/shared/utils/business.js +1 -1
  120. package/es/shared/utils/index.js +1 -1
  121. package/package.json +2 -2
@@ -58,7 +58,6 @@ declare const _default: import("vue").DefineComponent<{
58
58
  type: PropType<((string | number) | {
59
59
  [key: string]: any;
60
60
  key: string | number;
61
- name: string;
62
61
  })[]>;
63
62
  default: () => never[];
64
63
  };
@@ -78,6 +77,7 @@ declare const _default: import("vue").DefineComponent<{
78
77
  };
79
78
  wordbook: {
80
79
  type: PropType<{
80
+ [key: string]: any;
81
81
  parent_id_obj: string | number;
82
82
  parent_name_obj: string | number;
83
83
  user_count_obj?: string | number | undefined;
@@ -127,6 +127,24 @@ declare const _default: import("vue").DefineComponent<{
127
127
  type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
128
128
  default: () => Promise<never[]>;
129
129
  };
130
+ showSelectType: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ roleData: {
135
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
136
+ [k: string]: unknown;
137
+ } & AnyObject)[]>;
138
+ default: () => never[];
139
+ };
140
+ roleFields: {
141
+ type: ObjectConstructor;
142
+ default: () => {
143
+ label: string;
144
+ key: string;
145
+ children: string;
146
+ };
147
+ };
130
148
  }, {
131
149
  searchFilterBase: {
132
150
  isOpen: boolean;
@@ -134,12 +152,19 @@ declare const _default: import("vue").DefineComponent<{
134
152
  customTitles: string[];
135
153
  itemHeight: number;
136
154
  };
155
+ labelList: {
156
+ key: string;
157
+ label: string;
158
+ }[];
159
+ labelListName: {
160
+ dept: string;
161
+ role: string;
162
+ };
137
163
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
138
164
  defaultList: {
139
165
  type: PropType<((string | number) | {
140
166
  [key: string]: any;
141
167
  key: string | number;
142
- name: string;
143
168
  })[]>;
144
169
  default: () => never[];
145
170
  };
@@ -159,6 +184,7 @@ declare const _default: import("vue").DefineComponent<{
159
184
  };
160
185
  wordbook: {
161
186
  type: PropType<{
187
+ [key: string]: any;
162
188
  parent_id_obj: string | number;
163
189
  parent_name_obj: string | number;
164
190
  user_count_obj?: string | number | undefined;
@@ -208,6 +234,24 @@ declare const _default: import("vue").DefineComponent<{
208
234
  type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
209
235
  default: () => Promise<never[]>;
210
236
  };
237
+ showSelectType: {
238
+ type: BooleanConstructor;
239
+ default: boolean;
240
+ };
241
+ roleData: {
242
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
243
+ [k: string]: unknown;
244
+ } & AnyObject)[]>;
245
+ default: () => never[];
246
+ };
247
+ roleFields: {
248
+ type: ObjectConstructor;
249
+ default: () => {
250
+ label: string;
251
+ key: string;
252
+ children: string;
253
+ };
254
+ };
211
255
  }>> & {
212
256
  onCheck?: ((...args: any[]) => any) | undefined;
213
257
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -231,19 +275,18 @@ declare const _default: import("vue").DefineComponent<{
231
275
  tagData: import("vue").Ref<{
232
276
  [x: string]: any;
233
277
  key: string | number;
234
- name: string;
235
278
  }[]>;
236
279
  initTagData: import("vue").Ref<{
237
280
  [x: string]: any;
238
281
  key: string | number;
239
- name: string;
240
282
  }[]>;
241
283
  isSearch: import("vue").Ref<boolean>;
242
- temp: import("naive-ui").TreeOption[];
243
- allCheckedKeys: (string | number)[];
284
+ tempData: import("naive-ui").TreeOption[];
285
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
244
286
  isRemote: import("vue").ComputedRef<boolean>;
245
287
  checkStrategyResult: import("vue").ComputedRef<any>;
246
288
  isSearchFilter: import("vue").ComputedRef<boolean>;
289
+ curSelectKey: import("vue").Ref<string>;
247
290
  mergeSearchFilter: import("vue").ComputedRef<{
248
291
  isOpen: boolean;
249
292
  multiple: boolean;
@@ -251,10 +294,24 @@ declare const _default: import("vue").DefineComponent<{
251
294
  itemHeight: number;
252
295
  }>;
253
296
  wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
254
- caculateTagData: import("vue").ComputedRef<any[]>;
297
+ caculateTagData: import("vue").ComputedRef<any>;
298
+ treeDataMiddle: any;
299
+ checkedKeysMiddle: any;
300
+ checkedTagsMiddle: any;
301
+ allCheckedKeysMiddle: any;
302
+ attrType: import("vue").ComputedRef<any>;
303
+ keyStr: import("vue").ComputedRef<string>;
304
+ getTreeDataMiddleData: () => void;
305
+ getDeptData: (list: any[], cb?: any) => any[];
306
+ getRoleData: (list: any[], cb?: any) => any[];
307
+ onHandleLabelChange: (item: any) => void;
308
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
309
+ uniqArrObj: (arr: any[], name: string) => any;
255
310
  init: () => void;
256
- getallCheckedKeysWithChild: (item: import("naive-ui").TreeOption) => void;
257
- getallCheckedKeysWithParent: (item: import("naive-ui").TreeOption) => void;
311
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
312
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
313
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
314
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
258
315
  queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
259
316
  setDisabled: (data: import("naive-ui").TreeOption) => void;
260
317
  renderLabel: ({ option }: {
@@ -263,10 +320,7 @@ declare const _default: import("vue").DefineComponent<{
263
320
  getLabelName: (option: import("naive-ui").TreeOption) => unknown;
264
321
  transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
265
322
  calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
266
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], temp: any) => import("naive-ui").TreeOption[];
267
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
268
- setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
269
- setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
323
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
270
324
  searchSetting: () => string;
271
325
  onSearch: () => Promise<void>;
272
326
  setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
@@ -276,11 +330,9 @@ declare const _default: import("vue").DefineComponent<{
276
330
  uniq: (arr: {
277
331
  [key: string]: any;
278
332
  key: string | number;
279
- name: string;
280
333
  }[]) => {
281
334
  [key: string]: any;
282
335
  key: string | number;
283
- name: string;
284
336
  }[];
285
337
  setTagData: (tree: import("naive-ui").TreeOption[]) => void;
286
338
  updateTreeChecked: (keys: (string | number)[]) => void;
@@ -289,15 +341,10 @@ declare const _default: import("vue").DefineComponent<{
289
341
  closeTag: (tag: {
290
342
  [key: string]: any;
291
343
  key: string | number;
292
- name: string;
293
344
  }) => void;
294
345
  notifyCheck: (keys: (string | number)[]) => void;
295
346
  notifySearchClear: () => void;
296
- getCheckWithLevel: () => {
297
- [x: string]: any;
298
- key: string | number;
299
- name: string;
300
- }[];
347
+ getCheckWithLevel: () => any;
301
348
  NButton: any;
302
349
  NInput: any;
303
350
  NInputGroup: import("vue").DefineComponent<{
@@ -313,6 +360,7 @@ declare const _default: import("vue").DefineComponent<{
313
360
  }>>, {}>;
314
361
  NCheckbox: any;
315
362
  NTree: any;
363
+ NTag: any;
316
364
  NIcon: any;
317
365
  NSpace: any;
318
366
  NGrid: any;
@@ -366,6 +414,7 @@ declare const _default: import("vue").DefineComponent<{
366
414
  readonly suffix: boolean;
367
415
  readonly privateShow: boolean;
368
416
  }>;
417
+ NEmpty: any;
369
418
  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<{}>>, {}>;
370
419
  SearchMultiple: import("vue").DefineComponent<{
371
420
  treeData: {
@@ -635,7 +684,6 @@ declare const _default: import("vue").DefineComponent<{
635
684
  type: PropType<((string | number) | {
636
685
  [key: string]: any;
637
686
  key: string | number;
638
- name: string;
639
687
  })[]>;
640
688
  default: () => never[];
641
689
  };
@@ -655,6 +703,7 @@ declare const _default: import("vue").DefineComponent<{
655
703
  };
656
704
  wordbook: {
657
705
  type: PropType<{
706
+ [key: string]: any;
658
707
  parent_id_obj: string | number;
659
708
  parent_name_obj: string | number;
660
709
  user_count_obj?: string | number | undefined;
@@ -704,6 +753,24 @@ declare const _default: import("vue").DefineComponent<{
704
753
  type: PropType<(keyWork: string) => Promise<AnyObject[]>>;
705
754
  default: () => Promise<never[]>;
706
755
  };
756
+ showSelectType: {
757
+ type: BooleanConstructor;
758
+ default: boolean;
759
+ };
760
+ roleData: {
761
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
762
+ [k: string]: unknown;
763
+ } & AnyObject)[]>;
764
+ default: () => never[];
765
+ };
766
+ roleFields: {
767
+ type: ObjectConstructor;
768
+ default: () => {
769
+ label: string;
770
+ key: string;
771
+ children: string;
772
+ };
773
+ };
707
774
  }>> & {
708
775
  onCheck?: ((...args: any[]) => any) | undefined;
709
776
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -714,11 +781,11 @@ declare const _default: import("vue").DefineComponent<{
714
781
  defaultList: ((string | number) | {
715
782
  [key: string]: any;
716
783
  key: string | number;
717
- name: string;
718
784
  })[];
719
785
  searchPlaceholder: string;
720
786
  searchButtonText: string;
721
787
  wordbook: {
788
+ [key: string]: any;
722
789
  parent_id_obj: string | number;
723
790
  parent_name_obj: string | number;
724
791
  user_count_obj?: string | number | undefined;
@@ -739,6 +806,11 @@ declare const _default: import("vue").DefineComponent<{
739
806
  } & AnyObject;
740
807
  queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
741
808
  queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
809
+ showSelectType: boolean;
810
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
811
+ [k: string]: unknown;
812
+ } & AnyObject)[];
813
+ roleFields: Record<string, any>;
742
814
  }>>;
743
815
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
744
816
  visible: {
@@ -217,7 +217,7 @@ declare const _default: import("vue").DefineComponent<{
217
217
  readonly rule: import("vue").PropType<FormItemRule | FormItemRule[]>;
218
218
  readonly size: import("vue").PropType<"small" | "medium" | "large">;
219
219
  readonly ignorePathChange: BooleanConstructor;
220
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
220
+ readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
221
221
  readonly feedback: StringConstructor;
222
222
  readonly showLabel: {
223
223
  readonly type: import("vue").PropType<boolean | undefined>;
@@ -348,7 +348,7 @@ declare const _default: import("vue").DefineComponent<{
348
348
  mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
349
349
  mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
350
350
  mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
351
- mergedValidationStatus: import("vue").ComputedRef<"error" | "success" | "warning" | undefined>;
351
+ mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
352
352
  mergedShowFeedback: import("vue").ComputedRef<boolean>;
353
353
  mergedShowLabel: import("vue").ComputedRef<boolean>;
354
354
  isAutoLabelWidth: import("vue").ComputedRef<boolean>;
@@ -382,7 +382,7 @@ declare const _default: import("vue").DefineComponent<{
382
382
  readonly rule: import("vue").PropType<FormItemRule | FormItemRule[]>;
383
383
  readonly size: import("vue").PropType<"small" | "medium" | "large">;
384
384
  readonly ignorePathChange: BooleanConstructor;
385
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
385
+ readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
386
386
  readonly feedback: StringConstructor;
387
387
  readonly showLabel: {
388
388
  readonly type: import("vue").PropType<boolean | undefined>;
@@ -722,7 +722,6 @@ declare const _default: import("vue").DefineComponent<{
722
722
  type: import("vue").PropType<((string | number) | {
723
723
  [key: string]: any;
724
724
  key: string | number;
725
- name: string;
726
725
  })[]>;
727
726
  default: () => never[];
728
727
  };
@@ -742,6 +741,7 @@ declare const _default: import("vue").DefineComponent<{
742
741
  };
743
742
  wordbook: {
744
743
  type: import("vue").PropType<{
744
+ [key: string]: any;
745
745
  parent_id_obj: string | number;
746
746
  parent_name_obj: string | number;
747
747
  user_count_obj?: string | number | undefined;
@@ -791,6 +791,24 @@ declare const _default: import("vue").DefineComponent<{
791
791
  type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
792
792
  default: () => Promise<never[]>;
793
793
  };
794
+ showSelectType: {
795
+ type: BooleanConstructor;
796
+ default: boolean;
797
+ };
798
+ roleData: {
799
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
800
+ [k: string]: unknown;
801
+ } & AnyObject)[]>;
802
+ default: () => never[];
803
+ };
804
+ roleFields: {
805
+ type: ObjectConstructor;
806
+ default: () => {
807
+ label: string;
808
+ key: string;
809
+ children: string;
810
+ };
811
+ };
794
812
  }, {
795
813
  searchFilterBase: {
796
814
  isOpen: boolean;
@@ -798,12 +816,19 @@ declare const _default: import("vue").DefineComponent<{
798
816
  customTitles: string[];
799
817
  itemHeight: number;
800
818
  };
819
+ labelList: {
820
+ key: string;
821
+ label: string;
822
+ }[];
823
+ labelListName: {
824
+ dept: string;
825
+ role: string;
826
+ };
801
827
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
802
828
  defaultList: {
803
829
  type: import("vue").PropType<((string | number) | {
804
830
  [key: string]: any;
805
831
  key: string | number;
806
- name: string;
807
832
  })[]>;
808
833
  default: () => never[];
809
834
  };
@@ -823,6 +848,7 @@ declare const _default: import("vue").DefineComponent<{
823
848
  };
824
849
  wordbook: {
825
850
  type: import("vue").PropType<{
851
+ [key: string]: any;
826
852
  parent_id_obj: string | number;
827
853
  parent_name_obj: string | number;
828
854
  user_count_obj?: string | number | undefined;
@@ -872,6 +898,24 @@ declare const _default: import("vue").DefineComponent<{
872
898
  type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
873
899
  default: () => Promise<never[]>;
874
900
  };
901
+ showSelectType: {
902
+ type: BooleanConstructor;
903
+ default: boolean;
904
+ };
905
+ roleData: {
906
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
907
+ [k: string]: unknown;
908
+ } & AnyObject)[]>;
909
+ default: () => never[];
910
+ };
911
+ roleFields: {
912
+ type: ObjectConstructor;
913
+ default: () => {
914
+ label: string;
915
+ key: string;
916
+ children: string;
917
+ };
918
+ };
875
919
  }>> & {
876
920
  onCheck?: ((...args: any[]) => any) | undefined;
877
921
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -895,19 +939,18 @@ declare const _default: import("vue").DefineComponent<{
895
939
  tagData: import("vue").Ref<{
896
940
  [x: string]: any;
897
941
  key: string | number;
898
- name: string;
899
942
  }[]>;
900
943
  initTagData: import("vue").Ref<{
901
944
  [x: string]: any;
902
945
  key: string | number;
903
- name: string;
904
946
  }[]>;
905
947
  isSearch: import("vue").Ref<boolean>;
906
- temp: import("naive-ui").TreeOption[];
907
- allCheckedKeys: (string | number)[];
948
+ tempData: import("naive-ui").TreeOption[];
949
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
908
950
  isRemote: import("vue").ComputedRef<boolean>;
909
951
  checkStrategyResult: import("vue").ComputedRef<any>;
910
952
  isSearchFilter: import("vue").ComputedRef<boolean>;
953
+ curSelectKey: import("vue").Ref<string>;
911
954
  mergeSearchFilter: import("vue").ComputedRef<{
912
955
  isOpen: boolean;
913
956
  multiple: boolean;
@@ -915,10 +958,24 @@ declare const _default: import("vue").DefineComponent<{
915
958
  itemHeight: number;
916
959
  }>;
917
960
  wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
918
- caculateTagData: import("vue").ComputedRef<any[]>;
961
+ caculateTagData: import("vue").ComputedRef<any>;
962
+ treeDataMiddle: any;
963
+ checkedKeysMiddle: any;
964
+ checkedTagsMiddle: any;
965
+ allCheckedKeysMiddle: any;
966
+ attrType: import("vue").ComputedRef<any>;
967
+ keyStr: import("vue").ComputedRef<string>;
968
+ getTreeDataMiddleData: () => void;
969
+ getDeptData: (list: any[], cb?: any) => any[];
970
+ getRoleData: (list: any[], cb?: any) => any[];
971
+ onHandleLabelChange: (item: any) => void;
972
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
973
+ uniqArrObj: (arr: any[], name: string) => any;
919
974
  init: () => void;
920
- getallCheckedKeysWithChild: (item: import("naive-ui").TreeOption) => void;
921
- getallCheckedKeysWithParent: (item: import("naive-ui").TreeOption) => void;
975
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
976
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
977
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
978
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
922
979
  queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
923
980
  setDisabled: (data: import("naive-ui").TreeOption) => void;
924
981
  renderLabel: ({ option }: {
@@ -927,10 +984,7 @@ declare const _default: import("vue").DefineComponent<{
927
984
  getLabelName: (option: import("naive-ui").TreeOption) => unknown;
928
985
  transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
929
986
  calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
930
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], temp: any) => import("naive-ui").TreeOption[];
931
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
932
- setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
933
- setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
987
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
934
988
  searchSetting: () => string;
935
989
  onSearch: () => Promise<void>;
936
990
  setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
@@ -940,11 +994,9 @@ declare const _default: import("vue").DefineComponent<{
940
994
  uniq: (arr: {
941
995
  [key: string]: any;
942
996
  key: string | number;
943
- name: string;
944
997
  }[]) => {
945
998
  [key: string]: any;
946
999
  key: string | number;
947
- name: string;
948
1000
  }[];
949
1001
  setTagData: (tree: import("naive-ui").TreeOption[]) => void;
950
1002
  updateTreeChecked: (keys: (string | number)[]) => void;
@@ -953,15 +1005,10 @@ declare const _default: import("vue").DefineComponent<{
953
1005
  closeTag: (tag: {
954
1006
  [key: string]: any;
955
1007
  key: string | number;
956
- name: string;
957
1008
  }) => void;
958
1009
  notifyCheck: (keys: (string | number)[]) => void;
959
1010
  notifySearchClear: () => void;
960
- getCheckWithLevel: () => {
961
- [x: string]: any;
962
- key: string | number;
963
- name: string;
964
- }[];
1011
+ getCheckWithLevel: () => any;
965
1012
  NButton: any;
966
1013
  NInput: any;
967
1014
  NInputGroup: import("vue").DefineComponent<{
@@ -977,6 +1024,7 @@ declare const _default: import("vue").DefineComponent<{
977
1024
  }>>, {}>;
978
1025
  NCheckbox: any;
979
1026
  NTree: any;
1027
+ NTag: any;
980
1028
  NIcon: any;
981
1029
  NSpace: any;
982
1030
  NGrid: any;
@@ -1030,6 +1078,7 @@ declare const _default: import("vue").DefineComponent<{
1030
1078
  readonly suffix: boolean;
1031
1079
  readonly privateShow: boolean;
1032
1080
  }>;
1081
+ NEmpty: any;
1033
1082
  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<{}>>, {}>;
1034
1083
  SearchMultiple: import("vue").DefineComponent<{
1035
1084
  treeData: {
@@ -1299,7 +1348,6 @@ declare const _default: import("vue").DefineComponent<{
1299
1348
  type: import("vue").PropType<((string | number) | {
1300
1349
  [key: string]: any;
1301
1350
  key: string | number;
1302
- name: string;
1303
1351
  })[]>;
1304
1352
  default: () => never[];
1305
1353
  };
@@ -1319,6 +1367,7 @@ declare const _default: import("vue").DefineComponent<{
1319
1367
  };
1320
1368
  wordbook: {
1321
1369
  type: import("vue").PropType<{
1370
+ [key: string]: any;
1322
1371
  parent_id_obj: string | number;
1323
1372
  parent_name_obj: string | number;
1324
1373
  user_count_obj?: string | number | undefined;
@@ -1368,6 +1417,24 @@ declare const _default: import("vue").DefineComponent<{
1368
1417
  type: import("vue").PropType<(keyWork: string) => Promise<AnyObject[]>>;
1369
1418
  default: () => Promise<never[]>;
1370
1419
  };
1420
+ showSelectType: {
1421
+ type: BooleanConstructor;
1422
+ default: boolean;
1423
+ };
1424
+ roleData: {
1425
+ type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
1426
+ [k: string]: unknown;
1427
+ } & AnyObject)[]>;
1428
+ default: () => never[];
1429
+ };
1430
+ roleFields: {
1431
+ type: ObjectConstructor;
1432
+ default: () => {
1433
+ label: string;
1434
+ key: string;
1435
+ children: string;
1436
+ };
1437
+ };
1371
1438
  }>> & {
1372
1439
  onCheck?: ((...args: any[]) => any) | undefined;
1373
1440
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -1378,11 +1445,11 @@ declare const _default: import("vue").DefineComponent<{
1378
1445
  defaultList: ((string | number) | {
1379
1446
  [key: string]: any;
1380
1447
  key: string | number;
1381
- name: string;
1382
1448
  })[];
1383
1449
  searchPlaceholder: string;
1384
1450
  searchButtonText: string;
1385
1451
  wordbook: {
1452
+ [key: string]: any;
1386
1453
  parent_id_obj: string | number;
1387
1454
  parent_name_obj: string | number;
1388
1455
  user_count_obj?: string | number | undefined;
@@ -1403,6 +1470,11 @@ declare const _default: import("vue").DefineComponent<{
1403
1470
  } & AnyObject;
1404
1471
  queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<AnyObject>;
1405
1472
  queryTreeSearch: (keyWork: string) => Promise<AnyObject[]>;
1473
+ showSelectType: boolean;
1474
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
1475
+ [k: string]: unknown;
1476
+ } & AnyObject)[];
1477
+ roleFields: Record<string, any>;
1406
1478
  }>>;
1407
1479
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1408
1480
  visible: {