@skyux/lookup 6.12.0 → 6.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,8 @@
20
20
  "SkyLookupShowMoreCustomPicker": "interface-skylookupshowmorecustompicker",
21
21
  "SkyLookupShowMoreNativePickerConfig": "interface-skylookupshowmorenativepickerconfig",
22
22
  "AutocompleteSearchAsyncResultDisplayType": "type-alias-autocompletesearchasyncresultdisplaytype",
23
+ "SkyAutocompleteSearchArgs": "type-alias-skyautocompletesearchargs",
24
+ "SkyAutocompleteSearchContext": "type-alias-skyautocompletesearchcontext",
23
25
  "SkyAutocompleteSearchFunction": "type-alias-skyautocompletesearchfunction",
24
26
  "SkyAutocompleteSearchFunctionFilter": "type-alias-skyautocompletesearchfunctionfilter",
25
27
  "SkyAutocompleteSearchFunctionResponse": "type-alias-skyautocompletesearchfunctionresponse",
@@ -34,7 +36,7 @@
34
36
  "originalName": "",
35
37
  "children": [
36
38
  {
37
- "id": 581,
39
+ "id": 583,
38
40
  "name": "SkyAutocompleteModule",
39
41
  "kind": 128,
40
42
  "kindString": "Class",
@@ -59,7 +61,7 @@
59
61
  "title": "Constructors",
60
62
  "kind": 512,
61
63
  "children": [
62
- 582
64
+ 584
63
65
  ]
64
66
  }
65
67
  ],
@@ -72,7 +74,7 @@
72
74
  ]
73
75
  },
74
76
  {
75
- "id": 584,
77
+ "id": 586,
76
78
  "name": "SkyCountryFieldModule",
77
79
  "kind": 128,
78
80
  "kindString": "Class",
@@ -97,7 +99,7 @@
97
99
  "title": "Constructors",
98
100
  "kind": 512,
99
101
  "children": [
100
- 585
102
+ 587
101
103
  ]
102
104
  }
103
105
  ],
@@ -110,7 +112,7 @@
110
112
  ]
111
113
  },
112
114
  {
113
- "id": 593,
115
+ "id": 595,
114
116
  "name": "SkyLookupModule",
115
117
  "kind": 128,
116
118
  "kindString": "Class",
@@ -135,7 +137,7 @@
135
137
  "title": "Constructors",
136
138
  "kind": 512,
137
139
  "children": [
138
- 594
140
+ 596
139
141
  ]
140
142
  }
141
143
  ],
@@ -148,7 +150,7 @@
148
150
  ]
149
151
  },
150
152
  {
151
- "id": 614,
153
+ "id": 616,
152
154
  "name": "SkyLookupShowMoreCustomPickerContext",
153
155
  "kind": 128,
154
156
  "kindString": "Class",
@@ -158,7 +160,7 @@
158
160
  },
159
161
  "children": [
160
162
  {
161
- "id": 618,
163
+ "id": 620,
162
164
  "name": "initialSearch",
163
165
  "kind": 1024,
164
166
  "kindString": "Property",
@@ -181,7 +183,7 @@
181
183
  }
182
184
  },
183
185
  {
184
- "id": 619,
186
+ "id": 621,
185
187
  "name": "initialValue",
186
188
  "kind": 1024,
187
189
  "kindString": "Property",
@@ -204,7 +206,7 @@
204
206
  }
205
207
  },
206
208
  {
207
- "id": 617,
209
+ "id": 619,
208
210
  "name": "items",
209
211
  "kind": 1024,
210
212
  "kindString": "Property",
@@ -235,16 +237,16 @@
235
237
  "title": "Constructors",
236
238
  "kind": 512,
237
239
  "children": [
238
- 615
240
+ 617
239
241
  ]
240
242
  },
241
243
  {
242
244
  "title": "Properties",
243
245
  "kind": 1024,
244
246
  "children": [
245
- 618,
246
- 619,
247
- 617
247
+ 620,
248
+ 621,
249
+ 619
248
250
  ]
249
251
  }
250
252
  ],
@@ -257,7 +259,7 @@
257
259
  ]
258
260
  },
259
261
  {
260
- "id": 626,
262
+ "id": 632,
261
263
  "name": "SkySearchComponent",
262
264
  "kind": 128,
263
265
  "kindString": "Class",
@@ -278,7 +280,7 @@
278
280
  ],
279
281
  "children": [
280
282
  {
281
- "id": 627,
283
+ "id": 633,
282
284
  "name": "constructor",
283
285
  "kind": 512,
284
286
  "kindString": "Constructor",
@@ -292,14 +294,14 @@
292
294
  ],
293
295
  "signatures": [
294
296
  {
295
- "id": 628,
297
+ "id": 634,
296
298
  "name": "new SkySearchComponent",
297
299
  "kind": 16384,
298
300
  "kindString": "Constructor signature",
299
301
  "flags": {},
300
302
  "parameters": [
301
303
  {
302
- "id": 629,
304
+ "id": 635,
303
305
  "name": "mediaQueryService",
304
306
  "kind": 32768,
305
307
  "kindString": "Parameter",
@@ -310,7 +312,7 @@
310
312
  }
311
313
  },
312
314
  {
313
- "id": 630,
315
+ "id": 636,
314
316
  "name": "elRef",
315
317
  "kind": 32768,
316
318
  "kindString": "Parameter",
@@ -329,7 +331,7 @@
329
331
  }
330
332
  },
331
333
  {
332
- "id": 631,
334
+ "id": 637,
333
335
  "name": "searchAdapter",
334
336
  "kind": 32768,
335
337
  "kindString": "Parameter",
@@ -340,7 +342,7 @@
340
342
  }
341
343
  },
342
344
  {
343
- "id": 632,
345
+ "id": 638,
344
346
  "name": "changeRef",
345
347
  "kind": 32768,
346
348
  "kindString": "Parameter",
@@ -355,14 +357,14 @@
355
357
  ],
356
358
  "type": {
357
359
  "type": "reference",
358
- "id": 626,
360
+ "id": 632,
359
361
  "name": "SkySearchComponent"
360
362
  }
361
363
  }
362
364
  ]
363
365
  },
