@skyux/autonumeric 12.0.0-alpha.1 → 12.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/documentation.json
CHANGED
|
@@ -18,6 +18,20 @@
|
|
|
18
18
|
"variant": "declaration",
|
|
19
19
|
"kind": 128,
|
|
20
20
|
"flags": {},
|
|
21
|
+
"comment": {
|
|
22
|
+
"summary": [],
|
|
23
|
+
"blockTags": [
|
|
24
|
+
{
|
|
25
|
+
"tag": "@docsIncludeIds",
|
|
26
|
+
"content": [
|
|
27
|
+
{
|
|
28
|
+
"kind": "text",
|
|
29
|
+
"text": "SkyAutonumericDirective, SkyAutonumericOptions, SkyAutonumericOptionsProvider"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
21
35
|
"children": [],
|
|
22
36
|
"groups": [
|
|
23
37
|
{
|
|
@@ -30,9 +44,9 @@
|
|
|
30
44
|
"sources": [
|
|
31
45
|
{
|
|
32
46
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.module.ts",
|
|
33
|
-
"line":
|
|
47
|
+
"line": 14,
|
|
34
48
|
"character": 13,
|
|
35
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
49
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.module.ts#L14"
|
|
36
50
|
}
|
|
37
51
|
],
|
|
38
52
|
"decorators": [
|
|
@@ -72,7 +86,7 @@
|
|
|
72
86
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options-provider.ts",
|
|
73
87
|
"line": 17,
|
|
74
88
|
"character": 9,
|
|
75
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
89
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L17"
|
|
76
90
|
}
|
|
77
91
|
],
|
|
78
92
|
"signatures": [
|
|
@@ -103,7 +117,7 @@
|
|
|
103
117
|
"fileName": "lib/modules/autonumeric/autonumeric-options-provider.ts",
|
|
104
118
|
"line": 17,
|
|
105
119
|
"character": 2,
|
|
106
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
120
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L17"
|
|
107
121
|
}
|
|
108
122
|
],
|
|
109
123
|
"type": {
|
|
@@ -136,7 +150,7 @@
|
|
|
136
150
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options-provider.ts",
|
|
137
151
|
"line": 12,
|
|
138
152
|
"character": 13,
|
|
139
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
153
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L12"
|
|
140
154
|
}
|
|
141
155
|
],
|
|
142
156
|
"decorators": [
|
|
@@ -174,7 +188,7 @@
|
|
|
174
188
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
175
189
|
"line": 80,
|
|
176
190
|
"character": 2,
|
|
177
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
191
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L80"
|
|
178
192
|
}
|
|
179
193
|
],
|
|
180
194
|
"signatures": [
|
|
@@ -189,7 +203,7 @@
|
|
|
189
203
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
190
204
|
"line": 80,
|
|
191
205
|
"character": 2,
|
|
192
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
206
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L80"
|
|
193
207
|
}
|
|
194
208
|
],
|
|
195
209
|
"parameters": [
|
|
@@ -283,7 +297,7 @@
|
|
|
283
297
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
284
298
|
"line": 56,
|
|
285
299
|
"character": 13,
|
|
286
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
300
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L56"
|
|
287
301
|
}
|
|
288
302
|
],
|
|
289
303
|
"setSignature": {
|
|
@@ -313,7 +327,7 @@
|
|
|
313
327
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
314
328
|
"line": 55,
|
|
315
329
|
"character": 2,
|
|
316
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
330
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L55"
|
|
317
331
|
}
|
|
318
332
|
],
|
|
319
333
|
"parameters": [
|
|
@@ -355,7 +369,7 @@
|
|
|
355
369
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
356
370
|
"line": 121,
|
|
357
371
|
"character": 9,
|
|
358
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
372
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L121"
|
|
359
373
|
}
|
|
360
374
|
],
|
|
361
375
|
"signatures": [
|
|
@@ -370,7 +384,7 @@
|
|
|
370
384
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
371
385
|
"line": 121,
|
|
372
386
|
"character": 2,
|
|
373
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
387
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L121"
|
|
374
388
|
}
|
|
375
389
|
],
|
|
376
390
|
"type": {
|
|
@@ -404,7 +418,7 @@
|
|
|
404
418
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
405
419
|
"line": 94,
|
|
406
420
|
"character": 9,
|
|
407
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
421
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L94"
|
|
408
422
|
}
|
|
409
423
|
],
|
|
410
424
|
"signatures": [
|
|
@@ -419,7 +433,7 @@
|
|
|
419
433
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
420
434
|
"line": 94,
|
|
421
435
|
"character": 2,
|
|
422
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
436
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L94"
|
|
423
437
|
}
|
|
424
438
|
],
|
|
425
439
|
"type": {
|
|
@@ -453,7 +467,7 @@
|
|
|
453
467
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
454
468
|
"line": 190,
|
|
455
469
|
"character": 9,
|
|
456
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
470
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L190"
|
|
457
471
|
}
|
|
458
472
|
],
|
|
459
473
|
"signatures": [
|
|
@@ -468,7 +482,7 @@
|
|
|
468
482
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
469
483
|
"line": 189,
|
|
470
484
|
"character": 2,
|
|
471
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
485
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L189"
|
|
472
486
|
}
|
|
473
487
|
],
|
|
474
488
|
"type": {
|
|
@@ -492,7 +506,7 @@
|
|
|
492
506
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
493
507
|
"line": 181,
|
|
494
508
|
"character": 9,
|
|
495
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
509
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
496
510
|
}
|
|
497
511
|
],
|
|
498
512
|
"signatures": [
|
|
@@ -507,7 +521,7 @@
|
|
|
507
521
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
508
522
|
"line": 181,
|
|
509
523
|
"character": 2,
|
|
510
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
524
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
511
525
|
}
|
|
512
526
|
],
|
|
513
527
|
"parameters": [
|
|
@@ -530,7 +544,7 @@
|
|
|
530
544
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
531
545
|
"line": 181,
|
|
532
546
|
"character": 30,
|
|
533
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
547
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
534
548
|
}
|
|
535
549
|
],
|
|
536
550
|
"signatures": [
|
|
@@ -545,7 +559,7 @@
|
|
|
545
559
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
546
560
|
"line": 181,
|
|
547
561
|
"character": 30,
|
|
548
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
562
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
549
563
|
}
|
|
550
564
|
],
|
|
551
565
|
"parameters": [
|
|
@@ -602,7 +616,7 @@
|
|
|
602
616
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
603
617
|
"line": 185,
|
|
604
618
|
"character": 9,
|
|
605
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
619
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
606
620
|
}
|
|
607
621
|
],
|
|
608
622
|
"signatures": [
|
|
@@ -617,7 +631,7 @@
|
|
|
617
631
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
618
632
|
"line": 185,
|
|
619
633
|
"character": 2,
|
|
620
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
634
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
621
635
|
}
|
|
622
636
|
],
|
|
623
637
|
"parameters": [
|
|
@@ -640,7 +654,7 @@
|
|
|
640
654
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
641
655
|
"line": 185,
|
|
642
656
|
"character": 31,
|
|
643
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
657
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
644
658
|
}
|
|
645
659
|
],
|
|
646
660
|
"signatures": [
|
|
@@ -655,7 +669,7 @@
|
|
|
655
669
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
656
670
|
"line": 185,
|
|
657
671
|
"character": 31,
|
|
658
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
672
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
659
673
|
}
|
|
660
674
|
],
|
|
661
675
|
"type": {
|
|
@@ -699,7 +713,7 @@
|
|
|
699
713
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
700
714
|
"line": 130,
|
|
701
715
|
"character": 9,
|
|
702
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
716
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L130"
|
|
703
717
|
}
|
|
704
718
|
],
|
|
705
719
|
"signatures": [
|
|
@@ -722,7 +736,7 @@
|
|
|
722
736
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
723
737
|
"line": 130,
|
|
724
738
|
"character": 2,
|
|
725
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
739
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L130"
|
|
726
740
|
}
|
|
727
741
|
],
|
|
728
742
|
"parameters": [
|
|
@@ -769,7 +783,7 @@
|
|
|
769
783
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
770
784
|
"line": 161,
|
|
771
785
|
"character": 9,
|
|
772
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
786
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L161"
|
|
773
787
|
}
|
|
774
788
|
],
|
|
775
789
|
"signatures": [
|
|
@@ -784,7 +798,7 @@
|
|
|
784
798
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
785
799
|
"line": 161,
|
|
786
800
|
"character": 2,
|
|
787
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
801
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L161"
|
|
788
802
|
}
|
|
789
803
|
],
|
|
790
804
|
"parameters": [
|
|
@@ -851,7 +865,7 @@
|
|
|
851
865
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
852
866
|
"line": 138,
|
|
853
867
|
"character": 9,
|
|
854
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
868
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L138"
|
|
855
869
|
}
|
|
856
870
|
],
|
|
857
871
|
"signatures": [
|
|
@@ -866,7 +880,7 @@
|
|
|
866
880
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
867
881
|
"line": 138,
|
|
868
882
|
"character": 2,
|
|
869
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
883
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L138"
|
|
870
884
|
}
|
|
871
885
|
],
|
|
872
886
|
"parameters": [
|
|
@@ -933,7 +947,7 @@
|
|
|
933
947
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
934
948
|
"line": 49,
|
|
935
949
|
"character": 13,
|
|
936
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
950
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L49"
|
|
937
951
|
}
|
|
938
952
|
],
|
|
939
953
|
"implementedTypes": [
|
|
@@ -1026,7 +1040,7 @@
|
|
|
1026
1040
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options.ts",
|
|
1027
1041
|
"line": 11,
|
|
1028
1042
|
"character": 12,
|
|
1029
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
1043
|
+
"url": "https://github.com/blackbaud/skyux/blob/8b55351/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options.ts#L11"
|
|
1030
1044
|
}
|
|
1031
1045
|
],
|
|
1032
1046
|
"type": {
|
|
@@ -1325,18 +1339,18 @@
|
|
|
1325
1339
|
"@angular/router": "19.0.5",
|
|
1326
1340
|
"@blackbaud/skyux-design-tokens": "0.0.43",
|
|
1327
1341
|
"@schematics/angular": "19.0.6",
|
|
1328
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1329
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1330
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1331
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1332
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1333
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1334
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1335
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1342
|
+
"@skyux-sdk/testing": "12.0.0-alpha.3",
|
|
1343
|
+
"@skyux/assets": "12.0.0-alpha.3",
|
|
1344
|
+
"@skyux/autonumeric": "12.0.0-alpha.3",
|
|
1345
|
+
"@skyux/core": "12.0.0-alpha.3",
|
|
1346
|
+
"@skyux/forms": "12.0.0-alpha.3",
|
|
1347
|
+
"@skyux/help-inline": "12.0.0-alpha.3",
|
|
1348
|
+
"@skyux/i18n": "12.0.0-alpha.3",
|
|
1349
|
+
"@skyux/icon": "12.0.0-alpha.3",
|
|
1336
1350
|
"@skyux/icons": "7.10.0",
|
|
1337
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1338
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1339
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1351
|
+
"@skyux/indicators": "12.0.0-alpha.3",
|
|
1352
|
+
"@skyux/popovers": "12.0.0-alpha.3",
|
|
1353
|
+
"@skyux/theme": "12.0.0-alpha.3",
|
|
1340
1354
|
"@types/node": "20.14.12",
|
|
1341
1355
|
"autonumeric": "4.10.5",
|
|
1342
1356
|
"axe-core": "4.10.2",
|
|
@@ -1360,18 +1374,18 @@
|
|
|
1360
1374
|
"@angular/router": "19.0.5",
|
|
1361
1375
|
"@blackbaud/skyux-design-tokens": "0.0.43",
|
|
1362
1376
|
"@schematics/angular": "19.0.6",
|
|
1363
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1364
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1365
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1366
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1367
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1368
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1369
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1370
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1377
|
+
"@skyux-sdk/testing": "12.0.0-alpha.3",
|
|
1378
|
+
"@skyux/assets": "12.0.0-alpha.3",
|
|
1379
|
+
"@skyux/autonumeric": "12.0.0-alpha.3",
|
|
1380
|
+
"@skyux/core": "12.0.0-alpha.3",
|
|
1381
|
+
"@skyux/forms": "12.0.0-alpha.3",
|
|
1382
|
+
"@skyux/help-inline": "12.0.0-alpha.3",
|
|
1383
|
+
"@skyux/i18n": "12.0.0-alpha.3",
|
|
1384
|
+
"@skyux/icon": "12.0.0-alpha.3",
|
|
1371
1385
|
"@skyux/icons": "7.10.0",
|
|
1372
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1373
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1374
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1386
|
+
"@skyux/indicators": "12.0.0-alpha.3",
|
|
1387
|
+
"@skyux/popovers": "12.0.0-alpha.3",
|
|
1388
|
+
"@skyux/theme": "12.0.0-alpha.3",
|
|
1375
1389
|
"@types/node": "20.14.12",
|
|
1376
1390
|
"autonumeric": "4.10.5",
|
|
1377
1391
|
"axe-core": "4.10.2",
|
|
@@ -1395,18 +1409,18 @@
|
|
|
1395
1409
|
"@angular/router": "19.0.5",
|
|
1396
1410
|
"@blackbaud/skyux-design-tokens": "0.0.43",
|
|
1397
1411
|
"@schematics/angular": "19.0.6",
|
|
1398
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1399
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1400
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1401
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1402
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1403
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1404
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1405
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1412
|
+
"@skyux-sdk/testing": "12.0.0-alpha.3",
|
|
1413
|
+
"@skyux/assets": "12.0.0-alpha.3",
|
|
1414
|
+
"@skyux/autonumeric": "12.0.0-alpha.3",
|
|
1415
|
+
"@skyux/core": "12.0.0-alpha.3",
|
|
1416
|
+
"@skyux/forms": "12.0.0-alpha.3",
|
|
1417
|
+
"@skyux/help-inline": "12.0.0-alpha.3",
|
|
1418
|
+
"@skyux/i18n": "12.0.0-alpha.3",
|
|
1419
|
+
"@skyux/icon": "12.0.0-alpha.3",
|
|
1406
1420
|
"@skyux/icons": "7.10.0",
|
|
1407
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1408
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1409
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1421
|
+
"@skyux/indicators": "12.0.0-alpha.3",
|
|
1422
|
+
"@skyux/popovers": "12.0.0-alpha.3",
|
|
1423
|
+
"@skyux/theme": "12.0.0-alpha.3",
|
|
1410
1424
|
"@types/node": "20.14.12",
|
|
1411
1425
|
"autonumeric": "4.10.5",
|
|
1412
1426
|
"axe-core": "4.10.2",
|
|
@@ -1430,18 +1444,18 @@
|
|
|
1430
1444
|
"@angular/router": "19.0.5",
|
|
1431
1445
|
"@blackbaud/skyux-design-tokens": "0.0.43",
|
|
1432
1446
|
"@schematics/angular": "19.0.6",
|
|
1433
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1434
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1435
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1436
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1437
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1438
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1439
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1440
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1447
|
+
"@skyux-sdk/testing": "12.0.0-alpha.3",
|
|
1448
|
+
"@skyux/assets": "12.0.0-alpha.3",
|
|
1449
|
+
"@skyux/autonumeric": "12.0.0-alpha.3",
|
|
1450
|
+
"@skyux/core": "12.0.0-alpha.3",
|
|
1451
|
+
"@skyux/forms": "12.0.0-alpha.3",
|
|
1452
|
+
"@skyux/help-inline": "12.0.0-alpha.3",
|
|
1453
|
+
"@skyux/i18n": "12.0.0-alpha.3",
|
|
1454
|
+
"@skyux/icon": "12.0.0-alpha.3",
|
|
1441
1455
|
"@skyux/icons": "7.10.0",
|
|
1442
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1443
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1444
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1456
|
+
"@skyux/indicators": "12.0.0-alpha.3",
|
|
1457
|
+
"@skyux/popovers": "12.0.0-alpha.3",
|
|
1458
|
+
"@skyux/theme": "12.0.0-alpha.3",
|
|
1445
1459
|
"@types/node": "20.14.12",
|
|
1446
1460
|
"autonumeric": "4.10.5",
|
|
1447
1461
|
"axe-core": "4.10.2",
|
|
@@ -220,6 +220,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
|
|
|
220
220
|
args: ['blur']
|
|
221
221
|
}] } });
|
|
222
222
|
|
|
223
|
+
/**
|
|
224
|
+
* @docsIncludeIds SkyAutonumericDirective, SkyAutonumericOptions, SkyAutonumericOptionsProvider
|
|
225
|
+
*/
|
|
223
226
|
class SkyAutonumericModule {
|
|
224
227
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: SkyAutonumericModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
225
228
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: SkyAutonumericModule, declarations: [SkyAutonumericDirective], imports: [FormsModule, ReactiveFormsModule], exports: [SkyAutonumericDirective] }); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skyux-autonumeric.mjs","sources":["../../../../../libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts","../../../../../libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts","../../../../../libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.module.ts","../../../../../libs/components/autonumeric/src/skyux-autonumeric.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { SkyAutonumericOptions } from './autonumeric-options';\n\n/**\n * Provides options to the underlying [AutoNumeric library](https://github.com/autoNumeric/autoNumeric).\n * This can set global options on multiple input fields.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class SkyAutonumericOptionsProvider {\n /**\n * The value for a settings object to pass to the AutoNumeric library.\n * This overrides any default options specified by the `skyAutonumeric` attribute.\n */\n public getConfig(): SkyAutonumericOptions {\n return {};\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n Renderer2,\n forwardRef,\n} from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\n\nimport AutoNumeric from 'autonumeric';\nimport { Subject, fromEvent } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyAutonumericOptions } from './autonumeric-options';\nimport { SkyAutonumericOptionsProvider } from './autonumeric-options-provider';\n\nconst SKY_AUTONUMERIC_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SkyAutonumericDirective),\n multi: true,\n};\n\nconst SKY_AUTONUMERIC_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SkyAutonumericDirective),\n multi: true,\n};\n\n/**\n * Wraps the [autoNumeric utility](https://github.com/autoNumeric/autoNumeric) to format\n * any type of number, including currency.\n */\n@Directive({\n selector: 'input[skyAutonumeric]',\n providers: [SKY_AUTONUMERIC_VALUE_ACCESSOR, SKY_AUTONUMERIC_VALIDATOR],\n standalone: false,\n})\nexport class SkyAutonumericDirective\n implements OnInit, OnDestroy, ControlValueAccessor, Validator\n{\n /**\n * Assigns the name of a property from `SkyAutonumericOptionsProvider`.\n */\n @Input()\n public set skyAutonumeric(value: SkyAutonumericOptions | undefined) {\n this.#autonumericOptions = this.#mergeOptions(value);\n this.#updateAutonumericInstance();\n }\n\n /**\n * @internal\n */\n @Input()\n public skyAutonumericFormChangesUnformatted: boolean | undefined = false;\n\n #autonumericInstance: AutoNumeric;\n #autonumericOptions: SkyAutonumericOptions | undefined;\n #control: AbstractControl | undefined;\n #isFirstChange = true;\n #value: number | undefined;\n\n #ngUnsubscribe = new Subject<void>();\n\n #elementRef: ElementRef;\n #globalConfig: SkyAutonumericOptionsProvider;\n #renderer: Renderer2;\n #changeDetector: ChangeDetectorRef;\n\n constructor(\n elementRef: ElementRef,\n globalConfig: SkyAutonumericOptionsProvider,\n renderer: Renderer2,\n changeDetector: ChangeDetectorRef,\n ) {\n this.#elementRef = elementRef;\n this.#globalConfig = globalConfig;\n this.#renderer = renderer;\n this.#changeDetector = changeDetector;\n\n this.#autonumericInstance = new AutoNumeric(elementRef.nativeElement);\n }\n\n public ngOnInit(): void {\n // Ensure that we set the global config even if no local config has been given.\n if (!this.#autonumericOptions) {\n this.#autonumericOptions = this.#globalConfig.getConfig();\n }\n this.#updateAutonumericInstance();\n\n fromEvent(this.#elementRef.nativeElement, 'input')\n .pipe(takeUntil(this.#ngUnsubscribe))\n .subscribe(() => {\n const numericValue: number | undefined = this.#getNumericValue();\n\n /* istanbul ignore else */\n if (this.#value !== numericValue) {\n this.#value = numericValue;\n this.#onChange(numericValue);\n }\n\n /* istanbul ignore else */\n if (this.#control && !this.#control.dirty) {\n this.#control.markAsDirty();\n }\n\n this.#changeDetector.markForCheck();\n });\n }\n\n public ngOnDestroy(): void {\n this.#autonumericInstance.remove();\n this.#ngUnsubscribe.next();\n this.#ngUnsubscribe.complete();\n }\n\n /**\n * Implemented as part of ControlValueAccessor.\n */\n public setDisabledState(value: boolean): void {\n this.#renderer.setProperty(\n this.#elementRef.nativeElement,\n 'disabled',\n value,\n );\n }\n\n public writeValue(value: number | undefined): void {\n if (this.#value !== value) {\n this.#value = value;\n this.#onChange(value);\n\n // Mark the control as \"pristine\" if it is initialized with a value.\n if (this.#isFirstChange && this.#control && this.#value !== null) {\n this.#isFirstChange = false;\n this.#control.markAsPristine();\n }\n }\n\n if (typeof value === 'number') {\n if (this.skyAutonumericFormChangesUnformatted) {\n this.#autonumericInstance.setUnformatted(value.toString());\n } else {\n this.#autonumericInstance.set(value.toString());\n }\n } else {\n this.#autonumericInstance.clear();\n }\n }\n\n public validate(control: AbstractControl): ValidationErrors | null {\n const noErrors = null;\n\n if (!this.#control) {\n this.#control = control;\n }\n\n if (control.value === null || control.value === undefined) {\n return noErrors;\n }\n\n if (typeof control.value !== 'number') {\n return {\n notTypeOfNumber: { value: control.value },\n };\n }\n\n return noErrors;\n }\n\n public registerOnChange(fn: (value: number | undefined) => void): void {\n this.#onChange = fn;\n }\n\n public registerOnTouched(fn: () => void): void {\n this.#onTouched = fn;\n }\n\n @HostListener('blur')\n public onBlur(): void {\n this.#onTouched();\n }\n\n #getNumericValue(): number | undefined {\n const inputValue = this.#getInputValue();\n const numericValue = this.#autonumericInstance.getNumber();\n return inputValue &&\n !this.#isInputValueTheCurrencySymbol(inputValue) &&\n typeof numericValue === 'number'\n ? numericValue\n : undefined;\n }\n\n /**\n * Due to AutoNumeric's hover logic - when AutoNumeric has a currency symbol, the value\n * that we get back on empty fields will be the currency symbol.\n * The following logic ensures that we don't accidentally set\n * a form value when the only input was the programmatically-added currency symbol.\n */\n #isInputValueTheCurrencySymbol(inputValue: string): boolean {\n /* istanbul ignore next */\n const currencySymbol = (\n (this.#autonumericOptions as AutoNumeric.Options)?.currencySymbol ?? ''\n ).trim();\n return !!currencySymbol && inputValue === currencySymbol;\n }\n\n #getInputValue(): string {\n return this.#elementRef.nativeElement.value;\n }\n\n #updateAutonumericInstance(): void {\n this.#autonumericInstance.update(\n this.#autonumericOptions as AutoNumeric.Options,\n );\n }\n\n #mergeOptions(\n value: SkyAutonumericOptions | undefined,\n ): SkyAutonumericOptions {\n const globalOptions: SkyAutonumericOptions = this.#globalConfig.getConfig();\n\n let newOptions: SkyAutonumericOptions | undefined;\n if (typeof value === 'string') {\n const predefinedOptions = AutoNumeric.getPredefinedOptions();\n newOptions = predefinedOptions[\n value as keyof AutoNumeric.Options\n ] as AutoNumeric.Options;\n } else {\n newOptions = value;\n }\n\n return Object.assign({}, globalOptions, newOptions);\n }\n\n // istanbul ignore next\n // eslint-disable-next-line @typescript-eslint/no-empty-function , @typescript-eslint/no-unused-vars\n #onChange = (_: number | undefined) => {};\n // istanbul ignore next\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n #onTouched = () => {};\n}\n","import { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyAutonumericDirective } from './autonumeric.directive';\n\n@NgModule({\n declarations: [SkyAutonumericDirective],\n imports: [FormsModule, ReactiveFormsModule],\n exports: [SkyAutonumericDirective],\n})\nexport class SkyAutonumericModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SkyAutonumericOptionsProvider"],"mappings":";;;;;;;AAIA;;;AAGG;MAIU,6BAA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EAAE,CAAC,8BAA8B,EAAE,yBAAyB,CAAC;AACtE,oBAAA,UAAU,EAAE,KAAK;AAClB,iBAAA;gLAQY,cAAc,EAAA,CAAA;sBADxB;gBAUM,oCAAoC,EAAA,CAAA;sBAD1C;gBA8HM,MAAM,EAAA,CAAA;sBADZ,YAAY;uBAAC,MAAM;;;MClLT,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAJhB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAC5B,WAAW,EAAE,mBAAmB,aAChC,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAEtB,oBAAoB,EAAA,OAAA,EAAA,CAHrB,WAAW,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA;;2FAG/B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;AACvC,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,mBAAmB,CAAC;oBAC3C,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACnC,iBAAA;;;ACTD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"skyux-autonumeric.mjs","sources":["../../../../../libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts","../../../../../libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts","../../../../../libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.module.ts","../../../../../libs/components/autonumeric/src/skyux-autonumeric.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { SkyAutonumericOptions } from './autonumeric-options';\n\n/**\n * Provides options to the underlying [AutoNumeric library](https://github.com/autoNumeric/autoNumeric).\n * This can set global options on multiple input fields.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class SkyAutonumericOptionsProvider {\n /**\n * The value for a settings object to pass to the AutoNumeric library.\n * This overrides any default options specified by the `skyAutonumeric` attribute.\n */\n public getConfig(): SkyAutonumericOptions {\n return {};\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n Renderer2,\n forwardRef,\n} from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\n\nimport AutoNumeric from 'autonumeric';\nimport { Subject, fromEvent } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyAutonumericOptions } from './autonumeric-options';\nimport { SkyAutonumericOptionsProvider } from './autonumeric-options-provider';\n\nconst SKY_AUTONUMERIC_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SkyAutonumericDirective),\n multi: true,\n};\n\nconst SKY_AUTONUMERIC_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => SkyAutonumericDirective),\n multi: true,\n};\n\n/**\n * Wraps the [autoNumeric utility](https://github.com/autoNumeric/autoNumeric) to format\n * any type of number, including currency.\n */\n@Directive({\n selector: 'input[skyAutonumeric]',\n providers: [SKY_AUTONUMERIC_VALUE_ACCESSOR, SKY_AUTONUMERIC_VALIDATOR],\n standalone: false,\n})\nexport class SkyAutonumericDirective\n implements OnInit, OnDestroy, ControlValueAccessor, Validator\n{\n /**\n * Assigns the name of a property from `SkyAutonumericOptionsProvider`.\n */\n @Input()\n public set skyAutonumeric(value: SkyAutonumericOptions | undefined) {\n this.#autonumericOptions = this.#mergeOptions(value);\n this.#updateAutonumericInstance();\n }\n\n /**\n * @internal\n */\n @Input()\n public skyAutonumericFormChangesUnformatted: boolean | undefined = false;\n\n #autonumericInstance: AutoNumeric;\n #autonumericOptions: SkyAutonumericOptions | undefined;\n #control: AbstractControl | undefined;\n #isFirstChange = true;\n #value: number | undefined;\n\n #ngUnsubscribe = new Subject<void>();\n\n #elementRef: ElementRef;\n #globalConfig: SkyAutonumericOptionsProvider;\n #renderer: Renderer2;\n #changeDetector: ChangeDetectorRef;\n\n constructor(\n elementRef: ElementRef,\n globalConfig: SkyAutonumericOptionsProvider,\n renderer: Renderer2,\n changeDetector: ChangeDetectorRef,\n ) {\n this.#elementRef = elementRef;\n this.#globalConfig = globalConfig;\n this.#renderer = renderer;\n this.#changeDetector = changeDetector;\n\n this.#autonumericInstance = new AutoNumeric(elementRef.nativeElement);\n }\n\n public ngOnInit(): void {\n // Ensure that we set the global config even if no local config has been given.\n if (!this.#autonumericOptions) {\n this.#autonumericOptions = this.#globalConfig.getConfig();\n }\n this.#updateAutonumericInstance();\n\n fromEvent(this.#elementRef.nativeElement, 'input')\n .pipe(takeUntil(this.#ngUnsubscribe))\n .subscribe(() => {\n const numericValue: number | undefined = this.#getNumericValue();\n\n /* istanbul ignore else */\n if (this.#value !== numericValue) {\n this.#value = numericValue;\n this.#onChange(numericValue);\n }\n\n /* istanbul ignore else */\n if (this.#control && !this.#control.dirty) {\n this.#control.markAsDirty();\n }\n\n this.#changeDetector.markForCheck();\n });\n }\n\n public ngOnDestroy(): void {\n this.#autonumericInstance.remove();\n this.#ngUnsubscribe.next();\n this.#ngUnsubscribe.complete();\n }\n\n /**\n * Implemented as part of ControlValueAccessor.\n */\n public setDisabledState(value: boolean): void {\n this.#renderer.setProperty(\n this.#elementRef.nativeElement,\n 'disabled',\n value,\n );\n }\n\n public writeValue(value: number | undefined): void {\n if (this.#value !== value) {\n this.#value = value;\n this.#onChange(value);\n\n // Mark the control as \"pristine\" if it is initialized with a value.\n if (this.#isFirstChange && this.#control && this.#value !== null) {\n this.#isFirstChange = false;\n this.#control.markAsPristine();\n }\n }\n\n if (typeof value === 'number') {\n if (this.skyAutonumericFormChangesUnformatted) {\n this.#autonumericInstance.setUnformatted(value.toString());\n } else {\n this.#autonumericInstance.set(value.toString());\n }\n } else {\n this.#autonumericInstance.clear();\n }\n }\n\n public validate(control: AbstractControl): ValidationErrors | null {\n const noErrors = null;\n\n if (!this.#control) {\n this.#control = control;\n }\n\n if (control.value === null || control.value === undefined) {\n return noErrors;\n }\n\n if (typeof control.value !== 'number') {\n return {\n notTypeOfNumber: { value: control.value },\n };\n }\n\n return noErrors;\n }\n\n public registerOnChange(fn: (value: number | undefined) => void): void {\n this.#onChange = fn;\n }\n\n public registerOnTouched(fn: () => void): void {\n this.#onTouched = fn;\n }\n\n @HostListener('blur')\n public onBlur(): void {\n this.#onTouched();\n }\n\n #getNumericValue(): number | undefined {\n const inputValue = this.#getInputValue();\n const numericValue = this.#autonumericInstance.getNumber();\n return inputValue &&\n !this.#isInputValueTheCurrencySymbol(inputValue) &&\n typeof numericValue === 'number'\n ? numericValue\n : undefined;\n }\n\n /**\n * Due to AutoNumeric's hover logic - when AutoNumeric has a currency symbol, the value\n * that we get back on empty fields will be the currency symbol.\n * The following logic ensures that we don't accidentally set\n * a form value when the only input was the programmatically-added currency symbol.\n */\n #isInputValueTheCurrencySymbol(inputValue: string): boolean {\n /* istanbul ignore next */\n const currencySymbol = (\n (this.#autonumericOptions as AutoNumeric.Options)?.currencySymbol ?? ''\n ).trim();\n return !!currencySymbol && inputValue === currencySymbol;\n }\n\n #getInputValue(): string {\n return this.#elementRef.nativeElement.value;\n }\n\n #updateAutonumericInstance(): void {\n this.#autonumericInstance.update(\n this.#autonumericOptions as AutoNumeric.Options,\n );\n }\n\n #mergeOptions(\n value: SkyAutonumericOptions | undefined,\n ): SkyAutonumericOptions {\n const globalOptions: SkyAutonumericOptions = this.#globalConfig.getConfig();\n\n let newOptions: SkyAutonumericOptions | undefined;\n if (typeof value === 'string') {\n const predefinedOptions = AutoNumeric.getPredefinedOptions();\n newOptions = predefinedOptions[\n value as keyof AutoNumeric.Options\n ] as AutoNumeric.Options;\n } else {\n newOptions = value;\n }\n\n return Object.assign({}, globalOptions, newOptions);\n }\n\n // istanbul ignore next\n // eslint-disable-next-line @typescript-eslint/no-empty-function , @typescript-eslint/no-unused-vars\n #onChange = (_: number | undefined) => {};\n // istanbul ignore next\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n #onTouched = () => {};\n}\n","import { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyAutonumericDirective } from './autonumeric.directive';\n\n/**\n * @docsIncludeIds SkyAutonumericDirective, SkyAutonumericOptions, SkyAutonumericOptionsProvider\n */\n@NgModule({\n declarations: [SkyAutonumericDirective],\n imports: [FormsModule, ReactiveFormsModule],\n exports: [SkyAutonumericDirective],\n})\nexport class SkyAutonumericModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SkyAutonumericOptionsProvider"],"mappings":";;;;;;;AAIA;;;AAGG;MAIU,6BAA6B,CAAA;AACxC;;;AAGG;IACI,SAAS,GAAA;AACd,QAAA,OAAO,EAAE;;8GANA,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,cAF5B,MAAM,EAAA,CAAA,CAAA;;2FAEP,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACiBD,MAAM,8BAA8B,GAAG;AACrC,IAAA,OAAO,EAAE,iBAAiB;A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C5B,WAAW,EAAE,mBAAmB,aAChC,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAEtB,oBAAoB,EAAA,OAAA,EAAA,CAHrB,WAAW,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA;;2FAG/B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;AACvC,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,mBAAmB,CAAC;oBAC3C,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACnC,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./autonumeric.directive";
|
|
3
3
|
import * as i2 from "@angular/forms";
|
|
4
|
+
/**
|
|
5
|
+
* @docsIncludeIds SkyAutonumericDirective, SkyAutonumericOptions, SkyAutonumericOptionsProvider
|
|
6
|
+
*/
|
|
4
7
|
export declare class SkyAutonumericModule {
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutonumericModule, never>;
|
|
6
9
|
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAutonumericModule, [typeof i1.SkyAutonumericDirective], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule], [typeof i1.SkyAutonumericDirective]>;
|