carbon-components-angular 3.13.1 → 3.13.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.
Files changed (256) hide show
  1. package/bundle/carbon-angular.umd.js +5 -5
  2. package/bundle/carbon-angular.umd.js.map +1 -1
  3. package/content-switcher/content-switcher-option.directive.d.ts +0 -1
  4. package/content-switcher/content-switcher-option.directive.js +2 -7
  5. package/content-switcher/content-switcher-option.directive.js.map +1 -1
  6. package/content-switcher/content-switcher-option.directive.metadata.json +1 -1
  7. package/content-switcher/content-switcher-option.directive.ngsummary.json +1 -1
  8. package/dialog/dialog.module.ngfactory.js.map +1 -1
  9. package/dialog/tooltip/tooltip.component.js +14 -1
  10. package/dialog/tooltip/tooltip.component.js.map +1 -1
  11. package/dialog/tooltip/tooltip.component.metadata.json +1 -1
  12. package/dialog/tooltip/tooltip.component.ngfactory.js +1 -1
  13. package/dialog/tooltip/tooltip.component.ngfactory.js.map +1 -1
  14. package/docs/documentation/components/Accordion.html +1 -1
  15. package/docs/documentation/components/AccordionItem.html +1 -1
  16. package/docs/documentation/components/AlertModal.html +1 -1
  17. package/docs/documentation/components/Breadcrumb.html +1 -1
  18. package/docs/documentation/components/BreadcrumbItemComponent.html +1 -1
  19. package/docs/documentation/components/Checkbox.html +1 -1
  20. package/docs/documentation/components/ClickableTile.html +1 -1
  21. package/docs/documentation/components/CodeSnippet.html +1 -1
  22. package/docs/documentation/components/ComboBox.html +1 -1
  23. package/docs/documentation/components/ContentSwitcher.html +1 -1
  24. package/docs/documentation/components/DatePicker.html +1 -1
  25. package/docs/documentation/components/DatePickerInput.html +1 -1
  26. package/docs/documentation/components/Dialog.html +1 -1
  27. package/docs/documentation/components/DialogPlaceholder.html +1 -1
  28. package/docs/documentation/components/Documentation.html +1 -1
  29. package/docs/documentation/components/Dropdown.html +32 -29
  30. package/docs/documentation/components/DropdownList.html +25 -21
  31. package/docs/documentation/components/ExpandableTile.html +1 -1
  32. package/docs/documentation/components/File.html +1 -1
  33. package/docs/documentation/components/FileUploader.html +1 -1
  34. package/docs/documentation/components/Hamburger.html +15 -21
  35. package/docs/documentation/components/Header.html +29 -77
  36. package/docs/documentation/components/HeaderAction.html +64 -5
  37. package/docs/documentation/components/HeaderGlobal.html +12 -2
  38. package/docs/documentation/components/HeaderItem.html +225 -6
  39. package/docs/documentation/components/HeaderMenu.html +379 -15
  40. package/docs/documentation/components/HeaderNavigation.html +12 -2
  41. package/docs/documentation/components/InlineLoading.html +1 -1
  42. package/docs/documentation/components/Label.html +1 -1
  43. package/docs/documentation/components/ListColumn.html +1 -1
  44. package/docs/documentation/components/ListHeader.html +1 -1
  45. package/docs/documentation/components/ListRow.html +1 -1
  46. package/docs/documentation/components/Loading.html +1 -1
  47. package/docs/documentation/components/Modal.html +1 -1
  48. package/docs/documentation/components/ModalFooter.html +1 -1
  49. package/docs/documentation/components/ModalHeader.html +1 -1
  50. package/docs/documentation/components/ModalPlaceholder.html +1 -1
  51. package/docs/documentation/components/Notification.html +1 -1
  52. package/docs/documentation/components/Number.html +1 -1
  53. package/docs/documentation/components/OverflowMenu.html +1 -1
  54. package/docs/documentation/components/OverflowMenuOption.html +1 -1
  55. package/docs/documentation/components/OverflowMenuPane.html +1 -1
  56. package/docs/documentation/components/Overlay.html +1 -1
  57. package/docs/documentation/components/Pagination.html +1 -1
  58. package/docs/documentation/components/Panel.html +12 -22
  59. package/docs/documentation/components/Placeholder.html +1 -1
  60. package/docs/documentation/components/ProductSwitcher.html +11 -3
  61. package/docs/documentation/components/ProgressIndicator.html +1 -1
  62. package/docs/documentation/components/Radio.html +1 -1
  63. package/docs/documentation/components/RadioGroup.html +1 -1
  64. package/docs/documentation/components/Sample.html +1 -1
  65. package/docs/documentation/components/SampleSub.html +1 -1
  66. package/docs/documentation/components/Search.html +1 -1
  67. package/docs/documentation/components/Select.html +1 -1
  68. package/docs/documentation/components/SelectionTile.html +1 -1
  69. package/docs/documentation/components/SideNav.html +105 -24
  70. package/docs/documentation/components/SideNavHeader.html +14 -6
  71. package/docs/documentation/components/SideNavItem.html +245 -6
  72. package/docs/documentation/components/SideNavMenu.html +35 -12
  73. package/docs/documentation/components/Slider.html +1 -1
  74. package/docs/documentation/components/StructuredList.html +1 -1
  75. package/docs/documentation/components/{ProductSwitcherList.html → SwitcherList.html} +39 -14
  76. package/docs/documentation/components/{ProductSwitcherListItem.html → SwitcherListItem.html} +92 -45
  77. package/docs/documentation/components/Tab.html +1 -1
  78. package/docs/documentation/components/TabHeaders.html +132 -24
  79. package/docs/documentation/components/Table.html +1 -1
  80. package/docs/documentation/components/TableContainer.html +1 -1
  81. package/docs/documentation/components/TableHeader.html +1 -1
  82. package/docs/documentation/components/TableToolbar.html +1 -1
  83. package/docs/documentation/components/TableToolbarActions.html +1 -1
  84. package/docs/documentation/components/TableToolbarContent.html +1 -1
  85. package/docs/documentation/components/TableToolbarSearch.html +1 -1
  86. package/docs/documentation/components/Tabs.html +77 -13
  87. package/docs/documentation/components/Tag.html +1 -1
  88. package/docs/documentation/components/TagFilter.html +1 -1
  89. package/docs/documentation/components/Tile.html +1 -1
  90. package/docs/documentation/components/TileGroup.html +1 -1
  91. package/docs/documentation/components/TimePicker.html +1 -1
  92. package/docs/documentation/components/TimePickerSelect.html +1 -1
  93. package/docs/documentation/components/Toast.html +1 -1
  94. package/docs/documentation/components/Toggle.html +1 -1
  95. package/docs/documentation/components/Tooltip.html +23 -7
  96. package/docs/documentation/components/TooltipDefinition.html +1 -1
  97. package/docs/documentation/components/TooltipIcon.html +1 -1
  98. package/docs/documentation/coverage.html +60 -76
  99. package/docs/documentation/directives/ContentSwitcherOption.html +1 -44
  100. package/docs/documentation/graph/dependencies.dot +1 -1
  101. package/docs/documentation/images/coverage-badge-documentation.svg +1 -1
  102. package/docs/documentation/js/menu-wc.js +1 -1
  103. package/docs/documentation/js/search/search_index.js +2 -2
  104. package/docs/documentation/modules/PanelModule/dependencies.svg +82 -106
  105. package/docs/documentation/modules/PanelModule.html +94 -128
  106. package/docs/documentation/overview.html +1 -1
  107. package/docs/storybook/iframe.html +3 -3
  108. package/docs/storybook/{main.af986e1c1a23f0d31b49.bundle.js → main.a2fc8b6c3606e18830c4.bundle.js} +358 -210
  109. package/docs/storybook/main.a2fc8b6c3606e18830c4.bundle.js.map +1 -0
  110. package/docs/storybook/{runtime~main.af986e1c1a23f0d31b49.bundle.js → runtime~main.a2fc8b6c3606e18830c4.bundle.js} +1 -1
  111. package/docs/storybook/{runtime~main.af986e1c1a23f0d31b49.bundle.js.map → runtime~main.a2fc8b6c3606e18830c4.bundle.js.map} +1 -1
  112. package/docs/storybook/{vendors~main.af986e1c1a23f0d31b49.bundle.js → vendors~main.a2fc8b6c3606e18830c4.bundle.js} +1 -1
  113. package/docs/storybook/{vendors~main.af986e1c1a23f0d31b49.bundle.js.map → vendors~main.a2fc8b6c3606e18830c4.bundle.js.map} +1 -1
  114. package/dropdown/dropdown.component.js +4 -1
  115. package/dropdown/dropdown.component.js.map +1 -1
  116. package/dropdown/dropdown.component.metadata.json +1 -1
  117. package/dropdown/list/dropdown-list.component.js +6 -2
  118. package/dropdown/list/dropdown-list.component.js.map +1 -1
  119. package/index.ngsummary.json +1 -1
  120. package/package.json +2 -2
  121. package/tabs/tab-headers.component.d.ts +9 -0
  122. package/tabs/tab-headers.component.js +10 -2
  123. package/tabs/tab-headers.component.js.map +1 -1
  124. package/tabs/tab-headers.component.metadata.json +1 -1
  125. package/tabs/tab-headers.component.ngfactory.js +7 -4
  126. package/tabs/tab-headers.component.ngfactory.js.map +1 -1
  127. package/tabs/tab-headers.component.ngsummary.json +1 -1
  128. package/tabs/tabs.component.d.ts +8 -0
  129. package/tabs/tabs.component.js +3 -1
  130. package/tabs/tabs.component.js.map +1 -1
  131. package/tabs/tabs.component.metadata.json +1 -1
  132. package/tabs/tabs.component.ngfactory.js +10 -4
  133. package/tabs/tabs.component.ngfactory.js.map +1 -1
  134. package/tabs/tabs.component.ngsummary.json +1 -1
  135. package/tabs/tabs.module.ngfactory.js.map +1 -1
  136. package/ui-shell/header/hamburger.component.d.ts +1 -8
  137. package/ui-shell/header/hamburger.component.js +2 -9
  138. package/ui-shell/header/hamburger.component.js.map +1 -1
  139. package/ui-shell/header/hamburger.component.metadata.json +1 -1
  140. package/ui-shell/header/hamburger.component.ngfactory.js +2 -2
  141. package/ui-shell/header/hamburger.component.ngfactory.js.map +1 -1
  142. package/ui-shell/header/header-action.component.d.ts +16 -0
  143. package/ui-shell/header/header-action.component.js +18 -0
  144. package/ui-shell/header/header-action.component.js.map +1 -1
  145. package/ui-shell/header/header-action.component.metadata.json +1 -1
  146. package/ui-shell/header/header-action.component.ngfactory.js +1 -1
  147. package/ui-shell/header/header-action.component.ngsummary.json +1 -1
  148. package/ui-shell/header/header-global.component.d.ts +3 -0
  149. package/ui-shell/header/header-global.component.js +3 -0
  150. package/ui-shell/header/header-global.component.js.map +1 -1
  151. package/ui-shell/header/header-global.component.metadata.json +1 -1
  152. package/ui-shell/header/header-item.component.d.ts +7 -0
  153. package/ui-shell/header/header-item.component.js +21 -2
  154. package/ui-shell/header/header-item.component.js.map +1 -1
  155. package/ui-shell/header/header-item.component.metadata.json +1 -1
  156. package/ui-shell/header/header-item.component.ngfactory.js +2 -1
  157. package/ui-shell/header/header-item.component.ngfactory.js.map +1 -1
  158. package/ui-shell/header/header-item.component.ngsummary.json +1 -1
  159. package/ui-shell/header/header-menu.component.d.ts +14 -1
  160. package/ui-shell/header/header-menu.component.js +47 -6
  161. package/ui-shell/header/header-menu.component.js.map +1 -1
  162. package/ui-shell/header/header-menu.component.metadata.json +1 -1
  163. package/ui-shell/header/header-menu.component.ngfactory.js +14 -7
  164. package/ui-shell/header/header-menu.component.ngfactory.js.map +1 -1
  165. package/ui-shell/header/header-menu.component.ngsummary.json +1 -1
  166. package/ui-shell/header/header-navigation.component.d.ts +3 -0
  167. package/ui-shell/header/header-navigation.component.js +3 -0
  168. package/ui-shell/header/header-navigation.component.js.map +1 -1
  169. package/ui-shell/header/header-navigation.component.metadata.json +1 -1
  170. package/ui-shell/header/header.component.d.ts +12 -12
  171. package/ui-shell/header/header.component.js +8 -15
  172. package/ui-shell/header/header.component.js.map +1 -1
  173. package/ui-shell/header/header.component.metadata.json +1 -1
  174. package/ui-shell/header/header.component.ngfactory.js +1 -1
  175. package/ui-shell/header/header.component.ngsummary.json +1 -1
  176. package/ui-shell/header/header.module.ngfactory.js.map +1 -1
  177. package/ui-shell/panel/panel.component.d.ts +5 -12
  178. package/ui-shell/panel/panel.component.js +5 -12
  179. package/ui-shell/panel/panel.component.js.map +1 -1
  180. package/ui-shell/panel/panel.component.metadata.json +1 -1
  181. package/ui-shell/panel/panel.module.d.ts +3 -4
  182. package/ui-shell/panel/panel.module.js +7 -10
  183. package/ui-shell/panel/panel.module.js.map +1 -1
  184. package/ui-shell/panel/panel.module.metadata.json +1 -1
  185. package/ui-shell/panel/panel.module.ngfactory.js.map +1 -1
  186. package/ui-shell/panel/panel.module.ngsummary.json +1 -1
  187. package/ui-shell/panel/product-switcher.component.d.ts +3 -0
  188. package/ui-shell/panel/product-switcher.component.js +3 -0
  189. package/ui-shell/panel/product-switcher.component.js.map +1 -1
  190. package/ui-shell/panel/product-switcher.component.metadata.json +1 -1
  191. package/ui-shell/panel/{product-switcher-list-item.component.d.ts → switcher-list-item.component.d.ts} +16 -4
  192. package/ui-shell/panel/switcher-list-item.component.js +67 -0
  193. package/ui-shell/panel/switcher-list-item.component.js.map +1 -0
  194. package/ui-shell/panel/switcher-list-item.component.metadata.json +1 -0
  195. package/ui-shell/panel/{product-switcher-list.component.ngfactory.d.ts → switcher-list-item.component.ngfactory.d.ts} +1 -1
  196. package/ui-shell/panel/switcher-list-item.component.ngfactory.js +38 -0
  197. package/ui-shell/panel/switcher-list-item.component.ngfactory.js.map +1 -0
  198. package/ui-shell/panel/switcher-list-item.component.ngsummary.json +1 -0
  199. package/ui-shell/panel/{product-switcher-item.component.d.ts → switcher-list.component.d.ts} +15 -3
  200. package/ui-shell/panel/switcher-list.component.js +47 -0
  201. package/ui-shell/panel/switcher-list.component.js.map +1 -0
  202. package/ui-shell/panel/switcher-list.component.metadata.json +1 -0
  203. package/ui-shell/panel/{product-switcher-item.component.ngfactory.d.ts → switcher-list.component.ngfactory.d.ts} +1 -1
  204. package/ui-shell/panel/switcher-list.component.ngfactory.js +36 -0
  205. package/ui-shell/panel/switcher-list.component.ngfactory.js.map +1 -0
  206. package/ui-shell/panel/switcher-list.component.ngsummary.json +1 -0
  207. package/ui-shell/sidenav/sidenav-header.component.d.ts +3 -0
  208. package/ui-shell/sidenav/sidenav-header.component.js +3 -0
  209. package/ui-shell/sidenav/sidenav-header.component.js.map +1 -1
  210. package/ui-shell/sidenav/sidenav-header.component.metadata.json +1 -1
  211. package/ui-shell/sidenav/sidenav-item.component.d.ts +14 -0
  212. package/ui-shell/sidenav/sidenav-item.component.js +29 -2
  213. package/ui-shell/sidenav/sidenav-item.component.js.map +1 -1
  214. package/ui-shell/sidenav/sidenav-item.component.metadata.json +1 -1
  215. package/ui-shell/sidenav/sidenav-item.component.ngfactory.js +4 -3
  216. package/ui-shell/sidenav/sidenav-item.component.ngfactory.js.map +1 -1
  217. package/ui-shell/sidenav/sidenav-item.component.ngsummary.json +1 -1
  218. package/ui-shell/sidenav/sidenav-menu.component.d.ts +11 -2
  219. package/ui-shell/sidenav/sidenav-menu.component.js +9 -3
  220. package/ui-shell/sidenav/sidenav-menu.component.js.map +1 -1
  221. package/ui-shell/sidenav/sidenav-menu.component.metadata.json +1 -1
  222. package/ui-shell/sidenav/sidenav-menu.component.ngfactory.js +1 -1
  223. package/ui-shell/sidenav/sidenav-menu.component.ngfactory.js.map +1 -1
  224. package/ui-shell/sidenav/sidenav-menu.component.ngsummary.json +1 -1
  225. package/ui-shell/sidenav/sidenav.component.d.ts +10 -11
  226. package/ui-shell/sidenav/sidenav.component.js +16 -14
  227. package/ui-shell/sidenav/sidenav.component.js.map +1 -1
  228. package/ui-shell/sidenav/sidenav.component.metadata.json +1 -1
  229. package/ui-shell/sidenav/sidenav.component.ngfactory.js +7 -6
  230. package/ui-shell/sidenav/sidenav.component.ngfactory.js.map +1 -1
  231. package/ui-shell/sidenav/sidenav.component.ngsummary.json +1 -1
  232. package/ui-shell/sidenav/sidenav.module.ngfactory.js.map +1 -1
  233. package/ui-shell/ui-shell.module.ngfactory.js.map +1 -1
  234. package/ui-shell/ui-shell.module.ngsummary.json +1 -1
  235. package/docs/documentation/components/ProductSwitcherItem.html +0 -285
  236. package/docs/storybook/main.af986e1c1a23f0d31b49.bundle.js.map +0 -1
  237. package/ui-shell/panel/product-switcher-item.component.js +0 -38
  238. package/ui-shell/panel/product-switcher-item.component.js.map +0 -1
  239. package/ui-shell/panel/product-switcher-item.component.metadata.json +0 -1
  240. package/ui-shell/panel/product-switcher-item.component.ngfactory.js +0 -36
  241. package/ui-shell/panel/product-switcher-item.component.ngfactory.js.map +0 -1
  242. package/ui-shell/panel/product-switcher-item.component.ngsummary.json +0 -1
  243. package/ui-shell/panel/product-switcher-list-item.component.js +0 -54
  244. package/ui-shell/panel/product-switcher-list-item.component.js.map +0 -1
  245. package/ui-shell/panel/product-switcher-list-item.component.metadata.json +0 -1
  246. package/ui-shell/panel/product-switcher-list-item.component.ngfactory.d.ts +0 -21
  247. package/ui-shell/panel/product-switcher-list-item.component.ngfactory.js +0 -37
  248. package/ui-shell/panel/product-switcher-list-item.component.ngfactory.js.map +0 -1
  249. package/ui-shell/panel/product-switcher-list-item.component.ngsummary.json +0 -1
  250. package/ui-shell/panel/product-switcher-list.component.d.ts +0 -22
  251. package/ui-shell/panel/product-switcher-list.component.js +0 -34
  252. package/ui-shell/panel/product-switcher-list.component.js.map +0 -1
  253. package/ui-shell/panel/product-switcher-list.component.metadata.json +0 -1
  254. package/ui-shell/panel/product-switcher-list.component.ngfactory.js +0 -36
  255. package/ui-shell/panel/product-switcher-list.component.ngfactory.js.map +0 -1
  256. package/ui-shell/panel/product-switcher-list.component.ngsummary.json +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"panel.module.js","sourceRoot":"","sources":["../../src/ui-shell/panel/panel.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,EACN,KAAK,EACL,eAAe,EACf,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,CAAC;AAEF;IAAA;IAiB2B,CAAC;;gBAjB3B,QAAQ,SAAC;oBACT,YAAY,EAAE;wBACb,KAAK;wBACL,eAAe;wBACf,mBAAmB;wBACnB,uBAAuB;wBACvB,mBAAmB;qBACnB;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;oBACnC,OAAO,EAAE;wBACR,KAAK;wBACL,eAAe;wBACf,mBAAmB;wBACnB,uBAAuB;wBACvB,mBAAmB;qBACnB;iBACD;;IAC0B,kBAAC;CAAA,AAjB5B,IAiB4B;SAAf,WAAW","sourcesContent":["import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { I18nModule } from \"./../../i18n/i18n.module\";\n\nimport { Panel } from \"./panel.component\";\nimport { ProductSwitcher } from \"./product-switcher.component\";\nimport { ProductSwitcherList } from \"./product-switcher-list.component\";\nimport { ProductSwitcherListItem } from \"./product-switcher-list-item.component\";\nimport { ProductSwitcherItem } from \"./product-switcher-item.component\";\n\nexport {\n\tPanel,\n\tProductSwitcher,\n\tProductSwitcherList,\n\tProductSwitcherListItem,\n\tProductSwitcherItem\n};\n\n@NgModule({\n\tdeclarations: [\n\t\tPanel,\n\t\tProductSwitcher,\n\t\tProductSwitcherList,\n\t\tProductSwitcherListItem,\n\t\tProductSwitcherItem\n\t],\n\timports: [CommonModule, I18nModule],\n\texports: [\n\t\tPanel,\n\t\tProductSwitcher,\n\t\tProductSwitcherList,\n\t\tProductSwitcherListItem,\n\t\tProductSwitcherItem\n\t]\n})\nexport class PanelModule { }\n"]}
