giime 0.7.10 → 0.7.11

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.
Files changed (75) hide show
  1. package/dist/index.css +119 -116
  2. package/es/components/index.mjs +2 -0
  3. package/es/components/index.mjs.map +1 -1
  4. package/es/components/src/composite/fileComponent/FileComponent.vue.d.ts +3 -3
  5. package/es/components/src/composite/fileComponent/fileComponent.d.ts +1 -1
  6. package/es/components/src/composite/fileComponent/fileComponent.mjs.map +1 -1
  7. package/es/components/src/composite/fileComponent/index.d.ts +3 -3
  8. package/es/components/src/composite/fileList2/FileList.vue.d.ts +95 -0
  9. package/es/components/src/composite/fileList2/FileList.vue.mjs +6 -0
  10. package/es/components/src/composite/fileList2/FileList.vue.mjs.map +1 -0
  11. package/es/components/src/composite/fileList2/FileList.vue2.mjs +62 -0
  12. package/es/components/src/composite/fileList2/FileList.vue2.mjs.map +1 -0
  13. package/es/components/src/composite/fileList2/fileList.d.ts +47 -0
  14. package/es/components/src/composite/fileList2/fileList.mjs +24 -0
  15. package/es/components/src/composite/fileList2/fileList.mjs.map +1 -0
  16. package/es/components/src/composite/fileList2/index.d.ts +98 -0
  17. package/es/components/src/composite/fileList2/index.mjs +10 -0
  18. package/es/components/src/composite/fileList2/index.mjs.map +1 -0
  19. package/es/components/src/composite/index.d.ts +1 -0
  20. package/es/components/src/composite/index.mjs +2 -0
  21. package/es/components/src/composite/index.mjs.map +1 -1
  22. package/es/components/src/composite/previewFile/PreviewFile.vue.d.ts +3 -3
  23. package/es/components/src/composite/previewFile/PreviewFile.vue2.mjs +3 -2
  24. package/es/components/src/composite/previewFile/PreviewFile.vue2.mjs.map +1 -1
  25. package/es/components/src/composite/previewFile/index.d.ts +3 -3
  26. package/es/components/src/composite/previewFile/previewFile.d.ts +1 -1
  27. package/es/components/src/composite/uploadFile/UploadFile.vue.d.ts +3 -3
  28. package/es/components/src/composite/uploadFile/index.d.ts +7 -7
  29. package/es/components/src/composite/uploadFile/uploadFile.d.ts +1 -1
  30. package/es/giime/component.mjs +4 -0
  31. package/es/giime/component.mjs.map +1 -1
  32. package/es/giime/index.mjs +2 -0
  33. package/es/giime/index.mjs.map +1 -1
  34. package/es/giime/version.d.ts +1 -1
  35. package/es/giime/version.mjs +1 -1
  36. package/es/giime/version.mjs.map +1 -1
  37. package/es/index.css +119 -116
  38. package/global.d.ts +2 -0
  39. package/lib/components/index.js +18 -14
  40. package/lib/components/index.js.map +1 -1
  41. package/lib/components/src/composite/fileComponent/FileComponent.vue.d.ts +3 -3
  42. package/lib/components/src/composite/fileComponent/fileComponent.d.ts +1 -1
  43. package/lib/components/src/composite/fileComponent/fileComponent.js.map +1 -1
  44. package/lib/components/src/composite/fileComponent/index.d.ts +3 -3
  45. package/lib/components/src/composite/fileList2/FileList.vue.d.ts +95 -0
  46. package/lib/components/src/composite/fileList2/FileList.vue.js +10 -0
  47. package/lib/components/src/composite/fileList2/FileList.vue.js.map +1 -0
  48. package/lib/components/src/composite/fileList2/FileList.vue2.js +66 -0
  49. package/lib/components/src/composite/fileList2/FileList.vue2.js.map +1 -0
  50. package/lib/components/src/composite/fileList2/fileList.d.ts +47 -0
  51. package/lib/components/src/composite/fileList2/fileList.js +26 -0
  52. package/lib/components/src/composite/fileList2/fileList.js.map +1 -0
  53. package/lib/components/src/composite/fileList2/index.d.ts +98 -0
  54. package/lib/components/src/composite/fileList2/index.js +16 -0
  55. package/lib/components/src/composite/fileList2/index.js.map +1 -0
  56. package/lib/components/src/composite/index.d.ts +1 -0
  57. package/lib/components/src/composite/index.js +4 -0
  58. package/lib/components/src/composite/index.js.map +1 -1
  59. package/lib/components/src/composite/previewFile/PreviewFile.vue.d.ts +3 -3
  60. package/lib/components/src/composite/previewFile/PreviewFile.vue2.js +3 -2
  61. package/lib/components/src/composite/previewFile/PreviewFile.vue2.js.map +1 -1
  62. package/lib/components/src/composite/previewFile/index.d.ts +3 -3
  63. package/lib/components/src/composite/previewFile/previewFile.d.ts +1 -1
  64. package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +3 -3
  65. package/lib/components/src/composite/uploadFile/index.d.ts +7 -7
  66. package/lib/components/src/composite/uploadFile/uploadFile.d.ts +1 -1
  67. package/lib/giime/component.js +32 -28
  68. package/lib/giime/component.js.map +1 -1
  69. package/lib/giime/index.js +80 -76
  70. package/lib/giime/index.js.map +1 -1
  71. package/lib/giime/version.d.ts +1 -1
  72. package/lib/giime/version.js +1 -1
  73. package/lib/giime/version.js.map +1 -1
  74. package/lib/index.css +119 -116
  75. package/package.json +1 -1
