@skyux/forms 5.0.0-beta.4 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +0 -1
  2. package/bundles/skyux-forms-testing.umd.js +7 -4
  3. package/bundles/skyux-forms-testing.umd.js.map +1 -1
  4. package/bundles/skyux-forms.umd.js +341 -363
  5. package/bundles/skyux-forms.umd.js.map +1 -1
  6. package/documentation.json +301 -332
  7. package/esm2015/modules/character-counter/character-counter-indicator.component.js +6 -6
  8. package/esm2015/modules/character-counter/character-counter.directive.js +17 -15
  9. package/esm2015/modules/character-counter/character-counter.module.js +10 -10
  10. package/esm2015/modules/checkbox/checkbox-change.js +1 -1
  11. package/esm2015/modules/checkbox/checkbox-label.component.js +5 -5
  12. package/esm2015/modules/checkbox/checkbox-required-validator.directive.js +7 -6
  13. package/esm2015/modules/checkbox/checkbox.component.js +8 -7
  14. package/esm2015/modules/checkbox/checkbox.module.js +10 -20
  15. package/esm2015/modules/file-attachment/file-attachment-label.component.js +6 -8
  16. package/esm2015/modules/file-attachment/file-attachment.component.js +23 -19
  17. package/esm2015/modules/file-attachment/file-attachment.service.js +8 -6
  18. package/esm2015/modules/file-attachment/file-attachments.module.js +10 -16
  19. package/esm2015/modules/file-attachment/file-drop.component.js +10 -13
  20. package/esm2015/modules/file-attachment/file-item-error-type.js +1 -1
  21. package/esm2015/modules/file-attachment/file-item.component.js +6 -6
  22. package/esm2015/modules/file-attachment/file-item.js +1 -1
  23. package/esm2015/modules/file-attachment/file-item.service.js +9 -6
  24. package/esm2015/modules/file-attachment/file-size.pipe.js +7 -6
  25. package/esm2015/modules/file-attachment/types/file-attachment-change.js +1 -1
  26. package/esm2015/modules/file-attachment/types/file-attachment-click.js +1 -1
  27. package/esm2015/modules/file-attachment/types/file-drop-change.js +1 -1
  28. package/esm2015/modules/input-box/input-box-adapter.service.js +5 -5
  29. package/esm2015/modules/input-box/input-box-host.service.js +4 -4
  30. package/esm2015/modules/input-box/input-box-populate-args.js +1 -1
  31. package/esm2015/modules/input-box/input-box.component.js +15 -19
  32. package/esm2015/modules/input-box/input-box.module.js +8 -19
  33. package/esm2015/modules/radio/radio-group.component.js +14 -17
  34. package/esm2015/modules/radio/radio-label.component.js +5 -5
  35. package/esm2015/modules/radio/radio.component.js +9 -13
  36. package/esm2015/modules/radio/radio.module.js +9 -25
  37. package/esm2015/modules/radio/types/radio-change.js +1 -1
  38. package/esm2015/modules/selection-box/selection-box-adapter.service.js +10 -8
  39. package/esm2015/modules/selection-box/selection-box-description.component.js +5 -5
  40. package/esm2015/modules/selection-box/selection-box-grid.component.js +12 -13
  41. package/esm2015/modules/selection-box/selection-box-header.component.js +5 -5
  42. package/esm2015/modules/selection-box/selection-box.component.js +12 -10
  43. package/esm2015/modules/selection-box/selection-box.module.js +10 -21
  44. package/esm2015/modules/selection-box/types/selection-box-grid-align-items.js +1 -1
  45. package/esm2015/modules/shared/forms-utility.js +1 -1
  46. package/esm2015/modules/shared/sky-forms-resources.module.js +60 -12
  47. package/esm2015/modules/toggle-switch/toggle-switch-label.component.js +5 -5
  48. package/esm2015/modules/toggle-switch/toggle-switch.component.js +13 -13
  49. package/esm2015/modules/toggle-switch/toggle-switch.module.js +8 -23
  50. package/esm2015/testing/checkbox-fixture.js +6 -3
  51. package/fesm2015/skyux-forms-testing.js +5 -2
  52. package/fesm2015/skyux-forms-testing.js.map +1 -1
  53. package/fesm2015/skyux-forms.js +302 -322
  54. package/fesm2015/skyux-forms.js.map +1 -1
  55. package/modules/input-box/input-box.component.d.ts +5 -3
  56. package/package.json +8 -8
@@ -38,7 +38,7 @@
38
38
  "typedoc": {
39
39
  "id": 0,
40
40
  "name": "@skyux/forms",
41
- "kind": 0,
41
+ "kind": 1,
42
42
  "kindString": "Project",
43
43
  "flags": {},
44
44
  "originalName": "",
@@ -57,7 +57,7 @@
57
57
  "name": "NgModule"
58
58
  },
59
59
  "arguments": {
60
- "obj": "{\n declarations: [\n SkyCharacterCounterInputDirective,\n SkyCharacterCounterIndicatorComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyFormsResourcesModule,\n SkyI18nModule\n ],\n exports: [\n SkyCharacterCounterInputDirective,\n SkyCharacterCounterIndicatorComponent\n ]\n}"
60
+ "obj": "{\n declarations: [\n SkyCharacterCounterInputDirective,\n SkyCharacterCounterIndicatorComponent,\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyFormsResourcesModule,\n SkyI18nModule,\n ],\n exports: [\n SkyCharacterCounterInputDirective,\n SkyCharacterCounterIndicatorComponent,\n ],\n}"
61
61
  }
62
62
  }
63
63
  ],
@@ -96,7 +96,7 @@
96
96
  "sources": [
97
97
  {
98
98
  "fileName": "projects/forms/src/modules/character-counter/character-counter.module.ts",
99
- "line": 47,
99
+ "line": 32,
100
100
  "character": 13
101
101
  }
102
102
  ]
@@ -143,7 +143,7 @@
143
143
  "sources": [
144
144
  {
145
145
  "fileName": "projects/forms/src/modules/checkbox/checkbox-change.ts",
146
- "line": 10,
146
+ "line": 8,
147
147
  "character": 9
148
148
  }
149
149
  ],
@@ -163,7 +163,7 @@
163
163
  "sources": [
164
164
  {
165
165
  "fileName": "projects/forms/src/modules/checkbox/checkbox-change.ts",
166
- "line": 9,
166
+ "line": 7,
167
167
  "character": 9
168
168
  }
169
169
  ],
@@ -194,7 +194,7 @@
194
194
  "sources": [
195
195
  {
196
196
  "fileName": "projects/forms/src/modules/checkbox/checkbox-change.ts",
197
- "line": 8,
197
+ "line": 6,
198
198
  "character": 13
199
199
  }
200
200
  ]
@@ -213,7 +213,7 @@
213
213
  "name": "NgModule"
214
214
  },
215
215
  "arguments": {
216
- "obj": "{\n declarations: [\n SkyCheckboxComponent,\n SkyCheckboxLabelComponent,\n SkyCheckboxRequiredValidatorDirective\n ],\n imports: [\n CommonModule,\n FormsModule,\n SkyIconModule\n ],\n exports: [\n SkyCheckboxComponent,\n SkyCheckboxLabelComponent,\n SkyCheckboxRequiredValidatorDirective\n ]\n}"
216
+ "obj": "{\n declarations: [\n SkyCheckboxComponent,\n SkyCheckboxLabelComponent,\n SkyCheckboxRequiredValidatorDirective,\n ],\n imports: [CommonModule, FormsModule, SkyIconModule],\n exports: [\n SkyCheckboxComponent,\n SkyCheckboxLabelComponent,\n SkyCheckboxRequiredValidatorDirective,\n ],\n}"
217
217
  }
218
218
  }
219
219
  ],
@@ -252,7 +252,7 @@
252
252
  "sources": [
253
253
  {
254
254
  "fileName": "projects/forms/src/modules/checkbox/checkbox.module.ts",
255
- "line": 46,
255
+ "line": 28,
256
256
  "character": 13
257
257
  }
258
258
  ]
@@ -271,7 +271,7 @@
271
271
  "name": "NgModule"
272
272
  },
273
273
  "arguments": {
274
- "obj": "{\n declarations: [\n SkyFileAttachmentComponent,\n SkyFileAttachmentLabelComponent,\n SkyFileDropComponent,\n SkyFileItemComponent,\n SkyFileSizePipe\n ],\n imports: [\n CommonModule,\n FormsModule,\n SkyFormsResourcesModule,\n SkyI18nModule,\n SkyIconModule,\n SkyThemeModule\n ],\n exports: [\n SkyFileAttachmentComponent,\n SkyFileAttachmentLabelComponent,\n SkyFileDropComponent,\n SkyFileItemComponent,\n SkyFileSizePipe\n ],\n providers: [\n DecimalPipe,\n SkyFileItemService\n ]\n}"
274
+ "obj": "{\n declarations: [\n SkyFileAttachmentComponent,\n SkyFileAttachmentLabelComponent,\n SkyFileDropComponent,\n SkyFileItemComponent,\n SkyFileSizePipe,\n ],\n imports: [\n CommonModule,\n FormsModule,\n SkyFormsResourcesModule,\n SkyI18nModule,\n SkyIconModule,\n SkyThemeModule,\n ],\n exports: [\n SkyFileAttachmentComponent,\n SkyFileAttachmentLabelComponent,\n SkyFileDropComponent,\n SkyFileItemComponent,\n SkyFileSizePipe,\n ],\n providers: [DecimalPipe, SkyFileItemService],\n}"
275
275
  }
276
276
  }
277
277
  ],
@@ -310,7 +310,7 @@
310
310
  "sources": [
311
311
  {
312
312
  "fileName": "projects/forms/src/modules/file-attachment/file-attachments.module.ts",
313
- "line": 82,
313
+ "line": 52,
314
314
  "character": 13
315
315
  }
316
316
  ]
@@ -329,7 +329,7 @@
329
329
  "name": "NgModule"
330
330
  },
331
331
  "arguments": {
332
- "obj": "{\n declarations: [\n SkyInputBoxComponent\n ],\n imports: [\n CommonModule,\n SkyThemeModule\n ],\n exports: [\n SkyInputBoxComponent\n ]\n}"
332
+ "obj": "{\n declarations: [SkyInputBoxComponent],\n imports: [CommonModule, SkyThemeModule],\n exports: [SkyInputBoxComponent],\n}"
333
333
  }
334
334
  }
335
335
  ],
@@ -368,7 +368,7 @@
368
368
  "sources": [
369
369
  {
370
370
  "fileName": "projects/forms/src/modules/input-box/input-box.module.ts",
371
- "line": 29,
371
+ "line": 14,
372
372
  "character": 13
373
373
  }
374
374
  ]
@@ -387,7 +387,7 @@
387
387
  "name": "NgModule"
388
388
  },
389
389
  "arguments": {
390
- "obj": "{\n declarations: [\n SkyRadioComponent,\n SkyRadioGroupComponent,\n SkyRadioLabelComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n SkyIconModule\n ],\n exports: [\n SkyRadioComponent,\n SkyRadioGroupComponent,\n SkyRadioLabelComponent\n ]\n}"
390
+ "obj": "{\n declarations: [\n SkyRadioComponent,\n SkyRadioGroupComponent,\n SkyRadioLabelComponent,\n ],\n imports: [CommonModule, FormsModule, SkyIconModule],\n exports: [SkyRadioComponent, SkyRadioGroupComponent, SkyRadioLabelComponent],\n}"
391
391
  }
392
392
  }
393
393
  ],
@@ -426,7 +426,7 @@
426
426
  "sources": [
427
427
  {
428
428
  "fileName": "projects/forms/src/modules/radio/radio.module.ts",
429
- "line": 46,
429
+ "line": 24,
430
430
  "character": 13
431
431
  }
432
432
  ]
@@ -445,7 +445,7 @@
445
445
  "name": "NgModule"
446
446
  },
447
447
  "arguments": {
448
- "obj": "{\n declarations: [\n SkySelectionBoxGridComponent,\n SkySelectionBoxComponent,\n SkySelectionBoxDescriptionComponent,\n SkySelectionBoxHeaderComponent\n ],\n imports: [\n CommonModule,\n SkyThemeModule\n ],\n exports: [\n SkySelectionBoxGridComponent,\n SkySelectionBoxComponent,\n SkySelectionBoxDescriptionComponent,\n SkySelectionBoxHeaderComponent\n ],\n providers: [\n SkySelectionBoxAdapterService\n ]\n}"
448
+ "obj": "{\n declarations: [\n SkySelectionBoxGridComponent,\n SkySelectionBoxComponent,\n SkySelectionBoxDescriptionComponent,\n SkySelectionBoxHeaderComponent,\n ],\n imports: [CommonModule, SkyThemeModule],\n exports: [\n SkySelectionBoxGridComponent,\n SkySelectionBoxComponent,\n SkySelectionBoxDescriptionComponent,\n SkySelectionBoxHeaderComponent,\n ],\n providers: [SkySelectionBoxAdapterService],\n}"
449
449
  }
450
450
  }
451
451
  ],
@@ -484,7 +484,7 @@
484
484
  "sources": [
485
485
  {
486
486
  "fileName": "projects/forms/src/modules/selection-box/selection-box.module.ts",
487
- "line": 54,
487
+ "line": 33,
488
488
  "character": 13
489
489
  }
490
490
  ]
@@ -503,7 +503,7 @@
503
503
  "name": "NgModule"
504
504
  },
505
505
  "arguments": {
506
- "obj": "{\n declarations: [\n SkyToggleSwitchLabelComponent,\n SkyToggleSwitchComponent\n ],\n imports: [\n CommonModule,\n FormsModule\n ],\n exports: [\n SkyToggleSwitchLabelComponent,\n SkyToggleSwitchComponent\n ]\n}"
506
+ "obj": "{\n declarations: [SkyToggleSwitchLabelComponent, SkyToggleSwitchComponent],\n imports: [CommonModule, FormsModule],\n exports: [SkyToggleSwitchLabelComponent, SkyToggleSwitchComponent],\n}"
507
507
  }
508
508
  }
509
509
  ],
@@ -542,7 +542,7 @@
542
542
  "sources": [
543
543
  {
544
544
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.module.ts",
545
- "line": 35,
545
+ "line": 16,
546
546
  "character": 13
547
547
  }
548
548
  ]
@@ -561,7 +561,7 @@
561
561
  "name": "Component"
562
562
  },
563
563
  "arguments": {
564
- "obj": "{\n selector: 'sky-character-counter-indicator',\n templateUrl: './character-counter-indicator.component.html',\n styleUrls: ['./character-counter-indicator.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
564
+ "obj": "{\n selector: 'sky-character-counter-indicator',\n templateUrl: './character-counter-indicator.component.html',\n styleUrls: ['./character-counter-indicator.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
565
565
  }
566
566
  }
567
567
  ],
@@ -658,7 +658,7 @@
658
658
  "sources": [
659
659
  {
660
660
  "fileName": "projects/forms/src/modules/character-counter/character-counter-indicator.component.ts",
661
- "line": 24,
661
+ "line": 22,
662
662
  "character": 13
663
663
  }
664
664
  ],
@@ -713,7 +713,7 @@
713
713
  "sources": [
714
714
  {
715
715
  "fileName": "projects/forms/src/modules/character-counter/character-counter-indicator.component.ts",
716
- "line": 33,
716
+ "line": 31,
717
717
  "character": 13
718
718
  }
719
719
  ],
@@ -798,7 +798,7 @@
798
798
  "kindString": "Class",
799
799
  "flags": {},
800
800
  "comment": {
801
- "shortText": "Creates a wrapper for `input` and `label` elements to provide styling. To render the\ncomponent correctly, you must include the `sky-form-control` CSS class on the `input`\nelement and include the `sky-control-label` CSS class on the `label` element."
801
+ "shortText": "Creates a wrapper to provide styling for `input` and `label` elements. To render the\ncomponent correctly, include the `sky-form-control` CSS class on the `input` element\nand the `sky-control-label` CSS class on the `label` element. To display a help button\nbeside the label, include a help button element in the `sky-input-box` element and a\n`sky-control-help` CSS class on that element."
802
802
  },
803
803
  "decorators": [
804
804
  {
@@ -808,7 +808,7 @@
808
808
  "name": "Component"
809
809
  },
810
810
  "arguments": {
811
- "obj": "{\n selector: 'sky-input-box',\n templateUrl: './input-box.component.html',\n styleUrls: ['./input-box.component.scss'],\n providers: [\n SkyInputBoxAdapterService,\n SkyInputBoxHostService\n ],\n // Note that change detection is not set to OnPush; default change detection allows the\n // invalid CSS class to be added when the content control's invalid/dirty state changes.\n encapsulation: ViewEncapsulation.None\n}"
811
+ "obj": "{\n selector: 'sky-input-box',\n templateUrl: './input-box.component.html',\n styleUrls: ['./input-box.component.scss'],\n providers: [SkyInputBoxAdapterService, SkyInputBoxHostService],\n // Note that change detection is not set to OnPush; default change detection allows the\n // invalid CSS class to be added when the content control's invalid/dirty state changes.\n encapsulation: ViewEncapsulation.None,\n}"
812
812
  }
813
813
  }
814
814
  ],
@@ -822,7 +822,7 @@
822
822
  "sources": [
823
823
  {
824
824
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
825
- "line": 101,
825
+ "line": 95,
826
826
  "character": 2
827
827
  }
828
828
  ],
@@ -923,7 +923,7 @@
923
923
  "sources": [
924
924
  {
925
925
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
926
- "line": 66,
926
+ "line": 58,
927
927
  "character": 9
928
928
  }
929
929
  ],
@@ -955,7 +955,7 @@
955
955
  "sources": [
956
956
  {
957
957
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
958
- "line": 83,
958
+ "line": 75,
959
959
  "character": 9
960
960
  }
961
961
  ],
