giime 0.0.12 → 0.0.13
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/dist/index.css +93 -134
- package/es/components/index.mjs +3 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/src/base/countdown/Countdown.vue2.mjs.map +1 -1
- package/es/components/src/base/index.d.ts +1 -0
- package/es/components/src/base/index.mjs +1 -0
- package/es/components/src/base/index.mjs.map +1 -1
- package/es/components/src/base/statistic/Statistic.vue2.mjs +1 -1
- package/es/components/src/base/statistic/Statistic.vue2.mjs.map +1 -1
- package/es/components/src/base/status/index.d.ts +70 -0
- package/es/components/src/base/status/index.mjs +8 -0
- package/es/components/src/base/status/index.mjs.map +1 -0
- package/es/components/src/base/status/status.d.ts +13 -0
- package/es/components/src/base/status/status.mjs +14 -0
- package/es/components/src/base/status/status.mjs.map +1 -0
- package/es/components/src/base/status/status.vue.d.ts +32 -0
- package/es/components/src/base/status/status.vue.mjs +7 -0
- package/es/components/src/base/status/status.vue.mjs.map +1 -0
- package/es/components/src/base/status/status.vue2.mjs +67 -0
- package/es/components/src/base/status/status.vue2.mjs.map +1 -0
- package/es/components/src/base/step/Step.vue2.mjs.map +1 -1
- package/es/components/src/base/table/index.mjs.map +1 -1
- package/es/components/src/base/tag/Tag.vue2.mjs.map +1 -1
- package/es/components/src/business/customOperations/CustomOperations.vue.d.ts +11 -11
- package/es/components/src/business/customOperations/CustomOperations.vue.mjs +1 -2
- package/es/components/src/business/customOperations/CustomOperations.vue.mjs.map +1 -1
- package/es/components/src/business/customOperations/CustomOperations.vue2.mjs +335 -205
- package/es/components/src/business/customOperations/CustomOperations.vue2.mjs.map +1 -1
- package/es/components/src/business/customOperations/customOperations.d.ts +5 -10
- package/es/components/src/business/customOperations/customOperations.mjs +1 -1
- package/es/components/src/business/customOperations/customOperations.mjs.map +1 -1
- package/es/components/src/business/customOperations/index.d.ts +10 -10
- package/es/components/src/business/index.mjs +2 -0
- package/es/components/src/business/index.mjs.map +1 -1
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs +23 -18
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs.map +1 -1
- package/es/components/src/business/tableBody/TableBody.vue.d.ts +16 -21
- package/es/components/src/business/tableBody/TableBody.vue.mjs +1 -1
- package/es/components/src/business/tableBody/TableBody.vue2.mjs +100 -151
- package/es/components/src/business/tableBody/TableBody.vue2.mjs.map +1 -1
- package/es/components/src/business/tableBody/TableVNodeRenderer.d.ts +26 -0
- package/es/components/src/business/tableBody/TableVNodeRenderer.mjs +28 -0
- package/es/components/src/business/tableBody/TableVNodeRenderer.mjs.map +1 -0
- package/es/components/src/business/tableBody/index.d.ts +24 -27
- package/es/components/src/business/tableBody/index.mjs +3 -0
- package/es/components/src/business/tableBody/index.mjs.map +1 -1
- package/es/components/src/business/tableBody/tableBody.d.ts +4 -5
- package/es/components/src/business/tableBody/tableBody.mjs +8 -4
- package/es/components/src/business/tableBody/tableBody.mjs.map +1 -1
- package/es/components/src/business/tableBody/tableBodyItem/index.d.ts +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/index.mjs +3 -0
- package/es/components/src/business/tableBody/tableBodyItem/index.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.d.ts +34 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.mjs +7 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.mjs +42 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.d.ts +37 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.mjs +9 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.d.ts +20 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.mjs +24 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.mjs.map +1 -0
- package/es/components/src/business/tableHeader/TableHeader.vue.mjs +1 -1
- package/es/components/src/business/tableHeader/TableHeader.vue2.mjs +10 -13
- package/es/components/src/business/tableHeader/TableHeader.vue2.mjs.map +1 -1
- package/es/components/src/business/tableHeader/tableHeader.mjs.map +1 -1
- package/es/giime/component.mjs +2 -0
- package/es/giime/component.mjs.map +1 -1
- package/es/giime/index.mjs +3 -0
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/hooks/store/useCustomSettings/index.d.ts +15 -12
- package/es/hooks/store/useCustomSettings/index.mjs +12 -17
- package/es/hooks/store/useCustomSettings/index.mjs.map +1 -1
- package/es/hooks/store/useLogin/index.d.ts +13 -1
- package/es/hooks/store/useLogin/index.mjs +19 -2
- package/es/hooks/store/useLogin/index.mjs.map +1 -1
- package/es/index.css +93 -134
- package/es/theme-chalk/tailwindPlugin.d.ts +5 -0
- package/es/theme-chalk/tailwindPlugin.mjs +46 -0
- package/es/theme-chalk/tailwindPlugin.mjs.map +1 -0
- package/es/theme-chalk/tailwindPreset.d.ts +7 -36
- package/es/theme-chalk/tailwindPreset.mjs +16 -13
- package/es/theme-chalk/tailwindPreset.mjs.map +1 -1
- package/es/utils/src/http/createAxios.mjs +7 -6
- package/es/utils/src/http/createAxios.mjs.map +1 -1
- package/es/utils/src/http/interceptors.d.ts +2 -5
- package/es/utils/src/http/interceptors.mjs +6 -2
- package/es/utils/src/http/interceptors.mjs.map +1 -1
- package/global.d.ts +1 -0
- package/lib/components/index.js +36 -30
- package/lib/components/index.js.map +1 -1
- package/lib/components/src/base/countdown/Countdown.vue2.js.map +1 -1
- package/lib/components/src/base/index.d.ts +1 -0
- package/lib/components/src/base/index.js +2 -0
- package/lib/components/src/base/index.js.map +1 -1
- package/lib/components/src/base/statistic/Statistic.vue2.js +1 -1
- package/lib/components/src/base/statistic/Statistic.vue2.js.map +1 -1
- package/lib/components/src/base/status/index.d.ts +70 -0
- package/lib/components/src/base/status/index.js +13 -0
- package/lib/components/src/base/status/index.js.map +1 -0
- package/lib/components/src/base/status/status.d.ts +13 -0
- package/lib/components/src/base/status/status.js +16 -0
- package/lib/components/src/base/status/status.js.map +1 -0
- package/lib/components/src/base/status/status.vue.d.ts +32 -0
- package/lib/components/src/base/status/status.vue.js +11 -0
- package/lib/components/src/base/status/status.vue.js.map +1 -0
- package/lib/components/src/base/status/status.vue2.js +71 -0
- package/lib/components/src/base/status/status.vue2.js.map +1 -0
- package/lib/components/src/base/step/Step.vue2.js.map +1 -1
- package/lib/components/src/base/table/index.js.map +1 -1
- package/lib/components/src/base/tag/Tag.vue2.js.map +1 -1
- package/lib/components/src/business/customOperations/CustomOperations.vue.d.ts +11 -11
- package/lib/components/src/business/customOperations/CustomOperations.vue.js +1 -2
- package/lib/components/src/business/customOperations/CustomOperations.vue.js.map +1 -1
- package/lib/components/src/business/customOperations/CustomOperations.vue2.js +334 -204
- package/lib/components/src/business/customOperations/CustomOperations.vue2.js.map +1 -1
- package/lib/components/src/business/customOperations/customOperations.d.ts +5 -10
- package/lib/components/src/business/customOperations/customOperations.js +1 -1
- package/lib/components/src/business/customOperations/customOperations.js.map +1 -1
- package/lib/components/src/business/customOperations/index.d.ts +10 -10
- package/lib/components/src/business/index.js +12 -8
- package/lib/components/src/business/index.js.map +1 -1
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js +22 -17
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js.map +1 -1
- package/lib/components/src/business/tableBody/TableBody.vue.d.ts +16 -21
- package/lib/components/src/business/tableBody/TableBody.vue.js +1 -1
- package/lib/components/src/business/tableBody/TableBody.vue2.js +99 -150
- package/lib/components/src/business/tableBody/TableBody.vue2.js.map +1 -1
- package/lib/components/src/business/tableBody/TableVNodeRenderer.d.ts +26 -0
- package/lib/components/src/business/tableBody/TableVNodeRenderer.js +32 -0
- package/lib/components/src/business/tableBody/TableVNodeRenderer.js.map +1 -0
- package/lib/components/src/business/tableBody/index.d.ts +24 -27
- package/lib/components/src/business/tableBody/index.js +5 -0
- package/lib/components/src/business/tableBody/index.js.map +1 -1
- package/lib/components/src/business/tableBody/tableBody.d.ts +4 -5
- package/lib/components/src/business/tableBody/tableBody.js +8 -4
- package/lib/components/src/business/tableBody/tableBody.js.map +1 -1
- package/lib/components/src/business/tableBody/tableBodyItem/index.d.ts +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/index.js +10 -0
- package/lib/components/src/business/tableBody/tableBodyItem/index.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.d.ts +34 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.js +11 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.js +46 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.d.ts +37 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.js +15 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.d.ts +20 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.js +26 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.js.map +1 -0
- package/lib/components/src/business/tableHeader/TableHeader.vue.js +1 -1
- package/lib/components/src/business/tableHeader/TableHeader.vue2.js +10 -13
- package/lib/components/src/business/tableHeader/TableHeader.vue2.js.map +1 -1
- package/lib/components/src/business/tableHeader/tableHeader.js.map +1 -1
- package/lib/giime/component.js +16 -14
- package/lib/giime/component.js.map +1 -1
- package/lib/giime/index.js +58 -52
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/hooks/store/useCustomSettings/index.d.ts +15 -12
- package/lib/hooks/store/useCustomSettings/index.js +12 -17
- package/lib/hooks/store/useCustomSettings/index.js.map +1 -1
- package/lib/hooks/store/useLogin/index.d.ts +13 -1
- package/lib/hooks/store/useLogin/index.js +18 -1
- package/lib/hooks/store/useLogin/index.js.map +1 -1
- package/lib/index.css +93 -134
- package/lib/theme-chalk/tailwindPlugin.d.ts +5 -0
- package/lib/theme-chalk/tailwindPlugin.js +50 -0
- package/lib/theme-chalk/tailwindPlugin.js.map +1 -0
- package/lib/theme-chalk/tailwindPreset.d.ts +7 -36
- package/lib/theme-chalk/tailwindPreset.js +16 -13
- package/lib/theme-chalk/tailwindPreset.js.map +1 -1
- package/lib/utils/src/http/createAxios.js +7 -6
- package/lib/utils/src/http/createAxios.js.map +1 -1
- package/lib/utils/src/http/interceptors.d.ts +2 -5
- package/lib/utils/src/http/interceptors.js +6 -2
- package/lib/utils/src/http/interceptors.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +2 -1
- package/es/components/src/business/customOperations/CustomOperations.vue3.mjs +0 -4
- package/es/components/src/business/customOperations/CustomOperations.vue3.mjs.map +0 -1
- package/lib/components/src/business/customOperations/CustomOperations.vue3.js +0 -8
- package/lib/components/src/business/customOperations/CustomOperations.vue3.js.map +0 -1
package/dist/index.css
CHANGED
|
@@ -1,132 +1,3 @@
|
|
|
1
|
-
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .cell {
|
|
2
|
-
white-space: pre-line !important;
|
|
3
|
-
}
|
|
4
|
-
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .el-tooltip {
|
|
5
|
-
white-space: nowrap !important;
|
|
6
|
-
}
|
|
7
|
-
#table-page[data-v-e6c3b52b] [data-v-e6c3b52b] .el-scrollbar__bar.is-horizontal {
|
|
8
|
-
height: 12px;
|
|
9
|
-
border-radius: 12px;
|
|
10
|
-
}
|
|
11
|
-
#table-page[data-v-e6c3b52b] .operate-wrap[data-v-e6c3b52b] {
|
|
12
|
-
text-align: center;
|
|
13
|
-
}
|
|
14
|
-
#table-page[data-v-e6c3b52b] .el-button[data-v-e6c3b52b] {
|
|
15
|
-
margin: 0 3px !important;
|
|
16
|
-
}
|
|
17
|
-
@charset "UTF-8";
|
|
18
|
-
.drawer-title[data-v-8d23de37] {
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
border-bottom: 2px solid #f2f2f2;
|
|
21
|
-
margin: 0 -20px;
|
|
22
|
-
padding: 0 20px 20px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
#column-group[data-v-8d23de37] {
|
|
26
|
-
height: calc(100vh - 265px);
|
|
27
|
-
overflow-y: auto;
|
|
28
|
-
}
|
|
29
|
-
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar {
|
|
30
|
-
/*滚动条整体样式*/
|
|
31
|
-
width: 4px;
|
|
32
|
-
/*高宽分别对应横竖滚动条的尺寸*/
|
|
33
|
-
height: 1px;
|
|
34
|
-
}
|
|
35
|
-
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar-thumb {
|
|
36
|
-
/*滚动条里面小方块*/
|
|
37
|
-
border-radius: 10px;
|
|
38
|
-
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
39
|
-
background: #999;
|
|
40
|
-
}
|
|
41
|
-
#column-group[data-v-8d23de37][data-v-8d23de37]::-webkit-scrollbar-track {
|
|
42
|
-
/*滚动条里面轨道*/
|
|
43
|
-
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
44
|
-
border-radius: 10px;
|
|
45
|
-
background: #eee;
|
|
46
|
-
}
|
|
47
|
-
#column-group[data-v-8d23de37] .column-checked[data-v-8d23de37] {
|
|
48
|
-
margin-left: -36px;
|
|
49
|
-
}
|
|
50
|
-
#column-group[data-v-8d23de37] [data-v-8d23de37] .el-input__wrapper {
|
|
51
|
-
box-shadow: none;
|
|
52
|
-
}
|
|
53
|
-
#column-group[data-v-8d23de37] ul[data-v-8d23de37]:last-child {
|
|
54
|
-
border-bottom: 1px solid #e5e7eb;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.column-class[data-v-8d23de37] > ul[data-v-8d23de37]:first-child {
|
|
58
|
-
padding-right: 4px;
|
|
59
|
-
}
|
|
60
|
-
.column-class[data-v-8d23de37] #column-group[data-v-8d23de37] ul[data-v-8d23de37]:last-child {
|
|
61
|
-
border-bottom: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.drawer-footer-btn[data-v-8d23de37] {
|
|
65
|
-
margin: 15px -20px -20px;
|
|
66
|
-
padding: 15px 20px;
|
|
67
|
-
}
|
|
68
|
-
.gm-flex-center[data-v-e26ef660] {
|
|
69
|
-
align-items: center;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.gm-flex-justify-between[data-v-e26ef660] {
|
|
73
|
-
justify-content: space-between;
|
|
74
|
-
}
|
|
75
|
-
[data-v-512cf874] .gmSearchForm .el-form-item {
|
|
76
|
-
margin-right: 8px;
|
|
77
|
-
margin-bottom: 8px;
|
|
78
|
-
}
|
|
79
|
-
@charset "UTF-8";
|
|
80
|
-
.drawer-title[data-v-7b4ee322] {
|
|
81
|
-
font-size: 14px;
|
|
82
|
-
border-bottom: 2px solid #f2f2f2;
|
|
83
|
-
margin: 0 -20px;
|
|
84
|
-
padding: 0 20px 20px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
#column-group[data-v-7b4ee322] {
|
|
88
|
-
height: calc(100vh - 265px);
|
|
89
|
-
overflow-y: auto;
|
|
90
|
-
}
|
|
91
|
-
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar {
|
|
92
|
-
/*滚动条整体样式*/
|
|
93
|
-
width: 4px;
|
|
94
|
-
/*高宽分别对应横竖滚动条的尺寸*/
|
|
95
|
-
height: 1px;
|
|
96
|
-
}
|
|
97
|
-
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar-thumb {
|
|
98
|
-
/*滚动条里面小方块*/
|
|
99
|
-
border-radius: 10px;
|
|
100
|
-
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
101
|
-
background: #999;
|
|
102
|
-
}
|
|
103
|
-
#column-group[data-v-7b4ee322][data-v-7b4ee322]::-webkit-scrollbar-track {
|
|
104
|
-
/*滚动条里面轨道*/
|
|
105
|
-
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
106
|
-
border-radius: 10px;
|
|
107
|
-
background: #eee;
|
|
108
|
-
}
|
|
109
|
-
#column-group[data-v-7b4ee322] .column-checked[data-v-7b4ee322] {
|
|
110
|
-
margin-left: -36px;
|
|
111
|
-
}
|
|
112
|
-
#column-group[data-v-7b4ee322] [data-v-7b4ee322] .el-input__wrapper {
|
|
113
|
-
box-shadow: none;
|
|
114
|
-
}
|
|
115
|
-
#column-group[data-v-7b4ee322] ul[data-v-7b4ee322]:last-child {
|
|
116
|
-
border-bottom: 1px solid #e5e7eb;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.column-class[data-v-7b4ee322] > ul[data-v-7b4ee322]:first-child {
|
|
120
|
-
padding-right: 4px;
|
|
121
|
-
}
|
|
122
|
-
.column-class[data-v-7b4ee322] #column-group[data-v-7b4ee322] ul[data-v-7b4ee322]:last-child {
|
|
123
|
-
border-bottom: none;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.drawer-footer-btn[data-v-7b4ee322] {
|
|
127
|
-
margin: 15px -20px -20px;
|
|
128
|
-
padding: 15px 20px;
|
|
129
|
-
}
|
|
130
1
|
/*
|
|
131
2
|
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
|
|
132
3
|
*//*
|
|
@@ -640,6 +511,9 @@ video {
|
|
|
640
511
|
.gm-mt-2 {
|
|
641
512
|
margin-top: 0.5rem;
|
|
642
513
|
}
|
|
514
|
+
.gm-inline-block {
|
|
515
|
+
display: inline-block;
|
|
516
|
+
}
|
|
643
517
|
.gm-flex {
|
|
644
518
|
display: flex;
|
|
645
519
|
}
|
|
@@ -649,9 +523,15 @@ video {
|
|
|
649
523
|
.gm-table-column {
|
|
650
524
|
display: table-column;
|
|
651
525
|
}
|
|
526
|
+
.gm-h-1 {
|
|
527
|
+
height: 0.25rem;
|
|
528
|
+
}
|
|
652
529
|
.gm-h-\[600px\] {
|
|
653
530
|
height: 600px;
|
|
654
531
|
}
|
|
532
|
+
.gm-w-1 {
|
|
533
|
+
width: 0.25rem;
|
|
534
|
+
}
|
|
655
535
|
.gm-w-24 {
|
|
656
536
|
width: 6rem;
|
|
657
537
|
}
|
|
@@ -691,6 +571,9 @@ video {
|
|
|
691
571
|
.gm-rounded {
|
|
692
572
|
border-radius: 0.25rem;
|
|
693
573
|
}
|
|
574
|
+
.gm-rounded-full {
|
|
575
|
+
border-radius: 9999px;
|
|
576
|
+
}
|
|
694
577
|
.gm-border {
|
|
695
578
|
border-width: 1px;
|
|
696
579
|
}
|
|
@@ -734,15 +617,13 @@ video {
|
|
|
734
617
|
.gm-text-center {
|
|
735
618
|
text-align: center;
|
|
736
619
|
}
|
|
620
|
+
.gm-align-middle {
|
|
621
|
+
vertical-align: middle;
|
|
622
|
+
}
|
|
737
623
|
.gm-text-sm {
|
|
738
624
|
font-size: 0.875rem;
|
|
739
625
|
line-height: 1.25rem;
|
|
740
626
|
}
|
|
741
|
-
.gm-text-title {
|
|
742
|
-
font-size: var(--gm-text-title);
|
|
743
|
-
line-height: var(--gm-leading-title);
|
|
744
|
-
font-weight: 700;
|
|
745
|
-
}
|
|
746
627
|
.gm-text-xs {
|
|
747
628
|
font-size: 0.75rem;
|
|
748
629
|
line-height: 1rem;
|
|
@@ -779,4 +660,82 @@ video {
|
|
|
779
660
|
.gm-text-orange-400 {
|
|
780
661
|
--tw-text-opacity: 1;
|
|
781
662
|
color: rgb(251 146 60 / var(--tw-text-opacity));
|
|
663
|
+
}
|
|
664
|
+
#table-page[data-v-4cbe9348] [data-v-4cbe9348] .cell {
|
|
665
|
+
white-space: pre-line !important;
|
|
666
|
+
}
|
|
667
|
+
#table-page[data-v-4cbe9348] [data-v-4cbe9348] .el-tooltip {
|
|
668
|
+
white-space: nowrap !important;
|
|
669
|
+
}
|
|
670
|
+
#table-page[data-v-4cbe9348] [data-v-4cbe9348] .el-scrollbar__bar.is-horizontal {
|
|
671
|
+
height: 12px;
|
|
672
|
+
border-radius: 12px;
|
|
673
|
+
}
|
|
674
|
+
#table-page[data-v-4cbe9348] .operate-wrap[data-v-4cbe9348] {
|
|
675
|
+
text-align: center;
|
|
676
|
+
}
|
|
677
|
+
#table-page[data-v-4cbe9348] .el-button[data-v-4cbe9348] {
|
|
678
|
+
margin: 0 3px !important;
|
|
679
|
+
}
|
|
680
|
+
@charset "UTF-8";
|
|
681
|
+
.drawer-title[data-v-05e98ace] {
|
|
682
|
+
font-size: 14px;
|
|
683
|
+
border-bottom: 2px solid #f2f2f2;
|
|
684
|
+
margin: 0 -20px;
|
|
685
|
+
padding: 0 20px 20px;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
#column-group[data-v-05e98ace] {
|
|
689
|
+
height: calc(100vh - 265px);
|
|
690
|
+
overflow-y: auto;
|
|
691
|
+
}
|
|
692
|
+
#column-group[data-v-05e98ace][data-v-05e98ace]::-webkit-scrollbar {
|
|
693
|
+
/*滚动条整体样式*/
|
|
694
|
+
width: 4px;
|
|
695
|
+
/*高宽分别对应横竖滚动条的尺寸*/
|
|
696
|
+
height: 1px;
|
|
697
|
+
}
|
|
698
|
+
#column-group[data-v-05e98ace][data-v-05e98ace]::-webkit-scrollbar-thumb {
|
|
699
|
+
/*滚动条里面小方块*/
|
|
700
|
+
border-radius: 10px;
|
|
701
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
702
|
+
background: #999;
|
|
703
|
+
}
|
|
704
|
+
#column-group[data-v-05e98ace][data-v-05e98ace]::-webkit-scrollbar-track {
|
|
705
|
+
/*滚动条里面轨道*/
|
|
706
|
+
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
707
|
+
border-radius: 10px;
|
|
708
|
+
background: #eee;
|
|
709
|
+
}
|
|
710
|
+
#column-group[data-v-05e98ace] .column-checked[data-v-05e98ace] {
|
|
711
|
+
margin-left: -36px;
|
|
712
|
+
}
|
|
713
|
+
#column-group[data-v-05e98ace] [data-v-05e98ace] .el-input__wrapper {
|
|
714
|
+
box-shadow: none;
|
|
715
|
+
}
|
|
716
|
+
#column-group[data-v-05e98ace] ul[data-v-05e98ace]:last-child {
|
|
717
|
+
border-bottom: 1px solid #e5e7eb;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.column-class[data-v-05e98ace] > ul[data-v-05e98ace]:first-child {
|
|
721
|
+
padding-right: 4px;
|
|
722
|
+
}
|
|
723
|
+
.column-class[data-v-05e98ace] #column-group[data-v-05e98ace] ul[data-v-05e98ace]:last-child {
|
|
724
|
+
border-bottom: none;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.drawer-footer-btn[data-v-05e98ace] {
|
|
728
|
+
margin: 15px -20px -20px;
|
|
729
|
+
padding: 15px 20px;
|
|
730
|
+
}
|
|
731
|
+
.gm-flex-center[data-v-e26ef660] {
|
|
732
|
+
align-items: center;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.gm-flex-justify-between[data-v-e26ef660] {
|
|
736
|
+
justify-content: space-between;
|
|
737
|
+
}
|
|
738
|
+
[data-v-512cf874] .gmSearchForm .el-form-item {
|
|
739
|
+
margin-right: 8px;
|
|
740
|
+
margin-bottom: 8px;
|
|
782
741
|
}
|
package/es/components/index.mjs
CHANGED
|
@@ -208,7 +208,10 @@ export { anchorEmits, anchorProps } from './src/base/anchor/anchor.mjs';
|
|
|
208
208
|
export { GmAnchor } from './src/base/anchor/index.mjs';
|
|
209
209
|
export { anchorLinkProps } from './src/base/anchorLink/anchorLink.mjs';
|
|
210
210
|
export { GmAnchorLink } from './src/base/anchorLink/index.mjs';
|
|
211
|
+
export { GmStatus } from './src/base/status/index.mjs';
|
|
211
212
|
export { tableBodyEmits, tableBodyProps } from './src/business/tableBody/tableBody.mjs';
|
|
213
|
+
export { tableBodyOperateButtonProps } from './src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.mjs';
|
|
214
|
+
export { GmTableBodyOperateButton } from './src/business/tableBody/tableBodyItem/tableBodyOperates/index.mjs';
|
|
212
215
|
export { GmTableBody } from './src/business/tableBody/index.mjs';
|
|
213
216
|
export { tableHeaderProps } from './src/business/tableHeader/tableHeader.mjs';
|
|
214
217
|
export { GmTableHeader } from './src/business/tableHeader/index.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Countdown.vue2.mjs","sources":["../../../../../../../packages/components/src/base/countdown/Countdown.vue"],"sourcesContent":["<template>\r\n <el-countdown ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\r\n <template v-if=\"slots.title\" #title>\r\n <slot name=\"title\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <slot name=\"prefix\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <slot name=\"suffix\" />\r\n </template>\r\n </el-countdown>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { getGmEvent, getGmExports } from '@giime/utils';\r\nimport { countdownEmits as elCountdownEmits } from 'element-plus';\r\nimport { countdownEmits, countdownProps } from './countdown';\r\nimport type { CountdownInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmCountdown',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(countdownProps);\r\nconst emit = defineEmits(countdownEmits);\r\n// 重发el的事件\r\nconst elEvents = getGmEvent(elCountdownEmits, emit);\r\n\r\nconst elRef = ref<CountdownInstance>();\r\nconst exposeEvents = [
|
|
1
|
+
{"version":3,"file":"Countdown.vue2.mjs","sources":["../../../../../../../packages/components/src/base/countdown/Countdown.vue"],"sourcesContent":["<template>\r\n <el-countdown ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\r\n <template v-if=\"slots.title\" #title>\r\n <slot name=\"title\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <slot name=\"prefix\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <slot name=\"suffix\" />\r\n </template>\r\n </el-countdown>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { getGmEvent, getGmExports } from '@giime/utils';\r\nimport { countdownEmits as elCountdownEmits } from 'element-plus';\r\nimport { countdownEmits, countdownProps } from './countdown';\r\nimport type { CountdownInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmCountdown',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(countdownProps);\r\nconst emit = defineEmits(countdownEmits);\r\n// 重发el的事件\r\nconst elEvents = getGmEvent(elCountdownEmits, emit);\r\n\r\nconst elRef = ref<CountdownInstance>();\r\nconst exposeEvents = ['displayValue'] as const;\r\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\r\ndefineExpose({\r\n elRef,\r\n ...exposeFns,\r\n});\r\n</script>\r\n"],"names":["elCountdownEmits"],"mappings":";;;;;;;;;;;;;;;AAuBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,QAAA,GAAW,UAAW,CAAAA,gBAAA,EAAkB,IAAI,CAAA,CAAA;AAElD,IAAA,MAAM,QAAQ,GAAuB,EAAA,CAAA;AACrC,IAAM,MAAA,YAAA,GAAe,CAAC,cAAc,CAAA,CAAA;AACpC,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,MACA,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -101,6 +101,7 @@ export { GmTour } from './tour/index.mjs';
|
|
|
101
101
|
export { GmTourStep } from './tourStep/index.mjs';
|
|
102
102
|
export { GmAnchor } from './anchor/index.mjs';
|
|
103
103
|
export { GmAnchorLink } from './anchorLink/index.mjs';
|
|
104
|
+
export { GmStatus } from './status/index.mjs';
|
|
104
105
|
export { affixEmits, affixProps } from './affix/affix.mjs';
|
|
105
106
|
export { alertEffects, alertEmits, alertProps } from './alert/alert.mjs';
|
|
106
107
|
export { autocompleteEmits, autocompleteProps } from './autocomplete/autocomplete.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useSlots, ref, resolveComponent, openBlock, createBlock, mergeProps, createSlots, unref, withCtx, createVNode } from 'vue';
|
|
2
|
+
import '../../../../utils/index.mjs';
|
|
2
3
|
import VNodeRenderer from '../../common/VNodeRenderer.mjs';
|
|
3
4
|
import { statisticProps } from './statistic.mjs';
|
|
4
|
-
import '../../../../utils/index.mjs';
|
|
5
5
|
import { getGmExports } from '../../../../utils/src/elementPlus/exports.mjs';
|
|
6
6
|
|
|
7
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Statistic.vue2.mjs","sources":["../../../../../../../packages/components/src/base/statistic/Statistic.vue"],"sourcesContent":["<template>\r\n <el-statistic ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.title\" #title>\r\n <VNodeRenderer :vnode=\"slots.title?.()\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <VNodeRenderer :vnode=\"slots.suffix?.()\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <VNodeRenderer :vnode=\"slots.prefix?.()\" />\r\n </template>\r\n </el-statistic>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport VNodeRenderer from '../../common/VNodeRenderer';\r\nimport { statisticProps } from './statistic';\r\nimport type { StatisticInstance } from 'element-plus';\r\
|
|
1
|
+
{"version":3,"file":"Statistic.vue2.mjs","sources":["../../../../../../../packages/components/src/base/statistic/Statistic.vue"],"sourcesContent":["<template>\r\n <el-statistic ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.title\" #title>\r\n <VNodeRenderer :vnode=\"slots.title?.()\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <VNodeRenderer :vnode=\"slots.suffix?.()\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <VNodeRenderer :vnode=\"slots.prefix?.()\" />\r\n </template>\r\n </el-statistic>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { getGmExports } from '@giime/utils';\r\nimport VNodeRenderer from '../../common/VNodeRenderer';\r\nimport { statisticProps } from './statistic';\r\nimport type { StatisticInstance } from 'element-plus';\r\ndefineOptions({\r\n name: 'GmStatistic',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(statisticProps);\r\n\r\nconst elRef = ref<StatisticInstance>();\r\nconst exposeEvents = ['displayValue'] as const;\r\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\r\ndefineExpose({\r\n elRef,\r\n ...exposeFns,\r\n});\r\n</script>\r\n"],"names":[],"mappings":";;;;;;;;;;;;;AAsBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,QAAQ,GAAuB,EAAA,CAAA;AACrC,IAAM,MAAA,YAAA,GAAe,CAAC,cAAc,CAAA,CAAA;AACpC,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,MACA,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import Status from './status.vue';
|
|
2
|
+
export declare const GmStatus: import("../../../../utils").SFCWithInstall<{
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: import("vue").PropType<import("./status.js").StatusPropsType>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
textHasColor: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
};
|
|
11
|
+
doitColor: StringConstructor;
|
|
12
|
+
textColor: StringConstructor;
|
|
13
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
type: {
|
|
15
|
+
type: import("vue").PropType<import("./status.js").StatusPropsType>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
textHasColor: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
};
|
|
21
|
+
doitColor: StringConstructor;
|
|
22
|
+
textColor: StringConstructor;
|
|
23
|
+
}>>, {
|
|
24
|
+
type: import("./status.js").StatusPropsType;
|
|
25
|
+
textHasColor: boolean;
|
|
26
|
+
}, true, {}, {}, {
|
|
27
|
+
P: {};
|
|
28
|
+
B: {};
|
|
29
|
+
D: {};
|
|
30
|
+
C: {};
|
|
31
|
+
M: {};
|
|
32
|
+
Defaults: {};
|
|
33
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
type: {
|
|
35
|
+
type: import("vue").PropType<import("./status.js").StatusPropsType>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
textHasColor: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
};
|
|
41
|
+
doitColor: StringConstructor;
|
|
42
|
+
textColor: StringConstructor;
|
|
43
|
+
}>>, {}, {}, {}, {}, {
|
|
44
|
+
type: import("./status.js").StatusPropsType;
|
|
45
|
+
textHasColor: boolean;
|
|
46
|
+
}>;
|
|
47
|
+
__isFragment?: undefined;
|
|
48
|
+
__isTeleport?: undefined;
|
|
49
|
+
__isSuspense?: undefined;
|
|
50
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
type: {
|
|
52
|
+
type: import("vue").PropType<import("./status.js").StatusPropsType>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
textHasColor: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
doitColor: StringConstructor;
|
|
59
|
+
textColor: StringConstructor;
|
|
60
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
61
|
+
type: import("./status.js").StatusPropsType;
|
|
62
|
+
textHasColor: boolean;
|
|
63
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
64
|
+
$slots: {
|
|
65
|
+
default?(_: {}): any;
|
|
66
|
+
};
|
|
67
|
+
})> & Record<string, any>;
|
|
68
|
+
export type StatusInstance = InstanceType<typeof Status>;
|
|
69
|
+
export * from './status.vue';
|
|
70
|
+
export default GmStatus;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import '../../../../utils/index.mjs';
|
|
2
|
+
import Status from './status.vue.mjs';
|
|
3
|
+
import { withInstall } from '../../../../utils/src/vue/install.mjs';
|
|
4
|
+
|
|
5
|
+
const GmStatus = withInstall(Status);
|
|
6
|
+
|
|
7
|
+
export { GmStatus, GmStatus as default };
|
|
8
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/components/src/base/status/index.ts"],"sourcesContent":["import { withInstall } from '@giime/utils';\r\nimport Status from './status.vue';\r\n\r\nexport const GmStatus = withInstall(Status);\r\nexport type StatusInstance = InstanceType<typeof Status>;\r\nexport * from './status.vue';\r\nexport default GmStatus;\r\n"],"names":[],"mappings":";;;;AAGa,MAAA,QAAA,GAAW,YAAY,MAAM;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export type StatusPropsType = 'success' | 'warning' | 'error';
|
|
3
|
+
export declare const statusProps: {
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<StatusPropsType>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
textHasColor: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
};
|
|
11
|
+
doitColor: StringConstructor;
|
|
12
|
+
textColor: StringConstructor;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.mjs","sources":["../../../../../../../packages/components/src/base/status/status.ts"],"sourcesContent":["import type { PropType } from 'vue';\r\n\r\nexport type StatusPropsType = 'success' | 'warning' | 'error';\r\n\r\nexport const statusProps = {\r\n type: {\r\n type: String as PropType<StatusPropsType>,\r\n default: 'success',\r\n },\r\n textHasColor: {\r\n type: Boolean,\r\n },\r\n doitColor: String,\r\n textColor: String,\r\n};\r\n"],"names":[],"mappings":"AAIO,MAAM,WAAc,GAAA;AAAA,EACzB,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,SAAA;AAAA,GACX;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,OAAA;AAAA,GACR;AAAA,EACA,SAAW,EAAA,MAAA;AAAA,EACX,SAAW,EAAA,MAAA;AACb;;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: import("vue").PropType<import("./status").StatusPropsType>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
textHasColor: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
};
|
|
9
|
+
doitColor: StringConstructor;
|
|
10
|
+
textColor: StringConstructor;
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
type: {
|
|
13
|
+
type: import("vue").PropType<import("./status").StatusPropsType>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
textHasColor: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
};
|
|
19
|
+
doitColor: StringConstructor;
|
|
20
|
+
textColor: StringConstructor;
|
|
21
|
+
}>>, {
|
|
22
|
+
type: import("./status").StatusPropsType;
|
|
23
|
+
textHasColor: boolean;
|
|
24
|
+
}, {}>, {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
}>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from './status.vue2.mjs';
|
|
2
|
+
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
|
+
|
|
4
|
+
var Status = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "status.vue"]]);
|
|
5
|
+
|
|
6
|
+
export { Status as default };
|
|
7
|
+
//# sourceMappingURL=status.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot } from 'vue';
|
|
2
|
+
import { statusProps } from './status.mjs';
|
|
3
|
+
|
|
4
|
+
const _hoisted_1 = { class: "gm-flex gm-items-center" };
|
|
5
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
...{
|
|
7
|
+
name: "GmStatus"
|
|
8
|
+
},
|
|
9
|
+
__name: "status",
|
|
10
|
+
props: statusProps,
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const doitStyle = computed(() => {
|
|
14
|
+
if (props.doitColor) {
|
|
15
|
+
return {
|
|
16
|
+
background: props.doitColor
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
return {};
|
|
20
|
+
});
|
|
21
|
+
const textStyle = computed(() => {
|
|
22
|
+
if (props.textColor) {
|
|
23
|
+
return {
|
|
24
|
+
color: props.textColor
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return {};
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
31
|
+
createElementVNode(
|
|
32
|
+
"i",
|
|
33
|
+
{
|
|
34
|
+
class: normalizeClass(["gm-mr-2 gm-inline-block gm-h-1 gm-w-1 gm-rounded-full gm-align-middle", {
|
|
35
|
+
"gm-bg-success": props.type == "success",
|
|
36
|
+
"gm-bg-error": props.type == "error",
|
|
37
|
+
"gm-bg-warning": props.type == "warning"
|
|
38
|
+
}]),
|
|
39
|
+
style: normalizeStyle(doitStyle.value)
|
|
40
|
+
},
|
|
41
|
+
null,
|
|
42
|
+
6
|
|
43
|
+
/* CLASS, STYLE */
|
|
44
|
+
),
|
|
45
|
+
createElementVNode(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
class: normalizeClass(["gm-flex-1 gm-align-middle", {
|
|
49
|
+
"gm-text-success": props.textHasColor && props.type == "success",
|
|
50
|
+
"gm-text-error": props.textHasColor && props.type == "error",
|
|
51
|
+
"gm-text-warning": props.textHasColor && props.type == "warning"
|
|
52
|
+
}]),
|
|
53
|
+
style: normalizeStyle(textStyle.value)
|
|
54
|
+
},
|
|
55
|
+
[
|
|
56
|
+
renderSlot(_ctx.$slots, "default")
|
|
57
|
+
],
|
|
58
|
+
6
|
|
59
|
+
/* CLASS, STYLE */
|
|
60
|
+
)
|
|
61
|
+
]);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export { _sfc_main as default };
|
|
67
|
+
//# sourceMappingURL=status.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.vue2.mjs","sources":["../../../../../../../packages/components/src/base/status/status.vue"],"sourcesContent":["<template>\r\n <div class=\"gm-flex gm-items-center\">\r\n <i\r\n class=\"gm-mr-2 gm-inline-block gm-h-1 gm-w-1 gm-rounded-full gm-align-middle\"\r\n :class=\"{\r\n 'gm-bg-success': props.type == 'success',\r\n 'gm-bg-error': props.type == 'error',\r\n 'gm-bg-warning': props.type == 'warning',\r\n }\"\r\n :style=\"doitStyle\"\r\n />\r\n <div\r\n class=\"gm-flex-1 gm-align-middle\"\r\n :class=\"{\r\n 'gm-text-success': props.textHasColor && props.type == 'success',\r\n 'gm-text-error': props.textHasColor && props.type == 'error',\r\n 'gm-text-warning': props.textHasColor && props.type == 'warning',\r\n }\"\r\n :style=\"textStyle\"\r\n >\r\n <slot />\r\n </div>\r\n </div>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport { computed } from 'vue';\r\nimport { statusProps } from './status';\r\n\r\ndefineOptions({\r\n name: 'GmStatus',\r\n});\r\n\r\nconst props = defineProps(statusProps);\r\nconst doitStyle = computed(() => {\r\n if (props.doitColor) {\r\n return {\r\n background: props.doitColor,\r\n };\r\n }\r\n return {};\r\n});\r\n\r\nconst textStyle = computed(() => {\r\n if (props.textColor) {\r\n return {\r\n color: props.textColor,\r\n };\r\n }\r\n return {};\r\n});\r\n</script>\r\n"],"names":[],"mappings":";;;;;;;;;;;AAgCA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAM,MAAA,SAAA,GAAY,SAAS,MAAM;AAC/B,MAAA,IAAI,MAAM,SAAW,EAAA;AACnB,QAAO,OAAA;AAAA,UACL,YAAY,KAAM,CAAA,SAAA;AAAA,SACpB,CAAA;AAAA,OACF;AACA,MAAA,OAAO,EAAC,CAAA;AAAA,KACT,CAAA,CAAA;AAED,IAAM,MAAA,SAAA,GAAY,SAAS,MAAM;AAC/B,MAAA,IAAI,MAAM,SAAW,EAAA;AACnB,QAAO,OAAA;AAAA,UACL,OAAO,KAAM,CAAA,SAAA;AAAA,SACf,CAAA;AAAA,OACF;AACA,MAAA,OAAO,EAAC,CAAA;AAAA,KACT,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.vue2.mjs","sources":["../../../../../../../packages/components/src/base/step/Step.vue"],"sourcesContent":["<template>\r\n <el-step ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.icon\" #icon=\"slotValue\">\r\n <slot name=\"icon\" v-bind=\"slotValue\" />\r\n </template>\r\n <template v-if=\"slots.title\" #title=\"slotValue\">\r\n <slot name
|
|
1
|
+
{"version":3,"file":"Step.vue2.mjs","sources":["../../../../../../../packages/components/src/base/step/Step.vue"],"sourcesContent":["<template>\r\n <el-step ref=\"elRef\" v-bind=\"props\">\r\n <template v-if=\"slots.icon\" #icon=\"slotValue\">\r\n <slot name=\"icon\" v-bind=\"slotValue\" />\r\n </template>\r\n <template v-if=\"slots.title\" #title=\"slotValue\">\r\n <slot name=\"title\" v-bind=\"slotValue\" />\r\n </template>\r\n <template v-if=\"slots.description\" #description=\"slotValue\">\r\n <slot name=\"description\" v-bind=\"slotValue\" />\r\n </template>\r\n </el-step>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { stepProps } from './step';\r\nimport type { StepInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmStep',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(stepProps);\r\n\r\nconst elRef = ref<StepInstance>();\r\ndefineExpose({\r\n elRef,\r\n});\r\n</script>\r\n"],"names":[],"mappings":";;;;;;;;;;AAqBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,QAAQ,GAAkB,EAAA,CAAA;AAChC,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/components/src/base/table/index.ts"],"sourcesContent":["import { withInstall } from '@giime/utils';\r\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\r\nimport { debounce } from 'lodash-unified';\r\nimport Table from './Table.vue';\r\nimport type { TableColumnCtx } from 'element-plus/es/components/table/src/table-column/defaults';\r\n\r\nexport const GmTable = withInstall(Table);\r\nexport type TableInstance = InstanceType<typeof Table>;\r\nexport * from './table';\r\nexport default GmTable;\r\nexport type {
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/components/src/base/table/index.ts"],"sourcesContent":["import { withInstall } from '@giime/utils';\r\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\r\nimport { debounce } from 'lodash-unified';\r\nimport Table from './Table.vue';\r\nimport type { TableColumnCtx } from 'element-plus/es/components/table/src/table-column/defaults';\r\n\r\nexport const GmTable = withInstall(Table);\r\nexport type TableInstance = InstanceType<typeof Table>;\r\nexport * from './table';\r\nexport default GmTable;\r\nexport type { TableColumnCtx };\r\n"],"names":[],"mappings":";;;;;AAMa,MAAA,OAAA,GAAU,YAAY,KAAK;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.vue2.mjs","sources":["../../../../../../../packages/components/src/base/tag/Tag.vue"],"sourcesContent":["<template>\r\n <el-tag ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\r\n <template v-if=\"slots.default\" #default=\"slotValue\">\r\n <slot v-bind=\"slotValue\" />\r\n </template>\r\n </el-tag>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { getGmEvent, getGmExports } from '@giime/utils';\r\nimport { tagEmits as elTagEmits } from 'element-plus';\r\nimport { tagEmits, tagProps } from './tag';\r\nimport type { TagInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmTag',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(tagProps);\r\nconst emit = defineEmits(tagEmits);\r\n// 重发el的事件\r\nconst elEvents = getGmEvent(elTagEmits, emit);\r\n\r\nconst elRef = ref<TagInstance>();\r\nconst exposeEvents = ['click', 'close'] as const;\r\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\r\ndefineExpose({\r\n elRef,\r\n ...exposeFns
|
|
1
|
+
{"version":3,"file":"Tag.vue2.mjs","sources":["../../../../../../../packages/components/src/base/tag/Tag.vue"],"sourcesContent":["<template>\r\n <el-tag ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\r\n <template v-if=\"slots.default\" #default=\"slotValue\">\r\n <slot v-bind=\"slotValue\" />\r\n </template>\r\n </el-tag>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { ref, useSlots } from 'vue';\r\nimport { getGmEvent, getGmExports } from '@giime/utils';\r\nimport { tagEmits as elTagEmits } from 'element-plus';\r\nimport { tagEmits, tagProps } from './tag';\r\nimport type { TagInstance } from 'element-plus';\r\n\r\ndefineOptions({\r\n name: 'GmTag',\r\n});\r\nconst slots = useSlots();\r\nconst props = defineProps(tagProps);\r\nconst emit = defineEmits(tagEmits);\r\n// 重发el的事件\r\nconst elEvents = getGmEvent(elTagEmits, emit);\r\n\r\nconst elRef = ref<TagInstance>();\r\nconst exposeEvents = ['click', 'close'] as const;\r\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\r\ndefineExpose({\r\n elRef,\r\n ...exposeFns,\r\n});\r\n</script>\r\n"],"names":["elTagEmits"],"mappings":";;;;;;;;;;;;;;;AAiBA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAM,MAAA,QAAA,GAAW,UAAW,CAAAA,UAAA,EAAY,IAAI,CAAA,CAAA;AAE5C,IAAA,MAAM,QAAQ,GAAiB,EAAA,CAAA;AAC/B,IAAM,MAAA,YAAA,GAAe,CAAC,OAAA,EAAS,OAAO,CAAA,CAAA;AACtC,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,KAAA;AAAA,MACA,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|