@skyux/grids 6.0.0-beta.2 → 6.0.0-beta.5

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.
@@ -981,7 +981,7 @@
981
981
  "sources": [
982
982
  {
983
983
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
984
- "line": 339,
984
+ "line": 340,
985
985
  "character": 2
986
986
  }
987
987
  ],
@@ -1241,6 +1241,26 @@
1241
1241
  }
1242
1242
  }
1243
1243
  },
1244
+ {
1245
+ "id": 156,
1246
+ "name": "dragulaGroupName",
1247
+ "kind": 1024,
1248
+ "kindString": "Property",
1249
+ "flags": {
1250
+ "isPublic": true
1251
+ },
1252
+ "sources": [
1253
+ {
1254
+ "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1255
+ "line": 292,
1256
+ "character": 9
1257
+ }
1258
+ ],
1259
+ "type": {
1260
+ "type": "intrinsic",
1261
+ "name": "string"
1262
+ }
1263
+ },
1244
1264
  {
1245
1265
  "id": 128,
1246
1266
  "name": "enableMultiselect",
@@ -1326,7 +1346,7 @@
1326
1346
  "defaultValue": "'width'"
1327
1347
  },
1328
1348
  {
1329
- "id": 156,
1349
+ "id": 157,
1330
1350
  "name": "gridId",
1331
1351
  "kind": 1024,
1332
1352
  "kindString": "Property",
@@ -1336,7 +1356,7 @@
1336
1356
  "sources": [
1337
1357
  {
1338
1358
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1339
- "line": 292,
1359
+ "line": 293,
1340
1360
  "character": 9
1341
1361
  }
1342
1362
  ],
@@ -1453,7 +1473,7 @@
1453
1473
  }
1454
1474
  },
1455
1475
  {
1456
- "id": 158,
1476
+ "id": 159,
1457
1477
  "name": "items",
1458
1478
  "kind": 1024,
1459
1479
  "kindString": "Property",
@@ -1463,7 +1483,7 @@
1463
1483
  "sources": [
1464
1484
  {
1465
1485
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1466
- "line": 294,
1486
+ "line": 295,
1467
1487
  "character": 9
1468
1488
  }
1469
1489
  ],
@@ -1476,7 +1496,7 @@
1476
1496
  }
1477
1497
  },
1478
1498
  {
1479
- "id": 159,
1499
+ "id": 160,
1480
1500
  "name": "maxColWidth",
1481
1501
  "kind": 1024,
1482
1502
  "kindString": "Property",
@@ -1486,7 +1506,7 @@
1486
1506
  "sources": [
1487
1507
  {
1488
1508
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1489
- "line": 295,
1509
+ "line": 296,
1490
1510
  "character": 9
1491
1511
  }
1492
1512
  ],
@@ -1542,7 +1562,7 @@
1542
1562
  "defaultValue": "..."
1543
1563
  },
1544
1564
  {
1545
- "id": 160,
1565
+ "id": 161,
1546
1566
  "name": "minColWidth",
1547
1567
  "kind": 1024,
1548
1568
  "kindString": "Property",
@@ -1552,7 +1572,7 @@
1552
1572
  "sources": [
1553
1573
  {
1554
1574
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1555
- "line": 296,
1575
+ "line": 297,
1556
1576
  "character": 9
1557
1577
  }
1558
1578
  ],
@@ -1643,7 +1663,7 @@
1643
1663
  "defaultValue": "..."
1644
1664
  },
1645
1665
  {
1646
- "id": 157,
1666
+ "id": 158,
1647
1667
  "name": "rowDeleteConfigs",
1648
1668
  "kind": 1024,
1649
1669
  "kindString": "Property",
@@ -1653,7 +1673,7 @@
1653
1673
  "sources": [
1654
1674
  {
1655
1675
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1656
- "line": 293,
1676
+ "line": 294,
1657
1677
  "character": 9
1658
1678
  }
1659
1679
  ],
@@ -1784,7 +1804,7 @@
1784
1804
  }
1785
1805
  },
1786
1806
  {
1787
- "id": 161,
1807
+ "id": 162,
1788
1808
  "name": "showResizeBar",
1789
1809
  "kind": 1024,
1790
1810
  "kindString": "Property",
@@ -1794,7 +1814,7 @@
1794
1814
  "sources": [
1795
1815
  {
1796
1816
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1797
- "line": 297,
1817
+ "line": 298,
1798
1818
  "character": 9
1799
1819
  }
1800
1820
  ],
@@ -1805,7 +1825,7 @@
1805
1825
  "defaultValue": "false"
1806
1826
  },
1807
1827
  {
1808
- "id": 162,
1828
+ "id": 163,
1809
1829
  "name": "showTopScroll",
1810
1830
  "kind": 1024,
1811
1831
  "kindString": "Property",
@@ -1815,7 +1835,7 @@
1815
1835
  "sources": [
1816
1836
  {
1817
1837
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
1818
- "line": 298,
1838
+ "line": 299,
1819
1839
  "character": 9
1820
1840
  }
1821
1841
  ],
@@ -2177,7 +2197,7 @@
2177
2197
  ]
2178
2198
  },