364
366
  {
365
- "id": 641,
367
+ "id": 647,
366
368
  "name": "breakpointSubscription",
367
369
  "kind": 1024,
368
370
  "kindString": "Property",
@@ -384,7 +386,7 @@
384
386
  }
385
387
  },
386
388
  {
387
- "id": 642,
389
+ "id": 648,
388
390
  "name": "clearButtonShown",
389
391
  "kind": 1024,
390
392
  "kindString": "Property",
@@ -405,7 +407,7 @@
405
407
  "defaultValue": "false"
406
408
  },
407
409
  {
408
- "id": 638,
410
+ "id": 644,
409
411
  "name": "debounceTime",
410
412
  "kind": 1024,
411
413
  "kindString": "Property",
@@ -441,7 +443,7 @@
441
443
  "defaultValue": "0"
442
444
  },
443
445
  {
444
- "id": 639,
446
+ "id": 645,
445
447
  "name": "disabled",
446
448
  "kind": 1024,
447
449
  "kindString": "Property",
@@ -477,7 +479,7 @@
477
479
  "defaultValue": "false"
478
480
  },
479
481
  {
480
- "id": 643,
482
+ "id": 649,
481
483
  "name": "dismissButtonShown",
482
484
  "kind": 1024,
483
485
  "kindString": "Property",
@@ -498,7 +500,7 @@
498
500
  "defaultValue": "false"
499
501
  },
500
502
  {
501
- "id": 637,
503
+ "id": 643,
502
504
  "name": "expandMode",
503
505
  "kind": 1024,
504
506
  "kindString": "Property",
@@ -540,7 +542,7 @@
540
542
  "defaultValue": "EXPAND_MODE_RESPONSIVE"
541
543
  },
542
544
  {
543
- "id": 644,
545
+ "id": 650,
544
546
  "name": "inputAnimate",
545
547
  "kind": 1024,
546
548
  "kindString": "Property",
@@ -561,7 +563,7 @@
561
563
  "defaultValue": "INPUT_SHOWN_STATE"
562
564
  },
563
565
  {
564
- "id": 645,
566
+ "id": 651,
565
567
  "name": "isCollapsible",
566
568
  "kind": 1024,
567
569
  "kindString": "Property",
@@ -582,7 +584,7 @@
582
584
  "defaultValue": "true"
583
585
  },
584
586
  {
585
- "id": 646,
587
+ "id": 652,
586
588
  "name": "isFullWidth",
587
589
  "kind": 1024,
588
590
  "kindString": "Property",
@@ -603,7 +605,7 @@
603
605
  "defaultValue": "false"
604
606
  },
605
607
  {
606
- "id": 647,
608
+ "id": 653,
607
609
  "name": "mobileSearchShown",
608
610
  "kind": 1024,
609
611
  "kindString": "Property",
@@ -624,7 +626,7 @@
624
626
  "defaultValue": "false"
625
627
  },
626
628
  {
627
- "id": 640,
629
+ "id": 646,
628
630
  "name": "placeholderText",
629
631
  "kind": 1024,
630
632
  "kindString": "Property",
@@ -665,7 +667,7 @@
665
667
  }
666
668
  },
667
669
  {
668
- "id": 633,
670
+ "id": 639,
669
671
  "name": "searchApply",
670
672
  "kind": 1024,
671
673
  "kindString": "Property",
@@ -709,7 +711,7 @@
709
711
  "defaultValue": "..."
710
712
  },
711
713
  {
712
- "id": 648,
714
+ "id": 654,
713
715
  "name": "searchButtonShown",
714
716
  "kind": 1024,
715
717
  "kindString": "Property",
@@ -730,7 +732,7 @@
730
732
  "defaultValue": "false"
731
733
  },
732
734
  {
733
- "id": 634,
735
+ "id": 640,
734
736
  "name": "searchChange",
735
737
  "kind": 1024,
736
738
  "kindString": "Property",
@@ -774,7 +776,7 @@
774
776
  "defaultValue": "..."
775
777
  },
776
778
  {
777
- "id": 635,
779
+ "id": 641,
778
780
  "name": "searchClear",
779
781
  "kind": 1024,
780
782
  "kindString": "Property",
@@ -818,7 +820,7 @@
818
820
  "defaultValue": "..."
819
821
  },
820
822
  {
821
- "id": 636,
823
+ "id": 642,
822
824
  "name": "searchText",
823
825
  "kind": 1024,
824
826
  "kindString": "Property",
@@ -853,7 +855,7 @@
853
855
  }
854
856
  },
855
857
  {
856
- "id": 665,
858
+ "id": 671,
857
859
  "name": "applySearchText",
858
860
  "kind": 2048,
859
861
  "kindString": "Method",
@@ -869,14 +871,14 @@
869
871
  ],
