1
+ /****************************************************************************************************
2
+ * PARTIAL FILE: aria_dom_properties.js
3
+ ****************************************************************************************************/
4
+ import { Component } from '@angular/core' ;
5
+ import * as i0 from "@angular/core" ;
6
+ export class MyComponent {
7
+ constructor ( ) {
8
+ this . disabled = '' ;
9
+ this . readonly = '' ;
10
+ this . label = '' ;
11
+ }
12
+ }
13
+ MyComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , deps :[ ] , target :i0 . ɵɵFactoryTarget . Component } ) ;
14
+ MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :MyComponent , isStandalone :true , selector :"ng-component" , ngImport :i0 , template :`
15
+ <input [attr.aria-disabled]="disabled" [aria-readonly]="readonly" [ariaLabel]="label">
16
+ ` , isInline :true } ) ;
17
+ i0 . ɵɵngDeclareClassMetadata ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , decorators :[ {
18
+ type :Component ,
19
+ args :[ {
20
+ template :`
21
+ <input [attr.aria-disabled]="disabled" [aria-readonly]="readonly" [ariaLabel]="label">
22
+ ` ,
23
+ } ]
24
+ } ] } ) ;
25
+
26
+ /****************************************************************************************************
27
+ * PARTIAL FILE: aria_dom_properties.d.ts
28
+ ****************************************************************************************************/
29
+ import * as i0 from "@angular/core" ;
30
+ exportdeclare class MyComponent {
31
+ disabled :string ;
32
+ readonly:string ;
33
+ label:string ;
34
+ staticɵfac :i0 . ɵɵFactoryDeclaration < MyComponent , never > ;
35
+ static ɵcmp :i0 . ɵɵComponentDeclaration < MyComponent , "ng-component" , never , { } , { } , never , never , true , never > ;
36
+ }
37
+
38
+ /****************************************************************************************************
39
+ * PARTIAL FILE: aria_properties.js
40
+ ****************************************************************************************************/
41
+ import { Component, Directive} from '@angular/core' ;
42
+ import * as i0 from "@angular/core" ;
43
+ class MyDir {
44
+ }
45
+ MyDir . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyDir , deps :[ ] , target :i0 . ɵɵFactoryTarget . Directive } ) ;
46
+ MyDir . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :MyDir , isStandalone :true , selector :"[myDir]" , ngImport :i0 } ) ;
47
+ i0 . ɵɵngDeclareClassMetadata ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyDir , decorators :[ {
48
+ type :Directive ,
49
+ args :[ { selector :'[myDir]' } ]
50
+ } ] } ) ;
51
+ export class MyComponent {
52
+ constructor ( ) {
53
+ this . disabled = '' ;
54
+ this . readonly = '' ;
55
+ this . label = '' ;
56
+ }
57
+ }
58
+ MyComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , deps :[ ] , target :i0 . ɵɵFactoryTarget . Component } ) ;
59
+ MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :MyComponent , isStandalone :true , selector :"ng-component" , ngImport :i0 , template :`
60
+ <input myDir [attr.aria-disabled]="disabled" [aria-readonly]="readonly" [ariaLabel]="label">
61
+ ` , isInline :true , dependencies :[ { kind :"directive" , type :MyDir , selector :"[myDir]" } ] } ) ;
62
+ i0 . ɵɵngDeclareClassMetadata ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , decorators :[ {
63
+ type :Component ,
64
+ args :[ {
65
+ template :`
66
+ <input myDir [attr.aria-disabled]="disabled" [aria-readonly]="readonly" [ariaLabel]="label">
67
+ ` ,
68
+ imports :[ MyDir ] ,
69
+ } ]
70
+ } ] } ) ;
71
+
72
+ /****************************************************************************************************
73
+ * PARTIAL FILE: aria_properties.d.ts
74
+ ****************************************************************************************************/
75
+ import * as i0 from "@angular/core" ;
76
+ exportdeclare class MyComponent {
77
+ disabled :string ;
78
+ readonly:string ;
79
+ label:string ;
80
+ staticɵfac :i0 . ɵɵFactoryDeclaration < MyComponent , never > ;
81
+ static ɵcmp :i0 . ɵɵComponentDeclaration < MyComponent , "ng-component" , never , { } , { } , never , never , true , never > ;
82
+ }
83
+
1
84
/****************************************************************************************************
2
85
* PARTIAL FILE: bind.js
3
86
****************************************************************************************************/
@@ -349,26 +432,25 @@ import * as i0 from "@angular/core";
349
432
export class ButtonDir {
350
433
}
351
434
ButtonDir . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :ButtonDir , deps :[ ] , target :i0 . ɵɵFactoryTarget . Directive } ) ;
352
- ButtonDir . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :ButtonDir , isStandalone :false , selector :"button" , inputs :{ al : [ "aria- label", "al" ] } , ngImport :i0 } ) ;
435
+ ButtonDir . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :ButtonDir , isStandalone :false , selector :"button" , inputs :{ label : " label"} , ngImport :i0 } ) ;
353
436
i0 . ɵɵngDeclareClassMetadata ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :ButtonDir , decorators :[ {
354
437
type :Directive ,
355
438
args :[ {
356
439
selector :'button' ,
357
- standalone :false
440
+ standalone :false ,
358
441
} ]
359
- } ] , propDecorators :{ al :[ {
360
- type :Input ,
361
- args :[ 'aria-label' ]
442
+ } ] , propDecorators :{ label :[ {
443
+ type :Input
362
444
} ] } } ) ;
363
445
export class MyComponent {
364
446
}
365
447
MyComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , deps :[ ] , target :i0 . ɵɵFactoryTarget . Component } ) ;
366
- MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :MyComponent , isStandalone :false , selector :"ng-component" , ngImport :i0 , template :'<button [title]="1" [attr.id]="2" [tabindex]="3"aria- label="{{1 + 3}}"></button>' , isInline :true , dependencies :[ { kind :"directive" , type :ButtonDir , selector :"button" , inputs :[ "aria- label" ] } ] } ) ;
448
+ MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :MyComponent , isStandalone :false , selector :"ng-component" , ngImport :i0 , template :'<button [title]="1" [attr.id]="2" [tabindex]="3" label="{{1 + 3}}"></button>' , isInline :true , dependencies :[ { kind :"directive" , type :ButtonDir , selector :"button" , inputs :[ "label" ] } ] } ) ;
367
449
i0 . ɵɵngDeclareClassMetadata ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , decorators :[ {
368
450
type :Component ,
369
451
args :[ {
370
- template :'<button [title]="1" [attr.id]="2" [tabindex]="3"aria- label="{{1 + 3}}"></button>' ,
371
- standalone :false
452
+ template :'<button [title]="1" [attr.id]="2" [tabindex]="3" label="{{1 + 3}}"></button>' ,
453
+ standalone :false ,
372
454
} ]
373
455
} ] } ) ;
374
456
export class MyMod {
@@ -386,9 +468,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDE
386
468
****************************************************************************************************/
387
469
import * as i0 from "@angular/core" ;
388
470
exportdeclare class ButtonDir {
389
- al :any ;
471
+ label :any ;
390
472
staticɵfac :i0 . ɵɵFactoryDeclaration < ButtonDir , never > ;
391
- static ɵdir :i0 . ɵɵDirectiveDeclaration < ButtonDir , "button" , never , { "al " :{ "alias" :"aria- label" ; "required" :false ; } ; } , { } , never , never , false , never > ;
473
+ static ɵdir :i0 . ɵɵDirectiveDeclaration < ButtonDir , "button" , never , { "label " :{ "alias" :"label" ; "required" :false ; } ; } , { } , never , never , false , never > ;
392
474
}
393
475
export declare class MyComponent {
394
476
static ɵfac :i0 . ɵɵFactoryDeclaration < MyComponent , never > ;
@@ -408,26 +490,25 @@ import * as i0 from "@angular/core";
408
490
export class ButtonDir {
409
491
}
410
492
ButtonDir . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :ButtonDir , deps :[ ] , target :i0 . ɵɵFactoryTarget . Directive } ) ;
411
- ButtonDir . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :ButtonDir , isStandalone :false , selector :"button" , inputs :{ al : [ "aria- label", "al" ] } , ngImport :i0 } ) ;
493
+ ButtonDir . ɵdir = i0 . ɵɵngDeclareDirective ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :ButtonDir , isStandalone :false , selector :"button" , inputs :{ label : " label"} , ngImport :i0 } ) ;
412
494
i0 . ɵɵngDeclareClassMetadata ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :ButtonDir , decorators :[ {
413
495
type :Directive ,
414
496
args :[ {
415
497
selector :'button' ,
416
- standalone :false
498
+ standalone :false ,
417
499
} ]
418
- } ] , propDecorators :{ al :[ {
419
- type :Input ,
420
- args :[ 'aria-label' ]
500
+ } ] , propDecorators :{ label :[ {
501
+ type :Input
421
502
} ] } } ) ;
422
503
export class MyComponent {
423
504
}
424
505
MyComponent . ɵfac = i0 . ɵɵngDeclareFactory ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , deps :[ ] , target :i0 . ɵɵFactoryTarget . Component } ) ;
425
- MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :MyComponent , isStandalone :false , selector :"ng-component" , ngImport :i0 , template :'<button [title]="1" [id]="2" tabindex="{{0 + 3}}"aria- label="hello-{{1 + 3}}-{{2 + 3}}"></button>' , isInline :true , dependencies :[ { kind :"directive" , type :ButtonDir , selector :"button" , inputs :[ "aria- label" ] } ] } ) ;
506
+ MyComponent . ɵcmp = i0 . ɵɵngDeclareComponent ( { minVersion :"14.0.0" , version :"0.0.0-PLACEHOLDER" , type :MyComponent , isStandalone :false , selector :"ng-component" , ngImport :i0 , template :'<button [title]="1" [id]="2" tabindex="{{0 + 3}}" label="hello-{{1 + 3}}-{{2 + 3}}"></button>' , isInline :true , dependencies :[ { kind :"directive" , type :ButtonDir , selector :"button" , inputs :[ "label" ] } ] } ) ;
426
507
i0 . ɵɵngDeclareClassMetadata ( { minVersion :"12.0.0" , version :"0.0.0-PLACEHOLDER" , ngImport :i0 , type :MyComponent , decorators :[ {
427
508
type :Component ,
428
509
args :[ {
429
- template :'<button [title]="1" [id]="2" tabindex="{{0 + 3}}"aria- label="hello-{{1 + 3}}-{{2 + 3}}"></button>' ,
430
- standalone :false
510
+ template :'<button [title]="1" [id]="2" tabindex="{{0 + 3}}" label="hello-{{1 + 3}}-{{2 + 3}}"></button>' ,
511
+ standalone :false ,
431
512
} ]
432
513
} ] } ) ;
433
514
export class MyMod {
@@ -445,9 +526,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "0.0.0-PLACEHOLDE
445
526
****************************************************************************************************/
446
527
import * as i0 from "@angular/core" ;
447
528
exportdeclare class ButtonDir {
448
- al :any ;
529
+ label :any ;
449
530
staticɵfac :i0 . ɵɵFactoryDeclaration < ButtonDir , never > ;
450
- static ɵdir :i0 . ɵɵDirectiveDeclaration < ButtonDir , "button" , never , { "al " :{ "alias" :"aria- label" ; "required" :false ; } ; } , { } , never , never , false , never > ;
531
+ static ɵdir :i0 . ɵɵDirectiveDeclaration < ButtonDir , "button" , never , { "label " :{ "alias" :"label" ; "required" :false ; } ; } , { } , never , never , false , never > ;
451
532
}
452
533
export declare class MyComponent {
453
534
static ɵfac :i0 . ɵɵFactoryDeclaration < MyComponent , never > ;