@skyux/lookup 5.0.3 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/bundles/skyux-lookup-testing.umd.js +11 -15
- package/bundles/skyux-lookup-testing.umd.js.map +1 -1
- package/bundles/skyux-lookup.umd.js +284 -268
- package/bundles/skyux-lookup.umd.js.map +1 -1
- package/documentation.json +221 -221
- package/esm2015/modules/autocomplete/autocomplete-adapter.service.js +5 -5
- package/esm2015/modules/autocomplete/autocomplete-default-search-function.js +5 -6
- package/esm2015/modules/autocomplete/autocomplete-input.directive.js +11 -19
- package/esm2015/modules/autocomplete/autocomplete.component.js +36 -36
- package/esm2015/modules/autocomplete/autocomplete.module.js +10 -18
- package/esm2015/modules/autocomplete/types/autocomplete-default-search-function-options.js +1 -1
- package/esm2015/modules/autocomplete/types/autocomplete-message-type.js +1 -1
- package/esm2015/modules/autocomplete/types/autocomplete-message.js +1 -1
- package/esm2015/modules/autocomplete/types/autocomplete-search-function-filter.js +1 -1
- package/esm2015/modules/autocomplete/types/autocomplete-search-function.js +1 -1
- package/esm2015/modules/autocomplete/types/autocomplete-show-more-args.js +1 -1
- package/esm2015/modules/country-field/country-field.component.js +31 -39
- package/esm2015/modules/country-field/country-field.module.js +9 -13
- package/esm2015/modules/country-field/types/country.js +1 -1
- package/esm2015/modules/lookup/lookup-adapter.service.js +4 -4
- package/esm2015/modules/lookup/lookup-autocomplete-adapter.js +9 -8
- package/esm2015/modules/lookup/lookup-show-more-modal.component.js +50 -38
- package/esm2015/modules/lookup/lookup.component.js +55 -41
- package/esm2015/modules/lookup/lookup.module.js +10 -18
- package/esm2015/modules/lookup/types/lookup-add-click-callback-args.js +1 -1
- package/esm2015/modules/lookup/types/lookup-add-click-event-args.js +1 -1
- package/esm2015/modules/lookup/types/lookup-select-mode.js +1 -1
- package/esm2015/modules/lookup/types/lookup-show-more-config.js +1 -1
- package/esm2015/modules/lookup/types/lookup-show-more-custom-picker.js +1 -1
- package/esm2015/modules/lookup/types/lookup-show-more-native-picker-config.js +1 -1
- package/esm2015/modules/lookup/types/lookup-show-more-native-picker-context.js +1 -1
- package/esm2015/modules/search/search-adapter.service.js +6 -5
- package/esm2015/modules/search/search.component.js +35 -35
- package/esm2015/modules/search/search.module.js +9 -13
- package/esm2015/modules/shared/sky-lookup-resources.module.js +40 -12
- package/esm2015/polyfills.js +4 -3
- package/esm2015/testing/country-field/country-field-fixture.js +2 -2
- package/esm2015/testing/country-field/country-field-testing.module.js +6 -8
- package/esm2015/testing/search/search-fixture.js +1 -1
- package/esm2015/testing/search/search-testing.module.js +6 -8
- package/fesm2015/skyux-lookup-testing.js +11 -15
- package/fesm2015/skyux-lookup-testing.js.map +1 -1
- package/fesm2015/skyux-lookup.js +299 -283
- package/fesm2015/skyux-lookup.js.map +1 -1
- package/package.json +11 -11
package/documentation.json
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"name": "NgModule"
|
|
45
45
|
},
|
|
46
46
|
"arguments": {
|
|
47
|
-
"obj": "{\n declarations: [
|
|
47
|
+
"obj": "{\n declarations: [SkyAutocompleteComponent, SkyAutocompleteInputDirective],\n imports: [\n CommonModule,\n FormsModule,\n SkyAffixModule,\n SkyTextHighlightModule,\n SkyIconModule,\n SkyIdModule,\n SkyLookupResourcesModule,\n SkyOverlayModule,\n SkyThemeModule,\n ],\n exports: [SkyAutocompleteComponent, SkyAutocompleteInputDirective],\n}"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
],
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"sources": [
|
|
84
84
|
{
|
|
85
85
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.module.ts",
|
|
86
|
-
"line":
|
|
86
|
+
"line": 34,
|
|
87
87
|
"character": 13
|
|
88
88
|
}
|
|
89
89
|
]
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"name": "NgModule"
|
|
103
103
|
},
|
|
104
104
|
"arguments": {
|
|
105
|
-
"obj": "{\n declarations: [
|
|
105
|
+
"obj": "{\n declarations: [SkyCountryFieldComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyAutocompleteModule,\n SkyIconModule,\n SkyI18nModule,\n SkyLookupResourcesModule,\n SkyThemeModule,\n ],\n exports: [SkyCountryFieldComponent],\n}"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
],
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"sources": [
|
|
142
142
|
{
|
|
143
143
|
"fileName": "projects/lookup/src/modules/country-field/country-field.module.ts",
|
|
144
|
-
"line":
|
|
144
|
+
"line": 33,
|
|
145
145
|
"character": 13
|
|
146
146
|
}
|
|
147
147
|
]
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"name": "NgModule"
|
|
161
161
|
},
|
|
162
162
|
"arguments": {
|
|
163
|
-
"obj": "{\n declarations: [
|
|
163
|
+
"obj": "{\n declarations: [SkyLookupComponent, SkyLookupShowMoreModalComponent],\n imports: [\n CommonModule,\n FormsModule,\n SkyAutocompleteModule,\n SkyCheckboxModule,\n SkyIconModule,\n SkyInfiniteScrollModule,\n SkyI18nModule,\n SkyLookupResourcesModule,\n SkyModalModule,\n SkyRepeaterModule,\n SkySearchModule,\n SkyThemeModule,\n SkyTokensModule,\n SkyToolbarModule,\n SkyViewkeeperModule,\n ],\n entryComponents: [SkyLookupShowMoreModalComponent],\n exports: [SkyLookupComponent],\n}"
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
],
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"sources": [
|
|
200
200
|
{
|
|
201
201
|
"fileName": "projects/lookup/src/modules/lookup/lookup.module.ts",
|
|
202
|
-
"line":
|
|
202
|
+
"line": 55,
|
|
203
203
|
"character": 13
|
|
204
204
|
}
|
|
205
205
|
]
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
"name": "Component"
|
|
349
349
|
},
|
|
350
350
|
"arguments": {
|
|
351
|
-
"obj": "{\n selector: 'sky-search',\n templateUrl: './search.component.html',\n styleUrls: ['./search.component.scss'],\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('inputState', [\n state(INPUT_HIDDEN_STATE,\n style({\n opacity: 0,\n width: 0\n
|
|
351
|
+
"obj": "{\n selector: 'sky-search',\n templateUrl: './search.component.html',\n styleUrls: ['./search.component.scss'],\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('inputState', [\n state(\n INPUT_HIDDEN_STATE,\n style({\n opacity: 0,\n width: 0,\n })\n ),\n state(\n INPUT_SHOWN_STATE,\n style({\n opacity: 1,\n width: '100%',\n })\n ),\n transition('* <=> *', animate('150ms')),\n ]),\n ],\n providers: [SkySearchAdapterService],\n}"
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
],
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"sources": [
|
|
363
363
|
{
|
|
364
364
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
365
|
-
"line":
|
|
365
|
+
"line": 134,
|
|
366
366
|
"character": 2
|
|
367
367
|
}
|
|
368
368
|
],
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
"sources": [
|
|
445
445
|
{
|
|
446
446
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
447
|
-
"line":
|
|
447
|
+
"line": 126,
|
|
448
448
|
"character": 9
|
|
449
449
|
}
|
|
450
450
|
],
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
"sources": [
|
|
465
465
|
{
|
|
466
466
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
467
|
-
"line":
|
|
467
|
+
"line": 130,
|
|
468
468
|
"character": 9
|
|
469
469
|
}
|
|
470
470
|
],
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
"sources": [
|
|
505
505
|
{
|
|
506
506
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
507
|
-
"line":
|
|
507
|
+
"line": 104,
|
|
508
508
|
"character": 9
|
|
509
509
|
}
|
|
510
510
|
],
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"sources": [
|
|
545
545
|
{
|
|
546
546
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
547
|
-
"line":
|
|
547
|
+
"line": 111,
|
|
548
548
|
"character": 9
|
|
549
549
|
}
|
|
550
550
|
],
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
"sources": [
|
|
566
566
|
{
|
|
567
567
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
568
|
-
"line":
|
|
568
|
+
"line": 129,
|
|
569
569
|
"character": 9
|
|
570
570
|
}
|
|
571
571
|
],
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
"sources": [
|
|
606
606
|
{
|
|
607
607
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
608
|
-
"line":
|
|
608
|
+
"line": 97,
|
|
609
609
|
"character": 9
|
|
610
610
|
}
|
|
611
611
|
],
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
"sources": [
|
|
627
627
|
{
|
|
628
628
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
629
|
-
"line":
|
|
629
|
+
"line": 125,
|
|
630
630
|
"character": 9
|
|
631
631
|
}
|
|
632
632
|
],
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
"sources": [
|
|
648
648
|
{
|
|
649
649
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
650
|
-
"line":
|
|
650
|
+
"line": 115,
|
|
651
651
|
"character": 9
|
|
652
652
|
}
|
|
653
653
|
],
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
"sources": [
|
|
669
669
|
{
|
|
670
670
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
671
|
-
"line":
|
|
671
|
+
"line": 113,
|
|
672
672
|
"character": 9
|
|
673
673
|
}
|
|
674
674
|
],
|
|
@@ -689,7 +689,7 @@
|
|
|
689
689
|
"sources": [
|
|
690
690
|
{
|
|
691
691
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
692
|
-
"line":
|
|
692
|
+
"line": 128,
|
|
693
693
|
"character": 9
|
|
694
694
|
}
|
|
695
695
|
],
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
"sources": [
|
|
730
730
|
{
|
|
731
731
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
732
|
-
"line":
|
|
732
|
+
"line": 123,
|
|
733
733
|
"character": 9
|
|
734
734
|
}
|
|
735
735
|
],
|
|
@@ -762,7 +762,7 @@
|
|
|
762
762
|
"sources": [
|
|
763
763
|
{
|
|
764
764
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
765
|
-
"line":
|
|
765
|
+
"line": 69,
|
|
766
766
|
"character": 9
|
|
767
767
|
}
|
|
768
768
|
],
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
"sources": [
|
|
790
790
|
{
|
|
791
791
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
792
|
-
"line":
|
|
792
|
+
"line": 127,
|
|
793
793
|
"character": 9
|
|
794
794
|
}
|
|
795
795
|
],
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
"sources": [
|
|
824
824
|
{
|
|
825
825
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
826
|
-
"line":
|
|
826
|
+
"line": 75,
|
|
827
827
|
"character": 9
|
|
828
828
|
}
|
|
829
829
|
],
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
"sources": [
|
|
864
864
|
{
|
|
865
865
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
866
|
-
"line":
|
|
866
|
+
"line": 81,
|
|
867
867
|
"character": 9
|
|
868
868
|
}
|
|
869
869
|
],
|
|
@@ -903,7 +903,7 @@
|
|
|
903
903
|
"sources": [
|
|
904
904
|
{
|
|
905
905
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
906
|
-
"line":
|
|
906
|
+
"line": 87,
|
|
907
907
|
"character": 9
|
|
908
908
|
}
|
|
909
909
|
],
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
"sources": [
|
|
924
924
|
{
|
|
925
925
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
926
|
-
"line":
|
|
926
|
+
"line": 204,
|
|
927
927
|
"character": 9
|
|
928
928
|
}
|
|
929
929
|
],
|
|
@@ -965,7 +965,7 @@
|
|
|
965
965
|
"sources": [
|
|
966
966
|
{
|
|
967
967
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
968
|
-
"line":
|
|
968
|
+
"line": 186,
|
|
969
969
|
"character": 9
|
|
970
970
|
}
|
|
971
971
|
],
|
|
@@ -994,7 +994,7 @@
|
|
|
994
994
|
"sources": [
|
|
995
995
|
{
|
|
996
996
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
997
|
-
"line":
|
|
997
|
+
"line": 198,
|
|
998
998
|
"character": 9
|
|
999
999
|
}
|
|
1000
1000
|
],
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
"sources": [
|
|
1048
1048
|
{
|
|
1049
1049
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1050
|
-
"line":
|
|
1050
|
+
"line": 250,
|
|
1051
1051
|
"character": 9
|
|
1052
1052
|
}
|
|
1053
1053
|
],
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
"sources": [
|
|
1090
1090
|
{
|
|
1091
1091
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1092
|
-
"line":
|
|
1092
|
+
"line": 236,
|
|
1093
1093
|
"character": 9
|
|
1094
1094
|
}
|
|
1095
1095
|
],
|
|
@@ -1131,7 +1131,7 @@
|
|
|
1131
1131
|
"sources": [
|
|
1132
1132
|
{
|
|
1133
1133
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1134
|
-
"line":
|
|
1134
|
+
"line": 159,
|
|
1135
1135
|
"character": 9
|
|
1136
1136
|
}
|
|
1137
1137
|
],
|
|
@@ -1181,7 +1181,7 @@
|
|
|
1181
1181
|
"sources": [
|
|
1182
1182
|
{
|
|
1183
1183
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1184
|
-
"line":
|
|
1184
|
+
"line": 268,
|
|
1185
1185
|
"character": 9
|
|
1186
1186
|
}
|
|
1187
1187
|
],
|
|
@@ -1218,7 +1218,7 @@
|
|
|
1218
1218
|
"sources": [
|
|
1219
1219
|
{
|
|
1220
1220
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1221
|
-
"line":
|
|
1221
|
+
"line": 141,
|
|
1222
1222
|
"character": 9
|
|
1223
1223
|
}
|
|
1224
1224
|
],
|
|
@@ -1255,7 +1255,7 @@
|
|
|
1255
1255
|
"sources": [
|
|
1256
1256
|
{
|
|
1257
1257
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1258
|
-
"line":
|
|
1258
|
+
"line": 221,
|
|
1259
1259
|
"character": 9
|
|
1260
1260
|
}
|
|
1261
1261
|
],
|
|
@@ -1297,7 +1297,7 @@
|
|
|
1297
1297
|
"sources": [
|
|
1298
1298
|
{
|
|
1299
1299
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1300
|
-
"line":
|
|
1300
|
+
"line": 226,
|
|
1301
1301
|
"character": 9
|
|
1302
1302
|
}
|
|
1303
1303
|
],
|
|
@@ -1379,7 +1379,7 @@
|
|
|
1379
1379
|
"sources": [
|
|
1380
1380
|
{
|
|
1381
1381
|
"fileName": "projects/lookup/src/modules/search/search.component.ts",
|
|
1382
|
-
"line":
|
|
1382
|
+
"line": 64,
|
|
1383
1383
|
"character": 13
|
|
1384
1384
|
}
|
|
1385
1385
|
],
|
|
@@ -1412,7 +1412,7 @@
|
|
|
1412
1412
|
"name": "NgModule"
|
|
1413
1413
|
},
|
|
1414
1414
|
"arguments": {
|
|
1415
|
-
"obj": "{\n declarations: [
|
|
1415
|
+
"obj": "{\n declarations: [SkySearchComponent],\n imports: [\n CommonModule,\n SkyInputBoxModule,\n SkyLookupResourcesModule,\n FormsModule,\n SkyIconModule,\n SkyThemeModule,\n SkyIdModule,\n ],\n exports: [SkySearchComponent],\n}"
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
],
|
|
@@ -1451,7 +1451,7 @@
|
|
|
1451
1451
|
"sources": [
|
|
1452
1452
|
{
|
|
1453
1453
|
"fileName": "projects/lookup/src/modules/search/search.module.ts",
|
|
1454
|
-
"line":
|
|
1454
|
+
"line": 32,
|
|
1455
1455
|
"character": 13
|
|
1456
1456
|
}
|
|
1457
1457
|
]
|
|
@@ -1470,7 +1470,7 @@
|
|
|
1470
1470
|
"name": "Directive"
|
|
1471
1471
|
},
|
|
1472
1472
|
"arguments": {
|
|
1473
|
-
"obj": "{\n selector: 'input[skyAutocomplete], textarea[skyAutocomplete]',\n providers: [
|
|
1473
|
+
"obj": "{\n selector: 'input[skyAutocomplete], textarea[skyAutocomplete]',\n providers: [SKY_AUTOCOMPLETE_VALUE_ACCESSOR, SKY_AUTOCOMPLETE_VALIDATOR],\n}"
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
1476
|
],
|
|
@@ -1484,7 +1484,7 @@
|
|
|
1484
1484
|
"sources": [
|
|
1485
1485
|
{
|
|
1486
1486
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1487
|
-
"line":
|
|
1487
|
+
"line": 165,
|
|
1488
1488
|
"character": 2
|
|
1489
1489
|
}
|
|
1490
1490
|
],
|
|
@@ -1554,7 +1554,7 @@
|
|
|
1554
1554
|
"sources": [
|
|
1555
1555
|
{
|
|
1556
1556
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1557
|
-
"line":
|
|
1557
|
+
"line": 52,
|
|
1558
1558
|
"character": 13
|
|
1559
1559
|
}
|
|
1560
1560
|
],
|
|
@@ -1621,7 +1621,7 @@
|
|
|
1621
1621
|
"sources": [
|
|
1622
1622
|
{
|
|
1623
1623
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1624
|
-
"line":
|
|
1624
|
+
"line": 84,
|
|
1625
1625
|
"character": 13
|
|
1626
1626
|
}
|
|
1627
1627
|
],
|
|
@@ -1666,7 +1666,7 @@
|
|
|
1666
1666
|
"sources": [
|
|
1667
1667
|
{
|
|
1668
1668
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1669
|
-
"line":
|
|
1669
|
+
"line": 75,
|
|
1670
1670
|
"character": 13
|
|
1671
1671
|
}
|
|
1672
1672
|
],
|
|
@@ -1733,7 +1733,7 @@
|
|
|
1733
1733
|
"sources": [
|
|
1734
1734
|
{
|
|
1735
1735
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1736
|
-
"line":
|
|
1736
|
+
"line": 88,
|
|
1737
1737
|
"character": 13
|
|
1738
1738
|
}
|
|
1739
1739
|
],
|
|
@@ -1788,7 +1788,7 @@
|
|
|
1788
1788
|
"sources": [
|
|
1789
1789
|
{
|
|
1790
1790
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1791
|
-
"line":
|
|
1791
|
+
"line": 104,
|
|
1792
1792
|
"character": 13
|
|
1793
1793
|
}
|
|
1794
1794
|
],
|
|
@@ -1823,7 +1823,7 @@
|
|
|
1823
1823
|
"sources": [
|
|
1824
1824
|
{
|
|
1825
1825
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1826
|
-
"line":
|
|
1826
|
+
"line": 108,
|
|
1827
1827
|
"character": 13
|
|
1828
1828
|
}
|
|
1829
1829
|
],
|
|
@@ -1878,7 +1878,7 @@
|
|
|
1878
1878
|
"sources": [
|
|
1879
1879
|
{
|
|
1880
1880
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1881
|
-
"line":
|
|
1881
|
+
"line": 116,
|
|
1882
1882
|
"character": 13
|
|
1883
1883
|
}
|
|
1884
1884
|
],
|
|
@@ -1913,7 +1913,7 @@
|
|
|
1913
1913
|
"sources": [
|
|
1914
1914
|
{
|
|
1915
1915
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1916
|
-
"line":
|
|
1916
|
+
"line": 120,
|
|
1917
1917
|
"character": 13
|
|
1918
1918
|
}
|
|
1919
1919
|
],
|
|
@@ -1968,7 +1968,7 @@
|
|
|
1968
1968
|
"sources": [
|
|
1969
1969
|
{
|
|
1970
1970
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
1971
|
-
"line":
|
|
1971
|
+
"line": 212,
|
|
1972
1972
|
"character": 9
|
|
1973
1973
|
}
|
|
1974
1974
|
],
|
|
@@ -2005,7 +2005,7 @@
|
|
|
2005
2005
|
"sources": [
|
|
2006
2006
|
{
|
|
2007
2007
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2008
|
-
"line":
|
|
2008
|
+
"line": 167,
|
|
2009
2009
|
"character": 9
|
|
2010
2010
|
}
|
|
2011
2011
|
],
|
|
@@ -2042,7 +2042,7 @@
|
|
|
2042
2042
|
"sources": [
|
|
2043
2043
|
{
|
|
2044
2044
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2045
|
-
"line":
|
|
2045
|
+
"line": 279,
|
|
2046
2046
|
"character": 9
|
|
2047
2047
|
}
|
|
2048
2048
|
],
|
|
@@ -2084,7 +2084,7 @@
|
|
|
2084
2084
|
"sources": [
|
|
2085
2085
|
{
|
|
2086
2086
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2087
|
-
"line":
|
|
2087
|
+
"line": 281,
|
|
2088
2088
|
"character": 9
|
|
2089
2089
|
}
|
|
2090
2090
|
],
|
|
@@ -2113,7 +2113,7 @@
|
|
|
2113
2113
|
"sources": [
|
|
2114
2114
|
{
|
|
2115
2115
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2116
|
-
"line":
|
|
2116
|
+
"line": 283,
|
|
2117
2117
|
"character": 9
|
|
2118
2118
|
}
|
|
2119
2119
|
],
|
|
@@ -2142,7 +2142,7 @@
|
|
|
2142
2142
|
"sources": [
|
|
2143
2143
|
{
|
|
2144
2144
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2145
|
-
"line":
|
|
2145
|
+
"line": 226,
|
|
2146
2146
|
"character": 9
|
|
2147
2147
|
}
|
|
2148
2148
|
],
|
|
@@ -2224,7 +2224,7 @@
|
|
|
2224
2224
|
"sources": [
|
|
2225
2225
|
{
|
|
2226
2226
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2227
|
-
"line":
|
|
2227
|
+
"line": 230,
|
|
2228
2228
|
"character": 9
|
|
2229
2229
|
}
|
|
2230
2230
|
],
|
|
@@ -2293,7 +2293,7 @@
|
|
|
2293
2293
|
"sources": [
|
|
2294
2294
|
{
|
|
2295
2295
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2296
|
-
"line":
|
|
2296
|
+
"line": 234,
|
|
2297
2297
|
"character": 9
|
|
2298
2298
|
}
|
|
2299
2299
|
],
|
|
@@ -2362,7 +2362,7 @@
|
|
|
2362
2362
|
"sources": [
|
|
2363
2363
|
{
|
|
2364
2364
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2365
|
-
"line":
|
|
2365
|
+
"line": 238,
|
|
2366
2366
|
"character": 9
|
|
2367
2367
|
}
|
|
2368
2368
|
],
|
|
@@ -2391,7 +2391,7 @@
|
|
|
2391
2391
|
"sources": [
|
|
2392
2392
|
{
|
|
2393
2393
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2394
|
-
"line":
|
|
2394
|
+
"line": 262,
|
|
2395
2395
|
"character": 9
|
|
2396
2396
|
}
|
|
2397
2397
|
],
|
|
@@ -2433,7 +2433,7 @@
|
|
|
2433
2433
|
"sources": [
|
|
2434
2434
|
{
|
|
2435
2435
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2436
|
-
"line":
|
|
2436
|
+
"line": 250,
|
|
2437
2437
|
"character": 9
|
|
2438
2438
|
}
|
|
2439
2439
|
],
|
|
@@ -2483,7 +2483,7 @@
|
|
|
2483
2483
|
"sources": [
|
|
2484
2484
|
{
|
|
2485
2485
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2486
|
-
"line":
|
|
2486
|
+
"line": 254,
|
|
2487
2487
|
"character": 9
|
|
2488
2488
|
}
|
|
2489
2489
|
],
|
|
@@ -2533,7 +2533,7 @@
|
|
|
2533
2533
|
"sources": [
|
|
2534
2534
|
{
|
|
2535
2535
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2536
|
-
"line":
|
|
2536
|
+
"line": 222,
|
|
2537
2537
|
"character": 9
|
|
2538
2538
|
}
|
|
2539
2539
|
],
|
|
@@ -2618,7 +2618,7 @@
|
|
|
2618
2618
|
"sources": [
|
|
2619
2619
|
{
|
|
2620
2620
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete-input.directive.ts",
|
|
2621
|
-
"line":
|
|
2621
|
+
"line": 44,
|
|
2622
2622
|
"character": 13
|
|
2623
2623
|
}
|
|
2624
2624
|
],
|
|
@@ -2655,7 +2655,7 @@
|
|
|
2655
2655
|
"name": "Component"
|
|
2656
2656
|
},
|
|
2657
2657
|
"arguments": {
|
|
2658
|
-
"obj": "{\n selector: 'sky-autocomplete',\n templateUrl: './autocomplete.component.html',\n styleUrls: ['./autocomplete.component.scss'],\n providers: [
|
|
2658
|
+
"obj": "{\n selector: 'sky-autocomplete',\n templateUrl: './autocomplete.component.html',\n styleUrls: ['./autocomplete.component.scss'],\n providers: [SkyAutocompleteAdapterService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
|
|
2659
2659
|
}
|
|
2660
2660
|
}
|
|
2661
2661
|
],
|
|
@@ -2669,7 +2669,7 @@
|
|
|
2669
2669
|
"sources": [
|
|
2670
2670
|
{
|
|
2671
2671
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2672
|
-
"line":
|
|
2672
|
+
"line": 415,
|
|
2673
2673
|
"character": 2
|
|
2674
2674
|
}
|
|
2675
2675
|
],
|
|
@@ -2798,7 +2798,7 @@
|
|
|
2798
2798
|
"sources": [
|
|
2799
2799
|
{
|
|
2800
2800
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2801
|
-
"line":
|
|
2801
|
+
"line": 78,
|
|
2802
2802
|
"character": 9
|
|
2803
2803
|
}
|
|
2804
2804
|
],
|
|
@@ -2818,7 +2818,7 @@
|
|
|
2818
2818
|
"sources": [
|
|
2819
2819
|
{
|
|
2820
2820
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2821
|
-
"line":
|
|
2821
|
+
"line": 289,
|
|
2822
2822
|
"character": 9
|
|
2823
2823
|
}
|
|
2824
2824
|
],
|
|
@@ -2858,7 +2858,7 @@
|
|
|
2858
2858
|
"sources": [
|
|
2859
2859
|
{
|
|
2860
2860
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2861
|
-
"line":
|
|
2861
|
+
"line": 253,
|
|
2862
2862
|
"character": 9
|
|
2863
2863
|
}
|
|
2864
2864
|
],
|
|
@@ -2878,7 +2878,7 @@
|
|
|
2878
2878
|
"sources": [
|
|
2879
2879
|
{
|
|
2880
2880
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2881
|
-
"line":
|
|
2881
|
+
"line": 291,
|
|
2882
2882
|
"character": 9
|
|
2883
2883
|
}
|
|
2884
2884
|
],
|
|
@@ -2898,7 +2898,7 @@
|
|
|
2898
2898
|
"sources": [
|
|
2899
2899
|
{
|
|
2900
2900
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2901
|
-
"line":
|
|
2901
|
+
"line": 293,
|
|
2902
2902
|
"character": 9
|
|
2903
2903
|
}
|
|
2904
2904
|
],
|
|
@@ -2931,7 +2931,7 @@
|
|
|
2931
2931
|
"sources": [
|
|
2932
2932
|
{
|
|
2933
2933
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2934
|
-
"line":
|
|
2934
|
+
"line": 222,
|
|
2935
2935
|
"character": 9
|
|
2936
2936
|
}
|
|
2937
2937
|
],
|
|
@@ -2955,7 +2955,7 @@
|
|
|
2955
2955
|
"sources": [
|
|
2956
2956
|
{
|
|
2957
2957
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2958
|
-
"line":
|
|
2958
|
+
"line": 295,
|
|
2959
2959
|
"character": 9
|
|
2960
2960
|
}
|
|
2961
2961
|
],
|
|
@@ -2985,7 +2985,7 @@
|
|
|
2985
2985
|
"sources": [
|
|
2986
2986
|
{
|
|
2987
2987
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
2988
|
-
"line":
|
|
2988
|
+
"line": 86,
|
|
2989
2989
|
"character": 13
|
|
2990
2990
|
}
|
|
2991
2991
|
],
|
|
@@ -3062,7 +3062,7 @@
|
|
|
3062
3062
|
"sources": [
|
|
3063
3063
|
{
|
|
3064
3064
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3065
|
-
"line":
|
|
3065
|
+
"line": 100,
|
|
3066
3066
|
"character": 13
|
|
3067
3067
|
}
|
|
3068
3068
|
],
|
|
@@ -3139,7 +3139,7 @@
|
|
|
3139
3139
|
"sources": [
|
|
3140
3140
|
{
|
|
3141
3141
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3142
|
-
"line":
|
|
3142
|
+
"line": 114,
|
|
3143
3143
|
"character": 13
|
|
3144
3144
|
}
|
|
3145
3145
|
],
|
|
@@ -3206,7 +3206,7 @@
|
|
|
3206
3206
|
"sources": [
|
|
3207
3207
|
{
|
|
3208
3208
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3209
|
-
"line":
|
|
3209
|
+
"line": 285,
|
|
3210
3210
|
"character": 13
|
|
3211
3211
|
}
|
|
3212
3212
|
],
|
|
@@ -3245,7 +3245,7 @@
|
|
|
3245
3245
|
"sources": [
|
|
3246
3246
|
{
|
|
3247
3247
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3248
|
-
"line":
|
|
3248
|
+
"line": 154,
|
|
3249
3249
|
"character": 13
|
|
3250
3250
|
}
|
|
3251
3251
|
],
|
|
@@ -3328,7 +3328,7 @@
|
|
|
3328
3328
|
"sources": [
|
|
3329
3329
|
{
|
|
3330
3330
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3331
|
-
"line":
|
|
3331
|
+
"line": 169,
|
|
3332
3332
|
"character": 13
|
|
3333
3333
|
}
|
|
3334
3334
|
],
|
|
@@ -3401,7 +3401,7 @@
|
|
|
3401
3401
|
"sources": [
|
|
3402
3402
|
{
|
|
3403
3403
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3404
|
-
"line":
|
|
3404
|
+
"line": 189,
|
|
3405
3405
|
"character": 13
|
|
3406
3406
|
}
|
|
3407
3407
|
],
|
|
@@ -3474,7 +3474,7 @@
|
|
|
3474
3474
|
"sources": [
|
|
3475
3475
|
{
|
|
3476
3476
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3477
|
-
"line":
|
|
3477
|
+
"line": 281,
|
|
3478
3478
|
"character": 13
|
|
3479
3479
|
}
|
|
3480
3480
|
],
|
|
@@ -3516,7 +3516,7 @@
|
|
|
3516
3516
|
"sources": [
|
|
3517
3517
|
{
|
|
3518
3518
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3519
|
-
"line":
|
|
3519
|
+
"line": 229,
|
|
3520
3520
|
"character": 13
|
|
3521
3521
|
}
|
|
3522
3522
|
],
|
|
@@ -3587,7 +3587,7 @@
|
|
|
3587
3587
|
"sources": [
|
|
3588
3588
|
{
|
|
3589
3589
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3590
|
-
"line":
|
|
3590
|
+
"line": 204,
|
|
3591
3591
|
"character": 13
|
|
3592
3592
|
}
|
|
3593
3593
|
],
|
|
@@ -3664,7 +3664,7 @@
|
|
|
3664
3664
|
"sources": [
|
|
3665
3665
|
{
|
|
3666
3666
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3667
|
-
"line":
|
|
3667
|
+
"line": 273,
|
|
3668
3668
|
"character": 13
|
|
3669
3669
|
}
|
|
3670
3670
|
],
|
|
@@ -3703,7 +3703,7 @@
|
|
|
3703
3703
|
"sources": [
|
|
3704
3704
|
{
|
|
3705
3705
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3706
|
-
"line":
|
|
3706
|
+
"line": 297,
|
|
3707
3707
|
"character": 13
|
|
3708
3708
|
}
|
|
3709
3709
|
],
|
|
@@ -3732,7 +3732,7 @@
|
|
|
3732
3732
|
"sources": [
|
|
3733
3733
|
{
|
|
3734
3734
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3735
|
-
"line":
|
|
3735
|
+
"line": 453,
|
|
3736
3736
|
"character": 9
|
|
3737
3737
|
}
|
|
3738
3738
|
],
|
|
@@ -3761,7 +3761,7 @@
|
|
|
3761
3761
|
"sources": [
|
|
3762
3762
|
{
|
|
3763
3763
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3764
|
-
"line":
|
|
3764
|
+
"line": 459,
|
|
3765
3765
|
"character": 9
|
|
3766
3766
|
}
|
|
3767
3767
|
],
|
|
@@ -3803,7 +3803,7 @@
|
|
|
3803
3803
|
"sources": [
|
|
3804
3804
|
{
|
|
3805
3805
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3806
|
-
"line":
|
|
3806
|
+
"line": 568,
|
|
3807
3807
|
"character": 9
|
|
3808
3808
|
}
|
|
3809
3809
|
],
|
|
@@ -3845,7 +3845,7 @@
|
|
|
3845
3845
|
"sources": [
|
|
3846
3846
|
{
|
|
3847
3847
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3848
|
-
"line":
|
|
3848
|
+
"line": 540,
|
|
3849
3849
|
"character": 9
|
|
3850
3850
|
}
|
|
3851
3851
|
],
|
|
@@ -3874,7 +3874,7 @@
|
|
|
3874
3874
|
"sources": [
|
|
3875
3875
|
{
|
|
3876
3876
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3877
|
-
"line":
|
|
3877
|
+
"line": 428,
|
|
3878
3878
|
"character": 9
|
|
3879
3879
|
}
|
|
3880
3880
|
],
|
|
@@ -3911,7 +3911,7 @@
|
|
|
3911
3911
|
"sources": [
|
|
3912
3912
|
{
|
|
3913
3913
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3914
|
-
"line":
|
|
3914
|
+
"line": 440,
|
|
3915
3915
|
"character": 9
|
|
3916
3916
|
}
|
|
3917
3917
|
],
|
|
@@ -3948,7 +3948,7 @@
|
|
|
3948
3948
|
"sources": [
|
|
3949
3949
|
{
|
|
3950
3950
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3951
|
-
"line":
|
|
3951
|
+
"line": 444,
|
|
3952
3952
|
"character": 9
|
|
3953
3953
|
}
|
|
3954
3954
|
],
|
|
@@ -3985,7 +3985,7 @@
|
|
|
3985
3985
|
"sources": [
|
|
3986
3986
|
{
|
|
3987
3987
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
3988
|
-
"line":
|
|
3988
|
+
"line": 546,
|
|
3989
3989
|
"character": 9
|
|
3990
3990
|
}
|
|
3991
3991
|
],
|
|
@@ -4038,7 +4038,7 @@
|
|
|
4038
4038
|
"sources": [
|
|
4039
4039
|
{
|
|
4040
4040
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
4041
|
-
"line":
|
|
4041
|
+
"line": 559,
|
|
4042
4042
|
"character": 9
|
|
4043
4043
|
}
|
|
4044
4044
|
],
|
|
@@ -4128,7 +4128,7 @@
|
|
|
4128
4128
|
"sources": [
|
|
4129
4129
|
{
|
|
4130
4130
|
"fileName": "projects/lookup/src/modules/autocomplete/autocomplete.component.ts",
|
|
4131
|
-
"line":
|
|
4131
|
+
"line": 67,
|
|
4132
4132
|
"character": 13
|
|
4133
4133
|
}
|
|
4134
4134
|
],
|
|
@@ -4161,7 +4161,7 @@
|
|
|
4161
4161
|
"name": "Component"
|
|
4162
4162
|
},
|
|
4163
4163
|
"arguments": {
|
|
4164
|
-
"obj": "{\n selector: 'sky-country-field',\n templateUrl: './country-field.component.html',\n styleUrls: ['./country-field.component.scss'],\n providers: [
|
|
4164
|
+
"obj": "{\n selector: 'sky-country-field',\n templateUrl: './country-field.component.html',\n styleUrls: ['./country-field.component.scss'],\n providers: [SKY_COUNTRY_FIELD_VALIDATOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
|
|
4165
4165
|
}
|
|
4166
4166
|
}
|
|
4167
4167
|
],
|
|
@@ -4175,7 +4175,7 @@
|
|
|
4175
4175
|
"sources": [
|
|
4176
4176
|
{
|
|
4177
4177
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4178
|
-
"line":
|
|
4178
|
+
"line": 267,
|
|
4179
4179
|
"character": 2
|
|
4180
4180
|
}
|
|
4181
4181
|
],
|
|
@@ -4322,7 +4322,7 @@
|
|
|
4322
4322
|
"sources": [
|
|
4323
4323
|
{
|
|
4324
4324
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4325
|
-
"line":
|
|
4325
|
+
"line": 74,
|
|
4326
4326
|
"character": 9
|
|
4327
4327
|
}
|
|
4328
4328
|
],
|
|
@@ -4342,7 +4342,7 @@
|
|
|
4342
4342
|
"sources": [
|
|
4343
4343
|
{
|
|
4344
4344
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4345
|
-
"line":
|
|
4345
|
+
"line": 166,
|
|
4346
4346
|
"character": 9
|
|
4347
4347
|
}
|
|
4348
4348
|
],
|
|
@@ -4378,7 +4378,7 @@
|
|
|
4378
4378
|
"sources": [
|
|
4379
4379
|
{
|
|
4380
4380
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4381
|
-
"line":
|
|
4381
|
+
"line": 175,
|
|
4382
4382
|
"character": 9
|
|
4383
4383
|
}
|
|
4384
4384
|
],
|
|
@@ -4399,7 +4399,7 @@
|
|
|
4399
4399
|
"sources": [
|
|
4400
4400
|
{
|
|
4401
4401
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4402
|
-
"line":
|
|
4402
|
+
"line": 168,
|
|
4403
4403
|
"character": 9
|
|
4404
4404
|
}
|
|
4405
4405
|
],
|
|
@@ -4419,7 +4419,7 @@
|
|
|
4419
4419
|
"sources": [
|
|
4420
4420
|
{
|
|
4421
4421
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4422
|
-
"line":
|
|
4422
|
+
"line": 229,
|
|
4423
4423
|
"character": 9
|
|
4424
4424
|
}
|
|
4425
4425
|
],
|
|
@@ -4459,7 +4459,7 @@
|
|
|
4459
4459
|
"sources": [
|
|
4460
4460
|
{
|
|
4461
4461
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4462
|
-
"line":
|
|
4462
|
+
"line": 124,
|
|
4463
4463
|
"character": 9
|
|
4464
4464
|
}
|
|
4465
4465
|
],
|
|
@@ -4493,7 +4493,7 @@
|
|
|
4493
4493
|
"sources": [
|
|
4494
4494
|
{
|
|
4495
4495
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4496
|
-
"line":
|
|
4496
|
+
"line": 231,
|
|
4497
4497
|
"character": 9
|
|
4498
4498
|
}
|
|
4499
4499
|
],
|
|
@@ -4513,7 +4513,7 @@
|
|
|
4513
4513
|
"sources": [
|
|
4514
4514
|
{
|
|
4515
4515
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4516
|
-
"line":
|
|
4516
|
+
"line": 170,
|
|
4517
4517
|
"character": 9
|
|
4518
4518
|
}
|
|
4519
4519
|
],
|
|
@@ -4534,7 +4534,7 @@
|
|
|
4534
4534
|
"sources": [
|
|
4535
4535
|
{
|
|
4536
4536
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4537
|
-
"line":
|
|
4537
|
+
"line": 372,
|
|
4538
4538
|
"character": 9
|
|
4539
4539
|
}
|
|
4540
4540
|
],
|
|
@@ -4555,7 +4555,7 @@
|
|
|
4555
4555
|
"sources": [
|
|
4556
4556
|
{
|
|
4557
4557
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4558
|
-
"line":
|
|
4558
|
+
"line": 375,
|
|
4559
4559
|
"character": 9
|
|
4560
4560
|
}
|
|
4561
4561
|
],
|
|
@@ -4576,7 +4576,7 @@
|
|
|
4576
4576
|
"sources": [
|
|
4577
4577
|
{
|
|
4578
4578
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4579
|
-
"line":
|
|
4579
|
+
"line": 172,
|
|
4580
4580
|
"character": 9
|
|
4581
4581
|
}
|
|
4582
4582
|
],
|
|
@@ -4610,7 +4610,7 @@
|
|
|
4610
4610
|
"sources": [
|
|
4611
4611
|
{
|
|
4612
4612
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4613
|
-
"line":
|
|
4613
|
+
"line": 164,
|
|
4614
4614
|
"character": 9
|
|
4615
4615
|
}
|
|
4616
4616
|
],
|
|
@@ -4648,7 +4648,7 @@
|
|
|
4648
4648
|
"sources": [
|
|
4649
4649
|
{
|
|
4650
4650
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4651
|
-
"line":
|
|
4651
|
+
"line": 83,
|
|
4652
4652
|
"character": 13
|
|
4653
4653
|
}
|
|
4654
4654
|
],
|
|
@@ -4725,7 +4725,7 @@
|
|
|
4725
4725
|
"sources": [
|
|
4726
4726
|
{
|
|
4727
4727
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4728
|
-
"line":
|
|
4728
|
+
"line": 103,
|
|
4729
4729
|
"character": 13
|
|
4730
4730
|
}
|
|
4731
4731
|
],
|
|
@@ -4796,7 +4796,7 @@
|
|
|
4796
4796
|
"sources": [
|
|
4797
4797
|
{
|
|
4798
4798
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4799
|
-
"line":
|
|
4799
|
+
"line": 131,
|
|
4800
4800
|
"character": 13
|
|
4801
4801
|
}
|
|
4802
4802
|
],
|
|
@@ -4863,7 +4863,7 @@
|
|
|
4863
4863
|
"sources": [
|
|
4864
4864
|
{
|
|
4865
4865
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4866
|
-
"line":
|
|
4866
|
+
"line": 177,
|
|
4867
4867
|
"character": 13
|
|
4868
4868
|
}
|
|
4869
4869
|
],
|
|
@@ -4930,7 +4930,7 @@
|
|
|
4930
4930
|
"sources": [
|
|
4931
4931
|
{
|
|
4932
4932
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
4933
|
-
"line":
|
|
4933
|
+
"line": 146,
|
|
4934
4934
|
"character": 13
|
|
4935
4935
|
}
|
|
4936
4936
|
],
|
|
@@ -4997,7 +4997,7 @@
|
|
|
4997
4997
|
"sources": [
|
|
4998
4998
|
{
|
|
4999
4999
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
5000
|
-
"line":
|
|
5000
|
+
"line": 322,
|
|
5001
5001
|
"character": 9
|
|
5002
5002
|
}
|
|
5003
5003
|
],
|
|
@@ -5034,7 +5034,7 @@
|
|
|
5034
5034
|
"sources": [
|
|
5035
5035
|
{
|
|
5036
5036
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
5037
|
-
"line":
|
|
5037
|
+
"line": 377,
|
|
5038
5038
|
"character": 9
|
|
5039
5039
|
}
|
|
5040
5040
|
],
|
|
@@ -5116,7 +5116,7 @@
|
|
|
5116
5116
|
"sources": [
|
|
5117
5117
|
{
|
|
5118
5118
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
5119
|
-
"line":
|
|
5119
|
+
"line": 381,
|
|
5120
5120
|
"character": 9
|
|
5121
5121
|
}
|
|
5122
5122
|
],
|
|
@@ -5185,7 +5185,7 @@
|
|
|
5185
5185
|
"sources": [
|
|
5186
5186
|
{
|
|
5187
5187
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
5188
|
-
"line":
|
|
5188
|
+
"line": 386,
|
|
5189
5189
|
"character": 9
|
|
5190
5190
|
}
|
|
5191
5191
|
],
|
|
@@ -5235,7 +5235,7 @@
|
|
|
5235
5235
|
"sources": [
|
|
5236
5236
|
{
|
|
5237
5237
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
5238
|
-
"line":
|
|
5238
|
+
"line": 390,
|
|
5239
5239
|
"character": 9
|
|
5240
5240
|
}
|
|
5241
5241
|
],
|
|
@@ -5285,7 +5285,7 @@
|
|
|
5285
5285
|
"sources": [
|
|
5286
5286
|
{
|
|
5287
5287
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
5288
|
-
"line":
|
|
5288
|
+
"line": 404,
|
|
5289
5289
|
"character": 9
|
|
5290
5290
|
}
|
|
5291
5291
|
],
|
|
@@ -5380,7 +5380,7 @@
|
|
|
5380
5380
|
"sources": [
|
|
5381
5381
|
{
|
|
5382
5382
|
"fileName": "projects/lookup/src/modules/country-field/country-field.component.ts",
|
|
5383
|
-
"line":
|
|
5383
|
+
"line": 66,
|
|
5384
5384
|
"character": 13
|
|
5385
5385
|
}
|
|
5386
5386
|
],
|
|
@@ -5421,7 +5421,7 @@
|
|
|
5421
5421
|
"name": "Component"
|
|
5422
5422
|
},
|
|
5423
5423
|
"arguments": {
|
|
5424
|
-
"obj": "{\n selector: 'sky-lookup',\n templateUrl: './lookup.component.html',\n styleUrls: ['./lookup.component.scss'],\n providers: [
|
|
5424
|
+
"obj": "{\n selector: 'sky-lookup',\n templateUrl: './lookup.component.html',\n styleUrls: ['./lookup.component.scss'],\n providers: [SkyLookupAdapterService],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
|
|
5425
5425
|
}
|
|
5426
5426
|
}
|
|
5427
5427
|
],
|
|
@@ -5435,7 +5435,7 @@
|
|
|
5435
5435
|
"sources": [
|
|
5436
5436
|
{
|
|
5437
5437
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5438
|
-
"line":
|
|
5438
|
+
"line": 288,
|
|
5439
5439
|
"character": 2
|
|
5440
5440
|
}
|
|
5441
5441
|
],
|
|
@@ -5635,7 +5635,7 @@
|
|
|
5635
5635
|
"sources": [
|
|
5636
5636
|
{
|
|
5637
5637
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5638
|
-
"line":
|
|
5638
|
+
"line": 196,
|
|
5639
5639
|
"character": 9
|
|
5640
5640
|
}
|
|
5641
5641
|
],
|
|
@@ -5676,7 +5676,7 @@
|
|
|
5676
5676
|
"sources": [
|
|
5677
5677
|
{
|
|
5678
5678
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5679
|
-
"line":
|
|
5679
|
+
"line": 85,
|
|
5680
5680
|
"character": 9
|
|
5681
5681
|
}
|
|
5682
5682
|
],
|
|
@@ -5709,7 +5709,7 @@
|
|
|
5709
5709
|
"sources": [
|
|
5710
5710
|
{
|
|
5711
5711
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5712
|
-
"line":
|
|
5712
|
+
"line": 94,
|
|
5713
5713
|
"character": 9
|
|
5714
5714
|
}
|
|
5715
5715
|
],
|
|
@@ -5748,7 +5748,7 @@
|
|
|
5748
5748
|
"sources": [
|
|
5749
5749
|
{
|
|
5750
5750
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5751
|
-
"line":
|
|
5751
|
+
"line": 101,
|
|
5752
5752
|
"character": 9
|
|
5753
5753
|
}
|
|
5754
5754
|
],
|
|
@@ -5768,7 +5768,7 @@
|
|
|
5768
5768
|
"sources": [
|
|
5769
5769
|
{
|
|
5770
5770
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5771
|
-
"line":
|
|
5771
|
+
"line": 237,
|
|
5772
5772
|
"character": 9
|
|
5773
5773
|
}
|
|
5774
5774
|
],
|
|
@@ -5814,7 +5814,7 @@
|
|
|
5814
5814
|
"sources": [
|
|
5815
5815
|
{
|
|
5816
5816
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
5817
|
-
"line":
|
|
5817
|
+
"line": 20,
|
|
5818
5818
|
"character": 9
|
|
5819
5819
|
}
|
|
5820
5820
|
],
|
|
@@ -5851,7 +5851,7 @@
|
|
|
5851
5851
|
"sources": [
|
|
5852
5852
|
{
|
|
5853
5853
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5854
|
-
"line":
|
|
5854
|
+
"line": 126,
|
|
5855
5855
|
"character": 9
|
|
5856
5856
|
}
|
|
5857
5857
|
],
|
|
@@ -5885,7 +5885,7 @@
|
|
|
5885
5885
|
"sources": [
|
|
5886
5886
|
{
|
|
5887
5887
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5888
|
-
"line":
|
|
5888
|
+
"line": 132,
|
|
5889
5889
|
"character": 9
|
|
5890
5890
|
}
|
|
5891
5891
|
],
|
|
@@ -5919,7 +5919,7 @@
|
|
|
5919
5919
|
"sources": [
|
|
5920
5920
|
{
|
|
5921
5921
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5922
|
-
"line":
|
|
5922
|
+
"line": 145,
|
|
5923
5923
|
"character": 9
|
|
5924
5924
|
}
|
|
5925
5925
|
],
|
|
@@ -5953,7 +5953,7 @@
|
|
|
5953
5953
|
"sources": [
|
|
5954
5954
|
{
|
|
5955
5955
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5956
|
-
"line":
|
|
5956
|
+
"line": 238,
|
|
5957
5957
|
"character": 9
|
|
5958
5958
|
}
|
|
5959
5959
|
],
|
|
@@ -5987,7 +5987,7 @@
|
|
|
5987
5987
|
"sources": [
|
|
5988
5988
|
{
|
|
5989
5989
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
5990
|
-
"line":
|
|
5990
|
+
"line": 138,
|
|
5991
5991
|
"character": 9
|
|
5992
5992
|
}
|
|
5993
5993
|
],
|
|
@@ -6020,7 +6020,7 @@
|
|
|
6020
6020
|
"sources": [
|
|
6021
6021
|
{
|
|
6022
6022
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
6023
|
-
"line":
|
|
6023
|
+
"line": 95,
|
|
6024
6024
|
"character": 9
|
|
6025
6025
|
}
|
|
6026
6026
|
],
|
|
@@ -6061,7 +6061,7 @@
|
|
|
6061
6061
|
"sources": [
|
|
6062
6062
|
{
|
|
6063
6063
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
6064
|
-
"line":
|
|
6064
|
+
"line": 76,
|
|
6065
6065
|
"character": 9
|
|
6066
6066
|
}
|
|
6067
6067
|
],
|
|
@@ -6104,7 +6104,7 @@
|
|
|
6104
6104
|
"sources": [
|
|
6105
6105
|
{
|
|
6106
6106
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
6107
|
-
"line":
|
|
6107
|
+
"line": 102,
|
|
6108
6108
|
"character": 9
|
|
6109
6109
|
}
|
|
6110
6110
|
],
|
|
@@ -6147,7 +6147,7 @@
|
|
|
6147
6147
|
"sources": [
|
|
6148
6148
|
{
|
|
6149
6149
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
6150
|
-
"line":
|
|
6150
|
+
"line": 85,
|
|
6151
6151
|
"character": 9
|
|
6152
6152
|
}
|
|
6153
6153
|
],
|
|
@@ -6184,7 +6184,7 @@
|
|
|
6184
6184
|
"sources": [
|
|
6185
6185
|
{
|
|
6186
6186
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6187
|
-
"line":
|
|
6187
|
+
"line": 151,
|
|
6188
6188
|
"character": 9
|
|
6189
6189
|
}
|
|
6190
6190
|
],
|
|
@@ -6218,7 +6218,7 @@
|
|
|
6218
6218
|
"sources": [
|
|
6219
6219
|
{
|
|
6220
6220
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6221
|
-
"line":
|
|
6221
|
+
"line": 157,
|
|
6222
6222
|
"character": 9
|
|
6223
6223
|
}
|
|
6224
6224
|
],
|
|
@@ -6253,7 +6253,7 @@
|
|
|
6253
6253
|
"sources": [
|
|
6254
6254
|
{
|
|
6255
6255
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6256
|
-
"line":
|
|
6256
|
+
"line": 239,
|
|
6257
6257
|
"character": 9
|
|
6258
6258
|
}
|
|
6259
6259
|
],
|
|
@@ -6290,7 +6290,7 @@
|
|
|
6290
6290
|
"sources": [
|
|
6291
6291
|
{
|
|
6292
6292
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6293
|
-
"line":
|
|
6293
|
+
"line": 110,
|
|
6294
6294
|
"character": 13
|
|
6295
6295
|
}
|
|
6296
6296
|
],
|
|
@@ -6373,7 +6373,7 @@
|
|
|
6373
6373
|
"sources": [
|
|
6374
6374
|
{
|
|
6375
6375
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
6376
|
-
"line":
|
|
6376
|
+
"line": 28,
|
|
6377
6377
|
"character": 13
|
|
6378
6378
|
}
|
|
6379
6379
|
],
|
|
@@ -6450,8 +6450,8 @@
|
|
|
6450
6450
|
"sources": [
|
|
6451
6451
|
{
|
|
6452
6452
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
6453
|
-
"line":
|
|
6454
|
-
"character":
|
|
6453
|
+
"line": 41,
|
|
6454
|
+
"character": 13
|
|
6455
6455
|
}
|
|
6456
6456
|
],
|
|
6457
6457
|
"getSignature": [
|
|
@@ -6533,8 +6533,8 @@
|
|
|
6533
6533
|
"sources": [
|
|
6534
6534
|
{
|
|
6535
6535
|
"fileName": "projects/lookup/src/modules/lookup/lookup-autocomplete-adapter.ts",
|
|
6536
|
-
"line":
|
|
6537
|
-
"character":
|
|
6536
|
+
"line": 56,
|
|
6537
|
+
"character": 13
|
|
6538
6538
|
}
|
|
6539
6539
|
],
|
|
6540
6540
|
"getSignature": [
|
|
@@ -6606,7 +6606,7 @@
|
|
|
6606
6606
|
"sources": [
|
|
6607
6607
|
{
|
|
6608
6608
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6609
|
-
"line":
|
|
6609
|
+
"line": 164,
|
|
6610
6610
|
"character": 13
|
|
6611
6611
|
}
|
|
6612
6612
|
],
|
|
@@ -6675,7 +6675,7 @@
|
|
|
6675
6675
|
"sources": [
|
|
6676
6676
|
{
|
|
6677
6677
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6678
|
-
"line":
|
|
6678
|
+
"line": 198,
|
|
6679
6679
|
"character": 13
|
|
6680
6680
|
}
|
|
6681
6681
|
],
|
|
@@ -6736,7 +6736,7 @@
|
|
|
6736
6736
|
"sources": [
|
|
6737
6737
|
{
|
|
6738
6738
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6739
|
-
"line":
|
|
6739
|
+
"line": 222,
|
|
6740
6740
|
"character": 13
|
|
6741
6741
|
}
|
|
6742
6742
|
],
|
|
@@ -6797,7 +6797,7 @@
|
|
|
6797
6797
|
"sources": [
|
|
6798
6798
|
{
|
|
6799
6799
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6800
|
-
"line":
|
|
6800
|
+
"line": 341,
|
|
6801
6801
|
"character": 9
|
|
6802
6802
|
}
|
|
6803
6803
|
],
|
|
@@ -6826,7 +6826,7 @@
|
|
|
6826
6826
|
"sources": [
|
|
6827
6827
|
{
|
|
6828
6828
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6829
|
-
"line":
|
|
6829
|
+
"line": 445,
|
|
6830
6830
|
"character": 9
|
|
6831
6831
|
}
|
|
6832
6832
|
],
|
|
@@ -6855,7 +6855,7 @@
|
|
|
6855
6855
|
"sources": [
|
|
6856
6856
|
{
|
|
6857
6857
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6858
|
-
"line":
|
|
6858
|
+
"line": 454,
|
|
6859
6859
|
"character": 9
|
|
6860
6860
|
}
|
|
6861
6861
|
],
|
|
@@ -6908,7 +6908,7 @@
|
|
|
6908
6908
|
"sources": [
|
|
6909
6909
|
{
|
|
6910
6910
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6911
|
-
"line":
|
|
6911
|
+
"line": 476,
|
|
6912
6912
|
"character": 9
|
|
6913
6913
|
}
|
|
6914
6914
|
],
|
|
@@ -6950,7 +6950,7 @@
|
|
|
6950
6950
|
"sources": [
|
|
6951
6951
|
{
|
|
6952
6952
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6953
|
-
"line":
|
|
6953
|
+
"line": 328,
|
|
6954
6954
|
"character": 9
|
|
6955
6955
|
}
|
|
6956
6956
|
],
|
|
@@ -6987,7 +6987,7 @@
|
|
|
6987
6987
|
"sources": [
|
|
6988
6988
|
{
|
|
6989
6989
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
6990
|
-
"line":
|
|
6990
|
+
"line": 334,
|
|
6991
6991
|
"character": 9
|
|
6992
6992
|
}
|
|
6993
6993
|
],
|
|
@@ -7024,7 +7024,7 @@
|
|
|
7024
7024
|
"sources": [
|
|
7025
7025
|
{
|
|
7026
7026
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7027
|
-
"line":
|
|
7027
|
+
"line": 303,
|
|
7028
7028
|
"character": 9
|
|
7029
7029
|
}
|
|
7030
7030
|
],
|
|
@@ -7061,7 +7061,7 @@
|
|
|
7061
7061
|
"sources": [
|
|
7062
7062
|
{
|
|
7063
7063
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7064
|
-
"line":
|
|
7064
|
+
"line": 359,
|
|
7065
7065
|
"character": 9
|
|
7066
7066
|
}
|
|
7067
7067
|
],
|
|
@@ -7090,7 +7090,7 @@
|
|
|
7090
7090
|
"sources": [
|
|
7091
7091
|
{
|
|
7092
7092
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7093
|
-
"line":
|
|
7093
|
+
"line": 348,
|
|
7094
7094
|
"character": 9
|
|
7095
7095
|
}
|
|
7096
7096
|
],
|
|
@@ -7133,7 +7133,7 @@
|
|
|
7133
7133
|
"sources": [
|
|
7134
7134
|
{
|
|
7135
7135
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7136
|
-
"line":
|
|
7136
|
+
"line": 421,
|
|
7137
7137
|
"character": 9
|
|
7138
7138
|
}
|
|
7139
7139
|
],
|
|
@@ -7178,7 +7178,7 @@
|
|
|
7178
7178
|
"sources": [
|
|
7179
7179
|
{
|
|
7180
7180
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7181
|
-
"line":
|
|
7181
|
+
"line": 502,
|
|
7182
7182
|
"character": 9
|
|
7183
7183
|
}
|
|
7184
7184
|
],
|
|
@@ -7207,7 +7207,7 @@
|
|
|
7207
7207
|
"sources": [
|
|
7208
7208
|
{
|
|
7209
7209
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7210
|
-
"line":
|
|
7210
|
+
"line": 521,
|
|
7211
7211
|
"character": 9
|
|
7212
7212
|
}
|
|
7213
7213
|
],
|
|
@@ -7249,7 +7249,7 @@
|
|
|
7249
7249
|
"sources": [
|
|
7250
7250
|
{
|
|
7251
7251
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7252
|
-
"line":
|
|
7252
|
+
"line": 363,
|
|
7253
7253
|
"character": 9
|
|
7254
7254
|
}
|
|
7255
7255
|
],
|
|
@@ -7294,7 +7294,7 @@
|
|
|
7294
7294
|
"sources": [
|
|
7295
7295
|
{
|
|
7296
7296
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7297
|
-
"line":
|
|
7297
|
+
"line": 385,
|
|
7298
7298
|
"character": 9
|
|
7299
7299
|
}
|
|
7300
7300
|
],
|
|
@@ -7323,7 +7323,7 @@
|
|
|
7323
7323
|
"sources": [
|
|
7324
7324
|
{
|
|
7325
7325
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7326
|
-
"line":
|
|
7326
|
+
"line": 391,
|
|
7327
7327
|
"character": 9
|
|
7328
7328
|
}
|
|
7329
7329
|
],
|
|
@@ -7365,7 +7365,7 @@
|
|
|
7365
7365
|
"sources": [
|
|
7366
7366
|
{
|
|
7367
7367
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7368
|
-
"line":
|
|
7368
|
+
"line": 423,
|
|
7369
7369
|
"character": 9
|
|
7370
7370
|
}
|
|
7371
7371
|
],
|
|
@@ -7394,7 +7394,7 @@
|
|
|
7394
7394
|
"sources": [
|
|
7395
7395
|
{
|
|
7396
7396
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7397
|
-
"line":
|
|
7397
|
+
"line": 529,
|
|
7398
7398
|
"character": 9
|
|
7399
7399
|
}
|
|
7400
7400
|
],
|
|
@@ -7436,7 +7436,7 @@
|
|
|
7436
7436
|
"sources": [
|
|
7437
7437
|
{
|
|
7438
7438
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7439
|
-
"line":
|
|
7439
|
+
"line": 425,
|
|
7440
7440
|
"character": 9
|
|
7441
7441
|
}
|
|
7442
7442
|
],
|
|
@@ -7518,7 +7518,7 @@
|
|
|
7518
7518
|
"sources": [
|
|
7519
7519
|
{
|
|
7520
7520
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7521
|
-
"line":
|
|
7521
|
+
"line": 429,
|
|
7522
7522
|
"character": 9
|
|
7523
7523
|
}
|
|
7524
7524
|
],
|
|
@@ -7587,7 +7587,7 @@
|
|
|
7587
7587
|
"sources": [
|
|
7588
7588
|
{
|
|
7589
7589
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7590
|
-
"line":
|
|
7590
|
+
"line": 434,
|
|
7591
7591
|
"character": 9
|
|
7592
7592
|
}
|
|
7593
7593
|
],
|
|
@@ -7637,7 +7637,7 @@
|
|
|
7637
7637
|
"sources": [
|
|
7638
7638
|
{
|
|
7639
7639
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7640
|
-
"line":
|
|
7640
|
+
"line": 414,
|
|
7641
7641
|
"character": 9
|
|
7642
7642
|
}
|
|
7643
7643
|
],
|
|
@@ -7758,7 +7758,7 @@
|
|
|
7758
7758
|
"sources": [
|
|
7759
7759
|
{
|
|
7760
7760
|
"fileName": "projects/lookup/src/modules/lookup/lookup.component.ts",
|
|
7761
|
-
"line":
|
|
7761
|
+
"line": 75,
|
|
7762
7762
|
"character": 13
|
|
7763
7763
|
}
|
|
7764
7764
|
],
|
|
@@ -7859,7 +7859,7 @@
|
|
|
7859
7859
|
"sources": [
|
|
7860
7860
|
{
|
|
7861
7861
|
"fileName": "projects/lookup/src/modules/country-field/types/country.ts",
|
|
7862
|
-
"line":
|
|
7862
|
+
"line": 21,
|
|
7863
7863
|
"character": 2
|
|
7864
7864
|
}
|
|
7865
7865
|
],
|
|
@@ -7886,7 +7886,7 @@
|
|
|
7886
7886
|
"sources": [
|
|
7887
7887
|
{
|
|
7888
7888
|
"fileName": "projects/lookup/src/modules/country-field/types/country.ts",
|
|
7889
|
-
"line":
|
|
7889
|
+
"line": 10,
|
|
7890
7890
|
"character": 2
|
|
7891
7891
|
}
|
|
7892
7892
|
],
|
|
@@ -7909,7 +7909,7 @@
|
|
|
7909
7909
|
"sources": [
|
|
7910
7910
|
{
|
|
7911
7911
|
"fileName": "projects/lookup/src/modules/country-field/types/country.ts",
|
|
7912
|
-
"line":
|
|
7912
|
+
"line": 15,
|
|
7913
7913
|
"character": 2
|
|
7914
7914
|
}
|
|
7915
7915
|
],
|
|
@@ -7962,7 +7962,7 @@
|
|
|
7962
7962
|
"sources": [
|
|
7963
7963
|
{
|
|
7964
7964
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-add-click-callback-args.ts",
|
|
7965
|
-
"line":
|
|
7965
|
+
"line": 16,
|
|
7966
7966
|
"character": 2
|
|
7967
7967
|
}
|
|
7968
7968
|
],
|
|
@@ -7986,7 +7986,7 @@
|
|
|
7986
7986
|
"sources": [
|
|
7987
7987
|
{
|
|
7988
7988
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-add-click-callback-args.ts",
|
|
7989
|
-
"line":
|
|
7989
|
+
"line": 8,
|
|
7990
7990
|
"character": 2
|
|
7991
7991
|
}
|
|
7992
7992
|
],
|
|
@@ -8033,7 +8033,7 @@
|
|
|
8033
8033
|
"sources": [
|
|
8034
8034
|
{
|
|
8035
8035
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-add-click-event-args.ts",
|
|
8036
|
-
"line":
|
|
8036
|
+
"line": 11,
|
|
8037
8037
|
"character": 2
|
|
8038
8038
|
}
|
|
8039
8039
|
],
|
|
@@ -8084,7 +8084,7 @@
|
|
|
8084
8084
|
"sources": [
|
|
8085
8085
|
{
|
|
8086
8086
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-add-click-event-args.ts",
|
|
8087
|
-
"line":
|
|
8087
|
+
"line": 6,
|
|
8088
8088
|
"character": 17
|
|
8089
8089
|
}
|
|
8090
8090
|
]
|
|
@@ -8113,7 +8113,7 @@
|
|
|
8113
8113
|
"sources": [
|
|
8114
8114
|
{
|
|
8115
8115
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-config.ts",
|
|
8116
|
-
"line":
|
|
8116
|
+
"line": 15,
|
|
8117
8117
|
"character": 2
|
|
8118
8118
|
}
|
|
8119
8119
|
],
|
|
@@ -8137,7 +8137,7 @@
|
|
|
8137
8137
|
"sources": [
|
|
8138
8138
|
{
|
|
8139
8139
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-config.ts",
|
|
8140
|
-
"line":
|
|
8140
|
+
"line": 20,
|
|
8141
8141
|
"character": 2
|
|
8142
8142
|
}
|
|
8143
8143
|
],
|
|
@@ -8161,7 +8161,7 @@
|
|
|
8161
8161
|
"sources": [
|
|
8162
8162
|
{
|
|
8163
8163
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-config.ts",
|
|
8164
|
-
"line":
|
|
8164
|
+
"line": 11,
|
|
8165
8165
|
"character": 17
|
|
8166
8166
|
}
|
|
8167
8167
|
]
|
|
@@ -8185,7 +8185,7 @@
|
|
|
8185
8185
|
"sources": [
|
|
8186
8186
|
{
|
|
8187
8187
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-custom-picker.ts",
|
|
8188
|
-
"line":
|
|
8188
|
+
"line": 7,
|
|
8189
8189
|
"character": 2
|
|
8190
8190
|
}
|
|
8191
8191
|
],
|
|
@@ -8230,7 +8230,7 @@
|
|
|
8230
8230
|
"sources": [
|
|
8231
8231
|
{
|
|
8232
8232
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-custom-picker.ts",
|
|
8233
|
-
"line":
|
|
8233
|
+
"line": 6,
|
|
8234
8234
|
"character": 17
|
|
8235
8235
|
}
|
|
8236
8236
|
]
|
|
@@ -8259,7 +8259,7 @@
|
|
|
8259
8259
|
"sources": [
|
|
8260
8260
|
{
|
|
8261
8261
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-native-picker-config.ts",
|
|
8262
|
-
"line":
|
|
8262
|
+
"line": 14,
|
|
8263
8263
|
"character": 2
|
|
8264
8264
|
}
|
|
8265
8265
|
],
|
|
@@ -8294,7 +8294,7 @@
|
|
|
8294
8294
|
"sources": [
|
|
8295
8295
|
{
|
|
8296
8296
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-native-picker-config.ts",
|
|
8297
|
-
"line":
|
|
8297
|
+
"line": 20,
|
|
8298
8298
|
"character": 2
|
|
8299
8299
|
}
|
|
8300
8300
|
],
|
|
@@ -8317,7 +8317,7 @@
|
|
|
8317
8317
|
"sources": [
|
|
8318
8318
|
{
|
|
8319
8319
|
"fileName": "projects/lookup/src/modules/lookup/types/lookup-show-more-native-picker-config.ts",
|
|
8320
|
-
"line":
|
|
8320
|
+
"line": 7,
|
|
8321
8321
|
"character": 17
|
|
8322
8322
|
}
|
|
8323
8323
|
]
|
|
@@ -8331,7 +8331,7 @@
|
|
|
8331
8331
|
"sources": [
|
|
8332
8332
|
{
|
|
8333
8333
|
"fileName": "projects/lookup/src/modules/autocomplete/types/autocomplete-search-function.ts",
|
|
8334
|
-
"line":
|
|
8334
|
+
"line": 3,
|
|
8335
8335
|
"character": 12
|
|
8336
8336
|
}
|
|
8337
8337
|
],
|
|
@@ -8346,8 +8346,8 @@
|
|
|
8346
8346
|
"sources": [
|
|
8347
8347
|
{
|
|
8348
8348
|
"fileName": "projects/lookup/src/modules/autocomplete/types/autocomplete-search-function.ts",
|
|
8349
|
-
"line":
|
|
8350
|
-
"character":
|
|
8349
|
+
"line": 3,
|
|
8350
|
+
"character": 44
|
|
8351
8351
|
}
|
|
8352
8352
|
],
|
|
8353
8353
|
"signatures": [
|
|
@@ -8418,8 +8418,8 @@
|
|
|
8418
8418
|
"sources": [
|
|
8419
8419
|
{
|
|
8420
8420
|
"fileName": "projects/lookup/src/modules/autocomplete/types/autocomplete-search-function-filter.ts",
|
|
8421
|
-
"line":
|
|
8422
|
-
"character":
|
|
8421
|
+
"line": 1,
|
|
8422
|
+
"character": 50
|
|
8423
8423
|
}
|
|
8424
8424
|
],
|
|
8425
8425
|
"signatures": [
|
|
@@ -8582,92 +8582,92 @@
|
|
|
8582
8582
|
{
|
|
8583
8583
|
"fileName": "autocomplete-demo.component.html",
|
|
8584
8584
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/advanced/autocomplete-demo.component.html",
|
|
8585
|
-
"rawContents": "<form
|
|
8585
|
+
"rawContents": "<form novalidate [formGroup]=\"myForm\">\n <div class=\"sky-margin-stacked-default\">\n The following field:<br />\n <ul>\n <li>utilizes a custom search result template,</li>\n <li>searches against the name and description properties,</li>\n <li>limits the search results to two,</li>\n <li>runs the search if the query is at least three characters long,</li>\n <li>and fires an event when a selection is made.</li>\n </ul>\n </div>\n\n <div class=\"sky-form-group\">\n <label class=\"sky-control-label\" [for]=\"planetInput.id\">\n Farthest planet from the sun\n </label>\n <sky-autocomplete\n [data]=\"planets\"\n [propertiesToSearch]=\"['name', 'description']\"\n [searchResultsLimit]=\"2\"\n [searchResultTemplate]=\"planetSearchResultTemplate\"\n [searchTextMinimumCharacters]=\"3\"\n (selectionChange)=\"onPlanetSelection($event)\"\n >\n <input\n formControlName=\"farthestPlanet\"\n skyAutocomplete\n skyId\n type=\"text\"\n #planetInput\n />\n </sky-autocomplete>\n </div>\n <p class=\"sky-emphasized\">Form model:</p>\n <pre>{{ myForm.value | json }}</pre>\n</form>\n\n<ng-template let-item=\"item\" #planetSearchResultTemplate>\n <strong>\n {{ item.name }}\n </strong>\n <br />\n {{ item.description }}\n</ng-template>\n"
|
|
8586
8586
|
},
|
|
8587
8587
|
{
|
|
8588
8588
|
"fileName": "autocomplete-demo.component.ts",
|
|
8589
8589
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/advanced/autocomplete-demo.component.ts",
|
|
8590
|
-
"rawContents": "import {
|
|
8590
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormGroup } from '@angular/forms';\n\nimport {\n SkyAutocompleteSearchFunctionFilter,\n SkyAutocompleteSelectionChange,\n} from '@skyux/lookup';\n\n@Component({\n selector: 'app-autocomplete-demo',\n templateUrl: './autocomplete-demo.component.html',\n})\nexport class AutocompleteDemoComponent implements OnInit {\n public farthestPlanet: any;\n\n public myForm: FormGroup;\n\n public planets: any[] = [\n {\n name: 'Mercury',\n description: 'Mercury is a planet in our solar system.',\n },\n { name: 'Venus', description: 'Venus is a planet in our solar system.' },\n { name: 'Earth', description: 'Earth is a planet in our solar system.' },\n { name: 'Mars', description: 'Mars is a planet in our solar system.' },\n {\n name: 'Jupiter',\n description: 'Jupiter is a planet in our solar system.',\n },\n { name: 'Saturn', description: 'Saturn is a planet in our solar system.' },\n { name: 'Uranus', description: 'Uranus is a planet in our solar system.' },\n {\n name: 'Neptune',\n description: 'Neptune is a planet in our solar system.',\n },\n ];\n\n public searchFilters: SkyAutocompleteSearchFunctionFilter[] = [\n (searchText: string, item: any): boolean => {\n return item.name !== 'Red';\n },\n ];\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.createForm();\n }\n\n public onPlanetSelection(args: SkyAutocompleteSelectionChange): void {\n alert(`You selected ${args.selectedItem.name}`);\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n farthestPlanet: {},\n });\n }\n}\n"
|
|
8591
8591
|
},
|
|
8592
8592
|
{
|
|
8593
8593
|
"fileName": "autocomplete-demo.module.ts",
|
|
8594
8594
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/advanced/autocomplete-demo.module.ts",
|
|
8595
|
-
"rawContents": "import {
|
|
8595
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIconModule } from '@skyux/indicators';\n\nimport { SkyAutocompleteModule } from '@skyux/lookup';\n\nimport { AutocompleteDemoComponent } from './autocomplete-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyAutocompleteModule,\n SkyIconModule,\n ],\n declarations: [AutocompleteDemoComponent],\n exports: [AutocompleteDemoComponent],\n})\nexport class AutocompleteDemoModule {}\n"
|
|
8596
8596
|
},
|
|
8597
8597
|
{
|
|
8598
8598
|
"fileName": "autocomplete-demo.component.html",
|
|
8599
8599
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/basic/autocomplete-demo.component.html",
|
|
8600
|
-
"rawContents": "<form
|
|
8600
|
+
"rawContents": "<form novalidate [formGroup]=\"myForm\">\n <div class=\"sky-form-group\">\n <label class=\"sky-control-label\" [for]=\"favoriteColorInput.id\">\n Favorite color\n </label>\n <sky-autocomplete [data]=\"colors\">\n <input\n formControlName=\"favoriteColor\"\n id=\"my-autocomplete-reactive-basic\"\n type=\"text\"\n skyAutocomplete\n skyId\n #favoriteColorInput\n />\n </sky-autocomplete>\n </div>\n <p class=\"sky-emphasized\">Form model:</p>\n <pre>{{ myForm.value | json }}</pre>\n</form>\n"
|
|
8601
8601
|
},
|
|
8602
8602
|
{
|
|
8603
8603
|
"fileName": "autocomplete-demo.component.ts",
|
|
8604
8604
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/basic/autocomplete-demo.component.ts",
|
|
8605
|
-
"rawContents": "import {
|
|
8605
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormGroup } from '@angular/forms';\n\n@Component({\n selector: 'app-autocomplete-demo',\n templateUrl: './autocomplete-demo.component.html',\n})\nexport class AutocompleteDemoComponent implements OnInit {\n public colors: any[] = [\n { name: 'Red' },\n { name: 'Blue' },\n { name: 'Green' },\n { name: 'Orange' },\n { name: 'Pink' },\n { name: 'Purple' },\n { name: 'Yellow' },\n { name: 'Brown' },\n { name: 'Turquoise' },\n { name: 'White' },\n { name: 'Black' },\n ];\n\n public myForm: FormGroup;\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.createForm();\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n favoriteColor: undefined,\n });\n }\n}\n"
|
|
8606
8606
|
},
|
|
8607
8607
|
{
|
|
8608
8608
|
"fileName": "autocomplete-demo.module.ts",
|
|
8609
8609
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/basic/autocomplete-demo.module.ts",
|
|
8610
|
-
"rawContents": "import {
|
|
8610
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyAutocompleteModule } from '@skyux/lookup';\n\nimport { AutocompleteDemoComponent } from './autocomplete-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyAutocompleteModule,\n SkyIdModule,\n ],\n declarations: [AutocompleteDemoComponent],\n exports: [AutocompleteDemoComponent],\n})\nexport class AutocompleteDemoModule {}\n"
|
|
8611
8611
|
},
|
|
8612
8612
|
{
|
|
8613
8613
|
"fileName": "autocomplete-demo.component.html",
|
|
8614
8614
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/custom-search/autocomplete-demo.component.html",
|
|
8615
|
-
"rawContents": "<form
|
|
8615
|
+
"rawContents": "<form novalidate [formGroup]=\"myForm\">\n <p>\n The following field has a preselected value and utilizes a custom search\n function, as well as a custom template for the search results.\n </p>\n <div class=\"sky-form-group\">\n <label class=\"sky-control-label\" [for]=\"largestOceanInput.id\">\n Largest ocean\n </label>\n <sky-autocomplete\n descriptorProperty=\"title\"\n [data]=\"oceans\"\n [search]=\"getOceanSearchFunction()\"\n [searchResultTemplate]=\"oceanSearchResultTemplate\"\n >\n <input\n formControlName=\"largestOcean\"\n type=\"text\"\n skyAutocomplete\n skyId\n #largestOceanInput=\"skyId\"\n />\n </sky-autocomplete>\n </div>\n <p class=\"sky-emphasized\">Form model:</p>\n <pre>{{ myForm.value | json }}</pre>\n</form>\n\n<ng-template let-item=\"item\" #oceanSearchResultTemplate>\n <sky-icon icon=\"long-arrow-right\"></sky-icon>\n {{ item.title }} • ID {{ item.id }}\n</ng-template>\n"
|
|
8616
8616
|
},
|
|
8617
8617
|
{
|
|
8618
8618
|
"fileName": "autocomplete-demo.component.ts",
|
|
8619
8619
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/custom-search/autocomplete-demo.component.ts",
|
|
8620
|
-
"rawContents": "import {
|
|
8620
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormGroup } from '@angular/forms';\n\nimport {\n SkyAutocompleteSearchFunction,\n SkyAutocompleteSearchFunctionResponse,\n} from '@skyux/lookup';\n\n@Component({\n selector: 'app-autocomplete-demo',\n templateUrl: './autocomplete-demo.component.html',\n})\nexport class AutocompleteDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n public largestOcean: any;\n\n public oceans: any[] = [\n { title: 'Arctic', id: 1 },\n { title: 'Atlantic', id: 2 },\n { title: 'Indian', id: 3 },\n { title: 'Pacific', id: 4 },\n ];\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.createForm();\n }\n\n public getOceanSearchFunction(): SkyAutocompleteSearchFunction {\n const searchFunction = (\n searchText: string,\n oceans: any[]\n ): SkyAutocompleteSearchFunctionResponse => {\n return new Promise((resolve: Function) => {\n const searchTextLower = searchText.toLowerCase();\n\n const results = oceans.filter((ocean: any) => {\n const val = ocean.title;\n const isMatch =\n val && val.toString().toLowerCase().indexOf(searchTextLower) > -1;\n return isMatch;\n });\n\n // Simulate an async request.\n setTimeout(() => {\n resolve(results);\n }, 500);\n });\n };\n\n return searchFunction;\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n largestOcean: { title: 'Arctic', id: 1 },\n });\n }\n}\n"
|
|
8621
8621
|
},
|
|
8622
8622
|
{
|
|
8623
8623
|
"fileName": "autocomplete-demo.module.ts",
|
|
8624
8624
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/custom-search/autocomplete-demo.module.ts",
|
|
8625
|
-
"rawContents": "import {
|
|
8625
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyIconModule } from '@skyux/indicators';\n\nimport { SkyAutocompleteModule } from '@skyux/lookup';\n\nimport { AutocompleteDemoComponent } from './autocomplete-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyAutocompleteModule,\n SkyIconModule,\n SkyIdModule,\n ],\n declarations: [AutocompleteDemoComponent],\n exports: [AutocompleteDemoComponent],\n})\nexport class AutocompleteDemoModule {}\n"
|
|
8626
8626
|
},
|
|
8627
8627
|
{
|
|
8628
8628
|
"fileName": "autocomplete-demo.component.html",
|
|
8629
8629
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/search-filters/autocomplete-demo.component.html",
|
|
8630
|
-
"rawContents": "<form
|
|
8630
|
+
"rawContents": "<form novalidate [formGroup]=\"myForm\">\n <p>\n The following field provides a custom function that filters the data before\n every search attempt.\n </p>\n <div class=\"sky-form-group\">\n <label class=\"sky-control-label\" [for]=\"favoriteColorInput.id\">\n Color (\"Red\" is not available)\n </label>\n <sky-autocomplete [data]=\"colors\" [searchFilters]=\"searchFilters\">\n <input\n formControlName=\"favoriteColor\"\n skyAutocomplete\n skyId\n type=\"text\"\n #favoriteColorInput=\"skyId\"\n />\n </sky-autocomplete>\n </div>\n <p class=\"sky-emphasized\">Form model:</p>\n <pre>{{ myForm.value | json }}</pre>\n</form>\n"
|
|
8631
8631
|
},
|
|
8632
8632
|
{
|
|
8633
8633
|
"fileName": "autocomplete-demo.component.ts",
|
|
8634
8634
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/search-filters/autocomplete-demo.component.ts",
|
|
8635
|
-
"rawContents": "import {
|
|
8635
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormGroup } from '@angular/forms';\n\nimport { SkyAutocompleteSearchFunctionFilter } from '@skyux/lookup';\n\n@Component({\n selector: 'app-autocomplete-demo',\n templateUrl: './autocomplete-demo.component.html',\n})\nexport class AutocompleteDemoComponent implements OnInit {\n public colors: any[] = [\n { name: 'Red' },\n { name: 'Blue' },\n { name: 'Green' },\n { name: 'Orange' },\n { name: 'Pink' },\n { name: 'Purple' },\n { name: 'Yellow' },\n { name: 'Brown' },\n { name: 'Turquoise' },\n { name: 'White' },\n { name: 'Black' },\n ];\n\n public myForm: FormGroup;\n\n public searchFilters: SkyAutocompleteSearchFunctionFilter[] = [\n (searchText: string, item: any): boolean => {\n return item.name !== 'Red';\n },\n ];\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.createForm();\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n favoriteColor: undefined,\n });\n }\n}\n"
|
|
8636
8636
|
},
|
|
8637
8637
|
{
|
|
8638
8638
|
"fileName": "autocomplete-demo.module.ts",
|
|
8639
8639
|
"filePath": "/projects/lookup/documentation/code-examples/autocomplete/search-filters/autocomplete-demo.module.ts",
|
|
8640
|
-
"rawContents": "import {
|
|
8640
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyAutocompleteModule } from '@skyux/lookup';\n\nimport { AutocompleteDemoComponent } from './autocomplete-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyAutocompleteModule,\n SkyIdModule,\n ],\n declarations: [AutocompleteDemoComponent],\n exports: [AutocompleteDemoComponent],\n})\nexport class AutocompleteDemoModule {}\n"
|
|
8641
8641
|
},
|
|
8642
8642
|
{
|
|
8643
8643
|
"fileName": "country-field-demo.component.html",
|
|
8644
8644
|
"filePath": "/projects/lookup/documentation/code-examples/country-field/basic/country-field-demo.component.html",
|
|
8645
|
-
"rawContents": "<form
|
|
8645
|
+
"rawContents": "<form [formGroup]=\"countryForm\">\n <sky-input-box>\n <sky-country-field formControlName=\"countryControl\"> </sky-country-field>\n </sky-input-box>\n</form>\n"
|
|
8646
8646
|
},
|
|
8647
8647
|
{
|
|
8648
8648
|
"fileName": "country-field-demo.component.ts",
|
|
8649
8649
|
"filePath": "/projects/lookup/documentation/code-examples/country-field/basic/country-field-demo.component.ts",
|
|
8650
|
-
"rawContents": "import {
|
|
8650
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\n\nimport { SkyCountryFieldCountry } from '@skyux/lookup';\n\n@Component({\n selector: 'app-country-field-demo',\n templateUrl: './country-field-demo.component.html',\n})\nexport class CountryFieldDemoComponent implements OnInit {\n public countryControl: FormControl;\n\n public countryData: SkyCountryFieldCountry;\n\n public countryForm: FormGroup;\n\n constructor() {}\n\n public ngOnInit(): void {\n this.countryControl = new FormControl();\n this.countryControl.setValue({\n name: 'Australia',\n iso2: 'au',\n });\n this.countryForm = new FormGroup({\n countryControl: this.countryControl,\n });\n\n this.countryControl.setValidators([Validators.required]);\n }\n}\n"
|
|
8651
8651
|
},
|
|
8652
8652
|
{
|
|
8653
8653
|
"fileName": "country-field-demo.module.ts",
|
|
8654
8654
|
"filePath": "/projects/lookup/documentation/code-examples/country-field/basic/country-field-demo.module.ts",
|
|
8655
|
-
"rawContents": "import {
|
|
8655
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyInputBoxModule } from '@skyux/forms';\n\nimport { SkyCountryFieldModule } from '@skyux/lookup';\n\nimport { CountryFieldDemoComponent } from './country-field-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyCountryFieldModule,\n SkyInputBoxModule,\n ],\n declarations: [CountryFieldDemoComponent],\n exports: [CountryFieldDemoComponent],\n})\nexport class CountryFieldDemoModule {}\n"
|
|
8656
8656
|
},
|
|
8657
8657
|
{
|
|
8658
8658
|
"fileName": "lookup-custom-picker-demo-modal.component.html",
|
|
8659
8659
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/custom-picker/lookup-custom-picker-demo-modal.component.html",
|
|
8660
|
-
"rawContents": "<sky-modal>\n <sky-modal-header
|
|
8660
|
+
"rawContents": "<sky-modal>\n <sky-modal-header> Custom picker </sky-modal-header>\n <sky-modal-content>\n This is a custom picker!\n <form [formGroup]=\"myForm\">\n <sky-checkbox formControlName=\"selectLast\">\n <sky-checkbox-label> Select last item </sky-checkbox-label>\n </sky-checkbox>\n </form>\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"modalInstance.save(myForm.get('selectLast').value)\"\n >\n Save\n </button>\n </sky-modal-footer>\n</sky-modal>\n"
|
|
8661
8661
|
},
|
|
8662
8662
|
{
|
|
8663
8663
|
"fileName": "lookup-custom-picker-demo-modal.component.ts",
|
|
8664
8664
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/custom-picker/lookup-custom-picker-demo-modal.component.ts",
|
|
8665
|
-
"rawContents": "import {
|
|
8665
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\nimport { SkyLookupShowMoreCustomPickerContext } from '@skyux/lookup';\n\nimport { SkyModalInstance } from '@skyux/modals';\n\n@Component({\n selector: 'app-lookup-demo-modal',\n templateUrl: './lookup-custom-picker-demo-modal.component.html',\n})\nexport class LookupCustomPickerDemoModalComponent implements OnInit {\n public myForm: FormGroup;\n\n constructor(\n private formBuilder: FormBuilder,\n public context: SkyLookupShowMoreCustomPickerContext,\n public modalInstance: SkyModalInstance\n ) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n selectLast: new FormControl(false),\n });\n }\n}\n"
|
|
8666
8666
|
},
|
|
8667
8667
|
{
|
|
8668
8668
|
"fileName": "lookup-custom-picker-demo.component.html",
|
|
8669
8669
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/custom-picker/lookup-custom-picker-demo.component.html",
|
|
8670
|
-
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div
|
|
8670
|
+
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" skyId #namesLabel=\"skyId\">\n Favorite names\n </label>\n <sky-lookup\n formControlName=\"names\"\n [ariaLabelledBy]=\"namesLabel.id\"\n [data]=\"people\"\n [enableShowMore]=\"true\"\n [searchFilters]=\"getSearchFilters()\"\n [showAddButton]=\"true\"\n [showMoreConfig]=\"showMoreConfig\"\n >\n </sky-lookup>\n </sky-input-box>\n </div>\n <div class=\"lookup-demo-alert\">\n <strong>Form model:</strong>\n <pre>{{ myForm.value | json }}</pre>\n </div>\n <button class=\"sky-btn sky-btn-default\" type=\"submit\">Submit</button>\n</form>\n"
|
|
8671
8671
|
},
|
|
8672
8672
|
{
|
|
8673
8673
|
"fileName": "lookup-custom-picker-demo.component.scss",
|
|
@@ -8677,17 +8677,17 @@
|
|
|
8677
8677
|
{
|
|
8678
8678
|
"fileName": "lookup-custom-picker-demo.component.ts",
|
|
8679
8679
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/custom-picker/lookup-custom-picker-demo.component.ts",
|
|
8680
|
-
"rawContents": "import {
|
|
8680
|
+
"rawContents": "import { ChangeDetectorRef, Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\nimport {\n SkyAutocompleteSearchFunctionFilter,\n SkyLookupShowMoreConfig,\n SkyLookupShowMoreCustomPickerContext,\n} from '@skyux/lookup';\n\nimport { SkyModalCloseArgs, SkyModalService } from '@skyux/modals';\n\nimport { LookupCustomPickerDemoModalComponent } from './lookup-custom-picker-demo-modal.component';\n\n@Component({\n selector: 'app-lookup-demo',\n templateUrl: './lookup-custom-picker-demo.component.html',\n styleUrls: ['./lookup-custom-picker-demo.component.scss'],\n})\nexport class LookupCustomPickerDemoComponent implements OnInit {\n public showMoreConfig: SkyLookupShowMoreConfig;\n\n public myForm: FormGroup;\n\n public people: any[] = [\n { name: 'Abed' },\n { name: 'Alex' },\n { name: 'Ben' },\n { name: 'Britta' },\n { name: 'Buzz' },\n { name: 'Craig' },\n { name: 'Elroy' },\n { name: 'Garrett' },\n { name: 'Ian' },\n { name: 'Jeff' },\n { name: 'Leonard' },\n { name: 'Neil' },\n { name: 'Pierce' },\n { name: 'Preston' },\n { name: 'Rachel' },\n { name: 'Shirley' },\n { name: 'Todd' },\n { name: 'Troy' },\n { name: 'Vaughn' },\n { name: 'Vicki' },\n ];\n\n public names: any[] = [this.people[15]];\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n private formBuilder: FormBuilder,\n private modalService: SkyModalService\n ) {\n this.showMoreConfig = {\n customPicker: {\n open: (context: SkyLookupShowMoreCustomPickerContext) => {\n const instance = this.modalService.open(\n LookupCustomPickerDemoModalComponent,\n {\n providers: [\n {\n provide: SkyLookupShowMoreCustomPickerContext,\n useValue: context,\n },\n ],\n }\n );\n\n instance.closed.subscribe((closeArgs: SkyModalCloseArgs) => {\n if (closeArgs.reason === 'save') {\n if (closeArgs.data) {\n this.myForm.setValue({\n names: [this.people[this.people.length - 1]],\n });\n this.changeDetector.markForCheck();\n }\n }\n });\n },\n },\n };\n }\n\n public ngOnInit(): void {\n this.createForm();\n\n // If you need to execute some logic after the lookup values change,\n // subscribe to Angular's built-in value changes observable.\n this.myForm.valueChanges.subscribe((changes) => {\n console.log('Lookup value changes:', changes);\n });\n }\n\n // Only show people in the search results that have not been chosen already.\n public getSearchFilters(): SkyAutocompleteSearchFunctionFilter[] {\n const names: any[] = this.myForm.controls.names.value;\n return [\n (searchText: string, item: any): boolean => {\n const found = names.find((option) => option.name === item.name);\n return !found;\n },\n ];\n }\n\n public onSubmit(): void {\n alert('Form submitted with: ' + JSON.stringify(this.myForm.value));\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n names: new FormControl(this.names),\n });\n }\n}\n"
|
|
8681
8681
|
},
|
|
8682
8682
|
{
|
|
8683
8683
|
"fileName": "lookup-custom-picker-demo.module.ts",
|
|
8684
8684
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/custom-picker/lookup-custom-picker-demo.module.ts",
|
|
8685
|
-
"rawContents": "import {
|
|
8685
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyCheckboxModule, SkyInputBoxModule } from '@skyux/forms';\n\nimport { SkyLookupModule } from '@skyux/lookup';\n\nimport { SkyModalModule } from '@skyux/modals';\n\nimport { LookupCustomPickerDemoComponent } from './lookup-custom-picker-demo.component';\n\nimport { LookupCustomPickerDemoModalComponent } from './lookup-custom-picker-demo-modal.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyCheckboxModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyLookupModule,\n SkyModalModule,\n ],\n declarations: [\n LookupCustomPickerDemoComponent,\n LookupCustomPickerDemoModalComponent,\n ],\n exports: [LookupCustomPickerDemoComponent],\n entryComponents: [LookupCustomPickerDemoModalComponent],\n})\nexport class LookupCustomPickerDemoModule {}\n"
|
|
8686
8686
|
},
|
|
8687
8687
|
{
|
|
8688
8688
|
"fileName": "lookup-multiple-demo.component.html",
|
|
8689
8689
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/multi-select/lookup-multiple-demo.component.html",
|
|
8690
|
-
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div
|
|
8690
|
+
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" skyId #namesLabel=\"skyId\">\n Favorite names\n </label>\n <sky-lookup\n formControlName=\"names\"\n [ariaLabelledBy]=\"namesLabel.id\"\n [data]=\"people\"\n [enableShowMore]=\"true\"\n [searchFilters]=\"getSearchFilters()\"\n [showAddButton]=\"true\"\n >\n </sky-lookup>\n </sky-input-box>\n </div>\n <div class=\"lookup-demo-alert\">\n <strong>Form model:</strong>\n <pre>{{ myForm.value | json }}</pre>\n </div>\n <button class=\"sky-btn sky-btn-default\" type=\"submit\">Submit</button>\n</form>\n"
|
|
8691
8691
|
},
|
|
8692
8692
|
{
|
|
8693
8693
|
"fileName": "lookup-multiple-demo.component.scss",
|
|
@@ -8697,17 +8697,17 @@
|
|
|
8697
8697
|
{
|
|
8698
8698
|
"fileName": "lookup-multiple-demo.component.ts",
|
|
8699
8699
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/multi-select/lookup-multiple-demo.component.ts",
|
|
8700
|
-
"rawContents": "import {
|
|
8700
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\nimport { SkyAutocompleteSearchFunctionFilter } from '@skyux/lookup';\n\n@Component({\n selector: 'app-lookup-demo',\n templateUrl: './lookup-multiple-demo.component.html',\n styleUrls: ['./lookup-multiple-demo.component.scss'],\n})\nexport class LookupMultipleSelectDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n public people: any[] = [\n { name: 'Abed' },\n { name: 'Alex' },\n { name: 'Ben' },\n { name: 'Britta' },\n { name: 'Buzz' },\n { name: 'Craig' },\n { name: 'Elroy' },\n { name: 'Garrett' },\n { name: 'Ian' },\n { name: 'Jeff' },\n { name: 'Leonard' },\n { name: 'Neil' },\n { name: 'Pierce' },\n { name: 'Preston' },\n { name: 'Rachel' },\n { name: 'Shirley' },\n { name: 'Todd' },\n { name: 'Troy' },\n { name: 'Vaughn' },\n { name: 'Vicki' },\n ];\n\n public names: any[] = [this.people[15]];\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.createForm();\n\n // If you need to execute some logic after the lookup values change,\n // subscribe to Angular's built-in value changes observable.\n this.myForm.valueChanges.subscribe((changes) => {\n console.log('Lookup value changes:', changes);\n });\n }\n\n // Only show people in the search results that have not been chosen already.\n public getSearchFilters(): SkyAutocompleteSearchFunctionFilter[] {\n const names: any[] = this.myForm.controls.names.value;\n return [\n (searchText: string, item: any): boolean => {\n const found = names.find((option) => option.name === item.name);\n return !found;\n },\n ];\n }\n\n public onSubmit(): void {\n alert('Form submitted with: ' + JSON.stringify(this.myForm.value));\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n names: new FormControl(this.names),\n });\n }\n}\n"
|
|
8701
8701
|
},
|
|
8702
8702
|
{
|
|
8703
8703
|
"fileName": "lookup-multiple-demo.module.ts",
|
|
8704
8704
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/multi-select/lookup-multiple-demo.module.ts",
|
|
8705
|
-
"rawContents": "import {
|
|
8705
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyInputBoxModule } from '@skyux/forms';\n\nimport { SkyLookupModule } from '@skyux/lookup';\n\nimport { LookupMultipleSelectDemoComponent } from './lookup-multiple-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyLookupModule,\n ],\n declarations: [LookupMultipleSelectDemoComponent],\n exports: [LookupMultipleSelectDemoComponent],\n})\nexport class LookupMultipleSelectDemoModule {}\n"
|
|
8706
8706
|
},
|
|
8707
8707
|
{
|
|
8708
8708
|
"fileName": "lookup-result-templates-demo.component.html",
|
|
8709
8709
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/result-templates/lookup-result-templates-demo.component.html",
|
|
8710
|
-
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div
|
|
8710
|
+
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" skyId #namesLabel=\"skyId\">\n Favorite names\n </label>\n <sky-lookup\n formControlName=\"names\"\n [ariaLabelledBy]=\"namesLabel.id\"\n [data]=\"people\"\n [enableShowMore]=\"true\"\n [searchFilters]=\"getSearchFilters()\"\n [searchResultTemplate]=\"dropdownItemTemplate\"\n [showAddButton]=\"true\"\n [showMoreConfig]=\"showMoreConfig\"\n >\n </sky-lookup>\n </sky-input-box>\n </div>\n <div class=\"lookup-demo-alert\">\n <strong>Form model:</strong>\n <pre>{{ myForm.value | json }}</pre>\n </div>\n <button class=\"sky-btn sky-btn-default\" type=\"submit\">Submit</button>\n</form>\n\n<ng-template let-item=\"item\" #dropdownItemTemplate>\n <strong>{{ item.name }}</strong\n ><br />\n {{ item.formal }}\n</ng-template>\n<ng-template let-item=\"item\" #modalItemTemplate>\n {{ item.name }}<br />\n <i>{{ item.formal }}</i>\n</ng-template>\n"
|
|
8711
8711
|
},
|
|
8712
8712
|
{
|
|
8713
8713
|
"fileName": "lookup-result-templates-demo.component.scss",
|
|
@@ -8717,17 +8717,17 @@
|
|
|
8717
8717
|
{
|
|
8718
8718
|
"fileName": "lookup-result-templates-demo.component.ts",
|
|
8719
8719
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/result-templates/lookup-result-templates-demo.component.ts",
|
|
8720
|
-
"rawContents": "import {
|
|
8720
|
+
"rawContents": "import { Component, OnInit, TemplateRef, ViewChild } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\nimport {\n SkyAutocompleteSearchFunctionFilter,\n SkyLookupShowMoreConfig,\n} from '@skyux/lookup';\n\n@Component({\n selector: 'app-lookup-demo',\n templateUrl: './lookup-result-templates-demo.component.html',\n styleUrls: ['./lookup-result-templates-demo.component.scss'],\n})\nexport class LookupResultTemplatesDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n public people: any[] = [\n {\n name: 'Abed',\n formal: 'Mr. Nadir',\n },\n {\n name: 'Alex',\n formal: 'Mr. Osbourne',\n },\n {\n name: 'Ben',\n formal: 'Mr. Chang',\n },\n {\n name: 'Britta',\n formal: 'Ms. Perry',\n },\n {\n name: 'Buzz',\n formal: 'Mr. Hickey',\n },\n {\n name: 'Craig',\n formal: 'Mr. Pelton',\n },\n {\n name: 'Elroy',\n formal: 'Mr. Patashnik',\n },\n {\n name: 'Garrett',\n formal: 'Mr. Lambert',\n },\n {\n name: 'Ian',\n formal: 'Mr. Duncan',\n },\n {\n name: 'Jeff',\n formal: 'Mr. Winger',\n },\n {\n name: 'Leonard',\n formal: 'Mr. Rodriguez',\n },\n {\n name: 'Neil',\n formal: 'Mr. Neil',\n },\n {\n name: 'Pierce',\n formal: 'Mr. Hawthorne',\n },\n {\n name: 'Preston',\n formal: 'Mr. Koogler',\n },\n {\n name: 'Rachel',\n formal: 'Ms. Rachel',\n },\n {\n name: 'Shirley',\n formal: 'Ms. Bennett',\n },\n {\n name: 'Todd',\n formal: 'Mr. Jacobson',\n },\n {\n name: 'Troy',\n formal: 'Mr. Barnes',\n },\n {\n name: 'Vaughn',\n formal: 'Mr. Miller',\n },\n {\n name: 'Vicki',\n formal: 'Ms. Jenkins',\n },\n ];\n\n public names: any[] = [this.people[15]];\n\n public showMoreConfig: SkyLookupShowMoreConfig = {\n nativePickerConfig: {},\n };\n\n @ViewChild('modalItemTemplate')\n public set modalItemTempalte(template: TemplateRef<any>) {\n this.showMoreConfig.nativePickerConfig.itemTemplate = template;\n }\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.createForm();\n\n // If you need to execute some logic after the lookup values change,\n // subscribe to Angular's built-in value changes observable.\n this.myForm.valueChanges.subscribe((changes) => {\n console.log('Lookup value changes:', changes);\n });\n }\n\n // Only show people in the search results that have not been chosen already.\n public getSearchFilters(): SkyAutocompleteSearchFunctionFilter[] {\n const names: any[] = this.myForm.controls.names.value;\n return [\n (searchText: string, item: any): boolean => {\n const found = names.find((option) => option.name === item.name);\n return !found;\n },\n ];\n }\n\n public onSubmit(): void {\n alert('Form submitted with: ' + JSON.stringify(this.myForm.value));\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n names: new FormControl(this.names),\n });\n }\n}\n"
|
|
8721
8721
|
},
|
|
8722
8722
|
{
|
|
8723
8723
|
"fileName": "lookup-result-templates-demo.module.ts",
|
|
8724
8724
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/result-templates/lookup-result-templates-demo.module.ts",
|
|
8725
|
-
"rawContents": "import {
|
|
8725
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyInputBoxModule } from '@skyux/forms';\n\nimport { SkyLookupModule } from '@skyux/lookup';\n\nimport { LookupResultTemplatesDemoComponent } from './lookup-result-templates-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyLookupModule,\n ],\n declarations: [LookupResultTemplatesDemoComponent],\n exports: [LookupResultTemplatesDemoComponent],\n})\nexport class LookupResultTemplatesDemoModule {}\n"
|
|
8726
8726
|
},
|
|
8727
8727
|
{
|
|
8728
8728
|
"fileName": "lookup-single-demo.component.html",
|
|
8729
8729
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/single-select/lookup-single-demo.component.html",
|
|
8730
|
-
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div
|
|
8730
|
+
"rawContents": "<form\n class=\"lookup-demo-form\"\n novalidate\n [formGroup]=\"myForm\"\n (ngSubmit)=\"onSubmit()\"\n>\n <div class=\"sky-form-group\">\n <sky-input-box>\n <label class=\"sky-control-label\" skyId #nameLabel=\"skyId\">\n Favorite name\n </label>\n <sky-lookup\n formControlName=\"name\"\n selectMode=\"single\"\n [ariaLabelledBy]=\"nameLabel.id\"\n [data]=\"people\"\n [enableShowMore]=\"true\"\n [searchFilters]=\"getSearchFilters()\"\n [showAddButton]=\"true\"\n >\n </sky-lookup>\n </sky-input-box>\n </div>\n <div class=\"lookup-demo-alert\">\n <strong>Form model:</strong>\n <pre>{{ myForm.value | json }}</pre>\n </div>\n <button class=\"sky-btn sky-btn-default\" type=\"submit\">Submit</button>\n</form>\n"
|
|
8731
8731
|
},
|
|
8732
8732
|
{
|
|
8733
8733
|
"fileName": "lookup-single-demo.component.scss",
|
|
@@ -8737,27 +8737,27 @@
|
|
|
8737
8737
|
{
|
|
8738
8738
|
"fileName": "lookup-single-demo.component.ts",
|
|
8739
8739
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/single-select/lookup-single-demo.component.ts",
|
|
8740
|
-
"rawContents": "import {
|
|
8740
|
+
"rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\nimport { SkyAutocompleteSearchFunctionFilter } from '@skyux/lookup';\n\n@Component({\n selector: 'app-single-select-lookup-demo',\n templateUrl: './lookup-single-demo.component.html',\n styleUrls: ['./lookup-single-demo.component.scss'],\n})\nexport class LookupSingleSelectDemoComponent implements OnInit {\n public myForm: FormGroup;\n\n public people: any[] = [\n { name: 'Abed' },\n { name: 'Alex' },\n { name: 'Ben' },\n { name: 'Britta' },\n { name: 'Buzz' },\n { name: 'Craig' },\n { name: 'Elroy' },\n { name: 'Garrett' },\n { name: 'Ian' },\n { name: 'Jeff' },\n { name: 'Leonard' },\n { name: 'Neil' },\n { name: 'Pierce' },\n { name: 'Preston' },\n { name: 'Rachel' },\n { name: 'Shirley' },\n { name: 'Todd' },\n { name: 'Troy' },\n { name: 'Vaughn' },\n { name: 'Vicki' },\n ];\n\n public name: any[] = [this.people[15]];\n\n constructor(private formBuilder: FormBuilder) {}\n\n public ngOnInit(): void {\n this.createForm();\n\n // If you need to execute some logic after the lookup values change,\n // subscribe to Angular's built-in value changes observable.\n this.myForm.valueChanges.subscribe((changes) => {\n console.log('Lookup value changes:', changes);\n });\n }\n\n // Only show people in the search results that have not been chosen already.\n public getSearchFilters(): SkyAutocompleteSearchFunctionFilter[] {\n const name: any[] = this.myForm.controls.name.value;\n return [\n (searchText: string, item: any): boolean => {\n const found = name.find((option) => option.name === item.name);\n return !found;\n },\n ];\n }\n\n public onSubmit(): void {\n alert('Form submitted with: ' + JSON.stringify(this.myForm.value));\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n name: new FormControl(this.name),\n });\n }\n}\n"
|
|
8741
8741
|
},
|
|
8742
8742
|
{
|
|
8743
8743
|
"fileName": "lookup-single-demo.module.ts",
|
|
8744
8744
|
"filePath": "/projects/lookup/documentation/code-examples/lookup/single-select/lookup-single-demo.module.ts",
|
|
8745
|
-
"rawContents": "import {
|
|
8745
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyInputBoxModule } from '@skyux/forms';\n\nimport { SkyLookupModule } from '@skyux/lookup';\n\nimport { LookupSingleSelectDemoComponent } from './lookup-single-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyLookupModule,\n ],\n declarations: [LookupSingleSelectDemoComponent],\n exports: [LookupSingleSelectDemoComponent],\n})\nexport class LookupSingleSelectDemoModule {}\n"
|
|
8746
8746
|
},
|
|
8747
8747
|
{
|
|
8748
8748
|
"fileName": "search-demo.component.html",
|
|
8749
8749
|
"filePath": "/projects/lookup/documentation/code-examples/search/basic/search-demo.component.html",
|
|
8750
|
-
"rawContents": "<sky-toolbar>\n <sky-toolbar-item>\n <button\n class=\"sky-btn sky-btn-default sky-demo-search-bar-item\"\n (click)=\"searchApplied('Robert')\"\n >\n Predefined search text\n </button>\n </sky-toolbar-item>\n <sky-toolbar-item>\n <sky-search\n [searchText]=\"searchText\"\n [debounceTime]=\"250\"\n (searchApply)=\"searchApplied($event)\"\n (searchChange)=\"searchApplied($event)\">\n </sky-search>\n </sky-toolbar-item>\n</sky-toolbar>\n<sky-repeater
|
|
8750
|
+
"rawContents": "<sky-toolbar>\n <sky-toolbar-item>\n <button\n class=\"sky-btn sky-btn-default sky-demo-search-bar-item\"\n (click)=\"searchApplied('Robert')\"\n >\n Predefined search text\n </button>\n </sky-toolbar-item>\n <sky-toolbar-item>\n <sky-search\n [searchText]=\"searchText\"\n [debounceTime]=\"250\"\n (searchApply)=\"searchApplied($event)\"\n (searchChange)=\"searchApplied($event)\"\n >\n </sky-search>\n </sky-toolbar-item>\n</sky-toolbar>\n<sky-repeater expandMode=\"none\">\n <sky-repeater-item *ngFor=\"let item of displayedItems\">\n <sky-repeater-item-title>\n {{ item.title }}\n </sky-repeater-item-title>\n <sky-repeater-item-content>\n <div>\n {{ item.note }}\n </div>\n </sky-repeater-item-content>\n </sky-repeater-item>\n</sky-repeater>\n"
|
|
8751
8751
|
},
|
|
8752
8752
|
{
|
|
8753
8753
|
"fileName": "search-demo.component.ts",
|
|
8754
8754
|
"filePath": "/projects/lookup/documentation/code-examples/search/basic/search-demo.component.ts",
|
|
8755
|
-
"rawContents": "import {
|
|
8755
|
+
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-search-demo',\n templateUrl: './search-demo.component.html',\n})\nexport class SearchDemoComponent {\n public displayedItems: any;\n\n private items: any[] = [\n {\n title: 'Call Robert Hernandez',\n note: 'Robert recently gave a very generous gift. We should call to thank him.',\n },\n {\n title: 'Send invitation to ball',\n note: \"The Spring Ball is coming up soon. Let's get those invitations out!\",\n },\n {\n title: 'Clean up desk',\n note: 'File and organize papers.',\n },\n {\n title: 'Investigate leads',\n note: 'Check out leads for important charity event funding.',\n },\n {\n title: 'Send thank you note',\n note: 'Send a thank you note to Timothy for his donation.',\n },\n ];\n\n public searchText: string;\n\n constructor() {\n this.displayedItems = this.items;\n }\n\n public searchApplied(searchText: string): void {\n let filteredItems = this.items;\n this.searchText = searchText;\n\n if (searchText) {\n filteredItems = this.items.filter(function (item: any) {\n let property: any;\n\n for (property in item) {\n if (\n item.hasOwnProperty(property) &&\n (property === 'title' || property === 'note')\n ) {\n if (item[property].indexOf(searchText) > -1) {\n return true;\n }\n }\n }\n\n return false;\n });\n }\n this.displayedItems = filteredItems;\n }\n}\n"
|
|
8756
8756
|
},
|
|
8757
8757
|
{
|
|
8758
8758
|
"fileName": "search-demo.module.ts",
|
|
8759
8759
|
"filePath": "/projects/lookup/documentation/code-examples/search/basic/search-demo.module.ts",
|
|
8760
|
-
"rawContents": "import {
|
|
8760
|
+
"rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyToolbarModule } from '@skyux/layout';\n\nimport { SkyRepeaterModule } from '@skyux/lists';\n\nimport { SkySearchModule } from '@skyux/lookup';\n\nimport { SearchDemoComponent } from './search-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyRepeaterModule, SkySearchModule, SkyToolbarModule],\n declarations: [SearchDemoComponent],\n exports: [SearchDemoComponent],\n})\nexport class SearchDemoModule {}\n"
|
|
8761
8761
|
}
|
|
8762
8762
|
]
|
|
8763
8763
|
}
|