870
872
  "signatures": [
871
873
  {
872
- "id": 666,
874
+ "id": 672,
873
875
  "name": "applySearchText",
874
876
  "kind": 4096,
875
877
  "kindString": "Call signature",
876
878
  "flags": {},
877
879
  "parameters": [
878
880
  {
879
- "id": 667,
881
+ "id": 673,
880
882
  "name": "searchText",
881
883
  "kind": 32768,
882
884
  "kindString": "Parameter",
@@ -895,7 +897,7 @@
895
897
  ]
896
898
  },
897
899
  {
898
- "id": 659,
900
+ "id": 665,
899
901
  "name": "clearSearchText",
900
902
  "kind": 2048,
901
903
  "kindString": "Method",
@@ -911,7 +913,7 @@
911
913
  ],
912
914
  "signatures": [
913
915
  {
914
- "id": 660,
916
+ "id": 666,
915
917
  "name": "clearSearchText",
916
918
  "kind": 4096,
917
919
  "kindString": "Call signature",
@@ -924,7 +926,7 @@
924
926
  ]
925
927
  },
926
928
  {
927
- "id": 661,
929
+ "id": 667,
928
930
  "name": "enterPress",
929
931
  "kind": 2048,
930
932
  "kindString": "Method",
@@ -940,14 +942,14 @@
940
942
  ],
941
943
  "signatures": [
942
944
  {
943
- "id": 662,
945
+ "id": 668,
944
946
  "name": "enterPress",
945
947
  "kind": 4096,
946
948
  "kindString": "Call signature",
947
949
  "flags": {},
948
950
  "parameters": [
949
951
  {
950
- "id": 663,
952
+ "id": 669,
951
953
  "name": "event",
952
954
  "kind": 32768,
953
955
  "kindString": "Parameter",
@@ -960,7 +962,7 @@
960
962
  }
961
963
  },
962
964
  {
963
- "id": 664,
965
+ "id": 670,
964
966
  "name": "searchText",
965
967
  "kind": 32768,
966
968
  "kindString": "Parameter",
@@ -979,7 +981,7 @@
979
981
  ]
980
982
  },
981
983
  {
982
- "id": 677,
984
+ "id": 683,
983
985
  "name": "inputAnimationEnd",
984
986
  "kind": 2048,
985
987
  "kindString": "Method",
@@ -995,14 +997,14 @@
995
997
  ],
996
998
  "signatures": [
997
999
  {
998
- "id": 678,
1000
+ "id": 684,
999
1001
  "name": "inputAnimationEnd",
1000
1002
  "kind": 4096,
1001
1003
  "kindString": "Call signature",
1002
1004
  "flags": {},
1003
1005
  "parameters": [
1004
1006
  {
1005
- "id": 679,
1007
+ "id": 685,
1006
1008
  "name": "event",
1007
1009
  "kind": 32768,
1008
1010
  "kindString": "Parameter",
@@ -1023,7 +1025,7 @@
1023
1025
  ]
1024
1026
  },
1025
1027
  {
1026
- "id": 674,
1028
+ "id": 680,
1027
1029
  "name": "inputAnimationStart",
1028
1030
  "kind": 2048,
1029
1031
  "kindString": "Method",
@@ -1039,14 +1041,14 @@
1039
1041
  ],
1040
1042
  "signatures": [
1041
1043
  {
1042
- "id": 675,
1044
+ "id": 681,
1043
1045
  "name": "inputAnimationStart",
1044
1046
  "kind": 4096,
1045
1047
  "kindString": "Call signature",
1046
1048
  "flags": {},
1047
1049
  "parameters": [
1048
1050
  {
1049
- "id": 676,
1051
+ "id": 682,
1050
1052
  "name": "event",
1051
1053
  "kind": 32768,
1052
1054
  "kindString": "Parameter",
@@ -1067,7 +1069,7 @@
1067
1069
  ]
1068
1070
  },
1069
1071
  {
1070
- "id": 656,
1072
+ "id": 662,
1071
1073
  "name": "ngOnChanges",
1072
1074
  "kind": 2048,
1073
1075
  "kindString": "Method",
@@ -1083,14 +1085,14 @@
1083
1085
  ],
1084
1086
  "signatures": [
1085
1087
  {
1086
- "id": 657,
1088
+ "id": 663,
1087
1089
  "name": "ngOnChanges",
1088
1090
  "kind": 4096,
1089
1091
  "kindString": "Call signature",
1090
1092
  "flags": {},
1091
1093
  "parameters": [
1092
1094
  {
1093
- "id": 658,
1095
+ "id": 664,
1094
1096
  "name": "changes",
1095
1097
  "kind": 32768,
1096
1098
  "kindString": "Parameter",
@@ -1119,7 +1121,7 @@
1119
1121
  }
1120
1122
  },
1121
1123
  {
1122
- "id": 680,
1124
+ "id": 686,
1123
1125
  "name": "ngOnDestroy",
1124
1126
  "kind": 2048,
1125
1127
  "kindString": "Method",
@@ -1135,7 +1137,7 @@
1135
1137
  ],
1136
1138
  "signatures": [
1137
1139
  {
1138
- "id": 681,
1140
+ "id": 687,
1139
1141
  "name": "ngOnDestroy",
1140
1142
  "kind": 4096,
1141
1143
  "kindString": "Call signature",
@@ -1156,7 +1158,7 @@
1156
1158
  }
1157
1159
  },
1158
1160
  {
1159
- "id": 654,
1161
+ "id": 660,
1160
1162
  "name": "ngOnInit",
1161
1163
  "kind": 2048,
1162
1164
  "kindString": "Method",
@@ -1172,7 +1174,7 @@
1172
1174
  ],
1173
1175
  "signatures": [
1174
1176
  {
1175
- "id": 655,
1177
+ "id": 661,
1176
1178
  "name": "ngOnInit",
1177
1179
  "kind": 4096,
1178
1180
  "kindString": "Call signature",
@@ -1193,7 +1195,7 @@
1193
1195
  }
1194
1196
  },
1195
1197
  {
1196
- "id": 668,
1198
+ "id": 674,
1197
1199
  "name": "searchTextChanged",
1198
1200
  "kind": 2048,
1199
1201
  "kindString": "Method",
@@ -1209,14 +1211,14 @@
1209
1211
  ],
1210
1212
  "signatures": [
1211
1213
  {
1212
- "id": 669,
1214
+ "id": 675,
1213
1215
  "name": "searchTextChanged",
1214
1216
  "kind": 4096,
1215
1217
  "kindString": "Call signature",
1216
1218
  "flags": {},
1217
1219
  "parameters": [
1218
1220
  {
1219
- "id": 670,
1221
+ "id": 676,
1220
1222
  "name": "searchText",
1221
1223
  "kind": 32768,
1222
1224
  "kindString": "Parameter",
@@ -1235,7 +1237,7 @@
1235
1237
  ]
1236
1238
  },
1237
1239
  {
1238
- "id": 671,
1240
+ "id": 677,
1239
1241
  "name": "toggleSearchInput",
1240
1242
  "kind": 2048,
1241
1243
  "kindString": "Method",
@@ -1251,14 +1253,14 @@
1251
1253
  ],
1252
1254
  "signatures": [
1253
1255
  {
1254
- "id": 672,
1256
+ "id": 678,
1255
1257
  "name": "toggleSearchInput",
1256
1258
  "kind": 4096,
1257
1259
  "kindString": "Call signature",
1258
1260
  "flags": {},
1259
1261
  "parameters": [
1260
1262
  {
1261
- "id": 673,
1263
+ "id": 679,
1262
1264
  "name": "showInput",
1263
1265
  "kind": 32768,
1264
1266
  "kindString": "Parameter",
@@ -1282,45 +1284,45 @@
1282
1284
  "title": "Constructors",
1283
1285
  "kind": 512,
1284
1286
  "children": [
1285
- 627
1287
+ 633
1286
1288
  ]
1287
1289
  },
1288
1290
  {
1289
1291
  "title": "Properties",
1290
1292
  "kind": 1024,
1291
1293
  "children": [
1292
- 641,
1293
- 642,
1294
- 638,
1295
- 639,
1296
- 643,
1297
- 637,
1294
+ 647,
1295
+ 648,
1298
1296
  644,
1299
1297
  645,
1298
+ 649,
1299
+ 643,
1300
+ 650,
1301
+ 651,
1302
+ 652,
1303
+ 653,
1300
1304
  646,
1301
- 647,
1305
+ 639,
1306
+ 654,
1302
1307
  640,
1303
- 633,
1304
- 648,
1305
- 634,
1306
- 635,
1307
- 636
1308
+ 641,
1309
+ 642
1308
1310
  ]
1309
1311
  },
1310
1312
  {
1311
1313
  "title": "Methods",
1312
1314
  "kind": 2048,
1313
1315
  "children": [
1316
+ 671,
1314
1317
  665,
1315
- 659,
1316
- 661,
1317
- 677,
1318
- 674,
1319
- 656,
1318
+ 667,
1319
+ 683,
1320
1320
  680,
1321
- 654,
1322
- 668,
1323
- 671
1321
+ 662,
1322
+ 686,
1323
+ 660,
1324
+ 674,
1325
+ 677
1324
1326
  ]
1325
1327
  }
1326
1328
  ],
@@ -1353,7 +1355,7 @@
1353
1355
  ]
1354
1356
  },
1355
1357
  {
1356
- "id": 623,
1358
+ "id": 629,
1357
1359
  "name": "SkySearchModule",
1358
1360
  "kind": 128,
1359
1361
  "kindString": "Class",
@@ -1378,7 +1380,7 @@
1378
1380
  "title": "Constructors",
1379
1381
  "kind": 512,
1380
1382
  "children": [
1381
- 624
1383
+ 630
1382
1384
  ]
1383
1385
  }
1384
1386
  ],
@@ -2993,7 +2995,7 @@
2993
2995
  "type": "array",
2994
2996
  "elementType": {
2995
2997
  "type": "reference",
2996
- "id": 573,
2998
+ "id": 574,
2997
2999
  "name": "SkyAutocompleteSearchFunctionFilter"
2998
3000
  }
2999
3001
  }
@@ -3117,7 +3119,7 @@
3117
3119
  "typeArguments": [
3118
3120
  {
3119
3121
  "type": "reference",
3120
- "id": 579,
3122
+ "id": 581,
3121
3123
  "name": "SkyAutocompleteSelectionChange"
3122
3124
  }
3123
3125
  ],
@@ -4465,7 +4467,7 @@
4465
4467
  "type": "array",
4466
4468
  "elementType": {
4467
4469
  "type": "reference",
4468
- "id": 587,
4470
+ "id": 589,
4469
4471
  "name": "SkyCountryFieldCountry"
4470
4472
  }
4471
4473
  },
@@ -4682,7 +4684,7 @@
4682
4684
  "typeArguments": [
4683
4685
  {
4684
4686
  "type": "reference",
4685
- "id": 587,
4687
+ "id": 589,
4686
4688
  "name": "SkyCountryFieldCountry"
4687
4689
  }
4688
4690
  ],
@@ -4971,7 +4973,7 @@
4971
4973
  "flags": {},
4972
4974
  "type": {
4973
4975
  "type": "reference",
4974
- "id": 587,
4976
+ "id": 589,
4975
4977
  "name": "SkyCountryFieldCountry"
4976
4978
  }
4977
4979
  }
@@ -4992,7 +4994,7 @@
4992
4994
  "flags": {},
4993
4995
  "type": {
4994
4996
  "type": "reference",
4995
- "id": 587,
4997
+ "id": 589,
4996
4998
  "name": "SkyCountryFieldCountry"
4997
4999
  }
4998
5000
  }
@@ -5151,7 +5153,7 @@
5151
5153
  "flags": {},
5152
5154
  "type": {
5153
5155
  "type": "reference",
5154
- "id": 587,
5156
+ "id": 589,
5155
5157
  "name": "SkyCountryFieldCountry"
5156
5158
  }
5157
5159
  }
@@ -5245,7 +5247,7 @@
5245
5247
  "flags": {},
5246
5248
  "type": {
5247
5249
  "type": "reference",
5248
- "id": 587,
5250
+ "id": 589,
5249
5251
  "name": "SkyCountryFieldCountry"
5250
5252
  }
5251
5253
  }
@@ -5479,7 +5481,7 @@
5479
5481
  "flags": {},
5480
5482
  "type": {
5481
5483
  "type": "reference",
5482
- "id": 587,
5484
+ "id": 589,
5483
5485
  "name": "SkyCountryFieldCountry"
5484
5486
  }
5485
5487
  }
@@ -5848,7 +5850,7 @@
5848
5850
  "typeArguments": [
5849
5851
  {
5850
5852
  "type": "reference",
5851
- "id": 599,
5853
+ "id": 601,
5852
5854
  "name": "SkyLookupAddClickEventArgs"
5853
5855
  }
5854
5856
  ],
@@ -6289,7 +6291,7 @@
6289
6291
  "type": "array",
6290
6292
  "elementType": {
6291
6293
  "type": "reference",
6292
- "id": 573,
6294
+ "id": 574,
6293
6295
  "name": "SkyAutocompleteSearchFunctionFilter"
6294
6296
  }
6295
6297
  },
@@ -6497,7 +6499,7 @@
6497
6499
  ],
6498
6500
  "type": {
6499
6501
  "type": "reference",
6500
- "id": 607,
6502
+ "id": 609,
6501
6503
  "name": "SkyLookupShowMoreConfig"
6502
6504
  }
6503
6505
  },
