@skyux/tiles 5.5.0 → 5.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/bundles/skyux-tiles.umd.js +65 -63
  2. package/documentation.json +50 -269
  3. package/esm2015/lib/modules/shared/sky-tiles-resources.module.js +1 -1
  4. package/esm2015/lib/modules/shared/sky-tiles-resources.module.js.map +1 -1
  5. package/esm2015/lib/modules/tiles/tile/tile.component.js +1 -1
  6. package/esm2015/lib/modules/tiles/tile/tile.component.js.map +1 -1
  7. package/esm2015/lib/modules/tiles/tile/tile.module.js +3 -3
  8. package/esm2015/lib/modules/tiles/tile/tile.module.js.map +1 -1
  9. package/esm2015/lib/modules/tiles/tile-content/tile-content.module.js +1 -1
  10. package/esm2015/lib/modules/tiles/tile-content/tile-content.module.js.map +1 -1
  11. package/esm2015/lib/modules/tiles/tile-dashboard/tile-dashboard.component.js +4 -4
  12. package/esm2015/lib/modules/tiles/tile-dashboard/tile-dashboard.component.js.map +1 -1
  13. package/esm2015/lib/modules/tiles/tile-dashboard/tile-dashboard.module.js +3 -3
  14. package/esm2015/lib/modules/tiles/tile-dashboard/tile-dashboard.module.js.map +1 -1
  15. package/esm2015/lib/modules/tiles/tile-dashboard/tile-dashboard.service.js +51 -49
  16. package/esm2015/lib/modules/tiles/tile-dashboard/tile-dashboard.service.js.map +1 -1
  17. package/esm2015/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.js +1 -1
  18. package/esm2015/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.js.map +1 -1
  19. package/esm2015/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config.js.map +1 -1
  20. package/esm2015/lib/modules/tiles/tiles.module.js +2 -2
  21. package/esm2015/lib/modules/tiles/tiles.module.js.map +1 -1
  22. package/fesm2015/skyux-tiles.js +101 -99
  23. package/fesm2015/skyux-tiles.js.map +1 -1
  24. package/lib/modules/tiles/tile-dashboard/tile-dashboard.component.d.ts +2 -2
  25. package/lib/modules/tiles/tile-dashboard/tile-dashboard.service.d.ts +2 -2
  26. package/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config.d.ts +1 -1
  27. package/package.json +16 -14
@@ -114,29 +114,7 @@
114
114
  }
115
115
  }
116
116
  ],
117
- "children": [
118
- {
119
- "id": 100,
120
- "name": "constructor",
121
- "kind": 512,
122
- "kindString": "Constructor",
123
- "flags": {},
124
- "signatures": [
125
- {
126
- "id": 101,
127
- "name": "new SkyTileContentModule",
128
- "kind": 16384,
129
- "kindString": "Constructor signature",
130
- "flags": {},
131
- "type": {
132
- "type": "reference",
133
- "id": 99,
134
- "name": "SkyTileContentModule"
135
- }
136
- }
137
- ]
138
- }
139
- ],
117
+ "children": [],
140
118
  "groups": [
141
119
  {
142
120
  "title": "Constructors",
@@ -149,7 +127,7 @@
149
127
  "sources": [
150
128
  {
151
129
  "fileName": "projects/tiles/src/modules/tiles/tile-content/tile-content.module.ts",
152
- "line": 16,
130
+ "line": 13,
153
131
  "character": 13
154
132
  }
155
133
  ]
@@ -174,29 +152,7 @@
174
152
  }
175
153
  }
176
154
  ],
177
- "children": [
178
- {
179
- "id": 218,
180
- "name": "constructor",
181
- "kind": 512,
182
- "kindString": "Constructor",
183
- "flags": {},
184
- "signatures": [
185
- {
186
- "id": 219,
187
- "name": "new SkyTileDashboardColumnModule",
188
- "kind": 16384,
189
- "kindString": "Constructor signature",
190
- "flags": {},
191
- "type": {
192
- "type": "reference",
193
- "id": 217,
194
- "name": "SkyTileDashboardColumnModule"
195
- }
196
- }
197
- ]
198
- }
199
- ],
155
+ "children": [],
200
156
  "groups": [
201
157
  {
202
158
  "title": "Constructors",
@@ -234,29 +190,7 @@
234
190
  }
235
191
  }