1
+ {"version":3,"file":"panel.module.js","sourceRoot":"","sources":["../../src/ui-shell/panel/panel.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EACN,KAAK,EACL,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,CAAC;AAEF;IAAA;IAe2B,CAAC;;gBAf3B,QAAQ,SAAC;oBACT,YAAY,EAAE;wBACb,KAAK;wBACL,eAAe;wBACf,YAAY;wBACZ,gBAAgB;qBAChB;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;oBACnC,OAAO,EAAE;wBACR,KAAK;wBACL,eAAe;wBACf,YAAY;wBACZ,gBAAgB;qBAChB;iBACD;;IAC0B,kBAAC;CAAA,AAf5B,IAe4B;SAAf,WAAW","sourcesContent":["import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { I18nModule } from \"./../../i18n/i18n.module\";\n\nimport { Panel } from \"./panel.component\";\nimport { ProductSwitcher } from \"./product-switcher.component\";\nimport { SwitcherList } from \"./switcher-list.component\";\nimport { SwitcherListItem } from \"./switcher-list-item.component\";\n\nexport {\n\tPanel,\n\tProductSwitcher,\n\tSwitcherList,\n\tSwitcherListItem\n};\n\n@NgModule({\n\tdeclarations: [\n\t\tPanel,\n\t\tProductSwitcher,\n\t\tSwitcherList,\n\t\tSwitcherListItem\n\t],\n\timports: [CommonModule, I18nModule],\n\texports: [\n\t\tPanel,\n\t\tProductSwitcher,\n\t\tSwitcherList,\n\t\tSwitcherListItem\n\t]\n})\nexport class PanelModule { }\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"Panel":{"__symbolic":"reference","module":"./panel.component","name":"Panel","line":12,"character":1},"ProductSwitcher":{"__symbolic":"reference","module":"./product-switcher.component","name":"ProductSwitcher","line":13,"character":1},"ProductSwitcherList":{"__symbolic":"reference","module":"./product-switcher-list.component","name":"ProductSwitcherList","line":14,"character":1},"ProductSwitcherListItem":{"__symbolic":"reference","module":"./product-switcher-list-item.component","name":"ProductSwitcherListItem","line":15,"character":1},"ProductSwitcherItem":{"__symbolic":"reference","module":"./product-switcher-item.component","name":"ProductSwitcherItem","line":16,"character":1},"PanelModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":19,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./panel.component","name":"Panel","line":21,"character":2},{"__symbolic":"reference","module":"./product-switcher.component","name":"ProductSwitcher","line":22,"character":2},{"__symbolic":"reference","module":"./product-switcher-list.component","name":"ProductSwitcherList","line":23,"character":2},{"__symbolic":"reference","module":"./product-switcher-list-item.component","name":"ProductSwitcherListItem","line":24,"character":2},{"__symbolic":"reference","module":"./product-switcher-item.component","name":"ProductSwitcherItem","line":25,"character":2}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":11},{"__symbolic":"reference","module":"./../../i18n/i18n.module","name":"I18nModule","line":27,"character":25}],"exports":[{"__symbolic":"reference","module":"./panel.component","name":"Panel","line":29,"character":2},{"__symbolic":"reference","module":"./product-switcher.component","name":"ProductSwitcher","line":30,"character":2},{"__symbolic":"reference","module":"./product-switcher-list.component","name":"ProductSwitcherList","line":31,"character":2},{"__symbolic":"reference","module":"./product-switcher-list-item.component","name":"ProductSwitcherListItem","line":32,"character":2},{"__symbolic":"reference","module":"./product-switcher-item.component","name":"ProductSwitcherItem","line":33,"character":2}]}]}]}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"Panel":{"__symbolic":"reference","module":"./panel.component","name":"Panel","line":11,"character":1},"ProductSwitcher":{"__symbolic":"reference","module":"./product-switcher.component","name":"ProductSwitcher","line":12,"character":1},"SwitcherList":{"__symbolic":"reference","module":"./switcher-list.component","name":"SwitcherList","line":13,"character":1},"SwitcherListItem":{"__symbolic":"reference","module":"./switcher-list-item.component","name":"SwitcherListItem","line":14,"character":1},"PanelModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./panel.component","name":"Panel","line":19,"character":2},{"__symbolic":"reference","module":"./product-switcher.component","name":"ProductSwitcher","line":20,"character":2},{"__symbolic":"reference","module":"./switcher-list.component","name":"SwitcherList","line":21,"character":2},{"__symbolic":"reference","module":"./switcher-list-item.component","name":"SwitcherListItem","line":22,"character":2}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":24,"character":11},{"__symbolic":"reference","module":"./../../i18n/i18n.module","name":"I18nModule","line":24,"character":25}],"exports":[{"__symbolic":"reference","module":"./panel.component","name":"Panel","line":26,"character":2},{"__symbolic":"reference","module":"./product-switcher.component","name":"ProductSwitcher","line":27,"character":2},{"__symbolic":"reference","module":"./switcher-list.component","name":"SwitcherList","line":28,"character":2},{"__symbolic":"reference","module":"./switcher-list-item.component","name":"SwitcherListItem","line":29,"character":2}]}]}]}}}]
@@ -1 +1 @@
1
- {"version":3,"file":"panel.module.ngfactory.js","sourceRoot":"","sources":["../../src/ui-shell/panel/panel.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './panel.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from './panel.component';\nimport * as i4 from './product-switcher.component';\nimport * as i5 from './product-switcher-list.component';\nimport * as i6 from './product-switcher-list-item.component';\nimport * as i7 from './product-switcher-item.component';\nimport * as i8 from '../../i18n/replace.pipe';\nimport * as i9 from '../../i18n/i18n.module';\nexport const PanelModuleNgFactory:i0.NgModuleFactory<i1.PanelModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Panel = (<any>(null as any));\nvar _decl0_12:i4.ProductSwitcher = (<any>(null as any));\nvar _decl0_13:i5.ProductSwitcherList = (<any>(null as any));\nvar _decl0_14:i6.ProductSwitcherListItem = (<any>(null as any));\nvar _decl0_15:i7.ProductSwitcherItem = (<any>(null as any));\nvar _decl0_16:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_17:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_18:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_19:i2.JsonPipe = (<any>(null as any));\nvar _decl0_20:i2.SlicePipe = (<any>(null as any));\nvar _decl0_21:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_22:i2.PercentPipe = (<any>(null as any));\nvar _decl0_23:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_24:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_25:i2.DatePipe = (<any>(null as any));\nvar _decl0_26:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_27:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_28:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_29:i8.ReplacePipe = (<any>(null as any));\nvar _decl0_30:i2.CommonModule = (<any>(null as any));\nvar _decl0_31:i9.I18nModule = (<any>(null as any));\nvar _decl0_32:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_33:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_Panel_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Panel_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'bx--panel--overlay';\n currVal_0;\n const currVal_1:any = (<any>{'bx--panel--expanded':_decl0_11.expanded});\n currVal_1;\n}\nfunction _View_ProductSwitcher_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ProductSwitcher_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_12.header;\n currVal_0;\n}\nfunction _View_ProductSwitcherList_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ProductSwitcherList_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ProductSwitcherListItem_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ProductSwitcherListItem_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_14.href;\n currVal_0;\n}\nfunction _View_ProductSwitcherItem_Host_5_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ProductSwitcherItem_5_0():void {\n var _any:any = (null as any);\n}\n"]}
1
+ {"version":3,"file":"panel.module.ngfactory.js","sourceRoot":"","sources":["../../src/ui-shell/panel/panel.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './panel.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from './panel.component';\nimport * as i4 from './product-switcher.component';\nimport * as i5 from './switcher-list.component';\nimport * as i6 from './switcher-list-item.component';\nimport * as i7 from '../../i18n/replace.pipe';\nimport * as i8 from '../../i18n/i18n.module';\nexport const PanelModuleNgFactory:i0.NgModuleFactory<i1.PanelModule> = (null as any);\nvar _decl0_0:i2.NgClass = (<any>(null as any));\nvar _decl0_1:i2.NgComponentOutlet = (<any>(null as any));\nvar _decl0_2:i2.NgForOf<any> = (<any>(null as any));\nvar _decl0_3:i2.NgIf = (<any>(null as any));\nvar _decl0_4:i2.NgTemplateOutlet = (<any>(null as any));\nvar _decl0_5:i2.NgStyle = (<any>(null as any));\nvar _decl0_6:i2.NgSwitch = (<any>(null as any));\nvar _decl0_7:i2.NgSwitchCase = (<any>(null as any));\nvar _decl0_8:i2.NgSwitchDefault = (<any>(null as any));\nvar _decl0_9:i2.NgPlural = (<any>(null as any));\nvar _decl0_10:i2.NgPluralCase = (<any>(null as any));\nvar _decl0_11:i3.Panel = (<any>(null as any));\nvar _decl0_12:i4.ProductSwitcher = (<any>(null as any));\nvar _decl0_13:i5.SwitcherList = (<any>(null as any));\nvar _decl0_14:i6.SwitcherListItem = (<any>(null as any));\nvar _decl0_15:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_16:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_17:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_18:i2.JsonPipe = (<any>(null as any));\nvar _decl0_19:i2.SlicePipe = (<any>(null as any));\nvar _decl0_20:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_21:i2.PercentPipe = (<any>(null as any));\nvar _decl0_22:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_23:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_24:i2.DatePipe = (<any>(null as any));\nvar _decl0_25:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_26:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_27:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_28:i7.ReplacePipe = (<any>(null as any));\nvar _decl0_29:i2.CommonModule = (<any>(null as any));\nvar _decl0_30:i8.I18nModule = (<any>(null as any));\nvar _decl0_31:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_32:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_Panel_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Panel_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'bx--panel--overlay';\n currVal_0;\n const currVal_1:any = (<any>{'bx--panel--expanded':_decl0_11.expanded});\n currVal_1;\n}\nfunction _View_ProductSwitcher_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_ProductSwitcher_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_12.header;\n currVal_0;\n}\nfunction _View_SwitcherList_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_SwitcherList_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_SwitcherListItem_Host_4_0():void {\n var _any:any = (null as any);\n}\nfunction _View_SwitcherListItem_4_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'bx--switcher__item-link';\n currVal_0;\n const currVal_1:any = (<any>{'bx--switcher__item-link--selected':_decl0_14.active});\n currVal_1;\n const currVal_2:any = _decl0_14.href;\n currVal_2;\n}\n"]}
@@ -1 +1 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbol":1,"members":[]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbol":3,"members":[]}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbol":5,"members":[]}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbol":7,"members":[]}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbol":9,"members":[]}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbolic":"class"},"type":{"summaryKind":2,"type":{"reference":{"__symbol":10,"members":[]},"diDeps":[],"lifecycleHooks":[]},"entryComponents":[],"providers":[{"provider":{"token":{"identifier":{"reference":{"__symbol":11,"members":[]}}},"useClass":{"reference":{"__symbol":12,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":13,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":14,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":13,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":14,"members":[]}}}}],"multi":false},"module":{"reference":{"__symbol":15,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":16,"members":[]},"diDeps":[],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":16,"members":[]},"diDeps":[],"lifecycleHooks":[]},"useFactory":null,"deps":[],"multi":false},"module":{"reference":{"__symbol":17,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":16,"members":[]}}},"useClass":null,"useFactory":{"reference":{"__symbol":18,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":true,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":16,"members":[]}}}}]},"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":true,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":16,"members":[]}}}}],"multi":false},"module":{"reference":{"__symbol":17,"members":[]},"diDeps":[],"lifecycleHooks":[]}}],"modules":[{"reference":{"__symbol":15,"members":[]},"diDeps":[],"lifecycleHooks":[]},{"reference":{"__symbol":17,"members":[]},"diDeps":[],"lifecycleHooks":[]},{"reference":{"__symbol":10,"members":[]},"diDeps":[],"lifecycleHooks":[]}],"exportedDirectives":[{"reference":{"__symbol":1,"members":[]}},{"reference":{"__symbol":3,"members":[]}},{"reference":{"__symbol":5,"members":[]}},{"reference":{"__symbol":7,"members":[]}},{"reference":{"__symbol":9,"members":[]}}],"exportedPipes":[]}}],"symbols":[{"__symbol":0,"name":"Panel","filePath":"./panel.module"},{"__symbol":1,"name":"Panel","filePath":"./panel.component"},{"__symbol":2,"name":"ProductSwitcher","filePath":"./panel.module"},{"__symbol":3,"name":"ProductSwitcher","filePath":"./product-switcher.component"},{"__symbol":4,"name":"ProductSwitcherList","filePath":"./panel.module"},{"__symbol":5,"name":"ProductSwitcherList","filePath":"./product-switcher-list.component"},{"__symbol":6,"name":"ProductSwitcherListItem","filePath":"./panel.module"},{"__symbol":7,"name":"ProductSwitcherListItem","filePath":"./product-switcher-list-item.component"},{"__symbol":8,"name":"ProductSwitcherItem","filePath":"./panel.module"},{"__symbol":9,"name":"ProductSwitcherItem","filePath":"./product-switcher-item.component"},{"__symbol":10,"name":"PanelModule","filePath":"./panel.module"},{"__symbol":11,"name":"NgLocalization","filePath":"@angular/common"},{"__symbol":12,"name":"NgLocaleLocalization","filePath":"@angular/common"},{"__symbol":13,"name":"LOCALE_ID","filePath":"@angular/core"},{"__symbol":14,"name":"ɵangular_packages_common_common_a","filePath":"@angular/common"},{"__symbol":15,"name":"CommonModule","filePath":"@angular/common"},{"__symbol":16,"name":"I18n","filePath":"../../i18n/i18n.service"},{"__symbol":17,"name":"I18nModule","filePath":"../../i18n/i18n.module"},{"__symbol":18,"name":"I18N_SERVICE_PROVIDER_FACTORY","filePath":"../../i18n/i18n.module"}]}
1
+ {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbol":1,"members":[]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbol":3,"members":[]}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbol":5,"members":[]}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbol":7,"members":[]}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbolic":"class"},"type":{"summaryKind":2,"type":{"reference":{"__symbol":8,"members":[]},"diDeps":[],"lifecycleHooks":[]},"entryComponents":[],"providers":[{"provider":{"token":{"identifier":{"reference":{"__symbol":9,"members":[]}}},"useClass":{"reference":{"__symbol":10,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":11,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":12,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":11,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":12,"members":[]}}}}],"multi":false},"module":{"reference":{"__symbol":13,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":14,"members":[]},"diDeps":[],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":14,"members":[]},"diDeps":[],"lifecycleHooks":[]},"useFactory":null,"deps":[],"multi":false},"module":{"reference":{"__symbol":15,"members":[]},"diDeps":[],"lifecycleHooks":[]}},{"provider":{"token":{"identifier":{"reference":{"__symbol":14,"members":[]}}},"useClass":null,"useFactory":{"reference":{"__symbol":16,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":true,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":14,"members":[]}}}}]},"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":true,"isOptional":true,"token":{"identifier":{"reference":{"__symbol":14,"members":[]}}}}],"multi":false},"module":{"reference":{"__symbol":15,"members":[]},"diDeps":[],"lifecycleHooks":[]}}],"modules":[{"reference":{"__symbol":13,"members":[]},"diDeps":[],"lifecycleHooks":[]},{"reference":{"__symbol":15,"members":[]},"diDeps":[],"lifecycleHooks":[]},{"reference":{"__symbol":8,"members":[]},"diDeps":[],"lifecycleHooks":[]}],"exportedDirectives":[{"reference":{"__symbol":1,"members":[]}},{"reference":{"__symbol":3,"members":[]}},{"reference":{"__symbol":5,"members":[]}},{"reference":{"__symbol":7,"members":[]}}],"exportedPipes":[]}}],"symbols":[{"__symbol":0,"name":"Panel","filePath":"./panel.module"},{"__symbol":1,"name":"Panel","filePath":"./panel.component"},{"__symbol":2,"name":"ProductSwitcher","filePath":"./panel.module"},{"__symbol":3,"name":"ProductSwitcher","filePath":"./product-switcher.component"},{"__symbol":4,"name":"SwitcherList","filePath":"./panel.module"},{"__symbol":5,"name":"SwitcherList","filePath":"./switcher-list.component"},{"__symbol":6,"name":"SwitcherListItem","filePath":"./panel.module"},{"__symbol":7,"name":"SwitcherListItem","filePath":"./switcher-list-item.component"},{"__symbol":8,"name":"PanelModule","filePath":"./panel.module"},{"__symbol":9,"name":"NgLocalization","filePath":"@angular/common"},{"__symbol":10,"name":"NgLocaleLocalization","filePath":"@angular/common"},{"__symbol":11,"name":"LOCALE_ID","filePath":"@angular/core"},{"__symbol":12,"name":"ɵangular_packages_common_common_a","filePath":"@angular/common"},{"__symbol":13,"name":"CommonModule","filePath":"@angular/common"},{"__symbol":14,"name":"I18n","filePath":"../../i18n/i18n.service"},{"__symbol":15,"name":"I18nModule","filePath":"../../i18n/i18n.module"},{"__symbol":16,"name":"I18N_SERVICE_PROVIDER_FACTORY","filePath":"../../i18n/i18n.module"}]}
@@ -18,6 +18,9 @@
18
18
  */