@@ -987,7 +987,7 @@
987
987
  "sources": [
988
988
  {
989
989
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
990
- "line": 86,
990
+ "line": 78,
991
991
  "character": 9
992
992
  }
993
993
  ],
@@ -1007,7 +1007,7 @@
1007
1007
  "sources": [
1008
1008
  {
1009
1009
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1010
- "line": 76,
1010
+ "line": 68,
1011
1011
  "character": 9
1012
1012
  }
1013
1013
  ],
@@ -1046,7 +1046,7 @@
1046
1046
  "sources": [
1047
1047
  {
1048
1048
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1049
- "line": 56,
1049
+ "line": 48,
1050
1050
  "character": 9
1051
1051
  }
1052
1052
  ],
@@ -1066,7 +1066,7 @@
1066
1066
  "sources": [
1067
1067
  {
1068
1068
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1069
- "line": 72,
1069
+ "line": 64,
1070
1070
  "character": 9
1071
1071
  }
1072
1072
  ],
@@ -1092,7 +1092,7 @@
1092
1092
  "sources": [
1093
1093
  {
1094
1094
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1095
- "line": 74,
1095
+ "line": 66,
1096
1096
  "character": 9
1097
1097
  }
1098
1098
  ],
@@ -1118,7 +1118,7 @@
1118
1118
  "sources": [
1119
1119
  {
1120
1120
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1121
- "line": 70,
1121
+ "line": 62,
1122
1122
  "character": 9
1123
1123
  }
1124
1124
  ],
@@ -1144,7 +1144,7 @@
1144
1144
  "sources": [
1145
1145
  {
1146
1146
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1147
- "line": 80,
1147
+ "line": 72,
1148
1148
  "character": 9
1149
1149
  }
1150
1150
  ],
@@ -1170,7 +1170,7 @@
1170
1170
  "sources": [
1171
1171
  {
1172
1172
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1173
- "line": 78,
1173
+ "line": 70,
1174
1174
  "character": 9
1175
1175
  }
1176
1176
  ],
@@ -1196,7 +1196,7 @@
1196
1196
  "sources": [
1197
1197
  {
1198
1198
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1199
- "line": 68,
1199
+ "line": 60,
1200
1200
  "character": 9
1201
1201
  }
1202
1202
  ],
@@ -1234,7 +1234,7 @@
1234
1234
  "sources": [
1235
1235
  {
1236
1236
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1237
- "line": 89,
1237
+ "line": 81,
1238
1238
  "character": 9
1239
1239
  }
1240
1240
  ],
@@ -1254,7 +1254,7 @@
1254
1254
  "sources": [
1255
1255
  {
1256
1256
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1257
- "line": 91,
1257
+ "line": 83,
1258
1258
  "character": 13
1259
1259
  }
1260
1260
  ],
@@ -1283,7 +1283,7 @@
1283
1283
  "sources": [
1284
1284
  {
1285
1285
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1286
- "line": 112,
1286
+ "line": 106,
1287
1287
  "character": 9
1288
1288
  }
1289
1289
  ],
@@ -1312,7 +1312,7 @@
1312
1312
  "sources": [
1313
1313
  {
1314
1314
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1315
- "line": 119,
1315
+ "line": 115,
1316
1316
  "character": 9
1317
1317
  }
1318
1318
  ],
@@ -1341,7 +1341,7 @@
1341
1341
  "sources": [
1342
1342
  {
1343
1343
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1344
- "line": 108,
1344
+ "line": 102,
1345
1345
  "character": 9
1346
1346
  }
1347
1347
  ],
@@ -1378,7 +1378,7 @@
1378
1378
  "sources": [
1379
1379
  {
1380
1380
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1381
- "line": 123,
1381
+ "line": 119,
1382
1382
  "character": 9
1383
1383
  }
1384
1384
  ],
@@ -1407,7 +1407,7 @@
1407
1407
  "sources": [
1408
1408
  {
1409
1409
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1410
- "line": 129,
1410
+ "line": 125,
1411
1411
  "character": 9
1412
1412
  }
1413
1413
  ],
@@ -1487,7 +1487,7 @@
1487
1487
  "sources": [
1488
1488
  {
1489
1489
  "fileName": "projects/forms/src/modules/input-box/input-box.component.ts",
1490
- "line": 48,
1490
+ "line": 41,
1491
1491
  "character": 13
1492
1492
  }
1493
1493
  ],
@@ -1515,7 +1515,7 @@
1515
1515
  "name": "Component"
1516
1516
  },
1517
1517
  "arguments": {
1518
- "obj": "{\n selector: 'sky-radio-group',\n templateUrl: './radio-group.component.html'\n}"
1518
+ "obj": "{\n selector: 'sky-radio-group',\n templateUrl: './radio-group.component.html',\n}"
1519
1519
  }
1520
1520
  }
1521
1521
  ],
@@ -1529,7 +1529,7 @@
1529
1529
  "sources": [
1530
1530
  {
1531
1531
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1532
- "line": 163,
1532
+ "line": 152,
1533
1533
  "character": 2
1534
1534
  }
1535
1535
  ],
@@ -1614,7 +1614,7 @@
1614
1614
  "sources": [
1615
1615
  {
1616
1616
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1617
- "line": 68,
1617
+ "line": 57,
1618
1618
  "character": 9
1619
1619
  }
1620
1620
  ],
@@ -1647,7 +1647,7 @@
1647
1647
  "sources": [
1648
1648
  {
1649
1649
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1650
- "line": 59,
1650
+ "line": 48,
1651
1651
  "character": 9
1652
1652
  }
1653
1653
  ],
@@ -1686,7 +1686,7 @@
1686
1686
  "sources": [
1687
1687
  {
1688
1688
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1689
- "line": 110,
1689
+ "line": 99,
1690
1690
  "character": 9
1691
1691
  }
1692
1692
  ],
@@ -1717,7 +1717,7 @@
1717
1717
  "sources": [
1718
1718
  {
1719
1719
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1720
- "line": 75,
1720
+ "line": 64,
1721
1721
  "character": 13
1722
1722
  }
1723
1723
  ],
@@ -1794,7 +1794,7 @@
1794
1794
  "sources": [
1795
1795
  {
1796
1796
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1797
- "line": 94,
1797
+ "line": 83,
1798
1798
  "character": 13
1799
1799
  }
1800
1800
  ],
@@ -1871,7 +1871,7 @@
1871
1871
  "sources": [
1872
1872
  {
1873
1873
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1874
- "line": 140,
1874
+ "line": 129,
1875
1875
  "character": 13
1876
1876
  }
1877
1877
  ],
@@ -1942,7 +1942,7 @@
1942
1942
  "sources": [
1943
1943
  {
1944
1944
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
1945
- "line": 118,
1945
+ "line": 107,
1946
1946
  "character": 13
1947
1947
  }
1948
1948
  ],
@@ -2003,7 +2003,7 @@
2003
2003
  "sources": [
2004
2004
  {
2005
2005
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2006
- "line": 172,
2006
+ "line": 161,
2007
2007
  "character": 9
2008
2008
  }
2009
2009
  ],
@@ -2040,7 +2040,7 @@
2040
2040
  "sources": [
2041
2041
  {
2042
2042
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2043
- "line": 196,
2043
+ "line": 181,
2044
2044
  "character": 9
2045
2045
  }
2046
2046
  ],
@@ -2077,7 +2077,7 @@
2077
2077
  "sources": [
2078
2078
  {
2079
2079
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2080
- "line": 227,
2080
+ "line": 207,
2081
2081
  "character": 9
2082
2082
  }
2083
2083
  ],
@@ -2114,7 +2114,7 @@
2114
2114
  "sources": [
2115
2115
  {
2116
2116
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2117
- "line": 244,
2117
+ "line": 224,
2118
2118
  "character": 9
2119
2119
  }
2120
2120
  ],
@@ -2188,7 +2188,7 @@
2188
2188
  "sources": [
2189
2189
  {
2190
2190
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2191
- "line": 248,
2191
+ "line": 228,
2192
2192
  "character": 9
2193
2193
  }
2194
2194
  ],
@@ -2230,7 +2230,7 @@
2230
2230
  "sources": [
2231
2231
  {
2232
2232
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2233
- "line": 206,
2233
+ "line": 192,
2234
2234
  "character": 9
2235
2235
  }
2236
2236
  ],
@@ -2259,7 +2259,7 @@
2259
2259
  "sources": [
2260
2260
  {
2261
2261
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2262
- "line": 232,
2262
+ "line": 212,
2263
2263
  "character": 9
2264
2264
  }
2265
2265
  ],
@@ -2335,7 +2335,7 @@
2335
2335
  "sources": [
2336
2336
  {
2337
2337
  "fileName": "projects/forms/src/modules/radio/radio-group.component.ts",
2338
- "line": 50,
2338
+ "line": 38,
2339
2339
  "character": 13
2340
2340
  }
2341
2341
  ],
@@ -2371,7 +2371,7 @@
2371
2371
  "name": "Component"
2372
2372
  },
2373
2373
  "arguments": {
2374
- "obj": "{\n selector: 'sky-radio-label',\n templateUrl: './radio-label.component.html'\n}"
2374
+ "obj": "{\n selector: 'sky-radio-label',\n templateUrl: './radio-label.component.html',\n}"
2375
2375
  }
2376
2376
  }
2377
2377
  ],
@@ -2421,7 +2421,7 @@
2421
2421
  "sources": [
2422
2422
  {
2423
2423
  "fileName": "projects/forms/src/modules/radio/radio-label.component.ts",
2424
- "line": 18,
2424
+ "line": 15,
2425
2425
  "character": 9
2426
2426
  }
2427
2427
  ],
@@ -2472,7 +2472,7 @@
2472
2472
  "sources": [
2473
2473
  {
2474
2474
  "fileName": "projects/forms/src/modules/radio/radio-label.component.ts",
2475
- "line": 13,
2475
+ "line": 10,
2476
2476
  "character": 13
2477
2477
  }
2478
2478
  ]
@@ -2494,7 +2494,7 @@
2494
2494
  "name": "Component"
2495
2495
  },
2496
2496
  "arguments": {
2497
- "obj": "{\n selector: 'sky-radio',\n templateUrl: './radio.component.html',\n styleUrls: ['./radio.component.scss'],\n providers: [\n SKY_RADIO_CONTROL_VALUE_ACCESSOR\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
2497
+ "obj": "{\n selector: 'sky-radio',\n templateUrl: './radio.component.html',\n styleUrls: ['./radio.component.scss'],\n providers: [SKY_RADIO_CONTROL_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
2498
2498
  }
2499
2499
  }
2500
2500
  ],
@@ -2508,7 +2508,7 @@
2508
2508
  "sources": [
2509
2509
  {
2510
2510
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2511
- "line": 275,
2511
+ "line": 264,
2512
2512
  "character": 2
2513
2513
  }
2514
2514
  ],
@@ -2554,7 +2554,7 @@
2554
2554
  "sources": [
2555
2555
  {
2556
2556
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2557
- "line": 68,
2557
+ "line": 54,
2558
2558
  "character": 9
2559
2559
  }
2560
2560
  ],
@@ -2594,7 +2594,7 @@
2594
2594
  "sources": [
2595
2595
  {
2596
2596
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2597
- "line": 207,
2597
+ "line": 195,
2598
2598
  "character": 9
2599
2599
  }
2600
2600
  ],
@@ -2633,7 +2633,7 @@
2633
2633
  "sources": [
2634
2634
  {
2635
2635
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2636
- "line": 117,
2636
+ "line": 103,
2637
2637
  "character": 9
2638
2638
  }
2639
2639
  ],
@@ -2667,7 +2667,7 @@
2667
2667
  "sources": [
2668
2668
  {
2669
2669
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2670
- "line": 126,
2670
+ "line": 112,
2671
2671
  "character": 9
2672
2672
  }
2673
2673
  ],
@@ -2700,7 +2700,7 @@
2700
2700
  "sources": [
2701
2701
  {
2702
2702
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2703
- "line": 135,
2703
+ "line": 121,
2704
2704
  "character": 9
2705
2705
  }
2706
2706
  ],
@@ -2717,9 +2717,6 @@
2717
2717
  "flags": {
2718
2718
  "isPublic": true
2719
2719
  },
2720
- "comment": {
2721
- "shortText": "Fires when users select a radio button."
2722
- },
2723
2720
  "decorators": [
2724
2721
  {
2725
2722
  "name": "Output",
@@ -2733,7 +2730,7 @@
2733
2730
  "sources": [
2734
2731
  {
2735
2732
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2736
- "line": 231,
2733
+ "line": 220,
2737
2734
  "character": 13
2738
2735
  }
2739
2736
  ],
@@ -2782,7 +2779,7 @@
2782
2779
  "sources": [
2783
2780
  {
2784
2781
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2785
- "line": 75,
2782
+ "line": 61,
2786
2783
  "character": 13
2787
2784
  }
2788
2785
  ],
@@ -2846,9 +2843,6 @@
2846
2843
  "flags": {
2847
2844
  "isPublic": true
2848
2845
  },
2849
- "comment": {
2850
- "shortText": "Fires when the selected value changes."
2851
- },
2852
2846
  "decorators": [
2853
2847
  {
2854
2848
  "name": "Output",
@@ -2862,7 +2856,7 @@
2862
2856
  "sources": [
2863
2857
  {
2864
2858
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2865
- "line": 239,
2859
+ "line": 228,
2866
2860
  "character": 13
2867
2861
  }
2868
2862
  ],
@@ -2910,7 +2904,7 @@
2910
2904
  "sources": [
2911
2905
  {
2912
2906
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2913
- "line": 99,
2907
+ "line": 85,
2914
2908
  "character": 13
2915
2909
  }
2916
2910
  ],
@@ -2974,9 +2968,6 @@
2974
2968
  "flags": {
2975
2969
  "isPublic": true
2976
2970
  },
2977
- "comment": {
2978
- "shortText": "Fires when the selected value changes."
2979
- },
2980
2971
  "decorators": [
2981
2972
  {
2982
2973
  "name": "Output",
@@ -2990,8 +2981,8 @@
2990
2981
  "sources": [
2991
2982
  {
2992
2983
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
2993
- "line": 247,
2994
- "character": 14
2984
+ "line": 236,
2985
+ "character": 13
2995
2986
  }
2996
2987
  ],
2997
2988
  "getSignature": [
@@ -3028,7 +3019,7 @@
3028
3019
  "sources": [
3029
3020
  {
3030
3021
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3031
- "line": 170,
3022
+ "line": 158,
3032
3023
  "character": 13
3033
3024
  }
3034
3025
  ],
@@ -3070,7 +3061,7 @@
3070
3061
  "sources": [
3071
3062
  {
3072
3063
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3073
- "line": 251,
3064
+ "line": 240,
3074
3065
  "character": 13
3075
3066
  }
3076
3067
  ],
@@ -3109,7 +3100,7 @@
3109
3100
  "sources": [
3110
3101
  {
3111
3102
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3112
- "line": 144,
3103
+ "line": 130,
3113
3104
  "character": 13
3114
3105
  }
3115
3106
  ],
@@ -3186,7 +3177,7 @@
3186
3177
  "sources": [
3187
3178
  {
3188
3179
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3189
- "line": 218,
3180
+ "line": 206,
3190
3181
  "character": 13
3191
3182
  }
3192
3183
  ],
@@ -3253,7 +3244,7 @@
3253
3244
  "sources": [
3254
3245
  {
3255
3246
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3256
- "line": 255,
3247
+ "line": 244,
3257
3248
  "character": 13
3258
3249
  }
3259
3250
  ],
@@ -3318,7 +3309,7 @@
3318
3309
  "sources": [
3319
3310
  {
3320
3311
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3321
- "line": 160,
3312
+ "line": 146,
3322
3313
  "character": 13
3323
3314
  }
3324
3315
  ],
@@ -3395,7 +3386,7 @@
3395
3386
  "sources": [
3396
3387
  {
3397
3388
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3398
- "line": 182,
3389
+ "line": 170,
3399
3390
  "character": 13
3400
3391
  }
3401
3392
  ],
@@ -3462,7 +3453,7 @@
3462
3453
  "sources": [
3463
3454
  {
3464
3455
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3465
- "line": 279,
3456
+ "line": 266,
3466
3457
  "character": 9
3467
3458
  }
3468
3459
  ],
@@ -3499,7 +3490,7 @@
3499
3490
  "sources": [
3500
3491
  {
3501
3492
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3502
- "line": 310,
3493
+ "line": 297,
3503
3494
  "character": 9
3504
3495
  }
3505
3496
  ],
@@ -3541,7 +3532,7 @@
3541
3532
  "sources": [
3542
3533
  {
3543
3534
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3544
- "line": 325,
3535
+ "line": 312,
3545
3536
  "character": 9
3546
3537
  }
3547
3538
  ],
@@ -3583,7 +3574,7 @@
3583
3574
  "sources": [
3584
3575
  {
3585
3576
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3586
- "line": 302,
3577
+ "line": 289,
3587
3578
  "character": 9
3588
3579
  }
3589
3580
  ],
@@ -3633,7 +3624,7 @@
3633
3624
  "sources": [
3634
3625
  {
3635
3626
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3636
- "line": 306,
3627
+ "line": 293,
3637
3628
  "character": 9
3638
3629
  }
3639
3630
  ],
@@ -3683,7 +3674,7 @@
3683
3674
  "sources": [
3684
3675
  {
3685
3676
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3686
- "line": 283,
3677
+ "line": 270,
3687
3678
  "character": 9
3688
3679
  }
3689
3680
  ],
@@ -3776,7 +3767,7 @@
3776
3767
  "sources": [
3777
3768
  {
3778
3769
  "fileName": "projects/forms/src/modules/radio/radio.component.ts",
3779
- "line": 63,
3770
+ "line": 50,
3780
3771
  "character": 13
3781
3772
  }
3782
3773
  ],
@@ -3808,7 +3799,7 @@
3808
3799
  "name": "Component"
3809
3800
  },
3810
3801
  "arguments": {
3811
- "obj": "{\n selector: 'sky-selection-box-description',\n templateUrl: './selection-box-description.component.html'\n}"
3802
+ "obj": "{\n selector: 'sky-selection-box-description',\n templateUrl: './selection-box-description.component.html',\n}"
3812
3803
  }
3813
3804
  }
3814
3805
  ],
@@ -3847,7 +3838,7 @@
3847
3838
  "sources": [
3848
3839
  {
3849
3840
  "fileName": "projects/forms/src/modules/selection-box/selection-box-description.component.ts",
3850
- "line": 12,
3841
+ "line": 10,
3851
3842
  "character": 13
3852
3843
  }
3853
3844
  ]
@@ -3869,7 +3860,7 @@
3869
3860
  "name": "Component"
3870
3861
  },
3871
3862
  "arguments": {
3872
- "obj": "{\n selector: 'sky-selection-box-grid',\n templateUrl: './selection-box-grid.component.html',\n styleUrls: [\n './selection-box-grid.component.scss'\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n}"
3863
+ "obj": "{\n selector: 'sky-selection-box-grid',\n templateUrl: './selection-box-grid.component.html',\n styleUrls: ['./selection-box-grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n}"
3873
3864
  }
3874
3865
  }
3875
3866
  ],
@@ -3883,7 +3874,7 @@
3883
3874
  "sources": [
3884
3875
  {
3885
3876
  "fileName": "projects/forms/src/modules/selection-box/selection-box-grid.component.ts",
3886
- "line": 104,
3877
+ "line": 91,
3887
3878
  "character": 2
3888
3879
  }
3889
3880
  ],
@@ -3993,14 +3984,14 @@
3993
3984
  },