2179
2199
  {
2180
- "id": 163,
2200
+ "id": 164,
2181
2201
  "name": "tableWidth",
2182
2202
  "kind": 262144,
2183
2203
  "kindString": "Accessor",
@@ -2187,13 +2207,13 @@
2187
2207
  "sources": [
2188
2208
  {
2189
2209
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2190
- "line": 300,
2210
+ "line": 301,
2191
2211
  "character": 13
2192
2212
  }
2193
2213
  ],
2194
2214
  "getSignature": [
2195
2215
  {
2196
- "id": 164,
2216
+ "id": 165,
2197
2217
  "name": "tableWidth",
2198
2218
  "kind": 524288,
2199
2219
  "kindString": "Get signature",
@@ -2206,7 +2226,7 @@
2206
2226
  ]
2207
2227
  },
2208
2228
  {
2209
- "id": 274,
2229
+ "id": 275,
2210
2230
  "name": "cancelRowDelete",
2211
2231
  "kind": 2048,
2212
2232
  "kindString": "Method",
@@ -2216,20 +2236,20 @@
2216
2236
  "sources": [
2217
2237
  {
2218
2238
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2219
- "line": 763,
2239
+ "line": 768,
2220
2240
  "character": 9
2221
2241
  }
2222
2242
  ],
2223
2243
  "signatures": [
2224
2244
  {
2225
- "id": 275,
2245
+ "id": 276,
2226
2246
  "name": "cancelRowDelete",
2227
2247
  "kind": 4096,
2228
2248
  "kindString": "Call signature",
2229
2249
  "flags": {},
2230
2250
  "parameters": [
2231
2251
  {
2232
- "id": 276,
2252
+ "id": 277,
2233
2253
  "name": "id",
2234
2254
  "kind": 32768,
2235
2255
  "kindString": "Parameter",
@@ -2248,7 +2268,7 @@
2248
2268
  ]
2249
2269
  },
2250
2270
  {
2251
- "id": 277,
2271
+ "id": 278,
2252
2272
  "name": "confirmRowDelete",
2253
2273
  "kind": 2048,
2254
2274
  "kindString": "Method",
@@ -2258,20 +2278,20 @@
2258
2278
  "sources": [
2259
2279
  {
2260
2280
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2261
- "line": 772,
2281
+ "line": 777,
2262
2282
  "character": 9
2263
2283
  }
2264
2284
  ],
2265
2285
  "signatures": [
2266
2286
  {
2267
- "id": 278,
2287
+ "id": 279,
2268
2288
  "name": "confirmRowDelete",
2269
2289
  "kind": 4096,
2270
2290
  "kindString": "Call signature",
2271
2291
  "flags": {},
2272
2292
  "parameters": [
2273
2293
  {
2274
- "id": 279,
2294
+ "id": 280,
2275
2295
  "name": "id",
2276
2296
  "kind": 32768,
2277
2297
  "kindString": "Parameter",
@@ -2290,7 +2310,7 @@
2290
2310
  ]
2291
2311
  },
2292
2312
  {
2293
- "id": 223,
2313
+ "id": 224,
2294
2314
  "name": "getAriaSortDirection",
2295
2315
  "kind": 2048,
2296
2316
  "kindString": "Method",
@@ -2300,20 +2320,20 @@
2300
2320
  "sources": [
2301
2321
  {
2302
2322
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2303
- "line": 546,
2323
+ "line": 551,
2304
2324
  "character": 9
2305
2325
  }
2306
2326
  ],
2307
2327
  "signatures": [
2308
2328
  {
2309
- "id": 224,
2329
+ "id": 225,
2310
2330
  "name": "getAriaSortDirection",
2311
2331
  "kind": 4096,
2312
2332
  "kindString": "Call signature",
2313
2333
  "flags": {},
2314
2334
  "parameters": [
2315
2335
  {
2316
- "id": 225,
2336
+ "id": 226,
2317
2337
  "name": "column",
2318
2338
  "kind": 32768,
2319
2339
  "kindString": "Parameter",
@@ -2340,7 +2360,7 @@
2340
2360
  ]
2341
2361
  },
2342
2362
  {
2343
- "id": 210,
2363
+ "id": 211,
2344
2364
  "name": "getCaretIconNames",
2345
2365
  "kind": 2048,
2346
2366
  "kindString": "Method",
@@ -2350,20 +2370,20 @@
2350
2370
  "sources": [
2351
2371
  {
2352
2372
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2353
- "line": 482,
2373
+ "line": 487,
2354
2374
  "character": 9
2355
2375
  }
2356
2376
  ],
2357
2377
  "signatures": [
2358
2378
  {
2359
- "id": 211,
2379
+ "id": 212,
2360
2380
  "name": "getCaretIconNames",
2361
2381
  "kind": 4096,
2362
2382
  "kindString": "Call signature",
2363
2383
  "flags": {},
2364
2384
  "parameters": [
2365
2385
  {
2366
- "id": 212,
2386
+ "id": 213,
2367
2387
  "name": "column",
2368
2388
  "kind": 32768,
2369
2389
  "kindString": "Parameter",
@@ -2382,7 +2402,7 @@
2382
2402
  ]
2383
2403
  },
2384
2404
  {
2385
- "id": 226,
2405
+ "id": 227,
2386
2406
  "name": "getCaretVisibility",
2387
2407
  "kind": 2048,
2388
2408
  "kindString": "Method",
@@ -2392,20 +2412,20 @@
2392
2412
  "sources": [
2393
2413
  {
2394
2414
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2395
- "line": 561,
2415
+ "line": 566,
2396
2416
  "character": 9
2397
2417
  }
2398
2418
  ],
2399
2419
  "signatures": [
2400
2420
  {
2401
- "id": 227,
2421
+ "id": 228,
2402
2422
  "name": "getCaretVisibility",
2403
2423
  "kind": 4096,
2404
2424
  "kindString": "Call signature",
2405
2425
  "flags": {},
2406
2426
  "parameters": [
2407
2427
  {
2408
- "id": 228,
2428
+ "id": 229,
2409
2429
  "name": "columnField",
2410
2430
  "kind": 32768,
2411
2431
  "kindString": "Parameter",
@@ -2432,7 +2452,7 @@
2432
2452
  ]
2433
2453
  },
2434
2454
  {
2435
- "id": 229,
2455
+ "id": 230,
2436
2456
  "name": "getHelpInlineClass",
2437
2457
  "kind": 2048,
2438
2458
  "kindString": "Method",
@@ -2442,20 +2462,20 @@
2442
2462
  "sources": [
2443
2463
  {
2444
2464
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2445
- "line": 570,
2465
+ "line": 575,
2446
2466
  "character": 9
2447
2467
  }
2448
2468
  ],
2449
2469
  "signatures": [
2450
2470
  {
2451
- "id": 230,
2471
+ "id": 231,
2452
2472
  "name": "getHelpInlineClass",
2453
2473
  "kind": 4096,
2454
2474
  "kindString": "Call signature",
2455
2475
  "flags": {},
2456
2476
  "parameters": [
2457
2477
  {
2458
- "id": 231,
2478
+ "id": 232,
2459
2479
  "name": "columnField",
2460
2480
  "kind": 32768,
2461
2481
  "kindString": "Parameter",
@@ -2482,7 +2502,7 @@
2482
2502
  ]
2483
2503
  },
2484
2504
  {
2485
- "id": 280,
2505
+ "id": 281,
2486
2506
  "name": "getRowDeleteItem",
2487
2507
  "kind": 2048,
2488
2508
  "kindString": "Method",
@@ -2492,20 +2512,20 @@
2492
2512
  "sources": [
2493
2513
  {
2494
2514
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2495
- "line": 777,
2515
+ "line": 782,
2496
2516
  "character": 9
2497
2517
  }
2498
2518
  ],
2499
2519
  "signatures": [
2500
2520
  {
2501
- "id": 281,
2521
+ "id": 282,
2502
2522
  "name": "getRowDeleteItem",
2503
2523
  "kind": 4096,
2504
2524
  "kindString": "Call signature",
2505
2525
  "flags": {},
2506
2526
  "parameters": [
2507
2527
  {
2508
- "id": 282,
2528
+ "id": 283,
2509
2529
  "name": "id",
2510
2530
  "kind": 32768,
2511
2531
  "kindString": "Parameter",
@@ -2524,7 +2544,7 @@
2524
2544
  ]
2525
2545
  },
2526
2546
  {
2527
- "id": 271,
2547
+ "id": 272,
2528
2548
  "name": "getRowHeight",
2529
2549
  "kind": 2048,
2530
2550
  "kindString": "Method",
@@ -2534,20 +2554,20 @@
2534
2554
  "sources": [
2535
2555
  {
2536
2556
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2537
- "line": 759,
2557
+ "line": 764,
2538
2558
  "character": 9
2539
2559
  }
2540
2560
  ],
2541
2561
  "signatures": [
2542
2562
  {
2543
- "id": 272,
2563
+ "id": 273,
2544
2564
  "name": "getRowHeight",
2545
2565
  "kind": 4096,
2546
2566
  "kindString": "Call signature",
2547
2567
  "flags": {},
2548
2568
  "parameters": [
2549
2569
  {
2550
- "id": 273,
2570
+ "id": 274,
2551
2571
  "name": "index",
2552
2572
  "kind": 32768,
2553
2573
  "kindString": "Parameter",
@@ -2566,7 +2586,7 @@
2566
2586
  ]
2567
2587
  },
2568
2588
  {
2569
- "id": 220,
2589
+ "id": 221,
2570
2590
  "name": "getSortDirection",
2571
2591
  "kind": 2048,
2572
2592
  "kindString": "Method",
@@ -2576,20 +2596,20 @@
2576
2596
  "sources": [
2577
2597
  {
2578
2598
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2579
- "line": 533,
2599
+ "line": 538,
2580
2600
  "character": 9
2581
2601
  }
2582
2602
  ],
2583
2603
  "signatures": [
2584
2604
  {
2585
- "id": 221,
2605
+ "id": 222,
2586
2606
  "name": "getSortDirection",
2587
2607
  "kind": 4096,
2588
2608
  "kindString": "Call signature",
2589
2609
  "flags": {},
2590
2610
  "parameters": [
2591
2611
  {
2592
- "id": 222,
2612
+ "id": 223,
2593
2613
  "name": "columnField",
2594
2614
  "kind": 32768,
2595
2615
  "kindString": "Parameter",
@@ -2616,7 +2636,7 @@
2616
2636
  ]
2617
2637
  },
2618
2638
  {
2619
- "id": 205,
2639
+ "id": 206,
2620
2640
  "name": "getTableClassNames",
2621
2641
  "kind": 2048,
2622
2642
  "kindString": "Method",
@@ -2626,13 +2646,13 @@
2626
2646
  "sources": [
2627
2647
  {
2628
2648
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2629
- "line": 458,
2649
+ "line": 463,
2630
2650
  "character": 9
2631
2651
  }
2632
2652
  ],
2633
2653
  "signatures": [
2634
2654
  {
2635
- "id": 206,
2655
+ "id": 207,
2636
2656
  "name": "getTableClassNames",
2637
2657
  "kind": 4096,
2638
2658
  "kindString": "Call signature",
@@ -2645,7 +2665,7 @@
2645
2665
  ]
2646
2666
  },
2647
2667
  {
2648
- "id": 207,
2668
+ "id": 208,
2649
2669
  "name": "getTableHeaderClassNames",
2650
2670
  "kind": 2048,
2651
2671
  "kindString": "Method",
@@ -2655,20 +2675,20 @@
2655
2675
  "sources": [
2656
2676
  {
2657
2677
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2658
- "line": 472,
2678
+ "line": 477,
2659
2679
  "character": 9
2660
2680
  }
2661
2681
  ],
2662
2682
  "signatures": [
2663
2683
  {
2664
- "id": 208,
2684
+ "id": 209,
2665
2685
  "name": "getTableHeaderClassNames",
2666
2686
  "kind": 4096,
2667
2687
  "kindString": "Call signature",
2668
2688
  "flags": {},
2669
2689
  "parameters": [
2670
2690
  {
2671
- "id": 209,
2691
+ "id": 210,
2672
2692
  "name": "column",
2673
2693
  "kind": 32768,
2674
2694
  "kindString": "Parameter",
@@ -2687,7 +2707,7 @@
2687
2707
  ]
2688
2708
  },
2689
2709
  {
2690
- "id": 203,
2710
+ "id": 204,
2691
2711
  "name": "getTopScrollWidth",
2692
2712
  "kind": 2048,
2693
2713
  "kindString": "Method",
@@ -2697,13 +2717,13 @@
2697
2717
  "sources": [
2698
2718
  {
2699
2719
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2700
- "line": 454,
2720
+ "line": 459,
2701
2721
  "character": 9
2702
2722
  }
2703
2723
  ],
2704
2724
  "signatures": [
2705
2725
  {
2706
- "id": 204,
2726
+ "id": 205,
2707
2727
  "name": "getTopScrollWidth",
2708
2728
  "kind": 4096,
2709
2729
  "kindString": "Call signature",
@@ -2716,7 +2736,7 @@
2716
2736
  ]
2717
2737
  },
2718
2738
  {
2719
- "id": 268,
2739
+ "id": 269,
2720
2740
  "name": "isRowHighlighted",
2721
2741
  "kind": 2048,
2722
2742
  "kindString": "Method",
@@ -2726,20 +2746,20 @@
2726
2746
  "sources": [
2727
2747
  {
2728
2748
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2729
- "line": 752,
2749
+ "line": 757,
2730
2750
  "character": 9
2731
2751
  }
2732
2752
  ],
2733
2753
  "signatures": [
2734
2754
  {
2735
- "id": 269,
2755
+ "id": 270,
2736
2756
  "name": "isRowHighlighted",
2737
2757
  "kind": 4096,
2738
2758
  "kindString": "Call signature",
2739
2759
  "flags": {},
2740
2760
  "parameters": [
2741
2761
  {
2742
- "id": 270,
2762
+ "id": 271,
2743
2763
  "name": "id",
2744
2764
  "kind": 32768,
2745
2765
  "kindString": "Parameter",
@@ -2758,7 +2778,7 @@
2758
2778
  ]
2759
2779
  },
2760
2780
  {
2761
- "id": 192,
2781
+ "id": 193,
2762
2782
  "name": "ngAfterContentInit",
2763
2783
  "kind": 2048,
2764
2784
  "kindString": "Method",
@@ -2768,13 +2788,13 @@
2768
2788
  "sources": [
2769
2789
  {
2770
2790
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2771
- "line": 364,
2791
+ "line": 366,
2772
2792
  "character": 9
2773
2793
  }
2774
2794
  ],
2775
2795
  "signatures": [
2776
2796
  {
2777
- "id": 193,
2797
+ "id": 194,
2778
2798
  "name": "ngAfterContentInit",
2779
2799
  "kind": 4096,
2780
2800
  "kindString": "Call signature",
@@ -2795,7 +2815,7 @@
2795
2815
  }
2796
2816
  },
2797
2817
  {
2798
- "id": 194,
2818
+ "id": 195,
2799
2819
  "name": "ngAfterViewInit",
2800
2820
  "kind": 2048,
2801
2821
  "kindString": "Method",
@@ -2805,13 +2825,13 @@
2805
2825
  "sources": [
2806
2826
  {
2807
2827
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2808
- "line": 384,
2828
+ "line": 387,
2809
2829
  "character": 9
2810
2830
  }
2811
2831
  ],
2812
2832
  "signatures": [
2813
2833
  {
2814
- "id": 195,
2834
+ "id": 196,
2815
2835
  "name": "ngAfterViewInit",
2816
2836
  "kind": 4096,
2817
2837
  "kindString": "Call signature",
@@ -2832,7 +2852,7 @@
2832
2852
  }
2833
2853
  },
2834
2854
  {
2835
- "id": 196,
2855
+ "id": 197,
2836
2856
  "name": "ngOnChanges",
2837
2857
  "kind": 2048,
2838
2858
  "kindString": "Method",
@@ -2842,20 +2862,20 @@
2842
2862
  "sources": [
2843
2863
  {
2844
2864
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2845
- "line": 388,
2865
+ "line": 391,
2846
2866
  "character": 9
2847
2867
  }
2848
2868
  ],
2849
2869
  "signatures": [
2850
2870
  {
2851
- "id": 197,
2871
+ "id": 198,
2852
2872
  "name": "ngOnChanges",
2853
2873
  "kind": 4096,
2854
2874
  "kindString": "Call signature",
2855
2875
  "flags": {},
2856
2876
  "parameters": [
2857
2877
  {
2858
- "id": 198,
2878
+ "id": 199,
2859
2879
  "name": "changes",
2860
2880
  "kind": 32768,
2861
2881
  "kindString": "Parameter",
@@ -2884,7 +2904,7 @@
2884
2904
  }
2885
2905
  },
2886
2906
  {
2887
- "id": 199,
2907
+ "id": 200,
2888
2908
  "name": "ngOnDestroy",
2889
2909
  "kind": 2048,
2890
2910
  "kindString": "Method",
@@ -2894,13 +2914,13 @@
2894
2914
  "sources": [
2895
2915
  {
2896
2916
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2897
- "line": 435,
2917
+ "line": 438,
2898
2918
  "character": 9
2899
2919
  }
2900
2920
  ],
2901
2921
  "signatures": [
2902
2922
  {
2903
- "id": 200,
2923
+ "id": 201,
2904
2924
  "name": "ngOnDestroy",
2905
2925
  "kind": 4096,
2906
2926
  "kindString": "Call signature",
@@ -2921,7 +2941,7 @@
2921
2941
  }
2922
2942
  },
2923
2943
  {
2924
- "id": 190,
2944
+ "id": 191,
2925
2945
  "name": "ngOnInit",
2926
2946
  "kind": 2048,
2927
2947
  "kindString": "Method",
@@ -2931,13 +2951,13 @@
2931
2951
  "sources": [
2932
2952
  {
2933
2953
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2934
- "line": 356,
2954
+ "line": 358,
2935
2955
  "character": 9
2936
2956
  }
2937
2957
  ],
2938
2958
  "signatures": [
2939
2959
  {
2940
- "id": 191,
2960
+ "id": 192,
2941
2961
  "name": "ngOnInit",
2942
2962
  "kind": 4096,
2943
2963
  "kindString": "Call signature",
@@ -2958,7 +2978,7 @@
2958
2978
  }
2959
2979
  },
2960
2980
  {
2961
- "id": 289,
2981
+ "id": 290,
2962
2982
  "name": "onGridScroll",
2963
2983
  "kind": 2048,
2964
2984
  "kindString": "Method",
@@ -2968,20 +2988,20 @@
2968
2988
  "sources": [
2969
2989
  {
2970
2990
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
2971
- "line": 800,
2991
+ "line": 805,
2972
2992
  "character": 9
2973
2993
  }
2974
2994
  ],
2975
2995
  "signatures": [
2976
2996
  {
2977
- "id": 290,
2997
+ "id": 291,
2978
2998
  "name": "onGridScroll",
2979
2999
  "kind": 4096,
2980
3000
  "kindString": "Call signature",
2981
3001
  "flags": {},
2982
3002
  "parameters": [
2983
3003
  {
2984
- "id": 291,
3004
+ "id": 292,
2985
3005
  "name": "event",
2986
3006
  "kind": 32768,
2987
3007
  "kindString": "Parameter",
@@ -3000,7 +3020,7 @@
3000
3020
  ]
3001
3021
  },
3002
3022
  {
3003
- "id": 249,
3023
+ "id": 250,
3004
3024
  "name": "onInputChangeResizeCol",
3005
3025
  "kind": 2048,
3006
3026
  "kindString": "Method",
@@ -3010,20 +3030,20 @@
3010
3030
  "sources": [
3011
3031
  {
3012
3032
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3013
- "line": 686,
3033
+ "line": 691,
3014
3034
  "character": 9
3015
3035
  }
3016
3036
  ],
3017
3037
  "signatures": [
3018
3038
  {
3019
- "id": 250,
3039
+ "id": 251,
3020
3040
  "name": "onInputChangeResizeCol",
3021
3041
  "kind": 4096,
3022
3042
  "kindString": "Call signature",
3023
3043
  "flags": {},
3024
3044
  "parameters": [
3025
3045
  {
3026
- "id": 251,
3046
+ "id": 252,
3027
3047
  "name": "event",
3028
3048
  "kind": 32768,
3029
3049
  "kindString": "Parameter",
@@ -3044,7 +3064,7 @@
3044
3064
  ]
3045
3065
  },
3046
3066
  {
3047
- "id": 213,
3067
+ "id": 214,
3048
3068
  "name": "onKeydown",
3049
3069
  "kind": 2048,
3050
3070
  "kindString": "Method",
@@ -3054,20 +3074,20 @@
3054
3074
  "sources": [
3055
3075
  {
3056
3076
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3057
- "line": 497,
3077
+ "line": 502,
3058
3078
  "character": 9
3059
3079
  }
3060
3080
  ],
3061
3081
  "signatures": [
3062
3082
  {
3063
- "id": 214,
3083
+ "id": 215,
3064
3084
  "name": "onKeydown",
3065
3085
  "kind": 4096,
3066
3086
  "kindString": "Call signature",
3067
3087
  "flags": {},
3068
3088
  "parameters": [
3069
3089
  {
3070
- "id": 215,
3090
+ "id": 216,
3071
3091
  "name": "event",
3072
3092
  "kind": 32768,
3073
3093
  "kindString": "Parameter",
@@ -3080,7 +3100,7 @@
3080
3100
  }
3081
3101
  },
3082
3102
  {
3083
- "id": 216,
3103
+ "id": 217,
3084
3104
  "name": "column",
3085
3105
  "kind": 32768,
3086
3106
  "kindString": "Parameter",
@@ -3099,7 +3119,7 @@
3099
3119
  ]
3100
3120
  },
3101
3121
  {
3102
- "id": 246,
3122
+ "id": 247,
3103
3123
  "name": "onKeydownResizeCol",
3104
3124
  "kind": 2048,
3105
3125
  "kindString": "Method",
@@ -3109,20 +3129,20 @@
3109
3129
  "sources": [
3110
3130
  {
3111
3131
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3112
- "line": 676,
3132
+ "line": 681,
3113
3133
  "character": 9
3114
3134
  }
3115
3135
  ],
3116
3136
  "signatures": [
3117
3137
  {
3118
- "id": 247,
3138
+ "id": 248,
3119
3139
  "name": "onKeydownResizeCol",
3120
3140
  "kind": 4096,
3121
3141
  "kindString": "Call signature",
3122
3142
  "flags": {},
3123
3143
  "parameters": [
3124
3144
  {
3125
- "id": 248,
3145
+ "id": 249,
3126
3146
  "name": "event",
3127
3147
  "kind": 32768,
3128
3148
  "kindString": "Parameter",
@@ -3143,7 +3163,7 @@
3143
3163
  ]
3144
3164
  },
3145
3165
  {
3146
- "id": 232,
3166
+ "id": 233,
3147
3167
  "name": "onMultiselectCheckboxChange",
3148
3168
  "kind": 2048,
3149
3169
  "kindString": "Method",
@@ -3153,13 +3173,13 @@
3153
3173
  "sources": [
3154
3174
  {
3155
3175
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3156
- "line": 578,
3176
+ "line": 583,
3157
3177
  "character": 9
3158
3178
  }
3159
3179
  ],
3160
3180
  "signatures": [
3161
3181
  {
3162
- "id": 233,
3182
+ "id": 234,
3163
3183
  "name": "onMultiselectCheckboxChange",
3164
3184
  "kind": 4096,
3165
3185
  "kindString": "Call signature",
@@ -3172,7 +3192,7 @@
3172
3192
  ]
3173
3193
  },
3174
3194
  {
3175
- "id": 243,
3195
+ "id": 244,
3176
3196
  "name": "onResizeColumnStart",
3177
3197
  "kind": 2048,
3178
3198
  "kindString": "Method",
@@ -3182,20 +3202,20 @@
3182
3202
  "sources": [
3183
3203
  {
3184
3204
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3185
- "line": 629,
3205
+ "line": 634,
3186
3206
  "character": 9
3187
3207
  }
3188
3208
  ],
3189
3209
  "signatures": [
3190
3210
  {
3191
- "id": 244,
3211
+ "id": 245,
3192
3212
  "name": "onResizeColumnStart",
3193
3213
  "kind": 4096,
3194
3214
  "kindString": "Call signature",
3195
3215
  "flags": {},
3196
3216
  "parameters": [
3197
3217
  {
3198
- "id": 245,
3218
+ "id": 246,
3199
3219
  "name": "event",
3200
3220
  "kind": 32768,
3201
3221
  "kindString": "Parameter",
@@ -3216,7 +3236,7 @@
3216
3236
  ]
3217
3237
  },
3218
3238
  {
3219
- "id": 255,
3239
+ "id": 256,
3220
3240
  "name": "onResizeHandleBlur",
3221
3241
  "kind": 2048,
3222
3242
  "kindString": "Method",
@@ -3226,20 +3246,20 @@
3226
3246
  "sources": [
3227
3247
  {
3228
3248
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3229
- "line": 713,
3249
+ "line": 718,
3230
3250
  "character": 9
3231
3251
  }
3232
3252
  ],
3233
3253
  "signatures": [
3234
3254
  {
3235
- "id": 256,
3255
+ "id": 257,
3236
3256
  "name": "onResizeHandleBlur",
3237
3257
  "kind": 4096,
3238
3258
  "kindString": "Call signature",
3239
3259
  "flags": {},
3240
3260
  "parameters": [
3241
3261
  {
3242
- "id": 257,
3262
+ "id": 258,
3243
3263
  "name": "event",
3244
3264
  "kind": 32768,
3245
3265
  "kindString": "Parameter",
@@ -3260,7 +3280,7 @@
3260
3280
  ]
3261
3281
  },
3262
3282
  {
3263
- "id": 258,
3283
+ "id": 259,
3264
3284
  "name": "onResizeHandleFocus",
3265
3285
  "kind": 2048,
3266
3286
  "kindString": "Method",
@@ -3270,20 +3290,20 @@
3270
3290
  "sources": [
3271
3291
  {
3272
3292
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3273
- "line": 717,
3293
+ "line": 722,
3274
3294
  "character": 9
3275
3295
  }
3276
3296
  ],
3277
3297
  "signatures": [
3278
3298
  {
3279
- "id": 259,
3299
+ "id": 260,
3280
3300
  "name": "onResizeHandleFocus",
3281
3301
  "kind": 4096,
3282
3302
  "kindString": "Call signature",
3283
3303
  "flags": {},
3284
3304
  "parameters": [
3285
3305
  {
3286
- "id": 260,
3306
+ "id": 261,
3287
3307
  "name": "event",
3288
3308
  "kind": 32768,
3289
3309
  "kindString": "Parameter",
@@ -3304,7 +3324,7 @@
3304
3324
  ]
3305
3325
  },
3306
3326
  {
3307
- "id": 252,
3327
+ "id": 253,
3308
3328
  "name": "onResizeHandleMove",
3309
3329
  "kind": 2048,
3310
3330
  "kindString": "Method",
@@ -3314,20 +3334,20 @@
3314
3334
  "sources": [
3315
3335
  {
3316
3336
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3317
- "line": 695,
3337
+ "line": 700,
3318
3338
  "character": 9
3319
3339
  }
3320
3340
  ],
3321
3341
  "signatures": [
3322
3342
  {
3323
- "id": 253,
3343
+ "id": 254,
3324
3344
  "name": "onResizeHandleMove",
3325
3345
  "kind": 4096,
3326
3346
  "kindString": "Call signature",
3327
3347
  "flags": {},
3328
3348
  "parameters": [
3329
3349
  {
3330
- "id": 254,
3350
+ "id": 255,
3331
3351
  "name": "event",
3332
3352
  "kind": 32768,
3333
3353
  "kindString": "Parameter",
@@ -3348,7 +3368,7 @@
3348
3368
  ]
3349
3369
  },
3350
3370
  {
3351
- "id": 261,
3371
+ "id": 262,
3352
3372
  "name": "onResizeHandleRelease",
3353
3373
  "kind": 2048,
3354
3374
  "kindString": "Method",
@@ -3358,20 +3378,20 @@
3358
3378
  "sources": [
3359
3379
  {
3360
3380
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3361
- "line": 726,
3381
+ "line": 731,
3362
3382
  "character": 9
3363
3383
  }
3364
3384
  ],
3365
3385
  "signatures": [
3366
3386
  {
3367
- "id": 262,
3387
+ "id": 263,
3368
3388
  "name": "onResizeHandleRelease",
3369
3389
  "kind": 4096,
3370
3390
  "kindString": "Call signature",
3371
3391
  "flags": {},
3372
3392
  "parameters": [
3373
3393
  {
3374
- "id": 263,
3394
+ "id": 264,
3375
3395
  "name": "event",
3376
3396
  "kind": 32768,
3377
3397
  "kindString": "Parameter",
@@ -3392,7 +3412,7 @@
3392
3412
  ]
3393
3413
  },
3394
3414
  {
3395
- "id": 264,
3415
+ "id": 265,
3396
3416
  "name": "onRowClick",
3397
3417
  "kind": 2048,
3398
3418
  "kindString": "Method",
@@ -3402,20 +3422,20 @@
3402
3422
  "sources": [
3403
3423
  {
3404
3424
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3405
- "line": 738,
3425
+ "line": 743,
3406
3426
  "character": 9
3407
3427
  }
3408
3428
  ],
3409
3429
  "signatures": [
3410
3430
  {
3411
- "id": 265,
3431
+ "id": 266,
3412
3432
  "name": "onRowClick",
3413
3433
  "kind": 4096,
3414
3434
  "kindString": "Call signature",
3415
3435
  "flags": {},
3416
3436
  "parameters": [
3417
3437
  {
3418
- "id": 266,
3438
+ "id": 267,
3419
3439
  "name": "event",
3420
3440
  "kind": 32768,
3421
3441
  "kindString": "Parameter",
@@ -3426,7 +3446,7 @@
3426
3446
  }
3427
3447
  },
3428
3448
  {
3429
- "id": 267,
3449
+ "id": 268,
3430
3450
  "name": "selectedItem",
3431
3451
  "kind": 32768,
3432
3452
  "kindString": "Parameter",
@@ -3445,7 +3465,7 @@
3445
3465
  ]
3446
3466
  },
3447
3467
  {
3448
- "id": 286,
3468
+ "id": 287,
3449
3469
  "name": "onTopScroll",
3450
3470
  "kind": 2048,
3451
3471
  "kindString": "Method",
@@ -3455,20 +3475,20 @@
3455
3475
  "sources": [
3456
3476
  {
3457
3477
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3458
- "line": 786,
3478
+ "line": 791,
3459
3479
  "character": 9
3460
3480
  }
3461
3481
  ],
3462
3482
  "signatures": [
3463
3483
  {
3464
- "id": 287,
3484
+ "id": 288,
3465
3485
  "name": "onTopScroll",
3466
3486
  "kind": 4096,
3467
3487
  "kindString": "Call signature",
3468
3488
  "flags": {},
3469
3489
  "parameters": [
3470
3490
  {
3471
- "id": 288,
3491
+ "id": 289,
3472
3492
  "name": "event",
3473
3493
  "kind": 32768,
3474
3494
  "kindString": "Parameter",
@@ -3487,7 +3507,7 @@
3487
3507
  ]
3488
3508
  },
3489
3509
  {
3490
- "id": 283,
3510
+ "id": 284,
3491
3511
  "name": "onTouchMove",
3492
3512
  "kind": 2048,
3493
3513
  "kindString": "Method",
@@ -3497,20 +3517,20 @@
3497
3517
  "sources": [
3498
3518
  {
3499
3519
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3500
- "line": 782,
3520
+ "line": 787,
3501
3521
  "character": 9
3502
3522
  }
3503
3523
  ],
3504
3524
  "signatures": [
3505
3525
  {
3506
- "id": 284,
3526
+ "id": 285,
3507
3527
  "name": "onTouchMove",
3508
3528
  "kind": 4096,
3509
3529
  "kindString": "Call signature",
3510
3530
  "flags": {},
3511
3531
  "parameters": [
3512
3532
  {
3513
- "id": 285,
3533
+ "id": 286,
3514
3534
  "name": "event",
3515
3535
  "kind": 32768,
3516
3536
  "kindString": "Parameter",
@@ -3529,7 +3549,7 @@
3529
3549
  ]
3530
3550
  },
3531
3551
  {
3532
- "id": 201,
3552
+ "id": 202,
3533
3553
  "name": "onWindowResize",
3534
3554
  "kind": 2048,
3535
3555
  "kindString": "Method",
@@ -3553,13 +3573,13 @@
3553
3573
  "sources": [
3554
3574
  {
3555
3575
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3556
- "line": 450,
3576
+ "line": 455,
3557
3577
  "character": 9
3558
3578
  }
3559
3579
  ],
3560
3580
  "signatures": [
3561
3581
  {
3562
- "id": 202,
3582
+ "id": 203,
3563
3583
  "name": "onWindowResize",
3564
3584
  "kind": 4096,
3565
3585
  "kindString": "Call signature",
@@ -3572,7 +3592,7 @@
3572
3592
  ]
3573
3593
  },
3574
3594
  {
3575
- "id": 217,
3595
+ "id": 218,
3576
3596
  "name": "sortByColumn",
3577
3597
  "kind": 2048,
3578
3598
  "kindString": "Method",
@@ -3582,20 +3602,20 @@
3582
3602
  "sources": [
3583
3603
  {
3584
3604
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3585
- "line": 504,
3605
+ "line": 509,
3586
3606
  "character": 9
3587
3607
  }
3588
3608
  ],
3589
3609
  "signatures": [
3590
3610
  {
3591
- "id": 218,
3611
+ "id": 219,
3592
3612
  "name": "sortByColumn",
3593
3613
  "kind": 4096,
3594
3614
  "kindString": "Call signature",
3595
3615
  "flags": {},
3596
3616
  "parameters": [
3597
3617
  {
3598
- "id": 219,
3618
+ "id": 220,
3599
3619
  "name": "column",
3600
3620
  "kind": 32768,
3601
3621
  "kindString": "Parameter",
@@ -3614,7 +3634,7 @@
3614
3634
  ]
3615
3635
  },
3616
3636
  {
3617
- "id": 240,
3637
+ "id": 241,
3618
3638
  "name": "updateColumnDescription",
3619
3639
  "kind": 2048,
3620
3640
  "kindString": "Method",
@@ -3624,20 +3644,20 @@
3624
3644
  "sources": [
3625
3645
  {
3626
3646
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3627
- "line": 614,
3647
+ "line": 619,
3628
3648
  "character": 9
3629
3649
  }
3630
3650
  ],
3631
3651
  "signatures": [
3632
3652
  {
3633
- "id": 241,
3653
+ "id": 242,
3634
3654
  "name": "updateColumnDescription",
3635
3655
  "kind": 4096,
3636
3656
  "kindString": "Call signature",
3637
3657
  "flags": {},
3638
3658
  "parameters": [
3639
3659
  {
3640
- "id": 242,
3660
+ "id": 243,
3641
3661
  "name": "change",
3642
3662
  "kind": 32768,
3643
3663
  "kindString": "Parameter",
@@ -3656,7 +3676,7 @@
3656
3676
  ]
3657
3677
  },
3658
3678
  {
3659
- "id": 234,
3679
+ "id": 235,
3660
3680
  "name": "updateColumnHeading",
3661
3681
  "kind": 2048,
3662
3682
  "kindString": "Method",
@@ -3666,20 +3686,20 @@
3666
3686
  "sources": [
3667
3687
  {
3668
3688
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3669
- "line": 582,
3689
+ "line": 587,
3670
3690
  "character": 9
3671
3691
  }
3672
3692
  ],
3673
3693
  "signatures": [
3674
3694
  {
3675
- "id": 235,
3695
+ "id": 236,
3676
3696
  "name": "updateColumnHeading",
3677
3697
  "kind": 4096,
3678
3698
  "kindString": "Call signature",
3679
3699
  "flags": {},
3680
3700
  "parameters": [
3681
3701
  {
3682
- "id": 236,
3702
+ "id": 237,
3683
3703
  "name": "change",
3684
3704
  "kind": 32768,
3685
3705
  "kindString": "Parameter",
@@ -3698,7 +3718,7 @@
3698
3718
  ]
3699
3719
  },
3700
3720
  {
3701
- "id": 237,
3721
+ "id": 238,
3702
3722
  "name": "updateInlineHelpPopover",
3703
3723
  "kind": 2048,
3704
3724
  "kindString": "Method",
@@ -3708,20 +3728,20 @@
3708
3728
  "sources": [
3709
3729
  {
3710
3730
  "fileName": "projects/grids/src/modules/grid/grid.component.ts",
3711
- "line": 597,
3731
+ "line": 602,
3712
3732
  "character": 9
3713
3733
  }
3714
3734
  ],
3715
3735
  "signatures": [
3716
3736
  {
3717
- "id": 238,
3737
+ "id": 239,
3718
3738
  "name": "updateInlineHelpPopover",
3719
3739
  "kind": 4096,
3720
3740
  "kindString": "Call signature",
3721
3741
  "flags": {},
3722
3742
  "parameters": [
3723
3743
  {
3724
- "id": 239,
3744
+ "id": 240,
3725
3745
  "name": "change",
3726
3746
  "kind": 32768,
3727
3747
  "kindString": "Parameter",
@@ -3757,24 +3777,25 @@
3757
3777
  154,
3758
3778
  127,
3759
3779
  155,
3780
+ 156,
3760
3781
  128,
3761
3782
  129,
3762
- 156,
3783
+ 157,
3763
3784
  130,
3764
3785
  131,
3765
3786
  132,
3766
- 158,
3767
3787
  159,
3768
- 133,
3769
3788
  160,
3789
+ 133,
3790
+ 161,
3770
3791
  134,
3771
3792
  148,
3772
- 157,
3793
+ 158,
3773
3794
  135,
3774
3795
  151,
3775
3796
  144,
3776
- 161,
3777
3797
  162,
3798
+ 163,
3778
3799
  145,
3779
3800
  152,
3780
3801
  146
@@ -3787,49 +3808,49 @@
3787
3808
  123,
3788
3809
  136,
3789
3810
  140,
3790
- 163
3811
+ 164
3791
3812
  ]
3792
3813
  },
3793
3814
  {
3794
3815
  "title": "Methods",
3795
3816
  "kind": 2048,
3796
3817
  "children": [
3797
- 274,
3798
- 277,
3799
- 223,
3800
- 210,
3801
- 226,
3802
- 229,
3803
- 280,
3804
- 271,
3805
- 220,
3806
- 205,
3807
- 207,
3808
- 203,
3809
- 268,
3810
- 192,
3811
- 194,
3812
- 196,
3813
- 199,
3814
- 190,
3815
- 289,
3816
- 249,
3817
- 213,
3818
- 246,
3819
- 232,
3820
- 243,
3821
- 255,
3822
- 258,
3823
- 252,
3824
- 261,
3825
- 264,
3826
- 286,
3827
- 283,
3828
- 201,
3829
- 217,
3830
- 240,
3831
- 234,
3832
- 237
3818
+ 275,
3819
+ 278,
3820
+ 224,
3821
+ 211,
3822
+ 227,
3823
+ 230,
3824
+ 281,
3825
+ 272,
3826
+ 221,
3827
+ 206,
3828
+ 208,
3829
+ 204,
3830
+ 269,
3831
+ 193,
3832
+ 195,
3833
+ 197,
3834
+ 200,
3835
+ 191,
3836
+ 290,
3837
+ 250,
3838
+ 214,
3839
+ 247,
3840
+ 233,
3841
+ 244,
3842
+ 256,
3843
+ 259,
3844
+ 253,
3845
+ 262,
3846
+ 265,
3847
+ 287,
3848
+ 284,
3849
+ 202,
3850
+ 218,
3851
+ 241,
3852
+ 235,
3853
+ 238
3833
3854
  ]
3834
3855
  }
3835
3856
  ],
@@ -4214,12 +4235,12 @@
4214
4235
  {
4215
4236
  "fileName": "grid-demo.component.html",
4216
4237
  "filePath": "/projects/grids/documentation/code-examples/grid/multiselect/grid-demo.component.html",
4217
- "rawContents": "<sky-grid\n [data]=\"data\"\n [enableMultiselect]=\"true\"\n (multiselectSelectionChange)=\"onMultiselectSelectionChange($event)\"\n (sortFieldChange)=\"onSortChangeForGrid($event)\"\n>\n <sky-grid-column field=\"name\" heading=\"Name\"></sky-grid-column>\n <sky-grid-column field=\"email\" heading=\"Email\"></sky-grid-column>\n <sky-grid-column field=\"amount\" heading=\"Amount\"></sky-grid-column>\n <sky-grid-column field=\"status\" heading=\"Status\"></sky-grid-column>\n</sky-grid>\n\n<p>Selected rows:</p>\n<p>\n {{ selectedRows }}\n</p>\n"
4238
+ "rawContents": "<sky-grid\n [data]=\"data\"\n [enableMultiselect]=\"true\"\n [selectedRowIds]=\"selectedRowIds\"\n (multiselectSelectionChange)=\"onMultiselectSelectionChange($event)\"\n (sortFieldChange)=\"onSortChangeForGrid($event)\"\n>\n <sky-grid-column field=\"name\" heading=\"Name\"></sky-grid-column>\n <sky-grid-column field=\"email\" heading=\"Email\"></sky-grid-column>\n <sky-grid-column field=\"amount\" heading=\"Amount\"></sky-grid-column>\n <sky-grid-column field=\"status\" heading=\"Status\"></sky-grid-column>\n</sky-grid>\n\n<p>Selected rows (name property):</p>\n<p>\n {{ selectedRows }}\n</p>\n"
4218
4239
  },
4219
4240
  {
4220
4241
  "fileName": "grid-demo.component.ts",
4221
4242
  "filePath": "/projects/grids/documentation/code-examples/grid/multiselect/grid-demo.component.ts",
4222
- "rawContents": "import { Component } from '@angular/core';\nimport { SkyGridSelectedRowsModelChange } from '@skyux/grids';\nimport { ListSortFieldSelectorModel } from '@skyux/list-builder-common';\n\n@Component({\n selector: 'app-grid-demo',\n templateUrl: './grid-demo.component.html',\n})\nexport class GridDemoComponent {\n public data: any[] = [\n {\n id: '1',\n name: 'Niels Bohr',\n email: 'niels.bohr@example.com',\n amount: 170.75,\n status: 'Paid',\n },\n {\n id: '2',\n name: 'Ada Lovelace',\n email: 'ada.lovelace@example.com',\n amount: 114.13,\n status: 'Paid',\n },\n {\n id: '3',\n name: 'Marie Curie',\n email: 'marie.curie@example.com',\n amount: 111,\n status: 'Past due',\n },\n {\n id: '4',\n name: 'Barbara McClintock',\n email: 'barbara.mcclintock@example.com',\n amount: 84.63,\n status: 'Paid',\n },\n {\n id: '5',\n name: 'Michael Faraday',\n email: 'michael.faraday@example.com',\n amount: 83.97,\n status: 'Paid',\n },\n {\n id: '6',\n name: 'Enrico Fermi',\n email: 'enrico.fermi@example.com',\n amount: 74.5,\n status: 'Past due',\n },\n {\n id: '7',\n name: 'Mae C. Jemison',\n email: 'mae.jemison@example.com',\n amount: 70.86,\n status: 'Paid',\n },\n ];\n\n public selectedRows: string;\n\n public onMultiselectSelectionChange(\n value: SkyGridSelectedRowsModelChange\n ): void {\n this.selectedRows = value.selectedRowIds.toString();\n }\n\n public onSortChangeForGrid(activeSort: ListSortFieldSelectorModel): void {\n this.data = this.sortGridData(activeSort, this.data);\n }\n\n private sortGridData(\n activeSort: ListSortFieldSelectorModel,\n data: any[]\n ): any[] {\n const sortField = activeSort.fieldSelector;\n const descending = activeSort.descending;\n\n return data\n .sort((a: any, b: any) => {\n let value1 = a[sortField];\n let value2 = b[sortField];\n\n if (value1 && typeof value1 === 'string') {\n value1 = value1.toLowerCase();\n }\n\n if (value2 && typeof value2 === 'string') {\n value2 = value2.toLowerCase();\n }\n\n if (value1 === value2) {\n return 0;\n }\n\n let result = value1 > value2 ? 1 : -1;\n\n if (descending) {\n result *= -1;\n }\n\n return result;\n })\n .slice();\n }\n}\n"
4243
+ "rawContents": "import { ChangeDetectorRef, Component } from '@angular/core';\nimport { SkyGridSelectedRowsModelChange } from '@skyux/grids';\nimport { ListSortFieldSelectorModel } from '@skyux/list-builder-common';\n\n@Component({\n selector: 'app-grid-demo',\n templateUrl: './grid-demo.component.html',\n})\nexport class GridDemoComponent {\n public data: any[] = [\n {\n id: '1',\n name: 'Niels Bohr',\n email: 'niels.bohr@example.com',\n amount: 170.75,\n status: 'Paid',\n },\n {\n id: '2',\n name: 'Ada Lovelace',\n email: 'ada.lovelace@example.com',\n amount: 114.13,\n status: 'Paid',\n },\n {\n id: '3',\n name: 'Marie Curie',\n email: 'marie.curie@example.com',\n amount: 111,\n status: 'Past due',\n },\n {\n id: '4',\n name: 'Barbara McClintock',\n email: 'barbara.mcclintock@example.com',\n amount: 84.63,\n status: 'Paid',\n },\n {\n id: '5',\n name: 'Michael Faraday',\n email: 'michael.faraday@example.com',\n amount: 83.97,\n status: 'Paid',\n },\n {\n id: '6',\n name: 'Enrico Fermi',\n email: 'enrico.fermi@example.com',\n amount: 74.5,\n status: 'Past due',\n },\n {\n id: '7',\n name: 'Mae C. Jemison',\n email: 'mae.jemison@example.com',\n amount: 70.86,\n status: 'Paid',\n },\n ];\n\n public selectedRows: string;\n public selectedRowIds: string[];\n\n constructor(private changeDetector: ChangeDetectorRef) {}\n\n public onMultiselectSelectionChange(\n value: SkyGridSelectedRowsModelChange\n ): void {\n this.selectedRowIds = value.selectedRowIds.slice().sort();\n this.selectedRows = this.data\n .reduce((newArray, item) => {\n if (value.selectedRowIds.indexOf(item.id) > -1) {\n newArray.push(item.name);\n }\n return newArray;\n }, [])\n .sort();\n this.changeDetector.markForCheck();\n }\n\n public onSortChangeForGrid(activeSort: ListSortFieldSelectorModel): void {\n this.data = this.sortGridData(activeSort, this.data);\n this.changeDetector.markForCheck();\n }\n\n private sortGridData(\n activeSort: ListSortFieldSelectorModel,\n data: any[]\n ): any[] {\n const sortField = activeSort.fieldSelector;\n const descending = activeSort.descending;\n\n return data\n .sort((a: any, b: any) => {\n let value1 = a[sortField];\n let value2 = b[sortField];\n\n if (value1 && typeof value1 === 'string') {\n value1 = value1.toLowerCase();\n }\n\n if (value2 && typeof value2 === 'string') {\n value2 = value2.toLowerCase();\n }\n\n if (value1 === value2) {\n return 0;\n }\n\n let result = value1 > value2 ? 1 : -1;\n\n if (descending) {\n result *= -1;\n }\n\n return result;\n })\n .slice();\n }\n}\n"
4223
4244
  },
4224
4245
  {
4225
4246
  "fileName": "grid-demo.module.ts",