19
19
 
20
20
 
21
+ /**
22
+ * @deprecated `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
23
+ */
21
24
  export declare class ProductSwitcher {
22
25
  header: string;
23
26
  hostClass: boolean;
@@ -19,6 +19,9 @@
19
19
 
20
20
 
21
21
  import { Component, HostBinding, Input } from "@angular/core";
22
+ /**
23
+ * @deprecated `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
24
+ */
22
25
  var ProductSwitcher = /** @class */ (function () {
23
26
  function ProductSwitcher() {
24
27
  this.header = "";
@@ -1 +1 @@
1
- {"version":3,"file":"product-switcher.component.js","sourceRoot":"","sources":["../../src/ui-shell/panel/product-switcher.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE9D;IAAA;QAWU,WAAM,GAAG,EAAE,CAAC;QACsB,cAAS,GAAG,IAAI,CAAC;IAC7D,CAAC;;gBAbA,SAAS,SAAC;oBACV,QAAQ,EAAE,sBAAsB;oBAChC,QAAQ,EAAE,2NAMT;iBACD;;;yBAEC,KAAK;4BACL,WAAW,SAAC,4BAA4B;;IAC1C,sBAAC;CAAA,AAbD,IAaC;SAHY,eAAe","sourcesContent":["import { Component, HostBinding, Input } from \"@angular/core\";\n\n@Component({\n\tselector: \"ibm-product-switcher\",\n\ttemplate: `\n\t\t<div class=\"bx--product-switcher__search\">\n\t\t\t<ng-content select=\"ibm-search\"></ng-content>\n\t\t</div>\n\t\t<p class=\"bx--product-switcher__subheader\">{{header}}</p>\n\t\t<ng-content></ng-content>\n\t`\n})\nexport class ProductSwitcher {\n\t@Input() header = \"\";\n\t@HostBinding(\"class.bx--product-switcher\") hostClass = true;\n}\n"]}
1
+ {"version":3,"file":"product-switcher.component.js","sourceRoot":"","sources":["../../src/ui-shell/panel/product-switcher.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE9D;;GAEG;AACH;IAAA;QAWU,WAAM,GAAG,EAAE,CAAC;QACsB,cAAS,GAAG,IAAI,CAAC;IAC7D,CAAC;;gBAbA,SAAS,SAAC;oBACV,QAAQ,EAAE,sBAAsB;oBAChC,QAAQ,EAAE,2NAMT;iBACD;;;yBAEC,KAAK;4BACL,WAAW,SAAC,4BAA4B;;IAC1C,sBAAC;CAAA,AAbD,IAaC;SAHY,eAAe","sourcesContent":["import { Component, HostBinding, Input } from \"@angular/core\";\n\n/**\n * @deprecated `ibm-product-x` selectors and components are deprecated and will be removed in the next major version\n */\n@Component({\n\tselector: \"ibm-product-switcher\",\n\ttemplate: `\n\t\t<div class=\"bx--product-switcher__search\">\n\t\t\t<ng-content select=\"ibm-search\"></ng-content>\n\t\t</div>\n\t\t<p class=\"bx--product-switcher__subheader\">{{header}}</p>\n\t\t<ng-content></ng-content>\n\t`\n})\nexport class ProductSwitcher {\n\t@Input() header = \"\";\n\t@HostBinding(\"class.bx--product-switcher\") hostClass = true;\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ProductSwitcher":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ibm-product-switcher","template":"\n\t\t<div class=\"bx--product-switcher__search\">\n\t\t\t<ng-content select=\"ibm-search\"></ng-content>\n\t\t</div>\n\t\t<p class=\"bx--product-switcher__subheader\">{{header}}</p>\n\t\t<ng-content></ng-content>\n\t"}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":2}}]}],"hostClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":14,"character":2},"arguments":["class.bx--product-switcher"]}]}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"ProductSwitcher":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"ibm-product-switcher","template":"\n\t\t<div class=\"bx--product-switcher__search\">\n\t\t\t<ng-content select=\"ibm-search\"></ng-content>\n\t\t</div>\n\t\t<p class=\"bx--product-switcher__subheader\">{{header}}</p>\n\t\t<ng-content></ng-content>\n\t"}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":2}}]}],"hostClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":17,"character":2},"arguments":["class.bx--product-switcher"]}]}]}}}}]
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * carbon-angular v0.0.0 | product-switcher-list-item.component.d.ts
3
+ * carbon-angular v0.0.0 | switcher-list-item.component.d.ts
4
4
  *
5
5
  * Copyright 2014, 2019 IBM
6
6
  *
@@ -18,10 +18,22 @@
18
18
  */
19
19
 
20
20
 
21
- import { DomSanitizer, SafeUrl } from "@angular/platform-browser";
22
- export declare class ProductSwitcherListItem {
21
+ import { DomSanitizer } from "@angular/platform-browser";
22
+ /**
23
+ * Represents an item in a switcher list.
24
+ *
25
+ * **Note:** `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
26
+ */
27
+ export declare class SwitcherListItem {
23
28
  protected domSanitizer: DomSanitizer;
29
+ /**
30
+ * Enables the "active" state for an item. Commonly used to indicate the current page or selection.
31
+ */
32
+ active: boolean;
33
+ /**
34
+ * Optional link for the underlying anchor.
35
+ */
24
36
  href: string;
25
- protected _href: SafeUrl;
37
+ protected _href: string;
26
38
  constructor(domSanitizer: DomSanitizer);
27
39
  }
@@ -0,0 +1,67 @@
1
+ /*!
2
+ *
3
+ * carbon-angular v0.0.0 | switcher-list-item.component.js
4
+ *
5
+ * Copyright 2014, 2019 IBM
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+
20
+
21
+ import { Component, Input } from "@angular/core";
22
+ import { DomSanitizer } from "@angular/platform-browser";
23
+ /**
24
+ * Represents an item in a switcher list.
25
+ *
26
+ * **Note:** `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
27
+ */
28
+ var SwitcherListItem = /** @class */ (function () {
29
+ function SwitcherListItem(domSanitizer) {
30
+ this.domSanitizer = domSanitizer;
31
+ /**
32
+ * Enables the "active" state for an item. Commonly used to indicate the current page or selection.
33
+ */
34
+ this.active = false;
35
+ this._href = "javascript:void(0)";
36
+ }
37
+ Object.defineProperty(SwitcherListItem.prototype, "href", {
38
+ get: function () {
39
+ return this.domSanitizer.bypassSecurityTrustUrl(this._href);
40
+ },
41
+ /**
42
+ * Optional link for the underlying anchor.
43
+ */
44
+ set: function (value) {
45
+ this._href = value;
46
+ },
47
+ enumerable: true,
48
+ configurable: true
49
+ });
50
+ SwitcherListItem.decorators = [
51
+ { type: Component, args: [{
52
+ selector: "ibm-switcher-list-item, ibm-product-switcher-list-item, ibm-product-switcher-item",
53
+ template: "\n\t\t<a\n\t\t\tclass=\"bx--switcher__item-link\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--switcher__item-link--selected': active\n\t\t\t}\"\n\t\t\t[href]=\"href\">\n\t\t\t<ng-content></ng-content>\n\t\t</a>\n\t"
54
+ },] },
55
+ ];
56
+ /** @nocollapse */
57
+ SwitcherListItem.ctorParameters = function () { return [
58
+ { type: DomSanitizer }
59
+ ]; };
60
+ SwitcherListItem.propDecorators = {
61
+ active: [{ type: Input }],
62
+ href: [{ type: Input }]
63
+ };
64
+ return SwitcherListItem;
65
+ }());
66
+ export { SwitcherListItem };
67
+ //# sourceMappingURL=switcher-list-item.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switcher-list-item.component.js","sourceRoot":"","sources":["../../src/ui-shell/panel/switcher-list-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,YAAY,EAAW,MAAM,2BAA2B,CAAC;AAElE;;;;GAIG;AACH;IAgCC,0BAAsB,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;QAlBhD;;WAEG;QACM,WAAM,GAAG,KAAK,CAAC;QAad,UAAK,GAAG,oBAAoB,CAAC;IAEa,CAAC;IAVrD,sBAAa,kCAAI;aAIjB;YACC,OAAO,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAW,CAAC;QACvE,CAAC;QATD;;WAEG;aACH,UAAkB,KAAa;YAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACpB,CAAC;;;OAAA;;gBAxBD,SAAS,SAAC;oBACV,QAAQ,EAAE,mFAAmF;oBAC7F,QAAQ,EAAE,+MAST;iBACD;;;;gBAnBQ,YAAY;;;yBAwBnB,KAAK;uBAKL,KAAK;;IAWP,uBAAC;CAAA,AAjCD,IAiCC;SApBY,gBAAgB","sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { DomSanitizer, SafeUrl } from \"@angular/platform-browser\";\n\n/**\n * Represents an item in a switcher list.\n *\n * **Note:** `ibm-product-x` selectors and components are deprecated and will be removed in the next major version\n */\n@Component({\n\tselector: \"ibm-switcher-list-item, ibm-product-switcher-list-item, ibm-product-switcher-item\",\n\ttemplate: `\n\t\t<a\n\t\t\tclass=\"bx--switcher__item-link\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--switcher__item-link--selected': active\n\t\t\t}\"\n\t\t\t[href]=\"href\">\n\t\t\t<ng-content></ng-content>\n\t\t</a>\n\t`\n})\nexport class SwitcherListItem {\n\t/**\n\t * Enables the \"active\" state for an item. Commonly used to indicate the current page or selection.\n\t */\n\t@Input() active = false;\n\n\t/**\n\t * Optional link for the underlying anchor.\n\t */\n\t@Input() set href(value: string) {\n\t\tthis._href = value;\n\t}\n\n\tget href() {\n\t\treturn this.domSanitizer.bypassSecurityTrustUrl(this._href) as string;\n\t}\n\n\tprotected _href = \"javascript:void(0)\";\n\n\tconstructor(protected domSanitizer: DomSanitizer) { }\n}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"SwitcherListItem":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"ibm-switcher-list-item, ibm-product-switcher-list-item, ibm-product-switcher-item","template":"\n\t\t<a\n\t\t\tclass=\"bx--switcher__item-link\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--switcher__item-link--selected': active\n\t\t\t}\"\n\t\t\t[href]=\"href\">\n\t\t\t<ng-content></ng-content>\n\t\t</a>\n\t"}]}],"members":{"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":2}}]}],"href":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":40,"character":37}]}]}}}}]
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * carbon-angular v0.0.0 | product-switcher-list.component.ngfactory.d.ts
3
+ * carbon-angular v0.0.0 | switcher-list-item.component.ngfactory.d.ts
4
4
  *
5
5
  * Copyright 2014, 2019 IBM
6
6
  *
@@ -0,0 +1,38 @@
1
+ /*!
2
+ *
3
+ * carbon-angular v0.0.0 | switcher-list-item.component.ngfactory.js
4
+ *
5
+ * Copyright 2014, 2019 IBM
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+
20
+
21
+ /**
22
+ * @fileoverview This file was generated by the Angular template compiler. Do not edit.
23
+ *
24
+ * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
25
+ * tslint:disable
26
+ */
27
+ import * as i0 from "@angular/core";
28
+ import * as i1 from "@angular/common";
29
+ import * as i2 from "./switcher-list-item.component";
30
+ import * as i3 from "@angular/platform-browser";
31
+ var styles_SwitcherListItem = [];
32
+ var RenderType_SwitcherListItem = i0.ɵcrt({ encapsulation: 2, styles: styles_SwitcherListItem, data: {} });
33
+ export { RenderType_SwitcherListItem as RenderType_SwitcherListItem };
34
+ export function View_SwitcherListItem_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "a", [["class", "bx--switcher__item-link"]], [[8, "href", 4]], null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(2, { "bx--switcher__item-link--selected": 0 }), i0.ɵncd(null, 0)], function (_ck, _v) { var _co = _v.component; var currVal_1 = "bx--switcher__item-link"; var currVal_2 = _ck(_v, 2, 0, _co.active); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.href; _ck(_v, 0, 0, currVal_0); }); }
35
+ export function View_SwitcherListItem_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-switcher-list-item", [], null, null, null, View_SwitcherListItem_0, RenderType_SwitcherListItem)), i0.ɵdid(1, 49152, null, 0, i2.SwitcherListItem, [i3.DomSanitizer], null, null)], null, null); }
36
+ var SwitcherListItemNgFactory = i0.ɵccf("ibm-switcher-list-item, ibm-product-switcher-list-item, ibm-product-switcher-item", i2.SwitcherListItem, View_SwitcherListItem_Host_0, { active: "active", href: "href" }, {}, ["*"]);
37
+ export { SwitcherListItemNgFactory as SwitcherListItemNgFactory };
38
+ //# sourceMappingURL=switcher-list-item.component.ngfactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switcher-list-item.component.ngfactory.js","sourceRoot":"","sources":["../../src/ui-shell/panel/switcher-list-item.component.ngfactory.ts","../../src/ui-shell/panel/switcher-list-item.component.ts.SwitcherListItem.html"],"names":[],"mappings":";;;;;;;;;;;;;kECCE,mSAKe,GAHd,mDAEE,KAEF,eAAY,iDALZ,yCAA+B,EAC/B,iCAEE,UAJH,YAKe,EAJd,SAA+B,EAC/B,SAEE,mDACF,mBAAa,OALd,YAKe,EAAd,SAAa","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t<a\n\t\t\tclass=\"bx--switcher__item-link\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--switcher__item-link--selected': active\n\t\t\t}\"\n\t\t\t[href]=\"href\">\n\t\t\t<ng-content></ng-content>\n\t\t</a>\n\t"]}
@@ -0,0 +1 @@
1
+ {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"href":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":2,"members":[]}]}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":2,"members":[]}}}}],"lifecycleHooks":[]},"isComponent":true,"selector":"ibm-switcher-list-item, ibm-product-switcher-list-item, ibm-product-switcher-item","exportAs":null,"inputs":{"active":"active","href":"href"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2},"componentViewType":{"__symbol":3,"members":[]},"rendererType":{"__symbol":4,"members":[]},"componentFactory":{"__symbol":5,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SwitcherListItem","filePath":"./switcher-list-item.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"DomSanitizer","filePath":"@angular/platform-browser"},{"__symbol":3,"name":"View_SwitcherListItem_0","filePath":"./switcher-list-item.component.ngfactory"},{"__symbol":4,"name":"RenderType_SwitcherListItem","filePath":"./switcher-list-item.component.ngfactory"},{"__symbol":5,"name":"SwitcherListItemNgFactory","filePath":"./switcher-list-item.component.ngfactory"}]}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * carbon-angular v0.0.0 | product-switcher-item.component.d.ts
3
+ * carbon-angular v0.0.0 | switcher-list.component.d.ts
4
4
  *
