yuang-framework-ui-pc 1.1.139 → 1.1.141

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.
@@ -6,7 +6,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
6
6
  type: import('vue').PropType<{}>;
7
7
  default: any;
8
8
  };
9
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ }>, {
10
+ getAttachmentList: () => any;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
12
  change: (frameworkAttachment: FrameworkAttachment) => void;
11
13
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
14
  modelValue: import('vue').PropType<string>;
@@ -3,8 +3,8 @@ import { ElMessageBox } from "element-plus/es";
3
3
  import { EleMessage } from "../utils/message";
4
4
  import EleUploadList from "../ele-upload-list/index";
5
5
  import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
6
- import { application } from "yuang-framework-ui-common/lib/config/applicationConfig";
7
6
  import * as imageConversion from "image-conversion";
7
+ import { deepClone } from "yuang-framework-ui-common/lib/utils/objectUtils";
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  ...{ name: "YuFrameworkAttachmentUpload" },
10
10
  __name: "index",
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  "modelModifiers": {}
16
16
  }),
17
17
  emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
18
- setup(__props, { emit: __emit }) {
18
+ setup(__props, { expose: __expose, emit: __emit }) {
19
19
  const props = __props;
20
20
  const emit = __emit;
21
21
  const modelValue = useModel(__props, "modelValue");
@@ -209,6 +209,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
209
209
  const handleRetryUpload = (uploadItem) => {
210
210
  handleUpload(uploadItem, true);
211
211
  };
212
+ const getAttachmentList = () => {
213
+ return deepClone(fileList.value);
214
+ };
212
215
  watch(
213
216
  () => componentParam,
214
217
  () => {
@@ -217,6 +220,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
217
220
  },
218
221
  { deep: true, immediate: true }
219
222
  );
223
+ __expose({
224
+ getAttachmentList
225
+ });
220
226
  return (_ctx, _cache) => {
221
227
  return openBlock(), createBlock(EleUploadList, {
222
228
  drag: true,
@@ -5,7 +5,6 @@ import { Close, Check } from "@element-plus/icons-vue";
5
5
  import { handleUimsOrganizationTreeDefaultExpandNode } from "yuang-framework-ui-common/lib/hooks/uims/uimsOrganization";
6
6
  import { getShortUuid } from "yuang-framework-ui-common/lib/utils/uuidUtils";
7
7
  import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
8
- import { application } from "yuang-framework-ui-common/lib/config/applicationConfig";
9
8
  const _hoisted_1 = { style: { "padding": "0 16px 12px 0" } };
10
9
  const _hoisted_2 = { class: "yu-dialog-tag" };
11
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,33 +1,42 @@
1
1
  import { UimsOrganization } from 'yuang-framework-ui-common/lib/interface/uims/uimsOrganization';
2
2
 
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: import('vue').PropType<string>;
5
- param: {
6
- type: import('vue').PropType<{
7
- isMultiple?: boolean;
8
- isShowInput?: boolean;
9
- }>;
10
- default: any;
11
- };
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue: String;
5
+ param?: object;
12
6
  }>, {
7
+ modelValue: any;
8
+ param: any;
9
+ }>>, {
13
10
  showDialog: () => void;
14
11
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
12
  change: (uimsOrganizationList: UimsOrganization[]) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
- modelValue: import('vue').PropType<string>;
18
- param: {
19
- type: import('vue').PropType<{
20
- isMultiple?: boolean;
21
- isShowInput?: boolean;
22
- }>;
23
- default: any;
24
- };
25
- }>> & Readonly<{
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ modelValue: String;
15
+ param?: object;
16
+ }>, {
17
+ modelValue: any;
18
+ param: any;
19
+ }>>> & Readonly<{
26
20
  onChange?: ((uimsOrganizationList: UimsOrganization[]) => any) | undefined;
27
21
  }>, {
28
- param: {
29
- isMultiple?: boolean;
30
- isShowInput?: boolean;
31
- };
22
+ param: object;
23
+ modelValue: String;
32
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
25
  export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
@@ -1,124 +1,51 @@
1
- import { defineComponent, mergeModels, useModel, ref, computed, watch, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, unref } from "vue";
2
- import { EleMessage } from "../utils/message";
1
+ import { defineComponent, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, unref, isRef } from "vue";
3
2
  import OrganizationDialog from "./components/organization-dialog";
4
3
  import { Select } from "@element-plus/icons-vue";
5
4
  import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
6
- import { application } from "yuang-framework-ui-common/lib/config/applicationConfig";
5
+ import { useFrameworkBaseDialog } from "yuang-framework-ui-common/lib/hooks/framework/frameworkBaseDialogHooks";
7
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
7
  ...{ name: "YuUimsOrganizationDialog" },
9
8
  __name: "index",
10
- props: /* @__PURE__ */ mergeModels({
9
+ props: {
10
+ modelValue: { default: "" },
11
11
  param: { default: {} }
12
- }, {
13
- "modelValue": {},
14
- "modelModifiers": {}
15
- }),
16
- emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
12
+ },
13
+ emits: ["change"],
17
14
  setup(__props, { expose: __expose, emit: __emit }) {
18
15
  const props = __props;
19
16
  const emit = __emit;
20
- const modelValue = useModel(__props, "modelValue");
21
- const initList = ref([]);
22
- const inputValue = ref("");
23
- const isShowDialog = ref(false);
24
- const isInitSuccess = ref(false);
25
- const componentParam = computed(() => ({
26
- modelValue: modelValue.value,
27
- isMultiple: true,
28
- isShowInput: true,
29
- isDisabled: false,
30
- isReadonly: false,
31
- ...props.param,
32
- initList: initList.value
33
- }));
34
- const init = async () => {
35
- inputValue.value = "";
36
- initList.value = [];
37
- if (modelValue.value) {
38
- if (!componentParam.value.isMultiple) {
39
- if (modelValue.value != "0") {
40
- let res = await http.get(`/uims-api/admin/uims-organization/selectInfo`, { params: { id: modelValue.value } });
41
- const info = res.data.data;
42
- inputValue.value = info.name;
43
- initList.value = [info];
44
- }
45
- } else {
46
- let idList = modelValue.value.split("|").filter((item) => item.trim() !== "");
47
- if (idList.length > 0) {
48
- let res = await http.post(`/uims-api/admin/uims-organization/selectInfoList`, idList);
49
- const infoList = res.data.data;
50
- let names = "";
51
- for (let index in infoList) {
52
- names += infoList[index].name + "、";
53
- }
54
- inputValue.value = names.substring(0, names.length - 1);
55
- initList.value = infoList;
56
- }
57
- }
58
- }
59
- isInitSuccess.value = true;
60
- };
61
- const showDialog = () => {
62
- isShowDialog.value = true;
63
- };
64
- const hideDialog = () => {
65
- if (!isInitSuccess.value) {
66
- EleMessage.warning("请等待初始化成功");
67
- return;
68
- }
69
- isShowDialog.value = false;
70
- };
71
- const handleChange = (selections) => {
72
- console.log("selections", selections);
73
- modelValue.value = "";
74
- inputValue.value = "";
75
- if (selections.length > 0) {
76
- if (!componentParam.value.isMultiple) {
77
- modelValue.value = selections[0].id;
78
- inputValue.value = selections[0].name;
79
- } else {
80
- let modelValueValue = "";
81
- let inputValueValue = "";
82
- for (let index in selections) {
83
- modelValueValue += selections[index].id + "|";
84
- inputValueValue += selections[index].name + "、";
85
- }
86
- modelValue.value = "|" + modelValueValue;
87
- inputValue.value = inputValueValue.substring(0, inputValueValue.length - 1);
88
- }
89
- }
90
- emit("change", selections);
91
- hideDialog();
92
- };
93
- watch(
94
- () => componentParam.value.modelValue,
95
- () => {
96
- init();
17
+ const { inputValue, isShowDialog, componentParam, showDialog, handleChange } = useFrameworkBaseDialog(props, emit, {
18
+ selectInfo: async (id) => {
19
+ const res = await http.get(`/uims-api/admin/uims-organization/selectInfo`, { params: { id } });
20
+ return res.data.data;
97
21
  },
98
- { immediate: true }
99
- );
22
+ selectInfoList: async (idList) => {
23
+ const res = await http.post(`/uims-api/admin/uims-organization/selectInfoList`, idList);
24
+ return res.data.data;
25
+ }
26
+ });
100
27
  __expose({
101
28
  showDialog
102
29
  });
103
30
  return (_ctx, _cache) => {
104
31
  const _component_el_input = resolveComponent("el-input");
105
32
  return openBlock(), createElementBlock(Fragment, null, [
106
- componentParam.value.isShowInput ? (openBlock(), createBlock(_component_el_input, {
33
+ unref(componentParam).isShowInput ? (openBlock(), createBlock(_component_el_input, {
107
34
  key: 0,
108
- modelValue: inputValue.value,
109
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
35
+ modelValue: unref(inputValue),
36
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputValue) ? inputValue.value = $event : null),
110
37
  "suffix-icon": unref(Select),
111
- disabled: componentParam.value.isDisabled,
112
- readonly: componentParam.value.isReadonly,
113
- onClick: showDialog
114
- }, null, 8, ["modelValue", "suffix-icon", "disabled", "readonly"])) : createCommentVNode("", true),
115
- isShowDialog.value ? (openBlock(), createBlock(OrganizationDialog, {
38
+ disabled: unref(componentParam).isDisabled,
39
+ readonly: unref(componentParam).isReadonly,
40
+ onClick: unref(showDialog)
41
+ }, null, 8, ["modelValue", "suffix-icon", "disabled", "readonly", "onClick"])) : createCommentVNode("", true),
42
+ unref(isShowDialog) ? (openBlock(), createBlock(OrganizationDialog, {
116
43
  key: 1,
117
- modelValue: isShowDialog.value,
118
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isShowDialog.value = $event),
119
- param: componentParam.value,
120
- onChange: handleChange
121
- }, null, 8, ["modelValue", "param"])) : createCommentVNode("", true)
44
+ modelValue: unref(isShowDialog),
45
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(isShowDialog) ? isShowDialog.value = $event : null),
46
+ param: unref(componentParam),
47
+ onChange: unref(handleChange)
48
+ }, null, 8, ["modelValue", "param", "onChange"])) : createCommentVNode("", true)
122
49
  ], 64);
123
50
  };
124
51
  }
@@ -1,33 +1,42 @@
1
1
  import { UimsRole } from 'yuang-framework-ui-common/lib/interface/uims/uimsRole';
2
2
 
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: import('vue').PropType<string>;
5
- param: {
6
- type: import('vue').PropType<{
7
- isMultiple?: boolean;
8
- isShowInput?: boolean;
9
- }>;
10
- default: any;
11
- };
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue: String;
5
+ param?: object;
12
6
  }>, {
13
- showDialog: () => Promise<void>;
7
+ modelValue: any;
8
+ param: any;
9
+ }>>, {
10
+ showDialog: () => void;
14
11
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
12
  change: (uimsRoleList: UimsRole[]) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
- modelValue: import('vue').PropType<string>;
18
- param: {
19
- type: import('vue').PropType<{
20
- isMultiple?: boolean;
21
- isShowInput?: boolean;
22
- }>;
23
- default: any;
24
- };
25
- }>> & Readonly<{
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ modelValue: String;
15
+ param?: object;
16
+ }>, {
17
+ modelValue: any;
18
+ param: any;
19
+ }>>> & Readonly<{
26
20
  onChange?: ((uimsRoleList: UimsRole[]) => any) | undefined;
27
21
  }>, {
28
- param: {
29
- isMultiple?: boolean;
30
- isShowInput?: boolean;
31
- };
22
+ modelValue: String;
23
+ param: object;
32
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
25
  export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
@@ -1,126 +1,55 @@
1
- import { defineComponent, mergeModels, useModel, ref, computed, watch, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, unref } from "vue";
2
- import { EleMessage } from "../utils/message";
1
+ import { defineComponent, resolveComponent, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, unref, isRef } from "vue";
3
2
  import RoleDialog from "./components/role-dialog";
4
3
  import { Select } from "@element-plus/icons-vue";
5
4
  import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
5
+ import { useFrameworkBaseDialog } from "yuang-framework-ui-common/lib/hooks/framework/frameworkBaseDialogHooks";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  ...{ name: "YuUimsRoleDialog" },
8
8
  __name: "index",
9
- props: /* @__PURE__ */ mergeModels({
9
+ props: {
10
+ modelValue: { default: "" },
10
11
  param: { default: {} }
11
- }, {
12
- "modelValue": {},
13
- "modelModifiers": {}
14
- }),
15
- emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
12
+ },
13
+ emits: ["change"],
16
14
  setup(__props, { expose: __expose, emit: __emit }) {
17
15
  const props = __props;
18
16
  const emit = __emit;
19
- const modelValue = useModel(__props, "modelValue");
20
- const initList = ref([]);
21
- const inputValue = ref("");
22
- const isShowDialog = ref(false);
23
- const isInitSuccess = ref(false);
24
- const componentParam = computed(() => ({
25
- modelValue: modelValue.value,
26
- isMultiple: true,
27
- isShowInput: true,
28
- isDisabled: false,
29
- isReadonly: false,
30
- // 是否禁止选择已存在用户的角色
31
- isDisableSelectRoleOfExistsUser: true,
32
- ...props.param,
33
- initList: initList.value
34
- }));
35
- const init = async () => {
36
- inputValue.value = "";
37
- initList.value = [];
38
- if (modelValue.value) {
39
- if (!componentParam.value.isMultiple) {
40
- if (modelValue.value != "0") {
41
- let res = await http.get(`/uims-api/admin/uims-role/selectInfo`, { params: { id: modelValue.value } });
42
- const info = res.data.data;
43
- inputValue.value = info.name;
44
- initList.value = [info];
45
- }
46
- } else {
47
- let idList = modelValue.value.split("|").filter((item) => item.trim() !== "");
48
- if (idList.length > 0) {
49
- let res = await http.post(`/uims-api/admin/uims-role/selectInfoList`, idList);
50
- const infoList = res.data.data;
51
- let names = "";
52
- for (let index in infoList) {
53
- names += infoList[index].name + "、";
54
- }
55
- inputValue.value = names.substring(0, names.length - 1);
56
- initList.value = infoList;
57
- }
58
- }
59
- }
60
- isInitSuccess.value = true;
61
- };
62
- const showDialog = async () => {
63
- await init();
64
- isShowDialog.value = true;
65
- };
66
- const hideDialog = () => {
67
- if (!isInitSuccess.value) {
68
- EleMessage.warning("请等待初始化成功");
69
- return;
70
- }
71
- isShowDialog.value = false;
72
- };
73
- const handleChange = (selectionList) => {
74
- console.log("selectionList", selectionList);
75
- modelValue.value = "";
76
- inputValue.value = "";
77
- if (selectionList.length > 0) {
78
- if (!componentParam.value.isMultiple) {
79
- modelValue.value = selectionList[0].id;
80
- inputValue.value = selectionList[0].name;
81
- } else {
82
- let modelValueValue = "";
83
- let inputValueValue = "";
84
- for (let index in selectionList) {
85
- modelValueValue += selectionList[index].id + "|";
86
- inputValueValue += selectionList[index].name + "、";
87
- }
88
- modelValue.value = "|" + modelValueValue;
89
- inputValue.value = inputValueValue.substring(0, inputValueValue.length - 1);
90
- }
91
- }
92
- emit("change", selectionList);
93
- hideDialog();
94
- };
95
- watch(
96
- () => componentParam.value.modelValue,
97
- () => {
98
- init();
17
+ const { inputValue, isShowDialog, componentParam, showDialog, handleChange } = useFrameworkBaseDialog(props, emit, {
18
+ defaultParam: {
19
+ // 是否禁止选择已存在用户的角色
20
+ isDisableSelectRoleOfExistsUser: true
21
+ },
22
+ selectInfo: async (id) => {
23
+ const res = await http.get(`/uims-api/admin/uims-role/selectInfo`, { params: { id } });
24
+ return res.data.data;
99
25
  },
100
- { immediate: true, immediate: true }
101
- );
26
+ selectInfoList: async (idList) => {
27
+ const res = await http.post(`/uims-api/admin/uims-role/selectInfoList`, idList);
28
+ return res.data.data;
29
+ }
30
+ });
102
31
  __expose({
103
32
  showDialog
104
33
  });
105
34
  return (_ctx, _cache) => {
106
35
  const _component_el_input = resolveComponent("el-input");
107
36
  return openBlock(), createElementBlock(Fragment, null, [
108
- componentParam.value.isShowInput ? (openBlock(), createBlock(_component_el_input, {
37
+ unref(componentParam).isShowInput ? (openBlock(), createBlock(_component_el_input, {
109
38
  key: 0,
110
- modelValue: inputValue.value,
111
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
39
+ modelValue: unref(inputValue),
40
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputValue) ? inputValue.value = $event : null),
112
41
  "suffix-icon": unref(Select),
113
- disabled: componentParam.value.isDisabled,
114
- readonly: componentParam.value.isReadonly,
115
- onClick: showDialog
116
- }, null, 8, ["modelValue", "suffix-icon", "disabled", "readonly"])) : createCommentVNode("", true),
117
- isShowDialog.value ? (openBlock(), createBlock(RoleDialog, {
42
+ disabled: unref(componentParam).isDisabled,
43
+ readonly: unref(componentParam).isReadonly,
44
+ onClick: unref(showDialog)
45
+ }, null, 8, ["modelValue", "suffix-icon", "disabled", "readonly", "onClick"])) : createCommentVNode("", true),
46
+ unref(isShowDialog) ? (openBlock(), createBlock(RoleDialog, {
118
47
  key: 1,
119
- modelValue: isShowDialog.value,
120
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isShowDialog.value = $event),
121
- param: componentParam.value,
122
- onChange: handleChange
123
- }, null, 8, ["modelValue", "param"])) : createCommentVNode("", true)
48
+ modelValue: unref(isShowDialog),
49
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(isShowDialog) ? isShowDialog.value = $event : null),
50
+ param: unref(componentParam),
51
+ onChange: unref(handleChange)
52
+ }, null, 8, ["modelValue", "param", "onChange"])) : createCommentVNode("", true)
124
53
  ], 64);
125
54
  };
