giime 0.6.21 → 0.6.23
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 +134 -134
- package/es/components/src/base/dialog/dialog.d.ts +2 -0
- package/es/components/src/base/dialog/dialog.mjs.map +1 -1
- package/es/components/src/base/timeSelect/TimeSelect.vue2.mjs.map +1 -1
- package/es/components/src/base/timeSelect/timeSelect.mjs +1 -1
- package/es/components/src/base/timeSelect/timeSelect.mjs.map +1 -1
- package/es/components/src/base/tourStep/TourStep.vue.d.ts +9 -9
- package/es/components/src/base/tourStep/TourStep.vue2.mjs +1 -1
- package/es/components/src/base/tourStep/TourStep.vue2.mjs.map +1 -1
- package/es/components/src/base/tourStep/tourStep.d.ts +4 -4
- package/es/components/src/base/tourStep/tourStep.mjs +1 -1
- package/es/components/src/base/tourStep/tourStep.mjs.map +1 -1
- package/es/components/src/business/uploadMaterial/UploadMaterial.vue.d.ts +9 -0
- package/es/components/src/business/uploadMaterial/index.d.ts +19 -0
- package/es/components/src/business/uploadMaterial/uploadMaterial.d.ts +4 -0
- package/es/components/src/composite/fileComponent/FileComponent.vue.d.ts +9 -0
- package/es/components/src/composite/fileComponent/FileComponent.vue2.mjs +26 -6
- package/es/components/src/composite/fileComponent/FileComponent.vue2.mjs.map +1 -1
- package/es/components/src/composite/fileComponent/fileComponent.d.ts +5 -0
- package/es/components/src/composite/fileComponent/fileComponent.mjs +5 -0
- package/es/components/src/composite/fileComponent/fileComponent.mjs.map +1 -1
- package/es/components/src/composite/fileComponent/index.d.ts +9 -0
- package/es/components/src/composite/importDialog/ImportDialog.vue.d.ts +17 -0
- package/es/components/src/composite/importDialog/ImportDialog.vue2.mjs +5 -8
- package/es/components/src/composite/importDialog/ImportDialog.vue2.mjs.map +1 -1
- package/es/components/src/composite/importDialog/importDialog.d.ts +11 -0
- package/es/components/src/composite/importDialog/importDialog.mjs +10 -0
- package/es/components/src/composite/importDialog/importDialog.mjs.map +1 -1
- package/es/components/src/composite/importDialog/index.d.ts +35 -0
- package/es/components/src/composite/previewFile/PreviewFile.vue.d.ts +9 -0
- package/es/components/src/composite/previewFile/PreviewFile.vue2.mjs +36 -5
- package/es/components/src/composite/previewFile/PreviewFile.vue2.mjs.map +1 -1
- package/es/components/src/composite/previewFile/index.d.ts +9 -0
- package/es/components/src/composite/previewFile/previewFile.d.ts +4 -0
- package/es/components/src/composite/uploadFile/UploadFile.vue.d.ts +12 -1
- package/es/components/src/composite/uploadFile/UploadFile.vue.mjs +1 -1
- package/es/components/src/composite/uploadFile/UploadFile.vue2.mjs +3 -2
- package/es/components/src/composite/uploadFile/UploadFile.vue2.mjs.map +1 -1
- package/es/components/src/composite/uploadFile/index.d.ts +19 -0
- package/es/components/src/composite/uploadFile/uploadFile.d.ts +4 -0
- package/es/giime/index.mjs +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/index.css +134 -134
- package/es/utils/index.mjs +1 -1
- package/es/utils/src/file.d.ts +6 -0
- package/es/utils/src/file.mjs +9 -1
- package/es/utils/src/file.mjs.map +1 -1
- package/lib/components/src/base/dialog/dialog.d.ts +2 -0
- package/lib/components/src/base/dialog/dialog.js.map +1 -1
- package/lib/components/src/base/timeSelect/TimeSelect.vue2.js.map +1 -1
- package/lib/components/src/base/timeSelect/timeSelect.js +2 -2
- package/lib/components/src/base/timeSelect/timeSelect.js.map +1 -1
- package/lib/components/src/base/tourStep/TourStep.vue.d.ts +9 -9
- package/lib/components/src/base/tourStep/TourStep.vue2.js +2 -2
- package/lib/components/src/base/tourStep/TourStep.vue2.js.map +1 -1
- package/lib/components/src/base/tourStep/tourStep.d.ts +4 -4
- package/lib/components/src/base/tourStep/tourStep.js +3 -3
- package/lib/components/src/base/tourStep/tourStep.js.map +1 -1
- package/lib/components/src/business/uploadMaterial/UploadMaterial.vue.d.ts +9 -0
- package/lib/components/src/business/uploadMaterial/index.d.ts +19 -0
- package/lib/components/src/business/uploadMaterial/uploadMaterial.d.ts +4 -0
- package/lib/components/src/composite/fileComponent/FileComponent.vue.d.ts +9 -0
- package/lib/components/src/composite/fileComponent/FileComponent.vue2.js +25 -5
- package/lib/components/src/composite/fileComponent/FileComponent.vue2.js.map +1 -1
- package/lib/components/src/composite/fileComponent/fileComponent.d.ts +5 -0
- package/lib/components/src/composite/fileComponent/fileComponent.js +5 -0
- package/lib/components/src/composite/fileComponent/fileComponent.js.map +1 -1
- package/lib/components/src/composite/fileComponent/index.d.ts +9 -0
- package/lib/components/src/composite/importDialog/ImportDialog.vue.d.ts +17 -0
- package/lib/components/src/composite/importDialog/ImportDialog.vue2.js +4 -7
- package/lib/components/src/composite/importDialog/ImportDialog.vue2.js.map +1 -1
- package/lib/components/src/composite/importDialog/importDialog.d.ts +11 -0
- package/lib/components/src/composite/importDialog/importDialog.js +10 -0
- package/lib/components/src/composite/importDialog/importDialog.js.map +1 -1
- package/lib/components/src/composite/importDialog/index.d.ts +35 -0
- package/lib/components/src/composite/previewFile/PreviewFile.vue.d.ts +9 -0
- package/lib/components/src/composite/previewFile/PreviewFile.vue2.js +35 -4
- package/lib/components/src/composite/previewFile/PreviewFile.vue2.js.map +1 -1
- package/lib/components/src/composite/previewFile/index.d.ts +9 -0
- package/lib/components/src/composite/previewFile/previewFile.d.ts +4 -0
- package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +12 -1
- package/lib/components/src/composite/uploadFile/UploadFile.vue.js +1 -1
- package/lib/components/src/composite/uploadFile/UploadFile.vue2.js +3 -2
- package/lib/components/src/composite/uploadFile/UploadFile.vue2.js.map +1 -1
- package/lib/components/src/composite/uploadFile/index.d.ts +19 -0
- package/lib/components/src/composite/uploadFile/uploadFile.d.ts +4 -0
- package/lib/giime/index.js +1 -0
- 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/index.css +134 -134
- package/lib/utils/index.js +1 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/src/file.d.ts +6 -0
- package/lib/utils/src/file.js +9 -0
- package/lib/utils/src/file.js.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1,137 +1,3 @@
|
|
|
1
|
-
.gm-flex-center[data-v-c17deec9] {
|
|
2
|
-
align-items: center;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.gm-flex-justify-between[data-v-c17deec9] {
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
}
|
|
8
|
-
.gm-upload-preview-dialog[data-v-9390650b] [data-v-9390650b] .el-dialog__body {
|
|
9
|
-
padding: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.gm-upload-file-picture-card[data-v-9390650b] [data-v-9390650b] .el-upload-list__item, .gm-upload-file-picture-card[data-v-9390650b] [data-v-9390650b] .el-upload--picture-card {
|
|
13
|
-
width: auto;
|
|
14
|
-
height: auto;
|
|
15
|
-
}
|
|
16
|
-
.gm-upload-file {
|
|
17
|
-
line-height: normal;
|
|
18
|
-
}
|
|
19
|
-
.gm-upload-file .el-checkbox {
|
|
20
|
-
position: absolute;
|
|
21
|
-
left: 10px;
|
|
22
|
-
top: 0;
|
|
23
|
-
z-index: 9;
|
|
24
|
-
}
|
|
25
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
26
|
-
line-height: normal;
|
|
27
|
-
}
|
|
28
|
-
.gm-upload-file .el-upload-dragger {
|
|
29
|
-
padding: 0;
|
|
30
|
-
border: none;
|
|
31
|
-
width: 100%;
|
|
32
|
-
height: 100%;
|
|
33
|
-
display: flex;
|
|
34
|
-
}
|
|
35
|
-
.gm-upload-file .el-upload--picture-card {
|
|
36
|
-
border: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.gm-upload-file-disabled .el-upload--picture-card {
|
|
40
|
-
display: none;
|
|
41
|
-
}
|
|
42
|
-
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
.circular[data-v-d7b04fae] {
|
|
46
|
-
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.path[data-v-d7b04fae] {
|
|
50
|
-
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
51
|
-
stroke-dasharray: 90, 150;
|
|
52
|
-
stroke-dashoffset: 0;
|
|
53
|
-
stroke: var(--el-color-primary);
|
|
54
|
-
stroke-linecap: round;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@keyframes loading-rotate-d7b04fae {
|
|
58
|
-
to {
|
|
59
|
-
transform: rotate(360deg);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
@keyframes loading-dash-d7b04fae {
|
|
63
|
-
0% {
|
|
64
|
-
stroke-dasharray: 1, 200;
|
|
65
|
-
stroke-dashoffset: 0;
|
|
66
|
-
}
|
|
67
|
-
50% {
|
|
68
|
-
stroke-dasharray: 90, 150;
|
|
69
|
-
stroke-dashoffset: -40px;
|
|
70
|
-
}
|
|
71
|
-
100% {
|
|
72
|
-
stroke-dasharray: 90, 150;
|
|
73
|
-
stroke-dashoffset: -120px;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
78
|
-
margin: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
[data-v-488ca110] .gmSearchForm .el-form-item {
|
|
82
|
-
margin-right: 0;
|
|
83
|
-
margin-bottom: 4px;
|
|
84
|
-
}
|
|
85
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
86
|
-
border-right: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
90
|
-
height: 0;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
94
|
-
height: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
98
|
-
height: 0;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
102
|
-
height: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
|
|
106
|
-
height: 0;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.pagination-container[data-v-47d35e7b] {
|
|
110
|
-
background: #fff;
|
|
111
|
-
padding-top: 12px;
|
|
112
|
-
}
|
|
113
|
-
.pagination-container.hidden[data-v-47d35e7b] {
|
|
114
|
-
display: none;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
118
|
-
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
119
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
120
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
121
|
-
}
|
|
122
|
-
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
123
|
-
box-shadow: none;
|
|
124
|
-
background: none;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
128
|
-
display: none;
|
|
129
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
133
|
-
display: flex;
|
|
134
|
-
}
|
|
135
1
|
/*
|
|
136
2
|
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
|
|
137
3
|
*//*
|
|
@@ -937,4 +803,138 @@ video {
|
|
|
937
803
|
}
|
|
938
804
|
.gm-group:hover .group-hover\:gm-block {
|
|
939
805
|
display: block;
|
|
806
|
+
}
|
|
807
|
+
.gm-flex-center[data-v-c17deec9] {
|
|
808
|
+
align-items: center;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.gm-flex-justify-between[data-v-c17deec9] {
|
|
812
|
+
justify-content: space-between;
|
|
813
|
+
}
|
|
814
|
+
.gm-upload-preview-dialog[data-v-921404ff] [data-v-921404ff] .el-dialog__body {
|
|
815
|
+
padding: 0;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.gm-upload-file-picture-card[data-v-921404ff] [data-v-921404ff] .el-upload-list__item, .gm-upload-file-picture-card[data-v-921404ff] [data-v-921404ff] .el-upload--picture-card {
|
|
819
|
+
width: auto;
|
|
820
|
+
height: auto;
|
|
821
|
+
}
|
|
822
|
+
.gm-upload-file {
|
|
823
|
+
line-height: normal;
|
|
824
|
+
}
|
|
825
|
+
.gm-upload-file .el-checkbox {
|
|
826
|
+
position: absolute;
|
|
827
|
+
left: 10px;
|
|
828
|
+
top: 0;
|
|
829
|
+
z-index: 9;
|
|
830
|
+
}
|
|
831
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
832
|
+
line-height: normal;
|
|
833
|
+
}
|
|
834
|
+
.gm-upload-file .el-upload-dragger {
|
|
835
|
+
padding: 0;
|
|
836
|
+
border: none;
|
|
837
|
+
width: 100%;
|
|
838
|
+
height: 100%;
|
|
839
|
+
display: flex;
|
|
840
|
+
}
|
|
841
|
+
.gm-upload-file .el-upload--picture-card {
|
|
842
|
+
border: none;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
846
|
+
display: none;
|
|
847
|
+
}
|
|
848
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
849
|
+
display: none;
|
|
850
|
+
}
|
|
851
|
+
.circular[data-v-d7b04fae] {
|
|
852
|
+
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.path[data-v-d7b04fae] {
|
|
856
|
+
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
857
|
+
stroke-dasharray: 90, 150;
|
|
858
|
+
stroke-dashoffset: 0;
|
|
859
|
+
stroke: var(--el-color-primary);
|
|
860
|
+
stroke-linecap: round;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
@keyframes loading-rotate-d7b04fae {
|
|
864
|
+
to {
|
|
865
|
+
transform: rotate(360deg);
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
@keyframes loading-dash-d7b04fae {
|
|
869
|
+
0% {
|
|
870
|
+
stroke-dasharray: 1, 200;
|
|
871
|
+
stroke-dashoffset: 0;
|
|
872
|
+
}
|
|
873
|
+
50% {
|
|
874
|
+
stroke-dasharray: 90, 150;
|
|
875
|
+
stroke-dashoffset: -40px;
|
|
876
|
+
}
|
|
877
|
+
100% {
|
|
878
|
+
stroke-dasharray: 90, 150;
|
|
879
|
+
stroke-dashoffset: -120px;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
884
|
+
margin: 0;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
[data-v-488ca110] .gmSearchForm .el-form-item {
|
|
888
|
+
margin-right: 0;
|
|
889
|
+
margin-bottom: 4px;
|
|
890
|
+
}
|
|
891
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
892
|
+
border-right: none;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
896
|
+
height: 0;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
900
|
+
height: 0;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
904
|
+
height: 0;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
908
|
+
height: 0;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
|
|
912
|
+
height: 0;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.pagination-container[data-v-47d35e7b] {
|
|
916
|
+
background: #fff;
|
|
917
|
+
padding-top: 12px;
|
|
918
|
+
}
|
|
919
|
+
.pagination-container.hidden[data-v-47d35e7b] {
|
|
920
|
+
display: none;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
924
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
925
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
926
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
927
|
+
}
|
|
928
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
929
|
+
box-shadow: none;
|
|
930
|
+
background: none;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
934
|
+
display: none;
|
|
935
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
939
|
+
display: flex;
|
|
940
940
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
1
2
|
export declare const dialogProps: {
|
|
2
3
|
appendToBody: BooleanConstructor;
|
|
3
4
|
appendTo: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown, "body", boolean>;
|
|
@@ -60,3 +61,4 @@ export declare const dialogEmits: {
|
|
|
60
61
|
openAutoFocus: () => boolean;
|
|
61
62
|
closeAutoFocus: () => boolean;
|
|
62
63
|
};
|
|
64
|
+
export type DialogProps = ExtractPropTypes<typeof dialogProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.mjs","sources":["../../../../../../../packages/components/src/base/dialog/dialog.ts"],"sourcesContent":["import { dialogEmits as elDialogEmits, dialogProps as elDialogProps } from 'element-plus';\n// import type { ExtractPropTypes } from 'vue';\n\nexport const dialogProps = {\n ...elDialogProps,\n};\n\nexport const dialogEmits = {\n ...elDialogEmits,\n // 自定义事件\n // submit: (value: any) => !!value,\n};\n"],"names":["elDialogProps","elDialogEmits"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"dialog.mjs","sources":["../../../../../../../packages/components/src/base/dialog/dialog.ts"],"sourcesContent":["import { dialogEmits as elDialogEmits, dialogProps as elDialogProps } from 'element-plus';\nimport type { ExtractPropTypes } from 'vue';\n// import type { ExtractPropTypes } from 'vue';\n\nexport const dialogProps = {\n ...elDialogProps,\n};\n\nexport const dialogEmits = {\n ...elDialogEmits,\n // 自定义事件\n // submit: (value: any) => !!value,\n};\nexport type DialogProps = ExtractPropTypes<typeof dialogProps>;\n"],"names":["elDialogProps","elDialogEmits"],"mappings":";;AAIO,MAAM,WAAc,GAAA;AAAA,EACzB,GAAGA,aAAA;AACL,EAAA;AAEO,MAAM,WAAc,GAAA;AAAA,EACzB,GAAGC,aAAA;AAAA;AAAA;AAGL;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeSelect.vue2.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/TimeSelect.vue"],"sourcesContent":["<template>\n <el-time-select ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default=\"slotValue\">\n <slot v-bind=\"slotValue\" />\n </template>\n </el-time-select>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { ElTimeSelect } from 'element-plus';\nimport { elTimeSelectEmits, timeSelectEmits, timeSelectProps } from './timeSelect';\nimport type { TimeSelectInstance } from 'element-plus/es/components/time-select/
|
|
1
|
+
{"version":3,"file":"TimeSelect.vue2.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/TimeSelect.vue"],"sourcesContent":["<template>\n <el-time-select ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default=\"slotValue\">\n <slot v-bind=\"slotValue\" />\n </template>\n </el-time-select>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { ElTimeSelect } from 'element-plus';\nimport { elTimeSelectEmits, timeSelectEmits, timeSelectProps } from './timeSelect';\nimport type { TimeSelectInstance } from 'element-plus/es/components/time-select/index';\ndefineOptions({\n name: 'GmTimeSelect',\n});\nconst slots = useSlots();\nconst props = defineProps(timeSelectProps);\nconst emit = defineEmits(timeSelectEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elTimeSelectEmits, emit);\nconst elRef = ref<TimeSelectInstance>();\nconst exposeEvents = ['focus', 'blur'] as const;\nconst { exposeFns } = getGmExports(elRef, exposeEvents);\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgBA,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,CAAA,iBAAA,EAAmB,IAAI,CAAA,CAAA;AACnD,IAAA,MAAM,QAAQ,GAAwB,EAAA,CAAA;AACtC,IAAM,MAAA,YAAA,GAAe,CAAC,OAAA,EAAS,MAAM,CAAA,CAAA;AACrC,IAAA,MAAM,EAAE,SAAA,EAAc,GAAA,YAAA,CAAa,OAAO,YAAY,CAAA,CAAA;AACtD,IAAa,QAAA,CAAA;AAAA,MACX,GAAG,SAAA;AAAA,KACJ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeSelect.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/timeSelect.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { timeSelectProps as elTimeSelectProps } from 'element-plus/es/components/time-select/
|
|
1
|
+
{"version":3,"file":"timeSelect.mjs","sources":["../../../../../../../packages/components/src/base/timeSelect/timeSelect.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { timeSelectProps as elTimeSelectProps } from 'element-plus/es/components/time-select/index';\nexport const timeSelectProps = {\n ...elTimeSelectProps,\n};\n\nexport const elTimeSelectEmits = {\n 'update:modelValue': (val: any) => {},\n change: (val: any) => {},\n blur: (event: FocusEvent) => {},\n focus: (event: FocusEvent) => {},\n};\n\nexport const timeSelectEmits = {\n ...elTimeSelectEmits,\n // 自定义事件\n // submit: (value: any) => !!value,\n};\n"],"names":["elTimeSelectProps"],"mappings":";;AAEO,MAAM,eAAkB,GAAA;AAAA,EAC7B,GAAGA,iBAAA;AACL,EAAA;AAEO,MAAM,iBAAoB,GAAA;AAAA,EAC/B,mBAAA,EAAqB,CAAC,GAAa,KAAA;AAAA,GAAC;AAAA,EACpC,MAAA,EAAQ,CAAC,GAAa,KAAA;AAAA,GAAC;AAAA,EACvB,IAAA,EAAM,CAAC,KAAsB,KAAA;AAAA,GAAC;AAAA,EAC9B,KAAA,EAAO,CAAC,KAAsB,KAAA;AAAA,GAAC;AACjC,EAAA;AAEO,MAAM,eAAkB,GAAA;AAAA,EAC7B,GAAG,iBAAA;AAAA;AAAA;AAGL;;;;"}
|
|
@@ -19,10 +19,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
mask: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
20
20
|
style?: import("vue").CSSProperties | undefined;
|
|
21
21
|
color?: string | undefined;
|
|
22
|
-
}) | (() => import("element-plus").TourMask) | ((new (...args: any[]) => boolean | {
|
|
22
|
+
}) | (() => import("element-plus/es/components/tour").TourMask) | ((new (...args: any[]) => boolean | {
|
|
23
23
|
style?: import("vue").CSSProperties | undefined;
|
|
24
24
|
color?: string | undefined;
|
|
25
|
-
}) | (() => import("element-plus").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
25
|
+
}) | (() => import("element-plus/es/components/tour").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
26
26
|
contentStyle: {
|
|
27
27
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
28
28
|
readonly required: false;
|
|
@@ -30,13 +30,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
__epPropKey: true;
|
|
31
31
|
};
|
|
32
32
|
prevButtonProps: {
|
|
33
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
33
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
34
34
|
readonly required: false;
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
38
|
nextButtonProps: {
|
|
39
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
39
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
40
40
|
readonly required: false;
|
|
41
41
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
42
|
__epPropKey: true;
|
|
@@ -71,10 +71,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
71
|
mask: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
72
72
|
style?: import("vue").CSSProperties | undefined;
|
|
73
73
|
color?: string | undefined;
|
|
74
|
-
}) | (() => import("element-plus").TourMask) | ((new (...args: any[]) => boolean | {
|
|
74
|
+
}) | (() => import("element-plus/es/components/tour").TourMask) | ((new (...args: any[]) => boolean | {
|
|
75
75
|
style?: import("vue").CSSProperties | undefined;
|
|
76
76
|
color?: string | undefined;
|
|
77
|
-
}) | (() => import("element-plus").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
77
|
+
}) | (() => import("element-plus/es/components/tour").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
78
78
|
contentStyle: {
|
|
79
79
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
80
80
|
readonly required: false;
|
|
@@ -82,13 +82,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
82
|
__epPropKey: true;
|
|
83
83
|
};
|
|
84
84
|
prevButtonProps: {
|
|
85
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
85
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
86
86
|
readonly required: false;
|
|
87
87
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
88
|
__epPropKey: true;
|
|
89
89
|
};
|
|
90
90
|
nextButtonProps: {
|
|
91
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
91
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
92
92
|
readonly required: false;
|
|
93
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
94
|
__epPropKey: true;
|
|
@@ -103,7 +103,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
103
103
|
}>> & {
|
|
104
104
|
onClose?: (() => any) | undefined;
|
|
105
105
|
}, {
|
|
106
|
-
mask: import("element-plus").TourMask;
|
|
106
|
+
mask: import("element-plus/es/components/tour").TourMask;
|
|
107
107
|
showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
108
108
|
placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@floating-ui/dom").Placement) | ((new (...args: any[]) => "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@floating-ui/dom").Placement))[], "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
109
109
|
scrollIntoViewOptions: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useSlots, resolveComponent, openBlock, createBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
|
-
import { tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/
|
|
3
|
+
import { tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/index';
|
|
4
4
|
import { tourStepProps, tourStepEmits } from './tourStep.mjs';
|
|
5
5
|
import { getGmEvent } from '../../../../utils/src/elementPlus/event.mjs';
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TourStep.vue2.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/TourStep.vue"],"sourcesContent":["<template>\n <el-tour-step ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default>\n <slot />\n </template>\n <template v-if=\"slots.header\" #header>\n <slot name=\"header\" />\n </template>\n </el-tour-step>\n</template>\n<script lang=\"ts\" setup>\nimport { useSlots } from 'vue';\nimport { getGmEvent } from '@giime/utils';\nimport { tourStepEmits as elTourStepEmits } from 'element-plus/es/components/tour/
|
|
1
|
+
{"version":3,"file":"TourStep.vue2.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/TourStep.vue"],"sourcesContent":["<template>\n <el-tour-step ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default>\n <slot />\n </template>\n <template v-if=\"slots.header\" #header>\n <slot name=\"header\" />\n </template>\n </el-tour-step>\n</template>\n<script lang=\"ts\" setup>\nimport { useSlots } from 'vue';\nimport { getGmEvent } from '@giime/utils';\nimport { tourStepEmits as elTourStepEmits } from 'element-plus/es/components/tour/index';\nimport { tourStepEmits, tourStepProps } from './tourStep';\n\ndefineOptions({\n name: 'GmTourStep',\n});\nconst slots = useSlots();\nconst props = defineProps(tourStepProps);\nconst emit = defineEmits(tourStepEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elTourStepEmits, emit);\n</script>\n"],"names":["elTourStepEmits"],"mappings":";;;;;;;;;;;;;;AAmBA,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,eAAA,EAAiB,IAAI,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -20,10 +20,10 @@ export declare const tourStepProps: {
|
|
|
20
20
|
mask: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
21
21
|
style?: import("vue").CSSProperties | undefined;
|
|
22
22
|
color?: string | undefined;
|
|
23
|
-
}) | (() => import("element-plus").TourMask) | ((new (...args: any[]) => boolean | {
|
|
23
|
+
}) | (() => import("element-plus/es/components/tour").TourMask) | ((new (...args: any[]) => boolean | {
|
|
24
24
|
style?: import("vue").CSSProperties | undefined;
|
|
25
25
|
color?: string | undefined;
|
|
26
|
-
}) | (() => import("element-plus").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
26
|
+
}) | (() => import("element-plus/es/components/tour").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
27
27
|
contentStyle: {
|
|
28
28
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
29
29
|
readonly required: false;
|
|
@@ -31,13 +31,13 @@ export declare const tourStepProps: {
|
|
|
31
31
|
__epPropKey: true;
|
|
32
32
|
};
|
|
33
33
|
prevButtonProps: {
|
|
34
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
34
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
39
|
nextButtonProps: {
|
|
40
|
-
readonly type: import("vue").PropType<import("element-plus").TourBtnProps>;
|
|
40
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/tour").TourBtnProps>;
|
|
41
41
|
readonly required: false;
|
|
42
42
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
43
43
|
__epPropKey: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tourStepProps as tourStepProps$1, tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/
|
|
1
|
+
import { tourStepProps as tourStepProps$1, tourStepEmits as tourStepEmits$1 } from 'element-plus/es/components/tour/index';
|
|
2
2
|
|
|
3
3
|
const tourStepProps = {
|
|
4
4
|
...tourStepProps$1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tourStep.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/tourStep.ts"],"sourcesContent":["// import { tourStepEmits as elTourStepEmits, } from 'element-plus';\nimport { tourStepEmits as elTourStepEmits, tourStepProps as elTourStepProps } from 'element-plus/es/components/tour/
|
|
1
|
+
{"version":3,"file":"tourStep.mjs","sources":["../../../../../../../packages/components/src/base/tourStep/tourStep.ts"],"sourcesContent":["// import { tourStepEmits as elTourStepEmits, } from 'element-plus';\nimport { tourStepEmits as elTourStepEmits, tourStepProps as elTourStepProps } from 'element-plus/es/components/tour/index';\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport type { Placement, Strategy, VirtualElement } from '@floating-ui/dom';\nexport const tourStepProps = {\n ...elTourStepProps,\n};\n\nexport const tourStepEmits = {\n ...elTourStepEmits,\n // 自定义事件\n};\n"],"names":["elTourStepProps","elTourStepEmits"],"mappings":";;AAIO,MAAM,aAAgB,GAAA;AAAA,EAC3B,GAAGA,eAAA;AACL,EAAA;AAEO,MAAM,aAAgB,GAAA;AAAA,EAC3B,GAAGC,eAAA;AAAA;AAEL;;;;"}
|
|
@@ -106,6 +106,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
106
106
|
type: BooleanConstructor;
|
|
107
107
|
default: boolean;
|
|
108
108
|
};
|
|
109
|
+
showIcon: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
109
113
|
beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
110
114
|
(): (rawFile: UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
111
115
|
new (): any;
|
|
@@ -334,6 +338,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
334
338
|
type: BooleanConstructor;
|
|
335
339
|
default: boolean;
|
|
336
340
|
};
|
|
341
|
+
showIcon: {
|
|
342
|
+
type: BooleanConstructor;
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
337
345
|
beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
338
346
|
(): (rawFile: UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
339
347
|
new (): any;
|
|
@@ -466,6 +474,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
466
474
|
file: Partial<UploadFile>;
|
|
467
475
|
onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
468
476
|
onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
477
|
+
showIcon: boolean;
|
|
469
478
|
controls: boolean;
|
|
470
479
|
beforeUpload: (rawFile: UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
471
480
|
onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
@@ -107,6 +107,10 @@ export declare const GmUploadMaterial: import("../../../../utils").SFCWithInstal
|
|
|
107
107
|
type: BooleanConstructor;
|
|
108
108
|
default: boolean;
|
|
109
109
|
};
|
|
110
|
+
showIcon: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
110
114
|
beforeUpload: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
111
115
|
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
112
116
|
new (): any;
|
|
@@ -343,6 +347,10 @@ export declare const GmUploadMaterial: import("../../../../utils").SFCWithInstal
|
|
|
343
347
|
type: BooleanConstructor;
|
|
344
348
|
default: boolean;
|
|
345
349
|
};
|
|
350
|
+
showIcon: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
346
354
|
beforeUpload: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
347
355
|
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
348
356
|
new (): any;
|
|
@@ -475,6 +483,7 @@ export declare const GmUploadMaterial: import("../../../../utils").SFCWithInstal
|
|
|
475
483
|
file: Partial<import("element-plus").UploadFile>;
|
|
476
484
|
onError: (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
477
485
|
onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
486
|
+
showIcon: boolean;
|
|
478
487
|
controls: boolean;
|
|
479
488
|
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
480
489
|
onRemove: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
@@ -615,6 +624,10 @@ export declare const GmUploadMaterial: import("../../../../utils").SFCWithInstal
|
|
|
615
624
|
type: BooleanConstructor;
|
|
616
625
|
default: boolean;
|
|
617
626
|
};
|
|
627
|
+
showIcon: {
|
|
628
|
+
type: BooleanConstructor;
|
|
629
|
+
default: boolean;
|
|
630
|
+
};
|
|
618
631
|
beforeUpload: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
619
632
|
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
620
633
|
new (): any;
|
|
@@ -753,6 +766,7 @@ export declare const GmUploadMaterial: import("../../../../utils").SFCWithInstal
|
|
|
753
766
|
file: Partial<import("element-plus").UploadFile>;
|
|
754
767
|
onError: (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
755
768
|
onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
769
|
+
showIcon: boolean;
|
|
756
770
|
controls: boolean;
|
|
757
771
|
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
758
772
|
onRemove: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
@@ -890,6 +904,10 @@ export declare const GmUploadMaterial: import("../../../../utils").SFCWithInstal
|
|
|
890
904
|
type: BooleanConstructor;
|
|
891
905
|
default: boolean;
|
|
892
906
|
};
|
|
907
|
+
showIcon: {
|
|
908
|
+
type: BooleanConstructor;
|
|
909
|
+
default: boolean;
|
|
910
|
+
};
|
|
893
911
|
beforeUpload: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
894
912
|
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
895
913
|
new (): any;
|
|
@@ -1036,6 +1054,7 @@ export declare const GmUploadMaterial: import("../../../../utils").SFCWithInstal
|
|
|
1036
1054
|
file: Partial<import("element-plus").UploadFile>;
|
|
1037
1055
|
onError: (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
1038
1056
|
onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
1057
|
+
showIcon: boolean;
|
|
1039
1058
|
controls: boolean;
|
|
1040
1059
|
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.js").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
1041
1060
|
onRemove: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
@@ -112,6 +112,10 @@ export declare const uploadMaterialProps: {
|
|
|
112
112
|
type: BooleanConstructor;
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
|
+
showIcon: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
115
119
|
beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
116
120
|
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
117
121
|
new (): any;
|
|
@@ -28,6 +28,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
+
showIcon: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
31
35
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
36
|
file: {
|
|
33
37
|
type: import("vue").PropType<Partial<UploadFile>>;
|
|
@@ -57,10 +61,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
61
|
type: BooleanConstructor;
|
|
58
62
|
default: boolean;
|
|
59
63
|
};
|
|
64
|
+
showIcon: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
60
68
|
}>>, {
|
|
61
69
|
size: number;
|
|
62
70
|
url: string;
|
|
63
71
|
file: Partial<UploadFile>;
|
|
72
|
+
showIcon: boolean;
|
|
64
73
|
controls: boolean;
|
|
65
74
|
field: keyof UploadFile;
|
|
66
75
|
controlslist: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, unref, createBlock, normalizeStyle } from 'vue';
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, unref, Fragment, createBlock, normalizeStyle } from 'vue';
|
|
2
2
|
import { isPDF, isWord, isExcel, isText, isPPT, isZip, isPSD, isImageUrl, isVideoUrl } from '../../../../utils/src/is.mjs';
|
|
3
3
|
import { fileComponentProps } from './fileComponent.mjs';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1 = { class: "gm-flex gm-h-full gm-items-center gm-justify-center" };
|
|
6
6
|
const _hoisted_2 = ["src"];
|
|
7
7
|
const _hoisted_3 = ["src", "controls", "controlslist", "oncontextmenu"];
|
|
8
|
+
const _hoisted_4 = ["src"];
|
|
8
9
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
...{
|
|
10
11
|
name: "GmFileComponent"
|
|
@@ -25,6 +26,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
26
|
const verifyFile = computed(() => {
|
|
26
27
|
return props.file[props.field];
|
|
27
28
|
});
|
|
29
|
+
const showIframe = computed(() => {
|
|
30
|
+
const arr = ["pdf", "txt"];
|
|
31
|
+
const suffix = verifyFile.value.split(".").pop();
|
|
32
|
+
return arr.includes(suffix);
|
|
33
|
+
});
|
|
28
34
|
const iconList = {
|
|
29
35
|
excel: "https://sucai.giikin.cn/workflow/material-refer-1739947054012-1213-335.svg",
|
|
30
36
|
pdf: "https://sucai.giikin.cn/workflow/material-refer-1739947288698-5462-586.svg",
|
|
@@ -72,11 +78,25 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
78
|
controlslist: _ctx.controlslist,
|
|
73
79
|
oncontextmenu: () => _ctx.oncontextmenu,
|
|
74
80
|
style: { "width": "100%", "height": "100%" }
|
|
75
|
-
}, null, 8, _hoisted_3)) : (openBlock(),
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
}, null, 8, _hoisted_3)) : (openBlock(), createElementBlock(
|
|
82
|
+
Fragment,
|
|
83
|
+
{ key: 2 },
|
|
84
|
+
[
|
|
85
|
+
_ctx.showIcon || !showIframe.value ? (openBlock(), createBlock(_component_el_image, {
|
|
86
|
+
key: 0,
|
|
87
|
+
style: normalizeStyle(iconStyle.value),
|
|
88
|
+
src: iconURL.value
|
|
89
|
+
}, null, 8, ["style", "src"])) : (openBlock(), createElementBlock("iframe", {
|
|
90
|
+
key: 1,
|
|
91
|
+
src: fileURL.value,
|
|
92
|
+
width: "850px",
|
|
93
|
+
height: "100%",
|
|
94
|
+
frameborder: "0"
|
|
95
|
+
}, null, 8, _hoisted_4))
|
|
96
|
+
],
|
|
97
|
+
64
|
|
98
|
+
/* STABLE_FRAGMENT */
|
|
99
|
+
))
|
|
80
100
|
]);
|
|
81
101
|
};
|
|
82
102
|
}
|