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
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"tabInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["tabs"]}]}],"cacheActive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"followFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"contentBefore":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"contentAfter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"headerContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":["tabList"]}]}],"tabQuery":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]}],"allTabHeaders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":5,"members":[]},"arguments":["tabItem"]}]}],"keyboardInput":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbol":6,"members":[]},"arguments":["keydown",["$event"]]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"onTabFocus":[{"__symbolic":"method"}],"getSelectedTab":[{"__symbolic":"method"}],"showTabList":[{"__symbolic":"method"}],"selectTab":[{"__symbolic":"method"}],"setFirstTab":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[4]},"isComponent":true,"selector":"ibm-tab-headers","exportAs":null,"inputs":{"tabInput":"tabs","cacheActive":"cacheActive","followFocus":"followFocus","skeleton":"skeleton","contentBefore":"contentBefore","contentAfter":"contentAfter"},"outputs":{},"hostListeners":{"keydown":"keyboardInput($event)"},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":4,"members":[]}}}],"first":false,"descendants":false,"propertyName":"tabQuery","read":null}],"guards":{},"viewQueries":[{"selectors":[{"value":"tabList"}],"first":true,"descendants":true,"propertyName":"headerContainer","read":null},{"selectors":[{"value":"tabItem"}],"first":false,"descendants":true,"propertyName":"allTabHeaders","read":null}],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2},"componentViewType":{"__symbol":7,"members":[]},"rendererType":{"__symbol":8,"members":[]},"componentFactory":{"__symbol":9,"members":[]}}}],"symbols":[{"__symbol":0,"name":"TabHeaders","filePath":"./tab-headers.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"ViewChild","filePath":"@angular/core"},{"__symbol":3,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":4,"name":"Tab","filePath":"./tab.component"},{"__symbol":5,"name":"ViewChildren","filePath":"@angular/core"},{"__symbol":6,"name":"HostListener","filePath":"@angular/core"},{"__symbol":7,"name":"View_TabHeaders_0","filePath":"./tab-headers.component.ngfactory"},{"__symbol":8,"name":"RenderType_TabHeaders","filePath":"./tab-headers.component.ngfactory"},{"__symbol":9,"name":"TabHeadersNgFactory","filePath":"./tab-headers.component.ngfactory"}]}
1
+ {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"tabInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["tabs"]}]}],"cacheActive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"followFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"ariaLabelledby":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"contentBefore":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"contentAfter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"headerContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":["tabList"]}]}],"tabQuery":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]}],"allTabHeaders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":5,"members":[]},"arguments":["tabItem"]}]}],"keyboardInput":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbol":6,"members":[]},"arguments":["keydown",["$event"]]}]}],"focusOut":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbol":6,"members":[]},"arguments":["focusout",["$event"]]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"onTabFocus":[{"__symbolic":"method"}],"getSelectedTab":[{"__symbolic":"method"}],"showTabList":[{"__symbolic":"method"}],"selectTab":[{"__symbolic":"method"}],"setFirstTab":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[4]},"isComponent":true,"selector":"ibm-tab-headers","exportAs":null,"inputs":{"tabInput":"tabs","cacheActive":"cacheActive","followFocus":"followFocus","skeleton":"skeleton","ariaLabel":"ariaLabel","ariaLabelledby":"ariaLabelledby","contentBefore":"contentBefore","contentAfter":"contentAfter"},"outputs":{},"hostListeners":{"keydown":"keyboardInput($event)","focusout":"focusOut($event)"},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":4,"members":[]}}}],"first":false,"descendants":false,"propertyName":"tabQuery","read":null}],"guards":{},"viewQueries":[{"selectors":[{"value":"tabList"}],"first":true,"descendants":true,"propertyName":"headerContainer","read":null},{"selectors":[{"value":"tabItem"}],"first":false,"descendants":true,"propertyName":"allTabHeaders","read":null}],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2},"componentViewType":{"__symbol":7,"members":[]},"rendererType":{"__symbol":8,"members":[]},"componentFactory":{"__symbol":9,"members":[]}}}],"symbols":[{"__symbol":0,"name":"TabHeaders","filePath":"./tab-headers.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"ViewChild","filePath":"@angular/core"},{"__symbol":3,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":4,"name":"Tab","filePath":"./tab.component"},{"__symbol":5,"name":"ViewChildren","filePath":"@angular/core"},{"__symbol":6,"name":"HostListener","filePath":"@angular/core"},{"__symbol":7,"name":"View_TabHeaders_0","filePath":"./tab-headers.component.ngfactory"},{"__symbol":8,"name":"RenderType_TabHeaders","filePath":"./tab-headers.component.ngfactory"},{"__symbol":9,"name":"TabHeadersNgFactory","filePath":"./tab-headers.component.ngfactory"}]}
@@ -71,6 +71,14 @@ export declare class Tabs implements AfterContentInit {
71
71
  * Set to `true` to have the tabIndex of the all tabpanels be -1.
72
72
  */
73
73
  isNavigation: boolean;
74
+ /**
75
+ * Sets the aria label on the `TabHeader`s nav element.
76
+ */
77
+ ariaLabel: string;
78
+ /**
79
+ * Sets the aria labelledby on the `TabHeader`s nav element.
80
+ */
81
+ ariaLabelledby: string;
74
82
  /**
75
83
  * Maintains a `QueryList` of the `Tab` elements and updates if `Tab`s are added or removed.
76
84
  */
@@ -96,7 +96,7 @@ var Tabs = /** @class */ (function () {
96
96
  Tabs.decorators = [
97
97
  { type: Component, args: [{
98
98
  selector: "ibm-tabs",
99
- template: "\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t "
99
+ template: "\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\"\n\t\t\t\t[ariaLabel]=\"ariaLabel\"\n\t\t\t\t[ariaLabelledby]=\"ariaLabelledby\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t "
100
100
  },] },
101
101
  ];
102
102
  Tabs.propDecorators = {
@@ -105,6 +105,8 @@ var Tabs = /** @class */ (function () {
105
105
  followFocus: [{ type: Input }],
106
106
  skeleton: [{ type: Input }],
107
107
  isNavigation: [{ type: Input }],
108
+ ariaLabel: [{ type: Input }],
109
+ ariaLabelledby: [{ type: Input }],
108
110
  tabs: [{ type: ContentChildren, args: [Tab, { descendants: false },] }],
109
111
  tabHeaders: [{ type: ContentChild, args: [TabHeaders,] }]
110
112
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.component.js","sourceRoot":"","sources":["../src/tabs/tabs.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EACL,eAAe,EACf,SAAS,EAET,YAAY,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IAAA;QA4BC;;;WAGG;QACM,aAAQ,GAAqB,KAAK,CAAC;QAC5C;;WAEG;QACM,gBAAW,GAAG,KAAK,CAAC;QAC7B;;WAEG;QACM,gBAAW,GAAG,IAAI,CAAC;QAC5B;;WAEG;QACM,aAAQ,GAAG,KAAK,CAAC;QAC1B;;WAEG;QACM,iBAAY,GAAG,KAAK,CAAC;IA+B/B,CAAC;IApBA;;;OAGG;IACH,iCAAkB,GAAlB;QAAA,iBAQC;QAPA,IAAI,IAAI,CAAC,UAAU,EAAE;YACpB,IAAI,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;SAC/C;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAA,GAAG;YACpB,GAAG,CAAC,QAAQ,GAAG,KAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,4BAAa,GAAb;QACC,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;IAC7B,CAAC;;gBA9ED,SAAS,SAAC;oBACV,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,owBAuBR;iBACF;;;2BAMC,KAAK;8BAIL,KAAK;8BAIL,KAAK;2BAIL,KAAK;+BAIL,KAAK;uBAKL,eAAe,SAAC,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;6BAI3C,YAAY,SAAC,UAAU;;IAsBzB,WAAC;CAAA,AA/ED,IA+EC;SApDY,IAAI","sourcesContent":["import {\n\tComponent,\n\tInput,\n\tContentChildren,\n\tQueryList,\n\tAfterContentInit,\n\tContentChild,\n\tQuery\n} from \"@angular/core\";\nimport { Tab } from \"./tab.component\";\nimport { TabHeaders } from \"./tab-headers.component\";\n\n\n/**\n * Build out your application's tabs using this component.\n * This is the parent of the `Tab` and `TabHeader` components.\n *\n * [See demo](../../?path=/story/tabs--basic)\n *\n * `Tabs` expects a set of `n-tab` elements\n *\n * ```html\n * <ibm-tabs>\n * \t<ibm-tab heading='tab1'>\n * \t\ttab 1 content\n * \t</ibm-tab>\n * \t<ibm-tab heading='tab1'>\n * \t\ttab 2 content\n * \t</ibm-tab>\n * \t<!-- ... -->\n * \t<ibm-tab heading='tab1'>\n * \t\ttab n content\n * \t</ibm-tab>\n * </ibm-tabs>\n * ```\n *\n * <example-url>../../iframe.html?id=tabs--basic</example-url>\n *\n * @export\n * @class Tabs\n * @implements {AfterContentInit}\n */\n@Component({\n\tselector: \"ibm-tabs\",\n\ttemplate: `\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t `\n})\nexport class Tabs implements AfterContentInit {\n\t/**\n\t * Takes either the string value 'top' or 'bottom' to place TabHeader\n\t * relative to the `TabPanel`s.\n\t */\n\t@Input() position: \"top\" | \"bottom\" = \"top\";\n\t/**\n\t * Set to 'true' to have `Tab` items cached and not reloaded on tab switching.\n\t */\n\t@Input() cacheActive = false;\n\t/**\n\t * Set to 'true' to have tabs automatically activated and have their content displayed when they receive focus.\n\t */\n\t@Input() followFocus = true;\n\t/**\n\t * Set to `true` to put tabs in a loading state.\n\t */\n\t@Input() skeleton = false;\n\t/**\n\t * Set to `true` to have the tabIndex of the all tabpanels be -1.\n\t */\n\t@Input() isNavigation = false;\n\n\t/**\n\t * Maintains a `QueryList` of the `Tab` elements and updates if `Tab`s are added or removed.\n\t */\n\t@ContentChildren(Tab, { descendants: false }) tabs: QueryList<Tab>;\n\t/**\n\t * Content child of the projected header component\n\t */\n\t@ContentChild(TabHeaders) tabHeaders;\n\n\t/**\n\t * After content is initialized update `Tab`s to cache (if turned on) and set the initial\n\t * selected Tab item.\n\t */\n\tngAfterContentInit() {\n\t\tif (this.tabHeaders) {\n\t\t\tthis.tabHeaders.cacheActive = this.cacheActive;\n\t\t}\n\n\t\tthis.tabs.forEach(tab => {\n\t\t\ttab.tabIndex = this.isNavigation ? -1 : 0;\n\t\t});\n\t}\n\n\t/**\n\t * true if the n-tab's are passed directly to the component as children\n\t */\n\thasTabHeaders() {\n\t\treturn this.tabs.length > 0;\n\t}\n}\n"]}
1
+ {"version":3,"file":"tabs.component.js","sourceRoot":"","sources":["../src/tabs/tabs.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EACL,eAAe,EACf,SAAS,EAET,YAAY,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IAAA;QA8BC;;;WAGG;QACM,aAAQ,GAAqB,KAAK,CAAC;QAC5C;;WAEG;QACM,gBAAW,GAAG,KAAK,CAAC;QAC7B;;WAEG;QACM,gBAAW,GAAG,IAAI,CAAC;QAC5B;;WAEG;QACM,aAAQ,GAAG,KAAK,CAAC;QAC1B;;WAEG;QACM,iBAAY,GAAG,KAAK,CAAC;IAuC/B,CAAC;IApBA;;;OAGG;IACH,iCAAkB,GAAlB;QAAA,iBAQC;QAPA,IAAI,IAAI,CAAC,UAAU,EAAE;YACpB,IAAI,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;SAC/C;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAA,GAAG;YACpB,GAAG,CAAC,QAAQ,GAAG,KAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,4BAAa,GAAb;QACC,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;IAC7B,CAAC;;gBAxFD,SAAS,SAAC;oBACV,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,o1BAyBR;iBACF;;;2BAMC,KAAK;8BAIL,KAAK;8BAIL,KAAK;2BAIL,KAAK;+BAIL,KAAK;4BAIL,KAAK;iCAIL,KAAK;uBAKL,eAAe,SAAC,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;6BAI3C,YAAY,SAAC,UAAU;;IAsBzB,WAAC;CAAA,AAzFD,IAyFC;SA5DY,IAAI","sourcesContent":["import {\n\tComponent,\n\tInput,\n\tContentChildren,\n\tQueryList,\n\tAfterContentInit,\n\tContentChild,\n\tQuery\n} from \"@angular/core\";\nimport { Tab } from \"./tab.component\";\nimport { TabHeaders } from \"./tab-headers.component\";\n\n\n/**\n * Build out your application's tabs using this component.\n * This is the parent of the `Tab` and `TabHeader` components.\n *\n * [See demo](../../?path=/story/tabs--basic)\n *\n * `Tabs` expects a set of `n-tab` elements\n *\n * ```html\n * <ibm-tabs>\n * \t<ibm-tab heading='tab1'>\n * \t\ttab 1 content\n * \t</ibm-tab>\n * \t<ibm-tab heading='tab1'>\n * \t\ttab 2 content\n * \t</ibm-tab>\n * \t<!-- ... -->\n * \t<ibm-tab heading='tab1'>\n * \t\ttab n content\n * \t</ibm-tab>\n * </ibm-tabs>\n * ```\n *\n * <example-url>../../iframe.html?id=tabs--basic</example-url>\n *\n * @export\n * @class Tabs\n * @implements {AfterContentInit}\n */\n@Component({\n\tselector: \"ibm-tabs\",\n\ttemplate: `\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\"\n\t\t\t\t[ariaLabel]=\"ariaLabel\"\n\t\t\t\t[ariaLabelledby]=\"ariaLabelledby\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t `\n})\nexport class Tabs implements AfterContentInit {\n\t/**\n\t * Takes either the string value 'top' or 'bottom' to place TabHeader\n\t * relative to the `TabPanel`s.\n\t */\n\t@Input() position: \"top\" | \"bottom\" = \"top\";\n\t/**\n\t * Set to 'true' to have `Tab` items cached and not reloaded on tab switching.\n\t */\n\t@Input() cacheActive = false;\n\t/**\n\t * Set to 'true' to have tabs automatically activated and have their content displayed when they receive focus.\n\t */\n\t@Input() followFocus = true;\n\t/**\n\t * Set to `true` to put tabs in a loading state.\n\t */\n\t@Input() skeleton = false;\n\t/**\n\t * Set to `true` to have the tabIndex of the all tabpanels be -1.\n\t */\n\t@Input() isNavigation = false;\n\t/**\n\t * Sets the aria label on the `TabHeader`s nav element.\n\t */\n\t@Input() ariaLabel: string;\n\t/**\n\t * Sets the aria labelledby on the `TabHeader`s nav element.\n\t */\n\t@Input() ariaLabelledby: string;\n\n\t/**\n\t * Maintains a `QueryList` of the `Tab` elements and updates if `Tab`s are added or removed.\n\t */\n\t@ContentChildren(Tab, { descendants: false }) tabs: QueryList<Tab>;\n\t/**\n\t * Content child of the projected header component\n\t */\n\t@ContentChild(TabHeaders) tabHeaders;\n\n\t/**\n\t * After content is initialized update `Tab`s to cache (if turned on) and set the initial\n\t * selected Tab item.\n\t */\n\tngAfterContentInit() {\n\t\tif (this.tabHeaders) {\n\t\t\tthis.tabHeaders.cacheActive = this.cacheActive;\n\t\t}\n\n\t\tthis.tabs.forEach(tab => {\n\t\t\ttab.tabIndex = this.isNavigation ? -1 : 0;\n\t\t});\n\t}\n\n\t/**\n\t * true if the n-tab's are passed directly to the component as children\n\t */\n\thasTabHeaders() {\n\t\treturn this.tabs.length > 0;\n\t}\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"Tabs":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":42,"character":1},"arguments":[{"selector":"ibm-tabs","template":"\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t "}]}],"members":{"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":74,"character":2}}]}],"cacheActive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":2}}]}],"followFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":2}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":2}}]}],"isNavigation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":2}}]}],"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":95,"character":2},"arguments":[{"__symbolic":"reference","module":"./tab.component","name":"Tab","line":95,"character":18},{"descendants":false}]}]}],"tabHeaders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":99,"character":2},"arguments":[{"__symbolic":"reference","module":"./tab-headers.component","name":"TabHeaders","line":99,"character":15}]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"hasTabHeaders":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"Tabs":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":42,"character":1},"arguments":[{"selector":"ibm-tabs","template":"\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\"\n\t\t\t\t[ariaLabel]=\"ariaLabel\"\n\t\t\t\t[ariaLabelledby]=\"ariaLabelledby\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t "}]}],"members":{"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":2}}]}],"cacheActive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":2}}]}],"followFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":2}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":2}}]}],"isNavigation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":2}}]}],"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":2}}]}],"ariaLabelledby":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":100,"character":2}}]}],"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":105,"character":2},"arguments":[{"__symbolic":"reference","module":"./tab.component","name":"Tab","line":105,"character":18},{"descendants":false}]}]}],"tabHeaders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":109,"character":2},"arguments":[{"__symbolic":"reference","module":"./tab-headers.component","name":"TabHeaders","line":109,"character":15}]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"hasTabHeaders":[{"__symbolic":"method"}]}}}}]
@@ -32,18 +32,24 @@ import * as i4 from "./tabs.component";
32
32
  var styles_Tabs = [];