@@ -6953,7 +6955,7 @@
6953
6955
  },
6954
6956
  "type": {
6955
6957
  "type": "reference",
6956
- "id": 606,
6958
+ "id": 608,
6957
6959
  "name": "SkyLookupSelectModeType"
6958
6960
  }
6959
6961
  }
@@ -6983,7 +6985,7 @@
6983
6985
  "flags": {},
6984
6986
  "type": {
6985
6987
  "type": "reference",
6986
- "id": 606,
6988
+ "id": 608,
6987
6989
  "name": "SkyLookupSelectModeType"
6988
6990
  }
6989
6991
  }
@@ -7434,7 +7436,7 @@
7434
7436
  "flags": {},
7435
7437
  "type": {
7436
7438
  "type": "reference",
7437
- "id": 579,
7439
+ "id": 581,
7438
7440
  "name": "SkyAutocompleteSelectionChange"
7439
7441
  }
7440
7442
  }
@@ -8440,14 +8442,14 @@
8440
8442
  ]
8441
8443
  },
8442
8444
  {
8443
- "id": 579,
8445
+ "id": 581,
8444
8446
  "name": "SkyAutocompleteSelectionChange",
8445
8447
  "kind": 256,
8446
8448
  "kindString": "Interface",
8447
8449
  "flags": {},
8448
8450
  "children": [
8449
8451
  {
8450
- "id": 580,
8452
+ "id": 582,
8451
8453
  "name": "selectedItem",
8452
8454
  "kind": 1024,
8453
8455
  "kindString": "Property",
@@ -8475,7 +8477,7 @@
8475
8477
  "title": "Properties",
8476
8478
  "kind": 1024,
8477
8479
  "children": [
8478
- 580
8480
+ 582
8479
8481
  ]
8480
8482
  }
8481
8483
  ],
@@ -8488,7 +8490,7 @@
8488
8490
  ]
