@italia/globals 0.1.0-alpha.1 → 1.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/custom-elements.json +2122 -179
  2. package/dist/src/base-component/base-component.d.ts +28 -13
  3. package/dist/src/base-component/base-component.d.ts.map +1 -1
  4. package/dist/src/base-component/base-component.js +27 -17
  5. package/dist/src/base-component/base-component.js.map +1 -1
  6. package/dist/src/controllers/aria-keyboard-accordion-controller.d.ts +15 -0
  7. package/dist/src/controllers/aria-keyboard-accordion-controller.d.ts.map +1 -0
  8. package/dist/src/controllers/aria-keyboard-accordion-controller.js +52 -0
  9. package/dist/src/controllers/aria-keyboard-accordion-controller.js.map +1 -0
  10. package/dist/src/controllers/aria-keyboard-list-controller.d.ts +18 -0
  11. package/dist/src/controllers/aria-keyboard-list-controller.d.ts.map +1 -0
  12. package/dist/src/controllers/aria-keyboard-list-controller.js +58 -0
  13. package/dist/src/controllers/aria-keyboard-list-controller.js.map +1 -0
  14. package/dist/src/controllers/collapse-controller.d.ts +12 -0
  15. package/dist/src/controllers/collapse-controller.d.ts.map +1 -0
  16. package/dist/src/controllers/collapse-controller.js +95 -0
  17. package/dist/src/controllers/collapse-controller.js.map +1 -0
  18. package/dist/src/controllers/focus-trap-controller.d.ts +92 -0
  19. package/dist/src/controllers/focus-trap-controller.d.ts.map +1 -0
  20. package/dist/src/controllers/focus-trap-controller.js +497 -0
  21. package/dist/src/controllers/focus-trap-controller.js.map +1 -0
  22. package/dist/src/controllers/roving-tabindex-controller.d.ts +92 -0
  23. package/dist/src/controllers/roving-tabindex-controller.d.ts.map +1 -0
  24. package/dist/src/controllers/roving-tabindex-controller.js +206 -0
  25. package/dist/src/controllers/roving-tabindex-controller.js.map +1 -0
  26. package/dist/src/form/form-control.d.ts +61 -0
  27. package/dist/src/form/form-control.d.ts.map +1 -0
  28. package/dist/src/form/form-control.js +259 -0
  29. package/dist/src/form/form-control.js.map +1 -0
  30. package/dist/src/form/form-controller.d.ts +68 -0
  31. package/dist/src/form/form-controller.d.ts.map +1 -0
  32. package/dist/src/form/form-controller.js +408 -0
  33. package/dist/src/form/form-controller.js.map +1 -0
  34. package/dist/src/form/locales/it.d.ts +4 -0
  35. package/dist/src/form/locales/it.d.ts.map +1 -0
  36. package/dist/src/form/locales/it.js +12 -0
  37. package/dist/src/form/locales/it.js.map +1 -0
  38. package/dist/src/index.d.ts +20 -4
  39. package/dist/src/index.d.ts.map +1 -1
  40. package/dist/src/index.js +18 -4
  41. package/dist/src/index.js.map +1 -1
  42. package/dist/src/mixins/validity.d.ts +19 -19
  43. package/dist/src/mixins/validity.d.ts.map +1 -1
  44. package/dist/src/mixins/validity.js +6 -68
  45. package/dist/src/mixins/validity.js.map +1 -1
  46. package/dist/src/stories/formControlReusableStories.d.ts +19 -0
  47. package/dist/src/stories/formControlReusableStories.d.ts.map +1 -0
  48. package/dist/src/stories/formControlReusableStories.js +64 -0
  49. package/dist/src/stories/formControlReusableStories.js.map +1 -0
  50. package/dist/src/window-manager.d.ts +33 -0
  51. package/dist/src/window-manager.d.ts.map +1 -0
  52. package/dist/src/window-manager.js +78 -0
  53. package/dist/src/window-manager.js.map +1 -0
  54. package/package.json +10 -8
  55. package/dist/src/mixins/form.d.ts +0 -363
  56. package/dist/src/mixins/form.d.ts.map +0 -1
  57. package/dist/src/mixins/form.js +0 -36
  58. package/dist/src/mixins/form.js.map +0 -1
@@ -17,26 +17,42 @@
17
17
  },
18
18
  {
19
19
  "kind": "js",
20
- "name": "FormMixin",
20
+ "name": "setAttributes",
21
21
  "declaration": {
22
- "name": "FormMixin",
22
+ "name": "setAttributes",
23
23
  "module": "src/index.ts"
24
24
  }
25
25
  },
26
26
  {
27
27
  "kind": "js",
28
- "name": "ValidityMixin",
28
+ "name": "AriaKeyboardListController",
29
29
  "declaration": {
30
- "name": "ValidityMixin",
30
+ "name": "AriaKeyboardListController",
31
31
  "module": "src/index.ts"
32
32
  }
33
33
  },
34
34
  {
35
35
  "kind": "js",
36
- "name": "setAttributes",
36
+ "name": "AriaKeyboardConfig",
37
37
  "declaration": {
38
- "name": "setAttributes",
39
- "module": "src/index.ts"
38
+ "name": "AriaKeyboardConfig",
39
+ "module": "./controllers/aria-keyboard-list-controller.js"
40
+ }
41
+ },
42
+ {
43
+ "kind": "js",
44
+ "name": "RovingTabindexController",
45
+ "declaration": {
46
+ "name": "RovingTabindexController",
47
+ "module": "./controllers/roving-tabindex-controller.js"
48
+ }
49
+ },
50
+ {
51
+ "kind": "js",
52
+ "name": "RovingTabindexConfig",
53
+ "declaration": {
54
+ "name": "RovingTabindexConfig",
55
+ "module": "./controllers/roving-tabindex-controller.js"
40
56
  }
41
57
  },
42
58
  {
@@ -73,10 +89,74 @@
73
89
  },
74
90
  {
75
91
  "kind": "js",
76
- "name": "VALIDATION_STATUS",
92
+ "name": "AriaKeyboardAccordionController",
93
+ "declaration": {
94
+ "name": "AriaKeyboardAccordionController",
95
+ "module": "./controllers/aria-keyboard-accordion-controller.js"
96
+ }
97
+ },
98
+ {
99
+ "kind": "js",
100
+ "name": "AriaKeyboardAccordionConfig",
101
+ "declaration": {
102
+ "name": "AriaKeyboardAccordionConfig",
103
+ "module": "./controllers/aria-keyboard-accordion-controller.js"
104
+ }
105
+ },
106
+ {
107
+ "kind": "js",
108
+ "name": "CollapseAnimationController",
109
+ "declaration": {
110
+ "name": "CollapseAnimationController",
111
+ "module": "./controllers/collapse-controller.js"
112
+ }
113
+ },
114
+ {
115
+ "kind": "js",
116
+ "name": "FocusTrapController",
77
117
  "declaration": {
78
- "name": "VALIDATION_STATUS",
79
- "module": "./mixins/validity.js"
118
+ "name": "FocusTrapController",
119
+ "module": "./controllers/focus-trap-controller.js"
120
+ }
121
+ },
122
+ {
123
+ "kind": "js",
124
+ "name": "FocusTrapConfig",
125
+ "declaration": {
126
+ "name": "FocusTrapConfig",
127
+ "module": "./controllers/focus-trap-controller.js"
128
+ }
129
+ },
130
+ {
131
+ "kind": "js",
132
+ "name": "FormControl",
133
+ "declaration": {
134
+ "name": "FormControl",
135
+ "module": "./form/form-control.js"
136
+ }
137
+ },
138
+ {
139
+ "kind": "js",
140
+ "name": "formCollections",
141
+ "declaration": {
142
+ "name": "formCollections",
143
+ "module": "./form/form-controller.js"
144
+ }
145
+ },
146
+ {
147
+ "kind": "js",
148
+ "name": "FormControlControllerOptions",
149
+ "declaration": {
150
+ "name": "FormControlControllerOptions",
151
+ "module": "./form/form-controller.js"
152
+ }
153
+ },
154
+ {
155
+ "kind": "js",
156
+ "name": "FormControlController",
157
+ "declaration": {
158
+ "name": "FormControlController",
159
+ "module": "./form/form-controller.js"
80
160
  }
81
161
  },
82
162
  {
@@ -86,6 +166,228 @@
86
166
  "name": "cookies",
87
167
  "module": "./utils/cookies.js"
88
168
  }