5
5
  * Copyright 2014, 2019 IBM
6
6
  *
@@ -18,6 +18,18 @@
18
18
  */
19
19
 
20
20
 
21
- export declare class ProductSwitcherItem {
22
- hostClass: boolean;
21
+ /**
22
+ * Container for switcher items.
23
+ *
24
+ * ```html
25
+ * <ibm-switcher-list>
26
+ * <ibm-switcher-list-item>one</ibm-switcher-list-item>
27
+ * <ibm-switcher-list-item [active]="true">two</ibm-switcher-list-item>
28
+ * <ibm-switcher-list-item>three</ibm-switcher-list-item>
29
+ * </ibm-switcher-list>
30
+ * ```
31
+ *
32
+ * **Note**: `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
33
+ */
34
+ export declare class SwitcherList {
23
35
  }
@@ -0,0 +1,47 @@
1
+ /*!
2
+ *
3
+ * carbon-angular v0.0.0 | switcher-list.component.js
4
+ *
5
+ * Copyright 2014, 2019 IBM
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+
20
+
21
+ import { Component } from "@angular/core";
22
+ /**
23
+ * Container for switcher items.
24
+ *
25
+ * ```html
26
+ * <ibm-switcher-list>
27
+ * <ibm-switcher-list-item>one</ibm-switcher-list-item>
28
+ * <ibm-switcher-list-item [active]="true">two</ibm-switcher-list-item>
29
+ * <ibm-switcher-list-item>three</ibm-switcher-list-item>
30
+ * </ibm-switcher-list>
31
+ * ```
32
+ *
33
+ * **Note**: `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
34
+ */
35
+ var SwitcherList = /** @class */ (function () {
36
+ function SwitcherList() {
37
+ }
38
+ SwitcherList.decorators = [
39
+ { type: Component, args: [{
40
+ selector: "ibm-switcher-list, ibm-product-switcher-list",
41
+ template: "\n\t\t<ul class=\"bx--switcher__item\">\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\t"
42
+ },] },
43
+ ];
44
+ return SwitcherList;
45
+ }());
46
+ export { SwitcherList };
47
+ //# sourceMappingURL=switcher-list.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switcher-list.component.js","sourceRoot":"","sources":["../../src/ui-shell/panel/switcher-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C;;;;;;;;;;;;GAYG;AACH;IAAA;IAQ2B,CAAC;;gBAR3B,SAAS,SAAC;oBACV,QAAQ,EAAE,8CAA8C;oBACxD,QAAQ,EAAE,yFAIT;iBACD;;IAC0B,mBAAC;CAAA,AAR5B,IAQ4B;SAAf,YAAY","sourcesContent":["import { Component } from \"@angular/core\";\n\n/**\n * Container for switcher items.\n *\n * ```html\n * <ibm-switcher-list>\n * \t<ibm-switcher-list-item>one</ibm-switcher-list-item>\n * \t<ibm-switcher-list-item [active]=\"true\">two</ibm-switcher-list-item>\n * \t<ibm-switcher-list-item>three</ibm-switcher-list-item>\n * </ibm-switcher-list>\n * ```\n *\n * **Note**: `ibm-product-x` selectors and components are deprecated and will be removed in the next major version\n */\n@Component({\n\tselector: \"ibm-switcher-list, ibm-product-switcher-list\",\n\ttemplate: `\n\t\t<ul class=\"bx--switcher__item\">\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\t`\n})\nexport class SwitcherList {}\n"]}
@@ -0,0 +1 @@
1
+ [{"__symbolic":"module","version":4,"metadata":{"SwitcherList":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"ibm-switcher-list, ibm-product-switcher-list","template":"\n\t\t<ul class=\"bx--switcher__item\">\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\t"}]}]}}}]
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * carbon-angular v0.0.0 | product-switcher-item.component.ngfactory.d.ts
3
+ * carbon-angular v0.0.0 | switcher-list.component.ngfactory.d.ts
4
4
  *