8489
8491
  },
8490
8492
  {
8491
- "id": 587,
8493
+ "id": 589,
8492
8494
  "name": "SkyCountryFieldCountry",
8493
8495
  "kind": 256,
8494
8496
  "kindString": "Interface",
@@ -8498,7 +8500,7 @@
8498
8500
  },
8499
8501
  "children": [
8500
8502
  {
8501
- "id": 590,
8503
+ "id": 592,
8502
8504
  "name": "dialCode",
8503
8505
  "kind": 1024,
8504
8506
  "kindString": "Property",
@@ -8521,7 +8523,7 @@
8521
8523
  }
8522
8524
  },
8523
8525
  {
8524
- "id": 588,
8526
+ "id": 590,
8525
8527
  "name": "iso2",
8526
8528
  "kind": 1024,
8527
8529
  "kindString": "Property",
@@ -8548,7 +8550,7 @@
8548
8550
  }
8549
8551
  },
8550
8552
  {
8551
- "id": 589,
8553
+ "id": 591,
8552
8554
  "name": "name",
8553
8555
  "kind": 1024,
8554
8556
  "kindString": "Property",
@@ -8576,9 +8578,9 @@
8576
8578
  "title": "Properties",
8577
8579
  "kind": 1024,
8578
8580
  "children": [
8581
+ 592,
8579
8582
  590,
8580
- 588,
8581
- 589
8583
+ 591
8582
8584
  ]
8583
8585
  }
8584
8586
  ],
@@ -8591,7 +8593,7 @@
8591
8593
  ]
8592
8594
  },
8593
8595
  {
8594
- "id": 596,
8596
+ "id": 598,
8595
8597
  "name": "SkyLookupAddCallbackArgs",
8596
8598
  "kind": 256,
8597
8599
  "kindString": "Interface",
@@ -8601,7 +8603,7 @@
8601
8603
  },
8602
8604
  "children": [
8603
8605
  {
8604
- "id": 598,
8606
+ "id": 600,
8605
8607
  "name": "data",
8606
8608
  "kind": 1024,
8607
8609
  "kindString": "Property",
@@ -8627,7 +8629,7 @@
8627
8629
  }
8628
8630
  },
8629
8631
  {
8630
- "id": 597,
8632
+ "id": 599,
8631
8633
  "name": "item",
8632
8634
  "kind": 1024,
8633
8635
  "kindString": "Property",
@@ -8653,8 +8655,8 @@
8653
8655
  "title": "Properties",
8654
8656
  "kind": 1024,
8655
8657
  "children": [
8656
- 598,
8657
- 597
8658
+ 600,
8659
+ 599
8658
8660
  ]
8659
8661
  }
8660
8662
  ],
@@ -8667,7 +8669,7 @@
8667
8669
  ]
8668
8670
  },
8669
8671
  {
8670
- "id": 599,
8672
+ "id": 601,
8671
8673
  "name": "SkyLookupAddClickEventArgs",
8672
8674
  "kind": 256,
8673
8675
  "kindString": "Interface",
@@ -8677,7 +8679,7 @@
8677
8679
  },
8678
8680
  "children": [
8679
8681
  {
8680
- "id": 600,
8682
+ "id": 602,
8681
8683
  "name": "itemAdded",
8682
8684
  "kind": 2048,
8683
8685
  "kindString": "Method",
@@ -8691,7 +8693,7 @@
8691
8693
  ],
8692
8694
  "signatures": [
8693
8695
  {
8694
- "id": 601,
8696
+ "id": 603,
8695
8697
  "name": "itemAdded",
8696
8698
  "kind": 4096,
8697
8699
  "kindString": "Call signature",
@@ -8701,7 +8703,7 @@
8701
8703
  },
8702
8704
  "parameters": [
8703
8705
  {
8704
- "id": 602,
8706
+ "id": 604,
8705
8707
  "name": "args",
8706
8708
  "kind": 32768,
8707
8709
  "kindString": "Parameter",
@@ -8711,7 +8713,7 @@
8711
8713
  },
8712
8714
  "type": {
8713
8715
  "type": "reference",
8714
- "id": 596,
8716
+ "id": 598,
8715
8717
  "name": "SkyLookupAddCallbackArgs"
8716
8718
  }
8717
8719
  }
@@ -8729,7 +8731,7 @@
8729
8731
  "title": "Methods",
8730
8732
  "kind": 2048,
8731
8733
  "children": [
8732
- 600
8734
+ 602
8733
8735
  ]
8734
8736
  }
8735
8737
  ],
@@ -8742,7 +8744,7 @@
8742
8744
  ]
8743
8745
  },
8744
8746
  {
8745
- "id": 607,
8747
+ "id": 609,
8746
8748
  "name": "SkyLookupShowMoreConfig",
8747
8749
  "kind": 256,
8748
8750
  "kindString": "Interface",
@@ -8752,7 +8754,7 @@
8752
8754
  },