33
33
  var RenderType_Tabs = i0.ɵcrt({ encapsulation: 2, styles: styles_Tabs, data: {} });
34
34
  export { RenderType_Tabs as RenderType_Tabs };
35
- function View_Tabs_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ibm-tab-headers", [], null, [[null, "keydown"]], function (_v, en, $event) { var ad = true; if (("keydown" === en)) {
35
+ function View_Tabs_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ibm-tab-headers", [], null, [[null, "keydown"], [null, "focusout"]], function (_v, en, $event) { var ad = true; if (("keydown" === en)) {
36
36
  var pd_0 = (i0.ɵnov(_v, 1).keyboardInput($event) !== false);
37
37
  ad = (pd_0 && ad);
38
- } return ad; }, i1.View_TabHeaders_0, i1.RenderType_TabHeaders)), i0.ɵdid(1, 1097728, null, 1, i2.TabHeaders, [], { tabInput: [0, "tabInput"], cacheActive: [1, "cacheActive"], followFocus: [2, "followFocus"], skeleton: [3, "skeleton"], contentBefore: [4, "contentBefore"], contentAfter: [5, "contentAfter"] }, null), i0.ɵqud(603979776, 1, { tabQuery: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.tabs; var currVal_1 = _co.cacheActive; var currVal_2 = _co.followFocus; var currVal_3 = _co.skeleton; var currVal_4 = i0.ɵnov(_v.parent, 3); var currVal_5 = i0.ɵnov(_v.parent, 4); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); }, null); }
38
+ } if (("focusout" === en)) {
39
+ var pd_1 = (i0.ɵnov(_v, 1).focusOut($event) !== false);
40
+ ad = (pd_1 && ad);
41
+ } return ad; }, i1.View_TabHeaders_0, i1.RenderType_TabHeaders)), i0.ɵdid(1, 1097728, null, 1, i2.TabHeaders, [], { tabInput: [0, "tabInput"], cacheActive: [1, "cacheActive"], followFocus: [2, "followFocus"], skeleton: [3, "skeleton"], ariaLabel: [4, "ariaLabel"], ariaLabelledby: [5, "ariaLabelledby"], contentBefore: [6, "contentBefore"], contentAfter: [7, "contentAfter"] }, null), i0.ɵqud(603979776, 1, { tabQuery: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.tabs; var currVal_1 = _co.cacheActive; var currVal_2 = _co.followFocus; var currVal_3 = _co.skeleton; var currVal_4 = _co.ariaLabel; var currVal_5 = _co.ariaLabelledby; var currVal_6 = i0.ɵnov(_v.parent, 3); var currVal_7 = i0.ɵnov(_v.parent, 4); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, null); }
39
42
  function View_Tabs_2(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 1), (_l()(), i0.ɵand(0, null, null, 0))], null, null); }
