@minilo/ui 0.0.4 → 0.0.6
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/README.md +44 -44
- package/minilo/dist/index.full.js +11 -6
- package/minilo/dist/index.full.min.js +1 -1
- package/minilo/dist/index.full.min.js.map +1 -1
- package/minilo/dist/index.full.min.mjs +1 -1
- package/minilo/dist/index.full.min.mjs.map +1 -1
- package/minilo/dist/index.full.mjs +11 -6
- package/minilo/es/components/image-upload-pro/index.d.ts +238 -339
- package/minilo/es/components/image-upload-pro/index.vue.d.ts +263 -364
- package/minilo/es/components/search/index.d.ts +51 -149
- package/minilo/es/components/search/index.vue.d.ts +102 -298
- package/minilo/es/components/tree-select-dialog/index.d.ts +11 -9
- package/minilo/es/components/tree-select-dialog/index.vue2.mjs +5 -3
- package/minilo/es/components/tree-select-drawer/index.d.ts +15 -12
- package/minilo/es/components/tree-select-drawer/index.vue2.mjs +6 -3
- package/minilo/es/index.d.ts +315 -509
- package/minilo/lib/components/image-upload-pro/index.d.ts +238 -339
- package/minilo/lib/components/image-upload-pro/index.vue.d.ts +263 -364
- package/minilo/lib/components/search/index.d.ts +51 -149
- package/minilo/lib/components/search/index.vue.d.ts +102 -298
- package/minilo/lib/components/tree-select-dialog/index.d.ts +11 -9
- package/minilo/lib/components/tree-select-dialog/index.vue2.js +5 -3
- package/minilo/lib/components/tree-select-drawer/index.d.ts +15 -12
- package/minilo/lib/components/tree-select-drawer/index.vue2.js +6 -3
- package/minilo/lib/index.d.ts +315 -509
- package/minilo/theme-chalk/src/button.scss +22 -22
- package/minilo/theme-chalk/src/chart.scss +11 -11
- package/minilo/theme-chalk/src/default/variable.scss +1 -1
- package/minilo/theme-chalk/src/detail.scss +9 -9
- package/minilo/theme-chalk/src/image-upload-pro.scss +70 -70
- package/minilo/theme-chalk/src/index.scss +14 -14
- package/minilo/theme-chalk/src/mixins/mixin.scss +273 -273
- package/minilo/theme-chalk/src/search-table.scss +47 -47
- package/minilo/theme-chalk/src/search.scss +20 -20
- package/minilo/theme-chalk/src/tree-select.scss +47 -47
- package/minilo/theme-chalk/src/virtual-list.scss +49 -49
- package/package.json +4 -3
|
@@ -1,22 +1,22 @@
|
|
|
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
|
+
@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,11 +1,11 @@
|
|
|
1
|
-
@use './mixins/mixin.scss' as *;
|
|
2
|
-
|
|
3
|
-
@include bem('chart') {
|
|
4
|
-
width: 100%;
|
|
5
|
-
height: 100%;
|
|
6
|
-
position: relative;
|
|
7
|
-
&__container {
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
@use './mixins/mixin.scss' as *;
|
|
2
|
+
|
|
3
|
+
@include bem('chart') {
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
position: relative;
|
|
7
|
+
&__container {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
$library-prefix: 'ml-' !default;
|
|
1
|
+
$library-prefix: 'ml-' !default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@use './mixins/mixin.scss' as *;
|
|
2
|
-
|
|
3
|
-
@include bem('detail') {
|
|
4
|
-
.el-descriptions__body {
|
|
5
|
-
.el-descriptions__label:not(.is-bordered-label) {
|
|
6
|
-
margin-right: 10px;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
@use './mixins/mixin.scss' as *;
|
|
2
|
+
|
|
3
|
+
@include bem('detail') {
|
|
4
|
+
.el-descriptions__body {
|
|
5
|
+
.el-descriptions__label:not(.is-bordered-label) {
|
|
6
|
+
margin-right: 10px;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,70 +1,70 @@
|
|
|
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
|
+
@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 +1,14 @@
|
|
|
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';
|
|
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';
|