8753
8755
  "children": [
8754
8756
  {
8755
- "id": 608,
8757
+ "id": 610,
8756
8758
  "name": "customPicker",
8757
8759
  "kind": 1024,
8758
8760
  "kindString": "Property",
@@ -8771,12 +8773,12 @@
8771
8773
  ],
8772
8774
  "type": {
8773
8775
  "type": "reference",
8774
- "id": 610,
8776
+ "id": 612,
8775
8777
  "name": "SkyLookupShowMoreCustomPicker"
8776
8778
  }
8777
8779
  },
8778
8780
  {
8779
- "id": 609,
8781
+ "id": 611,
8780
8782
  "name": "nativePickerConfig",
8781
8783
  "kind": 1024,
8782
8784
  "kindString": "Property",
@@ -8795,7 +8797,7 @@
8795
8797
  ],
8796
8798
  "type": {
8797
8799
  "type": "reference",
8798
- "id": 620,
8800
+ "id": 622,
8799
8801
  "name": "SkyLookupShowMoreNativePickerConfig"
8800
8802
  }
8801
8803
  }
@@ -8805,8 +8807,8 @@
8805
8807
  "title": "Properties",
8806
8808
  "kind": 1024,
8807
8809
  "children": [
8808
- 608,
8809
- 609
8810
+ 610,
8811
+ 611
8810
8812
  ]
8811
8813
  }
8812
8814
  ],
@@ -8819,7 +8821,7 @@
8819
8821
  ]
8820
8822
  },
8821
8823
  {
8822
- "id": 610,
8824
+ "id": 612,
8823
8825
  "name": "SkyLookupShowMoreCustomPicker",
8824
8826
  "kind": 256,
8825
8827
  "kindString": "Interface",
@@ -8829,7 +8831,7 @@
8829
8831
  },
8830
8832
  "children": [
8831
8833
  {
8832
- "id": 611,
8834
+ "id": 613,
8833
8835
  "name": "open",
8834
8836
  "kind": 2048,
8835
8837
  "kindString": "Method",
@@ -8843,21 +8845,21 @@
8843
8845
  ],
8844
8846
  "signatures": [
8845
8847
  {
8846
- "id": 612,
8848
+ "id": 614,
8847
8849
  "name": "open",
8848
8850
  "kind": 4096,
8849
8851
  "kindString": "Call signature",
8850
8852
  "flags": {},
8851
8853
  "parameters": [
8852
8854
  {
8853
- "id": 613,
8855
+ "id": 615,
8854
8856
  "name": "pickerContext",
8855
8857
  "kind": 32768,
8856
8858
  "kindString": "Parameter",
8857
8859
  "flags": {},
8858
8860
  "type": {
8859
8861
  "type": "reference",
8860
- "id": 614,
8862
+ "id": 616,
8861
8863
  "name": "SkyLookupShowMoreCustomPickerContext"
8862
8864
  }
8863
8865
  }
@@ -8875,7 +8877,7 @@
8875
8877
  "title": "Methods",
8876
8878
  "kind": 2048,
8877
8879
  "children": [
8878
- 611
8880
+ 613
8879
8881
  ]
8880
8882
  }
8881
8883
  ],
@@ -8888,7 +8890,7 @@
8888
8890
  ]
8889
8891
  },
8890
8892
  {
8891
- "id": 620,
8893
+ "id": 622,
8892
8894
  "name": "SkyLookupShowMoreNativePickerConfig",
8893
8895
  "kind": 256,
8894
8896
  "kindString": "Interface",
@@ -8898,7 +8900,7 @@
8898
8900
  },
8899
8901
  "children": [
8900
8902
  {
8901
- "id": 621,
8903
+ "id": 623,
8902
8904
  "name": "itemTemplate",
8903
8905
  "kind": 1024,
8904
8906
  "kindString": "Property",
@@ -8929,7 +8931,7 @@
8929
8931
  }
8930
8932
  },
8931
8933
  {
8932
- "id": 622,
8934
+ "id": 624,
8933
8935
  "name": "title",
8934
8936
  "kind": 1024,
8935
8937
  "kindString": "Property",
@@ -8963,8 +8965,8 @@
8963
8965
  "title": "Properties",
8964
8966
  "kind": 1024,
8965
8967
  "children": [
8966
- 621,
8967
- 622
8968
+ 623,
8969
+ 624
8968
8970
  ]
8969
8971
  }
8970
8972
  ],
@@ -9003,6 +9005,96 @@
9003
9005
  ]
9004
9006
  }
9005
9007
  },