40
43
  function View_Tabs_3(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 2), (_l()(), i0.ɵand(0, null, null, 0))], null, null); }
41
- function View_Tabs_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ibm-tab-headers", [], null, [[null, "keydown"]], function (_v, en, $event) { var ad = true; if (("keydown" === en)) {
44
+ function View_Tabs_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ibm-tab-headers", [], null, [[null, "keydown"], [null, "focusout"]], function (_v, en, $event) { var ad = true; if (("keydown" === en)) {
42
45
  var pd_0 = (i0.ɵnov(_v, 1).keyboardInput($event) !== false);
43
46
  ad = (pd_0 && ad);
47
+ } if (("focusout" === en)) {
48
+ var pd_1 = (i0.ɵnov(_v, 1).focusOut($event) !== false);
49
+ ad = (pd_1 && ad);
44
50
  } return ad; }, i1.View_TabHeaders_0, i1.RenderType_TabHeaders)), i0.ɵdid(1, 1097728, null, 1, i2.TabHeaders, [], { tabInput: [0, "tabInput"], cacheActive: [1, "cacheActive"], skeleton: [2, "skeleton"] }, null), i0.ɵqud(603979776, 2, { tabQuery: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.tabs; var currVal_1 = _co.cacheActive; var currVal_2 = _co.skeleton; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }
45
51
  export function View_Tabs_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_Tabs_1)), i0.ɵdid(1, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), i0.ɵncd(null, 0), (_l()(), i0.ɵand(0, [["before", 2]], null, 0, null, View_Tabs_2)), (_l()(), i0.ɵand(0, [["after", 2]], null, 0, null, View_Tabs_3)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Tabs_4)), i0.ɵdid(6, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.hasTabHeaders() && (_co.position === "top")); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.hasTabHeaders() && (_co.position === "bottom")); _ck(_v, 6, 0, currVal_1); }, null); }
46
52
  export function View_Tabs_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "ibm-tabs", [], null, null, null, View_Tabs_0, RenderType_Tabs)), i0.ɵdid(1, 1097728, null, 2, i4.Tabs, [], null, null), i0.ɵqud(603979776, 1, { tabs: 1 }), i0.ɵqud(335544320, 2, { tabHeaders: 0 })], null, null); }
47
- var TabsNgFactory = i0.ɵccf("ibm-tabs", i4.Tabs, View_Tabs_Host_0, { position: "position", cacheActive: "cacheActive", followFocus: "followFocus", skeleton: "skeleton", isNavigation: "isNavigation" }, {}, ["*", "[before]", "[after]"]);
53
+ var TabsNgFactory = i0.ɵccf("ibm-tabs", i4.Tabs, View_Tabs_Host_0, { position: "position", cacheActive: "cacheActive", followFocus: "followFocus", skeleton: "skeleton", isNavigation: "isNavigation", ariaLabel: "ariaLabel", ariaLabelledby: "ariaLabelledby" }, {}, ["*", "[before]", "[after]"]);
48
54
  export { TabsNgFactory as TabsNgFactory };
49
55
  //# sourceMappingURL=tabs.component.ngfactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.component.ngfactory.js","sourceRoot":"","sources":["../src/tabs/tabs.component.ngfactory.ts","../src/tabs/tabs.component.ts.Tabs.html"],"names":[],"mappings":";;;;;;;;;;;;;;+CCCG;;;oWAOwB,mDAJvB,mBAAa,OAEb,mBAA2B,cAD3B,mBAA2B,cAF3B,mBAAqB,WAIrB,oCAAwB,GACxB,oCAAsB,GAPvB,YAOwB,EAJvB,SAAa,EAEb,SAA2B,EAD3B,SAA2B,EAF3B,SAAqB,EAIrB,SAAwB,EACxB,SAAsB;8CAItB,eAA8B;8CAG9B,eAA6B;+CAE9B;;;2PAI6B,mDAD5B,mBAAa,OACb,mBAA2B,cAF3B,mBAAqB,WAFtB,YAI6B,EAD5B,SAAa,EACb,SAA2B,EAF3B,SAAqB;sDAlBtB,oKAOwB,GAExB,eAAY,IACZ,8DAAqB,KAGrB,6DAAoB,KAGpB,oKAI6B,iDAnB5B,+DAA6C,IAD9C,YAOwB,EANvB,SAA6C,GAgB7C,kEAAgD,IADjD,YAI6B,EAH5B,SAAgD","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t "]}