169
+ },
170
+ {
171
+ "kind": "js",
172
+ "name": "WindowManager",
173
+ "declaration": {
174
+ "name": "WindowManager",
175
+ "module": "./window-manager.js"
176
+ }
177
+ },
178
+ {
179
+ "kind": "js",
180
+ "name": "ScrollCallback",
181
+ "declaration": {
182
+ "name": "ScrollCallback",
183
+ "module": "./window-manager.js"
184
+ }
185
+ },
186
+ {
187
+ "kind": "js",
188
+ "name": "ScrollState",
189
+ "declaration": {
190
+ "name": "ScrollState",
191
+ "module": "./window-manager.js"
192
+ }
193
+ },
194
+ {
195
+ "kind": "js",
196
+ "name": "StoryFormControlMethodAndProps",
197
+ "declaration": {
198
+ "name": "StoryFormControlMethodAndProps",
199
+ "module": "src/index.ts"
200
+ }
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "kind": "javascript-module",
206
+ "path": "src/window-manager.ts",
207
+ "declarations": [
208
+ {
209
+ "kind": "class",
210
+ "description": "",
211
+ "name": "WindowManager",
212
+ "members": [
213
+ {
214
+ "kind": "field",
215
+ "name": "initialized",
216
+ "type": {
217
+ "text": "boolean"
218
+ },
219
+ "privacy": "private",
220
+ "static": true,
221
+ "default": "false"
222
+ },
223
+ {
224
+ "kind": "field",
225
+ "name": "subscribers",
226
+ "privacy": "private",
227
+ "static": true,
228
+ "default": "new Set<ScrollCallback>()"
229
+ },
230
+ {
231
+ "kind": "field",
232
+ "name": "lastScrollY",
233
+ "type": {
234
+ "text": "number"
235
+ },
236
+ "privacy": "private",
237
+ "static": true,
238
+ "default": "0"
239
+ },
240
+ {
241
+ "kind": "field",
242
+ "name": "lastWidth",
243
+ "type": {
244
+ "text": "number"
245
+ },
246
+ "privacy": "private",
247
+ "static": true,
248
+ "default": "0"
249
+ },
250
+ {
251
+ "kind": "field",
252
+ "name": "lastHeight",
253
+ "type": {
254
+ "text": "number"
255
+ },
256
+ "privacy": "private",
257
+ "static": true,
258
+ "default": "0"
259
+ },
260
+ {
261
+ "kind": "field",
262
+ "name": "ticking",
263
+ "type": {
264
+ "text": "boolean"
265
+ },
266
+ "privacy": "private",
267
+ "static": true,
268
+ "default": "false"
269
+ },
270
+ {
271
+ "kind": "field",
272
+ "name": "scrollLockCount",
273
+ "type": {
274
+ "text": "number"
275
+ },
276
+ "privacy": "private",
277
+ "static": true,
278
+ "default": "0"
279
+ },
280
+ {
281
+ "kind": "field",
282
+ "name": "scrollbarWidth",
283
+ "type": {
284
+ "text": "number"
285
+ },
286
+ "privacy": "private",
287
+ "static": true,
288
+ "default": "0"
289
+ },
290
+ {
291
+ "kind": "method",
292
+ "name": "init",
293
+ "static": true
294
+ },
295
+ {
296
+ "kind": "method",
297
+ "name": "requestTick",
298
+ "privacy": "private",
299
+ "static": true,
300
+ "parameters": [
301
+ {
302
+ "name": "forceRecalc",
303
+ "default": "false"
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ "kind": "method",
309
+ "name": "tick",
310
+ "privacy": "private",
311
+ "static": true,
312
+ "parameters": [
313
+ {
314
+ "name": "forceRecalc",
315
+ "type": {
316
+ "text": "boolean"
317
+ }
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "kind": "method",
323
+ "name": "subscribe",
324
+ "static": true,
325
+ "parameters": [
326
+ {
327
+ "name": "cb",
328
+ "type": {
329
+ "text": "ScrollCallback"
330
+ }
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "kind": "method",
336
+ "name": "unsubscribe",
337
+ "static": true,
338
+ "parameters": [
339
+ {
340
+ "name": "cb",
341
+ "type": {
342
+ "text": "ScrollCallback"
343
+ }
344
+ }
345
+ ]
346
+ },
347
+ {
348
+ "kind": "method",
349
+ "name": "lockBodyScroll",
350
+ "static": true,
351
+ "return": {
352
+ "type": {
353
+ "text": "void"
354
+ }
355
+ },
356
+ "description": "Blocca lo scroll del body. Usa ref counting per gestire modal nested.\nChiamare unlockBodyScroll() per ogni lockBodyScroll()."
357
+ },
358
+ {
359
+ "kind": "method",
360
+ "name": "unlockBodyScroll",
361
+ "static": true,
362
+ "return": {
363
+ "type": {
364
+ "text": "void"
365
+ }
366
+ },
367
+ "description": "Sblocca lo scroll del body. Rimuove il lock solo quando tutti i consumer hanno chiamato unlock."
368
+ },
369
+ {
370
+ "kind": "method",
371
+ "name": "getScrollbarWidth",
372
+ "static": true,
373
+ "return": {
374
+ "type": {
375
+ "text": "number"
376
+ }
377
+ },
378
+ "description": "Ritorna la larghezza della scrollbar (utile per compensazioni)"
379
+ }
380
+ ]
381
+ }
382
+ ],
383
+ "exports": [
384
+ {
385
+ "kind": "js",
386
+ "name": "WindowManager",
387
+ "declaration": {
388
+ "name": "WindowManager",
389
+ "module": "src/window-manager.ts"
390
+ }
89
391
  }
90
392
  ]
91
393
  },
@@ -100,157 +402,1766 @@
100
402
  "members": [
101
403
  {
102
404
  "kind": "field",
103
- "name": "logger",
104
- "type": {
105
- "text": "Logger"
106
- },
107
- "privacy": "protected",
108
- "default": "new Logger(this.tagName.toLowerCase())"
405
+ "name": "logger",
406
+ "type": {
407
+ "text": "Logger"
408
+ },
409
+ "privacy": "protected",
410
+ "default": "new Logger(this.tagName.toLowerCase())"
411
+ },
412
+ {
413
+ "kind": "field",
414
+ "name": "composeClass",
415
+ "privacy": "protected",
416
+ "default": "clsx"
417
+ },
418
+ {
419
+ "kind": "field",
420
+ "name": "_id",
421
+ "type": {
422
+ "text": "string | undefined"
423
+ },
424
+ "privacy": "protected"
425
+ },
426
+ {
427
+ "kind": "field",
428
+ "name": "_ariaAttributes",
429
+ "type": {
430
+ "text": "Record<string, string>"
431
+ },
432
+ "privacy": "protected",
433
+ "readonly": true
434
+ },
435
+ {
436
+ "kind": "method",
437
+ "name": "generateId",
438
+ "parameters": [
439
+ {
440
+ "name": "prefix",
441
+ "type": {
442
+ "text": "string"
443
+ }
444
+ }
445
+ ]
446
+ },
447
+ {
448
+ "kind": "method",
449
+ "name": "addFocus",
450
+ "parameters": [
451
+ {
452
+ "name": "element",
453
+ "type": {
454
+ "text": "HTMLElement"
455
+ }
456
+ }
457
+ ]
458
+ },
459
+ {
460
+ "kind": "method",
461
+ "name": "getActiveElement",
462
+ "privacy": "protected",
463
+ "return": {
464
+ "type": {
465
+ "text": "T | null"
466
+ }
467
+ }
468
+ },
469
+ {
470
+ "kind": "field",
471
+ "name": "focusElement",
472
+ "type": {
473
+ "text": "HTMLElement | null"
474
+ },
475
+ "readonly": true
476
+ },
477
+ {
478
+ "kind": "field",
479
+ "name": "prefersReducedMotion",
480
+ "type": {
481
+ "text": "boolean"
482
+ },
483
+ "privacy": "protected",
484
+ "readonly": true
485
+ }
486
+ ],
487
+ "superclass": {
488
+ "name": "LitElement",
489
+ "package": "lit"
490
+ },
491
+ "customElement": true
492
+ },
493
+ {
494
+ "kind": "variable",
495
+ "name": "BaseLocalizedComponent"
496
+ }
497
+ ],
498
+ "exports": [
499
+ {
500
+ "kind": "js",
501
+ "name": "BaseComponent",
502
+ "declaration": {
503
+ "name": "BaseComponent",
504
+ "module": "src/base-component/base-component.ts"
505
+ }
506
+ },
507
+ {
508
+ "kind": "js",
509
+ "name": "BaseLocalizedComponent",
510
+ "declaration": {
511
+ "name": "BaseLocalizedComponent",
512
+ "module": "src/base-component/base-component.ts"
513
+ }
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ "kind": "javascript-module",
519
+ "path": "src/controllers/aria-keyboard-accordion-controller.ts",
520
+ "declarations": [
521
+ {
522
+ "kind": "class",
523
+ "description": "",
524
+ "name": "AriaKeyboardAccordionController",
525
+ "members": [
526
+ {
527
+ "kind": "field",
528
+ "name": "host",
529
+ "type": {
530
+ "text": "ReactiveControllerHost"
531
+ },
532
+ "privacy": "private",
533
+ "default": "host"
534
+ },
535
+ {
536
+ "kind": "field",
537
+ "name": "config",
538
+ "type": {
539
+ "text": "AriaKeyboardAccordionConfig"
540
+ },
541
+ "privacy": "private"
542
+ },
543
+ {
544
+ "kind": "method",
545
+ "name": "setConfig",
546
+ "parameters": [
547
+ {
548
+ "name": "config",
549
+ "type": {
550
+ "text": "AriaKeyboardAccordionConfig"
551
+ }
552
+ }
553
+ ]
554
+ },
555
+ {
556
+ "kind": "method",
557
+ "name": "hostDisconnected"
558
+ },
559
+ {
560
+ "kind": "method",
561
+ "name": "getActiveElement",
562
+ "privacy": "private",
563
+ "return": {
564
+ "type": {
565
+ "text": "HTMLElement | null"
566
+ }
567
+ }
568
+ },
569
+ {
570
+ "kind": "method",
571
+ "name": "handleKeyDown",
572
+ "parameters": [
573
+ {
574
+ "name": "event",
575
+ "type": {
576
+ "text": "KeyboardEvent"
577
+ }
578
+ }
579
+ ]
580
+ }
581
+ ]
582
+ }
583
+ ],
584
+ "exports": [
585
+ {
586
+ "kind": "js",
587
+ "name": "AriaKeyboardAccordionController",
588
+ "declaration": {
589
+ "name": "AriaKeyboardAccordionController",
590
+ "module": "src/controllers/aria-keyboard-accordion-controller.ts"
591
+ }
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ "kind": "javascript-module",
597
+ "path": "src/controllers/aria-keyboard-list-controller.ts",
598
+ "declarations": [
599
+ {
600
+ "kind": "class",
601
+ "description": "",
602
+ "name": "AriaKeyboardListController",
603
+ "members": [
604
+ {
605
+ "kind": "field",
606
+ "name": "host",
607
+ "type": {
608
+ "text": "ReactiveControllerHost"
609
+ },
610
+ "privacy": "private",
611
+ "default": "host"
612
+ },
613
+ {
614
+ "kind": "field",
615
+ "name": "config",
616
+ "type": {
617
+ "text": "AriaKeyboardConfig"
618
+ },
619
+ "privacy": "private"
620
+ },
621
+ {
622
+ "kind": "method",
623
+ "name": "setConfig",
624
+ "parameters": [
625
+ {
626
+ "name": "config",
627
+ "type": {
628
+ "text": "AriaKeyboardConfig"
629
+ }
630
+ }
631
+ ]
632
+ },
633
+ {
634
+ "kind": "method",
635
+ "name": "hostDisconnected"
636
+ },
637
+ {
638
+ "kind": "method",
639
+ "name": "getActiveElement",
640
+ "privacy": "private",
641
+ "return": {
642
+ "type": {
643
+ "text": "HTMLElement | null"
644
+ }
645
+ }
646
+ },
647
+ {
648
+ "kind": "method",
649
+ "name": "handleKeyDown",
650
+ "parameters": [
651
+ {
652
+ "name": "event",
653
+ "type": {
654
+ "text": "KeyboardEvent"
655
+ }
656
+ }
657
+ ]
658
+ }
659
+ ]
660
+ }
661
+ ],
662
+ "exports": [
663
+ {
664
+ "kind": "js",
665
+ "name": "default",
666
+ "declaration": {
667
+ "name": "AriaKeyboardListController",
668
+ "module": "src/controllers/aria-keyboard-list-controller.ts"
669
+ }
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "kind": "javascript-module",
675
+ "path": "src/controllers/collapse-controller.ts",
676
+ "declarations": [
677
+ {
678
+ "kind": "class",
679
+ "description": "",
680
+ "name": "CollapseAnimationController",
681
+ "members": [
682
+ {
683
+ "kind": "field",
684
+ "name": "host",
685
+ "type": {
686
+ "text": "ReactiveControllerHost"
687
+ },
688
+ "privacy": "private",
689
+ "default": "host"
690
+ },
691
+ {
692
+ "kind": "field",
693
+ "name": "animating",
694
+ "type": {
695
+ "text": "WeakSet<HTMLElement>"
696
+ },
697
+ "privacy": "private",
698
+ "default": "new WeakSet()"
699
+ },
700
+ {
701
+ "kind": "method",
702
+ "name": "hostDisconnected"
703
+ },
704
+ {
705
+ "kind": "method",
706
+ "name": "toggle",
707
+ "return": {
708
+ "type": {
709
+ "text": "void"
710
+ }
711
+ },
712
+ "parameters": [
713
+ {
714
+ "name": "element",
715
+ "type": {
716
+ "text": "HTMLElement"
717
+ }
718
+ },
719
+ {
720
+ "name": "triggerElement",
721
+ "optional": true,
722
+ "type": {
723
+ "text": "HTMLElement"
724
+ }
725
+ }
726
+ ]
727
+ },
728
+ {
729
+ "kind": "method",
730
+ "name": "show",
731
+ "return": {
732
+ "type": {
733
+ "text": "void"
734
+ }
735
+ },
736
+ "parameters": [
737
+ {
738
+ "name": "element",
739
+ "type": {
740
+ "text": "HTMLElement"
741
+ }
742
+ },
743
+ {
744
+ "name": "triggerElement",
745
+ "optional": true,
746
+ "type": {
747
+ "text": "HTMLElement"
748
+ }
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "kind": "method",
754
+ "name": "hide",
755
+ "return": {
756
+ "type": {
757
+ "text": "void"
758
+ }
759
+ },
760
+ "parameters": [
761
+ {
762
+ "name": "element",
763
+ "type": {
764
+ "text": "HTMLElement"
765
+ }
766
+ },
767
+ {
768
+ "name": "triggerElement",
769
+ "optional": true,
770
+ "type": {
771
+ "text": "HTMLElement"
772
+ }
773
+ }
774
+ ]
775
+ },
776
+ {
777
+ "kind": "method",
778
+ "name": "isOpen",
779
+ "return": {
780
+ "type": {
781
+ "text": "boolean"
782
+ }
783
+ },
784
+ "parameters": [
785
+ {
786
+ "name": "element",
787
+ "type": {
788
+ "text": "HTMLElement"
789
+ }
790
+ }
791
+ ]
792
+ }
793
+ ]
794
+ }
795
+ ],
796
+ "exports": [
797
+ {
798
+ "kind": "js",
799
+ "name": "CollapseAnimationController",
800
+ "declaration": {
801
+ "name": "CollapseAnimationController",
802
+ "module": "src/controllers/collapse-controller.ts"
803
+ }
804
+ }
805
+ ]
806
+ },
807
+ {
808
+ "kind": "javascript-module",
809
+ "path": "src/controllers/focus-trap-controller.ts",
810
+ "declarations": [
811
+ {
812
+ "kind": "class",
813
+ "description": "Safari/VoiceOver iOS workarounds catalogue — why timers exist here:\n\n1. `activate()` rAF + setTimeout(50): Safari does not reliably update the VoiceOver\n accessibility tree synchronously. rAF ensures the element is painted before we\n attempt to focus it. setTimeout(50) yields 50ms so VoiceOver can settle its\n accessibility tree before announcing the newly focused element.\n Empirically, VoiceOver iOS needs 100–300ms; the animated path in it-modal already\n provides ~316ms naturally via animation.finished, so the 50ms here only truly\n matters for the no-animation / prefers-reduced-motion path.\n\n2. `_restoreFocus()` setTimeout(0): Same settle reason on close. The caller\n (it-modal finishHide) adds a belt-and-suspenders 20ms setTimeout; _restoreFocus\n is skipped via { skipFocusRestore: true } in that case to avoid double-focus.\n\n3. `activate()` iOS body-focus fallback: On iOS Safari, tapping a button does not\n reliably move document.activeElement away from body. We fall back to getTrigger()\n so _previousActiveElement is always a real DOM element to restore focus to on close.\n\nThere is no WebKit/Safari API to detect when VoiceOver has settled its accessibility\ntree. setTimeout-based workarounds are the same pattern used by Bootstrap 5, the\nfocus-trap npm package, and a11y-dialog.",
814
+ "name": "FocusTrapController",
815
+ "members": [
816
+ {
817
+ "kind": "field",
818
+ "name": "host",
819
+ "type": {
820
+ "text": "ReactiveControllerHost & HTMLElement"
821
+ },
822
+ "privacy": "private",
823
+ "default": "host"
824
+ },
825
+ {
826
+ "kind": "field",
827
+ "name": "config",
828
+ "type": {
829
+ "text": "FocusTrapConfig"
830
+ },
831
+ "privacy": "private",
832
+ "default": "config"
833
+ },
834
+ {
835
+ "kind": "field",
836
+ "name": "observer",
837
+ "type": {
838
+ "text": "MutationObserver | null"
839
+ },
840
+ "privacy": "private",
841
+ "default": "null"
842
+ },
843
+ {
844
+ "kind": "field",
845
+ "name": "_isActive",
846
+ "type": {
847
+ "text": "boolean"
848
+ },
849
+ "privacy": "private",
850
+ "default": "false"
851
+ },
852
+ {
853
+ "kind": "field",
854
+ "name": "_previousActiveElement",
855
+ "type": {
856
+ "text": "HTMLElement | null"
857
+ },
858
+ "privacy": "private",
859
+ "default": "null"
860
+ },
861
+ {
862
+ "kind": "field",
863
+ "name": "_focusableElements",
864
+ "type": {
865
+ "text": "HTMLElement[]"
866
+ },
867
+ "privacy": "private",
868
+ "default": "[]"
869
+ },
870
+ {
871
+ "kind": "field",
872
+ "name": "_first",
873
+ "type": {
874
+ "text": "HTMLElement | undefined"
875
+ },
876
+ "privacy": "private"
877
+ },
878
+ {
879
+ "kind": "field",
880
+ "name": "_last",
881
+ "type": {
882
+ "text": "HTMLElement | undefined"
883
+ },
884
+ "privacy": "private"
885
+ },
886
+ {
887
+ "kind": "field",
888
+ "name": "_lastKnownFocusIndex",
889
+ "type": {
890
+ "text": "number"
891
+ },
892
+ "privacy": "private",
893
+ "default": "-1",
894
+ "description": "Last known index resolved from real focusin events inside the trap.\nUsed as a fallback when assistive tech retargeting makes activeElement\ntemporarily unmappable during Tab navigation."
895
+ },
896
+ {
897
+ "kind": "field",
898
+ "name": "_pendingFocusTimer",
899
+ "type": {
900
+ "text": "ReturnType<typeof setTimeout> | null"
901
+ },
902
+ "privacy": "private",
903
+ "default": "null",
904
+ "description": "Timer ID for the focus call scheduled inside activate(). Cancelled by deactivate()\nto prevent focus firing after the trap has been torn down (fast open/close, unmount)."
905
+ },
906
+ {
907
+ "kind": "field",
908
+ "name": "FOCUSABLE_SELECTORS",
909
+ "privacy": "private",
910
+ "static": true,
911
+ "readonly": true
912
+ },
913
+ {
914
+ "kind": "field",
915
+ "name": "NATIVE_FOCUSABLE_SELECTORS",
916
+ "privacy": "private",
917
+ "static": true,
918
+ "readonly": true
919
+ },
920
+ {
921
+ "kind": "field",
922
+ "name": "MANAGED_HOST_SELECTORS",
923
+ "privacy": "private",
924
+ "static": true,
925
+ "readonly": true
926
+ },
927
+ {
928
+ "kind": "field",
929
+ "name": "MANAGED_MENU_HOST_SELECTORS",
930
+ "privacy": "private",
931
+ "static": true,
932
+ "readonly": true
933
+ },
934
+ {
935
+ "kind": "method",
936
+ "name": "getManagedHostAncestor",
937
+ "privacy": "private",
938
+ "static": true,
939
+ "return": {
940
+ "type": {
941
+ "text": "HTMLElement | null"
942
+ }
943
+ },
944
+ "parameters": [
945
+ {
946
+ "name": "element",
947
+ "type": {
948
+ "text": "HTMLElement"
949
+ }
950
+ }
951
+ ]
952
+ },
953
+ {
954
+ "kind": "method",
955
+ "name": "isInsideManagedHost",
956
+ "privacy": "private",
957
+ "static": true,
958
+ "return": {
959
+ "type": {
960
+ "text": "boolean"
961
+ }
962
+ },
963
+ "parameters": [
964
+ {
965
+ "name": "element",
966
+ "type": {
967
+ "text": "HTMLElement"
968
+ }
969
+ }
970
+ ]
971
+ },
972
+ {
973
+ "kind": "method",
974
+ "name": "getManagedMenuHostAncestor",
975
+ "privacy": "private",
976
+ "static": true,
977
+ "return": {
978
+ "type": {
979
+ "text": "HTMLElement | null"
980
+ }
981
+ },
982
+ "parameters": [
983
+ {
984
+ "name": "element",
985
+ "type": {
986
+ "text": "HTMLElement"
987
+ }
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "kind": "method",
993
+ "name": "collectFocusableCandidates",
994
+ "privacy": "private",
995
+ "static": true,
996
+ "return": {
997
+ "type": {
998
+ "text": "void"
999
+ }
1000
+ },
1001
+ "parameters": [
1002
+ {
1003
+ "name": "root",
1004
+ "type": {
1005
+ "text": "ParentNode"
1006
+ }
1007
+ },
1008
+ {
1009
+ "name": "candidates",
1010
+ "type": {
1011
+ "text": "HTMLElement[]"
1012
+ }
1013
+ },
1014
+ {
1015
+ "name": "trigger",
1016
+ "type": {
1017
+ "text": "HTMLElement | ShadowRoot | null"
1018
+ }
1019
+ },
1020
+ {
1021
+ "name": "visited",
1022
+ "type": {
1023
+ "text": "Set<Node>"
1024
+ }
1025
+ }
1026
+ ]
1027
+ },
1028
+ {
1029
+ "kind": "method",
1030
+ "name": "getFirstFocusableInShadow",
1031
+ "privacy": "private",
1032
+ "static": true,
1033
+ "return": {
1034
+ "type": {
1035
+ "text": "HTMLElement | null"
1036
+ }
1037
+ },
1038
+ "parameters": [
1039
+ {
1040
+ "name": "host",
1041
+ "type": {
1042
+ "text": "HTMLElement"
1043
+ }
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "kind": "method",
1049
+ "name": "focusCandidate",
1050
+ "privacy": "private",
1051
+ "static": true,
1052
+ "return": {
1053
+ "type": {
1054
+ "text": "void"
1055
+ }
1056
+ },
1057
+ "parameters": [
1058
+ {
1059
+ "name": "target",
1060
+ "type": {
1061
+ "text": "HTMLElement | undefined"
1062
+ }
1063
+ }
1064
+ ]
1065
+ },
1066
+ {
1067
+ "kind": "method",
1068
+ "name": "isFocusable",
1069
+ "privacy": "private",
1070
+ "static": true,
1071
+ "return": {
1072
+ "type": {
1073
+ "text": "boolean"
1074
+ }
1075
+ },
1076
+ "parameters": [
1077
+ {
1078
+ "name": "el",
1079
+ "type": {
1080
+ "text": "HTMLElement"
1081
+ }
1082
+ }
1083
+ ],
1084
+ "description": "Verifica se un elemento è effettivamente focusabile e tabbabile.\nElementi con tabindex=\"-1\" sono focusabili programmaticamente ma non tabbabili."
1085
+ },
1086
+ {
1087
+ "kind": "method",
1088
+ "name": "hostConnected"
1089
+ },
1090
+ {
1091
+ "kind": "method",
1092
+ "name": "hostDisconnected"
1093
+ },
1094
+ {
1095
+ "kind": "field",
1096
+ "name": "isActive",
1097
+ "type": {
1098
+ "text": "boolean"
1099
+ },
1100
+ "readonly": true
1101
+ },
1102
+ {
1103
+ "kind": "method",
1104
+ "name": "activate",
1105
+ "return": {
1106
+ "type": {
1107
+ "text": "void"
1108
+ }
1109
+ }
1110
+ },
1111
+ {
1112
+ "kind": "method",
1113
+ "name": "deactivate",
1114
+ "return": {
1115
+ "type": {
1116
+ "text": "void"
1117
+ }
1118
+ },
1119
+ "parameters": [
1120
+ {
1121
+ "name": "options",
1122
+ "optional": true,
1123
+ "type": {
1124
+ "text": "{ skipFocusRestore?: boolean }"
1125
+ }
1126
+ }
1127
+ ]
1128
+ },
1129
+ {
1130
+ "kind": "method",
1131
+ "name": "updateFocusableElements",
1132
+ "return": {
1133
+ "type": {
1134
+ "text": "void"
1135
+ }
1136
+ },
1137
+ "description": "Aggiorna la lista degli elementi focusabili.\nChiamare dopo modifiche al DOM."
1138
+ },
1139
+ {
1140
+ "kind": "method",
1141
+ "name": "focusFirst",
1142
+ "return": {
1143
+ "type": {
1144
+ "text": "void"
1145
+ }
1146
+ },
1147
+ "description": "Sposta il focus sul primo elemento focusabile"
1148
+ },
1149
+ {
1150
+ "kind": "method",
1151
+ "name": "focusLast",
1152
+ "return": {
1153
+ "type": {
1154
+ "text": "void"
1155
+ }
1156
+ },
1157
+ "description": "Sposta il focus sull'ultimo elemento focusabile"
1158
+ },
1159
+ {
1160
+ "kind": "method",
1161
+ "name": "getActiveElement",
1162
+ "static": true,
1163
+ "return": {
1164
+ "type": {
1165
+ "text": "HTMLElement | null"
1166
+ }
1167
+ },
1168
+ "description": "Ritorna l'elemento attivo corrente, attraversando shadow DOM e slot"
1169
+ },
1170
+ {
1171
+ "kind": "field",
1172
+ "name": "_handleKeyDown",
1173
+ "privacy": "private"
1174
+ },
1175
+ {
1176
+ "kind": "field",
1177
+ "name": "_handleFocusIn",
1178
+ "privacy": "private"
1179
+ },
1180
+ {
1181
+ "kind": "method",
1182
+ "name": "_handleTab",
1183
+ "privacy": "private",
1184
+ "return": {
1185
+ "type": {
1186
+ "text": "void"
1187
+ }
1188
+ },
1189
+ "parameters": [
1190
+ {
1191
+ "name": "event",
1192
+ "type": {
1193
+ "text": "KeyboardEvent"
1194
+ }
1195
+ }
1196
+ ]
1197
+ },
1198
+ {
1199
+ "kind": "method",
1200
+ "name": "_restoreFocus",
1201
+ "privacy": "private",
1202
+ "return": {
1203
+ "type": {
1204
+ "text": "void"
1205
+ }
1206
+ }
1207
+ }
1208
+ ]
1209
+ }
1210
+ ],
1211
+ "exports": [
1212
+ {
1213
+ "kind": "js",
1214
+ "name": "FocusTrapController",
1215
+ "declaration": {
1216
+ "name": "FocusTrapController",
1217
+ "module": "src/controllers/focus-trap-controller.ts"
1218
+ }
1219
+ }
1220
+ ]
1221
+ },
1222
+ {
1223
+ "kind": "javascript-module",
1224
+ "path": "src/controllers/roving-tabindex-controller.ts",
1225
+ "declarations": [
1226
+ {
1227
+ "kind": "class",
1228
+ "description": "Roving Tabindex Controller\n\nImplements the ARIA roving tabindex pattern for keyboard navigation.\nSee: https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex\n\nUsage:\n```ts\nprivate rovingTabindex = new RovingTabindexController(this, {\n getItems: () => Array.from(this.querySelectorAll('my-item')),\n onSelect: (item) => this.selectItem(item),\n});\n```",
1229
+ "name": "RovingTabindexController",
1230
+ "members": [
1231
+ {
1232
+ "kind": "field",
1233
+ "name": "host",
1234
+ "type": {
1235
+ "text": "ReactiveControllerHost"
1236
+ },
1237
+ "privacy": "private",
1238
+ "default": "host"
1239
+ },
1240
+ {
1241
+ "kind": "field",
1242
+ "name": "config",
1243
+ "type": {
1244
+ "text": "RovingTabindexConfig<T> & {\n wrap: boolean;\n direction: 'horizontal' | 'vertical' | 'both' | (() => 'horizontal' | 'vertical' | 'both');\n selectOnFocus: boolean;\n selectOnHomeEnd: boolean;\n skipItem: (item: T) => boolean;\n }"
1245
+ },
1246
+ "privacy": "private",
1247
+ "default": "{ wrap: true, direction: 'both', selectOnFocus: false, selectOnHomeEnd: false, skipItem: (item) => item.hasAttribute('disabled') || (item as any).disabled === true, ...config, }"
1248
+ },
1249
+ {
1250
+ "kind": "method",
1251
+ "name": "hostConnected",
1252
+ "return": {
1253
+ "type": {
1254
+ "text": "void"
1255
+ }
1256
+ }
1257
+ },
1258
+ {
1259
+ "kind": "method",
1260
+ "name": "hostDisconnected",
1261
+ "return": {
1262
+ "type": {
1263
+ "text": "void"
1264
+ }
1265
+ }
1266
+ },
1267
+ {
1268
+ "kind": "method",
1269
+ "name": "updateTabindices",
1270
+ "return": {
1271
+ "type": {
1272
+ "text": "void"
1273
+ }
1274
+ },
1275
+ "parameters": [
1276
+ {
1277
+ "name": "activeIndex",
1278
+ "optional": true,
1279
+ "type": {
1280
+ "text": "number"
1281
+ },
1282
+ "description": "Index of the item that should be tabbable (default: 0 or first non-disabled)"
1283
+ }
1284
+ ],
1285
+ "description": "Update tabindex values for all items"
1286
+ },
1287
+ {
1288
+ "kind": "method",
1289
+ "name": "handleKeydown",
1290
+ "return": {
1291
+ "type": {
1292
+ "text": ""
1293
+ }
1294
+ },
1295
+ "parameters": [
1296
+ {
1297
+ "name": "currentItem",
1298
+ "type": {
1299
+ "text": "T"
1300
+ },
1301
+ "description": "The currently focused item"
1302
+ },
1303
+ {
1304
+ "name": "event",
1305
+ "type": {
1306
+ "text": "KeyboardEvent"
1307
+ },
1308
+ "description": "The keyboard event"
1309
+ }
1310
+ ],
1311
+ "description": "Handle keyboard navigation"
1312
+ },
1313
+ {
1314
+ "kind": "method",
1315
+ "name": "getNextIndex",
1316
+ "privacy": "private",
1317
+ "return": {
1318
+ "type": {
1319
+ "text": "number"
1320
+ }
1321
+ },
1322
+ "parameters": [
1323
+ {
1324
+ "name": "items",
1325
+ "type": {
1326
+ "text": "T[]"
1327
+ }
1328
+ },
1329
+ {
1330
+ "name": "currentIndex",
1331
+ "type": {
1332
+ "text": "number"
1333
+ }
1334
+ },
1335
+ {
1336
+ "name": "direction",
1337
+ "type": {
1338
+ "text": "1 | -1"
1339
+ }
1340
+ }
1341
+ ],
1342
+ "description": "Get the next index based on direction"
1343
+ },
1344
+ {
1345
+ "kind": "method",
1346
+ "name": "findNextValidIndex",
1347
+ "privacy": "private",
1348
+ "return": {
1349
+ "type": {
1350
+ "text": "number"
1351
+ }
1352
+ },
1353
+ "parameters": [
1354
+ {
1355
+ "name": "items",
1356
+ "type": {
1357
+ "text": "T[]"
1358
+ }
1359
+ },
1360
+ {
1361
+ "name": "startIndex",
1362
+ "type": {
1363
+ "text": "number"
1364
+ }
1365
+ },
1366
+ {
1367
+ "name": "direction",
1368
+ "type": {
1369
+ "text": "1 | -1"
1370
+ }
1371
+ }
1372
+ ],
1373
+ "description": "Find the next valid (non-disabled) index"
1374
+ },
1375
+ {
1376
+ "kind": "method",
1377
+ "name": "focusItem",
1378
+ "return": {
1379
+ "type": {
1380
+ "text": "void"
1381
+ }
1382
+ },
1383
+ "parameters": [
1384
+ {
1385
+ "name": "item",
1386
+ "type": {
1387
+ "text": "T"
1388
+ }
1389
+ }
1390
+ ],
1391
+ "description": "Set focus to a specific item"
1392
+ },
1393
+ {
1394
+ "kind": "method",
1395
+ "name": "focusFirst",
1396
+ "return": {
1397
+ "type": {
1398
+ "text": "void"
1399
+ }
1400
+ },
1401
+ "description": "Set focus to the first non-disabled item"
1402
+ },
1403
+ {
1404
+ "kind": "method",
1405
+ "name": "focusLast",
1406
+ "return": {
1407
+ "type": {
1408
+ "text": "void"
1409
+ }
1410
+ },
1411
+ "description": "Set focus to the last non-disabled item"
1412
+ }
1413
+ ]
1414
+ }
1415
+ ],
1416
+ "exports": [
1417
+ {
1418
+ "kind": "js",
1419
+ "name": "RovingTabindexController",
1420
+ "declaration": {
1421
+ "name": "RovingTabindexController",
1422
+ "module": "src/controllers/roving-tabindex-controller.ts"
1423
+ }
1424
+ }
1425
+ ]
1426
+ },
1427
+ {
1428
+ "kind": "javascript-module",
1429
+ "path": "src/directives/setAttributes.ts",
1430
+ "declarations": [
1431
+ {
1432
+ "kind": "variable",
1433
+ "name": "setAttributes"
1434
+ }
1435
+ ],
1436
+ "exports": [
1437
+ {
1438
+ "kind": "js",
1439
+ "name": "default",
1440
+ "declaration": {
1441
+ "name": "setAttributes",
1442
+ "module": "src/directives/setAttributes.ts"
1443
+ }
1444
+ }
1445
+ ]
1446
+ },
1447
+ {
1448
+ "kind": "javascript-module",
1449
+ "path": "src/form/form-control.ts",
1450
+ "declarations": [
1451
+ {
1452
+ "kind": "class",
1453
+ "description": "",
1454
+ "name": "FormControl",
1455
+ "members": [
1456
+ {
1457
+ "kind": "field",
1458
+ "name": "formControlController",
1459
+ "privacy": "protected",
1460
+ "readonly": true,
1461
+ "default": "new FormControlController(this, { assumeInteractionOn: ['it-input', 'it-blur', 'it-change'], })"
1462
+ },
1463
+ {
1464
+ "kind": "field",
1465
+ "name": "_touched",
1466
+ "type": {
1467
+ "text": "boolean"
1468
+ },
1469
+ "default": "false"
1470
+ },
1471
+ {
1472
+ "kind": "field",
1473
+ "name": "inputElement",
1474
+ "type": {
1475
+ "text": "HTMLInputElement"
1476
+ }
1477
+ },
1478
+ {
1479
+ "kind": "field",
1480
+ "name": "name",
1481
+ "type": {
1482
+ "text": "string"
1483
+ },
1484
+ "default": "''",
1485
+ "description": "The name of the input, submitted as a name/value pair with form data.",
1486
+ "attribute": "name",
1487
+ "reflects": true
1488
+ },
1489
+ {
1490
+ "kind": "field",
1491
+ "name": "value",
1492
+ "type": {
1493
+ "text": "string"
1494
+ },
1495
+ "default": "''",
1496
+ "description": "The current value of the input, submitted as a name/value pair with form data.",
1497
+ "attribute": "value",
1498
+ "reflects": true
1499
+ },
1500
+ {
1501
+ "kind": "field",
1502
+ "name": "disabled",
1503
+ "type": {
1504
+ "text": "boolean"
1505
+ },
1506
+ "default": "false",
1507
+ "description": "If the input is disabled.",
1508
+ "attribute": "disabled",
1509
+ "reflects": true
1510
+ },
1511
+ {
1512
+ "kind": "field",
1513
+ "name": "form",
1514
+ "type": {
1515
+ "text": "string"
1516
+ },
1517
+ "default": "''",
1518
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
1519
+ "attribute": "form",
1520
+ "reflects": true
1521
+ },
1522
+ {
1523
+ "kind": "field",
1524
+ "name": "customValidation",
1525
+ "type": {
1526
+ "text": "boolean"
1527
+ },
1528
+ "default": "false",
1529
+ "description": "If you implement your custom validation and you won't to trigger default validation",
1530
+ "attribute": "custom-validation",
1531
+ "reflects": true
1532
+ },
1533
+ {
1534
+ "kind": "field",
1535
+ "name": "validationText",
1536
+ "type": {
1537
+ "text": "string"
1538
+ },
1539
+ "default": "''",
1540
+ "description": "If your input is invalid from your custom validition, set this attribute with message validation",
1541
+ "attribute": "validity-message",
1542
+ "reflects": true
1543
+ },
1544
+ {
1545
+ "kind": "field",
1546
+ "name": "pattern",
1547
+ "type": {
1548
+ "text": "string | undefined"
1549
+ },
1550
+ "description": "Pattern the `value` must match to be valid",
1551
+ "attribute": "pattern"
1552
+ },
1553
+ {
1554
+ "kind": "field",
1555
+ "name": "min",
1556
+ "type": {
1557
+ "text": "number | string | Date | undefined"
1558
+ },
1559
+ "description": "The input's minimum value. Only applies to date and number input types.",
1560
+ "attribute": "min"
1561
+ },
1562
+ {
1563
+ "kind": "field",
1564
+ "name": "max",
1565
+ "type": {
1566
+ "text": "number | string | Date | undefined"
1567
+ },
1568
+ "description": "The input's maximum value. Only applies to date and number input types.",
1569
+ "attribute": "max"
1570
+ },
1571
+ {
1572
+ "kind": "field",
1573
+ "name": "step",
1574
+ "type": {
1575
+ "text": "number | 'any'"
1576
+ },
1577
+ "default": "'any'",
1578
+ "description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.",
1579
+ "attribute": "step"
1580
+ },
1581
+ {
1582
+ "kind": "field",
1583
+ "name": "minlength",
1584
+ "type": {
1585
+ "text": "number"
1586
+ },
1587
+ "default": "-1",
1588
+ "description": "The input's minimum length.",
1589
+ "attribute": "minlength"
1590
+ },
1591
+ {
1592
+ "kind": "field",
1593
+ "name": "maxlength",
1594
+ "type": {
1595
+ "text": "number"
1596
+ },
1597
+ "default": "-1",
1598
+ "description": "The input's maximum length.",
1599
+ "attribute": "maxlength"
1600
+ },
1601
+ {
1602
+ "kind": "field",
1603
+ "name": "required",
1604
+ "type": {
1605
+ "text": "boolean"
1606
+ },
1607
+ "default": "false",
1608
+ "description": "If the input is required.",
1609
+ "attribute": "required",
1610
+ "reflects": true
1611
+ },
1612
+ {
1613
+ "kind": "field",
1614
+ "name": "isInGroup",
1615
+ "type": {
1616
+ "text": "boolean"
1617
+ },
1618
+ "privacy": "protected",
1619
+ "default": "false",
1620
+ "attribute": "isInGroup"
1621
+ },
1622
+ {
1623
+ "kind": "field",
1624
+ "name": "validity",
1625
+ "type": {
1626
+ "text": "ValidityState"
1627
+ },
1628
+ "privacy": "public",
1629
+ "description": "Gets the validity state object",
1630
+ "readonly": true
1631
+ },
1632
+ {
1633
+ "kind": "field",
1634
+ "name": "validationMessage",
1635
+ "type": {
1636
+ "text": "string"
1637
+ },
1638
+ "privacy": "public",
1639
+ "default": "''"
1640
+ },
1641
+ {
1642
+ "kind": "method",
1643
+ "name": "getForm",
1644
+ "privacy": "public",
1645
+ "return": {
1646
+ "type": {
1647
+ "text": "HTMLFormElement | null"
1648
+ }
1649
+ },
1650
+ "description": "Gets the associated form, if one exists."
1651
+ },
1652
+ {
1653
+ "kind": "method",
1654
+ "name": "checkValidity",
1655
+ "privacy": "public",
1656
+ "return": {
1657
+ "type": {
1658
+ "text": "boolean"
1659
+ }
1660
+ }
1661
+ },
1662
+ {
1663
+ "kind": "method",
1664
+ "name": "reportValidity",
1665
+ "privacy": "public",
1666
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
1667
+ },
1668
+ {
1669
+ "kind": "method",
1670
+ "name": "setCustomValidity",
1671
+ "privacy": "public",
1672
+ "parameters": [
1673
+ {
1674
+ "name": "message",
1675
+ "type": {
1676
+ "text": "string"
1677
+ }
1678
+ }
1679
+ ],
1680
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
1681
+ },
1682
+ {
1683
+ "kind": "method",
1684
+ "name": "_handleReady",
1685
+ "privacy": "protected"
1686
+ },
1687
+ {
1688
+ "kind": "method",
1689
+ "name": "_handleInput",
1690
+ "privacy": "protected",
1691
+ "parameters": [
1692
+ {
1693
+ "name": "e",
1694
+ "type": {
1695
+ "text": "Event"
1696
+ }
1697
+ }
1698
+ ]
1699
+ },
1700
+ {
1701
+ "kind": "method",
1702
+ "name": "_handleBlur",
1703
+ "privacy": "protected",
1704
+ "parameters": [
1705
+ {
1706
+ "name": "e",
1707
+ "type": {
1708
+ "text": "Event"
1709
+ }
1710
+ }
1711
+ ]
1712
+ },
1713
+ {
1714
+ "kind": "method",
1715
+ "name": "_handleFocus",
1716
+ "privacy": "protected",
1717
+ "parameters": [
1718
+ {
1719
+ "name": "e",
1720
+ "type": {
1721
+ "text": "Event"
1722
+ }
1723
+ }
1724
+ ]
1725
+ },
1726
+ {
1727
+ "kind": "method",
1728
+ "name": "_handleClick",
1729
+ "privacy": "protected",
1730
+ "parameters": [
1731
+ {
1732
+ "name": "e",
1733
+ "type": {
1734
+ "text": "Event"
1735
+ }
1736
+ }
1737
+ ]
1738
+ },
1739
+ {
1740
+ "kind": "method",
1741
+ "name": "handleValidationMessages",
1742
+ "privacy": "protected"
1743
+ },
1744
+ {
1745
+ "kind": "method",
1746
+ "name": "_handleInvalid",
1747
+ "privacy": "protected",
1748
+ "parameters": [
1749
+ {
1750
+ "name": "event",
1751
+ "type": {
1752
+ "text": "Event"
1753
+ }
1754
+ }
1755
+ ]
1756
+ },
1757
+ {
1758
+ "kind": "method",
1759
+ "name": "_handleChange",
1760
+ "privacy": "protected",
1761
+ "parameters": [
1762
+ {
1763
+ "name": "e",
1764
+ "type": {
1765
+ "text": "Event"
1766
+ }
1767
+ }
1768
+ ]
1769
+ }
1770
+ ],
1771
+ "events": [
1772
+ {
1773
+ "name": "it-input-ready",
1774
+ "type": {
1775
+ "text": "CustomEvent"
1776
+ }
1777
+ },
1778
+ {
1779
+ "name": "it-input",
1780
+ "type": {
1781
+ "text": "CustomEvent"
1782
+ }
1783
+ },
1784
+ {
1785
+ "name": "it-blur",
1786
+ "type": {
1787
+ "text": "FocusEvent"
1788
+ }
1789
+ },
1790
+ {
1791
+ "name": "it-focus",
1792
+ "type": {
1793
+ "text": "FocusEvent"
1794
+ }
1795
+ },
1796
+ {
1797
+ "name": "it-click",
1798
+ "type": {
1799
+ "text": "MouseEvent"
1800
+ }
1801
+ },
1802
+ {
1803
+ "name": "it-change",
1804
+ "type": {
1805
+ "text": "CustomEvent"
1806
+ }
1807
+ }
1808
+ ],
1809
+ "attributes": [
1810
+ {
1811
+ "name": "name",
1812
+ "type": {
1813
+ "text": "string"
1814
+ },
1815
+ "default": "''",
1816
+ "description": "The name of the input, submitted as a name/value pair with form data.",
1817
+ "fieldName": "name"
1818
+ },
1819
+ {
1820
+ "name": "value",
1821
+ "type": {
1822
+ "text": "string"
1823
+ },
1824
+ "default": "''",
1825
+ "description": "The current value of the input, submitted as a name/value pair with form data.",
1826
+ "fieldName": "value"
1827
+ },
1828
+ {
1829
+ "name": "disabled",
1830
+ "type": {
1831
+ "text": "boolean"
1832
+ },
1833
+ "default": "false",
1834
+ "description": "If the input is disabled.",
1835
+ "fieldName": "disabled"
1836
+ },
1837
+ {
1838
+ "name": "form",
1839
+ "type": {
1840
+ "text": "string"
1841
+ },
1842
+ "default": "''",
1843
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
1844
+ "fieldName": "form"
1845
+ },
1846
+ {
1847
+ "name": "custom-validation",
1848
+ "type": {
1849
+ "text": "boolean"
1850
+ },
1851
+ "default": "false",
1852
+ "description": "If you implement your custom validation and you won't to trigger default validation",
1853
+ "fieldName": "customValidation"
1854
+ },
1855
+ {
1856
+ "name": "validity-message",
1857
+ "type": {
1858
+ "text": "string"
1859
+ },
1860
+ "default": "''",
1861
+ "description": "If your input is invalid from your custom validition, set this attribute with message validation",
1862
+ "fieldName": "validationText"
1863
+ },
1864
+ {
1865
+ "name": "pattern",
1866
+ "type": {
1867
+ "text": "string | undefined"
1868
+ },
1869
+ "description": "Pattern the `value` must match to be valid",
1870
+ "fieldName": "pattern"
1871
+ },
1872
+ {
1873
+ "name": "min",
1874
+ "type": {
1875
+ "text": "number | string | Date | undefined"
1876
+ },
1877
+ "description": "The input's minimum value. Only applies to date and number input types.",
1878
+ "fieldName": "min"
1879
+ },
1880
+ {
1881
+ "name": "max",
1882
+ "type": {
1883
+ "text": "number | string | Date | undefined"
1884
+ },
1885
+ "description": "The input's maximum value. Only applies to date and number input types.",
1886
+ "fieldName": "max"
1887
+ },
1888
+ {
1889
+ "name": "step",
1890
+ "type": {
1891
+ "text": "number | 'any'"
1892
+ },
1893
+ "default": "'any'",
1894
+ "description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.",
1895
+ "fieldName": "step"
1896
+ },
1897
+ {
1898
+ "name": "minlength",
1899
+ "type": {
1900
+ "text": "number"
1901
+ },
1902
+ "default": "-1",
1903
+ "description": "The input's minimum length.",
1904
+ "fieldName": "minlength"
1905
+ },
1906
+ {
1907
+ "name": "maxlength",
1908
+ "type": {
1909
+ "text": "number"
1910
+ },
1911
+ "default": "-1",
1912
+ "description": "The input's maximum length.",
1913
+ "fieldName": "maxlength"
1914
+ },
1915
+ {
1916
+ "name": "required",
1917
+ "type": {
1918
+ "text": "boolean"
1919
+ },
1920
+ "default": "false",
1921
+ "description": "If the input is required.",
1922
+ "fieldName": "required"
1923
+ },
1924
+ {
1925
+ "name": "isInGroup",
1926
+ "type": {
1927
+ "text": "boolean"
1928
+ },
1929
+ "default": "false",
1930
+ "fieldName": "isInGroup"
1931
+ }
1932
+ ],
1933
+ "superclass": {
1934
+ "name": "BaseLocalizedComponent",
1935
+ "module": "/src/base-component/base-component.js"
1936
+ }
1937
+ }
1938
+ ],
1939
+ "exports": [
1940
+ {
1941
+ "kind": "js",
1942
+ "name": "FormControl",
1943
+ "declaration": {
1944
+ "name": "FormControl",
1945
+ "module": "src/form/form-control.ts"
1946
+ }
1947
+ }
1948
+ ]
1949
+ },
1950
+ {
1951
+ "kind": "javascript-module",
1952
+ "path": "src/form/form-controller.ts",
1953
+ "declarations": [
1954
+ {
1955
+ "kind": "variable",
1956
+ "name": "formCollections",
1957
+ "type": {
1958
+ "text": "WeakMap<HTMLFormElement, Set<FormControl>>"
1959
+ },
1960
+ "default": "new WeakMap()"
1961
+ },
1962
+ {
1963
+ "kind": "class",
1964
+ "description": "A reactive controller to allow form controls to participate in form submission, validation, etc.",
1965
+ "name": "FormControlController",
1966
+ "members": [
1967
+ {
1968
+ "kind": "field",
1969
+ "name": "host",
1970
+ "type": {
1971
+ "text": "FormControl & ReactiveControllerHost"
1972
+ }
1973
+ },
1974
+ {
1975
+ "kind": "field",
1976
+ "name": "form",
1977
+ "type": {
1978
+ "text": "HTMLFormElement | null | undefined"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "field",
1983
+ "name": "options",
1984
+ "type": {
1985
+ "text": "FormControlControllerOptions"
1986
+ },
1987
+ "default": "{ form: (input) => { // If there's a form attribute, use it to find the target form by id // Controls may not always reflect the 'form' property. For example, `<it-button>` doesn't reflect. const formId = input.form; if (formId) { const root = input.getRootNode() as Document | ShadowRoot | HTMLElement; const form = root.querySelector(`#${formId}`); if (form) { return form as HTMLFormElement; } } return input.closest('form'); }, name: (input) => input.name, value: (input) => input.value, disabled: (input) => input.disabled ?? false, reportValidity: (input: FormControl) => typeof input.reportValidity === 'function' ? input.reportValidity() : true, checkValidity: (input: FormControl) => (typeof input.checkValidity === 'function' ? input.checkValidity() : true), setValue: (input, value) => { // eslint-disable-next-line no-param-reassign input.value = value as string; }, assumeInteractionOn: ['it-input'], ...options, }"
1988
+ },
1989
+ {
1990
+ "kind": "field",
1991
+ "name": "submittedOnce",
1992
+ "type": {
1993
+ "text": "boolean"
1994
+ },
1995
+ "default": "false"
1996
+ },
1997
+ {
1998
+ "kind": "method",
1999
+ "name": "hostConnected"
2000
+ },
2001
+ {
2002
+ "kind": "method",
2003
+ "name": "hostDisconnected"
2004
+ },
2005
+ {
2006
+ "kind": "method",
2007
+ "name": "hostUpdated"
2008
+ },
2009
+ {
2010
+ "kind": "method",
2011
+ "name": "attachForm",
2012
+ "privacy": "private",
2013
+ "parameters": [
2014
+ {
2015
+ "name": "form",
2016
+ "optional": true,
2017
+ "type": {
2018
+ "text": "HTMLFormElement"
2019
+ }
2020
+ }
2021
+ ]
2022
+ },
2023
+ {
2024
+ "kind": "method",
2025
+ "name": "detachForm",
2026
+ "privacy": "private"
2027
+ },
2028
+ {
2029
+ "kind": "field",
2030
+ "name": "handleFormData",
2031
+ "privacy": "private"
2032
+ },
2033
+ {
2034
+ "kind": "field",
2035
+ "name": "handleFormSubmit",
2036
+ "privacy": "private"
2037
+ },
2038
+ {
2039
+ "kind": "field",
2040
+ "name": "handleFormReset",
2041
+ "privacy": "private"
109
2042
  },
110
2043
  {
111
2044
  "kind": "field",
112
- "name": "_ariaAttributes",
113
- "type": {
114
- "text": "Record<string, string>"
115
- },
116
- "privacy": "protected",
117
- "default": "{}"
2045
+ "name": "handleInteraction",
2046
+ "privacy": "private"
118
2047
  },
119
2048
  {
120
2049
  "kind": "field",
121
- "name": "_id",
122
- "type": {
123
- "text": "string | undefined"
124
- },
125
- "privacy": "protected"
2050
+ "name": "checkFormValidity",
2051
+ "privacy": "private"
2052
+ },
2053
+ {
2054
+ "kind": "field",
2055
+ "name": "reportFormValidity",
2056
+ "privacy": "private"
126
2057
  },
127
2058
  {
128
2059
  "kind": "method",
129
- "name": "generateId",
2060
+ "name": "setUserInteracted",
2061
+ "privacy": "private",
130
2062
  "parameters": [
131
2063
  {
132
- "name": "prefix",
2064
+ "name": "el",
133
2065
  "type": {
134
- "text": "string"
2066
+ "text": "FormControl"
2067
+ }
2068
+ },
2069
+ {
2070
+ "name": "hasInteracted",
2071
+ "type": {
2072
+ "text": "boolean"
135
2073
  }
136
2074
  }
137
2075
  ]
138
2076
  },
139
2077
  {
140
2078
  "kind": "method",
141
- "name": "addFocus",
2079
+ "name": "doAction",
2080
+ "privacy": "private",
142
2081
  "parameters": [
143
2082
  {
144
- "name": "element",
2083
+ "name": "type",
145
2084
  "type": {
146
- "text": "HTMLElement"
2085
+ "text": "'submit' | 'reset'"
2086
+ }
2087
+ },
2088
+ {
2089
+ "name": "submitter",
2090
+ "optional": true,
2091
+ "type": {
2092
+ "text": "HTMLInputElement | any"
147
2093
  }
148
2094
  }
149
2095
  ]
150
2096
  },
151
2097
  {
152
2098
  "kind": "method",
153
- "name": "composeClass",
2099
+ "name": "getForm",
2100
+ "description": "Returns the associated `<form>` element, if one exists."
2101
+ },
2102
+ {
2103
+ "kind": "method",
2104
+ "name": "reset",
154
2105
  "parameters": [
155
2106
  {
156
- "name": "classes",
2107
+ "name": "submitter",
2108
+ "optional": true,
157
2109
  "type": {
158
- "text": "any"
2110
+ "text": "HTMLInputElement | any"
159
2111
  }
160
2112
  }
161
- ]
2113
+ ],
2114
+ "description": "Resets the form, restoring all the control to their default value"
162
2115
  },
163
2116
  {
164
2117
  "kind": "method",
165
- "name": "getAriaAttributes"
166
- }
167
- ],
168
- "superclass": {
169
- "name": "LitElement",
170
- "package": "lit"
171
- },
172
- "customElement": true
173
- },
174
- {
175
- "kind": "variable",
176
- "name": "BaseLocalizedComponent"
177
- }
178
- ],
179
- "exports": [
180
- {
181
- "kind": "js",
182
- "name": "BaseComponent",
183
- "declaration": {
184
- "name": "BaseComponent",
185
- "module": "src/base-component/base-component.ts"
186
- }
187
- },
188
- {
189
- "kind": "js",
190
- "name": "BaseLocalizedComponent",
191
- "declaration": {
192
- "name": "BaseLocalizedComponent",
193
- "module": "src/base-component/base-component.ts"
194
- }
195
- }
196
- ]
197
- },
198
- {
199
- "kind": "javascript-module",
200
- "path": "src/directives/setAttributes.ts",
201
- "declarations": [
202
- {
203
- "kind": "variable",
204
- "name": "setAttributes"
205
- }
206
- ],
207
- "exports": [
208
- {
209
- "kind": "js",
210
- "name": "default",
211
- "declaration": {
212
- "name": "setAttributes",
213
- "module": "src/directives/setAttributes.ts"
214
- }
215
- }
216
- ]
217
- },
218
- {
219
- "kind": "javascript-module",
220
- "path": "src/mixins/form.ts",
221
- "declarations": [
222
- {
223
- "kind": "mixin",
224
- "description": "",
225
- "name": "FormMixin",
226
- "members": [
2118
+ "name": "submit",
2119
+ "parameters": [
2120
+ {
2121
+ "name": "submitter",
2122
+ "optional": true,
2123
+ "type": {
2124
+ "text": "HTMLInputElement | any"
2125
+ }
2126
+ }
2127
+ ],
2128
+ "description": "Submits the form, triggering validation and form data injection."
2129
+ },
227
2130
  {
228
2131
  "kind": "method",
229
- "name": "_handleFormdata",
230
- "return": {
231
- "type": {
232
- "text": "void"
2132
+ "name": "setValidity",
2133
+ "parameters": [
2134
+ {
2135
+ "name": "isValid",
2136
+ "type": {
2137
+ "text": "boolean"
2138
+ }
233
2139
  }
234
- },
2140
+ ],
2141
+ "description": "Synchronously sets the form control's validity. Call this when you know the future validity but need to update\nthe host element immediately, i.e. before Lit updates the component in the next update."
2142
+ },
2143
+ {
2144
+ "kind": "method",
2145
+ "name": "userInteracted"
2146
+ },
2147
+ {
2148
+ "kind": "method",
2149
+ "name": "updateValidity",
2150
+ "description": "Updates the form control's validity based on the current value of `host.validity.valid`. Call this when anything\nthat affects constraint validation changes so the component receives the correct validity states."
2151
+ },
2152
+ {
2153
+ "kind": "method",
2154
+ "name": "emitInvalidEvent",
235
2155
  "parameters": [
236
2156
  {
237
- "name": "event",
2157
+ "name": "originalInvalidEvent",
2158
+ "optional": true,
238
2159
  "type": {
239
2160
  "text": "Event"
240
- },
241
- "description": "The event."
2161
+ }
242
2162
  }
243
2163
  ],
244
- "description": "Handles `formdata` event."
245
- }
246
- ],
247
- "parameters": [
248
- {
249
- "name": "Base",
250
- "type": {
251
- "text": "TBase"
252
- },
253
- "description": "The base class."
2164
+ "description": "Dispatches a non-bubbling, cancelable custom event of type `it-invalid`.\nIf the `it-invalid` event will be cancelled then the original `invalid`\nevent (which may have been passed as argument) will also be cancelled.\nIf no original `invalid` event has been passed then the `it-invalid`\nevent will be cancelled before being dispatched."
254
2165
  }
255
2166
  ]
256
2167
  }
@@ -258,10 +2169,18 @@
258
2169
  "exports": [
259
2170
  {
260
2171
  "kind": "js",
261
- "name": "default",
2172
+ "name": "formCollections",
2173
+ "declaration": {
2174
+ "name": "formCollections",
2175
+ "module": "src/form/form-controller.ts"
2176
+ }
2177
+ },
2178
+ {
2179
+ "kind": "js",
2180
+ "name": "FormControlController",
262
2181
  "declaration": {
263
- "name": "FormMixin",
264
- "module": "src/mixins/form.ts"
2182
+ "name": "FormControlController",
2183
+ "module": "src/form/form-controller.ts"
265
2184
  }
266
2185
  }
267
2186
  ]
@@ -372,15 +2291,6 @@
372
2291
  },
373
2292
  "description": "External validation."
374
2293
  },
375
- {
376
- "kind": "field",
377
- "name": "_touched",
378
- "type": {
379
- "text": "boolean"
380
- },
381
- "default": "false",
382
- "description": "Field is touched"
383
- },
384
2294
  {
385
2295
  "kind": "method",
386
2296
  "name": "_checkValidity",
@@ -419,56 +2329,6 @@
419
2329
  }
420
2330
  ],
421
2331
  "description": "Sets the given custom validity message."
422
- },
423
- {
424
- "kind": "method",
425
- "name": "_handleBlur"
426
- },
427
- {
428
- "kind": "method",
429
- "name": "_handleFocus"
430
- },
431
- {
432
- "kind": "method",
433
- "name": "_handleClick"
434
- },
435
- {
436
- "kind": "method",
437
- "name": "_handleChange",
438
- "parameters": [
439
- {
440
- "name": "e",
441
- "type": {
442
- "text": "Event"
443
- }
444
- }
445
- ]
446
- }
447
- ],
448
- "events": [
449
- {
450
- "name": "blur",
451
- "type": {
452
- "text": "FocusEvent"
453
- }
454
- },
455
- {
456
- "name": "focus",
457
- "type": {
458
- "text": "FocusEvent"
459
- }
460
- },
461
- {
462
- "name": "click",
463
- "type": {
464
- "text": "MouseEvent"
465
- }
466
- },
467
- {
468
- "name": "change",
469
- "type": {
470
- "text": "CustomEvent"
471
- }
472
2332
  }
473
2333
  ],
474
2334
  "parameters": [
@@ -493,10 +2353,69 @@
493
2353
  }
494
2354
  ]
495
2355
  },
2356
+ {
2357
+ "kind": "javascript-module",
2358
+ "path": "src/stories/formControlReusableStories.ts",
2359
+ "declarations": [
2360
+ {
2361
+ "kind": "function",
2362
+ "name": "StoryFormControlMethodAndProps",
2363
+ "parameters": [
2364
+ {
2365
+ "name": "{\n otherProps = '',\n otherMethods = '',\n otherEvents = '',\n componentName = 'it-input',\n}"
2366
+ }
2367
+ ]
2368
+ }
2369
+ ],
2370
+ "exports": [
2371
+ {
2372
+ "kind": "js",
2373
+ "name": "StoryFormControlMethodAndProps",
2374
+ "declaration": {
2375
+ "name": "StoryFormControlMethodAndProps",
2376
+ "module": "src/stories/formControlReusableStories.ts"
2377
+ }
2378
+ }
2379
+ ]
2380
+ },
496
2381
  {
497
2382
  "kind": "javascript-module",
498
2383
  "path": "src/utils/cookies.ts",
499
2384
  "declarations": [
2385
+ {
2386
+ "kind": "function",
2387
+ "name": "rememberChoice",
2388
+ "parameters": [
2389
+ {
2390
+ "name": "service",
2391
+ "type": {
2392
+ "text": "string"
2393
+ }
2394
+ },
2395
+ {
2396
+ "name": "remember",
2397
+ "type": {
2398
+ "text": "boolean"
2399
+ }
2400
+ }
2401
+ ]
2402
+ },
2403
+ {
2404
+ "kind": "function",
2405
+ "name": "isChoiceRemembered",
2406
+ "parameters": [
2407
+ {
2408
+ "name": "service",
2409
+ "type": {
2410
+ "text": "string"
2411
+ }
2412
+ }
2413
+ ]
2414
+ },
2415
+ {
2416
+ "kind": "function",
2417
+ "name": "clearAllRememberedChoices"
2418
+ },
500
2419
  {
501
2420
  "kind": "variable",
502
2421
  "name": "cookies",
@@ -654,6 +2573,30 @@
654
2573
  }
655
2574
  }
656
2575
  ]
2576
+ },
2577
+ {
2578
+ "kind": "javascript-module",
2579
+ "path": "src/form/locales/it.ts",
2580
+ "declarations": [
2581
+ {
2582
+ "kind": "variable",
2583
+ "name": "translation",
2584
+ "type": {
2585
+ "text": "DefaultTranslation"
2586
+ },
2587
+ "default": "{ $code: 'it', $name: 'Italiano', $dir: 'ltr', validityRequired: 'Questo campo è obbligatorio.', validityGroupRequired: \"Scegli almeno un'opzione\", validityPattern: 'Il valore non corrisponde al formato richiesto.', validityMinlength: 'Il valore deve essere lungo almeno {minlength} caratteri.', validityMaxlength: 'Il valore deve essere lungo al massimo {maxlength} caratteri.', }"
2588
+ }
2589
+ ],
2590
+ "exports": [
2591
+ {
2592
+ "kind": "js",
2593
+ "name": "default",
2594
+ "declaration": {
2595
+ "name": "translation",
2596
+ "module": "src/form/locales/it.ts"
2597
+ }
2598
+ }
2599
+ ]
657
2600
  }
658
2601
  ]
659
2602
  }