5
5
  * Copyright 2014, 2019 IBM
6
6
  *
@@ -0,0 +1,36 @@
1
+ /*!
2
+ *
3
+ * carbon-angular v0.0.0 | switcher-list.component.ngfactory.js
4
+ *
5
+ * Copyright 2014, 2019 IBM
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+
20
+
21
+ /**
22
+ * @fileoverview This file was generated by the Angular template compiler. Do not edit.
23
+ *
24
+ * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
25
+ * tslint:disable
26
+ */
27
+ import * as i0 from "@angular/core";
28
+ import * as i1 from "./switcher-list.component";
29
+ var styles_SwitcherList = [];
30
+ var RenderType_SwitcherList = i0.ɵcrt({ encapsulation: 2, styles: styles_SwitcherList, data: {} });
31
+ export { RenderType_SwitcherList as RenderType_SwitcherList };
32
+ export function View_SwitcherList_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ul", [["class", "bx--switcher__item"]], null, null, null, null, null)), i0.ɵncd(null, 0)], null, null); }
33
+ export function View_SwitcherList_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-switcher-list", [], null, null, null, View_SwitcherList_0, RenderType_SwitcherList)), i0.ɵdid(1, 49152, null, 0, i1.SwitcherList, [], null, null)], null, null); }
34
+ var SwitcherListNgFactory = i0.ɵccf("ibm-switcher-list, ibm-product-switcher-list", i1.SwitcherList, View_SwitcherList_Host_0, {}, {}, ["*"]);
35
+ export { SwitcherListNgFactory as SwitcherListNgFactory };
36
+ //# sourceMappingURL=switcher-list.component.ngfactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switcher-list.component.ngfactory.js","sourceRoot":"","sources":["../../src/ui-shell/panel/switcher-list.component.ngfactory.ts","../../src/ui-shell/panel/switcher-list.component.ts.SwitcherList.html"],"names":[],"mappings":";;;;;;;;;;;8DCCE,0GAA+B,IAC9B,eAAY","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t<ul class=\"bx--switcher__item\">\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\t"]}
@@ -0,0 +1 @@
1
+ {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class"},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"ibm-switcher-list, ibm-product-switcher-list","exportAs":null,"inputs":{},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2},"componentViewType":{"__symbol":1,"members":[]},"rendererType":{"__symbol":2,"members":[]},"componentFactory":{"__symbol":3,"members":[]}}}],"symbols":[{"__symbol":0,"name":"SwitcherList","filePath":"./switcher-list.component"},{"__symbol":1,"name":"View_SwitcherList_0","filePath":"./switcher-list.component.ngfactory"},{"__symbol":2,"name":"RenderType_SwitcherList","filePath":"./switcher-list.component.ngfactory"},{"__symbol":3,"name":"SwitcherListNgFactory","filePath":"./switcher-list.component.ngfactory"}]}
@@ -20,6 +20,9 @@
20
20
 
21
21
  import { ListItem } from "../../dropdown/dropdown.module";
22
22
  import { I18n } from "../../i18n/i18n.module";
23
+ /**
24
+ * @deprecated Until futher notice. Will be removed in a future version.
25
+ */
23
26
  export declare class SideNavHeader {
24
27
  i18n: I18n;
25
28
  title: string;
@@ -20,6 +20,9 @@
20
20
 
21
21
  import { Component, Input } from "@angular/core";
22
22
  import { I18n } from "../../i18n/i18n.module";
23
+ /**
24
+ * @deprecated Until futher notice. Will be removed in a future version.
25
+ */
23
26
  var SideNavHeader = /** @class */ (function () {
24
27
  function SideNavHeader(i18n) {
25
28
  this.i18n = i18n;
@@ -1 +1 @@
1
- {"version":3,"file":"sidenav-header.component.js","sourceRoot":"","sources":["../../src/ui-shell/sidenav/sidenav-header.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C;IA+CC,uBAAmB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QAFtB,eAAU,GAAG,kBAAkB,CAAC;IAEN,CAAC;;gBA/ClC,SAAS,SAAC;oBACV,QAAQ,EAAE,oBAAoB;oBAC9B,QAAQ,EAAE,miDAsCT;iBACD;;;;gBA3CQ,IAAI;;;wBA6CX,KAAK;0BACL,KAAK;;IAIP,oBAAC;CAAA,AAhDD,IAgDC;SANY,aAAa","sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { ListItem } from \"../../dropdown/dropdown.module\";\nimport { I18n } from \"../../i18n/i18n.module\";\n\n@Component({\n\tselector: \"ibm-sidenav-header\",\n\ttemplate: `\n\t\t<header class=\"bx--side-nav__header\">\n\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t</div>\n\t\t\t<div class=\"bx--side-nav__details\">\n\t\t\t\t<h2 class=\"bx--side-nav__title\" [title]=\"title\">{{title}}</h2>\n\t\t\t\t<div class=\"bx--side-nav__switcher\">\n\t\t\t\t\t<label class=\"bx--assistive-text\" [for]=\"switcherId\">\n\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t</label>\n\t\t\t\t\t<select [id]=\"switcherId\" class=\"bx--side-nav__select\">\n\t\t\t\t\t\t<option class=\"bx--side-nav__option\" disabled=\"\" value=\"\" selected=\"\" hidden=\"\">\n\t\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t*ngFor=\"let option of options\"\n\t\t\t\t\t\t\tclass=\"bx--side-nav__option\"\n\t\t\t\t\t\t\t[value]=\"(option.value ? option.value : option.content)\">\n\t\t\t\t\t\t\t{{option.content}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<div class=\"bx--side-nav__switcher-chevron\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</header>\n\t`\n})\nexport class SideNavHeader {\n\t@Input() title: string;\n\t@Input() options: ListItem[];\n\tpublic switcherId = \"sidenav-switcher\";\n\n\tconstructor(public i18n: I18n) { }\n}\n"]}
1
+ {"version":3,"file":"sidenav-header.component.js","sourceRoot":"","sources":["../../src/ui-shell/sidenav/sidenav-header.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C;;GAEG;AACH;IA+CC,uBAAmB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QAFtB,eAAU,GAAG,kBAAkB,CAAC;IAEN,CAAC;;gBA/ClC,SAAS,SAAC;oBACV,QAAQ,EAAE,oBAAoB;oBAC9B,QAAQ,EAAE,miDAsCT;iBACD;;;;gBA9CQ,IAAI;;;wBAgDX,KAAK;0BACL,KAAK;;IAIP,oBAAC;CAAA,AAhDD,IAgDC;SANY,aAAa","sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { ListItem } from \"../../dropdown/dropdown.module\";\nimport { I18n } from \"../../i18n/i18n.module\";\n\n/**\n * @deprecated Until futher notice. Will be removed in a future version.\n */\n@Component({\n\tselector: \"ibm-sidenav-header\",\n\ttemplate: `\n\t\t<header class=\"bx--side-nav__header\">\n\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t</div>\n\t\t\t<div class=\"bx--side-nav__details\">\n\t\t\t\t<h2 class=\"bx--side-nav__title\" [title]=\"title\">{{title}}</h2>\n\t\t\t\t<div class=\"bx--side-nav__switcher\">\n\t\t\t\t\t<label class=\"bx--assistive-text\" [for]=\"switcherId\">\n\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t</label>\n\t\t\t\t\t<select [id]=\"switcherId\" class=\"bx--side-nav__select\">\n\t\t\t\t\t\t<option class=\"bx--side-nav__option\" disabled=\"\" value=\"\" selected=\"\" hidden=\"\">\n\t\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t*ngFor=\"let option of options\"\n\t\t\t\t\t\t\tclass=\"bx--side-nav__option\"\n\t\t\t\t\t\t\t[value]=\"(option.value ? option.value : option.content)\">\n\t\t\t\t\t\t\t{{option.content}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<div class=\"bx--side-nav__switcher-chevron\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</header>\n\t`\n})\nexport class SideNavHeader {\n\t@Input() title: string;\n\t@Input() options: ListItem[];\n\tpublic switcherId = \"sidenav-switcher\";\n\n\tconstructor(public i18n: I18n) { }\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"SideNavHeader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"ibm-sidenav-header","template":"\n\t\t<header class=\"bx--side-nav__header\">\n\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t</div>\n\t\t\t<div class=\"bx--side-nav__details\">\n\t\t\t\t<h2 class=\"bx--side-nav__title\" [title]=\"title\">{{title}}</h2>\n\t\t\t\t<div class=\"bx--side-nav__switcher\">\n\t\t\t\t\t<label class=\"bx--assistive-text\" [for]=\"switcherId\">\n\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t</label>\n\t\t\t\t\t<select [id]=\"switcherId\" class=\"bx--side-nav__select\">\n\t\t\t\t\t\t<option class=\"bx--side-nav__option\" disabled=\"\" value=\"\" selected=\"\" hidden=\"\">\n\t\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t*ngFor=\"let option of options\"\n\t\t\t\t\t\t\tclass=\"bx--side-nav__option\"\n\t\t\t\t\t\t\t[value]=\"(option.value ? option.value : option.content)\">\n\t\t\t\t\t\t\t{{option.content}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<div class=\"bx--side-nav__switcher-chevron\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</header>\n\t"}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":2}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../i18n/i18n.module","name":"I18n","line":51,"character":26}]}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"SideNavHeader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"ibm-sidenav-header","template":"\n\t\t<header class=\"bx--side-nav__header\">\n\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t</div>\n\t\t\t<div class=\"bx--side-nav__details\">\n\t\t\t\t<h2 class=\"bx--side-nav__title\" [title]=\"title\">{{title}}</h2>\n\t\t\t\t<div class=\"bx--side-nav__switcher\">\n\t\t\t\t\t<label class=\"bx--assistive-text\" [for]=\"switcherId\">\n\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t</label>\n\t\t\t\t\t<select [id]=\"switcherId\" class=\"bx--side-nav__select\">\n\t\t\t\t\t\t<option class=\"bx--side-nav__option\" disabled=\"\" value=\"\" selected=\"\" hidden=\"\">\n\t\t\t\t\t\t\t{{i18n.get('UI_SHELL.SIDE_NAV.SWITCHER') | async}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t*ngFor=\"let option of options\"\n\t\t\t\t\t\t\tclass=\"bx--side-nav__option\"\n\t\t\t\t\t\t\t[value]=\"(option.value ? option.value : option.content)\">\n\t\t\t\t\t\t\t{{option.content}}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<div class=\"bx--side-nav__switcher-chevron\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</header>\n\t"}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":2}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../i18n/i18n.module","name":"I18n","line":54,"character":26}]}]}}}}]
@@ -18,7 +18,21 @@
18
18
  */
