giime 0.7.6 → 0.7.7

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 (86) hide show
  1. package/dist/index.css +105 -105
  2. package/es/api/resource/controller/ZiYuanGuanLi/index.d.ts +0 -2
  3. package/es/api/resource/controller/ZiYuanGuanLi/index.mjs +0 -2
  4. package/es/api/resource/controller/ZiYuanGuanLi/index.mjs.map +1 -1
  5. package/es/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.d.ts +5 -1
  6. package/es/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.mjs.map +1 -1
  7. package/es/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.d.ts +81 -1
  8. package/es/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.mjs.map +1 -1
  9. package/es/api/resource/controller/index.mjs +0 -2
  10. package/es/api/resource/controller/index.mjs.map +1 -1
  11. package/es/api/resource/interface/apiTypes/GenerateUploadUrlRequest.d.ts +1 -1
  12. package/es/api/resource/interface/apiTypes/RMapStringObject.d.ts +13 -0
  13. package/es/api/resource/interface/apiTypes/RMapStringObject.mjs +2 -0
  14. package/es/api/resource/interface/apiTypes/RMapStringObject.mjs.map +1 -0
  15. package/es/api/resource/interface/apiTypes/ResourceUrlResponse.d.ts +8 -0
  16. package/es/api/resource/interface/apiTypes/Rurl.d.ts +10 -0
  17. package/es/api/resource/interface/apiTypes/Rurl.mjs +2 -0
  18. package/es/api/resource/interface/apiTypes/Rurl.mjs.map +1 -0
  19. package/es/api/resource/interface/index.d.ts +2 -0
  20. package/es/api/resource/interface/index.mjs +2 -0
  21. package/es/api/resource/interface/index.mjs.map +1 -1
  22. package/es/components/src/business/uploadPro/UploadPro.vue.d.ts +225 -225
  23. package/es/components/src/business/uploadPro/UploadPro.vue.mjs +1 -1
  24. package/es/components/src/business/uploadPro/UploadPro.vue2.mjs +1 -1
  25. package/es/components/src/business/uploadPro/UploadPro.vue2.mjs.map +1 -1
  26. package/es/components/src/business/uploadPro/index.d.ts +16 -16
  27. package/es/components/src/business/uploadPro/uploadPro.d.ts +31 -31
  28. package/es/components/src/business/uploadPro/uploadPro.mjs.map +1 -1
  29. package/es/components/src/composite/uploadFile/UploadFile.vue.d.ts +1 -1
  30. package/es/components/src/composite/uploadFile/index.d.ts +3 -3
  31. package/es/giime/version.d.ts +1 -1
  32. package/es/giime/version.mjs +1 -1
  33. package/es/giime/version.mjs.map +1 -1
  34. package/es/hooks/base/useUploadFile/index.d.ts +15 -1
  35. package/es/hooks/base/useUploadFile/index.mjs +1 -0
  36. package/es/hooks/base/useUploadFile/index.mjs.map +1 -1
  37. package/es/index.css +105 -105
  38. package/lib/api/resource/controller/ZiYuanGuanLi/index.d.ts +0 -2
  39. package/lib/api/resource/controller/ZiYuanGuanLi/index.js +0 -4
  40. package/lib/api/resource/controller/ZiYuanGuanLi/index.js.map +1 -1
  41. package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.d.ts +5 -1
  42. package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.js.map +1 -1
  43. package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.d.ts +81 -1
  44. package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.js.map +1 -1
  45. package/lib/api/resource/controller/index.js +0 -4
  46. package/lib/api/resource/controller/index.js.map +1 -1
  47. package/lib/api/resource/interface/apiTypes/GenerateUploadUrlRequest.d.ts +1 -1
  48. package/lib/api/resource/interface/apiTypes/RMapStringObject.d.ts +13 -0
  49. package/lib/api/resource/interface/apiTypes/RMapStringObject.js +3 -0
  50. package/lib/api/resource/interface/apiTypes/RMapStringObject.js.map +1 -0
  51. package/lib/api/resource/interface/apiTypes/ResourceUrlResponse.d.ts +8 -0
  52. package/lib/api/resource/interface/apiTypes/Rurl.d.ts +10 -0
  53. package/lib/api/resource/interface/apiTypes/Rurl.js +3 -0
  54. package/lib/api/resource/interface/apiTypes/Rurl.js.map +1 -0
  55. package/lib/api/resource/interface/index.d.ts +2 -0
  56. package/lib/api/resource/interface/index.js +2 -0
  57. package/lib/api/resource/interface/index.js.map +1 -1
  58. package/lib/components/src/business/uploadPro/UploadPro.vue.d.ts +225 -225
  59. package/lib/components/src/business/uploadPro/UploadPro.vue.js +1 -1
  60. package/lib/components/src/business/uploadPro/UploadPro.vue2.js +1 -1
  61. package/lib/components/src/business/uploadPro/UploadPro.vue2.js.map +1 -1
  62. package/lib/components/src/business/uploadPro/index.d.ts +16 -16
  63. package/lib/components/src/business/uploadPro/uploadPro.d.ts +31 -31
  64. package/lib/components/src/business/uploadPro/uploadPro.js.map +1 -1
  65. package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +1 -1
  66. package/lib/components/src/composite/uploadFile/index.d.ts +3 -3
  67. package/lib/giime/version.d.ts +1 -1
  68. package/lib/giime/version.js +1 -1
  69. package/lib/giime/version.js.map +1 -1
  70. package/lib/hooks/base/useUploadFile/index.d.ts +15 -1
  71. package/lib/hooks/base/useUploadFile/index.js +1 -0
  72. package/lib/hooks/base/useUploadFile/index.js.map +1 -1
  73. package/lib/index.css +105 -105
  74. package/package.json +1 -1
  75. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.d.ts +0 -46
  76. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs +0 -24
  77. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs.map +0 -1
  78. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.d.ts +0 -225
  79. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs +0 -34
  80. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs.map +0 -1
  81. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.d.ts +0 -46
  82. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.js +0 -26
  83. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.js.map +0 -1
  84. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.d.ts +0 -225
  85. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.js +0 -36
  86. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.js.map +0 -1