236
192
  ],
237
- "children": [
238
- {
239
- "id": 108,
240
- "name": "constructor",
241
- "kind": 512,
242
- "kindString": "Constructor",
243
- "flags": {},
244
- "signatures": [
245
- {
246
- "id": 109,
247
- "name": "new SkyTileDashboardModule",
248
- "kind": 16384,
249
- "kindString": "Constructor signature",
250
- "flags": {},
251
- "type": {
252
- "type": "reference",
253
- "id": 107,
254
- "name": "SkyTileDashboardModule"
255
- }
256
- }
257
- ]
258
- }
259
- ],
193
+ "children": [],
260
194
  "groups": [
261
195
  {
262
196
  "title": "Constructors",
@@ -269,7 +203,7 @@
269
203
  "sources": [
270
204
  {
271
205
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.module.ts",
272
- "line": 20,
206
+ "line": 21,
273
207
  "character": 13
274
208
  }
275
209
  ]
@@ -302,7 +236,7 @@
302
236
  "sources": [
303
237
  {
304
238
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.service.ts",
305
- "line": 70,
239
+ "line": 62,
306
240
  "character": 2
307
241
  }
308
242
  ],
@@ -384,7 +318,7 @@
384
318
  "sources": [
385
319
  {
386
320
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.service.ts",
387
- "line": 54,
321
+ "line": 46,
388
322
  "character": 9
389
323
  }
390
324
  ],
@@ -413,7 +347,7 @@
413
347
  "sources": [
414
348
  {
415
349
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.service.ts",
416
- "line": 129,
350
+ "line": 121,
417
351
  "character": 9
418
352
  }
419
353
  ],
@@ -484,7 +418,7 @@
484
418
  "sources": [
485
419
  {
486
420
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.service.ts",
487
- "line": 158,
421
+ "line": 150,
488
422
  "character": 9
489
423
  }
490
424
  ],
@@ -532,7 +466,7 @@
532
466
  "sources": [
533
467
  {
534
468
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.service.ts",
535
- "line": 183,
469
+ "line": 175,
536
470
  "character": 9
537
471
  }
538
472
  ],
@@ -595,7 +529,7 @@
595
529
  "sources": [
596
530
  {
597
531
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.service.ts",
598
- "line": 144,
532
+ "line": 136,
599
533
  "character": 9
600
534
  }
601
535
  ],
@@ -663,7 +597,7 @@
663
597
  "sources": [
664
598
  {
665
599
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.service.ts",
666
- "line": 39,
600
+ "line": 31,
667
601
  "character": 13
668
602
  }
669
603
  ]
@@ -688,29 +622,7 @@
688
622
  }
689
623
  }
690
624
  ],
691
- "children": [
692
- {
693
- "id": 97,
694
- "name": "constructor",
695
- "kind": 512,
696
- "kindString": "Constructor",
697
- "flags": {},
698
- "signatures": [
699
- {
700
- "id": 98,
701
- "name": "new SkyTileModule",
702
- "kind": 16384,
703
- "kindString": "Constructor signature",
704
- "flags": {},
705
- "type": {
706
- "type": "reference",
707
- "id": 96,
708
- "name": "SkyTileModule"
709
- }
710
- }
711
- ]
712
- }
713
- ],
625
+ "children": [],
714
626
  "groups": [
715
627
  {
716
628
  "title": "Constructors",
@@ -723,7 +635,7 @@
723
635
  "sources": [
724
636
  {
725
637
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.module.ts",
726
- "line": 37,
638
+ "line": 31,
727
639
  "character": 13
728
640
  }
729
641
  ]
@@ -748,29 +660,7 @@
748
660
  }
749
661
  }
750
662
  ],