3994
3985
  "arguments": {
3995
3986
  "selector": "SkySelectionBoxComponent",
3996
- "opts": "{\n read: SkySelectionBoxComponent\n }"
3987
+ "opts": "{\n read: SkySelectionBoxComponent,\n }"
3997
3988
  }
3998
3989
  }
3999
3990
  ],
4000
3991
  "sources": [
4001
3992
  {
4002
3993
  "fileName": "projects/forms/src/modules/selection-box/selection-box-grid.component.ts",
4003
- "line": 80,
3994
+ "line": 67,
4004
3995
  "character": 9
4005
3996
  }
4006
3997
  ],
@@ -4027,7 +4018,7 @@
4027
4018
  "sources": [
4028
4019
  {
4029
4020
  "fileName": "projects/forms/src/modules/selection-box/selection-box-grid.component.ts",
4030
- "line": 127,
4021
+ "line": 112,
4031
4022
  "character": 9
4032
4023
  }
4033
4024
  ],
@@ -4064,7 +4055,7 @@
4064
4055
  "sources": [
4065
4056
  {
4066
4057
  "fileName": "projects/forms/src/modules/selection-box/selection-box-grid.component.ts",
4067
- "line": 133,
4058
+ "line": 118,
4068
4059
  "character": 9
4069
4060
  }
4070
4061
  ],
@@ -4101,7 +4092,7 @@
4101
4092
  "sources": [
4102
4093
  {
4103
4094
  "fileName": "projects/forms/src/modules/selection-box/selection-box-grid.component.ts",
4104
- "line": 113,
4095
+ "line": 100,
4105
4096
  "character": 9
4106
4097
  }
4107
4098
  ],
@@ -4150,7 +4141,7 @@
4150
4141
  "sources": [
4151
4142
  {
4152
4143
  "fileName": "projects/forms/src/modules/selection-box/selection-box-grid.component.ts",
4153
- "line": 141,
4144
+ "line": 126,
4154
4145
  "character": 9
4155
4146
  }
4156
4147
  ],
@@ -4198,7 +4189,7 @@
4198
4189
  "sources": [
4199
4190
  {
4200
4191
  "fileName": "projects/forms/src/modules/selection-box/selection-box-grid.component.ts",
4201
- "line": 61,
4192
+ "line": 47,
4202
4193
  "character": 13
4203
4194
  }
4204
4195
  ],
@@ -4234,7 +4225,7 @@
4234
4225
  "name": "Component"
4235
4226
  },
4236
4227
  "arguments": {
4237
- "obj": "{\n selector: 'sky-selection-box-header',\n templateUrl: './selection-box-header.component.html'\n}"
4228
+ "obj": "{\n selector: 'sky-selection-box-header',\n templateUrl: './selection-box-header.component.html',\n}"
4238
4229
  }
4239
4230
  }
4240
4231
  ],
@@ -4273,7 +4264,7 @@
4273
4264
  "sources": [
4274
4265
  {
4275
4266
  "fileName": "projects/forms/src/modules/selection-box/selection-box-header.component.ts",
4276
- "line": 12,
4267
+ "line": 10,
4277
4268
  "character": 13
4278
4269
  }
4279
4270
  ]
@@ -4295,7 +4286,7 @@
4295
4286
  "name": "Component"
4296
4287
  },
4297
4288
  "arguments": {
4298
- "obj": "{\n selector: 'sky-selection-box',\n styleUrls: ['./selection-box.component.scss'],\n templateUrl: './selection-box.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n}"
4289
+ "obj": "{\n selector: 'sky-selection-box',\n styleUrls: ['./selection-box.component.scss'],\n templateUrl: './selection-box.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n}"
4299
4290
  }
4300
4291
  }
4301
4292
  ],
@@ -4309,7 +4300,7 @@
4309
4300
  "sources": [
4310
4301
  {
4311
4302
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4312
- "line": 89,
4303
+ "line": 81,
4313
4304
  "character": 2
4314
4305
  }
4315
4306
  ],
@@ -4382,7 +4373,7 @@
4382
4373
  "sources": [
4383
4374
  {
4384
4375
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4385
- "line": 50,
4376
+ "line": 39,
4386
4377
  "character": 9
4387
4378
  }
4388
4379
  ],
@@ -4413,7 +4404,7 @@
4413
4404
  "sources": [
4414
4405
  {
4415
4406
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4416
- "line": 52,
4407
+ "line": 41,
4417
4408
  "character": 13
4418
4409
  }
4419
4410
  ],
@@ -4468,7 +4459,7 @@
4468
4459
  "sources": [
4469
4460
  {
4470
4461
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4471
- "line": 61,
4462
+ "line": 50,
4472
4463
  "character": 13
4473
4464
  }
4474
4465
  ],
@@ -4523,7 +4514,7 @@
4523
4514
  "sources": [
4524
4515
  {
4525
4516
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4526
- "line": 94,
4517
+ "line": 86,
4527
4518
  "character": 9
4528
4519
  }
4529
4520
  ],
@@ -4560,7 +4551,7 @@
4560
4551
  "sources": [
4561
4552
  {
4562
4553
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4563
- "line": 103,
4554
+ "line": 98,
4564
4555
  "character": 9
4565
4556
  }
4566
4557
  ],
@@ -4597,7 +4588,7 @@
4597
4588
  "sources": [
4598
4589
  {
4599
4590
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4600
- "line": 112,
4591
+ "line": 107,
4601
4592
  "character": 9
4602
4593
  }
4603
4594
  ],
@@ -4642,7 +4633,7 @@
4642
4633
  "sources": [
4643
4634
  {
4644
4635
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4645
- "line": 120,
4636
+ "line": 117,
4646
4637
  "character": 9
4647
4638
  }
4648
4639
  ],
@@ -4711,7 +4702,7 @@
4711
4702
  "sources": [
4712
4703
  {
4713
4704
  "fileName": "projects/forms/src/modules/selection-box/selection-box.component.ts",
4714
- "line": 43,
4705
+ "line": 33,
4715
4706
  "character": 13
4716
4707
  }
4717
4708
  ],
@@ -4743,7 +4734,7 @@
4743
4734
  "name": "Component"
4744
4735
  },
4745
4736
  "arguments": {
4746
- "obj": "{\n selector: 'sky-toggle-switch-label',\n templateUrl: './toggle-switch-label.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
4737
+ "obj": "{\n selector: 'sky-toggle-switch-label',\n templateUrl: './toggle-switch-label.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
4747
4738
  }
4748
4739
  }
4749
4740
  ],
@@ -4782,7 +4773,7 @@
4782
4773
  "sources": [
4783
4774
  {
4784
4775
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch-label.component.ts",
4785
- "line": 14,
4776
+ "line": 11,
4786
4777
  "character": 13
4787
4778
  }
4788
4779
  ]
@@ -4801,7 +4792,7 @@
4801
4792
  "name": "Component"
4802
4793
  },
4803
4794
  "arguments": {
4804
- "obj": "{\n selector: 'sky-toggle-switch',\n templateUrl: './toggle-switch.component.html',\n styleUrls: ['./toggle-switch.component.scss'],\n providers: [\n SKY_TOGGLE_SWITCH_CONTROL_VALUE_ACCESSOR,\n SKY_TOGGLE_SWITCH_VALIDATOR\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
4795
+ "obj": "{\n selector: 'sky-toggle-switch',\n templateUrl: './toggle-switch.component.html',\n styleUrls: ['./toggle-switch.component.scss'],\n providers: [\n SKY_TOGGLE_SWITCH_CONTROL_VALUE_ACCESSOR,\n SKY_TOGGLE_SWITCH_VALIDATOR,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
4805
4796
  }
4806
4797
  }
4807
4798
  ],
@@ -4815,7 +4806,7 @@
4815
4806
  "sources": [
4816
4807
  {
4817
4808
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
4818
- "line": 137,
4809
+ "line": 130,
4819
4810
  "character": 2
4820
4811
  }
4821
4812
  ],
@@ -4871,7 +4862,7 @@
4871
4862
  "sources": [
4872
4863
  {
4873
4864
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
4874
- "line": 73,
4865
+ "line": 66,
4875
4866
  "character": 9
4876
4867
  }
4877
4868
  ],
@@ -4904,7 +4895,7 @@
4904
4895
  "sources": [
4905
4896
  {
4906
4897
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
4907
- "line": 102,
4898
+ "line": 95,
4908
4899
  "character": 9
4909
4900
  }
4910
4901
  ],
@@ -4925,7 +4916,7 @@
4925
4916
  "sources": [
4926
4917
  {
4927
4918
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
4928
- "line": 121,
4919
+ "line": 114,
4929
4920
  "character": 9
4930
4921
  }
4931
4922
  ],
@@ -4959,7 +4950,7 @@
4959
4950
  "sources": [
4960
4951
  {
4961
4952
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
4962
- "line": 109,
4953
+ "line": 102,
4963
4954
  "character": 9
4964
4955
  }
4965
4956
  ],
@@ -4993,7 +4984,7 @@
4993
4984
  "sources": [
4994
4985
  {
4995
4986
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
4996
- "line": 115,
4987
+ "line": 108,
4997
4988
  "character": 9
4998
4989
  }
4999
4990
  ],
@@ -5031,7 +5022,7 @@
5031
5022
  "sources": [
5032
5023
  {
5033
5024
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5034
- "line": 80,
5025
+ "line": 73,
5035
5026
  "character": 13
5036
5027
  }
5037
5028
  ],
@@ -5098,7 +5089,7 @@
5098
5089
  "sources": [
5099
5090
  {
5100
5091
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5101
- "line": 117,
5092
+ "line": 110,
5102
5093
  "character": 13
5103
5094
  }
5104
5095
  ],
@@ -5127,7 +5118,7 @@
5127
5118
  "sources": [
5128
5119
  {
5129
5120
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5130
- "line": 123,
5121
+ "line": 116,
5131
5122
  "character": 13
5132
5123
  }
5133
5124
  ],
@@ -5156,7 +5147,7 @@
5156
5147
  "sources": [
5157
5148
  {
5158
5149
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5159
- "line": 141,
5150
+ "line": 132,
5160
5151
  "character": 9
5161
5152
  }
5162
5153
  ],
@@ -5193,7 +5184,7 @@
5193
5184
  "sources": [
5194
5185
  {
5195
5186
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5196
- "line": 159,
5187
+ "line": 148,
5197
5188
  "character": 9
5198
5189
  }
5199
5190
  ],
@@ -5230,7 +5221,7 @@
5230
5221
  "sources": [
5231
5222
  {
5232
5223
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5233
- "line": 196,
5224
+ "line": 185,
5234
5225
  "character": 9
5235
5226
  }
5236
5227
  ],
@@ -5259,7 +5250,7 @@
5259
5250
  "sources": [
5260
5251
  {
5261
5252
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5262
- "line": 190,
5253
+ "line": 179,
5263
5254
  "character": 9
5264
5255
  }
5265
5256
  ],
@@ -5301,7 +5292,7 @@
5301
5292
  "sources": [
5302
5293
  {
5303
5294
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5304
- "line": 177,
5295
+ "line": 166,
5305
5296
  "character": 9
5306
5297
  }
5307
5298
  ],
@@ -5383,7 +5374,7 @@
5383
5374
  "sources": [
5384
5375
  {
5385
5376
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5386
- "line": 181,
5377
+ "line": 170,
5387
5378
  "character": 9
5388
5379
  }
5389
5380
  ],
@@ -5433,7 +5424,7 @@
5433
5424
  "sources": [
5434
5425
  {
5435
5426
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5436
- "line": 185,
5427
+ "line": 174,
5437
5428
  "character": 9
5438
5429
  }
5439
5430
  ],
@@ -5483,7 +5474,7 @@
5483
5474
  "sources": [
5484
5475
  {
5485
5476
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5486
- "line": 169,
5477
+ "line": 158,
5487
5478
  "character": 9
5488
5479
  }
5489
5480
  ],
@@ -5533,7 +5524,7 @@
5533
5524
  "sources": [
5534
5525
  {
5535
5526
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5536
- "line": 164,
5527
+ "line": 153,
5537
5528
  "character": 9
5538
5529
  }
5539
5530
  ],
@@ -5620,7 +5611,7 @@
5620
5611
  "sources": [
5621
5612
  {
5622
5613
  "fileName": "projects/forms/src/modules/toggle-switch/toggle-switch.component.ts",
5623
- "line": 65,
5614
+ "line": 57,
5624
5615
  "character": 13
5625
5616
  }
5626
5617
  ],
@@ -5666,7 +5657,7 @@
5666
5657
  "name": "Directive"
5667
5658
  },
5668
5659
  "arguments": {
5669
- "obj": "{\n selector: '[skyCharacterCounter]',\n providers: [\n {\n provide: NG_VALIDATORS,\n useExisting: SkyCharacterCounterInputDirective,\n multi: true\n }\n ]\n}"
5660
+ "obj": "{\n selector: '[skyCharacterCounter]',\n providers: [\n {\n provide: NG_VALIDATORS,\n useExisting: SkyCharacterCounterInputDirective,\n multi: true,\n },\n ],\n}"
5670
5661
  }
5671
5662
  }
5672
5663
  ],
@@ -5716,7 +5707,7 @@
5716
5707
  "sources": [
5717
5708
  {
5718
5709
  "fileName": "projects/forms/src/modules/character-counter/character-counter.directive.ts",
5719
- "line": 40,
5710
+ "line": 35,
5720
5711
  "character": 9
5721
5712
  }
5722
5713
  ],
@@ -5747,7 +5738,7 @@
5747
5738
  "sources": [
5748
5739
  {
5749
5740
  "fileName": "projects/forms/src/modules/character-counter/character-counter.directive.ts",
5750
- "line": 48,
5741
+ "line": 43,
5751
5742
  "character": 13
5752
5743
  }
5753
5744
  ],
@@ -5814,7 +5805,7 @@
5814
5805
  "sources": [
5815
5806
  {
5816
5807
  "fileName": "projects/forms/src/modules/character-counter/character-counter.directive.ts",
5817
- "line": 81,
5808
+ "line": 76,
5818
5809
  "character": 9
5819
5810
  }
5820
5811
  ],
@@ -5883,7 +5874,7 @@
5883
5874
  "sources": [
5884
5875
  {
5885
5876
  "fileName": "projects/forms/src/modules/character-counter/character-counter.directive.ts",
5886
- "line": 60,
5877
+ "line": 55,
5887
5878
  "character": 9
5888
5879
  }
5889
5880
  ],
@@ -5957,7 +5948,7 @@
5957
5948
  "sources": [
5958
5949
  {
5959
5950
  "fileName": "projects/forms/src/modules/character-counter/character-counter.directive.ts",
5960
- "line": 33,
5951
+ "line": 28,
5961
5952
  "character": 13
5962
5953
  }
5963
5954
  ],
@@ -5985,7 +5976,7 @@
5985
5976
  "name": "Component"
5986
5977
  },
5987
5978
  "arguments": {
5988
- "obj": "{\n selector: 'sky-checkbox',\n templateUrl: './checkbox.component.html',\n styleUrls: ['./checkbox.component.scss']\n}"
5979
+ "obj": "{\n selector: 'sky-checkbox',\n templateUrl: './checkbox.component.html',\n styleUrls: ['./checkbox.component.scss'],\n}"
5989
5980
  }
5990
5981
  }
5991
5982
  ],
@@ -5999,7 +5990,7 @@
5999
5990
  "sources": [
6000
5991
  {
6001
5992
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6002
- "line": 215,
5993
+ "line": 204,
6003
5994
  "character": 2
6004
5995
  }
6005
5996
  ],
@@ -6073,7 +6064,7 @@
6073
6064
  "sources": [
6074
6065
  {
6075
6066
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6076
- "line": 109,
6067
+ "line": 98,
6077
6068
  "character": 9
6078
6069
  }
6079
6070
  ],
@@ -6114,7 +6105,7 @@
6114
6105
  "sources": [
6115
6106
  {
6116
6107
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6117
- "line": 117,
6108
+ "line": 106,
6118
6109
  "character": 9
6119
6110
  }
6120
6111
  ],
@@ -6153,7 +6144,7 @@
6153
6144
  "sources": [
6154
6145
  {
6155
6146
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6156
- "line": 69,
6147
+ "line": 57,
6157
6148
  "character": 9
6158
6149
  }
6159
6150
  ],
