hy-dispatch-ui-v3 0.2.88 → 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.
Files changed (41) hide show
  1. package/dist/tailwind.css +89 -78
  2. package/es/api/file.mjs +14 -1
  3. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -469
  4. package/es/components/hyAudioPlayer/audioPlayer2.vue.mjs +1321 -0
  5. package/es/components/hyAudioPlayer/hyAudioPlayer/audioPlayer.vue.mjs +472 -0
  6. package/es/components/hyAudioPlayer/{js → hyAudioPlayer/js}/index.mjs +5 -5
  7. package/es/components/hyAudioPlayer/index.mjs +2 -2
  8. package/es/components/hyAudioPlayer/locale/en_US.mjs +18 -0
  9. package/es/components/hyAudioPlayer/locale/index.mjs +2 -0
  10. package/es/components/hyAudioPlayer/locale/zh_CN.mjs +18 -0
  11. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +9 -7
  12. package/es/components/hyForm/cpns/formItem.vue.mjs +2 -0
  13. package/es/components/hyRadioGroup/radioGroup.vue.mjs +95 -49
  14. package/es/components/hyTable/table.vue.mjs +3 -3
  15. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +2 -2
  16. package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +615 -336
  17. package/es/utils/timeUtils.mjs +8 -29
  18. package/es/version.mjs +1 -1
  19. package/lib/api/file.js +14 -0
  20. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -469
  21. package/lib/components/hyAudioPlayer/audioPlayer2.vue.js +1325 -0
  22. package/lib/components/hyAudioPlayer/hyAudioPlayer/audioPlayer.vue.js +476 -0
  23. package/lib/components/hyAudioPlayer/{js → hyAudioPlayer/js}/index.js +5 -5
  24. package/lib/components/hyAudioPlayer/locale/en_US.js +22 -0
  25. package/lib/components/hyAudioPlayer/locale/index.js +9 -0
  26. package/lib/components/hyAudioPlayer/locale/zh_CN.js +22 -0
  27. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +11 -9
  28. package/lib/components/hyForm/cpns/formItem.vue.js +2 -0
  29. package/lib/components/hyRadioGroup/radioGroup.vue.js +94 -48
  30. package/lib/components/hyTable/table.vue.js +2 -2
  31. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +2 -2
  32. package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +614 -335
  33. package/lib/utils/timeUtils.js +8 -29
  34. package/lib/version.js +1 -1
  35. package/package.json +1 -1
  36. package/es/components/hyVideoPlayer/videoPlayer1.vue.mjs +0 -8
  37. package/es/components/hyVideoPlayer/videoPlayer12.vue.mjs +0 -947
  38. package/lib/components/hyVideoPlayer/videoPlayer1.vue.js +0 -12
  39. package/lib/components/hyVideoPlayer/videoPlayer12.vue.js +0 -951
  40. /package/es/components/hyAudioPlayer/{style → hyAudioPlayer/style}/audioPlayer.scss +0 -0
  41. /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
  }
@@ -249,10 +281,6 @@
249
281
  right: 0px;
250
282
  }
251
283
 
252
- .right-\[10px\] {
253
- right: 10px;
254
- }
255
-
256
284
  .top-0 {
257
285
  top: 0px;
258
286
  }
@@ -265,10 +293,6 @@
265
293
  top: 0.5rem;
266
294
  }
267
295
 
268
- .top-5 {
269
- top: 1.25rem;
270
- }
271
-
272
296
  .top-\[19px\] {
273
297
  top: 19px;
274
298
  }
@@ -297,10 +321,6 @@
297
321
  z-index: 10000;
298
322
  }
299
323
 
300
- .z-\[100\] {
301
- z-index: 100;
302
- }
303
-
304
324
  .z-\[1\] {
305
325
  z-index: 1;
306
326
  }
@@ -321,8 +341,8 @@
321
341
  z-index: 600;
322
342
  }
323
343
 
324
- .z-\[999\] {
325
- z-index: 999;
344
+ .z-\[99999\] {
345
+ z-index: 99999;
326
346
  }
327
347
 
328
348
  .float-left {
@@ -349,6 +369,11 @@
349
369
  margin-right: 0.75rem;
350
370
  }
351
371
 
372
+ .mx-4 {
373
+ margin-left: 1rem;
374
+ margin-right: 1rem;
375
+ }
376
+
352
377
  .my-0 {
353
378
  margin-top: 0px;
354
379
  margin-bottom: 0px;
@@ -502,10 +527,6 @@
502
527
  margin-right: 1.25rem;
503
528
  }
504
529
 
505
- .mr-\[10px\] {
506
- margin-right: 10px;
507
- }
508
-
509
530
  .mr-\[4px\] {
510
531
  margin-right: 4px;
511
532
  }
@@ -631,6 +652,10 @@
631
652
  height: 26px !important;
632
653
  }