751
- "children": [
752
- {
753
- "id": 241,
754
- "name": "constructor",
755
- "kind": 512,
756
- "kindString": "Constructor",
757
- "flags": {},
758
- "signatures": [
759
- {
760
- "id": 242,
761
- "name": "new SkyTilesModule",
762
- "kind": 16384,
763
- "kindString": "Constructor signature",
764
- "flags": {},
765
- "type": {
766
- "type": "reference",
767
- "id": 240,
768
- "name": "SkyTilesModule"
769
- }
770
- }
771
- ]
772
- }
773
- ],
663
+ "children": [],
774
664
  "groups": [
775
665
  {
776
666
  "title": "Constructors",
@@ -821,7 +711,7 @@
821
711
  "sources": [
822
712
  {
823
713
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
824
- "line": 117,
714
+ "line": 115,
825
715
  "character": 2
826
716
  }
827
717
  ],
@@ -898,27 +788,6 @@
898
788
  }
899
789
  ]
900
790
  },
901
- {
902
- "id": 22,
903
- "name": "elementRef",
904
- "kind": 1024,
905
- "kindString": "Property",
906
- "flags": {
907
- "isPublic": true
908
- },
909
- "type": {
910
- "type": "reference",
911
- "typeArguments": [
912
- {
913
- "type": "intrinsic",
914
- "name": "any"
915
- }
916
- ],
917
- "qualifiedName": "ElementRef",
918
- "package": "@angular/core",
919
- "name": "ElementRef"
920
- }
921
- },
922
791
  {
923
792
  "id": 12,
924
793
  "name": "helpClick",
@@ -945,7 +814,7 @@
945
814
  "sources": [
946
815
  {
947
816
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
948
- "line": 73,
817
+ "line": 71,
949
818
  "character": 9
950
819
  }
951
820
  ],
@@ -989,7 +858,7 @@
989
858
  "sources": [
990
859
  {
991
860
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
992
- "line": 66,
861
+ "line": 64,
993
862
  "character": 9
994
863
  }
995
864
  ],
@@ -1018,7 +887,7 @@
1018
887
  "sources": [
1019
888
  {
1020
889
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1021
- "line": 99,
890
+ "line": 97,
1022
891
  "character": 9
1023
892
  }
1024
893
  ],
@@ -1054,7 +923,7 @@
1054
923
  "sources": [
1055
924
  {
1056
925
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1057
- "line": 59,
926
+ "line": 57,
1058
927
  "character": 9
1059
928
  }
1060
929
  ],
@@ -1104,7 +973,7 @@
1104
973
  "sources": [
1105
974
  {
1106
975
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1107
- "line": 46,
976
+ "line": 44,
1108
977
  "character": 9
1109
978
  }
1110
979
  ],
@@ -1146,7 +1015,7 @@
1146
1015
  "sources": [
1147
1016
  {
1148
1017
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1149
- "line": 38,
1018
+ "line": 36,
1150
1019
  "character": 9
1151
1020
  }
1152
1021
  ],
@@ -1182,7 +1051,7 @@
1182
1051
  "sources": [
1183
1052
  {
1184
1053
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1185
- "line": 52,
1054
+ "line": 50,
1186
1055
  "character": 9
1187
1056
  }
1188
1057
  ],
@@ -1202,7 +1071,7 @@
1202
1071
  "sources": [
1203
1072
  {
1204
1073
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1205
- "line": 155,
1074
+ "line": 153,
1206
1075
  "character": 13
1207
1076
  }
1208
1077
  ],
@@ -1231,7 +1100,7 @@
1231
1100
  "sources": [
1232
1101
  {
1233
1102
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1234
- "line": 151,
1103
+ "line": 149,
1235
1104
  "character": 13
1236
1105
  }
1237
1106
  ],
@@ -1260,7 +1129,7 @@
1260
1129
  "sources": [
1261
1130
  {
1262
1131
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1263
- "line": 75,
1132
+ "line": 73,
1264
1133
  "character": 13
1265
1134
  }
1266
1135
  ],
@@ -1324,7 +1193,7 @@
1324
1193
  "sources": [
1325
1194
  {
1326
1195
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1327
- "line": 163,
1196
+ "line": 161,
1328
1197
  "character": 9
1329
1198
  }
1330
1199
  ],
@@ -1366,7 +1235,7 @@
1366
1235
  "sources": [
1367
1236
  {
1368
1237
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1369
- "line": 147,
1238
+ "line": 145,
1370
1239
  "character": 9
1371
1240
  }
1372
1241
  ],
@@ -1395,7 +1264,7 @@
1395
1264
  "sources": [
1396
1265
  {
1397
1266
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1398
- "line": 167,
1267
+ "line": 165,
1399
1268
  "character": 9
1400
1269
  }
1401
1270
  ],
@@ -1439,7 +1308,7 @@
1439
1308
  "sources": [
1440
1309
  {
1441
1310
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1442
- "line": 138,
1311
+ "line": 136,
1443
1312
  "character": 9
1444
1313
  }
1445
1314
  ],
@@ -1476,7 +1345,7 @@
1476
1345
  "sources": [
1477
1346
  {
1478
1347
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1479
- "line": 143,
1348
+ "line": 141,
1480
1349
  "character": 9
1481
1350
  }
1482
1351
  ],
@@ -1505,7 +1374,7 @@
1505
1374
  "sources": [
1506
1375
  {
1507
1376
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1508
- "line": 159,
1377
+ "line": 157,
1509
1378
  "character": 9
1510
1379
  }
1511
1380
  ],
@@ -1571,7 +1440,7 @@
1571
1440
  "sources": [
1572
1441
  {
1573
1442
  "fileName": "projects/tiles/src/modules/tiles/tile/tile.component.ts",
1574
- "line": 31,
1443
+ "line": 29,
1575
1444
  "character": 13
1576
1445
  }
1577
1446
  ],
@@ -1607,29 +1476,7 @@
1607
1476
  }