126
55
  }
@@ -1,33 +1,42 @@
1
1
  import { UimsUser } from 'yuang-framework-ui-common/lib/interface/uims/uimsUser';
2
2
 
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: import('vue').PropType<string>;
5
- param: {
6
- type: import('vue').PropType<{
7
- isMultiple?: boolean;
8
- isShowInput?: boolean;
9
- }>;
10
- default: any;
11
- };
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue: String;
5
+ param?: object;
12
6
  }>, {
13
- showDialog: () => Promise<void>;
7
+ modelValue: any;
8
+ param: any;
9
+ }>>, {
10
+ showDialog: () => void;
14
11
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
12
  change: (uimsUserList: UimsUser[]) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
- modelValue: import('vue').PropType<string>;
18
- param: {
19
- type: import('vue').PropType<{
20
- isMultiple?: boolean;
21
- isShowInput?: boolean;
22
- }>;
23
- default: any;
24
- };
25
- }>> & Readonly<{
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ modelValue: String;
15
+ param?: object;
16
+ }>, {
17
+ modelValue: any;
18
+ param: any;
19
+ }>>> & Readonly<{
26
20
  onChange?: ((uimsUserList: UimsUser[]) => any) | undefined;
27
21
  }>, {
28
- param: {
29
- isMultiple?: boolean;
30
- isShowInput?: boolean;
31
- };
22
+ modelValue: String;
23
+ param: object;
32
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
25
  export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};