1
+ {"version":3,"file":"tabs.component.ngfactory.js","sourceRoot":"","sources":["../src/tabs/tabs.component.ngfactory.ts","../src/tabs/tabs.component.ts.Tabs.html"],"names":[],"mappings":";;;;;;;;;;;;;;+CCCG;;;;;;waASmC,mDANlC,mBAAa,OAEb,mBAA2B,cAD3B,mBAA2B,cAF3B,mBAAqB,WAMrB,mBAAuB,YACvB,mBAAiC,iBAHjC,oCAAwB,GACxB,oCAAsB,GAPvB,YASmC,EANlC,SAAa,EAEb,SAA2B,EAD3B,SAA2B,EAF3B,SAAqB,EAMrB,SAAuB,EACvB,SAAiC,EAHjC,SAAwB,EACxB,SAAsB;8CAMtB,eAA8B;8CAG9B,eAA6B;+CAE9B;;;;;;2PAI6B,mDAD5B,mBAAa,OACb,mBAA2B,cAF3B,mBAAqB,WAFtB,YAI6B,EAD5B,SAAa,EACb,SAA2B,EAF3B,SAAqB;sDApBtB,oKASmC,GAEnC,eAAY,IACZ,8DAAqB,KAGrB,6DAAoB,KAGpB,oKAI6B,iDArB5B,+DAA6C,IAD9C,YASmC,EARlC,SAA6C,GAkB7C,kEAAgD,IADjD,YAI6B,EAH5B,SAAgD","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'top'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[followFocus]=\"followFocus\"\n\t\t\t\t[cacheActive]=\"cacheActive\"\n\t\t\t\t[contentBefore]=\"before\"\n\t\t\t\t[contentAfter]=\"after\"\n\t\t\t\t[ariaLabel]=\"ariaLabel\"\n\t\t\t\t[ariaLabelledby]=\"ariaLabelledby\">\n\t\t\t</ibm-tab-headers>\n\t\t\t<ng-content></ng-content>\n\t\t\t<ng-template #before>\n\t\t\t\t<ng-content select=\"[before]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ng-template #after>\n\t\t\t\t<ng-content select=\"[after]\"></ng-content>\n\t\t\t</ng-template>\n\t\t\t<ibm-tab-headers\n\t\t\t\t*ngIf=\"hasTabHeaders() && position === 'bottom'\"\n\t\t\t\t[skeleton]=\"skeleton\"\n\t\t\t\t[tabs]=\"tabs\"\n\t\t\t\t[cacheActive]=\"cacheActive\">\n\t\t\t</ibm-tab-headers>\n\t "]}
@@ -1 +1 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"cacheActive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"followFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"isNavigation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":[{"__symbol":3,"members":[]},{"descendants":false}]}]}],"tabHeaders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":4,"members":[]},"arguments":[{"__symbol":5,"members":[]}]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"hasTabHeaders":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[4]},"isComponent":true,"selector":"ibm-tabs","exportAs":null,"inputs":{"position":"position","cacheActive":"cacheActive","followFocus":"followFocus","skeleton":"skeleton","isNavigation":"isNavigation"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":3,"members":[]}}}],"first":false,"descendants":false,"propertyName":"tabs","read":null},{"selectors":[{"identifier":{"reference":{"__symbol":5,"members":[]}}}],"first":true,"descendants":true,"propertyName":"tabHeaders","read":null}],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*","[before]","[after]"],"encapsulation":2},"componentViewType":{"__symbol":6,"members":[]},"rendererType":{"__symbol":7,"members":[]},"componentFactory":{"__symbol":8,"members":[]}}}],"symbols":[{"__symbol":0,"name":"Tabs","filePath":"./tabs.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":3,"name":"Tab","filePath":"./tab.component"},{"__symbol":4,"name":"ContentChild","filePath":"@angular/core"},{"__symbol":5,"name":"TabHeaders","filePath":"./tab-headers.component"},{"__symbol":6,"name":"View_Tabs_0","filePath":"./tabs.component.ngfactory"},{"__symbol":7,"name":"RenderType_Tabs","filePath":"./tabs.component.ngfactory"},{"__symbol":8,"name":"TabsNgFactory","filePath":"./tabs.component.ngfactory"}]}
1
+ {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"cacheActive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"followFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"skeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"isNavigation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"ariaLabelledby":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"tabs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]},"arguments":[{"__symbol":3,"members":[]},{"descendants":false}]}]}],"tabHeaders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":4,"members":[]},"arguments":[{"__symbol":5,"members":[]}]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"hasTabHeaders":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[4]},"isComponent":true,"selector":"ibm-tabs","exportAs":null,"inputs":{"position":"position","cacheActive":"cacheActive","followFocus":"followFocus","skeleton":"skeleton","isNavigation":"isNavigation","ariaLabel":"ariaLabel","ariaLabelledby":"ariaLabelledby"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":3,"members":[]}}}],"first":false,"descendants":false,"propertyName":"tabs","read":null},{"selectors":[{"identifier":{"reference":{"__symbol":5,"members":[]}}}],"first":true,"descendants":true,"propertyName":"tabHeaders","read":null}],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*","[before]","[after]"],"encapsulation":2},"componentViewType":{"__symbol":6,"members":[]},"rendererType":{"__symbol":7,"members":[]},"componentFactory":{"__symbol":8,"members":[]}}}],"symbols":[{"__symbol":0,"name":"Tabs","filePath":"./tabs.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":3,"name":"Tab","filePath":"./tab.component"},{"__symbol":4,"name":"ContentChild","filePath":"@angular/core"},{"__symbol":5,"name":"TabHeaders","filePath":"./tab-headers.component"},{"__symbol":6,"name":"View_Tabs_0","filePath":"./tabs.component.ngfactory"},{"__symbol":7,"name":"RenderType_Tabs","filePath":"./tabs.component.ngfactory"},{"__symbol":8,"name":"TabsNgFactory","filePath":"./tabs.component.ngfactory"}]}
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.module.ngfactory.js","sourceRoot":"","sources":["../src/tabs/tabs.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './tabs.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from './tabs.component';\nimport * as i4 from './tab.component';\nimport * as i5 from './tab-headers.component';\nexport const TabsModuleNgFactory:i0.NgModuleFactory<i1.TabsModule> = (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.Tabs = (<any>(null as any));\nvar _decl0_12:i4.Tab = (<any>(null as any));\nvar _decl0_13:i5.TabHeaders = (<any>(null as any));\nvar _decl0_14:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_15:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_16:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_17:i2.JsonPipe = (<any>(null as any));\nvar _decl0_18:i2.SlicePipe = (<any>(null as any));\nvar _decl0_19:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_20:i2.PercentPipe = (<any>(null as any));\nvar _decl0_21:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_22:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_23:i2.DatePipe = (<any>(null as any));\nvar _decl0_24:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_25:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_26:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_27:i2.CommonModule = (<any>(null as any));\nvar _decl0_28:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_29:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_Tabs_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Tabs_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_11.hasTabHeaders() && (_decl0_11.position === 'top'));\n currVal_0;\n const currVal_1:any = (_decl0_11.hasTabHeaders() && (_decl0_11.position === 'bottom'));\n currVal_1;\n}\nfunction _View_Tab_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Tab_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_12.shouldRender();\n currVal_0;\n}\nfunction _View_TabHeaders_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabHeaders_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'bx--tabs';\n currVal_0;\n const currVal_1:any = (<any>{'bx--skeleton':_decl0_13.skeleton});\n currVal_1;\n const currVal_2:any = !_decl0_13.getSelectedTab().headingIsTemplate;\n currVal_2;\n const currVal_3:any = _decl0_13.getSelectedTab().headingIsTemplate;\n currVal_3;\n const currVal_4:any = 'bx--tabs__nav';\n currVal_4;\n const currVal_5:any = (<any>{'bx--tabs__nav--hidden':!_decl0_13.tabListVisible});\n currVal_5;\n const currVal_6:any = _decl0_13.contentBefore;\n currVal_6;\n const currVal_7:any = _decl0_13.tabs;\n currVal_7;\n const currVal_8:any = _decl0_13.contentAfter;\n currVal_8;\n const pd_9:any = ((<any>_decl0_13.showTabList()) !== false);\n}\n"]}
1
+ {"version":3,"file":"tabs.module.ngfactory.js","sourceRoot":"","sources":["../src/tabs/tabs.module.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\nimport * as i1 from './tabs.module';\nimport * as i2 from '@angular/common';\nimport * as i3 from './tabs.component';\nimport * as i4 from './tab.component';\nimport * as i5 from './tab-headers.component';\nexport const TabsModuleNgFactory:i0.NgModuleFactory<i1.TabsModule> = (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.Tabs = (<any>(null as any));\nvar _decl0_12:i4.Tab = (<any>(null as any));\nvar _decl0_13:i5.TabHeaders = (<any>(null as any));\nvar _decl0_14:i2.AsyncPipe = (<any>(null as any));\nvar _decl0_15:i2.UpperCasePipe = (<any>(null as any));\nvar _decl0_16:i2.LowerCasePipe = (<any>(null as any));\nvar _decl0_17:i2.JsonPipe = (<any>(null as any));\nvar _decl0_18:i2.SlicePipe = (<any>(null as any));\nvar _decl0_19:i2.DecimalPipe = (<any>(null as any));\nvar _decl0_20:i2.PercentPipe = (<any>(null as any));\nvar _decl0_21:i2.TitleCasePipe = (<any>(null as any));\nvar _decl0_22:i2.CurrencyPipe = (<any>(null as any));\nvar _decl0_23:i2.DatePipe = (<any>(null as any));\nvar _decl0_24:i2.I18nPluralPipe = (<any>(null as any));\nvar _decl0_25:i2.I18nSelectPipe = (<any>(null as any));\nvar _decl0_26:i2.KeyValuePipe = (<any>(null as any));\nvar _decl0_27:i2.CommonModule = (<any>(null as any));\nvar _decl0_28:i0.TemplateRef<any> = (<any>(null as any));\nvar _decl0_29:i0.ElementRef<any> = (<any>(null as any));\nfunction _View_Tabs_Host_1_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Tabs_1_0():void {\n var _any:any = (null as any);\n const currVal_0:any = (_decl0_11.hasTabHeaders() && (_decl0_11.position === 'top'));\n currVal_0;\n const currVal_1:any = (_decl0_11.hasTabHeaders() && (_decl0_11.position === 'bottom'));\n currVal_1;\n}\nfunction _View_Tab_Host_2_0():void {\n var _any:any = (null as any);\n}\nfunction _View_Tab_2_0():void {\n var _any:any = (null as any);\n const currVal_0:any = _decl0_12.shouldRender();\n currVal_0;\n}\nfunction _View_TabHeaders_Host_3_0():void {\n var _any:any = (null as any);\n}\nfunction _View_TabHeaders_3_0():void {\n var _any:any = (null as any);\n const currVal_0:any = 'bx--tabs';\n currVal_0;\n const currVal_1:any = (<any>{'bx--skeleton':_decl0_13.skeleton});\n currVal_1;\n const currVal_2:any = _decl0_13.ariaLabel;\n currVal_2;\n const currVal_3:any = _decl0_13.ariaLabelledby;\n currVal_3;\n const currVal_4:any = !_decl0_13.getSelectedTab().headingIsTemplate;\n currVal_4;\n const currVal_5:any = _decl0_13.getSelectedTab().headingIsTemplate;\n currVal_5;\n const currVal_6:any = 'bx--tabs__nav';\n currVal_6;\n const currVal_7:any = (<any>{'bx--tabs__nav--hidden':!_decl0_13.tabListVisible});\n currVal_7;\n const currVal_8:any = _decl0_13.contentBefore;\n currVal_8;\n const currVal_9:any = _decl0_13.tabs;\n currVal_9;\n const currVal_10:any = _decl0_13.contentAfter;\n currVal_10;\n const pd_11:any = ((<any>_decl0_13.showTabList()) !== false);\n}\n"]}
@@ -21,28 +21,21 @@
21
21
  import { EventEmitter } from "@angular/core";
22
22
  import { I18n } from "../../i18n/i18n.module";
23
23
  /**
24
- * A slide-out hamburger menu
25
- *
26
- * TODO: This is a stub component, and needs to be implemented.
24
+ * A toggle for the side navigation
27
25
  */
28
26
  export declare class Hamburger {
29
27
  i18n: I18n;
30
28
  /**
31
29
  * Controls the active/selected state for the `Hamburger` menu.
32
- * @type {boolean}
33
- * @memberof Hamburger
34
30
  */
35
31
  active: boolean;
36
32
  /**
37
33
  * `EventEmitter` to notify parent components of menu click events.
38
- * @type {EventEmitter<Object>}
39
- * @memberof Hamburger
40
34
  */
41
35
  selected: EventEmitter<Object>;
42
36
  constructor(i18n: I18n);
43
37
  /**
44
38
  * Emit the Hamburger click event upwards.
45
- * @memberof Hamburger
46
39
  */
47
40
  doClick(): void;
48
41
  }
@@ -21,29 +21,22 @@
21
21
  import { Component, Output, EventEmitter, Input } from "@angular/core";
22
22
  import { I18n } from "../../i18n/i18n.module";
23
23
  /**
24
- * A slide-out hamburger menu
25
- *
26
- * TODO: This is a stub component, and needs to be implemented.
24
+ * A toggle for the side navigation
27
25
  */