1608
1477
  }
1609
1478
  ],
1610
- "children": [
1611
- {
1612
- "id": 44,
1613
- "name": "constructor",
1614
- "kind": 512,
1615
- "kindString": "Constructor",
1616
- "flags": {},
1617
- "signatures": [
1618
- {
1619
- "id": 45,
1620
- "name": "SkyTileSummaryComponent",
1621
- "kind": 16384,
1622
- "kindString": "Constructor signature",
1623
- "flags": {},
1624
- "type": {
1625
- "type": "reference",
1626
- "id": 43,
1627
- "name": "SkyTileSummaryComponent"
1628
- }
1629
- }
1630
- ]
1631
- }
1632
- ],
1479
+ "children": [],
1633
1480
  "groups": [
1634
1481
  {
1635
1482
  "title": "Constructors",
@@ -1670,29 +1517,7 @@
1670
1517
  }
1671
1518
  }
1672
1519
  ],
1673
- "children": [
1674
- {
1675
- "id": 47,
1676
- "name": "constructor",
1677
- "kind": 512,
1678
- "kindString": "Constructor",
1679
- "flags": {},
1680
- "signatures": [
1681
- {
1682
- "id": 48,
1683
- "name": "SkyTileTitleComponent",
1684
- "kind": 16384,
1685
- "kindString": "Constructor signature",
1686
- "flags": {},
1687
- "type": {
1688
- "type": "reference",
1689
- "id": 46,
1690
- "name": "SkyTileTitleComponent"
1691
- }
1692
- }
1693
- ]
1694
- }
1695
- ],
1520
+ "children": [],
1696
1521
  "groups": [
1697
1522
  {
1698
1523
  "title": "Constructors",
@@ -1733,29 +1558,7 @@
1733
1558
  }
1734
1559
  }
1735
1560
  ],
1736
- "children": [
1737
- {
1738
- "id": 50,
1739
- "name": "constructor",
1740
- "kind": 512,
1741
- "kindString": "Constructor",
1742
- "flags": {},
1743
- "signatures": [
1744
- {
1745
- "id": 51,
1746
- "name": "SkyTileContentSectionComponent",
1747
- "kind": 16384,
1748
- "kindString": "Constructor signature",
1749
- "flags": {},
1750
- "type": {
1751
- "type": "reference",
1752
- "id": 49,
1753
- "name": "SkyTileContentSectionComponent"
1754
- }
1755
- }
1756
- ]
1757
- }
1758
- ],
1561
+ "children": [],
1759
1562
  "groups": [
1760
1563
  {
1761
1564
  "title": "Constructors",
@@ -1796,29 +1599,7 @@
1796
1599
  }
1797
1600
  }
