ll-plus 2.3.6 → 2.3.7
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.
- package/es/components/api-component/index.d.ts +203 -87
- package/es/components/api-component/src/api-component.vue.d.ts +203 -87
- package/es/components/api-component/src/api-component.vue2.mjs +34 -28
- package/es/components/api-component/src/api-component.vue2.mjs.map +1 -1
- package/es/components/api-component/src/components/api-url.vue.d.ts +115 -45
- package/es/components/api-component/src/components/api-url.vue2.mjs.map +1 -1
- package/es/components/api-component/src/components/params-table-row.vue2.mjs +3 -3
- package/es/components/api-component/src/components/params-table-row.vue2.mjs.map +1 -1
- package/es/components/api-component/src/config/api-component.d.ts +32 -13
- package/es/components/api-component/src/config/api-component.mjs +18 -27
- package/es/components/api-component/src/config/api-component.mjs.map +1 -1
- package/es/components/api-component/src/config/api-url.d.ts +17 -15
- package/es/components/api-component/src/config/api-url.mjs +17 -1
- package/es/components/api-component/src/config/api-url.mjs.map +1 -1
- package/es/components/table/src/components/main-table.vue2.mjs +1 -7
- package/es/components/table/src/components/main-table.vue2.mjs.map +1 -1
- package/es/components/tree-search/index.d.ts +15 -4
- package/es/components/tree-search/src/components/header-search.vue.d.ts +2 -3
- package/es/components/tree-search/src/components/header-search.vue2.mjs +4 -6
- package/es/components/tree-search/src/components/header-search.vue2.mjs.map +1 -1
- package/es/components/tree-search/src/config/tree-search.d.ts +6 -0
- package/es/components/tree-search/src/config/tree-search.mjs +6 -0
- package/es/components/tree-search/src/config/tree-search.mjs.map +1 -1
- package/es/components/tree-search/src/tree-search.vue.d.ts +15 -4
- package/es/components/tree-search/src/tree-search.vue2.mjs +2 -4
- package/es/components/tree-search/src/tree-search.vue2.mjs.map +1 -1
- package/index.full.js +81 -74
- package/index.full.min.js +21 -21
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +18 -18
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +82 -75
- package/lib/components/api-component/index.d.ts +203 -87
- package/lib/components/api-component/src/api-component.vue.d.ts +203 -87
- package/lib/components/api-component/src/api-component.vue2.js +33 -27
- package/lib/components/api-component/src/api-component.vue2.js.map +1 -1
- package/lib/components/api-component/src/components/api-url.vue.d.ts +115 -45
- package/lib/components/api-component/src/components/api-url.vue2.js.map +1 -1
- package/lib/components/api-component/src/components/params-table-row.vue2.js +3 -3
- package/lib/components/api-component/src/components/params-table-row.vue2.js.map +1 -1
- package/lib/components/api-component/src/config/api-component.d.ts +32 -13
- package/lib/components/api-component/src/config/api-component.js +18 -27
- package/lib/components/api-component/src/config/api-component.js.map +1 -1
- package/lib/components/api-component/src/config/api-url.d.ts +17 -15
- package/lib/components/api-component/src/config/api-url.js +17 -1
- package/lib/components/api-component/src/config/api-url.js.map +1 -1
- package/lib/components/table/src/components/main-table.vue2.js +1 -7
- package/lib/components/table/src/components/main-table.vue2.js.map +1 -1
- package/lib/components/tree-search/index.d.ts +15 -4
- package/lib/components/tree-search/src/components/header-search.vue.d.ts +2 -3
- package/lib/components/tree-search/src/components/header-search.vue2.js +3 -5
- package/lib/components/tree-search/src/components/header-search.vue2.js.map +1 -1
- package/lib/components/tree-search/src/config/tree-search.d.ts +6 -0
- package/lib/components/tree-search/src/config/tree-search.js +6 -0
- package/lib/components/tree-search/src/config/tree-search.js.map +1 -1
- package/lib/components/tree-search/src/tree-search.vue.d.ts +15 -4
- package/lib/components/tree-search/src/tree-search.vue2.js +2 -4
- package/lib/components/tree-search/src/tree-search.vue2.js.map +1 -1
- package/package.json +1 -1
- package/types/packages/components/api-component/index.d.ts +203 -87
- package/types/packages/components/api-component/src/api-component.vue.d.ts +203 -87
- package/types/packages/components/api-component/src/components/api-url.vue.d.ts +115 -45
- package/types/packages/components/api-component/src/config/api-component.d.ts +32 -13
- package/types/packages/components/api-component/src/config/api-url.d.ts +17 -15
- package/types/packages/components/tree-search/index.d.ts +15 -4
- package/types/packages/components/tree-search/src/components/header-search.vue.d.ts +2 -3
- package/types/packages/components/tree-search/src/config/tree-search.d.ts +6 -0
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +15 -4
|
@@ -1,60 +1,130 @@
|
|
|
1
|
+
import { type HttpModel } from '../config';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
readonly value: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
readonly value: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => HttpModel) | (() => HttpModel) | ((new (...args: any[]) => HttpModel) | (() => HttpModel))[], unknown, unknown, () => {
|
|
4
|
+
url: string;
|
|
5
|
+
method: string;
|
|
6
|
+
requestParams: never[];
|
|
7
|
+
headerParams: never[];
|
|
8
|
+
bodyParams: {
|
|
9
|
+
none: null;
|
|
10
|
+
'form-data': never[];
|
|
11
|
+
json: never[];
|
|
12
|
+
xml: never[];
|
|
13
|
+
raw: string;
|
|
14
|
+
'x-www-form-urlencoded': never[];
|
|
15
|
+
};
|
|
16
|
+
}, boolean>;
|
|
8
17
|
}, {
|
|
9
18
|
props: import("@vue/shared").LooseRequired<{
|
|
10
|
-
readonly value
|
|
11
|
-
readonly onChange?: ((params:
|
|
12
|
-
|
|
13
|
-
url: string;
|
|
14
|
-
}) => any) | undefined;
|
|
15
|
-
readonly "onUpdate:value"?: ((params: {
|
|
16
|
-
method: import("../config").IMethod;
|
|
17
|
-
url: string;
|
|
18
|
-
}) => any) | undefined;
|
|
19
|
+
readonly value: HttpModel;
|
|
20
|
+
readonly onChange?: ((params: HttpModel) => any) | undefined;
|
|
21
|
+
readonly "onUpdate:value"?: ((params: HttpModel) => any) | undefined;
|
|
19
22
|
} & {}>;
|
|
20
|
-
emits: ((event: "change", params:
|
|
21
|
-
|
|
23
|
+
emits: ((event: "change", params: HttpModel) => void) & ((event: "update:value", params: HttpModel) => void);
|
|
24
|
+
disabled: unknown;
|
|
25
|
+
innerValue: import("vue").Ref<{
|
|
22
26
|
url: string;
|
|
23
|
-
}) => void) & ((event: "update:value", params: {
|
|
24
27
|
method: import("../config").IMethod;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
requestParams: {
|
|
29
|
+
[x: string]: any;
|
|
30
|
+
required?: boolean | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
value?: string | undefined;
|
|
33
|
+
type?: any;
|
|
34
|
+
static?: boolean | undefined;
|
|
35
|
+
contentType?: string | undefined;
|
|
36
|
+
description?: string | undefined;
|
|
37
|
+
chineseName?: string | undefined;
|
|
38
|
+
children?: any[] | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
headerParams: {
|
|
41
|
+
[x: string]: any;
|
|
42
|
+
required?: boolean | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
value?: string | undefined;
|
|
45
|
+
type?: any;
|
|
46
|
+
static?: boolean | undefined;
|
|
47
|
+
contentType?: string | undefined;
|
|
48
|
+
description?: string | undefined;
|
|
49
|
+
chineseName?: string | undefined;
|
|
50
|
+
children?: any[] | undefined;
|
|
51
|
+
}[];
|
|
52
|
+
bodyParams: {
|
|
53
|
+
none: null;
|
|
54
|
+
'form-data': {
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
required?: boolean | undefined;
|
|
57
|
+
name?: string | undefined;
|
|
58
|
+
value?: string | undefined;
|
|
59
|
+
type?: any;
|
|
60
|
+
static?: boolean | undefined;
|
|
61
|
+
contentType?: string | undefined;
|
|
62
|
+
description?: string | undefined;
|
|
63
|
+
chineseName?: string | undefined;
|
|
64
|
+
children?: any[] | undefined;
|
|
65
|
+
}[];
|
|
66
|
+
json: {
|
|
67
|
+
[x: string]: any;
|
|
68
|
+
name?: string | undefined;
|
|
69
|
+
type?: import("../config").IType | undefined;
|
|
70
|
+
value?: any;
|
|
71
|
+
mock?: string | undefined;
|
|
72
|
+
chineseName?: string | undefined;
|
|
73
|
+
description?: string | undefined;
|
|
74
|
+
children?: any[] | undefined;
|
|
75
|
+
}[];
|
|
76
|
+
xml: {
|
|
77
|
+
[x: string]: any;
|
|
78
|
+
name?: string | undefined;
|
|
79
|
+
type?: import("../config").IType | undefined;
|
|
80
|
+
value?: any;
|
|
81
|
+
mock?: string | undefined;
|
|
82
|
+
chineseName?: string | undefined;
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
children?: any[] | undefined;
|
|
85
|
+
}[];
|
|
86
|
+
raw: string;
|
|
87
|
+
'x-www-form-urlencoded': {
|
|
88
|
+
[x: string]: any;
|
|
89
|
+
required?: boolean | undefined;
|
|
90
|
+
name?: string | undefined;
|
|
91
|
+
value?: string | undefined;
|
|
92
|
+
type?: any;
|
|
93
|
+
static?: boolean | undefined;
|
|
94
|
+
contentType?: string | undefined;
|
|
95
|
+
description?: string | undefined;
|
|
96
|
+
chineseName?: string | undefined;
|
|
97
|
+
children?: any[] | undefined;
|
|
98
|
+
}[];
|
|
99
|
+
};
|
|
100
|
+
}>;
|
|
29
101
|
handleChange: () => void;
|
|
30
102
|
readonly methods: {
|
|
31
103
|
label: string;
|
|
32
104
|
value: string;
|
|
33
105
|
}[];
|
|
34
106
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
-
'update:value': (params:
|
|
36
|
-
|
|
37
|
-
url: string;
|
|
38
|
-
}) => boolean;
|
|
39
|
-
change: (params: {
|
|
40
|
-
method: import("../config").IMethod;
|
|
41
|
-
url: string;
|
|
42
|
-
}) => boolean;
|
|
107
|
+
'update:value': (params: HttpModel) => boolean;
|
|
108
|
+
change: (params: HttpModel) => boolean;
|
|
43
109
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
readonly value: {
|
|
45
|
-
readonly type: import("vue").PropType<any>;
|
|
46
|
-
readonly required: false;
|
|
47
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
|
-
__epPropKey: true;
|
|
49
|
-
};
|
|
50
|
-
}>> & {
|
|
51
|
-
onChange?: ((params: {
|
|
52
|
-
method: import("../config").IMethod;
|
|
110
|
+
readonly value: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => HttpModel) | (() => HttpModel) | ((new (...args: any[]) => HttpModel) | (() => HttpModel))[], unknown, unknown, () => {
|
|
53
111
|
url: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
112
|
+
method: string;
|
|
113
|
+
requestParams: never[];
|
|
114
|
+
headerParams: never[];
|
|
115
|
+
bodyParams: {
|
|
116
|
+
none: null;
|
|
117
|
+
'form-data': never[];
|
|
118
|
+
json: never[];
|
|
119
|
+
xml: never[];
|
|
120
|
+
raw: string;
|
|
121
|
+
'x-www-form-urlencoded': never[];
|
|
122
|
+
};
|
|
123
|
+
}, boolean>;
|
|
124
|
+
}>> & {
|
|
125
|
+
onChange?: ((params: HttpModel) => any) | undefined;
|
|
126
|
+
"onUpdate:value"?: ((params: HttpModel) => any) | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
readonly value: HttpModel;
|
|
129
|
+
}, {}>;
|
|
60
130
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-url.vue2.js","sources":["../../../../../../packages/components/api-component/src/components/api-url.vue"],"sourcesContent":["<template>\n <a-input-group compact>\n <ll-select\n v-model:value=\"innerValue.method\"\n :disabled=\"disabled\"\n :options=\"methods\"\n style=\"width: 150px\"\n @change=\"handleChange\"\n />\n <ll-input\n v-model:value=\"innerValue.url\"\n :disabled=\"disabled\"\n style=\"width: 50%\"\n placeholder=\"请输入地址(去除前置URL)\"\n @input=\"handleChange\"\n />\n </a-input-group>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, inject, watch } from 'vue'\nimport { methods, apiUrlProps, apiUrlEmits } from '../config'\n\nconst props = defineProps(apiUrlProps)\nconst emits = defineEmits(apiUrlEmits)\n\nconst disabled = inject('disabled')\n\nconst innerValue = ref(props.value)\n\nconst handleChange = () => {\n emits('change', innerValue.value)\n emits('update:value', innerValue.value)\n}\n\nwatch(\n () => props.value,\n val => {\n innerValue.value = val\n },\n {\n deep: true\n }\n)\n</script>\n\n<style scoped></style>\n"],"names":["inject","ref","watch"],"mappings":";;;;;;;;;;;;;;AAuBA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAEd,IAAM,MAAA,QAAA,GAAWA,WAAO,UAAU,CAAA,CAAA;AAElC,IAAM,MAAA,UAAA,GAAaC,
|
|
1
|
+
{"version":3,"file":"api-url.vue2.js","sources":["../../../../../../packages/components/api-component/src/components/api-url.vue"],"sourcesContent":["<template>\n <a-input-group compact>\n <ll-select\n v-model:value=\"innerValue.method\"\n :disabled=\"disabled\"\n :options=\"methods\"\n style=\"width: 150px\"\n @change=\"handleChange\"\n />\n <ll-input\n v-model:value=\"innerValue.url\"\n :disabled=\"disabled\"\n style=\"width: 50%\"\n placeholder=\"请输入地址(去除前置URL)\"\n @input=\"handleChange\"\n />\n </a-input-group>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, inject, watch } from 'vue'\nimport { methods, apiUrlProps, apiUrlEmits, type HttpModel } from '../config'\n\nconst props = defineProps(apiUrlProps)\nconst emits = defineEmits(apiUrlEmits)\n\nconst disabled = inject('disabled')\n\nconst innerValue = ref<HttpModel>(props.value)\n\nconst handleChange = () => {\n emits('change', innerValue.value)\n emits('update:value', innerValue.value)\n}\n\nwatch(\n () => props.value,\n val => {\n innerValue.value = val\n },\n {\n deep: true\n }\n)\n</script>\n\n<style scoped></style>\n"],"names":["inject","ref","watch"],"mappings":";;;;;;;;;;;;;;AAuBA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAEd,IAAM,MAAA,QAAA,GAAWA,WAAO,UAAU,CAAA,CAAA;AAElC,IAAM,MAAA,UAAA,GAAaC,OAAe,CAAA,KAAA,CAAM,KAAK,CAAA,CAAA;AAE7C,IAAA,MAAM,eAAe,MAAM;AACzB,MAAM,KAAA,CAAA,QAAA,EAAU,WAAW,KAAK,CAAA,CAAA;AAChC,MAAM,KAAA,CAAA,cAAA,EAAgB,WAAW,KAAK,CAAA,CAAA;AAAA,KACxC,CAAA;AAEA,IAAAC,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,KAAA;AAAA,MACZ,CAAO,GAAA,KAAA;AACL,QAAA,UAAA,CAAW,KAAQ,GAAA,GAAA,CAAA;AAAA,OACrB;AAAA,MACA;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,OACR;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -100,10 +100,10 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
100
100
|
}, null, 8, ["value"])) : vue.createCommentVNode("v-if", true),
|
|
101
101
|
col.key === "static" ? (vue.openBlock(), vue.createBlock(_component_ll_switch, {
|
|
102
102
|
key: 4,
|
|
103
|
-
|
|
104
|
-
"onUpdate:
|
|
103
|
+
checked: innerData.value[col.key],
|
|
104
|
+
"onUpdate:checked": ($event) => innerData.value[col.key] = $event,
|
|
105
105
|
disabled: vue.unref(disabled)
|
|
106
|
-
}, null, 8, ["
|
|
106
|
+
}, null, 8, ["checked", "onUpdate:checked", "disabled"])) : vue.createCommentVNode("v-if", true),
|
|
107
107
|
col.key === "description" ? (vue.openBlock(), vue.createBlock(_component_ll_input, {
|
|
108
108
|
key: 5,
|
|
109
109
|
value: innerData.value[col.key],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"params-table-row.vue2.js","sources":["../../../../../../packages/components/api-component/src/components/params-table-row.vue"],"sourcesContent":["<template>\n <div>\n <a-row :gutter=\"20\" :class=\"bem.e('table-row')\">\n <a-col :span=\"22\">\n <a-row :gutter=\"20\">\n <a-col\n v-for=\"(col, index) in props.columns\"\n :key=\"index\"\n :span=\"col.span || 24 / props.columns.length\"\n :class=\"bem.e('table-col')\"\n >\n <template v-if=\"col.key === 'name'\">\n <ll-input\n v-model:value=\"innerData.name\"\n :disabled=\"disabled\"\n placeholder=\"请输入\"\n />\n </template>\n <template v-if=\"col.key === 'required'\">\n <ll-button\n type=\"link\"\n :disabled=\"disabled\"\n :class=\"`${bem.m('required')} ${\n innerData.required ? bem.is('required') : ''\n }`\"\n @click=\"innerData.required = !innerData.required\"\n >\n <ll-icon\n v-show=\"innerData.required\"\n icon-name=\"icon-radio-check\"\n />\n </ll-button>\n </template>\n\n <template v-if=\"col.key === 'type'\">\n <ll-select\n v-model:value=\"innerData.type\"\n :options=\"paramsOptions\"\n :disabled=\"disabled\"\n placeholder=\"请选择\"\n style=\"width: 100%\"\n />\n </template>\n <template v-if=\"col.key === 'value'\">\n <click-input\n v-model:value=\"innerData.value\"\n type=\"code\"\n placeholder=\"请输入\"\n style=\"width: 100%\"\n />\n </template>\n <template v-if=\"col.key === 'static'\">\n <ll-switch\n v-model:
|
|
1
|
+
{"version":3,"file":"params-table-row.vue2.js","sources":["../../../../../../packages/components/api-component/src/components/params-table-row.vue"],"sourcesContent":["<template>\n <div>\n <a-row :gutter=\"20\" :class=\"bem.e('table-row')\">\n <a-col :span=\"22\">\n <a-row :gutter=\"20\">\n <a-col\n v-for=\"(col, index) in props.columns\"\n :key=\"index\"\n :span=\"col.span || 24 / props.columns.length\"\n :class=\"bem.e('table-col')\"\n >\n <template v-if=\"col.key === 'name'\">\n <ll-input\n v-model:value=\"innerData.name\"\n :disabled=\"disabled\"\n placeholder=\"请输入\"\n />\n </template>\n <template v-if=\"col.key === 'required'\">\n <ll-button\n type=\"link\"\n :disabled=\"disabled\"\n :class=\"`${bem.m('required')} ${\n innerData.required ? bem.is('required') : ''\n }`\"\n @click=\"innerData.required = !innerData.required\"\n >\n <ll-icon\n v-show=\"innerData.required\"\n icon-name=\"icon-radio-check\"\n />\n </ll-button>\n </template>\n\n <template v-if=\"col.key === 'type'\">\n <ll-select\n v-model:value=\"innerData.type\"\n :options=\"paramsOptions\"\n :disabled=\"disabled\"\n placeholder=\"请选择\"\n style=\"width: 100%\"\n />\n </template>\n <template v-if=\"col.key === 'value'\">\n <click-input\n v-model:value=\"innerData.value\"\n type=\"code\"\n placeholder=\"请输入\"\n style=\"width: 100%\"\n />\n </template>\n <template v-if=\"col.key === 'static'\">\n <ll-switch\n v-model:checked=\"innerData[col.key]\"\n :disabled=\"disabled\"\n />\n </template>\n\n <template v-if=\"col.key === 'description'\">\n <ll-input\n v-model:value=\"innerData[col.key]\"\n :placeholder=\"col.placeholder || '请输入'\"\n :disabled=\"disabled\"\n />\n </template>\n <template v-if=\"col.key === 'contentType'\">\n <a-auto-complete\n v-model:value=\"innerData[col.key]\"\n :disabled=\"disabled\"\n :options=\"contentTypeOptions\"\n :placeholder=\"col.placeholder || '请输入'\"\n />\n </template>\n </a-col>\n </a-row>\n </a-col>\n <a-col :span=\"2\" :class=\"bem.e('table-col')\">\n <a-popconfirm\n title=\"你确定要移除吗?\"\n ok-text=\"确认\"\n cancel-text=\"取消\"\n placement=\"topRight\"\n :disabled=\"disabled\"\n :overlay-class-name=\"bem.e('popconfirm')\"\n @confirm=\"handleDelete(props.dataSource, innerData)\"\n >\n <ll-button type=\"link\" :disabled=\"disabled\">\n <ll-icon icon-name=\"icon-remove\" />\n </ll-button>\n </a-popconfirm>\n </a-col>\n </a-row>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, inject } from 'vue'\n// paramsTableRowEmits\nimport {\n paramsTableRowProps,\n paramsOptions,\n contentTypeOptions\n} from '../config'\n\nimport { createNamespace } from '@ll-plus/utils'\n\nimport ClickInput from './click-input.vue'\n\ndefineOptions({ name: 'LlParamsTableRow' })\n\nconst props = defineProps(paramsTableRowProps)\n\n// const emits = defineEmits(paramsTableRowEmits)\n\nconst bem = createNamespace('params-table')\n\nconst disabled = inject('disabled')\n\nconst innerData = ref(props.data)\n\nconst handleDelete = (list, data) => {\n const index = list.findIndex(item => item.name === data.name)\n list.splice(index, 1)\n}\n</script>\n"],"names":["createNamespace","inject","ref"],"mappings":";;;;;;;;;;;;;;;;;AA8GA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAId,IAAM,MAAA,GAAA,GAAMA,gCAAgB,cAAc,CAAA,CAAA;AAE1C,IAAM,MAAA,QAAA,GAAWC,WAAO,UAAU,CAAA,CAAA;AAElC,IAAM,MAAA,SAAA,GAAYC,OAAI,CAAA,KAAA,CAAM,IAAI,CAAA,CAAA;AAEhC,IAAM,MAAA,YAAA,GAAe,CAAC,IAAA,EAAM,IAAS,KAAA;AACnC,MAAA,MAAM,QAAQ,IAAK,CAAA,SAAA,CAAU,UAAQ,IAAK,CAAA,IAAA,KAAS,KAAK,IAAI,CAAA,CAAA;AAC5D,MAAK,IAAA,CAAA,MAAA,CAAO,OAAO,CAAC,CAAA,CAAA;AAAA,KACtB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import type ApiComponent from '../api-component.vue';
|
|
3
|
+
import type { IJsonXmlItem } from './';
|
|
3
4
|
export type IMethod = 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
4
5
|
export type IValueType = 'string' | 'integer' | 'boolean' | 'number' | 'array' | null | any;
|
|
5
6
|
export interface IParam {
|
|
@@ -30,20 +31,37 @@ export interface IApiParams {
|
|
|
30
31
|
headerParams?: IParam[];
|
|
31
32
|
bodyParams?: Record<string, any>;
|
|
32
33
|
}
|
|
34
|
+
export type BodyParams = {
|
|
35
|
+
none: null;
|
|
36
|
+
'form-data': IParam[];
|
|
37
|
+
json: IJsonXmlItem[];
|
|
38
|
+
xml: IJsonXmlItem[];
|
|
39
|
+
raw: string;
|
|
40
|
+
'x-www-form-urlencoded': IParam[];
|
|
41
|
+
};
|
|
42
|
+
export type HttpModel = {
|
|
43
|
+
url: string;
|
|
44
|
+
method: IMethod;
|
|
45
|
+
requestParams: IParam[];
|
|
46
|
+
headerParams: IParam[];
|
|
47
|
+
bodyParams: BodyParams;
|
|
48
|
+
};
|
|
33
49
|
export declare const apiComponentProps: {
|
|
34
|
-
readonly
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
readonly value: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => HttpModel) | (() => HttpModel) | ((new (...args: any[]) => HttpModel) | (() => HttpModel))[], unknown, unknown, () => {
|
|
51
|
+
url: string;
|
|
52
|
+
method: string;
|
|
53
|
+
requestParams: never[];
|
|
54
|
+
headerParams: never[];
|
|
55
|
+
bodyParams: {
|
|
56
|
+
none: null;
|
|
57
|
+
'form-data': never[];
|
|
58
|
+
json: never[];
|
|
59
|
+
xml: never[];
|
|
60
|
+
raw: string;
|
|
61
|
+
'x-www-form-urlencoded': never[];
|
|
62
|
+
};
|
|
46
63
|
}, boolean>;
|
|
64
|
+
readonly disabled: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
47
65
|
readonly isValid: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
48
66
|
readonly rules: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
49
67
|
[k: string]: import("ant-design-vue/es/form").RuleObject | import("ant-design-vue/es/form").RuleObject[];
|
|
@@ -68,7 +86,8 @@ export declare const apiComponentProps: {
|
|
|
68
86
|
}, boolean>;
|
|
69
87
|
};
|
|
70
88
|
export declare const apiComponentEmits: {
|
|
71
|
-
change: (value:
|
|
89
|
+
change: (value: HttpModel) => boolean;
|
|
90
|
+
'update:value': (value: HttpModel) => boolean;
|
|
72
91
|
};
|
|
73
92
|
export type ApiComponentProps = ExtractPropTypes<typeof apiComponentProps>;
|
|
74
93
|
export type ApiComponentEmits = typeof apiComponentEmits;
|
|
@@ -46,37 +46,27 @@ const bodyList = [
|
|
|
46
46
|
}
|
|
47
47
|
];
|
|
48
48
|
const apiComponentProps = runtime.buildProps({
|
|
49
|
-
|
|
50
|
-
type:
|
|
51
|
-
default:
|
|
49
|
+
value: {
|
|
50
|
+
type: runtime.definePropType(Object),
|
|
51
|
+
default: () => ({
|
|
52
|
+
url: "",
|
|
53
|
+
method: DEFAULT_METHOD,
|
|
54
|
+
requestParams: [],
|
|
55
|
+
headerParams: [],
|
|
56
|
+
bodyParams: {
|
|
57
|
+
none: null,
|
|
58
|
+
"form-data": [],
|
|
59
|
+
json: [],
|
|
60
|
+
xml: [],
|
|
61
|
+
raw: "",
|
|
62
|
+
"x-www-form-urlencoded": []
|
|
63
|
+
}
|
|
64
|
+
})
|
|
52
65
|
},
|
|
53
66
|
disabled: {
|
|
54
67
|
type: Boolean,
|
|
55
68
|
default: false
|
|
56
69
|
},
|
|
57
|
-
method: {
|
|
58
|
-
type: runtime.definePropType(String),
|
|
59
|
-
default: DEFAULT_METHOD
|
|
60
|
-
},
|
|
61
|
-
requestParams: {
|
|
62
|
-
type: runtime.definePropType(Array),
|
|
63
|
-
default: () => []
|
|
64
|
-
},
|
|
65
|
-
headerParams: {
|
|
66
|
-
type: runtime.definePropType(Array),
|
|
67
|
-
default: () => []
|
|
68
|
-
},
|
|
69
|
-
bodyParams: {
|
|
70
|
-
type: Object,
|
|
71
|
-
default: () => ({
|
|
72
|
-
none: null,
|
|
73
|
-
"form-data": [],
|
|
74
|
-
json: [],
|
|
75
|
-
xml: [],
|
|
76
|
-
raw: "",
|
|
77
|
-
"x-www-form-urlencoded": []
|
|
78
|
-
})
|
|
79
|
-
},
|
|
80
70
|
isValid: {
|
|
81
71
|
type: Boolean,
|
|
82
72
|
default: false
|
|
@@ -100,7 +90,8 @@ const apiComponentProps = runtime.buildProps({
|
|
|
100
90
|
}
|
|
101
91
|
});
|
|
102
92
|
const apiComponentEmits = {
|
|
103
|
-
change: (value) => !!value
|
|
93
|
+
change: (value) => !!value,
|
|
94
|
+
"update:value": (value) => !!value
|
|
104
95
|
};
|
|
105
96
|
|
|
106
97
|
exports.DEFAULT_METHOD = DEFAULT_METHOD;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-component.js","sources":["../../../../../../packages/components/api-component/src/config/api-component.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nimport type ApiComponent from '../api-component.vue'\n\nimport type { FormProps } from 'ant-design-vue'\n\nexport type IMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'\n\nexport type IValueType =\n | 'string'\n | 'integer'\n | 'boolean'\n | 'number'\n | 'array'\n | null\n | any\n\nexport interface IParam {\n required?: boolean\n name?: string\n value?: string\n type?: IValueType\n static?: boolean\n contentType?: string\n description?: string\n chineseName?: string\n children?: IParam[]\n [key: string]: any\n}\n\nexport const DEFAULT_METHOD = 'GET'\n\nexport const requestList = [\n {\n key: 'params',\n name: '请求参数'\n },\n {\n key: 'body',\n name: '请求报文体'\n },\n {\n key: 'headers',\n name: '请求头'\n }\n]\n\nexport const bodyList = [\n {\n key: 'none',\n name: 'none'\n },\n {\n key: 'form-data',\n name: 'form-data'\n },\n {\n key: 'x-www-form-urlencoded',\n name: 'x-www-form-urlencoded'\n },\n {\n key: 'json',\n name: 'json'\n },\n {\n key: 'xml',\n name: 'xml'\n },\n {\n key: 'raw',\n name: 'raw'\n }\n]\n\nexport interface IApiParams {\n url?: string\n method?: IMethod\n requestParams?: IParam[]\n headerParams?: IParam[]\n bodyParams?: Record<string, any>\n}\n\
|
|
1
|
+
{"version":3,"file":"api-component.js","sources":["../../../../../../packages/components/api-component/src/config/api-component.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nimport type ApiComponent from '../api-component.vue'\n\nimport type { FormProps } from 'ant-design-vue'\n\nimport type { IJsonXmlItem } from './'\n\nexport type IMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'\n\nexport type IValueType =\n | 'string'\n | 'integer'\n | 'boolean'\n | 'number'\n | 'array'\n | null\n | any\n\nexport interface IParam {\n required?: boolean\n name?: string\n value?: string\n type?: IValueType\n static?: boolean\n contentType?: string\n description?: string\n chineseName?: string\n children?: IParam[]\n [key: string]: any\n}\n\nexport const DEFAULT_METHOD = 'GET'\n\nexport const requestList = [\n {\n key: 'params',\n name: '请求参数'\n },\n {\n key: 'body',\n name: '请求报文体'\n },\n {\n key: 'headers',\n name: '请求头'\n }\n]\n\nexport const bodyList = [\n {\n key: 'none',\n name: 'none'\n },\n {\n key: 'form-data',\n name: 'form-data'\n },\n {\n key: 'x-www-form-urlencoded',\n name: 'x-www-form-urlencoded'\n },\n {\n key: 'json',\n name: 'json'\n },\n {\n key: 'xml',\n name: 'xml'\n },\n {\n key: 'raw',\n name: 'raw'\n }\n]\n\nexport interface IApiParams {\n url?: string\n method?: IMethod\n requestParams?: IParam[]\n headerParams?: IParam[]\n bodyParams?: Record<string, any>\n}\n\n// export const httpModel = buildProps({\n// url: {\n// type: String,\n// default: ''\n// },\n// method: {\n// type: definePropType<IMethod>(String),\n// default: DEFAULT_METHOD\n// },\n// requestParams: {\n// type: definePropType<IParam[]>(Array),\n// default: () => [] as IParam[]\n// },\n// headerParams: {\n// type: definePropType<IParam[]>(Array),\n// default: () => [] as IParam[]\n// },\n// bodyParams: {\n// type: Object,\n// default: () => ({\n// none: null,\n// 'form-data': [],\n// json: [],\n// xml: [],\n// raw: '',\n// 'x-www-form-urlencoded': []\n// })\n// }\n// } as const)\n\n// export type HttpModel = ExtractPropTypes<typeof httpModel>\nexport type BodyParams = {\n none: null\n 'form-data': IParam[]\n json: IJsonXmlItem[]\n xml: IJsonXmlItem[]\n raw: string\n 'x-www-form-urlencoded': IParam[]\n}\n\nexport type HttpModel = {\n url: string\n method: IMethod\n requestParams: IParam[]\n headerParams: IParam[]\n bodyParams: BodyParams\n}\n\nexport const apiComponentProps = buildProps({\n value: {\n type: definePropType<HttpModel>(Object),\n default: () => ({\n url: '',\n method: DEFAULT_METHOD,\n requestParams: [],\n headerParams: [],\n bodyParams: {\n none: null,\n 'form-data': [],\n json: [],\n xml: [],\n raw: '',\n 'x-www-form-urlencoded': []\n }\n })\n },\n disabled: {\n type: Boolean,\n default: false\n },\n isValid: {\n type: Boolean,\n default: false\n },\n rules: {\n type: definePropType<FormProps['rules']>(Object),\n default: () => ({\n url: [\n {\n required: true,\n trigger: 'blur',\n message: '请输入url'\n },\n {\n trigger: 'change',\n pattern:\n /^(http|https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w .-]*)*\\/?$/,\n message: '输入url格式错误'\n }\n ]\n })\n }\n} as const)\n\nexport const apiComponentEmits = {\n change: (value: HttpModel) => !!value,\n 'update:value': (value: HttpModel) => !!value\n}\n// props\nexport type ApiComponentProps = ExtractPropTypes<typeof apiComponentProps>\n\n// emits\nexport type ApiComponentEmits = typeof apiComponentEmits\n\n// instance\nexport type ApiComponentInstance = InstanceType<typeof ApiComponent>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;AAkCO,MAAM,cAAiB,GAAA,MAAA;AAEvB,MAAM,WAAc,GAAA;AAAA,EACzB;AAAA,IACE,GAAK,EAAA,QAAA;AAAA,IACL,IAAM,EAAA,0BAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,MAAA;AAAA,IACL,IAAM,EAAA,gCAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,SAAA;AAAA,IACL,IAAM,EAAA,oBAAA;AAAA,GACR;AACF,EAAA;AAEO,MAAM,QAAW,GAAA;AAAA,EACtB;AAAA,IACE,GAAK,EAAA,MAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,WAAA;AAAA,IACL,IAAM,EAAA,WAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,uBAAA;AAAA,IACL,IAAM,EAAA,uBAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,MAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,KAAA;AAAA,IACL,IAAM,EAAA,KAAA;AAAA,GACR;AAAA,EACA;AAAA,IACE,GAAK,EAAA,KAAA;AAAA,IACL,IAAM,EAAA,KAAA;AAAA,GACR;AACF,EAAA;AA0DO,MAAM,oBAAoBA,kBAAW,CAAA;AAAA,EAC1C,KAAO,EAAA;AAAA,IACL,IAAA,EAAMC,uBAA0B,MAAM,CAAA;AAAA,IACtC,SAAS,OAAO;AAAA,MACd,GAAK,EAAA,EAAA;AAAA,MACL,MAAQ,EAAA,cAAA;AAAA,MACR,eAAe,EAAC;AAAA,MAChB,cAAc,EAAC;AAAA,MACf,UAAY,EAAA;AAAA,QACV,IAAM,EAAA,IAAA;AAAA,QACN,aAAa,EAAC;AAAA,QACd,MAAM,EAAC;AAAA,QACP,KAAK,EAAC;AAAA,QACN,GAAK,EAAA,EAAA;AAAA,QACL,yBAAyB,EAAC;AAAA,OAC5B;AAAA,KACF,CAAA;AAAA,GACF;AAAA,EACA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA,EACA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA,EACA,KAAO,EAAA;AAAA,IACL,IAAA,EAAMA,uBAAmC,MAAM,CAAA;AAAA,IAC/C,SAAS,OAAO;AAAA,MACd,GAAK,EAAA;AAAA,QACH;AAAA,UACE,QAAU,EAAA,IAAA;AAAA,UACV,OAAS,EAAA,MAAA;AAAA,UACT,OAAS,EAAA,uBAAA;AAAA,SACX;AAAA,QACA;AAAA,UACE,OAAS,EAAA,QAAA;AAAA,UACT,OACE,EAAA,kEAAA;AAAA,UACF,OAAS,EAAA,yCAAA;AAAA,SACX;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAU,EAAA;AAEH,MAAM,iBAAoB,GAAA;AAAA,EAC/B,MAAQ,EAAA,CAAC,KAAqB,KAAA,CAAC,CAAC,KAAA;AAAA,EAChC,cAAgB,EAAA,CAAC,KAAqB,KAAA,CAAC,CAAC,KAAA;AAC1C;;;;;;;;"}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type HttpModel } from './';
|
|
2
2
|
export declare const methods: {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
5
|
}[];
|
|
6
6
|
export declare const apiUrlProps: {
|
|
7
|
-
readonly value: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
readonly value: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => HttpModel) | (() => HttpModel) | ((new (...args: any[]) => HttpModel) | (() => HttpModel))[], unknown, unknown, () => {
|
|
8
|
+
url: string;
|
|
9
|
+
method: string;
|
|
10
|
+
requestParams: never[];
|
|
11
|
+
headerParams: never[];
|
|
12
|
+
bodyParams: {
|
|
13
|
+
none: null;
|
|
14
|
+
'form-data': never[];
|
|
15
|
+
json: never[];
|
|
16
|
+
xml: never[];
|
|
17
|
+
raw: string;
|
|
18
|
+
'x-www-form-urlencoded': never[];
|
|
19
|
+
};
|
|
20
|
+
}, boolean>;
|
|
13
21
|
};
|
|
14
22
|
export declare const apiUrlEmits: {
|
|
15
|
-
'update:value': (params:
|
|
16
|
-
|
|
17
|
-
url: string;
|
|
18
|
-
}) => boolean;
|
|
19
|
-
change: (params: {
|
|
20
|
-
method: IMethod;
|
|
21
|
-
url: string;
|
|
22
|
-
}) => boolean;
|
|
23
|
+
'update:value': (params: HttpModel) => boolean;
|
|
24
|
+
change: (params: HttpModel) => boolean;
|
|
23
25
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../../../../utils/index.js');
|
|
4
|
+
require('./index.js');
|
|
4
5
|
var runtime = require('../../../../utils/props/runtime.js');
|
|
6
|
+
var apiComponent = require('./api-component.js');
|
|
5
7
|
|
|
6
8
|
"use strict";
|
|
7
9
|
const methods = [
|
|
@@ -24,7 +26,21 @@ const methods = [
|
|
|
24
26
|
];
|
|
25
27
|
const apiUrlProps = runtime.buildProps({
|
|
26
28
|
value: {
|
|
27
|
-
type: runtime.definePropType(Object)
|
|
29
|
+
type: runtime.definePropType(Object),
|
|
30
|
+
default: () => ({
|
|
31
|
+
url: "",
|
|
32
|
+
method: apiComponent.DEFAULT_METHOD,
|
|
33
|
+
requestParams: [],
|
|
34
|
+
headerParams: [],
|
|
35
|
+
bodyParams: {
|
|
36
|
+
none: null,
|
|
37
|
+
"form-data": [],
|
|
38
|
+
json: [],
|
|
39
|
+
xml: [],
|
|
40
|
+
raw: "",
|
|
41
|
+
"x-www-form-urlencoded": []
|
|
42
|
+
}
|
|
43
|
+
})
|
|
28
44
|
}
|
|
29
45
|
});
|
|
30
46
|
const apiUrlEmits = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-url.js","sources":["../../../../../../packages/components/api-component/src/config/api-url.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type
|
|
1
|
+
{"version":3,"file":"api-url.js","sources":["../../../../../../packages/components/api-component/src/config/api-url.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport { type HttpModel, DEFAULT_METHOD } from './'\n\nexport const methods = [\n {\n label: 'GET',\n value: 'GET'\n },\n {\n label: 'POST',\n value: 'POST'\n },\n {\n label: 'PUT',\n value: 'PUT'\n },\n {\n label: 'DELETE',\n value: 'DELETE'\n }\n]\n\nexport const apiUrlProps = buildProps({\n value: {\n type: definePropType<HttpModel>(Object),\n default: () => ({\n url: '',\n method: DEFAULT_METHOD,\n requestParams: [],\n headerParams: [],\n bodyParams: {\n none: null,\n 'form-data': [],\n json: [],\n xml: [],\n raw: '',\n 'x-www-form-urlencoded': []\n }\n })\n }\n} as const)\n\nexport const apiUrlEmits = {\n 'update:value': (params: HttpModel) => !!params,\n change: (params: HttpModel) => !!params\n}\n"],"names":["buildProps","definePropType","DEFAULT_METHOD"],"mappings":";;;;;;;;AAIO,MAAM,OAAU,GAAA;AAAA,EACrB;AAAA,IACE,KAAO,EAAA,KAAA;AAAA,IACP,KAAO,EAAA,KAAA;AAAA,GACT;AAAA,EACA;AAAA,IACE,KAAO,EAAA,MAAA;AAAA,IACP,KAAO,EAAA,MAAA;AAAA,GACT;AAAA,EACA;AAAA,IACE,KAAO,EAAA,KAAA;AAAA,IACP,KAAO,EAAA,KAAA;AAAA,GACT;AAAA,EACA;AAAA,IACE,KAAO,EAAA,QAAA;AAAA,IACP,KAAO,EAAA,QAAA;AAAA,GACT;AACF,EAAA;AAEO,MAAM,cAAcA,kBAAW,CAAA;AAAA,EACpC,KAAO,EAAA;AAAA,IACL,IAAA,EAAMC,uBAA0B,MAAM,CAAA;AAAA,IACtC,SAAS,OAAO;AAAA,MACd,GAAK,EAAA,EAAA;AAAA,MACL,MAAQ,EAAAC,2BAAA;AAAA,MACR,eAAe,EAAC;AAAA,MAChB,cAAc,EAAC;AAAA,MACf,UAAY,EAAA;AAAA,QACV,IAAM,EAAA,IAAA;AAAA,QACN,aAAa,EAAC;AAAA,QACd,MAAM,EAAC;AAAA,QACP,KAAK,EAAC;AAAA,QACN,GAAK,EAAA,EAAA;AAAA,QACL,yBAAyB,EAAC;AAAA,OAC5B;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAU,EAAA;AAEH,MAAM,WAAc,GAAA;AAAA,EACzB,cAAgB,EAAA,CAAC,MAAsB,KAAA,CAAC,CAAC,MAAA;AAAA,EACzC,MAAQ,EAAA,CAAC,MAAsB,KAAA,CAAC,CAAC,MAAA;AACnC;;;;;;"}
|
|
@@ -545,13 +545,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
545
545
|
]),
|
|
546
546
|
emptyText: vue.withCtx(() => [
|
|
547
547
|
vue.renderSlot(_ctx.$slots, "emptyText", {}, () => [
|
|
548
|
-
vue.createVNode(_component_ll_empty
|
|
549
|
-
content: vue.withCtx(() => [
|
|
550
|
-
vue.createTextVNode("\u6682\u65E0\u6570\u636E")
|
|
551
|
-
]),
|
|
552
|
-
_: 1
|
|
553
|
-
/* STABLE */
|
|
554
|
-
})
|
|
548
|
+
vue.createVNode(_component_ll_empty)
|
|
555
549
|
])
|
|
556
550
|
]),
|
|
557
551
|
_: 2
|