@yuuichi/openlist-assets 4.2.6-ym.2 → 4.2.6-ym.4

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.
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/html-wOPWOBnT.js","assets/store-BsSRYN7v.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/en-Cb1udzIe.js","assets/zh-CN-D7L2on4W.js","assets/zh-TW-BKjAsqlH.js","assets/preload-helper-DYcUnP3D.js","assets/index-7qpdQgA0.js","assets/lib-BXIBvq04.js","assets/index-MlAvXon-.css","assets/aliyun_video-DhUqtFwT.js","assets/cg-Dnhuo7ak.js","assets/video_box-CocSg4GK.js","assets/artplayer-DPJyndgI.js","assets/artplayer-ik9146Me.css","assets/markdown-CQvfiJ80.js","assets/flash-BI-MiqMm.js","assets/markdown_with_word_wrap-C1buWvD_.js","assets/url-DLWqDjv0.js","assets/info-CzpUm9_2.js","assets/text-editor-Bxo06t7P.js","assets/stream-BKRb6osw.js","assets/image-Db7g9giI.js","assets/ImageWithError-BrXxSw_S.js","assets/video-CoNJHXkq.js","assets/audio-DRUucn3C.js","assets/audio-C88ImxMp.css","assets/ipa-Bshhl83e.js","assets/plist-DIMZiha9.js","assets/pdf-Bq_tQdRs.js","assets/crypto-js-w5aEMWsI.js","assets/ppt-FvL4yH5U.js","assets/hi-ClhKMBa1.js","assets/xls-DYLBHUV2.js","assets/doc-Bxq9eHCG.js","assets/asciinema-2pKCRuB5.js","assets/asciinema-MRIDDBHO.css","assets/video360-Dz06Y6zH.js","assets/video360-BrZXcxD-.css","assets/torrent-D-mNBpZE.js","assets/Layout-5b_f2NCW.js","assets/im-BJeubbaf.js","assets/ri-TJ1FGPcH.js","assets/archive-BcA0ogpj.js","assets/Password-BaH1b1Hu.js","assets/open-with-DORObice.js","assets/style-CBsGzmsL.js","assets/style-Xdg_lEeV.css","assets/helper-Dy9CHgbI.js","assets/List-bm8VNr7g.js","assets/storage-BJ3hd3EY.js","assets/download-Bcb2qG2t.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/html-wOPWOBnT.js","assets/store-BsSRYN7v.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/en-Cb1udzIe.js","assets/zh-CN-D7L2on4W.js","assets/zh-TW-BKjAsqlH.js","assets/preload-helper-DYcUnP3D.js","assets/index-7qpdQgA0.js","assets/lib-BXIBvq04.js","assets/index-MlAvXon-.css","assets/aliyun_video-DhUqtFwT.js","assets/cg-Dnhuo7ak.js","assets/video_box-CocSg4GK.js","assets/artplayer-DPJyndgI.js","assets/artplayer-ik9146Me.css","assets/markdown-CQvfiJ80.js","assets/flash-BI-MiqMm.js","assets/markdown_with_word_wrap-C1buWvD_.js","assets/url-DLWqDjv0.js","assets/info-CzpUm9_2.js","assets/text-editor-Bxo06t7P.js","assets/stream-BKRb6osw.js","assets/image-Db7g9giI.js","assets/ImageWithError-BrXxSw_S.js","assets/video-CoNJHXkq.js","assets/audio-DRUucn3C.js","assets/audio-C88ImxMp.css","assets/ipa-Bshhl83e.js","assets/plist-DIMZiha9.js","assets/pdf-Bq_tQdRs.js","assets/crypto-js-w5aEMWsI.js","assets/ppt-FvL4yH5U.js","assets/hi-ClhKMBa1.js","assets/xls-DYLBHUV2.js","assets/doc-Bxq9eHCG.js","assets/asciinema-2pKCRuB5.js","assets/asciinema-MRIDDBHO.css","assets/video360-Dz06Y6zH.js","assets/video360-BrZXcxD-.css","assets/torrent-D-mNBpZE.js","assets/Layout-5b_f2NCW.js","assets/im-BJeubbaf.js","assets/ri-TJ1FGPcH.js","assets/archive-BcA0ogpj.js","assets/Password-BaH1b1Hu.js","assets/open-with-DORObice.js","assets/style-CBsGzmsL.js","assets/style-Xdg_lEeV.css","assets/helper-Dy9CHgbI.js","assets/List-bm8VNr7g.js","assets/storage-BJ3hd3EY.js","assets/download-Bcb2qG2t.js"])))=>i.map(i=>d[i]);
2
2
  import{$ as e,E as t,Zt as n,aa as r,fn as i,ha as a,la as o,m as s,ni as c,o as l,q as u,r as d,rr as f,rt as p,s as m,si as h,u as g}from"./store-BsSRYN7v.js";import{t as _}from"./preload-helper-DYcUnP3D.js";import{t as v}from"./lib-BXIBvq04.js";import{_ as y,g as b,h as x,v as S}from"./cg-Dnhuo7ak.js";import{At as C,C as w,Jt as T,M as E,S as D,V as O,_ as k,b as A,g as j,h as M,o as N,on as P,r as F,v as I,w as L,x as R,y as z}from"./index-7qpdQgA0.js";import{t as B}from"./im-BJeubbaf.js";import{t as V}from"./si-DhMGz0EU.js";var H=function(e){return e[e.UNKNOWN=0]=`UNKNOWN`,e[e.FOLDER=1]=`FOLDER`,e[e.VIDEO=2]=`VIDEO`,e[e.AUDIO=3]=`AUDIO`,e[e.TEXT=4]=`TEXT`,e[e.IMAGE=5]=`IMAGE`,e}({});function U(e){return v({a:{viewBox:`0 0 32 32`},c:`<path
3
3
  fill="#070444"
4
4
  d="M24.099 2H8.837v28h20.91V7.888l-5.579-5.816L24.099 2"
@@ -1,4 +1,4 @@
1
- (function(){System.register([`./store-legacy-DKwwQbF3.js`,`./preload-helper-legacy-Cz4LJ9k0.js`,`./lib-legacy-BC9zDl6v.js`,`./cg-legacy-BVTWCJo6.js`,`./index-legacy-ZT1HFzNW.js`,`./im-legacy-CByChp6i.js`,`./si-legacy-CscbGXwf.js`],function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,U,W,G,K,q,J,Y,X,Z;function Q(e){return b({a:{viewBox:`0 0 32 32`},c:`<path
1
+ (function(){System.register([`./store-legacy-DKwwQbF3.js`,`./preload-helper-legacy-Cz4LJ9k0.js`,`./lib-legacy-BC9zDl6v.js`,`./cg-legacy-BVTWCJo6.js`,`./index-legacy-ZT1HFzNW.js`,`./im-legacy-CByChp6i.js`,`./si-legacy-CscbGXwf.js`],function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,U,W,G,K,q,J,Y,X,Z;function Q(e){return b({a:{viewBox:`0 0 32 32`},c:`<path
2
2
  fill="#070444"
3
3
  d="M24.099 2H8.837v28h20.91V7.888l-5.579-5.816L24.099 2"
4
4
  ></path>
@@ -0,0 +1,350 @@
1
+ .bgm-dock {
2
+ --bgm-accent: var(--btn-bg, #0078e7);
3
+ position: fixed;
4
+ left: 16px;
5
+ bottom: 16px;
6
+ z-index: 99999;
7
+ width: 52px;
8
+ max-width: calc(100vw - 24px);
9
+ font-size: 13px;
10
+ line-height: 1.4;
11
+ color: #222;
12
+ }
13
+
14
+ /* 展开状态:容器宽度交给面板 */
15
+ .bgm-dock.is-open {
16
+ width: 320px;
17
+ max-width: calc(100vw - 24px);
18
+ }
19
+
20
+ /* 圆形音符按钮(双端默认形态) */
21
+ .bgm-dock__fab {
22
+ position: relative;
23
+ width: 52px;
24
+ height: 52px;
25
+ border: 0;
26
+ border-radius: 50%;
27
+ background: var(--bgm-accent);
28
+ color: #fff;
29
+ font-size: 20px;
30
+ cursor: pointer;
31
+ box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
32
+ display: inline-flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ touch-action: none;
36
+ }
37
+
38
+ .bgm-dock__fab.is-dragging {
39
+ cursor: grabbing;
40
+ opacity: 0.92;
41
+ }
42
+
43
+ .bgm-dock__fab-bar {
44
+ position: absolute;
45
+ right: 9px;
46
+ top: 9px;
47
+ width: 9px;
48
+ height: 9px;
49
+ border-radius: 50%;
50
+ background: #2ecc71;
51
+ border: 2px solid #fff;
52
+ opacity: 0;
53
+ }
54
+
55
+ .bgm-dock.is-playing .bgm-dock__fab-bar {
56
+ opacity: 1;
57
+ }
58
+
59
+ /* 面板:桌面端为 FAB 上方浮层,默认隐藏 */
60
+ .bgm-dock__panel {
61
+ display: none;
62
+ position: absolute;
63
+ left: 0;
64
+ bottom: 64px;
65
+ width: 320px;
66
+ max-width: calc(100vw - 24px);
67
+ max-height: 70vh;
68
+ border-radius: 14px;
69
+ overflow: hidden;
70
+ background: rgba(255, 255, 255, 0.96);
71
+ box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
72
+ backdrop-filter: blur(6px);
73
+ flex-direction: column;
74
+ }
75
+
76
+ .bgm-dock.is-open .bgm-dock__panel {
77
+ display: flex;
78
+ }
79
+
80
+ .bgm-dock.is-open .bgm-dock__fab {
81
+ display: none;
82
+ }
83
+
84
+ [data-theme='dark'] .bgm-dock__panel {
85
+ background: rgba(30, 30, 34, 0.96);
86
+ color: #e6e6e6;
87
+ }
88
+
89
+ .bgm-dock.is-sized .bgm-dock__panel {
90
+ width: auto;
91
+ max-height: none;
92
+ }
93
+
94
+ .bgm-dock.is-sized .bgm-dock__body {
95
+ flex: 1 1 auto;
96
+ min-height: 0;
97
+ overflow-y: auto;
98
+ }
99
+
100
+ .bgm-dock.is-sized .bgm-dock__player--spotify iframe {
101
+ height: 100%;
102
+ min-height: 152px;
103
+ }
104
+
105
+ .bgm-dock.is-sized .bgm-dock__player--spotify {
106
+ height: 100%;
107
+ }
108
+
109
+ /* 右下角缩放拖柄 */
110
+ .bgm-dock__resize {
111
+ position: absolute;
112
+ right: 0;
113
+ bottom: 0;
114
+ width: 16px;
115
+ height: 16px;
116
+ cursor: nwse-resize;
117
+ z-index: 6;
118
+ background:
119
+ linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0.28) 60%, transparent 60%, transparent 70%, rgba(0, 0, 0, 0.28) 70%, rgba(0, 0, 0, 0.28) 80%, transparent 80%);
120
+ }
121
+
122
+ /* 头部(拖动手柄 + 标签 + 折叠) */
123
+ .bgm-dock__head {
124
+ display: flex;
125
+ align-items: center;
126
+ gap: 6px;
127
+ padding: 7px 8px;
128
+ background: var(--bgm-accent);
129
+ color: #fff;
130
+ }
131
+
132
+ .bgm-dock__handle {
133
+ display: flex;
134
+ align-items: center;
135
+ gap: 6px;
136
+ cursor: move;
137
+ user-select: none;
138
+ font-weight: 600;
139
+ white-space: nowrap;
140
+ }
141
+
142
+ .bgm-dock__handle svg {
143
+ width: 14px;
144
+ height: 14px;
145
+ fill: currentColor;
146
+ flex: none;
147
+ }
148
+
149
+ .bgm-dock__title {
150
+ font-size: 12px;
151
+ }
152
+
153
+ .bgm-dock__tabs {
154
+ display: flex;
155
+ gap: 4px;
156
+ margin-left: auto;
157
+ overflow-x: auto;
158
+ scrollbar-width: none;
159
+ }
160
+
161
+ .bgm-dock__tabs::-webkit-scrollbar {
162
+ display: none;
163
+ }
164
+
165
+ .bgm-dock__tab {
166
+ flex: 0 0 auto;
167
+ border: 0;
168
+ border-radius: 999px;
169
+ padding: 2px 9px;
170
+ font-size: 11px;
171
+ cursor: pointer;
172
+ color: #fff;
173
+ background: rgba(255, 255, 255, 0.18);
174
+ transition: background 0.15s ease;
175
+ }
176
+
177
+ .bgm-dock__tab:hover {
178
+ background: rgba(255, 255, 255, 0.32);
179
+ }
180
+
181
+ .bgm-dock__tab.is-active {
182
+ background: #fff;
183
+ color: var(--bgm-accent);
184
+ font-weight: 600;
185
+ }
186
+
187
+ .bgm-dock__toggle {
188
+ flex: 0 0 auto;
189
+ width: 20px;
190
+ height: 20px;
191
+ border: 0;
192
+ border-radius: 50%;
193
+ line-height: 1;
194
+ cursor: pointer;
195
+ background: rgba(255, 255, 255, 0.22);
196
+ color: #fff;
197
+ }
198
+
199
+ .bgm-dock__toggle:hover {
200
+ background: rgba(255, 255, 255, 0.38);
201
+ }
202
+
203
+ /* 播放器主体 */
204
+ .bgm-dock__body {
205
+ position: relative;
206
+ }
207
+
208
+ .bgm-dock__player {
209
+ display: none;
210
+ }
211
+
212
+ .bgm-dock__player.is-active {
213
+ display: block;
214
+ }
215
+
216
+ .bgm-dock__player.is-loading {
217
+ padding: 26px 12px;
218
+ text-align: center;
219
+ color: var(--bgm-accent, #0078e7);
220
+ font-size: 12px;
221
+ display: block;
222
+ }
223
+
224
+ /* 让非 fixed 的 APlayer 适配容器宽度 */
225
+ .bgm-dock__player--aplayer .aplayer,
226
+ .bgm-dock__player--meting .aplayer {
227
+ width: 100% !important;
228
+ margin: 0;
229
+ border-radius: 0;
230
+ box-shadow: none;
231
+ }
232
+
233
+ /* 倍速控制 */
234
+ .bgm-dock .bgm-speed {
235
+ position: relative;
236
+ display: inline-flex;
237
+ align-items: center;
238
+ justify-content: center;
239
+ min-width: 30px;
240
+ padding: 0 4px;
241
+ cursor: pointer;
242
+ font-size: 12px;
243
+ font-weight: 600;
244
+ user-select: none;
245
+ }
246
+
247
+ .bgm-dock .bgm-speed__menu {
248
+ position: absolute;
249
+ right: 0;
250
+ bottom: 20px;
251
+ display: none;
252
+ min-width: 64px;
253
+ padding: 4px 0;
254
+ border-radius: 8px;
255
+ background: rgba(30, 30, 34, 0.96);
256
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
257
+ z-index: 5;
258
+ }
259
+
260
+ .bgm-dock .bgm-speed__menu.is-open {
261
+ display: block;
262
+ }
263
+
264
+ .bgm-dock .bgm-speed__item {
265
+ display: block;
266
+ width: 100%;
267
+ padding: 5px 12px;
268
+ border: 0;
269
+ background: transparent;
270
+ color: #eee;
271
+ font-size: 12px;
272
+ text-align: center;
273
+ cursor: pointer;
274
+ }
275
+
276
+ .bgm-dock .bgm-speed__item:hover {
277
+ background: rgba(255, 255, 255, 0.12);
278
+ }
279
+
280
+ .bgm-dock .bgm-speed__item.is-active {
281
+ color: var(--bgm-accent, #0078e7);
282
+ font-weight: 700;
283
+ }
284
+
285
+ .bgm-dock__player--aplayer .aplayer-list,
286
+ .bgm-dock__player--meting .aplayer-list {
287
+ max-height: 168px;
288
+ }
289
+
290
+ /* Spotify:歌单/专辑 352px(完整列表),单曲 152px(紧凑条) */
291
+ .bgm-dock__player--spotify iframe {
292
+ display: block;
293
+ width: 100%;
294
+ height: 352px;
295
+ border: 0;
296
+ }
297
+
298
+ .bgm-dock__player--spotify.is-song iframe {
299
+ height: 152px;
300
+ }
301
+
302
+ /* 拖拽时盖住 iframe,保证鼠标事件不被跨域文档吞掉 */
303
+ .bgm-dock__overlay {
304
+ position: fixed;
305
+ inset: 0;
306
+ z-index: 999999;
307
+ cursor: grabbing;
308
+ user-select: none;
309
+ }
310
+
311
+ /* ---------- 移动端(≤768px):FAB 左下角;展开面板底部全宽固定 ---------- */
312
+ @media (max-width: 768px) {
313
+ .bgm-dock {
314
+ left: 14px;
315
+ bottom: 14px;
316
+ width: 52px;
317
+ }
318
+
319
+ .bgm-dock.is-open {
320
+ width: auto;
321
+ left: 0;
322
+ right: 0;
323
+ bottom: 0;
324
+ max-width: none;
325
+ }
326
+
327
+ .bgm-dock.is-open .bgm-dock__panel {
328
+ position: fixed;
329
+ left: 12px;
330
+ right: 12px;
331
+ bottom: 12px;
332
+ width: auto;
333
+ max-height: 74vh;
334
+ border-radius: 14px;
335
+ }
336
+
337
+ .bgm-dock__body {
338
+ max-height: calc(74vh - 44px);
339
+ overflow-y: auto;
340
+ }
341
+
342
+ /* 移动端面板不支持桌面拖拽标题栏 / 缩放 */
343
+ .bgm-dock__handle {
344
+ cursor: default;
345
+ }
346
+
347
+ .bgm-dock__resize {
348
+ display: none;
349
+ }
350
+ }