package/es/index.css CHANGED
@@ -590,6 +590,9 @@ video {
590
590
  .gm-h-1 {
591
591
  height: 0.25rem;
592
592
  }
593
+ .gm-h-32 {
594
+ height: 8rem;
595
+ }
593
596
  .gm-h-\[30px\] {
594
597
  height: 30px;
595
598
  }
@@ -873,13 +876,11 @@ video {
873
876
  .gm-group:hover .group-hover\:gm-block {
874
877
  display: block;
875
878
  }
876
- .gm-flex-center[data-v-c17deec9] {
877
- align-items: center;
878
- }
879
879
 
880
- .gm-flex-justify-between[data-v-c17deec9] {
881
- justify-content: space-between;
880
+ .gm-range-number .el-form-item[data-v-1ae16d96] {
881
+ margin: 0;
882
882
  }
883
+
883
884
  .circular[data-v-d7b04fae] {
884
885
  animation: loading-rotate-d7b04fae 2s linear infinite;
885
886
  }
@@ -911,19 +912,6 @@ video {
911
912
  stroke-dashoffset: -120px;
912
913
  }
913
914
  }
914
-
915
- .gm-range-number .el-form-item[data-v-1ae16d96] {
916
- margin: 0;
917
- }
918
-
919
- .gm-upload-pro-preview-dialog[data-v-9ac30390] [data-v-9ac30390] .el-dialog__body {
920
- padding: 0;
921
- }
922
-
923
- .gm-upload-pro-file-picture-card[data-v-9ac30390] [data-v-9ac30390] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-9ac30390] [data-v-9ac30390] .el-upload--picture-card {
924
- width: auto;
925
- height: auto;
926
- }
927
915
  .gm-upload-pro-file {
928
916
  line-height: normal;
929
917
  }
@@ -962,9 +950,20 @@ video {
962
950
  .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
963
951
  display: none;
964
952
  }
965
- [data-v-488ca110] .gmSearchForm .el-form-item {
966
- margin-right: 0;
967
- margin-bottom: 4px;
953
+ .gm-upload-pro-preview-dialog[data-v-9ac30390] [data-v-9ac30390] .el-dialog__body {
954
+ padding: 0;
955
+ }
956
+
957
+ .gm-upload-pro-file-picture-card[data-v-9ac30390] [data-v-9ac30390] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-9ac30390] [data-v-9ac30390] .el-upload--picture-card {
958
+ width: auto;
959
+ height: auto;
960
+ }
961
+ .gm-flex-center[data-v-c17deec9] {
962
+ align-items: center;
963
+ }
964
+
965
+ .gm-flex-justify-between[data-v-c17deec9] {
966
+ justify-content: space-between;
968
967
  }
969
968
  [data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
970
969
  border-right: none;
@@ -989,15 +988,6 @@ video {
989
988
  [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
990
989
  height: 0;
991
990
  }
992
-
993
- .pagination-container[data-v-47d35e7b] {
994
- background: #fff;
995
- padding-top: 12px;
996
- }
997
- .pagination-container.hidden[data-v-47d35e7b] {
998
- display: none;
999
- }
1000
-
1001
991
  .gm-number-interval-single[data-v-4e6f4d6f] {
1002
992
  border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
1003
993
  box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
@@ -1016,61 +1006,9 @@ video {
1016
1006
  .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1017
1007
  display: flex;
1018
1008
  }
1019
- @charset "UTF-8";
1020
- .custom-operate-drawer .el-drawer__header {
1021
- padding: 10px 15px;
1022
- margin: 0;
1023
- border-bottom: 1px solid #ebeef5;
1024
- }
1025
- .custom-operate-drawer .el-drawer__title {
1026
- font-size: 14px;
1027
- color: #333;
1028
- }
1029
- .custom-operate-drawer .el-drawer__body {
1030
- padding: 15px;
1031
- }
1032
- .custom-operate-drawer .el-drawer__footer {
1033
- padding: 10px 15px;
1034
- border-top: 1px solid #ebeef5;
1035
- }
1036
- .custom-operate-drawer .el-checkbox {
1037
- display: flex;
1038
- align-items: center;
1039
- }
1040
- .custom-operate-drawer .el-input__inner {
1041
- text-align: center;
1042
- }
1043
- .custom-operate-drawer .el-input__suffix {
1044
- position: absolute;
1045
- right: 10px;
1046
- }
1047
- .custom-operate-drawer .custom-content li {
1048
- display: flex;
1049
- align-items: center;
1050
- justify-content: center;
1051
- height: 44px;
1052
- }
1053
- .custom-operate-drawer .custom-group {
1054
- max-height: calc(100vh - 226px);
1055
- overflow-y: auto;
1056
- }
1057
- .custom-operate-drawer .custom-group::-webkit-scrollbar {
1058
- /*滚动条整体样式*/
1059
- width: 4px;
1060
- /*高宽分别对应横竖滚动条的尺寸*/
1061
- height: 1px;
1062
- }
1063
- .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1064
- /*滚动条里面小方块*/
1065
- border-radius: 10px;
1066
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1067
- background: #999;
1068
- }
1069
- .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1070
- /*滚动条里面轨道*/
1071
- box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1072
- border-radius: 10px;
1073
- background: #eee;
1009
+ [data-v-488ca110] .gmSearchForm .el-form-item {
1010
+ margin-right: 0;
1011
+ margin-bottom: 4px;
1074
1012
  }
1075
1013
  [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
1076
1014
  border-right: none;
@@ -1095,6 +1033,58 @@ video {
1095
1033
  [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
1096
1034
  height: 0;
1097
1035
  }
1036
+ .gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
1037
+ padding: 0;
1038
+ }
1039
+
1040
+ .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload-list__item, .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload--picture-card {
1041
+ width: auto;
1042
+ height: auto;
1043
+ }
1044
+ .gm-upload-file {
1045
+ line-height: normal;
1046
+ }
1047
+ .gm-upload-file .el-checkbox {
1048
+ position: absolute;
1049
+ left: 10px;
1050
+ top: 0;
1051
+ z-index: 9;
1052
+ }
1053
+ .gm-upload-file .el-upload-list--picture-card {
1054
+ gap: 10px;
1055
+ }
1056
+ .gm-upload-file .el-upload-list__item {
1057
+ margin: 0;
1058
+ }
1059
+ .gm-upload-file .el-upload-list__item-file-name {
1060
+ line-height: normal;
1061
+ }
1062
+ .gm-upload-file .el-upload-dragger {
1063
+ padding: 0;
1064
+ border: none;
1065
+ width: 100%;
1066
+ height: 100%;
1067
+ display: flex;
1068
+ }
1069
+ .gm-upload-file .el-upload--picture-card {
1070
+ border: none;
1071
+ }
1072
+
1073
+ .gm-upload-file-disabled .el-upload--picture-card {
1074
+ display: none;
1075
+ }
1076
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
1077
+ display: none;
1078
+ }
1079
+
1080
+ .pagination-container[data-v-47d35e7b] {
1081
+ background: #fff;
1082
+ padding-top: 12px;
1083
+ }
1084
+ .pagination-container.hidden[data-v-47d35e7b] {
1085
+ display: none;
1086
+ }
1087
+
1098
1088
  @charset "UTF-8";
1099
1089
  .table-custom-header-drawer .el-drawer__header {
1100
1090
  padding: 10px 15px;
@@ -1151,46 +1141,59 @@ video {
1151
1141
  border-radius: 10px;
1152
1142
  background: #eee;
1153
1143
  }
1154
- .gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
1155
- padding: 0;
1144
+ @charset "UTF-8";
1145
+ .custom-operate-drawer .el-drawer__header {
1146
+ padding: 10px 15px;
1147
+ margin: 0;
1148
+ border-bottom: 1px solid #ebeef5;
1156
1149
  }
1157
-
1158
- .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload-list__item, .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload--picture-card {
1159
- width: auto;
1160
- height: auto;
1150
+ .custom-operate-drawer .el-drawer__title {
1151
+ font-size: 14px;
1152
+ color: #333;
1161
1153
  }
1162
- .gm-upload-file {
1163
- line-height: normal;
1154
+ .custom-operate-drawer .el-drawer__body {
1155
+ padding: 15px;
1164
1156
  }
1165
- .gm-upload-file .el-checkbox {
1166
- position: absolute;
1167
- left: 10px;
1168
- top: 0;
1169
- z-index: 9;
1157
+ .custom-operate-drawer .el-drawer__footer {
1158
+ padding: 10px 15px;
1159
+ border-top: 1px solid #ebeef5;
1170
1160
  }
1171
- .gm-upload-file .el-upload-list--picture-card {
1172
- gap: 10px;
1161
+ .custom-operate-drawer .el-checkbox {
1162
+ display: flex;
1163
+ align-items: center;
1173
1164
  }
1174
- .gm-upload-file .el-upload-list__item {
1175
- margin: 0;
1165
+ .custom-operate-drawer .el-input__inner {
1166
+ text-align: center;
1176
1167
  }
1177
- .gm-upload-file .el-upload-list__item-file-name {
1178
- line-height: normal;
1168
+ .custom-operate-drawer .el-input__suffix {
1169
+ position: absolute;
1170
+ right: 10px;
1179
1171
  }
1180
- .gm-upload-file .el-upload-dragger {
1181
- padding: 0;
1182
- border: none;
1183
- width: 100%;
1184
- height: 100%;
1172
+ .custom-operate-drawer .custom-content li {
1185
1173
  display: flex;
1174
+ align-items: center;
1175
+ justify-content: center;
1176
+ height: 44px;
1186
1177
  }
1187
- .gm-upload-file .el-upload--picture-card {
1188
- border: none;
1178
+ .custom-operate-drawer .custom-group {
1179
+ max-height: calc(100vh - 226px);
1180
+ overflow-y: auto;
1189
1181
  }
1190
-
1191
- .gm-upload-file-disabled .el-upload--picture-card {
1192
- display: none;
1182
+ .custom-operate-drawer .custom-group::-webkit-scrollbar {
1183
+ /*滚动条整体样式*/
1184
+ width: 4px;
1185
+ /*高宽分别对应横竖滚动条的尺寸*/
1186
+ height: 1px;
1193
1187
  }
1194
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1195
- display: none;
1188
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1189
+ /*滚动条里面小方块*/
1190
+ border-radius: 10px;
1191
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1192
+ background: #999;
1193
+ }
1194
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1195
+ /*滚动条里面轨道*/
1196
+ box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1197
+ border-radius: 10px;
1198
+ background: #eee;
1196
1199
  }
package/global.d.ts CHANGED
@@ -125,6 +125,8 @@ declare module 'vue' {
125
125
  GmPreviewFile: typeof import('giime')['GmPreviewFile']
126
126
  GmFileComponent: typeof import('giime')['GmFileComponent']
127
127
  GmRuleEditor: typeof import('giime')['GmRuleEditor']
128
+ GmUploadFile: typeof import('giime')['GmUploadFile']
129
+ GmFileList: typeof import('giime')['GmFileList']
128
130
  GmTablePro: typeof import('giime')['GmTablePro']
129
131
  GmTableColumnPro: typeof import('giime')['GmTableColumnPro']
130
132
  GmTableHeaderForm: typeof import('giime')['GmTableHeaderForm']
@@ -279,16 +279,18 @@ var ruleEditor = require('./src/composite/ruleEditor/ruleEditor.js');
279
279
  var index$29 = require('./src/composite/ruleEditor/index.js');
280
280
  var uploadFile = require('./src/composite/uploadFile/uploadFile.js');
281
281
  var index$2a = require('./src/composite/uploadFile/index.js');
282
+ var fileList = require('./src/composite/fileList2/fileList.js');
283
+ var index$2b = require('./src/composite/fileList2/index.js');
282
284
  var method = require('./src/plugins/message/method.js');
283
- var index$2b = require('./src/plugins/message/index.js');
284
- var index$2c = require('./src/plugins/loading/index.js');
285
- var index$2d = require('./src/plugins/messageBox/index.js');
286
- var index$2e = require('./src/plugins/notification/index.js');
287
- var index$2f = require('./src/plugins/copy/index.js');
285
+ var index$2c = require('./src/plugins/message/index.js');
286
+ var index$2d = require('./src/plugins/loading/index.js');
287
+ var index$2e = require('./src/plugins/messageBox/index.js');
288
+ var index$2f = require('./src/plugins/notification/index.js');
289
+ var index$2g = require('./src/plugins/copy/index.js');
288
290
  var method$1 = require('./src/plugins/copy/method.js');
289
- var index$2g = require('./src/plugins/confirmBox/index.js');
291
+ var index$2h = require('./src/plugins/confirmBox/index.js');
290
292
  var directive = require('./src/directives/see/directive.js');
291
- var index$2h = require('./src/directives/see/index.js');
293
+ var index$2i = require('./src/directives/see/index.js');
292
294
 
293
295
 
294
296
 
@@ -671,15 +673,17 @@ exports.ruleEditorProps = ruleEditor.ruleEditorProps;
671
673
  exports.GmRuleEditor = index$29.GmRuleEditor;
672
674
  exports.uploadFileProps = uploadFile.uploadFileProps;
673
675
  exports.GmUploadFile = index$2a.GmUploadFile;
676
+ exports.fileProProps = fileList.fileProProps;
677
+ exports.GmFileList = index$2b.GmFileList;
674
678
  exports.messageTypes = method.messageTypes;
675
679
  exports.normalizeMessageOptions = method.normalizeMessageOptions;
676
- exports.GmMessage = index$2b.GmMessage;
677
- exports.GmLoading = index$2c.GmLoading;
678
- exports.GmMessageBox = index$2d.GmMessageBox;
679
- exports.GmNotification = index$2e.GmNotification;
680
- exports.GmCopy = index$2f.GmCopy;
680
+ exports.GmMessage = index$2c.GmMessage;
681
+ exports.GmLoading = index$2d.GmLoading;
682
+ exports.GmMessageBox = index$2e.GmMessageBox;
683
+ exports.GmNotification = index$2f.GmNotification;
684
+ exports.GmCopy = index$2g.GmCopy;
681
685
  exports.useClipboard = method$1.useClipboard;
682
- exports.GmConfirmBox = index$2g.GmConfirmBox;
686
+ exports.GmConfirmBox = index$2h.GmConfirmBox;
683
687
  exports.vSee = directive.vSee;
684
- exports.GmVSeeDirective = index$2h.GmVSeeDirective;
688
+ exports.GmVSeeDirective = index$2i.GmVSeeDirective;
685
689
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  default: number;
14
14
  };
15
15
  field: {
16
- type: import("vue").PropType<keyof UploadFile>;
16
+ type: StringConstructor;
17
17
  default: string;
18
18
  };
19
19
  controls: {
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
46
46
  default: number;
47
47
  };
48
48
  field: {
49
- type: import("vue").PropType<keyof UploadFile>;
49
+ type: StringConstructor;
50
50
  default: string;
51
51
  };
52
52
  controls: {
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
71
71
  file: Partial<UploadFile>;
72
72
  showIcon: boolean;
73
73
  controls: boolean;
74
- field: keyof UploadFile;
74
+ field: string;
75
75
  controlslist: string;
76
76
  oncontextmenu: boolean;
77
77
  }, {}>;
@@ -20,7 +20,7 @@ export declare const fileComponentProps: {
20
20
  };
21
21
  /** 文件类型判断字段 */
22
22
  field: {
23
- type: PropType<keyof UploadFile>;
23
+ type: StringConstructor;
24
24
  default: string;
25
25
  };
26
26
  /** 视频是否显示操作按钮 */
@@ -1 +1 @@
1
- {"version":3,"file":"fileComponent.js","sources":["../../../../../../../packages/components/src/composite/fileComponent/fileComponent.ts"],"sourcesContent":["import { type PropType } from 'vue';\nimport { type UploadFile } from 'element-plus';\n\n/** 视频控制器 */\nexport type Controls = 'nodownload' | 'nofullscreen' | 'noremoteplayback' | 'noplaybackrate';\n\nexport const fileComponentProps = {\n /** 文件 */\n file: {\n type: Object as PropType<Partial<UploadFile>>,\n default: () => ({}),\n },\n /** 文件链接字段 */\n url: {\n type: String,\n default: 'url',\n },\n /** 图标大小 */\n size: {\n type: Number,\n default: 80,\n },\n /** 文件类型判断字段 */\n field: {\n type: String as PropType<keyof UploadFile>,\n default: 'name',\n },\n /** 视频是否显示操作按钮 */\n controls: {\n type: Boolean,\n default: true,\n },\n /** 视频控制器选项 */\n controlslist: {\n type: String,\n default: '',\n },\n /** 视频是否显示右键菜单 */\n oncontextmenu: {\n type: Boolean,\n default: true,\n },\n /** 是否显示icon */\n showIcon: {\n type: Boolean,\n default: false,\n },\n};\n"],"names":[],"mappings":";;AAMO,MAAM,kBAAqB,GAAA;AAAA;AAAA,EAEhC,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC,CAAA;AAAA,GACnB;AAAA;AAAA,EAEA,GAAK,EAAA;AAAA,IACH,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA,EAEA,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,MAAA;AAAA,GACX;AAAA;AAAA,EAEA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA,EAEA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA,EAEA,aAAe,EAAA;AAAA,IACb,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA,EAEA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AACF;;;;"}
1
+ {"version":3,"file":"fileComponent.js","sources":["../../../../../../../packages/components/src/composite/fileComponent/fileComponent.ts"],"sourcesContent":["import { type PropType } from 'vue';\nimport { type UploadFile } from 'element-plus';\n\n/** 视频控制器 */\nexport type Controls = 'nodownload' | 'nofullscreen' | 'noremoteplayback' | 'noplaybackrate';\n\nexport const fileComponentProps = {\n /** 文件 */\n file: {\n type: Object as PropType<Partial<UploadFile>>,\n default: () => ({}),\n },\n /** 文件链接字段 */\n url: {\n type: String,\n default: 'url',\n },\n /** 图标大小 */\n size: {\n type: Number,\n default: 80,\n },\n /** 文件类型判断字段 */\n field: {\n type: String,\n default: 'name',\n },\n /** 视频是否显示操作按钮 */\n controls: {\n type: Boolean,\n default: true,\n },\n /** 视频控制器选项 */\n controlslist: {\n type: String,\n default: '',\n },\n /** 视频是否显示右键菜单 */\n oncontextmenu: {\n type: Boolean,\n default: true,\n },\n /** 是否显示icon */\n showIcon: {\n type: Boolean,\n default: false,\n },\n};\n"],"names":[],"mappings":";;AAMO,MAAM,kBAAqB,GAAA;AAAA;AAAA,EAEhC,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC,CAAA;AAAA,GACnB;AAAA;AAAA,EAEA,GAAK,EAAA;AAAA,IACH,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA,EAEA,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,MAAA;AAAA,GACX;AAAA;AAAA,EAEA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA,EAEA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA,EAEA,aAAe,EAAA;AAAA,IACb,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA,EAEA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AACF;;;;"}
@@ -13,7 +13,7 @@ export declare const GmFileComponent: import("../../../../utils").SFCWithInstall
13
13
  default: number;
14
14
  };
15
15
  field: {
16
- type: import("vue").PropType<keyof import("element-plus").UploadFile>;
16
+ type: StringConstructor;
17
17
  default: string;
18
18
  };
19
19
  controls: {
@@ -46,7 +46,7 @@ export declare const GmFileComponent: import("../../../../utils").SFCWithInstall
46
46
  default: number;
47
47
  };
48
48
  field: {
49
- type: import("vue").PropType<keyof import("element-plus").UploadFile>;
49
+ type: StringConstructor;
50
50
  default: string;
51
51
  };
52
52
  controls: {
@@ -71,7 +71,7 @@ export declare const GmFileComponent: import("../../../../utils").SFCWithInstall
71
71
  file: Partial<import("element-plus").UploadFile>;
72
72
  showIcon: boolean;
73
73
  controls: boolean;
74
- field: keyof import("element-plus").UploadFile;
74
+ field: string;
75
75
  controlslist: string;
76
76
  oncontextmenu: boolean;
77
77
  }, {}>> & Record<string, any>;
@@ -0,0 +1,95 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ fileList: {
3
+ type: import("vue").PropType<Partial<import("element-plus").UploadFile>[]>;
4
+ default: () => never[];
5
+ };
6
+ controlslist: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ oncontextmenu: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ width: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ file: {
19
+ type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
20
+ default: () => {};
21
+ };
22
+ url: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ size: {
27
+ type: NumberConstructor;
28
+ default: number;
29
+ };
30
+ field: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ controls: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ showIcon: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
+ fileList: {
44
+ type: import("vue").PropType<Partial<import("element-plus").UploadFile>[]>;
45
+ default: () => never[];
46
+ };
47
+ controlslist: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ oncontextmenu: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ width: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ file: {
60
+ type: import("vue").PropType<Partial<import("element-plus").UploadFile>>;
61
+ default: () => {};
62
+ };
63
+ url: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ size: {
68
+ type: NumberConstructor;
69
+ default: number;
70
+ };
71
+ field: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ controls: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ showIcon: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ }>>, {
84
+ size: number;
85
+ url: string;
86
+ width: string;
87
+ file: Partial<import("element-plus").UploadFile>;
88
+ showIcon: boolean;
89
+ controls: boolean;
90
+ fileList: Partial<import("element-plus").UploadFile>[];
91
+ field: string;
92
+ controlslist: string;
93
+ oncontextmenu: boolean;
94
+ }, {}>;
95
+ export default _default;
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var FileList_vue_vue_type_script_setup_true_lang = require('./FileList.vue2.js');
6
+
7
+
8
+
9
+ exports.default = FileList_vue_vue_type_script_setup_true_lang.default;
10
+ //# sourceMappingURL=FileList.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileList.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,66 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var index = require('../fileComponent/index.js');
7
+ var index$1 = require('../previewFile/index.js');
8
+ var fileList = require('./fileList.js');
9
+
10
+ const _hoisted_1 = { class: "gm-flex gm-items-center gm-gap-4" };
11
+ const _hoisted_2 = ["onClick"];
12
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
+ ...{
14
+ name: "GmFileList"
15
+ },
16
+ __name: "FileList",
17
+ props: fileList.fileProProps,
18
+ setup(__props) {
19
+ const props = __props;
20
+ const dialog = vue.ref(false);
21
+ const fileIndex = vue.ref(0);
22
+ const handlePreview = (index) => {
23
+ fileIndex.value = index;
24
+ dialog.value = true;
25
+ };
26
+ return (_ctx, _cache) => {
27
+ return vue.openBlock(), vue.createElementBlock(
28
+ vue.Fragment,
29
+ null,
30
+ [
31
+ vue.createElementVNode("div", _hoisted_1, [
32
+ (vue.openBlock(true), vue.createElementBlock(
33
+ vue.Fragment,
34
+ null,
35
+ vue.renderList(_ctx.fileList, (file, index$1) => {
36
+ return vue.openBlock(), vue.createElementBlock("div", {
37
+ key: index$1,
38
+ class: "gm-relative gm-flex gm-h-32 gm-w-32 gm-cursor-pointer gm-items-center gm-justify-center gm-overflow-hidden gm-rounded gm-border",
39
+ onClick: ($event) => handlePreview(index$1)
40
+ }, [
41
+ vue.createVNode(vue.unref(index.GmFileComponent), vue.mergeProps(props, {
42
+ file,
43
+ controls: false
44
+ }), null, 16, ["file"])
45
+ ], 8, _hoisted_2);
46
+ }),
47
+ 128
48
+ /* KEYED_FRAGMENT */
49
+ ))
50
+ ]),
51
+ vue.createVNode(vue.unref(index$1.GmPreviewFile), vue.mergeProps(props, {
52
+ dialogVisible: dialog.value,
53
+ "onUpdate:dialogVisible": _cache[0] || (_cache[0] = ($event) => dialog.value = $event),
54
+ "file-index": fileIndex.value,
55
+ "onUpdate:fileIndex": _cache[1] || (_cache[1] = ($event) => fileIndex.value = $event)
56
+ }), null, 16, ["dialogVisible", "file-index"])
57
+ ],
58
+ 64
59
+ /* STABLE_FRAGMENT */
60
+ );
61
+ };
62
+ }
63
+ });
64
+
65
+ exports.default = _sfc_main;
66
+ //# sourceMappingURL=FileList.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileList.vue2.js","sources":["../../../../../../../packages/components/src/composite/fileList2/FileList.vue"],"sourcesContent":["<template>\n <div class=\"gm-flex gm-items-center gm-gap-4\">\n <div\n v-for=\"(file, index) in fileList\"\n :key=\"index\"\n class=\"gm-relative gm-flex gm-h-32 gm-w-32 gm-cursor-pointer gm-items-center gm-justify-center gm-overflow-hidden gm-rounded gm-border\"\n @click=\"handlePreview(index)\"\n >\n <GmFileComponent v-bind=\"props\" :file :controls=\"false\" />\n </div>\n </div>\n\n <GmPreviewFile v-bind=\"props\" v-model:dialogVisible=\"dialog\" v-model:file-index=\"fileIndex\" />\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\nimport GmFileComponent from '../fileComponent';\nimport GmPreviewFile from '../previewFile';\nimport { fileProProps } from './fileList';\n\ndefineOptions({\n name: 'GmFileList',\n});\n\nconst props = defineProps(fileProProps);\n\nconst dialog = ref(false);\nconst fileIndex = ref(0);\nconst handlePreview = (index: number) => {\n fileIndex.value = index;\n dialog.value = true;\n};\n</script>\n"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;AAyBA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAM,MAAA,MAAA,GAASA,QAAI,KAAK,CAAA,CAAA;AACxB,IAAM,MAAA,SAAA,GAAYA,QAAI,CAAC,CAAA,CAAA;AACvB,IAAM,MAAA,aAAA,GAAgB,CAAC,KAAkB,KAAA;AACvC,MAAA,SAAA,CAAU,KAAQ,GAAA,KAAA,CAAA;AAClB,MAAA,MAAA,CAAO,KAAQ,GAAA,IAAA,CAAA;AAAA,KACjB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,47 @@
1
+ import type { PropType } from 'vue';
2
+ import type { UploadFile } from 'element-plus';
3
+ export declare const fileProProps: {
4
+ /** 文件列表 */
5
+ fileList: {
6
+ type: PropType<Partial<UploadFile>[]>;
7
+ default: () => never[];
8
+ };
9
+ /** 视频控制器选项 */
10
+ controlslist: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ /** 视频是否显示右键菜单 */
15
+ oncontextmenu: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ width: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ file: {
24
+ type: PropType<Partial<UploadFile>>;
25
+ default: () => {};
26
+ };
27
+ url: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ size: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ field: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ controls: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ showIcon: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ };