@covalent/core 3.1.0 → 3.1.2-beta.6
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/breadcrumbs/covalent-core-breadcrumbs.metadata.json +1 -1
- package/breadcrumbs/package.json +1 -3
- package/bundles/covalent-core-breadcrumbs.umd.js +131 -167
- package/bundles/covalent-core-breadcrumbs.umd.js.map +1 -1
- package/bundles/covalent-core-breadcrumbs.umd.min.js +1 -1
- package/bundles/covalent-core-breadcrumbs.umd.min.js.map +1 -1
- package/bundles/covalent-core-chips.umd.js +533 -708
- package/bundles/covalent-core-chips.umd.js.map +1 -1
- package/bundles/covalent-core-chips.umd.min.js +12 -12
- package/bundles/covalent-core-chips.umd.min.js.map +1 -1
- package/bundles/covalent-core-common.umd.js +566 -571
- package/bundles/covalent-core-common.umd.js.map +1 -1
- package/bundles/covalent-core-common.umd.min.js +13 -12
- package/bundles/covalent-core-common.umd.min.js.map +1 -1
- package/bundles/covalent-core-data-table.umd.js +727 -1038
- package/bundles/covalent-core-data-table.umd.js.map +1 -1
- package/bundles/covalent-core-data-table.umd.min.js +12 -12
- package/bundles/covalent-core-data-table.umd.min.js.map +1 -1
- package/bundles/covalent-core-dialogs.umd.js +515 -592
- package/bundles/covalent-core-dialogs.umd.js.map +1 -1
- package/bundles/covalent-core-dialogs.umd.min.js +1 -15
- package/bundles/covalent-core-dialogs.umd.min.js.map +1 -1
- package/bundles/covalent-core-dynamic-menu.umd.js +73 -62
- package/bundles/covalent-core-dynamic-menu.umd.js.map +1 -1
- package/bundles/covalent-core-dynamic-menu.umd.min.js +1 -1
- package/bundles/covalent-core-dynamic-menu.umd.min.js.map +1 -1
- package/bundles/covalent-core-expansion-panel.umd.js +465 -449
- package/bundles/covalent-core-expansion-panel.umd.js.map +1 -1
- package/bundles/covalent-core-expansion-panel.umd.min.js +12 -12
- package/bundles/covalent-core-expansion-panel.umd.min.js.map +1 -1
- package/bundles/covalent-core-file.umd.js +533 -598
- package/bundles/covalent-core-file.umd.js.map +1 -1
- package/bundles/covalent-core-file.umd.min.js +13 -12
- package/bundles/covalent-core-file.umd.min.js.map +1 -1
- package/bundles/covalent-core-json-formatter.umd.js +101 -152
- package/bundles/covalent-core-json-formatter.umd.js.map +1 -1
- package/bundles/covalent-core-json-formatter.umd.min.js +1 -1
- package/bundles/covalent-core-json-formatter.umd.min.js.map +1 -1
- package/bundles/covalent-core-layout.umd.js +845 -883
- package/bundles/covalent-core-layout.umd.js.map +1 -1
- package/bundles/covalent-core-layout.umd.min.js +13 -12
- package/bundles/covalent-core-layout.umd.min.js.map +1 -1
- package/bundles/covalent-core-loading.umd.js +481 -723
- package/bundles/covalent-core-loading.umd.js.map +1 -1
- package/bundles/covalent-core-loading.umd.min.js +12 -12
- package/bundles/covalent-core-loading.umd.min.js.map +1 -1
- package/bundles/covalent-core-media.umd.js +395 -375
- package/bundles/covalent-core-media.umd.js.map +1 -1
- package/bundles/covalent-core-media.umd.min.js +12 -12
- package/bundles/covalent-core-media.umd.min.js.map +1 -1
- package/bundles/covalent-core-menu.umd.js +37 -17
- package/bundles/covalent-core-menu.umd.js.map +1 -1
- package/bundles/covalent-core-menu.umd.min.js +1 -1
- package/bundles/covalent-core-menu.umd.min.js.map +1 -1
- package/bundles/covalent-core-message.umd.js +96 -152
- package/bundles/covalent-core-message.umd.js.map +1 -1
- package/bundles/covalent-core-message.umd.min.js +1 -1
- package/bundles/covalent-core-message.umd.min.js.map +1 -1
- package/bundles/covalent-core-nav-links.umd.js +63 -75
- package/bundles/covalent-core-nav-links.umd.js.map +1 -1
- package/bundles/covalent-core-nav-links.umd.min.js +1 -1
- package/bundles/covalent-core-nav-links.umd.min.js.map +1 -1
- package/bundles/covalent-core-notifications.umd.js +77 -101
- package/bundles/covalent-core-notifications.umd.js.map +1 -1
- package/bundles/covalent-core-notifications.umd.min.js +1 -1
- package/bundles/covalent-core-notifications.umd.min.js.map +1 -1
- package/bundles/covalent-core-paging.umd.js +89 -166
- package/bundles/covalent-core-paging.umd.js.map +1 -1
- package/bundles/covalent-core-paging.umd.min.js +1 -1
- package/bundles/covalent-core-paging.umd.min.js.map +1 -1
- package/bundles/covalent-core-search.umd.js +469 -418
- package/bundles/covalent-core-search.umd.js.map +1 -1
- package/bundles/covalent-core-search.umd.min.js +12 -12
- package/bundles/covalent-core-search.umd.min.js.map +1 -1
- package/bundles/covalent-core-sidesheet.umd.js +72 -52
- package/bundles/covalent-core-sidesheet.umd.js.map +1 -1
- package/bundles/covalent-core-sidesheet.umd.min.js +1 -1
- package/bundles/covalent-core-sidesheet.umd.min.js.map +1 -1
- package/bundles/covalent-core-steps.umd.js +663 -822
- package/bundles/covalent-core-steps.umd.js.map +1 -1
- package/bundles/covalent-core-steps.umd.min.js +12 -12
- package/bundles/covalent-core-steps.umd.min.js.map +1 -1
- package/bundles/covalent-core-tab-select.umd.js +446 -385
- package/bundles/covalent-core-tab-select.umd.js.map +1 -1
- package/bundles/covalent-core-tab-select.umd.min.js +12 -12
- package/bundles/covalent-core-tab-select.umd.min.js.map +1 -1
- package/bundles/covalent-core-user-profile.umd.js +65 -48
- package/bundles/covalent-core-user-profile.umd.js.map +1 -1
- package/bundles/covalent-core-user-profile.umd.min.js +1 -1
- package/bundles/covalent-core-user-profile.umd.min.js.map +1 -1
- package/bundles/covalent-core-virtual-scroll.umd.js +412 -356
- package/bundles/covalent-core-virtual-scroll.umd.js.map +1 -1
- package/bundles/covalent-core-virtual-scroll.umd.min.js +12 -12
- package/bundles/covalent-core-virtual-scroll.umd.min.js.map +1 -1
- package/bundles/covalent-core.umd.js +0 -8
- package/bundles/covalent-core.umd.js.map +1 -1
- package/chips/covalent-core-chips.metadata.json +1 -1
- package/chips/package.json +1 -3
- package/common/_common-theme.scss +11 -0
- package/common/package.json +1 -3
- package/data-table/covalent-core-data-table.metadata.json +1 -1
- package/data-table/package.json +1 -3
- package/dialogs/_dialog-theme.scss +6 -0
- package/dialogs/covalent-core-dialogs.metadata.json +1 -1
- package/dialogs/package.json +1 -3
- package/dialogs/window-dialog/window-dialog.component.scss +4 -0
- package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -4
- package/dynamic-menu/package.json +1 -3
- package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +4 -3
- package/esm2015/breadcrumbs/breadcrumbs.component.js +3 -2
- package/esm2015/breadcrumbs/breadcrumbs.module.js +3 -2
- package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +3 -2
- package/esm2015/breadcrumbs/index.js +3 -2
- package/esm2015/breadcrumbs/public-api.js +3 -2
- package/esm2015/chips/chips.component.js +4 -3
- package/esm2015/chips/chips.module.js +3 -2
- package/esm2015/chips/covalent-core-chips.js +3 -2
- package/esm2015/chips/index.js +3 -2
- package/esm2015/chips/public-api.js +3 -2
- package/esm2015/common/animations/bounce/bounce.animation.js +3 -2
- package/esm2015/common/animations/collapse/collapse.animation.js +3 -2
- package/esm2015/common/animations/common/interfaces.js +3 -2
- package/esm2015/common/animations/fade/fadeInOut.animation.js +3 -2
- package/esm2015/common/animations/flash/flash.animation.js +3 -2
- package/esm2015/common/animations/headshake/headshake.animation.js +3 -2
- package/esm2015/common/animations/jello/jello.animation.js +3 -2
- package/esm2015/common/animations/pulse/pulse.animation.js +3 -2
- package/esm2015/common/animations/rotate/rotate.animation.js +3 -2
- package/esm2015/common/behaviors/control-value-accesor.mixin.js +3 -2
- package/esm2015/common/behaviors/disable-ripple.mixin.js +3 -2
- package/esm2015/common/behaviors/disabled.mixin.js +3 -2
- package/esm2015/common/common.module.js +3 -2
- package/esm2015/common/covalent-core-common.js +3 -2
- package/esm2015/common/directives/fullscreen/fullscreen.directive.js +3 -2
- package/esm2015/common/forms/auto-trim/auto-trim.directive.js +3 -2
- package/esm2015/common/forms/validators/validators.js +3 -2
- package/esm2015/common/functions/clipboard.js +3 -2
- package/esm2015/common/functions/convert.js +3 -2
- package/esm2015/common/functions/download.js +3 -2
- package/esm2015/common/functions/file.js +3 -2
- package/esm2015/common/index.js +3 -2
- package/esm2015/common/pipes/bytes/bytes.pipe.js +3 -2
- package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +3 -2
- package/esm2015/common/pipes/digits/digits.pipe.js +3 -2
- package/esm2015/common/pipes/time-ago/time-ago.pipe.js +3 -2
- package/esm2015/common/pipes/time-difference/time-difference.pipe.js +3 -2
- package/esm2015/common/pipes/time-until/time-until.pipe.js +3 -2
- package/esm2015/common/pipes/truncate/truncate.pipe.js +3 -2
- package/esm2015/common/public-api.js +3 -2
- package/esm2015/common/services/icon.service.js +3 -2
- package/esm2015/common/services/router-path.service.js +3 -2
- package/esm2015/covalent-core.js +3 -2
- package/esm2015/data-table/covalent-core-data-table.js +3 -2
- package/esm2015/data-table/data-table-cell/data-table-cell.component.js +4 -3
- package/esm2015/data-table/data-table-column/data-table-column.component.js +4 -3
- package/esm2015/data-table/data-table-row/data-table-row.component.js +3 -2
- package/esm2015/data-table/data-table-table/data-table-table.component.js +4 -3
- package/esm2015/data-table/data-table.component.js +6 -5
- package/esm2015/data-table/data-table.module.js +3 -2
- package/esm2015/data-table/directives/data-table-template.directive.js +3 -2
- package/esm2015/data-table/index.js +3 -2
- package/esm2015/data-table/public-api.js +3 -2
- package/esm2015/data-table/services/data-table.service.js +3 -2
- package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +3 -2
- package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +3 -2
- package/esm2015/dialogs/covalent-core-dialogs.js +3 -2
- package/esm2015/dialogs/dialog.component.js +4 -3
- package/esm2015/dialogs/dialogs.module.js +3 -2
- package/esm2015/dialogs/index.js +3 -2
- package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +4 -3
- package/esm2015/dialogs/public-api.js +3 -2
- package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +14 -13
- package/esm2015/dialogs/services/dialog.service.js +3 -2
- package/esm2015/dialogs/window-dialog/window-dialog.component.js +4 -3
- package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +3 -2
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +5 -4
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +4 -3
- package/esm2015/dynamic-menu/dynamic-menu.component.js +3 -2
- package/esm2015/dynamic-menu/dynamic-menu.module.js +3 -2
- package/esm2015/dynamic-menu/index.js +3 -2
- package/esm2015/dynamic-menu/public_api.js +3 -2
- package/esm2015/expansion-panel/covalent-core-expansion-panel.js +3 -2
- package/esm2015/expansion-panel/expansion-panel-group.component.js +3 -2
- package/esm2015/expansion-panel/expansion-panel.component.js +4 -3
- package/esm2015/expansion-panel/expansion-panel.module.js +3 -2
- package/esm2015/expansion-panel/index.js +3 -2
- package/esm2015/expansion-panel/public-api.js +3 -2
- package/esm2015/file/covalent-core-file.js +3 -2
- package/esm2015/file/directives/file-drop.directive.js +3 -2
- package/esm2015/file/directives/file-select.directive.js +3 -2
- package/esm2015/file/file-input/file-input.component.js +3 -2
- package/esm2015/file/file-upload/file-upload.component.js +4 -3
- package/esm2015/file/file.module.js +3 -2
- package/esm2015/file/index.js +3 -2
- package/esm2015/file/public-api.js +3 -2
- package/esm2015/file/services/file.service.js +3 -2
- package/esm2015/index.js +4 -2
- package/esm2015/json-formatter/covalent-core-json-formatter.js +3 -2
- package/esm2015/json-formatter/index.js +3 -2
- package/esm2015/json-formatter/json-formatter.component.js +4 -3
- package/esm2015/json-formatter/json-formatter.module.js +3 -2
- package/esm2015/json-formatter/public-api.js +3 -2
- package/esm2015/layout/covalent-core-layout.js +4 -3
- package/esm2015/layout/index.js +4 -3
- package/esm2015/layout/layout-card-over/layout-card-over.component.js +4 -3
- package/esm2015/layout/layout-footer/layout-footer.component.js +3 -2
- package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +4 -3
- package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +7 -6
- package/esm2015/layout/layout-nav/layout-nav.component.js +4 -3
- package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +4 -3
- package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +7 -6
- package/esm2015/layout/layout-toggle.class.js +22 -12
- package/esm2015/layout/layout.component.js +4 -3
- package/esm2015/layout/layout.directives.js +7 -6
- package/esm2015/layout/layout.module.js +3 -2
- package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +4 -3
- package/esm2015/layout/public-api.js +4 -3
- package/esm2015/loading/covalent-core-loading.js +3 -2
- package/esm2015/loading/directives/loading.directive.js +3 -2
- package/esm2015/loading/index.js +3 -2
- package/esm2015/loading/loading.component.js +13 -12
- package/esm2015/loading/loading.module.js +3 -2
- package/esm2015/loading/public-api.js +3 -2
- package/esm2015/loading/services/loading.factory.js +3 -2
- package/esm2015/loading/services/loading.service.js +3 -2
- package/esm2015/media/covalent-core-media.js +3 -2
- package/esm2015/media/directives/media-toggle.directive.js +3 -2
- package/esm2015/media/index.js +3 -2
- package/esm2015/media/media.module.js +3 -2
- package/esm2015/media/public-api.js +3 -2
- package/esm2015/media/services/media.service.js +3 -2
- package/esm2015/menu/covalent-core-menu.js +3 -2
- package/esm2015/menu/index.js +3 -2
- package/esm2015/menu/menu.component.js +4 -3
- package/esm2015/menu/menu.module.js +3 -2
- package/esm2015/menu/public-api.js +3 -2
- package/esm2015/message/covalent-core-message.js +3 -2
- package/esm2015/message/index.js +3 -2
- package/esm2015/message/message.component.js +4 -3
- package/esm2015/message/message.module.js +3 -2
- package/esm2015/message/public-api.js +3 -2
- package/esm2015/nav-links/covalent-core-nav-links.js +3 -2
- package/esm2015/nav-links/index.js +3 -2
- package/esm2015/nav-links/nav-links.component.js +3 -2
- package/esm2015/nav-links/nav-links.module.js +3 -2
- package/esm2015/nav-links/public-api.js +3 -2
- package/esm2015/notifications/covalent-core-notifications.js +3 -2
- package/esm2015/notifications/index.js +3 -2
- package/esm2015/notifications/notification-count.component.js +10 -9
- package/esm2015/notifications/notifications.module.js +3 -2
- package/esm2015/notifications/public-api.js +3 -2
- package/esm2015/paging/covalent-core-paging.js +3 -2
- package/esm2015/paging/index.js +3 -2
- package/esm2015/paging/paging-bar.component.js +4 -3
- package/esm2015/paging/paging.module.js +3 -2
- package/esm2015/paging/public-api.js +3 -2
- package/esm2015/search/covalent-core-search.js +3 -2
- package/esm2015/search/index.js +3 -2
- package/esm2015/search/public-api.js +3 -2
- package/esm2015/search/search-box/search-box.component.js +4 -3
- package/esm2015/search/search-input/search-input.component.js +4 -3
- package/esm2015/search/search.module.js +3 -2
- package/esm2015/sidesheet/covalent-core-sidesheet.js +3 -2
- package/esm2015/sidesheet/index.js +3 -2
- package/esm2015/sidesheet/public-api.js +3 -2
- package/esm2015/sidesheet/sidesheet.component.js +4 -3
- package/esm2015/sidesheet/sidesheet.module.js +3 -2
- package/esm2015/steps/covalent-core-steps.js +3 -2
- package/esm2015/steps/index.js +3 -2
- package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +4 -3
- package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +4 -3
- package/esm2015/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +4 -3
- package/esm2015/steps/public-api.js +3 -2
- package/esm2015/steps/step-body/step-body.component.js +4 -3
- package/esm2015/steps/step-header/step-header.component.js +4 -3
- package/esm2015/steps/step.component.js +6 -5
- package/esm2015/steps/steps.component.js +6 -5
- package/esm2015/steps/steps.module.js +3 -2
- package/esm2015/tab-select/covalent-core-tab-select.js +3 -2
- package/esm2015/tab-select/index.js +3 -2
- package/esm2015/tab-select/public-api.js +3 -2
- package/esm2015/tab-select/tab-option.component.js +3 -2
- package/esm2015/tab-select/tab-select.component.js +3 -2
- package/esm2015/tab-select/tab-select.module.js +3 -2
- package/esm2015/user-profile/covalent-core-user-profile.js +3 -2
- package/esm2015/user-profile/index.js +3 -2
- package/esm2015/user-profile/public_api.js +3 -2
- package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +4 -3
- package/esm2015/user-profile/user-profile.component.js +3 -2
- package/esm2015/user-profile/user-profile.module.js +3 -2
- package/esm2015/virtual-scroll/covalent-core-virtual-scroll.js +3 -2
- package/esm2015/virtual-scroll/index.js +3 -2
- package/esm2015/virtual-scroll/public-api.js +3 -2
- package/esm2015/virtual-scroll/virtual-scroll-container.component.js +4 -3
- package/esm2015/virtual-scroll/virtual-scroll-row.directive.js +3 -2
- package/esm2015/virtual-scroll/virtual-scroll.module.js +3 -2
- package/expansion-panel/covalent-core-expansion-panel.metadata.json +1 -1
- package/expansion-panel/package.json +1 -3
- package/fesm2015/covalent-core-breadcrumbs.js +13 -7
- package/fesm2015/covalent-core-breadcrumbs.js.map +1 -1
- package/fesm2015/covalent-core-chips.js +11 -6
- package/fesm2015/covalent-core-chips.js.map +1 -1
- package/fesm2015/covalent-core-common.js +62 -31
- package/fesm2015/covalent-core-common.js.map +1 -1
- package/fesm2015/covalent-core-data-table.js +28 -17
- package/fesm2015/covalent-core-data-table.js.map +1 -1
- package/fesm2015/covalent-core-dialogs.js +36 -25
- package/fesm2015/covalent-core-dialogs.js.map +1 -1
- package/fesm2015/covalent-core-dynamic-menu.js +17 -10
- package/fesm2015/covalent-core-dynamic-menu.js.map +1 -1
- package/fesm2015/covalent-core-expansion-panel.js +13 -7
- package/fesm2015/covalent-core-expansion-panel.js.map +1 -1
- package/fesm2015/covalent-core-file.js +19 -10
- package/fesm2015/covalent-core-file.js.map +1 -1
- package/fesm2015/covalent-core-json-formatter.js +11 -6
- package/fesm2015/covalent-core-json-formatter.js.map +1 -1
- package/fesm2015/covalent-core-layout.js +65 -41
- package/fesm2015/covalent-core-layout.js.map +1 -1
- package/fesm2015/covalent-core-loading.js +26 -18
- package/fesm2015/covalent-core-loading.js.map +1 -1
- package/fesm2015/covalent-core-media.js +12 -6
- package/fesm2015/covalent-core-media.js.map +1 -1
- package/fesm2015/covalent-core-menu.js +11 -6
- package/fesm2015/covalent-core-menu.js.map +1 -1
- package/fesm2015/covalent-core-message.js +11 -6
- package/fesm2015/covalent-core-message.js.map +1 -1
- package/fesm2015/covalent-core-nav-links.js +10 -5
- package/fesm2015/covalent-core-nav-links.js.map +1 -1
- package/fesm2015/covalent-core-notifications.js +17 -12
- package/fesm2015/covalent-core-notifications.js.map +1 -1
- package/fesm2015/covalent-core-paging.js +11 -6
- package/fesm2015/covalent-core-paging.js.map +1 -1
- package/fesm2015/covalent-core-search.js +14 -8
- package/fesm2015/covalent-core-search.js.map +1 -1
- package/fesm2015/covalent-core-sidesheet.js +11 -6
- package/fesm2015/covalent-core-sidesheet.js.map +1 -1
- package/fesm2015/covalent-core-steps.js +33 -22
- package/fesm2015/covalent-core-steps.js.map +1 -1
- package/fesm2015/covalent-core-tab-select.js +12 -6
- package/fesm2015/covalent-core-tab-select.js.map +1 -1
- package/fesm2015/covalent-core-user-profile.js +13 -7
- package/fesm2015/covalent-core-user-profile.js.map +1 -1
- package/fesm2015/covalent-core-virtual-scroll.js +13 -7
- package/fesm2015/covalent-core-virtual-scroll.js.map +1 -1
- package/fesm2015/covalent-core.js +4 -2
- package/fesm2015/covalent-core.js.map +1 -1
- package/file/covalent-core-file.metadata.json +1 -1
- package/file/package.json +1 -3
- package/json-formatter/covalent-core-json-formatter.metadata.json +1 -1
- package/json-formatter/package.json +1 -3
- package/layout/covalent-core-layout.metadata.json +1 -1
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +4 -4
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +4 -4
- package/layout/layout-toggle.class.d.ts +1 -1
- package/layout/layout.directives.d.ts +4 -4
- package/layout/package.json +1 -3
- package/loading/covalent-core-loading.metadata.json +1 -1
- package/loading/package.json +1 -3
- package/media/package.json +1 -3
- package/menu/covalent-core-menu.metadata.json +1 -1
- package/menu/package.json +1 -3
- package/message/covalent-core-message.metadata.json +1 -1
- package/message/package.json +1 -3
- package/nav-links/package.json +1 -3
- package/notifications/covalent-core-notifications.metadata.json +1 -1
- package/notifications/package.json +1 -3
- package/package.json +12 -12
- package/paging/covalent-core-paging.metadata.json +1 -1
- package/paging/package.json +1 -3
- package/schematics/components.js +1 -0
- package/schematics/components.js.map +1 -1
- package/schematics/ng-add/files/theme.scss +1 -1
- package/schematics/ng-add/index.js +4 -6
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-update/index.js +1 -0
- package/schematics/ng-update/index.js.map +1 -1
- package/schematics/ng-update/target-version.js +1 -0
- package/schematics/ng-update/target-version.js.map +1 -1
- package/schematics/version-names.js +1 -0
- package/schematics/version-names.js.map +1 -1
- package/search/covalent-core-search.metadata.json +1 -1
- package/search/package.json +1 -3
- package/sidesheet/covalent-core-sidesheet.metadata.json +1 -1
- package/sidesheet/package.json +1 -3
- package/steps/covalent-core-steps.metadata.json +1 -1
- package/steps/package.json +1 -3
- package/tab-select/covalent-core-tab-select.metadata.json +1 -1
- package/tab-select/package.json +1 -3
- package/theming/prebuilt/blue-grey-deep-orange.css +193 -28
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.css +193 -28
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/indigo-pink.css +193 -28
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.css +193 -28
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/teal-orange.css +193 -28
- package/theming/prebuilt/teal-orange.css.map +1 -1
- package/user-profile/covalent-core-user-profile.metadata.json +1 -1
- package/user-profile/package.json +1 -3
- package/virtual-scroll/covalent-core-virtual-scroll.metadata.json +1 -1
- package/virtual-scroll/package.json +1 -3
- package/esm5/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -216
- package/esm5/breadcrumbs/breadcrumbs.component.js +0 -286
- package/esm5/breadcrumbs/breadcrumbs.module.js +0 -23
- package/esm5/breadcrumbs/covalent-core-breadcrumbs.js +0 -9
- package/esm5/breadcrumbs/index.js +0 -6
- package/esm5/breadcrumbs/public-api.js +0 -8
- package/esm5/chips/chips.component.js +0 -1453
- package/esm5/chips/chips.module.js +0 -26
- package/esm5/chips/covalent-core-chips.js +0 -9
- package/esm5/chips/index.js +0 -6
- package/esm5/chips/public-api.js +0 -7
- package/esm5/common/animations/bounce/bounce.animation.js +0 -75
- package/esm5/common/animations/collapse/collapse.animation.js +0 -66
- package/esm5/common/animations/common/interfaces.js +0 -17
- package/esm5/common/animations/fade/fadeInOut.animation.js +0 -52
- package/esm5/common/animations/flash/flash.animation.js +0 -39
- package/esm5/common/animations/headshake/headshake.animation.js +0 -40
- package/esm5/common/animations/jello/jello.animation.js +0 -43
- package/esm5/common/animations/pulse/pulse.animation.js +0 -37
- package/esm5/common/animations/rotate/rotate.animation.js +0 -40
- package/esm5/common/behaviors/control-value-accesor.mixin.js +0 -127
- package/esm5/common/behaviors/disable-ripple.mixin.js +0 -75
- package/esm5/common/behaviors/disabled.mixin.js +0 -75
- package/esm5/common/common.module.js +0 -57
- package/esm5/common/covalent-core-common.js +0 -11
- package/esm5/common/directives/fullscreen/fullscreen.directive.js +0 -228
- package/esm5/common/forms/auto-trim/auto-trim.directive.js +0 -52
- package/esm5/common/forms/validators/validators.js +0 -73
- package/esm5/common/functions/clipboard.js +0 -29
- package/esm5/common/functions/convert.js +0 -120
- package/esm5/common/functions/download.js +0 -93
- package/esm5/common/functions/file.js +0 -28
- package/esm5/common/index.js +0 -6
- package/esm5/common/pipes/bytes/bytes.pipe.js +0 -54
- package/esm5/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -54
- package/esm5/common/pipes/digits/digits.pipe.js +0 -72
- package/esm5/common/pipes/time-ago/time-ago.pipe.js +0 -89
- package/esm5/common/pipes/time-difference/time-difference.pipe.js +0 -74
- package/esm5/common/pipes/time-until/time-until.pipe.js +0 -89
- package/esm5/common/pipes/truncate/truncate.pipe.js +0 -42
- package/esm5/common/public-api.js +0 -43
- package/esm5/common/services/icon.service.js +0 -1118
- package/esm5/common/services/router-path.service.js +0 -69
- package/esm5/covalent-core.js +0 -9
- package/esm5/data-table/covalent-core-data-table.js +0 -9
- package/esm5/data-table/data-table-cell/data-table-cell.component.js +0 -98
- package/esm5/data-table/data-table-column/data-table-column.component.js +0 -257
- package/esm5/data-table/data-table-row/data-table-row.component.js +0 -145
- package/esm5/data-table/data-table-table/data-table-table.component.js +0 -40
- package/esm5/data-table/data-table.component.js +0 -2079
- package/esm5/data-table/data-table.module.js +0 -42
- package/esm5/data-table/directives/data-table-template.directive.js +0 -31
- package/esm5/data-table/index.js +0 -6
- package/esm5/data-table/public-api.js +0 -13
- package/esm5/data-table/services/data-table.service.js +0 -184
- package/esm5/dialogs/alert-dialog/alert-dialog.component.js +0 -48
- package/esm5/dialogs/confirm-dialog/confirm-dialog.component.js +0 -63
- package/esm5/dialogs/covalent-core-dialogs.js +0 -10
- package/esm5/dialogs/dialog.component.js +0 -76
- package/esm5/dialogs/dialogs.module.js +0 -60
- package/esm5/dialogs/index.js +0 -6
- package/esm5/dialogs/prompt-dialog/prompt-dialog.component.js +0 -100
- package/esm5/dialogs/public-api.js +0 -12
- package/esm5/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -356
- package/esm5/dialogs/services/dialog.service.js +0 -441
- package/esm5/dialogs/window-dialog/window-dialog.component.js +0 -60
- package/esm5/dynamic-menu/covalent-core-dynamic-menu.js +0 -10
- package/esm5/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -45
- package/esm5/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -39
- package/esm5/dynamic-menu/dynamic-menu.component.js +0 -94
- package/esm5/dynamic-menu/dynamic-menu.module.js +0 -29
- package/esm5/dynamic-menu/index.js +0 -6
- package/esm5/dynamic-menu/public_api.js +0 -8
- package/esm5/expansion-panel/covalent-core-expansion-panel.js +0 -9
- package/esm5/expansion-panel/expansion-panel-group.component.js +0 -251
- package/esm5/expansion-panel/expansion-panel.component.js +0 -344
- package/esm5/expansion-panel/expansion-panel.module.js +0 -34
- package/esm5/expansion-panel/index.js +0 -6
- package/esm5/expansion-panel/public-api.js +0 -8
- package/esm5/file/covalent-core-file.js +0 -9
- package/esm5/file/directives/file-drop.directive.js +0 -276
- package/esm5/file/directives/file-select.directive.js +0 -124
- package/esm5/file/file-input/file-input.component.js +0 -225
- package/esm5/file/file-upload/file-upload.component.js +0 -284
- package/esm5/file/file.module.js +0 -38
- package/esm5/file/index.js +0 -6
- package/esm5/file/public-api.js +0 -11
- package/esm5/file/services/file.service.js +0 -137
- package/esm5/index.js +0 -5
- package/esm5/json-formatter/covalent-core-json-formatter.js +0 -9
- package/esm5/json-formatter/index.js +0 -6
- package/esm5/json-formatter/json-formatter.component.js +0 -433
- package/esm5/json-formatter/json-formatter.module.js +0 -23
- package/esm5/json-formatter/public-api.js +0 -7
- package/esm5/layout/covalent-core-layout.js +0 -9
- package/esm5/layout/index.js +0 -6
- package/esm5/layout/layout-card-over/layout-card-over.component.js +0 -72
- package/esm5/layout/layout-footer/layout-footer.component.js +0 -77
- package/esm5/layout/layout-manage-list/layout-manage-list.component.js +0 -175
- package/esm5/layout/layout-manage-list/layout-manage-list.directives.js +0 -147
- package/esm5/layout/layout-nav/layout-nav.component.js +0 -108
- package/esm5/layout/layout-nav-list/layout-nav-list.component.js +0 -257
- package/esm5/layout/layout-nav-list/layout-nav-list.directives.js +0 -147
- package/esm5/layout/layout-toggle.class.js +0 -214
- package/esm5/layout/layout.component.js +0 -175
- package/esm5/layout/layout.directives.js +0 -144
- package/esm5/layout/layout.module.js +0 -67
- package/esm5/layout/navigation-drawer/navigation-drawer.component.js +0 -364
- package/esm5/layout/public-api.js +0 -17
- package/esm5/loading/covalent-core-loading.js +0 -9
- package/esm5/loading/directives/loading.directive.js +0 -304
- package/esm5/loading/index.js +0 -6
- package/esm5/loading/loading.component.js +0 -367
- package/esm5/loading/loading.module.js +0 -33
- package/esm5/loading/public-api.js +0 -10
- package/esm5/loading/services/loading.factory.js +0 -378
- package/esm5/loading/services/loading.service.js +0 -494
- package/esm5/media/covalent-core-media.js +0 -9
- package/esm5/media/directives/media-toggle.directive.js +0 -261
- package/esm5/media/index.js +0 -6
- package/esm5/media/media.module.js +0 -23
- package/esm5/media/public-api.js +0 -8
- package/esm5/media/services/media.service.js +0 -229
- package/esm5/menu/covalent-core-menu.js +0 -9
- package/esm5/menu/index.js +0 -6
- package/esm5/menu/menu.component.js +0 -19
- package/esm5/menu/menu.module.js +0 -25
- package/esm5/menu/public-api.js +0 -7
- package/esm5/message/covalent-core-message.js +0 -9
- package/esm5/message/index.js +0 -6
- package/esm5/message/message.component.js +0 -402
- package/esm5/message/message.module.js +0 -24
- package/esm5/message/public-api.js +0 -7
- package/esm5/nav-links/covalent-core-nav-links.js +0 -9
- package/esm5/nav-links/index.js +0 -6
- package/esm5/nav-links/nav-links.component.js +0 -171
- package/esm5/nav-links/nav-links.module.js +0 -40
- package/esm5/nav-links/public-api.js +0 -7
- package/esm5/notifications/covalent-core-notifications.js +0 -9
- package/esm5/notifications/index.js +0 -6
- package/esm5/notifications/notification-count.component.js +0 -268
- package/esm5/notifications/notifications.module.js +0 -23
- package/esm5/notifications/public-api.js +0 -7
- package/esm5/paging/covalent-core-paging.js +0 -9
- package/esm5/paging/index.js +0 -6
- package/esm5/paging/paging-bar.component.js +0 -542
- package/esm5/paging/paging.module.js +0 -23
- package/esm5/paging/public-api.js +0 -7
- package/esm5/search/covalent-core-search.js +0 -9
- package/esm5/search/index.js +0 -6
- package/esm5/search/public-api.js +0 -8
- package/esm5/search/search-box/search-box.component.js +0 -298
- package/esm5/search/search-input/search-input.component.js +0 -297
- package/esm5/search/search.module.js +0 -26
- package/esm5/sidesheet/covalent-core-sidesheet.js +0 -9
- package/esm5/sidesheet/index.js +0 -6
- package/esm5/sidesheet/public-api.js +0 -7
- package/esm5/sidesheet/sidesheet.component.js +0 -89
- package/esm5/sidesheet/sidesheet.module.js +0 -30
- package/esm5/steps/covalent-core-steps.js +0 -9
- package/esm5/steps/index.js +0 -6
- package/esm5/steps/nav/nav-step-link/nav-step-link.component.js +0 -165
- package/esm5/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +0 -464
- package/esm5/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +0 -143
- package/esm5/steps/public-api.js +0 -13
- package/esm5/steps/step-body/step-body.component.js +0 -103
- package/esm5/steps/step-header/step-header.component.js +0 -101
- package/esm5/steps/step.component.js +0 -399
- package/esm5/steps/steps.component.js +0 -313
- package/esm5/steps/steps.module.js +0 -47
- package/esm5/tab-select/covalent-core-tab-select.js +0 -9
- package/esm5/tab-select/index.js +0 -6
- package/esm5/tab-select/public-api.js +0 -8
- package/esm5/tab-select/tab-option.component.js +0 -86
- package/esm5/tab-select/tab-select.component.js +0 -344
- package/esm5/tab-select/tab-select.module.js +0 -34
- package/esm5/user-profile/covalent-core-user-profile.js +0 -9
- package/esm5/user-profile/index.js +0 -6
- package/esm5/user-profile/public_api.js +0 -8
- package/esm5/user-profile/user-profile-menu/user-profile-menu.component.js +0 -42
- package/esm5/user-profile/user-profile.component.js +0 -29
- package/esm5/user-profile/user-profile.module.js +0 -36
- package/esm5/virtual-scroll/covalent-core-virtual-scroll.js +0 -9
- package/esm5/virtual-scroll/index.js +0 -6
- package/esm5/virtual-scroll/public-api.js +0 -8
- package/esm5/virtual-scroll/virtual-scroll-container.component.js +0 -468
- package/esm5/virtual-scroll/virtual-scroll-row.directive.js +0 -24
- package/esm5/virtual-scroll/virtual-scroll.module.js +0 -24
- package/fesm5/covalent-core-breadcrumbs.js +0 -535
- package/fesm5/covalent-core-breadcrumbs.js.map +0 -1
- package/fesm5/covalent-core-chips.js +0 -1484
- package/fesm5/covalent-core-chips.js.map +0 -1
- package/fesm5/covalent-core-common.js +0 -2961
- package/fesm5/covalent-core-common.js.map +0 -1
- package/fesm5/covalent-core-data-table.js +0 -2863
- package/fesm5/covalent-core-data-table.js.map +0 -1
- package/fesm5/covalent-core-dialogs.js +0 -1189
- package/fesm5/covalent-core-dialogs.js.map +0 -1
- package/fesm5/covalent-core-dynamic-menu.js +0 -214
- package/fesm5/covalent-core-dynamic-menu.js.map +0 -1
- package/fesm5/covalent-core-expansion-panel.js +0 -631
- package/fesm5/covalent-core-expansion-panel.js.map +0 -1
- package/fesm5/covalent-core-file.js +0 -1068
- package/fesm5/covalent-core-file.js.map +0 -1
- package/fesm5/covalent-core-json-formatter.js +0 -470
- package/fesm5/covalent-core-json-formatter.js.map +0 -1
- package/fesm5/covalent-core-layout.js +0 -1906
- package/fesm5/covalent-core-layout.js.map +0 -1
- package/fesm5/covalent-core-loading.js +0 -1562
- package/fesm5/covalent-core-loading.js.map +0 -1
- package/fesm5/covalent-core-media.js +0 -522
- package/fesm5/covalent-core-media.js.map +0 -1
- package/fesm5/covalent-core-menu.js +0 -58
- package/fesm5/covalent-core-menu.js.map +0 -1
- package/fesm5/covalent-core-message.js +0 -439
- package/fesm5/covalent-core-message.js.map +0 -1
- package/fesm5/covalent-core-nav-links.js +0 -224
- package/fesm5/covalent-core-nav-links.js.map +0 -1
- package/fesm5/covalent-core-notifications.js +0 -303
- package/fesm5/covalent-core-notifications.js.map +0 -1
- package/fesm5/covalent-core-paging.js +0 -579
- package/fesm5/covalent-core-paging.js.map +0 -1
- package/fesm5/covalent-core-search.js +0 -623
- package/fesm5/covalent-core-search.js.map +0 -1
- package/fesm5/covalent-core-sidesheet.js +0 -129
- package/fesm5/covalent-core-sidesheet.js.map +0 -1
- package/fesm5/covalent-core-steps.js +0 -1704
- package/fesm5/covalent-core-steps.js.map +0 -1
- package/fesm5/covalent-core-tab-select.js +0 -467
- package/fesm5/covalent-core-tab-select.js.map +0 -1
- package/fesm5/covalent-core-user-profile.js +0 -118
- package/fesm5/covalent-core-user-profile.js.map +0 -1
- package/fesm5/covalent-core-virtual-scroll.js +0 -526
- package/fesm5/covalent-core-virtual-scroll.js.map +0 -1
- package/fesm5/covalent-core.js +0 -10
- package/fesm5/covalent-core.js.map +0 -1
@@ -1,1906 +0,0 @@
|
|
1
|
-
import { Component, ViewChild, Input, HostListener, Directive, Optional, Inject, forwardRef, Renderer2, ElementRef, SecurityContext, ContentChildren, NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { ScrollingModule } from '@angular/cdk/scrolling';
|
4
|
-
import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
|
5
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
6
|
-
import { MatButtonModule } from '@angular/material/button';
|
7
|
-
import { MatIconModule } from '@angular/material/icon';
|
8
|
-
import { MatCardModule } from '@angular/material/card';
|
9
|
-
import { MatDividerModule } from '@angular/material/divider';
|
10
|
-
import { __extends } from 'tslib';
|
11
|
-
import { mixinDisabled, tdCollapseAnimation } from '@covalent/core/common';
|
12
|
-
import { Router } from '@angular/router';
|
13
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
14
|
-
|
15
|
-
/**
|
16
|
-
* @fileoverview added by tsickle
|
17
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
18
|
-
*/
|
19
|
-
var TdLayoutComponent = /** @class */ (function () {
|
20
|
-
function TdLayoutComponent() {
|
21
|
-
/**
|
22
|
-
* mode?: 'side', 'push' or 'over'
|
23
|
-
*
|
24
|
-
* The mode or styling of the sidenav.
|
25
|
-
* Defaults to "over".
|
26
|
-
* See "MatSidenav" documentation for more info.
|
27
|
-
*
|
28
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
29
|
-
*/
|
30
|
-
this.mode = 'over';
|
31
|
-
/**
|
32
|
-
* opened?: boolean
|
33
|
-
*
|
34
|
-
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
35
|
-
* Defaults to "false".
|
36
|
-
*
|
37
|
-
* See "MatSidenav" documentation for more info.
|
38
|
-
*
|
39
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
40
|
-
*/
|
41
|
-
this.opened = false;
|
42
|
-
/**
|
43
|
-
* sidenavWidth?: string
|
44
|
-
*
|
45
|
-
* Sets the "width" of the sidenav in either "px" or "%"
|
46
|
-
* Defaults to "320px".
|
47
|
-
*
|
48
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
49
|
-
*/
|
50
|
-
this.sidenavWidth = '320px';
|
51
|
-
/**
|
52
|
-
* containerAutosize?: boolean
|
53
|
-
*
|
54
|
-
* Sets "autosize" of the sidenav-container.
|
55
|
-
* Defaults to "false".
|
56
|
-
*
|
57
|
-
* See documentation for more info and potential performance risks.
|
58
|
-
*
|
59
|
-
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
60
|
-
*/
|
61
|
-
this.containerAutosize = false;
|
62
|
-
}
|
63
|
-
Object.defineProperty(TdLayoutComponent.prototype, "disableClose", {
|
64
|
-
/**
|
65
|
-
* Checks if `ESC` should close the sidenav
|
66
|
-
* Should only close it for `push` and `over` modes
|
67
|
-
*/
|
68
|
-
get: /**
|
69
|
-
* Checks if `ESC` should close the sidenav
|
70
|
-
* Should only close it for `push` and `over` modes
|
71
|
-
* @return {?}
|
72
|
-
*/
|
73
|
-
function () {
|
74
|
-
return this.mode === 'side';
|
75
|
-
},
|
76
|
-
enumerable: true,
|
77
|
-
configurable: true
|
78
|
-
});
|
79
|
-
/**
|
80
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
81
|
-
*/
|
82
|
-
/**
|
83
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
84
|
-
* @return {?}
|
85
|
-
*/
|
86
|
-
TdLayoutComponent.prototype.toggle = /**
|
87
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
88
|
-
* @return {?}
|
89
|
-
*/
|
90
|
-
function () {
|
91
|
-
return this.sidenav.toggle(!this.sidenav.opened);
|
92
|
-
};
|
93
|
-
/**
|
94
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
95
|
-
*/
|
96
|
-
/**
|
97
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
98
|
-
* @return {?}
|
99
|
-
*/
|
100
|
-
TdLayoutComponent.prototype.open = /**
|
101
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
102
|
-
* @return {?}
|
103
|
-
*/
|
104
|
-
function () {
|
105
|
-
return this.sidenav.open();
|
106
|
-
};
|
107
|
-
/**
|
108
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
109
|
-
*/
|
110
|
-
/**
|
111
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
112
|
-
* @return {?}
|
113
|
-
*/
|
114
|
-
TdLayoutComponent.prototype.close = /**
|
115
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
116
|
-
* @return {?}
|
117
|
-
*/
|
118
|
-
function () {
|
119
|
-
return this.sidenav.close();
|
120
|
-
};
|
121
|
-
TdLayoutComponent.decorators = [
|
122
|
-
{ type: Component, args: [{
|
123
|
-
selector: 'td-layout',
|
124
|
-
template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\">\n <mat-sidenav\n #sidenav\n class=\"td-layout-sidenav\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n [disableClose]=\"disableClose\"\n >\n <ng-content select=\"td-navigation-drawer\"></ng-content>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </mat-sidenav>\n <ng-content></ng-content>\n</mat-sidenav-container>\n",
|
125
|
-
styles: [":host{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host ::ng-deep>mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"]
|
126
|
-
}] }
|
127
|
-
];
|
128
|
-
TdLayoutComponent.propDecorators = {
|
129
|
-
sidenav: [{ type: ViewChild, args: [MatSidenav, { static: true },] }],
|
130
|
-
mode: [{ type: Input }],
|
131
|
-
opened: [{ type: Input }],
|
132
|
-
sidenavWidth: [{ type: Input }],
|
133
|
-
containerAutosize: [{ type: Input }]
|
134
|
-
};
|
135
|
-
return TdLayoutComponent;
|
136
|
-
}());
|
137
|
-
if (false) {
|
138
|
-
/** @type {?} */
|
139
|
-
TdLayoutComponent.prototype.sidenav;
|
140
|
-
/**
|
141
|
-
* mode?: 'side', 'push' or 'over'
|
142
|
-
*
|
143
|
-
* The mode or styling of the sidenav.
|
144
|
-
* Defaults to "over".
|
145
|
-
* See "MatSidenav" documentation for more info.
|
146
|
-
*
|
147
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
148
|
-
* @type {?}
|
149
|
-
*/
|
150
|
-
TdLayoutComponent.prototype.mode;
|
151
|
-
/**
|
152
|
-
* opened?: boolean
|
153
|
-
*
|
154
|
-
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
155
|
-
* Defaults to "false".
|
156
|
-
*
|
157
|
-
* See "MatSidenav" documentation for more info.
|
158
|
-
*
|
159
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
160
|
-
* @type {?}
|
161
|
-
*/
|
162
|
-
TdLayoutComponent.prototype.opened;
|
163
|
-
/**
|
164
|
-
* sidenavWidth?: string
|
165
|
-
*
|
166
|
-
* Sets the "width" of the sidenav in either "px" or "%"
|
167
|
-
* Defaults to "320px".
|
168
|
-
*
|
169
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
170
|
-
* @type {?}
|
171
|
-
*/
|
172
|
-
TdLayoutComponent.prototype.sidenavWidth;
|
173
|
-
/**
|
174
|
-
* containerAutosize?: boolean
|
175
|
-
*
|
176
|
-
* Sets "autosize" of the sidenav-container.
|
177
|
-
* Defaults to "false".
|
178
|
-
*
|
179
|
-
* See documentation for more info and potential performance risks.
|
180
|
-
*
|
181
|
-
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
182
|
-
* @type {?}
|
183
|
-
*/
|
184
|
-
TdLayoutComponent.prototype.containerAutosize;
|
185
|
-
}
|
186
|
-
|
187
|
-
/**
|
188
|
-
* @fileoverview added by tsickle
|
189
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
190
|
-
*/
|
191
|
-
/**
|
192
|
-
* @record
|
193
|
-
*/
|
194
|
-
function ILayoutTogglable() { }
|
195
|
-
if (false) {
|
196
|
-
/** @type {?} */
|
197
|
-
ILayoutTogglable.prototype.opened;
|
198
|
-
/** @type {?} */
|
199
|
-
ILayoutTogglable.prototype.sidenav;
|
200
|
-
/**
|
201
|
-
* @return {?}
|
202
|
-
*/
|
203
|
-
ILayoutTogglable.prototype.toggle = function () { };
|
204
|
-
/**
|
205
|
-
* @return {?}
|
206
|
-
*/
|
207
|
-
ILayoutTogglable.prototype.open = function () { };
|
208
|
-
/**
|
209
|
-
* @return {?}
|
210
|
-
*/
|
211
|
-
ILayoutTogglable.prototype.close = function () { };
|
212
|
-
}
|
213
|
-
var LayoutToggleBase = /** @class */ (function () {
|
214
|
-
function LayoutToggleBase() {
|
215
|
-
}
|
216
|
-
return LayoutToggleBase;
|
217
|
-
}());
|
218
|
-
/* tslint:disable-next-line */
|
219
|
-
/** @type {?} */
|
220
|
-
var _TdLayoutToggleMixinBase = mixinDisabled(LayoutToggleBase);
|
221
|
-
/**
|
222
|
-
* @abstract
|
223
|
-
*/
|
224
|
-
var LayoutToggle = /** @class */ (function (_super) {
|
225
|
-
__extends(LayoutToggle, _super);
|
226
|
-
function LayoutToggle(_layout, _renderer, _elementRef) {
|
227
|
-
var _this = _super.call(this) || this;
|
228
|
-
_this._layout = _layout;
|
229
|
-
_this._renderer = _renderer;
|
230
|
-
_this._elementRef = _elementRef;
|
231
|
-
_this._initialized = false;
|
232
|
-
_this._hideWhenOpened = false;
|
233
|
-
// if layout has not been provided
|
234
|
-
// show warn message
|
235
|
-
if (!_this._layout) {
|
236
|
-
_this._noLayoutMessage();
|
237
|
-
}
|
238
|
-
_this._renderer.addClass(_this._elementRef.nativeElement, 'td-layout-menu-button');
|
239
|
-
return _this;
|
240
|
-
}
|
241
|
-
Object.defineProperty(LayoutToggle.prototype, "hideWhenOpened", {
|
242
|
-
/**
|
243
|
-
* hideWhenOpened?: boolean
|
244
|
-
* When this is set to true, the host will be hidden when
|
245
|
-
* the sidenav is opened.
|
246
|
-
*/
|
247
|
-
set: /**
|
248
|
-
* hideWhenOpened?: boolean
|
249
|
-
* When this is set to true, the host will be hidden when
|
250
|
-
* the sidenav is opened.
|
251
|
-
* @param {?} hideWhenOpened
|
252
|
-
* @return {?}
|
253
|
-
*/
|
254
|
-
function (hideWhenOpened) {
|
255
|
-
this._hideWhenOpened = hideWhenOpened;
|
256
|
-
if (this._initialized) {
|
257
|
-
this._toggleVisibility();
|
258
|
-
}
|
259
|
-
},
|
260
|
-
enumerable: true,
|
261
|
-
configurable: true
|
262
|
-
});
|
263
|
-
/**
|
264
|
-
* @return {?}
|
265
|
-
*/
|
266
|
-
LayoutToggle.prototype.ngAfterViewInit = /**
|
267
|
-
* @return {?}
|
268
|
-
*/
|
269
|
-
function () {
|
270
|
-
var _this = this;
|
271
|
-
this._initialized = true;
|
272
|
-
if (this._layout && this._layout.sidenav) {
|
273
|
-
this._toggleSubs = this._layout.sidenav._animationStarted.subscribe((/**
|
274
|
-
* @return {?}
|
275
|
-
*/
|
276
|
-
function () {
|
277
|
-
_this._toggleVisibility();
|
278
|
-
}));
|
279
|
-
}
|
280
|
-
// execute toggleVisibility since the onOpenStart and onCloseStart
|
281
|
-
// methods might not be executed always when the element is rendered
|
282
|
-
this._toggleVisibility();
|
283
|
-
};
|
284
|
-
/**
|
285
|
-
* @return {?}
|
286
|
-
*/
|
287
|
-
LayoutToggle.prototype.ngOnDestroy = /**
|
288
|
-
* @return {?}
|
289
|
-
*/
|
290
|
-
function () {
|
291
|
-
if (this._toggleSubs) {
|
292
|
-
this._toggleSubs.unsubscribe();
|
293
|
-
this._toggleSubs = undefined;
|
294
|
-
}
|
295
|
-
};
|
296
|
-
/**
|
297
|
-
* Listens to host click event to trigger the layout toggle
|
298
|
-
*/
|
299
|
-
/**
|
300
|
-
* Listens to host click event to trigger the layout toggle
|
301
|
-
* @param {?} event
|
302
|
-
* @return {?}
|
303
|
-
*/
|
304
|
-
LayoutToggle.prototype.clickListener = /**
|
305
|
-
* Listens to host click event to trigger the layout toggle
|
306
|
-
* @param {?} event
|
307
|
-
* @return {?}
|
308
|
-
*/
|
309
|
-
function (event) {
|
310
|
-
event.preventDefault();
|
311
|
-
if (!this.disabled) {
|
312
|
-
// if layout has been provided, try triggering the click on it
|
313
|
-
// else show warn message
|
314
|
-
if (this._layout && this._layout.open) {
|
315
|
-
this.onClick();
|
316
|
-
}
|
317
|
-
else {
|
318
|
-
this._noLayoutMessage();
|
319
|
-
}
|
320
|
-
}
|
321
|
-
};
|
322
|
-
/**
|
323
|
-
* @private
|
324
|
-
* @return {?}
|
325
|
-
*/
|
326
|
-
LayoutToggle.prototype._toggleVisibility = /**
|
327
|
-
* @private
|
328
|
-
* @return {?}
|
329
|
-
*/
|
330
|
-
function () {
|
331
|
-
if (this._layout) {
|
332
|
-
if (this._layout.sidenav.opened && this._hideWhenOpened) {
|
333
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'display', 'none');
|
334
|
-
}
|
335
|
-
else {
|
336
|
-
this._renderer.setStyle(this._elementRef.nativeElement, 'display', '');
|
337
|
-
}
|
338
|
-
}
|
339
|
-
};
|
340
|
-
/**
|
341
|
-
* @private
|
342
|
-
* @return {?}
|
343
|
-
*/
|
344
|
-
LayoutToggle.prototype._noLayoutMessage = /**
|
345
|
-
* @private
|
346
|
-
* @return {?}
|
347
|
-
*/
|
348
|
-
function () {
|
349
|
-
/* tslint:disable-next-line */
|
350
|
-
console.warn('Covalent: Parent layout not found for layout toggle directive');
|
351
|
-
};
|
352
|
-
LayoutToggle.propDecorators = {
|
353
|
-
hideWhenOpened: [{ type: Input, args: ['hideWhenOpened',] }],
|
354
|
-
clickListener: [{ type: HostListener, args: ['click', ['$event'],] }]
|
355
|
-
};
|
356
|
-
return LayoutToggle;
|
357
|
-
}(_TdLayoutToggleMixinBase));
|
358
|
-
if (false) {
|
359
|
-
/**
|
360
|
-
* @type {?}
|
361
|
-
* @private
|
362
|
-
*/
|
363
|
-
LayoutToggle.prototype._toggleSubs;
|
364
|
-
/**
|
365
|
-
* @type {?}
|
366
|
-
* @private
|
367
|
-
*/
|
368
|
-
LayoutToggle.prototype._initialized;
|
369
|
-
/**
|
370
|
-
* @type {?}
|
371
|
-
* @private
|
372
|
-
*/
|
373
|
-
LayoutToggle.prototype._hideWhenOpened;
|
374
|
-
/**
|
375
|
-
* @type {?}
|
376
|
-
* @protected
|
377
|
-
*/
|
378
|
-
LayoutToggle.prototype._layout;
|
379
|
-
/**
|
380
|
-
* @type {?}
|
381
|
-
* @private
|
382
|
-
*/
|
383
|
-
LayoutToggle.prototype._renderer;
|
384
|
-
/**
|
385
|
-
* @type {?}
|
386
|
-
* @private
|
387
|
-
*/
|
388
|
-
LayoutToggle.prototype._elementRef;
|
389
|
-
/**
|
390
|
-
* @abstract
|
391
|
-
* @return {?}
|
392
|
-
*/
|
393
|
-
LayoutToggle.prototype.onClick = function () { };
|
394
|
-
}
|
395
|
-
|
396
|
-
/**
|
397
|
-
* @fileoverview added by tsickle
|
398
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
399
|
-
*/
|
400
|
-
var TdLayoutToggleDirective = /** @class */ (function (_super) {
|
401
|
-
__extends(TdLayoutToggleDirective, _super);
|
402
|
-
function TdLayoutToggleDirective(layout, renderer, elementRef) {
|
403
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
404
|
-
}
|
405
|
-
Object.defineProperty(TdLayoutToggleDirective.prototype, "tdLayoutToggle", {
|
406
|
-
set: /**
|
407
|
-
* @param {?} tdLayoutToggle
|
408
|
-
* @return {?}
|
409
|
-
*/
|
410
|
-
function (tdLayoutToggle) {
|
411
|
-
this.disabled = !((/** @type {?} */ (tdLayoutToggle)) === '' || tdLayoutToggle);
|
412
|
-
},
|
413
|
-
enumerable: true,
|
414
|
-
configurable: true
|
415
|
-
});
|
416
|
-
/**
|
417
|
-
* @return {?}
|
418
|
-
*/
|
419
|
-
TdLayoutToggleDirective.prototype.onClick = /**
|
420
|
-
* @return {?}
|
421
|
-
*/
|
422
|
-
function () {
|
423
|
-
this._layout.toggle();
|
424
|
-
};
|
425
|
-
TdLayoutToggleDirective.decorators = [
|
426
|
-
{ type: Directive, args: [{
|
427
|
-
selector: '[tdLayoutToggle]',
|
428
|
-
},] }
|
429
|
-
];
|
430
|
-
/** @nocollapse */
|
431
|
-
TdLayoutToggleDirective.ctorParameters = function () { return [
|
432
|
-
{ type: TdLayoutComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
433
|
-
* @return {?}
|
434
|
-
*/
|
435
|
-
function () { return TdLayoutComponent; })),] }] },
|
436
|
-
{ type: Renderer2 },
|
437
|
-
{ type: ElementRef }
|
438
|
-
]; };
|
439
|
-
TdLayoutToggleDirective.propDecorators = {
|
440
|
-
tdLayoutToggle: [{ type: Input, args: ['tdLayoutToggle',] }]
|
441
|
-
};
|
442
|
-
return TdLayoutToggleDirective;
|
443
|
-
}(LayoutToggle));
|
444
|
-
var TdLayoutCloseDirective = /** @class */ (function (_super) {
|
445
|
-
__extends(TdLayoutCloseDirective, _super);
|
446
|
-
function TdLayoutCloseDirective(layout, renderer, elementRef) {
|
447
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
448
|
-
}
|
449
|
-
Object.defineProperty(TdLayoutCloseDirective.prototype, "tdLayoutClose", {
|
450
|
-
set: /**
|
451
|
-
* @param {?} tdLayoutClose
|
452
|
-
* @return {?}
|
453
|
-
*/
|
454
|
-
function (tdLayoutClose) {
|
455
|
-
this.disabled = !((/** @type {?} */ (tdLayoutClose)) === '' || tdLayoutClose);
|
456
|
-
},
|
457
|
-
enumerable: true,
|
458
|
-
configurable: true
|
459
|
-
});
|
460
|
-
/**
|
461
|
-
* @return {?}
|
462
|
-
*/
|
463
|
-
TdLayoutCloseDirective.prototype.onClick = /**
|
464
|
-
* @return {?}
|
465
|
-
*/
|
466
|
-
function () {
|
467
|
-
this._layout.close();
|
468
|
-
};
|
469
|
-
TdLayoutCloseDirective.decorators = [
|
470
|
-
{ type: Directive, args: [{
|
471
|
-
selector: '[tdLayoutClose]',
|
472
|
-
},] }
|
473
|
-
];
|
474
|
-
/** @nocollapse */
|
475
|
-
TdLayoutCloseDirective.ctorParameters = function () { return [
|
476
|
-
{ type: TdLayoutComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
477
|
-
* @return {?}
|
478
|
-
*/
|
479
|
-
function () { return TdLayoutComponent; })),] }] },
|
480
|
-
{ type: Renderer2 },
|
481
|
-
{ type: ElementRef }
|
482
|
-
]; };
|
483
|
-
TdLayoutCloseDirective.propDecorators = {
|
484
|
-
tdLayoutClose: [{ type: Input, args: ['tdLayoutClose',] }]
|
485
|
-
};
|
486
|
-
return TdLayoutCloseDirective;
|
487
|
-
}(LayoutToggle));
|
488
|
-
var TdLayoutOpenDirective = /** @class */ (function (_super) {
|
489
|
-
__extends(TdLayoutOpenDirective, _super);
|
490
|
-
function TdLayoutOpenDirective(layout, renderer, elementRef) {
|
491
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
492
|
-
}
|
493
|
-
Object.defineProperty(TdLayoutOpenDirective.prototype, "tdLayoutClose", {
|
494
|
-
set: /**
|
495
|
-
* @param {?} tdLayoutOpen
|
496
|
-
* @return {?}
|
497
|
-
*/
|
498
|
-
function (tdLayoutOpen) {
|
499
|
-
this.disabled = !((/** @type {?} */ (tdLayoutOpen)) === '' || tdLayoutOpen);
|
500
|
-
},
|
501
|
-
enumerable: true,
|
502
|
-
configurable: true
|
503
|
-
});
|
504
|
-
/**
|
505
|
-
* @return {?}
|
506
|
-
*/
|
507
|
-
TdLayoutOpenDirective.prototype.onClick = /**
|
508
|
-
* @return {?}
|
509
|
-
*/
|
510
|
-
function () {
|
511
|
-
this._layout.open();
|
512
|
-
};
|
513
|
-
TdLayoutOpenDirective.decorators = [
|
514
|
-
{ type: Directive, args: [{
|
515
|
-
selector: '[tdLayoutOpen]',
|
516
|
-
},] }
|
517
|
-
];
|
518
|
-
/** @nocollapse */
|
519
|
-
TdLayoutOpenDirective.ctorParameters = function () { return [
|
520
|
-
{ type: TdLayoutComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
521
|
-
* @return {?}
|
522
|
-
*/
|
523
|
-
function () { return TdLayoutComponent; })),] }] },
|
524
|
-
{ type: Renderer2 },
|
525
|
-
{ type: ElementRef }
|
526
|
-
]; };
|
527
|
-
TdLayoutOpenDirective.propDecorators = {
|
528
|
-
tdLayoutClose: [{ type: Input, args: ['tdLayoutOpen',] }]
|
529
|
-
};
|
530
|
-
return TdLayoutOpenDirective;
|
531
|
-
}(LayoutToggle));
|
532
|
-
|
533
|
-
/**
|
534
|
-
* @fileoverview added by tsickle
|
535
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
536
|
-
*/
|
537
|
-
var TdLayoutNavComponent = /** @class */ (function () {
|
538
|
-
function TdLayoutNavComponent(_router) {
|
539
|
-
this._router = _router;
|
540
|
-
/**
|
541
|
-
* color?: 'accent' | 'primary' | 'warn'
|
542
|
-
*
|
543
|
-
* toolbar color option: primary | accent | warn.
|
544
|
-
* If [color] is not set, primary is used.
|
545
|
-
*/
|
546
|
-
this.color = 'primary';
|
547
|
-
}
|
548
|
-
Object.defineProperty(TdLayoutNavComponent.prototype, "routerEnabled", {
|
549
|
-
/**
|
550
|
-
* Checks if router was injected.
|
551
|
-
*/
|
552
|
-
get: /**
|
553
|
-
* Checks if router was injected.
|
554
|
-
* @return {?}
|
555
|
-
*/
|
556
|
-
function () {
|
557
|
-
return !!this._router && !!this.navigationRoute;
|
558
|
-
},
|
559
|
-
enumerable: true,
|
560
|
-
configurable: true
|
561
|
-
});
|
562
|
-
/**
|
563
|
-
* @return {?}
|
564
|
-
*/
|
565
|
-
TdLayoutNavComponent.prototype.handleNavigationClick = /**
|
566
|
-
* @return {?}
|
567
|
-
*/
|
568
|
-
function () {
|
569
|
-
if (this.routerEnabled) {
|
570
|
-
this._router.navigateByUrl(this.navigationRoute);
|
571
|
-
}
|
572
|
-
};
|
573
|
-
TdLayoutNavComponent.decorators = [
|
574
|
-
{ type: Component, args: [{
|
575
|
-
selector: 'td-layout-nav',
|
576
|
-
template: "<div class=\"td-layout-nav-wrapper\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n class=\"td-layout-nav-toolbar-content\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer\"></ng-content>\n</div>\n",
|
577
|
-
styles: [".td-menu-button{margin-left:0}::ng-deep [dir=rtl] .td-menu-button{margin-right:0;margin-left:6px}:host{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host .td-layout-nav-wrapper{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%}:host .td-layout-nav-wrapper .td-layout-nav-toolbar-content{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}:host .td-layout-nav-wrapper .td-layout-nav-content{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}"]
|
578
|
-
}] }
|
579
|
-
];
|
580
|
-
/** @nocollapse */
|
581
|
-
TdLayoutNavComponent.ctorParameters = function () { return [
|
582
|
-
{ type: Router, decorators: [{ type: Optional }] }
|
583
|
-
]; };
|
584
|
-
TdLayoutNavComponent.propDecorators = {
|
585
|
-
toolbarTitle: [{ type: Input }],
|
586
|
-
icon: [{ type: Input }],
|
587
|
-
logo: [{ type: Input }],
|
588
|
-
color: [{ type: Input }],
|
589
|
-
navigationRoute: [{ type: Input }]
|
590
|
-
};
|
591
|
-
return TdLayoutNavComponent;
|
592
|
-
}());
|
593
|
-
if (false) {
|
594
|
-
/**
|
595
|
-
* toolbarTitle?: string
|
596
|
-
*
|
597
|
-
* Title set in toolbar.
|
598
|
-
* @type {?}
|
599
|
-
*/
|
600
|
-
TdLayoutNavComponent.prototype.toolbarTitle;
|
601
|
-
/**
|
602
|
-
* icon?: string
|
603
|
-
*
|
604
|
-
* icon name to be displayed before the title
|
605
|
-
* @type {?}
|
606
|
-
*/
|
607
|
-
TdLayoutNavComponent.prototype.icon;
|
608
|
-
/**
|
609
|
-
* logo?: string
|
610
|
-
*
|
611
|
-
* logo icon name to be displayed before the title.
|
612
|
-
* If [icon] is set, then this will not be shown.
|
613
|
-
* @type {?}
|
614
|
-
*/
|
615
|
-
TdLayoutNavComponent.prototype.logo;
|
616
|
-
/**
|
617
|
-
* color?: 'accent' | 'primary' | 'warn'
|
618
|
-
*
|
619
|
-
* toolbar color option: primary | accent | warn.
|
620
|
-
* If [color] is not set, primary is used.
|
621
|
-
* @type {?}
|
622
|
-
*/
|
623
|
-
TdLayoutNavComponent.prototype.color;
|
624
|
-
/**
|
625
|
-
* navigationRoute?: string
|
626
|
-
*
|
627
|
-
* option to set the combined route for the icon, logo, and toolbarTitle.
|
628
|
-
* @type {?}
|
629
|
-
*/
|
630
|
-
TdLayoutNavComponent.prototype.navigationRoute;
|
631
|
-
/**
|
632
|
-
* @type {?}
|
633
|
-
* @private
|
634
|
-
*/
|
635
|
-
TdLayoutNavComponent.prototype._router;
|
636
|
-
}
|
637
|
-
|
638
|
-
/**
|
639
|
-
* @fileoverview added by tsickle
|
640
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
641
|
-
*/
|
642
|
-
var TdLayoutNavListComponent = /** @class */ (function () {
|
643
|
-
function TdLayoutNavListComponent(_router) {
|
644
|
-
this._router = _router;
|
645
|
-
/**
|
646
|
-
* color?: 'accent' | 'primary' | 'warn'
|
647
|
-
*
|
648
|
-
* toolbar color option: primary | accent | warn.
|
649
|
-
* If [color] is not set, primary is used.
|
650
|
-
*/
|
651
|
-
this.color = 'primary';
|
652
|
-
/**
|
653
|
-
* mode?: 'side', 'push' or 'over'
|
654
|
-
*
|
655
|
-
* The mode or styling of the sidenav.
|
656
|
-
* Defaults to "side".
|
657
|
-
* See "MatSidenav" documentation for more info.
|
658
|
-
*
|
659
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
660
|
-
*/
|
661
|
-
this.mode = 'side';
|
662
|
-
/**
|
663
|
-
* opened?: boolean
|
664
|
-
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
665
|
-
* Defaults to "true".
|
666
|
-
*
|
667
|
-
* See "MatSidenav" documentation for more info.
|
668
|
-
*
|
669
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
670
|
-
*/
|
671
|
-
this.opened = true;
|
672
|
-
/**
|
673
|
-
* sidenavWidth?: string
|
674
|
-
*
|
675
|
-
* Sets the "width" of the sidenav in either "px" or "%"
|
676
|
-
* Defaults to "350px".
|
677
|
-
*
|
678
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
679
|
-
*/
|
680
|
-
this.sidenavWidth = '350px';
|
681
|
-
/**
|
682
|
-
* containerAutosize?: boolean
|
683
|
-
*
|
684
|
-
* Sets "autosize" of the sidenav-container.
|
685
|
-
* Defaults to "false".
|
686
|
-
*
|
687
|
-
* See documentation for more info and potential performance risks.
|
688
|
-
*
|
689
|
-
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
690
|
-
*/
|
691
|
-
this.containerAutosize = false;
|
692
|
-
}
|
693
|
-
Object.defineProperty(TdLayoutNavListComponent.prototype, "disableClose", {
|
694
|
-
/**
|
695
|
-
* Checks if `ESC` should close the sidenav
|
696
|
-
* Should only close it for `push` and `over` modes
|
697
|
-
*/
|
698
|
-
get: /**
|
699
|
-
* Checks if `ESC` should close the sidenav
|
700
|
-
* Should only close it for `push` and `over` modes
|
701
|
-
* @return {?}
|
702
|
-
*/
|
703
|
-
function () {
|
704
|
-
return this.mode === 'side';
|
705
|
-
},
|
706
|
-
enumerable: true,
|
707
|
-
configurable: true
|
708
|
-
});
|
709
|
-
Object.defineProperty(TdLayoutNavListComponent.prototype, "routerEnabled", {
|
710
|
-
/**
|
711
|
-
* Checks if router was injected.
|
712
|
-
*/
|
713
|
-
get: /**
|
714
|
-
* Checks if router was injected.
|
715
|
-
* @return {?}
|
716
|
-
*/
|
717
|
-
function () {
|
718
|
-
return !!this._router && !!this.navigationRoute;
|
719
|
-
},
|
720
|
-
enumerable: true,
|
721
|
-
configurable: true
|
722
|
-
});
|
723
|
-
/**
|
724
|
-
* @return {?}
|
725
|
-
*/
|
726
|
-
TdLayoutNavListComponent.prototype.handleNavigationClick = /**
|
727
|
-
* @return {?}
|
728
|
-
*/
|
729
|
-
function () {
|
730
|
-
if (this.routerEnabled) {
|
731
|
-
this._router.navigateByUrl(this.navigationRoute);
|
732
|
-
}
|
733
|
-
};
|
734
|
-
/**
|
735
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
736
|
-
*/
|
737
|
-
/**
|
738
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
739
|
-
* @return {?}
|
740
|
-
*/
|
741
|
-
TdLayoutNavListComponent.prototype.toggle = /**
|
742
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
743
|
-
* @return {?}
|
744
|
-
*/
|
745
|
-
function () {
|
746
|
-
return this.sidenav.toggle(!this.sidenav.opened);
|
747
|
-
};
|
748
|
-
/**
|
749
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
750
|
-
*/
|
751
|
-
/**
|
752
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
753
|
-
* @return {?}
|
754
|
-
*/
|
755
|
-
TdLayoutNavListComponent.prototype.open = /**
|
756
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
757
|
-
* @return {?}
|
758
|
-
*/
|
759
|
-
function () {
|
760
|
-
return this.sidenav.open();
|
761
|
-
};
|
762
|
-
/**
|
763
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
764
|
-
*/
|
765
|
-
/**
|
766
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
767
|
-
* @return {?}
|
768
|
-
*/
|
769
|
-
TdLayoutNavListComponent.prototype.close = /**
|
770
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
771
|
-
* @return {?}
|
772
|
-
*/
|
773
|
-
function () {
|
774
|
-
return this.sidenav.close();
|
775
|
-
};
|
776
|
-
TdLayoutNavListComponent.decorators = [
|
777
|
-
{ type: Component, args: [{
|
778
|
-
selector: 'td-layout-nav-list',
|
779
|
-
template: "<div class=\"td-layout-nav-list-wrapper\">\n <mat-sidenav-container fullscreen [autosize]=\"containerAutosize\" class=\"td-layout-nav-list\">\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n class=\"td-layout-nav-list-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-sidenav-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-nav-list-main\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n </mat-sidenav-container>\n</div>\n<ng-content select=\"td-layout-footer\"></ng-content>\n",
|
780
|
-
styles: [":host{margin:0;width:100%;min-height:100%;height:100%;overflow:hidden;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}:host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-right:0}[dir=rtl] :host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-left:0}:host .td-layout-nav-list-wrapper{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-toolbar-content{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}:host .td-layout-nav-list-wrapper .td-layout-nav-list-content{text-align:start;-ms-flex:1;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main .td-layout-nav-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;-ms-flex:1;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list{-ms-flex:1;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closed,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closing,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opened,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opening{box-shadow:none}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer-content{-ms-flex-positive:1;flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"]
|
781
|
-
}] }
|
782
|
-
];
|
783
|
-
/** @nocollapse */
|
784
|
-
TdLayoutNavListComponent.ctorParameters = function () { return [
|
785
|
-
{ type: Router, decorators: [{ type: Optional }] }
|
786
|
-
]; };
|
787
|
-
TdLayoutNavListComponent.propDecorators = {
|
788
|
-
sidenav: [{ type: ViewChild, args: [MatSidenav, { static: true },] }],
|
789
|
-
toolbarTitle: [{ type: Input }],
|
790
|
-
icon: [{ type: Input }],
|
791
|
-
logo: [{ type: Input }],
|
792
|
-
color: [{ type: Input }],
|
793
|
-
mode: [{ type: Input }],
|
794
|
-
opened: [{ type: Input }],
|
795
|
-
sidenavWidth: [{ type: Input }],
|
796
|
-
containerAutosize: [{ type: Input }],
|
797
|
-
navigationRoute: [{ type: Input }]
|
798
|
-
};
|
799
|
-
return TdLayoutNavListComponent;
|
800
|
-
}());
|
801
|
-
if (false) {
|
802
|
-
/** @type {?} */
|
803
|
-
TdLayoutNavListComponent.prototype.sidenav;
|
804
|
-
/**
|
805
|
-
* toolbarTitle?: string
|
806
|
-
*
|
807
|
-
* Title set in toolbar.
|
808
|
-
* @type {?}
|
809
|
-
*/
|
810
|
-
TdLayoutNavListComponent.prototype.toolbarTitle;
|
811
|
-
/**
|
812
|
-
* icon?: string
|
813
|
-
* icon name to be displayed before the title
|
814
|
-
* @type {?}
|
815
|
-
*/
|
816
|
-
TdLayoutNavListComponent.prototype.icon;
|
817
|
-
/**
|
818
|
-
* logo?: string
|
819
|
-
*
|
820
|
-
* logo icon name to be displayed before the title.
|
821
|
-
* If [icon] is set, then this will not be shown.
|
822
|
-
* @type {?}
|
823
|
-
*/
|
824
|
-
TdLayoutNavListComponent.prototype.logo;
|
825
|
-
/**
|
826
|
-
* color?: 'accent' | 'primary' | 'warn'
|
827
|
-
*
|
828
|
-
* toolbar color option: primary | accent | warn.
|
829
|
-
* If [color] is not set, primary is used.
|
830
|
-
* @type {?}
|
831
|
-
*/
|
832
|
-
TdLayoutNavListComponent.prototype.color;
|
833
|
-
/**
|
834
|
-
* mode?: 'side', 'push' or 'over'
|
835
|
-
*
|
836
|
-
* The mode or styling of the sidenav.
|
837
|
-
* Defaults to "side".
|
838
|
-
* See "MatSidenav" documentation for more info.
|
839
|
-
*
|
840
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
841
|
-
* @type {?}
|
842
|
-
*/
|
843
|
-
TdLayoutNavListComponent.prototype.mode;
|
844
|
-
/**
|
845
|
-
* opened?: boolean
|
846
|
-
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
847
|
-
* Defaults to "true".
|
848
|
-
*
|
849
|
-
* See "MatSidenav" documentation for more info.
|
850
|
-
*
|
851
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
852
|
-
* @type {?}
|
853
|
-
*/
|
854
|
-
TdLayoutNavListComponent.prototype.opened;
|
855
|
-
/**
|
856
|
-
* sidenavWidth?: string
|
857
|
-
*
|
858
|
-
* Sets the "width" of the sidenav in either "px" or "%"
|
859
|
-
* Defaults to "350px".
|
860
|
-
*
|
861
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
862
|
-
* @type {?}
|
863
|
-
*/
|
864
|
-
TdLayoutNavListComponent.prototype.sidenavWidth;
|
865
|
-
/**
|
866
|
-
* containerAutosize?: boolean
|
867
|
-
*
|
868
|
-
* Sets "autosize" of the sidenav-container.
|
869
|
-
* Defaults to "false".
|
870
|
-
*
|
871
|
-
* See documentation for more info and potential performance risks.
|
872
|
-
*
|
873
|
-
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
874
|
-
* @type {?}
|
875
|
-
*/
|
876
|
-
TdLayoutNavListComponent.prototype.containerAutosize;
|
877
|
-
/**
|
878
|
-
* navigationRoute?: string
|
879
|
-
*
|
880
|
-
* option to set the combined route for the icon, logo, and toolbarTitle.
|
881
|
-
* @type {?}
|
882
|
-
*/
|
883
|
-
TdLayoutNavListComponent.prototype.navigationRoute;
|
884
|
-
/**
|
885
|
-
* @type {?}
|
886
|
-
* @private
|
887
|
-
*/
|
888
|
-
TdLayoutNavListComponent.prototype._router;
|
889
|
-
}
|
890
|
-
|
891
|
-
/**
|
892
|
-
* @fileoverview added by tsickle
|
893
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
894
|
-
*/
|
895
|
-
var TdLayoutNavListToggleDirective = /** @class */ (function (_super) {
|
896
|
-
__extends(TdLayoutNavListToggleDirective, _super);
|
897
|
-
function TdLayoutNavListToggleDirective(layout, renderer, elementRef) {
|
898
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
899
|
-
}
|
900
|
-
Object.defineProperty(TdLayoutNavListToggleDirective.prototype, "tdLayoutNavListToggle", {
|
901
|
-
set: /**
|
902
|
-
* @param {?} tdLayoutNavListToggle
|
903
|
-
* @return {?}
|
904
|
-
*/
|
905
|
-
function (tdLayoutNavListToggle) {
|
906
|
-
this.disabled = !((/** @type {?} */ (tdLayoutNavListToggle)) === '' || tdLayoutNavListToggle);
|
907
|
-
},
|
908
|
-
enumerable: true,
|
909
|
-
configurable: true
|
910
|
-
});
|
911
|
-
/**
|
912
|
-
* @return {?}
|
913
|
-
*/
|
914
|
-
TdLayoutNavListToggleDirective.prototype.onClick = /**
|
915
|
-
* @return {?}
|
916
|
-
*/
|
917
|
-
function () {
|
918
|
-
this._layout.toggle();
|
919
|
-
};
|
920
|
-
TdLayoutNavListToggleDirective.decorators = [
|
921
|
-
{ type: Directive, args: [{
|
922
|
-
selector: '[tdLayoutNavListToggle]',
|
923
|
-
inputs: ['hideWhenOpened'],
|
924
|
-
},] }
|
925
|
-
];
|
926
|
-
/** @nocollapse */
|
927
|
-
TdLayoutNavListToggleDirective.ctorParameters = function () { return [
|
928
|
-
{ type: TdLayoutNavListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
929
|
-
* @return {?}
|
930
|
-
*/
|
931
|
-
function () { return TdLayoutNavListComponent; })),] }] },
|
932
|
-
{ type: Renderer2 },
|
933
|
-
{ type: ElementRef }
|
934
|
-
]; };
|
935
|
-
TdLayoutNavListToggleDirective.propDecorators = {
|
936
|
-
tdLayoutNavListToggle: [{ type: Input, args: ['tdLayoutNavListToggle',] }]
|
937
|
-
};
|
938
|
-
return TdLayoutNavListToggleDirective;
|
939
|
-
}(LayoutToggle));
|
940
|
-
var TdLayoutNavListCloseDirective = /** @class */ (function (_super) {
|
941
|
-
__extends(TdLayoutNavListCloseDirective, _super);
|
942
|
-
function TdLayoutNavListCloseDirective(layout, renderer, elementRef) {
|
943
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
944
|
-
}
|
945
|
-
Object.defineProperty(TdLayoutNavListCloseDirective.prototype, "tdLayoutNavListClose", {
|
946
|
-
set: /**
|
947
|
-
* @param {?} tdLayoutNavListClose
|
948
|
-
* @return {?}
|
949
|
-
*/
|
950
|
-
function (tdLayoutNavListClose) {
|
951
|
-
this.disabled = !((/** @type {?} */ (tdLayoutNavListClose)) === '' || tdLayoutNavListClose);
|
952
|
-
},
|
953
|
-
enumerable: true,
|
954
|
-
configurable: true
|
955
|
-
});
|
956
|
-
/**
|
957
|
-
* @return {?}
|
958
|
-
*/
|
959
|
-
TdLayoutNavListCloseDirective.prototype.onClick = /**
|
960
|
-
* @return {?}
|
961
|
-
*/
|
962
|
-
function () {
|
963
|
-
this._layout.close();
|
964
|
-
};
|
965
|
-
TdLayoutNavListCloseDirective.decorators = [
|
966
|
-
{ type: Directive, args: [{
|
967
|
-
selector: '[tdLayoutNavListClose]',
|
968
|
-
inputs: ['hideWhenOpened'],
|
969
|
-
},] }
|
970
|
-
];
|
971
|
-
/** @nocollapse */
|
972
|
-
TdLayoutNavListCloseDirective.ctorParameters = function () { return [
|
973
|
-
{ type: TdLayoutNavListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
974
|
-
* @return {?}
|
975
|
-
*/
|
976
|
-
function () { return TdLayoutNavListComponent; })),] }] },
|
977
|
-
{ type: Renderer2 },
|
978
|
-
{ type: ElementRef }
|
979
|
-
]; };
|
980
|
-
TdLayoutNavListCloseDirective.propDecorators = {
|
981
|
-
tdLayoutNavListClose: [{ type: Input, args: ['tdLayoutNavListClose',] }]
|
982
|
-
};
|
983
|
-
return TdLayoutNavListCloseDirective;
|
984
|
-
}(LayoutToggle));
|
985
|
-
var TdLayoutNavListOpenDirective = /** @class */ (function (_super) {
|
986
|
-
__extends(TdLayoutNavListOpenDirective, _super);
|
987
|
-
function TdLayoutNavListOpenDirective(layout, renderer, elementRef) {
|
988
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
989
|
-
}
|
990
|
-
Object.defineProperty(TdLayoutNavListOpenDirective.prototype, "tdLayoutNavListOpen", {
|
991
|
-
set: /**
|
992
|
-
* @param {?} tdLayoutNavListOpen
|
993
|
-
* @return {?}
|
994
|
-
*/
|
995
|
-
function (tdLayoutNavListOpen) {
|
996
|
-
this.disabled = !((/** @type {?} */ (tdLayoutNavListOpen)) === '' || tdLayoutNavListOpen);
|
997
|
-
},
|
998
|
-
enumerable: true,
|
999
|
-
configurable: true
|
1000
|
-
});
|
1001
|
-
/**
|
1002
|
-
* @return {?}
|
1003
|
-
*/
|
1004
|
-
TdLayoutNavListOpenDirective.prototype.onClick = /**
|
1005
|
-
* @return {?}
|
1006
|
-
*/
|
1007
|
-
function () {
|
1008
|
-
this._layout.open();
|
1009
|
-
};
|
1010
|
-
TdLayoutNavListOpenDirective.decorators = [
|
1011
|
-
{ type: Directive, args: [{
|
1012
|
-
selector: '[tdLayoutNavListOpen]',
|
1013
|
-
inputs: ['hideWhenOpened'],
|
1014
|
-
},] }
|
1015
|
-
];
|
1016
|
-
/** @nocollapse */
|
1017
|
-
TdLayoutNavListOpenDirective.ctorParameters = function () { return [
|
1018
|
-
{ type: TdLayoutNavListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
1019
|
-
* @return {?}
|
1020
|
-
*/
|
1021
|
-
function () { return TdLayoutNavListComponent; })),] }] },
|
1022
|
-
{ type: Renderer2 },
|
1023
|
-
{ type: ElementRef }
|
1024
|
-
]; };
|
1025
|
-
TdLayoutNavListOpenDirective.propDecorators = {
|
1026
|
-
tdLayoutNavListOpen: [{ type: Input, args: ['tdLayoutNavListOpen',] }]
|
1027
|
-
};
|
1028
|
-
return TdLayoutNavListOpenDirective;
|
1029
|
-
}(LayoutToggle));
|
1030
|
-
|
1031
|
-
/**
|
1032
|
-
* @fileoverview added by tsickle
|
1033
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1034
|
-
*/
|
1035
|
-
var TdLayoutCardOverComponent = /** @class */ (function () {
|
1036
|
-
function TdLayoutCardOverComponent() {
|
1037
|
-
/**
|
1038
|
-
* cardWidth?: string
|
1039
|
-
*
|
1040
|
-
* Card flex width in %.
|
1041
|
-
* Defaults to 70%.
|
1042
|
-
*/
|
1043
|
-
this.cardWidth = 70;
|
1044
|
-
/**
|
1045
|
-
* color?: 'accent' | 'primary' | 'warn'
|
1046
|
-
*
|
1047
|
-
* toolbar color option: primary | accent | warn.
|
1048
|
-
* If [color] is not set, primary is used.
|
1049
|
-
*/
|
1050
|
-
this.color = 'primary';
|
1051
|
-
}
|
1052
|
-
TdLayoutCardOverComponent.decorators = [
|
1053
|
-
{ type: Component, args: [{
|
1054
|
-
selector: 'td-layout-card-over',
|
1055
|
-
template: "<mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\"></mat-toolbar>\n<div class=\"td-layout-card-over-wrapper\">\n <div\n class=\"td-layout-card-over\"\n [style.max-width.%]=\"cardWidth\"\n [style.flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-ms-flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-webkit-box-flex]=\"1\"\n >\n <mat-card>\n <mat-card-title *ngIf=\"cardTitle\">{{ cardTitle }}</mat-card-title>\n <mat-card-subtitle *ngIf=\"cardSubtitle\">{{ cardSubtitle }}</mat-card-subtitle>\n <mat-divider *ngIf=\"cardTitle || cardSubtitle\"></mat-divider>\n <ng-content></ng-content>\n </mat-card>\n <ng-content select=\"[td-after-card]\"></ng-content>\n </div>\n</div>\n",
|
1056
|
-
styles: [":host{position:relative;display:block;z-index:2;width:100%;min-height:100%;height:100%}:host [td-after-card]{display:block}.td-layout-card-over-wrapper{margin:-64px 0;width:100%;min-height:100%;height:100%}@media (min-width:600px){.td-layout-card-over-wrapper{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center}.td-layout-card-over-wrapper .td-layout-card-over{max-height:100%;box-sizing:border-box}}@media (max-width:599px){.td-layout-card-over-wrapper .td-layout-card-over{max-width:100%!important}}"]
|
1057
|
-
}] }
|
1058
|
-
];
|
1059
|
-
TdLayoutCardOverComponent.propDecorators = {
|
1060
|
-
cardTitle: [{ type: Input }],
|
1061
|
-
cardSubtitle: [{ type: Input }],
|
1062
|
-
cardWidth: [{ type: Input }],
|
1063
|
-
color: [{ type: Input }]
|
1064
|
-
};
|
1065
|
-
return TdLayoutCardOverComponent;
|
1066
|
-
}());
|
1067
|
-
if (false) {
|
1068
|
-
/**
|
1069
|
-
* cardTitle?: string
|
1070
|
-
*
|
1071
|
-
* Title set in card.
|
1072
|
-
* @type {?}
|
1073
|
-
*/
|
1074
|
-
TdLayoutCardOverComponent.prototype.cardTitle;
|
1075
|
-
/**
|
1076
|
-
* cardSubtitle?: string
|
1077
|
-
*
|
1078
|
-
* Subtitle set in card.
|
1079
|
-
* @type {?}
|
1080
|
-
*/
|
1081
|
-
TdLayoutCardOverComponent.prototype.cardSubtitle;
|
1082
|
-
/**
|
1083
|
-
* cardWidth?: string
|
1084
|
-
*
|
1085
|
-
* Card flex width in %.
|
1086
|
-
* Defaults to 70%.
|
1087
|
-
* @type {?}
|
1088
|
-
*/
|
1089
|
-
TdLayoutCardOverComponent.prototype.cardWidth;
|
1090
|
-
/**
|
1091
|
-
* color?: 'accent' | 'primary' | 'warn'
|
1092
|
-
*
|
1093
|
-
* toolbar color option: primary | accent | warn.
|
1094
|
-
* If [color] is not set, primary is used.
|
1095
|
-
* @type {?}
|
1096
|
-
*/
|
1097
|
-
TdLayoutCardOverComponent.prototype.color;
|
1098
|
-
}
|
1099
|
-
|
1100
|
-
/**
|
1101
|
-
* @fileoverview added by tsickle
|
1102
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1103
|
-
*/
|
1104
|
-
var TdLayoutManageListComponent = /** @class */ (function () {
|
1105
|
-
function TdLayoutManageListComponent() {
|
1106
|
-
/**
|
1107
|
-
* mode?: 'side', 'push' or 'over'
|
1108
|
-
*
|
1109
|
-
* The mode or styling of the sidenav.
|
1110
|
-
* Defaults to "side".
|
1111
|
-
* See "MatSidenav" documentation for more info.
|
1112
|
-
*
|
1113
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
1114
|
-
*/
|
1115
|
-
this.mode = 'side';
|
1116
|
-
/**
|
1117
|
-
* opened?: boolean
|
1118
|
-
*
|
1119
|
-
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
1120
|
-
* Defaults to "true".
|
1121
|
-
*
|
1122
|
-
* See "MatSidenav" documentation for more info.
|
1123
|
-
*
|
1124
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
1125
|
-
*/
|
1126
|
-
this.opened = true;
|
1127
|
-
/**
|
1128
|
-
* sidenavWidth?: string
|
1129
|
-
*
|
1130
|
-
* Sets the "width" of the sidenav in either "px" or "%"
|
1131
|
-
* Defaults to "257px".
|
1132
|
-
*
|
1133
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
1134
|
-
*/
|
1135
|
-
this.sidenavWidth = '257px';
|
1136
|
-
/**
|
1137
|
-
* containerAutosize?: boolean
|
1138
|
-
*
|
1139
|
-
* Sets "autosize" of the sidenav-container.
|
1140
|
-
* Defaults to "false".
|
1141
|
-
*
|
1142
|
-
* See documentation for more info and potential performance risks.
|
1143
|
-
*
|
1144
|
-
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
1145
|
-
*/
|
1146
|
-
this.containerAutosize = false;
|
1147
|
-
}
|
1148
|
-
Object.defineProperty(TdLayoutManageListComponent.prototype, "disableClose", {
|
1149
|
-
/**
|
1150
|
-
* Checks if `ESC` should close the sidenav
|
1151
|
-
* Should only close it for `push` and `over` modes
|
1152
|
-
*/
|
1153
|
-
get: /**
|
1154
|
-
* Checks if `ESC` should close the sidenav
|
1155
|
-
* Should only close it for `push` and `over` modes
|
1156
|
-
* @return {?}
|
1157
|
-
*/
|
1158
|
-
function () {
|
1159
|
-
return this.mode === 'side';
|
1160
|
-
},
|
1161
|
-
enumerable: true,
|
1162
|
-
configurable: true
|
1163
|
-
});
|
1164
|
-
/**
|
1165
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1166
|
-
*/
|
1167
|
-
/**
|
1168
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1169
|
-
* @return {?}
|
1170
|
-
*/
|
1171
|
-
TdLayoutManageListComponent.prototype.toggle = /**
|
1172
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1173
|
-
* @return {?}
|
1174
|
-
*/
|
1175
|
-
function () {
|
1176
|
-
return this.sidenav.toggle(!this.sidenav.opened);
|
1177
|
-
};
|
1178
|
-
/**
|
1179
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1180
|
-
*/
|
1181
|
-
/**
|
1182
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1183
|
-
* @return {?}
|
1184
|
-
*/
|
1185
|
-
TdLayoutManageListComponent.prototype.open = /**
|
1186
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1187
|
-
* @return {?}
|
1188
|
-
*/
|
1189
|
-
function () {
|
1190
|
-
return this.sidenav.open();
|
1191
|
-
};
|
1192
|
-
/**
|
1193
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1194
|
-
*/
|
1195
|
-
/**
|
1196
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1197
|
-
* @return {?}
|
1198
|
-
*/
|
1199
|
-
TdLayoutManageListComponent.prototype.close = /**
|
1200
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1201
|
-
* @return {?}
|
1202
|
-
*/
|
1203
|
-
function () {
|
1204
|
-
return this.sidenav.close();
|
1205
|
-
};
|
1206
|
-
TdLayoutManageListComponent.decorators = [
|
1207
|
-
{ type: Component, args: [{
|
1208
|
-
selector: 'td-layout-manage-list',
|
1209
|
-
template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\" class=\"td-layout-manage-list\">\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <ng-content select=\"mat-toolbar[td-sidenav-content]\"></ng-content>\n <div class=\"td-layout-manage-list-sidenav\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-manage-list-main\">\n <ng-content select=\"mat-toolbar\"></ng-content>\n <div class=\"td-layout-manage-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n</mat-sidenav-container>\n",
|
1210
|
-
styles: [":host{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host mat-sidenav-container.td-layout-manage-list{-ms-flex:1;flex:1}:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closed,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closing,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opened,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opening{box-shadow:0 1px 3px 0 rgba(0,0,0,.2)}:host .td-layout-manage-list-sidenav{text-align:start;-ms-flex:1;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-manage-list-main{margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex}:host .td-layout-manage-list-main .td-layout-manage-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;-ms-flex:1;flex:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{-ms-flex-positive:1;flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host ::ng-deep mat-nav-list a[mat-list-item] .mat-list-item-content{font-size:14px}:host ::ng-deep .mat-toolbar{font-weight:400}"]
|
1211
|
-
}] }
|
1212
|
-
];
|
1213
|
-
TdLayoutManageListComponent.propDecorators = {
|
1214
|
-
sidenav: [{ type: ViewChild, args: [MatSidenav, { static: true },] }],
|
1215
|
-
mode: [{ type: Input }],
|
1216
|
-
opened: [{ type: Input }],
|
1217
|
-
sidenavWidth: [{ type: Input }],
|
1218
|
-
containerAutosize: [{ type: Input }]
|
1219
|
-
};
|
1220
|
-
return TdLayoutManageListComponent;
|
1221
|
-
}());
|
1222
|
-
if (false) {
|
1223
|
-
/** @type {?} */
|
1224
|
-
TdLayoutManageListComponent.prototype.sidenav;
|
1225
|
-
/**
|
1226
|
-
* mode?: 'side', 'push' or 'over'
|
1227
|
-
*
|
1228
|
-
* The mode or styling of the sidenav.
|
1229
|
-
* Defaults to "side".
|
1230
|
-
* See "MatSidenav" documentation for more info.
|
1231
|
-
*
|
1232
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
1233
|
-
* @type {?}
|
1234
|
-
*/
|
1235
|
-
TdLayoutManageListComponent.prototype.mode;
|
1236
|
-
/**
|
1237
|
-
* opened?: boolean
|
1238
|
-
*
|
1239
|
-
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
1240
|
-
* Defaults to "true".
|
1241
|
-
*
|
1242
|
-
* See "MatSidenav" documentation for more info.
|
1243
|
-
*
|
1244
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
1245
|
-
* @type {?}
|
1246
|
-
*/
|
1247
|
-
TdLayoutManageListComponent.prototype.opened;
|
1248
|
-
/**
|
1249
|
-
* sidenavWidth?: string
|
1250
|
-
*
|
1251
|
-
* Sets the "width" of the sidenav in either "px" or "%"
|
1252
|
-
* Defaults to "257px".
|
1253
|
-
*
|
1254
|
-
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
1255
|
-
* @type {?}
|
1256
|
-
*/
|
1257
|
-
TdLayoutManageListComponent.prototype.sidenavWidth;
|
1258
|
-
/**
|
1259
|
-
* containerAutosize?: boolean
|
1260
|
-
*
|
1261
|
-
* Sets "autosize" of the sidenav-container.
|
1262
|
-
* Defaults to "false".
|
1263
|
-
*
|
1264
|
-
* See documentation for more info and potential performance risks.
|
1265
|
-
*
|
1266
|
-
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
1267
|
-
* @type {?}
|
1268
|
-
*/
|
1269
|
-
TdLayoutManageListComponent.prototype.containerAutosize;
|
1270
|
-
}
|
1271
|
-
|
1272
|
-
/**
|
1273
|
-
* @fileoverview added by tsickle
|
1274
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1275
|
-
*/
|
1276
|
-
var TdLayoutManageListToggleDirective = /** @class */ (function (_super) {
|
1277
|
-
__extends(TdLayoutManageListToggleDirective, _super);
|
1278
|
-
function TdLayoutManageListToggleDirective(layout, renderer, elementRef) {
|
1279
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
1280
|
-
}
|
1281
|
-
Object.defineProperty(TdLayoutManageListToggleDirective.prototype, "tdLayoutManageListToggle", {
|
1282
|
-
set: /**
|
1283
|
-
* @param {?} tdLayoutManageListToggle
|
1284
|
-
* @return {?}
|
1285
|
-
*/
|
1286
|
-
function (tdLayoutManageListToggle) {
|
1287
|
-
this.disabled = !((/** @type {?} */ (tdLayoutManageListToggle)) === '' || tdLayoutManageListToggle);
|
1288
|
-
},
|
1289
|
-
enumerable: true,
|
1290
|
-
configurable: true
|
1291
|
-
});
|
1292
|
-
/**
|
1293
|
-
* @return {?}
|
1294
|
-
*/
|
1295
|
-
TdLayoutManageListToggleDirective.prototype.onClick = /**
|
1296
|
-
* @return {?}
|
1297
|
-
*/
|
1298
|
-
function () {
|
1299
|
-
this._layout.toggle();
|
1300
|
-
};
|
1301
|
-
TdLayoutManageListToggleDirective.decorators = [
|
1302
|
-
{ type: Directive, args: [{
|
1303
|
-
selector: '[tdLayoutManageListToggle]',
|
1304
|
-
inputs: ['hideWhenOpened'],
|
1305
|
-
},] }
|
1306
|
-
];
|
1307
|
-
/** @nocollapse */
|
1308
|
-
TdLayoutManageListToggleDirective.ctorParameters = function () { return [
|
1309
|
-
{ type: TdLayoutManageListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
1310
|
-
* @return {?}
|
1311
|
-
*/
|
1312
|
-
function () { return TdLayoutManageListComponent; })),] }] },
|
1313
|
-
{ type: Renderer2 },
|
1314
|
-
{ type: ElementRef }
|
1315
|
-
]; };
|
1316
|
-
TdLayoutManageListToggleDirective.propDecorators = {
|
1317
|
-
tdLayoutManageListToggle: [{ type: Input, args: ['tdLayoutManageListToggle',] }]
|
1318
|
-
};
|
1319
|
-
return TdLayoutManageListToggleDirective;
|
1320
|
-
}(LayoutToggle));
|
1321
|
-
var TdLayoutManageListCloseDirective = /** @class */ (function (_super) {
|
1322
|
-
__extends(TdLayoutManageListCloseDirective, _super);
|
1323
|
-
function TdLayoutManageListCloseDirective(layout, renderer, elementRef) {
|
1324
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
1325
|
-
}
|
1326
|
-
Object.defineProperty(TdLayoutManageListCloseDirective.prototype, "tdLayoutManageListClose", {
|
1327
|
-
set: /**
|
1328
|
-
* @param {?} tdLayoutManageListClose
|
1329
|
-
* @return {?}
|
1330
|
-
*/
|
1331
|
-
function (tdLayoutManageListClose) {
|
1332
|
-
this.disabled = !((/** @type {?} */ (tdLayoutManageListClose)) === '' || tdLayoutManageListClose);
|
1333
|
-
},
|
1334
|
-
enumerable: true,
|
1335
|
-
configurable: true
|
1336
|
-
});
|
1337
|
-
/**
|
1338
|
-
* @return {?}
|
1339
|
-
*/
|
1340
|
-
TdLayoutManageListCloseDirective.prototype.onClick = /**
|
1341
|
-
* @return {?}
|
1342
|
-
*/
|
1343
|
-
function () {
|
1344
|
-
this._layout.close();
|
1345
|
-
};
|
1346
|
-
TdLayoutManageListCloseDirective.decorators = [
|
1347
|
-
{ type: Directive, args: [{
|
1348
|
-
selector: '[tdLayoutManageListClose]',
|
1349
|
-
inputs: ['hideWhenOpened'],
|
1350
|
-
},] }
|
1351
|
-
];
|
1352
|
-
/** @nocollapse */
|
1353
|
-
TdLayoutManageListCloseDirective.ctorParameters = function () { return [
|
1354
|
-
{ type: TdLayoutManageListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
1355
|
-
* @return {?}
|
1356
|
-
*/
|
1357
|
-
function () { return TdLayoutManageListComponent; })),] }] },
|
1358
|
-
{ type: Renderer2 },
|
1359
|
-
{ type: ElementRef }
|
1360
|
-
]; };
|
1361
|
-
TdLayoutManageListCloseDirective.propDecorators = {
|
1362
|
-
tdLayoutManageListClose: [{ type: Input, args: ['tdLayoutManageListClose',] }]
|
1363
|
-
};
|
1364
|
-
return TdLayoutManageListCloseDirective;
|
1365
|
-
}(LayoutToggle));
|
1366
|
-
var TdLayoutManageListOpenDirective = /** @class */ (function (_super) {
|
1367
|
-
__extends(TdLayoutManageListOpenDirective, _super);
|
1368
|
-
function TdLayoutManageListOpenDirective(layout, renderer, elementRef) {
|
1369
|
-
return _super.call(this, layout, renderer, elementRef) || this;
|
1370
|
-
}
|
1371
|
-
Object.defineProperty(TdLayoutManageListOpenDirective.prototype, "tdLayoutManageListOpen", {
|
1372
|
-
set: /**
|
1373
|
-
* @param {?} tdLayoutManageListOpen
|
1374
|
-
* @return {?}
|
1375
|
-
*/
|
1376
|
-
function (tdLayoutManageListOpen) {
|
1377
|
-
this.disabled = !((/** @type {?} */ (tdLayoutManageListOpen)) === '' || tdLayoutManageListOpen);
|
1378
|
-
},
|
1379
|
-
enumerable: true,
|
1380
|
-
configurable: true
|
1381
|
-
});
|
1382
|
-
/**
|
1383
|
-
* @return {?}
|
1384
|
-
*/
|
1385
|
-
TdLayoutManageListOpenDirective.prototype.onClick = /**
|
1386
|
-
* @return {?}
|
1387
|
-
*/
|
1388
|
-
function () {
|
1389
|
-
this._layout.open();
|
1390
|
-
};
|
1391
|
-
TdLayoutManageListOpenDirective.decorators = [
|
1392
|
-
{ type: Directive, args: [{
|
1393
|
-
selector: '[tdLayoutManageListOpen]',
|
1394
|
-
inputs: ['hideWhenOpened'],
|
1395
|
-
},] }
|
1396
|
-
];
|
1397
|
-
/** @nocollapse */
|
1398
|
-
TdLayoutManageListOpenDirective.ctorParameters = function () { return [
|
1399
|
-
{ type: TdLayoutManageListComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef((/**
|
1400
|
-
* @return {?}
|
1401
|
-
*/
|
1402
|
-
function () { return TdLayoutManageListComponent; })),] }] },
|
1403
|
-
{ type: Renderer2 },
|
1404
|
-
{ type: ElementRef }
|
1405
|
-
]; };
|
1406
|
-
TdLayoutManageListOpenDirective.propDecorators = {
|
1407
|
-
tdLayoutManageListOpen: [{ type: Input, args: ['tdLayoutManageListOpen',] }]
|
1408
|
-
};
|
1409
|
-
return TdLayoutManageListOpenDirective;
|
1410
|
-
}(LayoutToggle));
|
1411
|
-
|
1412
|
-
/**
|
1413
|
-
* @fileoverview added by tsickle
|
1414
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1415
|
-
*/
|
1416
|
-
var TdLayoutFooterComponent = /** @class */ (function () {
|
1417
|
-
function TdLayoutFooterComponent(_renderer, _elementRef) {
|
1418
|
-
this._renderer = _renderer;
|
1419
|
-
this._elementRef = _elementRef;
|
1420
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'td-layout-footer');
|
1421
|
-
}
|
1422
|
-
Object.defineProperty(TdLayoutFooterComponent.prototype, "color", {
|
1423
|
-
get: /**
|
1424
|
-
* @return {?}
|
1425
|
-
*/
|
1426
|
-
function () {
|
1427
|
-
return this._color;
|
1428
|
-
},
|
1429
|
-
/**
|
1430
|
-
* color?: 'accent' | 'primary' | 'warn'
|
1431
|
-
*
|
1432
|
-
* Optional color option: primary | accent | warn.
|
1433
|
-
*/
|
1434
|
-
set: /**
|
1435
|
-
* color?: 'accent' | 'primary' | 'warn'
|
1436
|
-
*
|
1437
|
-
* Optional color option: primary | accent | warn.
|
1438
|
-
* @param {?} color
|
1439
|
-
* @return {?}
|
1440
|
-
*/
|
1441
|
-
function (color) {
|
1442
|
-
if (color) {
|
1443
|
-
this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);
|
1444
|
-
this._color = color;
|
1445
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + this._color);
|
1446
|
-
}
|
1447
|
-
},
|
1448
|
-
enumerable: true,
|
1449
|
-
configurable: true
|
1450
|
-
});
|
1451
|
-
TdLayoutFooterComponent.decorators = [
|
1452
|
-
{ type: Component, args: [{
|
1453
|
-
/* tslint:disable-next-line */
|
1454
|
-
selector: 'td-layout-footer,td-layout-footer-inner',
|
1455
|
-
template: "<ng-content></ng-content>\n",
|
1456
|
-
styles: [":host{display:block;padding:10px 16px}"]
|
1457
|
-
}] }
|
1458
|
-
];
|
1459
|
-
/** @nocollapse */
|
1460
|
-
TdLayoutFooterComponent.ctorParameters = function () { return [
|
1461
|
-
{ type: Renderer2 },
|
1462
|
-
{ type: ElementRef }
|
1463
|
-
]; };
|
1464
|
-
TdLayoutFooterComponent.propDecorators = {
|
1465
|
-
color: [{ type: Input, args: ['color',] }]
|
1466
|
-
};
|
1467
|
-
return TdLayoutFooterComponent;
|
1468
|
-
}());
|
1469
|
-
if (false) {
|
1470
|
-
/**
|
1471
|
-
* @type {?}
|
1472
|
-
* @private
|
1473
|
-
*/
|
1474
|
-
TdLayoutFooterComponent.prototype._color;
|
1475
|
-
/**
|
1476
|
-
* @type {?}
|
1477
|
-
* @private
|
1478
|
-
*/
|
1479
|
-
TdLayoutFooterComponent.prototype._renderer;
|
1480
|
-
/**
|
1481
|
-
* @type {?}
|
1482
|
-
* @private
|
1483
|
-
*/
|
1484
|
-
TdLayoutFooterComponent.prototype._elementRef;
|
1485
|
-
}
|
1486
|
-
|
1487
|
-
/**
|
1488
|
-
* @fileoverview added by tsickle
|
1489
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1490
|
-
*/
|
1491
|
-
var TdNavigationDrawerMenuDirective = /** @class */ (function () {
|
1492
|
-
function TdNavigationDrawerMenuDirective() {
|
1493
|
-
}
|
1494
|
-
TdNavigationDrawerMenuDirective.decorators = [
|
1495
|
-
{ type: Directive, args: [{
|
1496
|
-
selector: '[td-navigation-drawer-menu]',
|
1497
|
-
},] }
|
1498
|
-
];
|
1499
|
-
return TdNavigationDrawerMenuDirective;
|
1500
|
-
}());
|
1501
|
-
var TdNavigationDrawerToolbarDirective = /** @class */ (function () {
|
1502
|
-
function TdNavigationDrawerToolbarDirective() {
|
1503
|
-
}
|
1504
|
-
TdNavigationDrawerToolbarDirective.decorators = [
|
1505
|
-
{ type: Directive, args: [{
|
1506
|
-
selector: '[td-navigation-drawer-toolbar]',
|
1507
|
-
},] }
|
1508
|
-
];
|
1509
|
-
return TdNavigationDrawerToolbarDirective;
|
1510
|
-
}());
|
1511
|
-
var TdNavigationDrawerComponent = /** @class */ (function () {
|
1512
|
-
function TdNavigationDrawerComponent(_layout, _router, _sanitize) {
|
1513
|
-
this._layout = _layout;
|
1514
|
-
this._router = _router;
|
1515
|
-
this._sanitize = _sanitize;
|
1516
|
-
this._menuToggled = false;
|
1517
|
-
}
|
1518
|
-
Object.defineProperty(TdNavigationDrawerComponent.prototype, "menuToggled", {
|
1519
|
-
get: /**
|
1520
|
-
* @return {?}
|
1521
|
-
*/
|
1522
|
-
function () {
|
1523
|
-
return this._menuToggled;
|
1524
|
-
},
|
1525
|
-
enumerable: true,
|
1526
|
-
configurable: true
|
1527
|
-
});
|
1528
|
-
Object.defineProperty(TdNavigationDrawerComponent.prototype, "isMenuAvailable", {
|
1529
|
-
/**
|
1530
|
-
* Checks if there is a [TdNavigationDrawerMenuDirective] has content.
|
1531
|
-
*/
|
1532
|
-
get: /**
|
1533
|
-
* Checks if there is a [TdNavigationDrawerMenuDirective] has content.
|
1534
|
-
* @return {?}
|
1535
|
-
*/
|
1536
|
-
function () {
|
1537
|
-
return this._drawerMenu ? this._drawerMenu.length > 0 : false;
|
1538
|
-
},
|
1539
|
-
enumerable: true,
|
1540
|
-
configurable: true
|
1541
|
-
});
|
1542
|
-
Object.defineProperty(TdNavigationDrawerComponent.prototype, "isCustomToolbar", {
|
1543
|
-
/**
|
1544
|
-
* Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
|
1545
|
-
*/
|
1546
|
-
get: /**
|
1547
|
-
* Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
|
1548
|
-
* @return {?}
|
1549
|
-
*/
|
1550
|
-
function () {
|
1551
|
-
return this._toolbar ? this._toolbar.length > 0 : false;
|
1552
|
-
},
|
1553
|
-
enumerable: true,
|
1554
|
-
configurable: true
|
1555
|
-
});
|
1556
|
-
Object.defineProperty(TdNavigationDrawerComponent.prototype, "isBackgroundAvailable", {
|
1557
|
-
/**
|
1558
|
-
* Checks if there is a background image for the toolbar.
|
1559
|
-
*/
|
1560
|
-
get: /**
|
1561
|
-
* Checks if there is a background image for the toolbar.
|
1562
|
-
* @return {?}
|
1563
|
-
*/
|
1564
|
-
function () {
|
1565
|
-
return !!this._backgroundImage;
|
1566
|
-
},
|
1567
|
-
enumerable: true,
|
1568
|
-
configurable: true
|
1569
|
-
});
|
1570
|
-
Object.defineProperty(TdNavigationDrawerComponent.prototype, "backgroundUrl", {
|
1571
|
-
/**
|
1572
|
-
* backgroundUrl?: SafeResourceUrl
|
1573
|
-
*
|
1574
|
-
* image to be displayed as the background of the toolbar.
|
1575
|
-
* URL used will be sanitized, but it should be always from a trusted source to avoid XSS.
|
1576
|
-
*/
|
1577
|
-
set: /**
|
1578
|
-
* backgroundUrl?: SafeResourceUrl
|
1579
|
-
*
|
1580
|
-
* image to be displayed as the background of the toolbar.
|
1581
|
-
* URL used will be sanitized, but it should be always from a trusted source to avoid XSS.
|
1582
|
-
* @param {?} backgroundUrl
|
1583
|
-
* @return {?}
|
1584
|
-
*/
|
1585
|
-
function (backgroundUrl) {
|
1586
|
-
if (backgroundUrl) {
|
1587
|
-
/** @type {?} */
|
1588
|
-
var sanitizedUrl = this._sanitize.sanitize(SecurityContext.RESOURCE_URL, backgroundUrl);
|
1589
|
-
this._backgroundImage = this._sanitize.sanitize(SecurityContext.STYLE, 'url(' + sanitizedUrl + ')');
|
1590
|
-
}
|
1591
|
-
},
|
1592
|
-
enumerable: true,
|
1593
|
-
configurable: true
|
1594
|
-
});
|
1595
|
-
Object.defineProperty(TdNavigationDrawerComponent.prototype, "backgroundImage", {
|
1596
|
-
get: /**
|
1597
|
-
* @return {?}
|
1598
|
-
*/
|
1599
|
-
function () {
|
1600
|
-
return this._backgroundImage;
|
1601
|
-
},
|
1602
|
-
enumerable: true,
|
1603
|
-
configurable: true
|
1604
|
-
});
|
1605
|
-
Object.defineProperty(TdNavigationDrawerComponent.prototype, "routerEnabled", {
|
1606
|
-
/**
|
1607
|
-
* Checks if router was injected.
|
1608
|
-
*/
|
1609
|
-
get: /**
|
1610
|
-
* Checks if router was injected.
|
1611
|
-
* @return {?}
|
1612
|
-
*/
|
1613
|
-
function () {
|
1614
|
-
return !!this._router && !!this.navigationRoute;
|
1615
|
-
},
|
1616
|
-
enumerable: true,
|
1617
|
-
configurable: true
|
1618
|
-
});
|
1619
|
-
/**
|
1620
|
-
* @return {?}
|
1621
|
-
*/
|
1622
|
-
TdNavigationDrawerComponent.prototype.ngOnInit = /**
|
1623
|
-
* @return {?}
|
1624
|
-
*/
|
1625
|
-
function () {
|
1626
|
-
var _this = this;
|
1627
|
-
this._closeSubscription = this._layout.sidenav.openedChange.subscribe((/**
|
1628
|
-
* @param {?} opened
|
1629
|
-
* @return {?}
|
1630
|
-
*/
|
1631
|
-
function (opened) {
|
1632
|
-
if (!opened) {
|
1633
|
-
_this._menuToggled = false;
|
1634
|
-
}
|
1635
|
-
}));
|
1636
|
-
};
|
1637
|
-
/**
|
1638
|
-
* @return {?}
|
1639
|
-
*/
|
1640
|
-
TdNavigationDrawerComponent.prototype.ngOnDestroy = /**
|
1641
|
-
* @return {?}
|
1642
|
-
*/
|
1643
|
-
function () {
|
1644
|
-
if (this._closeSubscription) {
|
1645
|
-
this._closeSubscription.unsubscribe();
|
1646
|
-
this._closeSubscription = undefined;
|
1647
|
-
}
|
1648
|
-
};
|
1649
|
-
/**
|
1650
|
-
* @return {?}
|
1651
|
-
*/
|
1652
|
-
TdNavigationDrawerComponent.prototype.toggleMenu = /**
|
1653
|
-
* @return {?}
|
1654
|
-
*/
|
1655
|
-
function () {
|
1656
|
-
if (this.isMenuAvailable) {
|
1657
|
-
this._menuToggled = !this._menuToggled;
|
1658
|
-
}
|
1659
|
-
};
|
1660
|
-
/**
|
1661
|
-
* @return {?}
|
1662
|
-
*/
|
1663
|
-
TdNavigationDrawerComponent.prototype.handleNavigationClick = /**
|
1664
|
-
* @return {?}
|
1665
|
-
*/
|
1666
|
-
function () {
|
1667
|
-
if (this.routerEnabled) {
|
1668
|
-
this._router.navigateByUrl(this.navigationRoute);
|
1669
|
-
this.close();
|
1670
|
-
}
|
1671
|
-
};
|
1672
|
-
/**
|
1673
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1674
|
-
*/
|
1675
|
-
/**
|
1676
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1677
|
-
* @return {?}
|
1678
|
-
*/
|
1679
|
-
TdNavigationDrawerComponent.prototype.toggle = /**
|
1680
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1681
|
-
* @return {?}
|
1682
|
-
*/
|
1683
|
-
function () {
|
1684
|
-
return this._layout.toggle();
|
1685
|
-
};
|
1686
|
-
/**
|
1687
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1688
|
-
*/
|
1689
|
-
/**
|
1690
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1691
|
-
* @return {?}
|
1692
|
-
*/
|
1693
|
-
TdNavigationDrawerComponent.prototype.open = /**
|
1694
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1695
|
-
* @return {?}
|
1696
|
-
*/
|
1697
|
-
function () {
|
1698
|
-
return this._layout.open();
|
1699
|
-
};
|
1700
|
-
/**
|
1701
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1702
|
-
*/
|
1703
|
-
/**
|
1704
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1705
|
-
* @return {?}
|
1706
|
-
*/
|
1707
|
-
TdNavigationDrawerComponent.prototype.close = /**
|
1708
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1709
|
-
* @return {?}
|
1710
|
-
*/
|
1711
|
-
function () {
|
1712
|
-
return this._layout.close();
|
1713
|
-
};
|
1714
|
-
TdNavigationDrawerComponent.decorators = [
|
1715
|
-
{ type: Component, args: [{
|
1716
|
-
selector: 'td-navigation-drawer',
|
1717
|
-
template: "<mat-toolbar\n [color]=\"color\"\n [style.background-image]=\"backgroundImage\"\n [class.td-toolbar-background]=\"!!isBackgroundAvailable\"\n class=\"td-nagivation-drawer-toolbar\"\n>\n <ng-content select=\"[td-navigation-drawer-toolbar]\"></ng-content>\n <ng-container *ngIf=\"!isCustomToolbar\">\n <div\n *ngIf=\"icon || logo || sidenavTitle || avatar\"\n class=\"td-navigation-drawer-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></mat-icon>\n <img *ngIf=\"avatar && !logo && !icon\" class=\"td-nagivation-drawer-toolbar-avatar\" [attr.src]=\"avatar\" />\n <span *ngIf=\"sidenavTitle\" class=\"td-navigation-drawer-title\">{{ sidenavTitle }}</span>\n </div>\n <div class=\"td-navigation-drawer-name\" *ngIf=\"email && name\">{{ name }}</div>\n <div class=\"td-navigation-drawer-menu-toggle\" href *ngIf=\"email || name\" (click)=\"toggleMenu()\">\n <span class=\"td-navigation-drawer-label\">{{ email || name }}</span>\n <button mat-icon-button class=\"td-navigation-drawer-menu-button\" *ngIf=\"isMenuAvailable\">\n <mat-icon *ngIf=\"!menuToggled\">arrow_drop_down</mat-icon>\n <mat-icon *ngIf=\"menuToggled\">arrow_drop_up</mat-icon>\n </button>\n </div>\n </ng-container>\n</mat-toolbar>\n<div class=\"td-navigation-drawer-content\" [@tdCollapse]=\"menuToggled\">\n <ng-content></ng-content>\n</div>\n<div class=\"td-navigation-drawer-menu-content\" [@tdCollapse]=\"!menuToggled\">\n <ng-content select=\"[td-navigation-drawer-menu]\"></ng-content>\n</div>\n",
|
1718
|
-
animations: [tdCollapseAnimation],
|
1719
|
-
styles: [":host{width:100%}:host .td-navigation-drawer-content.ng-animating,:host .td-navigation-drawer-menu-content.ng-animating{overflow:hidden}:host mat-toolbar{padding:16px}:host mat-toolbar.td-toolbar-background{background-repeat:no-repeat;background-size:cover}:host mat-toolbar.td-nagivation-drawer-toolbar{-ms-flex-direction:column;flex-direction:column;height:auto!important;display:block!important}:host mat-toolbar .td-navigation-drawer-toolbar-content{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-nagivation-drawer-toolbar-avatar{border-radius:50%;height:60px;width:60px;margin:0 12px 12px 0}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-navigation-drawer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-label{-ms-flex:1;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-menu-button{height:24px;line-height:24px;width:24px}:host>div{overflow:hidden}"]
|
1720
|
-
}] }
|
1721
|
-
];
|
1722
|
-
/** @nocollapse */
|
1723
|
-
TdNavigationDrawerComponent.ctorParameters = function () { return [
|
1724
|
-
{ type: TdLayoutComponent, decorators: [{ type: Inject, args: [forwardRef((/**
|
1725
|
-
* @return {?}
|
1726
|
-
*/
|
1727
|
-
function () { return TdLayoutComponent; })),] }] },
|
1728
|
-
{ type: Router, decorators: [{ type: Optional }] },
|
1729
|
-
{ type: DomSanitizer }
|
1730
|
-
]; };
|
1731
|
-
TdNavigationDrawerComponent.propDecorators = {
|
1732
|
-
_drawerMenu: [{ type: ContentChildren, args: [TdNavigationDrawerMenuDirective, { descendants: true },] }],
|
1733
|
-
_toolbar: [{ type: ContentChildren, args: [TdNavigationDrawerToolbarDirective, { descendants: true },] }],
|
1734
|
-
sidenavTitle: [{ type: Input }],
|
1735
|
-
icon: [{ type: Input }],
|
1736
|
-
logo: [{ type: Input }],
|
1737
|
-
avatar: [{ type: Input }],
|
1738
|
-
color: [{ type: Input }],
|
1739
|
-
navigationRoute: [{ type: Input }],
|
1740
|
-
backgroundUrl: [{ type: Input, args: ['backgroundUrl',] }],
|
1741
|
-
name: [{ type: Input }],
|
1742
|
-
email: [{ type: Input }]
|
1743
|
-
};
|
1744
|
-
return TdNavigationDrawerComponent;
|
1745
|
-
}());
|
1746
|
-
if (false) {
|
1747
|
-
/**
|
1748
|
-
* @type {?}
|
1749
|
-
* @private
|
1750
|
-
*/
|
1751
|
-
TdNavigationDrawerComponent.prototype._closeSubscription;
|
1752
|
-
/**
|
1753
|
-
* @type {?}
|
1754
|
-
* @private
|
1755
|
-
*/
|
1756
|
-
TdNavigationDrawerComponent.prototype._menuToggled;
|
1757
|
-
/**
|
1758
|
-
* @type {?}
|
1759
|
-
* @private
|
1760
|
-
*/
|
1761
|
-
TdNavigationDrawerComponent.prototype._backgroundImage;
|
1762
|
-
/** @type {?} */
|
1763
|
-
TdNavigationDrawerComponent.prototype._drawerMenu;
|
1764
|
-
/** @type {?} */
|
1765
|
-
TdNavigationDrawerComponent.prototype._toolbar;
|
1766
|
-
/**
|
1767
|
-
* sidenavTitle?: string
|
1768
|
-
* Title set in sideNav.
|
1769
|
-
* @type {?}
|
1770
|
-
*/
|
1771
|
-
TdNavigationDrawerComponent.prototype.sidenavTitle;
|
1772
|
-
/**
|
1773
|
-
* icon?: string
|
1774
|
-
*
|
1775
|
-
* icon name to be displayed before the title
|
1776
|
-
* @type {?}
|
1777
|
-
*/
|
1778
|
-
TdNavigationDrawerComponent.prototype.icon;
|
1779
|
-
/**
|
1780
|
-
* logo?: string
|
1781
|
-
*
|
1782
|
-
* logo icon name to be displayed before the title.
|
1783
|
-
* If [icon] is set, then this will not be shown.
|
1784
|
-
* @type {?}
|
1785
|
-
*/
|
1786
|
-
TdNavigationDrawerComponent.prototype.logo;
|
1787
|
-
/**
|
1788
|
-
* avatar?: string
|
1789
|
-
*
|
1790
|
-
* avatar url to be displayed before the title
|
1791
|
-
* If [icon] or [logo] are set, then this will not be shown.
|
1792
|
-
* @type {?}
|
1793
|
-
*/
|
1794
|
-
TdNavigationDrawerComponent.prototype.avatar;
|
1795
|
-
/**
|
1796
|
-
* color?: 'accent' | 'primary' | 'warn'
|
1797
|
-
*
|
1798
|
-
* toolbar color option: primary | accent | warn.
|
1799
|
-
* If [color] is not set, default is used.
|
1800
|
-
* @type {?}
|
1801
|
-
*/
|
1802
|
-
TdNavigationDrawerComponent.prototype.color;
|
1803
|
-
/**
|
1804
|
-
* navigationRoute?: string
|
1805
|
-
*
|
1806
|
-
* option to set the combined route for the icon, logo, and sidenavTitle.
|
1807
|
-
* @type {?}
|
1808
|
-
*/
|
1809
|
-
TdNavigationDrawerComponent.prototype.navigationRoute;
|
1810
|
-
/**
|
1811
|
-
* name?: string
|
1812
|
-
*
|
1813
|
-
* string to be displayed as part of the navigation drawer sublabel.
|
1814
|
-
* if [email] is not set, then [name] will be the toggle menu text.
|
1815
|
-
* @type {?}
|
1816
|
-
*/
|
1817
|
-
TdNavigationDrawerComponent.prototype.name;
|
1818
|
-
/**
|
1819
|
-
* email?: string
|
1820
|
-
*
|
1821
|
-
* string to be displayed as part of the navigation drawer sublabel in the [toggle] menu text.
|
1822
|
-
* if [email] and [name] are not set, then the toggle menu is not rendered.
|
1823
|
-
* @type {?}
|
1824
|
-
*/
|
1825
|
-
TdNavigationDrawerComponent.prototype.email;
|
1826
|
-
/**
|
1827
|
-
* @type {?}
|
1828
|
-
* @private
|
1829
|
-
*/
|
1830
|
-
TdNavigationDrawerComponent.prototype._layout;
|
1831
|
-
/**
|
1832
|
-
* @type {?}
|
1833
|
-
* @private
|
1834
|
-
*/
|
1835
|
-
TdNavigationDrawerComponent.prototype._router;
|
1836
|
-
/**
|
1837
|
-
* @type {?}
|
1838
|
-
* @private
|
1839
|
-
*/
|
1840
|
-
TdNavigationDrawerComponent.prototype._sanitize;
|
1841
|
-
}
|
1842
|
-
|
1843
|
-
/**
|
1844
|
-
* @fileoverview added by tsickle
|
1845
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1846
|
-
*/
|
1847
|
-
/** @type {?} */
|
1848
|
-
var TD_LAYOUTS = [
|
1849
|
-
TdLayoutComponent,
|
1850
|
-
TdLayoutToggleDirective,
|
1851
|
-
TdLayoutCloseDirective,
|
1852
|
-
TdLayoutOpenDirective,
|
1853
|
-
TdLayoutNavComponent,
|
1854
|
-
TdLayoutNavListComponent,
|
1855
|
-
TdLayoutNavListToggleDirective,
|
1856
|
-
TdLayoutNavListCloseDirective,
|
1857
|
-
TdLayoutNavListOpenDirective,
|
1858
|
-
TdLayoutCardOverComponent,
|
1859
|
-
TdLayoutManageListComponent,
|
1860
|
-
TdLayoutManageListToggleDirective,
|
1861
|
-
TdLayoutManageListCloseDirective,
|
1862
|
-
TdLayoutManageListOpenDirective,
|
1863
|
-
TdLayoutFooterComponent,
|
1864
|
-
TdNavigationDrawerComponent,
|
1865
|
-
TdNavigationDrawerMenuDirective,
|
1866
|
-
TdNavigationDrawerToolbarDirective,
|
1867
|
-
];
|
1868
|
-
var CovalentLayoutModule = /** @class */ (function () {
|
1869
|
-
function CovalentLayoutModule() {
|
1870
|
-
}
|
1871
|
-
CovalentLayoutModule.decorators = [
|
1872
|
-
{ type: NgModule, args: [{
|
1873
|
-
imports: [
|
1874
|
-
CommonModule,
|
1875
|
-
ScrollingModule,
|
1876
|
-
MatSidenavModule,
|
1877
|
-
MatToolbarModule,
|
1878
|
-
MatButtonModule,
|
1879
|
-
MatIconModule,
|
1880
|
-
MatCardModule,
|
1881
|
-
MatDividerModule,
|
1882
|
-
],
|
1883
|
-
declarations: [TD_LAYOUTS],
|
1884
|
-
exports: [TD_LAYOUTS],
|
1885
|
-
},] }
|
1886
|
-
];
|
1887
|
-
return CovalentLayoutModule;
|
1888
|
-
}());
|
1889
|
-
|
1890
|
-
/**
|
1891
|
-
* @fileoverview added by tsickle
|
1892
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1893
|
-
*/
|
1894
|
-
|
1895
|
-
/**
|
1896
|
-
* @fileoverview added by tsickle
|
1897
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1898
|
-
*/
|
1899
|
-
|
1900
|
-
/**
|
1901
|
-
* @fileoverview added by tsickle
|
1902
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1903
|
-
*/
|
1904
|
-
|
1905
|
-
export { CovalentLayoutModule, LayoutToggle, LayoutToggleBase, TdLayoutCardOverComponent, TdLayoutCloseDirective, TdLayoutComponent, TdLayoutFooterComponent, TdLayoutManageListCloseDirective, TdLayoutManageListComponent, TdLayoutManageListOpenDirective, TdLayoutManageListToggleDirective, TdLayoutNavComponent, TdLayoutNavListCloseDirective, TdLayoutNavListComponent, TdLayoutNavListOpenDirective, TdLayoutNavListToggleDirective, TdLayoutOpenDirective, TdLayoutToggleDirective, TdNavigationDrawerComponent, TdNavigationDrawerMenuDirective, TdNavigationDrawerToolbarDirective, _TdLayoutToggleMixinBase };
|
1906
|
-
//# sourceMappingURL=covalent-core-layout.js.map
|