28
26
  var Hamburger = /** @class */ (function () {
29
27
  function Hamburger(i18n) {
30
28
  this.i18n = i18n;
31
29
  /**
32
30
  * Controls the active/selected state for the `Hamburger` menu.
33
- * @type {boolean}
34
- * @memberof Hamburger
35
31
  */
36
32
  this.active = false;
37
33
  /**
38
34
  * `EventEmitter` to notify parent components of menu click events.
39
- * @type {EventEmitter<Object>}
40
- * @memberof Hamburger
41
35
  */
42
36
  this.selected = new EventEmitter();
43
37
  }
44
38
  /**
45
39
  * Emit the Hamburger click event upwards.
46
- * @memberof Hamburger
47
40
  */
48
41
  Hamburger.prototype.doClick = function () {
49
42
  this.selected.emit(this.active);
@@ -51,7 +44,7 @@ var Hamburger = /** @class */ (function () {
51
44
  Hamburger.decorators = [
52
45
  { type: Component, args: [{
53
46
  selector: "ibm-hamburger",
54
- template: "\n\t\t<button\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t"
47
+ template: "\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action bx--header__menu-toggle\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t"
55
48
  },] },
56
49
  ];
57
50
  /** @nocollapse */
@@ -1 +1 @@
1
- {"version":3,"file":"hamburger.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/hamburger.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EACjB,MAAM,EACN,YAAY,EACZ,KAAK,EACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C;;;;GAIG;AACH;IAmCC,mBAAmB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QAd7B;;;;WAIG;QACM,WAAM,GAAG,KAAK,CAAC;QAExB;;;;WAIG;QACO,aAAQ,GAAyB,IAAI,YAAY,EAAU,CAAC;IAErC,CAAC;IAElC;;;OAGG;IACI,2BAAO,GAAd;QACC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;;gBA3CD,SAAS,SAAC;oBACV,QAAQ,EAAE,eAAe;oBACzB,QAAQ,EAAE,0yBAgBT;iBACD;;;;gBA1BQ,IAAI;;;yBAiCX,KAAK;2BAOL,MAAM;;IAYR,gBAAC;CAAA,AA7CD,IA6CC;SAzBY,SAAS","sourcesContent":["import { Component,\n\tOutput,\n\tEventEmitter,\n\tInput\n} from \"@angular/core\";\nimport { I18n } from \"../../i18n/i18n.module\";\n\n/**\n * A slide-out hamburger menu\n *\n * TODO: This is a stub component, and needs to be implemented.\n */\n@Component({\n\tselector: \"ibm-hamburger\",\n\ttemplate: `\n\t\t<button\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t`\n})\nexport class Hamburger {\n\t/**\n\t * Controls the active/selected state for the `Hamburger` menu.\n\t * @type {boolean}\n\t * @memberof Hamburger\n\t */\n\t@Input() active = false;\n\n\t/**\n\t * `EventEmitter` to notify parent components of menu click events.\n\t * @type {EventEmitter<Object>}\n\t * @memberof Hamburger\n\t */\n\t@Output() selected: EventEmitter<Object> = new EventEmitter<Object>();\n\n\tconstructor(public i18n: I18n) { }\n\n\t/**\n\t * Emit the Hamburger click event upwards.\n\t * @memberof Hamburger\n\t */\n\tpublic doClick() {\n\t\tthis.selected.emit(this.active);\n\t}\n\n}\n"]}
1
+ {"version":3,"file":"hamburger.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/hamburger.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,MAAM,EACN,YAAY,EACZ,KAAK,EACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C;;GAEG;AACH;IAgCC,mBAAmB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;QAV7B;;WAEG;QACM,WAAM,GAAG,KAAK,CAAC;QAExB;;WAEG;QACO,aAAQ,GAAyB,IAAI,YAAY,EAAU,CAAC;IAErC,CAAC;IAElC;;OAEG;IACI,2BAAO,GAAd;QACC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;;gBAvCD,SAAS,SAAC;oBACV,QAAQ,EAAE,eAAe;oBACzB,QAAQ,EAAE,y1BAiBT;iBACD;;;;gBAzBQ,IAAI;;;yBA8BX,KAAK;2BAKL,MAAM;;IAUR,gBAAC;CAAA,AAxCD,IAwCC;SAnBY,SAAS","sourcesContent":["import {\n\tComponent,\n\tOutput,\n\tEventEmitter,\n\tInput\n} from \"@angular/core\";\nimport { I18n } from \"../../i18n/i18n.module\";\n\n/**\n * A toggle for the side navigation\n */\n@Component({\n\tselector: \"ibm-hamburger\",\n\ttemplate: `\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action bx--header__menu-toggle\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t`\n})\nexport class Hamburger {\n\t/**\n\t * Controls the active/selected state for the `Hamburger` menu.\n\t */\n\t@Input() active = false;\n\n\t/**\n\t * `EventEmitter` to notify parent components of menu click events.\n\t */\n\t@Output() selected: EventEmitter<Object> = new EventEmitter<Object>();\n\n\tconstructor(public i18n: I18n) { }\n\n\t/**\n\t * Emit the Hamburger click event upwards.\n\t */\n\tpublic doClick() {\n\t\tthis.selected.emit(this.active);\n\t}\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"Hamburger":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"ibm-hamburger","template":"\n\t\t<button\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t"}]}],"members":{"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":2}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":45,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../i18n/i18n.module","name":"I18n","line":47,"character":26}]}],"doClick":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"Hamburger":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"ibm-hamburger","template":"\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action bx--header__menu-toggle\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t"}]}],"members":{"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":2}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../i18n/i18n.module","name":"I18n","line":43,"character":26}]}],"doClick":[{"__symbolic":"method"}]}}}}]
@@ -33,10 +33,10 @@ var RenderType_Hamburger = i0.ɵcrt({ encapsulation: 2, styles: styles_Hamburger
33
33
  export { RenderType_Hamburger as RenderType_Hamburger };
34
34
  function View_Hamburger_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, ":svg:svg", [["aria-hidden", "true"], ["height", "20"], ["viewBox", "0 0 32 32"], ["width", "20"], ["xmlns", "http://www.w3.org/2000/svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, ":svg:path", [["d", "M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z"]], null, null, null, null, null))], null, null); }
35
35
  function View_Hamburger_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, ":svg:svg", [["aria-hidden", "true"], ["height", "20"], ["viewBox", "0 0 32 32"], ["width", "20"], ["xmlns", "http://www.w3.org/2000/svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, ":svg:path", [["d", "M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z"]], null, null, null, null, null))], null, null); }
36
- export function View_Hamburger_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, "button", [["class", "bx--header__menu-trigger bx--header__action"]], [[1, "aria-label", 0], [1, "title", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
36
+ export function View_Hamburger_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, "button", [["class", "bx--header__menu-trigger bx--header__action bx--header__menu-toggle"], ["type", "button"]], [[1, "aria-label", 0], [1, "title", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
37
37
  var pd_0 = (_co.doClick() !== false);
38
38
  ad = (pd_0 && ad);
39
- } return ad; }, 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--header__action--active": 0 }), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef]), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Hamburger_1)), i0.ɵdid(6, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Hamburger_2)), i0.ɵdid(8, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = "bx--header__menu-trigger bx--header__action"; var currVal_3 = _ck(_v, 2, 0, _co.active); _ck(_v, 1, 0, currVal_2, currVal_3); var currVal_4 = !_co.active; _ck(_v, 6, 0, currVal_4); var currVal_5 = _co.active; _ck(_v, 8, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 3).transform(_co.i18n.get("UI_SHELL.HEADER.MENU"))); var currVal_1 = i0.ɵunv(_v, 0, 1, i0.ɵnov(_v, 4).transform(_co.i18n.get("UI_SHELL.HEADER.MENU"))); _ck(_v, 0, 0, currVal_0, currVal_1); }); }
39
+ } return ad; }, 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--header__action--active": 0 }), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef]), i0.ɵpid(131072, i1.AsyncPipe, [i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Hamburger_1)), i0.ɵdid(6, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_Hamburger_2)), i0.ɵdid(8, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = "bx--header__menu-trigger bx--header__action bx--header__menu-toggle"; var currVal_3 = _ck(_v, 2, 0, _co.active); _ck(_v, 1, 0, currVal_2, currVal_3); var currVal_4 = !_co.active; _ck(_v, 6, 0, currVal_4); var currVal_5 = _co.active; _ck(_v, 8, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 3).transform(_co.i18n.get("UI_SHELL.HEADER.MENU"))); var currVal_1 = i0.ɵunv(_v, 0, 1, i0.ɵnov(_v, 4).transform(_co.i18n.get("UI_SHELL.HEADER.MENU"))); _ck(_v, 0, 0, currVal_0, currVal_1); }); }
40
40
  export function View_Hamburger_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-hamburger", [], null, null, null, View_Hamburger_0, RenderType_Hamburger)), i0.ɵdid(1, 49152, null, 0, i2.Hamburger, [i3.I18n], null, null)], null, null); }
41
41
  var HamburgerNgFactory = i0.ɵccf("ibm-hamburger", i2.Hamburger, View_Hamburger_Host_0, { active: "active" }, { selected: "selected" }, []);
42
42
  export { HamburgerNgFactory as HamburgerNgFactory };
@@ -1 +1 @@
1
- {"version":3,"file":"hamburger.component.ngfactory.js","sourceRoot":"","sources":["../../src/ui-shell/header/hamburger.component.ngfactory.ts","../../src/ui-shell/header/hamburger.component.ts.Hamburger.html"],"names":[],"mappings":";;;;;;;;;;;;;oDCQG,8MAAsH,KACrH,gIAAkD;oDAGnD,8MAAqH,KACpH,2LAA6G;2DAZ/G,8NAKyD,YAJxD;;wBAAmB;MADpB,iMAKyD,GAHxD,4CAAkD,KAElD,mDAA4D,IAC5D,mDAAuD,KAEvD,yKAAsH,IAItH,yKAAqH,iDARrH,6DAAmD,EADnD,iCAAkD,UAFnD,YAKyD,EAFxD,SAAmD,EADnD,SAAkD,GAK7C,oBAAe,SAApB,YAAsH,EAAjH,SAAe,GAIf,mBAAc,SAAnB,YAAqH,EAAhH,SAAc,mDAPnB,8FAA4D,KAC5D,8FAAuD,KALxD,YAKyD,EADxD,SAA4D,EAC5D,SAAuD","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t<button\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t"]}
1
+ {"version":3,"file":"hamburger.component.ngfactory.js","sourceRoot":"","sources":["../../src/ui-shell/header/hamburger.component.ngfactory.ts","../../src/ui-shell/header/hamburger.component.ts.Hamburger.html"],"names":[],"mappings":";;;;;;;;;;;;;oDCSG,8MAAsH,KACrH,gIAAkD;oDAGnD,8MAAqH,KACpH,2LAA6G;2DAb/G,0QAMyD,YAJxD;;wBAAmB;MAFpB,iMAMyD,GAHxD,4CAAkD,KAElD,mDAA4D,IAC5D,mDAAuD,KAEvD,yKAAsH,IAItH,yKAAqH,iDARrH,qFAA2E,EAD3E,iCAAkD,UAHnD,YAMyD,EAFxD,SAA2E,EAD3E,SAAkD,GAK7C,oBAAe,SAApB,YAAsH,EAAjH,SAAe,GAIf,mBAAc,SAAnB,YAAqH,EAAhH,SAAc,mDAPnB,8FAA4D,KAC5D,8FAAuD,KANxD,YAMyD,EADxD,SAA4D,EAC5D,SAAuD","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n","\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\t(click)=\"doClick()\"\n\t\t\t[ngClass]=\"{'bx--header__action--active': active}\"\n\t\t\tclass=\"bx--header__menu-trigger bx--header__action bx--header__menu-toggle\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\"\n\t\t\t[attr.title]=\"i18n.get('UI_SHELL.HEADER.MENU') | async\">\n\n\t\t\t<svg *ngIf=\"!active\" aria-hidden=\"true\" width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M4 6h24v2H4zm0 18h24v2H4zm0-9h24v2H4z\" />\n\t\t\t</svg>\n\n\t\t\t<svg *ngIf=\"active\" aria-hidden=\"true\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n\t\t\t\t<path d=\"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z\" />\n\t\t\t</svg>\n\t\t</button>\n\t"]}
@@ -19,9 +19,25 @@
19
19
 
20
20
 
21
21
  import { EventEmitter } from "@angular/core";
22
+ /**
23
+ * Contained by `HeaderGlobal`. Generally used to trigger `Panel`s
24
+ */
22
25
  export declare class HeaderAction {
26
+ /**
27
+ * Title. Populates the aria-label as well as the browser `title` tooltip
28
+ */
23
29
  title: string;
30
+ /**
31
+ * Toggles the active state. May be used to toggle a `Panel`s active state.
32
+ */
24
33
  active: boolean;
34
+ /**
35
+ * "Change" emitter to allow double binding to the `active` Input.
36
+ */
37
+ activeChange: EventEmitter<boolean>;
38
+ /**
39
+ * Emits when the action has been clicked.
40
+ */
25
41
  selected: EventEmitter<boolean>;
26
42
  onClick(): void;
27
43
  }
@@ -19,15 +19,32 @@
19
19
 
20
20
 
21
21
  import { Component, Input, Output, EventEmitter } from "@angular/core";
22
+ /**
23
+ * Contained by `HeaderGlobal`. Generally used to trigger `Panel`s
24
+ */
22
25
  var HeaderAction = /** @class */ (function () {
23
26
  function HeaderAction() {
27
+ /**
28
+ * Title. Populates the aria-label as well as the browser `title` tooltip
29
+ */
24
30
  this.title = "";
31
+ /**
32
+ * Toggles the active state. May be used to toggle a `Panel`s active state.
33
+ */
25
34
  this.active = false;
35
+ /**
36
+ * "Change" emitter to allow double binding to the `active` Input.
37
+ */
38
+ this.activeChange = new EventEmitter();
39
+ /**
40
+ * Emits when the action has been clicked.
41
+ */
26
42
  this.selected = new EventEmitter();
27
43
  }
28
44
  HeaderAction.prototype.onClick = function () {
29
45
  this.active = !this.active;
30
46
  this.selected.emit(this.active);
47
+ this.activeChange.emit(this.active);
31
48
  };
32
49
  HeaderAction.decorators = [
33
50
  { type: Component, args: [{
@@ -38,6 +55,7 @@ var HeaderAction = /** @class */ (function () {
38
55
  HeaderAction.propDecorators = {
39
56
  title: [{ type: Input }],
40
57
  active: [{ type: Input }],
58
+ activeChange: [{ type: Input }],
41
59
  selected: [{ type: Output }]
42
60
  };
43
61
  return HeaderAction;
@@ -1 +1 @@
1
- {"version":3,"file":"header-action.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/header-action.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,MAAM,eAAe,CAAC;AAEvB;IAAA;QAiBU,UAAK,GAAG,EAAE,CAAC;QACX,WAAM,GAAG,KAAK,CAAC;QACd,aAAQ,GAAG,IAAI,YAAY,EAAW,CAAC;IAMlD,CAAC;IAJA,8BAAO,GAAP;QACC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;;gBAxBD,SAAS,SAAC;oBACV,QAAQ,EAAE,mBAAmB;oBAC7B,QAAQ,EAAE,mWAYT;iBACD;;;wBAEC,KAAK;yBACL,KAAK;2BACL,MAAM;;IAMR,mBAAC;CAAA,AAzBD,IAyBC;SATY,YAAY","sourcesContent":["import {\n\tComponent,\n\tInput,\n\tOutput,\n\tEventEmitter\n} from \"@angular/core\";\n\n@Component({\n\tselector: \"ibm-header-action\",\n\ttemplate: `\n\t\t<button\n\t\t\tclass=\"bx--header__action\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--header__action--active': active\n\t\t\t}\"\n\t\t\t[attr.aria-label]=\"title\"\n\t\t\t[title]=\"title\"\n\t\t\t(click)=\"onClick()\">\n\t\t\t<ng-content></ng-content>\n\t\t\t<svg ibmIconClose20 class=\"bx--navigation-menu-panel-collapse-icon\"></svg>\n\t\t</button>\n\t`\n})\nexport class HeaderAction {\n\t@Input() title = \"\";\n\t@Input() active = false;\n\t@Output() selected = new EventEmitter<boolean>();\n\n\tonClick() {\n\t\tthis.active = !this.active;\n\t\tthis.selected.emit(this.active);\n\t}\n}\n"]}
1
+ {"version":3,"file":"header-action.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/header-action.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH;IAAA;QAiBC;;WAEG;QACM,UAAK,GAAG,EAAE,CAAC;QACpB;;WAEG;QACM,WAAM,GAAG,KAAK,CAAC;QACxB;;WAEG;QACM,iBAAY,GAAG,IAAI,YAAY,EAAW,CAAC;QACpD;;WAEG;QACO,aAAQ,GAAG,IAAI,YAAY,EAAW,CAAC;IAOlD,CAAC;IALA,8BAAO,GAAP;QACC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;;gBAtCD,SAAS,SAAC;oBACV,QAAQ,EAAE,mBAAmB;oBAC7B,QAAQ,EAAE,mWAYT;iBACD;;;wBAKC,KAAK;yBAIL,KAAK;+BAIL,KAAK;2BAIL,MAAM;;IAOR,mBAAC;CAAA,AAvCD,IAuCC;SAvBY,YAAY","sourcesContent":["import {\n\tComponent,\n\tInput,\n\tOutput,\n\tEventEmitter\n} from \"@angular/core\";\n\n/**\n * Contained by `HeaderGlobal`. Generally used to trigger `Panel`s\n */\n@Component({\n\tselector: \"ibm-header-action\",\n\ttemplate: `\n\t\t<button\n\t\t\tclass=\"bx--header__action\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--header__action--active': active\n\t\t\t}\"\n\t\t\t[attr.aria-label]=\"title\"\n\t\t\t[title]=\"title\"\n\t\t\t(click)=\"onClick()\">\n\t\t\t<ng-content></ng-content>\n\t\t\t<svg ibmIconClose20 class=\"bx--navigation-menu-panel-collapse-icon\"></svg>\n\t\t</button>\n\t`\n})\nexport class HeaderAction {\n\t/**\n\t * Title. Populates the aria-label as well as the browser `title` tooltip\n\t */\n\t@Input() title = \"\";\n\t/**\n\t * Toggles the active state. May be used to toggle a `Panel`s active state.\n\t */\n\t@Input() active = false;\n\t/**\n\t * \"Change\" emitter to allow double binding to the `active` Input.\n\t */\n\t@Input() activeChange = new EventEmitter<boolean>();\n\t/**\n\t * Emits when the action has been clicked.\n\t */\n\t@Output() selected = new EventEmitter<boolean>();\n\n\tonClick() {\n\t\tthis.active = !this.active;\n\t\tthis.selected.emit(this.active);\n\t\tthis.activeChange.emit(this.active);\n\t}\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"HeaderAction":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"ibm-header-action","template":"\n\t\t<button\n\t\t\tclass=\"bx--header__action\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--header__action--active': active\n\t\t\t}\"\n\t\t\t[attr.aria-label]=\"title\"\n\t\t\t[title]=\"title\"\n\t\t\t(click)=\"onClick()\">\n\t\t\t<ng-content></ng-content>\n\t\t\t<svg ibmIconClose20 class=\"bx--navigation-menu-panel-collapse-icon\"></svg>\n\t\t</button>\n\t"}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":2}}]}],"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":2}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":2}}]}],"onClick":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"HeaderAction":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"ibm-header-action","template":"\n\t\t<button\n\t\t\tclass=\"bx--header__action\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--header__action--active': active\n\t\t\t}\"\n\t\t\t[attr.aria-label]=\"title\"\n\t\t\t[title]=\"title\"\n\t\t\t(click)=\"onClick()\">\n\t\t\t<ng-content></ng-content>\n\t\t\t<svg ibmIconClose20 class=\"bx--navigation-menu-panel-collapse-icon\"></svg>\n\t\t</button>\n\t"}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":2}}]}],"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":2}}]}],"activeChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":2}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":2}}]}],"onClick":[{"__symbolic":"method"}]}}}}]
@@ -36,6 +36,6 @@ export function View_HeaderAction_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(
36
36
  ad = (pd_0 && ad);
37
37
  } return ad; }, 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--header__action--active": 0 }), i0.ɵncd(null, 0), (_l()(), i0.ɵeld(4, 0, null, null, 1, ":svg:svg", [["class", "bx--navigation-menu-panel-collapse-icon"], ["ibmIconClose20", ""]], null, null, null, null, null)), i0.ɵdid(5, 4210688, null, 0, i2.Close20Directive, [i0.ElementRef], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = "bx--header__action"; var currVal_3 = _ck(_v, 2, 0, _co.active); _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.title; var currVal_1 = _co.title; _ck(_v, 0, 0, currVal_0, currVal_1); }); }
