@jari-ace/element-plus-component 0.2.0 → 0.2.2

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 (149) hide show
  1. package/README.md +1 -18
  2. package/dist/components/form/JaForm.vue.d.ts +3 -0
  3. package/dist/components/form/JaForm.vue.d.ts.map +1 -1
  4. package/dist/components/form/JaForm.vue.js +22 -68
  5. package/dist/components/form/JaForm.vue.js.map +1 -1
  6. package/dist/components/formItem/JaFormItem.vue.d.ts +4 -0
  7. package/dist/components/formItem/JaFormItem.vue.d.ts.map +1 -1
  8. package/dist/components/formItem/JaFormItem.vue.js +26 -8
  9. package/dist/components/formItem/JaFormItem.vue.js.map +1 -1
  10. package/dist/components/userPicker/src/JaUserList.vue.d.ts.map +1 -1
  11. package/dist/components/userPicker/src/JaUserList.vue.js +41 -7
  12. package/dist/components/userPicker/src/JaUserList.vue.js.map +1 -1
  13. package/dist/components/userPicker/src/JaUserPicker.vue.d.ts +9 -2
  14. package/dist/components/userPicker/src/JaUserPicker.vue.d.ts.map +1 -1
  15. package/dist/components/userPicker/src/JaUserPicker.vue.js +7 -2
  16. package/dist/components/userPicker/src/JaUserPicker.vue.js.map +1 -1
  17. package/dist/components/userPicker/src/UserPicker.vue.d.ts +33 -112
  18. package/dist/components/userPicker/src/UserPicker.vue.d.ts.map +1 -1
  19. package/dist/components/userPicker/src/UserPicker.vue.js +262 -288
  20. package/dist/components/userPicker/src/UserPicker.vue.js.map +1 -1
  21. package/dist/index.d.ts +3 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +3 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/utils/formUtils.d.ts +7 -0
  26. package/dist/utils/formUtils.d.ts.map +1 -0
  27. package/dist/utils/formUtils.js +54 -0
  28. package/dist/utils/formUtils.js.map +1 -0
  29. package/lib/index.css +1 -1
  30. package/lib/index.js +1904 -1830
  31. package/lib/index.umd.cjs +2 -2
  32. package/package.json +61 -61
  33. package/packages/components/autoComplete/JaAutoComplete.vue +47 -47
  34. package/packages/components/autoComplete/index.ts +5 -5
  35. package/packages/components/avatar/JaAvatar.vue +126 -126
  36. package/packages/components/avatar/avatarToken.ts +11 -11
  37. package/packages/components/avatar/defaultImg.ts +14 -14
  38. package/packages/components/avatar/index.ts +7 -7
  39. package/packages/components/button/JaButton.vue +51 -51
  40. package/packages/components/button/index.ts +4 -4
  41. package/packages/components/channelPicker/index.ts +7 -7
  42. package/packages/components/channelPicker/src/ChannelPicker.vue +43 -43
  43. package/packages/components/channelPicker/src/JaChannelPicker.vue +42 -42
  44. package/packages/components/checkbox/JaCheckbox.vue +73 -73
  45. package/packages/components/checkbox/index.ts +4 -4
  46. package/packages/components/checkboxGroup/JaCheckboxGroup.vue +45 -45
  47. package/packages/components/checkboxGroup/index.ts +4 -4
  48. package/packages/components/customGroupTree/index.ts +10 -10
  49. package/packages/components/customGroupTree/src/customGroupTree.vue +91 -91
  50. package/packages/components/datePicker/JaDatePicker.vue +52 -52
  51. package/packages/components/datePicker/index.ts +4 -4
  52. package/packages/components/departmentPicker/index.ts +4 -4
  53. package/packages/components/departmentPicker/src/DepartmentPicker.vue +107 -107
  54. package/packages/components/departmentPicker/src/consts.ts +2 -2
  55. package/packages/components/departmentTree/index.ts +10 -10
  56. package/packages/components/departmentTree/src/departmentTree.vue +135 -135
  57. package/packages/components/dropdownButton/JaDropdownButton.vue +59 -59
  58. package/packages/components/dropdownButton/index.ts +4 -4
  59. package/packages/components/enumList/EnumListInput.vue +107 -107
  60. package/packages/components/enumList/JaEnumList.vue +39 -39
  61. package/packages/components/enumList/index.ts +7 -7
  62. package/packages/components/enumPicker/index.ts +5 -5
  63. package/packages/components/enumPicker/src/EnumPicker.vue +103 -103
  64. package/packages/components/form/JaForm.vue +146 -186
  65. package/packages/components/form/index.ts +5 -5
  66. package/packages/components/form/types.ts +4 -4
  67. package/packages/components/formItem/JaFormItem.vue +87 -68
  68. package/packages/components/formItem/index.ts +4 -4
  69. package/packages/components/index.ts +34 -34
  70. package/packages/components/input/JaInput.vue +143 -143
  71. package/packages/components/input/index.ts +4 -4
  72. package/packages/components/inputI18n/I18nBundleEditor.vue +76 -76
  73. package/packages/components/inputI18n/InputI18n.vue +146 -146
  74. package/packages/components/inputI18n/JaInputI18n.vue +50 -50
  75. package/packages/components/inputI18n/index.ts +8 -8
  76. package/packages/components/inputNumber/JaInputNumber.vue +98 -98
  77. package/packages/components/inputNumber/index.ts +4 -4
  78. package/packages/components/mapItemList/JaMapItemList.vue +35 -35
  79. package/packages/components/mapItemList/MapItemListInput.vue +191 -191
  80. package/packages/components/mapItemList/index.ts +7 -7
  81. package/packages/components/numberList/JaNumberList.vue +36 -36
  82. package/packages/components/numberList/NumberListInput.vue +111 -111
  83. package/packages/components/numberList/index.ts +7 -7
  84. package/packages/components/properyPicker/JaPropertyPicker.vue +38 -38
  85. package/packages/components/properyPicker/PropertyPicker.vue +314 -314
  86. package/packages/components/properyPicker/index.ts +7 -7
  87. package/packages/components/radioGroup/JaRadioGroup.vue +50 -50
  88. package/packages/components/radioGroup/index.ts +4 -4
  89. package/packages/components/rolePicker/RoleEditor.vue +129 -129
  90. package/packages/components/rolePicker/RolePicker.vue +44 -44
  91. package/packages/components/rolePicker/RolePickerRaw.vue +56 -56
  92. package/packages/components/rolePicker/baseRolePicker.vue +87 -87
  93. package/packages/components/rolePicker/index.ts +10 -10
  94. package/packages/components/scrollbar/Scrollbar.vue +89 -89
  95. package/packages/components/scrollbar/index.ts +5 -5
  96. package/packages/components/scrollbar/utils.ts +17 -17
  97. package/packages/components/select/JaSelect.vue +48 -48
  98. package/packages/components/select/index.ts +4 -4
  99. package/packages/components/stringList/JaStringList.vue +36 -36
  100. package/packages/components/stringList/StringListInput.vue +96 -96
  101. package/packages/components/stringList/index.ts +7 -7
  102. package/packages/components/switch/JaSwitch.vue +50 -50
  103. package/packages/components/switch/index.ts +4 -4
  104. package/packages/components/timePicker/JaTimePicker.vue +52 -52
  105. package/packages/components/timePicker/index.ts +5 -5
  106. package/packages/components/tip/index.ts +4 -4
  107. package/packages/components/tip/src/AceTip.vue +43 -43
  108. package/packages/components/upload/index.ts +6 -6
  109. package/packages/components/upload/src/Upload.vue +25 -25
  110. package/packages/components/upload/src/type.ts +3 -3
  111. package/packages/components/userGroupPicker/index.ts +4 -4
  112. package/packages/components/userGroupPicker/src/UserGroupPicker.vue +94 -94
  113. package/packages/components/userGroupTree/index.ts +10 -10
  114. package/packages/components/userGroupTree/src/userGroupTree.vue +149 -149
  115. package/packages/components/userPicker/index.ts +10 -10
  116. package/packages/components/userPicker/src/CustomGroupManager.vue +189 -189
  117. package/packages/components/userPicker/src/JaUserList.vue +317 -283
  118. package/packages/components/userPicker/src/JaUserPicker.vue +40 -37
  119. package/packages/components/userPicker/src/UserPicker.vue +472 -376
  120. package/packages/components/userSelectDialog/index.ts +6 -6
  121. package/packages/components/userSelectDialog/src/userSelectDialog.vue +462 -462
  122. package/packages/components/userTag/UserInfoTag.vue +397 -397
  123. package/packages/components/userTag/index.ts +6 -6
  124. package/packages/components/userTag/sharedAxios.ts +8 -8
  125. package/packages/directives/auth/index.ts +41 -41
  126. package/packages/directives/autofocus/index.ts +29 -29
  127. package/packages/directives/index.ts +10 -10
  128. package/packages/directives/shortcut/index.ts +192 -192
  129. package/packages/hooks/useAppInstances.ts +34 -34
  130. package/packages/hooks/useBackendValidations.ts +81 -81
  131. package/packages/hooks/useBridage.ts +157 -157
  132. package/packages/hooks/useClassificationLevels.ts +62 -62
  133. package/packages/hooks/useDateTimeShortCuts.ts +65 -65
  134. package/packages/hooks/useRealms.ts +28 -28
  135. package/packages/hooks/useTreeData.ts +45 -45
  136. package/packages/hooks/useUserRefQuery.ts +232 -232
  137. package/packages/index.ts +24 -21
  138. package/packages/list.json +7 -7
  139. package/packages/types/custom.d.ts +13 -13
  140. package/packages/types/window.d.ts +16 -16
  141. package/packages/utils/formUtils.ts +57 -0
  142. package/packages/utils/install.ts +43 -43
  143. package/packages/utils/objectUtils.ts +31 -31
  144. package/theme-style/fonts/iconfont.json +5196 -5196
  145. package/theme-style/index.scss +10 -10
  146. package/theme-style/styles/element-plus-var.scss +1419 -1419
  147. package/theme-style/styles/iconfont.css +2979 -2979
  148. package/theme-style/styles/theme-var.scss +72 -72
  149. package/theme-style/styles/transition.scss +122 -122
