codecraftai-integration-runtime 1.3.0__py3-none-any.whl

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 (48) hide show
  1. ccai/integrationruntime/__init__.py +27 -0
  2. ccai/integrationruntime/entrypoints.py +59 -0
  3. ccai/integrationruntime/initialize.py +100 -0
  4. ccai/integrationruntime/integratedtestjob.py +100 -0
  5. ccai/integrationruntime/integrationruntimedefaulttypefactory.py +51 -0
  6. ccai/integrationruntime/py.typed +0 -0
  7. ccai/integrationruntime/results/__init__.py +13 -0
  8. ccai/integrationruntime/results/concentrators/__init__.py +13 -0
  9. ccai/integrationruntime/results/concentrators/progressconcentratorservice.py +526 -0
  10. ccai/integrationruntime/results/recorders/__init__.py +22 -0
  11. ccai/integrationruntime/results/recorders/integrationjsonresultrecorder.py +126 -0
  12. ccai/integrationruntime/results/recorders/streamingresultrecorder.py +271 -0
  13. ccai/integrationruntime/results/streaming/__init__.py +25 -0
  14. ccai/integrationruntime/results/streaming/resultstreamer.py +581 -0
  15. ccai/integrationruntime/runtimeoutputcontext.py +68 -0
  16. ccai/integrationruntime/runtimerunmetadata.py +165 -0
  17. ccai/integrationruntime/templates/v2/static/images/test-report-banner-background-image.png +0 -0
  18. ccai/integrationruntime/templates/v2/static/javascript/d3.v7.js +20625 -0
  19. ccai/integrationruntime/templates/v2/static/javascript/icon-components.js +510 -0
  20. ccai/integrationruntime/templates/v2/static/javascript/mojo-components.js +1417 -0
  21. ccai/integrationruntime/templates/v2/static/javascript/prism.js +1789 -0
  22. ccai/integrationruntime/templates/v2/static/javascript/testsummary-accessibility.js +704 -0
  23. ccai/integrationruntime/templates/v2/static/javascript/testsummary-comparison.js +1287 -0
  24. ccai/integrationruntime/templates/v2/static/javascript/testsummary-components.js +3499 -0
  25. ccai/integrationruntime/templates/v2/static/javascript/testsummary-helpers.js +426 -0
  26. ccai/integrationruntime/templates/v2/static/javascript/testsummary-responsive.js +493 -0
  27. ccai/integrationruntime/templates/v2/static/javascript/testsummary.js +1128 -0
  28. ccai/integrationruntime/templates/v2/static/javascript/webcomponent-helpers.js +112 -0
  29. ccai/integrationruntime/templates/v2/static/styles/branding-theme.css +144 -0
  30. ccai/integrationruntime/templates/v2/static/styles/icon-styles.css +9 -0
  31. ccai/integrationruntime/templates/v2/static/styles/mojo-components.css +384 -0
  32. ccai/integrationruntime/templates/v2/static/styles/prism.css +143 -0
  33. ccai/integrationruntime/templates/v2/static/styles/tabs-responsive.css +186 -0
  34. ccai/integrationruntime/templates/v2/static/styles/testsummary-accessibility.css +413 -0
  35. ccai/integrationruntime/templates/v2/static/styles/testsummary-comparison.css +746 -0
  36. ccai/integrationruntime/templates/v2/static/styles/testsummary-responsive.css +679 -0
  37. ccai/integrationruntime/templates/v2/static/styles/testsummary.css +1631 -0
  38. ccai/integrationruntime/templates/v2/tabs/tab-data.html +870 -0
  39. ccai/integrationruntime/templates/v2/tabs/tab-images.html +110 -0
  40. ccai/integrationruntime/templates/v2/tabs/tab-logs.html +594 -0
  41. ccai/integrationruntime/templates/v2/tabs/tab-sounds.html +112 -0
  42. ccai/integrationruntime/templates/v2/tabs/tab-timeseries.html +368 -0
  43. ccai/integrationruntime/templates/v2/tabs/tab-videos.html +372 -0
  44. ccai/integrationruntime/templates/v2/testsummary.html +81 -0
  45. codecraftai_integration_runtime-1.3.0.dist-info/METADATA +73 -0
  46. codecraftai_integration_runtime-1.3.0.dist-info/RECORD +48 -0
  47. codecraftai_integration_runtime-1.3.0.dist-info/WHEEL +4 -0
  48. codecraftai_integration_runtime-1.3.0.dist-info/licenses/LICENSE.md +204 -0