@@ -6187,7 +6178,7 @@
6187
6178
  "sources": [
6188
6179
  {
6189
6180
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6190
- "line": 53,
6181
+ "line": 41,
6191
6182
  "character": 9
6192
6183
  }
6193
6184
  ],
@@ -6220,7 +6211,7 @@
6220
6211
  "sources": [
6221
6212
  {
6222
6213
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6223
- "line": 62,
6214
+ "line": 50,
6224
6215
  "character": 9
6225
6216
  }
6226
6217
  ],
@@ -6259,7 +6250,7 @@
6259
6250
  "sources": [
6260
6251
  {
6261
6252
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6262
- "line": 103,
6253
+ "line": 91,
6263
6254
  "character": 9
6264
6255
  }
6265
6256
  ],
@@ -6277,13 +6268,10 @@
6277
6268
  "flags": {
6278
6269
  "isPublic": true
6279
6270
  },
6280
- "comment": {
6281
- "shortText": "Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor."
6282
- },
6283
6271
  "sources": [
6284
6272
  {
6285
6273
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6286
- "line": 280,
6274
+ "line": 268,
6287
6275
  "character": 9
6288
6276
  }
6289
6277
  ],
@@ -6339,7 +6327,7 @@
6339
6327
  "sources": [
6340
6328
  {
6341
6329
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6342
- "line": 96,
6330
+ "line": 84,
6343
6331
  "character": 9
6344
6332
  }
6345
6333
  ],
@@ -6370,7 +6358,7 @@
6370
6358
  "sources": [
6371
6359
  {
6372
6360
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6373
- "line": 128,
6361
+ "line": 117,
6374
6362
  "character": 13
6375
6363
  }
6376
6364
  ],
@@ -6434,15 +6422,6 @@
6434
6422
  "flags": {
6435
6423
  "isPublic": true
6436
6424
  },
6437
- "comment": {
6438
- "shortText": "Indicates whether the checkbox is selected.",
6439
- "tags": [
6440
- {
6441
- "tag": "default",
6442
- "text": "false\n"
6443
- }
6444
- ]
6445
- },
6446
6425
  "decorators": [
6447
6426
  {
6448
6427
  "name": "Input",
@@ -6456,7 +6435,7 @@
6456
6435
  "sources": [
6457
6436
  {
6458
6437
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6459
- "line": 147,
6438
+ "line": 136,
6460
6439
  "character": 13
6461
6440
  }
6462
6441
  ],
@@ -6520,9 +6499,6 @@
6520
6499
  "flags": {
6521
6500
  "isPublic": true
6522
6501
  },
6523
- "comment": {
6524
- "shortText": "Fires when users select or deselect the checkbox."
6525
- },
6526
6502
  "decorators": [
6527
6503
  {
6528
6504
  "name": "Output",
@@ -6536,7 +6512,7 @@
6536
6512
  "sources": [
6537
6513
  {
6538
6514
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6539
- "line": 189,
6515
+ "line": 178,
6540
6516
  "character": 13
6541
6517
  }
6542
6518
  ],
@@ -6571,15 +6547,6 @@
6571
6547
  "flags": {
6572
6548
  "isPublic": true
6573
6549
  },
6574
- "comment": {
6575
- "shortText": "Indicates whether to disable the checkbox.",
6576
- "tags": [
6577
- {
6578
- "tag": "default",
6579
- "text": "false\n"
6580
- }
6581
- ]
6582
- },
6583
6550
  "decorators": [
6584
6551
  {
6585
6552
  "name": "Input",
@@ -6593,8 +6560,8 @@
6593
6560
  "sources": [
6594
6561
  {
6595
6562
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6596
- "line": 76,
6597
- "character": 14
6563
+ "line": 64,
6564
+ "character": 13
6598
6565
  }
6599
6566
  ],
6600
6567
  "getSignature": [
@@ -6657,9 +6624,6 @@
6657
6624
  "flags": {
6658
6625
  "isPublic": true
6659
6626
  },
6660
- "comment": {
6661
- "shortText": "Fires when the selected value changes."
6662
- },
6663
6627
  "decorators": [
6664
6628
  {
6665
6629
  "name": "Output",
@@ -6673,8 +6637,8 @@
6673
6637
  "sources": [
6674
6638
  {
6675
6639
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6676
- "line": 197,
6677
- "character": 14
6640
+ "line": 186,
6641
+ "character": 13
6678
6642
  }
6679
6643
  ],
6680
6644
  "getSignature": [
@@ -6711,7 +6675,7 @@
6711
6675
  "sources": [
6712
6676
  {
6713
6677
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6714
- "line": 138,
6678
+ "line": 127,
6715
6679
  "character": 13
6716
6680
  }
6717
6681
  ],
@@ -6748,7 +6712,7 @@
6748
6712
  "sources": [
6749
6713
  {
6750
6714
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6751
- "line": 177,
6715
+ "line": 166,
6752
6716
  "character": 6
6753
6717
  }
6754
6718
  ],
@@ -6815,7 +6779,7 @@
6815
6779
  "sources": [
6816
6780
  {
6817
6781
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6818
- "line": 223,
6782
+ "line": 210,
6819
6783
  "character": 9
6820
6784
  }
6821
6785
  ],
@@ -6852,7 +6816,7 @@
6852
6816
  "sources": [
6853
6817
  {
6854
6818
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6855
- "line": 274,
6819
+ "line": 262,
6856
6820
  "character": 9
6857
6821
  }
6858
6822
  ],
@@ -6881,7 +6845,7 @@
6881
6845
  "sources": [
6882
6846
  {
6883
6847
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6884
- "line": 262,
6848
+ "line": 250,
6885
6849
  "character": 9
6886
6850
  }
6887
6851
  ],
@@ -6926,7 +6890,7 @@
6926
6890
  "sources": [
6927
6891
  {
6928
6892
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
6929
- "line": 240,
6893
+ "line": 228,
6930
6894
  "character": 9
6931
6895
  }
6932
6896
  ],
@@ -7011,7 +6975,7 @@
7011
6975
  "sources": [
7012
6976
  {
7013
6977
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
7014
- "line": 247,
6978
+ "line": 235,
7015
6979
  "character": 9
7016
6980
  }
7017
6981
  ],
@@ -7064,7 +7028,7 @@
7064
7028
  "sources": [
7065
7029
  {
7066
7030
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
7067
- "line": 254,
7031
+ "line": 242,
7068
7032
  "character": 9
7069
7033
  }
7070
7034
  ],
@@ -7117,7 +7081,7 @@
7117
7081
  "sources": [
7118
7082
  {
7119
7083
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
7120
- "line": 233,
7084
+ "line": 221,
7121
7085
  "character": 9
7122
7086
  }
7123
7087
  ],
@@ -7212,7 +7176,7 @@
7212
7176
  "sources": [
7213
7177
  {
7214
7178
  "fileName": "projects/forms/src/modules/checkbox/checkbox.component.ts",
7215
- "line": 44,
7179
+ "line": 33,
7216
7180
  "character": 13
7217
7181
  }
7218
7182
  ],
@@ -7244,7 +7208,7 @@
7244
7208
  "name": "Component"
7245
7209
  },
7246
7210
  "arguments": {
7247
- "obj": "{\n selector: 'sky-checkbox-label',\n templateUrl: './checkbox-label.component.html'\n}"
7211
+ "obj": "{\n selector: 'sky-checkbox-label',\n templateUrl: './checkbox-label.component.html',\n}"
7248
7212
  }
7249
7213
  }
7250
7214
  ],
@@ -7305,7 +7269,7 @@
7305
7269
  "name": "Component"
7306
7270
  },
7307
7271
  "arguments": {
7308
- "obj": "{\n selector: 'sky-file-attachment-label',\n templateUrl: './file-attachment-label.component.html',\n styleUrls: [\n 'file-attachment-label.component.scss'\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
7272
+ "obj": "{\n selector: 'sky-file-attachment-label',\n templateUrl: './file-attachment-label.component.html',\n styleUrls: ['file-attachment-label.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
7309
7273
  }
7310
7274
  }
7311
7275
  ],
@@ -7344,7 +7308,7 @@
7344
7308
  "sources": [
7345
7309
  {
7346
7310
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment-label.component.ts",
7347
- "line": 17,
7311
+ "line": 12,
7348
7312
  "character": 13
7349
7313
  }
7350
7314
  ]
@@ -7366,7 +7330,7 @@
7366
7330
  "name": "Component"
7367
7331
  },
7368
7332
  "arguments": {
7369
- "obj": "{\n selector: 'sky-file-attachment',\n templateUrl: './file-attachment.component.html',\n styleUrls: ['./file-attachment.component.scss'],\n providers: [\n SkyFileAttachmentService\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
7333
+ "obj": "{\n selector: 'sky-file-attachment',\n templateUrl: './file-attachment.component.html',\n styleUrls: ['./file-attachment.component.scss'],\n providers: [SkyFileAttachmentService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
7370
7334
  }
7371
7335
  }
7372
7336
  ],
@@ -7380,7 +7344,7 @@
7380
7344
  "sources": [
7381
7345
  {
7382
7346
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7383
- "line": 195,
7347
+ "line": 172,
7384
7348
  "character": 2
7385
7349
  }
7386
7350
  ],
@@ -7485,7 +7449,7 @@
7485
7449
  "sources": [
7486
7450
  {
7487
7451
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7488
- "line": 136,
7452
+ "line": 113,
7489
7453
  "character": 9
7490
7454
  }
7491
7455
  ],
@@ -7525,7 +7489,7 @@
7525
7489
  "sources": [
7526
7490
  {
7527
7491
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7528
- "line": 86,
7492
+ "line": 63,
7529
7493
  "character": 9
7530
7494
  }
7531
7495
  ],
@@ -7545,7 +7509,7 @@
7545
7509
  "sources": [
7546
7510
  {
7547
7511
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7548
- "line": 175,
7512
+ "line": 152,
7549
7513
  "character": 9
7550
7514
  }
7551
7515
  ],
@@ -7578,7 +7542,7 @@
7578
7542
  "sources": [
7579
7543
  {
7580
7544
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7581
- "line": 127,
7545
+ "line": 104,
7582
7546
  "character": 9
7583
7547
  }
7584
7548
  ],
@@ -7619,7 +7583,7 @@
7619
7583
  "sources": [
7620
7584
  {
7621
7585
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7622
- "line": 134,
7586
+ "line": 111,
7623
7587
  "character": 9
7624
7588
  }
7625
7589
  ],
@@ -7647,7 +7611,7 @@
7647
7611
  "sources": [
7648
7612
  {
7649
7613
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7650
- "line": 142,
7614
+ "line": 119,
7651
7615
  "character": 9
7652
7616
  }
7653
7617
  ],
@@ -7667,7 +7631,7 @@
7667
7631
  "sources": [
7668
7632
  {
7669
7633
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7670
- "line": 144,
7634
+ "line": 121,
7671
7635
  "character": 9
7672
7636
  }
7673
7637
  ],
@@ -7700,7 +7664,7 @@
7700
7664
  "sources": [
7701
7665
  {
7702
7666
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7703
- "line": 108,
7667
+ "line": 85,
7704
7668
  "character": 9
7705
7669
  }
7706
7670
  ],
@@ -7734,7 +7698,7 @@
7734
7698
  "sources": [
7735
7699
  {
7736
7700
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7737
- "line": 114,
7701
+ "line": 91,
7738
7702
  "character": 9
7739
7703
  }
7740
7704
  ],
@@ -7755,7 +7719,7 @@
7755
7719
  "sources": [
7756
7720
  {
7757
7721
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7758
- "line": 146,
7722
+ "line": 123,
7759
7723
  "character": 9
7760
7724
  }
7761
7725
  ],
@@ -7789,7 +7753,7 @@
7789
7753
  "sources": [
7790
7754
  {
7791
7755
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7792
- "line": 155,
7756
+ "line": 132,
7793
7757
  "character": 9
7794
7758
  }
7795
7759
  ],
@@ -7810,7 +7774,7 @@
7810
7774
  "sources": [
7811
7775
  {
7812
7776
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7813
- "line": 177,
7777
+ "line": 154,
7814
7778
  "character": 9
7815
7779
  }
7816
7780
  ],
@@ -7856,7 +7820,7 @@
7856
7820
  "sources": [
7857
7821
  {
7858
7822
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7859
- "line": 121,
7823
+ "line": 98,
7860
7824
  "character": 9
7861
7825
  }
7862
7826
  ],
@@ -7886,7 +7850,7 @@
7886
7850
  "sources": [
7887
7851
  {
7888
7852
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7889
- "line": 93,
7853
+ "line": 70,
7890
7854
  "character": 13
7891
7855
  }
7892
7856
  ],
@@ -7953,7 +7917,7 @@
7953
7917
  "sources": [
7954
7918
  {
7955
7919
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7956
- "line": 138,
7920
+ "line": 115,
7957
7921
  "character": 13
7958
7922
  }
7959
7923
  ],
@@ -7982,7 +7946,7 @@
7982
7946
  "sources": [
7983
7947
  {
7984
7948
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
7985
- "line": 157,
7949
+ "line": 134,
7986
7950
  "character": 13
7987
7951
  }
7988
7952
  ],
@@ -8039,7 +8003,7 @@
8039
8003
  "sources": [
8040
8004
  {
8041
8005
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8042
- "line": 334,
8006
+ "line": 315,
8043
8007
  "character": 9
8044
8008
  }
8045
8009
  ],
@@ -8068,7 +8032,7 @@
8068
8032
  "sources": [
8069
8033
  {
8070
8034
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8071
- "line": 379,
8035
+ "line": 367,
8072
8036
  "character": 9
8073
8037
  }
8074
8038
  ],
@@ -8097,7 +8061,7 @@
8097
8061
  "sources": [
8098
8062
  {
8099
8063
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8100
- "line": 260,
8064
+ "line": 234,
8101
8065
  "character": 9
8102
8066
  }
8103
8067
  ],
@@ -8139,7 +8103,7 @@
8139
8103
  "sources": [
8140
8104
  {
8141
8105
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8142
- "line": 264,
8106
+ "line": 238,
8143
8107
  "character": 9
8144
8108
  }
8145
8109
  ],
@@ -8181,7 +8145,7 @@
8181
8145
  "sources": [
8182
8146
  {
8183
8147
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8184
- "line": 327,
8148
+ "line": 308,
8185
8149
  "character": 9
8186
8150
  }
8187
8151
  ],
@@ -8223,7 +8187,7 @@
8223
8187
  "sources": [
8224
8188
  {
8225
8189
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8226
- "line": 271,
8190
+ "line": 245,
8227
8191
  "character": 9
8228
8192
  }
8229
8193
  ],
@@ -8265,7 +8229,7 @@
8265
8229
  "sources": [
8266
8230
  {
8267
8231
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8268
- "line": 306,
8232
+ "line": 285,
8269
8233
  "character": 9
8270
8234
  }
8271
8235
  ],
@@ -8307,7 +8271,7 @@
8307
8271
  "sources": [
8308
8272
  {
8309
8273
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8310
- "line": 340,
8274
+ "line": 321,
8311
8275
  "character": 9
8312
8276
  }
8313
8277
  ],
@@ -8350,7 +8314,7 @@
8350
8314
  "sources": [
8351
8315
  {
8352
8316
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8353
- "line": 251,
8317
+ "line": 225,
8354
8318
  "character": 9
8355
8319
  }
8356
8320
  ],
@@ -8379,7 +8343,7 @@
8379
8343
  "sources": [
8380
8344
  {
8381
8345
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8382
- "line": 240,
8346
+ "line": 216,
8383
8347
  "character": 9
8384
8348
  }
8385
8349
  ],
@@ -8416,7 +8380,7 @@
8416
8380
  "sources": [
8417
8381
  {
8418
8382
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8419
- "line": 220,
8383
+ "line": 195,
8420
8384
  "character": 9
8421
8385
  }
8422
8386
  ],
@@ -8453,7 +8417,7 @@
8453
8417
  "sources": [
8454
8418
  {
8455
8419
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8456
- "line": 355,
8420
+ "line": 339,
8457
8421
  "character": 9
8458
8422
  }
8459
8423
  ],
@@ -8490,7 +8454,7 @@
8490
8454
  "sources": [
8491
8455
  {
8492
8456
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8493
- "line": 209,
8457
+ "line": 186,
8494
8458
  "character": 9
8495
8459
  }
8496
8460
  ],
@@ -8527,7 +8491,7 @@
8527
8491
  "sources": [
8528
8492
  {
8529
8493
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8530
- "line": 255,
8494
+ "line": 229,
8531
8495
  "character": 9
8532
8496
  }
8533
8497
  ],
@@ -8556,7 +8520,7 @@
8556
8520
  "sources": [
8557
8521
  {
8558
8522
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8559
- "line": 361,
8523
+ "line": 345,
8560
8524
  "character": 9
8561
8525
  }
8562
8526
  ],
@@ -8630,7 +8594,7 @@
8630
8594
  "sources": [
8631
8595
  {
8632
8596
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8633
- "line": 362,
8597
+ "line": 348,
8634
8598
  "character": 9
8635
8599
  }
8636
8600
  ],
@@ -8691,7 +8655,7 @@
8691
8655
  "sources": [
8692
8656
  {
8693
8657
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8694
- "line": 364,
8658
+ "line": 352,
8695
8659
  "character": 9
8696
8660
  }
8697
8661
  ],
@@ -8787,7 +8751,7 @@
8787
8751
  "sources": [
8788
8752
  {
8789
8753
  "fileName": "projects/forms/src/modules/file-attachment/file-attachment.component.ts",
8790
- "line": 78,
8754
+ "line": 54,
8791
8755
  "character": 13
8792
8756
  }
8793
8757
  ],
@@ -8827,7 +8791,7 @@
8827
8791
  "name": "Component"
8828
8792
  },