package/lib/index.css CHANGED
@@ -873,12 +873,56 @@ video {
873
873
  .gm-group:hover .group-hover\:gm-block {
874
874
  display: block;
875
875
  }
876
- .gm-flex-center[data-v-c17deec9] {
877
- align-items: center;
876
+
877
+ .gm-range-number .el-form-item[data-v-1ae16d96] {
878
+ margin: 0;
878
879
  }
879
880
 
880
- .gm-flex-justify-between[data-v-c17deec9] {
881
- justify-content: space-between;
881
+ .gm-upload-pro-preview-dialog[data-v-40d129e4] [data-v-40d129e4] .el-dialog__body {
882
+ padding: 0;
883
+ }
884
+
885
+ .gm-upload-pro-file-picture-card[data-v-40d129e4] [data-v-40d129e4] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-40d129e4] [data-v-40d129e4] .el-upload--picture-card {
886
+ width: auto;
887
+ height: auto;
888
+ }
889
+ .gm-upload-pro-file {
890
+ line-height: normal;
891
+ }
892
+ .gm-upload-pro-file .el-checkbox-group {
893
+ font-size: unset;
894
+ }
895
+ .gm-upload-pro-file .el-checkbox {
896
+ position: absolute;
897
+ left: 10px;
898
+ top: 0;
899
+ z-index: 9;
900
+ }
901
+ .gm-upload-pro-file .el-upload-list--picture-card {
902
+ gap: 10px;
903
+ }
904
+ .gm-upload-pro-file .el-upload-list__item {
905
+ margin: 0;
906
+ }
907
+ .gm-upload-pro-file .el-upload-list__item-file-name {
908
+ line-height: 1.7;
909
+ }
910
+ .gm-upload-pro-file .el-upload-dragger {
911
+ padding: 0;
912
+ border: none;
913
+ width: 100%;
914
+ height: 100%;
915
+ display: flex;
916
+ }
917
+ .gm-upload-pro-file .el-upload--picture-card {
918
+ border: none;
919
+ }
920
+
921
+ .gm-upload-pro-file-disabled .el-upload--picture-card {
922
+ display: none;
923
+ }
924
+ .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
925
+ display: none;
882
926
  }
883
927
  .circular[data-v-d7b04fae] {
884
928
  animation: loading-rotate-d7b04fae 2s linear infinite;
@@ -911,55 +955,95 @@ video {
911
955
  stroke-dashoffset: -120px;
912
956
  }
913
957
  }
958
+ [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
959
+ border-right: none;
960
+ }
914
961
 
915
- .gm-range-number .el-form-item[data-v-1ae16d96] {
916
- margin: 0;
962
+ [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
963
+ height: 0;
964
+ }
965
+
966
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
967
+ height: 0;
968
+ }
969
+
970
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
971
+ height: 0;
917
972
  }
