hy-dispatch-ui-v3 0.2.87 → 0.2.89
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/tailwind.css +180 -0
- package/es/api/file.mjs +14 -1
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -469
- package/es/components/hyAudioPlayer/audioPlayer2.vue.mjs +1321 -0
- package/es/components/hyAudioPlayer/hyAudioPlayer/audioPlayer.vue.mjs +472 -0
- package/es/components/hyAudioPlayer/{js → hyAudioPlayer/js}/index.mjs +5 -5
- package/es/components/hyAudioPlayer/index.mjs +2 -2
- package/es/components/hyAudioPlayer/locale/en_US.mjs +18 -0
- package/es/components/hyAudioPlayer/locale/index.mjs +2 -0
- package/es/components/hyAudioPlayer/locale/zh_CN.mjs +18 -0
- package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +9 -7
- package/es/components/hyForm/cpns/formItem.vue.mjs +2 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +95 -49
- package/es/components/hyTable/table.vue.mjs +3 -3
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +2 -2
- package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +734 -434
- package/es/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
- package/es/utils/timeUtils.mjs +8 -29
- package/es/version.mjs +1 -1
- package/lib/api/file.js +14 -0
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -469
- package/lib/components/hyAudioPlayer/audioPlayer2.vue.js +1325 -0
- package/lib/components/hyAudioPlayer/hyAudioPlayer/audioPlayer.vue.js +476 -0
- package/lib/components/hyAudioPlayer/{js → hyAudioPlayer/js}/index.js +5 -5
- package/lib/components/hyAudioPlayer/locale/en_US.js +22 -0
- package/lib/components/hyAudioPlayer/locale/index.js +9 -0
- package/lib/components/hyAudioPlayer/locale/zh_CN.js +22 -0
- package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +11 -9
- package/lib/components/hyForm/cpns/formItem.vue.js +2 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +94 -48
- package/lib/components/hyTable/table.vue.js +2 -2
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +2 -2
- package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +732 -432
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
- package/lib/utils/timeUtils.js +8 -29
- package/lib/version.js +1 -1
- package/package.json +1 -1
- /package/es/components/hyAudioPlayer/{style → hyAudioPlayer/style}/audioPlayer.scss +0 -0
- /package/lib/components/hyAudioPlayer/{style → hyAudioPlayer/style}/audioPlayer.scss +0 -0
package/dist/tailwind.css
CHANGED
|
@@ -115,35 +115,59 @@
|
|
|
115
115
|
--tw-contain-style: ;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
.\!container {
|
|
119
|
+
width: 100% !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
118
122
|
.container {
|
|
119
123
|
width: 100%;
|
|
120
124
|
}
|
|
121
125
|
|
|
122
126
|
@media (min-width: 640px) {
|
|
127
|
+
.\!container {
|
|
128
|
+
max-width: 640px !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
123
131
|
.container {
|
|
124
132
|
max-width: 640px;
|
|
125
133
|
}
|
|
126
134
|
}
|
|
127
135
|
|
|
128
136
|
@media (min-width: 768px) {
|
|
137
|
+
.\!container {
|
|
138
|
+
max-width: 768px !important;
|
|
139
|
+
}
|
|
140
|
+
|
|
129
141
|
.container {
|
|
130
142
|
max-width: 768px;
|
|
131
143
|
}
|
|
132
144
|
}
|
|
133
145
|
|
|
134
146
|
@media (min-width: 1024px) {
|
|
147
|
+
.\!container {
|
|
148
|
+
max-width: 1024px !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
135
151
|
.container {
|
|
136
152
|
max-width: 1024px;
|
|
137
153
|
}
|
|
138
154
|
}
|
|
139
155
|
|
|
140
156
|
@media (min-width: 1280px) {
|
|
157
|
+
.\!container {
|
|
158
|
+
max-width: 1280px !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
141
161
|
.container {
|
|
142
162
|
max-width: 1280px;
|
|
143
163
|
}
|
|
144
164
|
}
|
|
145
165
|
|
|
146
166
|
@media (min-width: 1536px) {
|
|
167
|
+
.\!container {
|
|
168
|
+
max-width: 1536px !important;
|
|
169
|
+
}
|
|
170
|
+
|
|
147
171
|
.container {
|
|
148
172
|
max-width: 1536px;
|
|
149
173
|
}
|
|
@@ -161,6 +185,14 @@
|
|
|
161
185
|
border-width: 0;
|
|
162
186
|
}
|
|
163
187
|
|
|
188
|
+
.pointer-events-none {
|
|
189
|
+
pointer-events: none;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.pointer-events-auto {
|
|
193
|
+
pointer-events: auto;
|
|
194
|
+
}
|
|
195
|
+
|
|
164
196
|
.visible {
|
|
165
197
|
visibility: visible;
|
|
166
198
|
}
|
|
@@ -221,6 +253,10 @@
|
|
|
221
253
|
left: 50%;
|
|
222
254
|
}
|
|
223
255
|
|
|
256
|
+
.left-\[0px\] {
|
|
257
|
+
left: 0px;
|
|
258
|
+
}
|
|
259
|
+
|
|
224
260
|
.left-full {
|
|
225
261
|
left: 100%;
|
|
226
262
|
}
|
|
@@ -241,6 +277,10 @@
|
|
|
241
277
|
right: 0.75rem;
|
|
242
278
|
}
|
|
243
279
|
|
|
280
|
+
.right-\[0px\] {
|
|
281
|
+
right: 0px;
|
|
282
|
+
}
|
|
283
|
+
|
|
244
284
|
.top-0 {
|
|
245
285
|
top: 0px;
|
|
246
286
|
}
|
|
@@ -301,6 +341,10 @@
|
|
|
301
341
|
z-index: 600;
|
|
302
342
|
}
|
|
303
343
|
|
|
344
|
+
.z-\[99999\] {
|
|
345
|
+
z-index: 99999;
|
|
346
|
+
}
|
|
347
|
+
|
|
304
348
|
.float-left {
|
|
305
349
|
float: left;
|
|
306
350
|
}
|
|
@@ -325,6 +369,11 @@
|
|
|
325
369
|
margin-right: 0.75rem;
|
|
326
370
|
}
|
|
327
371
|
|
|
372
|
+
.mx-4 {
|
|
373
|
+
margin-left: 1rem;
|
|
374
|
+
margin-right: 1rem;
|
|
375
|
+
}
|
|
376
|
+
|
|
328
377
|
.my-0 {
|
|
329
378
|
margin-top: 0px;
|
|
330
379
|
margin-bottom: 0px;
|
|
@@ -470,6 +519,10 @@
|
|
|
470
519
|
margin-right: 0.75rem;
|
|
471
520
|
}
|
|
472
521
|
|
|
522
|
+
.mr-4 {
|
|
523
|
+
margin-right: 1rem;
|
|
524
|
+
}
|
|
525
|
+
|
|
473
526
|
.mr-5 {
|
|
474
527
|
margin-right: 1.25rem;
|
|
475
528
|
}
|
|
@@ -599,6 +652,10 @@
|
|
|
599
652
|
height: 26px !important;
|
|
600
653
|
}
|
|
601
654
|
|
|
655
|
+
.\!h-\[40\%\] {
|
|
656
|
+
height: 40% !important;
|
|
657
|
+
}
|
|
658
|
+
|
|
602
659
|
.\!h-\[40px\] {
|
|
603
660
|
height: 40px !important;
|
|
604
661
|
}
|
|
@@ -783,6 +840,10 @@
|
|
|
783
840
|
height: 60px;
|
|
784
841
|
}
|
|
785
842
|
|
|
843
|
+
.h-\[6px\] {
|
|
844
|
+
height: 6px;
|
|
845
|
+
}
|
|
846
|
+
|
|
786
847
|
.h-\[96vh\] {
|
|
787
848
|
height: 96vh;
|
|
788
849
|
}
|
|
@@ -879,6 +940,10 @@
|
|
|
879
940
|
width: 37% !important;
|
|
880
941
|
}
|
|
881
942
|
|
|
943
|
+
.\!w-\[40\%\] {
|
|
944
|
+
width: 40% !important;
|
|
945
|
+
}
|
|
946
|
+
|
|
882
947
|
.\!w-\[40px\] {
|
|
883
948
|
width: 40px !important;
|
|
884
949
|
}
|
|
@@ -959,6 +1024,14 @@
|
|
|
959
1024
|
width: 1.25rem;
|
|
960
1025
|
}
|
|
961
1026
|
|
|
1027
|
+
.w-\[0\] {
|
|
1028
|
+
width: 0;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
.w-\[100\%\] {
|
|
1032
|
+
width: 100%;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
962
1035
|
.w-\[100px\] {
|
|
963
1036
|
width: 100px;
|
|
964
1037
|
}
|
|
@@ -967,6 +1040,10 @@
|
|
|
967
1040
|
width: 110px;
|
|
968
1041
|
}
|
|
969
1042
|
|
|
1043
|
+
.w-\[120px\] {
|
|
1044
|
+
width: 120px;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
970
1047
|
.w-\[12px\] {
|
|
971
1048
|
width: 12px;
|
|
972
1049
|
}
|
|
@@ -987,6 +1064,10 @@
|
|
|
987
1064
|
width: 1px;
|
|
988
1065
|
}
|
|
989
1066
|
|
|
1067
|
+
.w-\[200px\] {
|
|
1068
|
+
width: 200px;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
990
1071
|
.w-\[22px\] {
|
|
991
1072
|
width: 22px;
|
|
992
1073
|
}
|
|
@@ -995,6 +1076,10 @@
|
|
|
995
1076
|
width: 26px;
|
|
996
1077
|
}
|
|
997
1078
|
|
|
1079
|
+
.w-\[2px\] {
|
|
1080
|
+
width: 2px;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
998
1083
|
.w-\[30px\] {
|
|
999
1084
|
width: 30px;
|
|
1000
1085
|
}
|
|
@@ -1023,6 +1108,10 @@
|
|
|
1023
1108
|
width: 42px;
|
|
1024
1109
|
}
|
|
1025
1110
|
|
|
1111
|
+
.w-\[44px\] {
|
|
1112
|
+
width: 44px;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1026
1115
|
.w-\[50\%\] {
|
|
1027
1116
|
width: 50%;
|
|
1028
1117
|
}
|
|
@@ -1043,6 +1132,10 @@
|
|
|
1043
1132
|
width: 68px;
|
|
1044
1133
|
}
|
|
1045
1134
|
|
|
1135
|
+
.w-\[6px\] {
|
|
1136
|
+
width: 6px;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1046
1139
|
.w-\[70px\] {
|
|
1047
1140
|
width: 70px;
|
|
1048
1141
|
}
|
|
@@ -1051,6 +1144,19 @@
|
|
|
1051
1144
|
width: 80px;
|
|
1052
1145
|
}
|
|
1053
1146
|
|
|
1147
|
+
.w-\[88px\] {
|
|
1148
|
+
width: 88px;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.w-auto {
|
|
1152
|
+
width: auto;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.w-fit {
|
|
1156
|
+
width: -moz-fit-content;
|
|
1157
|
+
width: fit-content;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1054
1160
|
.w-full {
|
|
1055
1161
|
width: 100%;
|
|
1056
1162
|
}
|
|
@@ -1173,6 +1279,12 @@
|
|
|
1173
1279
|
resize: both;
|
|
1174
1280
|
}
|
|
1175
1281
|
|
|
1282
|
+
.appearance-none {
|
|
1283
|
+
-webkit-appearance: none;
|
|
1284
|
+
-moz-appearance: none;
|
|
1285
|
+
appearance: none;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1176
1288
|
.flex-row {
|
|
1177
1289
|
flex-direction: row;
|
|
1178
1290
|
}
|
|
@@ -1304,6 +1416,10 @@
|
|
|
1304
1416
|
border-radius: 0 0 4px 4px;
|
|
1305
1417
|
}
|
|
1306
1418
|
|
|
1419
|
+
.rounded-\[20px\] {
|
|
1420
|
+
border-radius: 20px;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1307
1423
|
.rounded-\[2px\] {
|
|
1308
1424
|
border-radius: 2px;
|
|
1309
1425
|
}
|
|
@@ -1401,6 +1517,11 @@
|
|
|
1401
1517
|
border-color: rgb(var(--hy-danger-2), var(--tw-border-opacity, 1));
|
|
1402
1518
|
}
|
|
1403
1519
|
|
|
1520
|
+
.border-main {
|
|
1521
|
+
--tw-border-opacity: 1;
|
|
1522
|
+
border-color: rgb(var(--hy-main), var(--tw-border-opacity, 1));
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1404
1525
|
.border-theme {
|
|
1405
1526
|
--tw-border-opacity: 1;
|
|
1406
1527
|
border-color: rgb(var(--hy-theme), var(--tw-border-opacity, 1));
|
|
@@ -1438,6 +1559,11 @@
|
|
|
1438
1559
|
background-color: rgb(61 98 134 / var(--tw-bg-opacity, 1));
|
|
1439
1560
|
}
|
|
1440
1561
|
|
|
1562
|
+
.bg-\[\#eaf5f9\] {
|
|
1563
|
+
--tw-bg-opacity: 1;
|
|
1564
|
+
background-color: rgb(234 245 249 / var(--tw-bg-opacity, 1));
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1441
1567
|
.bg-\[rgba\(var\(--hy-auxiliary\)\2c 0\.28\)\] {
|
|
1442
1568
|
background-color: rgba(var(--hy-auxiliary),0.28);
|
|
1443
1569
|
}
|
|
@@ -1509,6 +1635,11 @@
|
|
|
1509
1635
|
background-color: rgb(var(--hy-info), var(--tw-bg-opacity, 1));
|
|
1510
1636
|
}
|
|
1511
1637
|
|
|
1638
|
+
.bg-main {
|
|
1639
|
+
--tw-bg-opacity: 1;
|
|
1640
|
+
background-color: rgb(var(--hy-main), var(--tw-bg-opacity, 1));
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1512
1643
|
.bg-success {
|
|
1513
1644
|
--tw-bg-opacity: 1;
|
|
1514
1645
|
background-color: rgb(var(--hy-success), var(--tw-bg-opacity, 1));
|
|
@@ -1898,6 +2029,10 @@
|
|
|
1898
2029
|
line-height: 14px;
|
|
1899
2030
|
}
|
|
1900
2031
|
|
|
2032
|
+
.leading-\[18px\] {
|
|
2033
|
+
line-height: 18px;
|
|
2034
|
+
}
|
|
2035
|
+
|
|
1901
2036
|
.leading-\[1\] {
|
|
1902
2037
|
line-height: 1;
|
|
1903
2038
|
}
|
|
@@ -1906,6 +2041,10 @@
|
|
|
1906
2041
|
line-height: 20px;
|
|
1907
2042
|
}
|
|
1908
2043
|
|
|
2044
|
+
.leading-\[26px\] {
|
|
2045
|
+
line-height: 26px;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
1909
2048
|
.leading-\[28px\] {
|
|
1910
2049
|
line-height: 28px;
|
|
1911
2050
|
}
|
|
@@ -1980,6 +2119,14 @@
|
|
|
1980
2119
|
opacity: 0;
|
|
1981
2120
|
}
|
|
1982
2121
|
|
|
2122
|
+
.opacity-50 {
|
|
2123
|
+
opacity: 0.5;
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
.opacity-80 {
|
|
2127
|
+
opacity: 0.8;
|
|
2128
|
+
}
|
|
2129
|
+
|
|
1983
2130
|
.opacity-90 {
|
|
1984
2131
|
opacity: 0.9;
|
|
1985
2132
|
}
|
|
@@ -2046,6 +2193,11 @@
|
|
|
2046
2193
|
--tw-shadow: var(--tw-shadow-colored);
|
|
2047
2194
|
}
|
|
2048
2195
|
|
|
2196
|
+
.outline-none {
|
|
2197
|
+
outline: 2px solid transparent;
|
|
2198
|
+
outline-offset: 2px;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2049
2201
|
.outline {
|
|
2050
2202
|
outline-style: solid;
|
|
2051
2203
|
}
|
|
@@ -2153,6 +2305,10 @@ menu {
|
|
|
2153
2305
|
padding: 0;
|
|
2154
2306
|
}
|
|
2155
2307
|
|
|
2308
|
+
.hover\:z-10:hover {
|
|
2309
|
+
z-index: 10;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2156
2312
|
.hover\:border-\[rgba\(var\(--hy-auxiliary\)\2c 1\)\]:hover {
|
|
2157
2313
|
border-color: rgba(var(--hy-auxiliary),1);
|
|
2158
2314
|
}
|
|
@@ -2209,3 +2365,27 @@ menu {
|
|
|
2209
2365
|
.group:hover .group-hover\:opacity-100 {
|
|
2210
2366
|
opacity: 1;
|
|
2211
2367
|
}
|
|
2368
|
+
|
|
2369
|
+
.group.is-full .group-\[\.is-full\]\:mr-5 {
|
|
2370
|
+
margin-right: 1.25rem;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
.group.is-full .group-\[\.is-full\]\:\!h-\[28px\] {
|
|
2374
|
+
height: 28px !important;
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
.group.is-full .group-\[\.is-full\]\:\!h-\[34px\] {
|
|
2378
|
+
height: 34px !important;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
.group.is-full .group-\[\.is-full\]\:h-\[34px\] {
|
|
2382
|
+
height: 34px;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
.group.is-full .group-\[\.is-full\]\:\!w-\[28px\] {
|
|
2386
|
+
width: 28px !important;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
.group.is-full .group-\[\.is-full\]\:\!w-\[34px\] {
|
|
2390
|
+
width: 34px !important;
|
|
2391
|
+
}
|
package/es/api/file.mjs
CHANGED
|
@@ -15,5 +15,18 @@ function preSignedUrlGetApi(params) {
|
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
+
function mediaFileRedirectApi(mediaFileId) {
|
|
19
|
+
return new Promise((resolve, reject) => {
|
|
20
|
+
const { api } = useApi();
|
|
21
|
+
const http = unref(api);
|
|
22
|
+
http.get(`mediaFile/redirect?mediaFileId=${mediaFileId}`, {
|
|
23
|
+
responseType: "blob"
|
|
24
|
+
}).then((res) => {
|
|
25
|
+
resolve(res);
|
|
26
|
+
}).catch((err) => {
|
|
27
|
+
reject(err);
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
}
|
|
18
31
|
|
|
19
|
-
export { preSignedUrlGetApi };
|
|
32
|
+
export { mediaFileRedirectApi, preSignedUrlGetApi };
|