1798
1601
  ],
1799
- "children": [
1800
- {
1801
- "id": 53,
1802
- "name": "constructor",
1803
- "kind": 512,
1804
- "kindString": "Constructor",
1805
- "flags": {},
1806
- "signatures": [
1807
- {
1808
- "id": 54,
1809
- "name": "SkyTileContentComponent",
1810
- "kind": 16384,
1811
- "kindString": "Constructor signature",
1812
- "flags": {},
1813
- "type": {
1814
- "type": "reference",
1815
- "id": 52,
1816
- "name": "SkyTileContentComponent"
1817
- }
1818
- }
1819
- ]
1820
- }
1821
- ],
1602
+ "children": [],
1822
1603
  "groups": [
1823
1604
  {
1824
1605
  "title": "Constructors",
@@ -1869,7 +1650,7 @@
1869
1650
  "sources": [
1870
1651
  {
1871
1652
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
1872
- "line": 104,
1653
+ "line": 100,
1873
1654
  "character": 2
1874
1655
  }
1875
1656
  ],
@@ -1964,7 +1745,7 @@
1964
1745
  "sources": [
1965
1746
  {
1966
1747
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
1967
- "line": 80,
1748
+ "line": 76,
1968
1749
  "character": 9
1969
1750
  }
1970
1751
  ],
@@ -2009,7 +1790,7 @@
2009
1790
  "sources": [
2010
1791
  {
2011
1792
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2012
- "line": 62,
1793
+ "line": 58,
2013
1794
  "character": 9
2014
1795
  }
2015
1796
  ],
@@ -2039,7 +1820,7 @@
2039
1820
  "sources": [
2040
1821
  {
2041
1822
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2042
- "line": 93,
1823
+ "line": 89,
2043
1824
  "character": 9
2044
1825
  }
2045
1826
  ],
@@ -2075,7 +1856,7 @@
2075
1856
  "sources": [
2076
1857
  {
2077
1858
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2078
- "line": 72,
1859
+ "line": 68,
2079
1860
  "character": 9
2080
1861
  }
2081
1862
  ],
@@ -2110,7 +1891,7 @@
2110
1891
  "sources": [
2111
1892
  {
2112
1893
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2113
- "line": 89,
1894
+ "line": 85,
2114
1895
  "character": 9
2115
1896
  }
2116
1897
  ],
@@ -2130,7 +1911,7 @@
2130
1911
  "sources": [
2131
1912
  {
2132
1913
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2133
- "line": 91,
1914
+ "line": 87,
2134
1915
  "character": 9
2135
1916
  }
2136
1917
  ],
@@ -2162,7 +1943,7 @@
2162
1943
  "sources": [
2163
1944
  {
2164
1945
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2165
- "line": 45,
1946
+ "line": 41,
2166
1947
  "character": 13
2167
1948
  }
2168
1949
  ],
@@ -2237,7 +2018,7 @@
2237
2018
  "sources": [
2238
2019
  {
2239
2020
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2240
- "line": 148,
2021
+ "line": 144,
2241
2022
  "character": 9
2242
2023
  }
2243
2024
  ],
@@ -2274,7 +2055,7 @@
2274
2055
  "sources": [
2275
2056
  {
2276
2057
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2277
- "line": 159,
2058
+ "line": 155,
2278
2059
  "character": 9
2279
2060
  }
2280
2061
  ],
@@ -2340,7 +2121,7 @@
2340
2121
  "sources": [
2341
2122
  {
2342
2123
  "fileName": "projects/tiles/src/modules/tiles/tile-dashboard/tile-dashboard.component.ts",
2343
- "line": 39,
2124
+ "line": 35,
2344
2125
  "character": 13
2345
2126
  }
2346
2127
  ],
@@ -2969,12 +2750,12 @@
2969
2750
  {
2970
2751
  "fileName": "tiles-demo.component.ts",
2971
2752
  "filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tiles-demo.component.ts",
2972
- "rawContents": "import { Component } from '@angular/core';\n\nimport { SkyTileDashboardConfig } from '@skyux/tiles';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\n\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\n\n@Component({\n selector: 'app-tiles-demo',\n templateUrl: './tiles-demo.component.html',\n})\nexport class TilesDemoComponent {\n public dashboardConfig: SkyTileDashboardConfig = {\n tiles: [\n {\n id: 'tile1',\n componentType: TileDemoTile1Component,\n },\n {\n id: 'tile2',\n componentType: TileDemoTile2Component,\n },\n ],\n layout: {\n singleColumn: {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n multiColumn: [\n {\n tiles: [\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n ],\n },\n ],\n },\n };\n}\n"
2753
+ "rawContents": "import { Component } from '@angular/core';\nimport { SkyTileDashboardConfig } from '@skyux/tiles';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\n\n@Component({\n selector: 'app-tiles-demo',\n templateUrl: './tiles-demo.component.html',\n})\nexport class TilesDemoComponent {\n public dashboardConfig: SkyTileDashboardConfig = {\n tiles: [\n {\n id: 'tile1',\n componentType: TileDemoTile1Component,\n },\n {\n id: 'tile2',\n componentType: TileDemoTile2Component,\n },\n ],\n layout: {\n singleColumn: {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n multiColumn: [\n {\n tiles: [\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n ],\n },\n ],\n },\n };\n}\n"
2973
2754
  },
2974
2755
  {
2975
2756
  "fileName": "tiles-demo.module.ts",
2976
2757
  "filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tiles-demo.module.ts",
2977
- "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyTilesModule } from '@skyux/tiles';\n\nimport { TilesDemoComponent } from './tiles-demo.component';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\n\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\n\n@NgModule({\n imports: [CommonModule, SkyTilesModule],\n declarations: [\n TilesDemoComponent,\n TileDemoTile1Component,\n TileDemoTile2Component,\n ],\n exports: [TilesDemoComponent],\n entryComponents: [TileDemoTile1Component, TileDemoTile2Component],\n})\nexport class TilesDemoModule {}\n"
2758
+ "rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyTilesModule } from '@skyux/tiles';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\nimport { TilesDemoComponent } from './tiles-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyTilesModule],\n declarations: [\n TilesDemoComponent,\n TileDemoTile1Component,\n TileDemoTile2Component,\n ],\n exports: [TilesDemoComponent],\n entryComponents: [TileDemoTile1Component, TileDemoTile2Component],\n})\nexport class TilesDemoModule {}\n"
2978
2759
  }
2979
2760
  ]
2980
2761
  }