8829
8793
  "arguments": {
8830
- "obj": "{\n selector: 'sky-file-drop',\n templateUrl: './file-drop.component.html',\n styleUrls: ['./file-drop.component.scss'],\n providers: [\n SkyFileAttachmentService\n ]\n}"
8794
+ "obj": "{\n selector: 'sky-file-drop',\n templateUrl: './file-drop.component.html',\n styleUrls: ['./file-drop.component.scss'],\n providers: [SkyFileAttachmentService],\n}"
8831
8795
  }
8832
8796
  }
8833
8797
  ],
@@ -8841,7 +8805,7 @@
8841
8805
  "sources": [
8842
8806
  {
8843
8807
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
8844
- "line": 132,
8808
+ "line": 122,
8845
8809
  "character": 2
8846
8810
  }
8847
8811
  ],
@@ -8884,7 +8848,7 @@
8884
8848
  "sources": [
8885
8849
  {
8886
8850
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
8887
- "line": 127,
8851
+ "line": 117,
8888
8852
  "character": 9
8889
8853
  }
8890
8854
  ],
@@ -8924,7 +8888,7 @@
8924
8888
  "sources": [
8925
8889
  {
8926
8890
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
8927
- "line": 109,
8891
+ "line": 99,
8928
8892
  "character": 9
8929
8893
  }
8930
8894
  ],
@@ -8957,7 +8921,7 @@
8957
8921
  "sources": [
8958
8922
  {
8959
8923
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
8960
- "line": 121,
8924
+ "line": 111,
8961
8925
  "character": 9
8962
8926
  }
8963
8927
  ],
@@ -8991,7 +8955,7 @@
8991
8955
  "sources": [
8992
8956
  {
8993
8957
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
8994
- "line": 69,
8958
+ "line": 59,
8995
8959
  "character": 9
8996
8960
  }
8997
8961
  ],
@@ -9024,7 +8988,7 @@
9024
8988
  "sources": [
9025
8989
  {
9026
8990
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9027
- "line": 50,
8991
+ "line": 40,
9028
8992
  "character": 9
9029
8993
  }
9030
8994
  ],
@@ -9064,7 +9028,7 @@
9064
9028
  "sources": [
9065
9029
  {
9066
9030
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9067
- "line": 124,
9031
+ "line": 114,
9068
9032
  "character": 9
9069
9033
  }
9070
9034
  ],
@@ -9103,7 +9067,7 @@
9103
9067
  "sources": [
9104
9068
  {
9105
9069
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9106
- "line": 62,
9070
+ "line": 52,
9107
9071
  "character": 9
9108
9072
  }
9109
9073
  ],
@@ -9144,7 +9108,7 @@
9144
9108
  "sources": [
9145
9109
  {
9146
9110
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9147
- "line": 56,
9111
+ "line": 46,
9148
9112
  "character": 9
9149
9113
  }
9150
9114
  ],
@@ -9184,7 +9148,7 @@
9184
9148
  "sources": [
9185
9149
  {
9186
9150
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9187
- "line": 76,
9151
+ "line": 66,
9188
9152
  "character": 9
9189
9153
  }
9190
9154
  ],
@@ -9204,7 +9168,7 @@
9204
9168
  "sources": [
9205
9169
  {
9206
9170
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9207
- "line": 128,
9171
+ "line": 118,
9208
9172
  "character": 9
9209
9173
  }
9210
9174
  ],
@@ -9237,7 +9201,7 @@
9237
9201
  "sources": [
9238
9202
  {
9239
9203
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9240
- "line": 88,
9204
+ "line": 78,
9241
9205
  "character": 9
9242
9206
  }
9243
9207
  ],
@@ -9271,7 +9235,7 @@
9271
9235
  "sources": [
9272
9236
  {
9273
9237
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9274
- "line": 82,
9238
+ "line": 72,
9275
9239
  "character": 9
9276
9240
  }
9277
9241
  ],
@@ -9305,7 +9269,7 @@
9305
9269
  "sources": [
9306
9270
  {
9307
9271
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9308
- "line": 94,
9272
+ "line": 84,
9309
9273
  "character": 9
9310
9274
  }
9311
9275
  ],
@@ -9339,7 +9303,7 @@
9339
9303
  "sources": [
9340
9304
  {
9341
9305
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9342
- "line": 115,
9306
+ "line": 105,
9343
9307
  "character": 9
9344
9308
  }
9345
9309
  ],
@@ -9360,7 +9324,7 @@
9360
9324
  "sources": [
9361
9325
  {
9362
9326
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9363
- "line": 126,
9327
+ "line": 116,
9364
9328
  "character": 9
9365
9329
  }
9366
9330
  ],
@@ -9394,7 +9358,7 @@
9394
9358
  "sources": [
9395
9359
  {
9396
9360
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9397
- "line": 101,
9361
+ "line": 91,
9398
9362
  "character": 9
9399
9363
  }
9400
9364
  ],
@@ -9414,7 +9378,7 @@
9414
9378
  "sources": [
9415
9379
  {
9416
9380
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9417
- "line": 227,
9381
+ "line": 223,
9418
9382
  "character": 9
9419
9383
  }
9420
9384
  ],
@@ -9456,7 +9420,7 @@
9456
9420
  "sources": [
9457
9421
  {
9458
9422
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9459
- "line": 221,
9423
+ "line": 217,
9460
9424
  "character": 9
9461
9425
  }
9462
9426
  ],
@@ -9498,7 +9462,7 @@
9498
9462
  "sources": [
9499
9463
  {
9500
9464
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9501
- "line": 142,
9465
+ "line": 130,
9502
9466
  "character": 9
9503
9467
  }
9504
9468
  ],
@@ -9527,7 +9491,7 @@
9527
9491
  "sources": [
9528
9492
  {
9529
9493
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9530
- "line": 148,
9494
+ "line": 136,
9531
9495
  "character": 9
9532
9496
  }
9533
9497
  ],
@@ -9569,7 +9533,7 @@
9569
9533
  "sources": [
9570
9534
  {
9571
9535
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9572
- "line": 152,
9536
+ "line": 140,
9573
9537
  "character": 9
9574
9538
  }
9575
9539
  ],
@@ -9611,7 +9575,7 @@
9611
9575
  "sources": [
9612
9576
  {
9613
9577
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9614
- "line": 214,
9578
+ "line": 210,
9615
9579
  "character": 9
9616
9580
  }
9617
9581
  ],
@@ -9653,7 +9617,7 @@
9653
9617
  "sources": [
9654
9618
  {
9655
9619
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9656
- "line": 159,
9620
+ "line": 147,
9657
9621
  "character": 9
9658
9622
  }
9659
9623
  ],
@@ -9695,7 +9659,7 @@
9695
9659
  "sources": [
9696
9660
  {
9697
9661
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9698
- "line": 194,
9662
+ "line": 187,
9699
9663
  "character": 9
9700
9664
  }
9701
9665
  ],
@@ -9737,7 +9701,7 @@
9737
9701
  "sources": [
9738
9702
  {
9739
9703
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9740
- "line": 136,
9704
+ "line": 124,
9741
9705
  "character": 9
9742
9706
  }
9743
9707
  ],
@@ -9774,7 +9738,7 @@
9774
9738
  "sources": [
9775
9739
  {
9776
9740
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9777
- "line": 233,
9741
+ "line": 229,
9778
9742
  "character": 9
9779
9743
  }
9780
9744
  ],
@@ -9843,7 +9807,7 @@
9843
9807
  "sources": [
9844
9808
  {
9845
9809
  "fileName": "projects/forms/src/modules/file-attachment/file-drop.component.ts",
9846
- "line": 45,
9810
+ "line": 35,
9847
9811
  "character": 13
9848
9812
  }
9849
9813
  ],
@@ -9868,7 +9832,7 @@
9868
9832
  "name": "Component"
9869
9833
  },
9870
9834
  "arguments": {
9871
- "obj": "{\n selector: 'sky-file-item',\n templateUrl: './file-item.component.html',\n styleUrls: ['./file-item.component.scss']\n}"
9835
+ "obj": "{\n selector: 'sky-file-item',\n templateUrl: './file-item.component.html',\n styleUrls: ['./file-item.component.scss'],\n}"
9872
9836
  }
9873
9837
  }
9874
9838
  ],
@@ -9884,7 +9848,7 @@
9884
9848
  "sources": [
9885
9849
  {
9886
9850
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
9887
- "line": 63,
9851
+ "line": 56,
9888
9852
  "character": 2
9889
9853
  }
9890
9854
  ],
@@ -9951,7 +9915,7 @@
9951
9915
  "sources": [
9952
9916
  {
9953
9917
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
9954
- "line": 45,
9918
+ "line": 38,
9955
9919
  "character": 9
9956
9920
  }
9957
9921
  ],
@@ -10008,7 +9972,7 @@
10008
9972
  "sources": [
10009
9973
  {
10010
9974
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10011
- "line": 38,
9975
+ "line": 31,
10012
9976
  "character": 9
10013
9977
  }
10014
9978
  ],
@@ -10039,7 +10003,7 @@
10039
10003
  "sources": [
10040
10004
  {
10041
10005
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10042
- "line": 59,
10006
+ "line": 52,
10043
10007
  "character": 9
10044
10008
  }
10045
10009
  ],
@@ -10059,7 +10023,7 @@
10059
10023
  "sources": [
10060
10024
  {
10061
10025
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10062
- "line": 47,
10026
+ "line": 40,
10063
10027
  "character": 13
10064
10028
  }
10065
10029
  ],
@@ -10088,7 +10052,7 @@
10088
10052
  "sources": [
10089
10053
  {
10090
10054
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10091
- "line": 51,
10055
+ "line": 44,
10092
10056
  "character": 13
10093
10057
  }
10094
10058
  ],
@@ -10117,7 +10081,7 @@
10117
10081
  "sources": [
10118
10082
  {
10119
10083
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10120
- "line": 55,
10084
+ "line": 48,
10121
10085
  "character": 13
10122
10086
  }
10123
10087
  ],
@@ -10146,7 +10110,7 @@
10146
10110
  "sources": [
10147
10111
  {
10148
10112
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10149
- "line": 142,
10113
+ "line": 139,
10150
10114
  "character": 9
10151
10115
  }
10152
10116
  ],
@@ -10175,7 +10139,7 @@
10175
10139
  "sources": [
10176
10140
  {
10177
10141
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10178
- "line": 146,
10142
+ "line": 143,
10179
10143
  "character": 9
10180
10144
  }
10181
10145
  ],
@@ -10204,7 +10168,7 @@
10204
10168
  "sources": [
10205
10169
  {
10206
10170
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10207
- "line": 138,
10171
+ "line": 135,
10208
10172
  "character": 9
10209
10173
  }
10210
10174
  ],
@@ -10233,7 +10197,7 @@
10233
10197
  "sources": [
10234
10198
  {
10235
10199
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10236
- "line": 70,
10200
+ "line": 63,
10237
10201
  "character": 9
10238
10202
  }
10239
10203
  ],
@@ -10300,7 +10264,7 @@
10300
10264
  "sources": [
10301
10265
  {
10302
10266
  "fileName": "projects/forms/src/modules/file-attachment/file-item.component.ts",
10303
- "line": 28,
10267
+ "line": 22,
10304
10268
  "character": 13
10305
10269
  }
10306
10270
  ],
@@ -10330,7 +10294,7 @@
10330
10294
  "sources": [
10331
10295
  {
10332
10296
  "fileName": "projects/forms/src/modules/file-attachment/types/file-attachment-change.ts",
10333
- "line": 9,
10297
+ "line": 7,
10334
10298
  "character": 2
10335
10299
  }
10336
10300
  ],
@@ -10353,7 +10317,7 @@
10353
10317
  "sources": [
10354
10318
  {
10355
10319
  "fileName": "projects/forms/src/modules/file-attachment/types/file-attachment-change.ts",
10356
- "line": 5,
10320
+ "line": 3,
10357
10321
  "character": 17
10358
10322
  }
10359
10323
  ]
@@ -10377,7 +10341,7 @@
10377
10341
  "sources": [
10378
10342
  {
10379
10343
  "fileName": "projects/forms/src/modules/file-attachment/types/file-attachment-click.ts",
10380
- "line": 9,
10344
+ "line": 7,
10381
10345
  "character": 2
10382
10346
  }
10383
10347
  ],
@@ -10400,7 +10364,7 @@
10400
10364
  "sources": [
10401
10365
  {
10402
10366
  "fileName": "projects/forms/src/modules/file-attachment/types/file-attachment-click.ts",
10403
- "line": 5,
10367
+ "line": 3,
10404
10368
  "character": 17
10405
10369
  }
10406
10370
  ]
@@ -10424,7 +10388,7 @@
10424
10388
  "sources": [
10425
10389
  {
10426
10390
  "fileName": "projects/forms/src/modules/file-attachment/types/file-drop-change.ts",
10427
- "line": 9,
10391
+ "line": 7,
10428
10392
  "character": 2
10429
10393
  }
10430
10394
  ],
@@ -10449,7 +10413,7 @@
10449
10413
  "sources": [
10450
10414
  {
10451
10415
  "fileName": "projects/forms/src/modules/file-attachment/types/file-drop-change.ts",
10452
- "line": 13,
10416
+ "line": 11,
10453
10417
  "character": 2
10454
10418
  }
10455
10419
  ],
@@ -10476,7 +10440,7 @@
10476
10440
  "sources": [
10477
10441
  {
10478
10442
  "fileName": "projects/forms/src/modules/file-attachment/types/file-drop-change.ts",
10479
- "line": 5,
10443
+ "line": 3,
10480
10444
  "character": 17
10481
10445
  }
10482
10446
  ]
@@ -10500,7 +10464,7 @@
10500
10464
  "sources": [
10501
10465
  {
10502
10466
  "fileName": "projects/forms/src/modules/file-attachment/file-item.ts",
10503
- "line": 22,
10467
+ "line": 20,
10504
10468
  "character": 2
10505
10469
  }
10506
10470
  ],
@@ -10521,7 +10485,7 @@
10521
10485
  "sources": [
10522
10486
  {
10523
10487
  "fileName": "projects/forms/src/modules/file-attachment/file-item.ts",
10524
- "line": 18,
10488
+ "line": 16,
10525
10489
  "character": 2
10526
10490
  }
10527
10491
  ],
@@ -10543,7 +10507,7 @@
10543
10507
  "sources": [
10544
10508
  {
10545
10509
  "fileName": "projects/forms/src/modules/file-attachment/file-item.ts",
10546
- "line": 9,
10510
+ "line": 7,
10547
10511
  "character": 2
10548
10512
  }
10549
10513
  ],
@@ -10564,7 +10528,7 @@
10564
10528
  "sources": [
10565
10529
  {
10566
10530
  "fileName": "projects/forms/src/modules/file-attachment/file-item.ts",
10567
- "line": 14,
10531
+ "line": 12,
10568
10532
  "character": 2
10569
10533
  }
10570
10534
  ],
@@ -10589,7 +10553,7 @@
10589
10553
  "sources": [
10590
10554
  {
10591
10555
  "fileName": "projects/forms/src/modules/file-attachment/file-item.ts",
10592
- "line": 5,
10556
+ "line": 3,
10593
10557
  "character": 17
10594
10558
  }
10595
10559
  ]
@@ -10659,7 +10623,7 @@
10659
10623
  "sources": [
10660
10624
  {
10661
10625
  "fileName": "projects/forms/src/modules/radio/types/radio-change.ts",
10662
- "line": 14,
10626
+ "line": 12,
10663
10627
  "character": 2
10664
10628
  }
10665
10629
  ],
@@ -10681,7 +10645,7 @@
10681
10645
  "sources": [
10682
10646
  {
10683
10647
  "fileName": "projects/forms/src/modules/radio/types/radio-change.ts",
10684
- "line": 5,
10648
+ "line": 3,
10685
10649
  "character": 17
10686
10650
  }
10687
10651
  ]
@@ -10834,170 +10798,175 @@
10834
10798
  ]
10835
10799
  },