633
654
 
655
+ .\!h-\[40\%\] {
656
+ height: 40% !important;
657
+ }
658
+
634
659
  .\!h-\[40px\] {
635
660
  height: 40px !important;
636
661
  }
@@ -695,10 +720,6 @@
695
720
  height: 1rem;
696
721
  }
697
722
 
698
- .h-6 {
699
- height: 1.5rem;
700
- }
701
-
702
723
  .h-8 {
703
724
  height: 2rem;
704
725
  }
@@ -723,10 +744,6 @@
723
744
  height: 22px;
724
745
  }
725
746
 
726
- .h-\[24px\] {
727
- height: 24px;
728
- }
729
-
730
747
  .h-\[26px\] {
731
748
  height: 26px;
732
749
  }
@@ -823,10 +840,6 @@
823
840
  height: 60px;
824
841
  }
825
842
 
826
- .h-\[65px\] {
827
- height: 65px;
828
- }
829
-
830
843
  .h-\[6px\] {
831
844
  height: 6px;
832
845
  }
@@ -927,6 +940,10 @@
927
940
  width: 37% !important;
928
941
  }
929
942
 
943
+ .\!w-\[40\%\] {
944
+ width: 40% !important;
945
+ }
946
+
930
947
  .\!w-\[40px\] {
931
948
  width: 40px !important;
932
949
  }
@@ -1047,6 +1064,10 @@
1047
1064
  width: 1px;
1048
1065
  }
1049
1066
 
1067
+ .w-\[200px\] {
1068
+ width: 200px;
1069
+ }
1070
+
1050
1071
  .w-\[22px\] {
1051
1072
  width: 22px;
1052
1073
  }
@@ -1055,6 +1076,10 @@
1055
1076
  width: 26px;
1056
1077
  }
1057
1078
 
1079
+ .w-\[2px\] {
1080
+ width: 2px;
1081
+ }
1082
+
1058
1083
  .w-\[30px\] {
1059
1084
  width: 30px;
1060
1085
  }
@@ -1083,6 +1108,10 @@
1083
1108
  width: 42px;
1084
1109
  }
1085
1110
 
1111
+ .w-\[44px\] {
1112
+ width: 44px;
1113
+ }
1114
+
1086
1115
  .w-\[50\%\] {
1087
1116
  width: 50%;
1088
1117
  }
@@ -1103,8 +1132,8 @@
1103
1132
  width: 68px;
1104
1133
  }
1105
1134
 
1106
- .w-\[700px\] {
1107
- width: 700px;
1135
+ .w-\[6px\] {
1136
+ width: 6px;
1108
1137
  }
1109
1138
 
1110
1139
  .w-\[70px\] {
@@ -1119,8 +1148,13 @@
1119
1148
  width: 88px;
1120
1149
  }
1121
1150
 
1122
- .w-\[99\%\] {
1123
- width: 99%;
1151
+ .w-auto {
1152
+ width: auto;
1153
+ }
1154
+
1155
+ .w-fit {
1156
+ width: -moz-fit-content;
1157
+ width: fit-content;
1124
1158
  }
1125
1159
 
1126
1160
  .w-full {
@@ -1171,10 +1205,6 @@
1171
1205
  flex-grow: 0;
1172
1206
  }
1173
1207
 
1174
- .grow {
1175
- flex-grow: 1;
1176
- }
1177
-
1178
1208
  .border-collapse {
1179
1209
  border-collapse: collapse;
1180
1210
  }
@@ -1386,10 +1416,6 @@
1386
1416
  border-radius: 0 0 4px 4px;
1387
1417
  }
1388
1418
 
1389
- .rounded-\[12px\] {
1390
- border-radius: 12px;
1391
- }
1392
-
1393
1419
  .rounded-\[20px\] {
1394
1420
  border-radius: 20px;
1395
1421
  }
@@ -1528,11 +1554,6 @@
1528
1554
  background-color: rgb(var(--hy-background-3), var(--tw-bg-opacity, 1)) !important;
1529
1555
  }
1530
1556
 