@@ -1,4 +1,4 @@
1
- import { ElButton, ElIcon, ElInput, ElPopover, ElText, ElSpace } from "element-plus";
1
+ import { ElButton, ElIcon, ElInput, ElPopover, ElText, ElSpace, } from "element-plus";
2
2
  import { computed, ref, shallowRef, watch } from "vue";
3
3
  import { Delete, Finished, Notebook, Plus, Search, Setting, StarFilled } from "@element-plus/icons-vue";
4
4
  import { createAxiosWithoutCache, QUser, useLoginUser, useUserApi, useUserQueryBuilder } from "@jari-ace/app-bolts";
@@ -11,44 +11,54 @@ import { JaScrollbar } from "../../scrollbar";
11
11
  import CustomGroupManager from "./CustomGroupManager.vue";
12
12
  import JaUserList from "./JaUserList.vue";
13
13
  import { useRealms } from '../../../hooks/useRealms';
14
- const props = defineProps({
15
- /**
16
- * 可选择用户的用户域ID
17
- */
18
- realmId: { type: String, required: false },
19
- /**
20
- * 弹出下拉选框的快捷键
21
- */
22
- shortcut: { type: String, required: false, default: "Ctrl+Alt+U" },
23
- /**
24
- * 是否多选模式
25
- */
26
- multiple: { type: Boolean, required: false, default: false },
27
- /**
28
- * 密级过滤
29
- */
30
- classificationLevel: { type: Number, required: false, default: false },
31
- /**
32
- * 自定义筛选过滤条件,可以在此回调方法内使用qUser参数构造自定义的查询条件。例如 qUser => qUser.fullName.startWith('王')
33
- */
34
- customFilter: {
35
- type: Function,
36
- required: false
37
- },
38
- /**
39
- * 最多显示多少已选中的用户数量
40
- */
41
- maxShowCount: { type: Number, required: false, default: 20 },
42
- /**
43
- * 高度,默认100%
44
- */
45
- height: { type: [Number, String], required: false, default: '100%' },
46
- /**
47
- * 最大高度
48
- */
49
- maxHeight: { type: [Number, String], required: false },
14
+ const props = withDefaults(defineProps(), {
15
+ trigger: 'hover',
16
+ shortcut: "Ctrl+Alt+U",
17
+ multiple: false,
18
+ classificationLevel: 0,
19
+ maxShowCount: 20,
20
+ maxHeight: '100%',
21
+ showUserTag: true,
50
22
  });
23
+ // const props = defineProps({
24
+ /**
25
+ * 可选择用户的用户域ID
26
+ */
27
+ // realmId: {type: String, required: false},
28
+ /**
29
+ * 弹出下拉选框的快捷键
30
+ */
31
+ // shortcut: {type: String, required: false, default: "Ctrl+Alt+U"},
32
+ /**
33
+ * 是否多选模式
34
+ */
35
+ // multiple: {type: Boolean, required: false, default: false},
36
+ /**
37
+ * 密级过滤
38
+ */
39
+ // classificationLevel: {type: Number, required: false, default: 0},
40
+ /**
41
+ * 自定义筛选过滤条件,可以在此回调方法内使用qUser参数构造自定义的查询条件。例如 qUser => qUser.fullName.startWith('王')
42
+ */
43
+ // customFilter: {
44
+ // type: Function as PropType<(qUser: InstanceType<typeof QUser>) => BooleanResultExpression>,
45
+ // required: false
46
+ // },
47
+ /**
48
+ * 最多显示多少已选中的用户数量
49
+ */
50
+ // maxShowCount: {type: Number, required: false, default: 20},
51
+ /**
52
+ * 高度,默认100%
53
+ */
54
+ // height: {type: [Number, String], required: false, default: '100%'},
55
+ /**
56
+ * 最大高度
57
+ */
58
+ // maxHeight: {type: [Number, String], required: false},
59
+ // })
51
60
  const localRealmId = ref();
61
+ const bookmarkDropdown = ref();
52
62
  async function loadRealmId() {
53
63
  if (props.realmId) {
54
64
  localRealmId.value = props.realmId;
@@ -100,7 +110,15 @@ function switchUserSelect(u) {
100
110
  }
101
111
  }
102
112
  else {
103
- selectedUsers.value = u;
113
+ if (Array.isArray(selectedUsers.value)) {
114
+ throw new Error("UserPicker组件设置为单选模式时,v-model必须绑定UserReference对象或者null");
115
+ }
116
+ if (selectedUsers.value !== null && u.id === selectedUsers.value.id) {
117
+ selectedUsers.value = null;
118
+ }
119
+ else {
120
+ selectedUsers.value = u;
121
+ }
104
122
  }
105
123
  }
106
124
  function onPopoverShow() {
@@ -123,6 +141,7 @@ function onPopoverShow() {
123
141
  }, 300);
124
142
  }
125
143
  function onPopoverHide() {
144
+ popoverVisible.value = false;
126
145
  btn.value?.$el.focus();
127
146
  }
128
147
  function onSaveToCustomGroupClick() {
@@ -188,11 +207,23 @@ function showUserSelectDialog() {
188
207
  dialogUserSelector.value?.show();
189
208
  popoverVisible.value = false;
190
209
  }
210
+ function handleMouseOver() {
211
+ popoverVisible.value = true;
212
+ }
191
213
  const selectedUsersForRender = computed(() => selectedForBinding.value.slice(0, props.maxShowCount));
192
214
  watch(() => props.classificationLevel, () => {
193
215
  queryParams.value.classificationLevel = props.classificationLevel;
194
216
  });
195
217
  debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
218
+ const __VLS_withDefaultsArg = (function (t) { return t; })({
219
+ trigger: 'hover',
220
+ shortcut: "Ctrl+Alt+U",
221
+ multiple: false,
222
+ classificationLevel: 0,
223
+ maxShowCount: 20,
224
+ maxHeight: '100%',
225
+ showUserTag: true,
226
+ });
196
227
  const __VLS_defaults = {};
197
228
  const __VLS_modelEmit = defineEmits();
198
229
  const __VLS_ctx = {};
@@ -225,17 +256,19 @@ const __VLS_5 = __VLS_asFunctionalComponent(__VLS_4, new __VLS_4({
225
256
  ...{ 'onShow': {} },
226
257
  ...{ 'onHide': {} },
227
258
  ref: "bookmarkDropdown",
259
+ visible: (__VLS_ctx.popoverVisible),
228
260
  width: "auto",
229
261
  teleported: true,
230
- visible: (__VLS_ctx.popoverVisible),
262
+ trigger: (props.trigger),
231
263
  }));
232
264
  const __VLS_6 = __VLS_5({
233
265
  ...{ 'onShow': {} },
234
266
  ...{ 'onHide': {} },
235
267
  ref: "bookmarkDropdown",
268
+ visible: (__VLS_ctx.popoverVisible),
236
269
  width: "auto",
237
270
  teleported: true,
238
- visible: (__VLS_ctx.popoverVisible),
271
+ trigger: (props.trigger),
239
272
  }, ...__VLS_functionalComponentArgsRest(__VLS_5));
240
273
  let __VLS_8;
241
274
  let __VLS_9;
@@ -251,34 +284,40 @@ var __VLS_13 = {};
251
284
  __VLS_7.slots.default;
252
285
  {
253
286
  const { reference: __VLS_thisSlot } = __VLS_7.slots;
254
- const __VLS_15 = {}.ElButton;
255
- /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
256
- // @ts-ignore
257
- const __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({
258
- ...{ 'onMouseover': {} },
259
- circle: true,
260
- icon: (__VLS_ctx.Plus),
261
- size: ('small'),
262
- ref: "btn",
263
- }));
264
- const __VLS_17 = __VLS_16({
265
- ...{ 'onMouseover': {} },
266
- circle: true,
267
- icon: (__VLS_ctx.Plus),
268
- size: ('small'),
269
- ref: "btn",
270
- }, ...__VLS_functionalComponentArgsRest(__VLS_16));
271
- let __VLS_19;
272
- let __VLS_20;
273
- let __VLS_21;
274
- const __VLS_22 = {
275
- onMouseover: (...[$event]) => {
276
- __VLS_ctx.popoverVisible = true;
277
- }
278
- };
279
- /** @type {typeof __VLS_ctx.btn} */ ;
280
- var __VLS_23 = {};
281
- var __VLS_18;
287
+ __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
288
+ ...{ style: {} },
289
+ });
290
+ if (__VLS_ctx.$slots.default) {
291
+ var __VLS_15 = {};
292
+ }
293
+ else {
294
+ const __VLS_17 = {}.ElButton;
295
+ /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
296
+ // @ts-ignore
297
+ const __VLS_18 = __VLS_asFunctionalComponent(__VLS_17, new __VLS_17({
298
+ ...{ 'onMouseover': {} },
299
+ circle: true,
300
+ icon: (__VLS_ctx.Plus),
301
+ size: ('small'),
302
+ ref: "btn",
303
+ }));
304
+ const __VLS_19 = __VLS_18({
305
+ ...{ 'onMouseover': {} },
306
+ circle: true,
307
+ icon: (__VLS_ctx.Plus),
308
+ size: ('small'),
309
+ ref: "btn",
310
+ }, ...__VLS_functionalComponentArgsRest(__VLS_18));
311
+ let __VLS_21;
312
+ let __VLS_22;
313
+ let __VLS_23;
314
+ const __VLS_24 = {
315
+ onMouseover: (__VLS_ctx.handleMouseOver)
316
+ };
317
+ /** @type {typeof __VLS_ctx.btn} */ ;
318
+ var __VLS_25 = {};
319
+ var __VLS_20;
320
+ }
282
321
  }
