@skyux/autonumeric 12.0.0-alpha.3 → 12.0.0-alpha.4
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,20 +18,6 @@
|
|
|
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
|
-
},
|
|
35
21
|
"children": [],
|
|
36
22
|
"groups": [
|
|
37
23
|
{
|
|
@@ -44,9 +30,9 @@
|
|
|
44
30
|
"sources": [
|
|
45
31
|
{
|
|
46
32
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.module.ts",
|
|
47
|
-
"line":
|
|
33
|
+
"line": 11,
|
|
48
34
|
"character": 13,
|
|
49
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
35
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.module.ts#L11"
|
|
50
36
|
}
|
|
51
37
|
],
|
|
52
38
|
"decorators": [
|
|
@@ -86,7 +72,7 @@
|
|
|
86
72
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options-provider.ts",
|
|
87
73
|
"line": 17,
|
|
88
74
|
"character": 9,
|
|
89
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
75
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L17"
|
|
90
76
|
}
|
|
91
77
|
],
|
|
92
78
|
"signatures": [
|
|
@@ -117,7 +103,7 @@
|
|
|
117
103
|
"fileName": "lib/modules/autonumeric/autonumeric-options-provider.ts",
|
|
118
104
|
"line": 17,
|
|
119
105
|
"character": 2,
|
|
120
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
106
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L17"
|
|
121
107
|
}
|
|
122
108
|
],
|
|
123
109
|
"type": {
|
|
@@ -150,7 +136,7 @@
|
|
|
150
136
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options-provider.ts",
|
|
151
137
|
"line": 12,
|
|
152
138
|
"character": 13,
|
|
153
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
139
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L12"
|
|
154
140
|
}
|
|
155
141
|
],
|
|
156
142
|
"decorators": [
|
|
@@ -188,7 +174,7 @@
|
|
|
188
174
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
189
175
|
"line": 80,
|
|
190
176
|
"character": 2,
|
|
191
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
177
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L80"
|
|
192
178
|
}
|
|
193
179
|
],
|
|
194
180
|
"signatures": [
|
|
@@ -203,7 +189,7 @@
|
|
|
203
189
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
204
190
|
"line": 80,
|
|
205
191
|
"character": 2,
|
|
206
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
192
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L80"
|
|
207
193
|
}
|
|
208
194
|
],
|
|
209
195
|
"parameters": [
|
|
@@ -297,7 +283,7 @@
|
|
|
297
283
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
298
284
|
"line": 56,
|
|
299
285
|
"character": 13,
|
|
300
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
286
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L56"
|
|
301
287
|
}
|
|
302
288
|
],
|
|
303
289
|
"setSignature": {
|
|
@@ -327,7 +313,7 @@
|
|
|
327
313
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
328
314
|
"line": 55,
|
|
329
315
|
"character": 2,
|
|
330
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
316
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L55"
|
|
331
317
|
}
|
|
332
318
|
],
|
|
333
319
|
"parameters": [
|
|
@@ -369,7 +355,7 @@
|
|
|
369
355
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
370
356
|
"line": 121,
|
|
371
357
|
"character": 9,
|
|
372
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
358
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L121"
|
|
373
359
|
}
|
|
374
360
|
],
|
|
375
361
|
"signatures": [
|
|
@@ -384,7 +370,7 @@
|
|
|
384
370
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
385
371
|
"line": 121,
|
|
386
372
|
"character": 2,
|
|
387
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
373
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L121"
|
|
388
374
|
}
|
|
389
375
|
],
|
|
390
376
|
"type": {
|
|
@@ -418,7 +404,7 @@
|
|
|
418
404
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
419
405
|
"line": 94,
|
|
420
406
|
"character": 9,
|
|
421
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
407
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L94"
|
|
422
408
|
}
|
|
423
409
|
],
|
|
424
410
|
"signatures": [
|
|
@@ -433,7 +419,7 @@
|
|
|
433
419
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
434
420
|
"line": 94,
|
|
435
421
|
"character": 2,
|
|
436
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
422
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L94"
|
|
437
423
|
}
|
|
438
424
|
],
|
|
439
425
|
"type": {
|
|
@@ -467,7 +453,7 @@
|
|
|
467
453
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
468
454
|
"line": 190,
|
|
469
455
|
"character": 9,
|
|
470
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
456
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L190"
|
|
471
457
|
}
|
|
472
458
|
],
|
|
473
459
|
"signatures": [
|
|
@@ -482,7 +468,7 @@
|
|
|
482
468
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
483
469
|
"line": 189,
|
|
484
470
|
"character": 2,
|
|
485
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
471
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L189"
|
|
486
472
|
}
|
|
487
473
|
],
|
|
488
474
|
"type": {
|
|
@@ -506,7 +492,7 @@
|
|
|
506
492
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
507
493
|
"line": 181,
|
|
508
494
|
"character": 9,
|
|
509
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
495
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
510
496
|
}
|
|
511
497
|
],
|
|
512
498
|
"signatures": [
|
|
@@ -521,7 +507,7 @@
|
|
|
521
507
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
522
508
|
"line": 181,
|
|
523
509
|
"character": 2,
|
|
524
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
510
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
525
511
|
}
|
|
526
512
|
],
|
|
527
513
|
"parameters": [
|
|
@@ -544,7 +530,7 @@
|
|
|
544
530
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
545
531
|
"line": 181,
|
|
546
532
|
"character": 30,
|
|
547
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
533
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
548
534
|
}
|
|
549
535
|
],
|
|
550
536
|
"signatures": [
|
|
@@ -559,7 +545,7 @@
|
|
|
559
545
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
560
546
|
"line": 181,
|
|
561
547
|
"character": 30,
|
|
562
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
548
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
|
|
563
549
|
}
|
|
564
550
|
],
|
|
565
551
|
"parameters": [
|
|
@@ -616,7 +602,7 @@
|
|
|
616
602
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
617
603
|
"line": 185,
|
|
618
604
|
"character": 9,
|
|
619
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
605
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
620
606
|
}
|
|
621
607
|
],
|
|
622
608
|
"signatures": [
|
|
@@ -631,7 +617,7 @@
|
|
|
631
617
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
632
618
|
"line": 185,
|
|
633
619
|
"character": 2,
|
|
634
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
620
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
635
621
|
}
|
|
636
622
|
],
|
|
637
623
|
"parameters": [
|
|
@@ -654,7 +640,7 @@
|
|
|
654
640
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
655
641
|
"line": 185,
|
|
656
642
|
"character": 31,
|
|
657
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
643
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
658
644
|
}
|
|
659
645
|
],
|
|
660
646
|
"signatures": [
|
|
@@ -669,7 +655,7 @@
|
|
|
669
655
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
670
656
|
"line": 185,
|
|
671
657
|
"character": 31,
|
|
672
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
658
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
|
|
673
659
|
}
|
|
674
660
|
],
|
|
675
661
|
"type": {
|
|
@@ -713,7 +699,7 @@
|
|
|
713
699
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
714
700
|
"line": 130,
|
|
715
701
|
"character": 9,
|
|
716
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
702
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L130"
|
|
717
703
|
}
|
|
718
704
|
],
|
|
719
705
|
"signatures": [
|
|
@@ -736,7 +722,7 @@
|
|
|
736
722
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
737
723
|
"line": 130,
|
|
738
724
|
"character": 2,
|
|
739
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
725
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L130"
|
|
740
726
|
}
|
|
741
727
|
],
|
|
742
728
|
"parameters": [
|
|
@@ -783,7 +769,7 @@
|
|
|
783
769
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
784
770
|
"line": 161,
|
|
785
771
|
"character": 9,
|
|
786
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
772
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L161"
|
|
787
773
|
}
|
|
788
774
|
],
|
|
789
775
|
"signatures": [
|
|
@@ -798,7 +784,7 @@
|
|
|
798
784
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
799
785
|
"line": 161,
|
|
800
786
|
"character": 2,
|
|
801
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
787
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L161"
|
|
802
788
|
}
|
|
803
789
|
],
|
|
804
790
|
"parameters": [
|
|
@@ -865,7 +851,7 @@
|
|
|
865
851
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
866
852
|
"line": 138,
|
|
867
853
|
"character": 9,
|
|
868
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
854
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L138"
|
|
869
855
|
}
|
|
870
856
|
],
|
|
871
857
|
"signatures": [
|
|
@@ -880,7 +866,7 @@
|
|
|
880
866
|
"fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
|
|
881
867
|
"line": 138,
|
|
882
868
|
"character": 2,
|
|
883
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
869
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L138"
|
|
884
870
|
}
|
|
885
871
|
],
|
|
886
872
|
"parameters": [
|
|
@@ -947,7 +933,7 @@
|
|
|
947
933
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
|
|
948
934
|
"line": 49,
|
|
949
935
|
"character": 13,
|
|
950
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
936
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L49"
|
|
951
937
|
}
|
|
952
938
|
],
|
|
953
939
|
"implementedTypes": [
|
|
@@ -1040,7 +1026,7 @@
|
|
|
1040
1026
|
"fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options.ts",
|
|
1041
1027
|
"line": 11,
|
|
1042
1028
|
"character": 12,
|
|
1043
|
-
"url": "https://github.com/blackbaud/skyux/blob/
|
|
1029
|
+
"url": "https://github.com/blackbaud/skyux/blob/184c9f6/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options.ts#L11"
|
|
1044
1030
|
}
|
|
1045
1031
|
],
|
|
1046
1032
|
"type": {
|
|
@@ -1337,21 +1323,22 @@
|
|
|
1337
1323
|
"@angular/forms": "19.0.5",
|
|
1338
1324
|
"@angular/platform-browser": "19.0.5",
|
|
1339
1325
|
"@angular/router": "19.0.5",
|
|
1340
|
-
"@blackbaud/skyux-design-tokens": "0.0.
|
|
1326
|
+
"@blackbaud/skyux-design-tokens": "0.0.44",
|
|
1341
1327
|
"@schematics/angular": "19.0.6",
|
|
1342
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1343
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1344
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1345
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1346
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1347
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1348
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1349
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1328
|
+
"@skyux-sdk/testing": "12.0.0-alpha.4",
|
|
1329
|
+
"@skyux/assets": "12.0.0-alpha.4",
|
|
1330
|
+
"@skyux/autonumeric": "12.0.0-alpha.4",
|
|
1331
|
+
"@skyux/core": "12.0.0-alpha.4",
|
|
1332
|
+
"@skyux/forms": "12.0.0-alpha.4",
|
|
1333
|
+
"@skyux/help-inline": "12.0.0-alpha.4",
|
|
1334
|
+
"@skyux/i18n": "12.0.0-alpha.4",
|
|
1335
|
+
"@skyux/icon": "12.0.0-alpha.4",
|
|
1350
1336
|
"@skyux/icons": "7.10.0",
|
|
1351
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1352
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1353
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1337
|
+
"@skyux/indicators": "12.0.0-alpha.4",
|
|
1338
|
+
"@skyux/popovers": "12.0.0-alpha.4",
|
|
1339
|
+
"@skyux/theme": "12.0.0-alpha.4",
|
|
1354
1340
|
"@types/node": "20.14.12",
|
|
1341
|
+
"ajv": "8.17.1",
|
|
1355
1342
|
"autonumeric": "4.10.5",
|
|
1356
1343
|
"axe-core": "4.10.2",
|
|
1357
1344
|
"fontfaceobserver": "2.3.0",
|
|
@@ -1372,21 +1359,22 @@
|
|
|
1372
1359
|
"@angular/forms": "19.0.5",
|
|
1373
1360
|
"@angular/platform-browser": "19.0.5",
|
|
1374
1361
|
"@angular/router": "19.0.5",
|
|
1375
|
-
"@blackbaud/skyux-design-tokens": "0.0.
|
|
1362
|
+
"@blackbaud/skyux-design-tokens": "0.0.44",
|
|
1376
1363
|
"@schematics/angular": "19.0.6",
|
|
1377
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1378
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1379
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1380
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1381
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1382
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1383
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1384
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1364
|
+
"@skyux-sdk/testing": "12.0.0-alpha.4",
|
|
1365
|
+
"@skyux/assets": "12.0.0-alpha.4",
|
|
1366
|
+
"@skyux/autonumeric": "12.0.0-alpha.4",
|
|
1367
|
+
"@skyux/core": "12.0.0-alpha.4",
|
|
1368
|
+
"@skyux/forms": "12.0.0-alpha.4",
|
|
1369
|
+
"@skyux/help-inline": "12.0.0-alpha.4",
|
|
1370
|
+
"@skyux/i18n": "12.0.0-alpha.4",
|
|
1371
|
+
"@skyux/icon": "12.0.0-alpha.4",
|
|
1385
1372
|
"@skyux/icons": "7.10.0",
|
|
1386
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1387
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1388
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1373
|
+
"@skyux/indicators": "12.0.0-alpha.4",
|
|
1374
|
+
"@skyux/popovers": "12.0.0-alpha.4",
|
|
1375
|
+
"@skyux/theme": "12.0.0-alpha.4",
|
|
1389
1376
|
"@types/node": "20.14.12",
|
|
1377
|
+
"ajv": "8.17.1",
|
|
1390
1378
|
"autonumeric": "4.10.5",
|
|
1391
1379
|
"axe-core": "4.10.2",
|
|
1392
1380
|
"fontfaceobserver": "2.3.0",
|
|
@@ -1407,21 +1395,22 @@
|
|
|
1407
1395
|
"@angular/forms": "19.0.5",
|
|
1408
1396
|
"@angular/platform-browser": "19.0.5",
|
|
1409
1397
|
"@angular/router": "19.0.5",
|
|
1410
|
-
"@blackbaud/skyux-design-tokens": "0.0.
|
|
1398
|
+
"@blackbaud/skyux-design-tokens": "0.0.44",
|
|
1411
1399
|
"@schematics/angular": "19.0.6",
|
|
1412
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1413
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1414
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1415
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1416
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1417
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1418
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1419
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1400
|
+
"@skyux-sdk/testing": "12.0.0-alpha.4",
|
|
1401
|
+
"@skyux/assets": "12.0.0-alpha.4",
|
|
1402
|
+
"@skyux/autonumeric": "12.0.0-alpha.4",
|
|
1403
|
+
"@skyux/core": "12.0.0-alpha.4",
|
|
1404
|
+
"@skyux/forms": "12.0.0-alpha.4",
|
|
1405
|
+
"@skyux/help-inline": "12.0.0-alpha.4",
|
|
1406
|
+
"@skyux/i18n": "12.0.0-alpha.4",
|
|
1407
|
+
"@skyux/icon": "12.0.0-alpha.4",
|
|
1420
1408
|
"@skyux/icons": "7.10.0",
|
|
1421
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1422
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1423
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1409
|
+
"@skyux/indicators": "12.0.0-alpha.4",
|
|
1410
|
+
"@skyux/popovers": "12.0.0-alpha.4",
|
|
1411
|
+
"@skyux/theme": "12.0.0-alpha.4",
|
|
1424
1412
|
"@types/node": "20.14.12",
|
|
1413
|
+
"ajv": "8.17.1",
|
|
1425
1414
|
"autonumeric": "4.10.5",
|
|
1426
1415
|
"axe-core": "4.10.2",
|
|
1427
1416
|
"fontfaceobserver": "2.3.0",
|
|
@@ -1442,21 +1431,22 @@
|
|
|
1442
1431
|
"@angular/forms": "19.0.5",
|
|
1443
1432
|
"@angular/platform-browser": "19.0.5",
|
|
1444
1433
|
"@angular/router": "19.0.5",
|
|
1445
|
-
"@blackbaud/skyux-design-tokens": "0.0.
|
|
1434
|
+
"@blackbaud/skyux-design-tokens": "0.0.44",
|
|
1446
1435
|
"@schematics/angular": "19.0.6",
|
|
1447
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
1448
|
-
"@skyux/assets": "12.0.0-alpha.
|
|
1449
|
-
"@skyux/autonumeric": "12.0.0-alpha.
|
|
1450
|
-
"@skyux/core": "12.0.0-alpha.
|
|
1451
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
1452
|
-
"@skyux/help-inline": "12.0.0-alpha.
|
|
1453
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
1454
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
1436
|
+
"@skyux-sdk/testing": "12.0.0-alpha.4",
|
|
1437
|
+
"@skyux/assets": "12.0.0-alpha.4",
|
|
1438
|
+
"@skyux/autonumeric": "12.0.0-alpha.4",
|
|
1439
|
+
"@skyux/core": "12.0.0-alpha.4",
|
|
1440
|
+
"@skyux/forms": "12.0.0-alpha.4",
|
|
1441
|
+
"@skyux/help-inline": "12.0.0-alpha.4",
|
|
1442
|
+
"@skyux/i18n": "12.0.0-alpha.4",
|
|
1443
|
+
"@skyux/icon": "12.0.0-alpha.4",
|
|
1455
1444
|
"@skyux/icons": "7.10.0",
|
|
1456
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
1457
|
-
"@skyux/popovers": "12.0.0-alpha.
|
|
1458
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
1445
|
+
"@skyux/indicators": "12.0.0-alpha.4",
|
|
1446
|
+
"@skyux/popovers": "12.0.0-alpha.4",
|
|
1447
|
+
"@skyux/theme": "12.0.0-alpha.4",
|
|
1459
1448
|
"@types/node": "20.14.12",
|
|
1449
|
+
"ajv": "8.17.1",
|
|
1460
1450
|
"autonumeric": "4.10.5",
|
|
1461
1451
|
"axe-core": "4.10.2",
|
|
1462
1452
|
"fontfaceobserver": "2.3.0",
|
|
@@ -220,9 +220,6 @@ 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
|
-
*/
|
|
226
223
|
class SkyAutonumericModule {
|
|
227
224
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: SkyAutonumericModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
228
225
|
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/**\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,U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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;;;ACZD;;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@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;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,uBAAuB,CAAC;AACtD,IAAA,KAAK,EAAE,IAAI;CACZ;AAED,MAAM,yBAAyB,GAAG;AAChC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,uBAAuB,CAAC;AACtD,IAAA,KAAK,EAAE,IAAI;CACZ;AAED;;;AAGG;MAMU,uBAAuB,CAAA;AAGlC;;AAEG;IACH,IACW,cAAc,CAAC,KAAwC,EAAA;QAChE,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC;QACpD,IAAI,CAAC,0BAA0B,EAAE;;AASnC,IAAA,oBAAoB;AACpB,IAAA,mBAAmB;AACnB,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./autonumeric.directive";
|
|
3
3
|
import * as i2 from "@angular/forms";
|
|
4
|
-
/**
|
|
5
|
-
* @docsIncludeIds SkyAutonumericDirective, SkyAutonumericOptions, SkyAutonumericOptionsProvider
|
|
6
|
-
*/
|
|
7
4
|
export declare class SkyAutonumericModule {
|
|
8
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutonumericModule, never>;
|
|
9
6
|
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAutonumericModule, [typeof i1.SkyAutonumericDirective], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule], [typeof i1.SkyAutonumericDirective]>;
|