@minilo/ui 0.0.6 → 0.0.8
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/package.json +2 -2
- package/minilo/dist/index.css +0 -1
- package/minilo/dist/index.full.js +0 -8421
- package/minilo/dist/index.full.min.js +0 -2
- package/minilo/dist/index.full.min.js.map +0 -1
- package/minilo/dist/index.full.min.mjs +0 -2
- package/minilo/dist/index.full.min.mjs.map +0 -1
- package/minilo/dist/index.full.mjs +0 -8401
- package/minilo/es/components/button/index.d.ts +0 -47
- package/minilo/es/components/button/index.mjs +0 -6
- package/minilo/es/components/button/index.vue.d.ts +0 -29
- package/minilo/es/components/button/index.vue.mjs +0 -5
- package/minilo/es/components/button/index.vue2.mjs +0 -67
- package/minilo/es/components/button/type.d.ts +0 -10
- package/minilo/es/components/chart/index.d.ts +0 -49
- package/minilo/es/components/chart/index.mjs +0 -6
- package/minilo/es/components/chart/index.vue.d.ts +0 -33
- package/minilo/es/components/chart/index.vue.mjs +0 -5
- package/minilo/es/components/chart/index.vue2.mjs +0 -124
- package/minilo/es/components/chart/type.d.ts +0 -7
- package/minilo/es/components/detail/index.d.ts +0 -37
- package/minilo/es/components/detail/index.mjs +0 -6
- package/minilo/es/components/detail/index.vue.d.ts +0 -23
- package/minilo/es/components/detail/index.vue.mjs +0 -5
- package/minilo/es/components/detail/index.vue2.mjs +0 -194
- package/minilo/es/components/detail/renderLabel.vue.d.ts +0 -8
- package/minilo/es/components/detail/renderLabel.vue.mjs +0 -5
- package/minilo/es/components/detail/renderLabel.vue2.mjs +0 -23
- package/minilo/es/components/detail/renderTooltip.vue.d.ts +0 -8
- package/minilo/es/components/detail/renderTooltip.vue.mjs +0 -5
- package/minilo/es/components/detail/renderTooltip.vue2.mjs +0 -23
- package/minilo/es/components/detail/type.d.ts +0 -27
- package/minilo/es/components/image-upload-pro/index.d.ts +0 -544
- package/minilo/es/components/image-upload-pro/index.mjs +0 -7
- package/minilo/es/components/image-upload-pro/index.vue.d.ts +0 -546
- package/minilo/es/components/image-upload-pro/index.vue.mjs +0 -5
- package/minilo/es/components/image-upload-pro/index.vue2.mjs +0 -657
- package/minilo/es/components/image-upload-pro/type.d.ts +0 -147
- package/minilo/es/components/image-upload-pro/type.mjs +0 -81
- package/minilo/es/components/index.d.ts +0 -11
- package/minilo/es/components/index.mjs +0 -14
- package/minilo/es/components/number-range-input/index.d.ts +0 -41
- package/minilo/es/components/number-range-input/index.mjs +0 -6
- package/minilo/es/components/number-range-input/index.vue.d.ts +0 -33
- package/minilo/es/components/number-range-input/index.vue.mjs +0 -5
- package/minilo/es/components/number-range-input/index.vue2.mjs +0 -150
- package/minilo/es/components/number-range-input/props.d.ts +0 -10
- package/minilo/es/components/search/index.d.ts +0 -488
- package/minilo/es/components/search/index.mjs +0 -6
- package/minilo/es/components/search/index.vue.d.ts +0 -554
- package/minilo/es/components/search/index.vue.mjs +0 -5
- package/minilo/es/components/search/index.vue2.mjs +0 -298
- package/minilo/es/components/search/props.d.ts +0 -107
- package/minilo/es/components/search/props.mjs +0 -55
- package/minilo/es/components/search-table/index.d.ts +0 -274
- package/minilo/es/components/search-table/index.mjs +0 -6
- package/minilo/es/components/search-table/index.vue.d.ts +0 -173
- package/minilo/es/components/search-table/index.vue.mjs +0 -5
- package/minilo/es/components/search-table/index.vue2.mjs +0 -195
- package/minilo/es/components/search-table/props.d.ts +0 -69
- package/minilo/es/components/search-table/props.mjs +0 -69
- package/minilo/es/components/search-table/render.d.ts +0 -11
- package/minilo/es/components/search-table/render.mjs +0 -19
- package/minilo/es/components/tree-select/index.d.ts +0 -32
- package/minilo/es/components/tree-select/index.mjs +0 -6
- package/minilo/es/components/tree-select/index.vue.d.ts +0 -20
- package/minilo/es/components/tree-select/index.vue.mjs +0 -5
- package/minilo/es/components/tree-select/index.vue2.mjs +0 -226
- package/minilo/es/components/tree-select/type.d.ts +0 -34
- package/minilo/es/components/tree-select-dialog/index.d.ts +0 -62
- package/minilo/es/components/tree-select-dialog/index.mjs +0 -7
- package/minilo/es/components/tree-select-dialog/index.vue.d.ts +0 -23
- package/minilo/es/components/tree-select-dialog/index.vue.mjs +0 -5
- package/minilo/es/components/tree-select-dialog/index.vue2.mjs +0 -137
- package/minilo/es/components/tree-select-dialog/type.d.ts +0 -9
- package/minilo/es/components/tree-select-dialog/type.mjs +0 -24
- package/minilo/es/components/tree-select-drawer/index.d.ts +0 -67
- package/minilo/es/components/tree-select-drawer/index.mjs +0 -7
- package/minilo/es/components/tree-select-drawer/index.vue.d.ts +0 -23
- package/minilo/es/components/tree-select-drawer/index.vue.mjs +0 -5
- package/minilo/es/components/tree-select-drawer/index.vue2.mjs +0 -143
- package/minilo/es/components/tree-select-drawer/type.d.ts +0 -10
- package/minilo/es/components/tree-select-drawer/type.mjs +0 -20
- package/minilo/es/components/virtual-list/index.d.ts +0 -59
- package/minilo/es/components/virtual-list/index.mjs +0 -6
- package/minilo/es/components/virtual-list/index.vue.d.ts +0 -39
- package/minilo/es/components/virtual-list/index.vue.mjs +0 -5
- package/minilo/es/components/virtual-list/index.vue2.mjs +0 -421
- package/minilo/es/components/virtual-list/type.d.ts +0 -20
- package/minilo/es/index.d.ts +0 -1724
- package/minilo/es/node_modules/.pnpm/@element-plus_icons-vue@2.3.1_vue@3.5.26_typescript@5.9.3_/node_modules/@element-plus/icons-vue/dist/index.mjs +0 -41
- package/minilo/es/node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo/utils/dist/func/common.mjs +0 -14
- package/minilo/es/node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo/utils/dist/request/index.mjs +0 -110
- package/minilo/es/node_modules/.pnpm/@vueuse_core@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/index.mjs +0 -73
- package/minilo/es/node_modules/.pnpm/@vueuse_shared@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/index.mjs +0 -76
- package/minilo/es/resolver/index.d.ts +0 -8
- package/minilo/es/resolver/index.mjs +0 -29
- package/minilo/es/utils/index.d.ts +0 -28
- package/minilo/es/utils/index.mjs +0 -30
- package/minilo/lib/components/button/index.d.ts +0 -47
- package/minilo/lib/components/button/index.js +0 -11
- package/minilo/lib/components/button/index.vue.d.ts +0 -29
- package/minilo/lib/components/button/index.vue.js +0 -9
- package/minilo/lib/components/button/index.vue2.js +0 -71
- package/minilo/lib/components/button/type.d.ts +0 -10
- package/minilo/lib/components/chart/index.d.ts +0 -49
- package/minilo/lib/components/chart/index.js +0 -11
- package/minilo/lib/components/chart/index.vue.d.ts +0 -33
- package/minilo/lib/components/chart/index.vue.js +0 -9
- package/minilo/lib/components/chart/index.vue2.js +0 -128
- package/minilo/lib/components/chart/type.d.ts +0 -7
- package/minilo/lib/components/detail/index.d.ts +0 -37
- package/minilo/lib/components/detail/index.js +0 -11
- package/minilo/lib/components/detail/index.vue.d.ts +0 -23
- package/minilo/lib/components/detail/index.vue.js +0 -9
- package/minilo/lib/components/detail/index.vue2.js +0 -198
- package/minilo/lib/components/detail/renderLabel.vue.d.ts +0 -8
- package/minilo/lib/components/detail/renderLabel.vue.js +0 -9
- package/minilo/lib/components/detail/renderLabel.vue2.js +0 -27
- package/minilo/lib/components/detail/renderTooltip.vue.d.ts +0 -8
- package/minilo/lib/components/detail/renderTooltip.vue.js +0 -9
- package/minilo/lib/components/detail/renderTooltip.vue2.js +0 -27
- package/minilo/lib/components/detail/type.d.ts +0 -27
- package/minilo/lib/components/image-upload-pro/index.d.ts +0 -544
- package/minilo/lib/components/image-upload-pro/index.js +0 -13
- package/minilo/lib/components/image-upload-pro/index.vue.d.ts +0 -546
- package/minilo/lib/components/image-upload-pro/index.vue.js +0 -9
- package/minilo/lib/components/image-upload-pro/index.vue2.js +0 -661
- package/minilo/lib/components/image-upload-pro/type.d.ts +0 -147
- package/minilo/lib/components/image-upload-pro/type.js +0 -83
- package/minilo/lib/components/index.d.ts +0 -11
- package/minilo/lib/components/index.js +0 -33
- package/minilo/lib/components/number-range-input/index.d.ts +0 -41
- package/minilo/lib/components/number-range-input/index.js +0 -11
- package/minilo/lib/components/number-range-input/index.vue.d.ts +0 -33
- package/minilo/lib/components/number-range-input/index.vue.js +0 -9
- package/minilo/lib/components/number-range-input/index.vue2.js +0 -154
- package/minilo/lib/components/number-range-input/props.d.ts +0 -10
- package/minilo/lib/components/search/index.d.ts +0 -488
- package/minilo/lib/components/search/index.js +0 -11
- package/minilo/lib/components/search/index.vue.d.ts +0 -554
- package/minilo/lib/components/search/index.vue.js +0 -9
- package/minilo/lib/components/search/index.vue2.js +0 -302
- package/minilo/lib/components/search/props.d.ts +0 -107
- package/minilo/lib/components/search/props.js +0 -58
- package/minilo/lib/components/search-table/index.d.ts +0 -274
- package/minilo/lib/components/search-table/index.js +0 -11
- package/minilo/lib/components/search-table/index.vue.d.ts +0 -173
- package/minilo/lib/components/search-table/index.vue.js +0 -9
- package/minilo/lib/components/search-table/index.vue2.js +0 -199
- package/minilo/lib/components/search-table/props.d.ts +0 -69
- package/minilo/lib/components/search-table/props.js +0 -72
- package/minilo/lib/components/search-table/render.d.ts +0 -11
- package/minilo/lib/components/search-table/render.js +0 -23
- package/minilo/lib/components/tree-select/index.d.ts +0 -32
- package/minilo/lib/components/tree-select/index.js +0 -11
- package/minilo/lib/components/tree-select/index.vue.d.ts +0 -20
- package/minilo/lib/components/tree-select/index.vue.js +0 -9
- package/minilo/lib/components/tree-select/index.vue2.js +0 -230
- package/minilo/lib/components/tree-select/type.d.ts +0 -34
- package/minilo/lib/components/tree-select-dialog/index.d.ts +0 -62
- package/minilo/lib/components/tree-select-dialog/index.js +0 -13
- package/minilo/lib/components/tree-select-dialog/index.vue.d.ts +0 -23
- package/minilo/lib/components/tree-select-dialog/index.vue.js +0 -9
- package/minilo/lib/components/tree-select-dialog/index.vue2.js +0 -141
- package/minilo/lib/components/tree-select-dialog/type.d.ts +0 -9
- package/minilo/lib/components/tree-select-dialog/type.js +0 -26
- package/minilo/lib/components/tree-select-drawer/index.d.ts +0 -67
- package/minilo/lib/components/tree-select-drawer/index.js +0 -13
- package/minilo/lib/components/tree-select-drawer/index.vue.d.ts +0 -23
- package/minilo/lib/components/tree-select-drawer/index.vue.js +0 -9
- package/minilo/lib/components/tree-select-drawer/index.vue2.js +0 -147
- package/minilo/lib/components/tree-select-drawer/type.d.ts +0 -10
- package/minilo/lib/components/tree-select-drawer/type.js +0 -22
- package/minilo/lib/components/virtual-list/index.d.ts +0 -59
- package/minilo/lib/components/virtual-list/index.js +0 -11
- package/minilo/lib/components/virtual-list/index.vue.d.ts +0 -39
- package/minilo/lib/components/virtual-list/index.vue.js +0 -9
- package/minilo/lib/components/virtual-list/index.vue2.js +0 -425
- package/minilo/lib/components/virtual-list/type.d.ts +0 -20
- package/minilo/lib/index.d.ts +0 -1724
- package/minilo/lib/node_modules/.pnpm/@element-plus_icons-vue@2.3.1_vue@3.5.26_typescript@5.9.3_/node_modules/@element-plus/icons-vue/dist/index.js +0 -44
- package/minilo/lib/node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo/utils/dist/func/common.js +0 -16
- package/minilo/lib/node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo/utils/dist/request/index.js +0 -120
- package/minilo/lib/node_modules/.pnpm/@vueuse_core@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/index.js +0 -84
- package/minilo/lib/node_modules/.pnpm/@vueuse_shared@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/index.js +0 -83
- package/minilo/lib/resolver/index.d.ts +0 -8
- package/minilo/lib/resolver/index.js +0 -31
- package/minilo/lib/utils/index.d.ts +0 -28
- package/minilo/lib/utils/index.js +0 -34
- package/minilo/theme-chalk/index.css +0 -1
- package/minilo/theme-chalk/ml-button.css +0 -1
- package/minilo/theme-chalk/ml-chart.css +0 -1
- package/minilo/theme-chalk/ml-detail.css +0 -1
- package/minilo/theme-chalk/ml-image-upload-pro.css +0 -1
- package/minilo/theme-chalk/ml-number-range-input.css +0 -1
- package/minilo/theme-chalk/ml-search-table.css +0 -1
- package/minilo/theme-chalk/ml-search.css +0 -1
- package/minilo/theme-chalk/ml-tree-select-dialog.css +0 -0
- package/minilo/theme-chalk/ml-tree-select-drawer.css +0 -0
- package/minilo/theme-chalk/ml-tree-select.css +0 -1
- package/minilo/theme-chalk/ml-virtual-list.css +0 -1
- package/minilo/theme-chalk/src/button.scss +0 -22
- package/minilo/theme-chalk/src/chart.scss +0 -11
- package/minilo/theme-chalk/src/default/variable.scss +0 -1
- package/minilo/theme-chalk/src/detail.scss +0 -9
- package/minilo/theme-chalk/src/image-upload-pro.scss +0 -70
- package/minilo/theme-chalk/src/index.scss +0 -14
- package/minilo/theme-chalk/src/mixins/mixin.scss +0 -273
- package/minilo/theme-chalk/src/number-range-input.scss +0 -9
- package/minilo/theme-chalk/src/search-table.scss +0 -47
- package/minilo/theme-chalk/src/search.scss +0 -20
- package/minilo/theme-chalk/src/tree-select-dialog.scss +0 -0
- package/minilo/theme-chalk/src/tree-select-drawer.scss +0 -0
- package/minilo/theme-chalk/src/tree-select.scss +0 -47
- package/minilo/theme-chalk/src/virtual-list.scss +0 -49
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
var search_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
|
|
6
|
-
name: "Search",
|
|
7
|
-
__name: "search",
|
|
8
|
-
setup(__props) {
|
|
9
|
-
return (_ctx, _cache) => (vue.openBlock(), vue.createElementBlock("svg", {
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
viewBox: "0 0 1024 1024"
|
|
12
|
-
}, [
|
|
13
|
-
vue.createElementVNode("path", {
|
|
14
|
-
fill: "currentColor",
|
|
15
|
-
d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"
|
|
16
|
-
})
|
|
17
|
-
]));
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
var search_default = search_vue_vue_type_script_setup_true_lang_default;
|
|
21
|
-
var warning_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
|
|
22
|
-
name: "Warning",
|
|
23
|
-
__name: "warning",
|
|
24
|
-
setup(__props) {
|
|
25
|
-
return (_ctx, _cache) => (vue.openBlock(), vue.createElementBlock("svg", {
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
viewBox: "0 0 1024 1024"
|
|
28
|
-
}, [
|
|
29
|
-
vue.createElementVNode("path", {
|
|
30
|
-
fill: "currentColor",
|
|
31
|
-
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
|
|
32
|
-
})
|
|
33
|
-
]));
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
var warning_default = warning_vue_vue_type_script_setup_true_lang_default;
|
|
37
|
-
/*! Bundled license information:
|
|
38
|
-
|
|
39
|
-
@element-plus/icons-vue/dist/index.js:
|
|
40
|
-
(*! Element Plus Icons Vue v2.3.1 *)
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
exports.Search = search_default;
|
|
44
|
-
exports.Warning = warning_default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function getNestedValue(obj, path, defaultValue) {
|
|
4
|
-
if (typeof obj !== "object" || obj === null || !path) {
|
|
5
|
-
return defaultValue;
|
|
6
|
-
}
|
|
7
|
-
const keys = path.split(".").filter((key) => key !== "");
|
|
8
|
-
return keys.reduce((current, key) => {
|
|
9
|
-
if (typeof current !== "object" || current === null) {
|
|
10
|
-
return defaultValue;
|
|
11
|
-
}
|
|
12
|
-
return current[key] !== void 0 ? current[key] : defaultValue;
|
|
13
|
-
}, obj);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
exports.getNestedValue = getNestedValue;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var axios = require('axios');
|
|
4
|
-
var elementPlus = require('element-plus');
|
|
5
|
-
var defu = require('defu');
|
|
6
|
-
|
|
7
|
-
const initRequestInstance = (extendConfig = {}, interceptorsRequestFn = () => {
|
|
8
|
-
}, interceptorsResponseFn = () => {
|
|
9
|
-
}) => {
|
|
10
|
-
const axiosConfig = defu.defu({}, extendConfig, {
|
|
11
|
-
baseURL: "/",
|
|
12
|
-
// 从环境变量获取基础URL
|
|
13
|
-
timeout: 1e4,
|
|
14
|
-
// 超时时间
|
|
15
|
-
headers: {
|
|
16
|
-
"Content-Type": "application/json;charset=utf-8"
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const instance = axios.create(axiosConfig);
|
|
20
|
-
instance.interceptors.request.use(
|
|
21
|
-
(config) => {
|
|
22
|
-
interceptorsRequestFn(config);
|
|
23
|
-
addPendingRequest(config);
|
|
24
|
-
return config;
|
|
25
|
-
},
|
|
26
|
-
(error) => {
|
|
27
|
-
return Promise.reject(error);
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
instance.interceptors.response.use(
|
|
31
|
-
(response) => {
|
|
32
|
-
interceptorsResponseFn(response);
|
|
33
|
-
removePendingRequest(response.config);
|
|
34
|
-
const data = response.data;
|
|
35
|
-
console.log(data);
|
|
36
|
-
if (data.code === 200) {
|
|
37
|
-
return Promise.resolve({
|
|
38
|
-
...response,
|
|
39
|
-
...data,
|
|
40
|
-
data: data.data
|
|
41
|
-
});
|
|
42
|
-
} else {
|
|
43
|
-
elementPlus.ElMessage.error(data.msg || "\u8BF7\u6C42\u5931\u8D25");
|
|
44
|
-
return Promise.reject(new Error(data.msg || "\u8BF7\u6C42\u5931\u8D25"));
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
(error) => {
|
|
48
|
-
console.log("\u8BF7\u6C42\u53D1\u751F\u9519\u8BEF>>>>>>>>>>>>>>>>>>\uFF1A", error);
|
|
49
|
-
if (error.config) {
|
|
50
|
-
removePendingRequest(error.config);
|
|
51
|
-
}
|
|
52
|
-
if (axios.isCancel(error)) {
|
|
53
|
-
console.warn("\u8BF7\u6C42\u5DF2\u88AB\u53D6\u6D88:", error.message);
|
|
54
|
-
return Promise.reject(new Error("\u8BF7\u6C42\u5DF2\u88AB\u53D6\u6D88"));
|
|
55
|
-
}
|
|
56
|
-
if (!window.navigator.onLine) {
|
|
57
|
-
elementPlus.ElMessage.error("\u7F51\u7EDC\u8FDE\u63A5\u5DF2\u65AD\u5F00\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC");
|
|
58
|
-
return Promise.reject(new Error("\u7F51\u7EDC\u8FDE\u63A5\u5DF2\u65AD\u5F00"));
|
|
59
|
-
}
|
|
60
|
-
const { response } = error;
|
|
61
|
-
if (response) {
|
|
62
|
-
switch (response.status) {
|
|
63
|
-
case 401:
|
|
64
|
-
elementPlus.ElMessage.error("\u8EAB\u4EFD\u9A8C\u8BC1\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55");
|
|
65
|
-
break;
|
|
66
|
-
case 403:
|
|
67
|
-
elementPlus.ElMessage.error("\u6CA1\u6709\u6743\u9650\u6267\u884C\u6B64\u64CD\u4F5C");
|
|
68
|
-
break;
|
|
69
|
-
case 404:
|
|
70
|
-
elementPlus.ElMessage.error("\u8BF7\u6C42\u7684\u8D44\u6E90\u4E0D\u5B58\u5728");
|
|
71
|
-
break;
|
|
72
|
-
case 500:
|
|
73
|
-
elementPlus.ElMessage.error("\u670D\u52A1\u5668\u5185\u90E8\u9519\u8BEF");
|
|
74
|
-
break;
|
|
75
|
-
default:
|
|
76
|
-
elementPlus.ElMessage.error(`\u8BF7\u6C42\u9519\u8BEF: ${response.status}`);
|
|
77
|
-
}
|
|
78
|
-
} else {
|
|
79
|
-
elementPlus.ElMessage.error("\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");
|
|
80
|
-
}
|
|
81
|
-
return Promise.reject(error);
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
return instance;
|
|
85
|
-
};
|
|
86
|
-
const pendingRequests = /* @__PURE__ */ new Map();
|
|
87
|
-
const generateRequestKey = (config) => {
|
|
88
|
-
const { method, url, params, data } = config;
|
|
89
|
-
const paramsStr = params ? JSON.stringify(params) : "";
|
|
90
|
-
const dataStr = data ? JSON.stringify(data) : "";
|
|
91
|
-
return `${method}-${url}-${paramsStr}-${dataStr}`;
|
|
92
|
-
};
|
|
93
|
-
const addPendingRequest = (config) => {
|
|
94
|
-
const requestKey = generateRequestKey(config);
|
|
95
|
-
if (pendingRequests.has(requestKey)) {
|
|
96
|
-
const cancelToken = pendingRequests.get(requestKey);
|
|
97
|
-
cancelToken.cancel(`\u91CD\u590D\u8BF7\u6C42\u88AB\u53D6\u6D88: ${config.url}`);
|
|
98
|
-
pendingRequests.delete(requestKey);
|
|
99
|
-
}
|
|
100
|
-
const source = axios.CancelToken.source();
|
|
101
|
-
config.cancelToken = source.token;
|
|
102
|
-
pendingRequests.set(requestKey, source);
|
|
103
|
-
};
|
|
104
|
-
const removePendingRequest = (config) => {
|
|
105
|
-
const requestKey = generateRequestKey(config);
|
|
106
|
-
if (pendingRequests.has(requestKey)) {
|
|
107
|
-
pendingRequests.delete(requestKey);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
exports.addPendingRequest = addPendingRequest;
|
|
112
|
-
exports.generateRequestKey = generateRequestKey;
|
|
113
|
-
exports.initRequestInstance = initRequestInstance;
|
|
114
|
-
exports.removePendingRequest = removePendingRequest;
|
|
115
|
-
Object.keys(axios).forEach(function (k) {
|
|
116
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
get: function () { return axios[k]; }
|
|
119
|
-
});
|
|
120
|
-
});
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('../../../../@vueuse_shared@13.9.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/index.js');
|
|
4
|
-
var vue = require('vue');
|
|
5
|
-
|
|
6
|
-
const defaultWindow = index.isClient ? window : void 0;
|
|
7
|
-
|
|
8
|
-
function unrefElement(elRef) {
|
|
9
|
-
var _a;
|
|
10
|
-
const plain = vue.toValue(elRef);
|
|
11
|
-
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// @__NO_SIDE_EFFECTS__
|
|
15
|
-
function useMounted() {
|
|
16
|
-
const isMounted = vue.shallowRef(false);
|
|
17
|
-
const instance = vue.getCurrentInstance();
|
|
18
|
-
if (instance) {
|
|
19
|
-
vue.onMounted(() => {
|
|
20
|
-
isMounted.value = true;
|
|
21
|
-
}, instance);
|
|
22
|
-
}
|
|
23
|
-
return isMounted;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// @__NO_SIDE_EFFECTS__
|
|
27
|
-
function useSupported(callback) {
|
|
28
|
-
const isMounted = useMounted();
|
|
29
|
-
return vue.computed(() => {
|
|
30
|
-
isMounted.value;
|
|
31
|
-
return Boolean(callback());
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
function useResizeObserver(target, callback, options = {}) {
|
|
36
|
-
const { window = defaultWindow, ...observerOptions } = options;
|
|
37
|
-
let observer;
|
|
38
|
-
const isSupported = useSupported(() => window && "ResizeObserver" in window);
|
|
39
|
-
const cleanup = () => {
|
|
40
|
-
if (observer) {
|
|
41
|
-
observer.disconnect();
|
|
42
|
-
observer = void 0;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
const targets = vue.computed(() => {
|
|
46
|
-
const _targets = vue.toValue(target);
|
|
47
|
-
return Array.isArray(_targets) ? _targets.map((el) => unrefElement(el)) : [unrefElement(_targets)];
|
|
48
|
-
});
|
|
49
|
-
const stopWatch = vue.watch(
|
|
50
|
-
targets,
|
|
51
|
-
(els) => {
|
|
52
|
-
cleanup();
|
|
53
|
-
if (isSupported.value && window) {
|
|
54
|
-
observer = new ResizeObserver(callback);
|
|
55
|
-
for (const _el of els) {
|
|
56
|
-
if (_el)
|
|
57
|
-
observer.observe(_el, observerOptions);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
{ immediate: true, flush: "post" }
|
|
62
|
-
);
|
|
63
|
-
const stop = () => {
|
|
64
|
-
cleanup();
|
|
65
|
-
stopWatch();
|
|
66
|
-
};
|
|
67
|
-
index.tryOnScopeDispose(stop);
|
|
68
|
-
return {
|
|
69
|
-
isSupported,
|
|
70
|
-
stop
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
exports.createFilterWrapper = index.createFilterWrapper;
|
|
75
|
-
exports.debounceFilter = index.debounceFilter;
|
|
76
|
-
exports.isClient = index.isClient;
|
|
77
|
-
exports.noop = index.noop;
|
|
78
|
-
exports.tryOnScopeDispose = index.tryOnScopeDispose;
|
|
79
|
-
exports.useDebounceFn = index.useDebounceFn;
|
|
80
|
-
exports.defaultWindow = defaultWindow;
|
|
81
|
-
exports.unrefElement = unrefElement;
|
|
82
|
-
exports.useMounted = useMounted;
|
|
83
|
-
exports.useResizeObserver = useResizeObserver;
|
|
84
|
-
exports.useSupported = useSupported;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
function tryOnScopeDispose(fn) {
|
|
6
|
-
if (vue.getCurrentScope()) {
|
|
7
|
-
vue.onScopeDispose(fn);
|
|
8
|
-
return true;
|
|
9
|
-
}
|
|
10
|
-
return false;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
14
|
-
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
15
|
-
const noop = () => {
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function createFilterWrapper(filter, fn) {
|
|
19
|
-
function wrapper(...args) {
|
|
20
|
-
return new Promise((resolve, reject) => {
|
|
21
|
-
Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return wrapper;
|
|
25
|
-
}
|
|
26
|
-
function debounceFilter(ms, options = {}) {
|
|
27
|
-
let timer;
|
|
28
|
-
let maxTimer;
|
|
29
|
-
let lastRejector = noop;
|
|
30
|
-
const _clearTimeout = (timer2) => {
|
|
31
|
-
clearTimeout(timer2);
|
|
32
|
-
lastRejector();
|
|
33
|
-
lastRejector = noop;
|
|
34
|
-
};
|
|
35
|
-
let lastInvoker;
|
|
36
|
-
const filter = (invoke) => {
|
|
37
|
-
const duration = vue.toValue(ms);
|
|
38
|
-
const maxDuration = vue.toValue(options.maxWait);
|
|
39
|
-
if (timer)
|
|
40
|
-
_clearTimeout(timer);
|
|
41
|
-
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
42
|
-
if (maxTimer) {
|
|
43
|
-
_clearTimeout(maxTimer);
|
|
44
|
-
maxTimer = void 0;
|
|
45
|
-
}
|
|
46
|
-
return Promise.resolve(invoke());
|
|
47
|
-
}
|
|
48
|
-
return new Promise((resolve, reject) => {
|
|
49
|
-
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
50
|
-
lastInvoker = invoke;
|
|
51
|
-
if (maxDuration && !maxTimer) {
|
|
52
|
-
maxTimer = setTimeout(() => {
|
|
53
|
-
if (timer)
|
|
54
|
-
_clearTimeout(timer);
|
|
55
|
-
maxTimer = void 0;
|
|
56
|
-
resolve(lastInvoker());
|
|
57
|
-
}, maxDuration);
|
|
58
|
-
}
|
|
59
|
-
timer = setTimeout(() => {
|
|
60
|
-
if (maxTimer)
|
|
61
|
-
_clearTimeout(maxTimer);
|
|
62
|
-
maxTimer = void 0;
|
|
63
|
-
resolve(invoke());
|
|
64
|
-
}, duration);
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
return filter;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// @__NO_SIDE_EFFECTS__
|
|
71
|
-
function useDebounceFn(fn, ms = 200, options = {}) {
|
|
72
|
-
return createFilterWrapper(
|
|
73
|
-
debounceFilter(ms, options),
|
|
74
|
-
fn
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
exports.createFilterWrapper = createFilterWrapper;
|
|
79
|
-
exports.debounceFilter = debounceFilter;
|
|
80
|
-
exports.isClient = isClient;
|
|
81
|
-
exports.noop = noop;
|
|
82
|
-
exports.tryOnScopeDispose = tryOnScopeDispose;
|
|
83
|
-
exports.useDebounceFn = useDebounceFn;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const libraryNamePrefixUpperCase = "Ml";
|
|
4
|
-
const libraryName = "minilo";
|
|
5
|
-
function kebabCase(key) {
|
|
6
|
-
const result = key.replace(/([A-Z])/g, " $1").trim();
|
|
7
|
-
return result.split(" ").join("-").toLowerCase();
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const MiniloUiResolver = () => {
|
|
11
|
-
console.log("MiniloUiResolver\u521D\u59CB\u5316");
|
|
12
|
-
return {
|
|
13
|
-
type: "component",
|
|
14
|
-
resolve: (name) => {
|
|
15
|
-
if (name.startsWith(libraryNamePrefixUpperCase)) {
|
|
16
|
-
const componentName = kebabCase(name.slice(2));
|
|
17
|
-
return {
|
|
18
|
-
name,
|
|
19
|
-
from: `@${libraryName}/ui/es/${componentName}`,
|
|
20
|
-
sideEffects: [
|
|
21
|
-
"element-plus/theme-chalk/index.css",
|
|
22
|
-
`@${libraryName}/ui/theme-chalk/ml-${componentName}`
|
|
23
|
-
]
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
exports.MiniloUiResolver = MiniloUiResolver;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
2
|
-
export declare const libraryNamePrefix = "ml";
|
|
3
|
-
export declare const libraryNamePrefixUpperCase = "Ml";
|
|
4
|
-
export declare const libraryName = "minilo";
|
|
5
|
-
/**
|
|
6
|
-
* @description 组件注册函数
|
|
7
|
-
* @author xieshuhong
|
|
8
|
-
* @template T
|
|
9
|
-
* @param {T} comp
|
|
10
|
-
* @return {*}
|
|
11
|
-
*/
|
|
12
|
-
export declare const withInstall: <T extends Component>(comp: T) => T;
|
|
13
|
-
/**
|
|
14
|
-
* BEM命名规范工具函数
|
|
15
|
-
* @param {string} block - 必选,块名(如'button')
|
|
16
|
-
* @param {string|undefined} element - 可选,元素名(如'icon')
|
|
17
|
-
* @param {string|string[]|undefined} modifier - 可选,修饰符(如'primary'或['large', 'disabled'])
|
|
18
|
-
* @returns {string} 生成的class字符串
|
|
19
|
-
*/
|
|
20
|
-
export declare function bem(block?: string, element?: string, modifier?: string): string;
|
|
21
|
-
/**
|
|
22
|
-
* @description 驼峰转 kabab
|
|
23
|
-
* @author xieshuhong
|
|
24
|
-
* @export
|
|
25
|
-
* @param {string} key
|
|
26
|
-
* @return {*}
|
|
27
|
-
*/
|
|
28
|
-
export declare function kebabCase(key: string): string;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const libraryNamePrefix = "ml";
|
|
4
|
-
const withInstall = (comp) => {
|
|
5
|
-
comp.install = (app) => {
|
|
6
|
-
const compName = comp.name;
|
|
7
|
-
if (!compName) return;
|
|
8
|
-
app.component(compName, comp);
|
|
9
|
-
};
|
|
10
|
-
return comp;
|
|
11
|
-
};
|
|
12
|
-
function bem(block = "", element = "", modifier = "") {
|
|
13
|
-
if (!block || typeof block !== "string") {
|
|
14
|
-
console.error("BEM: block\u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u4E14\u4E0D\u80FD\u4E3A\u7A7A");
|
|
15
|
-
return "";
|
|
16
|
-
}
|
|
17
|
-
let base = `${libraryNamePrefix}-${block}`;
|
|
18
|
-
if (element && typeof element === "string") {
|
|
19
|
-
base += `__${element}`;
|
|
20
|
-
}
|
|
21
|
-
if (!modifier) {
|
|
22
|
-
return base;
|
|
23
|
-
}
|
|
24
|
-
const modifiers = Array.isArray(modifier) ? modifier : [modifier];
|
|
25
|
-
const validModifiers = modifiers.filter((m) => typeof m === "string" && m.trim() !== "");
|
|
26
|
-
if (validModifiers.length === 0) {
|
|
27
|
-
return base;
|
|
28
|
-
}
|
|
29
|
-
return validModifiers.map((mod) => `${base}--${mod}`).join(" ");
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
exports.bem = bem;
|
|
33
|
-
exports.libraryNamePrefix = libraryNamePrefix;
|
|
34
|
-
exports.withInstall = withInstall;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-search{width:100%}.ml-search__content{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:space-between}.ml-search__content .el-form-item{margin-bottom:6px}.ml-search__content__left{flex:1}.ml-search__content__right{margin-left:12px}.ml-search__collapse{margin-bottom:10px}.ml-search-table{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;height:100%;justify-content:flex-start}.ml-search-table :deep(.el-table){border-radius:8px 8px 0 0}.ml-search-table :deep(.el-table) th{background-color:#f3f3f3}.ml-search-table__content{flex:1;margin-top:10px;width:100%}.ml-search-table__pagination{width:100%}.ml-search-table__pagination,.ml-search-table__pagination .el-pagination{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-end}.ml-chart{position:relative}.ml-chart,.ml-chart__container{height:100%;width:100%}.ml-detail .el-descriptions__body .el-descriptions__label:not(.is-bordered-label){margin-right:10px}.ml-button__tip{height:auto}.ml-button__tip:focus,.ml-button__tip:hover{animation:jump .3s}@keyframes jump{0%{transform:translateY(0)}50%{transform:translateY(-3px)}to{transform:translateY(0)}}.ml-virtual-list__container{border:1px solid #e4e7ed;border-radius:4px;overflow:auto;position:relative}.ml-virtual-list__container .loading-spinner{animation:spin .6s linear infinite;border:2px solid #e4e7ed;border-radius:50%;border-top-color:#409eff;display:inline-block;height:16px;margin-right:8px;width:16px}@keyframes spin{to{transform:rotate(1turn)}}.ml-virtual-list__finished-tip,.ml-virtual-list__loading-tip{align-items:center;background-color:#fff;color:#909399;display:flex;font-size:14px;justify-content:center;padding:20px}.ml-virtual-list__phantom{position:relative;width:100%}.ml-virtual-list__content{left:0;position:absolute;right:0;top:0}.ml-virtual-list__item{box-sizing:border-box}.ml-number-range-input{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;justify-content:flex-start}.ml-number-range-input__separator{color:#666}.ml-tree-select{align-content:stretch;align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;height:100%;justify-content:flex-start}.ml-tree-select__search{margin-bottom:16px}.ml-tree-select__tree{flex:1;min-height:200px;overflow:auto}.ml-tree-select__footer{align-content:stretch;align-items:center;border-top:1px solid var(--el-border-color-light);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-end;margin-top:16px;padding-top:16px}.ml-tree-select-dialog .el-dialog__header{margin-bottom:0}.ml-tree-select-dialog .el-dialog__body{padding-top:10px}.ml-tree-select-drawer .el-drawer__header{margin-bottom:0}.ml-tree-select-drawer .el-drawer__body{display:flex;flex-direction:column;padding:16px}.ml-image-upload-pro__upload-container{margin-bottom:20px}.ml-image-upload-pro__upload-text{color:#909399;font-size:12px;line-height:1.5;margin-top:8px}.ml-image-upload-pro__preview-list{align-content:stretch;align-items:stretch;display:flex;flex-direction:row;flex-wrap:wrap;gap:0;gap:10px;justify-content:flex-start}.ml-image-upload-pro__preview-item{border:1px solid #e6e6e6;border-radius:4px;cursor:move;height:120px;overflow:hidden;position:relative;width:120px}.ml-image-upload-pro__preview-item.active{border-color:var(--el-color-primary)}.ml-image-upload-pro__preview-img{height:80px;overflow:hidden;width:100%}.ml-image-upload-pro__preview-img img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ml-image-upload-pro__preview-actions{align-content:stretch;align-items:center;background:#f5f5f5;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:40px;justify-content:space-around}.ml-image-upload-pro__cropper-container{height:400px;width:100%}.ml-image-upload-pro__cropper-config{margin:20px 0}.ml-image-upload-pro :deep(.vue-cropper){height:100%;width:100%}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-button__tip{height:auto}.ml-button__tip:focus,.ml-button__tip:hover{animation:jump .3s}@keyframes jump{0%{transform:translateY(0)}50%{transform:translateY(-3px)}to{transform:translateY(0)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-chart{position:relative}.ml-chart,.ml-chart__container{height:100%;width:100%}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-detail .el-descriptions__body .el-descriptions__label:not(.is-bordered-label){margin-right:10px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-image-upload-pro__upload-container{margin-bottom:20px}.ml-image-upload-pro__upload-text{color:#909399;font-size:12px;line-height:1.5;margin-top:8px}.ml-image-upload-pro__preview-list{align-content:stretch;align-items:stretch;display:flex;flex-direction:row;flex-wrap:wrap;gap:0;gap:10px;justify-content:flex-start}.ml-image-upload-pro__preview-item{border:1px solid #e6e6e6;border-radius:4px;cursor:move;height:120px;overflow:hidden;position:relative;width:120px}.ml-image-upload-pro__preview-item.active{border-color:var(--el-color-primary)}.ml-image-upload-pro__preview-img{height:80px;overflow:hidden;width:100%}.ml-image-upload-pro__preview-img img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.ml-image-upload-pro__preview-actions{align-content:stretch;align-items:center;background:#f5f5f5;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:40px;justify-content:space-around}.ml-image-upload-pro__cropper-container{height:400px;width:100%}.ml-image-upload-pro__cropper-config{margin:20px 0}.ml-image-upload-pro :deep(.vue-cropper){height:100%;width:100%}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-number-range-input{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;justify-content:flex-start}.ml-number-range-input__separator{color:#666}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-search{width:100%}.ml-search__content{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:space-between}.ml-search__content .el-form-item{margin-bottom:6px}.ml-search__content__left{flex:1}.ml-search__content__right{margin-left:12px}.ml-search__collapse{margin-bottom:10px}.ml-search-table{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;height:100%;justify-content:flex-start}.ml-search-table :deep(.el-table){border-radius:8px 8px 0 0}.ml-search-table :deep(.el-table) th{background-color:#f3f3f3}.ml-search-table__content{flex:1;margin-top:10px;width:100%}.ml-search-table__pagination{width:100%}.ml-search-table__pagination,.ml-search-table__pagination .el-pagination{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-end}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-search{width:100%}.ml-search__content{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:space-between}.ml-search__content .el-form-item{margin-bottom:6px}.ml-search__content__left{flex:1}.ml-search__content__right{margin-left:12px}.ml-search__collapse{margin-bottom:10px}
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-tree-select{align-content:stretch;align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;height:100%;justify-content:flex-start}.ml-tree-select__search{margin-bottom:16px}.ml-tree-select__tree{flex:1;min-height:200px;overflow:auto}.ml-tree-select__footer{align-content:stretch;align-items:center;border-top:1px solid var(--el-border-color-light);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-end;margin-top:16px;padding-top:16px}.ml-tree-select-dialog .el-dialog__header{margin-bottom:0}.ml-tree-select-dialog .el-dialog__body{padding-top:10px}.ml-tree-select-drawer .el-drawer__header{margin-bottom:0}.ml-tree-select-drawer .el-drawer__body{display:flex;flex-direction:column;padding:16px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ml-virtual-list__container{border:1px solid #e4e7ed;border-radius:4px;overflow:auto;position:relative}.ml-virtual-list__container .loading-spinner{animation:spin .6s linear infinite;border:2px solid #e4e7ed;border-radius:50%;border-top-color:#409eff;display:inline-block;height:16px;margin-right:8px;width:16px}@keyframes spin{to{transform:rotate(1turn)}}.ml-virtual-list__finished-tip,.ml-virtual-list__loading-tip{align-items:center;background-color:#fff;color:#909399;display:flex;font-size:14px;justify-content:center;padding:20px}.ml-virtual-list__phantom{position:relative;width:100%}.ml-virtual-list__content{left:0;position:absolute;right:0;top:0}.ml-virtual-list__item{box-sizing:border-box}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@use './mixins/mixin.scss' as *;
|
|
2
|
-
|
|
3
|
-
@include bem('button') {
|
|
4
|
-
&__tip {
|
|
5
|
-
height: auto;
|
|
6
|
-
&:hover,
|
|
7
|
-
&:focus {
|
|
8
|
-
animation: jump 0.3s;
|
|
9
|
-
}
|
|
10
|
-
@keyframes jump {
|
|
11
|
-
0% {
|
|
12
|
-
transform: translateY(0);
|
|
13
|
-
}
|
|
14
|
-
50% {
|
|
15
|
-
transform: translateY(-3px);
|
|
16
|
-
}
|
|
17
|
-
100% {
|
|
18
|
-
transform: translateY(0);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
$library-prefix: 'ml-' !default;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
@use './mixins/mixin.scss' as *;
|
|
2
|
-
@use './default/variable.scss' as *;
|
|
3
|
-
|
|
4
|
-
@include bem('image-upload-pro') {
|
|
5
|
-
// 上传区域
|
|
6
|
-
&__upload-container {
|
|
7
|
-
margin-bottom: 20px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&__upload-text {
|
|
11
|
-
margin-top: 8px;
|
|
12
|
-
color: #909399;
|
|
13
|
-
font-size: 12px;
|
|
14
|
-
line-height: 1.5;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// 预览列表
|
|
18
|
-
&__preview-list {
|
|
19
|
-
@include flex($wrap: wrap);
|
|
20
|
-
gap: 10px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&__preview-item {
|
|
24
|
-
width: 120px;
|
|
25
|
-
height: 120px;
|
|
26
|
-
border: 1px solid #e6e6e6;
|
|
27
|
-
border-radius: 4px;
|
|
28
|
-
position: relative;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
cursor: move;
|
|
31
|
-
|
|
32
|
-
&.active {
|
|
33
|
-
border-color: var(--el-color-primary);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&__preview-img {
|
|
38
|
-
width: 100%;
|
|
39
|
-
height: 80px;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
|
|
42
|
-
img {
|
|
43
|
-
width: 100%;
|
|
44
|
-
height: 100%;
|
|
45
|
-
object-fit: cover;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&__preview-actions {
|
|
50
|
-
@include flex($justify: space-around, $align-items: center);
|
|
51
|
-
height: 40px;
|
|
52
|
-
background: #f5f5f5;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// 裁剪容器
|
|
56
|
-
&__cropper-container {
|
|
57
|
-
width: 100%;
|
|
58
|
-
height: 400px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&__cropper-config {
|
|
62
|
-
margin: 20px 0;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// 深度选择器
|
|
66
|
-
:deep(.vue-cropper) {
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 100%;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
@forward './mixins/mixin.scss';
|
|
2
|
-
// 混合方法和全局样式
|
|
3
|
-
@use './mixins/mixin.scss' as *;
|
|
4
|
-
@use './default/variable.scss' as *;
|
|
5
|
-
// 组件样式
|
|
6
|
-
@use './search.scss';
|
|
7
|
-
@use './search-table.scss';
|
|
8
|
-
@use './chart.scss';
|
|
9
|
-
@use './detail.scss';
|
|
10
|
-
@use './button.scss';
|
|
11
|
-
@use './virtual-list.scss';
|
|
12
|
-
@use './number-range-input.scss';
|
|
13
|
-
@use './tree-select.scss';
|
|
14
|
-
@use './image-upload-pro.scss';
|