38
38
  export function View_HeaderAction_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-header-action", [], null, null, null, View_HeaderAction_0, RenderType_HeaderAction)), i0.ɵdid(1, 49152, null, 0, i3.HeaderAction, [], null, null)], null, null); }
39
- var HeaderActionNgFactory = i0.ɵccf("ibm-header-action", i3.HeaderAction, View_HeaderAction_Host_0, { title: "title", active: "active" }, { selected: "selected" }, ["*"]);
39
+ var HeaderActionNgFactory = i0.ɵccf("ibm-header-action", i3.HeaderAction, View_HeaderAction_Host_0, { title: "title", active: "active", activeChange: "activeChange" }, { selected: "selected" }, ["*"]);
40
40
  export { HeaderActionNgFactory as HeaderActionNgFactory };
41
41
  //# sourceMappingURL=header-action.component.ngfactory.js.map
@@ -1 +1 @@
1
- {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"onClick":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"ibm-header-action","exportAs":null,"inputs":{"title":"title","active":"active"},"outputs":{"selected":"selected"},"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":"HeaderAction","filePath":"./header-action.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"View_HeaderAction_0","filePath":"./header-action.component.ngfactory"},{"__symbol":4,"name":"RenderType_HeaderAction","filePath":"./header-action.component.ngfactory"},{"__symbol":5,"name":"HeaderActionNgFactory","filePath":"./header-action.component.ngfactory"}]}
1
+ {"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"active":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"activeChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"onClick":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]},"isComponent":true,"selector":"ibm-header-action","exportAs":null,"inputs":{"title":"title","active":"active","activeChange":"activeChange"},"outputs":{"selected":"selected"},"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":"HeaderAction","filePath":"./header-action.component"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"View_HeaderAction_0","filePath":"./header-action.component.ngfactory"},{"__symbol":4,"name":"RenderType_HeaderAction","filePath":"./header-action.component.ngfactory"},{"__symbol":5,"name":"HeaderActionNgFactory","filePath":"./header-action.component.ngfactory"}]}
@@ -18,6 +18,9 @@
18
18
  */
