cnhis-design-vue 3.1.57-release.1 → 3.1.57-release.3

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 (174) 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/calendar/index.d.ts +276 -0
  8. package/es/components/calendar/index.js +1 -0
  9. package/es/components/calendar/src/Calendar.vue.d.ts +265 -0
  10. package/es/components/calendar/src/Calendar.vue.js +1 -0
  11. package/es/components/calendar/src/Calendar.vue2.js +1 -0
  12. package/es/components/calendar/src/types/index.d.ts +6 -0
  13. package/es/components/calendar/src/types/index.js +1 -0
  14. package/es/components/calendar/style/index.css +1 -0
  15. package/es/components/callback/src/components/render/popupMaps.d.ts +233 -224
  16. package/es/components/classification/index.d.ts +3 -3
  17. package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -3
  18. package/es/components/classification/src/components/set-classification/index.vue.d.ts +3 -3
  19. package/es/components/classification/src/index.vue.d.ts +3 -3
  20. package/es/components/date-picker/index.d.ts +1 -1
  21. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  22. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  23. package/es/components/expand-field/index.d.ts +98 -26
  24. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +95 -23
  25. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +95 -23
  26. package/es/components/expand-field/src/components/form.vue.d.ts +98 -26
  27. package/es/components/expand-field/src/index.vue.d.ts +98 -26
  28. package/es/components/fabric-chart/index.d.ts +4 -2
  29. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -2
  30. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  31. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  32. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  33. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
  36. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  37. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  38. package/es/components/fabric-chart/src/interface.d.ts +4 -3
  39. package/es/components/field-set/index.d.ts +107 -616
  40. package/es/components/field-set/index.js +1 -1
  41. package/es/components/field-set/src/FieldColor.vue.d.ts +1680 -0
  42. package/es/components/field-set/src/FieldColor.vue.js +1 -0
  43. package/es/components/field-set/src/FieldColor.vue2.js +1 -0
  44. package/es/components/field-set/src/FieldSet.vue.d.ts +58 -16
  45. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  46. package/es/components/field-set/src/Index.vue.d.ts +141 -0
  47. package/es/components/field-set/src/Index.vue.js +1 -0
  48. package/es/components/field-set/src/Index.vue2.js +1 -0
  49. package/es/components/field-set/src/components/Row.vue.d.ts +50 -9
  50. package/es/components/field-set/src/components/Row.vue2.js +1 -1
  51. package/es/components/field-set/src/components/condition.vue.d.ts +172 -0
  52. package/es/components/field-set/src/components/condition.vue.js +1 -0
  53. package/es/components/field-set/src/components/condition.vue2.js +1 -0
  54. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1194 -0
  55. package/es/components/field-set/src/components/edit-dialog.vue.js +1 -0
  56. package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -0
  57. package/es/components/field-set/src/components/edit-filter.vue.d.ts +286 -0
  58. package/es/components/field-set/src/components/edit-filter.vue.js +1 -0
  59. package/es/components/field-set/src/components/edit-filter.vue2.js +1 -0
  60. package/es/components/field-set/src/constants/index.d.ts +55 -0
  61. package/es/components/field-set/src/constants/index.js +1 -0
  62. package/es/components/field-set/src/types/index.d.ts +31 -1
  63. package/es/components/field-set/src/utils/index.d.ts +2 -1
  64. package/es/components/field-set/src/utils/index.js +1 -1
  65. package/es/components/field-set/style/index.css +1 -1
  66. package/es/components/form-config/index.d.ts +79 -42
  67. package/es/components/form-config/src/FormConfig.vue.d.ts +79 -42
  68. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  69. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -8
  70. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +5 -2
  71. package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
  72. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +23 -11
  73. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -8
  74. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +5 -2
  75. package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +1 -1
  76. package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
  77. package/es/components/form-config/src/constants/index.d.ts +3 -2
  78. package/es/components/form-config/src/constants/index.js +1 -1
  79. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +16 -12
  80. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  81. package/es/components/form-config/src/types/index.d.ts +14 -2
  82. package/es/components/form-render/index.d.ts +17 -8
  83. package/es/components/form-render/index.js +1 -1
  84. package/es/components/form-render/src/FormRender.vue.d.ts +17 -8
  85. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  86. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -8
  87. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +12 -0
  88. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  89. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
  90. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
  91. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +12 -0
  92. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -1
  93. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  94. package/es/components/form-render/src/hooks/index.d.ts +1 -0
  95. package/es/components/form-render/src/hooks/index.js +1 -1
  96. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  97. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
  98. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  99. package/es/components/form-render/src/hooks/useNewLowCodeReactions.d.ts +6 -0
  100. package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +1 -0
  101. package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
  102. package/es/components/form-render/src/types/index.d.ts +1 -1
  103. package/es/components/guide/src/renderer.d.ts +2 -2
  104. package/es/components/iho-table/index.d.ts +216 -216
  105. package/es/components/iho-table/src/IhoTable.vue.d.ts +216 -216
  106. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +1 -1
  107. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +3 -1
  108. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  109. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
  110. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -1
  111. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
  112. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  113. package/es/components/iho-table/src/types/index.d.ts +1 -0
  114. package/es/components/index.css +1 -1
  115. package/es/components/index.d.ts +2 -1
  116. package/es/components/index.js +1 -1
  117. package/es/components/info-header/index.d.ts +41 -23
  118. package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -23
  119. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
  120. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
  121. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +18 -9
  122. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -8
  123. package/es/components/keyboard/index.d.ts +1 -1
  124. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  125. package/es/components/quick-search/index.d.ts +3 -3
  126. package/es/components/quick-search/src/index.vue.d.ts +3 -3
  127. package/es/components/recommend-search/index.d.ts +6 -6
  128. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +6 -6
  129. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  130. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
  131. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  132. package/es/components/scale-view/index.d.ts +3 -3
  133. package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -3
  134. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  135. package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
  136. package/es/components/select-label/index.d.ts +2 -2
  137. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  138. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  139. package/es/components/select-label/src/index.vue.d.ts +1 -1
  140. package/es/components/select-person/index.d.ts +95 -23
  141. package/es/components/select-person/src/SelectPerson.vue.d.ts +84 -17
  142. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  143. package/es/components/select-person/src/types/enums.d.ts +9 -0
  144. package/es/components/select-person/src/types/enums.js +1 -1
  145. package/es/components/select-person/style/index.css +1 -1
  146. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
  147. package/es/components/shortcut-setter/index.d.ts +18 -8
  148. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -8
  149. package/es/components/table-export-field/index.d.ts +3 -3
  150. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -3
  151. package/es/components/table-export-field/src/index.vue.d.ts +3 -3
  152. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -1
  153. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +1 -1
  154. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -1
  155. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -1
  156. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
  157. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -1
  158. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -1
  159. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +2 -2
  160. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
  161. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  162. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  163. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  164. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
  165. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -4
  166. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +4 -4
  167. package/es/components/time-line/index.d.ts +7 -7
  168. package/es/components/time-line/src/TimeLine.vue.d.ts +3 -3
  169. package/es/shared/package.json.js +1 -1
  170. package/es/shared/types/business.d.ts +23 -3
  171. package/es/shared/utils/business.d.ts +2 -1
  172. package/es/shared/utils/business.js +1 -1
  173. package/es/shared/utils/index.js +1 -1
  174. package/package.json +8 -2