9008
+ {
9009
+ "id": 625,
9010
+ "name": "SkyAutocompleteSearchArgs",
9011
+ "kind": 4194304,
9012
+ "kindString": "Type alias",
9013
+ "flags": {},
9014
+ "sources": [
9015
+ {
9016
+ "fileName": "projects/lookup/src/modules/autocomplete/types/autocomplete-search-args.ts",
9017
+ "line": 3,
9018
+ "character": 12
9019
+ }
9020
+ ],
9021
+ "type": {
9022
+ "type": "reflection",
9023
+ "declaration": {
9024
+ "id": 626,
9025
+ "name": "__type",
9026
+ "kind": 65536,
9027
+ "kindString": "Type literal",
9028
+ "flags": {},
9029
+ "children": [
9030
+ {
9031
+ "id": 627,
9032
+ "name": "context",
9033
+ "kind": 1024,
9034
+ "kindString": "Property",
9035
+ "flags": {
9036
+ "isOptional": true
9037
+ },
9038
+ "sources": [
9039
+ {
9040
+ "fileName": "lib/modules/autocomplete/types/autocomplete-search-args.ts",
9041
+ "line": 4,
9042
+ "character": 2
9043
+ }
9044
+ ],
9045
+ "type": {
9046
+ "type": "reference",
9047
+ "id": 628,
9048
+ "name": "SkyAutocompleteSearchContext"
9049
+ }
9050
+ }
9051
+ ],
9052
+ "groups": [
9053
+ {
9054
+ "title": "Properties",
9055
+ "kind": 1024,
9056
+ "children": [
9057
+ 627
9058
+ ]
9059
+ }
9060
+ ],
9061
+ "sources": [
9062
+ {
9063
+ "fileName": "lib/modules/autocomplete/types/autocomplete-search-args.ts",
9064
+ "line": 3,
9065
+ "character": 40
9066
+ }
9067
+ ]
9068
+ }
9069
+ }
9070
+ },
9071
+ {
9072
+ "id": 628,
9073
+ "name": "SkyAutocompleteSearchContext",
9074
+ "kind": 4194304,
9075
+ "kindString": "Type alias",
9076
+ "flags": {},
9077
+ "sources": [
9078
+ {
9079
+ "fileName": "projects/lookup/src/modules/autocomplete/types/autocomplete-search-context.ts",
9080
+ "line": 1,
9081
+ "character": 12
9082
+ }
9083
+ ],
9084
+ "type": {
9085
+ "type": "union",
9086
+ "types": [
9087
+ {
9088
+ "type": "literal",
9089
+ "value": "popover"
9090
+ },
9091
+ {
9092
+ "type": "literal",
9093
+ "value": "modal"
9094
+ }
9095
+ ]
9096
+ }
9097
+ },
9006
9098
  {
9007
9099
  "id": 568,
9008
9100
  "name": "SkyAutocompleteSearchFunction",
@@ -9012,7 +9104,7 @@
9012
9104
  "sources": [
9013
9105
  {
9014
9106
  "fileName": "projects/lookup/src/modules/autocomplete/types/autocomplete-search-function.ts",
9015
- "line": 3,
9107
+ "line": 4,
9016
9108
  "character": 12
9017
9109
  }
9018
9110
  ],
@@ -9027,7 +9119,7 @@
9027
9119
  "sources": [
9028
9120
  {
9029
9121
  "fileName": "lib/modules/autocomplete/types/autocomplete-search-function.ts",
9030
- "line": 3,
9122
+ "line": 4,
9031
9123
  "character": 44
9032
9124
  }
9033
9125
  ],
@@ -9063,11 +9155,25 @@
9063
9155
  "name": "any"
9064
9156
  }
9065
9157
  }
9158
+ },
9159
+ {
9160
+ "id": 573,
9161
+ "name": "args",
9162
+ "kind": 32768,
9163
+ "kindString": "Parameter",
9164
+ "flags": {
9165
+ "isOptional": true
9166
+ },
9167
+ "type": {
9168
+ "type": "reference",
9169
+ "id": 625,
9170
+ "name": "SkyAutocompleteSearchArgs"
9171
+ }
9066
9172
  }
9067
9173
  ],
9068
9174
  "type": {
9069
9175
  "type": "reference",
9070
- "id": 578,
9176
+ "id": 580,
9071
9177
  "name": "SkyAutocompleteSearchFunctionResponse"
9072
9178
  }
9073
9179
  }
@@ -9076,7 +9182,7 @@
9076
9182
  }
9077
9183
  },