1531
- .bg-\[\#040814\] {
1532
- --tw-bg-opacity: 1;
1533
- background-color: rgb(4 8 20 / var(--tw-bg-opacity, 1));
1534
- }
1535
-
1536
1557
  .bg-\[\#3D6286\] {
1537
1558
  --tw-bg-opacity: 1;
1538
1559
  background-color: rgb(61 98 134 / var(--tw-bg-opacity, 1));
@@ -1614,6 +1635,11 @@
1614
1635
  background-color: rgb(var(--hy-info), var(--tw-bg-opacity, 1));
1615
1636
  }
1616
1637
 
1638
+ .bg-main {
1639
+ --tw-bg-opacity: 1;
1640
+ background-color: rgb(var(--hy-main), var(--tw-bg-opacity, 1));
1641
+ }
1642
+
1617
1643
  .bg-success {
1618
1644
  --tw-bg-opacity: 1;
1619
1645
  background-color: rgb(var(--hy-success), var(--tw-bg-opacity, 1));
@@ -1638,25 +1664,6 @@
1638
1664
  background-color: rgb(var(--hy-warning), var(--tw-bg-opacity, 1));
1639
1665
  }
1640
1666
 
1641
- .bg-gradient-to-b {
1642
- background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
1643
- }
1644
-
1645
- .from-\[rgba\(28\2c 51\2c 74\2c 0\)\] {
1646
- --tw-gradient-from: rgba(28,51,74,0) var(--tw-gradient-from-position);
1647
- --tw-gradient-to: rgba(28, 51, 74, 0) var(--tw-gradient-to-position);
1648
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1649
- }
1650
-
1651
- .via-\[\#1c334ac4\] {
1652
- --tw-gradient-to: rgb(28 51 74 / 0) var(--tw-gradient-to-position);
1653
- --tw-gradient-stops: var(--tw-gradient-from), #1c334ac4 var(--tw-gradient-via-position), var(--tw-gradient-to);
1654
- }
1655
-
1656
- .to-\[rgba\(28\2c 51\2c 74\2c 0\)\] {
1657
- --tw-gradient-to: rgba(28,51,74,0) var(--tw-gradient-to-position);
1658
- }
1659
-
1660
1667
  .\!p-0 {
1661
1668
  padding: 0px !important;
1662
1669
  }
@@ -2022,6 +2029,10 @@
2022
2029
  line-height: 14px;
2023
2030
  }
2024
2031
 
2032
+ .leading-\[18px\] {
2033
+ line-height: 18px;
2034
+ }
2035
+
2025
2036
  .leading-\[1\] {
2026
2037
  line-height: 1;
2027
2038
  }
@@ -2108,6 +2119,14 @@
2108
2119
  opacity: 0;
2109
2120
  }
2110
2121
 
2122
+ .opacity-50 {
2123
+ opacity: 0.5;
2124
+ }
2125
+
2126
+ .opacity-80 {
2127
+ opacity: 0.8;
2128
+ }
2129
+
2111
2130
  .opacity-90 {
2112
2131
  opacity: 0.9;
2113
2132
  }
@@ -2286,6 +2305,10 @@ menu {
2286
2305
  padding: 0;
2287
2306
  }
2288
2307
 
2308
+ .hover\:z-10:hover {
2309
+ z-index: 10;
2310
+ }
2311
+
2289
2312
  .hover\:border-\[rgba\(var\(--hy-auxiliary\)\2c 1\)\]:hover {
2290
2313
  border-color: rgba(var(--hy-auxiliary),1);
2291
2314
  }
@@ -2343,10 +2366,6 @@ menu {
2343
2366
  opacity: 1;
2344
2367
  }
2345
2368
 
2346
- .group.is-full .group-\[\.is-full\]\:right-4 {
2347
- right: 1rem;
2348
- }
2349
-
2350
2369
  .group.is-full .group-\[\.is-full\]\:mr-5 {
2351
2370
  margin-right: 1.25rem;
2352
2371
  }
@@ -2359,10 +2378,6 @@ menu {
2359
2378
  height: 34px !important;
2360
2379
  }
2361
2380
 
2362
- .group.is-full .group-\[\.is-full\]\:h-\[22px\] {
2363
- height: 22px;
2364
- }
2365
-
2366
2381
  .group.is-full .group-\[\.is-full\]\:h-\[34px\] {
2367
2382
  height: 34px;
2368
2383
  }
@@ -2374,7 +2389,3 @@ menu {
2374
2389
  .group.is-full .group-\[\.is-full\]\:\!w-\[34px\] {
2375
2390
  width: 34px !important;
2376
2391
  }
2377
-
2378
- .\[\&\>div\+div\]\:mt-\[10px\]>div+div {
2379
- margin-top: 10px;
2380
- }
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 };