@@ -5,7 +5,7 @@
5
5
  * To update this file, simply rerun the command.
6
6
  */
7
7
  import { NgModule } from '@angular/core';
8
- import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS, } from '@skyux/i18n';
8
+ import { SKY_LIB_RESOURCES_PROVIDERS, SkyI18nModule, getLibStringForLocale, } from '@skyux/i18n';
9
9
  import * as i0 from "@angular/core";
10
10
  const RESOURCES = {
11
11
  'EN-US': {
@@ -1 +1 @@
1
- {"version":3,"file":"sky-tiles-resources.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/tiles/src/lib/modules/shared/sky-tiles-resources.module.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,qBAAqB,EAErB,aAAa,EAGb,2BAA2B,GAC5B,MAAM,aAAa,CAAC;;AAErB,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,iBAAiB,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE;QACxD,yBAAyB,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;QAC5D,eAAe,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACxC,uBAAuB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5C,mBAAmB,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE;QAChD,2BAA2B,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACpD,eAAe,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACxC,uBAAuB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5C,4BAA4B,EAAE;YAC5B,OAAO,EACL,yLAAyL;SAC5L;QACD,+BAA+B,EAAE;YAC/B,OAAO,EACL,+EAA+E;SAClF;KACF;CACF,CAAC;AAEF,MAAM,OAAO,yBAAyB;IAC7B,SAAS,CAAC,UAA4B,EAAE,IAAY;QACzD,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;CACF;AAED;;GAEG;AAWH,MAAM,OAAO,uBAAuB;;qHAAvB,uBAAuB;sHAAvB,uBAAuB,YATxB,aAAa;sHASZ,uBAAuB,aARvB;QACT;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,yBAAyB;YACnC,KAAK,EAAE,IAAI;SACZ;KACF,YAPS,aAAa;4FASZ,uBAAuB;kBAVnC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,2BAA2B;4BACpC,QAAQ,EAAE,yBAAyB;4BACnC,KAAK,EAAE,IAAI;yBACZ;qBACF;iBACF","sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-tiles' schematic.\n * To update this file, simply rerun the command.\n */\n\nimport { NgModule } from '@angular/core';\nimport {\n getLibStringForLocale,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n SKY_LIB_RESOURCES_PROVIDERS,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n skyux_tile_expand: { message: 'Expand or collapse {0}' },\n skyux_tile_expand_default: { message: 'Expand or collapse' },\n skyux_tile_help: { message: '{0} help' },\n skyux_tile_help_default: { message: 'Help' },\n skyux_tile_settings: { message: '{0} settings' },\n skyux_tile_settings_default: { message: 'Settings' },\n skyux_tile_move: { message: 'Move {0}' },\n skyux_tile_move_default: { message: 'Move' },\n skyux_tile_move_instructions: {\n message:\n \"When focus is placed on a tile's move button, use the arrow keys to move it. The up and down keys change its position within a column. The left and right keys move it between columns.\",\n },\n skyux_tile_moved_assistive_text: {\n message:\n '{0} moved. Current column: {1} of {2}. Current position in column: {3} of {4}',\n },\n },\n};\n\nexport class SkyTilesResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyTilesResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyTilesResourcesModule {}\n"]}
1
+ {"version":3,"file":"sky-tiles-resources.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/tiles/src/lib/modules/shared/sky-tiles-resources.module.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,2BAA2B,EAE3B,aAAa,EAGb,qBAAqB,GACtB,MAAM,aAAa,CAAC;;AAErB,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,iBAAiB,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE;QACxD,yBAAyB,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;QAC5D,eAAe,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACxC,uBAAuB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5C,mBAAmB,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE;QAChD,2BAA2B,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACpD,eAAe,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACxC,uBAAuB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5C,4BAA4B,EAAE;YAC5B,OAAO,EACL,yLAAyL;SAC5L;QACD,+BAA+B,EAAE;YAC/B,OAAO,EACL,+EAA+E;SAClF;KACF;CACF,CAAC;AAEF,MAAM,OAAO,yBAAyB;IAC7B,SAAS,CAAC,UAA4B,EAAE,IAAY;QACzD,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;CACF;AAED;;GAEG;AAWH,MAAM,OAAO,uBAAuB;;qHAAvB,uBAAuB;sHAAvB,uBAAuB,YATxB,aAAa;sHASZ,uBAAuB,aARvB;QACT;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,yBAAyB;YACnC,KAAK,EAAE,IAAI;SACZ;KACF,YAPS,aAAa;4FASZ,uBAAuB;kBAVnC,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,2BAA2B;4BACpC,QAAQ,EAAE,yBAAyB;4BACnC,KAAK,EAAE,IAAI;yBACZ;qBACF;iBACF","sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-tiles' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n skyux_tile_expand: { message: 'Expand or collapse {0}' },\n skyux_tile_expand_default: { message: 'Expand or collapse' },\n skyux_tile_help: { message: '{0} help' },\n skyux_tile_help_default: { message: 'Help' },\n skyux_tile_settings: { message: '{0} settings' },\n skyux_tile_settings_default: { message: 'Settings' },\n skyux_tile_move: { message: 'Move {0}' },\n skyux_tile_move_default: { message: 'Move' },\n skyux_tile_move_instructions: {\n message:\n \"When focus is placed on a tile's move button, use the arrow keys to move it. The up and down keys change its position within a column. The left and right keys move it between columns.\",\n },\n skyux_tile_moved_assistive_text: {\n message:\n '{0} moved. Current column: {1} of {2}. Current position in column: {3} of {4}',\n },\n },\n};\n\nexport class SkyTilesResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyTilesResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyTilesResourcesModule {}\n"]}