918
973
 
919
- .gm-upload-pro-preview-dialog[data-v-e2251a0c] [data-v-e2251a0c] .el-dialog__body {
974
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
975
+ height: 0;
976
+ }
977
+
978
+ [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
979
+ height: 0;
980
+ }
981
+ .gm-flex-center[data-v-c17deec9] {
982
+ align-items: center;
983
+ }
984
+
985
+ .gm-flex-justify-between[data-v-c17deec9] {
986
+ justify-content: space-between;
987
+ }
988
+ .gm-number-interval-single[data-v-4e6f4d6f] {
989
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
990
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
991
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
992
+ }
993
+ .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
994
+ box-shadow: none;
995
+ background: none;
996
+ }
997
+
998
+ .gm-number-interval-close[data-v-4e6f4d6f] {
999
+ display: none;
1000
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1001
+ }
1002
+
1003
+ .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1004
+ display: flex;
1005
+ }
1006
+ .gm-upload-preview-dialog[data-v-12e65ac7] [data-v-12e65ac7] .el-dialog__body {
920
1007
  padding: 0;
921
1008
  }
922
1009
 
923
- .gm-upload-pro-file-picture-card[data-v-e2251a0c] [data-v-e2251a0c] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-e2251a0c] [data-v-e2251a0c] .el-upload--picture-card {
1010
+ .gm-upload-file-picture-card[data-v-12e65ac7] [data-v-12e65ac7] .el-upload-list__item, .gm-upload-file-picture-card[data-v-12e65ac7] [data-v-12e65ac7] .el-upload--picture-card {
924
1011
  width: auto;
925
1012
  height: auto;
926
1013
  }
927
- .gm-upload-pro-file {
1014
+ .gm-upload-file {
928
1015
  line-height: normal;
929
1016
  }
930
- .gm-upload-pro-file .el-checkbox-group {
931
- font-size: unset;
932
- }
933
- .gm-upload-pro-file .el-checkbox {
1017
+ .gm-upload-file .el-checkbox {
934
1018
  position: absolute;
935
1019
  left: 10px;
936
1020
  top: 0;
937
1021
  z-index: 9;
938
1022
  }
939
- .gm-upload-pro-file .el-upload-list--picture-card {
1023
+ .gm-upload-file .el-upload-list--picture-card {
940
1024
  gap: 10px;
941
1025
  }
942
- .gm-upload-pro-file .el-upload-list__item {
1026
+ .gm-upload-file .el-upload-list__item {
943
1027
  margin: 0;
944
1028
  }
945
- .gm-upload-pro-file .el-upload-list__item-file-name {
946
- line-height: 1.7;
1029
+ .gm-upload-file .el-upload-list__item-file-name {
1030
+ line-height: normal;
947
1031
  }
948
- .gm-upload-pro-file .el-upload-dragger {
1032
+ .gm-upload-file .el-upload-dragger {
949
1033
  padding: 0;
950
1034
  border: none;
951
1035
  width: 100%;
952
1036
  height: 100%;
953
1037
  display: flex;
954
1038
  }
955
- .gm-upload-pro-file .el-upload--picture-card {
1039
+ .gm-upload-file .el-upload--picture-card {
956
1040
  border: none;
957
1041
  }
958
1042
 
959
- .gm-upload-pro-file-disabled .el-upload--picture-card {
1043
+ .gm-upload-file-disabled .el-upload--picture-card {
960
1044
  display: none;
961
1045
  }
962
- .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1046
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
963
1047
  display: none;
964
1048
  }
965
1049
  [data-v-488ca110] .gmSearchForm .el-form-item {
@@ -998,24 +1082,6 @@ video {
998
1082
  display: none;
999
1083
  }
1000
1084
 
1001
- .gm-number-interval-single[data-v-4e6f4d6f] {
1002
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
1003
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
1004
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
1005
- }
1006
- .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
1007
- box-shadow: none;
1008
- background: none;
1009
- }
1010
-
1011
- .gm-number-interval-close[data-v-4e6f4d6f] {
1012
- display: none;
1013
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1014
- }
1015
-
1016
- .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1017
- display: flex;
1018
- }
1019
1085
  @charset "UTF-8";
1020
1086
  .custom-operate-drawer .el-drawer__header {
1021
1087
  padding: 10px 15px;
@@ -1072,29 +1138,6 @@ video {
1072
1138
  border-radius: 10px;
1073
1139
  background: #eee;
1074
1140
  }
1075
- [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
1076
- border-right: none;
1077
- }
1078
-
1079
- [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
1080
- height: 0;
1081
- }
1082
-
1083
- [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1084
- height: 0;
1085
- }
1086
-
1087
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
1088
- height: 0;
1089
- }
1090
-
1091
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
1092
- height: 0;
1093
- }
1094
-
1095
- [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
1096
- height: 0;
1097
- }
1098
1141
  @charset "UTF-8";
1099
1142
  .table-custom-header-drawer .el-drawer__header {
1100
1143
  padding: 10px 15px;
@@ -1150,47 +1193,4 @@ video {
1150
1193
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1151
1194
  border-radius: 10px;
1152
1195
  background: #eee;
1153
- }
1154
- .gm-upload-preview-dialog[data-v-12e65ac7] [data-v-12e65ac7] .el-dialog__body {
1155
- padding: 0;
1156
- }
1157
-
1158
- .gm-upload-file-picture-card[data-v-12e65ac7] [data-v-12e65ac7] .el-upload-list__item, .gm-upload-file-picture-card[data-v-12e65ac7] [data-v-12e65ac7] .el-upload--picture-card {
1159
- width: auto;
1160
- height: auto;
1161
- }
1162
- .gm-upload-file {
1163
- line-height: normal;
1164
- }
1165
- .gm-upload-file .el-checkbox {
1166
- position: absolute;
1167
- left: 10px;
1168
- top: 0;
1169
- z-index: 9;
1170
- }
1171
- .gm-upload-file .el-upload-list--picture-card {
1172
- gap: 10px;
1173
- }
1174
- .gm-upload-file .el-upload-list__item {
1175
- margin: 0;
1176
- }
1177
- .gm-upload-file .el-upload-list__item-file-name {
1178
- line-height: normal;
1179
- }
1180
- .gm-upload-file .el-upload-dragger {
1181
- padding: 0;
1182
- border: none;
1183
- width: 100%;
1184
- height: 100%;
1185
- display: flex;
1186
- }
1187
- .gm-upload-file .el-upload--picture-card {
1188
- border: none;
1189
- }
1190
-
1191
- .gm-upload-file-disabled .el-upload--picture-card {
1192
- display: none;
1193
- }
1194
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1195
- display: none;
1196
1196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "giime",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "A Component Library for Vue 3",
5
5
  "keywords": [
6
6
  "giime",
@@ -1,46 +0,0 @@
1
- import { type AxiosRequestConfig } from "axios";
2
- /**
3
- * 查询资源链接
4
- * /resource/v1/resources/url
5
- */
6
- export declare function getResourceV1ResourcesUrl(params: GetResourceV1ResourcesUrlParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
7
- code: number;
8
- bizCode: number;
9
- data: {
10
- url: string;
11
- exists: boolean;
12
- uploadUrl: string;
13
- key: string;
14
- };
15
- msg: string;
16
- }, any>>;
17
- export interface GetResourceV1ResourcesUrlParams {
18
- /** 领域编码 */
19
- domainCode: string;
20
- /** 文件名 */
21
- fileName?: string;
22
- /** 内容类型 */
23
- contentType: string;
24
- /** 文件MD5值 */
25
- md5: string;
26
- /** 文件大小(字节) */
27
- size: number;
28
- /** 文件权限,默认继承桶 */
29
- acl?: string;
30
- /** 场景编码 */
31
- sceneCode?: string;
32
- /** 有效期限,时间毫秒数 */
33
- expires?: number;
34
- /** 是否覆盖同名文件 0 否 1 是 */
35
- cover?: number;
36
- /** 元数据 */
37
- metaData?: GetResourceV1ResourcesUrlParamsMetaData;
38
- /** 扩展数据 */
39
- extData?: GetResourceV1ResourcesUrlParamsExtData;
40
- }
41
- export interface GetResourceV1ResourcesUrlParamsMetaData {
42
- [key: string]: any;
43
- }
44
- export interface GetResourceV1ResourcesUrlParamsExtData {
45
- [key: string]: any;
46
- }
@@ -1,24 +0,0 @@
1
- import service from '../../request.mjs';
2
-
3
- function getResourceV1ResourcesUrl(params, config) {
4
- const paramsInput = {
5
- domainCode: params.domainCode,
6
- fileName: params.fileName,
7
- contentType: params.contentType,
8
- md5: params.md5,
9
- size: params.size,
10
- acl: params.acl,
11
- sceneCode: params.sceneCode,
12
- expires: params.expires,
13
- cover: params.cover,
14
- ...params.metaData,
15
- ...params.extData
16
- };
17
- return service.get(`/resource/v1/resources/url`, {
18
- params: paramsInput,
19
- ...config
20
- });
21
- }
22
-
23
- export { getResourceV1ResourcesUrl };
24
- //# sourceMappingURL=getResourceV1ResourcesUrl.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getResourceV1ResourcesUrl.mjs","sources":["../../../../../../../packages/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.ts"],"sourcesContent":["import request from \"@giime/api/resource/request\";\nimport { type RResourceUrlResponse, type DeepRequired } from \"../../interface\";\nimport { type AxiosRequestConfig } from \"axios\";\n\n/**\n * 查询资源链接\n * /resource/v1/resources/url\n */\nexport function getResourceV1ResourcesUrl(params: GetResourceV1ResourcesUrlParams, config?: AxiosRequestConfig) {\n const paramsInput = {\n domainCode: params.domainCode,\n fileName: params.fileName,\n contentType: params.contentType,\n md5: params.md5,\n size: params.size,\n acl: params.acl,\n sceneCode: params.sceneCode,\n expires: params.expires,\n cover: params.cover,\n ...params.metaData,\n ...params.extData,\n };\n return request.get<DeepRequired<RResourceUrlResponse>>(`/resource/v1/resources/url`, {\n params: paramsInput,\n ...config,\n });\n}\n\nexport interface GetResourceV1ResourcesUrlParams {\n /** 领域编码 */\n domainCode: string;\n /** 文件名 */\n fileName?: string;\n /** 内容类型 */\n contentType: string;\n /** 文件MD5值 */\n md5: string;\n /** 文件大小(字节) */\n size: number;\n /** 文件权限,默认继承桶 */\n acl?: string;\n /** 场景编码 */\n sceneCode?: string;\n /** 有效期限,时间毫秒数 */\n expires?: number;\n /** 是否覆盖同名文件 0 否 1 是 */\n cover?: number;\n /** 元数据 */\n metaData?: GetResourceV1ResourcesUrlParamsMetaData;\n /** 扩展数据 */\n extData?: GetResourceV1ResourcesUrlParamsExtData;\n}\n\nexport interface GetResourceV1ResourcesUrlParamsMetaData {\n [key: string]: any;\n}\n\nexport interface GetResourceV1ResourcesUrlParamsExtData {\n [key: string]: any;\n}\n"],"names":["request"],"mappings":";;AAQgB,SAAA,yBAAA,CAA0B,QAAyC,MAA6B,EAAA;AAC5G,EAAA,MAAM,WAAc,GAAA;AAAA,IAChB,YAAY,MAAO,CAAA,UAAA;AAAA,IACnB,UAAU,MAAO,CAAA,QAAA;AAAA,IACjB,aAAa,MAAO,CAAA,WAAA;AAAA,IACpB,KAAK,MAAO,CAAA,GAAA;AAAA,IACZ,MAAM,MAAO,CAAA,IAAA;AAAA,IACb,KAAK,MAAO,CAAA,GAAA;AAAA,IACZ,WAAW,MAAO,CAAA,SAAA;AAAA,IAClB,SAAS,MAAO,CAAA,OAAA;AAAA,IAChB,OAAO,MAAO,CAAA,KAAA;AAAA,IACd,GAAG,MAAO,CAAA,QAAA;AAAA,IACV,GAAG,MAAO,CAAA,OAAA;AAAA,GACd,CAAA;AACA,EAAO,OAAAA,OAAA,CAAQ,IAAwC,CAA8B,0BAAA,CAAA,EAAA;AAAA,IACjF,MAAQ,EAAA,WAAA;AAAA,IACR,GAAG,MAAA;AAAA,GACN,CAAA,CAAA;AACL;;;;"}
@@ -1,225 +0,0 @@
1
- import { type UseAxiosOptions } from "../../../../hooks/base/useAxios";
2
- import { type AxiosRequestConfig } from "axios";
3
- import { type DeepRequired, type RResourceUrlResponse } from "../../interface";
4
- import { type GetResourceV1ResourcesUrlParams } from "./getResourceV1ResourcesUrl";
5
- /**
6
- * 查询资源链接
7
- * /resource/v1/resources/url
8
- */
9
- export declare function useGetResourceV1ResourcesUrl(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RResourceUrlResponse>>): {
10
- exec: (params: GetResourceV1ResourcesUrlParams, axiosConfig?: AxiosRequestConfig) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
11
- code: number;
12
- bizCode: number;
13
- data: {
14
- url: string;
15
- exists: boolean;
16
- uploadUrl: string;
17
- key: string;
18
- };
19
- msg: string;
20
- }, import("axios").AxiosResponse<{
21
- code: number;
22
- bizCode: number;
23
- data: {
24
- url: string;
25
- exists: boolean;
26
- uploadUrl: string;
27
- key: string;
28
- };
29
- msg: string;
30
- }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
31
- code: number;
32
- bizCode: number;
33
- data: {
34
- url: string;
35
- exists: boolean;
36
- uploadUrl: string;
37
- key: string;
38
- };
39
- msg: string;
40
- }>>>;
41
- execute: (url?: string | AxiosRequestConfig<any> | undefined, config?: AxiosRequestConfig<any> | undefined) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
42
- code: number;
43
- bizCode: number;
44
- data: {
45
- url: string;
46
- exists: boolean;
47
- uploadUrl: string;
48
- key: string;
49
- };
50
- msg: string;
51
- }, import("axios").AxiosResponse<{
52
- code: number;
53
- bizCode: number;
54
- data: {
55
- url: string;
56
- exists: boolean;
57
- uploadUrl: string;
58
- key: string;
59
- };
60
- msg: string;
61
- }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
62
- code: number;
63
- bizCode: number;
64
- data: {
65
- url: string;
66
- exists: boolean;
67
- uploadUrl: string;
68
- key: string;
69
- };
70
- msg: string;
71
- }>>>;
72
- response: import("vue").ShallowRef<import("axios").AxiosResponse<{
73
- code: number;
74
- bizCode: number;
75
- data: {
76
- url: string;
77
- exists: boolean;
78
- uploadUrl: string;
79
- key: string;
80
- };
81
- msg: string;
82
- }, any> | undefined>;
83
- data: import("vue").Ref<{
84
- code: number;
85
- bizCode: number;
86
- data: {
87
- url: string;
88
- exists: boolean;
89
- uploadUrl: string;
90
- key: string;
91
- };
92
- msg: string;
93
- } | undefined>;
94
- isFinished: import("vue").Ref<boolean>;
95
- isLoading: import("vue").Ref<boolean>;
96
- isAborted: import("vue").Ref<boolean>;
97
- error: import("vue").ShallowRef<unknown>;
98
- abort: (message?: string | undefined) => void;
99
- cancel: (message?: string | undefined) => void;
100
- isCanceled: import("vue").Ref<boolean>;
101
- then<TResult1 = import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
102
- code: number;
103
- bizCode: number;
104
- data: {
105
- url: string;
106
- exists: boolean;
107
- uploadUrl: string;
108
- key: string;
109
- };
110
- msg: string;
111
- }, import("axios").AxiosResponse<{
112
- code: number;
113
- bizCode: number;
114
- data: {
115
- url: string;
116
- exists: boolean;
117
- uploadUrl: string;
118
- key: string;
119
- };
120
- msg: string;
121
- }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
122
- code: number;
123
- bizCode: number;
124
- data: {
125
- url: string;
126
- exists: boolean;
127
- uploadUrl: string;
128
- key: string;
129
- };
130
- msg: string;
131
- }>>, TResult2 = never>(onfulfilled?: ((value: import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
132
- code: number;
133
- bizCode: number;
134
- data: {
135
- url: string;
136
- exists: boolean;
137
- uploadUrl: string;
138
- key: string;
139
- };
140
- msg: string;
141
- }, import("axios").AxiosResponse<{
142
- code: number;
143
- bizCode: number;
144
- data: {
145
- url: string;
146
- exists: boolean;
147
- uploadUrl: string;
148
- key: string;
149
- };
150
- msg: string;
151
- }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
152
- code: number;
153
- bizCode: number;
154
- data: {
155
- url: string;
156
- exists: boolean;
157
- uploadUrl: string;
158
- key: string;
159
- };
160
- msg: string;
161
- }>>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
162
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
163
- code: number;
164
- bizCode: number;
165
- data: {
166
- url: string;
167
- exists: boolean;
168
- uploadUrl: string;
169
- key: string;
170
- };
171
- msg: string;
172
- }, import("axios").AxiosResponse<{
173
- code: number;
174
- bizCode: number;
175
- data: {
176
- url: string;
177
- exists: boolean;
178
- uploadUrl: string;
179
- key: string;
180
- };
181
- msg: string;
182
- }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
183
- code: number;
184
- bizCode: number;
185
- data: {
186
- url: string;
187
- exists: boolean;
188
- uploadUrl: string;
189
- key: string;
190
- };
191
- msg: string;
192
- }>> | TResult>;
193
- finally(onfinally?: (() => void) | null | undefined): Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
194
- code: number;
195
- bizCode: number;
196
- data: {
197
- url: string;
198
- exists: boolean;
199
- uploadUrl: string;
200
- key: string;
201
- };
202
- msg: string;
203
- }, import("axios").AxiosResponse<{
204
- code: number;
205
- bizCode: number;
206
- data: {
207
- url: string;
208
- exists: boolean;
209
- uploadUrl: string;
210
- key: string;
211
- };
212
- msg: string;
213
- }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
214
- code: number;
215
- bizCode: number;
216
- data: {
217
- url: string;
218
- exists: boolean;
219
- uploadUrl: string;
220
- key: string;
221
- };
222
- msg: string;
223
- }>>>;
224
- [Symbol.toStringTag]: string;
225
- };
@@ -1,34 +0,0 @@
1
- import { useAxios } from '../../../../hooks/base/useAxios/index.mjs';
2
- import service from '../../request.mjs';
3
-
4
- function useGetResourceV1ResourcesUrl(config, options) {
5
- const useAxiosReturn = useAxios(
6
- "/resource/v1/resources/url",
7
- { method: "get", ...config },
8
- service,
9
- { immediate: false, ...options }
10
- );
11
- function exec(params, axiosConfig) {
12
- const paramsInput = {
13
- domainCode: params.domainCode,
14
- fileName: params.fileName,
15
- contentType: params.contentType,
16
- md5: params.md5,
17
- size: params.size,
18
- acl: params.acl,
19
- sceneCode: params.sceneCode,
20
- expires: params.expires,
21
- cover: params.cover,
22
- ...params.metaData,
23
- ...params.extData
24
- };
25
- return useAxiosReturn.execute({
26
- params: paramsInput,
27
- ...axiosConfig
28
- });
29
- }
30
- return { ...useAxiosReturn, exec };
31
- }
32
-
33
- export { useGetResourceV1ResourcesUrl };
34
- //# sourceMappingURL=useGetResourceV1ResourcesUrl.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useGetResourceV1ResourcesUrl.mjs","sources":["../../../../../../../packages/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.ts"],"sourcesContent":["import { type UseAxiosOptions, useAxios } from \"@giime/hooks/base/useAxios\";\nimport { type AxiosRequestConfig } from \"axios\";\nimport { type DeepRequired, type RResourceUrlResponse } from \"../../interface\";\nimport request from \"@giime/api/resource/request\";\nimport { type GetResourceV1ResourcesUrlParams } from \"./getResourceV1ResourcesUrl\";\n\n/**\n * 查询资源链接\n * /resource/v1/resources/url\n */\nexport function useGetResourceV1ResourcesUrl(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RResourceUrlResponse>>) {\n const useAxiosReturn = useAxios<DeepRequired<RResourceUrlResponse>>(\n '/resource/v1/resources/url',\n { method: 'get', ...config },\n request,\n { immediate: false, ...options }\n )\n\n function exec(params: GetResourceV1ResourcesUrlParams, axiosConfig?: AxiosRequestConfig) {\n const paramsInput = {\n domainCode: params.domainCode,\n fileName: params.fileName,\n contentType: params.contentType,\n md5: params.md5,\n size: params.size,\n acl: params.acl,\n sceneCode: params.sceneCode,\n expires: params.expires,\n cover: params.cover,\n ...params.metaData,\n ...params.extData,\n };\n return useAxiosReturn.execute({\n params: paramsInput,\n ...axiosConfig,\n });\n }\n return { ...useAxiosReturn, exec };\n}\n"],"names":["request"],"mappings":";;;AAUgB,SAAA,4BAAA,CAA6B,QAA6B,OAA+D,EAAA;AACrI,EAAA,MAAM,cAAiB,GAAA,QAAA;AAAA,IACnB,4BAAA;AAAA,IACA,EAAE,MAAA,EAAQ,KAAO,EAAA,GAAG,MAAO,EAAA;AAAA,IAC3BA,OAAA;AAAA,IACA,EAAE,SAAA,EAAW,KAAO,EAAA,GAAG,OAAQ,EAAA;AAAA,GACnC,CAAA;AAEA,EAAS,SAAA,IAAA,CAAK,QAAyC,WAAkC,EAAA;AACrF,IAAA,MAAM,WAAc,GAAA;AAAA,MAChB,YAAY,MAAO,CAAA,UAAA;AAAA,MACnB,UAAU,MAAO,CAAA,QAAA;AAAA,MACjB,aAAa,MAAO,CAAA,WAAA;AAAA,MACpB,KAAK,MAAO,CAAA,GAAA;AAAA,MACZ,MAAM,MAAO,CAAA,IAAA;AAAA,MACb,KAAK,MAAO,CAAA,GAAA;AAAA,MACZ,WAAW,MAAO,CAAA,SAAA;AAAA,MAClB,SAAS,MAAO,CAAA,OAAA;AAAA,MAChB,OAAO,MAAO,CAAA,KAAA;AAAA,MACd,GAAG,MAAO,CAAA,QAAA;AAAA,MACV,GAAG,MAAO,CAAA,OAAA;AAAA,KACd,CAAA;AACA,IAAA,OAAO,eAAe,OAAQ,CAAA;AAAA,MAC1B,MAAQ,EAAA,WAAA;AAAA,MACR,GAAG,WAAA;AAAA,KACN,CAAA,CAAA;AAAA,GACL;AACA,EAAO,OAAA,EAAE,GAAG,cAAA,EAAgB,IAAK,EAAA,CAAA;AACrC;;;;"}
@@ -1,46 +0,0 @@
1
- import { type AxiosRequestConfig } from "axios";
2
- /**
3
- * 查询资源链接
4
- * /resource/v1/resources/url
5
- */
6
- export declare function getResourceV1ResourcesUrl(params: GetResourceV1ResourcesUrlParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
7
- code: number;
8
- bizCode: number;
9
- data: {
10
- url: string;
11
- exists: boolean;
12
- uploadUrl: string;
13
- key: string;
14
- };
15
- msg: string;
16
- }, any>>;
17
- export interface GetResourceV1ResourcesUrlParams {
18
- /** 领域编码 */
19
- domainCode: string;
20
- /** 文件名 */
21
- fileName?: string;
22
- /** 内容类型 */
23
- contentType: string;
24
- /** 文件MD5值 */
25
- md5: string;
26
- /** 文件大小(字节) */
27
- size: number;
28
- /** 文件权限,默认继承桶 */
29
- acl?: string;
30
- /** 场景编码 */
31
- sceneCode?: string;
32
- /** 有效期限,时间毫秒数 */
33
- expires?: number;
34
- /** 是否覆盖同名文件 0 否 1 是 */
35
- cover?: number;
36
- /** 元数据 */
37
- metaData?: GetResourceV1ResourcesUrlParamsMetaData;
38
- /** 扩展数据 */
39
- extData?: GetResourceV1ResourcesUrlParamsExtData;
40
- }
41
- export interface GetResourceV1ResourcesUrlParamsMetaData {
42
- [key: string]: any;
43
- }
44
- export interface GetResourceV1ResourcesUrlParamsExtData {
45
- [key: string]: any;
46
- }