10836
10800
  "codeExamples": [
10801
+ {
10802
+ "fileName": ".eslintrc.json",
10803
+ "filePath": "/projects/forms/documentation/code-examples/.eslintrc.json",
10804
+ "rawContents": "{\n \"extends\": [\"../../.eslintrc.json\"],\n \"overrides\": [\n {\n \"files\": [\"*.ts\"],\n \"rules\": {\n \"@angular-eslint/directive-selector\": [\n \"error\",\n {\n \"type\": \"attribute\",\n \"prefix\": \"app\",\n \"style\": \"camelCase\"\n }\n ],\n \"@angular-eslint/component-selector\": [\n \"error\",\n {\n \"type\": \"element\",\n \"prefix\": \"app\",\n \"style\": \"kebab-case\"\n }\n ]\n }\n }\n ]\n}\n"
10805
+ },
10837
10806
  {
10838
10807
  "fileName": "character-count-demo.component.html",
10839
10808
  "filePath": "/projects/forms/documentation/code-examples/character-count/character-count-demo.component.html",
10840
- "rawContents": "<div\n style=\"width: 50%;\"\n>\n <form\n novalidate\n [formGroup]=\"characterCountForm\"\n >\n <div\n class=\"sky-form-group\"\n >\n <sky-input-box>\n <label\n class=\"sky-control-label\"\n [for]=\"descriptionInput.id\"\n >\n Transaction description\n </label>\n\n <sky-character-counter-indicator\n #descriptionIndicator\n ></sky-character-counter-indicator>\n\n <input\n class=\"sky-form-control\"\n formControlName=\"description\"\n type=\"text\"\n skyCharacterCounter\n skyId\n [skyCharacterCounterIndicator]=\"descriptionIndicator\"\n [skyCharacterCounterLimit]=\"maxDescriptionCharacterCount\"\n #descriptionInput=\"skyId\"\n >\n\n <div *ngIf=\"description.errors?.skyCharacterCounter\"\n class=\"sky-error-label\"\n >\n Limit Transaction description to {{ maxDescriptionCharacterCount }} characters.\n </div>\n </sky-input-box>\n </div>\n </form>\n</div>\n"
10809
+ "rawContents": "<div style=\"width: 50%\">\n <form novalidate [formGroup]=\"characterCountForm\">\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" [for]=\"descriptionInput.id\">\n Transaction description\n </label>\n\n <sky-character-counter-indicator\n #descriptionIndicator\n ></sky-character-counter-indicator>\n\n <input\n class=\"sky-form-control\"\n formControlName=\"description\"\n type=\"text\"\n skyCharacterCounter\n skyId\n [skyCharacterCounterIndicator]=\"descriptionIndicator\"\n [skyCharacterCounterLimit]=\"maxDescriptionCharacterCount\"\n #descriptionInput=\"skyId\"\n />\n\n <div\n *ngIf=\"description.errors?.skyCharacterCounter\"\n class=\"sky-error-label\"\n >\n Limit Transaction description to\n {{ maxDescriptionCharacterCount }} characters.\n </div>\n </sky-input-box>\n </div>\n </form>\n</div>\n"
10841
10810
  },
10842
10811
  {
10843
10812
  "fileName": "character-count-demo.component.ts",
10844
10813
  "filePath": "/projects/forms/documentation/code-examples/character-count/character-count-demo.component.ts",
10845
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormControl,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-character-count-demo',\n templateUrl: './character-count-demo.component.html'\n})\nexport class CharacterCountDemoComponent implements OnInit {\n\n public characterCountForm: FormGroup;\n\n public description: FormControl;\n\n public maxDescriptionCharacterCount = 50;\n\n constructor(\n private formBuilder: FormBuilder\n ) { }\n\n public ngOnInit(): void {\n this.description = this.formBuilder.control('Boys and Girls Club of South Carolina donation');\n\n this.characterCountForm = this.formBuilder.group({\n description: this.description\n });\n }\n\n}\n"
10814
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-character-count-demo',\n templateUrl: './character-count-demo.component.html',\n})\nexport class CharacterCountDemoComponent implements OnInit {\n public characterCountForm: FormGroup;\n\n public description: FormControl;\n\n public maxDescriptionCharacterCount = 50;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.description = this.formBuilder.control(\n 'Boys and Girls Club of South Carolina donation'\n );\n\n this.characterCountForm = this.formBuilder.group({\n description: this.description,\n });\n }\n}\n"
10846
10815
  },
10847
10816
  {
10848
10817
  "fileName": "character-count-demo.module.ts",
10849
10818
  "filePath": "/projects/forms/documentation/code-examples/character-count/character-count-demo.module.ts",
10850
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyIdModule\n} from '@skyux/core';\n\nimport {\n SkyCharacterCounterModule,\n SkyInputBoxModule\n} from '@skyux/forms';\n\nimport {\n CharacterCountDemoComponent\n} from './character-count-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyCharacterCounterModule,\n SkyIdModule,\n SkyInputBoxModule\n ],\n declarations: [\n CharacterCountDemoComponent\n ],\n exports: [\n CharacterCountDemoComponent\n ]\n})\n\nexport class SkyCharacterCountDemoModule { }\n"
10819
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport {\n SkyCharacterCounterModule,\n SkyInputBoxModule,\n} from '@skyux/forms';\n\nimport { CharacterCountDemoComponent } from './character-count-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyCharacterCounterModule,\n SkyIdModule,\n SkyInputBoxModule,\n ],\n declarations: [CharacterCountDemoComponent],\n exports: [CharacterCountDemoComponent],\n})\nexport class SkyCharacterCountDemoModule {}\n"
10851
10820
  },
10852
10821
  {
10853
10822
  "fileName": "checkbox-demo.component.html",
10854
10823
  "filePath": "/projects/forms/documentation/code-examples/checkbox/basic/checkbox-demo.component.html",
10855
- "rawContents": "<form\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <ul\n class=\"sky-list-unstyled\"\n >\n <li>\n <sky-checkbox\n formControlName=\"email\"\n >\n <sky-checkbox-label>\n Email\n </sky-checkbox-label>\n </sky-checkbox>\n </li>\n <li>\n <sky-checkbox\n formControlName=\"phone\"\n >\n <sky-checkbox-label>\n Phone\n </sky-checkbox-label>\n </sky-checkbox>\n </li>\n <li>\n <sky-checkbox\n formControlName=\"text\"\n >\n <sky-checkbox-label>\n Text\n </sky-checkbox-label>\n </sky-checkbox>\n </li>\n </ul>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"submit\"\n >\n Submit\n </button>\n</form>\n"
10824
+ "rawContents": "<form [formGroup]=\"myForm\" (ngSubmit)=\"onSubmit()\">\n <ul class=\"sky-list-unstyled\">\n <li>\n <sky-checkbox formControlName=\"email\">\n <sky-checkbox-label> Email </sky-checkbox-label>\n </sky-checkbox>\n </li>\n <li>\n <sky-checkbox formControlName=\"phone\">\n <sky-checkbox-label> Phone </sky-checkbox-label>\n </sky-checkbox>\n </li>\n <li>\n <sky-checkbox formControlName=\"text\">\n <sky-checkbox-label> Text </sky-checkbox-label>\n </sky-checkbox>\n </li>\n </ul>\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n"
10856
10825
  },
10857
10826
  {
10858
10827
  "fileName": "checkbox-demo.component.ts",
10859
10828
  "filePath": "/projects/forms/documentation/code-examples/checkbox/basic/checkbox-demo.component.ts",
10860
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormControl,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-checkbox-demo',\n templateUrl: './checkbox-demo.component.html'\n})\nexport class CheckboxDemoComponent implements OnInit {\n\n public myForm: FormGroup;\n\n constructor(\n private formBuilder: FormBuilder\n ) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n email: new FormControl(false),\n phone: new FormControl(false),\n text: new FormControl(false)\n });\n }\n\n public onSubmit(): void {\n console.log(this.myForm.value);\n }\n}\n"
10829
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-checkbox-demo',\n templateUrl: './checkbox-demo.component.html',\n})\nexport class CheckboxDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n email: new FormControl(false),\n phone: new FormControl(false),\n text: new FormControl(false),\n });\n }\n\n public onSubmit(): void {\n console.log(this.myForm.value);\n }\n}\n"
10861
10830
  },
10862
10831
  {
10863
10832
  "fileName": "checkbox-demo.module.ts",
10864
10833
  "filePath": "/projects/forms/documentation/code-examples/checkbox/basic/checkbox-demo.module.ts",
10865
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyCheckboxModule\n} from '@skyux/forms';\n\nimport {\n CheckboxDemoComponent\n} from './checkbox-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyCheckboxModule\n ],\n declarations: [\n CheckboxDemoComponent\n ],\n exports: [\n CheckboxDemoComponent\n ]\n})\n\nexport class SkyCheckboxDemoModule {\n}\n"
10834
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyCheckboxModule } from '@skyux/forms';\n\nimport { CheckboxDemoComponent } from './checkbox-demo.component';\n\n@NgModule({\n imports: [CommonModule, FormsModule, ReactiveFormsModule, SkyCheckboxModule],\n declarations: [CheckboxDemoComponent],\n exports: [CheckboxDemoComponent],\n})\nexport class SkyCheckboxDemoModule {}\n"
10866
10835
  },
10867
10836
  {
10868
10837
  "fileName": "checkbox-demo.component.html",
10869
10838
  "filePath": "/projects/forms/documentation/code-examples/checkbox/icon-group/checkbox-demo.component.html",
10870
- "rawContents": "<form\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div\n class=\"sky-switch-icon-group sky-margin-stacked-default\"\n >\n <sky-checkbox\n formControlName=\"bold\"\n icon=\"bold\"\n label=\"Bold\"\n >\n </sky-checkbox>\n <sky-checkbox\n formControlName=\"italic\"\n icon=\"italic\"\n label=\"Italic\"\n >\n </sky-checkbox>\n <sky-checkbox\n formControlName=\"underline\"\n icon=\"underline\"\n label=\"Underline\"\n >\n </sky-checkbox>\n </div>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"submit\"\n >\n Submit\n </button>\n</form>\n"
10839
+ "rawContents": "<form [formGroup]=\"myForm\" (ngSubmit)=\"onSubmit()\">\n <div class=\"sky-switch-icon-group sky-margin-stacked-default\">\n <sky-checkbox formControlName=\"bold\" icon=\"bold\" label=\"Bold\">\n </sky-checkbox>\n <sky-checkbox formControlName=\"italic\" icon=\"italic\" label=\"Italic\">\n </sky-checkbox>\n <sky-checkbox\n formControlName=\"underline\"\n icon=\"underline\"\n label=\"Underline\"\n >\n </sky-checkbox>\n </div>\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n"
10871
10840
  },
10872
10841
  {
10873
10842
  "fileName": "checkbox-demo.component.ts",
10874
10843
  "filePath": "/projects/forms/documentation/code-examples/checkbox/icon-group/checkbox-demo.component.ts",
10875
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormControl,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-checkbox-demo',\n templateUrl: './checkbox-demo.component.html'\n})\nexport class CheckboxDemoComponent implements OnInit {\n\n public myForm: FormGroup;\n\n constructor(\n private formBuilder: FormBuilder\n ) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n bold: new FormControl(false),\n italic: new FormControl(false),\n underline: new FormControl(false)\n });\n }\n\n public onSubmit(): void {\n console.log(this.myForm.value);\n }\n}\n"
10844
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-checkbox-demo',\n templateUrl: './checkbox-demo.component.html',\n})\nexport class CheckboxDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n bold: new FormControl(false),\n italic: new FormControl(false),\n underline: new FormControl(false),\n });\n }\n\n public onSubmit(): void {\n console.log(this.myForm.value);\n }\n}\n"
10876
10845
  },
10877
10846
  {
10878
10847
  "fileName": "checkbox-demo.module.ts",
10879
10848
  "filePath": "/projects/forms/documentation/code-examples/checkbox/icon-group/checkbox-demo.module.ts",
10880
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyCheckboxModule\n} from '@skyux/forms';\n\nimport {\n CheckboxDemoComponent\n} from './checkbox-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyCheckboxModule\n ],\n declarations: [\n CheckboxDemoComponent\n ],\n exports: [\n CheckboxDemoComponent\n ]\n})\n\nexport class SkyCheckboxDemoModule {\n}\n"
10849
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyCheckboxModule } from '@skyux/forms';\n\nimport { CheckboxDemoComponent } from './checkbox-demo.component';\n\n@NgModule({\n imports: [CommonModule, FormsModule, ReactiveFormsModule, SkyCheckboxModule],\n declarations: [CheckboxDemoComponent],\n exports: [CheckboxDemoComponent],\n})\nexport class SkyCheckboxDemoModule {}\n"
10881
10850
  },
10882
10851
  {
10883
10852
  "fileName": "file-attachment-demo.component.html",
10884
10853
  "filePath": "/projects/forms/documentation/code-examples/file-attachment/basic/file-attachment-demo.component.html",
10885
- "rawContents": "<div\n style=\"width: 60%;\"\n>\n <sky-file-drop\n [acceptedTypes]=\"acceptedTypes\"\n [allowLinks]=\"true\"\n [maxFileSize]=\"maxFileSize\"\n [validateFn]=\"validateFile\"\n (filesChanged)=\"filesUpdated($event)\"\n (linkChanged)=\"linkAdded($event)\"\n >\n </sky-file-drop>\n\n <sky-status-indicator *ngIf=\"rejectedFiles.length > 0\"\n descriptionType=\"error\"\n indicatorType=\"danger\"\n >\n The file <strong>{{rejectedFiles[rejectedFiles.length - 1].file.name}}</strong> is invalid.\n Reason: {{rejectedFiles[rejectedFiles.length - 1].errorType}} violation.\n Error param: {{rejectedFiles[rejectedFiles.length - 1].errorParam}}\n </sky-status-indicator>\n\n <div *ngFor=\"let file of allItems\">\n <sky-file-item\n [fileItem]=\"file\"\n (deleteFile)=\"deleteFile($event)\"\n >\n </sky-file-item>\n </div>\n</div>\n"
10854
+ "rawContents": "<div style=\"width: 60%\">\n <sky-file-drop\n [acceptedTypes]=\"acceptedTypes\"\n [allowLinks]=\"true\"\n [maxFileSize]=\"maxFileSize\"\n [validateFn]=\"validateFile\"\n (filesChanged)=\"filesUpdated($event)\"\n (linkChanged)=\"linkAdded($event)\"\n >\n </sky-file-drop>\n\n <sky-status-indicator\n *ngIf=\"rejectedFiles.length > 0\"\n descriptionType=\"error\"\n indicatorType=\"danger\"\n >\n The file\n <strong>{{ rejectedFiles[rejectedFiles.length - 1].file.name }}</strong> is\n invalid. Reason:\n {{ rejectedFiles[rejectedFiles.length - 1].errorType }} violation. Error\n param: {{ rejectedFiles[rejectedFiles.length - 1].errorParam }}\n </sky-status-indicator>\n\n <div *ngFor=\"let file of allItems\">\n <sky-file-item [fileItem]=\"file\" (deleteFile)=\"deleteFile($event)\">\n </sky-file-item>\n </div>\n</div>\n"
10886
10855
  },
10887
10856
  {
10888
10857
  "fileName": "file-attachment-demo.component.ts",
10889
10858
  "filePath": "/projects/forms/documentation/code-examples/file-attachment/basic/file-attachment-demo.component.ts",
10890
- "rawContents": "import {\n Component\n} from '@angular/core';\n\nimport {\n SkyFileDropChange,\n SkyFileItem,\n SkyFileLink\n} from '@skyux/forms';\n\n@Component({\n selector: 'app-file-attachment-demo',\n templateUrl: './file-attachment-demo.component.html'\n})\nexport class FileAttachmentDemoComponent {\n\n public acceptedTypes: string = 'image/png,image/jpeg';\n\n public allItems: (SkyFileItem | SkyFileLink)[];\n\n public filesToUpload: SkyFileItem[];\n\n public linksToUpload: SkyFileLink[];\n\n public maxFileSize: number = 4000000;\n\n public rejectedFiles: SkyFileItem[];\n\n constructor() {\n this.filesToUpload = [];\n this.rejectedFiles = [];\n this.allItems = [];\n this.linksToUpload = [];\n }\n\n public deleteFile(file: SkyFileItem | SkyFileLink): void {\n this.removeFromArray(this.allItems, file);\n this.removeFromArray(this.filesToUpload, file);\n this.removeFromArray(this.linksToUpload, file);\n }\n\n public filesUpdated(result: SkyFileDropChange): void {\n this.filesToUpload = this.filesToUpload.concat(result.files);\n this.rejectedFiles = result.rejectedFiles;\n this.allItems = this.allItems.concat(result.files);\n }\n\n public linkAdded(result: SkyFileLink): void {\n this.linksToUpload = this.linksToUpload.concat(result);\n this.allItems = this.allItems.concat(result);\n }\n\n public validateFile(file: SkyFileItem): string {\n if (file.file.name.indexOf('a') === 0) {\n return 'You may not upload a file that begins with the letter \"a.\"';\n }\n }\n\n private removeFromArray(items: any[], obj: SkyFileItem | SkyFileLink): void {\n if (items) {\n const index = items.indexOf(obj);\n\n if (index !== -1) {\n items.splice(index, 1);\n }\n }\n }\n\n}\n"
10859
+ "rawContents": "import { Component } from '@angular/core';\n\nimport {\n SkyFileDropChange,\n SkyFileItem,\n SkyFileLink,\n} from '@skyux/forms';\n\n@Component({\n selector: 'app-file-attachment-demo',\n templateUrl: './file-attachment-demo.component.html',\n})\nexport class FileAttachmentDemoComponent {\n public acceptedTypes: string = 'image/png,image/jpeg';\n\n public allItems: (SkyFileItem | SkyFileLink)[];\n\n public filesToUpload: SkyFileItem[];\n\n public linksToUpload: SkyFileLink[];\n\n public maxFileSize: number = 4000000;\n\n public rejectedFiles: SkyFileItem[];\n\n constructor() {\n this.filesToUpload = [];\n this.rejectedFiles = [];\n this.allItems = [];\n this.linksToUpload = [];\n }\n\n public deleteFile(file: SkyFileItem | SkyFileLink): void {\n this.removeFromArray(this.allItems, file);\n this.removeFromArray(this.filesToUpload, file);\n this.removeFromArray(this.linksToUpload, file);\n }\n\n public filesUpdated(result: SkyFileDropChange): void {\n this.filesToUpload = this.filesToUpload.concat(result.files);\n this.rejectedFiles = result.rejectedFiles;\n this.allItems = this.allItems.concat(result.files);\n }\n\n public linkAdded(result: SkyFileLink): void {\n this.linksToUpload = this.linksToUpload.concat(result);\n this.allItems = this.allItems.concat(result);\n }\n\n public validateFile(file: SkyFileItem): string {\n if (file.file.name.indexOf('a') === 0) {\n return 'You may not upload a file that begins with the letter \"a.\"';\n }\n }\n\n private removeFromArray(items: any[], obj: SkyFileItem | SkyFileLink): void {\n if (items) {\n const index = items.indexOf(obj);\n\n if (index !== -1) {\n items.splice(index, 1);\n }\n }\n }\n}\n"
10891
10860
  },
