carbon-components-angular 3.13.3 → 3.13.4
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.
- package/bundle/carbon-angular.umd.js +2 -2
- package/bundle/carbon-angular.umd.js.map +1 -1
- package/docs/documentation/components/Accordion.html +1 -1
- package/docs/documentation/components/AccordionItem.html +1 -1
- package/docs/documentation/components/AlertModal.html +1 -1
- package/docs/documentation/components/Breadcrumb.html +1 -1
- package/docs/documentation/components/BreadcrumbItemComponent.html +1 -1
- package/docs/documentation/components/Checkbox.html +1 -1
- package/docs/documentation/components/ClickableTile.html +1 -1
- package/docs/documentation/components/CodeSnippet.html +1 -1
- package/docs/documentation/components/ComboBox.html +1 -1
- package/docs/documentation/components/ContentSwitcher.html +1 -1
- package/docs/documentation/components/DatePicker.html +1 -1
- package/docs/documentation/components/DatePickerInput.html +1 -1
- package/docs/documentation/components/Dialog.html +1 -1
- package/docs/documentation/components/DialogPlaceholder.html +1 -1
- package/docs/documentation/components/Documentation.html +1 -1
- package/docs/documentation/components/Dropdown.html +1 -1
- package/docs/documentation/components/DropdownList.html +1 -1
- package/docs/documentation/components/ExpandableTile.html +1 -1
- package/docs/documentation/components/File.html +1 -1
- package/docs/documentation/components/FileUploader.html +1 -1
- package/docs/documentation/components/Hamburger.html +15 -21
- package/docs/documentation/components/Header.html +29 -77
- package/docs/documentation/components/HeaderAction.html +64 -5
- package/docs/documentation/components/HeaderGlobal.html +12 -2
- package/docs/documentation/components/HeaderItem.html +225 -6
- package/docs/documentation/components/HeaderMenu.html +379 -15
- package/docs/documentation/components/HeaderNavigation.html +12 -2
- package/docs/documentation/components/InlineLoading.html +1 -1
- package/docs/documentation/components/Label.html +1 -1
- package/docs/documentation/components/ListColumn.html +1 -1
- package/docs/documentation/components/ListHeader.html +1 -1
- package/docs/documentation/components/ListRow.html +1 -1
- package/docs/documentation/components/Loading.html +1 -1
- package/docs/documentation/components/Modal.html +1 -1
- package/docs/documentation/components/ModalFooter.html +1 -1
- package/docs/documentation/components/ModalHeader.html +1 -1
- package/docs/documentation/components/ModalPlaceholder.html +1 -1
- package/docs/documentation/components/Notification.html +1 -1
- package/docs/documentation/components/Number.html +1 -1
- package/docs/documentation/components/OverflowMenu.html +1 -1
- package/docs/documentation/components/OverflowMenuOption.html +1 -1
- package/docs/documentation/components/OverflowMenuPane.html +1 -1
- package/docs/documentation/components/Overlay.html +1 -1
- package/docs/documentation/components/Pagination.html +1 -1
- package/docs/documentation/components/Panel.html +12 -22
- package/docs/documentation/components/Placeholder.html +1 -1
- package/docs/documentation/components/ProductSwitcher.html +11 -3
- package/docs/documentation/components/ProgressIndicator.html +1 -1
- package/docs/documentation/components/Radio.html +1 -1
- package/docs/documentation/components/RadioGroup.html +1 -1
- package/docs/documentation/components/Sample.html +1 -1
- package/docs/documentation/components/SampleSub.html +1 -1
- package/docs/documentation/components/Search.html +1 -1
- package/docs/documentation/components/Select.html +1 -1
- package/docs/documentation/components/SelectionTile.html +1 -1
- package/docs/documentation/components/SideNav.html +105 -24
- package/docs/documentation/components/SideNavHeader.html +14 -6
- package/docs/documentation/components/SideNavItem.html +245 -6
- package/docs/documentation/components/SideNavMenu.html +35 -12
- package/docs/documentation/components/Slider.html +1 -1
- package/docs/documentation/components/StructuredList.html +1 -1
- package/docs/documentation/components/{ProductSwitcherList.html → SwitcherList.html} +39 -14
- package/docs/documentation/components/{ProductSwitcherListItem.html → SwitcherListItem.html} +92 -45
- package/docs/documentation/components/Tab.html +1 -1
- package/docs/documentation/components/TabHeaders.html +1 -1
- package/docs/documentation/components/Table.html +1 -1
- package/docs/documentation/components/TableContainer.html +1 -1
- package/docs/documentation/components/TableHeader.html +1 -1
- package/docs/documentation/components/TableToolbar.html +1 -1
- package/docs/documentation/components/TableToolbarActions.html +1 -1
- package/docs/documentation/components/TableToolbarContent.html +1 -1
- package/docs/documentation/components/TableToolbarSearch.html +1 -1
- package/docs/documentation/components/Tabs.html +1 -1
- package/docs/documentation/components/Tag.html +1 -1
- package/docs/documentation/components/TagFilter.html +1 -1
- package/docs/documentation/components/Tile.html +1 -1
- package/docs/documentation/components/TileGroup.html +1 -1
- package/docs/documentation/components/TimePicker.html +1 -1
- package/docs/documentation/components/TimePickerSelect.html +1 -1
- package/docs/documentation/components/Toast.html +1 -1
- package/docs/documentation/components/Toggle.html +1 -1
- package/docs/documentation/components/Tooltip.html +1 -1
- package/docs/documentation/components/TooltipDefinition.html +1 -1
- package/docs/documentation/components/TooltipIcon.html +1 -1
- package/docs/documentation/coverage.html +53 -69
- package/docs/documentation/graph/dependencies.dot +1 -1
- package/docs/documentation/images/coverage-badge-documentation.svg +1 -1
- package/docs/documentation/js/menu-wc.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/PanelModule/dependencies.svg +82 -106
- package/docs/documentation/modules/PanelModule.html +94 -128
- package/docs/documentation/overview.html +1 -1
- package/docs/storybook/iframe.html +3 -3
- package/docs/storybook/{main.3f838d69086764a1b2cd.bundle.js → main.b1eb580e9726667e78a3.bundle.js} +303 -193
- package/docs/storybook/main.b1eb580e9726667e78a3.bundle.js.map +1 -0
- package/docs/storybook/{runtime~main.3f838d69086764a1b2cd.bundle.js → runtime~main.b1eb580e9726667e78a3.bundle.js} +1 -1
- package/docs/storybook/{runtime~main.3f838d69086764a1b2cd.bundle.js.map → runtime~main.b1eb580e9726667e78a3.bundle.js.map} +1 -1
- package/docs/storybook/{vendors~main.3f838d69086764a1b2cd.bundle.js → vendors~main.b1eb580e9726667e78a3.bundle.js} +1 -1
- package/docs/storybook/{vendors~main.3f838d69086764a1b2cd.bundle.js.map → vendors~main.b1eb580e9726667e78a3.bundle.js.map} +1 -1
- package/index.ngsummary.json +1 -1
- package/package.json +2 -2
- package/ui-shell/header/hamburger.component.d.ts +1 -8
- package/ui-shell/header/hamburger.component.js +2 -9
- package/ui-shell/header/hamburger.component.js.map +1 -1
- package/ui-shell/header/hamburger.component.metadata.json +1 -1
- package/ui-shell/header/hamburger.component.ngfactory.js +2 -2
- package/ui-shell/header/hamburger.component.ngfactory.js.map +1 -1
- package/ui-shell/header/header-action.component.d.ts +16 -0
- package/ui-shell/header/header-action.component.js +18 -0
- package/ui-shell/header/header-action.component.js.map +1 -1
- package/ui-shell/header/header-action.component.metadata.json +1 -1
- package/ui-shell/header/header-action.component.ngfactory.js +1 -1
- package/ui-shell/header/header-action.component.ngsummary.json +1 -1
- package/ui-shell/header/header-global.component.d.ts +3 -0
- package/ui-shell/header/header-global.component.js +3 -0
- package/ui-shell/header/header-global.component.js.map +1 -1
- package/ui-shell/header/header-global.component.metadata.json +1 -1
- package/ui-shell/header/header-item.component.d.ts +7 -0
- package/ui-shell/header/header-item.component.js +21 -2
- package/ui-shell/header/header-item.component.js.map +1 -1
- package/ui-shell/header/header-item.component.metadata.json +1 -1
- package/ui-shell/header/header-item.component.ngfactory.js +2 -1
- package/ui-shell/header/header-item.component.ngfactory.js.map +1 -1
- package/ui-shell/header/header-item.component.ngsummary.json +1 -1
- package/ui-shell/header/header-menu.component.d.ts +14 -1
- package/ui-shell/header/header-menu.component.js +47 -6
- package/ui-shell/header/header-menu.component.js.map +1 -1
- package/ui-shell/header/header-menu.component.metadata.json +1 -1
- package/ui-shell/header/header-menu.component.ngfactory.js +14 -7
- package/ui-shell/header/header-menu.component.ngfactory.js.map +1 -1
- package/ui-shell/header/header-menu.component.ngsummary.json +1 -1
- package/ui-shell/header/header-navigation.component.d.ts +3 -0
- package/ui-shell/header/header-navigation.component.js +3 -0
- package/ui-shell/header/header-navigation.component.js.map +1 -1
- package/ui-shell/header/header-navigation.component.metadata.json +1 -1
- package/ui-shell/header/header.component.d.ts +12 -12
- package/ui-shell/header/header.component.js +8 -15
- package/ui-shell/header/header.component.js.map +1 -1
- package/ui-shell/header/header.component.metadata.json +1 -1
- package/ui-shell/header/header.component.ngfactory.js +1 -1
- package/ui-shell/header/header.component.ngsummary.json +1 -1
- package/ui-shell/header/header.module.ngfactory.js.map +1 -1
- package/ui-shell/panel/panel.component.d.ts +5 -12
- package/ui-shell/panel/panel.component.js +5 -12
- package/ui-shell/panel/panel.component.js.map +1 -1
- package/ui-shell/panel/panel.component.metadata.json +1 -1
- package/ui-shell/panel/panel.module.d.ts +3 -4
- package/ui-shell/panel/panel.module.js +7 -10
- package/ui-shell/panel/panel.module.js.map +1 -1
- package/ui-shell/panel/panel.module.metadata.json +1 -1
- package/ui-shell/panel/panel.module.ngfactory.js.map +1 -1
- package/ui-shell/panel/panel.module.ngsummary.json +1 -1
- package/ui-shell/panel/product-switcher.component.d.ts +3 -0
- package/ui-shell/panel/product-switcher.component.js +3 -0
- package/ui-shell/panel/product-switcher.component.js.map +1 -1
- package/ui-shell/panel/product-switcher.component.metadata.json +1 -1
- package/ui-shell/panel/{product-switcher-list-item.component.d.ts → switcher-list-item.component.d.ts} +16 -4
- package/ui-shell/panel/switcher-list-item.component.js +67 -0
- package/ui-shell/panel/switcher-list-item.component.js.map +1 -0
- package/ui-shell/panel/switcher-list-item.component.metadata.json +1 -0
- package/ui-shell/panel/{product-switcher-list.component.ngfactory.d.ts → switcher-list-item.component.ngfactory.d.ts} +1 -1
- package/ui-shell/panel/switcher-list-item.component.ngfactory.js +38 -0
- package/ui-shell/panel/switcher-list-item.component.ngfactory.js.map +1 -0
- package/ui-shell/panel/switcher-list-item.component.ngsummary.json +1 -0
- package/ui-shell/panel/{product-switcher-item.component.d.ts → switcher-list.component.d.ts} +15 -3
- package/ui-shell/panel/switcher-list.component.js +47 -0
- package/ui-shell/panel/switcher-list.component.js.map +1 -0
- package/ui-shell/panel/switcher-list.component.metadata.json +1 -0
- package/ui-shell/panel/{product-switcher-item.component.ngfactory.d.ts → switcher-list.component.ngfactory.d.ts} +1 -1
- package/ui-shell/panel/switcher-list.component.ngfactory.js +36 -0
- package/ui-shell/panel/switcher-list.component.ngfactory.js.map +1 -0
- package/ui-shell/panel/switcher-list.component.ngsummary.json +1 -0
- package/ui-shell/sidenav/sidenav-header.component.d.ts +3 -0
- package/ui-shell/sidenav/sidenav-header.component.js +3 -0
- package/ui-shell/sidenav/sidenav-header.component.js.map +1 -1
- package/ui-shell/sidenav/sidenav-header.component.metadata.json +1 -1
- package/ui-shell/sidenav/sidenav-item.component.d.ts +14 -0
- package/ui-shell/sidenav/sidenav-item.component.js +29 -2
- package/ui-shell/sidenav/sidenav-item.component.js.map +1 -1
- package/ui-shell/sidenav/sidenav-item.component.metadata.json +1 -1
- package/ui-shell/sidenav/sidenav-item.component.ngfactory.js +4 -3
- package/ui-shell/sidenav/sidenav-item.component.ngfactory.js.map +1 -1
- package/ui-shell/sidenav/sidenav-item.component.ngsummary.json +1 -1
- package/ui-shell/sidenav/sidenav-menu.component.d.ts +11 -2
- package/ui-shell/sidenav/sidenav-menu.component.js +9 -3
- package/ui-shell/sidenav/sidenav-menu.component.js.map +1 -1
- package/ui-shell/sidenav/sidenav-menu.component.metadata.json +1 -1
- package/ui-shell/sidenav/sidenav-menu.component.ngfactory.js +1 -1
- package/ui-shell/sidenav/sidenav-menu.component.ngfactory.js.map +1 -1
- package/ui-shell/sidenav/sidenav-menu.component.ngsummary.json +1 -1
- package/ui-shell/sidenav/sidenav.component.d.ts +10 -11
- package/ui-shell/sidenav/sidenav.component.js +16 -14
- package/ui-shell/sidenav/sidenav.component.js.map +1 -1
- package/ui-shell/sidenav/sidenav.component.metadata.json +1 -1
- package/ui-shell/sidenav/sidenav.component.ngfactory.js +7 -6
- package/ui-shell/sidenav/sidenav.component.ngfactory.js.map +1 -1
- package/ui-shell/sidenav/sidenav.component.ngsummary.json +1 -1
- package/ui-shell/sidenav/sidenav.module.ngfactory.js.map +1 -1
- package/ui-shell/ui-shell.module.ngfactory.js.map +1 -1
- package/ui-shell/ui-shell.module.ngsummary.json +1 -1
- package/docs/documentation/components/ProductSwitcherItem.html +0 -285
- package/docs/storybook/main.3f838d69086764a1b2cd.bundle.js.map +0 -1
- package/ui-shell/panel/product-switcher-item.component.js +0 -38
- package/ui-shell/panel/product-switcher-item.component.js.map +0 -1
- package/ui-shell/panel/product-switcher-item.component.metadata.json +0 -1
- package/ui-shell/panel/product-switcher-item.component.ngfactory.js +0 -36
- package/ui-shell/panel/product-switcher-item.component.ngfactory.js.map +0 -1
- package/ui-shell/panel/product-switcher-item.component.ngsummary.json +0 -1
- package/ui-shell/panel/product-switcher-list-item.component.js +0 -54
- package/ui-shell/panel/product-switcher-list-item.component.js.map +0 -1
- package/ui-shell/panel/product-switcher-list-item.component.metadata.json +0 -1
- package/ui-shell/panel/product-switcher-list-item.component.ngfactory.d.ts +0 -21
- package/ui-shell/panel/product-switcher-list-item.component.ngfactory.js +0 -37
- package/ui-shell/panel/product-switcher-list-item.component.ngfactory.js.map +0 -1
- package/ui-shell/panel/product-switcher-list-item.component.ngsummary.json +0 -1
- package/ui-shell/panel/product-switcher-list.component.d.ts +0 -22
- package/ui-shell/panel/product-switcher-list.component.js +0 -34
- package/ui-shell/panel/product-switcher-list.component.js.map +0 -1
- package/ui-shell/panel/product-switcher-list.component.metadata.json +0 -1
- package/ui-shell/panel/product-switcher-list.component.ngfactory.js +0 -36
- package/ui-shell/panel/product-switcher-list.component.ngfactory.js.map +0 -1
- package/ui-shell/panel/product-switcher-list.component.ngsummary.json +0 -1
package/docs/storybook/{main.3f838d69086764a1b2cd.bundle.js → main.b1eb580e9726667e78a3.bundle.js}
RENAMED
|
@@ -9574,7 +9574,7 @@ Object(_storybook_angular__WEBPACK_IMPORTED_MODULE_0__["storiesOf"])("Welcome",
|
|
|
9574
9574
|
/*!**********************!*\
|
|
9575
9575
|
!*** ./src/index.ts ***!
|
|
9576
9576
|
\**********************/
|
|
9577
|
-
/*! exports provided: Accordion, AccordionItem, AccordionModule, Breadcrumb, BreadcrumbItemComponent, BreadcrumbItem, BreadcrumbModule, Button, ButtonModule, Checkbox, CheckboxModule, CodeSnippet, CodeSnippetModule, ComboBox, ComboBoxModule, ContentSwitcher, ContentSwitcherOption, ContentSwitcherModule, DatePickerModule, DialogService, Dialog, DialogDirective, DialogPlaceholder, Tooltip, TooltipDefinition, TooltipIcon, TooltipDirective, EllipsisTooltip, OverflowMenu, OverflowMenuPane, OverflowMenuDirective, OverflowMenuOption, DialogModule, Documentation, DocumentationModule, Dropdown, DropdownList, ScrollableList, AbstractDropdownView, ListItem, DropdownService, DropdownModule, EXPERIMENTAL_SERVICE_PROVIDER_FACTORY, EXPERIMENTAL_SERVICE_PROVIDER, ExperimentalService, ExperimentalModule, FileUploader, FileUploaderModule, ToggleModule, RadioModule, InputModule, NFormsModule, GridModule, I18n, replace, ReplacePipe, I18N_SERVICE_PROVIDER_FACTORY, I18N_SERVICE_PROVIDER, I18nModule, InlineLoading, InlineLoadingModule, TextInput, Label, Link, LinkModule, ListModule, ListItemDirective, List, Loading, LoadingModule, Modal, ModalService, ModalModule, NotificationService, NotificationDisplayService, Notification, Toast, NotificationModule, NumberModule, Number, PaginationModel, Pagination, PaginationModule, Placeholder, PlaceholderService, PLACEHOLDER_SERVICE_PROVIDER_FACTORY, PLACEHOLDER_SERVICE_PROVIDER, PlaceholderModule, ProgressIndicator, ProgressIndicatorModule, Radio, RadioGroup, SearchModule, Search, Select, Option, OptGroup, SelectModule, SliderModule, Slider, StructuredListModule, StructuredList, ListRow, ListHeader, ListColumn, Table, TableModel, TableItem, TableHeaderItem, TableToolbar, TableContainer, TableHeader, TableHeaderTitle, TableHeaderDescription, TableToolbarActions, TableToolbarSearch, TableToolbarContent, DataGridFocus, ExpandedRowHover, TableModule, Tabs, Tab, TabHeaders, TabsModule, TagModule, Tile, ClickableTile, ExpandableTile, SelectionTile, TileGroup, TilesModule, TimePickerModule, TimePickerSelectModule, UIShellModule, AlertModalType, ModalButtonType, BaseModal, Tag, Header, HeaderItem, HeaderMenu, HeaderNavigation, HeaderGlobal, HeaderAction, Hamburger, HeaderModule, SideNav, SideNavHeader, SideNavItem, SideNavMenu, SideNavModule, Panel, ProductSwitcher,
|
|
9577
|
+
/*! exports provided: Accordion, AccordionItem, AccordionModule, Breadcrumb, BreadcrumbItemComponent, BreadcrumbItem, BreadcrumbModule, Button, ButtonModule, Checkbox, CheckboxModule, CodeSnippet, CodeSnippetModule, ComboBox, ComboBoxModule, ContentSwitcher, ContentSwitcherOption, ContentSwitcherModule, DatePickerModule, DialogService, Dialog, DialogDirective, DialogPlaceholder, Tooltip, TooltipDefinition, TooltipIcon, TooltipDirective, EllipsisTooltip, OverflowMenu, OverflowMenuPane, OverflowMenuDirective, OverflowMenuOption, DialogModule, Documentation, DocumentationModule, Dropdown, DropdownList, ScrollableList, AbstractDropdownView, ListItem, DropdownService, DropdownModule, EXPERIMENTAL_SERVICE_PROVIDER_FACTORY, EXPERIMENTAL_SERVICE_PROVIDER, ExperimentalService, ExperimentalModule, FileUploader, FileUploaderModule, ToggleModule, RadioModule, InputModule, NFormsModule, GridModule, I18n, replace, ReplacePipe, I18N_SERVICE_PROVIDER_FACTORY, I18N_SERVICE_PROVIDER, I18nModule, InlineLoading, InlineLoadingModule, TextInput, Label, Link, LinkModule, ListModule, ListItemDirective, List, Loading, LoadingModule, Modal, ModalService, ModalModule, NotificationService, NotificationDisplayService, Notification, Toast, NotificationModule, NumberModule, Number, PaginationModel, Pagination, PaginationModule, Placeholder, PlaceholderService, PLACEHOLDER_SERVICE_PROVIDER_FACTORY, PLACEHOLDER_SERVICE_PROVIDER, PlaceholderModule, ProgressIndicator, ProgressIndicatorModule, Radio, RadioGroup, SearchModule, Search, Select, Option, OptGroup, SelectModule, SliderModule, Slider, StructuredListModule, StructuredList, ListRow, ListHeader, ListColumn, Table, TableModel, TableItem, TableHeaderItem, TableToolbar, TableContainer, TableHeader, TableHeaderTitle, TableHeaderDescription, TableToolbarActions, TableToolbarSearch, TableToolbarContent, DataGridFocus, ExpandedRowHover, TableModule, Tabs, Tab, TabHeaders, TabsModule, TagModule, Tile, ClickableTile, ExpandableTile, SelectionTile, TileGroup, TilesModule, TimePickerModule, TimePickerSelectModule, UIShellModule, AlertModalType, ModalButtonType, BaseModal, Tag, Header, HeaderItem, HeaderMenu, HeaderNavigation, HeaderGlobal, HeaderAction, Hamburger, HeaderModule, SideNav, SideNavHeader, SideNavItem, SideNavMenu, SideNavModule, Panel, ProductSwitcher, SwitcherList, SwitcherListItem, PanelModule */
|
|
9578
9578
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9579
9579
|
|
|
9580
9580
|
"use strict";
|
|
@@ -9924,11 +9924,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9924
9924
|
|
|
9925
9925
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcher", function() { return _ui_shell_ui_shell_module__WEBPACK_IMPORTED_MODULE_38__["ProductSwitcher"]; });
|
|
9926
9926
|
|
|
9927
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
9927
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitcherList", function() { return _ui_shell_ui_shell_module__WEBPACK_IMPORTED_MODULE_38__["SwitcherList"]; });
|
|
9928
9928
|
|
|
9929
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
9930
|
-
|
|
9931
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcherItem", function() { return _ui_shell_ui_shell_module__WEBPACK_IMPORTED_MODULE_38__["ProductSwitcherItem"]; });
|
|
9929
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitcherListItem", function() { return _ui_shell_ui_shell_module__WEBPACK_IMPORTED_MODULE_38__["SwitcherListItem"]; });
|
|
9932
9930
|
|
|
9933
9931
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModule", function() { return _ui_shell_ui_shell_module__WEBPACK_IMPORTED_MODULE_38__["PanelModule"]; });
|
|
9934
9932
|
|
|
@@ -22794,29 +22792,22 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
22794
22792
|
|
|
22795
22793
|
|
|
22796
22794
|
/**
|
|
22797
|
-
* A
|
|
22798
|
-
*
|
|
22799
|
-
* TODO: This is a stub component, and needs to be implemented.
|
|
22795
|
+
* A toggle for the side navigation
|
|
22800
22796
|
*/
|
|
22801
22797
|
var Hamburger = /** @class */ (function () {
|
|
22802
22798
|
function Hamburger(i18n) {
|
|
22803
22799
|
this.i18n = i18n;
|
|
22804
22800
|
/**
|
|
22805
22801
|
* Controls the active/selected state for the `Hamburger` menu.
|
|
22806
|
-
* @type {boolean}
|
|
22807
|
-
* @memberof Hamburger
|
|
22808
22802
|
*/
|
|
22809
22803
|
this.active = false;
|
|
22810
22804
|
/**
|
|
22811
22805
|
* `EventEmitter` to notify parent components of menu click events.
|
|
22812
|
-
* @type {EventEmitter<Object>}
|
|
22813
|
-
* @memberof Hamburger
|
|
22814
22806
|
*/
|
|
22815
22807
|
this.selected = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
22816
22808
|
}
|
|
22817
22809
|
/**
|
|
22818
22810
|
* Emit the Hamburger click event upwards.
|
|
22819
|
-
* @memberof Hamburger
|
|
22820
22811
|
*/
|
|
22821
22812
|
Hamburger.prototype.doClick = function () {
|
|
22822
22813
|
this.selected.emit(this.active);
|
|
@@ -22833,7 +22824,7 @@ var Hamburger = /** @class */ (function () {
|
|
|
22833
22824
|
Hamburger = __decorate([
|
|
22834
22825
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
22835
22826
|
selector: "ibm-hamburger",
|
|
22836
|
-
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"
|
|
22827
|
+
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"
|
|
22837
22828
|
}),
|
|
22838
22829
|
__metadata("design:paramtypes", [typeof (_b = typeof _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_1__["I18n"] !== "undefined" && _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_1__["I18n"]) === "function" && _b || Object])
|
|
22839
22830
|
], Hamburger);
|
|
@@ -22865,15 +22856,32 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
22865
22856
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22866
22857
|
};
|
|
22867
22858
|
|
|
22859
|
+
/**
|
|
22860
|
+
* Contained by `HeaderGlobal`. Generally used to trigger `Panel`s
|
|
22861
|
+
*/
|
|
22868
22862
|
var HeaderAction = /** @class */ (function () {
|
|
22869
22863
|
function HeaderAction() {
|
|
22864
|
+
/**
|
|
22865
|
+
* Title. Populates the aria-label as well as the browser `title` tooltip
|
|
22866
|
+
*/
|
|
22870
22867
|
this.title = "";
|
|
22868
|
+
/**
|
|
22869
|
+
* Toggles the active state. May be used to toggle a `Panel`s active state.
|
|
22870
|
+
*/
|
|
22871
22871
|
this.active = false;
|
|
22872
|
+
/**
|
|
22873
|
+
* "Change" emitter to allow double binding to the `active` Input.
|
|
22874
|
+
*/
|
|
22875
|
+
this.activeChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
22876
|
+
/**
|
|
22877
|
+
* Emits when the action has been clicked.
|
|
22878
|
+
*/
|
|
22872
22879
|
this.selected = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
|
|
22873
22880
|
}
|
|
22874
22881
|
HeaderAction.prototype.onClick = function () {
|
|
22875
22882
|
this.active = !this.active;
|
|
22876
22883
|
this.selected.emit(this.active);
|
|
22884
|
+
this.activeChange.emit(this.active);
|
|
22877
22885
|
};
|
|
22878
22886
|
__decorate([
|
|
22879
22887
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
@@ -22883,6 +22891,10 @@ var HeaderAction = /** @class */ (function () {
|
|
|
22883
22891
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
22884
22892
|
__metadata("design:type", Object)
|
|
22885
22893
|
], HeaderAction.prototype, "active", void 0);
|
|
22894
|
+
__decorate([
|
|
22895
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
22896
|
+
__metadata("design:type", Object)
|
|
22897
|
+
], HeaderAction.prototype, "activeChange", void 0);
|
|
22886
22898
|
__decorate([
|
|
22887
22899
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
|
|
22888
22900
|
__metadata("design:type", Object)
|
|
@@ -22921,6 +22933,9 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
22921
22933
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22922
22934
|
};
|
|
22923
22935
|
|
|
22936
|
+
/**
|
|
22937
|
+
* Container for `HeaderAction`s.
|
|
22938
|
+
*/
|
|
22924
22939
|
var HeaderGlobal = /** @class */ (function () {
|
|
22925
22940
|
function HeaderGlobal() {
|
|
22926
22941
|
this.hostClass = true;
|
|
@@ -22953,6 +22968,7 @@ var HeaderGlobal = /** @class */ (function () {
|
|
|
22953
22968
|
__webpack_require__.r(__webpack_exports__);
|
|
22954
22969
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderItem", function() { return HeaderItem; });
|
|
22955
22970
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
|
|
22971
|
+
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
|
|
22956
22972
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22957
22973
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22958
22974
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -22963,19 +22979,37 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
22963
22979
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22964
22980
|
};
|
|
22965
22981
|
|
|
22982
|
+
|
|
22983
|
+
/**
|
|
22984
|
+
* Individual item in the header. May be used a direct child of `HeaderNavigation` or `HeaderMenu`
|
|
22985
|
+
*/
|
|
22966
22986
|
var HeaderItem = /** @class */ (function () {
|
|
22967
|
-
function HeaderItem() {
|
|
22968
|
-
this.
|
|
22987
|
+
function HeaderItem(domSanitizer) {
|
|
22988
|
+
this.domSanitizer = domSanitizer;
|
|
22989
|
+
this._href = "javascript:void(0)";
|
|
22969
22990
|
}
|
|
22991
|
+
Object.defineProperty(HeaderItem.prototype, "href", {
|
|
22992
|
+
get: function () {
|
|
22993
|
+
return this.domSanitizer.bypassSecurityTrustUrl(this._href);
|
|
22994
|
+
},
|
|
22995
|
+
set: function (v) {
|
|
22996
|
+
this._href = v;
|
|
22997
|
+
},
|
|
22998
|
+
enumerable: true,
|
|
22999
|
+
configurable: true
|
|
23000
|
+
});
|
|
23001
|
+
var _a;
|
|
22970
23002
|
__decorate([
|
|
22971
23003
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
22972
|
-
__metadata("design:type",
|
|
22973
|
-
|
|
23004
|
+
__metadata("design:type", String),
|
|
23005
|
+
__metadata("design:paramtypes", [String])
|
|
23006
|
+
], HeaderItem.prototype, "href", null);
|
|
22974
23007
|
HeaderItem = __decorate([
|
|
22975
23008
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
22976
23009
|
selector: "ibm-header-item",
|
|
22977
23010
|
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"
|
|
22978
|
-
})
|
|
23011
|
+
}),
|
|
23012
|
+
__metadata("design:paramtypes", [typeof (_a = typeof _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"] !== "undefined" && _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"]) === "function" && _a || Object])
|
|
22979
23013
|
], HeaderItem);
|
|
22980
23014
|
return HeaderItem;
|
|
22981
23015
|
}());
|
|
@@ -22995,6 +23029,7 @@ var HeaderItem = /** @class */ (function () {
|
|
|
22995
23029
|
__webpack_require__.r(__webpack_exports__);
|
|
22996
23030
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderMenu", function() { return HeaderMenu; });
|
|
22997
23031
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
|
|
23032
|
+
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
|
|
22998
23033
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22999
23034
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
23000
23035
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -23005,20 +23040,68 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23005
23040
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23006
23041
|
};
|
|
23007
23042
|
|
|
23043
|
+
|
|
23044
|
+
/**
|
|
23045
|
+
* Dropdown menu container for navigation items.
|
|
23046
|
+
*/
|
|
23008
23047
|
var HeaderMenu = /** @class */ (function () {
|
|
23009
|
-
function HeaderMenu() {
|
|
23048
|
+
function HeaderMenu(domSanitizer, elementRef) {
|
|
23049
|
+
this.domSanitizer = domSanitizer;
|
|
23050
|
+
this.elementRef = elementRef;
|
|
23051
|
+
this.trigger = "click";
|
|
23010
23052
|
this.expanded = false;
|
|
23053
|
+
this._href = "javascript:void(0)";
|
|
23011
23054
|
}
|
|
23055
|
+
Object.defineProperty(HeaderMenu.prototype, "href", {
|
|
23056
|
+
get: function () {
|
|
23057
|
+
return this.domSanitizer.bypassSecurityTrustUrl(this._href);
|
|
23058
|
+
},
|
|
23059
|
+
set: function (v) {
|
|
23060
|
+
this._href = v;
|
|
23061
|
+
},
|
|
23062
|
+
enumerable: true,
|
|
23063
|
+
configurable: true
|
|
23064
|
+
});
|
|
23065
|
+
HeaderMenu.prototype.onClick = function () {
|
|
23066
|
+
if (this.trigger === "click") {
|
|
23067
|
+
this.expanded = !this.expanded;
|
|
23068
|
+
}
|
|
23069
|
+
};
|
|
23012
23070
|
HeaderMenu.prototype.onMouseOver = function () {
|
|
23013
|
-
this.
|
|
23071
|
+
if (this.trigger === "mouseover") {
|
|
23072
|
+
this.expanded = true;
|
|
23073
|
+
}
|
|
23014
23074
|
};
|
|
23015
23075
|
HeaderMenu.prototype.onMouseOut = function () {
|
|
23016
|
-
this.
|
|
23076
|
+
if (this.trigger === "mouseover") {
|
|
23077
|
+
this.expanded = false;
|
|
23078
|
+
}
|
|
23079
|
+
};
|
|
23080
|
+
HeaderMenu.prototype.onFocusOut = function (event) {
|
|
23081
|
+
if (!this.elementRef.nativeElement.contains(event.relatedTarget)) {
|
|
23082
|
+
this.expanded = false;
|
|
23083
|
+
}
|
|
23017
23084
|
};
|
|
23085
|
+
var _a, _b;
|
|
23018
23086
|
__decorate([
|
|
23019
23087
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23020
|
-
__metadata("design:type",
|
|
23088
|
+
__metadata("design:type", String)
|
|
23021
23089
|
], HeaderMenu.prototype, "title", void 0);
|
|
23090
|
+
__decorate([
|
|
23091
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23092
|
+
__metadata("design:type", String),
|
|
23093
|
+
__metadata("design:paramtypes", [String])
|
|
23094
|
+
], HeaderMenu.prototype, "href", null);
|
|
23095
|
+
__decorate([
|
|
23096
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23097
|
+
__metadata("design:type", String)
|
|
23098
|
+
], HeaderMenu.prototype, "trigger", void 0);
|
|
23099
|
+
__decorate([
|
|
23100
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"])("click"),
|
|
23101
|
+
__metadata("design:type", Function),
|
|
23102
|
+
__metadata("design:paramtypes", []),
|
|
23103
|
+
__metadata("design:returntype", void 0)
|
|
23104
|
+
], HeaderMenu.prototype, "onClick", null);
|
|
23022
23105
|
__decorate([
|
|
23023
23106
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"])("mouseover"),
|
|
23024
23107
|
__metadata("design:type", Function),
|
|
@@ -23031,11 +23114,18 @@ var HeaderMenu = /** @class */ (function () {
|
|
|
23031
23114
|
__metadata("design:paramtypes", []),
|
|
23032
23115
|
__metadata("design:returntype", void 0)
|
|
23033
23116
|
], HeaderMenu.prototype, "onMouseOut", null);
|
|
23117
|
+
__decorate([
|
|
23118
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"])("focusout", ["$event"]),
|
|
23119
|
+
__metadata("design:type", Function),
|
|
23120
|
+
__metadata("design:paramtypes", [Object]),
|
|
23121
|
+
__metadata("design:returntype", void 0)
|
|
23122
|
+
], HeaderMenu.prototype, "onFocusOut", null);
|
|
23034
23123
|
HeaderMenu = __decorate([
|
|
23035
23124
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23036
23125
|
selector: "ibm-header-menu",
|
|
23037
|
-
template: "\n\t\t<li\n\t\t\tclass=\"bx--header__submenu\"\n\t\t\tstyle=\"height: 100%\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--header__menu-item bx--header__menu-title\"\n\t\t\t\
|
|
23038
|
-
})
|
|
23126
|
+
template: "\n\t\t<li\n\t\t\tclass=\"bx--header__submenu\"\n\t\t\tstyle=\"height: 100%\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--header__menu-item bx--header__menu-title\"\n\t\t\t\t[href]=\"href\"\n\t\t\t\trole=\"menuitem\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\t[attr.aria-expanded]=\"expanded\">\n\t\t\t\t{{title}}\n\t\t\t\t<svg class=\"bx--header__menu-arrow\" width=\"12\" height=\"7\" aria-hidden=\"true\">\n\t\t\t\t\t<path d=\"M6.002 5.55L11.27 0l.726.685L6.003 7 0 .685.726 0z\" />\n\t\t\t\t</svg>\n\t\t\t</a>\n\t\t\t<ul class=\"bx--header__menu\" role=\"menu\" [attr.aria-label]=\"title\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ul>\n\t\t</li>\n\t"
|
|
23127
|
+
}),
|
|
23128
|
+
__metadata("design:paramtypes", [typeof (_a = typeof _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"] !== "undefined" && _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"]) === "function" && _a || Object, typeof (_b = typeof _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] !== "undefined" && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]) === "function" && _b || Object])
|
|
23039
23129
|
], HeaderMenu);
|
|
23040
23130
|
return HeaderMenu;
|
|
23041
23131
|
}());
|
|
@@ -23065,6 +23155,9 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23065
23155
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23066
23156
|
};
|
|
23067
23157
|
|
|
23158
|
+
/**
|
|
23159
|
+
* Container for header navigation items
|
|
23160
|
+
*/
|
|
23068
23161
|
var HeaderNavigation = /** @class */ (function () {
|
|
23069
23162
|
function HeaderNavigation() {
|
|
23070
23163
|
this.height = 100;
|
|
@@ -23110,17 +23203,9 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23110
23203
|
|
|
23111
23204
|
|
|
23112
23205
|
/**
|
|
23113
|
-
*
|
|
23114
|
-
*
|
|
23115
|
-
*
|
|
23116
|
-
* then set ui-shell to true.
|
|
23117
|
-
*
|
|
23118
|
-
* ```scss
|
|
23119
|
-
* $feature-flags: (
|
|
23120
|
-
* ui-shell: true
|
|
23121
|
-
* );
|
|
23122
|
-
* @import 'carbon-components/src/globals/scss/styles';
|
|
23123
|
-
* ```
|
|
23206
|
+
* A fixed header and navigation.
|
|
23207
|
+
* Header may contain a Hamburger menu to toggle the side navigation, navigation actions,
|
|
23208
|
+
* and global actions (generally in the form of `Panel`s).
|
|
23124
23209
|
*
|
|
23125
23210
|
* [See demo](../../?path=/story/ui-shell--header)
|
|
23126
23211
|
*
|
|
@@ -23132,8 +23217,10 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23132
23217
|
var Header = /** @class */ (function () {
|
|
23133
23218
|
function Header(i18n) {
|
|
23134
23219
|
this.i18n = i18n;
|
|
23220
|
+
/**
|
|
23221
|
+
* Top level branding. Defaults to "IBM"
|
|
23222
|
+
*/
|
|
23135
23223
|
this.brand = "IBM";
|
|
23136
|
-
this.hostClass = true;
|
|
23137
23224
|
}
|
|
23138
23225
|
var _a;
|
|
23139
23226
|
__decorate([
|
|
@@ -23148,10 +23235,6 @@ var Header = /** @class */ (function () {
|
|
|
23148
23235
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23149
23236
|
__metadata("design:type", Object)
|
|
23150
23237
|
], Header.prototype, "brand", void 0);
|
|
23151
|
-
__decorate([
|
|
23152
|
-
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"])("class.bx--header"),
|
|
23153
|
-
__metadata("design:type", Object)
|
|
23154
|
-
], Header.prototype, "hostClass", void 0);
|
|
23155
23238
|
Header = __decorate([
|
|
23156
23239
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23157
23240
|
selector: "ibm-header",
|
|
@@ -23278,21 +23361,14 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23278
23361
|
};
|
|
23279
23362
|
|
|
23280
23363
|
/**
|
|
23281
|
-
*
|
|
23282
|
-
*
|
|
23283
|
-
* To turn on this feature flag, include the feature-flag variable into your SCSS file before importing carbon-components,
|
|
23284
|
-
* then set ui-shell to true.
|
|
23285
|
-
*
|
|
23286
|
-
* ```scss
|
|
23287
|
-
* $feature-flags: (
|
|
23288
|
-
* ui-shell: true
|
|
23289
|
-
* );
|
|
23290
|
-
* @import 'carbon-components/src/globals/scss/styles';
|
|
23291
|
-
* ```
|
|
23292
|
-
*
|
|
23364
|
+
* `Panel` is a component that can be used to display content on the right side of the screen.
|
|
23365
|
+
* `Panel`s are generally activated by and linked to a `HeaderAction` component.
|
|
23293
23366
|
*/
|
|
23294
23367
|
var Panel = /** @class */ (function () {
|
|
23295
23368
|
function Panel() {
|
|
23369
|
+
/**
|
|
23370
|
+
* Controls the visibility of the panel
|
|
23371
|
+
*/
|
|
23296
23372
|
this.expanded = false;
|
|
23297
23373
|
}
|
|
23298
23374
|
__decorate([
|
|
@@ -23316,7 +23392,7 @@ var Panel = /** @class */ (function () {
|
|
|
23316
23392
|
/*!********************************************!*\
|
|
23317
23393
|
!*** ./src/ui-shell/panel/panel.module.ts ***!
|
|
23318
23394
|
\********************************************/
|
|
23319
|
-
/*! exports provided: Panel, ProductSwitcher,
|
|
23395
|
+
/*! exports provided: Panel, ProductSwitcher, SwitcherList, SwitcherListItem, PanelModule */
|
|
23320
23396
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23321
23397
|
|
|
23322
23398
|
"use strict";
|
|
@@ -23331,14 +23407,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23331
23407
|
/* harmony import */ var _product_switcher_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./product-switcher.component */ "./src/ui-shell/panel/product-switcher.component.ts");
|
|
23332
23408
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcher", function() { return _product_switcher_component__WEBPACK_IMPORTED_MODULE_4__["ProductSwitcher"]; });
|
|
23333
23409
|
|
|
23334
|
-
/* harmony import */ var
|
|
23335
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
23410
|
+
/* harmony import */ var _switcher_list_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./switcher-list.component */ "./src/ui-shell/panel/switcher-list.component.ts");
|
|
23411
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitcherList", function() { return _switcher_list_component__WEBPACK_IMPORTED_MODULE_5__["SwitcherList"]; });
|
|
23336
23412
|
|
|
23337
|
-
/* harmony import */ var
|
|
23338
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
23339
|
-
|
|
23340
|
-
/* harmony import */ var _product_switcher_item_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./product-switcher-item.component */ "./src/ui-shell/panel/product-switcher-item.component.ts");
|
|
23341
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcherItem", function() { return _product_switcher_item_component__WEBPACK_IMPORTED_MODULE_7__["ProductSwitcherItem"]; });
|
|
23413
|
+
/* harmony import */ var _switcher_list_item_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./switcher-list-item.component */ "./src/ui-shell/panel/switcher-list-item.component.ts");
|
|
23414
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitcherListItem", function() { return _switcher_list_item_component__WEBPACK_IMPORTED_MODULE_6__["SwitcherListItem"]; });
|
|
23342
23415
|
|
|
23343
23416
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23344
23417
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -23354,7 +23427,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
23354
23427
|
|
|
23355
23428
|
|
|
23356
23429
|
|
|
23357
|
-
|
|
23358
23430
|
var PanelModule = /** @class */ (function () {
|
|
23359
23431
|
function PanelModule() {
|
|
23360
23432
|
}
|
|
@@ -23363,17 +23435,15 @@ var PanelModule = /** @class */ (function () {
|
|
|
23363
23435
|
declarations: [
|
|
23364
23436
|
_panel_component__WEBPACK_IMPORTED_MODULE_3__["Panel"],
|
|
23365
23437
|
_product_switcher_component__WEBPACK_IMPORTED_MODULE_4__["ProductSwitcher"],
|
|
23366
|
-
|
|
23367
|
-
|
|
23368
|
-
_product_switcher_item_component__WEBPACK_IMPORTED_MODULE_7__["ProductSwitcherItem"]
|
|
23438
|
+
_switcher_list_component__WEBPACK_IMPORTED_MODULE_5__["SwitcherList"],
|
|
23439
|
+
_switcher_list_item_component__WEBPACK_IMPORTED_MODULE_6__["SwitcherListItem"]
|
|
23369
23440
|
],
|
|
23370
23441
|
imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_2__["I18nModule"]],
|
|
23371
23442
|
exports: [
|
|
23372
23443
|
_panel_component__WEBPACK_IMPORTED_MODULE_3__["Panel"],
|
|
23373
23444
|
_product_switcher_component__WEBPACK_IMPORTED_MODULE_4__["ProductSwitcher"],
|
|
23374
|
-
|
|
23375
|
-
|
|
23376
|
-
_product_switcher_item_component__WEBPACK_IMPORTED_MODULE_7__["ProductSwitcherItem"]
|
|
23445
|
+
_switcher_list_component__WEBPACK_IMPORTED_MODULE_5__["SwitcherList"],
|
|
23446
|
+
_switcher_list_item_component__WEBPACK_IMPORTED_MODULE_6__["SwitcherListItem"]
|
|
23377
23447
|
]
|
|
23378
23448
|
})
|
|
23379
23449
|
], PanelModule);
|
|
@@ -23384,16 +23454,16 @@ var PanelModule = /** @class */ (function () {
|
|
|
23384
23454
|
|
|
23385
23455
|
/***/ }),
|
|
23386
23456
|
|
|
23387
|
-
/***/ "./src/ui-shell/panel/product-switcher
|
|
23388
|
-
|
|
23389
|
-
!*** ./src/ui-shell/panel/product-switcher
|
|
23390
|
-
|
|
23391
|
-
/*! exports provided:
|
|
23457
|
+
/***/ "./src/ui-shell/panel/product-switcher.component.ts":
|
|
23458
|
+
/*!**********************************************************!*\
|
|
23459
|
+
!*** ./src/ui-shell/panel/product-switcher.component.ts ***!
|
|
23460
|
+
\**********************************************************/
|
|
23461
|
+
/*! exports provided: ProductSwitcher */
|
|
23392
23462
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23393
23463
|
|
|
23394
23464
|
"use strict";
|
|
23395
23465
|
__webpack_require__.r(__webpack_exports__);
|
|
23396
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
23466
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcher", function() { return ProductSwitcher; });
|
|
23397
23467
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
|
|
23398
23468
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23399
23469
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -23405,37 +23475,45 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23405
23475
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23406
23476
|
};
|
|
23407
23477
|
|
|
23408
|
-
|
|
23409
|
-
|
|
23478
|
+
/**
|
|
23479
|
+
* @deprecated `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
|
|
23480
|
+
*/
|
|
23481
|
+
var ProductSwitcher = /** @class */ (function () {
|
|
23482
|
+
function ProductSwitcher() {
|
|
23483
|
+
this.header = "";
|
|
23410
23484
|
this.hostClass = true;
|
|
23411
23485
|
}
|
|
23412
23486
|
__decorate([
|
|
23413
|
-
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["
|
|
23487
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23488
|
+
__metadata("design:type", Object)
|
|
23489
|
+
], ProductSwitcher.prototype, "header", void 0);
|
|
23490
|
+
__decorate([
|
|
23491
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"])("class.bx--product-switcher"),
|
|
23414
23492
|
__metadata("design:type", Object)
|
|
23415
|
-
],
|
|
23416
|
-
|
|
23493
|
+
], ProductSwitcher.prototype, "hostClass", void 0);
|
|
23494
|
+
ProductSwitcher = __decorate([
|
|
23417
23495
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23418
|
-
selector: "ibm-product-switcher
|
|
23419
|
-
template: "<ng-content></ng-content>"
|
|
23496
|
+
selector: "ibm-product-switcher",
|
|
23497
|
+
template: "\n\t\t<div class=\"bx--product-switcher__search\">\n\t\t\t<ng-content select=\"ibm-search\"></ng-content>\n\t\t</div>\n\t\t<p class=\"bx--product-switcher__subheader\">{{header}}</p>\n\t\t<ng-content></ng-content>\n\t"
|
|
23420
23498
|
})
|
|
23421
|
-
],
|
|
23422
|
-
return
|
|
23499
|
+
], ProductSwitcher);
|
|
23500
|
+
return ProductSwitcher;
|
|
23423
23501
|
}());
|
|
23424
23502
|
|
|
23425
23503
|
|
|
23426
23504
|
|
|
23427
23505
|
/***/ }),
|
|
23428
23506
|
|
|
23429
|
-
/***/ "./src/ui-shell/panel/
|
|
23430
|
-
|
|
23431
|
-
!*** ./src/ui-shell/panel/
|
|
23432
|
-
|
|
23433
|
-
/*! exports provided:
|
|
23507
|
+
/***/ "./src/ui-shell/panel/switcher-list-item.component.ts":
|
|
23508
|
+
/*!************************************************************!*\
|
|
23509
|
+
!*** ./src/ui-shell/panel/switcher-list-item.component.ts ***!
|
|
23510
|
+
\************************************************************/
|
|
23511
|
+
/*! exports provided: SwitcherListItem */
|
|
23434
23512
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23435
23513
|
|
|
23436
23514
|
"use strict";
|
|
23437
23515
|
__webpack_require__.r(__webpack_exports__);
|
|
23438
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
23516
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SwitcherListItem", function() { return SwitcherListItem; });
|
|
23439
23517
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
|
|
23440
23518
|
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
|
|
23441
23519
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -23449,51 +23527,67 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23449
23527
|
};
|
|
23450
23528
|
|
|
23451
23529
|
|
|
23452
|
-
|
|
23453
|
-
|
|
23530
|
+
/**
|
|
23531
|
+
* Represents an item in a switcher list.
|
|
23532
|
+
*
|
|
23533
|
+
* **Note:** `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
|
|
23534
|
+
*/
|
|
23535
|
+
var SwitcherListItem = /** @class */ (function () {
|
|
23536
|
+
function SwitcherListItem(domSanitizer) {
|
|
23454
23537
|
this.domSanitizer = domSanitizer;
|
|
23455
|
-
|
|
23538
|
+
/**
|
|
23539
|
+
* Enables the "active" state for an item. Commonly used to indicate the current page or selection.
|
|
23540
|
+
*/
|
|
23541
|
+
this.active = false;
|
|
23542
|
+
this._href = "javascript:void(0)";
|
|
23456
23543
|
}
|
|
23457
|
-
Object.defineProperty(
|
|
23544
|
+
Object.defineProperty(SwitcherListItem.prototype, "href", {
|
|
23458
23545
|
get: function () {
|
|
23459
|
-
return this._href;
|
|
23546
|
+
return this.domSanitizer.bypassSecurityTrustUrl(this._href);
|
|
23460
23547
|
},
|
|
23548
|
+
/**
|
|
23549
|
+
* Optional link for the underlying anchor.
|
|
23550
|
+
*/
|
|
23461
23551
|
set: function (value) {
|
|
23462
|
-
this._href =
|
|
23552
|
+
this._href = value;
|
|
23463
23553
|
},
|
|
23464
23554
|
enumerable: true,
|
|
23465
23555
|
configurable: true
|
|
23466
23556
|
});
|
|
23467
23557
|
var _a;
|
|
23558
|
+
__decorate([
|
|
23559
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23560
|
+
__metadata("design:type", Object)
|
|
23561
|
+
], SwitcherListItem.prototype, "active", void 0);
|
|
23468
23562
|
__decorate([
|
|
23469
23563
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23470
23564
|
__metadata("design:type", String),
|
|
23471
23565
|
__metadata("design:paramtypes", [String])
|
|
23472
|
-
],
|
|
23473
|
-
|
|
23566
|
+
], SwitcherListItem.prototype, "href", null);
|
|
23567
|
+
SwitcherListItem = __decorate([
|
|
23474
23568
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23475
|
-
selector: "ibm-product-switcher-list-item",
|
|
23476
|
-
template: "\n\t\t<
|
|
23569
|
+
selector: "ibm-switcher-list-item, ibm-product-switcher-list-item, ibm-product-switcher-item",
|
|
23570
|
+
template: "\n\t\t<a\n\t\t\tclass=\"bx--switcher__item-link\"\n\t\t\t[ngClass]=\"{\n\t\t\t\t'bx--switcher__item-link--selected': active\n\t\t\t}\"\n\t\t\t[href]=\"href\">\n\t\t\t<ng-content></ng-content>\n\t\t</a>\n\t"
|
|
23477
23571
|
}),
|
|
23478
23572
|
__metadata("design:paramtypes", [typeof (_a = typeof _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"] !== "undefined" && _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"]) === "function" && _a || Object])
|
|
23479
|
-
],
|
|
23480
|
-
return
|
|
23573
|
+
], SwitcherListItem);
|
|
23574
|
+
return SwitcherListItem;
|
|
23481
23575
|
}());
|
|
23482
23576
|
|
|
23483
23577
|
|
|
23484
23578
|
|
|
23485
23579
|
/***/ }),
|
|
23486
23580
|
|
|
23487
|
-
/***/ "./src/ui-shell/panel/
|
|
23488
|
-
|
|
23489
|
-
!*** ./src/ui-shell/panel/
|
|
23490
|
-
|
|
23491
|
-
/*! exports provided:
|
|
23581
|
+
/***/ "./src/ui-shell/panel/switcher-list.component.ts":
|
|
23582
|
+
/*!*******************************************************!*\
|
|
23583
|
+
!*** ./src/ui-shell/panel/switcher-list.component.ts ***!
|
|
23584
|
+
\*******************************************************/
|
|
23585
|
+
/*! exports provided: SwitcherList */
|
|
23492
23586
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23493
23587
|
|
|
23494
23588
|
"use strict";
|
|
23495
23589
|
__webpack_require__.r(__webpack_exports__);
|
|
23496
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
23590
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SwitcherList", function() { return SwitcherList; });
|
|
23497
23591
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
|
|
23498
23592
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23499
23593
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -23502,63 +23596,29 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
23502
23596
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23503
23597
|
};
|
|
23504
23598
|
|
|
23505
|
-
|
|
23506
|
-
|
|
23599
|
+
/**
|
|
23600
|
+
* Container for switcher items.
|
|
23601
|
+
*
|
|
23602
|
+
* ```html
|
|
23603
|
+
* <ibm-switcher-list>
|
|
23604
|
+
* <ibm-switcher-list-item>one</ibm-switcher-list-item>
|
|
23605
|
+
* <ibm-switcher-list-item [active]="true">two</ibm-switcher-list-item>
|
|
23606
|
+
* <ibm-switcher-list-item>three</ibm-switcher-list-item>
|
|
23607
|
+
* </ibm-switcher-list>
|
|
23608
|
+
* ```
|
|
23609
|
+
*
|
|
23610
|
+
* **Note**: `ibm-product-x` selectors and components are deprecated and will be removed in the next major version
|
|
23611
|
+
*/
|
|
23612
|
+
var SwitcherList = /** @class */ (function () {
|
|
23613
|
+
function SwitcherList() {
|
|
23507
23614
|
}
|
|
23508
|
-
|
|
23615
|
+
SwitcherList = __decorate([
|
|
23509
23616
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23510
|
-
selector: "ibm-product-switcher-list",
|
|
23511
|
-
template: "\n\t\t<ul class=\"bx--
|
|
23617
|
+
selector: "ibm-switcher-list, ibm-product-switcher-list",
|
|
23618
|
+
template: "\n\t\t<ul class=\"bx--switcher__item\">\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\t"
|
|
23512
23619
|
})
|
|
23513
|
-
],
|
|
23514
|
-
return
|
|
23515
|
-
}());
|
|
23516
|
-
|
|
23517
|
-
|
|
23518
|
-
|
|
23519
|
-
/***/ }),
|
|
23520
|
-
|
|
23521
|
-
/***/ "./src/ui-shell/panel/product-switcher.component.ts":
|
|
23522
|
-
/*!**********************************************************!*\
|
|
23523
|
-
!*** ./src/ui-shell/panel/product-switcher.component.ts ***!
|
|
23524
|
-
\**********************************************************/
|
|
23525
|
-
/*! exports provided: ProductSwitcher */
|
|
23526
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23527
|
-
|
|
23528
|
-
"use strict";
|
|
23529
|
-
__webpack_require__.r(__webpack_exports__);
|
|
23530
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcher", function() { return ProductSwitcher; });
|
|
23531
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
|
|
23532
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23533
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
23534
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23535
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
23536
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23537
|
-
};
|
|
23538
|
-
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
23539
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23540
|
-
};
|
|
23541
|
-
|
|
23542
|
-
var ProductSwitcher = /** @class */ (function () {
|
|
23543
|
-
function ProductSwitcher() {
|
|
23544
|
-
this.header = "";
|
|
23545
|
-
this.hostClass = true;
|
|
23546
|
-
}
|
|
23547
|
-
__decorate([
|
|
23548
|
-
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23549
|
-
__metadata("design:type", Object)
|
|
23550
|
-
], ProductSwitcher.prototype, "header", void 0);
|
|
23551
|
-
__decorate([
|
|
23552
|
-
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"])("class.bx--product-switcher"),
|
|
23553
|
-
__metadata("design:type", Object)
|
|
23554
|
-
], ProductSwitcher.prototype, "hostClass", void 0);
|
|
23555
|
-
ProductSwitcher = __decorate([
|
|
23556
|
-
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23557
|
-
selector: "ibm-product-switcher",
|
|
23558
|
-
template: "\n\t\t<div class=\"bx--product-switcher__search\">\n\t\t\t<ng-content select=\"ibm-search\"></ng-content>\n\t\t</div>\n\t\t<p class=\"bx--product-switcher__subheader\">{{header}}</p>\n\t\t<ng-content></ng-content>\n\t"
|
|
23559
|
-
})
|
|
23560
|
-
], ProductSwitcher);
|
|
23561
|
-
return ProductSwitcher;
|
|
23620
|
+
], SwitcherList);
|
|
23621
|
+
return SwitcherList;
|
|
23562
23622
|
}());
|
|
23563
23623
|
|
|
23564
23624
|
|
|
@@ -23588,6 +23648,9 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23588
23648
|
};
|
|
23589
23649
|
|
|
23590
23650
|
|
|
23651
|
+
/**
|
|
23652
|
+
* @deprecated Until futher notice. Will be removed in a future version.
|
|
23653
|
+
*/
|
|
23591
23654
|
var SideNavHeader = /** @class */ (function () {
|
|
23592
23655
|
function SideNavHeader(i18n) {
|
|
23593
23656
|
this.i18n = i18n;
|
|
@@ -23627,6 +23690,7 @@ var SideNavHeader = /** @class */ (function () {
|
|
|
23627
23690
|
__webpack_require__.r(__webpack_exports__);
|
|
23628
23691
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SideNavItem", function() { return SideNavItem; });
|
|
23629
23692
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
|
|
23693
|
+
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
|
|
23630
23694
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23631
23695
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
23632
23696
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -23637,11 +23701,39 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23637
23701
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23638
23702
|
};
|
|
23639
23703
|
|
|
23704
|
+
|
|
23705
|
+
/**
|
|
23706
|
+
* `SideNavItem` can either be a child of `SideNav` or `SideNavMenu`
|
|
23707
|
+
*/
|
|
23640
23708
|
var SideNavItem = /** @class */ (function () {
|
|
23641
|
-
function SideNavItem() {
|
|
23709
|
+
function SideNavItem(domSanitizer) {
|
|
23710
|
+
this.domSanitizer = domSanitizer;
|
|
23711
|
+
/**
|
|
23712
|
+
* Toggles the active (current page) state for the link.
|
|
23713
|
+
*/
|
|
23642
23714
|
this.active = false;
|
|
23643
23715
|
this.isSubMenu = false;
|
|
23716
|
+
this._href = "javascript:void(0)";
|
|
23644
23717
|
}
|
|
23718
|
+
Object.defineProperty(SideNavItem.prototype, "href", {
|
|
23719
|
+
get: function () {
|
|
23720
|
+
return this.domSanitizer.bypassSecurityTrustUrl(this._href);
|
|
23721
|
+
},
|
|
23722
|
+
/**
|
|
23723
|
+
* Link for the item. NOTE: *do not* pass unsafe or untrusted values, this has the potential to open you up to XSS attacks
|
|
23724
|
+
*/
|
|
23725
|
+
set: function (v) {
|
|
23726
|
+
this._href = v;
|
|
23727
|
+
},
|
|
23728
|
+
enumerable: true,
|
|
23729
|
+
configurable: true
|
|
23730
|
+
});
|
|
23731
|
+
var _a;
|
|
23732
|
+
__decorate([
|
|
23733
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23734
|
+
__metadata("design:type", String),
|
|
23735
|
+
__metadata("design:paramtypes", [String])
|
|
23736
|
+
], SideNavItem.prototype, "href", null);
|
|
23645
23737
|
__decorate([
|
|
23646
23738
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23647
23739
|
__metadata("design:type", Object)
|
|
@@ -23649,8 +23741,9 @@ var SideNavItem = /** @class */ (function () {
|
|
|
23649
23741
|
SideNavItem = __decorate([
|
|
23650
23742
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23651
23743
|
selector: "ibm-sidenav-item",
|
|
23652
|
-
template: "\n\t\t<li [ngClass]=\"{\n\t\t\t'bx--side-nav__item': !isSubMenu,\n\t\t\t'bx--side-nav__menu-item': isSubMenu\n\t\t}\"\n\t\t[attr.role]=\"(isSubMenu ? 'none' : null)\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--side-nav__link\"\n\t\t\t\
|
|
23653
|
-
})
|
|
23744
|
+
template: "\n\t\t<li [ngClass]=\"{\n\t\t\t'bx--side-nav__item': !isSubMenu,\n\t\t\t'bx--side-nav__menu-item': isSubMenu\n\t\t}\"\n\t\t[attr.role]=\"(isSubMenu ? 'none' : null)\">\n\t\t\t<a\n\t\t\t\tclass=\"bx--side-nav__link\"\n\t\t\t\t[href]=\"href\"\n\t\t\t\t[attr.role]=\"(isSubMenu ? 'menuitem' : null)\"\n\t\t\t\t[attr.aria-current]=\"(active ? 'page' : null)\">\n\t\t\t\t<div *ngIf=\"!isSubMenu\" class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__link-text\">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</li>\n\t"
|
|
23745
|
+
}),
|
|
23746
|
+
__metadata("design:paramtypes", [typeof (_a = typeof _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"] !== "undefined" && _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["DomSanitizer"]) === "function" && _a || Object])
|
|
23654
23747
|
], SideNavItem);
|
|
23655
23748
|
return SideNavItem;
|
|
23656
23749
|
}());
|
|
@@ -23682,8 +23775,14 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23682
23775
|
};
|
|
23683
23776
|
|
|
23684
23777
|
|
|
23778
|
+
/**
|
|
23779
|
+
* `SideNavMenu` provides a method to group `SideNavItem`s under a common heading.
|
|
23780
|
+
*/
|
|
23685
23781
|
var SideNavMenu = /** @class */ (function () {
|
|
23686
23782
|
function SideNavMenu() {
|
|
23783
|
+
/**
|
|
23784
|
+
* Controls the visibility of the child `SideNavItem`s
|
|
23785
|
+
*/
|
|
23687
23786
|
this.expanded = false;
|
|
23688
23787
|
}
|
|
23689
23788
|
SideNavMenu.prototype.ngAfterContentInit = function () {
|
|
@@ -23697,20 +23796,20 @@ var SideNavMenu = /** @class */ (function () {
|
|
|
23697
23796
|
var _a;
|
|
23698
23797
|
__decorate([
|
|
23699
23798
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23700
|
-
__metadata("design:type",
|
|
23799
|
+
__metadata("design:type", String)
|
|
23701
23800
|
], SideNavMenu.prototype, "title", void 0);
|
|
23702
|
-
__decorate([
|
|
23703
|
-
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChildren"])(_sidenav_item_component__WEBPACK_IMPORTED_MODULE_1__["SideNavItem"]),
|
|
23704
|
-
__metadata("design:type", typeof (_a = typeof _angular_core__WEBPACK_IMPORTED_MODULE_0__["QueryList"] !== "undefined" && _angular_core__WEBPACK_IMPORTED_MODULE_0__["QueryList"]) === "function" && _a || Object)
|
|
23705
|
-
], SideNavMenu.prototype, "sidenavItems", void 0);
|
|
23706
23801
|
__decorate([
|
|
23707
23802
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23708
23803
|
__metadata("design:type", Object)
|
|
23709
23804
|
], SideNavMenu.prototype, "expanded", void 0);
|
|
23805
|
+
__decorate([
|
|
23806
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChildren"])(_sidenav_item_component__WEBPACK_IMPORTED_MODULE_1__["SideNavItem"]),
|
|
23807
|
+
__metadata("design:type", typeof (_a = typeof _angular_core__WEBPACK_IMPORTED_MODULE_0__["QueryList"] !== "undefined" && _angular_core__WEBPACK_IMPORTED_MODULE_0__["QueryList"]) === "function" && _a || Object)
|
|
23808
|
+
], SideNavMenu.prototype, "sidenavItems", void 0);
|
|
23710
23809
|
SideNavMenu = __decorate([
|
|
23711
23810
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23712
23811
|
selector: "ibm-sidenav-menu",
|
|
23713
|
-
template: "\n\t\t<li class=\"bx--side-nav__item\">\n\t\t\t<button\n\t\t\t\t(click)=\"toggle()\"\n\t\t\t\tclass=\"bx--side-nav__submenu\"\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\t[attr.aria-expanded]=\"expanded\"\n\t\t\t\ttype=\"button\">\n\t\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__submenu-title\">{{title}}</span>\n\t\t\t\t<div class=\"bx--side-nav__icon bx--side-nav__icon--small bx--side-nav__submenu-chevron\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t<path d=\"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"></path>\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t</button>\n\t\t\t<ul class=\"bx--side-nav__menu\" role=\"menu\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ul>\n\t\t</li>\n\t"
|
|
23812
|
+
template: "\n\t\t<li class=\"bx--side-nav__item bx--side-nav__item--icon\">\n\t\t\t<button\n\t\t\t\t(click)=\"toggle()\"\n\t\t\t\tclass=\"bx--side-nav__submenu\"\n\t\t\t\taria-haspopup=\"true\"\n\t\t\t\t[attr.aria-expanded]=\"expanded\"\n\t\t\t\ttype=\"button\">\n\t\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t\t<ng-content select=\"[icon]\"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"bx--side-nav__submenu-title\">{{title}}</span>\n\t\t\t\t<div class=\"bx--side-nav__icon bx--side-nav__icon--small bx--side-nav__submenu-chevron\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t<path d=\"M16 22L6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z\"></path>\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t</button>\n\t\t\t<ul class=\"bx--side-nav__menu\" role=\"menu\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ul>\n\t\t</li>\n\t"
|
|
23714
23813
|
})
|
|
23715
23814
|
], SideNavMenu);
|
|
23716
23815
|
return SideNavMenu;
|
|
@@ -23744,17 +23843,7 @@ var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
|
23744
23843
|
|
|
23745
23844
|
|
|
23746
23845
|
/**
|
|
23747
|
-
*
|
|
23748
|
-
*
|
|
23749
|
-
* To turn on this feature flag, include the feature-flag variable into your SCSS file before importing carbon-components,
|
|
23750
|
-
* then set ui-shell to true.
|
|
23751
|
-
*
|
|
23752
|
-
* ```scss
|
|
23753
|
-
* $feature-flags: (
|
|
23754
|
-
* ui-shell: true
|
|
23755
|
-
* );
|
|
23756
|
-
* @import 'carbon-components/src/globals/scss/styles';
|
|
23757
|
-
* ```
|
|
23846
|
+
* `Sidenav` is a fixed left navigation that may contain `SideNavItem`s or `SideNavMenu`s
|
|
23758
23847
|
*
|
|
23759
23848
|
* [See demo](../../?path=/story/ui-shell--side-navigation)
|
|
23760
23849
|
*
|
|
@@ -23768,7 +23857,16 @@ var SideNav = /** @class */ (function () {
|
|
|
23768
23857
|
this.i18n = i18n;
|
|
23769
23858
|
this.role = "complementary";
|
|
23770
23859
|
this.hostClass = true;
|
|
23771
|
-
|
|
23860
|
+
/**
|
|
23861
|
+
* Controls the expanded (`true`) or collapsed (`false`) state when on a small screen.
|
|
23862
|
+
*/
|
|
23863
|
+
this.expanded = true;
|
|
23864
|
+
/**
|
|
23865
|
+
* Controls the hidden (`true`) or visible (`false`) state
|
|
23866
|
+
*/
|
|
23867
|
+
this.hidden = false;
|
|
23868
|
+
this.ux = true;
|
|
23869
|
+
this.allowExpansion = false;
|
|
23772
23870
|
}
|
|
23773
23871
|
SideNav.prototype.toggle = function () {
|
|
23774
23872
|
this.expanded = !this.expanded;
|
|
@@ -23786,10 +23884,22 @@ var SideNav = /** @class */ (function () {
|
|
|
23786
23884
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"])("class.bx--side-nav--expanded"), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23787
23885
|
__metadata("design:type", Object)
|
|
23788
23886
|
], SideNav.prototype, "expanded", void 0);
|
|
23887
|
+
__decorate([
|
|
23888
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"])("class.bx--side-nav--hidden"), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23889
|
+
__metadata("design:type", Object)
|
|
23890
|
+
], SideNav.prototype, "hidden", void 0);
|
|
23891
|
+
__decorate([
|
|
23892
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"])("class.bx--side-nav--ux"),
|
|
23893
|
+
__metadata("design:type", Object)
|
|
23894
|
+
], SideNav.prototype, "ux", void 0);
|
|
23895
|
+
__decorate([
|
|
23896
|
+
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
|
|
23897
|
+
__metadata("design:type", Object)
|
|
23898
|
+
], SideNav.prototype, "allowExpansion", void 0);
|
|
23789
23899
|
SideNav = __decorate([
|
|
23790
23900
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
23791
23901
|
selector: "ibm-sidenav",
|
|
23792
|
-
template: "\n\t\t<nav\n\t\t\tclass=\"bx--side-nav__navigation\"\n\t\t\trole=\"navigation\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.SIDE_NAV.LABEL')\">\n\t\t\t<ng-content select=\"ibm-sidenav-header\"></ng-content>\n\t\t\t<ul class=\"bx--side-nav__items\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ul>\n\t\t\t<footer class=\"bx--side-nav__footer\">\n\t\t\t\t<button\n\t\t\t\t\tclass=\"bx--side-nav__toggle\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t[title]=\"(expanded ? i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_CLOSE') : i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_OPEN')) | async\"\n\t\t\t\t\t(click)=\"toggle()\">\n\t\t\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"expanded\"\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"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\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"!expanded\"\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M22 16L12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t\t<span class=\"bx--assistive-text\">\n\t\t\t\t\t\t{{(expanded ? i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_CLOSE') : i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_OPEN')) | async}}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</footer>\n\t\t</nav>\n\t",
|
|
23902
|
+
template: "\n\t\t<nav\n\t\t\tclass=\"bx--side-nav__navigation\"\n\t\t\trole=\"navigation\"\n\t\t\t[attr.aria-label]=\"i18n.get('UI_SHELL.SIDE_NAV.LABEL')\">\n\t\t\t<ng-content select=\"ibm-sidenav-header\"></ng-content>\n\t\t\t<ul class=\"bx--side-nav__items\">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ul>\n\t\t\t<footer class=\"bx--side-nav__footer\">\n\t\t\t\t<button\n\t\t\t\t\t*ngIf=\"allowExpansion\"\n\t\t\t\t\tclass=\"bx--side-nav__toggle\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t[title]=\"(expanded ? i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_CLOSE') : i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_OPEN')) | async\"\n\t\t\t\t\t(click)=\"toggle()\">\n\t\t\t\t\t<div class=\"bx--side-nav__icon\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"expanded\"\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"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\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\t*ngIf=\"!expanded\"\n\t\t\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\t\t\tpreserveAspectRatio=\"xMidYMid meet\"\n\t\t\t\t\t\t\tstyle=\"will-change: transform;\"\n\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\"\n\t\t\t\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\t\t\t\taria-hidden=\"true\">\n\t\t\t\t\t\t\t<path d=\"M22 16L12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t\t<span class=\"bx--assistive-text\">\n\t\t\t\t\t\t{{(expanded ? i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_CLOSE') : i18n.get('UI_SHELL.SIDE_NAV.TOGGLE_OPEN')) | async}}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</footer>\n\t\t</nav>\n\t",
|
|
23793
23903
|
encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
|
|
23794
23904
|
}),
|
|
23795
23905
|
__metadata("design:paramtypes", [typeof (_a = typeof _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_1__["I18n"] !== "undefined" && _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_1__["I18n"]) === "function" && _a || Object])
|
|
@@ -23871,7 +23981,7 @@ var SideNavModule = /** @class */ (function () {
|
|
|
23871
23981
|
/*!*****************************************!*\
|
|
23872
23982
|
!*** ./src/ui-shell/ui-shell.module.ts ***!
|
|
23873
23983
|
\*****************************************/
|
|
23874
|
-
/*! exports provided: UIShellModule, Header, HeaderItem, HeaderMenu, HeaderNavigation, HeaderGlobal, HeaderAction, Hamburger, HeaderModule, SideNav, SideNavHeader, SideNavItem, SideNavMenu, SideNavModule, Panel, ProductSwitcher,
|
|
23984
|
+
/*! exports provided: UIShellModule, Header, HeaderItem, HeaderMenu, HeaderNavigation, HeaderGlobal, HeaderAction, Hamburger, HeaderModule, SideNav, SideNavHeader, SideNavItem, SideNavMenu, SideNavModule, Panel, ProductSwitcher, SwitcherList, SwitcherListItem, PanelModule */
|
|
23875
23985
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23876
23986
|
|
|
23877
23987
|
"use strict";
|
|
@@ -23913,11 +24023,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23913
24023
|
|
|
23914
24024
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcher", function() { return _panel_panel_module__WEBPACK_IMPORTED_MODULE_5__["ProductSwitcher"]; });
|
|
23915
24025
|
|
|
23916
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
23917
|
-
|
|
23918
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProductSwitcherListItem", function() { return _panel_panel_module__WEBPACK_IMPORTED_MODULE_5__["ProductSwitcherListItem"]; });
|
|
24026
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitcherList", function() { return _panel_panel_module__WEBPACK_IMPORTED_MODULE_5__["SwitcherList"]; });
|
|
23919
24027
|
|
|
23920
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
24028
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitcherListItem", function() { return _panel_panel_module__WEBPACK_IMPORTED_MODULE_5__["SwitcherListItem"]; });
|
|
23921
24029
|
|
|
23922
24030
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModule", function() { return _panel_panel_module__WEBPACK_IMPORTED_MODULE_5__["PanelModule"]; });
|
|
23923
24031
|
|
|
@@ -23985,8 +24093,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23985
24093
|
/* harmony import */ var _dialog_dialog_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../dialog/dialog.module */ "./src/dialog/dialog.module.ts");
|
|
23986
24094
|
/* harmony import */ var _documentation_component_documentation_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../documentation-component/documentation.module */ "./src/documentation-component/documentation.module.ts");
|
|
23987
24095
|
var withStorySource = __webpack_require__(/*! @storybook/addon-storysource */ "./node_modules/@storybook/addon-storysource/dist/index.js").withStorySource;
|
|
23988
|
-
var __STORY__ = "import { action } from '@storybook/addon-actions';\nimport { storiesOf, moduleMetadata } from '@storybook/angular';\nimport { withKnobs, boolean } from '@storybook/addon-knobs/angular';\n\nimport { UIShellModule } from './ui-shell.module';\nimport { SearchModule } from './../search/search.module';\nimport { DialogModule } from './../dialog/dialog.module';\nimport { DocumentationModule } from './../documentation-component/documentation.module';\n\nstoriesOf('UI Shell', module)\n .addDecorator(\n moduleMetadata({\n imports: [UIShellModule, SearchModule, DialogModule, DocumentationModule],\n })\n )\n .addDecorator(withKnobs)\n .add('Header', () => ({\n template: `\n\t\t\t<ibm-header name=\"[Platform]\">\n\t\t\t\t<ibm-hamburger *ngIf=\"hasHamburger\" (click)=\"expanded($event)\"></ibm-hamburger>\n\t\t\t\t<ibm-header-navigation>\n\t\t\t\t\t<ibm-header-item>Catalog</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Docs</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Support</ibm-header-item>\n\t\t\t\t\t<ibm-header-menu title=\"Manage\">\n\t\t\t\t\t\t<ibm-header-item>Link 1</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 2</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 3</ibm-header-item>\n\t\t\t\t\t</ibm-header-menu>\n\t\t\t\t</ibm-header-navigation>\n\t\t\t\t<ibm-header-global>\n\t\t\t\t\t<ibm-header-action title=\"action\">\n\t\t\t\t\t\t<svg width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t\t<ibm-header-action title=\"action\">\n\t\t\t\t\t\t<svg width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t</ibm-header-global>\n\t\t\t</ibm-header>\n\t\t`,\n props: {\n hasHamburger: boolean('Show Hamburger', true),\n expanded: action('Menu clicked'),\n },\n }))\n .add('Side Navigation', () => ({\n template: `\n\t\t\t<ibm-sidenav>\n\t\t\t\t<ibm-sidenav-header title=\"Side navigation title\" [options]=\"options\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t</ibm-sidenav-header>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-menu title=\"Category title\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t</ibm-sidenav-menu>\n\t\t\t</ibm-sidenav>\n\t\t`,\n props: {\n options: [\n {\n content: 'Option 1',\n value: 1,\n },\n {\n content: 'Option 2',\n value: 2,\n },\n {\n content: 'Option 3',\n value: 3,\n },\n ],\n },\n }))\n .add('Together', () => ({\n template: `\n\t\t\t<ibm-header name=\"[Platform]\">\n\t\t\t\t<ibm-hamburger *ngIf=\"hasHamburger\"></ibm-hamburger>\n\t\t\t\t<ibm-header-navigation>\n\t\t\t\t\t<ibm-header-item>Catalog</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Docs</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Support</ibm-header-item>\n\t\t\t\t\t<ibm-header-menu title=\"Manage\">\n\t\t\t\t\t\t<ibm-header-item>Link 1</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 2</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 3</ibm-header-item>\n\t\t\t\t\t</ibm-header-menu>\n\t\t\t\t</ibm-header-navigation>\n\t\t\t\t<ibm-header-global>\n\t\t\t\t\t<ibm-header-action #firstAction title=\"action\">\n\t\t\t\t\t\t<svg class=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t\t<ibm-header-action #secondAction title=\"action\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tclass=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t</ibm-header-global>\n\t\t\t</ibm-header>\n\t\t\t<ibm-sidenav>\n\t\t\t\t<ibm-sidenav-header title=\"Side navigation title\" [options]=\"options\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t</ibm-sidenav-header>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-menu title=\"Category title\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t</ibm-sidenav-menu>\n\t\t\t</ibm-sidenav>\n\t\t\t<ibm-panel [expanded]=\"firstAction.active\">\n\t\t\t\t<ibm-product-switcher header=\"My Products\">\n\t\t\t\t\t<ibm-search size=\"sm\" theme=\"light\"></ibm-search>\n\t\t\t\t\t<ibm-product-switcher-list>\n\t\t\t\t\t\t<ibm-product-switcher-list-item>\n\t\t\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\tOne\n\t\t\t\t\t\t\t<ibm-overflow-menu flip=\"true\">\n\t\t\t\t\t\t\t\t<ibm-overflow-menu-option>Option 1</ibm-overflow-menu-option>\n\t\t\t\t\t\t\t\t<ibm-overflow-menu-option>Option 2</ibm-overflow-menu-option>\n\t\t\t\t\t\t\t</ibm-overflow-menu>\n\t\t\t\t\t\t</ibm-product-switcher-list-item>\n\t\t\t\t\t</ibm-product-switcher-list>\n\t\t\t\t\t<ibm-product-switcher-item>\n\t\t\t\t\t\t<button class=\"bx--product-switcher__all-btn\">View all products</button>\n\t\t\t\t\t</ibm-product-switcher-item>\n\t\t\t\t</ibm-product-switcher>\n\t\t\t</ibm-panel>\n\t\t\t<ibm-panel [expanded]=\"secondAction.active\"></ibm-panel>\n\t\t`,\n props: {\n hasHamburger: boolean('Show Hamburger', true),\n options: [\n {\n content: 'Option 1',\n value: 1,\n },\n {\n content: 'Option 2',\n value: 2,\n },\n {\n content: 'Option 3',\n value: 3,\n },\n ],\n },\n }))\n .add('Header Documentation', () => ({\n template: `\n\t\t\t<ibm-documentation src=\"documentation/components/Header.html\"></ibm-documentation>\n\t\t`,\n }))\n .add('Side Nav Documentation', () => ({\n template: `\n\t\t\t<ibm-documentation src=\"documentation/components/SideNav.html\"></ibm-documentation>\n\t\t`,\n }));\n";
|
|
23989
|
-
var __ADDS_MAP__ = { "ui-shell--side-nav-documentation": { "startLoc": { "col": 7, "line":
|
|
24096
|
+
var __STORY__ = "import { action } from '@storybook/addon-actions';\nimport { storiesOf, moduleMetadata } from '@storybook/angular';\nimport { withKnobs, boolean } from '@storybook/addon-knobs/angular';\n\nimport { UIShellModule } from './ui-shell.module';\nimport { SearchModule } from './../search/search.module';\nimport { DialogModule } from './../dialog/dialog.module';\nimport { DocumentationModule } from './../documentation-component/documentation.module';\n\nstoriesOf('UI Shell', module)\n .addDecorator(\n moduleMetadata({\n imports: [UIShellModule, SearchModule, DialogModule, DocumentationModule],\n })\n )\n .addDecorator(withKnobs)\n .add('Header', () => ({\n template: `\n\t\t\t<ibm-header name=\"[Platform]\">\n\t\t\t\t<ibm-hamburger *ngIf=\"hasHamburger\" (click)=\"expanded($event)\"></ibm-hamburger>\n\t\t\t\t<ibm-header-navigation>\n\t\t\t\t\t<ibm-header-item>Catalog</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Docs</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Support</ibm-header-item>\n\t\t\t\t\t<ibm-header-menu title=\"Manage\">\n\t\t\t\t\t\t<ibm-header-item>Link 1</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 2</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 3</ibm-header-item>\n\t\t\t\t\t</ibm-header-menu>\n\t\t\t\t</ibm-header-navigation>\n\t\t\t\t<ibm-header-global>\n\t\t\t\t\t<ibm-header-action title=\"action\">\n\t\t\t\t\t\t<svg width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t\t<ibm-header-action title=\"action\">\n\t\t\t\t\t\t<svg width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t</ibm-header-global>\n\t\t\t</ibm-header>\n\t\t`,\n props: {\n hasHamburger: boolean('Show Hamburger', true),\n expanded: action('Menu clicked'),\n },\n }))\n .add('Side Navigation', () => ({\n template: `\n\t\t\t<ibm-sidenav>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-menu title=\"Category title\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t</ibm-sidenav-menu>\n\t\t\t</ibm-sidenav>\n\t\t`,\n props: {\n options: [\n {\n content: 'Option 1',\n value: 1,\n },\n {\n content: 'Option 2',\n value: 2,\n },\n {\n content: 'Option 3',\n value: 3,\n },\n ],\n },\n }))\n .add('Together', () => ({\n template: `\n\t\t\t<ibm-header name=\"[Platform]\">\n\t\t\t\t<ibm-hamburger *ngIf=\"hasHamburger\" [active]=\"active\" (selected)=\"selected()\"></ibm-hamburger>\n\t\t\t\t<ibm-header-navigation>\n\t\t\t\t\t<ibm-header-item>Catalog</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Docs</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Support</ibm-header-item>\n\t\t\t\t\t<ibm-header-menu title=\"Manage\">\n\t\t\t\t\t\t<ibm-header-item>Link 1</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 2</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 3</ibm-header-item>\n\t\t\t\t\t</ibm-header-menu>\n\t\t\t\t</ibm-header-navigation>\n\t\t\t\t<ibm-header-global>\n\t\t\t\t\t<ibm-header-action #firstAction title=\"action\">\n\t\t\t\t\t\t<svg class=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t\t<ibm-header-action #secondAction title=\"action\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tclass=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t</ibm-header-global>\n\t\t\t</ibm-header>\n\t\t\t<ibm-sidenav [expanded]=\"active\">\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-menu title=\"Category title\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t</ibm-sidenav-menu>\n\t\t\t</ibm-sidenav>\n\t\t\t<ibm-panel [expanded]=\"firstAction.active\"></ibm-panel>\n\t\t\t<ibm-panel [expanded]=\"secondAction.active\">\n\t\t\t\t<ibm-switcher-list>\n\t\t\t\t\t<ibm-switcher-list-item active=\"true\">Switcher item one</ibm-switcher-list-item>\n\t\t\t\t\t<ibm-switcher-list-item>Switcher item two</ibm-switcher-list-item>\n\t\t\t\t\t<ibm-switcher-list-item>Switcher item three</ibm-switcher-list-item>\n\t\t\t\t\t<ibm-switcher-list-item>Switcher item four</ibm-switcher-list-item>\n\t\t\t\t</ibm-switcher-list>\n\t\t\t</ibm-panel>\n\t\t`,\n props: {\n hasHamburger: boolean('Show Hamburger', true),\n active: boolean('Left panel active', true),\n selected: () => {\n console.log('selected');\n },\n options: [\n {\n content: 'Option 1',\n value: 1,\n },\n {\n content: 'Option 2',\n value: 2,\n },\n {\n content: 'Option 3',\n value: 3,\n },\n ],\n },\n }))\n .add('Header Documentation', () => ({\n template: `\n\t\t\t<ibm-documentation src=\"documentation/components/Header.html\"></ibm-documentation>\n\t\t`,\n }))\n .add('Side Nav Documentation', () => ({\n template: `\n\t\t\t<ibm-documentation src=\"documentation/components/SideNav.html\"></ibm-documentation>\n\t\t`,\n }));\n";
|
|
24097
|
+
var __ADDS_MAP__ = { "ui-shell--side-nav-documentation": { "startLoc": { "col": 7, "line": 242 }, "endLoc": { "col": 4, "line": 246 } }, "ui-shell--header-documentation": { "startLoc": { "col": 7, "line": 237 }, "endLoc": { "col": 4, "line": 241 } }, "ui-shell--together": { "startLoc": { "col": 7, "line": 122 }, "endLoc": { "col": 4, "line": 236 } }, "ui-shell--side-navigation": { "startLoc": { "col": 7, "line": 62 }, "endLoc": { "col": 4, "line": 121 } }, "ui-shell--header": { "startLoc": { "col": 7, "line": 17 }, "endLoc": { "col": 4, "line": 61 } } };
|
|
23990
24098
|
|
|
23991
24099
|
|
|
23992
24100
|
|
|
@@ -24012,7 +24120,7 @@ Object(_storybook_angular__WEBPACK_IMPORTED_MODULE_1__["storiesOf"])("UI Shell",
|
|
|
24012
24120
|
}
|
|
24013
24121
|
}); })
|
|
24014
24122
|
.add("Side Navigation", function () { return ({
|
|
24015
|
-
template: "\n\t\t\t<ibm-sidenav>\n\t\t\t\t<ibm-sidenav-
|
|
24123
|
+
template: "\n\t\t\t<ibm-sidenav>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-menu title=\"Category title\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t</ibm-sidenav-menu>\n\t\t\t</ibm-sidenav>\n\t\t",
|
|
24016
24124
|
props: {
|
|
24017
24125
|
options: [
|
|
24018
24126
|
{
|
|
@@ -24031,9 +24139,11 @@ Object(_storybook_angular__WEBPACK_IMPORTED_MODULE_1__["storiesOf"])("UI Shell",
|
|
|
24031
24139
|
}
|
|
24032
24140
|
}); })
|
|
24033
24141
|
.add("Together", function () { return ({
|
|
24034
|
-
template: "\n\t\t\t<ibm-header name=\"[Platform]\">\n\t\t\t\t<ibm-hamburger *ngIf=\"hasHamburger\"></ibm-hamburger>\n\t\t\t\t<ibm-header-navigation>\n\t\t\t\t\t<ibm-header-item>Catalog</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Docs</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Support</ibm-header-item>\n\t\t\t\t\t<ibm-header-menu title=\"Manage\">\n\t\t\t\t\t\t<ibm-header-item>Link 1</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 2</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 3</ibm-header-item>\n\t\t\t\t\t</ibm-header-menu>\n\t\t\t\t</ibm-header-navigation>\n\t\t\t\t<ibm-header-global>\n\t\t\t\t\t<ibm-header-action #firstAction title=\"action\">\n\t\t\t\t\t\t<svg class=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t\t<ibm-header-action #secondAction title=\"action\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tclass=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t</ibm-header-global>\n\t\t\t</ibm-header>\n\t\t\t<ibm-sidenav
|
|
24142
|
+
template: "\n\t\t\t<ibm-header name=\"[Platform]\">\n\t\t\t\t<ibm-hamburger *ngIf=\"hasHamburger\" [active]=\"active\" (selected)=\"selected()\"></ibm-hamburger>\n\t\t\t\t<ibm-header-navigation>\n\t\t\t\t\t<ibm-header-item>Catalog</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Docs</ibm-header-item>\n\t\t\t\t\t<ibm-header-item>Support</ibm-header-item>\n\t\t\t\t\t<ibm-header-menu title=\"Manage\">\n\t\t\t\t\t\t<ibm-header-item>Link 1</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 2</ibm-header-item>\n\t\t\t\t\t\t<ibm-header-item>Link 3</ibm-header-item>\n\t\t\t\t\t</ibm-header-menu>\n\t\t\t\t</ibm-header-navigation>\n\t\t\t\t<ibm-header-global>\n\t\t\t\t\t<ibm-header-action #firstAction title=\"action\">\n\t\t\t\t\t\t<svg class=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t\t<ibm-header-action #secondAction title=\"action\">\n\t\t\t\t\t\t<svg\n\t\t\t\t\t\t\tclass=\"bx--navigation-menu-panel-expand-icon\"\n\t\t\t\t\t\t\twidth=\"20\"\n\t\t\t\t\t\t\theight=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</ibm-header-action>\n\t\t\t\t</ibm-header-global>\n\t\t\t</ibm-header>\n\t\t\t<ibm-sidenav [expanded]=\"active\">\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-item>\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\tLink\n\t\t\t\t</ibm-sidenav-item>\n\t\t\t\t<ibm-sidenav-menu title=\"Category title\">\n\t\t\t\t\t<svg icon width=\"20\" height=\"20\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" aria-hidden=\"true\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M8.24 25.14L7 26.67a14 14 0 0 0 4.18 2.44l.68-1.88a12\n\t\t\t\t\t\t\t12 0 0 1-3.62-2.09zm-4.05-7.07l-2 .35A13.89 13.89 0 0 0 3.86\n\t\t\t\t\t\t\t23l1.73-1a11.9 11.9 0 0 1-1.4-3.93zm7.63-13.31l-.68-1.88A14\n\t\t\t\t\t\t\t14 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59\n\t\t\t\t\t\t\t10L3.86 9a13.89 13.89 0 0 0-1.64 4.54l2 .35A11.9 11.9 0 0 1 5.59\n\t\t\t\t\t\t\t10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t\t<ibm-sidenav-item>Link</ibm-sidenav-item>\n\t\t\t\t</ibm-sidenav-menu>\n\t\t\t</ibm-sidenav>\n\t\t\t<ibm-panel [expanded]=\"firstAction.active\"></ibm-panel>\n\t\t\t<ibm-panel [expanded]=\"secondAction.active\">\n\t\t\t\t<ibm-switcher-list>\n\t\t\t\t\t<ibm-switcher-list-item active=\"true\">Switcher item one</ibm-switcher-list-item>\n\t\t\t\t\t<ibm-switcher-list-item>Switcher item two</ibm-switcher-list-item>\n\t\t\t\t\t<ibm-switcher-list-item>Switcher item three</ibm-switcher-list-item>\n\t\t\t\t\t<ibm-switcher-list-item>Switcher item four</ibm-switcher-list-item>\n\t\t\t\t</ibm-switcher-list>\n\t\t\t</ibm-panel>\n\t\t",
|
|
24035
24143
|
props: {
|
|
24036
24144
|
hasHamburger: Object(_storybook_addon_knobs_angular__WEBPACK_IMPORTED_MODULE_2__["boolean"])("Show Hamburger", true),
|
|
24145
|
+
active: Object(_storybook_addon_knobs_angular__WEBPACK_IMPORTED_MODULE_2__["boolean"])("Left panel active", true),
|
|
24146
|
+
selected: function () { console.log("selected"); },
|
|
24037
24147
|
options: [
|
|
24038
24148
|
{
|
|
24039
24149
|
content: "Option 1",
|
|
@@ -24173,4 +24283,4 @@ module.exports = __webpack_require__(/*! /home/travis/build/IBM/carbon-component
|
|
|
24173
24283
|
/***/ })
|
|
24174
24284
|
|
|
24175
24285
|
},[[0,"runtime~main","vendors~main"]]]);
|
|
24176
|
-
//# sourceMappingURL=main.
|
|
24286
|
+
//# sourceMappingURL=main.b1eb580e9726667e78a3.bundle.js.map
|