@@ -109,7 +109,6 @@ declare const _default: import("vue").DefineComponent<{
109
109
  type: PropType<((string | number) | {
110
110
  [key: string]: any;
111
111
  key: string | number;
112
- name: string;
113
112
  })[]>;
114
113
  default: () => never[];
115
114
  };
@@ -129,6 +128,7 @@ declare const _default: import("vue").DefineComponent<{
129
128
  };
130
129
  wordbook: {
131
130
  type: PropType<{
131
+ [key: string]: any;
132
132
  parent_id_obj: string | number;
133
133
  parent_name_obj: string | number;
134
134
  user_count_obj?: string | number | undefined;
@@ -178,6 +178,24 @@ declare const _default: import("vue").DefineComponent<{
178
178
  type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
179
179
  default: () => Promise<never[]>;
180
180
  };
181
+ showSelectType: {
182
+ type: BooleanConstructor;
183
+ default: boolean;
184
+ };
185
+ roleData: {
186
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
187
+ [k: string]: unknown;
188
+ } & import("../../..").AnyObject)[]>;
189
+ default: () => never[];
190
+ };
191
+ roleFields: {
192
+ type: ObjectConstructor;
193
+ default: () => {
194
+ label: string;
195
+ key: string;
196
+ children: string;
197
+ };
198
+ };
181
199
  }, {
182
200
  searchFilterBase: {
183
201
  isOpen: boolean;
@@ -185,12 +203,19 @@ declare const _default: import("vue").DefineComponent<{
185
203
  customTitles: string[];
186
204
  itemHeight: number;
187
205
  };
206
+ labelList: {
207
+ key: string;
208
+ label: string;
209
+ }[];
210
+ labelListName: {
211
+ dept: string;
212
+ role: string;
213
+ };
188
214
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
189
215
  defaultList: {
190
216
  type: PropType<((string | number) | {
191
217
  [key: string]: any;
192
218
  key: string | number;
193
- name: string;
194
219
  })[]>;
195
220
  default: () => never[];
196
221
  };
@@ -210,6 +235,7 @@ declare const _default: import("vue").DefineComponent<{
210
235
  };
211
236
  wordbook: {
212
237
  type: PropType<{
238
+ [key: string]: any;
213
239
  parent_id_obj: string | number;
214
240
  parent_name_obj: string | number;
215
241
  user_count_obj?: string | number | undefined;
@@ -259,6 +285,24 @@ declare const _default: import("vue").DefineComponent<{
259
285
  type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
260
286
  default: () => Promise<never[]>;
261
287
  };
288
+ showSelectType: {
289
+ type: BooleanConstructor;
290
+ default: boolean;
291
+ };
292
+ roleData: {
293
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
294
+ [k: string]: unknown;
295
+ } & import("../../..").AnyObject)[]>;
296
+ default: () => never[];
297
+ };
298
+ roleFields: {
299
+ type: ObjectConstructor;
300
+ default: () => {
301
+ label: string;
302
+ key: string;
303
+ children: string;
304
+ };
305
+ };
262
306
  }>> & {
263
307
  onCheck?: ((...args: any[]) => any) | undefined;
264
308
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -282,19 +326,18 @@ declare const _default: import("vue").DefineComponent<{
282
326
  tagData: import("vue").Ref<{
283
327
  [x: string]: any;
284
328
  key: string | number;
285
- name: string;
286
329
  }[]>;
287
330
  initTagData: import("vue").Ref<{
288
331
  [x: string]: any;
289
332
  key: string | number;
290
- name: string;
291
333
  }[]>;
292
334
  isSearch: import("vue").Ref<boolean>;
293
- temp: import("naive-ui").TreeOption[];
294
- allCheckedKeys: (string | number)[];
335
+ tempData: import("naive-ui").TreeOption[];
336
+ allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
295
337
  isRemote: import("vue").ComputedRef<boolean>;
296
338
  checkStrategyResult: import("vue").ComputedRef<any>;
297
339
  isSearchFilter: import("vue").ComputedRef<boolean>;
340
+ curSelectKey: import("vue").Ref<string>;
298
341
  mergeSearchFilter: import("vue").ComputedRef<{
299
342
  isOpen: boolean;
300
343
  multiple: boolean;
@@ -302,10 +345,24 @@ declare const _default: import("vue").DefineComponent<{
302
345
  itemHeight: number;
303
346
  }>;
304
347
  wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
305
- caculateTagData: import("vue").ComputedRef<any[]>;
348
+ caculateTagData: import("vue").ComputedRef<any>;
349
+ treeDataMiddle: any;
350
+ checkedKeysMiddle: any;
351
+ checkedTagsMiddle: any;
352
+ allCheckedKeysMiddle: any;
353
+ attrType: import("vue").ComputedRef<any>;
354
+ keyStr: import("vue").ComputedRef<string>;
355
+ getTreeDataMiddleData: () => void;
356
+ getDeptData: (list: any[], cb?: any) => any[];
357
+ getRoleData: (list: any[], cb?: any) => any[];
358
+ onHandleLabelChange: (item: any) => void;
359
+ setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
360
+ uniqArrObj: (arr: any[], name: string) => any;
306
361
  init: () => void;
307
- getallCheckedKeysWithChild: (item: import("naive-ui").TreeOption) => void;
308
- getallCheckedKeysWithParent: (item: import("naive-ui").TreeOption) => void;
362
+ getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
363
+ setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
364
+ setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
365
+ setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
309
366
  queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>;
310
367
  setDisabled: (data: import("naive-ui").TreeOption) => void;
311
368
  renderLabel: ({ option }: {
@@ -314,10 +371,7 @@ declare const _default: import("vue").DefineComponent<{
314
371
  getLabelName: (option: import("naive-ui").TreeOption) => unknown;
315
372
  transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
316
373
  calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
317
- transformParentNodeName: (trees: import("naive-ui").TreeOption[], temp: any) => import("naive-ui").TreeOption[];
318
- setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
319
- setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
320
- setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
374
+ transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
321
375
  searchSetting: () => string;
322
376
  onSearch: () => Promise<void>;
323
377
  setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
@@ -327,11 +381,9 @@ declare const _default: import("vue").DefineComponent<{
327
381
  uniq: (arr: {
328
382
  [key: string]: any;
329
383
  key: string | number;
330
- name: string;
331
384
  }[]) => {
332
385
  [key: string]: any;
333
386
  key: string | number;
334
- name: string;
335
387
  }[];
336
388
  setTagData: (tree: import("naive-ui").TreeOption[]) => void;
337
389
  updateTreeChecked: (keys: (string | number)[]) => void;
@@ -340,15 +392,10 @@ declare const _default: import("vue").DefineComponent<{
340
392
  closeTag: (tag: {
341
393
  [key: string]: any;
342
394
  key: string | number;
343
- name: string;
344
395
  }) => void;
345
396
  notifyCheck: (keys: (string | number)[]) => void;
346
397
  notifySearchClear: () => void;
347
- getCheckWithLevel: () => {
348
- [x: string]: any;
349
- key: string | number;
350
- name: string;
351
- }[];
398
+ getCheckWithLevel: () => any;
352
399
  NButton: any;
353
400
  NInput: any;
354
401
  NInputGroup: import("vue").DefineComponent<{
@@ -364,6 +411,7 @@ declare const _default: import("vue").DefineComponent<{
364
411
  }>>, {}>;
365
412
  NCheckbox: any;
366
413
  NTree: any;
414
+ NTag: any;
367
415
  NIcon: any;
368
416
  NSpace: any;
369
417
  NGrid: any;
@@ -417,6 +465,7 @@ declare const _default: import("vue").DefineComponent<{
417
465
  readonly suffix: boolean;
418
466
  readonly privateShow: boolean;
419
467
  }>;
468
+ NEmpty: any;
420
469
  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<{}>>, {}>;
421
470
  SearchMultiple: import("vue").DefineComponent<{
422
471
  treeData: {
@@ -686,7 +735,6 @@ declare const _default: import("vue").DefineComponent<{
686
735
  type: PropType<((string | number) | {
687
736
  [key: string]: any;
688
737
  key: string | number;
689
- name: string;
690
738
  })[]>;
691
739
  default: () => never[];
692
740
  };
@@ -706,6 +754,7 @@ declare const _default: import("vue").DefineComponent<{
706
754
  };
707
755
  wordbook: {
708
756
  type: PropType<{
757
+ [key: string]: any;
709
758
  parent_id_obj: string | number;
710
759
  parent_name_obj: string | number;
711
760
  user_count_obj?: string | number | undefined;
@@ -755,6 +804,24 @@ declare const _default: import("vue").DefineComponent<{
755
804
  type: PropType<(keyWork: string) => Promise<import("../../..").AnyObject[]>>;
756
805
  default: () => Promise<never[]>;
757
806
  };
807
+ showSelectType: {
808
+ type: BooleanConstructor;
809
+ default: boolean;
810
+ };
811
+ roleData: {
812
+ type: PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
813
+ [k: string]: unknown;
814
+ } & import("../../..").AnyObject)[]>;
815
+ default: () => never[];
816
+ };
817
+ roleFields: {
818
+ type: ObjectConstructor;
819
+ default: () => {
820
+ label: string;
821
+ key: string;
822
+ children: string;
823
+ };
824
+ };
758
825
  }>> & {
759
826
  onCheck?: ((...args: any[]) => any) | undefined;
760
827
  onCheckWithLevel?: ((...args: any[]) => any) | undefined;
@@ -765,11 +832,11 @@ declare const _default: import("vue").DefineComponent<{
765
832
  defaultList: ((string | number) | {
766
833
  [key: string]: any;
767
834
  key: string | number;
768
- name: string;
769
835
  })[];
770
836
  searchPlaceholder: string;
771
837
  searchButtonText: string;
772
838
  wordbook: {
839
+ [key: string]: any;
773
840
  parent_id_obj: string | number;
774
841
  parent_name_obj: string | number;
775
842
  user_count_obj?: string | number | undefined;
@@ -790,6 +857,11 @@ declare const _default: import("vue").DefineComponent<{
790
857
  } & import("../../..").AnyObject;
791
858
  queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../..").AnyObject>;
792
859
  queryTreeSearch: (keyWork: string) => Promise<import("../../..").AnyObject[]>;
860
+ showSelectType: boolean;
861
+ roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
862
+ [k: string]: unknown;
863
+ } & import("../../..").AnyObject)[];
864
+ roleFields: Record<string, any>;
793
865
  }>>;
794
866
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
795
867
  visible: {
@@ -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: {