ez-vid-ang 22.0.5 → 22.0.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.
- package/README.md +19 -6
- package/assets/eva-required-import.scss +172 -12
- package/fesm2022/ez-vid-ang-icons.mjs +74 -0
- package/fesm2022/ez-vid-ang-icons.mjs.map +1 -0
- package/fesm2022/ez-vid-ang.mjs +1841 -1469
- package/fesm2022/ez-vid-ang.mjs.map +1 -1
- package/package.json +7 -1
- package/types/ez-vid-ang-icons.d.ts +43 -0
- package/types/ez-vid-ang.d.ts +758 -470
- package/assets/eva-icons-and-fonts.scss +0 -99
- package/assets/videogular.woff +0 -0
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ EzVidAng updates and develops the library for the 2 latest versions.
|
|
|
37
37
|
|
|
38
38
|
Install the package:
|
|
39
39
|
```
|
|
40
|
-
npm i
|
|
40
|
+
npm i ez-vid-ang
|
|
41
41
|
```
|
|
42
42
|
Add the required styles to your angular.json:
|
|
43
43
|
```
|
|
@@ -48,8 +48,7 @@ Add the required styles to your angular.json:
|
|
|
48
48
|
"build": {
|
|
49
49
|
"options": {
|
|
50
50
|
"styles": [
|
|
51
|
-
"node_modules/ez-vid-ang/assets/eva-required-import.scss"
|
|
52
|
-
"node_modules/ez-vid-ang/assets/eva-icons-and-fonts.scss"
|
|
51
|
+
"node_modules/ez-vid-ang/assets/eva-required-import.scss"
|
|
53
52
|
]
|
|
54
53
|
}
|
|
55
54
|
}
|
|
@@ -58,9 +57,23 @@ Add the required styles to your angular.json:
|
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
```
|
|
61
|
-
|
|
62
|
-
> *eva-icons-and-fonts.scss* is optional if you provide custom icons and fonts for all components. It includes a prepared *.woff* file and utility classes for default icon usage.
|
|
60
|
+
Register the built-in icons once in your `main.ts` (or any bootstrapping code that runs before your components render):
|
|
63
61
|
|
|
62
|
+
```typescript
|
|
63
|
+
import { addEvaIcons } from 'ez-vid-ang';
|
|
64
|
+
import { evaAllIcons } from 'ez-vid-ang/icons';
|
|
65
|
+
|
|
66
|
+
addEvaIcons(evaAllIcons);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
To minimize bundle size, import only the icons your components use:
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import { addEvaIcons } from 'ez-vid-ang';
|
|
73
|
+
import { evaPlayIcon, evaPauseIcon, evaFullscreenIcon, evaFullscreenExitIcon } from 'ez-vid-ang/icons';
|
|
74
|
+
|
|
75
|
+
addEvaIcons({ evaPlayIcon, evaPauseIcon, evaFullscreenIcon, evaFullscreenExitIcon });
|
|
76
|
+
```
|
|
64
77
|
|
|
65
78
|
> [!IMPORTANT]
|
|
66
79
|
> **If you want to use HLS streaming directive you must install latest version of the hls.js.**
|
|
@@ -179,7 +192,7 @@ All magic numbers are centralized in `src/lib/constants.ts`. See [linting docume
|
|
|
179
192
|
## Components
|
|
180
193
|
|
|
181
194
|
Library has four groups of components. Click on the name to go to the documentation:
|
|
182
|
-
- [**EvaCore**](documentation/core) – Main player component, directives (keyboard shortcuts, configuration storage), and providers
|
|
195
|
+
- [**EvaCore**](documentation/core) – Main player component, icon registry, directives (keyboard shortcuts, configuration storage), and providers
|
|
183
196
|
- [**EvaControls**](documentation/controls) – Video control components (play/pause, volume, scrub bar, fullscreen, playback speed, quality selector, track selector, loop, picture-in-picture, download, screenshot, context menu, settings panel, keyboard shortcuts overlay, cinema mode, error overlay, chapter list, and more)
|
|
184
197
|
- [**EvaBuffering**](documentation/buffering) – Loading and buffering indicators
|
|
185
198
|
- [**EvaStreaming**](documentation/streaming) – Directives for HLS and DASH live streaming support
|
|
@@ -107,21 +107,181 @@
|
|
|
107
107
|
--eva-volume-knob-background-color: white;
|
|
108
108
|
--eva-volume-knob-size: 15px;
|
|
109
109
|
--eva-volume-knob-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
110
|
+
|
|
111
|
+
--eva-scrub-bar-thumbnail-border-radius: 4px;
|
|
112
|
+
--eva-scrub-bar-thumbnail-border: 2px solid rgba(255, 255, 255, 0.9);
|
|
113
|
+
--eva-scrub-bar-thumbnail-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
114
|
+
|
|
115
|
+
--eva-context-menu-min-width: 180px;
|
|
116
|
+
--eva-context-menu-max-width: 300px;
|
|
117
|
+
--eva-context-menu-padding: 4px 0;
|
|
118
|
+
--eva-context-menu-background: rgba(20, 20, 20, 0.95);
|
|
119
|
+
--eva-context-menu-border-radius: 8px;
|
|
120
|
+
--eva-context-menu-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
|
|
121
|
+
--eva-context-menu-font-size: 13px;
|
|
122
|
+
--eva-context-menu-color: rgba(255, 255, 255, 0.9);
|
|
123
|
+
--eva-context-menu-item-padding: 8px 16px;
|
|
124
|
+
--eva-context-menu-item-hover-background: rgba(255, 255, 255, 0.1);
|
|
125
|
+
--eva-context-menu-item-disabled-color: rgba(255, 255, 255, 0.35);
|
|
126
|
+
--eva-context-menu-divider-margin: 4px 0;
|
|
127
|
+
--eva-context-menu-divider-color: rgba(255, 255, 255, 0.12);
|
|
128
|
+
|
|
129
|
+
--eva-ended-overlay-background: rgba(0, 0, 0, 0.85);
|
|
130
|
+
|
|
131
|
+
--eva-error-overlay-background: rgba(0, 0, 0, 0.85);
|
|
132
|
+
--eva-error-overlay-gap: 16px;
|
|
133
|
+
--eva-error-overlay-padding: 24px;
|
|
134
|
+
--eva-error-overlay-icon-size: 48px;
|
|
135
|
+
--eva-error-overlay-font-size: 14px;
|
|
136
|
+
--eva-error-overlay-text-color: rgba(255, 255, 255, 0.9);
|
|
137
|
+
--eva-error-overlay-max-width: 300px;
|
|
138
|
+
--eva-error-overlay-retry-padding: 8px 24px;
|
|
139
|
+
--eva-error-overlay-retry-border: 1px solid rgba(255, 255, 255, 0.3);
|
|
140
|
+
--eva-error-overlay-retry-border-radius: 4px;
|
|
141
|
+
--eva-error-overlay-retry-background: rgba(255, 255, 255, 0.1);
|
|
142
|
+
--eva-error-overlay-retry-color: rgba(255, 255, 255, 0.9);
|
|
143
|
+
--eva-error-overlay-retry-font-size: 14px;
|
|
144
|
+
--eva-error-overlay-retry-hover-background: rgba(255, 255, 255, 0.2);
|
|
145
|
+
--eva-error-overlay-retry-focus-color: rgba(255, 255, 255, 0.6);
|
|
146
|
+
|
|
147
|
+
--eva-settings-panel-button-width: 44px;
|
|
148
|
+
--eva-settings-panel-hover-background: rgba(255, 255, 255, 0.1);
|
|
149
|
+
--eva-settings-panel-open-background: rgba(255, 255, 255, 0.15);
|
|
150
|
+
--eva-settings-panel-icon-size: 22px;
|
|
151
|
+
--eva-settings-panel-icon-color: white;
|
|
152
|
+
--eva-settings-panel-background: rgba(0, 0, 0, 0.92);
|
|
153
|
+
--eva-settings-panel-border-radius: 8px;
|
|
154
|
+
--eva-settings-panel-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
155
|
+
--eva-settings-panel-min-width: 220px;
|
|
156
|
+
--eva-settings-panel-min-width-mobile: 180px;
|
|
157
|
+
--eva-settings-panel-max-height: 280px;
|
|
158
|
+
--eva-settings-panel-header-padding: 10px 14px 8px;
|
|
159
|
+
--eva-settings-panel-header-border: 1px solid rgba(255, 255, 255, 0.1);
|
|
160
|
+
--eva-settings-panel-header-font-size: 12px;
|
|
161
|
+
--eva-settings-panel-header-color: rgba(255, 255, 255, 0.6);
|
|
162
|
+
--eva-settings-panel-back-color: rgba(255, 255, 255, 0.7);
|
|
163
|
+
--eva-settings-panel-item-padding: 10px 14px;
|
|
164
|
+
--eva-settings-panel-item-hover-background: rgba(255, 255, 255, 0.1);
|
|
165
|
+
--eva-settings-panel-item-font-size: 14px;
|
|
166
|
+
--eva-settings-panel-item-color: rgba(255, 255, 255, 0.95);
|
|
167
|
+
--eva-settings-panel-item-value-font-size: 13px;
|
|
168
|
+
--eva-settings-panel-item-value-color: rgba(255, 255, 255, 0.5);
|
|
169
|
+
--eva-settings-panel-item-arrow-color: rgba(255, 255, 255, 0.4);
|
|
170
|
+
--eva-settings-panel-option-padding: 10px 14px;
|
|
171
|
+
--eva-settings-panel-option-hover-background: rgba(255, 255, 255, 0.1);
|
|
172
|
+
--eva-settings-panel-option-selected-background: rgba(59, 130, 246, 0.2);
|
|
173
|
+
--eva-settings-panel-option-check-size: 16px;
|
|
174
|
+
--eva-settings-panel-option-check-color: rgba(59, 130, 246, 1);
|
|
175
|
+
--eva-settings-panel-option-font-size: 14px;
|
|
176
|
+
--eva-settings-panel-option-color: rgba(255, 255, 255, 0.95);
|
|
177
|
+
|
|
178
|
+
--eva-chapter-list-top: 8px;
|
|
179
|
+
--eva-chapter-list-width: 280px;
|
|
180
|
+
--eva-chapter-list-max-width: 40%;
|
|
181
|
+
--eva-chapter-list-max-width-mobile: 60%;
|
|
182
|
+
--eva-chapter-list-max-height: calc(100% - var(--eva-control-element-height) - 24px);
|
|
183
|
+
--eva-chapter-list-offset: 8px;
|
|
184
|
+
--eva-chapter-list-background: rgba(0, 0, 0, 0.92);
|
|
185
|
+
--eva-chapter-list-border-radius: 8px;
|
|
186
|
+
--eva-chapter-list-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
187
|
+
--eva-chapter-list-header-padding: 12px 16px;
|
|
188
|
+
--eva-chapter-list-header-border: 1px solid rgba(255, 255, 255, 0.1);
|
|
189
|
+
--eva-chapter-list-close-size: 28px;
|
|
190
|
+
--eva-chapter-list-close-color: rgba(255, 255, 255, 0.6);
|
|
191
|
+
--eva-chapter-list-title-font-size: 14px;
|
|
192
|
+
--eva-chapter-list-title-color: rgba(255, 255, 255, 0.9);
|
|
193
|
+
--eva-chapter-list-count-font-size: 12px;
|
|
194
|
+
--eva-chapter-list-count-color: rgba(255, 255, 255, 0.5);
|
|
195
|
+
--eva-chapter-list-count-background: rgba(255, 255, 255, 0.1);
|
|
196
|
+
--eva-chapter-list-items-padding: 4px;
|
|
197
|
+
--eva-chapter-list-scrollbar-color: rgba(255, 255, 255, 0.2);
|
|
198
|
+
--eva-chapter-list-item-gap: 12px;
|
|
199
|
+
--eva-chapter-list-item-padding: 10px 12px;
|
|
200
|
+
--eva-chapter-list-item-hover-background: rgba(255, 255, 255, 0.1);
|
|
201
|
+
--eva-chapter-list-item-active-background: rgba(59, 130, 246, 0.25);
|
|
202
|
+
--eva-chapter-list-item-active-title-color: rgb(59, 130, 246);
|
|
203
|
+
--eva-chapter-list-item-active-time-color: rgb(59, 130, 246);
|
|
204
|
+
--eva-chapter-list-item-time-font-size: 12px;
|
|
205
|
+
--eva-chapter-list-item-time-color: rgba(255, 255, 255, 0.6);
|
|
206
|
+
--eva-chapter-list-item-title-font-size: 14px;
|
|
207
|
+
--eva-chapter-list-item-title-color: rgba(255, 255, 255, 0.95);
|
|
208
|
+
--eva-chapter-list-item-duration-font-size: 11px;
|
|
209
|
+
--eva-chapter-list-item-duration-color: rgba(255, 255, 255, 0.4);
|
|
210
|
+
--eva-chapter-list-empty-font-size: 13px;
|
|
211
|
+
--eva-chapter-list-empty-color: rgba(255, 255, 255, 0.4);
|
|
212
|
+
|
|
213
|
+
--eva-remote-playback-button-width: 50px;
|
|
214
|
+
--eva-remote-playback-connected-color: rgb(59, 130, 246);
|
|
215
|
+
|
|
216
|
+
--eva-tooltip-background: rgba(20, 20, 20, 0.95);
|
|
217
|
+
--eva-tooltip-color: rgba(255, 255, 255, 0.95);
|
|
218
|
+
--eva-tooltip-font-size: 12px;
|
|
219
|
+
--eva-tooltip-padding: 5px 10px;
|
|
220
|
+
--eva-tooltip-border-radius: 4px;
|
|
221
|
+
--eva-tooltip-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
222
|
+
--eva-tooltip-gap: 6px;
|
|
223
|
+
--eva-tooltip-kbd-background: rgba(255, 255, 255, 0.15);
|
|
224
|
+
--eva-tooltip-kbd-border: 1px solid rgba(255, 255, 255, 0.25);
|
|
225
|
+
--eva-tooltip-kbd-border-radius: 3px;
|
|
226
|
+
--eva-tooltip-kbd-padding: 1px 5px;
|
|
227
|
+
--eva-tooltip-kbd-font-size: 11px;
|
|
228
|
+
--eva-tooltip-kbd-min-width: 18px;
|
|
229
|
+
|
|
230
|
+
--eva-shortcuts-overlay-background: rgba(0, 0, 0, 0.92);
|
|
231
|
+
--eva-shortcuts-overlay-border-radius: 12px;
|
|
232
|
+
--eva-shortcuts-overlay-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
233
|
+
--eva-shortcuts-overlay-width: 360px;
|
|
234
|
+
--eva-shortcuts-overlay-header-padding: 16px 20px 12px;
|
|
235
|
+
--eva-shortcuts-overlay-header-border: 1px solid rgba(255, 255, 255, 0.1);
|
|
236
|
+
--eva-shortcuts-overlay-title-font-size: 15px;
|
|
237
|
+
--eva-shortcuts-overlay-title-color: rgba(255, 255, 255, 0.95);
|
|
238
|
+
--eva-shortcuts-overlay-close-color: rgba(255, 255, 255, 0.6);
|
|
239
|
+
--eva-shortcuts-overlay-body-padding: 8px 20px 16px;
|
|
240
|
+
--eva-shortcuts-overlay-group-title-font-size: 11px;
|
|
241
|
+
--eva-shortcuts-overlay-group-title-color: rgba(255, 255, 255, 0.4);
|
|
242
|
+
--eva-shortcuts-overlay-row-padding: 6px 0;
|
|
243
|
+
--eva-shortcuts-overlay-description-font-size: 13px;
|
|
244
|
+
--eva-shortcuts-overlay-description-color: rgba(255, 255, 255, 0.8);
|
|
245
|
+
--eva-shortcuts-overlay-key-min-width: 28px;
|
|
246
|
+
--eva-shortcuts-overlay-key-height: 26px;
|
|
247
|
+
--eva-shortcuts-overlay-key-background: rgba(255, 255, 255, 0.1);
|
|
248
|
+
--eva-shortcuts-overlay-key-border: 1px solid rgba(255, 255, 255, 0.15);
|
|
249
|
+
--eva-shortcuts-overlay-key-font-size: 12px;
|
|
250
|
+
--eva-shortcuts-overlay-key-color: rgba(255, 255, 255, 0.9);
|
|
110
251
|
}
|
|
111
252
|
|
|
112
|
-
.eva-
|
|
253
|
+
.eva-tooltip-popup {
|
|
113
254
|
position: fixed;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
255
|
+
z-index: 9999;
|
|
256
|
+
background: var(--eva-tooltip-background);
|
|
257
|
+
color: var(--eva-tooltip-color);
|
|
258
|
+
font-size: var(--eva-tooltip-font-size);
|
|
259
|
+
font-family: var(--eva-font-family, Arial);
|
|
260
|
+
padding: var(--eva-tooltip-padding);
|
|
261
|
+
border-radius: var(--eva-tooltip-border-radius);
|
|
262
|
+
box-shadow: var(--eva-tooltip-box-shadow);
|
|
263
|
+
white-space: nowrap;
|
|
264
|
+
pointer-events: none;
|
|
265
|
+
display: flex;
|
|
266
|
+
align-items: center;
|
|
267
|
+
gap: var(--eva-tooltip-gap);
|
|
268
|
+
opacity: 0;
|
|
269
|
+
transition: opacity var(--eva-transition-duration, 0.15s) ease;
|
|
270
|
+
|
|
271
|
+
&.eva-tooltip-visible {
|
|
272
|
+
opacity: 1;
|
|
273
|
+
}
|
|
122
274
|
}
|
|
123
275
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
276
|
+
.eva-tooltip-kbd {
|
|
277
|
+
display: inline-flex;
|
|
278
|
+
align-items: center;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
background: var(--eva-tooltip-kbd-background);
|
|
281
|
+
border: var(--eva-tooltip-kbd-border);
|
|
282
|
+
border-radius: var(--eva-tooltip-kbd-border-radius);
|
|
283
|
+
padding: var(--eva-tooltip-kbd-padding);
|
|
284
|
+
font-family: inherit;
|
|
285
|
+
font-size: var(--eva-tooltip-kbd-font-size);
|
|
286
|
+
min-width: var(--eva-tooltip-kbd-min-width);
|
|
127
287
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tree-shakeable SVG icon constants for the Eva video player.
|
|
3
|
+
*
|
|
4
|
+
* Import only the icons you need and register them with `addEvaIcons`:
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* // Register specific icons (best for bundle size)
|
|
8
|
+
* import { addEvaIcons } from 'ez-vid-ang';
|
|
9
|
+
* import { evaPlayIcon, evaPauseIcon, evaFullscreenIcon } from 'ez-vid-ang/icons';
|
|
10
|
+
* addEvaIcons({ evaPlayIcon, evaPauseIcon, evaFullscreenIcon });
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* // Register all default icons (convenience)
|
|
14
|
+
* import { addEvaIcons } from 'ez-vid-ang';
|
|
15
|
+
* import { evaAllIcons } from 'ez-vid-ang/icons';
|
|
16
|
+
* addEvaIcons(evaAllIcons);
|
|
17
|
+
*/
|
|
18
|
+
// ─── Playback ─────────────────────────────────────────────────────────────────
|
|
19
|
+
const evaPlayIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M8 5v14l11-7z"/></svg>`;
|
|
20
|
+
const evaPauseIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/></svg>`;
|
|
21
|
+
// ─── Seeking ──────────────────────────────────────────────────────────────────
|
|
22
|
+
const evaForward10Icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M18,13c0,3.31-2.69,6-6,6s-6-2.69-6-6s2.69-6,6-6v4l5-5l-5-5v4c-4.42,0-8,3.58-8,8c0,4.42,3.58,8,8,8s8-3.58,8-8H18z"/><polygon points="10.86,15.94 10.86,11.67 10.77,11.67 9,12.3 9,12.99 10.01,12.68 10.01,15.94"/><path d="M12.25,13.44v0.74c0,1.9,1.31,1.82,1.44,1.82c0.14,0,1.44,0.09,1.44-1.82v-0.74c0-1.9-1.31-1.82-1.44-1.82C13.55,11.62,12.25,11.53,12.25,13.44z M14.29,13.32v0.97c0,0.77-0.21,1.03-0.59,1.03c-0.38,0-0.6-0.26-0.6-1.03v-0.97c0-0.75,0.22-1.01,0.59-1.01C14.07,12.3,14.29,12.57,14.29,13.32z"/></svg>`;
|
|
23
|
+
const evaForward30Icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M18,13c0,3.31-2.69,6-6,6s-6-2.69-6-6s2.69-6,6-6v4l5-5l-5-5v4c-4.42,0-8,3.58-8,8c0,4.42,3.58,8,8,8s8-3.58,8-8H18z"/><path d="M10.06,15.38c-0.29,0-0.62-0.17-0.62-0.54H8.59c0,0.97,0.9,1.23,1.45,1.23c0.87,0,1.51-0.46,1.51-1.25c0-0.66-0.45-0.9-0.71-1c0.11-0.05,0.65-0.32,0.65-0.92c0-0.21-0.05-1.22-1.44-1.22c-0.62,0-1.4,0.35-1.4,1.16h0.85c0-0.34,0.31-0.48,0.57-0.48c0.59,0,0.58,0.5,0.58,0.54c0,0.52-0.41,0.59-0.63,0.59H9.56v0.66h0.45c0.65,0,0.7,0.42,0.7,0.64C10.71,15.11,10.5,15.38,10.06,15.38z"/><path d="M13.85,11.68c-0.14,0-1.44-0.08-1.44,1.82v0.74c0,1.9,1.31,1.82,1.44,1.82c0.14,0,1.44,0.09,1.44-1.82V13.5C15.3,11.59,13.99,11.68,13.85,11.68z M14.45,14.35c0,0.77-0.21,1.03-0.59,1.03c-0.38,0-0.6-0.26-0.6-1.03v-0.97c0-0.75,0.22-1.01,0.59-1.01c0.38,0,0.6,0.26,0.6,1.01V14.35z"/></svg>`;
|
|
24
|
+
const evaBackward10Icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M11.99,5V1l-5,5l5,5V7c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6h-2c0,4.42,3.58,8,8,8s8-3.58,8-8S16.41,5,11.99,5z"/><path d="M10.89,16h-0.85v-3.26l-1.01,0.31v-0.69l1.77-0.63h0.09V16z"/><path d="M15.17,14.24c0,0.32-0.03,0.6-0.1,0.82s-0.17,0.42-0.29,0.57s-0.28,0.26-0.45,0.33s-0.37,0.1-0.59,0.1s-0.41-0.03-0.59-0.1s-0.33-0.18-0.46-0.33s-0.23-0.34-0.3-0.57s-0.11-0.5-0.11-0.82V13.5c0-0.32,0.03-0.6,0.1-0.82s0.17-0.42,0.29-0.57s0.28-0.26,0.45-0.33s0.37-0.1,0.59-0.1s0.41,0.03,0.59,0.1c0.18,0.07,0.33,0.18,0.46,0.33s0.23,0.34,0.3,0.57s0.11,0.5,0.11,0.82V14.24z M14.32,13.38c0-0.19-0.01-0.35-0.04-0.48s-0.07-0.23-0.12-0.31s-0.11-0.14-0.19-0.17s-0.16-0.05-0.25-0.05s-0.18,0.02-0.25,0.05s-0.14,0.09-0.19,0.17s-0.09,0.18-0.12,0.31s-0.04,0.29-0.04,0.48v0.97c0,0.19,0.01,0.35,0.04,0.48s0.07,0.24,0.12,0.32s0.11,0.14,0.19,0.17s0.16,0.05,0.25,0.05s0.18-0.02,0.25-0.05s0.14-0.09,0.19-0.17s0.09-0.19,0.11-0.32s0.04-0.29,0.04-0.48V13.38z"/></svg>`;
|
|
25
|
+
const evaBackward30Icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M12,5V1L7,6l5,5V7c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6H4c0,4.42,3.58,8,8,8s8-3.58,8-8S16.42,5,12,5z"/><path d="M9.56,13.49h0.45c0.21,0,0.37-0.05,0.48-0.16s0.16-0.25,0.16-0.43c0-0.08-0.01-0.15-0.04-0.22s-0.06-0.12-0.11-0.17s-0.11-0.09-0.18-0.11s-0.16-0.04-0.25-0.04c-0.08,0-0.15,0.01-0.22,0.03s-0.13,0.05-0.18,0.1s-0.09,0.09-0.12,0.15s-0.05,0.13-0.05,0.2H8.65c0-0.18,0.04-0.34,0.11-0.48s0.17-0.27,0.3-0.37s0.27-0.18,0.44-0.23s0.35-0.08,0.54-0.08c0.21,0,0.41,0.03,0.59,0.08s0.33,0.13,0.46,0.23s0.23,0.23,0.3,0.38s0.11,0.33,0.11,0.53c0,0.09-0.01,0.18-0.04,0.27s-0.07,0.17-0.13,0.25s-0.12,0.15-0.2,0.22s-0.17,0.12-0.28,0.17c0.24,0.09,0.42,0.21,0.54,0.39s0.18,0.38,0.18,0.61c0,0.2-0.04,0.38-0.12,0.53s-0.18,0.29-0.32,0.39s-0.29,0.19-0.48,0.24s-0.38,0.08-0.6,0.08c-0.18,0-0.36-0.02-0.53-0.07s-0.33-0.12-0.46-0.23s-0.25-0.23-0.33-0.38s-0.12-0.34-0.12-0.55h0.85c0,0.08,0.02,0.15,0.05,0.22s0.07,0.12,0.13,0.17s0.12,0.09,0.2,0.11s0.16,0.04,0.25,0.04c0.1,0,0.19-0.01,0.27-0.04s0.15-0.07,0.2-0.12s0.1-0.11,0.13-0.18s0.04-0.15,0.04-0.24c0-0.11-0.02-0.21-0.05-0.29s-0.08-0.15-0.14-0.2s-0.13-0.09-0.22-0.11s-0.18-0.04-0.29-0.04H9.56V13.49z"/><path d="M15.3,14.24c0,0.32-0.03,0.6-0.1,0.82s-0.17,0.42-0.29,0.57s-0.28,0.26-0.45,0.33s-0.37,0.1-0.59,0.1s-0.41-0.03-0.59-0.1s-0.33-0.18-0.46-0.33s-0.23-0.34-0.3-0.57s-0.11-0.5-0.11-0.82V13.5c0-0.32,0.03-0.6,0.1-0.82s0.17-0.42,0.29-0.57s0.28-0.26,0.45-0.33s0.37-0.1,0.59-0.1s0.41,0.03,0.59,0.1s0.33,0.18,0.46,0.33s0.23,0.34,0.3,0.57s0.11,0.5,0.11,0.82V14.24z M14.45,13.38c0-0.19-0.01-0.35-0.04-0.48c-0.03-0.13-0.07-0.23-0.12-0.31s-0.11-0.14-0.19-0.17s-0.16-0.05-0.25-0.05s-0.18,0.02-0.25,0.05s-0.14,0.09-0.19,0.17s-0.09,0.18-0.12,0.31s-0.04,0.29-0.04,0.48v0.97c0,0.19,0.01,0.35,0.04,0.48s0.07,0.24,0.12,0.32s0.11,0.14,0.19,0.17s0.16,0.05,0.25,0.05s0.18-0.02,0.25-0.05s0.14-0.09,0.19-0.17s0.09-0.19,0.11-0.32c0.03-0.13,0.04-0.29,0.04-0.48V13.38z"/></svg>`;
|
|
26
|
+
// ─── Volume ───────────────────────────────────────────────────────────────────
|
|
27
|
+
const evaVolumeHighIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/></svg>`;
|
|
28
|
+
const evaVolumeMediumIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M18.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 9v6h4l5 5V4L9 9H5z"/></svg>`;
|
|
29
|
+
const evaVolumeLowIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M7 9v6h4l5 5V4l-5 5H7z"/></svg>`;
|
|
30
|
+
const evaVolumeMuteIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/></svg>`;
|
|
31
|
+
// ─── UI Controls ──────────────────────────────────────────────────────────────
|
|
32
|
+
const evaSettingsIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M19.14,12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94L14.4,2.81c-.04-.24-.24-.41-.48-.41H9.07c-.24,0-.43.17-.47.41L8.24,5.35C7.65,5.59 7.11,5.92 6.62,6.29L4.24,5.33c-.22-.08-.47,0-.59.22L1.73,8.87c-.12.22-.07.47.12.61l2.03,1.58C3.84,11.36 3.8,11.69 3.8,12c0,.31.02.64.07.94L1.84,14.52c-.18.14-.23.41-.12.61l1.92,3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36,2.54c.05.24.24.41.48.41h3.84c.24,0,.44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47,0,.59-.22l1.92-3.32c.12-.22.07-.47-.12-.61ZM12,15.6c-1.98,0-3.6-1.62-3.6-3.6s1.62-3.6,3.6-3.6 3.6,1.62,3.6,3.6-1.62,3.6-3.6,3.6z"/></svg>`;
|
|
33
|
+
// ─── Display ──────────────────────────────────────────────────────────────────
|
|
34
|
+
const evaFullscreenIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg>`;
|
|
35
|
+
const evaFullscreenExitIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"/></svg>`;
|
|
36
|
+
const evaCinemaModeIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20M4,6V18H20V6H4M6,8H18V16H6V8Z"/></svg>`;
|
|
37
|
+
const evaLoopIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z"/></svg>`;
|
|
38
|
+
const evaPictureInPictureIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z"/></svg>`;
|
|
39
|
+
const evaRemotePlaybackIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z"/></svg>`;
|
|
40
|
+
const evaDownloadIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"/></svg>`;
|
|
41
|
+
const evaScreenshotIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z"/></svg>`;
|
|
42
|
+
// ─── Convenience barrel ───────────────────────────────────────────────────────
|
|
43
|
+
/**
|
|
44
|
+
* All default Eva icons in a single object.
|
|
45
|
+
* Pass to `addEvaIcons` to register everything at once.
|
|
46
|
+
*/
|
|
47
|
+
const evaAllIcons = {
|
|
48
|
+
evaPlayIcon,
|
|
49
|
+
evaPauseIcon,
|
|
50
|
+
evaSettingsIcon,
|
|
51
|
+
evaForward10Icon,
|
|
52
|
+
evaForward30Icon,
|
|
53
|
+
evaBackward10Icon,
|
|
54
|
+
evaBackward30Icon,
|
|
55
|
+
evaVolumeHighIcon,
|
|
56
|
+
evaVolumeMediumIcon,
|
|
57
|
+
evaVolumeLowIcon,
|
|
58
|
+
evaVolumeMuteIcon,
|
|
59
|
+
evaFullscreenIcon,
|
|
60
|
+
evaFullscreenExitIcon,
|
|
61
|
+
evaCinemaModeIcon,
|
|
62
|
+
evaLoopIcon,
|
|
63
|
+
evaPictureInPictureIcon,
|
|
64
|
+
evaRemotePlaybackIcon,
|
|
65
|
+
evaDownloadIcon,
|
|
66
|
+
evaScreenshotIcon,
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Generated bundle index. Do not edit.
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
export { evaAllIcons, evaBackward10Icon, evaBackward30Icon, evaCinemaModeIcon, evaDownloadIcon, evaForward10Icon, evaForward30Icon, evaFullscreenExitIcon, evaFullscreenIcon, evaLoopIcon, evaPauseIcon, evaPictureInPictureIcon, evaPlayIcon, evaRemotePlaybackIcon, evaScreenshotIcon, evaSettingsIcon, evaVolumeHighIcon, evaVolumeLowIcon, evaVolumeMediumIcon, evaVolumeMuteIcon };
|
|
74
|
+
//# sourceMappingURL=ez-vid-ang-icons.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ez-vid-ang-icons.mjs","sources":["../../../projects/ez-vid-ang/src/icons/index.ts","../../../projects/ez-vid-ang/src/icons/ez-vid-ang-icons.ts"],"sourcesContent":["/**\n * Tree-shakeable SVG icon constants for the Eva video player.\n *\n * Import only the icons you need and register them with `addEvaIcons`:\n *\n * @example\n * // Register specific icons (best for bundle size)\n * import { addEvaIcons } from 'ez-vid-ang';\n * import { evaPlayIcon, evaPauseIcon, evaFullscreenIcon } from 'ez-vid-ang/icons';\n * addEvaIcons({ evaPlayIcon, evaPauseIcon, evaFullscreenIcon });\n *\n * @example\n * // Register all default icons (convenience)\n * import { addEvaIcons } from 'ez-vid-ang';\n * import { evaAllIcons } from 'ez-vid-ang/icons';\n * addEvaIcons(evaAllIcons);\n */\n\n// ─── Playback ─────────────────────────────────────────────────────────────────\n\nexport const evaPlayIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"/></svg>`;\n\nexport const evaPauseIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M6 19h4V5H6v14zm8-14v14h4V5h-4z\"/></svg>`;\n\n// ─── Seeking ──────────────────────────────────────────────────────────────────\n\nexport const evaForward10Icon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M18,13c0,3.31-2.69,6-6,6s-6-2.69-6-6s2.69-6,6-6v4l5-5l-5-5v4c-4.42,0-8,3.58-8,8c0,4.42,3.58,8,8,8s8-3.58,8-8H18z\"/><polygon points=\"10.86,15.94 10.86,11.67 10.77,11.67 9,12.3 9,12.99 10.01,12.68 10.01,15.94\"/><path d=\"M12.25,13.44v0.74c0,1.9,1.31,1.82,1.44,1.82c0.14,0,1.44,0.09,1.44-1.82v-0.74c0-1.9-1.31-1.82-1.44-1.82C13.55,11.62,12.25,11.53,12.25,13.44z M14.29,13.32v0.97c0,0.77-0.21,1.03-0.59,1.03c-0.38,0-0.6-0.26-0.6-1.03v-0.97c0-0.75,0.22-1.01,0.59-1.01C14.07,12.3,14.29,12.57,14.29,13.32z\"/></svg>`;\n\nexport const evaForward30Icon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M18,13c0,3.31-2.69,6-6,6s-6-2.69-6-6s2.69-6,6-6v4l5-5l-5-5v4c-4.42,0-8,3.58-8,8c0,4.42,3.58,8,8,8s8-3.58,8-8H18z\"/><path d=\"M10.06,15.38c-0.29,0-0.62-0.17-0.62-0.54H8.59c0,0.97,0.9,1.23,1.45,1.23c0.87,0,1.51-0.46,1.51-1.25c0-0.66-0.45-0.9-0.71-1c0.11-0.05,0.65-0.32,0.65-0.92c0-0.21-0.05-1.22-1.44-1.22c-0.62,0-1.4,0.35-1.4,1.16h0.85c0-0.34,0.31-0.48,0.57-0.48c0.59,0,0.58,0.5,0.58,0.54c0,0.52-0.41,0.59-0.63,0.59H9.56v0.66h0.45c0.65,0,0.7,0.42,0.7,0.64C10.71,15.11,10.5,15.38,10.06,15.38z\"/><path d=\"M13.85,11.68c-0.14,0-1.44-0.08-1.44,1.82v0.74c0,1.9,1.31,1.82,1.44,1.82c0.14,0,1.44,0.09,1.44-1.82V13.5C15.3,11.59,13.99,11.68,13.85,11.68z M14.45,14.35c0,0.77-0.21,1.03-0.59,1.03c-0.38,0-0.6-0.26-0.6-1.03v-0.97c0-0.75,0.22-1.01,0.59-1.01c0.38,0,0.6,0.26,0.6,1.01V14.35z\"/></svg>`;\n\nexport const evaBackward10Icon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M11.99,5V1l-5,5l5,5V7c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6h-2c0,4.42,3.58,8,8,8s8-3.58,8-8S16.41,5,11.99,5z\"/><path d=\"M10.89,16h-0.85v-3.26l-1.01,0.31v-0.69l1.77-0.63h0.09V16z\"/><path d=\"M15.17,14.24c0,0.32-0.03,0.6-0.1,0.82s-0.17,0.42-0.29,0.57s-0.28,0.26-0.45,0.33s-0.37,0.1-0.59,0.1s-0.41-0.03-0.59-0.1s-0.33-0.18-0.46-0.33s-0.23-0.34-0.3-0.57s-0.11-0.5-0.11-0.82V13.5c0-0.32,0.03-0.6,0.1-0.82s0.17-0.42,0.29-0.57s0.28-0.26,0.45-0.33s0.37-0.1,0.59-0.1s0.41,0.03,0.59,0.1c0.18,0.07,0.33,0.18,0.46,0.33s0.23,0.34,0.3,0.57s0.11,0.5,0.11,0.82V14.24z M14.32,13.38c0-0.19-0.01-0.35-0.04-0.48s-0.07-0.23-0.12-0.31s-0.11-0.14-0.19-0.17s-0.16-0.05-0.25-0.05s-0.18,0.02-0.25,0.05s-0.14,0.09-0.19,0.17s-0.09,0.18-0.12,0.31s-0.04,0.29-0.04,0.48v0.97c0,0.19,0.01,0.35,0.04,0.48s0.07,0.24,0.12,0.32s0.11,0.14,0.19,0.17s0.16,0.05,0.25,0.05s0.18-0.02,0.25-0.05s0.14-0.09,0.19-0.17s0.09-0.19,0.11-0.32s0.04-0.29,0.04-0.48V13.38z\"/></svg>`;\n\nexport const evaBackward30Icon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M12,5V1L7,6l5,5V7c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6H4c0,4.42,3.58,8,8,8s8-3.58,8-8S16.42,5,12,5z\"/><path d=\"M9.56,13.49h0.45c0.21,0,0.37-0.05,0.48-0.16s0.16-0.25,0.16-0.43c0-0.08-0.01-0.15-0.04-0.22s-0.06-0.12-0.11-0.17s-0.11-0.09-0.18-0.11s-0.16-0.04-0.25-0.04c-0.08,0-0.15,0.01-0.22,0.03s-0.13,0.05-0.18,0.1s-0.09,0.09-0.12,0.15s-0.05,0.13-0.05,0.2H8.65c0-0.18,0.04-0.34,0.11-0.48s0.17-0.27,0.3-0.37s0.27-0.18,0.44-0.23s0.35-0.08,0.54-0.08c0.21,0,0.41,0.03,0.59,0.08s0.33,0.13,0.46,0.23s0.23,0.23,0.3,0.38s0.11,0.33,0.11,0.53c0,0.09-0.01,0.18-0.04,0.27s-0.07,0.17-0.13,0.25s-0.12,0.15-0.2,0.22s-0.17,0.12-0.28,0.17c0.24,0.09,0.42,0.21,0.54,0.39s0.18,0.38,0.18,0.61c0,0.2-0.04,0.38-0.12,0.53s-0.18,0.29-0.32,0.39s-0.29,0.19-0.48,0.24s-0.38,0.08-0.6,0.08c-0.18,0-0.36-0.02-0.53-0.07s-0.33-0.12-0.46-0.23s-0.25-0.23-0.33-0.38s-0.12-0.34-0.12-0.55h0.85c0,0.08,0.02,0.15,0.05,0.22s0.07,0.12,0.13,0.17s0.12,0.09,0.2,0.11s0.16,0.04,0.25,0.04c0.1,0,0.19-0.01,0.27-0.04s0.15-0.07,0.2-0.12s0.1-0.11,0.13-0.18s0.04-0.15,0.04-0.24c0-0.11-0.02-0.21-0.05-0.29s-0.08-0.15-0.14-0.2s-0.13-0.09-0.22-0.11s-0.18-0.04-0.29-0.04H9.56V13.49z\"/><path d=\"M15.3,14.24c0,0.32-0.03,0.6-0.1,0.82s-0.17,0.42-0.29,0.57s-0.28,0.26-0.45,0.33s-0.37,0.1-0.59,0.1s-0.41-0.03-0.59-0.1s-0.33-0.18-0.46-0.33s-0.23-0.34-0.3-0.57s-0.11-0.5-0.11-0.82V13.5c0-0.32,0.03-0.6,0.1-0.82s0.17-0.42,0.29-0.57s0.28-0.26,0.45-0.33s0.37-0.1,0.59-0.1s0.41,0.03,0.59,0.1s0.33,0.18,0.46,0.33s0.23,0.34,0.3,0.57s0.11,0.5,0.11,0.82V14.24z M14.45,13.38c0-0.19-0.01-0.35-0.04-0.48c-0.03-0.13-0.07-0.23-0.12-0.31s-0.11-0.14-0.19-0.17s-0.16-0.05-0.25-0.05s-0.18,0.02-0.25,0.05s-0.14,0.09-0.19,0.17s-0.09,0.18-0.12,0.31s-0.04,0.29-0.04,0.48v0.97c0,0.19,0.01,0.35,0.04,0.48s0.07,0.24,0.12,0.32s0.11,0.14,0.19,0.17s0.16,0.05,0.25,0.05s0.18-0.02,0.25-0.05s0.14-0.09,0.19-0.17s0.09-0.19,0.11-0.32c0.03-0.13,0.04-0.29,0.04-0.48V13.38z\"/></svg>`;\n\n// ─── Volume ───────────────────────────────────────────────────────────────────\n\nexport const evaVolumeHighIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z\"/></svg>`;\n\nexport const evaVolumeMediumIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M18.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 9v6h4l5 5V4L9 9H5z\"/></svg>`;\n\nexport const evaVolumeLowIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M7 9v6h4l5 5V4l-5 5H7z\"/></svg>`;\n\nexport const evaVolumeMuteIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z\"/></svg>`;\n\n// ─── UI Controls ──────────────────────────────────────────────────────────────\n\nexport const evaSettingsIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M19.14,12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94L14.4,2.81c-.04-.24-.24-.41-.48-.41H9.07c-.24,0-.43.17-.47.41L8.24,5.35C7.65,5.59 7.11,5.92 6.62,6.29L4.24,5.33c-.22-.08-.47,0-.59.22L1.73,8.87c-.12.22-.07.47.12.61l2.03,1.58C3.84,11.36 3.8,11.69 3.8,12c0,.31.02.64.07.94L1.84,14.52c-.18.14-.23.41-.12.61l1.92,3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36,2.54c.05.24.24.41.48.41h3.84c.24,0,.44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47,0,.59-.22l1.92-3.32c.12-.22.07-.47-.12-.61ZM12,15.6c-1.98,0-3.6-1.62-3.6-3.6s1.62-3.6,3.6-3.6 3.6,1.62,3.6,3.6-1.62,3.6-3.6,3.6z\"/></svg>`;\n\n// ─── Display ──────────────────────────────────────────────────────────────────\n\nexport const evaFullscreenIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z\"/></svg>`;\n\nexport const evaFullscreenExitIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z\"/></svg>`;\n\nexport const evaCinemaModeIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20M4,6V18H20V6H4M6,8H18V16H6V8Z\"/></svg>`;\n\nexport const evaLoopIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z\"/></svg>`;\n\nexport const evaPictureInPictureIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z\"/></svg>`;\n\nexport const evaRemotePlaybackIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z\"/></svg>`;\n\nexport const evaDownloadIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z\"/></svg>`;\n\nexport const evaScreenshotIcon =\n `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\"><path d=\"M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z\"/></svg>`;\n\n// ─── Convenience barrel ───────────────────────────────────────────────────────\n\n/**\n * All default Eva icons in a single object.\n * Pass to `addEvaIcons` to register everything at once.\n */\nexport const evaAllIcons: Record<string, string> = {\n evaPlayIcon,\n evaPauseIcon,\n evaSettingsIcon,\n evaForward10Icon,\n evaForward30Icon,\n evaBackward10Icon,\n evaBackward30Icon,\n evaVolumeHighIcon,\n evaVolumeMediumIcon,\n evaVolumeLowIcon,\n evaVolumeMuteIcon,\n evaFullscreenIcon,\n evaFullscreenExitIcon,\n evaCinemaModeIcon,\n evaLoopIcon,\n evaPictureInPictureIcon,\n evaRemotePlaybackIcon,\n evaDownloadIcon,\n evaScreenshotIcon,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;AAgBG;AAEH;AAEO,MAAM,WAAW,GACtB;AAEK,MAAM,YAAY,GACvB;AAEF;AAEO,MAAM,gBAAgB,GAC3B;AAEK,MAAM,gBAAgB,GAC3B;AAEK,MAAM,iBAAiB,GAC5B;AAEK,MAAM,iBAAiB,GAC5B;AAEF;AAEO,MAAM,iBAAiB,GAC5B;AAEK,MAAM,mBAAmB,GAC9B;AAEK,MAAM,gBAAgB,GAC3B;AAEK,MAAM,iBAAiB,GAC5B;AAEF;AAEO,MAAM,eAAe,GAC1B;AAEF;AAEO,MAAM,iBAAiB,GAC5B;AAEK,MAAM,qBAAqB,GAChC;AAEK,MAAM,iBAAiB,GAC5B;AAEK,MAAM,WAAW,GACtB;AAEK,MAAM,uBAAuB,GAClC;AAEK,MAAM,qBAAqB,GAChC;AAEK,MAAM,eAAe,GAC1B;AAEK,MAAM,iBAAiB,GAC5B;AAEF;AAEA;;;AAGG;AACI,MAAM,WAAW,GAA2B;IACjD,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,qBAAqB;IACrB,iBAAiB;IACjB,WAAW;IACX,uBAAuB;IACvB,qBAAqB;IACrB,eAAe;IACf,iBAAiB;;;AC9GnB;;AAEG;;;;"}
|