wj-elements 0.1.49 → 0.1.51

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,3122 +0,0 @@
1
- {
2
- "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
- "name": "wj-elements",
4
- "version": "0.1.49",
5
- "description-markup": "markdown",
6
- "contributions": {
7
- "html": {
8
- "elements": [
9
- {
10
- "name": "wje-accordion",
11
- "description": "This class represents an Accordion element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the Accordion element.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Method to draw the Accordion element.\n\n### **Slots:**\n - _default_ - The accordion main content.",
12
- "doc-url": "",
13
- "attributes": [],
14
- "slots": [
15
- { "name": "", "description": "The accordion main content." }
16
- ],
17
- "events": [],
18
- "js": {
19
- "properties": [
20
- { "name": "multiple", "value": {} },
21
- {
22
- "name": "className",
23
- "description": "The class name for the Accordion element.",
24
- "value": { "type": "string" }
25
- },
26
- {
27
- "name": "cssStyleSheet",
28
- "description": "Getter for the CSS stylesheet.",
29
- "value": {}
30
- },
31
- {
32
- "name": "setupAttributes",
33
- "description": "Method to setup attributes for the Accordion element.",
34
- "value": {}
35
- },
36
- { "name": "beforeDraw", "value": {} },
37
- {
38
- "name": "draw",
39
- "description": "Method to draw the Accordion element.",
40
- "value": {}
41
- },
42
- { "name": "afterDraw", "value": {} },
43
- { "name": "collapseAll", "value": {} },
44
- { "name": "getAccordions", "value": {} }
45
- ],
46
- "events": []
47
- }
48
- },
49
- {
50
- "name": "wje-accordion-item",
51
- "description": "This class represents an Accordion Item element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the Accordion Item element.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Method to draw the Accordion Item element.\n- **afterDraw()** - Method to execute after the Accordion Item element is drawn.\n\n### **Slots:**\n - _default_ - The accordion item main content.",
52
- "doc-url": "",
53
- "attributes": [],
54
- "slots": [
55
- { "name": "", "description": "The accordion item main content." }
56
- ],
57
- "events": [],
58
- "js": {
59
- "properties": [
60
- {
61
- "name": "className",
62
- "description": "The class name for the Accordion Item element.",
63
- "value": { "type": "string" }
64
- },
65
- {
66
- "name": "cssStyleSheet",
67
- "description": "Getter for the CSS stylesheet.",
68
- "value": {}
69
- },
70
- {
71
- "name": "setupAttributes",
72
- "description": "Method to setup attributes for the Accordion Item element.",
73
- "value": {}
74
- },
75
- {
76
- "name": "draw",
77
- "description": "Method to draw the Accordion Item element.",
78
- "value": {}
79
- },
80
- {
81
- "name": "afterDraw",
82
- "description": "Method to execute after the Accordion Item element is drawn.",
83
- "value": {}
84
- },
85
- { "name": "collapse", "value": {} },
86
- { "name": "expand", "value": {} }
87
- ],
88
- "events": []
89
- }
90
- },
91
- {
92
- "name": "wje-aside",
93
- "description": "This class represents an Aside element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the Aside element.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Method to draw the Aside element.\n\n### **Slots:**\n - _default_ - The aside main content.\n\n### **CSS Properties:**\n - **--wje-aside-width;** - undefined _(default: undefined)_\n- **--wje-aside-top;** - undefined _(default: undefined)_\n- **--wje-aside-border-color:** - var(--wje-border-color); _(default: undefined)_\n- **--wje-aside-border-width;** - undefined _(default: undefined)_\n- **--wje-aside-border-style;** - undefined _(default: undefined)_",
94
- "doc-url": "",
95
- "attributes": [],
96
- "slots": [{ "name": "", "description": "The aside main content." }],
97
- "events": [],
98
- "js": {
99
- "properties": [
100
- {
101
- "name": "className",
102
- "description": "The class name for the Aside element ddddd.",
103
- "value": { "type": "string" }
104
- },
105
- {
106
- "name": "cssStyleSheet",
107
- "description": "Getter for the CSS stylesheet.",
108
- "value": {}
109
- },
110
- {
111
- "name": "setupAttributes",
112
- "description": "Method to setup attributes for the Aside element.",
113
- "value": {}
114
- },
115
- {
116
- "name": "draw",
117
- "description": "Method to draw the Aside element.",
118
- "value": {}
119
- }
120
- ],
121
- "events": []
122
- }
123
- },
124
- {
125
- "name": "wje-avatar",
126
- "description": "This class represents an Avatar element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes\n- **draw(context: _object_, store: _object_, params: _object_): _object_** - Method to draw the avatar\n- **isImage(): _boolean_** - Method to check if the avatar is an image\n\n### **Slots:**\n - _default_ - The avatar main content.\n\n### **CSS Properties:**\n - **--wje-avatar-width;** - undefined _(default: undefined)_\n- **--wje-avatar-height;** - undefined _(default: undefined)_\n- **--wje-avatar-font-size;** - undefined _(default: undefined)_\n- **--wje-avatar-font-weight;** - undefined _(default: undefined)_\n- **--wje-avatar-color;** - undefined _(default: undefined)_\n- **--wje-avatar-background-color;** - undefined _(default: undefined)_\n- **--wje-avatar-border-radius;** - undefined _(default: undefined)_\n- **--wje-avatar-border-color;** - undefined _(default: undefined)_\n- **--wje-avatar-border-width;** - undefined _(default: undefined)_\n- **--wje-avatar-border-style;** - undefined _(default: undefined)_\n\n### **CSS Parts:**\n - **native** - The component's native wrapper.",
127
- "doc-url": "",
128
- "attributes": [],
129
- "slots": [{ "name": "", "description": "The avatar main content." }],
130
- "events": [],
131
- "js": {
132
- "properties": [
133
- {
134
- "name": "className",
135
- "description": "Class name",
136
- "value": { "type": "string" }
137
- },
138
- {
139
- "name": "cssStyleSheet",
140
- "description": "Getter for cssStyleSheet",
141
- "value": {}
142
- },
143
- {
144
- "name": "setupAttributes",
145
- "description": "Method to setup attributes",
146
- "value": {}
147
- },
148
- {
149
- "name": "draw",
150
- "description": "Method to draw the avatar",
151
- "value": {}
152
- },
153
- {
154
- "name": "isImage",
155
- "description": "Method to check if the avatar is an image",
156
- "value": {}
157
- },
158
- { "name": "dispatchEvent", "value": {} }
159
- ],
160
- "events": []
161
- }
162
- },
163
- {
164
- "name": "wje-animation",
165
- "description": "This class represents an Animation element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the Animation element.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Method to draw the Animation element.\n- **afterDraw()** - Method to perform actions after the Animation element is drawn.\nThis method destroys any existing animation, fetches a new animations array,\nselects the appropriate animation, and applies it to the element.\n- **getAnimationsArray(): _Array_** - Method to fetch and parse the animations array from a CSS file.\n- **destroyAnimation()** - Method to destroy the current animation.\n- **play()** - Method to play the current animation.\n- **cancel()** - Method to cancel the current animation.\n\n### **Slots:**\n - _default_ - The animation main content.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_",
166
- "doc-url": "",
167
- "attributes": [{ "name": "name", "value": { "type": "string" } }],
168
- "slots": [
169
- { "name": "", "description": "The animation main content." }
170
- ],
171
- "events": [],
172
- "js": {
173
- "properties": [{ "name": "name", "value": {} }],
174
- "events": []
175
- }
176
- },
177
- {
178
- "name": "wje-badge",
179
- "description": "This class represents an Badge element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n\n### **Slots:**\n - _default_ - The badge main content.",
180
- "doc-url": "",
181
- "attributes": [],
182
- "slots": [{ "name": "", "description": "The badge main content." }],
183
- "events": [],
184
- "js": {
185
- "properties": [
186
- {
187
- "name": "className",
188
- "description": "Class name",
189
- "value": { "type": "string" }
190
- },
191
- {
192
- "name": "cssStyleSheet",
193
- "description": "Get CSS stylesheet",
194
- "value": {}
195
- },
196
- {
197
- "name": "setupAttributes",
198
- "description": "Setup attributes",
199
- "value": {}
200
- },
201
- { "name": "draw", "description": "Draw method", "value": {} }
202
- ],
203
- "events": []
204
- }
205
- },
206
- {
207
- "name": "wje-breadcrumb",
208
- "description": "This class represents an Breadcrumb element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n- **drawCollapsedIndicator(): _Object_** - Draw collapsed indicator\n- **collapseDropdown(): _Object_** - Collapse dropdown\n- **collapseButton(): _Object_** - Collapse button\n\n### **Slots:**\n - _default_ - The breadcrumb main content.\n\n### **CSS Parts:**\n - **native** - The component's native wrapper.",
209
- "doc-url": "",
210
- "attributes": [
211
- {
212
- "name": "show-collapsed-indicator",
213
- "value": { "type": "string" }
214
- },
215
- { "name": "collapsed", "value": { "type": "string" } },
216
- { "name": "last", "value": { "type": "string" } }
217
- ],
218
- "slots": [
219
- { "name": "", "description": "The breadcrumb main content." }
220
- ],
221
- "events": [],
222
- "js": {
223
- "properties": [
224
- { "name": "show-collapsed-indicator", "value": {} },
225
- { "name": "collapsed", "value": {} },
226
- { "name": "last", "value": {} }
227
- ],
228
- "events": []
229
- }
230
- },
231
- {
232
- "name": "wje-breadcrumbs",
233
- "description": "Breadcrumbs class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n- **afterDraw()** - After draw method\n- **getBreadcrumbs(): _Array_** - Get breadcrumbs\n\n### **Slots:**\n - _default_ - The breadcrumb main content.",
234
- "doc-url": "",
235
- "attributes": [],
236
- "slots": [
237
- { "name": "", "description": "The breadcrumb main content." }
238
- ],
239
- "events": [],
240
- "js": {
241
- "properties": [
242
- {
243
- "name": "className",
244
- "description": "Class name",
245
- "value": { "type": "string" }
246
- },
247
- {
248
- "name": "cssStyleSheet",
249
- "description": "Get CSS stylesheet",
250
- "value": {}
251
- },
252
- {
253
- "name": "setupAttributes",
254
- "description": "Setup attributes",
255
- "value": {}
256
- },
257
- { "name": "draw", "description": "Draw method", "value": {} },
258
- {
259
- "name": "afterDraw",
260
- "description": "After draw method",
261
- "value": {}
262
- },
263
- {
264
- "name": "getBreadcrumbs",
265
- "description": "Get breadcrumbs",
266
- "value": {}
267
- },
268
- {
269
- "name": "last",
270
- "description": "Last breadcrumb flag",
271
- "value": { "type": "boolean" }
272
- }
273
- ],
274
- "events": []
275
- }
276
- },
277
- {
278
- "name": "wje-button",
279
- "description": "This class represents an Button element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n- **afterDraw()** - After draw method\n- **beforeDisconnect()** - Before disconnect method\n\n### **Slots:**\n - _default_ - The button main content.\n- **icon** - The button icon.\n- **caret** - The button caret.\n- **start** - The button start slot.\n- **end** - The button end slot.\n- **toggle** - The button toggle slot.\n\n### **CSS Properties:**\n - **--wje-button-background-color** - Background color of the component; _(default: transparent)_\n- **--wje-button-border-color** - Border color of the component; _(default: --wje-color-contrast-4)_\n- **--wje-button-color** - Color of the component; _(default: --wje-color-contrast-11)_\n- **--wje-button-border-radius** - Border radius of the component; _(default: --wje-border-radius-medium)_\n- **--wje-button-border-width** - Border width of the component; _(default: 1px)_\n- **--wje-button-border-style** - Border style of the component; _(default: solid)_\n- **--wje-button-border-color** - Border color of the component; _(default: --wje-color-contrast-1)_\n- **--wje-button-margin-inline** - Margin inline of the component; _(default: 0)_\n\n### **CSS Parts:**\n - **native** - The component's native wrapper.",
280
- "doc-url": "",
281
- "attributes": [{ "name": "disabled", "value": { "type": "string" } }],
282
- "slots": [
283
- { "name": "", "description": "The button main content." },
284
- { "name": "icon", "description": "The button icon." },
285
- { "name": "caret", "description": "The button caret." },
286
- { "name": "start", "description": "The button start slot." },
287
- { "name": "end", "description": "The button end slot." },
288
- { "name": "toggle", "description": "The button toggle slot." }
289
- ],
290
- "events": [],
291
- "js": {
292
- "properties": [{ "name": "disabled", "value": {} }],
293
- "events": []
294
- }
295
- },
296
- {
297
- "name": "wje-button-group",
298
- "description": "ButtonGroup class\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n- **afterDraw(context: _Object_, store: _Object_, params: _Object_)** - After draw method\n- **findButton(el: _Object_): _Object_** - Find button method\n\n### **Slots:**\n - _default_ - The button group main content.\n\n### **CSS Parts:**\n - **native** - The component's native wrapper.\n- **native** - The component's native wrapper.",
299
- "doc-url": "",
300
- "attributes": [],
301
- "slots": [
302
- { "name": "", "description": "The button group main content." }
303
- ],
304
- "events": [],
305
- "js": {
306
- "properties": [
307
- {
308
- "name": "className",
309
- "description": "Class name",
310
- "value": { "type": "string" }
311
- },
312
- {
313
- "name": "cssStyleSheet",
314
- "description": "Get CSS stylesheet",
315
- "value": {}
316
- },
317
- {
318
- "name": "setupAttributes",
319
- "description": "Setup attributes",
320
- "value": {}
321
- },
322
- { "name": "draw", "description": "Draw method", "value": {} },
323
- {
324
- "name": "afterDraw",
325
- "description": "After draw method",
326
- "value": {}
327
- },
328
- {
329
- "name": "findButton",
330
- "description": "Find button method",
331
- "value": {}
332
- }
333
- ],
334
- "events": []
335
- }
336
- },
337
- {
338
- "name": "wje-card-content",
339
- "description": "This class represents an Card Content element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n\n### **Slots:**\n - _default_ - The card content main content.\n\n### **CSS Properties:**\n - **--wje-card-padding** - Padding of the component; _(default: 0)_",
340
- "doc-url": "",
341
- "attributes": [],
342
- "slots": [
343
- { "name": "", "description": "The card content main content." }
344
- ],
345
- "events": [],
346
- "js": {
347
- "properties": [
348
- {
349
- "name": "className",
350
- "description": "Class name",
351
- "value": { "type": "string" }
352
- },
353
- {
354
- "name": "cssStyleSheet",
355
- "description": "Get CSS stylesheet",
356
- "value": {}
357
- },
358
- {
359
- "name": "setupAttributes",
360
- "description": "Setup attributes",
361
- "value": {}
362
- },
363
- { "name": "draw", "description": "Draw method", "value": {} }
364
- ],
365
- "events": []
366
- }
367
- },
368
- {
369
- "name": "wje-card",
370
- "description": "This class represents an Card element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n\n### **Slots:**\n - _default_ - The card main content.\n\n### **CSS Properties:**\n - **--wje-card-margin-top** - Margin top of the component; _(default: 0)_\n- **--wje-card-margin-bottom** - Margin bottom of the component; _(default: 1rem)_\n- **--wje-card-margin-inline** - Margin inline of the component; _(default: 0)_\n- **undefined** - undefined _(default: undefined)_\n- **--wje-card-background** - Background of the component; _(default: #fff)_",
371
- "doc-url": "",
372
- "attributes": [],
373
- "slots": [{ "name": "", "description": "The card main content." }],
374
- "events": [],
375
- "js": {
376
- "properties": [
377
- {
378
- "name": "className",
379
- "description": "Class name",
380
- "value": { "type": "string" }
381
- },
382
- {
383
- "name": "cssStyleSheet",
384
- "description": "Get CSS stylesheet",
385
- "value": {}
386
- },
387
- {
388
- "name": "setupAttributes",
389
- "description": "Setup attributes",
390
- "value": {}
391
- },
392
- { "name": "draw", "description": "Draw method", "value": {} }
393
- ],
394
- "events": []
395
- }
396
- },
397
- {
398
- "name": "wje-card-header",
399
- "description": "CardHeader class that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the CardHeader.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the CardHeader.\n\n### **Slots:**\n - _default_ - The card header main content.\n\n### **CSS Properties:**\n - **--wje-card-header-padding** - Padding of the component; _(default: 1rem 1rem 0.5rem)_",
400
- "doc-url": "",
401
- "attributes": [],
402
- "slots": [
403
- { "name": "", "description": "The card header main content." }
404
- ],
405
- "events": [],
406
- "js": {
407
- "properties": [
408
- {
409
- "name": "className",
410
- "description": "Class name for the CardHeader.",
411
- "value": { "type": "string" }
412
- },
413
- {
414
- "name": "cssStyleSheet",
415
- "description": "Getter for the CSS stylesheet.",
416
- "value": {}
417
- },
418
- {
419
- "name": "setupAttributes",
420
- "description": "Sets up the attributes for the CardHeader.",
421
- "value": {}
422
- },
423
- {
424
- "name": "draw",
425
- "description": "Draws the CardHeader.",
426
- "value": {}
427
- }
428
- ],
429
- "events": []
430
- }
431
- },
432
- {
433
- "name": "wje-card-subtitle",
434
- "description": "CardSubtitle class that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the CardSubtitle.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the CardSubtitle.\n\n### **Slots:**\n - _default_ - The card subtitle main content.\n\n### **CSS Properties:**\n - **--wje-card-subtitle-font-size** - Font size of the component; _(default: 11px)_\n- **--wje-card-subtitle-font-family** - Font family of the component; _(default: var(--wje-font-family-secondary))_\n- **--wje-card-subtitle-padding** - Padding of the component; _(default: 0)_",
435
- "doc-url": "",
436
- "attributes": [],
437
- "slots": [
438
- { "name": "", "description": "The card subtitle main content." }
439
- ],
440
- "events": [],
441
- "js": {
442
- "properties": [
443
- {
444
- "name": "className",
445
- "description": "Class name for the CardSubtitle.",
446
- "value": { "type": "string" }
447
- },
448
- {
449
- "name": "cssStyleSheet",
450
- "description": "Getter for the CSS stylesheet.",
451
- "value": {}
452
- },
453
- {
454
- "name": "setupAttributes",
455
- "description": "Sets up the attributes for the CardSubtitle.",
456
- "value": {}
457
- },
458
- {
459
- "name": "draw",
460
- "description": "Draws the CardSubtitle.",
461
- "value": {}
462
- }
463
- ],
464
- "events": []
465
- }
466
- },
467
- {
468
- "name": "wje-card-controls",
469
- "description": "This class represents an Card Controls element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n\n### **Slots:**\n - _default_ - The card controls main content.\n\n### **CSS Properties:**\n - **--wje-card-controls-font-size** - Font size of the component; _(default: 11px)_\n- **--wje-card-controls-font-family** - Font family of the component; _(default: --wje-font-family-secondary)_",
470
- "doc-url": "",
471
- "attributes": [],
472
- "slots": [
473
- { "name": "", "description": "The card controls main content." }
474
- ],
475
- "events": [],
476
- "js": {
477
- "properties": [
478
- {
479
- "name": "className",
480
- "description": "Class name",
481
- "value": { "type": "string" }
482
- },
483
- {
484
- "name": "cssStyleSheet",
485
- "description": "Get CSS stylesheet",
486
- "value": {}
487
- },
488
- {
489
- "name": "setupAttributes",
490
- "description": "Setup attributes",
491
- "value": {}
492
- },
493
- { "name": "draw", "description": "Draw method", "value": {} }
494
- ],
495
- "events": []
496
- }
497
- },
498
- {
499
- "name": "wje-card-title",
500
- "description": "CardTitle class that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the CardTitle.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the CardTitle.\n\n### **Slots:**\n - _default_ - The card title main content.\n\n### **CSS Properties:**\n - **--wje-card-title-font-size** - Font size of the component; _(default: 24px)_\n- **--wje-card-title-font-weight** - Font weight of the component; _(default: 500)_\n- **--wje-card-title-margin** - Margin of the component; _(default: 0)_\n- **--wje-card-title-padding** - Padding of the component; _(default: 0)_\n- **--wje-card-title-line-height** - Line height of the component; _(default: 1.2)_",
501
- "doc-url": "",
502
- "attributes": [],
503
- "slots": [
504
- { "name": "", "description": "The card title main content." }
505
- ],
506
- "events": [],
507
- "js": {
508
- "properties": [
509
- {
510
- "name": "className",
511
- "description": "Class name for the CardTitle.",
512
- "value": { "type": "string" }
513
- },
514
- {
515
- "name": "cssStyleSheet",
516
- "description": "Getter for the CSS stylesheet.",
517
- "value": {}
518
- },
519
- {
520
- "name": "setupAttributes",
521
- "description": "Sets up the attributes for the CardTitle.",
522
- "value": {}
523
- },
524
- {
525
- "name": "draw",
526
- "description": "Draws the CardTitle.",
527
- "value": {}
528
- }
529
- ],
530
- "events": []
531
- }
532
- },
533
- {
534
- "name": "wje-carousel-item",
535
- "description": "\n---\n",
536
- "doc-url": "",
537
- "attributes": [],
538
- "events": [],
539
- "js": {
540
- "properties": [
541
- { "name": "className", "value": { "type": "string" } },
542
- { "name": "cssStyleSheet", "value": {} },
543
- { "name": "setupAttributes", "value": {} },
544
- { "name": "draw", "value": {} },
545
- { "name": "afterDraw", "value": {} }
546
- ],
547
- "events": []
548
- }
549
- },
550
- {
551
- "name": "wje-carousel",
552
- "description": "\n---\n",
553
- "doc-url": "",
554
- "attributes": [
555
- { "name": "active-slide", "value": { "type": "string" } }
556
- ],
557
- "events": [],
558
- "js": {
559
- "properties": [{ "name": "active-slide", "value": {} }],
560
- "events": []
561
- }
562
- },
563
- {
564
- "name": "wje-col",
565
- "description": "\n---\n",
566
- "doc-url": "",
567
- "attributes": [],
568
- "events": [],
569
- "js": {
570
- "properties": [
571
- { "name": "className", "value": { "type": "string" } },
572
- { "name": "cssStyleSheet", "value": {} },
573
- { "name": "setupAttributes", "value": {} },
574
- { "name": "beforeDraw", "value": {} },
575
- { "name": "draw", "value": {} }
576
- ],
577
- "events": []
578
- }
579
- },
580
- {
581
- "name": "wje-checkbox",
582
- "description": "This method dispatches a custom event named \"wje-checkbox:change\".\nIt is triggered when the input event is fired, which happens when the state of the checkbox changes.\nThe event is dispatched on the current instance of the Checkbox class.\n---\n\n\n### **Events:**\n - **wje-checkbox:change** - Dispatched when the checkbox state changes.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the checkbox.\n- **draw(context: _object_, store: _object_, params: _object_): _DocumentFragment_** - Draws the checkbox.\n- **afterDraw()** - Adds an event listener after drawing the checkbox.\n\n### **Slots:**\n - _default_ - The checkbox main content.\n\n### **CSS Properties:**\n - **--wje-checkbox-border-radius** - Border radius of the component; _(default: --wje-border-radius-medium)_\n- **--wje-checkbox-border-width** - Border width of the component; _(default: 1px)_\n- **--wje-checkbox-border-style** - Border style of the component; _(default: solid)_\n- **--wje-checkbox-border-color** - Border color of the component; _(default: --wje-color-contrast-1)_\n- **--wje-checkbox-margin-inline** - Margin inline of the component; _(default: 0)_\n\n### **CSS Parts:**\n - **native** - The component's native wrapper. --wje-button-border-radius: var(--wje-border-radius-medium); --wje-button-border-width: 1px; --wje-button-border-style: solid; --wje-button-border-color: var(--wje-color-contrast-1); --wje-button-margin-inline: 0;",
583
- "doc-url": "",
584
- "attributes": [
585
- { "name": "checked", "value": { "type": "string" } },
586
- { "name": "disabled", "value": { "type": "string" } }
587
- ],
588
- "slots": [
589
- { "name": "", "description": "The checkbox main content." }
590
- ],
591
- "events": [
592
- {
593
- "name": "wje-checkbox:change",
594
- "description": "Dispatched when the checkbox state changes."
595
- }
596
- ],
597
- "js": {
598
- "properties": [
599
- { "name": "checked", "value": {} },
600
- { "name": "disabled", "value": {} }
601
- ],
602
- "events": [
603
- {
604
- "name": "wje-checkbox:change",
605
- "description": "Dispatched when the checkbox state changes."
606
- }
607
- ]
608
- }
609
- },
610
- {
611
- "name": "wje-chip",
612
- "description": "\n---\n",
613
- "doc-url": "",
614
- "attributes": [],
615
- "events": [],
616
- "js": {
617
- "properties": [
618
- { "name": "className", "value": { "type": "string" } },
619
- { "name": "cssStyleSheet", "value": {} },
620
- { "name": "setupAttributes", "value": {} },
621
- { "name": "draw", "value": {} },
622
- { "name": "afterDraw", "value": {} }
623
- ],
624
- "events": []
625
- }
626
- },
627
- {
628
- "name": "wje-color-picker",
629
- "description": "ColorPicker is a custom web component that extends WJElement.\nIt provides a color picker functionality with a color area, hue slider, alpha slider, and color swatches.\nThe color picker allows users to select a color by moving a marker on the color area, adjusting the hue and alpha sliders, or clicking on a color swatch.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the ColorPicker.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the ColorPicker.\n\n### **Slots:**\n - _default_ - The card header main content.\n\n### **CSS Properties:**\n - **--wje-color-picker-area** - The color of the color area. _(default: undefined)_\n- **--wje-color-picker-value** - The value of the color picker. _(default: undefined)_\n\n### **CSS Parts:**\n - **anchor** - The anchor part of the color picker.\n- **picker** - The main part of the color picker.\n- **marker** - The marker part of the color picker.\n- **color-area** - The color area part of the color picker.\n- **hue** - The hue slider part of the color picker.\n- **alpha** - The alpha slider part of the color picker.\n- **color-preview** - The color preview part of the color picker.\n- **input** - The input part of the color picker.",
630
- "doc-url": "",
631
- "attributes": [],
632
- "slots": [
633
- { "name": "", "description": "The card header main content." }
634
- ],
635
- "events": [],
636
- "js": {
637
- "properties": [
638
- {
639
- "name": "markerPosition",
640
- "description": "Getter for the marker position.",
641
- "value": {}
642
- },
643
- {
644
- "name": "swatches",
645
- "description": "Getter for the color swatches.",
646
- "value": {}
647
- },
648
- { "name": "className", "value": { "type": "string" } },
649
- {
650
- "name": "cssStyleSheet",
651
- "description": "Getter for the CSS stylesheet.",
652
- "value": {}
653
- },
654
- {
655
- "name": "setupAttributes",
656
- "description": "Sets up the attributes for the ColorPicker.",
657
- "value": {}
658
- },
659
- {
660
- "name": "draw",
661
- "description": "Draws the ColorPicker.",
662
- "value": {}
663
- },
664
- { "name": "createSwatches", "value": {} },
665
- { "name": "setSliders", "value": {} },
666
- { "name": "afterDraw", "value": {} },
667
- { "name": "dimension", "value": {} },
668
- { "name": "moveMarker", "value": {} },
669
- { "name": "getPointerPosition", "value": {} },
670
- { "name": "setMarkerPosition", "value": {} },
671
- { "name": "setColorAtPosition", "value": {} },
672
- { "name": "setMarkerPositionByColor", "value": {} },
673
- { "name": "setColor", "value": {} },
674
- { "name": "setHue", "value": {} },
675
- { "name": "setAlpha", "value": {} },
676
- { "name": "getHSVA", "value": {} },
677
- {
678
- "name": "_markerPosition",
679
- "description": "The position of the color marker.",
680
- "value": { "type": "Object" }
681
- },
682
- {
683
- "name": "_swatches",
684
- "description": "The color swatches.",
685
- "value": { "type": "Array" }
686
- }
687
- ],
688
- "events": []
689
- }
690
- },
691
- {
692
- "name": "wje-container",
693
- "description": "The Container class is a custom web component that extends WJElement. It is a simple container that can hold other elements or components.\nIt provides a slot for adding child elements or components. The Container class also supports indentation through the `indent` property.\nThe indentation is applied as a CSS variable (`--wje-container-indent`) which can be used in the styles of child elements or components.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Container.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the Container.\n\n### **Slots:**\n - _default_ - The slot for adding child elements or components.\n\n### **CSS Properties:**\n - **--wje-container-indent** - The indentation of the container. _(default: undefined)_",
694
- "doc-url": "",
695
- "attributes": [],
696
- "slots": [
697
- {
698
- "name": "",
699
- "description": "The slot for adding child elements or components."
700
- }
701
- ],
702
- "events": [],
703
- "js": {
704
- "properties": [
705
- {
706
- "name": "className",
707
- "description": "Class name for the Container.",
708
- "value": { "type": "string" }
709
- },
710
- {
711
- "name": "cssStyleSheet",
712
- "description": "Getter for the CSS stylesheet.",
713
- "value": {}
714
- },
715
- {
716
- "name": "setupAttributes",
717
- "description": "Sets up the attributes for the Container.",
718
- "value": {}
719
- },
720
- {
721
- "name": "draw",
722
- "description": "Draws the Container.",
723
- "value": {}
724
- }
725
- ],
726
- "events": []
727
- }
728
- },
729
- {
730
- "name": "wje-dialog",
731
- "description": "\n---\n",
732
- "doc-url": "",
733
- "attributes": [],
734
- "events": [],
735
- "js": {
736
- "properties": [
737
- { "name": "placement", "value": {} },
738
- { "name": "async", "value": {} },
739
- { "name": "className", "value": { "type": "string" } },
740
- { "name": "cssStyleSheet", "value": {} },
741
- { "name": "setupAttributes", "value": {} },
742
- { "name": "draw", "value": {} },
743
- { "name": "close", "value": {} },
744
- { "name": "afterDraw", "value": {} },
745
- { "name": "beforeOpen", "value": {} },
746
- { "name": "afterOpen", "value": {} },
747
- { "name": "beforeClose", "value": {} },
748
- { "name": "afterClose", "value": {} },
749
- { "name": "onOpen", "value": {} },
750
- { "name": "onClose", "value": {} }
751
- ],
752
- "events": []
753
- }
754
- },
755
- {
756
- "name": "wje-divider",
757
- "description": "Divider is a custom web component that extends WJElement.\nIt provides a simple divider line that can be used to separate content.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Divider.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the Divider.\n\n### **Slots:**\n - _default_ - This is a default/unnamed slot.\n\n### **CSS Properties:**\n - **--wje-border-width** - The size of the border. _(default: 1px)_\n- **--wje-divider-border-color** - The color of the divider border. _(default: var(--wje-border-color))_\n- **--wje-divider-border-width** - The width of the divider border. _(default: var(--wje-border-width, 1px))_\n- **--wje-divider-spacing** - The spacing for the divider. _(default: 0)_",
758
- "doc-url": "",
759
- "attributes": [],
760
- "slots": [
761
- { "name": "", "description": "This is a default/unnamed slot." }
762
- ],
763
- "events": [],
764
- "js": {
765
- "properties": [
766
- {
767
- "name": "className",
768
- "description": "The class name for the Divider class.",
769
- "value": { "type": "string" }
770
- },
771
- {
772
- "name": "cssStyleSheet",
773
- "description": "Getter for the CSS stylesheet.",
774
- "value": {}
775
- },
776
- {
777
- "name": "setupAttributes",
778
- "description": "Sets up the attributes for the Divider.",
779
- "value": {}
780
- },
781
- {
782
- "name": "draw",
783
- "description": "Draws the Divider.",
784
- "value": {}
785
- }
786
- ],
787
- "events": []
788
- }
789
- },
790
- {
791
- "name": "wje-copy-button",
792
- "description": "CopyButton is a custom web component that extends WJElement.\nIt provides a button that, when clicked, copies a specified text to the clipboard.\nThe text to be copied can be specified through the `value` attribute.\nThe CopyButton also supports keyboard interaction, copying the text when the space or enter key is pressed.\n---\n\n\n### **Events:**\n - **wje:copy-button** - Dispatched when the button is clicked and the text is copied.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the CopyButton.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the ColorPicker.\n- **afterDraw()** - Sets up the event listeners after the CopyButton is drawn.\n- **copy(button: _HTMLElement_)** - Copies the specified text or node.\n- **copyTarget(content: _HTMLElement_): _Promise_** - Copies the target content.\n\n### **Slots:**\n - _default_ - This is a default/unnamed slot.\n\n### **CSS Properties:**\n - **--text-color** - Controls the color of the text. _(default: undefined)_\n- **--background-color** - Controls the background color of the button. _(default: undefined)_\n\n### **CSS Parts:**\n - **button** - Styles the button element.",
793
- "doc-url": "",
794
- "attributes": [
795
- {
796
- "name": "for",
797
- "description": "The id of the element to copy content from.",
798
- "value": { "type": "string" }
799
- },
800
- {
801
- "name": "value",
802
- "description": "The text to be copied.",
803
- "value": { "type": "string" }
804
- }
805
- ],
806
- "slots": [
807
- { "name": "", "description": "This is a default/unnamed slot." }
808
- ],
809
- "events": [
810
- {
811
- "name": "wje:copy-button",
812
- "description": "Dispatched when the button is clicked and the text is copied."
813
- }
814
- ],
815
- "js": {
816
- "properties": [
817
- {
818
- "name": "for",
819
- "description": "The id of the element to copy content from.",
820
- "value": { "type": "string" }
821
- },
822
- {
823
- "name": "value",
824
- "description": "The text to be copied.",
825
- "value": { "type": "string" }
826
- }
827
- ],
828
- "events": [
829
- {
830
- "name": "wje:copy-button",
831
- "description": "Dispatched when the button is clicked and the text is copied."
832
- }
833
- ]
834
- }
835
- },
836
- {
837
- "name": "wje-file-upload",
838
- "description": "FileUpload is a custom web component for uploading files.\nIt extends from WJElement and provides functionalities for file upload.\n---\n\n\n### **Events:**\n - **change** - Fires when the file input changes.\n- **drop** - Fires when a file is dropped into the component.\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Method to draw the component.\n- **afterDraw()** - Method to perform actions after the component is drawn.\n- **handleSubmit(event: _Event_)** - Method to handle form submission.\n- **uploadFiles(files: _FileList_)** - Method to upload files.\n- **createPreview(file: _File_, reader: _FileReader_): _HTMLElement_** - Method to create a preview for the file.\n- **createThumbnail(file: _File_, reader: _FileReader_): _HTMLElement_** - Method to create a thumbnail for the file.\n- **assertFilesValid(file: _File_)** - Method to validate the files.\n- **updateStatusMessage(text: _string_)** - Method to update the status message.\n- **resetFormState()** - Method to reset the form state.\n\n### **Slots:**\n - _default_ - This is a default/unnamed slot.\n\n### **CSS Parts:**\n - **native** - The native file upload part.\n- **file-list** - The file list part.\n- **button** - The upload button part.",
839
- "doc-url": "",
840
- "attributes": [],
841
- "slots": [
842
- { "name": "", "description": "This is a default/unnamed slot." }
843
- ],
844
- "events": [
845
- {
846
- "name": "change",
847
- "description": "Fires when the file input changes."
848
- },
849
- {
850
- "name": "drop",
851
- "description": "Fires when a file is dropped into the component."
852
- }
853
- ],
854
- "js": {
855
- "properties": [
856
- {
857
- "name": "depandencies",
858
- "description": "Dependencies",
859
- "value": { "type": "Object" }
860
- },
861
- {
862
- "name": "acceptedTypes",
863
- "description": "Getter for acceptedTypes attribute.",
864
- "value": {}
865
- },
866
- {
867
- "name": "chunkSize",
868
- "description": "Getter for chunkSize attribute.",
869
- "value": {}
870
- },
871
- {
872
- "name": "maxFileSize",
873
- "description": "Getter for maxFileSize attribute.",
874
- "value": {}
875
- },
876
- { "name": "className", "value": { "type": "string" } },
877
- {
878
- "name": "cssStyleSheet",
879
- "description": "Getter for cssStyleSheet.",
880
- "value": {}
881
- },
882
- {
883
- "name": "setupAttributes",
884
- "description": "Method to setup attributes for the component.",
885
- "value": {}
886
- },
887
- {
888
- "name": "draw",
889
- "description": "Method to draw the component.",
890
- "value": {}
891
- },
892
- {
893
- "name": "afterDraw",
894
- "description": "Method to perform actions after the component is drawn.",
895
- "value": {}
896
- },
897
- {
898
- "name": "handleSubmit",
899
- "description": "Method to handle form submission.",
900
- "value": {}
901
- },
902
- {
903
- "name": "handleDrop",
904
- "description": "Method to handle file drop event.",
905
- "value": {}
906
- },
907
- {
908
- "name": "handleInputChange",
909
- "description": "Method to handle file input change event.",
910
- "value": {}
911
- },
912
- {
913
- "name": "uploadFiles",
914
- "description": "Method to upload files.",
915
- "value": {}
916
- },
917
- {
918
- "name": "createPreview",
919
- "description": "Method to create a preview for the file.",
920
- "value": {}
921
- },
922
- {
923
- "name": "createThumbnail",
924
- "description": "Method to create a thumbnail for the file.",
925
- "value": {}
926
- },
927
- {
928
- "name": "assertFilesValid",
929
- "description": "Method to validate the files.",
930
- "value": {}
931
- },
932
- {
933
- "name": "updateStatusMessage",
934
- "description": "Method to update the status message.",
935
- "value": {}
936
- },
937
- {
938
- "name": "resetFormState",
939
- "description": "Method to reset the form state.",
940
- "value": {}
941
- },
942
- { "name": "localizer", "value": {} }
943
- ],
944
- "events": [
945
- {
946
- "name": "change",
947
- "description": "Fires when the file input changes."
948
- },
949
- {
950
- "name": "drop",
951
- "description": "Fires when a file is dropped into the component."
952
- }
953
- ]
954
- }
955
- },
956
- {
957
- "name": "wje-footer",
958
- "description": "This element represents a footer. `Footer` is a custom web component that represents a footer.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **default** - Default slot for the footer content\n\n### **CSS Properties:**\n - **--primary-color** - The primary color of the footer _(default: undefined)_",
959
- "doc-url": "",
960
- "attributes": [],
961
- "slots": [
962
- {
963
- "name": "default",
964
- "description": "Default slot for the footer content"
965
- }
966
- ],
967
- "events": [],
968
- "js": {
969
- "properties": [
970
- { "name": "className", "value": { "type": "string" } },
971
- {
972
- "name": "cssStyleSheet",
973
- "description": "Returns the CSS styles for the component.",
974
- "value": {}
975
- },
976
- {
977
- "name": "setupAttributes",
978
- "description": "Sets up the attributes for the component.",
979
- "value": {}
980
- },
981
- {
982
- "name": "draw",
983
- "description": "Draws the component.",
984
- "value": {}
985
- }
986
- ],
987
- "events": []
988
- }
989
- },
990
- {
991
- "name": "wje-dropdown",
992
- "description": "This element represents a dropdown menu.\n---\n\n\n### **Events:**\n - **wje-dropdown:open** - Event fired when the dropdown is opened.\n- **wje-dropdown:close** - Event fired when the dropdown is closed.\n\n### **Methods:**\n - **afterShow()** - This method is called after the dropdown is shown.\n\n### **Slots:**\n - **trigger** - The slot for the trigger of the dropdown.\n- _default_ - The default slot for the dropdown.\n\n### **CSS Parts:**\n - **native** - The native part of the dropdown.",
993
- "doc-url": "",
994
- "attributes": [{ "name": "active", "value": { "type": "string" } }],
995
- "slots": [
996
- {
997
- "name": "trigger",
998
- "description": "The slot for the trigger of the dropdown."
999
- },
1000
- { "name": "", "description": "The default slot for the dropdown." }
1001
- ],
1002
- "events": [
1003
- {
1004
- "name": "wje-dropdown:open",
1005
- "description": "Event fired when the dropdown is opened."
1006
- },
1007
- {
1008
- "name": "wje-dropdown:close",
1009
- "description": "Event fired when the dropdown is closed."
1010
- }
1011
- ],
1012
- "js": {
1013
- "properties": [{ "name": "active", "value": {} }],
1014
- "events": [
1015
- {
1016
- "name": "wje-dropdown:open",
1017
- "description": "Event fired when the dropdown is opened."
1018
- },
1019
- {
1020
- "name": "wje-dropdown:close",
1021
- "description": "Event fired when the dropdown is closed."
1022
- }
1023
- ]
1024
- }
1025
- },
1026
- {
1027
- "name": "wje-file-upload-item",
1028
- "description": "This element allows users to upload files.\n`FileUploadItem` is a custom web component that represents a file upload item.\nIt extends from `WJElement` and uses the `Localizer` utility for localization.\n---\n\n\n### **Events:**\n - **wje-button:click** - Dispatches when the delete button is clicked\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Method to draw the component.\n- **afterDraw()** - Called after the component has been drawn.\n\n### **Slots:**\n - **img** - Slot for the image\n- **action** - Slot for the action buttons\n\n### **CSS Properties:**\n - **--primary-color** - The primary color of the file upload item _(default: undefined)_\n\n### **CSS Parts:**\n - **button** - The delete button part\n- **image** - The image part\n- **name** - The name part\n- **size** - The size part",
1029
- "doc-url": "",
1030
- "attributes": [{ "name": "uploaded", "value": { "type": "string" } }],
1031
- "slots": [
1032
- { "name": "img", "description": "Slot for the image" },
1033
- { "name": "action", "description": "Slot for the action buttons" }
1034
- ],
1035
- "events": [
1036
- {
1037
- "name": "wje-button:click",
1038
- "description": "Dispatches when the delete button is clicked"
1039
- }
1040
- ],
1041
- "js": {
1042
- "properties": [{ "name": "uploaded", "value": {} }],
1043
- "events": [
1044
- {
1045
- "name": "wje-button:click",
1046
- "description": "Dispatches when the delete button is clicked"
1047
- }
1048
- ]
1049
- }
1050
- },
1051
- {
1052
- "name": "wje-form",
1053
- "description": "\n---\n",
1054
- "doc-url": "",
1055
- "attributes": [],
1056
- "events": [],
1057
- "js": {
1058
- "properties": [
1059
- { "name": "className", "value": { "type": "string" } },
1060
- { "name": "cssStyleSheet", "value": {} },
1061
- { "name": "setupAttributes", "value": {} },
1062
- { "name": "draw", "value": {} }
1063
- ],
1064
- "events": []
1065
- }
1066
- },
1067
- {
1068
- "name": "wje-format-digital",
1069
- "description": "\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw()** - Prepares the component before drawing.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.",
1070
- "doc-url": "",
1071
- "attributes": [{ "name": "value", "value": { "type": "string" } }],
1072
- "events": [],
1073
- "js": {
1074
- "properties": [{ "name": "value", "value": {} }],
1075
- "events": []
1076
- }
1077
- },
1078
- {
1079
- "name": "wje-header",
1080
- "description": "`Header` is a custom web component that represents a header. It extends from `WJElement`.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **default** - Default slot for the header content\n\n### **CSS Properties:**\n - **--wje-header-background** - The background of the header _(default: var(--wje-background))_\n- **--wje-header-border-color** - The border color of the header _(default: var(--wje-border-color))_\n- **--wje-header-border-width** - The border width of the header _(default: 0 0 1px 0)_\n- **--wje-header-border-style** - The border styles of the header _(default: solid)_\n- **--wje-header-top** - The position top of the header _(default: 0)_\n- **--wje-header-height** - The height of the header _(default: 60px)_\n\n### **CSS Parts:**\n - **native** - The native part",
1081
- "doc-url": "",
1082
- "attributes": [],
1083
- "slots": [
1084
- {
1085
- "name": "default",
1086
- "description": "Default slot for the header content"
1087
- }
1088
- ],
1089
- "events": [],
1090
- "js": {
1091
- "properties": [
1092
- { "name": "className", "value": { "type": "string" } },
1093
- {
1094
- "name": "cssStyleSheet",
1095
- "description": "Returns the CSS styles for the component.",
1096
- "value": {}
1097
- },
1098
- {
1099
- "name": "setupAttributes",
1100
- "description": "Sets up the attributes for the component.",
1101
- "value": {}
1102
- },
1103
- {
1104
- "name": "draw",
1105
- "description": "Draws the component.",
1106
- "value": {}
1107
- }
1108
- ],
1109
- "events": []
1110
- }
1111
- },
1112
- {
1113
- "name": "wje-icon",
1114
- "description": "This element represents an icon. `IconElement` is a custom web component that represents an icon.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Called after the component has been drawn.\n\n### **CSS Properties:**\n - **--wje-icon-size** - The size of the icon _(default: 1rem)_\n- **--wje-icon-width** - The width of the icon _(default: var(--wje-icon-size, 100%))_\n- **--wje-icon-height** - The height of the icon _(default: var(--wje-icon-size, 100%))_\n\n### **CSS Parts:**\n - **svg** - The SVG part of the icon",
1115
- "doc-url": "",
1116
- "attributes": [{ "name": "name", "value": { "type": "string" } }],
1117
- "events": [],
1118
- "js": {
1119
- "properties": [{ "name": "name", "value": {} }],
1120
- "events": []
1121
- }
1122
- },
1123
- {
1124
- "name": "wje-grid",
1125
- "description": "\n---\n",
1126
- "doc-url": "",
1127
- "attributes": [],
1128
- "events": [],
1129
- "js": {
1130
- "properties": [
1131
- { "name": "className", "value": { "type": "string" } },
1132
- { "name": "cssStyleSheet", "value": {} },
1133
- { "name": "setupAttributes", "value": {} },
1134
- { "name": "draw", "value": {} }
1135
- ],
1136
- "events": []
1137
- }
1138
- },
1139
- {
1140
- "name": "wje-icon-picker",
1141
- "description": "This element allows users to pick an icon. `IconPicker` is a custom web component that represents an icon picker.\nIt extends from `WJElement` and uses the `InfiniteScroll`, `Input`, and `Tooltip` components.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw()** - Prepares the component before drawing.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Called after the component has been drawn.\n- **initial()** - Initializes the component.\n- **setupInfiniteScroll()** - Sets up the infinite scroll for the component.\n- **getCategory(tags: _Array_): _Array_** - Gets the category of the tags.\n- **getTags(): _Promise<Array>_** - Gets the tags.\n- **clearIconsContainer()** - Clears the icons container.\n\n### **CSS Properties:**\n - **--wje-icon-picker-radius** - The border radius of the icon picker _(default: var(--wje-border-radius-small))_\n- **--wje-icon-picker-icon-size** - The size of the icon picker _(default: 1.5rem)_\n- **--wje-icon-picker-border-width** - The border width of the icon picker _(default: 1px)_\n- **--wje-icon-picker-border-style** - The border style of the icon picker _(default: solid)_\n- **--wje-icon-picker-border-color** - The border color of the icon picker _(default: var(--wje-border-color))_\n- **--wje-icon-picker-padding** - The padding of the icon picker _(default: .25rem .5rem)_\n\n### **CSS Parts:**\n - **native** - The native part\n- **anchor** - The anchor part\n- **picker** - The picker part\n- **input** - The input part",
1142
- "doc-url": "",
1143
- "attributes": [],
1144
- "events": [],
1145
- "js": {
1146
- "properties": [
1147
- {
1148
- "name": "depandencies",
1149
- "description": "Dependencies of the IconPicker component.",
1150
- "value": { "type": "object" }
1151
- },
1152
- {
1153
- "name": "markerPosition",
1154
- "description": "Getter for the markerPosition property.",
1155
- "value": {}
1156
- },
1157
- {
1158
- "name": "swatches",
1159
- "description": "Getter for the swatches property.",
1160
- "value": {}
1161
- },
1162
- { "name": "className", "value": { "type": "string" } },
1163
- {
1164
- "name": "cssStyleSheet",
1165
- "description": "Returns the CSS styles for the component.",
1166
- "value": {}
1167
- },
1168
- {
1169
- "name": "setupAttributes",
1170
- "description": "Sets up the attributes for the component.",
1171
- "value": {}
1172
- },
1173
- {
1174
- "name": "beforeDraw",
1175
- "description": "Prepares the component before drawing.",
1176
- "value": {}
1177
- },
1178
- {
1179
- "name": "draw",
1180
- "description": "Draws the component.",
1181
- "value": {}
1182
- },
1183
- {
1184
- "name": "afterDraw",
1185
- "description": "Called after the component has been drawn.",
1186
- "value": {}
1187
- },
1188
- {
1189
- "name": "initial",
1190
- "description": "Initializes the component.",
1191
- "value": {}
1192
- },
1193
- {
1194
- "name": "setupInfiniteScroll",
1195
- "description": "Sets up the infinite scroll for the component.",
1196
- "value": {}
1197
- },
1198
- {
1199
- "name": "getCategory",
1200
- "description": "Gets the category of the tags.",
1201
- "value": {}
1202
- },
1203
- {
1204
- "name": "getTags",
1205
- "description": "Gets the tags.",
1206
- "value": {}
1207
- },
1208
- {
1209
- "name": "searchIcon",
1210
- "description": "Event handler for searching icons.",
1211
- "value": {}
1212
- },
1213
- {
1214
- "name": "clearIconsContainer",
1215
- "description": "Clears the icons container.",
1216
- "value": {}
1217
- },
1218
- {
1219
- "name": "onClose",
1220
- "description": "Closes the component.",
1221
- "value": {}
1222
- },
1223
- {
1224
- "name": "getTagsUrl",
1225
- "description": "Gets the URL of the tags.",
1226
- "value": {}
1227
- },
1228
- { "name": "size", "value": { "type": "number" } }
1229
- ],
1230
- "events": []
1231
- }
1232
- },
1233
- {
1234
- "name": "wje-inline-edit",
1235
- "description": "\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the checkbox.\n- **draw(context: _object_, store: _object_, params: _object_): _DocumentFragment_** - Draws the checkbox.",
1236
- "doc-url": "",
1237
- "attributes": [
1238
- { "name": "checked", "value": { "type": "string" } },
1239
- { "name": "disabled", "value": { "type": "string" } }
1240
- ],
1241
- "events": [],
1242
- "js": {
1243
- "properties": [
1244
- { "name": "checked", "value": {} },
1245
- { "name": "disabled", "value": {} }
1246
- ],
1247
- "events": []
1248
- }
1249
- },
1250
- {
1251
- "name": "wje-img-comparer",
1252
- "description": "This element allows users to compare two images. `ImgComparer` is a custom web component that represents an image comparer.\nIt extends from `WJElement` and uses the `Icon` component.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **before** - The before image slot.\n- **after** - The after image slot.\n\n### **CSS Properties:**\n - **--wje-img-compare-divider-area** - The area of the divider.; _(default: 12px)_\n- **undefined** - undefined _(default: undefined)_\n- **--wje-img-compare-divider-size** - The size of the divider.; _(default: 2px)_\n- **--wje-img-compare-divider-left** - The left position of the divider.; _(default: 50%)_\n- **--wje-img-compare-position** - The position of the divider.; _(default: 50%)_\n- **--wje-img-compare-clip-path** - The clip path of the divider.; _(default: inset(0 calc(100% - var(--wje-img-compare-position)) 0 0))_\n\n### **CSS Parts:**\n - **divider** - The divider part.",
1253
- "doc-url": "",
1254
- "attributes": [],
1255
- "slots": [
1256
- { "name": "before", "description": "The before image slot." },
1257
- { "name": "after", "description": "The after image slot." }
1258
- ],
1259
- "events": [],
1260
- "js": {
1261
- "properties": [
1262
- {
1263
- "name": "depandencies",
1264
- "description": "Dependencies of the ImgComparer component.",
1265
- "value": { "type": "object" }
1266
- },
1267
- { "name": "className", "value": { "type": "string" } },
1268
- {
1269
- "name": "cssStyleSheet",
1270
- "description": "Returns the CSS styles for the component.",
1271
- "value": {}
1272
- },
1273
- {
1274
- "name": "setupAttributes",
1275
- "description": "Sets up the attributes for the component.",
1276
- "value": {}
1277
- },
1278
- {
1279
- "name": "draw",
1280
- "description": "Draws the component.",
1281
- "value": {}
1282
- },
1283
- {
1284
- "name": "handleDrag",
1285
- "description": "Handles the drag event.",
1286
- "value": {}
1287
- },
1288
- {
1289
- "name": "clamp",
1290
- "description": "Clamps a number between a minimum and maximum value.",
1291
- "value": {}
1292
- }
1293
- ],
1294
- "events": []
1295
- }
1296
- },
1297
- {
1298
- "name": "wje-img",
1299
- "description": "This element represents an image. `Img` is a custom web component that represents an image. It extends from `WJElement`.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw(context, store, params)** - Called after the component has been drawn.\n\n### **CSS Properties:**\n - **--img-width** - The width of the image _(default: undefined)_\n- **--img-height** - The height of the image _(default: undefined)_",
1300
- "doc-url": "",
1301
- "attributes": [],
1302
- "events": [],
1303
- "js": {
1304
- "properties": [
1305
- { "name": "className", "value": { "type": "string" } },
1306
- {
1307
- "name": "cssStyleSheet",
1308
- "description": "Returns the CSS styles for the component.",
1309
- "value": {}
1310
- },
1311
- {
1312
- "name": "setupAttributes",
1313
- "description": "Sets up the attributes for the component.",
1314
- "value": {}
1315
- },
1316
- {
1317
- "name": "draw",
1318
- "description": "Draws the component.",
1319
- "value": {}
1320
- },
1321
- {
1322
- "name": "afterDraw",
1323
- "description": "Called after the component has been drawn.",
1324
- "value": {}
1325
- }
1326
- ],
1327
- "events": []
1328
- }
1329
- },
1330
- {
1331
- "name": "wje-infinite-scroll",
1332
- "description": "This element allows users to scroll through a potentially infinite amount of content.\n---\n\n\n### **Events:**\n - **wje-infinite-scroll:click-item** - Event fired when an item is clicked.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw(context: _Object_, store: _Object_, params: _Object_)** - Prepares the component before drawing.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Called after the component has been drawn.\n- **getPages(page: _number_): _Promise<Object>_** - Fetches the pages from the server.\n- **hideLoader()** - Hides the loader.\n- **showLoader()** - Shows the loader.\n- **hasMorePages(page: _number_): _boolean_** - Checks if there are more pages to load.\n- **loadPages(page: _number_)** - Loads the pages.\n\n### **Slots:**\n - _default_ - The default slot for the infinite scroll.\n\n### **CSS Properties:**\n - **--wje-infinite-scroll-width** - The width of the infinite scroll. _(default: 100%)_\n- **--wje-infinite-scroll-height** - The height of the infinite scroll. _(default: 300px)_\n\n### **CSS Parts:**\n - **loader** - The loader part of the infinite scroll.",
1333
- "doc-url": "",
1334
- "attributes": [],
1335
- "slots": [
1336
- {
1337
- "name": "",
1338
- "description": "The default slot for the infinite scroll."
1339
- }
1340
- ],
1341
- "events": [
1342
- {
1343
- "name": "wje-infinite-scroll:click-item",
1344
- "description": "Event fired when an item is clicked."
1345
- }
1346
- ],
1347
- "js": {
1348
- "properties": [
1349
- { "name": "infiniteScrollTemplate", "value": {} },
1350
- { "name": "response", "value": {} },
1351
- { "name": "objectName", "value": {} },
1352
- { "name": "className", "value": { "type": "string" } },
1353
- {
1354
- "name": "cssStyleSheet",
1355
- "description": "Returns the CSS styles for the component.",
1356
- "value": {}
1357
- },
1358
- {
1359
- "name": "setupAttributes",
1360
- "description": "Sets up the attributes for the component.",
1361
- "value": {}
1362
- },
1363
- {
1364
- "name": "beforeDraw",
1365
- "description": "Prepares the component before drawing.",
1366
- "value": {}
1367
- },
1368
- {
1369
- "name": "draw",
1370
- "description": "Draws the component.",
1371
- "value": {}
1372
- },
1373
- {
1374
- "name": "afterDraw",
1375
- "description": "Called after the component has been drawn.",
1376
- "value": {}
1377
- },
1378
- {
1379
- "name": "scrollEvent",
1380
- "description": "Adds the scroll event listener.",
1381
- "value": {}
1382
- },
1383
- {
1384
- "name": "unScrollEvent",
1385
- "description": "Removes the scroll event listener.",
1386
- "value": {}
1387
- },
1388
- {
1389
- "name": "onScroll",
1390
- "description": "Handles the scroll event.",
1391
- "value": {}
1392
- },
1393
- {
1394
- "name": "getPages",
1395
- "description": "Fetches the pages from the server.",
1396
- "value": {}
1397
- },
1398
- {
1399
- "name": "hideLoader",
1400
- "description": "Hides the loader.",
1401
- "value": {}
1402
- },
1403
- {
1404
- "name": "showLoader",
1405
- "description": "Shows the loader.",
1406
- "value": {}
1407
- },
1408
- {
1409
- "name": "hasMorePages",
1410
- "description": "Checks if there are more pages to load.",
1411
- "value": {}
1412
- },
1413
- {
1414
- "name": "loadPages",
1415
- "description": "Loads the pages.",
1416
- "value": {}
1417
- },
1418
- {
1419
- "name": "dataToHtml",
1420
- "description": "Sets the custom data.",
1421
- "value": {}
1422
- },
1423
- { "name": "customForeach", "value": {} },
1424
- { "name": "totalPages", "value": { "type": "number" } },
1425
- { "name": "isLoading", "value": { "type": "array" } },
1426
- { "name": "_response", "value": { "type": "object" } },
1427
- { "name": "iterate", "value": { "type": "null" } },
1428
- {
1429
- "name": "_infiniteScrollTemplate",
1430
- "value": { "type": "null" }
1431
- },
1432
- {
1433
- "name": "interpolate",
1434
- "description": "Interpolates a string with the given parameters.",
1435
- "value": {}
1436
- }
1437
- ],
1438
- "events": [
1439
- {
1440
- "name": "wje-infinite-scroll:click-item",
1441
- "description": "Event fired when an item is clicked."
1442
- }
1443
- ]
1444
- }
1445
- },
1446
- {
1447
- "name": "wje-input",
1448
- "description": "This class represents a custom input element. It extends the WJElement class and provides additional functionality for handling input.\n---\n\n\n### **Events:**\n - **invalid** - undefined\n- **wje-input:input** - Dispatched when the input value changes.\n- **wje-input:clear** - Dispatched when the input is cleared.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the input.\n- **draw(context: _CanvasRenderingContext2D_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the input.\n- **afterDraw()** - Runs after the input is drawn.\n- **hasSlot(el: _HTMLElement_, slotName: _string_): _boolean_** - Checks whether the input has a slot.\n- **formResetCallback()** - The formResetCallback method is a built-in lifecycle callback that gets called when a form gets reset.\nThis method is responsible for resetting the value of the custom input element to its default value.\nIt also resets the form value and validity state in the form internals.\n- **formStateRestoreCallback(state: _Object_)** - The formStateRestoreCallback method is a built-in lifecycle callback that gets called when the state of a form-associated custom element is restored.\nThis method is responsible for restoring the value of the custom input element to its saved state.\nIt also restores the form value and validity state in the form internals to their saved states.\n- **formStateSaveCallback(): _Object_** - The formStateSaveCallback method is a built-in lifecycle callback that gets called when the state of a form-associated custom element is saved.\nThis method is responsible for saving the value of the custom input element.\n- **formDisabledCallback(disabled: _boolean_)** - The formDisabledCallback method is a built-in lifecycle callback that gets called when the disabled state of a form-associated custom element changes.\nThis method is not implemented yet.\n\n### **Slots:**\n - **start** - Slot for content at the start of the input.\n- **end** - Slot for content at the end of the input.\n\n### **CSS Properties:**\n - **--wje-input-font-family** - The font family of the input. _(default: var(--wje-font-family))_\n- **--wje-input-background-color** - The background color of the input. _(default: var(--wje-background))_\n- **--wje-input-color** - The color of the input text. _(default: var(--wje-color))_\n- **--wje-input-color-invalid** - The color of the input text when invalid. _(default: var(--wje-color-danger))_\n- **--wje-input-border-color** - The border color of the input. _(default: var(--wje-border-color))_\n- **--wje-input-border-color-focus** - The border color of the input when focused. _(default: var(--wje-color-primary))_\n- **--wje-input-border-width** - The border width of the input. _(default: 1px)_\n- **--wje-input-border-style** - The border style of the input. _(default: solid)_\n- **--wje-input-border-radius** - The border radius of the input. _(default: 4px)_\n- **--wje-input-margin-bottom** - The margin bottom of the input. _(default: .5rem)_\n- **--wje-input-line-height** - The line height of the input. _(default: 20px)_\n- **--wje-input-slot-padding-inline** - The padding inline of the input slot. _(default: .5rem)_\n\n### **CSS Parts:**\n - **native** - The native part.\n- **input** - The input part.\n- **clear** - The clear part.",
1449
- "doc-url": "",
1450
- "attributes": [{ "name": "value", "value": { "type": "string" } }],
1451
- "slots": [
1452
- {
1453
- "name": "start",
1454
- "description": "Slot for content at the start of the input."
1455
- },
1456
- {
1457
- "name": "end",
1458
- "description": "Slot for content at the end of the input."
1459
- }
1460
- ],
1461
- "events": [
1462
- { "name": "invalid" },
1463
- {
1464
- "name": "wje-input:input",
1465
- "description": "Dispatched when the input value changes."
1466
- },
1467
- {
1468
- "name": "wje-input:clear",
1469
- "description": "Dispatched when the input is cleared."
1470
- }
1471
- ],
1472
- "js": {
1473
- "properties": [{ "name": "value", "value": {} }],
1474
- "events": [
1475
- { "name": "invalid" },
1476
- {
1477
- "name": "wje-input:input",
1478
- "description": "Dispatched when the input value changes."
1479
- },
1480
- {
1481
- "name": "wje-input:clear",
1482
- "description": "Dispatched when the input is cleared."
1483
- }
1484
- ]
1485
- }
1486
- },
1487
- {
1488
- "name": "wje-input-file",
1489
- "description": "This element represents a file input.\n---\n\n\n### **Events:**\n - **wje-input-file:change** - Event fired when the file input changes.\n\n### **CSS Parts:**\n - **native** - The native file input wrapper.\n- **input** - The text input.\n- **file-input** - The file input.",
1490
- "doc-url": "",
1491
- "attributes": [],
1492
- "events": [
1493
- {
1494
- "name": "wje-input-file:change",
1495
- "description": "Event fired when the file input changes."
1496
- }
1497
- ],
1498
- "js": {
1499
- "properties": [
1500
- { "name": "value", "value": {} },
1501
- { "name": "className", "value": { "type": "string" } },
1502
- { "name": "cssStyleSheet", "value": {} },
1503
- { "name": "setupAttributes", "value": {} },
1504
- { "name": "draw", "value": {} },
1505
- { "name": "afterDraw", "value": {} },
1506
- { "name": "_value", "value": { "type": "string" } }
1507
- ],
1508
- "events": [
1509
- {
1510
- "name": "wje-input-file:change",
1511
- "description": "Event fired when the file input changes."
1512
- }
1513
- ]
1514
- }
1515
- },
1516
- {
1517
- "name": "wje-item",
1518
- "description": "\n---\n",
1519
- "doc-url": "",
1520
- "attributes": [],
1521
- "events": [],
1522
- "js": {
1523
- "properties": [
1524
- { "name": "isClickable", "value": {} },
1525
- { "name": "className", "value": { "type": "string" } },
1526
- { "name": "cssStyleSheet", "value": {} },
1527
- { "name": "setupAttributes", "value": {} },
1528
- { "name": "beforeDraw", "value": {} },
1529
- { "name": "draw", "value": {} },
1530
- { "name": "hostContext", "value": {} },
1531
- { "name": "labelColorStyles", "value": { "type": "object" } },
1532
- { "name": "itemStyles", "value": {} },
1533
- {
1534
- "name": "inheritedAriaAttributes",
1535
- "value": { "type": "object" }
1536
- },
1537
- { "name": "multipleInputs", "value": { "type": "boolean" } },
1538
- { "name": "focusable", "value": { "type": "boolean" } },
1539
- { "name": "button", "value": { "type": "boolean" } },
1540
- { "name": "detailIcon", "value": {} },
1541
- { "name": "disabled", "value": { "type": "boolean" } },
1542
- { "name": "counter", "value": { "type": "boolean" } },
1543
- { "name": "routerDirection", "value": { "type": "string" } },
1544
- { "name": "type", "value": { "type": "string" } }
1545
- ],
1546
- "events": []
1547
- }
1548
- },
1549
- {
1550
- "name": "wje-label",
1551
- "description": "This element represents a label.\n---\n\n\n### **Events:**\n - **wje-label:change** - Event fired when the label is changed.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw(context: _Object_, store: _Object_, params: _Object_)** - Prepares the component before drawing.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - The default slot for the label.\n\n### **CSS Properties:**\n - **--wje-label-color** - The color of the label. _(default: black)_\n- **--wje-label-font-size** - The font size of the label. _(default: 16px)_\n\n### **CSS Parts:**\n - **label** - The label part of the component.",
1552
- "doc-url": "",
1553
- "attributes": [],
1554
- "slots": [
1555
- { "name": "", "description": "The default slot for the label." }
1556
- ],
1557
- "events": [
1558
- {
1559
- "name": "wje-label:change",
1560
- "description": "Event fired when the label is changed."
1561
- }
1562
- ],
1563
- "js": {
1564
- "properties": [
1565
- { "name": "className", "value": { "type": "string" } },
1566
- {
1567
- "name": "cssStyleSheet",
1568
- "description": "Returns the CSS styles for the component.",
1569
- "value": {}
1570
- },
1571
- {
1572
- "name": "setupAttributes",
1573
- "description": "Sets up the attributes for the component.",
1574
- "value": {}
1575
- },
1576
- {
1577
- "name": "beforeDraw",
1578
- "description": "Prepares the component before drawing.",
1579
- "value": {}
1580
- },
1581
- {
1582
- "name": "draw",
1583
- "description": "Draws the component.",
1584
- "value": {}
1585
- }
1586
- ],
1587
- "events": [
1588
- {
1589
- "name": "wje-label:change",
1590
- "description": "Event fired when the label is changed."
1591
- }
1592
- ]
1593
- }
1594
- },
1595
- {
1596
- "name": "wje-main",
1597
- "description": "This element represents a main section.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - The default slot for the main section.",
1598
- "doc-url": "",
1599
- "attributes": [],
1600
- "slots": [
1601
- {
1602
- "name": "",
1603
- "description": "The default slot for the main section."
1604
- }
1605
- ],
1606
- "events": [],
1607
- "js": {
1608
- "properties": [
1609
- { "name": "className", "value": { "type": "string" } },
1610
- {
1611
- "name": "cssStyleSheet",
1612
- "description": "Returns the CSS styles for the component.",
1613
- "value": {}
1614
- },
1615
- {
1616
- "name": "setupAttributes",
1617
- "description": "Sets up the attributes for the component.",
1618
- "value": {}
1619
- },
1620
- {
1621
- "name": "draw",
1622
- "description": "Draws the component.",
1623
- "value": {}
1624
- }
1625
- ],
1626
- "events": []
1627
- }
1628
- },
1629
- {
1630
- "name": "wje-list",
1631
- "description": "This element represents a list.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Called after the component has been drawn.\n\n### **Slots:**\n - _default_ - The default slot for the list.\n\n### **CSS Properties:**\n - **--wje-list-inset-padding** - The padding of the list when it is inset. _(default: 1rem)_\n- **--wje-list-border-radius** - The border radius of the list. _(default: 8px)_\n- **--wje-list-background** - The background of the list. _(default: var(--wje-background))_",
1632
- "doc-url": "",
1633
- "attributes": [],
1634
- "slots": [
1635
- { "name": "", "description": "The default slot for the list." }
1636
- ],
1637
- "events": [],
1638
- "js": {
1639
- "properties": [
1640
- { "name": "className", "value": { "type": "string" } },
1641
- {
1642
- "name": "cssStyleSheet",
1643
- "description": "Returns the CSS styles for the component.",
1644
- "value": {}
1645
- },
1646
- {
1647
- "name": "setupAttributes",
1648
- "description": "Sets up the attributes for the component.",
1649
- "value": {}
1650
- },
1651
- {
1652
- "name": "draw",
1653
- "description": "Draws the component.",
1654
- "value": {}
1655
- },
1656
- {
1657
- "name": "afterDraw",
1658
- "description": "Called after the component has been drawn.",
1659
- "value": {}
1660
- }
1661
- ],
1662
- "events": []
1663
- }
1664
- },
1665
- {
1666
- "name": "wje-menu",
1667
- "description": "This element represents a menu.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Refreshes the component after drawing.\n- **beforeDisconnect()** - Cleans up the component before disconnecting.\n\n### **Slots:**\n - _default_ - The default slot for the menu.\n\n### **CSS Properties:**\n - **--wje-menu-background** - The background of the menu. _(default: var(--wje-background))_\n- **--wje-menu-border-width** - The border width of the menu. _(default: 1px)_\n- **--wje-menu-border-style** - The border style of the menu. _(default: solid)_\n- **--wje-menu-border-color** - The border color of the menu. _(default: var(--wje-border-color))_\n- **--wje-menu-border-radius** - The border radius of the menu. _(default: var(--wje-border-radius-small))_\n- **--wje-menu-padding-top** - The padding top of the menu. _(default: .5rem)_\n- **--wje-menu-padding-bottom** - The padding bottom of the menu. _(default: .5rem)_\n- **--wje-menu-padding-inline** - The padding inline of the menu. _(default: 0)_\n- **--wje-menu-margin-top** - The margin top of the menu. _(default: 0)_\n- **--wje-menu-margin-bottom** - The margin bottom of the menu. _(default: 0)_\n- **--wje-menu-margin-inline** - The margin inline of the menu. _(default: 0)_\n- **--wje-menu-collapse-width** - The width of the menu when it is collapsed. _(default: 65px)_\n\n### **CSS Parts:**\n - **native** - The native part of the menu.",
1668
- "doc-url": "",
1669
- "attributes": [
1670
- { "name": "active", "value": { "type": "string" } },
1671
- { "name": "collapse", "value": { "type": "string" } }
1672
- ],
1673
- "slots": [
1674
- { "name": "", "description": "The default slot for the menu." }
1675
- ],
1676
- "events": [],
1677
- "js": {
1678
- "properties": [
1679
- { "name": "active", "value": {} },
1680
- { "name": "collapse", "value": {} }
1681
- ],
1682
- "events": []
1683
- }
1684
- },
1685
- {
1686
- "name": "wje-masonry",
1687
- "description": "This element represents a masonry layout.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the element.\n- **draw(context: _CanvasRenderingContext2D_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the element.\n- **afterDraw()** - Called after the element is drawn.\n- **renderCols(colCount: _number_)** - Renders the columns.\n- **scheduleLayout(ms: _number_)** - Schedules a layout.\n\n### **Slots:**\n - _default_ - The default slot for the masonry layout.\n\n### **CSS Properties:**\n - **--wje-masonry-gap** - The gap between items in the masonry layout. _(default: 1rem)_\n- **--wje-masonry-layout-col-count** - The count column in the masonry layout. _(default: 1)_\n\n### **CSS Parts:**\n - **native** - The native part of the masonry layout.\n- **column** - The individual columns in the masonry layout.",
1688
- "doc-url": "",
1689
- "attributes": [
1690
- { "name": "max-col-width", "value": { "type": "string" } },
1691
- { "name": "gap", "value": { "type": "string" } },
1692
- { "name": "cols", "value": { "type": "string" } }
1693
- ],
1694
- "slots": [
1695
- {
1696
- "name": "",
1697
- "description": "The default slot for the masonry layout."
1698
- }
1699
- ],
1700
- "events": [],
1701
- "js": {
1702
- "properties": [
1703
- { "name": "max-col-width", "value": {} },
1704
- { "name": "gap", "value": {} },
1705
- { "name": "cols", "value": {} }
1706
- ],
1707
- "events": []
1708
- }
1709
- },
1710
- {
1711
- "name": "wje-menu-button",
1712
- "description": "This element represents a menu button.\n---\n\n\n### **Events:**\n - **click** - Event fired when the menu button is clicked.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Refreshes the component after drawing.\nAdds a click event listener that toggles the \"open\" class on the content element.\n\n### **Slots:**\n - _default_ - The default slot for the menu button.",
1713
- "doc-url": "",
1714
- "attributes": [],
1715
- "slots": [
1716
- {
1717
- "name": "",
1718
- "description": "The default slot for the menu button."
1719
- }
1720
- ],
1721
- "events": [
1722
- {
1723
- "name": "click",
1724
- "description": "Event fired when the menu button is clicked."
1725
- }
1726
- ],
1727
- "js": {
1728
- "properties": [
1729
- { "name": "className", "value": { "type": "string" } },
1730
- {
1731
- "name": "cssStyleSheet",
1732
- "description": "Returns the CSS styles for the component.",
1733
- "value": {}
1734
- },
1735
- {
1736
- "name": "setupAttributes",
1737
- "description": "Sets up the attributes for the component.",
1738
- "value": {}
1739
- },
1740
- {
1741
- "name": "draw",
1742
- "description": "Draws the component.",
1743
- "value": {}
1744
- },
1745
- {
1746
- "name": "afterDraw",
1747
- "description": "Refreshes the component after drawing.\nAdds a click event listener that toggles the \"open\" class on the content element.",
1748
- "value": {}
1749
- }
1750
- ],
1751
- "events": [
1752
- {
1753
- "name": "click",
1754
- "description": "Event fired when the menu button is clicked."
1755
- }
1756
- ]
1757
- }
1758
- },
1759
- {
1760
- "name": "wje-menu-item",
1761
- "description": "This element represents a menu item.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the MenuItem element.\n- **beforeDraw(context, store, params)** - Removes the active attribute from the menu before drawing the MenuItem.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the MenuItem element.\n- **afterDraw()** - Adds event listeners after drawing the MenuItem.\n- **collapseItem(native: _HTMLElement_): _HTMLElement_** - Creates a tooltip for the MenuItem when it is collapsed.\n- **showSubmenu()** - Shows the submenu of the MenuItem.\n- **hideSubmenu()** - Hides the submenu of the MenuItem.\n- **submenuToggle(e: _Event_)** - Toggles the active state of the submenu element.\nIf the submenu is not active, it sets the \"active\" attribute.\nIf the submenu is already active, it removes the \"active\" attribute.\n- **deactivateSubmenu()** - Deactivates the submenu by removing the \"active\" attribute.\n- **activateSubmenu()** - Activates the submenu of the menu item.\n- **beforeDisconnect()** - Clears the innerHTML of the context before disconnecting the MenuItem.\n\n### **Slots:**\n - _default_ - The default slot for the menu item.\n- **start** - The slot for the start of the menu item.\n- **end** - The slot for the end of the menu item.\n- **submenu** - The slot for the submenu of the menu item.\n\n### **CSS Properties:**\n - **--wje-menu-item-color** - The color of the menu item. _(default: var(--wje-color))_\n- **--wje-menu-item-background** - The background of the menu item. _(default: transparent)_\n- **--wje-menu-item-color-hover** - The color of the menu item when hovered. _(default: var(--wje-color-contrast-8))_\n- **--wje-menu-item-background-hover** - The background of the menu item when hovered. _(default: var(--wje-border-color))_\n- **--wje-menu-item-color-focus** - The color of the menu item when focused. _(default: var(--wje-color-contrast-8))_\n- **--wje-menu-item-background-focus** - The background of the menu item when focused. _(default: var(--wje-border-color))_\n- **--wje-menu-item-color-active** - The color of the menu item when active. _(default: var(--wje-color-contrast-8))_\n- **--wje-menu-item-background-active** - The background of the menu item when active. _(default: var(--wje-border-color))_\n- **--wje-menu-item-padding-top** - The padding top of the menu item. _(default: .5rem)_\n- **--wje-menu-item-padding-bottom** - The padding bottom of the menu item. _(default: .5rem)_\n- **--wje-menu-item-line-height** - The line height of the menu item. _(default: 1.8rem)_\n- **--wje-menu-submenu-offset** - The offset of the submenu. _(default: 0)_\n- **--wje-menu-item-icon-visibility** - The visibility of the icon. _(default: hidden)_\n- **--wje-menu-item-safe-triangle-cursor-x** - The x-coordinate of the cursor for the safe triangle. _(default: undefined)_\n- **--wje-menu-item-safe-triangle-cursor-y** - The y-coordinate of the cursor for the safe triangle. _(default: undefined)_\n- **--wje-menu-item-safe-triangle-submenu-start-x** - The x-coordinate of the start of the submenu for the safe triangle. _(default: undefined)_\n- **--wje-menu-item-safe-triangle-submenu-start-y** - The y-coordinate of the start of the submenu for the safe triangle. _(default: undefined)_\n- **--wje-menu-item-safe-triangle-submenu-end-x** - The x-coordinate of the end of the submenu for the safe triangle. _(default: undefined)_\n- **--wje-menu-item-safe-triangle-submenu-end-y** - The y-coordinate of the end of the submenu for the safe triangle. _(default: undefined)_\n\n### **CSS Parts:**\n - **native** - The native part of the menu item.\n- **submenu** - The submenu part of the menu item.",
1762
- "doc-url": "",
1763
- "attributes": [],
1764
- "slots": [
1765
- {
1766
- "name": "",
1767
- "description": "The default slot for the menu item."
1768
- },
1769
- {
1770
- "name": "start",
1771
- "description": "The slot for the start of the menu item."
1772
- },
1773
- {
1774
- "name": "end",
1775
- "description": "The slot for the end of the menu item."
1776
- },
1777
- {
1778
- "name": "submenu",
1779
- "description": "The slot for the submenu of the menu item."
1780
- }
1781
- ],
1782
- "events": [],
1783
- "js": {
1784
- "properties": [
1785
- {
1786
- "name": "placement",
1787
- "description": "Getter for placement attribute.",
1788
- "value": {}
1789
- },
1790
- {
1791
- "name": "offset",
1792
- "description": "Getter for offset attribute.",
1793
- "value": {}
1794
- },
1795
- {
1796
- "name": "variant",
1797
- "description": "Getter for variant attribute.",
1798
- "value": {}
1799
- },
1800
- {
1801
- "name": "collapse",
1802
- "description": "Getter for collapse attribute.",
1803
- "value": {}
1804
- },
1805
- { "name": "className", "value": { "type": "string" } },
1806
- {
1807
- "name": "cssStyleSheet",
1808
- "description": "Getter for cssStyleSheet.",
1809
- "value": {}
1810
- },
1811
- {
1812
- "name": "setupAttributes",
1813
- "description": "Sets up the attributes for the MenuItem element.",
1814
- "value": {}
1815
- },
1816
- {
1817
- "name": "beforeDraw",
1818
- "description": "Removes the active attribute from the menu before drawing the MenuItem.",
1819
- "value": {}
1820
- },
1821
- {
1822
- "name": "draw",
1823
- "description": "Draws the MenuItem element.",
1824
- "value": {}
1825
- },
1826
- {
1827
- "name": "afterDraw",
1828
- "description": "Adds event listeners after drawing the MenuItem.",
1829
- "value": {}
1830
- },
1831
- {
1832
- "name": "shouldHideSubmenu",
1833
- "description": "Checks if the submenu should be hidden based on the event.",
1834
- "value": {}
1835
- },
1836
- {
1837
- "name": "collapseItem",
1838
- "description": "Creates a tooltip for the MenuItem when it is collapsed.",
1839
- "value": {}
1840
- },
1841
- {
1842
- "name": "dispatchMove",
1843
- "description": "Dispatches a mousemove event.",
1844
- "value": {}
1845
- },
1846
- {
1847
- "name": "dispatchReposition",
1848
- "description": "Dispatches a reposition event.",
1849
- "value": {}
1850
- },
1851
- {
1852
- "name": "showSubmenu",
1853
- "description": "Shows the submenu of the MenuItem.",
1854
- "value": {}
1855
- },
1856
- {
1857
- "name": "hideSubmenu",
1858
- "description": "Hides the submenu of the MenuItem.",
1859
- "value": {}
1860
- },
1861
- {
1862
- "name": "submenuToggle",
1863
- "description": "Toggles the active state of the submenu element.\nIf the submenu is not active, it sets the \"active\" attribute.\nIf the submenu is already active, it removes the \"active\" attribute.",
1864
- "value": {}
1865
- },
1866
- {
1867
- "name": "deactivateSubmenu",
1868
- "description": "Deactivates the submenu by removing the \"active\" attribute.",
1869
- "value": {}
1870
- },
1871
- {
1872
- "name": "activateSubmenu",
1873
- "description": "Activates the submenu of the menu item.",
1874
- "value": {}
1875
- },
1876
- {
1877
- "name": "beforeDisconnect",
1878
- "description": "Clears the innerHTML of the context before disconnecting the MenuItem.",
1879
- "value": {}
1880
- },
1881
- { "name": "getTextFromElement", "value": {} },
1882
- { "name": "_collapsible", "value": { "type": "boolean" } }
1883
- ],
1884
- "events": []
1885
- }
1886
- },
1887
- {
1888
- "name": "wje-menu-label",
1889
- "description": "This element represents a menu label.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - The default slot for the menu label.\n\n### **CSS Properties:**\n - **--wje-menu-label-font-size** - The font size of the menu label. _(default: .75rem)_\n- **--wje-menu-label-weight** - The font weight of the menu label. _(default: 600)_\n- **--wje-letter-spacing** - The letter spacing of the menu label. _(default: .025rem)_\n- **--wje-menu-label-color** - The color of the menu label. _(default: var(--wje-color-contrast-6))_\n- **--wje-padding-top** - The top padding of the menu label. _(default: 0)_\n- **--wje-padding-bottom** - The bottom padding of the menu label. _(default: 0)_\n- **--wje-padding-start** - The start padding of the menu label. _(default: 1.5rem)_\n- **--wje-padding-end** - The end padding of the menu label. _(default: 1.5rem)_\n\n### **CSS Parts:**\n - **native** - The native part of the menu label.",
1890
- "doc-url": "",
1891
- "attributes": [],
1892
- "slots": [
1893
- {
1894
- "name": "",
1895
- "description": "The default slot for the menu label."
1896
- }
1897
- ],
1898
- "events": [],
1899
- "js": {
1900
- "properties": [
1901
- { "name": "className", "value": { "type": "string" } },
1902
- {
1903
- "name": "cssStyleSheet",
1904
- "description": "Returns the CSS styles for the component.",
1905
- "value": {}
1906
- },
1907
- {
1908
- "name": "setupAttributes",
1909
- "description": "Sets up the attributes for the component.",
1910
- "value": {}
1911
- },
1912
- {
1913
- "name": "draw",
1914
- "description": "Draws the component.",
1915
- "value": {}
1916
- },
1917
- { "name": "hasSubmenu", "value": {} }
1918
- ],
1919
- "events": []
1920
- }
1921
- },
1922
- {
1923
- "name": "wje-option",
1924
- "description": "This element represents an option.\n---\n\n\n### **Events:**\n - **wje:option-change** - Event fired when the option is clicked.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Adds event listeners after the component is drawn.\n\n### **Slots:**\n - **start** - The slot for the start of the option.\n- _default_ - The default slot for the option.\n- **end** - The slot for the end of the option.\n\n### **CSS Parts:**\n - **native** - The native part of the option.",
1925
- "doc-url": "",
1926
- "attributes": [],
1927
- "slots": [
1928
- {
1929
- "name": "start",
1930
- "description": "The slot for the start of the option."
1931
- },
1932
- { "name": "", "description": "The default slot for the option." },
1933
- {
1934
- "name": "end",
1935
- "description": "The slot for the end of the option."
1936
- }
1937
- ],
1938
- "events": [
1939
- {
1940
- "name": "wje:option-change",
1941
- "description": "Event fired when the option is clicked."
1942
- }
1943
- ],
1944
- "js": {
1945
- "properties": [
1946
- {
1947
- "name": "depandencies",
1948
- "description": "Dependencies of the Option component.",
1949
- "value": { "type": "object" }
1950
- },
1951
- {
1952
- "name": "selected",
1953
- "description": "Sets the selected attribute of the option.",
1954
- "value": {}
1955
- },
1956
- {
1957
- "name": "value",
1958
- "description": "Sets the value attribute of the option.",
1959
- "value": {}
1960
- },
1961
- {
1962
- "name": "text",
1963
- "description": "Sets the text content of the option.",
1964
- "value": {}
1965
- },
1966
- { "name": "className", "value": { "type": "string" } },
1967
- {
1968
- "name": "cssStyleSheet",
1969
- "description": "Returns the CSS styles for the component.",
1970
- "value": {}
1971
- },
1972
- {
1973
- "name": "setupAttributes",
1974
- "description": "Sets up the attributes for the component.",
1975
- "value": {}
1976
- },
1977
- {
1978
- "name": "draw",
1979
- "description": "Draws the component.",
1980
- "value": {}
1981
- },
1982
- {
1983
- "name": "afterDraw",
1984
- "description": "Adds event listeners after the component is drawn.",
1985
- "value": {}
1986
- }
1987
- ],
1988
- "events": [
1989
- {
1990
- "name": "wje:option-change",
1991
- "description": "Event fired when the option is clicked."
1992
- }
1993
- ]
1994
- }
1995
- },
1996
- {
1997
- "name": "wje-options",
1998
- "description": "This element represents a set of options.\n---\n\n\n### **Events:**\n - **wje-options:load** - Event fired when the options are loaded.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw()** - Prepares the component before drawing.\nFetches the pages and creates the options elements.\n- **getPages(page: _number_): _Promise<Object>_** - Fetches the pages from the provided URL.",
1999
- "doc-url": "",
2000
- "attributes": [],
2001
- "events": [
2002
- {
2003
- "name": "wje-options:load",
2004
- "description": "Event fired when the options are loaded."
2005
- }
2006
- ],
2007
- "js": {
2008
- "properties": [
2009
- { "name": "depandencies", "value": { "type": "object" } },
2010
- { "name": "className", "value": { "type": "string" } },
2011
- {
2012
- "name": "setupAttributes",
2013
- "description": "Sets up the attributes for the component.",
2014
- "value": {}
2015
- },
2016
- {
2017
- "name": "beforeDraw",
2018
- "description": "Prepares the component before drawing.\nFetches the pages and creates the options elements.",
2019
- "value": {}
2020
- },
2021
- {
2022
- "name": "getPages",
2023
- "description": "Fetches the pages from the provided URL.",
2024
- "value": {}
2025
- }
2026
- ],
2027
- "events": [
2028
- {
2029
- "name": "wje-options:load",
2030
- "description": "Event fired when the options are loaded."
2031
- }
2032
- ]
2033
- }
2034
- },
2035
- {
2036
- "name": "wje-popup",
2037
- "description": "This element represents a popup.\n---\n\n\n### **Events:**\n - **wje-popup:reposition** - Event fired when the popup is repositioned.\n- **wje-popup:show** - Event fired when the popup is shown.\n- **wje-popup:hide** - Event fired when the popup is hidden.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **setAnchor()** - Sets the anchor for the popup.\nAdds a click event listener to the anchor element.\n- **showHide()** - Toggles the active attribute of the popup.\n- **reposition()** - Repositions the popup.\nUses the floating-ui library to compute the position.\n- **show()** - Shows the popup.\nAdds the popup-active class to the native element.\nSets up auto update for repositioning.\n- **hide()** - Hides the popup.\nRemoves the popup-active class from the native element.\nCleans up the auto update for repositioning.\n- **onHide()** - Removes the active attribute when the popup is hidden.\n\n### **Slots:**\n - **anchor** - The slot for the anchor of the popup.\n- **arrow** - The slot for the arrow of the popup.\n- _default_ - The default slot for the popup.\n\n### **CSS Parts:**\n - **native** - The native part of the popup.",
2038
- "doc-url": "",
2039
- "attributes": [{ "name": "active", "value": { "type": "string" } }],
2040
- "slots": [
2041
- {
2042
- "name": "anchor",
2043
- "description": "The slot for the anchor of the popup."
2044
- },
2045
- {
2046
- "name": "arrow",
2047
- "description": "The slot for the arrow of the popup."
2048
- },
2049
- { "name": "", "description": "The default slot for the popup." }
2050
- ],
2051
- "events": [
2052
- {
2053
- "name": "wje-popup:reposition",
2054
- "description": "Event fired when the popup is repositioned."
2055
- },
2056
- {
2057
- "name": "wje-popup:show",
2058
- "description": "Event fired when the popup is shown."
2059
- },
2060
- {
2061
- "name": "wje-popup:hide",
2062
- "description": "Event fired when the popup is hidden."
2063
- }
2064
- ],
2065
- "js": {
2066
- "properties": [{ "name": "active", "value": {} }],
2067
- "events": [
2068
- {
2069
- "name": "wje-popup:reposition",
2070
- "description": "Event fired when the popup is repositioned."
2071
- },
2072
- {
2073
- "name": "wje-popup:show",
2074
- "description": "Event fired when the popup is shown."
2075
- },
2076
- {
2077
- "name": "wje-popup:hide",
2078
- "description": "Event fired when the popup is hidden."
2079
- }
2080
- ]
2081
- }
2082
- },
2083
- {
2084
- "name": "wje-progress-bar",
2085
- "description": "This element represents a progress bar.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw(context, store, params)** - Adds event listeners after the component is drawn.\n- **getCircleDasharray(radius: _number_): _number_** - Returns the dasharray for a circle with the given radius.\n- **getCircleDashoffset(progress: _number_, radius: _number_): _number_** - Returns the dashoffset for a circle with the given progress and radius.\n\n### **Slots:**\n - _default_ - The default slot for the progress bar.\n- **start** - The start slot of the progress bar.\n- **end** - The end slot of the progress bar.\n\n### **CSS Properties:**\n - **[--wje-progress-bar-color=var(--wje-color-contrast-6)]-** - The color of the progress bar. _(default: undefined)_\n- **--wje-progress-bar-text-size** - The size of the text in the progress bar. _(default: .75rem)_\n- **--wje-progress-bar-text-color** - The color of the text in the progress bar. _(default: var(--wje-color))_",
2086
- "doc-url": "",
2087
- "attributes": [{ "name": "progress", "value": { "type": "string" } }],
2088
- "slots": [
2089
- {
2090
- "name": "",
2091
- "description": "The default slot for the progress bar."
2092
- },
2093
- {
2094
- "name": "start",
2095
- "description": "The start slot of the progress bar."
2096
- },
2097
- {
2098
- "name": "end",
2099
- "description": "The end slot of the progress bar."
2100
- }
2101
- ],
2102
- "events": [],
2103
- "js": {
2104
- "properties": [{ "name": "progress", "value": {} }],
2105
- "events": []
2106
- }
2107
- },
2108
- {
2109
- "name": "wje-panel",
2110
- "description": "This element represents a panel.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Adds event listeners after the component is drawn.\nHandles the collapsing of breadcrumbs.\n- **getBreadcrumbs(): _Array<Element>_** - Returns all the breadcrumb elements in the panel.\n\n### **Slots:**\n - _default_ - The default slot for the panel.",
2111
- "doc-url": "",
2112
- "attributes": [],
2113
- "slots": [
2114
- { "name": "", "description": "The default slot for the panel." }
2115
- ],
2116
- "events": [],
2117
- "js": {
2118
- "properties": [
2119
- { "name": "className", "value": { "type": "string" } },
2120
- {
2121
- "name": "cssStyleSheet",
2122
- "description": "Returns the CSS styles for the component.",
2123
- "value": {}
2124
- },
2125
- {
2126
- "name": "setupAttributes",
2127
- "description": "Sets up the attributes for the component.",
2128
- "value": {}
2129
- },
2130
- {
2131
- "name": "draw",
2132
- "description": "Draws the component.",
2133
- "value": {}
2134
- },
2135
- {
2136
- "name": "afterDraw",
2137
- "description": "Adds event listeners after the component is drawn.\nHandles the collapsing of breadcrumbs.",
2138
- "value": {}
2139
- },
2140
- {
2141
- "name": "getBreadcrumbs",
2142
- "description": "Returns all the breadcrumb elements in the panel.",
2143
- "value": {}
2144
- },
2145
- { "name": "last", "value": { "type": "boolean" } }
2146
- ],
2147
- "events": []
2148
- }
2149
- },
2150
- {
2151
- "name": "wje-rate",
2152
- "description": "This element represents a rating component.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Adds event listeners after the component is drawn.\n- **createIcons(i: _number_): _Element_** - Creates the icons for the rating component.\n- **changeRate()** - Changes the rate of the rating component.\n- **getIcons(index: _number_): _Element_** - Returns the icons for the rating component.\n- **getValueFromXPosition(coordinate: _number_): _number_** - Returns the value from the x position.\n- **roundToPrecision(numberToRound: _number_, precision: _number_): _number_** - Rounds a number to the given precision.\n\n### **CSS Properties:**\n - **--wje-rate-gap** - The gap of the rating component. _(default: .25rem;)_\n\n### **CSS Parts:**\n - **native** - The native part of the rating component.",
2153
- "doc-url": "",
2154
- "attributes": [{ "name": "is-hover", "value": { "type": "string" } }],
2155
- "events": [],
2156
- "js": {
2157
- "properties": [{ "name": "is-hover", "value": {} }],
2158
- "events": []
2159
- }
2160
- },
2161
- {
2162
- "name": "wje-radio",
2163
- "description": "\n---\n",
2164
- "doc-url": "",
2165
- "attributes": [{ "name": "checked", "value": { "type": "string" } }],
2166
- "events": [],
2167
- "js": {
2168
- "properties": [{ "name": "checked", "value": {} }],
2169
- "events": []
2170
- }
2171
- },
2172
- {
2173
- "name": "wje-radio-group",
2174
- "description": "This element represents a group of radio buttons.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Adds event listeners after the component is drawn.\nHandles the selection of radio buttons.\n- **getRadioByValue(value: _string_): _Radio_** - Returns the radio button with the given value.\n- **removeCheck()** - Removes the check from all radio buttons.\n- **setRadioToChekced(radio: _Radio_)** - Sets the given radio button to checked.\n- **getAllElements(): _Array<Element>_** - Returns all the elements in the radio group.\n\n### **Slots:**\n - _default_ - The default slot for the radio group.",
2175
- "doc-url": "",
2176
- "attributes": [],
2177
- "slots": [
2178
- {
2179
- "name": "",
2180
- "description": "The default slot for the radio group."
2181
- }
2182
- ],
2183
- "events": [],
2184
- "js": {
2185
- "properties": [
2186
- { "name": "className", "value": { "type": "string" } },
2187
- {
2188
- "name": "cssStyleSheet",
2189
- "description": "Returns the CSS styles for the component.",
2190
- "value": {}
2191
- },
2192
- {
2193
- "name": "setupAttributes",
2194
- "description": "Sets up the attributes for the component.",
2195
- "value": {}
2196
- },
2197
- {
2198
- "name": "draw",
2199
- "description": "Draws the component.",
2200
- "value": {}
2201
- },
2202
- {
2203
- "name": "afterDraw",
2204
- "description": "Adds event listeners after the component is drawn.\nHandles the selection of radio buttons.",
2205
- "value": {}
2206
- },
2207
- {
2208
- "name": "getRadioByValue",
2209
- "description": "Returns the radio button with the given value.",
2210
- "value": {}
2211
- },
2212
- {
2213
- "name": "removeCheck",
2214
- "description": "Removes the check from all radio buttons.",
2215
- "value": {}
2216
- },
2217
- {
2218
- "name": "setRadioToChekced",
2219
- "description": "Sets the given radio button to checked.",
2220
- "value": {}
2221
- },
2222
- {
2223
- "name": "getAllElements",
2224
- "description": "Returns all the elements in the radio group.",
2225
- "value": {}
2226
- }
2227
- ],
2228
- "events": []
2229
- }
2230
- },
2231
- {
2232
- "name": "wje-relative-time",
2233
- "description": "This element represents a relative time component.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **getRelativeTimeString(date: _string_, lang: _string_): _string_** - Returns the relative time string for the given date.\n- **isISODate(str: _string_): _boolean_** - Checks if the given string is an ISO date.\n\n### **CSS Parts:**\n - **native** - The native part of the relative time component.",
2234
- "doc-url": "",
2235
- "attributes": [{ "value": { "type": "string" } }],
2236
- "events": [],
2237
- "js": { "properties": [{ "name": "", "value": {} }], "events": [] }
2238
- },
2239
- {
2240
- "name": "wje-qr-code",
2241
- "description": "\n---\n",
2242
- "doc-url": "",
2243
- "attributes": [
2244
- { "name": "value", "value": { "type": "string" } },
2245
- { "name": "background", "value": { "type": "string" } },
2246
- { "name": "backgroundAlpha", "value": { "type": "string" } },
2247
- { "name": "foreground", "value": { "type": "string" } },
2248
- { "name": "foregroundAlpha", "value": { "type": "string" } },
2249
- { "name": "level", "value": { "type": "string" } },
2250
- { "name": "padding", "value": { "type": "string" } },
2251
- { "name": "size", "value": { "type": "string" } }
2252
- ],
2253
- "events": [],
2254
- "js": {
2255
- "properties": [
2256
- { "name": "value", "value": {} },
2257
- { "name": "background", "value": {} },
2258
- { "name": "backgroundAlpha", "value": {} },
2259
- { "name": "foreground", "value": {} },
2260
- { "name": "foregroundAlpha", "value": {} },
2261
- { "name": "level", "value": {} },
2262
- { "name": "padding", "value": {} },
2263
- { "name": "size", "value": {} }
2264
- ],
2265
- "events": []
2266
- }
2267
- },
2268
- {
2269
- "name": "wje-reorder-dropzone",
2270
- "description": "\n---\n",
2271
- "doc-url": "",
2272
- "attributes": [],
2273
- "events": [],
2274
- "js": {
2275
- "properties": [
2276
- { "name": "className", "value": { "type": "string" } },
2277
- { "name": "cssStyleSheet", "value": {} },
2278
- { "name": "setupAttributes", "value": {} },
2279
- { "name": "draw", "value": {} }
2280
- ],
2281
- "events": []
2282
- }
2283
- },
2284
- {
2285
- "name": "wje-reorder",
2286
- "description": "\n---\n\n\n### **Events:**\n - **wje-reorder:change** - undefined\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.",
2287
- "doc-url": "",
2288
- "attributes": [],
2289
- "events": [{ "name": "wje-reorder:change" }],
2290
- "js": {
2291
- "properties": [
2292
- { "name": "className", "value": { "type": "string" } },
2293
- {
2294
- "name": "cssStyleSheet",
2295
- "description": "Returns the CSS styles for the component.",
2296
- "value": {}
2297
- },
2298
- {
2299
- "name": "setupAttributes",
2300
- "description": "Sets up the attributes for the component.",
2301
- "value": {}
2302
- },
2303
- { "name": "draw", "value": {} },
2304
- { "name": "afterDraw", "value": {} },
2305
- { "name": "attachEventListeners", "value": {} },
2306
- { "name": "onMouseDown", "value": {} },
2307
- { "name": "onTouchStart", "value": {} },
2308
- { "name": "startDragging", "value": {} },
2309
- { "name": "onMouseMove", "value": {} },
2310
- { "name": "onTouchMove", "value": {} },
2311
- { "name": "moveElement", "value": {} },
2312
- { "name": "onMouseUp", "value": {} },
2313
- { "name": "onTouchEnd", "value": {} },
2314
- { "name": "stopDragging", "value": {} },
2315
- { "name": "onDragStart", "value": {} },
2316
- { "name": "createClone", "value": {} },
2317
- { "name": "isMovingDown", "value": {} },
2318
- { "name": "dispatchChange", "value": {} },
2319
- { "name": "dragEl", "value": { "type": "null" } },
2320
- { "name": "items", "value": { "type": "array" } },
2321
- { "name": "originalIndex", "value": { "type": "null" } },
2322
- { "name": "isDragging", "value": { "type": "boolean" } },
2323
- { "name": "offsetX", "value": { "type": "number" } },
2324
- { "name": "offsetY", "value": { "type": "number" } },
2325
- { "name": "cloneEl", "value": { "type": "null" } }
2326
- ],
2327
- "events": [{ "name": "wje-reorder:change" }]
2328
- }
2329
- },
2330
- {
2331
- "name": "wje-route",
2332
- "description": "This element represents a route in a routing system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.",
2333
- "doc-url": "",
2334
- "attributes": [],
2335
- "events": [],
2336
- "js": {
2337
- "properties": [
2338
- { "name": "className", "value": { "type": "string" } },
2339
- {
2340
- "name": "setupAttributes",
2341
- "description": "Sets up the attributes for the component.",
2342
- "value": {}
2343
- },
2344
- {
2345
- "name": "draw",
2346
- "description": "Draws the component.",
2347
- "value": {}
2348
- }
2349
- ],
2350
- "events": []
2351
- }
2352
- },
2353
- {
2354
- "name": "wje-reorder-item",
2355
- "description": "\n---\n",
2356
- "doc-url": "",
2357
- "attributes": [],
2358
- "events": [],
2359
- "js": {
2360
- "properties": [
2361
- { "name": "className", "value": { "type": "string" } },
2362
- { "name": "cssStyleSheet", "value": {} },
2363
- { "name": "setupAttributes", "value": {} },
2364
- { "name": "draw", "value": {} }
2365
- ],
2366
- "events": []
2367
- }
2368
- },
2369
- {
2370
- "name": "wje-router-link",
2371
- "description": "This element represents a router link in a routing system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **beforeDisconnect()** - Cleans up before the component is disconnected.\n\n### **Slots:**\n - _default_ - The default slot for the router link.",
2372
- "doc-url": "",
2373
- "attributes": [],
2374
- "slots": [
2375
- {
2376
- "name": "",
2377
- "description": "The default slot for the router link."
2378
- }
2379
- ],
2380
- "events": [],
2381
- "js": {
2382
- "properties": [
2383
- { "name": "className", "value": { "type": "string" } },
2384
- {
2385
- "name": "cssStyleSheet",
2386
- "description": "Returns the CSS styles for the component.",
2387
- "value": {}
2388
- },
2389
- {
2390
- "name": "setupAttributes",
2391
- "description": "Sets up the attributes for the component.",
2392
- "value": {}
2393
- },
2394
- {
2395
- "name": "draw",
2396
- "description": "Draws the component.",
2397
- "value": {}
2398
- },
2399
- {
2400
- "name": "beforeDisconnect",
2401
- "description": "Cleans up before the component is disconnected.",
2402
- "value": {}
2403
- },
2404
- { "name": "unbindRouterLinks", "value": {} }
2405
- ],
2406
- "events": []
2407
- }
2408
- },
2409
- {
2410
- "name": "wje-router-outlet",
2411
- "description": "This element represents a route in a routing system.\n---\n",
2412
- "doc-url": "",
2413
- "attributes": [],
2414
- "events": [],
2415
- "js": {
2416
- "properties": [
2417
- { "name": "className", "value": { "type": "string" } }
2418
- ],
2419
- "events": []
2420
- }
2421
- },
2422
- {
2423
- "name": "wje-router",
2424
- "description": "This element represents a router in a routing system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **afterDraw()** - Sets up the router after the component is drawn.\n- **parseElement(element: _Element_): _Object_** - Parses an element and returns an object representation.\n- **beforeDisconnect()** - Cleans up before the component is disconnected.",
2425
- "doc-url": "",
2426
- "attributes": [],
2427
- "events": [],
2428
- "js": {
2429
- "properties": [
2430
- { "name": "className", "value": { "type": "string" } },
2431
- {
2432
- "name": "setupAttributes",
2433
- "description": "Sets up the attributes for the component.",
2434
- "value": {}
2435
- },
2436
- {
2437
- "name": "afterDraw",
2438
- "description": "Sets up the router after the component is drawn.",
2439
- "value": {}
2440
- },
2441
- {
2442
- "name": "parseElement",
2443
- "description": "Parses an element and returns an object representation.",
2444
- "value": {}
2445
- },
2446
- {
2447
- "name": "setBreadcrumb",
2448
- "description": "Sets the breadcrumb for the transition.",
2449
- "value": {}
2450
- },
2451
- {
2452
- "name": "resetScrollPosition",
2453
- "description": "Resets the scroll position.",
2454
- "value": {}
2455
- },
2456
- {
2457
- "name": "beforeDisconnect",
2458
- "description": "Cleans up before the component is disconnected.",
2459
- "value": {}
2460
- }
2461
- ],
2462
- "events": []
2463
- }
2464
- },
2465
- {
2466
- "name": "wje-slider",
2467
- "description": "This element represents a slider input.\n---\n\n\n### **Events:**\n - **wje:slider-init** - Dispatched when the slider is initialized.\n- **wje:slider-move** - Dispatched when the slider value is changed.\n- **wje:slider-change** - Dispatched when the slider value is changed and the change is committed.\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Sets up the event listeners after the component is drawn.\n- **getPercentage(value: _number_, min: _number_, max: _number_): _number_** - Returns the percentage of the slider value.\n\n### **Slots:**\n - **label** - Slot for the label of the slider.\n- **start** - Slot for the start value of the slider.\n- **end** - Slot for the end value of the slider.\n\n### **CSS Properties:**\n - **--wje-slider-thumb-color** - The color of the slider thumb. _(default: #000000)_\n- **--wje-slider-thumb-shadow** - The shadow of the slider thumb. _(default: none)_\n- **--wje-slider-thumb-shadow-active** - The shadow of the active slider thumb. _(default: none)_\n- **--wje-slider-track-color** - The color of the slider track. _(default: #000000)_\n- **--wje-slider-track-height** - The height of the slider track. _(default: .25rem)_\n\n### **CSS Parts:**\n - **native** - The native slider wrapper.\n- **slider** - The slider input.",
2468
- "doc-url": "",
2469
- "attributes": [{ "name": "max", "value": { "type": "string" } }],
2470
- "slots": [
2471
- {
2472
- "name": "label",
2473
- "description": "Slot for the label of the slider."
2474
- },
2475
- {
2476
- "name": "start",
2477
- "description": "Slot for the start value of the slider."
2478
- },
2479
- {
2480
- "name": "end",
2481
- "description": "Slot for the end value of the slider."
2482
- }
2483
- ],
2484
- "events": [
2485
- {
2486
- "name": "wje:slider-init",
2487
- "description": "Dispatched when the slider is initialized."
2488
- },
2489
- {
2490
- "name": "wje:slider-move",
2491
- "description": "Dispatched when the slider value is changed."
2492
- },
2493
- {
2494
- "name": "wje:slider-change",
2495
- "description": "Dispatched when the slider value is changed and the change is committed."
2496
- }
2497
- ],
2498
- "js": {
2499
- "properties": [{ "name": "max", "value": {} }],
2500
- "events": [
2501
- {
2502
- "name": "wje:slider-init",
2503
- "description": "Dispatched when the slider is initialized."
2504
- },
2505
- {
2506
- "name": "wje:slider-move",
2507
- "description": "Dispatched when the slider value is changed."
2508
- },
2509
- {
2510
- "name": "wje:slider-change",
2511
- "description": "Dispatched when the slider value is changed and the change is committed."
2512
- }
2513
- ]
2514
- }
2515
- },
2516
- {
2517
- "name": "wje-reorder-handle",
2518
- "description": "\n---\n",
2519
- "doc-url": "",
2520
- "attributes": [
2521
- { "name": "dropzone", "value": { "type": "string" } },
2522
- { "name": "parent", "value": { "type": "string" } }
2523
- ],
2524
- "events": [],
2525
- "js": {
2526
- "properties": [
2527
- { "name": "dropzone", "value": {} },
2528
- { "name": "parent", "value": {} }
2529
- ],
2530
- "events": []
2531
- }
2532
- },
2533
- {
2534
- "name": "wje-select",
2535
- "description": "This element represents a select input.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw(context: _Object_, store: _Object_, params: _Object_)** - Sets up the event listeners after the component is drawn.\n- **getAllOptions(): _NodeList_** - Returns all the options as HTML.\n- **getSelectedOptions(): _NodeList_** - Returns the selected options as HTML.\n- **getSelected(option: _Element_): _Array_** - Returns the selected options.\n- **selectionChanged(option: _Element_, length: _number_)** - Handles the selection change.\n- **selections(option: _Element_)** - Handles the selections.\n- **counter()** - Handles the counter.\n- **getChip(option: _Element_): _Element_** - Returns a chip element.\n\n### **Slots:**\n - _default_ - The default slot for the select.\n- **anchor** - The slot for the anchor.\n- **arrow** - The slot for the arrow.\n\n### **CSS Properties:**\n - **--wje-select-border-width** - The border width of the select component. _(default: 1px;)_\n- **--wje-select-border-style** - The border style of the select component. _(default: solid;)_\n- **--wje-select-border-color** - The border color of the select component. _(default: var(--wje-border-color);)_\n- **--wje-select-options-border-width** - The border width of the select options. _(default: 1px;)_\n- **--wje-select-options-border-style** - The border style of the select options. _(default: var(--wje-border-style);)_\n- **--wje-select-options-border-color** - The border color of the select options. _(default: var(--wje-border-color);)_\n- **--wje-select-background** - The background of the select component. _(default: var(--wje-background);)_\n- **--wje-select-line-height** - The line height of the select component. _(default: 20px;)_\n- **--wje-select-color** - The color of the select component. _(default: var(--wje-color);)_\n- **--wje-select-border-radius** - The border radius of the select component. _(default: var(--wje-border-radius-medium);)_\n\n### **CSS Parts:**\n - **native** - The native select wrapper.\n- **input** - The input field.\n- **clear** - The clear button.",
2536
- "doc-url": "",
2537
- "attributes": [
2538
- { "name": "active", "value": { "type": "string" } },
2539
- { "name": "value", "value": { "type": "string" } }
2540
- ],
2541
- "slots": [
2542
- { "name": "", "description": "The default slot for the select." },
2543
- { "name": "anchor", "description": "The slot for the anchor." },
2544
- { "name": "arrow", "description": "The slot for the arrow." }
2545
- ],
2546
- "events": [],
2547
- "js": {
2548
- "properties": [
2549
- { "name": "active", "value": {} },
2550
- { "name": "value", "value": {} }
2551
- ],
2552
- "events": []
2553
- }
2554
- },
2555
- {
2556
- "name": "wje-split-view",
2557
- "description": "This element represents a split view.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Sets up the event listeners after the component is drawn.\n- **detectSize()** - Detects the size of the split view.\n- **pixelsToPercentage(value: _number_): _number_** - Converts pixels to a percentage.\n\n### **Slots:**\n - **start** - Slot for the start view.\n- **end** - Slot for the end view.\n- **divider** - Slot for the divider.\n\n### **CSS Properties:**\n - **--wje-split-view-divider-area** - The area of the divider. _(default: 12px)_\n- **--wje-split-view-divider-width** - The width of the divider. _(default: 4px)_\n- **--wje-split-view-min** - The minimum size of the split view. _(default: 0%)_\n- **--wje-split-view-max** - The maximum size of the split view. _(default: 100%)_\n- **--wje-split-view-calc-a** - The calculated size of the first view. _(default: 50%)_\n- **--wje-split-view-calc-b** - The calculated size of the second view. _(default: 50%)_\n- **--wje-split-view-clamp-a** - The clamp for the first view. _(default: clamp(var(--wje-split-view-min), var(--wje-split-view-calc-a), var(--wje-split-view-max)))_\n- **-wje-split-view-clamp-b** - The clamp for the second view. _(default: clamp(var(--wje-split-view-min), var(--wje-split-view-calc-b), var(--wje-split-view-max)))_\n- **--wje-split-view-divider-background** - The background of the divider. _(default: var(--wje-border-color))_\n- **--wje-split-view-divider-size** - The size of the divider. _(default: 4px)_\n\n### **CSS Parts:**\n - **native-split-view** - The native split view wrapper.\n- **wje-divider** - The divider of the split view.",
2558
- "doc-url": "",
2559
- "attributes": [],
2560
- "slots": [
2561
- { "name": "start", "description": "Slot for the start view." },
2562
- { "name": "end", "description": "Slot for the end view." },
2563
- { "name": "divider", "description": "Slot for the divider." }
2564
- ],
2565
- "events": [],
2566
- "js": {
2567
- "properties": [
2568
- { "name": "className", "value": { "type": "string" } },
2569
- {
2570
- "name": "cssStyleSheet",
2571
- "description": "Returns the CSS styles for the component.",
2572
- "value": {}
2573
- },
2574
- {
2575
- "name": "setupAttributes",
2576
- "description": "Sets up the attributes for the component.",
2577
- "value": {}
2578
- },
2579
- {
2580
- "name": "draw",
2581
- "description": "Draws the component.",
2582
- "value": {}
2583
- },
2584
- {
2585
- "name": "afterDraw",
2586
- "description": "Sets up the event listeners after the component is drawn.",
2587
- "value": {}
2588
- },
2589
- {
2590
- "name": "handleDrag",
2591
- "description": "Handles the drag event.",
2592
- "value": {}
2593
- },
2594
- {
2595
- "name": "detectSize",
2596
- "description": "Detects the size of the split view.",
2597
- "value": {}
2598
- },
2599
- {
2600
- "name": "pixelsToPercentage",
2601
- "description": "Converts pixels to a percentage.",
2602
- "value": {}
2603
- }
2604
- ],
2605
- "events": []
2606
- }
2607
- },
2608
- {
2609
- "name": "wje-status",
2610
- "description": "This class represents an Status element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n\n### **Slots:**\n - _default_ - The status main content.",
2611
- "doc-url": "",
2612
- "attributes": [],
2613
- "slots": [{ "name": "", "description": "The status main content." }],
2614
- "events": [],
2615
- "js": {
2616
- "properties": [
2617
- {
2618
- "name": "className",
2619
- "description": "Class name",
2620
- "value": { "type": "string" }
2621
- },
2622
- {
2623
- "name": "cssStyleSheet",
2624
- "description": "Get CSS stylesheet",
2625
- "value": {}
2626
- },
2627
- {
2628
- "name": "setupAttributes",
2629
- "description": "Setup attributes",
2630
- "value": {}
2631
- },
2632
- { "name": "draw", "description": "Draw method", "value": {} }
2633
- ],
2634
- "events": []
2635
- }
2636
- },
2637
- {
2638
- "name": "wje-step",
2639
- "description": "\n---\n",
2640
- "doc-url": "",
2641
- "attributes": [],
2642
- "events": [],
2643
- "js": {
2644
- "properties": [
2645
- { "name": "className", "value": { "type": "string" } },
2646
- { "name": "cssStyleSheet", "value": {} },
2647
- { "name": "setupAttributes", "value": {} },
2648
- { "name": "draw", "value": {} }
2649
- ],
2650
- "events": []
2651
- }
2652
- },
2653
- {
2654
- "name": "wje-stepper",
2655
- "description": "\n---\n",
2656
- "doc-url": "",
2657
- "attributes": [],
2658
- "events": [],
2659
- "js": {
2660
- "properties": [
2661
- { "name": "className", "value": { "type": "string" } },
2662
- { "name": "cssStyleSheet", "value": {} },
2663
- { "name": "setupAttributes", "value": {} },
2664
- { "name": "draw", "value": {} },
2665
- { "name": "navigate", "value": {} },
2666
- { "name": "gotoStep", "value": {} },
2667
- { "name": "updateBadges", "value": {} },
2668
- { "name": "currentStep", "value": { "type": "number" } },
2669
- { "name": "completedSteps", "value": { "type": "array" } }
2670
- ],
2671
- "events": []
2672
- }
2673
- },
2674
- {
2675
- "name": "wje-row",
2676
- "description": "This element represents a row in a layout system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw(context: _Object_, store: _Object_, params: _Object_)** - Executes before the component is drawn.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - The default slot for the row.",
2677
- "doc-url": "",
2678
- "attributes": [],
2679
- "slots": [
2680
- { "name": "", "description": "The default slot for the row." }
2681
- ],
2682
- "events": [],
2683
- "js": {
2684
- "properties": [
2685
- { "name": "className", "value": { "type": "string" } },
2686
- {
2687
- "name": "cssStyleSheet",
2688
- "description": "Returns the CSS styles for the component.",
2689
- "value": {}
2690
- },
2691
- {
2692
- "name": "setupAttributes",
2693
- "description": "Sets up the attributes for the component.",
2694
- "value": {}
2695
- },
2696
- {
2697
- "name": "beforeDraw",
2698
- "description": "Executes before the component is drawn.",
2699
- "value": {}
2700
- },
2701
- {
2702
- "name": "draw",
2703
- "description": "Draws the component.",
2704
- "value": {}
2705
- }
2706
- ],
2707
- "events": []
2708
- }
2709
- },
2710
- {
2711
- "name": "wje-tab",
2712
- "description": "This element represents a tab.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Sets up the event listeners after the component is drawn.\n\n### **CSS Properties:**\n - **--wje-tab-text-transfrom** - The background of the tab. _(default: uppercase)_\n- **--wje-tab-font-weight** - The color of the tab. _(default: 500)_\n- **--wje-tab-letter-spacing** - The background of the tab. _(default: 0.06em)_\n- **--wje-tab-padding-inline** - The color of the tab. _(default: 1rem)_\n- **--wje-tab-padding-top** - The background of the tab. _(default: .75rem)_\n- **--wje-tab-padding-bottom** - The color of the tab. _(default: .75rem)_\n- **--wje-tab-color-active** - The background of the tab. _(default: var(--wje-color-primary-11))_\n- **--wje-tab-color-hover** - The color of the tab. _(default: var(--wje-color-primary-1))_",
2713
- "doc-url": "",
2714
- "attributes": [],
2715
- "events": [],
2716
- "js": {
2717
- "properties": [
2718
- {
2719
- "name": "className",
2720
- "description": "Returns the class name of the tab.",
2721
- "value": { "type": "string" }
2722
- },
2723
- {
2724
- "name": "cssStyleSheet",
2725
- "description": "Returns the CSS styles for the component.",
2726
- "value": {}
2727
- },
2728
- {
2729
- "name": "setupAttributes",
2730
- "description": "Sets up the attributes for the component.",
2731
- "value": {}
2732
- },
2733
- {
2734
- "name": "draw",
2735
- "description": "Draws the component.",
2736
- "value": {}
2737
- },
2738
- {
2739
- "name": "afterDraw",
2740
- "description": "Sets up the event listeners after the component is drawn.",
2741
- "value": {}
2742
- },
2743
- {
2744
- "name": "last",
2745
- "description": "Indicates whether this is the last tab.",
2746
- "value": { "type": "boolean" }
2747
- }
2748
- ],
2749
- "events": []
2750
- }
2751
- },
2752
- {
2753
- "name": "wje-textarea",
2754
- "description": "This element represents a textarea input.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Sets up the event listeners after the component is drawn.\n\n### **CSS Properties:**\n - **--wje-textarea-font-family** - The font family of the textarea. _(default: var(--wje-font-family))_\n- **--wje-textarea-background-color** - The background color of the textarea. _(default: var(--wje-background))_\n- **--wje-textarea-color** - The color of the textarea. _(default: var(--wje-color))_\n- **--wje-textarea-color-invalid** - The color of the textarea when invalid. _(default: var(--wje-color-danger))_\n- **--wje-textarea-border-width** - The border width of the textarea. _(default: 1px)_\n- **--wje-textarea-border-style** - The border style of the textarea. _(default: solid)_\n- **--wje-textarea-border-color** - The border color of the textarea. _(default: var(--wje-border-color))_\n- **--wje-textarea-border-color-focus** - The border color of the textarea when focused. _(default: var(--wje-color-primary))_\n- **--wje-textarea-border-radius** - The border radius of the textarea. _(default: 4px)_\n- **--wje-textarea-margin-bottom** - The margin bottom of the textarea. _(default: .5rem)_\n- **--wje-textarea-line-height** - The line height of the textarea. _(default: 20px)_\n- **--wje-textarea-padding** - The padding of the textarea. _(default: 0.5rem)_\n\n### **CSS Parts:**\n - **native** - The native textarea wrapper.\n- **input** - The textarea input.",
2755
- "doc-url": "",
2756
- "attributes": [{ "name": "checked", "value": { "type": "string" } }],
2757
- "events": [],
2758
- "js": {
2759
- "properties": [{ "name": "checked", "value": {} }],
2760
- "events": []
2761
- }
2762
- },
2763
- {
2764
- "name": "wje-tab-panel",
2765
- "description": "This element represents a tab panel.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - The default slot for the tab panel.",
2766
- "doc-url": "",
2767
- "attributes": [],
2768
- "slots": [
2769
- { "name": "", "description": "The default slot for the tab panel." }
2770
- ],
2771
- "events": [],
2772
- "js": {
2773
- "properties": [
2774
- {
2775
- "name": "className",
2776
- "description": "Returns the class name of the tab panel.",
2777
- "value": { "type": "string" }
2778
- },
2779
- {
2780
- "name": "cssStyleSheet",
2781
- "description": "Returns the CSS styles for the component.",
2782
- "value": {}
2783
- },
2784
- {
2785
- "name": "setupAttributes",
2786
- "description": "Sets up the attributes for the component.",
2787
- "value": {}
2788
- },
2789
- {
2790
- "name": "draw",
2791
- "description": "Draws the component.",
2792
- "value": {}
2793
- }
2794
- ],
2795
- "events": []
2796
- }
2797
- },
2798
- {
2799
- "name": "wje-tab-group",
2800
- "description": "This element represents a group of tabs.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n- **afterDraw()** - Sets up the event listeners after the component is drawn.\n- **removeActiveTab()** - Removes the active attribute from all tabs and panels.\n- **setActiveTab(tab: _string_)** - Sets the active tab and panel.\n- **getActiveTab(): _Element|null_** - Returns the currently active tab.\n- **getTabAll(): _Array<Element>_** - Returns all tabs.\n- **getPanelAll(): _Array<Element>_** - Returns all panels.\n\n### **Slots:**\n - _default_ - The default slot for the tab group.\n- **nav** - Slot for the navigation of the tab group.\n\n### **CSS Properties:**\n - **--wje-tab-group-padding** - The padding of the tab group. _(default: 1rem)_",
2801
- "doc-url": "",
2802
- "attributes": [],
2803
- "slots": [
2804
- {
2805
- "name": "",
2806
- "description": "The default slot for the tab group."
2807
- },
2808
- {
2809
- "name": "nav",
2810
- "description": "Slot for the navigation of the tab group."
2811
- }
2812
- ],
2813
- "events": [],
2814
- "js": {
2815
- "properties": [
2816
- { "name": "className", "value": { "type": "string" } },
2817
- {
2818
- "name": "cssStyleSheet",
2819
- "description": "Returns the CSS styles for the component.",
2820
- "value": {}
2821
- },
2822
- {
2823
- "name": "setupAttributes",
2824
- "description": "Sets up the attributes for the component.",
2825
- "value": {}
2826
- },
2827
- {
2828
- "name": "draw",
2829
- "description": "Draws the component.",
2830
- "value": {}
2831
- },
2832
- {
2833
- "name": "afterDraw",
2834
- "description": "Sets up the event listeners after the component is drawn.",
2835
- "value": {}
2836
- },
2837
- {
2838
- "name": "removeActiveTab",
2839
- "description": "Removes the active attribute from all tabs and panels.",
2840
- "value": {}
2841
- },
2842
- {
2843
- "name": "setActiveTab",
2844
- "description": "Sets the active tab and panel.",
2845
- "value": {}
2846
- },
2847
- {
2848
- "name": "getActiveTab",
2849
- "description": "Returns the currently active tab.",
2850
- "value": {}
2851
- },
2852
- {
2853
- "name": "getTabAll",
2854
- "description": "Returns all tabs.",
2855
- "value": {}
2856
- },
2857
- {
2858
- "name": "getPanelAll",
2859
- "description": "Returns all panels.",
2860
- "value": {}
2861
- }
2862
- ],
2863
- "events": []
2864
- }
2865
- },
2866
- {
2867
- "name": "wje-thumbnail",
2868
- "description": "Thumbnail class\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **beforeDraw(context: _Object_, store: _Object_, params: _Object_)** - Before draw method\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method\n\n### **Slots:**\n - **thumbnail-slot** - The slot for the thumbnail content.\n\n### **CSS Properties:**\n - **--wje-thumbnail-width** - The width of the thumbnail. _(default: 48px)_\n- **--wje-thumbnail-height** - The height of the thumbnail. _(default: 48px)_\n- **--wje-thumbnail-border-radius** - The border radius of the thumbnail. _(default: var(--wje-border-radius-medium))_",
2869
- "doc-url": "",
2870
- "attributes": [],
2871
- "slots": [
2872
- {
2873
- "name": "thumbnail-slot",
2874
- "description": "The slot for the thumbnail content."
2875
- }
2876
- ],
2877
- "events": [],
2878
- "js": {
2879
- "properties": [
2880
- {
2881
- "name": "className",
2882
- "description": "Class name",
2883
- "value": { "type": "string" }
2884
- },
2885
- {
2886
- "name": "cssStyleSheet",
2887
- "description": "Get CSS stylesheet",
2888
- "value": {}
2889
- },
2890
- {
2891
- "name": "setupAttributes",
2892
- "description": "Setup attributes",
2893
- "value": {}
2894
- },
2895
- {
2896
- "name": "beforeDraw",
2897
- "description": "Before draw method",
2898
- "value": {}
2899
- },
2900
- { "name": "draw", "description": "Draw method", "value": {} }
2901
- ],
2902
- "events": []
2903
- }
2904
- },
2905
- {
2906
- "name": "wje-timeline",
2907
- "description": "This element represents a timeline.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - Slot for the timeline items.\n\n### **CSS Parts:**\n - **native** - The native part of the rating component.",
2908
- "doc-url": "",
2909
- "attributes": [],
2910
- "slots": [
2911
- { "name": "", "description": "Slot for the timeline items." }
2912
- ],
2913
- "events": [],
2914
- "js": {
2915
- "properties": [
2916
- {
2917
- "name": "className",
2918
- "description": "Returns the class name of the tab.",
2919
- "value": { "type": "string" }
2920
- },
2921
- {
2922
- "name": "cssStyleSheet",
2923
- "description": "Returns the CSS styles for the component.",
2924
- "value": {}
2925
- },
2926
- {
2927
- "name": "setupAttributes",
2928
- "description": "Sets up the attributes for the component.",
2929
- "value": {}
2930
- },
2931
- {
2932
- "name": "draw",
2933
- "description": "Draws the component.",
2934
- "value": {}
2935
- }
2936
- ],
2937
- "events": []
2938
- }
2939
- },
2940
- {
2941
- "name": "wje-timeline-item",
2942
- "description": "This element represents a timeline item.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _Object_, store: _Object_, params: _Object_): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - Slot for the content of the timeline item.\n- **status** - Slot for the status of the timeline item.\n\n### **CSS Parts:**\n - **native** - The native part of the timeline item.",
2943
- "doc-url": "",
2944
- "attributes": [],
2945
- "slots": [
2946
- {
2947
- "name": "",
2948
- "description": "Slot for the content of the timeline item."
2949
- },
2950
- {
2951
- "name": "status",
2952
- "description": "Slot for the status of the timeline item."
2953
- }
2954
- ],
2955
- "events": [],
2956
- "js": {
2957
- "properties": [
2958
- {
2959
- "name": "className",
2960
- "description": "Returns the class name of the tab.",
2961
- "value": { "type": "string" }
2962
- },
2963
- {
2964
- "name": "cssStyleSheet",
2965
- "description": "Returns the CSS styles for the component.",
2966
- "value": {}
2967
- },
2968
- {
2969
- "name": "setupAttributes",
2970
- "description": "Sets up the attributes for the component.",
2971
- "value": {}
2972
- },
2973
- {
2974
- "name": "draw",
2975
- "description": "Draws the component.",
2976
- "value": {}
2977
- }
2978
- ],
2979
- "events": []
2980
- }
2981
- },
2982
- {
2983
- "name": "wje-toast",
2984
- "description": "This element represents a toast notification.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes\n- **draw(context: _Object_, store: _Object_, params: _Object_): _Object_** - Draw method",
2985
- "doc-url": "",
2986
- "attributes": [],
2987
- "events": [],
2988
- "js": {
2989
- "properties": [
2990
- {
2991
- "name": "className",
2992
- "description": "Class name",
2993
- "value": { "type": "string" }
2994
- },
2995
- {
2996
- "name": "cssStyleSheet",
2997
- "description": "Get CSS stylesheet",
2998
- "value": {}
2999
- },
3000
- {
3001
- "name": "setupAttributes",
3002
- "description": "Setup attributes",
3003
- "value": {}
3004
- },
3005
- { "name": "draw", "description": "Draw method", "value": {} }
3006
- ],
3007
- "events": []
3008
- }
3009
- },
3010
- {
3011
- "name": "wje-toolbar-action",
3012
- "description": "This element represents a toolbar action.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for the toolbar action.\n\n### **CSS Parts:**\n - **native** - The native toolbar action wrapper.",
3013
- "doc-url": "",
3014
- "attributes": [],
3015
- "slots": [
3016
- {
3017
- "name": "",
3018
- "description": "The default slot for the toolbar action."
3019
- }
3020
- ],
3021
- "events": [],
3022
- "js": {
3023
- "properties": [
3024
- { "name": "className", "value": { "type": "string" } },
3025
- { "name": "cssStyleSheet", "value": {} },
3026
- { "name": "setupAttributes", "value": {} },
3027
- { "name": "draw", "value": {} },
3028
- { "name": "getActions", "value": {} }
3029
- ],
3030
- "events": []
3031
- }
3032
- },
3033
- {
3034
- "name": "wje-toolbar",
3035
- "description": "This element represents a toolbar.\n---\n\n\n### **Slots:**\n - **start** - The start slot for the toolbar.\n- **end** - The end slot for the toolbar.\n\n### **CSS Properties:**\n - **--wje-toolbar-background** - The background of the toolbar. _(default: var(--wje-background))_\n- **--wje-toolbar-height** - The height of the toolbar. _(default: auto)_\n- **--wje-toolbar-min-height** - The min height of the toolbar. _(default: 70px)_\n- **--wje-toolbar-padding-top** - The padding top of the toolbar. _(default: 1rem)_\n- **--wje-toolbar-padding-bottom** - The padding bottom of the toolbar. _(default: 1rem)_\n- **--wje-toolbar-padding-inline** - The padding inline of the toolbar. _(default: 1.5rem)_\n- **--wje-toolbar-border-color** - The border color of the toolbar. _(default: var(--wje-border-color))_\n- **--wje-toolbar-top** - The top of the toolbar. _(default: 0)_\n\n### **CSS Parts:**\n - **native** - The native toolbar wrapper.",
3036
- "doc-url": "",
3037
- "attributes": [],
3038
- "slots": [
3039
- {
3040
- "name": "start",
3041
- "description": "The start slot for the toolbar."
3042
- },
3043
- { "name": "end", "description": "The end slot for the toolbar." }
3044
- ],
3045
- "events": [],
3046
- "js": {
3047
- "properties": [
3048
- { "name": "className", "value": { "type": "string" } },
3049
- { "name": "cssStyleSheet", "value": {} },
3050
- { "name": "setupAttributes", "value": {} },
3051
- { "name": "draw", "value": {} }
3052
- ],
3053
- "events": []
3054
- }
3055
- },
3056
- {
3057
- "name": "wje-toggle",
3058
- "description": "This element represents a toggle input.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for the toggle.\n\n### **CSS Properties:**\n - **--wje-toggle-color-base** - The base color of the toggle. _(default: var(--wje-color-contrast-3))_\n- **--wje-toggle-width** - The width of the toggle. _(default: 30px)_\n- **--wje-toggle-height** - The height of the toggle. _(default: 18px)_\n- **--wje-toggle-border-radius** - The border radius of the toggle. _(default: 50px)_\n- **--wje-toggle-handle-width** - The width of the toggle handle. _(default: 14px)_\n- **--wje-toggle-handle-height** - The height of the toggle handle. _(default: 14px)_\n- **--wje-toggle-handle-border-radius** - The border radius of the toggle handle. _(default: 9px)_\n- **--wje-toggle-handle-color** - The color of the toggle handle. _(default: #fff)_\n- **--wje-toggle-handle-shadow** - The shadow of the toggle handle. _(default: 1px 0 1px 0.5px rgba(0,0,0,0.12), 2px 4px 6px rgba(0,0,0,0.2))_\n- **--wje-toggle-handle-shadow-checked** - The shadow of the toggle handle when checked. _(default: 1px 1px 0 rgba(0,0,0,0.08), -3px 3px 6px rgba(0,0,0,0.3))_\n- **--wje-toggle-duration** - The duration of the toggle animation. _(default: 250ms)_\n- **--wje-toggle-curve** - The curve of the toggle animation. _(default: cubic-bezier(.4,0,.2,1))_\n\n### **CSS Parts:**\n - **native** - The native toggle wrapper.\n- **input** - The toggle input.\n- **toggle** - The toggle part.",
3059
- "doc-url": "",
3060
- "attributes": [
3061
- { "name": "checked", "value": { "type": "string" } },
3062
- { "name": "disabled", "value": { "type": "string" } }
3063
- ],
3064
- "slots": [
3065
- { "name": "", "description": "The default slot for the toggle." }
3066
- ],
3067
- "events": [],
3068
- "js": {
3069
- "properties": [
3070
- { "name": "checked", "value": {} },
3071
- { "name": "disabled", "value": {} }
3072
- ],
3073
- "events": []
3074
- }
3075
- },
3076
- {
3077
- "name": "wje-tooltip",
3078
- "description": "This element represents a tooltip.\n---\n\n\n### **Slots:**\n - **arrow** - The arrow slot for the tooltip.\n- **anchor** - The anchor slot for the tooltip.\n\n### **CSS Properties:**\n - **undefined** - undefined _(default: undefined)_\n\n### **CSS Parts:**\n - **native** - The native tooltip wrapper.",
3079
- "doc-url": "",
3080
- "attributes": [{ "name": "active", "value": { "type": "string" } }],
3081
- "slots": [
3082
- {
3083
- "name": "arrow",
3084
- "description": "The arrow slot for the tooltip."
3085
- },
3086
- {
3087
- "name": "anchor",
3088
- "description": "The anchor slot for the tooltip."
3089
- }
3090
- ],
3091
- "events": [],
3092
- "js": {
3093
- "properties": [{ "name": "active", "value": {} }],
3094
- "events": []
3095
- }
3096
- },
3097
- {
3098
- "name": "wje-visually-hidden",
3099
- "description": "This element represents a visually hidden element.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for the visually hidden element.",
3100
- "doc-url": "",
3101
- "attributes": [],
3102
- "slots": [
3103
- {
3104
- "name": "",
3105
- "description": "The default slot for the visually hidden element."
3106
- }
3107
- ],
3108
- "events": [],
3109
- "js": {
3110
- "properties": [
3111
- { "name": "className", "value": { "type": "string" } },
3112
- { "name": "cssStyleSheet", "value": {} },
3113
- { "name": "setupAttributes", "value": {} },
3114
- { "name": "draw", "value": {} }
3115
- ],
3116
- "events": []
3117
- }
3118
- }
3119
- ]
3120
- }
3121
- }
3122
- }