10892
10861
  {
10893
10862
  "fileName": "file-attachment-demo.module.ts",
10894
10863
  "filePath": "/projects/forms/documentation/code-examples/file-attachment/basic/file-attachment-demo.module.ts",
10895
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule\n} from '@angular/forms';\n\nimport {\n SkyFileAttachmentsModule\n} from '@skyux/forms';\n\nimport {\n SkyStatusIndicatorModule\n} from '@skyux/indicators';\n\nimport {\n FileAttachmentDemoComponent\n} from './file-attachment-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyFileAttachmentsModule,\n SkyStatusIndicatorModule\n ],\n declarations: [\n FileAttachmentDemoComponent\n ],\n exports: [\n FileAttachmentDemoComponent\n ]\n})\n\nexport class SkyFileAttachmentDemoModule {\n}\n"
10864
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule } from '@angular/forms';\n\nimport { SkyFileAttachmentsModule } from '@skyux/forms';\n\nimport { SkyStatusIndicatorModule } from '@skyux/indicators';\n\nimport { FileAttachmentDemoComponent } from './file-attachment-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyFileAttachmentsModule,\n SkyStatusIndicatorModule,\n ],\n declarations: [FileAttachmentDemoComponent],\n exports: [FileAttachmentDemoComponent],\n})\nexport class SkyFileAttachmentDemoModule {}\n"
10896
10865
  },
10897
10866
  {
10898
10867
  "fileName": "input-box-demo.component.html",
10899
10868
  "filePath": "/projects/forms/documentation/code-examples/input-box/basic/input-box-demo.component.html",
10900
- "rawContents": "<div\n [skyTheme]=\"modernLightTheme\"\n>\n\n <h3>With basic HTML elements</h3>\n <sky-input-box>\n <label\n class=\"sky-control-label\"\n for=\"myInput\"\n >\n HTML &lt;input&gt;\n </label>\n <input\n class=\"sky-form-control\"\n id=\"myInput\"\n type=\"text\"\n >\n </sky-input-box>\n <sky-input-box>\n <label\n class=\"sky-control-label\"\n for=\"myTextarea\"\n >\n HTML &lt;textarea&gt;\n </label>\n <textarea\n class=\"sky-form-control\"\n id=\"myTextarea\"\n ></textarea>\n </sky-input-box>\n\n <h3>With SKY UX components</h3>\n <sky-input-box>\n <label\n class=\"sky-control-label\"\n for=\"myDatepicker\"\n >\n Datepicker\n </label>\n <sky-datepicker>\n <input\n id=\"myDatepicker\"\n skyDatepickerInput\n >\n </sky-datepicker>\n </sky-input-box>\n\n</div>\n"
10869
+ "rawContents": "<div [skyTheme]=\"modernLightTheme\">\n <h3>With basic HTML elements</h3>\n <sky-input-box>\n <label class=\"sky-control-label\" for=\"myInput\"> HTML &lt;input&gt; </label>\n <input class=\"sky-form-control\" id=\"myInput\" type=\"text\" />\n </sky-input-box>\n <sky-input-box>\n <label class=\"sky-control-label\" for=\"myTextarea\">\n HTML &lt;textarea&gt;\n </label>\n <textarea class=\"sky-form-control\" id=\"myTextarea\"></textarea>\n </sky-input-box>\n\n <h3>With SKY UX components</h3>\n <sky-input-box>\n <label class=\"sky-control-label\" for=\"myDatepicker\"> Datepicker </label>\n <sky-datepicker>\n <input id=\"myDatepicker\" skyDatepickerInput />\n </sky-datepicker>\n </sky-input-box>\n</div>\n"
10901
10870
  },
10902
10871
  {
10903
10872
  "fileName": "input-box-demo.component.ts",
10904
10873
  "filePath": "/projects/forms/documentation/code-examples/input-box/basic/input-box-demo.component.ts",
10905
- "rawContents": "import {\n Component\n} from '@angular/core';\n\nimport {\n SkyTheme,\n SkyThemeMode,\n SkyThemeSettings\n} from '@skyux/theme';\n\n@Component({\n selector: 'app-input-box-demo',\n templateUrl: './input-box-demo.component.html'\n})\nexport class InputBoxDemoComponent {\n\n /**\n * The input box component is designed for the modern theme.\n * This is purely for demonstration purposes.\n */\n public modernLightTheme = new SkyThemeSettings(\n SkyTheme.presets.modern,\n SkyThemeMode.presets.light\n );\n\n}\n"
10874
+ "rawContents": "import { Component } from '@angular/core';\n\nimport { SkyTheme, SkyThemeMode, SkyThemeSettings } from '@skyux/theme';\n\n@Component({\n selector: 'app-input-box-demo',\n templateUrl: './input-box-demo.component.html',\n})\nexport class InputBoxDemoComponent {\n /**\n * The input box component is designed for the modern theme.\n * This is purely for demonstration purposes.\n */\n public modernLightTheme = new SkyThemeSettings(\n SkyTheme.presets.modern,\n SkyThemeMode.presets.light\n );\n}\n"
10906
10875
  },
10907
10876
  {
10908
10877
  "fileName": "input-box-demo.module.ts",
10909
10878
  "filePath": "/projects/forms/documentation/code-examples/input-box/basic/input-box-demo.module.ts",
10910
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyDatepickerModule\n} from '@skyux/datetime';\n\nimport {\n SkyInputBoxModule\n} from '@skyux/forms';\n\nimport {\n SkyThemeModule,\n SkyThemeService\n} from '@skyux/theme';\n\nimport {\n InputBoxDemoComponent\n} from './input-box-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyDatepickerModule,\n SkyInputBoxModule,\n SkyThemeModule\n ],\n declarations: [\n InputBoxDemoComponent\n ],\n exports: [\n InputBoxDemoComponent\n ],\n providers: [\n SkyThemeService\n ]\n})\n\nexport class SkyInputBoxDemoModule {}\n"
10879
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyDatepickerModule } from '@skyux/datetime';\n\nimport { SkyInputBoxModule } from '@skyux/forms';\n\nimport { SkyThemeModule, SkyThemeService } from '@skyux/theme';\n\nimport { InputBoxDemoComponent } from './input-box-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyDatepickerModule,\n SkyInputBoxModule,\n SkyThemeModule,\n ],\n declarations: [InputBoxDemoComponent],\n exports: [InputBoxDemoComponent],\n providers: [SkyThemeService],\n})\nexport class SkyInputBoxDemoModule {}\n"
10911
10880
  },
10912
10881
  {
10913
10882
  "fileName": "radio-demo.component.html",
10914
10883
  "filePath": "/projects/forms/documentation/code-examples/radio/icon/radio-demo.component.html",
10915
- "rawContents": "<form\n novalidate\n [formGroup]=\"myForm\"\n>\n<sky-radio-group\n ariaLabel=\"Demo view\"\n formControlName=\"myView\"\n>\n <div\n class=\"sky-switch-icon-group\"\n >\n <sky-radio *ngFor=\"let view of views\"\n [icon]=\"view.icon\"\n [label]=\"view.label\"\n [value]=\"view.name\"\n >\n </sky-radio>\n </div>\n</sky-radio-group>\n</form>\n\n<p>\n {{ myForm.value.myView }} is selected\n</p>\n"
10884
+ "rawContents": "<form novalidate [formGroup]=\"myForm\">\n <sky-radio-group ariaLabel=\"Demo view\" formControlName=\"myView\">\n <div class=\"sky-switch-icon-group\">\n <sky-radio\n *ngFor=\"let view of views\"\n [icon]=\"view.icon\"\n [label]=\"view.label\"\n [value]=\"view.name\"\n >\n </sky-radio>\n </div>\n </sky-radio-group>\n</form>\n\n<p>{{ myForm.value.myView }} is selected</p>\n"
10916
10885
  },
10917
10886
  {
10918
10887
  "fileName": "radio-demo.component.ts",
10919
10888
  "filePath": "/projects/forms/documentation/code-examples/radio/icon/radio-demo.component.ts",
10920
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-radio-demo',\n templateUrl: './radio-demo.component.html'\n})\nexport class RadioDemoComponent implements OnInit {\n\n public myForm: FormGroup;\n\n public views: any[] = [\n { icon: 'table', label: 'Table', name: 'table' },\n { icon: 'list', label: 'List', name: 'list' },\n { icon: 'map-marker', label: 'Map', name: 'map' }\n ];\n\n constructor(\n private formBuilder: FormBuilder\n ) { }\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n myView: this.views[0].name\n });\n }\n}\n"
10889
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-radio-demo',\n templateUrl: './radio-demo.component.html',\n})\nexport class RadioDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n public views: any[] = [\n { icon: 'table', label: 'Table', name: 'table' },\n { icon: 'list', label: 'List', name: 'list' },\n { icon: 'map-marker', label: 'Map', name: 'map' },\n ];\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n myView: this.views[0].name,\n });\n }\n}\n"
10921
10890
  },
10922
10891
  {
10923
10892
  "fileName": "radio-demo.module.ts",
10924
10893
  "filePath": "/projects/forms/documentation/code-examples/radio/icon/radio-demo.module.ts",
10925
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyRadioModule\n} from '@skyux/forms';\n\nimport {\n RadioDemoComponent\n} from './radio-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyRadioModule\n ],\n declarations: [\n RadioDemoComponent\n ],\n exports: [\n RadioDemoComponent\n ]\n})\n\nexport class SkyRadioDemoModule {\n}\n"
10894
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyRadioModule } from '@skyux/forms';\n\nimport { RadioDemoComponent } from './radio-demo.component';\n\n@NgModule({\n imports: [CommonModule, ReactiveFormsModule, SkyRadioModule],\n declarations: [RadioDemoComponent],\n exports: [RadioDemoComponent],\n})\nexport class SkyRadioDemoModule {}\n"
10926
10895
  },
10927
10896
  {
10928
10897
  "fileName": "radio-demo.component.html",
10929
10898
  "filePath": "/projects/forms/documentation/code-examples/radio/standard/radio-demo.component.html",
10930
- "rawContents": "<form\n novalidate\n [formGroup]=\"myForm\"\n>\n<sky-radio-group\n ariaLabel=\"Demo options\"\n formControlName=\"myOption\"\n>\n <ul\n class=\"sky-list-unstyled\"\n >\n <li *ngFor=\"let option of options\">\n <sky-radio\n [disabled]=\"option.disabled\"\n [value]=\"option.name\"\n >\n <sky-radio-label>\n {{ option.name }}\n </sky-radio-label>\n </sky-radio>\n </li>\n </ul>\n</sky-radio-group>\n</form>\n\n<p>\n {{ myForm.value.myOption }} is selected\n</p>\n"
10899
+ "rawContents": "<form novalidate [formGroup]=\"myForm\">\n <sky-radio-group ariaLabel=\"Demo options\" formControlName=\"myOption\">\n <ul class=\"sky-list-unstyled\">\n <li *ngFor=\"let option of options\">\n <sky-radio [disabled]=\"option.disabled\" [value]=\"option.name\">\n <sky-radio-label>\n {{ option.name }}\n </sky-radio-label>\n </sky-radio>\n </li>\n </ul>\n </sky-radio-group>\n</form>\n\n<p>{{ myForm.value.myOption }} is selected</p>\n"
10931
10900
  },
10932
10901
  {
10933
10902
  "fileName": "radio-demo.component.ts",
10934
10903
  "filePath": "/projects/forms/documentation/code-examples/radio/standard/radio-demo.component.ts",
10935
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-radio-demo',\n templateUrl: './radio-demo.component.html'\n})\nexport class RadioDemoComponent implements OnInit {\n\n public myForm: FormGroup;\n\n public options: any[] = [\n { name: 'Option 1', value: '1', disabled: false },\n { name: 'Option 2', value: '2', disabled: false },\n { name: 'Option 3 is disabled', value: '3', disabled: true }\n ];\n\n constructor(\n private formBuilder: FormBuilder\n ) { }\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n myOption: this.options[0].name\n });\n }\n}\n"
10904
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-radio-demo',\n templateUrl: './radio-demo.component.html',\n})\nexport class RadioDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n public options: any[] = [\n { name: 'Option 1', value: '1', disabled: false },\n { name: 'Option 2', value: '2', disabled: false },\n { name: 'Option 3 is disabled', value: '3', disabled: true },\n ];\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n myOption: this.options[0].name,\n });\n }\n}\n"
10936
10905
  },
10937
10906
  {
10938
10907
  "fileName": "radio-demo.module.ts",
10939
10908
  "filePath": "/projects/forms/documentation/code-examples/radio/standard/radio-demo.module.ts",
10940
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyRadioModule\n} from '@skyux/forms';\n\nimport {\n RadioDemoComponent\n} from './radio-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyRadioModule\n ],\n declarations: [\n RadioDemoComponent\n ],\n exports: [\n RadioDemoComponent\n ]\n})\n\nexport class SkyRadioDemoModule {\n}\n"
10909
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyRadioModule } from '@skyux/forms';\n\nimport { RadioDemoComponent } from './radio-demo.component';\n\n@NgModule({\n imports: [CommonModule, ReactiveFormsModule, SkyRadioModule],\n declarations: [RadioDemoComponent],\n exports: [RadioDemoComponent],\n})\nexport class SkyRadioDemoModule {}\n"
10941
10910
  },
10942
10911
  {
10943
10912
  "fileName": "selection-box-demo.component.html",
10944
10913
  "filePath": "/projects/forms/documentation/code-examples/selection-box/checkbox/selection-box-demo.component.html",
10945
- "rawContents": "<form\n [formGroup]=\"myForm\"\n>\n <sky-selection-box-grid>\n <sky-selection-box *ngFor=\"let control of checkboxArray.controls; let i = index\"\n [control]=\"checkbox\"\n >\n <sky-icon\n iconType=\"skyux\"\n [icon]=\"selectionBoxes[i].icon\"\n ></sky-icon>\n <sky-selection-box-header\n skyId\n #checkboxHeaderId=\"skyId\"\n >\n {{ selectionBoxes[i].name }}\n </sky-selection-box-header>\n <sky-selection-box-description>\n {{ selectionBoxes[i].description }}\n </sky-selection-box-description>\n <sky-checkbox\n [formControl]=\"control\"\n [labelledBy]=\"checkboxHeaderId.id\"\n #checkbox\n >\n </sky-checkbox>\n </sky-selection-box>\n </sky-selection-box-grid>\n</form>\n"
10914
+ "rawContents": "<form [formGroup]=\"myForm\">\n <sky-selection-box-grid>\n <sky-selection-box\n *ngFor=\"let control of checkboxArray.controls; let i = index\"\n [control]=\"checkbox\"\n >\n <sky-icon iconType=\"skyux\" [icon]=\"selectionBoxes[i].icon\"></sky-icon>\n <sky-selection-box-header skyId #checkboxHeaderId=\"skyId\">\n {{ selectionBoxes[i].name }}\n </sky-selection-box-header>\n <sky-selection-box-description>\n {{ selectionBoxes[i].description }}\n </sky-selection-box-description>\n <sky-checkbox\n [formControl]=\"control\"\n [labelledBy]=\"checkboxHeaderId.id\"\n #checkbox\n >\n </sky-checkbox>\n </sky-selection-box>\n </sky-selection-box-grid>\n</form>\n"
10946
10915
  },
10947
10916
  {
10948
10917
  "fileName": "selection-box-demo.component.ts",
10949
10918
  "filePath": "/projects/forms/documentation/code-examples/selection-box/checkbox/selection-box-demo.component.ts",
10950
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormArray,\n FormBuilder,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-selection-box-demo',\n templateUrl: './selection-box-demo.component.html'\n})\nexport class SelectionBoxDemoComponent implements OnInit {\n\n public get checkboxArray(): FormArray {\n return this.myForm.get('checkboxes') as FormArray;\n }\n\n public selectionBoxes: any[] = [\n {\n name: 'Save time and effort',\n icon: 'clock',\n description:\n 'Automate mundane tasks and spend more time on the things that matter.'\n },\n {\n name: 'Boost engagement',\n icon: 'user',\n description: 'Encourage supporters to interact with your organization.'\n },\n {\n name: 'Build relationships',\n icon: 'users',\n description:\n 'Connect to supporters on a personal level and maintain accurate data.'\n }\n ];\n\n public myForm: FormGroup;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n checkboxes: this.buildCheckboxes()\n });\n\n this.myForm.valueChanges.subscribe(value => console.log(value));\n }\n\n private buildCheckboxes(): FormArray {\n const checkboxArray = this.selectionBoxes.map(checkbox => {\n return this.formBuilder.control(checkbox.selected);\n });\n return this.formBuilder.array(checkboxArray);\n }\n}\n"
10919
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormArray, FormBuilder, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-selection-box-demo',\n templateUrl: './selection-box-demo.component.html',\n})\nexport class SelectionBoxDemoComponent implements OnInit {\n public get checkboxArray(): FormArray {\n return this.myForm.get('checkboxes') as FormArray;\n }\n\n public selectionBoxes: any[] = [\n {\n name: 'Save time and effort',\n icon: 'clock',\n description:\n 'Automate mundane tasks and spend more time on the things that matter.',\n },\n {\n name: 'Boost engagement',\n icon: 'user',\n description: 'Encourage supporters to interact with your organization.',\n },\n {\n name: 'Build relationships',\n icon: 'users',\n description:\n 'Connect to supporters on a personal level and maintain accurate data.',\n },\n ];\n\n public myForm: FormGroup;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n checkboxes: this.buildCheckboxes(),\n });\n\n this.myForm.valueChanges.subscribe((value) => console.log(value));\n }\n\n private buildCheckboxes(): FormArray {\n const checkboxArray = this.selectionBoxes.map((checkbox) => {\n return this.formBuilder.control(checkbox.selected);\n });\n return this.formBuilder.array(checkboxArray);\n }\n}\n"
10951
10920
  },
