@skyux/autonumeric 12.0.0-alpha.8 → 12.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1460 +0,0 @@
1
- {
2
- "anchorIds": {
3
- "SkyAutonumericModule": "class-skyautonumericmodule",
4
- "SkyAutonumericOptionsProvider": "class-skyautonumericoptionsprovider",
5
- "SkyAutonumericDirective": "class-skyautonumericdirective",
6
- "SkyAutonumericOptions": "type-alias-skyautonumericoptions"
7
- },
8
- "typedoc": {
9
- "id": 0,
10
- "name": "@skyux/autonumeric",
11
- "variant": "project",
12
- "kind": 1,
13
- "flags": {},
14
- "children": [
15
- {
16
- "id": 7,
17
- "name": "SkyAutonumericModule",
18
- "variant": "declaration",
19
- "kind": 128,
20
- "flags": {},
21
- "children": [],
22
- "groups": [
23
- {
24
- "title": "Constructors",
25
- "children": [
26
- 8
27
- ]
28
- }
29
- ],
30
- "sources": [
31
- {
32
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.module.ts",
33
- "line": 11,
34
- "character": 13,
35
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.module.ts#L11"
36
- }
37
- ],
38
- "decorators": [
39
- {
40
- "name": "NgModule",
41
- "arguments": {
42
- "obj": "@NgModule({\n declarations: [SkyAutonumericDirective],\n imports: [FormsModule, ReactiveFormsModule],\n exports: [SkyAutonumericDirective],\n})"
43
- }
44
- }
45
- ]
46
- },
47
- {
48
- "id": 2,
49
- "name": "SkyAutonumericOptionsProvider",
50
- "variant": "declaration",
51
- "kind": 128,
52
- "flags": {},
53
- "comment": {
54
- "summary": [
55
- {
56
- "kind": "text",
57
- "text": "Provides options to the underlying [AutoNumeric library](https://github.com/autoNumeric/autoNumeric).\nThis can set global options on multiple input fields."
58
- }
59
- ]
60
- },
61
- "children": [
62
- {
63
- "id": 5,
64
- "name": "getConfig",
65
- "variant": "declaration",
66
- "kind": 2048,
67
- "flags": {
68
- "isPublic": true
69
- },
70
- "sources": [
71
- {
72
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options-provider.ts",
73
- "line": 17,
74
- "character": 9,
75
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L17"
76
- }
77
- ],
78
- "signatures": [
79
- {
80
- "id": 6,
81
- "name": "getConfig",
82
- "variant": "signature",
83
- "kind": 4096,
84
- "flags": {},
85
- "comment": {
86
- "summary": [
87
- {
88
- "kind": "text",
89
- "text": "The value for a settings object to pass to the AutoNumeric library.\nThis overrides any default options specified by the "
90
- },
91
- {
92
- "kind": "code",
93
- "text": "`skyAutonumeric`"
94
- },
95
- {
96
- "kind": "text",
97
- "text": " attribute."
98
- }
99
- ]
100
- },
101
- "sources": [
102
- {
103
- "fileName": "lib/modules/autonumeric/autonumeric-options-provider.ts",
104
- "line": 17,
105
- "character": 2,
106
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L17"
107
- }
108
- ],
109
- "type": {
110
- "type": "reference",
111
- "target": 1,
112
- "name": "SkyAutonumericOptions",
113
- "package": "@skyux/autonumeric"
114
- }
115
- }
116
- ],
117
- "decorators": []
118
- }
119
- ],
120
- "groups": [
121
- {
122
- "title": "Constructors",
123
- "children": [
124
- 3
125
- ]
126
- },
127
- {
128
- "title": "Methods",
129
- "children": [
130
- 5
131
- ]
132
- }
133
- ],
134
- "sources": [
135
- {
136
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options-provider.ts",
137
- "line": 12,
138
- "character": 13,
139
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts#L12"
140
- }
141
- ],
142
- "decorators": [
143
- {
144
- "name": "Injectable",
145
- "arguments": {
146
- "obj": "@Injectable({\n providedIn: 'root',\n})"
147
- }
148
- }
149
- ]
150
- },
151
- {
152
- "id": 10,
153
- "name": "SkyAutonumericDirective",
154
- "variant": "declaration",
155
- "kind": 128,
156
- "flags": {},
157
- "comment": {
158
- "summary": [
159
- {
160
- "kind": "text",
161
- "text": "Wraps the [autoNumeric utility](https://github.com/autoNumeric/autoNumeric) to format\nany type of number, including currency."
162
- }
163
- ]
164
- },
165
- "children": [
166
- {
167
- "id": 11,
168
- "name": "constructor",
169
- "variant": "declaration",
170
- "kind": 512,
171
- "flags": {},
172
- "sources": [
173
- {
174
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
175
- "line": 80,
176
- "character": 2,
177
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L80"
178
- }
179
- ],
180
- "signatures": [
181
- {
182
- "id": 12,
183
- "name": "SkyAutonumericDirective",
184
- "variant": "signature",
185
- "kind": 16384,
186
- "flags": {},
187
- "sources": [
188
- {
189
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
190
- "line": 80,
191
- "character": 2,
192
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L80"
193
- }
194
- ],
195
- "parameters": [
196
- {
197
- "id": 13,
198
- "name": "elementRef",
199
- "variant": "param",
200
- "kind": 32768,
201
- "flags": {},
202
- "type": {
203
- "type": "reference",
204
- "target": {
205
- "sourceFileName": "node_modules/@angular/core/index.d.ts",
206
- "qualifiedName": "ElementRef"
207
- },
208
- "typeArguments": [
209
- {
210
- "type": "intrinsic",
211
- "name": "any"
212
- }
213
- ],
214
- "name": "ElementRef",
215
- "package": "@angular/core"
216
- }
217
- },
218
- {
219
- "id": 14,
220
- "name": "globalConfig",
221
- "variant": "param",
222
- "kind": 32768,
223
- "flags": {},
224
- "type": {
225
- "type": "reference",
226
- "target": 2,
227
- "name": "SkyAutonumericOptionsProvider",
228
- "package": "@skyux/autonumeric"
229
- }
230
- },
231
- {
232
- "id": 15,
233
- "name": "renderer",
234
- "variant": "param",
235
- "kind": 32768,
236
- "flags": {},
237
- "type": {
238
- "type": "reference",
239
- "target": {
240
- "sourceFileName": "node_modules/@angular/core/index.d.ts",
241
- "qualifiedName": "Renderer2"
242
- },
243
- "name": "Renderer2",
244
- "package": "@angular/core"
245
- }
246
- },
247
- {
248
- "id": 16,
249
- "name": "changeDetector",
250
- "variant": "param",
251
- "kind": 32768,
252
- "flags": {},
253
- "type": {
254
- "type": "reference",
255
- "target": {
256
- "sourceFileName": "node_modules/@angular/core/index.d.ts",
257
- "qualifiedName": "ChangeDetectorRef"
258
- },
259
- "name": "ChangeDetectorRef",
260
- "package": "@angular/core"
261
- }
262
- }
263
- ],
264
- "type": {
265
- "type": "reference",
266
- "target": 10,
267
- "name": "SkyAutonumericDirective",
268
- "package": "@skyux/autonumeric"
269
- }
270
- }
271
- ]
272
- },
273
- {
274
- "id": 17,
275
- "name": "skyAutonumeric",
276
- "variant": "declaration",
277
- "kind": 262144,
278
- "flags": {
279
- "isPublic": true
280
- },
281
- "sources": [
282
- {
283
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
284
- "line": 56,
285
- "character": 13,
286
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L56"
287
- }
288
- ],
289
- "setSignature": {
290
- "id": 18,
291
- "name": "skyAutonumeric",
292
- "variant": "signature",
293
- "kind": 1048576,
294
- "flags": {},
295
- "comment": {
296
- "summary": [
297
- {
298
- "kind": "text",
299
- "text": "Assigns the name of a property from "
300
- },
301
- {
302
- "kind": "code",
303
- "text": "`SkyAutonumericOptionsProvider`"
304
- },
305
- {
306
- "kind": "text",
307
- "text": "."
308
- }
309
- ]
310
- },
311
- "sources": [
312
- {
313
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
314
- "line": 55,
315
- "character": 2,
316
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L55"
317
- }
318
- ],
319
- "parameters": [
320
- {
321
- "id": 19,
322
- "name": "value",
323
- "variant": "param",
324
- "kind": 32768,
325
- "flags": {},
326
- "type": {
327
- "type": "reference",
328
- "target": 1,
329
- "name": "SkyAutonumericOptions",
330
- "package": "@skyux/autonumeric"
331
- }
332
- }
333
- ],
334
- "type": {
335
- "type": "intrinsic",
336
- "name": "void"
337
- }
338
- },
339
- "decorators": [
340
- {
341
- "name": "Input"
342
- }
343
- ]
344
- },
345
- {
346
- "id": 33,
347
- "name": "ngOnDestroy",
348
- "variant": "declaration",
349
- "kind": 2048,
350
- "flags": {
351
- "isPublic": true
352
- },
353
- "sources": [
354
- {
355
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
356
- "line": 121,
357
- "character": 9,
358
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L121"
359
- }
360
- ],
361
- "signatures": [
362
- {
363
- "id": 34,
364
- "name": "ngOnDestroy",
365
- "variant": "signature",
366
- "kind": 4096,
367
- "flags": {},
368
- "sources": [
369
- {
370
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
371
- "line": 121,
372
- "character": 2,
373
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L121"
374
- }
375
- ],
376
- "type": {
377
- "type": "intrinsic",
378
- "name": "void"
379
- },
380
- "implementationOf": {
381
- "type": "reference",
382
- "target": -1,
383
- "name": "OnDestroy.ngOnDestroy"
384
- }
385
- }
386
- ],
387
- "implementationOf": {
388
- "type": "reference",
389
- "target": -1,
390
- "name": "OnDestroy.ngOnDestroy"
391
- },
392
- "decorators": []
393
- },
394
- {
395
- "id": 31,
396
- "name": "ngOnInit",
397
- "variant": "declaration",
398
- "kind": 2048,
399
- "flags": {
400
- "isPublic": true
401
- },
402
- "sources": [
403
- {
404
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
405
- "line": 94,
406
- "character": 9,
407
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L94"
408
- }
409
- ],
410
- "signatures": [
411
- {
412
- "id": 32,
413
- "name": "ngOnInit",
414
- "variant": "signature",
415
- "kind": 4096,
416
- "flags": {},
417
- "sources": [
418
- {
419
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
420
- "line": 94,
421
- "character": 2,
422
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L94"
423
- }
424
- ],
425
- "type": {
426
- "type": "intrinsic",
427
- "name": "void"
428
- },
429
- "implementationOf": {
430
- "type": "reference",
431
- "target": -1,
432
- "name": "OnInit.ngOnInit"
433
- }
434
- }
435
- ],
436
- "implementationOf": {
437
- "type": "reference",
438
- "target": -1,
439
- "name": "OnInit.ngOnInit"
440
- },
441
- "decorators": []
442
- },
443
- {
444
- "id": 55,
445
- "name": "onBlur",
446
- "variant": "declaration",
447
- "kind": 2048,
448
- "flags": {
449
- "isPublic": true
450
- },
451
- "sources": [
452
- {
453
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
454
- "line": 190,
455
- "character": 9,
456
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L190"
457
- }
458
- ],
459
- "signatures": [
460
- {
461
- "id": 56,
462
- "name": "onBlur",
463
- "variant": "signature",
464
- "kind": 4096,
465
- "flags": {},
466
- "sources": [
467
- {
468
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
469
- "line": 189,
470
- "character": 2,
471
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L189"
472
- }
473
- ],
474
- "type": {
475
- "type": "intrinsic",
476
- "name": "void"
477
- }
478
- }
479
- ],
480
- "decorators": []
481
- },
482
- {
483
- "id": 44,
484
- "name": "registerOnChange",
485
- "variant": "declaration",
486
- "kind": 2048,
487
- "flags": {
488
- "isPublic": true
489
- },
490
- "sources": [
491
- {
492
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
493
- "line": 181,
494
- "character": 9,
495
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
496
- }
497
- ],
498
- "signatures": [
499
- {
500
- "id": 45,
501
- "name": "registerOnChange",
502
- "variant": "signature",
503
- "kind": 4096,
504
- "flags": {},
505
- "sources": [
506
- {
507
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
508
- "line": 181,
509
- "character": 2,
510
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
511
- }
512
- ],
513
- "parameters": [
514
- {
515
- "id": 46,
516
- "name": "fn",
517
- "variant": "param",
518
- "kind": 32768,
519
- "flags": {},
520
- "type": {
521
- "type": "reflection",
522
- "declaration": {
523
- "id": 47,
524
- "name": "__type",
525
- "variant": "declaration",
526
- "kind": 65536,
527
- "flags": {},
528
- "sources": [
529
- {
530
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
531
- "line": 181,
532
- "character": 30,
533
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
534
- }
535
- ],
536
- "signatures": [
537
- {
538
- "id": 48,
539
- "name": "__type",
540
- "variant": "signature",
541
- "kind": 4096,
542
- "flags": {},
543
- "sources": [
544
- {
545
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
546
- "line": 181,
547
- "character": 30,
548
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L181"
549
- }
550
- ],
551
- "parameters": [
552
- {
553
- "id": 49,
554
- "name": "value",
555
- "variant": "param",
556
- "kind": 32768,
557
- "flags": {},
558
- "type": {
559
- "type": "intrinsic",
560
- "name": "number"
561
- }
562
- }
563
- ],
564
- "type": {
565
- "type": "intrinsic",
566
- "name": "void"
567
- }
568
- }
569
- ]
570
- }
571
- }
572
- }
573
- ],
574
- "type": {
575
- "type": "intrinsic",
576
- "name": "void"
577
- },
578
- "implementationOf": {
579
- "type": "reference",
580
- "target": -1,
581
- "name": "ControlValueAccessor.registerOnChange"
582
- }
583
- }
584
- ],
585
- "implementationOf": {
586
- "type": "reference",
587
- "target": -1,
588
- "name": "ControlValueAccessor.registerOnChange"
589
- },
590
- "decorators": []
591
- },
592
- {
593
- "id": 50,
594
- "name": "registerOnTouched",
595
- "variant": "declaration",
596
- "kind": 2048,
597
- "flags": {
598
- "isPublic": true
599
- },
600
- "sources": [
601
- {
602
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
603
- "line": 185,
604
- "character": 9,
605
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
606
- }
607
- ],
608
- "signatures": [
609
- {
610
- "id": 51,
611
- "name": "registerOnTouched",
612
- "variant": "signature",
613
- "kind": 4096,
614
- "flags": {},
615
- "sources": [
616
- {
617
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
618
- "line": 185,
619
- "character": 2,
620
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
621
- }
622
- ],
623
- "parameters": [
624
- {
625
- "id": 52,
626
- "name": "fn",
627
- "variant": "param",
628
- "kind": 32768,
629
- "flags": {},
630
- "type": {
631
- "type": "reflection",
632
- "declaration": {
633
- "id": 53,
634
- "name": "__type",
635
- "variant": "declaration",
636
- "kind": 65536,
637
- "flags": {},
638
- "sources": [
639
- {
640
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
641
- "line": 185,
642
- "character": 31,
643
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
644
- }
645
- ],
646
- "signatures": [
647
- {
648
- "id": 54,
649
- "name": "__type",
650
- "variant": "signature",
651
- "kind": 4096,
652
- "flags": {},
653
- "sources": [
654
- {
655
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
656
- "line": 185,
657
- "character": 31,
658
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L185"
659
- }
660
- ],
661
- "type": {
662
- "type": "intrinsic",
663
- "name": "void"
664
- }
665
- }
666
- ]
667
- }
668
- }
669
- }
670
- ],
671
- "type": {
672
- "type": "intrinsic",
673
- "name": "void"
674
- },
675
- "implementationOf": {
676
- "type": "reference",
677
- "target": -1,
678
- "name": "ControlValueAccessor.registerOnTouched"
679
- }
680
- }
681
- ],
682
- "implementationOf": {
683
- "type": "reference",
684
- "target": -1,
685
- "name": "ControlValueAccessor.registerOnTouched"
686
- },
687
- "decorators": []
688
- },
689
- {
690
- "id": 35,
691
- "name": "setDisabledState",
692
- "variant": "declaration",
693
- "kind": 2048,
694
- "flags": {
695
- "isPublic": true
696
- },
697
- "sources": [
698
- {
699
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
700
- "line": 130,
701
- "character": 9,
702
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L130"
703
- }
704
- ],
705
- "signatures": [
706
- {
707
- "id": 36,
708
- "name": "setDisabledState",
709
- "variant": "signature",
710
- "kind": 4096,
711
- "flags": {},
712
- "comment": {
713
- "summary": [
714
- {
715
- "kind": "text",
716
- "text": "Implemented as part of ControlValueAccessor."
717
- }
718
- ]
719
- },
720
- "sources": [
721
- {
722
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
723
- "line": 130,
724
- "character": 2,
725
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L130"
726
- }
727
- ],
728
- "parameters": [
729
- {
730
- "id": 37,
731
- "name": "value",
732
- "variant": "param",
733
- "kind": 32768,
734
- "flags": {},
735
- "type": {
736
- "type": "intrinsic",
737
- "name": "boolean"
738
- }
739
- }
740
- ],
741
- "type": {
742
- "type": "intrinsic",
743
- "name": "void"
744
- },
745
- "implementationOf": {
746
- "type": "reference",
747
- "target": -1,
748
- "name": "ControlValueAccessor.setDisabledState"
749
- }
750
- }
751
- ],
752
- "implementationOf": {
753
- "type": "reference",
754
- "target": -1,
755
- "name": "ControlValueAccessor.setDisabledState"
756
- },
757
- "decorators": []
758
- },
759
- {
760
- "id": 41,
761
- "name": "validate",
762
- "variant": "declaration",
763
- "kind": 2048,
764
- "flags": {
765
- "isPublic": true
766
- },
767
- "sources": [
768
- {
769
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
770
- "line": 161,
771
- "character": 9,
772
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L161"
773
- }
774
- ],
775
- "signatures": [
776
- {
777
- "id": 42,
778
- "name": "validate",
779
- "variant": "signature",
780
- "kind": 4096,
781
- "flags": {},
782
- "sources": [
783
- {
784
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
785
- "line": 161,
786
- "character": 2,
787
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L161"
788
- }
789
- ],
790
- "parameters": [
791
- {
792
- "id": 43,
793
- "name": "control",
794
- "variant": "param",
795
- "kind": 32768,
796
- "flags": {},
797
- "type": {
798
- "type": "reference",
799
- "target": {
800
- "sourceFileName": "node_modules/@angular/forms/index.d.ts",
801
- "qualifiedName": "AbstractControl"
802
- },
803
- "typeArguments": [
804
- {
805
- "type": "intrinsic",
806
- "name": "any"
807
- },
808
- {
809
- "type": "intrinsic",
810
- "name": "any"
811
- }
812
- ],
813
- "name": "AbstractControl",
814
- "package": "@angular/forms"
815
- }
816
- }
817
- ],
818
- "type": {
819
- "type": "reference",
820
- "target": {
821
- "sourceFileName": "node_modules/@angular/forms/index.d.ts",
822
- "qualifiedName": "ValidationErrors"
823
- },
824
- "name": "ValidationErrors",
825
- "package": "@angular/forms"
826
- },
827
- "implementationOf": {
828
- "type": "reference",
829
- "target": -1,
830
- "name": "Validator.validate"
831
- }
832
- }
833
- ],
834
- "implementationOf": {
835
- "type": "reference",
836
- "target": -1,
837
- "name": "Validator.validate"
838
- },
839
- "decorators": []
840
- },
841
- {
842
- "id": 38,
843
- "name": "writeValue",
844
- "variant": "declaration",
845
- "kind": 2048,
846
- "flags": {
847
- "isPublic": true
848
- },
849
- "sources": [
850
- {
851
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
852
- "line": 138,
853
- "character": 9,
854
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L138"
855
- }
856
- ],
857
- "signatures": [
858
- {
859
- "id": 39,
860
- "name": "writeValue",
861
- "variant": "signature",
862
- "kind": 4096,
863
- "flags": {},
864
- "sources": [
865
- {
866
- "fileName": "lib/modules/autonumeric/autonumeric.directive.ts",
867
- "line": 138,
868
- "character": 2,
869
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L138"
870
- }
871
- ],
872
- "parameters": [
873
- {
874
- "id": 40,
875
- "name": "value",
876
- "variant": "param",
877
- "kind": 32768,
878
- "flags": {},
879
- "type": {
880
- "type": "intrinsic",
881
- "name": "number"
882
- }
883
- }
884
- ],
885
- "type": {
886
- "type": "intrinsic",
887
- "name": "void"
888
- },
889
- "implementationOf": {
890
- "type": "reference",
891
- "target": -1,
892
- "name": "ControlValueAccessor.writeValue"
893
- }
894
- }
895
- ],
896
- "implementationOf": {
897
- "type": "reference",
898
- "target": -1,
899
- "name": "ControlValueAccessor.writeValue"
900
- },
901
- "decorators": []
902
- }
903
- ],
904
- "groups": [
905
- {
906
- "title": "Constructors",
907
- "children": [
908
- 11
909
- ]
910
- },
911
- {
912
- "title": "Accessors",
913
- "children": [
914
- 17
915
- ]
916
- },
917
- {
918
- "title": "Methods",
919
- "children": [
920
- 33,
921
- 31,
922
- 55,
923
- 44,
924
- 50,
925
- 35,
926
- 41,
927
- 38
928
- ]
929
- }
930
- ],
931
- "sources": [
932
- {
933
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric.directive.ts",
934
- "line": 49,
935
- "character": 13,
936
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts#L49"
937
- }
938
- ],
939
- "implementedTypes": [
940
- {
941
- "type": "reference",
942
- "target": {
943
- "sourceFileName": "node_modules/@angular/core/index.d.ts",
944
- "qualifiedName": "OnInit"
945
- },
946
- "name": "OnInit",
947
- "package": "@angular/core"
948
- },
949
- {
950
- "type": "reference",
951
- "target": {
952
- "sourceFileName": "node_modules/@angular/core/index.d.ts",
953
- "qualifiedName": "OnDestroy"
954
- },
955
- "name": "OnDestroy",
956
- "package": "@angular/core"
957
- },
958
- {
959
- "type": "reference",
960
- "target": {
961
- "sourceFileName": "node_modules/@angular/forms/index.d.ts",
962
- "qualifiedName": "ControlValueAccessor"
963
- },
964
- "name": "ControlValueAccessor",
965
- "package": "@angular/forms"
966
- },
967
- {
968
- "type": "reference",
969
- "target": {
970
- "sourceFileName": "node_modules/@angular/forms/index.d.ts",
971
- "qualifiedName": "Validator"
972
- },
973
- "name": "Validator",
974
- "package": "@angular/forms"
975
- }
976
- ],
977
- "decorators": [
978
- {
979
- "name": "Directive",
980
- "arguments": {
981
- "obj": "@Directive({\n selector: 'input[skyAutonumeric]',\n providers: [SKY_AUTONUMERIC_VALUE_ACCESSOR, SKY_AUTONUMERIC_VALIDATOR],\n standalone: false,\n})"
982
- }
983
- }
984
- ]
985
- },
986
- {
987
- "id": 1,
988
- "name": "SkyAutonumericOptions",
989
- "variant": "declaration",
990
- "kind": 4194304,
991
- "flags": {},
992
- "comment": {
993
- "summary": [
994
- {
995
- "kind": "text",
996
- "text": "Custom options to provide to the underlying [AutoNumeric library](https://github.com/autoNumeric/autoNumeric).\nThe value can be set to "
997
- },
998
- {
999
- "kind": "code",
1000
- "text": "`string`"
1001
- },
1002
- {
1003
- "kind": "text",
1004
- "text": ", which is an alias that represents\na [set of predefined set of options](https://github.com/autoNumeric/autoNumeric#predefined-options)\nfor a currency or language, or "
1005
- },
1006
- {
1007
- "kind": "code",
1008
- "text": "`Options`"
1009
- },
1010
- {
1011
- "kind": "text",
1012
- "text": ", which is a\n[custom set of options](https://github.com/autoNumeric/autoNumeric#options)\nthat override any default options that the "
1013
- },
1014
- {
1015
- "kind": "code",
1016
- "text": "`skyAutonumeric`"
1017
- },
1018
- {
1019
- "kind": "text",
1020
- "text": " attribute specifies."
1021
- }
1022
- ]
1023
- },
1024
- "sources": [
1025
- {
1026
- "fileName": "projects/autonumeric/src/modules/autonumeric/autonumeric-options.ts",
1027
- "line": 11,
1028
- "character": 12,
1029
- "url": "https://github.com/blackbaud/skyux/blob/42e6ef8/libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options.ts#L11"
1030
- }
1031
- ],
1032
- "type": {
1033
- "type": "union",
1034
- "types": [
1035
- {
1036
- "type": "intrinsic",
1037
- "name": "string"
1038
- },
1039
- {
1040
- "type": "typeOperator",
1041
- "operator": "keyof",
1042
- "target": {
1043
- "type": "reference",
1044
- "target": {
1045
- "sourceFileName": "node_modules/autonumeric/index.d.ts",
1046
- "qualifiedName": "AutoNumeric.PredefinedOptions"
1047
- },
1048
- "name": "AutoNumeric.PredefinedOptions",
1049
- "package": "autonumeric"
1050
- }
1051
- },
1052
- {
1053
- "type": "reference",
1054
- "target": {
1055
- "sourceFileName": "node_modules/autonumeric/index.d.ts",
1056
- "qualifiedName": "AutoNumeric.Options"
1057
- },
1058
- "name": "AutoNumeric.Options",
1059
- "package": "autonumeric"
1060
- }
1061
- ]
1062
- }
1063
- }
1064
- ],
1065
- "groups": [
1066
- {
1067
- "title": "Classes",
1068
- "children": [
1069
- 7,
1070
- 2,
1071
- 10
1072
- ]
1073
- },
1074
- {
1075
- "title": "Type Aliases",
1076
- "children": [
1077
- 1
1078
- ]
1079
- }
1080
- ],
1081
- "packageName": "@skyux/autonumeric",
1082
- "readme": [
1083
- {
1084
- "kind": "text",
1085
- "text": "# autonumeric\n\nThis library was generated with [Nx](https://nx.dev).\n\n## Running unit tests\n\nRun "
1086
- },
1087
- {
1088
- "kind": "code",
1089
- "text": "`nx test autonumeric`"
1090
- },
1091
- {
1092
- "kind": "text",
1093
- "text": " to execute the unit tests."
1094
- }
1095
- ],
1096
- "symbolIdMap": {
1097
- "0": {
1098
- "sourceFileName": "libs/components/autonumeric/src/index.ts",
1099
- "qualifiedName": ""
1100
- },
1101
- "1": {
1102
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options.ts",
1103
- "qualifiedName": "SkyAutonumericOptions"
1104
- },
1105
- "2": {
1106
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts",
1107
- "qualifiedName": "SkyAutonumericOptionsProvider"
1108
- },
1109
- "5": {
1110
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts",
1111
- "qualifiedName": "SkyAutonumericOptionsProvider.getConfig"
1112
- },
1113
- "6": {
1114
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric-options-provider.ts",
1115
- "qualifiedName": "SkyAutonumericOptionsProvider.getConfig"
1116
- },
1117
- "7": {
1118
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.module.ts",
1119
- "qualifiedName": "SkyAutonumericModule"
1120
- },
1121
- "10": {
1122
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1123
- "qualifiedName": "SkyAutonumericDirective"
1124
- },
1125
- "11": {
1126
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1127
- "qualifiedName": "SkyAutonumericDirective.__constructor"
1128
- },
1129
- "12": {
1130
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1131
- "qualifiedName": "SkyAutonumericDirective"
1132
- },
1133
- "13": {
1134
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1135
- "qualifiedName": "elementRef"
1136
- },
1137
- "14": {
1138
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1139
- "qualifiedName": "globalConfig"
1140
- },
1141
- "15": {
1142
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1143
- "qualifiedName": "renderer"
1144
- },
1145
- "16": {
1146
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1147
- "qualifiedName": "changeDetector"
1148
- },
1149
- "17": {
1150
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1151
- "qualifiedName": "SkyAutonumericDirective.skyAutonumeric"
1152
- },
1153
- "18": {
1154
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1155
- "qualifiedName": "SkyAutonumericDirective.skyAutonumeric"
1156
- },
1157
- "19": {
1158
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1159
- "qualifiedName": "value"
1160
- },
1161
- "31": {
1162
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1163
- "qualifiedName": "SkyAutonumericDirective.ngOnInit"
1164
- },
1165
- "32": {
1166
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1167
- "qualifiedName": "SkyAutonumericDirective.ngOnInit"
1168
- },
1169
- "33": {
1170
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1171
- "qualifiedName": "SkyAutonumericDirective.ngOnDestroy"
1172
- },
1173
- "34": {
1174
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1175
- "qualifiedName": "SkyAutonumericDirective.ngOnDestroy"
1176
- },
1177
- "35": {
1178
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1179
- "qualifiedName": "SkyAutonumericDirective.setDisabledState"
1180
- },
1181
- "36": {
1182
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1183
- "qualifiedName": "SkyAutonumericDirective.setDisabledState"
1184
- },
1185
- "37": {
1186
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1187
- "qualifiedName": "value"
1188
- },
1189
- "38": {
1190
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1191
- "qualifiedName": "SkyAutonumericDirective.writeValue"
1192
- },
1193
- "39": {
1194
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1195
- "qualifiedName": "SkyAutonumericDirective.writeValue"
1196
- },
1197
- "40": {
1198
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1199
- "qualifiedName": "value"
1200
- },
1201
- "41": {
1202
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1203
- "qualifiedName": "SkyAutonumericDirective.validate"
1204
- },
1205
- "42": {
1206
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1207
- "qualifiedName": "SkyAutonumericDirective.validate"
1208
- },
1209
- "43": {
1210
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1211
- "qualifiedName": "control"
1212
- },
1213
- "44": {
1214
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1215
- "qualifiedName": "SkyAutonumericDirective.registerOnChange"
1216
- },
1217
- "45": {
1218
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1219
- "qualifiedName": "SkyAutonumericDirective.registerOnChange"
1220
- },
1221
- "46": {
1222
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1223
- "qualifiedName": "fn"
1224
- },
1225
- "47": {
1226
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1227
- "qualifiedName": "__type"
1228
- },
1229
- "48": {
1230
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1231
- "qualifiedName": "__type"
1232
- },
1233
- "49": {
1234
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1235
- "qualifiedName": "value"
1236
- },
1237
- "50": {
1238
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1239
- "qualifiedName": "SkyAutonumericDirective.registerOnTouched"
1240
- },
1241
- "51": {
1242
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1243
- "qualifiedName": "SkyAutonumericDirective.registerOnTouched"
1244
- },
1245
- "52": {
1246
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1247
- "qualifiedName": "fn"
1248
- },
1249
- "53": {
1250
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1251
- "qualifiedName": "__type"
1252
- },
1253
- "54": {
1254
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1255
- "qualifiedName": "__type"
1256
- },
1257
- "55": {
1258
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1259
- "qualifiedName": "SkyAutonumericDirective.onBlur"
1260
- },
1261
- "56": {
1262
- "sourceFileName": "libs/components/autonumeric/src/lib/modules/autonumeric/autonumeric.directive.ts",
1263
- "qualifiedName": "SkyAutonumericDirective.onBlur"
1264
- }
1265
- }
1266
- },
1267
- "codeExamples": [
1268
- {
1269
- "fileName": "demo.component.ts",
1270
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/preset/demo.component.ts",
1271
- "rawContents": "import { Component, inject } from '@angular/core';\nimport {\n FormBuilder,\n FormControl,\n FormGroup,\n ReactiveFormsModule,\n Validators,\n} from '@angular/forms';\nimport {\n SkyAutonumericModule,\n SkyAutonumericOptions,\n} from '@skyux/autonumeric';\nimport { SkyInputBoxModule } from '@skyux/forms';\n\n@Component({\n selector: 'app-demo',\n templateUrl: './demo.component.html',\n imports: [ReactiveFormsModule, SkyAutonumericModule, SkyInputBoxModule],\n})\nexport class DemoComponent {\n protected autonumericOptions: SkyAutonumericOptions = 'Chinese';\n\n protected formGroup: FormGroup;\n\n constructor() {\n this.formGroup = inject(FormBuilder).group({\n donationAmount: new FormControl(1234.5678, [Validators.required]),\n });\n }\n}\n"
1272
- },
1273
- {
1274
- "fileName": "demo.component.html",
1275
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/preset/demo.component.html",
1276
- "rawContents": "<form [formGroup]=\"formGroup\">\n <sky-input-box labelText=\"Donation amount\">\n <input\n formControlName=\"donationAmount\"\n type=\"text\"\n [skyAutonumeric]=\"autonumericOptions\"\n />\n </sky-input-box>\n</form>\n"
1277
- },
1278
- {
1279
- "fileName": "options-provider.ts",
1280
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/options-provider/options-provider.ts",
1281
- "rawContents": "import { Injectable } from '@angular/core';\nimport {\n SkyAutonumericOptions,\n SkyAutonumericOptionsProvider,\n} from '@skyux/autonumeric';\n\n@Injectable()\nexport class DemoAutonumericOptionsProvider extends SkyAutonumericOptionsProvider {\n constructor() {\n super();\n }\n\n public override getConfig(): SkyAutonumericOptions {\n return {\n currencySymbol: ' €',\n currencySymbolPlacement: 's',\n decimalPlaces: 2,\n decimalCharacter: ',',\n digitGroupSeparator: '',\n };\n }\n}\n"
1282
- },
1283
- {
1284
- "fileName": "demo.component.ts",
1285
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/options-provider/demo.component.ts",
1286
- "rawContents": "import { Component, inject } from '@angular/core';\nimport {\n FormBuilder,\n FormControl,\n FormGroup,\n ReactiveFormsModule,\n Validators,\n} from '@angular/forms';\nimport {\n SkyAutonumericModule,\n SkyAutonumericOptions,\n SkyAutonumericOptionsProvider,\n} from '@skyux/autonumeric';\nimport { SkyInputBoxModule } from '@skyux/forms';\n\nimport { DemoAutonumericOptionsProvider } from './options-provider';\n\n@Component({\n selector: 'app-demo',\n templateUrl: './demo.component.html',\n providers: [\n {\n provide: SkyAutonumericOptionsProvider,\n useClass: DemoAutonumericOptionsProvider,\n },\n ],\n imports: [ReactiveFormsModule, SkyAutonumericModule, SkyInputBoxModule],\n})\nexport class DemoComponent {\n protected donationOptions: SkyAutonumericOptions = {};\n\n protected formGroup: FormGroup;\n\n protected pledgeOptions: SkyAutonumericOptions = {\n decimalPlaces: 0,\n };\n\n constructor() {\n this.formGroup = inject(FormBuilder).group({\n donationAmount: new FormControl(1234.5678, [Validators.required]),\n pledgeAmount: new FormControl(2345.6789, [Validators.required]),\n });\n }\n}\n"
1287
- },
1288
- {
1289
- "fileName": "demo.component.html",
1290
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/options-provider/demo.component.html",
1291
- "rawContents": "<form [formGroup]=\"formGroup\">\n <sky-input-box labelText=\"Donation amount\" stacked=\"true\">\n <input\n formControlName=\"donationAmount\"\n type=\"text\"\n [skyAutonumeric]=\"donationOptions\"\n />\n </sky-input-box>\n <sky-input-box labelText=\"Pledge amount\">\n <input\n formControlName=\"pledgeAmount\"\n type=\"text\"\n [skyAutonumeric]=\"pledgeOptions\"\n />\n </sky-input-box>\n</form>\n"
1292
- },
1293
- {
1294
- "fileName": "demo.component.ts",
1295
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/international-formatting/demo.component.ts",
1296
- "rawContents": "import { Component, inject } from '@angular/core';\nimport {\n FormBuilder,\n FormControl,\n FormGroup,\n ReactiveFormsModule,\n Validators,\n} from '@angular/forms';\nimport {\n SkyAutonumericModule,\n SkyAutonumericOptions,\n} from '@skyux/autonumeric';\nimport { SkyInputBoxModule } from '@skyux/forms';\n\n@Component({\n selector: 'app-demo',\n templateUrl: './demo.component.html',\n imports: [ReactiveFormsModule, SkyAutonumericModule, SkyInputBoxModule],\n})\nexport class DemoComponent {\n protected autonumericOptions: SkyAutonumericOptions | undefined;\n\n protected formGroup: FormGroup;\n\n constructor() {\n this.formGroup = inject(FormBuilder).group({\n donationAmount: new FormControl(1234.5678, [Validators.required]),\n });\n\n this.autonumericOptions = {\n decimalCharacter: ',',\n decimalPlaces: 4,\n digitGroupSeparator: '',\n };\n }\n}\n"
1297
- },
1298
- {
1299
- "fileName": "demo.component.html",
1300
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/international-formatting/demo.component.html",
1301
- "rawContents": "<form [formGroup]=\"formGroup\">\n <sky-input-box labelText=\"Autonumeric value\">\n <input\n formControlName=\"donationAmount\"\n type=\"text\"\n [skyAutonumeric]=\"autonumericOptions\"\n />\n </sky-input-box>\n</form>\n"
1302
- },
1303
- {
1304
- "fileName": "demo.component.ts",
1305
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/currency/demo.component.ts",
1306
- "rawContents": "import { Component, inject } from '@angular/core';\nimport {\n FormBuilder,\n FormControl,\n FormGroup,\n ReactiveFormsModule,\n Validators,\n} from '@angular/forms';\nimport {\n SkyAutonumericModule,\n SkyAutonumericOptions,\n} from '@skyux/autonumeric';\nimport { SkyInputBoxModule } from '@skyux/forms';\n\n@Component({\n selector: 'app-demo',\n templateUrl: './demo.component.html',\n imports: [ReactiveFormsModule, SkyAutonumericModule, SkyInputBoxModule],\n})\nexport class DemoComponent {\n protected autonumericOptions: SkyAutonumericOptions | undefined;\n\n protected formGroup: FormGroup;\n\n constructor() {\n this.formGroup = inject(FormBuilder).group({\n donationAmount: new FormControl(1234.5678, [Validators.required]),\n });\n\n this.autonumericOptions = {\n currencySymbol: ' €',\n currencySymbolPlacement: 's',\n decimalPlaces: 2,\n decimalCharacter: ',',\n digitGroupSeparator: '',\n };\n }\n}\n"
1307
- },
1308
- {
1309
- "fileName": "demo.component.html",
1310
- "filePath": "/projects/autonumeric/documentation/code-examples/autonumeric/currency/demo.component.html",
1311
- "rawContents": "<form [formGroup]=\"formGroup\">\n <sky-input-box labelText=\"Donation amount\">\n <input\n formControlName=\"donationAmount\"\n type=\"text\"\n [skyAutonumeric]=\"autonumericOptions\"\n />\n </sky-input-box>\n</form>\n"
1312
- }
1313
- ],
1314
- "codeExampleDependencies": {
1315
- "/projects/autonumeric/documentation/code-examples/autonumeric/preset": {
1316
- "@angular-devkit/core": "19.0.6",
1317
- "@angular-devkit/schematics": "19.0.6",
1318
- "@angular/animations": "19.0.5",
1319
- "@angular/cdk": "19.0.4",
1320
- "@angular/cli": "19.0.6",
1321
- "@angular/common": "19.0.5",
1322
- "@angular/core": "19.0.5",
1323
- "@angular/forms": "19.0.5",
1324
- "@angular/platform-browser": "19.0.5",
1325
- "@angular/router": "19.0.5",
1326
- "@blackbaud/skyux-design-tokens": "0.0.45",
1327
- "@schematics/angular": "19.0.6",
1328
- "@skyux-sdk/testing": "12.0.0-alpha.8",
1329
- "@skyux/assets": "12.0.0-alpha.8",
1330
- "@skyux/autonumeric": "12.0.0-alpha.8",
1331
- "@skyux/core": "12.0.0-alpha.8",
1332
- "@skyux/forms": "12.0.0-alpha.8",
1333
- "@skyux/help-inline": "12.0.0-alpha.8",
1334
- "@skyux/i18n": "12.0.0-alpha.8",
1335
- "@skyux/icon": "12.0.0-alpha.8",
1336
- "@skyux/icons": "7.10.0",
1337
- "@skyux/indicators": "12.0.0-alpha.8",
1338
- "@skyux/popovers": "12.0.0-alpha.8",
1339
- "@skyux/theme": "12.0.0-alpha.8",
1340
- "@types/node": "20.14.12",
1341
- "ajv": "8.17.1",
1342
- "autonumeric": "4.10.5",
1343
- "axe-core": "4.10.2",
1344
- "fontfaceobserver": "2.3.0",
1345
- "jsonc-parser": "3.3.1",
1346
- "minimist": "1.2.8",
1347
- "rxjs": "7.8.1",
1348
- "tslib": "2.8.1",
1349
- "zone.js": "0.15.0"
1350
- },
1351
- "/projects/autonumeric/documentation/code-examples/autonumeric/options-provider": {
1352
- "@angular-devkit/core": "19.0.6",
1353
- "@angular-devkit/schematics": "19.0.6",
1354
- "@angular/animations": "19.0.5",
1355
- "@angular/cdk": "19.0.4",
1356
- "@angular/cli": "19.0.6",
1357
- "@angular/common": "19.0.5",
1358
- "@angular/core": "19.0.5",
1359
- "@angular/forms": "19.0.5",
1360
- "@angular/platform-browser": "19.0.5",
1361
- "@angular/router": "19.0.5",
1362
- "@blackbaud/skyux-design-tokens": "0.0.45",
1363
- "@schematics/angular": "19.0.6",
1364
- "@skyux-sdk/testing": "12.0.0-alpha.8",
1365
- "@skyux/assets": "12.0.0-alpha.8",
1366
- "@skyux/autonumeric": "12.0.0-alpha.8",
1367
- "@skyux/core": "12.0.0-alpha.8",
1368
- "@skyux/forms": "12.0.0-alpha.8",
1369
- "@skyux/help-inline": "12.0.0-alpha.8",
1370
- "@skyux/i18n": "12.0.0-alpha.8",
1371
- "@skyux/icon": "12.0.0-alpha.8",
1372
- "@skyux/icons": "7.10.0",
1373
- "@skyux/indicators": "12.0.0-alpha.8",
1374
- "@skyux/popovers": "12.0.0-alpha.8",
1375
- "@skyux/theme": "12.0.0-alpha.8",
1376
- "@types/node": "20.14.12",
1377
- "ajv": "8.17.1",
1378
- "autonumeric": "4.10.5",
1379
- "axe-core": "4.10.2",
1380
- "fontfaceobserver": "2.3.0",
1381
- "jsonc-parser": "3.3.1",
1382
- "minimist": "1.2.8",
1383
- "rxjs": "7.8.1",
1384
- "tslib": "2.8.1",
1385
- "zone.js": "0.15.0"
1386
- },
1387
- "/projects/autonumeric/documentation/code-examples/autonumeric/international-formatting": {
1388
- "@angular-devkit/core": "19.0.6",
1389
- "@angular-devkit/schematics": "19.0.6",
1390
- "@angular/animations": "19.0.5",
1391
- "@angular/cdk": "19.0.4",
1392
- "@angular/cli": "19.0.6",
1393
- "@angular/common": "19.0.5",
1394
- "@angular/core": "19.0.5",
1395
- "@angular/forms": "19.0.5",
1396
- "@angular/platform-browser": "19.0.5",
1397
- "@angular/router": "19.0.5",
1398
- "@blackbaud/skyux-design-tokens": "0.0.45",
1399
- "@schematics/angular": "19.0.6",
1400
- "@skyux-sdk/testing": "12.0.0-alpha.8",
1401
- "@skyux/assets": "12.0.0-alpha.8",
1402
- "@skyux/autonumeric": "12.0.0-alpha.8",
1403
- "@skyux/core": "12.0.0-alpha.8",
1404
- "@skyux/forms": "12.0.0-alpha.8",
1405
- "@skyux/help-inline": "12.0.0-alpha.8",
1406
- "@skyux/i18n": "12.0.0-alpha.8",
1407
- "@skyux/icon": "12.0.0-alpha.8",
1408
- "@skyux/icons": "7.10.0",
1409
- "@skyux/indicators": "12.0.0-alpha.8",
1410
- "@skyux/popovers": "12.0.0-alpha.8",
1411
- "@skyux/theme": "12.0.0-alpha.8",
1412
- "@types/node": "20.14.12",
1413
- "ajv": "8.17.1",
1414
- "autonumeric": "4.10.5",
1415
- "axe-core": "4.10.2",
1416
- "fontfaceobserver": "2.3.0",
1417
- "jsonc-parser": "3.3.1",
1418
- "minimist": "1.2.8",
1419
- "rxjs": "7.8.1",
1420
- "tslib": "2.8.1",
1421
- "zone.js": "0.15.0"
1422
- },
1423
- "/projects/autonumeric/documentation/code-examples/autonumeric/currency": {
1424
- "@angular-devkit/core": "19.0.6",
1425
- "@angular-devkit/schematics": "19.0.6",
1426
- "@angular/animations": "19.0.5",
1427
- "@angular/cdk": "19.0.4",
1428
- "@angular/cli": "19.0.6",
1429
- "@angular/common": "19.0.5",
1430
- "@angular/core": "19.0.5",
1431
- "@angular/forms": "19.0.5",
1432
- "@angular/platform-browser": "19.0.5",
1433
- "@angular/router": "19.0.5",
1434
- "@blackbaud/skyux-design-tokens": "0.0.45",
1435
- "@schematics/angular": "19.0.6",
1436
- "@skyux-sdk/testing": "12.0.0-alpha.8",
1437
- "@skyux/assets": "12.0.0-alpha.8",
1438
- "@skyux/autonumeric": "12.0.0-alpha.8",
1439
- "@skyux/core": "12.0.0-alpha.8",
1440
- "@skyux/forms": "12.0.0-alpha.8",
1441
- "@skyux/help-inline": "12.0.0-alpha.8",
1442
- "@skyux/i18n": "12.0.0-alpha.8",
1443
- "@skyux/icon": "12.0.0-alpha.8",
1444
- "@skyux/icons": "7.10.0",
1445
- "@skyux/indicators": "12.0.0-alpha.8",
1446
- "@skyux/popovers": "12.0.0-alpha.8",
1447
- "@skyux/theme": "12.0.0-alpha.8",
1448
- "@types/node": "20.14.12",
1449
- "ajv": "8.17.1",
1450
- "autonumeric": "4.10.5",
1451
- "axe-core": "4.10.2",
1452
- "fontfaceobserver": "2.3.0",
1453
- "jsonc-parser": "3.3.1",
1454
- "minimist": "1.2.8",
1455
- "rxjs": "7.8.1",
1456
- "tslib": "2.8.1",
1457
- "zone.js": "0.15.0"
1458
- }
1459
- }
1460
- }