283
322
  {
284
323
  const { default: __VLS_thisSlot } = __VLS_7.slots;
@@ -288,20 +327,20 @@ __VLS_7.slots.default;
288
327
  __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
289
328
  ...{ style: {} },
290
329
  });
291
- const __VLS_25 = {}.ElSpace;
330
+ const __VLS_27 = {}.ElSpace;
292
331
  /** @type {[typeof __VLS_components.ElSpace, typeof __VLS_components.elSpace, typeof __VLS_components.ElSpace, typeof __VLS_components.elSpace, ]} */ ;
293
332
  // @ts-ignore
294
- const __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25({
333
+ const __VLS_28 = __VLS_asFunctionalComponent(__VLS_27, new __VLS_27({
295
334
  ...{ style: {} },
296
335
  }));
297
- const __VLS_27 = __VLS_26({
336
+ const __VLS_29 = __VLS_28({
298
337
  ...{ style: {} },
299
- }, ...__VLS_functionalComponentArgsRest(__VLS_26));
300
- __VLS_28.slots.default;
301
- const __VLS_29 = {}.JaButton;
338
+ }, ...__VLS_functionalComponentArgsRest(__VLS_28));
339
+ __VLS_30.slots.default;
340
+ const __VLS_31 = {}.JaButton;
302
341
  /** @type {[typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, ]} */ ;
303
342
  // @ts-ignore
304
- const __VLS_30 = __VLS_asFunctionalComponent(__VLS_29, new __VLS_29({
343
+ const __VLS_32 = __VLS_asFunctionalComponent(__VLS_31, new __VLS_31({
305
344
  ...{ 'onClick': {} },
306
345
  circle: true,
307
346
  size: "small",
@@ -311,7 +350,7 @@ __VLS_7.slots.default;
311
350
  shortcut: "Ctrl+Alt+I",
312
351
  icon: (__VLS_ctx.Notebook),
313
352
  }));
314
- const __VLS_31 = __VLS_30({
353
+ const __VLS_33 = __VLS_32({
315
354
  ...{ 'onClick': {} },
316
355
  circle: true,
317
356
  size: "small",
@@ -320,18 +359,18 @@ __VLS_7.slots.default;
320
359
  tooltip: "对话框筛选(大批量选择)",
321
360
  shortcut: "Ctrl+Alt+I",
322
361
  icon: (__VLS_ctx.Notebook),
323
- }, ...__VLS_functionalComponentArgsRest(__VLS_30));
324
- let __VLS_33;
325
- let __VLS_34;
362
+ }, ...__VLS_functionalComponentArgsRest(__VLS_32));
326
363
  let __VLS_35;
327
- const __VLS_36 = {
364
+ let __VLS_36;
365
+ let __VLS_37;
366
+ const __VLS_38 = {
328
367
  onClick: (__VLS_ctx.showUserSelectDialog)
329
368
  };
330
- var __VLS_32;
331
- const __VLS_37 = {}.JaButton;
369
+ var __VLS_34;
370
+ const __VLS_39 = {}.JaButton;
332
371
  /** @type {[typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, ]} */ ;
333
372
  // @ts-ignore
334
- const __VLS_38 = __VLS_asFunctionalComponent(__VLS_37, new __VLS_37({
373
+ const __VLS_40 = __VLS_asFunctionalComponent(__VLS_39, new __VLS_39({
335
374
  ...{ 'onClick': {} },
336
375
  circle: true,
337
376
  size: "small",
@@ -341,7 +380,7 @@ __VLS_7.slots.default;
341
380
  tooltip: "清空选择",
342
381
  shortcut: "Alt+C",
343
382
  }));
344
- const __VLS_39 = __VLS_38({
383
+ const __VLS_41 = __VLS_40({
345
384
  ...{ 'onClick': {} },
346
385
  circle: true,
347
386
  size: "small",
@@ -350,19 +389,19 @@ __VLS_7.slots.default;
350
389
  icon: (__VLS_ctx.Delete),
351
390
  tooltip: "清空选择",
352
391
  shortcut: "Alt+C",
353
- }, ...__VLS_functionalComponentArgsRest(__VLS_38));
354
- let __VLS_41;
355
- let __VLS_42;
392
+ }, ...__VLS_functionalComponentArgsRest(__VLS_40));
356
393
  let __VLS_43;
357
- const __VLS_44 = {
394
+ let __VLS_44;
395
+ let __VLS_45;
396
+ const __VLS_46 = {
358
397
  onClick: (__VLS_ctx.clearSelection)
359
398
  };
360
- var __VLS_40;
399
+ var __VLS_42;
361
400
  if (props.multiple) {
362
- const __VLS_45 = {}.JaButton;
401
+ const __VLS_47 = {}.JaButton;
363
402
  /** @type {[typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, ]} */ ;
364
403
  // @ts-ignore
365
- const __VLS_46 = __VLS_asFunctionalComponent(__VLS_45, new __VLS_45({
404
+ const __VLS_48 = __VLS_asFunctionalComponent(__VLS_47, new __VLS_47({
366
405
  ...{ 'onClick': {} },
367
406
  circle: true,
368
407
  size: "small",
@@ -372,7 +411,7 @@ __VLS_7.slots.default;
372
411
  tooltip: "全选(已加载的数据)",
373
412
  shortcut: "Ctrl+A",
374
413
  }));
375
- const __VLS_47 = __VLS_46({
414
+ const __VLS_49 = __VLS_48({
376
415
  ...{ 'onClick': {} },
377
416
  circle: true,
378
417
  size: "small",
@@ -381,19 +420,19 @@ __VLS_7.slots.default;
381
420
  icon: (__VLS_ctx.Finished),
382
421
  tooltip: "全选(已加载的数据)",
383
422
  shortcut: "Ctrl+A",
384
- }, ...__VLS_functionalComponentArgsRest(__VLS_46));
385
- let __VLS_49;
386
- let __VLS_50;
423
+ }, ...__VLS_functionalComponentArgsRest(__VLS_48));
387
424
  let __VLS_51;
388
- const __VLS_52 = {
425
+ let __VLS_52;
426
+ let __VLS_53;
427
+ const __VLS_54 = {
389
428
  onClick: (__VLS_ctx.selectAll)
390
429
  };
391
- var __VLS_48;
430
+ var __VLS_50;
392
431
  }
393
- const __VLS_53 = {}.JaButton;
432
+ const __VLS_55 = {}.JaButton;
394
433
  /** @type {[typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, typeof __VLS_components.JaButton, typeof __VLS_components.jaButton, ]} */ ;
395
434
  // @ts-ignore
396
- const __VLS_54 = __VLS_asFunctionalComponent(__VLS_53, new __VLS_53({
435
+ const __VLS_56 = __VLS_asFunctionalComponent(__VLS_55, new __VLS_55({
397
436
  ...{ 'onClick': {} },
398
437
  circle: true,
399
438
  size: "small",
@@ -402,7 +441,7 @@ __VLS_7.slots.default;
402
441
  plain: true,
403
442
  tooltip: "将已选中用户保存为自定义组,方便以后选择使用",
404
443
  }));
405
- const __VLS_55 = __VLS_54({
444
+ const __VLS_57 = __VLS_56({
406
445
  ...{ 'onClick': {} },
407
446
  circle: true,
408
447
  size: "small",
@@ -410,23 +449,23 @@ __VLS_7.slots.default;
410
449
  icon: (__VLS_ctx.Setting),
411
450
  plain: true,
412
451
  tooltip: "将已选中用户保存为自定义组,方便以后选择使用",
413
- }, ...__VLS_functionalComponentArgsRest(__VLS_54));
414
- let __VLS_57;
415
- let __VLS_58;
452
+ }, ...__VLS_functionalComponentArgsRest(__VLS_56));
416
453
  let __VLS_59;
417
- const __VLS_60 = {
454
+ let __VLS_60;
455
+ let __VLS_61;
456
+ const __VLS_62 = {
418
457
  onClick: (__VLS_ctx.onSaveToCustomGroupClick)
419
458
  };
420
- var __VLS_56;
421
- var __VLS_28;
459
+ var __VLS_58;
460
+ var __VLS_30;
422
461
  __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
423
462
  ...{ style: {} },
424
463
  });
425
464
  (props.shortcut);
426
- const __VLS_61 = {}.ElInput;
465
+ const __VLS_63 = {}.ElInput;
427
466
  /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
428
467
  // @ts-ignore
429
- const __VLS_62 = __VLS_asFunctionalComponent(__VLS_61, new __VLS_61({
468
+ const __VLS_64 = __VLS_asFunctionalComponent(__VLS_63, new __VLS_63({
430
469
  ...{ 'onKeydown': {} },
431
470
  ...{ 'onKeydown': {} },
432
471
  ...{ 'onKeydown': {} },
@@ -436,7 +475,7 @@ __VLS_7.slots.default;
436
475
  placeholder: "请输入拼音名、姓名或手机号查询",
437
476
  autocomplete: "off",
438
477
  }));
439
- const __VLS_63 = __VLS_62({
478
+ const __VLS_65 = __VLS_64({
440
479
  ...{ 'onKeydown': {} },
441
480
  ...{ 'onKeydown': {} },
442
481
  ...{ 'onKeydown': {} },
@@ -445,198 +484,206 @@ __VLS_7.slots.default;
445
484
  suffixIcon: (__VLS_ctx.Search),
446
485
  placeholder: "请输入拼音名、姓名或手机号查询",
447
486
  autocomplete: "off",
448
- }, ...__VLS_functionalComponentArgsRest(__VLS_62));
449
- let __VLS_65;
450
- let __VLS_66;
487
+ }, ...__VLS_functionalComponentArgsRest(__VLS_64));
451
488
  let __VLS_67;
452
- const __VLS_68 = {
489
+ let __VLS_68;
490
+ let __VLS_69;
491
+ const __VLS_70 = {
453
492
  onKeydown: (__VLS_ctx.onInputKeyEnter)
454
493
  };
455
- const __VLS_69 = {
494
+ const __VLS_71 = {
456
495
  onKeydown: (__VLS_ctx.onInputArrowUp)
457
496
  };
458
- const __VLS_70 = {
497
+ const __VLS_72 = {
459
498
  onKeydown: (__VLS_ctx.onInputArrowDown)
460
499
  };
461
500
  /** @type {typeof __VLS_ctx.inputSearchText} */ ;
462
- var __VLS_71 = {};
463
- var __VLS_64;
501
+ var __VLS_73 = {};
502
+ var __VLS_66;
464
503
  __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
465
504
  ...{ class: "dropdown-header" },
466
505
  });
467
- const __VLS_73 = {}.ElText;
506
+ const __VLS_75 = {}.ElText;
468
507
  /** @type {[typeof __VLS_components.ElText, typeof __VLS_components.elText, typeof __VLS_components.ElText, typeof __VLS_components.elText, ]} */ ;
469
508
  // @ts-ignore
470
- const __VLS_74 = __VLS_asFunctionalComponent(__VLS_73, new __VLS_73({}));
471
- const __VLS_75 = __VLS_74({}, ...__VLS_functionalComponentArgsRest(__VLS_74));
472
- __VLS_76.slots.default;
509
+ const __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({}));
510
+ const __VLS_77 = __VLS_76({}, ...__VLS_functionalComponentArgsRest(__VLS_76));
511
+ __VLS_78.slots.default;
473
512
  if (__VLS_ctx.queryParams.name && __VLS_ctx.queryParams.name.length > __VLS_ctx.minLengthToTriggerUserQuery) {
474
- const __VLS_77 = {}.ElIcon;
513
+ const __VLS_79 = {}.ElIcon;
475
514
  /** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
476
515
  // @ts-ignore
477
- const __VLS_78 = __VLS_asFunctionalComponent(__VLS_77, new __VLS_77({}));
478
- const __VLS_79 = __VLS_78({}, ...__VLS_functionalComponentArgsRest(__VLS_78));
479
- __VLS_80.slots.default;
480
- const __VLS_81 = {}.Search;
516
+ const __VLS_80 = __VLS_asFunctionalComponent(__VLS_79, new __VLS_79({}));
517
+ const __VLS_81 = __VLS_80({}, ...__VLS_functionalComponentArgsRest(__VLS_80));
518
+ __VLS_82.slots.default;
519
+ const __VLS_83 = {}.Search;
481
520
  /** @type {[typeof __VLS_components.Search, typeof __VLS_components.Search, ]} */ ;
482
521
  // @ts-ignore
483
- const __VLS_82 = __VLS_asFunctionalComponent(__VLS_81, new __VLS_81({}));
484
- const __VLS_83 = __VLS_82({}, ...__VLS_functionalComponentArgsRest(__VLS_82));
485
- var __VLS_80;
522
+ const __VLS_84 = __VLS_asFunctionalComponent(__VLS_83, new __VLS_83({}));
523
+ const __VLS_85 = __VLS_84({}, ...__VLS_functionalComponentArgsRest(__VLS_84));
524
+ var __VLS_82;
486
525
  }
487
526
  else {
488
- const __VLS_85 = {}.ElIcon;
527
+ const __VLS_87 = {}.ElIcon;
489
528
  /** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
490
529
  // @ts-ignore
491
- const __VLS_86 = __VLS_asFunctionalComponent(__VLS_85, new __VLS_85({
530
+ const __VLS_88 = __VLS_asFunctionalComponent(__VLS_87, new __VLS_87({
492
531
  color: "#FFBF29",
493
532
  }));
494
- const __VLS_87 = __VLS_86({
533
+ const __VLS_89 = __VLS_88({
495
534
  color: "#FFBF29",
496
- }, ...__VLS_functionalComponentArgsRest(__VLS_86));
497
- __VLS_88.slots.default;
498
- const __VLS_89 = {}.StarFilled;
535
+ }, ...__VLS_functionalComponentArgsRest(__VLS_88));
536
+ __VLS_90.slots.default;
537
+ const __VLS_91 = {}.StarFilled;
499
538
  /** @type {[typeof __VLS_components.StarFilled, typeof __VLS_components.StarFilled, ]} */ ;
500
539
  // @ts-ignore
501
- const __VLS_90 = __VLS_asFunctionalComponent(__VLS_89, new __VLS_89({}));
502
- const __VLS_91 = __VLS_90({}, ...__VLS_functionalComponentArgsRest(__VLS_90));
503
- var __VLS_88;
540
+ const __VLS_92 = __VLS_asFunctionalComponent(__VLS_91, new __VLS_91({}));
541
+ const __VLS_93 = __VLS_92({}, ...__VLS_functionalComponentArgsRest(__VLS_92));
542
+ var __VLS_90;
504
543
  }
505
544
  (__VLS_ctx.queryParams.name && __VLS_ctx.queryParams.name.length
506
545
  > __VLS_ctx.minLengthToTriggerUserQuery ? "查询结果" : "常用人员");
507
- var __VLS_76;
546
+ var __VLS_78;
508
547
  /** @type {[typeof JaUserList, typeof JaUserList, ]} */ ;
509
548
  // @ts-ignore
510
- const __VLS_93 = __VLS_asFunctionalComponent(JaUserList, new JaUserList({
549
+ const __VLS_95 = __VLS_asFunctionalComponent(JaUserList, new JaUserList({
511
550
  ...{ 'onItemClicked': {} },
512
551
  ...{ 'onArrowKeyDown': {} },
513
552
  ref: "userList",
514
553
  total: (__VLS_ctx.queryResult.total),
515
554
  emptyText: (__VLS_ctx.queryParams.name && __VLS_ctx.queryParams.name.length > __VLS_ctx.minLengthToTriggerUserQuery ? undefined : '无可选常用人员'),
516
- multiple: true,
517
555
  pageSize: (__VLS_ctx.pageParams.pageSize),
518
556
  loading: (__VLS_ctx.loading),
519
557
  users: (__VLS_ctx.users),
520
558
  height: (300),
521
559
  modelValue: (__VLS_ctx.selectedUsers),
522
560
  page: (__VLS_ctx.pageParams.currentPage),
561
+ multiple: (props.multiple),
523
562
  }));
524
- const __VLS_94 = __VLS_93({
563
+ const __VLS_96 = __VLS_95({
525
564
  ...{ 'onItemClicked': {} },
526
565
  ...{ 'onArrowKeyDown': {} },
527
566
  ref: "userList",
528
567
  total: (__VLS_ctx.queryResult.total),
529
568
  emptyText: (__VLS_ctx.queryParams.name && __VLS_ctx.queryParams.name.length > __VLS_ctx.minLengthToTriggerUserQuery ? undefined : '无可选常用人员'),
530
- multiple: true,
531
569
  pageSize: (__VLS_ctx.pageParams.pageSize),
532
570
  loading: (__VLS_ctx.loading),
533
571
  users: (__VLS_ctx.users),
534
572
  height: (300),
535
573
  modelValue: (__VLS_ctx.selectedUsers),
536
574
  page: (__VLS_ctx.pageParams.currentPage),
537
- }, ...__VLS_functionalComponentArgsRest(__VLS_93));
538
- let __VLS_96;
539
- let __VLS_97;
575
+ multiple: (props.multiple),
576
+ }, ...__VLS_functionalComponentArgsRest(__VLS_95));
540
577
  let __VLS_98;
541
- const __VLS_99 = {
578
+ let __VLS_99;
579
+ let __VLS_100;
580
+ const __VLS_101 = {
542
581
  onItemClicked: (__VLS_ctx.onArrowKeyDown)
543
582
  };
544
- const __VLS_100 = {
583
+ const __VLS_102 = {
545
584
  onArrowKeyDown: (__VLS_ctx.onArrowKeyDown)
546
585
  };
547
586
  /** @type {typeof __VLS_ctx.userList} */ ;
548
- var __VLS_101 = {};
549
- var __VLS_95;
587
+ var __VLS_103 = {};
588
+ var __VLS_97;
550
589
  }
551
590
  var __VLS_7;
552
- for (const [u] of __VLS_getVForSourceType((__VLS_ctx.selectedUsersForRender))) {
553
- const __VLS_103 = {}.JaUserInfoTag;
554
- /** @type {[typeof __VLS_components.JaUserInfoTag, typeof __VLS_components.jaUserInfoTag, typeof __VLS_components.JaUserInfoTag, typeof __VLS_components.jaUserInfoTag, ]} */ ;
555
- // @ts-ignore
556
- const __VLS_104 = __VLS_asFunctionalComponent(__VLS_103, new __VLS_103({
557
- ...{ 'onClosed': {} },
558
- key: (u.id),
559
- userId: (u.id),
560
- fullName: (u.fullName),
561
- closable: true,
562
- hasAvatar: (u.hasAvatar),
563
- }));
564
- const __VLS_105 = __VLS_104({
565
- ...{ 'onClosed': {} },
566
- key: (u.id),
567
- userId: (u.id),
568
- fullName: (u.fullName),
569
- closable: true,
570
- hasAvatar: (u.hasAvatar),
571
- }, ...__VLS_functionalComponentArgsRest(__VLS_104));
572
- let __VLS_107;
573
- let __VLS_108;
574
- let __VLS_109;
575
- const __VLS_110 = {
576
- onClosed: (__VLS_ctx.onDeselected)
577
- };
578
- var __VLS_106;
579
- }
580
- if (__VLS_ctx.selectedForBinding.length > props.maxShowCount) {
591
+ if (props.showUserTag) {
581
592
  __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
582
- ...{ class: "more-tag" },
593
+ ...{ class: "ja-user-picker__tag-container" },
583
594
  });
584
- (__VLS_ctx.selectedForBinding.length - props.maxShowCount);
585
- }
586
- if (__VLS_ctx.selectedForBinding.length === 0) {
587
- __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({});
588
- const __VLS_111 = {}.ElText;
589
- /** @type {[typeof __VLS_components.ElText, typeof __VLS_components.elText, typeof __VLS_components.ElText, typeof __VLS_components.elText, ]} */ ;
590
- // @ts-ignore
591
- const __VLS_112 = __VLS_asFunctionalComponent(__VLS_111, new __VLS_111({
592
- type: "info",
593
- }));
594
- const __VLS_113 = __VLS_112({
595
- type: "info",
596
- }, ...__VLS_functionalComponentArgsRest(__VLS_112));
597
- __VLS_114.slots.default;
598
- var __VLS_114;
595
+ for (const [u] of __VLS_getVForSourceType((__VLS_ctx.selectedUsersForRender))) {
596
+ const __VLS_105 = {}.JaUserInfoTag;
597
+ /** @type {[typeof __VLS_components.JaUserInfoTag, typeof __VLS_components.jaUserInfoTag, typeof __VLS_components.JaUserInfoTag, typeof __VLS_components.jaUserInfoTag, ]} */ ;
598
+ // @ts-ignore
599
+ const __VLS_106 = __VLS_asFunctionalComponent(__VLS_105, new __VLS_105({
600
+ ...{ 'onClosed': {} },
601
+ key: (u.id),
602
+ userId: (u.id),
603
+ fullName: (u.fullName),
604
+ closable: true,
605
+ hasAvatar: (u.hasAvatar),
606
+ }));
607
+ const __VLS_107 = __VLS_106({
608
+ ...{ 'onClosed': {} },
609
+ key: (u.id),
610
+ userId: (u.id),
611
+ fullName: (u.fullName),
612
+ closable: true,
613
+ hasAvatar: (u.hasAvatar),
614
+ }, ...__VLS_functionalComponentArgsRest(__VLS_106));
615
+ let __VLS_109;
616
+ let __VLS_110;
617
+ let __VLS_111;
618
+ const __VLS_112 = {
619
+ onClosed: (__VLS_ctx.onDeselected)
620
+ };
621
+ var __VLS_108;
622
+ }
623
+ if (__VLS_ctx.selectedForBinding.length > props.maxShowCount) {
624
+ __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
625
+ ...{ class: "more-tag" },
626
+ });
627
+ (__VLS_ctx.selectedForBinding.length - props.maxShowCount);
628
+ }
629
+ if (__VLS_ctx.selectedForBinding.length === 0) {
630
+ __VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({});
631
+ const __VLS_113 = {}.ElText;
632
+ /** @type {[typeof __VLS_components.ElText, typeof __VLS_components.elText, typeof __VLS_components.ElText, typeof __VLS_components.elText, ]} */ ;
633
+ // @ts-ignore
634
+ const __VLS_114 = __VLS_asFunctionalComponent(__VLS_113, new __VLS_113({
635
+ type: "info",
636
+ }));
637
+ const __VLS_115 = __VLS_114({
638
+ type: "info",
639
+ }, ...__VLS_functionalComponentArgsRest(__VLS_114));
640
+ __VLS_116.slots.default;
641
+ var __VLS_116;
642
+ }
599
643
  }
600
- const __VLS_115 = {}.JaUserSelectDialog;
644
+ const __VLS_117 = {}.JaUserSelectDialog;
601
645
  /** @type {[typeof __VLS_components.JaUserSelectDialog, typeof __VLS_components.jaUserSelectDialog, typeof __VLS_components.JaUserSelectDialog, typeof __VLS_components.jaUserSelectDialog, ]} */ ;
602
646
  // @ts-ignore
603
- const __VLS_116 = __VLS_asFunctionalComponent(__VLS_115, new __VLS_115({
647
+ const __VLS_118 = __VLS_asFunctionalComponent(__VLS_117, new __VLS_117({
604
648
  ref: "dialogUserSelector",
605
649
  multiple: (props.multiple),
606
650
  realmId: (__VLS_ctx.localRealmId),
651
+ classificationLevel: (props.classificationLevel),
607
652
  customFilter: (props.customFilter),
608
653
  modelValue: (__VLS_ctx.selectedUsers),
609
654
  }));
610
- const __VLS_117 = __VLS_116({
655
+ const __VLS_119 = __VLS_118({
611
656
  ref: "dialogUserSelector",
612
657
  multiple: (props.multiple),
613
658
  realmId: (__VLS_ctx.localRealmId),
659
+ classificationLevel: (props.classificationLevel),
614
660
  customFilter: (props.customFilter),
615
661
  modelValue: (__VLS_ctx.selectedUsers),
616
- }, ...__VLS_functionalComponentArgsRest(__VLS_116));
662
+ }, ...__VLS_functionalComponentArgsRest(__VLS_118));
617
663
  /** @type {typeof __VLS_ctx.dialogUserSelector} */ ;
618
- var __VLS_119 = {};
619
- var __VLS_118;
664
+ var __VLS_121 = {};
665
+ var __VLS_120;
620
666
  var __VLS_3;
621
667
  /** @type {[typeof CustomGroupManager, typeof CustomGroupManager, ]} */ ;
622
668
  // @ts-ignore
623
- const __VLS_121 = __VLS_asFunctionalComponent(CustomGroupManager, new CustomGroupManager({
669
+ const __VLS_123 = __VLS_asFunctionalComponent(CustomGroupManager, new CustomGroupManager({
624
670
  ref: "dlgCustomGroupManager",
625
671
  users: (Array.isArray(__VLS_ctx.selectedUsers) ? __VLS_ctx.selectedUsers : (__VLS_ctx.selectedUsers ? [__VLS_ctx.selectedUsers] : null)),
626
672
  }));
627
- const __VLS_122 = __VLS_121({
673
+ const __VLS_124 = __VLS_123({
628
674
  ref: "dlgCustomGroupManager",
629
675
  users: (Array.isArray(__VLS_ctx.selectedUsers) ? __VLS_ctx.selectedUsers : (__VLS_ctx.selectedUsers ? [__VLS_ctx.selectedUsers] : null)),
630
- }, ...__VLS_functionalComponentArgsRest(__VLS_121));
676
+ }, ...__VLS_functionalComponentArgsRest(__VLS_123));
631
677
  /** @type {typeof __VLS_ctx.dlgCustomGroupManager} */ ;
632
- var __VLS_124 = {};
633
- var __VLS_123;
678
+ var __VLS_126 = {};
679
+ var __VLS_125;
634
680
  /** @type {__VLS_StyleScopedClasses['ja-user-picker__root']} */ ;
635
681
  /** @type {__VLS_StyleScopedClasses['ja-user-picker-bookmark__dropdown']} */ ;
636
682
  /** @type {__VLS_StyleScopedClasses['dropdown-header']} */ ;
683
+ /** @type {__VLS_StyleScopedClasses['ja-user-picker__tag-container']} */ ;
637
684
  /** @type {__VLS_StyleScopedClasses['more-tag']} */ ;
638
685
  // @ts-ignore
639
- var __VLS_14 = __VLS_13, __VLS_24 = __VLS_23, __VLS_72 = __VLS_71, __VLS_102 = __VLS_101, __VLS_120 = __VLS_119, __VLS_125 = __VLS_124;
686
+ var __VLS_14 = __VLS_13, __VLS_16 = __VLS_15, __VLS_26 = __VLS_25, __VLS_74 = __VLS_73, __VLS_104 = __VLS_103, __VLS_122 = __VLS_121, __VLS_127 = __VLS_126;
640
687
  [__VLS_dollars.$attrs,];
641
688
  var __VLS_dollars;
642
689
  const __VLS_self = (await import('vue')).defineComponent({
@@ -663,6 +710,7 @@ const __VLS_self = (await import('vue')).defineComponent({
663
710
  CustomGroupManager: CustomGroupManager,
664
711
  JaUserList: JaUserList,
665
712
  localRealmId: localRealmId,
713
+ bookmarkDropdown: bookmarkDropdown,
666
714
  minLengthToTriggerUserQuery: minLengthToTriggerUserQuery,
667
715
  users: users,
668
716
  selectedUsers: selectedUsers,
@@ -689,96 +737,22 @@ const __VLS_self = (await import('vue')).defineComponent({
689
737
  onArrowKeyDown: onArrowKeyDown,
690
738
  selectedForBinding: selectedForBinding,
691
739
  showUserSelectDialog: showUserSelectDialog,
740
+ handleMouseOver: handleMouseOver,
692
741
  selectedUsersForRender: selectedUsersForRender,
693
742
  };
694
743
  },
695
744
  __typeEmits: {},
696
- props: {
697
- ...{},
698
- ...{
699
- /**
700
- * 可选择用户的用户域ID
701
- */
702
- realmId: { type: String, required: false },
703
- /**
704
- * 弹出下拉选框的快捷键
705
- */
706
- shortcut: { type: String, required: false, default: "Ctrl+Alt+U" },
707
- /**
708
- * 是否多选模式
709
- */
710
- multiple: { type: Boolean, required: false, default: false },
711
- /**
712
- * 密级过滤
713
- */
714
- classificationLevel: { type: Number, required: false, default: false },
715
- /**
716
- * 自定义筛选过滤条件,可以在此回调方法内使用qUser参数构造自定义的查询条件。例如 qUser => qUser.fullName.startWith('王')
717
- */
718
- customFilter: {
719
- type: Function,
720
- required: false
721
- },
722
- /**
723
- * 最多显示多少已选中的用户数量
724
- */
725
- maxShowCount: { type: Number, required: false, default: 20 },
726
- /**
727
- * 高度,默认100%
728
- */
729
- height: { type: [Number, String], required: false, default: '100%' },
730
- /**
731
- * 最大高度
732
- */
733
- maxHeight: { type: [Number, String], required: false },
734
- },
735
- },
745
+ __typeProps: {},
746
+ props: {},
736
747
  });
737
- export default (await import('vue')).defineComponent({
748
+ const __VLS_component = (await import('vue')).defineComponent({
738
749
  setup() {
739
750
  return {};
740
751
  },
741
752
  __typeEmits: {},
742
- props: {
743
- ...{},
744
- ...{
745
- /**
746
- * 可选择用户的用户域ID
747
- */
748
- realmId: { type: String, required: false },
749
- /**
750
- * 弹出下拉选框的快捷键
751
- */
752
- shortcut: { type: String, required: false, default: "Ctrl+Alt+U" },
753
- /**
754
- * 是否多选模式
755
- */
756
- multiple: { type: Boolean, required: false, default: false },
757
- /**
758
- * 密级过滤
759
- */
760
- classificationLevel: { type: Number, required: false, default: false },
761
- /**
762
- * 自定义筛选过滤条件,可以在此回调方法内使用qUser参数构造自定义的查询条件。例如 qUser => qUser.fullName.startWith('王')
763
- */
764
- customFilter: {
765
- type: Function,
766
- required: false
767
- },
768
- /**
769
- * 最多显示多少已选中的用户数量
770
- */
771
- maxShowCount: { type: Number, required: false, default: 20 },
772
- /**
773
- * 高度,默认100%
774
- */
775
- height: { type: [Number, String], required: false, default: '100%' },
776
- /**
777
- * 最大高度
778
- */
779
- maxHeight: { type: [Number, String], required: false },
780
- },
781
- },
753
+ __typeProps: {},
754
+ props: {},
782
755
  });
756
+ export default {};
783
757
  ; /* PartiallyEnd: #4569/main.vue */
784
758
  //# sourceMappingURL=UserPicker.vue.js.map