10952
10921
  {
10953
10922
  "fileName": "selection-box-demo.module.ts",
10954
10923
  "filePath": "/projects/forms/documentation/code-examples/selection-box/checkbox/selection-box-demo.module.ts",
10955
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyIdModule\n} from '@skyux/core';\n\nimport {\n SkyIconModule\n} from '@skyux/indicators';\n\nimport {\n SkyCheckboxModule,\n SkySelectionBoxModule\n} from '@skyux/forms';\n\nimport {\n SelectionBoxDemoComponent\n} from './selection-box-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyCheckboxModule,\n SkyIconModule,\n SkyIdModule,\n SkySelectionBoxModule\n ],\n declarations: [\n SelectionBoxDemoComponent\n ],\n exports: [\n SelectionBoxDemoComponent\n ]\n})\n\nexport class SkySelectionBoxDemoModule {\n}\n"
10924
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyIconModule } from '@skyux/indicators';\n\nimport {\n SkyCheckboxModule,\n SkySelectionBoxModule,\n} from '@skyux/forms';\n\nimport { SelectionBoxDemoComponent } from './selection-box-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyCheckboxModule,\n SkyIconModule,\n SkyIdModule,\n SkySelectionBoxModule,\n ],\n declarations: [SelectionBoxDemoComponent],\n exports: [SelectionBoxDemoComponent],\n})\nexport class SkySelectionBoxDemoModule {}\n"
10956
10925
  },
10957
10926
  {
10958
10927
  "fileName": "selection-box-demo.component.html",
10959
10928
  "filePath": "/projects/forms/documentation/code-examples/selection-box/radio/selection-box-demo.component.html",
10960
- "rawContents": "<form\n novalidate\n [formGroup]=\"myForm\"\n>\n <sky-radio-group\n ariaLabel=\"Demo options\"\n formControlName=\"myOption\"\n >\n <sky-selection-box-grid>\n <sky-selection-box *ngFor=\"let item of items\"\n [control]=\"radio\"\n >\n <sky-icon\n iconType=\"skyux\"\n [icon]=\"item.icon\"\n ></sky-icon>\n <sky-selection-box-header\n skyId\n #radioHeaderId=\"skyId\"\n >\n {{ item.name }}\n </sky-selection-box-header>\n <sky-selection-box-description>\n {{ item.description }}\n </sky-selection-box-description>\n <sky-radio\n [labelledBy]=\"radioHeaderId.id\"\n [value]=\"item.value\"\n #radio\n >\n </sky-radio>\n </sky-selection-box>\n </sky-selection-box-grid>\n </sky-radio-group>\n</form>\n"
10929
+ "rawContents": "<form novalidate [formGroup]=\"myForm\">\n <sky-radio-group ariaLabel=\"Demo options\" formControlName=\"myOption\">\n <sky-selection-box-grid>\n <sky-selection-box *ngFor=\"let item of items\" [control]=\"radio\">\n <sky-icon iconType=\"skyux\" [icon]=\"item.icon\"></sky-icon>\n <sky-selection-box-header skyId #radioHeaderId=\"skyId\">\n {{ item.name }}\n </sky-selection-box-header>\n <sky-selection-box-description>\n {{ item.description }}\n </sky-selection-box-description>\n <sky-radio [labelledBy]=\"radioHeaderId.id\" [value]=\"item.value\" #radio>\n </sky-radio>\n </sky-selection-box>\n </sky-selection-box-grid>\n </sky-radio-group>\n</form>\n"
10961
10930
  },
10962
10931
  {
10963
10932
  "fileName": "selection-box-demo.component.ts",
10964
10933
  "filePath": "/projects/forms/documentation/code-examples/selection-box/radio/selection-box-demo.component.ts",
10965
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-selection-box-demo',\n templateUrl: './selection-box-demo.component.html'\n})\nexport class SelectionBoxDemoComponent implements OnInit {\n\n public items: any[] = [\n {\n name: 'Save time and effort',\n icon: 'clock',\n description: 'Automate mundane tasks and spend more time on the things that matter.',\n value: 'clock'\n },\n {\n name: 'Boost engagement',\n icon: 'user',\n description: 'Encourage supporters to interact with your organization.',\n value: 'engagement'\n },\n {\n name: 'Build relationships',\n icon: 'users',\n description: 'Connect to supporters on a personal level and maintain accurate data.',\n value: 'relationships'\n }\n ];\n\n public myForm: FormGroup;\n\n constructor(\n private formBuilder: FormBuilder\n ) { }\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n myOption: this.items[2].value\n });\n this.myForm.valueChanges.subscribe(value => console.log(value));\n }\n}\n"
10934
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-selection-box-demo',\n templateUrl: './selection-box-demo.component.html',\n})\nexport class SelectionBoxDemoComponent implements OnInit {\n public items: any[] = [\n {\n name: 'Save time and effort',\n icon: 'clock',\n description:\n 'Automate mundane tasks and spend more time on the things that matter.',\n value: 'clock',\n },\n {\n name: 'Boost engagement',\n icon: 'user',\n description: 'Encourage supporters to interact with your organization.',\n value: 'engagement',\n },\n {\n name: 'Build relationships',\n icon: 'users',\n description:\n 'Connect to supporters on a personal level and maintain accurate data.',\n value: 'relationships',\n },\n ];\n\n public myForm: FormGroup;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n myOption: this.items[2].value,\n });\n this.myForm.valueChanges.subscribe((value) => console.log(value));\n }\n}\n"
10966
10935
  },
10967
10936
  {
10968
10937
  "fileName": "selection-box-demo.module.ts",
10969
10938
  "filePath": "/projects/forms/documentation/code-examples/selection-box/radio/selection-box-demo.module.ts",
10970
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyIdModule\n} from '@skyux/core';\n\nimport {\n SkyRadioModule,\n SkySelectionBoxModule\n} from '@skyux/forms';\n\nimport {\n SkyIconModule\n} from '@skyux/indicators';\n\nimport {\n SelectionBoxDemoComponent\n} from './selection-box-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyIconModule,\n SkyIdModule,\n SkyRadioModule,\n SkySelectionBoxModule\n ],\n declarations: [\n SelectionBoxDemoComponent\n ],\n exports: [\n SelectionBoxDemoComponent\n ]\n})\n\nexport class SkySelectionBoxDemoModule {\n}\n"
10939
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport {\n SkyRadioModule,\n SkySelectionBoxModule,\n} from '@skyux/forms';\n\nimport { SkyIconModule } from '@skyux/indicators';\n\nimport { SelectionBoxDemoComponent } from './selection-box-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyIconModule,\n SkyIdModule,\n SkyRadioModule,\n SkySelectionBoxModule,\n ],\n declarations: [SelectionBoxDemoComponent],\n exports: [SelectionBoxDemoComponent],\n})\nexport class SkySelectionBoxDemoModule {}\n"
10971
10940
  },
10972
10941
  {
10973
10942
  "fileName": "single-file-attachment-demo.component.html",
10974
10943
  "filePath": "/projects/forms/documentation/code-examples/single-file-attachment/basic/single-file-attachment-demo.component.html",
10975
- "rawContents": "<form\n novalidate\n [formGroup]=\"fileForm\"\n>\n <div\n style=\"margin-bottom:50px;\"\n >\n <sky-file-attachment\n formControlName=\"attachment\"\n [maxFileSize]=\"maxFileSize\"\n [validateFn]=\"validateFile\"\n (fileChange)=\"reactiveFileUpdated($event)\"\n (fileClick)=\"fileClick($event)\"\n >\n <sky-file-attachment-label>\n Attach any file\n </sky-file-attachment-label>\n </sky-file-attachment>\n\n <div *ngIf=\"attachment?.invalid && attachment?.dirty\"\n class=\"sky-error-label\"\n >\n Attach a file.\n </div>\n <div *ngIf=\"reactiveUploadError\"\n class=\"sky-error-label\"\n >\n {{reactiveUploadError}}\n </div>\n </div>\n</form>\n"
10944
+ "rawContents": "<form novalidate [formGroup]=\"fileForm\">\n <div style=\"margin-bottom: 50px\">\n <sky-file-attachment\n formControlName=\"attachment\"\n [maxFileSize]=\"maxFileSize\"\n [validateFn]=\"validateFile\"\n (fileChange)=\"reactiveFileUpdated($event)\"\n (fileClick)=\"fileClick($event)\"\n >\n <sky-file-attachment-label> Attach any file </sky-file-attachment-label>\n </sky-file-attachment>\n\n <div\n *ngIf=\"attachment?.invalid && attachment?.dirty\"\n class=\"sky-error-label\"\n >\n Attach a file.\n </div>\n <div *ngIf=\"reactiveUploadError\" class=\"sky-error-label\">\n {{ reactiveUploadError }}\n </div>\n </div>\n</form>\n"
10976
10945
  },
10977
10946
  {
10978
10947
  "fileName": "single-file-attachment-demo.component.ts",
10979
10948
  "filePath": "/projects/forms/documentation/code-examples/single-file-attachment/basic/single-file-attachment-demo.component.ts",
10980
- "rawContents": "import {\n AbstractControl,\n FormBuilder,\n FormControl,\n FormGroup,\n Validators\n} from '@angular/forms';\n\nimport {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n SkyFileAttachmentChange,\n SkyFileAttachmentClick,\n SkyFileItem\n} from '@skyux/forms';\n\n@Component({\n selector: 'app-single-file-attachment-demo',\n templateUrl: './single-file-attachment-demo.component.html'\n})\nexport class SingleFileAttachmentDemoComponent implements OnInit {\n\n public attachment: FormControl;\n\n public fileForm: FormGroup;\n\n public maxFileSize: number = 4000000;\n\n public get reactiveFile(): AbstractControl {\n return this.fileForm.get('attachment');\n }\n\n public reactiveUploadError: string;\n\n constructor(\n private formBuilder: FormBuilder\n ) {}\n\n public fileClick($event: SkyFileAttachmentClick): void {\n const link = document.createElement('a');\n link.download = $event.file.file.name;\n link.href = $event.file.url;\n link.click();\n }\n\n public ngOnInit(): void {\n this.attachment = new FormControl(undefined, Validators.required);\n this.fileForm = this.formBuilder.group({\n attachment: this.attachment\n });\n }\n\n public reactiveFileUpdated(result: SkyFileAttachmentChange): void {\n const file = result.file;\n\n if (file && file.errorType) {\n this.reactiveFile.setValue(undefined);\n this.reactiveUploadError = this.getErrorMessage(file.errorType, file.errorParam);\n\n } else {\n this.reactiveFile.setValue(file);\n this.reactiveUploadError = undefined;\n }\n }\n\n public validateFile(file: SkyFileItem): string {\n if (file.file.name.indexOf('a') === 0) {\n return 'You may not upload a file that begins with the letter \"a.\"';\n } else {\n return '';\n }\n }\n\n private getErrorMessage(errorType: string, errorParam: string): string {\n if (errorType === 'fileType') {\n return `Please upload a file of type ${errorParam}.`;\n } else if (errorType === 'maxFileSize') {\n return `Please upload a file smaller than ${errorParam} KB.`;\n } else {\n return errorParam;\n }\n }\n}\n"
10949
+ "rawContents": "import {\n AbstractControl,\n FormBuilder,\n FormControl,\n FormGroup,\n Validators,\n} from '@angular/forms';\n\nimport { Component, OnInit } from '@angular/core';\n\nimport {\n SkyFileAttachmentChange,\n SkyFileAttachmentClick,\n SkyFileItem,\n} from '@skyux/forms';\n\n@Component({\n selector: 'app-single-file-attachment-demo',\n templateUrl: './single-file-attachment-demo.component.html',\n})\nexport class SingleFileAttachmentDemoComponent implements OnInit {\n public attachment: FormControl;\n\n public fileForm: FormGroup;\n\n public maxFileSize: number = 4000000;\n\n public get reactiveFile(): AbstractControl {\n return this.fileForm.get('attachment');\n }\n\n public reactiveUploadError: string;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public fileClick($event: SkyFileAttachmentClick): void {\n const link = document.createElement('a');\n link.download = $event.file.file.name;\n link.href = $event.file.url;\n link.click();\n }\n\n public ngOnInit(): void {\n this.attachment = new FormControl(undefined, Validators.required);\n this.fileForm = this.formBuilder.group({\n attachment: this.attachment,\n });\n }\n\n public reactiveFileUpdated(result: SkyFileAttachmentChange): void {\n const file = result.file;\n\n if (file && file.errorType) {\n this.reactiveFile.setValue(undefined);\n this.reactiveUploadError = this.getErrorMessage(\n file.errorType,\n file.errorParam\n );\n } else {\n this.reactiveFile.setValue(file);\n this.reactiveUploadError = undefined;\n }\n }\n\n public validateFile(file: SkyFileItem): string {\n if (file.file.name.indexOf('a') === 0) {\n return 'You may not upload a file that begins with the letter \"a.\"';\n } else {\n return '';\n }\n }\n\n private getErrorMessage(errorType: string, errorParam: string): string {\n if (errorType === 'fileType') {\n return `Please upload a file of type ${errorParam}.`;\n } else if (errorType === 'maxFileSize') {\n return `Please upload a file smaller than ${errorParam} KB.`;\n } else {\n return errorParam;\n }\n }\n}\n"
10981
10950
  },
10982
10951
  {
10983
10952
  "fileName": "single-file-attachment-demo.module.ts",
10984
10953
  "filePath": "/projects/forms/documentation/code-examples/single-file-attachment/basic/single-file-attachment-demo.module.ts",
10985
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyFileAttachmentsModule\n} from '@skyux/forms';\n\nimport {\n SingleFileAttachmentDemoComponent\n} from './single-file-attachment-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyFileAttachmentsModule\n ],\n declarations: [\n SingleFileAttachmentDemoComponent\n ],\n exports: [\n SingleFileAttachmentDemoComponent\n ]\n})\n\nexport class SkySingleFileAttachmentDemoModule {\n}\n"
10954
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyFileAttachmentsModule } from '@skyux/forms';\n\nimport { SingleFileAttachmentDemoComponent } from './single-file-attachment-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyFileAttachmentsModule,\n ],\n declarations: [SingleFileAttachmentDemoComponent],\n exports: [SingleFileAttachmentDemoComponent],\n})\nexport class SkySingleFileAttachmentDemoModule {}\n"
10986
10955
  },
10987
10956
  {
10988
10957
  "fileName": "toggle-switch-demo.component.html",
10989
10958
  "filePath": "/projects/forms/documentation/code-examples/toggle-switch/basic/toggle-switch-demo.component.html",
10990
- "rawContents": "<p>\n <sky-toggle-switch formControlName=\"controlToggle\" (toggleChange)=\"toggleDisabled()\">\n <sky-toggle-switch-label>\n Enable the bottom toggle switch\n </sky-toggle-switch-label>\n </sky-toggle-switch>\n</p>\n\n<p>\n <sky-toggle-switch [disabled]=\"disabled\" formControlName=\"dynamicToggle\">\n <sky-toggle-switch-label>\n This switch can be enabled and disabled dynamically\n </sky-toggle-switch-label>\n </sky-toggle-switch>\n</p>\n"
10959
+ "rawContents": "<p>\n <sky-toggle-switch\n formControlName=\"controlToggle\"\n (toggleChange)=\"toggleDisabled()\"\n >\n <sky-toggle-switch-label>\n Enable the bottom toggle switch\n </sky-toggle-switch-label>\n </sky-toggle-switch>\n</p>\n\n<p>\n <sky-toggle-switch [disabled]=\"disabled\" formControlName=\"dynamicToggle\">\n <sky-toggle-switch-label>\n This switch can be enabled and disabled dynamically\n </sky-toggle-switch-label>\n </sky-toggle-switch>\n</p>\n"
10991
10960
  },
10992
10961
  {
10993
10962
  "fileName": "toggle-switch-demo.component.ts",
10994
10963
  "filePath": "/projects/forms/documentation/code-examples/toggle-switch/basic/toggle-switch-demo.component.ts",
10995
- "rawContents": "import {\n Component\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormControl,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-toggle-switch-demo',\n templateUrl: './toggle-switch-demo.component.html'\n})\nexport class ToggleSwitchDemoComponent {\n public checked: boolean = false;\n public disabled: boolean = true;\n\n public formGroup: FormGroup;\n\n constructor(\n private formBuilder: FormBuilder\n ) {\n this.formGroup = this.formBuilder.group({\n dynamicToggle: new FormControl(true)\n });\n }\n\n public toggleDisabled(): void {\n this.disabled = !this.disabled;\n\n const control = this.formGroup.get('dynamicToggle');\n\n if (control.disabled) {\n control.enable();\n } else {\n control.disable();\n }\n }\n}\n"
10964
+ "rawContents": "import { Component } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-toggle-switch-demo',\n templateUrl: './toggle-switch-demo.component.html',\n})\nexport class ToggleSwitchDemoComponent {\n public checked: boolean = false;\n public disabled: boolean = true;\n\n public formGroup: FormGroup;\n\n constructor(private formBuilder: FormBuilder) {\n this.formGroup = this.formBuilder.group({\n dynamicToggle: new FormControl(true),\n });\n }\n\n public toggleDisabled(): void {\n this.disabled = !this.disabled;\n\n const control = this.formGroup.get('dynamicToggle');\n\n if (control.disabled) {\n control.enable();\n } else {\n control.disable();\n }\n }\n}\n"
10996
10965
  },
10997
10966
  {
10998
10967
  "fileName": "toggle-switch-demo.module.ts",
10999
10968
  "filePath": "/projects/forms/documentation/code-examples/toggle-switch/basic/toggle-switch-demo.module.ts",
11000
- "rawContents": "\nimport {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyToggleSwitchModule\n} from '@skyux/forms';\n\nimport {\n ToggleSwitchDemoComponent\n} from './toggle-switch-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyToggleSwitchModule\n ],\n declarations: [\n ToggleSwitchDemoComponent\n ],\n exports: [\n ToggleSwitchDemoComponent\n ]\n})\n\nexport class SkyToggleSwitchDemoModule {\n}\n"
10969
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyToggleSwitchModule } from '@skyux/forms';\n\nimport { ToggleSwitchDemoComponent } from './toggle-switch-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyToggleSwitchModule],\n declarations: [ToggleSwitchDemoComponent],\n exports: [ToggleSwitchDemoComponent],\n})\nexport class SkyToggleSwitchDemoModule {}\n"
11001
10970
  }
11002
10971
  ]
11003
10972
  }