@@ -0,0 +1,510 @@
1
+ /*
2
+ Author: "Myron Walker"
3
+ Copyright: "Copyright 2024, Myron W Walker"
4
+ Version: = "2.0.0"
5
+ Email: myron.walker@gmail.com
6
+ */
7
+
8
+ /**
9
+ * @fileoverview SVG icon web components for the Mojo component library.
10
+ * Provides a collection of Material Design-style icons as reusable web components.
11
+ * @module icon-components
12
+ */
13
+
14
+ /**
15
+ * Flag indicating whether icon components have been registered with customElements.
16
+ * @type {boolean}
17
+ * @private
18
+ */
19
+ let iconComponentsRegistered = false;
20
+
21
+ /**
22
+ * Base class for all icon components.
23
+ * Provides common functionality for initializing Shadow DOM with SVG templates.
24
+ *
25
+ * @class IconBase
26
+ * @extends HTMLElement
27
+ */
28
+ class IconBase extends HTMLElement {
29
+ /**
30
+ * Creates a new IconBase instance.
31
+ * @param {string} template - The SVG template string (unused, kept for compatibility).
32
+ */
33
+ constructor(template) {
34
+ super();
35
+ }
36
+
37
+ /**
38
+ * Initializes the Shadow DOM with the provided SVG template.
39
+ * @param {string} template - The SVG template string to render.
40
+ */
41
+ initializeShadow(template) {
42
+ const shadowRoot = this.attachShadow({mode: 'open'})
43
+ shadowRoot.innerHTML = template;
44
+
45
+ addGlobalStylesToShadowRoot(shadowRoot);
46
+ }
47
+ }
48
+
49
+
50
+ /**
51
+ * Bug icon component (Material Design bug_report icon).
52
+ * @class IconBug
53
+ * @extends IconBase
54
+ * @example <icon-bug></icon-bug>
55
+ */
56
+ class IconBug extends IconBase {
57
+
58
+ static tagname = 'icon-bug'
59
+
60
+ template = `
61
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
62
+ <path d="M480-200q66 0 113-47t47-113v-160q0-66-47-113t-113-47q-66 0-113 47t-47 113v160q0 66 47 113t113 47Zm-80-120h160v-80H400v80Zm0-160h160v-80H400v80Zm80 40Zm0 320q-65 0-120.5-32T272-240H160v-80h84q-3-20-3.5-40t-.5-40h-80v-80h80q0-20 .5-40t3.5-40h-84v-80h112q14-23 31.5-43t40.5-35l-64-66 56-56 86 86q28-9 57-9t57 9l88-86 56 56-66 66q23 15 41.5 34.5T688-640h112v80h-84q3 20 3.5 40t.5 40h80v80h-80q0 20-.5 40t-3.5 40h84v80H688q-32 56-87.5 88T480-120Z"/>
63
+ </svg>
64
+ `
65
+ constructor() {
66
+ super();
67
+ this.initializeShadow(this.template);
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Copy icon component (Material Design content_copy icon).
73
+ * @class IconCopy
74
+ * @extends IconBase
75
+ * @example <icon-copy></icon-copy>
76
+ */
77
+ class IconCopy extends IconBase {
78
+
79
+ static tagname = 'icon-copy'
80
+
81
+ template = `
82
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
83
+ <path d="M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"/>
84
+ </svg>
85
+ `
86
+ constructor() {
87
+ super();
88
+ this.initializeShadow(this.template);
89
+ }
90
+ }
91
+
92
+ /**
93
+ * Device unknown icon component (Material Design device_unknown icon).
94
+ * @class IconDeviceUnknown
95
+ * @extends IconBase
96
+ * @example <icon-device-unknown></icon-device-unknown>
97
+ */
98
+ class IconDeviceUnknown extends IconBase {
99
+
100
+ static tagname = 'icon-device-unknown'
101
+
102
+ template = `
103
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
104
+ <path d="M480-280q-17 0-29.5-12.5T438-322q0-17 12.5-29.5T480-364q17 0 29.5 12.5T522-322q0 17-12.5 29.5T480-280Zm-30-128q0-46 7.5-63t42.5-47q14-14 24-27.5t10-30.5q0-18-13.5-32T480-622q-27 0-41 15.5T420-574l-54-22q12-35 41-59.5t73-24.5q47 0 80.5 25.5T594-578q0 24-12 45t-30 39q-30 30-36 42t-6 44h-60ZM280-40q-33 0-56.5-23.5T200-120v-720q0-33 23.5-56.5T280-920h400q33 0 56.5 23.5T760-840v720q0 33-23.5 56.5T680-40H280Zm0-120v40h400v-40H280Zm0-80h400v-480H280v480Zm0-560h400v-40H280v40Zm0 0v-40 40Zm0 640v40-40Z"/>
105
+ </svg>
106
+ `
107
+ constructor() {
108
+ super();
109
+ this.initializeShadow(this.template);
110
+ }
111
+ }
112
+
113
+ /**
114
+ * Error icon component (Material Design error icon).
115
+ * @class IconError
116
+ * @extends IconBase
117
+ * @example <icon-error></icon-error>
118
+ */
119
+ class IconError extends IconBase {
120
+
121
+ static tagname = 'icon-error'
122
+
123
+ template = `
124
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
125
+ <path d="M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/>
126
+ </svg>
127
+ `
128
+ constructor() {
129
+ super();
130
+ this.initializeShadow(this.template);
131
+ }
132
+ }
133
+
134
+ /**
135
+ * File icon component (Material Design description icon).
136
+ * @class IconFile
137
+ * @extends IconBase
138
+ * @example <icon-file></icon-file>
139
+ */
140
+ class IconFile extends IconBase {
141
+
142
+ static tagname = 'icon-file'
143
+
144
+ template = `
145
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
146
+ <path d="M240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"/>
147
+ </svg>
148
+ `
149
+ constructor() {
150
+ super();
151
+ this.initializeShadow(this.template);
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Filter icon component (Material Design filter_alt icon).
157
+ * @class IconFilter
158
+ * @extends IconBase
159
+ * @example <icon-filter></icon-filter>
160
+ */
161
+ class IconFilter extends IconBase {
162
+
163
+ static tagname = 'icon-filter'
164
+
165
+ template = `
166
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
167
+ <path d="M440-160q-17 0-28.5-11.5T400-200v-240L168-736q-15-20-4.5-42t36.5-22h560q26 0 36.5 22t-4.5 42L560-440v240q0 17-11.5 28.5T520-160h-80Zm40-308 198-252H282l198 252Zm0 0Z"/>
168
+ </svg>
169
+ `
170
+ constructor() {
171
+ super();
172
+ this.initializeShadow(this.template);
173
+ }
174
+ }
175
+
176
+ /**
177
+ * Folder icon component (Material Design folder icon).
178
+ * @class IconFolder
179
+ * @extends IconBase
180
+ * @example <icon-folder></icon-folder>
181
+ */
182
+ class IconFolder extends IconBase {
183
+
184
+ static tagname = 'icon-folder'
185
+
186
+ template = `
187
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
188
+ <path d="M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z"/>
189
+ </svg>
190
+ `
191
+ constructor() {
192
+ super();
193
+ this.initializeShadow(this.template);
194
+ }
195
+ }
196
+
197
+ /**
198
+ * Folder code icon component (Material Design folder_code icon).
199
+ * @class IconFolderCode
200
+ * @extends IconBase
201
+ * @example <icon-folder-code></icon-folder-code>
202
+ */
203
+ class IconFolderCode extends IconBase {
204
+
205
+ static tagname = 'icon-folder-code'
206
+
207
+ template = `
208
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
209
+ <path d="M160-240v-480 520-40Zm0 80q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v200h-80v-200H447l-80-80H160v480h200v80H160ZM584-56 440-200l144-144 56 57-87 87 87 87-56 57Zm192 0-56-57 87-87-87-87 56-57 144 144L776-56Z"/>
210
+ </svg>
211
+ `
212
+ constructor() {
213
+ super();
214
+ this.initializeShadow(this.template);
215
+ }
216
+ }
217
+
218
+ /**
219
+ * Folder data icon component (Material Design folder_data icon).
220
+ * @class IconFolderData
221
+ * @extends IconBase
222
+ * @example <icon-folder-data></icon-folder-data>
223
+ */
224
+ class IconFolderData extends IconBase {
225
+
226
+ static tagname = 'icon-folder-data'
227
+
228
+ template = `
229
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
230
+ <path d="M600-40q-33 0-56.5-23.5T520-120q0-23 11-41t29-29v-221q-18-11-29-28.5T520-480q0-33 23.5-56.5T600-560q33 0 56.5 23.5T680-480q0 23-11 40.5T640-411v115l160-53v-62q-18-11-29-28.5T760-480q0-33 23.5-56.5T840-560q33 0 56.5 23.5T920-480q0 23-11 40.5T880-411v119l-240 80v22q18 11 29 29t11 41q0 33-23.5 56.5T600-40ZM160-160v-560 560Zm0 0q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640H447l-80-80H160v480h280v80H160Z"/>
231
+ </svg>
232
+ `
233
+ constructor() {
234
+ super();
235
+ this.initializeShadow(this.template);
236
+ }
237
+ }
238
+
239
+ /**
240
+ * Folder eye icon component (Material Design folder_supervised icon).
241
+ * @class IconFolderEye
242
+ * @extends IconBase
243
+ * @example <icon-folder-eye></icon-folder-eye>
244
+ */
245
+ class IconFolderEye extends IconBase {
246
+
247
+ static tagname = 'icon-folder-eye'
248
+
249
+ template = `
250
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
251
+ <path d="M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v242q-18-14-38-23t-42-19v-200H447l-80-80H160v480h120v80H160ZM640-40q-91 0-168-48T360-220q35-84 112-132t168-48q91 0 168 48t112 132q-35 84-112 132T640-40Zm0-80q57 0 107.5-26t82.5-74q-32-48-82.5-74T640-320q-57 0-107.5 26T450-220q32 48 82.5 74T640-120Zm0-40q-25 0-42.5-17.5T580-220q0-25 17.5-42.5T640-280q25 0 42.5 17.5T700-220q0 25-17.5 42.5T640-160Zm-480-80v-480 277-37 240Z"/>
252
+ </svg>
253
+ `
254
+ constructor() {
255
+ super();
256
+ this.initializeShadow(this.template);
257
+ }
258
+ }
259
+
260
+ /**
261
+ * Folder managed icon component (Material Design folder_managed icon).
262
+ * @class IconFolderManaged
263
+ * @extends IconBase
264
+ * @example <icon-folder-managed></icon-folder-managed>
265
+ */
266
+ class IconFolderManaged extends IconBase {
267
+
268
+ static tagname = 'icon-folder-managed'
269
+
270
+ template = `
271
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
272
+ <path d="m680-80-12-60q-12-5-22.5-10.5T624-164l-58 18-40-68 46-40q-2-12-2-26t2-26l-46-40 40-68 58 18q11-8 21.5-13.5T668-420l12-60h80l12 60q12 5 22.5 10.5T816-396l58-18 40 68-46 40q2 12 2 26t-2 26l46 40-40 68-58-18q-11 8-21.5 13.5T772-140l-12 60h-80Zm40-120q33 0 56.5-23.5T800-280q0-33-23.5-56.5T720-360q-33 0-56.5 23.5T640-280q0 33 23.5 56.5T720-200Zm-560-40v-480 172-12 320Zm0 80q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v131q-18-13-38-22.5T800-548v-92H447l-80-80H160v480h283q3 21 9.5 41t15.5 39H160Z"/>
273
+ </svg>
274
+ `
275
+ constructor() {
276
+ super();
277
+ this.initializeShadow(this.template);
278
+ }
279
+ }
280
+
281
+ /**
282
+ * Minus sign icon component (Material Design remove icon).
283
+ * @class IconMinusSign
284
+ * @extends IconBase
285
+ * @example <icon-minus-sign></icon-minus-sign>
286
+ */
287
+ class IconMinusSign extends IconBase {
288
+
289
+ static tagname = 'icon-minus-sign'
290
+
291
+ template = `
292
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
293
+ <path d="M200-440v-80h560v80H200Z"/>
294
+ </svg>
295
+ `
296
+ constructor() {
297
+ super();
298
+ this.initializeShadow(this.template);
299
+ }
300
+ }
301
+
302
+ /**
303
+ * Note add icon component (Material Design note_add icon).
304
+ * @class IconNoteAdd
305
+ * @extends IconBase
306
+ * @example <icon-note-add></icon-note-add>
307
+ */
308
+ class IconNoteAdd extends IconBase {
309
+
310
+ static tagname = 'icon-note-add'
311
+
312
+ template = `
313
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
314
+ <path d="M440-240h80v-120h120v-80H520v-120h-80v120H320v80h120v120ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"/>
315
+ </svg>
316
+ `
317
+ constructor() {
318
+ super();
319
+ this.initializeShadow(this.template);
320
+ }
321
+ }
322
+
323
+ /**
324
+ * Note stack icon component (Material Design note_stack icon).
325
+ * @class IconNoteStack
326
+ * @extends IconBase
327
+ * @example <icon-note-stack></icon-note-stack>
328
+ */
329
+ class IconNoteStack extends IconBase {
330
+
331
+ static tagname = 'icon-note-stack'
332
+
333
+ template = `
334
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
335
+ <path d="M280-160v-441q0-33 24-56t57-23h439q33 0 56.5 23.5T880-600v320L680-80H360q-33 0-56.5-23.5T280-160ZM81-710q-6-33 13-59.5t52-32.5l434-77q33-6 59.5 13t32.5 52l10 54h-82l-7-40-433 77 40 226v279q-16-9-27.5-24T158-276L81-710Zm279 110v440h280v-160h160v-280H360Zm220 220Z"/>
336
+ </svg>
337
+ `
338
+ constructor() {
339
+ super();
340
+ this.initializeShadow(this.template);
341
+ }
342
+ }
343
+
344
+ /**
345
+ * Plus sign icon component (Material Design add icon).
346
+ * @class IconPlusSign
347
+ * @extends IconBase
348
+ * @example <icon-plus-sign></icon-plus-sign>
349
+ */
350
+ class IconPlusSign extends IconBase {
351
+
352
+ static tagname = 'icon-plus-sign'
353
+
354
+ template = `
355
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
356
+ <path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"/>
357
+ </svg>
358
+ `
359
+ constructor() {
360
+ super();
361
+ this.initializeShadow(this.template);
362
+ }
363
+ }
364
+
365
+ /**
366
+ * Search icon component (Material Design search icon).
367
+ * @class IconSearch
368
+ * @extends IconBase
369
+ * @example <icon-search></icon-search>
370
+ */
371
+ class IconSearch extends IconBase {
372
+
373
+ static tagname = 'icon-search'
374
+
375
+ template = `
376
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
377
+ <path d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"/>
378
+ </svg>
379
+ `
380
+ constructor() {
381
+ super();
382
+ this.initializeShadow(this.template);
383
+ }
384
+ }
385
+
386
+ /**
387
+ * Settings icon component (Material Design settings icon).
388
+ * @class IconSettings
389
+ * @extends IconBase
390
+ * @example <icon-settings></icon-settings>
391
+ */
392
+ class IconSettings extends IconBase {
393
+
394
+ static tagname = 'icon-settings'
395
+
396
+ template = `
397
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
398
+ <path d="m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"/>
399
+ </svg>
400
+ `
401
+ constructor() {
402
+ super();
403
+ this.initializeShadow(this.template);
404
+ }
405
+ }
406
+
407
+ /**
408
+ * Tablet Android icon component (Material Design tablet_android icon).
409
+ * @class IconTabletAndroid
410
+ * @extends IconBase
411
+ * @example <icon-tablet-android></icon-tablet-android>
412
+ */
413
+ class IconTabletAndroid extends IconBase {
414
+
415
+ static tagname = 'icon-tablet-android'
416
+
417
+ template = `
418
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
419
+ <path d="M200-40q-33 0-56.5-23.5T120-120v-720q0-33 23.5-56.5T200-920h560q33 0 56.5 23.5T840-840v720q0 33-23.5 56.5T760-40H200Zm0-200v120h560v-120H200Zm200 80h160v-40H400v40ZM200-320h560v-400H200v400Zm0-480h560v-40H200v40Zm0 0v-40 40Zm0 560v120-120Z"/>
420
+ </svg>
421
+ `
422
+ constructor() {
423
+ super();
424
+ this.initializeShadow(this.template);
425
+ }
426
+ }
427
+
428
+ /**
429
+ * Question mark icon component (Material Design help icon).
430
+ * @class IconQuestionMark
431
+ * @extends IconBase
432
+ * @example <icon-question-mark></icon-question-mark>
433
+ */
434
+ class IconQuestionMark extends IconBase {
435
+
436
+ static tagname = 'icon-question-mark'
437
+
438
+ template = `
439
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
440
+ <path d="M424-320q0-81 14.5-116.5T500-514q41-36 62.5-62.5T584-637q0-41-27.5-68T480-732q-51 0-77.5 31T365-638l-103-44q21-64 77-111t141-47q105 0 161.5 58.5T698-641q0 50-21.5 85.5T609-475q-49 47-59.5 71.5T539-320H424Zm56 240q-33 0-56.5-23.5T400-160q0-33 23.5-56.5T480-240q33 0 56.5 23.5T560-160q0 33-23.5 56.5T480-80Z"/>
441
+ </svg>
442
+ `
443
+ constructor() {
444
+ super();
445
+ this.initializeShadow(this.template);
446
+ }
447
+ }
448
+
449
+ /**
450
+ * Warning icon component (Material Design warning icon).
451
+ * @class IconWarning
452
+ * @extends IconBase
453
+ * @example <icon-warning></icon-warning>
454
+ */
455
+ class IconWarning extends IconBase {
456
+
457
+ static tagname = 'icon-warning'
458
+
459
+ template = `
460
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" class="icon-component-style">
461
+ <path d="m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Zm40-100Z"/>
462
+ </svg>
463
+ `
464
+ constructor() {
465
+ super();
466
+ this.initializeShadow(this.template);
467
+ }
468
+ }
469
+
470
+ /**
471
+ * Registers all icon components with the customElements registry.
472
+ * Should be called before using any icon components.
473
+ * Safe to call multiple times - only registers once.
474
+ *
475
+ * @function register_icon_components
476
+ * @returns {void}
477
+ *
478
+ * @example
479
+ * // Register icon components on page load
480
+ * register_icon_components();
481
+ */
482
+ function register_icon_components() {
483
+
484
+ if (!iconComponentsRegistered) {
485
+ iconComponentsRegistered = true;
486
+
487
+ customElements.define(IconBug.tagname, IconBug);
488
+ customElements.define(IconCopy.tagname, IconCopy);
489
+ customElements.define(IconDeviceUnknown.tagname, IconDeviceUnknown);
490
+ customElements.define(IconError.tagname, IconError);
491
+ customElements.define(IconFile.tagname, IconFile);
492
+ customElements.define(IconFilter.tagname, IconFilter);
493
+ customElements.define(IconFolder.tagname, IconFolder);
494
+ customElements.define(IconFolderCode.tagname, IconFolderCode);
495
+ customElements.define(IconFolderData.tagname, IconFolderData);
496
+ customElements.define(IconFolderEye.tagname, IconFolderEye);
497
+ customElements.define(IconFolderManaged.tagname, IconFolderManaged);
498
+ customElements.define(IconMinusSign.tagname, IconMinusSign);
499
+ customElements.define(IconPlusSign.tagname, IconPlusSign);
500
+ customElements.define(IconNoteAdd.tagname, IconNoteAdd);
501
+ customElements.define(IconNoteStack.tagname, IconNoteStack);
502
+ customElements.define(IconSearch.tagname, IconSearch);
503
+ customElements.define(IconSettings.tagname, IconSettings);
504
+ customElements.define(IconTabletAndroid.tagname, IconTabletAndroid);
505
+ customElements.define(IconQuestionMark.tagname, IconQuestionMark);
506
+ customElements.define(IconWarning.tagname, IconWarning);
507
+ }
508
+
509
+ }
510
+