19
19
 
20
20
 
21
+ import { DomSanitizer } from "@angular/platform-browser";
22
+ /**
23
+ * `SideNavItem` can either be a child of `SideNav` or `SideNavMenu`
24
+ */
21
25
  export declare class SideNavItem {
26
+ protected domSanitizer: DomSanitizer;
27
+ /**
28
+ * Link for the item. NOTE: *do not* pass unsafe or untrusted values, this has the potential to open you up to XSS attacks
29
+ */
30
+ href: string;
31
+ /**
32
+ * Toggles the active (current page) state for the link.
33
+ */
22
34
  active: boolean;
23
35
  isSubMenu: boolean;
36
+ protected _href: string;
37
+ constructor(domSanitizer: DomSanitizer);
24
38
  }
@@ -19,18 +19,45 @@
19
19
 
20
20
 
21
21
  import { Component, Input } from "@angular/core";
22
+ import { DomSanitizer } from "@angular/platform-browser";
23
+ /**
24
+ * `SideNavItem` can either be a child of `SideNav` or `SideNavMenu`
25
+ */
22
26
  var SideNavItem = /** @class */ (function () {
23
- function SideNavItem() {
27
+ function SideNavItem(domSanitizer) {
28
+ this.domSanitizer = domSanitizer;
29
+ /**
30
+ * Toggles the active (current page) state for the link.
31
+ */
24
32
  this.active = false;
25
33
  this.isSubMenu = false;
34
+ this._href = "javascript:void(0)";
26
35
  }
36
+ Object.defineProperty(SideNavItem.prototype, "href", {
37
+ get: function () {
38
+ return this.domSanitizer.bypassSecurityTrustUrl(this._href);
39
+ },
40
+ /**
41
+ * Link for the item. NOTE: *do not* pass unsafe or untrusted values, this has the potential to open you up to XSS attacks
42
+ */
43
+ set: function (v) {
44
+ this._href = v;
45
+ },
46
+ enumerable: true,
47
+ configurable: true
48
+ });
27
49
  SideNavItem.decorators = [
28
50
  { type: Component, args: [{
29
51
  selector: "ibm-sidenav-item",
30
- template: "\n\t\t<li [ngClass]=\"{\n\t\t\t'bx--side-nav__item': !isSubMenu,\n\t\t\t'bx--side-nav__menu-item': isSubMenu\n\t\t}\"\n\t\t[attr.role]=\"(isSubMenu ? 'none' : null)\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--side-nav__link\"\n\t\t\t\thref=\"javascript:void(0)\"\n\t\t\t\t[attr.role]=\"(isSubMenu ? 'menuitem' : null)\"\n\t\t\t\t[attr.aria-current]=\"(active ? 'page' : null)\">\n\t\t\t\t<div *ngIf=\"!isSubMenu\" class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__link-text\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</li>\n\t"
52
+ template: "\n\t\t<li [ngClass]=\"{\n\t\t\t'bx--side-nav__item': !isSubMenu,\n\t\t\t'bx--side-nav__menu-item': isSubMenu\n\t\t}\"\n\t\t[attr.role]=\"(isSubMenu ? 'none' : null)\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--side-nav__link\"\n\t\t\t\t[href]=\"href\"\n\t\t\t\t[attr.role]=\"(isSubMenu ? 'menuitem' : null)\"\n\t\t\t\t[attr.aria-current]=\"(active ? 'page' : null)\">\n\t\t\t\t<div *ngIf=\"!isSubMenu\" class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__link-text\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</li>\n\t"
31
53
  },] },
32
54
  ];
55
+ /** @nocollapse */
56
+ SideNavItem.ctorParameters = function () { return [
57
+ { type: DomSanitizer }
58
+ ]; };
33
59
  SideNavItem.propDecorators = {
60
+ href: [{ type: Input }],
34
61
  active: [{ type: Input }]
35
62
  };
36
63
  return SideNavItem;
@@ -1 +1 @@
1
- {"version":3,"file":"sidenav-item.component.js","sourceRoot":"","sources":["../../src/ui-shell/sidenav/sidenav-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD;IAAA;QAwBU,WAAM,GAAG,KAAK,CAAC;QACxB,cAAS,GAAG,KAAK,CAAC;IACnB,CAAC;;gBA1BA,SAAS,SAAC;oBACV,QAAQ,EAAE,kBAAkB;oBAC5B,QAAQ,EAAE,6nBAmBT;iBACD;;;yBAEC,KAAK;;IAEP,kBAAC;CAAA,AA1BD,IA0BC;SAHY,WAAW","sourcesContent":["import { Component, Input } from \"@angular/core\";\n\n@Component({\n\tselector: \"ibm-sidenav-item\",\n\ttemplate: `\n\t\t<li [ngClass]=\"{\n\t\t\t'bx--side-nav__item': !isSubMenu,\n\t\t\t'bx--side-nav__menu-item': isSubMenu\n\t\t}\"\n\t\t[attr.role]=\"(isSubMenu ? 'none' : null)\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--side-nav__link\"\n\t\t\t\thref=\"javascript:void(0)\"\n\t\t\t\t[attr.role]=\"(isSubMenu ? 'menuitem' : null)\"\n\t\t\t\t[attr.aria-current]=\"(active ? 'page' : null)\">\n\t\t\t\t<div *ngIf=\"!isSubMenu\" class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__link-text\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</li>\n\t`\n})\nexport class SideNavItem {\n\t@Input() active = false;\n\tisSubMenu = false;\n}\n"]}
1
+ {"version":3,"file":"sidenav-item.component.js","sourceRoot":"","sources":["../../src/ui-shell/sidenav/sidenav-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD;;GAEG;AACH;IA2CC,qBAAsB,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;QARhD;;WAEG;QACM,WAAM,GAAG,KAAK,CAAC;QACxB,cAAS,GAAG,KAAK,CAAC;QAER,UAAK,GAAG,oBAAoB,CAAC;IAEY,CAAC;IAhBpD,sBAAa,6BAAI;aAIjB;YACC,OAAO,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAW,CAAC;QACvE,CAAC;QATD;;WAEG;aACH,UAAkB,CAAS;YAC1B,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QAChB,CAAC;;;OAAA;;gBA7BD,SAAS,SAAC;oBACV,QAAQ,EAAE,kBAAkB;oBAC5B,QAAQ,EAAE,inBAmBT;iBACD;;;;gBA3BQ,YAAY;;;uBAgCnB,KAAK;yBAWL,KAAK;;IAMP,kBAAC;CAAA,AA5CD,IA4CC;SArBY,WAAW","sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { DomSanitizer } from \"@angular/platform-browser\";\n\n/**\n * `SideNavItem` can either be a child of `SideNav` or `SideNavMenu`\n */\n@Component({\n\tselector: \"ibm-sidenav-item\",\n\ttemplate: `\n\t\t<li [ngClass]=\"{\n\t\t\t'bx--side-nav__item': !isSubMenu,\n\t\t\t'bx--side-nav__menu-item': isSubMenu\n\t\t}\"\n\t\t[attr.role]=\"(isSubMenu ? 'none' : null)\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--side-nav__link\"\n\t\t\t\t[href]=\"href\"\n\t\t\t\t[attr.role]=\"(isSubMenu ? 'menuitem' : null)\"\n\t\t\t\t[attr.aria-current]=\"(active ? 'page' : null)\">\n\t\t\t\t<div *ngIf=\"!isSubMenu\" class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__link-text\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</li>\n\t`\n})\nexport class SideNavItem {\n\t/**\n\t * Link for the item. NOTE: *do not* pass unsafe or untrusted values, this has the potential to open you up to XSS attacks\n\t */\n\t@Input() set href(v: string) {\n\t\tthis._href = v;\n\t}\n\n\tget href() {\n\t\treturn this.domSanitizer.bypassSecurityTrustUrl(this._href) as string;\n\t}\n\n\t/**\n\t * Toggles the active (current page) state for the link.\n\t */\n\t@Input() active = false;\n\tisSubMenu = false;\n\n\tprotected _href = \"javascript:void(0)\";\n\n\tconstructor(protected domSanitizer: DomSanitizer) {}\n}\n"]}