19
19
 
20
20
 
21
+ /**
22
+ * Container for `HeaderAction`s.
23
+ */
21
24
  export declare class HeaderGlobal {
22
25
  hostClass: boolean;
23
26
  }
@@ -19,6 +19,9 @@
19
19
 
20
20
 
21
21
  import { Component, HostBinding } from "@angular/core";
22
+ /**
23
+ * Container for `HeaderAction`s.
24
+ */
22
25
  var HeaderGlobal = /** @class */ (function () {
23
26
  function HeaderGlobal() {
24
27
  this.hostClass = true;
@@ -1 +1 @@
1
- {"version":3,"file":"header-global.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/header-global.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEvD;IAAA;QAO0C,cAAS,GAAG,IAAI,CAAC;IAC3D,CAAC;;gBARA,SAAS,SAAC;oBACV,QAAQ,EAAE,mBAAmB;oBAC7B,QAAQ,EAAE,qCAET;iBACD;;;4BAEC,WAAW,SAAC,0BAA0B;;IACxC,mBAAC;CAAA,AARD,IAQC;SAFY,YAAY","sourcesContent":["import { Component, HostBinding } from \"@angular/core\";\n\n@Component({\n\tselector: \"ibm-header-global\",\n\ttemplate: `\n\t\t<ng-content></ng-content>\n\t`\n})\nexport class HeaderGlobal {\n\t@HostBinding(\"class.bx--header__global\") hostClass = true;\n}\n"]}
1
+ {"version":3,"file":"header-global.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/header-global.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEvD;;GAEG;AACH;IAAA;QAO0C,cAAS,GAAG,IAAI,CAAC;IAC3D,CAAC;;gBARA,SAAS,SAAC;oBACV,QAAQ,EAAE,mBAAmB;oBAC7B,QAAQ,EAAE,qCAET;iBACD;;;4BAEC,WAAW,SAAC,0BAA0B;;IACxC,mBAAC;CAAA,AARD,IAQC;SAFY,YAAY","sourcesContent":["import { Component, HostBinding } from \"@angular/core\";\n\n/**\n * Container for `HeaderAction`s.\n */\n@Component({\n\tselector: \"ibm-header-global\",\n\ttemplate: `\n\t\t<ng-content></ng-content>\n\t`\n})\nexport class HeaderGlobal {\n\t@HostBinding(\"class.bx--header__global\") hostClass = true;\n}\n"]}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"HeaderGlobal":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ibm-header-global","template":"\n\t\t<ng-content></ng-content>\n\t"}]}],"members":{"hostClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":9,"character":2},"arguments":["class.bx--header__global"]}]}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"HeaderGlobal":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"ibm-header-global","template":"\n\t\t<ng-content></ng-content>\n\t"}]}],"members":{"hostClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":12,"character":2},"arguments":["class.bx--header__global"]}]}]}}}}]
@@ -18,6 +18,13 @@
18
18
  */
19
19
 
20
20
 
21
+ import { DomSanitizer } from "@angular/platform-browser";
22
+ /**
23
+ * Individual item in the header. May be used a direct child of `HeaderNavigation` or `HeaderMenu`
24
+ */
21
25
  export declare class HeaderItem {
26
+ protected domSanitizer: DomSanitizer;
22
27
  href: string;
28
+ protected _href: string;
29
+ constructor(domSanitizer: DomSanitizer);
23
30
  }
@@ -19,16 +19,35 @@
19
19
 
20
20
 
21
21
  import { Component, Input } from "@angular/core";
22
+ import { DomSanitizer } from "@angular/platform-browser";
23
+ /**
24
+ * Individual item in the header. May be used a direct child of `HeaderNavigation` or `HeaderMenu`
25
+ */
22
26
  var HeaderItem = /** @class */ (function () {
23
- function HeaderItem() {
24
- this.href = "javascript:void(0)";
27
+ function HeaderItem(domSanitizer) {
28
+ this.domSanitizer = domSanitizer;
29
+ this._href = "javascript:void(0)";
25
30
  }
31
+ Object.defineProperty(HeaderItem.prototype, "href", {
32
+ get: function () {
33
+ return this.domSanitizer.bypassSecurityTrustUrl(this._href);
34
+ },
35
+ set: function (v) {
36
+ this._href = v;
37
+ },
38
+ enumerable: true,
39
+ configurable: true
40
+ });
26
41
  HeaderItem.decorators = [
27
42
  { type: Component, args: [{
28
43
  selector: "ibm-header-item",
29
44
  template: "\n\t\t<li style=\"height: 100%\">\n\t\t\t<a class=\"bx--header__menu-item\" [href]=\"href\" role=\"menuitem\" tabindex=\"0\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</a>\n\t\t</li>\n\t"
30
45
  },] },
31
46
  ];
47
+ /** @nocollapse */
48
+ HeaderItem.ctorParameters = function () { return [
49
+ { type: DomSanitizer }
50
+ ]; };
32
51
  HeaderItem.propDecorators = {
33
52
  href: [{ type: Input }]
34
53
  };
@@ -1 +1 @@
1
- {"version":3,"file":"header-item.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/header-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD;IAAA;QAWU,SAAI,GAAG,oBAAoB,CAAC;IACtC,CAAC;;gBAZA,SAAS,SAAC;oBACV,QAAQ,EAAE,iBAAiB;oBAC3B,QAAQ,EAAE,6LAMT;iBACD;;;uBAEC,KAAK;;IACP,iBAAC;CAAA,AAZD,IAYC;SAFY,UAAU","sourcesContent":["import { Component, Input } from \"@angular/core\";\n\n@Component({\n\tselector: \"ibm-header-item\",\n\ttemplate: `\n\t\t<li style=\"height: 100%\">\n\t\t\t<a class=\"bx--header__menu-item\" [href]=\"href\" role=\"menuitem\" tabindex=\"0\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</a>\n\t\t</li>\n\t`\n})\nexport class HeaderItem {\n\t@Input() href = \"javascript:void(0)\";\n}\n"]}
1
+ {"version":3,"file":"header-item.component.js","sourceRoot":"","sources":["../../src/ui-shell/header/header-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;IAqBC,oBAAsB,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;QAFtC,UAAK,GAAG,oBAAoB,CAAC;IAEa,CAAC;IAVrD,sBAAa,4BAAI;aAIjB;YACC,OAAO,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAW,CAAC;QACvE,CAAC;aAND,UAAkB,CAAS;YAC1B,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QAChB,CAAC;;;OAAA;;gBAbD,SAAS,SAAC;oBACV,QAAQ,EAAE,iBAAiB;oBAC3B,QAAQ,EAAE,6LAMT;iBACD;;;;gBAdQ,YAAY;;;uBAgBnB,KAAK;;IAWP,iBAAC;CAAA,AAtBD,IAsBC;SAZY,UAAU","sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { DomSanitizer } from \"@angular/platform-browser\";\n\n/**\n * Individual item in the header. May be used a direct child of `HeaderNavigation` or `HeaderMenu`\n */\n@Component({\n\tselector: \"ibm-header-item\",\n\ttemplate: `\n\t\t<li style=\"height: 100%\">\n\t\t\t<a class=\"bx--header__menu-item\" [href]=\"href\" role=\"menuitem\" tabindex=\"0\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</a>\n\t\t</li>\n\t`\n})\nexport class HeaderItem {\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\tprotected _href = \"javascript:void(0)\";\n\n\tconstructor(protected domSanitizer: DomSanitizer) { }\n}\n"]}