9078
9184
  {
9079
- "id": 573,
9185
+ "id": 574,
9080
9186
  "name": "SkyAutocompleteSearchFunctionFilter",
9081
9187
  "kind": 4194304,
9082
9188
  "kindString": "Type alias",
@@ -9084,14 +9190,14 @@
9084
9190
  "sources": [
9085
9191
  {
9086
9192
  "fileName": "projects/lookup/src/modules/autocomplete/types/autocomplete-search-function-filter.ts",
9087
- "line": 1,
9193
+ "line": 3,
9088
9194
  "character": 12
9089
9195
  }
9090
9196
  ],
9091
9197
  "type": {
9092
9198
  "type": "reflection",
9093
9199
  "declaration": {
9094
- "id": 574,
9200
+ "id": 575,
9095
9201
  "name": "__type",
9096
9202
  "kind": 65536,
9097
9203
  "kindString": "Type literal",
@@ -9099,20 +9205,20 @@
9099
9205
  "sources": [
9100
9206
  {
9101
9207
  "fileName": "lib/modules/autocomplete/types/autocomplete-search-function-filter.ts",
9102
- "line": 1,
9208
+ "line": 3,
9103
9209
  "character": 50
9104
9210
  }
9105
9211
  ],
9106
9212
  "signatures": [
9107
9213
  {
9108
- "id": 575,
9214
+ "id": 576,
9109
9215
  "name": "__type",
9110
9216
  "kind": 4096,
9111
9217
  "kindString": "Call signature",
9112
9218
  "flags": {},
9113
9219
  "parameters": [
9114
9220
  {
9115
- "id": 576,
9221
+ "id": 577,
9116
9222
  "name": "searchText",
9117
9223
  "kind": 32768,
9118
9224
  "kindString": "Parameter",
@@ -9123,7 +9229,7 @@
9123
9229
  }
9124
9230
  },
9125
9231
  {
9126
- "id": 577,
9232
+ "id": 578,
9127
9233
  "name": "item",
9128
9234
  "kind": 32768,
9129
9235
  "kindString": "Parameter",
@@ -9132,6 +9238,20 @@
9132
9238
  "type": "intrinsic",
9133
9239
  "name": "any"
9134
9240
  }
9241
+ },
9242
+ {
9243
+ "id": 579,
9244
+ "name": "args",
9245
+ "kind": 32768,
9246
+ "kindString": "Parameter",
9247
+ "flags": {
9248
+ "isOptional": true
9249
+ },
9250
+ "type": {
9251
+ "type": "reference",
9252
+ "id": 625,
9253
+ "name": "SkyAutocompleteSearchArgs"
9254
+ }
9135
9255
  }
9136
9256
  ],
9137
9257
  "type": {
@@ -9144,7 +9264,7 @@
9144
9264
  }
9145
9265
  },
9146
9266
  {
9147
- "id": 578,
9267
+ "id": 580,
9148
9268
  "name": "SkyAutocompleteSearchFunctionResponse",
9149
9269
  "kind": 4194304,
9150
9270
  "kindString": "Type alias",
@@ -9185,7 +9305,7 @@
9185
9305
  }
9186
9306
  },
9187
9307
  {
9188
- "id": 606,
9308
+ "id": 608,
9189
9309
  "name": "SkyLookupSelectModeType",
9190
9310
  "kind": 4194304,
9191
9311
  "kindString": "Type alias",
@@ -9217,12 +9337,12 @@
9217
9337
  "title": "Classes",
9218
9338
  "kind": 128,
9219
9339
  "children": [
9220
- 581,
9221
- 584,
9222
- 593,
9223
- 614,
9224
- 626,
9225
- 623,
9340
+ 583,
9341
+ 586,
9342
+ 595,
9343
+ 616,
9344
+ 632,
9345
+ 629,
9226
9346
  1,
9227
9347
  93,
9228
9348
  259,
@@ -9235,13 +9355,13 @@
9235
9355
  "children": [
9236
9356
  556,
9237
9357
  562,
9238
- 579,
9239
- 587,
9240
- 596,
9241
- 599,
9242
- 607,
9243
- 610,
9244
- 620
9358
+ 581,
9359
+ 589,
9360
+ 598,
9361
+ 601,
9362
+ 609,
9363
+ 612,
9364
+ 622
9245
9365
  ]
9246
9366
  },
9247
9367
  {
@@ -9249,10 +9369,12 @@
9249
9369
  "kind": 4194304,
9250
9370
  "children": [
9251
9371
  567,
9372
+ 625,
9373
+ 628,
9252
9374
  568,
9253
- 573,
9254
- 578,
9255
- 606
9375
+ 574,
9376
+ 580,
9377
+ 608
9256
9378
  ]
9257
9379
  }
9258
9380
  ],
@@ -9343,7 +9465,7 @@
9343
9465
  {
9344
9466
  "fileName": "lookup-async-demo.component.html",
9345
9467
  "filePath": "/projects/lookup/documentation/code-examples/lookup/async/lookup-async-demo.component.html",
9346
- "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 idProperty=\"name\"\n selectMode=\"single\"\n [ariaLabelledBy]=\"nameLabel.id\"\n [enableShowMore]=\"true\"\n [searchFilters]=\"getSearchFilters()\"\n (searchAsync)=\"searchAsync($event)\"\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"
9468
+ "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 idProperty=\"name\"\n selectMode=\"single\"\n [ariaLabelledBy]=\"nameLabel.id\"\n [enableShowMore]=\"true\"\n (searchAsync)=\"searchAsync($event)\"\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"
9347
9469
  },
9348
9470
  {
9349
9471
  "fileName": "lookup-async-demo.component.scss",
@@ -9353,7 +9475,7 @@
9353
9475
  {
9354
9476
  "fileName": "lookup-async-demo.component.ts",
9355
9477
  "filePath": "/projects/lookup/documentation/code-examples/lookup/async/lookup-async-demo.component.ts",
9356
- "rawContents": "import { Component, OnInit } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\nimport {\n SkyAutocompleteSearchAsyncArgs,\n SkyAutocompleteSearchAsyncResult,\n SkyAutocompleteSearchFunctionFilter,\n} from '@skyux/lookup';\n\nimport { Subject } from 'rxjs';\n\n@Component({\n selector: 'app-async-lookup-demo',\n templateUrl: './lookup-async-demo.component.html',\n styleUrls: ['./lookup-async-demo.component.scss'],\n})\nexport class LookupAsyncDemoComponent 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 public searchAsync($event: SkyAutocompleteSearchAsyncArgs) {\n const result = new Subject<SkyAutocompleteSearchAsyncResult>();\n $event.result = result;\n setTimeout(() => {\n const searchText = $event.searchText.toLowerCase();\n const items = this.people.filter((person) => {\n return person.name.toLowerCase().includes(searchText);\n });\n result.next({\n hasMore: false,\n items,\n totalCount: items.length,\n });\n }, 800);\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n name: new FormControl(this.name),\n });\n }\n}\n"
9478
+ "rawContents": "import { Component, OnInit } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\nimport {\n SkyAutocompleteSearchAsyncArgs,\n SkyAutocompleteSearchAsyncResult,\n} from '@skyux/lookup';\n\nimport { Subject } from 'rxjs';\n\n@Component({\n selector: 'app-async-lookup-demo',\n templateUrl: './lookup-async-demo.component.html',\n styleUrls: ['./lookup-async-demo.component.scss'],\n})\nexport class LookupAsyncDemoComponent 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 public onSubmit(): void {\n alert('Form submitted with: ' + JSON.stringify(this.myForm.value));\n }\n\n public searchAsync($event: SkyAutocompleteSearchAsyncArgs) {\n const result = new Subject<SkyAutocompleteSearchAsyncResult>();\n $event.result = result;\n setTimeout(() => {\n const searchText = $event.searchText.toLowerCase();\n const items = this.people.filter((person) => {\n return person.name.toLowerCase().includes(searchText);\n });\n result.next({\n hasMore: false,\n items,\n totalCount: items.length,\n });\n }, 800);\n }\n\n private createForm(): void {\n this.myForm = this.formBuilder.group({\n name: new FormControl(this.name),\n });\n }\n}\n"
9357
9479
  },
9358
9480
  {
9359
9481
  "fileName": "lookup-async-demo.module.ts",
@@ -9403,7 +9525,7 @@
9403
9525
  {
9404
9526
  "fileName": "lookup-multiple-demo.component.ts",
9405
9527
  "filePath": "/projects/lookup/documentation/code-examples/lookup/multi-select/lookup-multiple-demo.component.ts",
9406
- "rawContents": "import { Component, OnInit } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\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 onAddButtonClicked(): void {\n alert('Add button clicked!');\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"
9528
+ "rawContents": "import { Component, OnInit } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\nimport {\n SkyAutocompleteSearchArgs,\n SkyAutocompleteSearchFunctionFilter,\n} 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 /**\n * When in the modal view, show all people in the search results, regardless if they have been chosen already.\n * When in the popover view (or in any other view), show people in the search results that have not been chosen already.\n */\n public getSearchFilters(): SkyAutocompleteSearchFunctionFilter[] {\n const names: any[] = this.myForm.controls.names.value;\n return [\n (\n searchText: string,\n item: any,\n args?: SkyAutocompleteSearchArgs\n ): boolean => {\n if (args?.context === 'modal') {\n return true;\n }\n const found = names.find((option) => option.name === item.name);\n return !found;\n },\n ];\n }\n\n public onAddButtonClicked(): void {\n alert('Add button clicked!');\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"
9407
9529
  },
9408
9530
  {
9409
9531
  "fileName": "lookup-multiple-demo.module.ts",