@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,226 +1,13 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/cdk/scrolling'), require('@angular/material/sidenav'), require('@angular/material/toolbar'), require('@angular/material/button'), require('@angular/material/icon'), require('@angular/material/card'), require('@angular/material/divider'), require('@covalent/core/common'), require('@angular/router'), require('@angular/platform-browser')) :
|
3
3
|
typeof define === 'function' && define.amd ? define('@covalent/core/layout', ['exports', '@angular/core', '@angular/common', '@angular/cdk/scrolling', '@angular/material/sidenav', '@angular/material/toolbar', '@angular/material/button', '@angular/material/icon', '@angular/material/card', '@angular/material/divider', '@covalent/core/common', '@angular/router', '@angular/platform-browser'], factory) :
|
4
|
-
(global = global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.layout = {}), global.ng.core, global.ng.common, global.ng.cdk.scrolling, global.ng.material.sidenav, global.ng.material.toolbar, global.ng.material.button, global.ng.material.icon, global.ng.material.card, global.ng.material.divider, global.covalent.core.common, global.ng.router, global.ng.platformBrowser));
|
5
|
-
}(this, (function (exports, core, common, scrolling, sidenav, toolbar, button, icon, card, divider, common
|
6
|
-
|
7
|
-
/*! *****************************************************************************
|
8
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
9
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
10
|
-
this file except in compliance with the License. You may obtain a copy of the
|
11
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
|
13
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
15
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
16
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
17
|
-
|
18
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
19
|
-
and limitations under the License.
|
20
|
-
***************************************************************************** */
|
21
|
-
/* global Reflect, Promise */
|
22
|
-
|
23
|
-
var extendStatics = function(d, b) {
|
24
|
-
extendStatics = Object.setPrototypeOf ||
|
25
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
26
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
27
|
-
return extendStatics(d, b);
|
28
|
-
};
|
29
|
-
|
30
|
-
function __extends(d, b) {
|
31
|
-
extendStatics(d, b);
|
32
|
-
function __() { this.constructor = d; }
|
33
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
34
|
-
}
|
35
|
-
|
36
|
-
var __assign = function() {
|
37
|
-
__assign = Object.assign || function __assign(t) {
|
38
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
39
|
-
s = arguments[i];
|
40
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
41
|
-
}
|
42
|
-
return t;
|
43
|
-
};
|
44
|
-
return __assign.apply(this, arguments);
|
45
|
-
};
|
46
|
-
|
47
|
-
function __rest(s, e) {
|
48
|
-
var t = {};
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
50
|
-
t[p] = s[p];
|
51
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
52
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
54
|
-
t[p[i]] = s[p[i]];
|
55
|
-
}
|
56
|
-
return t;
|
57
|
-
}
|
58
|
-
|
59
|
-
function __decorate(decorators, target, key, desc) {
|
60
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
61
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
62
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
63
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
64
|
-
}
|
65
|
-
|
66
|
-
function __param(paramIndex, decorator) {
|
67
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
68
|
-
}
|
69
|
-
|
70
|
-
function __metadata(metadataKey, metadataValue) {
|
71
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
72
|
-
}
|
73
|
-
|
74
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
75
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
76
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
77
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
78
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
79
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
80
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
81
|
-
});
|
82
|
-
}
|
83
|
-
|
84
|
-
function __generator(thisArg, body) {
|
85
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
86
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
87
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
88
|
-
function step(op) {
|
89
|
-
if (f) throw new TypeError("Generator is already executing.");
|
90
|
-
while (_) try {
|
91
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
92
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
93
|
-
switch (op[0]) {
|
94
|
-
case 0: case 1: t = op; break;
|
95
|
-
case 4: _.label++; return { value: op[1], done: false };
|
96
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
97
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
98
|
-
default:
|
99
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
100
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
101
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
102
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
103
|
-
if (t[2]) _.ops.pop();
|
104
|
-
_.trys.pop(); continue;
|
105
|
-
}
|
106
|
-
op = body.call(thisArg, _);
|
107
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
108
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
function __exportStar(m, exports) {
|
113
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
114
|
-
}
|
115
|
-
|
116
|
-
function __values(o) {
|
117
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
118
|
-
if (m) return m.call(o);
|
119
|
-
if (o && typeof o.length === "number") return {
|
120
|
-
next: function () {
|
121
|
-
if (o && i >= o.length) o = void 0;
|
122
|
-
return { value: o && o[i++], done: !o };
|
123
|
-
}
|
124
|
-
};
|
125
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
126
|
-
}
|
127
|
-
|
128
|
-
function __read(o, n) {
|
129
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
130
|
-
if (!m) return o;
|
131
|
-
var i = m.call(o), r, ar = [], e;
|
132
|
-
try {
|
133
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
134
|
-
}
|
135
|
-
catch (error) { e = { error: error }; }
|
136
|
-
finally {
|
137
|
-
try {
|
138
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
139
|
-
}
|
140
|
-
finally { if (e) throw e.error; }
|
141
|
-
}
|
142
|
-
return ar;
|
143
|
-
}
|
144
|
-
|
145
|
-
function __spread() {
|
146
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
147
|
-
ar = ar.concat(__read(arguments[i]));
|
148
|
-
return ar;
|
149
|
-
}
|
150
|
-
|
151
|
-
function __spreadArrays() {
|
152
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
153
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
154
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
155
|
-
r[k] = a[j];
|
156
|
-
return r;
|
157
|
-
};
|
158
|
-
|
159
|
-
function __await(v) {
|
160
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
161
|
-
}
|
162
|
-
|
163
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
164
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
165
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
166
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
167
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
168
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
169
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
170
|
-
function fulfill(value) { resume("next", value); }
|
171
|
-
function reject(value) { resume("throw", value); }
|
172
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
173
|
-
}
|
174
|
-
|
175
|
-
function __asyncDelegator(o) {
|
176
|
-
var i, p;
|
177
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
178
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
179
|
-
}
|
180
|
-
|
181
|
-
function __asyncValues(o) {
|
182
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
183
|
-
var m = o[Symbol.asyncIterator], i;
|
184
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
185
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
186
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
187
|
-
}
|
188
|
-
|
189
|
-
function __makeTemplateObject(cooked, raw) {
|
190
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
191
|
-
return cooked;
|
192
|
-
};
|
193
|
-
|
194
|
-
function __importStar(mod) {
|
195
|
-
if (mod && mod.__esModule) return mod;
|
196
|
-
var result = {};
|
197
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
198
|
-
result.default = mod;
|
199
|
-
return result;
|
200
|
-
}
|
201
|
-
|
202
|
-
function __importDefault(mod) {
|
203
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
204
|
-
}
|
205
|
-
|
206
|
-
function __classPrivateFieldGet(receiver, privateMap) {
|
207
|
-
if (!privateMap.has(receiver)) {
|
208
|
-
throw new TypeError("attempted to get private field on non-instance");
|
209
|
-
}
|
210
|
-
return privateMap.get(receiver);
|
211
|
-
}
|
212
|
-
|
213
|
-
function __classPrivateFieldSet(receiver, privateMap, value) {
|
214
|
-
if (!privateMap.has(receiver)) {
|
215
|
-
throw new TypeError("attempted to set private field on non-instance");
|
216
|
-
}
|
217
|
-
privateMap.set(receiver, value);
|
218
|
-
return value;
|
219
|
-
}
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.layout = {}), global.ng.core, global.ng.common, global.ng.cdk.scrolling, global.ng.material.sidenav, global.ng.material.toolbar, global.ng.material.button, global.ng.material.icon, global.ng.material.card, global.ng.material.divider, global.covalent.core.common, global.ng.router, global.ng.platformBrowser));
|
5
|
+
}(this, (function (exports, core, common$1, scrolling, sidenav, toolbar, button, icon, card, divider, common, router, platformBrowser) { 'use strict';
|
220
6
|
|
221
7
|
/**
|
222
8
|
* @fileoverview added by tsickle
|
223
|
-
*
|
9
|
+
* Generated from: layout.component.ts
|
10
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
224
11
|
*/
|
225
12
|
var TdLayoutComponent = /** @class */ (function () {
|
226
13
|
function TdLayoutComponent() {
|
@@ -268,78 +55,53 @@
|
|
268
55
|
}
|
269
56
|
Object.defineProperty(TdLayoutComponent.prototype, "disableClose", {
|
270
57
|
/**
|
271
|
-
* Checks if `ESC` should close the sidenav
|
272
|
-
* Should only close it for `push` and `over` modes
|
273
|
-
*/
|
274
|
-
get: /**
|
275
58
|
* Checks if `ESC` should close the sidenav
|
276
59
|
* Should only close it for `push` and `over` modes
|
277
60
|
* @return {?}
|
278
61
|
*/
|
279
|
-
function () {
|
62
|
+
get: function () {
|
280
63
|
return this.mode === 'side';
|
281
64
|
},
|
282
|
-
enumerable:
|
65
|
+
enumerable: false,
|
283
66
|
configurable: true
|
284
67
|
});
|
285
|
-
/**
|
286
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
287
|
-
*/
|
288
68
|
/**
|
289
69
|
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
290
70
|
* @return {?}
|
291
71
|
*/
|
292
|
-
TdLayoutComponent.prototype.toggle =
|
293
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
294
|
-
* @return {?}
|
295
|
-
*/
|
296
|
-
function () {
|
72
|
+
TdLayoutComponent.prototype.toggle = function () {
|
297
73
|
return this.sidenav.toggle(!this.sidenav.opened);
|
298
74
|
};
|
299
|
-
/**
|
300
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
301
|
-
*/
|
302
75
|
/**
|
303
76
|
* Proxy open method to access sidenav from outside (from td-layout template).
|
304
77
|
* @return {?}
|
305
78
|
*/
|
306
|
-
TdLayoutComponent.prototype.open =
|
307
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
308
|
-
* @return {?}
|
309
|
-
*/
|
310
|
-
function () {
|
79
|
+
TdLayoutComponent.prototype.open = function () {
|
311
80
|
return this.sidenav.open();
|
312
81
|
};
|
313
|
-
/**
|
314
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
315
|
-
*/
|
316
82
|
/**
|
317
83
|
* Proxy close method to access sidenav from outside (from td-layout template).
|
318
84
|
* @return {?}
|
319
85
|
*/
|
320
|
-
TdLayoutComponent.prototype.close =
|
321
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
322
|
-
* @return {?}
|
323
|
-
*/
|
324
|
-
function () {
|
86
|
+
TdLayoutComponent.prototype.close = function () {
|
325
87
|
return this.sidenav.close();
|
326
88
|
};
|
327
|
-
TdLayoutComponent.decorators = [
|
328
|
-
{ type: core.Component, args: [{
|
329
|
-
selector: 'td-layout',
|
330
|
-
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",
|
331
|
-
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}"]
|
332
|
-
}] }
|
333
|
-
];
|
334
|
-
TdLayoutComponent.propDecorators = {
|
335
|
-
sidenav: [{ type: core.ViewChild, args: [sidenav.MatSidenav, { static: true },] }],
|
336
|
-
mode: [{ type: core.Input }],
|
337
|
-
opened: [{ type: core.Input }],
|
338
|
-
sidenavWidth: [{ type: core.Input }],
|
339
|
-
containerAutosize: [{ type: core.Input }]
|
340
|
-
};
|
341
89
|
return TdLayoutComponent;
|
342
90
|
}());
|
91
|
+
TdLayoutComponent.decorators = [
|
92
|
+
{ type: core.Component, args: [{
|
93
|
+
selector: 'td-layout',
|
94
|
+
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",
|
95
|
+
styles: [":host{display:-ms-flexbox;display:flex;height:100%;margin:0;min-height:100%;overflow:hidden;width:100%}:host ::ng-deep>mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column}"]
|
96
|
+
}] }
|
97
|
+
];
|
98
|
+
TdLayoutComponent.propDecorators = {
|
99
|
+
sidenav: [{ type: core.ViewChild, args: [sidenav.MatSidenav, { static: true },] }],
|
100
|
+
mode: [{ type: core.Input }],
|
101
|
+
opened: [{ type: core.Input }],
|
102
|
+
sidenavWidth: [{ type: core.Input }],
|
103
|
+
containerAutosize: [{ type: core.Input }]
|
104
|
+
};
|
343
105
|
if (false) {
|
344
106
|
/** @type {?} */
|
345
107
|
TdLayoutComponent.prototype.sidenav;
|
@@ -390,10 +152,307 @@
|
|
390
152
|
TdLayoutComponent.prototype.containerAutosize;
|
391
153
|
}
|
392
154
|
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
155
|
+
/*! *****************************************************************************
|
156
|
+
Copyright (c) Microsoft Corporation.
|
157
|
+
|
158
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
159
|
+
purpose with or without fee is hereby granted.
|
160
|
+
|
161
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
162
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
163
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
164
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
165
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
166
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
167
|
+
PERFORMANCE OF THIS SOFTWARE.
|
168
|
+
***************************************************************************** */
|
169
|
+
/* global Reflect, Promise */
|
170
|
+
var extendStatics = function (d, b) {
|
171
|
+
extendStatics = Object.setPrototypeOf ||
|
172
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
173
|
+
function (d, b) { for (var p in b)
|
174
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
175
|
+
d[p] = b[p]; };
|
176
|
+
return extendStatics(d, b);
|
177
|
+
};
|
178
|
+
function __extends(d, b) {
|
179
|
+
extendStatics(d, b);
|
180
|
+
function __() { this.constructor = d; }
|
181
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
182
|
+
}
|
183
|
+
var __assign = function () {
|
184
|
+
__assign = Object.assign || function __assign(t) {
|
185
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
186
|
+
s = arguments[i];
|
187
|
+
for (var p in s)
|
188
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
189
|
+
t[p] = s[p];
|
190
|
+
}
|
191
|
+
return t;
|
192
|
+
};
|
193
|
+
return __assign.apply(this, arguments);
|
194
|
+
};
|
195
|
+
function __rest(s, e) {
|
196
|
+
var t = {};
|
197
|
+
for (var p in s)
|
198
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
199
|
+
t[p] = s[p];
|
200
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
201
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
202
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
203
|
+
t[p[i]] = s[p[i]];
|
204
|
+
}
|
205
|
+
return t;
|
206
|
+
}
|
207
|
+
function __decorate(decorators, target, key, desc) {
|
208
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
209
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
210
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
211
|
+
else
|
212
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
213
|
+
if (d = decorators[i])
|
214
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
215
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
216
|
+
}
|
217
|
+
function __param(paramIndex, decorator) {
|
218
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
219
|
+
}
|
220
|
+
function __metadata(metadataKey, metadataValue) {
|
221
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
222
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
223
|
+
}
|
224
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
225
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
226
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
227
|
+
function fulfilled(value) { try {
|
228
|
+
step(generator.next(value));
|
229
|
+
}
|
230
|
+
catch (e) {
|
231
|
+
reject(e);
|
232
|
+
} }
|
233
|
+
function rejected(value) { try {
|
234
|
+
step(generator["throw"](value));
|
235
|
+
}
|
236
|
+
catch (e) {
|
237
|
+
reject(e);
|
238
|
+
} }
|
239
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
240
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
241
|
+
});
|
242
|
+
}
|
243
|
+
function __generator(thisArg, body) {
|
244
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
245
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
246
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
247
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
248
|
+
function step(op) {
|
249
|
+
if (f)
|
250
|
+
throw new TypeError("Generator is already executing.");
|
251
|
+
while (_)
|
252
|
+
try {
|
253
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
254
|
+
return t;
|
255
|
+
if (y = 0, t)
|
256
|
+
op = [op[0] & 2, t.value];
|
257
|
+
switch (op[0]) {
|
258
|
+
case 0:
|
259
|
+
case 1:
|
260
|
+
t = op;
|
261
|
+
break;
|
262
|
+
case 4:
|
263
|
+
_.label++;
|
264
|
+
return { value: op[1], done: false };
|
265
|
+
case 5:
|
266
|
+
_.label++;
|
267
|
+
y = op[1];
|
268
|
+
op = [0];
|
269
|
+
continue;
|
270
|
+
case 7:
|
271
|
+
op = _.ops.pop();
|
272
|
+
_.trys.pop();
|
273
|
+
continue;
|
274
|
+
default:
|
275
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
276
|
+
_ = 0;
|
277
|
+
continue;
|
278
|
+
}
|
279
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
280
|
+
_.label = op[1];
|
281
|
+
break;
|
282
|
+
}
|
283
|
+
if (op[0] === 6 && _.label < t[1]) {
|
284
|
+
_.label = t[1];
|
285
|
+
t = op;
|
286
|
+
break;
|
287
|
+
}
|
288
|
+
if (t && _.label < t[2]) {
|
289
|
+
_.label = t[2];
|
290
|
+
_.ops.push(op);
|
291
|
+
break;
|
292
|
+
}
|
293
|
+
if (t[2])
|
294
|
+
_.ops.pop();
|
295
|
+
_.trys.pop();
|
296
|
+
continue;
|
297
|
+
}
|
298
|
+
op = body.call(thisArg, _);
|
299
|
+
}
|
300
|
+
catch (e) {
|
301
|
+
op = [6, e];
|
302
|
+
y = 0;
|
303
|
+
}
|
304
|
+
finally {
|
305
|
+
f = t = 0;
|
306
|
+
}
|
307
|
+
if (op[0] & 5)
|
308
|
+
throw op[1];
|
309
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
310
|
+
}
|
311
|
+
}
|
312
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
313
|
+
if (k2 === undefined)
|
314
|
+
k2 = k;
|
315
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
316
|
+
}) : (function (o, m, k, k2) {
|
317
|
+
if (k2 === undefined)
|
318
|
+
k2 = k;
|
319
|
+
o[k2] = m[k];
|
320
|
+
});
|
321
|
+
function __exportStar(m, o) {
|
322
|
+
for (var p in m)
|
323
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
324
|
+
__createBinding(o, m, p);
|
325
|
+
}
|
326
|
+
function __values(o) {
|
327
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
328
|
+
if (m)
|
329
|
+
return m.call(o);
|
330
|
+
if (o && typeof o.length === "number")
|
331
|
+
return {
|
332
|
+
next: function () {
|
333
|
+
if (o && i >= o.length)
|
334
|
+
o = void 0;
|
335
|
+
return { value: o && o[i++], done: !o };
|
336
|
+
}
|
337
|
+
};
|
338
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
339
|
+
}
|
340
|
+
function __read(o, n) {
|
341
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
342
|
+
if (!m)
|
343
|
+
return o;
|
344
|
+
var i = m.call(o), r, ar = [], e;
|
345
|
+
try {
|
346
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
347
|
+
ar.push(r.value);
|
348
|
+
}
|
349
|
+
catch (error) {
|
350
|
+
e = { error: error };
|
351
|
+
}
|
352
|
+
finally {
|
353
|
+
try {
|
354
|
+
if (r && !r.done && (m = i["return"]))
|
355
|
+
m.call(i);
|
356
|
+
}
|
357
|
+
finally {
|
358
|
+
if (e)
|
359
|
+
throw e.error;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
return ar;
|
363
|
+
}
|
364
|
+
function __spread() {
|
365
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
366
|
+
ar = ar.concat(__read(arguments[i]));
|
367
|
+
return ar;
|
368
|
+
}
|
369
|
+
function __spreadArrays() {
|
370
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
371
|
+
s += arguments[i].length;
|
372
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
373
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
374
|
+
r[k] = a[j];
|
375
|
+
return r;
|
376
|
+
}
|
377
|
+
;
|
378
|
+
function __await(v) {
|
379
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
380
|
+
}
|
381
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
382
|
+
if (!Symbol.asyncIterator)
|
383
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
384
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
385
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
386
|
+
function verb(n) { if (g[n])
|
387
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
388
|
+
function resume(n, v) { try {
|
389
|
+
step(g[n](v));
|
390
|
+
}
|
391
|
+
catch (e) {
|
392
|
+
settle(q[0][3], e);
|
393
|
+
} }
|
394
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
395
|
+
function fulfill(value) { resume("next", value); }
|
396
|
+
function reject(value) { resume("throw", value); }
|
397
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
398
|
+
resume(q[0][0], q[0][1]); }
|
399
|
+
}
|
400
|
+
function __asyncDelegator(o) {
|
401
|
+
var i, p;
|
402
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
403
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
404
|
+
}
|
405
|
+
function __asyncValues(o) {
|
406
|
+
if (!Symbol.asyncIterator)
|
407
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
408
|
+
var m = o[Symbol.asyncIterator], i;
|
409
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
410
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
411
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
412
|
+
}
|
413
|
+
function __makeTemplateObject(cooked, raw) {
|
414
|
+
if (Object.defineProperty) {
|
415
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
416
|
+
}
|
417
|
+
else {
|
418
|
+
cooked.raw = raw;
|
419
|
+
}
|
420
|
+
return cooked;
|
421
|
+
}
|
422
|
+
;
|
423
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
424
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
425
|
+
}) : function (o, v) {
|
426
|
+
o["default"] = v;
|
427
|
+
};
|
428
|
+
function __importStar(mod) {
|
429
|
+
if (mod && mod.__esModule)
|
430
|
+
return mod;
|
431
|
+
var result = {};
|
432
|
+
if (mod != null)
|
433
|
+
for (var k in mod)
|
434
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
435
|
+
__createBinding(result, mod, k);
|
436
|
+
__setModuleDefault(result, mod);
|
437
|
+
return result;
|
438
|
+
}
|
439
|
+
function __importDefault(mod) {
|
440
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
441
|
+
}
|
442
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
443
|
+
if (!privateMap.has(receiver)) {
|
444
|
+
throw new TypeError("attempted to get private field on non-instance");
|
445
|
+
}
|
446
|
+
return privateMap.get(receiver);
|
447
|
+
}
|
448
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
449
|
+
if (!privateMap.has(receiver)) {
|
450
|
+
throw new TypeError("attempted to set private field on non-instance");
|
451
|
+
}
|
452
|
+
privateMap.set(receiver, value);
|
453
|
+
return value;
|
454
|
+
}
|
455
|
+
|
397
456
|
/**
|
398
457
|
* @record
|
399
458
|
*/
|
@@ -423,13 +482,18 @@
|
|
423
482
|
}());
|
424
483
|
/* tslint:disable-next-line */
|
425
484
|
/** @type {?} */
|
426
|
-
var _TdLayoutToggleMixinBase = common
|
485
|
+
var _TdLayoutToggleMixinBase = common.mixinDisabled(LayoutToggleBase);
|
427
486
|
/**
|
428
487
|
* @abstract
|
429
488
|
*/
|
430
|
-
var
|
431
|
-
__extends(
|
432
|
-
|
489
|
+
var BaseLayoutToggleDirective = /** @class */ (function (_super) {
|
490
|
+
__extends(BaseLayoutToggleDirective, _super);
|
491
|
+
/**
|
492
|
+
* @param {?} _layout
|
493
|
+
* @param {?} _renderer
|
494
|
+
* @param {?} _elementRef
|
495
|
+
*/
|
496
|
+
function BaseLayoutToggleDirective(_layout, _renderer, _elementRef) {
|
433
497
|
var _this = _super.call(this) || this;
|
434
498
|
_this._layout = _layout;
|
435
499
|
_this._renderer = _renderer;
|
@@ -444,42 +508,33 @@
|
|
444
508
|
_this._renderer.addClass(_this._elementRef.nativeElement, 'td-layout-menu-button');
|
445
509
|
return _this;
|
446
510
|
}
|
447
|
-
Object.defineProperty(
|
511
|
+
Object.defineProperty(BaseLayoutToggleDirective.prototype, "hideWhenOpened", {
|
448
512
|
/**
|
449
|
-
* hideWhenOpened?: boolean
|
450
|
-
* When this is set to true, the host will be hidden when
|
451
|
-
* the sidenav is opened.
|
452
|
-
*/
|
453
|
-
set: /**
|
454
513
|
* hideWhenOpened?: boolean
|
455
514
|
* When this is set to true, the host will be hidden when
|
456
515
|
* the sidenav is opened.
|
457
516
|
* @param {?} hideWhenOpened
|
458
517
|
* @return {?}
|
459
518
|
*/
|
460
|
-
function (hideWhenOpened) {
|
519
|
+
set: function (hideWhenOpened) {
|
461
520
|
this._hideWhenOpened = hideWhenOpened;
|
462
521
|
if (this._initialized) {
|
463
522
|
this._toggleVisibility();
|
464
523
|
}
|
465
524
|
},
|
466
|
-
enumerable:
|
525
|
+
enumerable: false,
|
467
526
|
configurable: true
|
468
527
|
});
|
469
528
|
/**
|
470
529
|
* @return {?}
|
471
530
|
*/
|
472
|
-
|
473
|
-
* @return {?}
|
474
|
-
*/
|
475
|
-
function () {
|
531
|
+
BaseLayoutToggleDirective.prototype.ngAfterViewInit = function () {
|
476
532
|
var _this = this;
|
477
533
|
this._initialized = true;
|
478
534
|
if (this._layout && this._layout.sidenav) {
|
479
|
-
this._toggleSubs = this._layout.sidenav._animationStarted.subscribe((/**
|
535
|
+
this._toggleSubs = this._layout.sidenav._animationStarted.subscribe(( /**
|
480
536
|
* @return {?}
|
481
|
-
*/
|
482
|
-
function () {
|
537
|
+
*/function () {
|
483
538
|
_this._toggleVisibility();
|
484
539
|
}));
|
485
540
|
}
|
@@ -490,29 +545,18 @@
|
|
490
545
|
/**
|
491
546
|
* @return {?}
|
492
547
|
*/
|
493
|
-
|
494
|
-
* @return {?}
|
495
|
-
*/
|
496
|
-
function () {
|
548
|
+
BaseLayoutToggleDirective.prototype.ngOnDestroy = function () {
|
497
549
|
if (this._toggleSubs) {
|
498
550
|
this._toggleSubs.unsubscribe();
|
499
551
|
this._toggleSubs = undefined;
|
500
552
|
}
|
501
553
|
};
|
502
|
-
/**
|
503
|
-
* Listens to host click event to trigger the layout toggle
|
504
|
-
*/
|
505
554
|
/**
|
506
555
|
* Listens to host click event to trigger the layout toggle
|
507
556
|
* @param {?} event
|
508
557
|
* @return {?}
|
509
558
|
*/
|
510
|
-
|
511
|
-
* Listens to host click event to trigger the layout toggle
|
512
|
-
* @param {?} event
|
513
|
-
* @return {?}
|
514
|
-
*/
|
515
|
-
function (event) {
|
559
|
+
BaseLayoutToggleDirective.prototype.clickListener = function (event) {
|
516
560
|
event.preventDefault();
|
517
561
|
if (!this.disabled) {
|
518
562
|
// if layout has been provided, try triggering the click on it
|
@@ -529,11 +573,7 @@
|
|
529
573
|
* @private
|
530
574
|
* @return {?}
|
531
575
|
*/
|
532
|
-
|
533
|
-
* @private
|
534
|
-
* @return {?}
|
535
|
-
*/
|
536
|
-
function () {
|
576
|
+
BaseLayoutToggleDirective.prototype._toggleVisibility = function () {
|
537
577
|
if (this._layout) {
|
538
578
|
if (this._layout.sidenav.opened && this._hideWhenOpened) {
|
539
579
|
this._renderer.setStyle(this._elementRef.nativeElement, 'display', 'none');
|
@@ -547,200 +587,208 @@
|
|
547
587
|
* @private
|
548
588
|
* @return {?}
|
549
589
|
*/
|
550
|
-
|
551
|
-
* @private
|
552
|
-
* @return {?}
|
553
|
-
*/
|
554
|
-
function () {
|
590
|
+
BaseLayoutToggleDirective.prototype._noLayoutMessage = function () {
|
555
591
|
/* tslint:disable-next-line */
|
556
592
|
console.warn('Covalent: Parent layout not found for layout toggle directive');
|
557
593
|
};
|
558
|
-
|
559
|
-
hideWhenOpened: [{ type: core.Input, args: ['hideWhenOpened',] }],
|
560
|
-
clickListener: [{ type: core.HostListener, args: ['click', ['$event'],] }]
|
561
|
-
};
|
562
|
-
return LayoutToggle;
|
594
|
+
return BaseLayoutToggleDirective;
|
563
595
|
}(_TdLayoutToggleMixinBase));
|
596
|
+
BaseLayoutToggleDirective.decorators = [
|
597
|
+
{ type: core.Directive }
|
598
|
+
];
|
599
|
+
/** @nocollapse */
|
600
|
+
BaseLayoutToggleDirective.ctorParameters = function () { return [
|
601
|
+
{ type: undefined },
|
602
|
+
{ type: core.Renderer2 },
|
603
|
+
{ type: core.ElementRef }
|
604
|
+
]; };
|
605
|
+
BaseLayoutToggleDirective.propDecorators = {
|
606
|
+
hideWhenOpened: [{ type: core.Input, args: ['hideWhenOpened',] }],
|
607
|
+
clickListener: [{ type: core.HostListener, args: ['click', ['$event'],] }]
|
608
|
+
};
|
564
609
|
if (false) {
|
565
610
|
/**
|
566
611
|
* @type {?}
|
567
612
|
* @private
|
568
613
|
*/
|
569
|
-
|
614
|
+
BaseLayoutToggleDirective.prototype._toggleSubs;
|
570
615
|
/**
|
571
616
|
* @type {?}
|
572
617
|
* @private
|
573
618
|
*/
|
574
|
-
|
619
|
+
BaseLayoutToggleDirective.prototype._initialized;
|
575
620
|
/**
|
576
621
|
* @type {?}
|
577
622
|
* @private
|
578
623
|
*/
|
579
|
-
|
624
|
+
BaseLayoutToggleDirective.prototype._hideWhenOpened;
|
580
625
|
/**
|
581
626
|
* @type {?}
|
582
627
|
* @protected
|
583
628
|
*/
|
584
|
-
|
629
|
+
BaseLayoutToggleDirective.prototype._layout;
|
585
630
|
/**
|
586
631
|
* @type {?}
|
587
632
|
* @private
|
588
633
|
*/
|
589
|
-
|
634
|
+
BaseLayoutToggleDirective.prototype._renderer;
|
590
635
|
/**
|
591
636
|
* @type {?}
|
592
637
|
* @private
|
593
638
|
*/
|
594
|
-
|
639
|
+
BaseLayoutToggleDirective.prototype._elementRef;
|
595
640
|
/**
|
596
641
|
* @abstract
|
597
642
|
* @return {?}
|
598
643
|
*/
|
599
|
-
|
644
|
+
BaseLayoutToggleDirective.prototype.onClick = function () { };
|
600
645
|
}
|
601
646
|
|
602
|
-
/**
|
603
|
-
* @fileoverview added by tsickle
|
604
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
605
|
-
*/
|
606
647
|
var TdLayoutToggleDirective = /** @class */ (function (_super) {
|
607
648
|
__extends(TdLayoutToggleDirective, _super);
|
649
|
+
/**
|
650
|
+
* @param {?} layout
|
651
|
+
* @param {?} renderer
|
652
|
+
* @param {?} elementRef
|
653
|
+
*/
|
608
654
|
function TdLayoutToggleDirective(layout, renderer, elementRef) {
|
609
655
|
return _super.call(this, layout, renderer, elementRef) || this;
|
610
656
|
}
|
611
657
|
Object.defineProperty(TdLayoutToggleDirective.prototype, "tdLayoutToggle", {
|
612
|
-
|
658
|
+
/**
|
613
659
|
* @param {?} tdLayoutToggle
|
614
660
|
* @return {?}
|
615
661
|
*/
|
616
|
-
function (tdLayoutToggle) {
|
617
|
-
this.disabled = !((/** @type {?} */
|
662
|
+
set: function (tdLayoutToggle) {
|
663
|
+
this.disabled = !(( /** @type {?} */(tdLayoutToggle)) === '' || tdLayoutToggle);
|
618
664
|
},
|
619
|
-
enumerable:
|
665
|
+
enumerable: false,
|
620
666
|
configurable: true
|
621
667
|
});
|
622
668
|
/**
|
623
669
|
* @return {?}
|
624
670
|
*/
|
625
|
-
TdLayoutToggleDirective.prototype.onClick =
|
626
|
-
* @return {?}
|
627
|
-
*/
|
628
|
-
function () {
|
671
|
+
TdLayoutToggleDirective.prototype.onClick = function () {
|
629
672
|
this._layout.toggle();
|
630
673
|
};
|
631
|
-
TdLayoutToggleDirective.decorators = [
|
632
|
-
{ type: core.Directive, args: [{
|
633
|
-
selector: '[tdLayoutToggle]',
|
634
|
-
},] }
|
635
|
-
];
|
636
|
-
/** @nocollapse */
|
637
|
-
TdLayoutToggleDirective.ctorParameters = function () { return [
|
638
|
-
{ type: TdLayoutComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
639
|
-
* @return {?}
|
640
|
-
*/
|
641
|
-
function () { return TdLayoutComponent; })),] }] },
|
642
|
-
{ type: core.Renderer2 },
|
643
|
-
{ type: core.ElementRef }
|
644
|
-
]; };
|
645
|
-
TdLayoutToggleDirective.propDecorators = {
|
646
|
-
tdLayoutToggle: [{ type: core.Input, args: ['tdLayoutToggle',] }]
|
647
|
-
};
|
648
674
|
return TdLayoutToggleDirective;
|
649
|
-
}(
|
675
|
+
}(BaseLayoutToggleDirective));
|
676
|
+
TdLayoutToggleDirective.decorators = [
|
677
|
+
{ type: core.Directive, args: [{
|
678
|
+
selector: '[tdLayoutToggle]',
|
679
|
+
},] }
|
680
|
+
];
|
681
|
+
/** @nocollapse */
|
682
|
+
TdLayoutToggleDirective.ctorParameters = function () { return [
|
683
|
+
{ type: TdLayoutComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
684
|
+
* @return {?}
|
685
|
+
*/function () { return TdLayoutComponent; })),] }] },
|
686
|
+
{ type: core.Renderer2 },
|
687
|
+
{ type: core.ElementRef }
|
688
|
+
]; };
|
689
|
+
TdLayoutToggleDirective.propDecorators = {
|
690
|
+
tdLayoutToggle: [{ type: core.Input, args: ['tdLayoutToggle',] }]
|
691
|
+
};
|
650
692
|
var TdLayoutCloseDirective = /** @class */ (function (_super) {
|
651
693
|
__extends(TdLayoutCloseDirective, _super);
|
694
|
+
/**
|
695
|
+
* @param {?} layout
|
696
|
+
* @param {?} renderer
|
697
|
+
* @param {?} elementRef
|
698
|
+
*/
|
652
699
|
function TdLayoutCloseDirective(layout, renderer, elementRef) {
|
653
700
|
return _super.call(this, layout, renderer, elementRef) || this;
|
654
701
|
}
|
655
702
|
Object.defineProperty(TdLayoutCloseDirective.prototype, "tdLayoutClose", {
|
656
|
-
|
703
|
+
/**
|
657
704
|
* @param {?} tdLayoutClose
|
658
705
|
* @return {?}
|
659
706
|
*/
|
660
|
-
function (tdLayoutClose) {
|
661
|
-
this.disabled = !((/** @type {?} */
|
707
|
+
set: function (tdLayoutClose) {
|
708
|
+
this.disabled = !(( /** @type {?} */(tdLayoutClose)) === '' || tdLayoutClose);
|
662
709
|
},
|
663
|
-
enumerable:
|
710
|
+
enumerable: false,
|
664
711
|
configurable: true
|
665
712
|
});
|
666
713
|
/**
|
667
714
|
* @return {?}
|
668
715
|
*/
|
669
|
-
TdLayoutCloseDirective.prototype.onClick =
|
670
|
-
* @return {?}
|
671
|
-
*/
|
672
|
-
function () {
|
716
|
+
TdLayoutCloseDirective.prototype.onClick = function () {
|
673
717
|
this._layout.close();
|
674
718
|
};
|
675
|
-
TdLayoutCloseDirective.decorators = [
|
676
|
-
{ type: core.Directive, args: [{
|
677
|
-
selector: '[tdLayoutClose]',
|
678
|
-
},] }
|
679
|
-
];
|
680
|
-
/** @nocollapse */
|
681
|
-
TdLayoutCloseDirective.ctorParameters = function () { return [
|
682
|
-
{ type: TdLayoutComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
683
|
-
* @return {?}
|
684
|
-
*/
|
685
|
-
function () { return TdLayoutComponent; })),] }] },
|
686
|
-
{ type: core.Renderer2 },
|
687
|
-
{ type: core.ElementRef }
|
688
|
-
]; };
|
689
|
-
TdLayoutCloseDirective.propDecorators = {
|
690
|
-
tdLayoutClose: [{ type: core.Input, args: ['tdLayoutClose',] }]
|
691
|
-
};
|
692
719
|
return TdLayoutCloseDirective;
|
693
|
-
}(
|
720
|
+
}(BaseLayoutToggleDirective));
|
721
|
+
TdLayoutCloseDirective.decorators = [
|
722
|
+
{ type: core.Directive, args: [{
|
723
|
+
selector: '[tdLayoutClose]',
|
724
|
+
},] }
|
725
|
+
];
|
726
|
+
/** @nocollapse */
|
727
|
+
TdLayoutCloseDirective.ctorParameters = function () { return [
|
728
|
+
{ type: TdLayoutComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
729
|
+
* @return {?}
|
730
|
+
*/function () { return TdLayoutComponent; })),] }] },
|
731
|
+
{ type: core.Renderer2 },
|
732
|
+
{ type: core.ElementRef }
|
733
|
+
]; };
|
734
|
+
TdLayoutCloseDirective.propDecorators = {
|
735
|
+
tdLayoutClose: [{ type: core.Input, args: ['tdLayoutClose',] }]
|
736
|
+
};
|
694
737
|
var TdLayoutOpenDirective = /** @class */ (function (_super) {
|
695
738
|
__extends(TdLayoutOpenDirective, _super);
|
739
|
+
/**
|
740
|
+
* @param {?} layout
|
741
|
+
* @param {?} renderer
|
742
|
+
* @param {?} elementRef
|
743
|
+
*/
|
696
744
|
function TdLayoutOpenDirective(layout, renderer, elementRef) {
|
697
745
|
return _super.call(this, layout, renderer, elementRef) || this;
|
698
746
|
}
|
699
747
|
Object.defineProperty(TdLayoutOpenDirective.prototype, "tdLayoutClose", {
|
700
|
-
|
748
|
+
/**
|
701
749
|
* @param {?} tdLayoutOpen
|
702
750
|
* @return {?}
|
703
751
|
*/
|
704
|
-
function (tdLayoutOpen) {
|
705
|
-
this.disabled = !((/** @type {?} */
|
752
|
+
set: function (tdLayoutOpen) {
|
753
|
+
this.disabled = !(( /** @type {?} */(tdLayoutOpen)) === '' || tdLayoutOpen);
|
706
754
|
},
|
707
|
-
enumerable:
|
755
|
+
enumerable: false,
|
708
756
|
configurable: true
|
709
757
|
});
|
710
758
|
/**
|
711
759
|
* @return {?}
|
712
760
|
*/
|
713
|
-
TdLayoutOpenDirective.prototype.onClick =
|
714
|
-
* @return {?}
|
715
|
-
*/
|
716
|
-
function () {
|
761
|
+
TdLayoutOpenDirective.prototype.onClick = function () {
|
717
762
|
this._layout.open();
|
718
763
|
};
|
719
|
-
TdLayoutOpenDirective.decorators = [
|
720
|
-
{ type: core.Directive, args: [{
|
721
|
-
selector: '[tdLayoutOpen]',
|
722
|
-
},] }
|
723
|
-
];
|
724
|
-
/** @nocollapse */
|
725
|
-
TdLayoutOpenDirective.ctorParameters = function () { return [
|
726
|
-
{ type: TdLayoutComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
727
|
-
* @return {?}
|
728
|
-
*/
|
729
|
-
function () { return TdLayoutComponent; })),] }] },
|
730
|
-
{ type: core.Renderer2 },
|
731
|
-
{ type: core.ElementRef }
|
732
|
-
]; };
|
733
|
-
TdLayoutOpenDirective.propDecorators = {
|
734
|
-
tdLayoutClose: [{ type: core.Input, args: ['tdLayoutOpen',] }]
|
735
|
-
};
|
736
764
|
return TdLayoutOpenDirective;
|
737
|
-
}(
|
765
|
+
}(BaseLayoutToggleDirective));
|
766
|
+
TdLayoutOpenDirective.decorators = [
|
767
|
+
{ type: core.Directive, args: [{
|
768
|
+
selector: '[tdLayoutOpen]',
|
769
|
+
},] }
|
770
|
+
];
|
771
|
+
/** @nocollapse */
|
772
|
+
TdLayoutOpenDirective.ctorParameters = function () { return [
|
773
|
+
{ type: TdLayoutComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
774
|
+
* @return {?}
|
775
|
+
*/function () { return TdLayoutComponent; })),] }] },
|
776
|
+
{ type: core.Renderer2 },
|
777
|
+
{ type: core.ElementRef }
|
778
|
+
]; };
|
779
|
+
TdLayoutOpenDirective.propDecorators = {
|
780
|
+
tdLayoutClose: [{ type: core.Input, args: ['tdLayoutOpen',] }]
|
781
|
+
};
|
738
782
|
|
739
783
|
/**
|
740
784
|
* @fileoverview added by tsickle
|
741
|
-
*
|
785
|
+
* Generated from: layout-nav/layout-nav.component.ts
|
786
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
742
787
|
*/
|
743
788
|
var TdLayoutNavComponent = /** @class */ (function () {
|
789
|
+
/**
|
790
|
+
* @param {?} _router
|
791
|
+
*/
|
744
792
|
function TdLayoutNavComponent(_router) {
|
745
793
|
this._router = _router;
|
746
794
|
/**
|
@@ -753,49 +801,43 @@
|
|
753
801
|
}
|
754
802
|
Object.defineProperty(TdLayoutNavComponent.prototype, "routerEnabled", {
|
755
803
|
/**
|
756
|
-
* Checks if router was injected.
|
757
|
-
*/
|
758
|
-
get: /**
|
759
804
|
* Checks if router was injected.
|
760
805
|
* @return {?}
|
761
806
|
*/
|
762
|
-
function () {
|
807
|
+
get: function () {
|
763
808
|
return !!this._router && !!this.navigationRoute;
|
764
809
|
},
|
765
|
-
enumerable:
|
810
|
+
enumerable: false,
|
766
811
|
configurable: true
|
767
812
|
});
|
768
813
|
/**
|
769
814
|
* @return {?}
|
770
815
|
*/
|
771
|
-
TdLayoutNavComponent.prototype.handleNavigationClick =
|
772
|
-
* @return {?}
|
773
|
-
*/
|
774
|
-
function () {
|
816
|
+
TdLayoutNavComponent.prototype.handleNavigationClick = function () {
|
775
817
|
if (this.routerEnabled) {
|
776
818
|
this._router.navigateByUrl(this.navigationRoute);
|
777
819
|
}
|
778
820
|
};
|
779
|
-
TdLayoutNavComponent.decorators = [
|
780
|
-
{ type: core.Component, args: [{
|
781
|
-
selector: 'td-layout-nav',
|
782
|
-
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",
|
783
|
-
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}"]
|
784
|
-
}] }
|
785
|
-
];
|
786
|
-
/** @nocollapse */
|
787
|
-
TdLayoutNavComponent.ctorParameters = function () { return [
|
788
|
-
{ type: router.Router, decorators: [{ type: core.Optional }] }
|
789
|
-
]; };
|
790
|
-
TdLayoutNavComponent.propDecorators = {
|
791
|
-
toolbarTitle: [{ type: core.Input }],
|
792
|
-
icon: [{ type: core.Input }],
|
793
|
-
logo: [{ type: core.Input }],
|
794
|
-
color: [{ type: core.Input }],
|
795
|
-
navigationRoute: [{ type: core.Input }]
|
796
|
-
};
|
797
821
|
return TdLayoutNavComponent;
|
798
822
|
}());
|
823
|
+
TdLayoutNavComponent.decorators = [
|
824
|
+
{ type: core.Component, args: [{
|
825
|
+
selector: 'td-layout-nav',
|
826
|
+
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",
|
827
|
+
styles: [".td-menu-button{margin-left:0}::ng-deep [dir=rtl] .td-menu-button{margin-left:6px;margin-right:0}:host{overflow:hidden}:host,:host .td-layout-nav-wrapper{display:-ms-flexbox;display:flex;height:100%;margin:0;min-height:100%;width:100%}:host .td-layout-nav-wrapper{-ms-flex-direction:column;box-sizing:border-box;flex-direction:column}:host .td-layout-nav-wrapper .td-layout-nav-toolbar-content{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%}:host .td-layout-nav-wrapper .td-layout-nav-content{-ms-flex:1;-ms-flex-direction:column;-webkit-overflow-scrolling:touch;box-sizing:border-box;display:-ms-flexbox;display:flex;flex:1;flex-direction:column;overflow:auto;position:relative}"]
|
828
|
+
}] }
|
829
|
+
];
|
830
|
+
/** @nocollapse */
|
831
|
+
TdLayoutNavComponent.ctorParameters = function () { return [
|
832
|
+
{ type: router.Router, decorators: [{ type: core.Optional }] }
|
833
|
+
]; };
|
834
|
+
TdLayoutNavComponent.propDecorators = {
|
835
|
+
toolbarTitle: [{ type: core.Input }],
|
836
|
+
icon: [{ type: core.Input }],
|
837
|
+
logo: [{ type: core.Input }],
|
838
|
+
color: [{ type: core.Input }],
|
839
|
+
navigationRoute: [{ type: core.Input }]
|
840
|
+
};
|
799
841
|
if (false) {
|
800
842
|
/**
|
801
843
|
* toolbarTitle?: string
|
@@ -843,9 +885,13 @@
|
|
843
885
|
|
844
886
|
/**
|
845
887
|
* @fileoverview added by tsickle
|
846
|
-
*
|
888
|
+
* Generated from: layout-nav-list/layout-nav-list.component.ts
|
889
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
847
890
|
*/
|
848
891
|
var TdLayoutNavListComponent = /** @class */ (function () {
|
892
|
+
/**
|
893
|
+
* @param {?} _router
|
894
|
+
*/
|
849
895
|
function TdLayoutNavListComponent(_router) {
|
850
896
|
this._router = _router;
|
851
897
|
/**
|
@@ -898,112 +944,81 @@
|
|
898
944
|
}
|
899
945
|
Object.defineProperty(TdLayoutNavListComponent.prototype, "disableClose", {
|
900
946
|
/**
|
901
|
-
* Checks if `ESC` should close the sidenav
|
902
|
-
* Should only close it for `push` and `over` modes
|
903
|
-
*/
|
904
|
-
get: /**
|
905
947
|
* Checks if `ESC` should close the sidenav
|
906
948
|
* Should only close it for `push` and `over` modes
|
907
949
|
* @return {?}
|
908
950
|
*/
|
909
|
-
function () {
|
951
|
+
get: function () {
|
910
952
|
return this.mode === 'side';
|
911
953
|
},
|
912
|
-
enumerable:
|
954
|
+
enumerable: false,
|
913
955
|
configurable: true
|
914
956
|
});
|
915
957
|
Object.defineProperty(TdLayoutNavListComponent.prototype, "routerEnabled", {
|
916
958
|
/**
|
917
|
-
* Checks if router was injected.
|
918
|
-
*/
|
919
|
-
get: /**
|
920
959
|
* Checks if router was injected.
|
921
960
|
* @return {?}
|
922
961
|
*/
|
923
|
-
function () {
|
962
|
+
get: function () {
|
924
963
|
return !!this._router && !!this.navigationRoute;
|
925
964
|
},
|
926
|
-
enumerable:
|
965
|
+
enumerable: false,
|
927
966
|
configurable: true
|
928
967
|
});
|
929
968
|
/**
|
930
969
|
* @return {?}
|
931
970
|
*/
|
932
|
-
TdLayoutNavListComponent.prototype.handleNavigationClick =
|
933
|
-
* @return {?}
|
934
|
-
*/
|
935
|
-
function () {
|
971
|
+
TdLayoutNavListComponent.prototype.handleNavigationClick = function () {
|
936
972
|
if (this.routerEnabled) {
|
937
973
|
this._router.navigateByUrl(this.navigationRoute);
|
938
974
|
}
|
939
975
|
};
|
940
|
-
/**
|
941
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
942
|
-
*/
|
943
976
|
/**
|
944
977
|
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
945
978
|
* @return {?}
|
946
979
|
*/
|
947
|
-
TdLayoutNavListComponent.prototype.toggle =
|
948
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
949
|
-
* @return {?}
|
950
|
-
*/
|
951
|
-
function () {
|
980
|
+
TdLayoutNavListComponent.prototype.toggle = function () {
|
952
981
|
return this.sidenav.toggle(!this.sidenav.opened);
|
953
982
|
};
|
954
983
|
/**
|
955
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
956
|
-
*/
|
957
|
-
/**
|
958
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
959
|
-
* @return {?}
|
960
|
-
*/
|
961
|
-
TdLayoutNavListComponent.prototype.open = /**
|
962
984
|
* Proxy open method to access sidenav from outside (from td-layout template).
|
963
985
|
* @return {?}
|
964
986
|
*/
|
965
|
-
function () {
|
987
|
+
TdLayoutNavListComponent.prototype.open = function () {
|
966
988
|
return this.sidenav.open();
|
967
989
|
};
|
968
990
|
/**
|
969
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
970
|
-
*/
|
971
|
-
/**
|
972
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
973
|
-
* @return {?}
|
974
|
-
*/
|
975
|
-
TdLayoutNavListComponent.prototype.close = /**
|
976
991
|
* Proxy close method to access sidenav from outside (from td-layout template).
|
977
992
|
* @return {?}
|
978
993
|
*/
|
979
|
-
function () {
|
994
|
+
TdLayoutNavListComponent.prototype.close = function () {
|
980
995
|
return this.sidenav.close();
|
981
996
|
};
|
982
|
-
TdLayoutNavListComponent.decorators = [
|
983
|
-
{ type: core.Component, args: [{
|
984
|
-
selector: 'td-layout-nav-list',
|
985
|
-
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",
|
986
|
-
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}"]
|
987
|
-
}] }
|
988
|
-
];
|
989
|
-
/** @nocollapse */
|
990
|
-
TdLayoutNavListComponent.ctorParameters = function () { return [
|
991
|
-
{ type: router.Router, decorators: [{ type: core.Optional }] }
|
992
|
-
]; };
|
993
|
-
TdLayoutNavListComponent.propDecorators = {
|
994
|
-
sidenav: [{ type: core.ViewChild, args: [sidenav.MatSidenav, { static: true },] }],
|
995
|
-
toolbarTitle: [{ type: core.Input }],
|
996
|
-
icon: [{ type: core.Input }],
|
997
|
-
logo: [{ type: core.Input }],
|
998
|
-
color: [{ type: core.Input }],
|
999
|
-
mode: [{ type: core.Input }],
|
1000
|
-
opened: [{ type: core.Input }],
|
1001
|
-
sidenavWidth: [{ type: core.Input }],
|
1002
|
-
containerAutosize: [{ type: core.Input }],
|
1003
|
-
navigationRoute: [{ type: core.Input }]
|
1004
|
-
};
|
1005
997
|
return TdLayoutNavListComponent;
|
1006
998
|
}());
|
999
|
+
TdLayoutNavListComponent.decorators = [
|
1000
|
+
{ type: core.Component, args: [{
|
1001
|
+
selector: 'td-layout-nav-list',
|
1002
|
+
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",
|
1003
|
+
styles: [":host{-ms-flex:1;-ms-flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;flex:1;flex-direction:column;height:100%;margin:0;min-height:100%;overflow:hidden;width:100%}: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:1;-ms-flex-direction:column;-webkit-overflow-scrolling:touch;box-sizing:border-box;display:-ms-flexbox;display:flex;flex:1;flex-direction:column;overflow:auto;position:relative}:host .td-layout-nav-list-wrapper .td-layout-nav-list-toolbar-content{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%}:host .td-layout-nav-list-wrapper .td-layout-nav-list-content{-ms-flex:1;-webkit-overflow-scrolling:touch;display:block;flex:1;overflow:auto;position:relative;text-align:start}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main{-ms-flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:column;height:100%;margin:0;min-height:100%;overflow:auto;position:relative;width:100%}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main .td-layout-nav-list-content{-ms-flex:1;-webkit-overflow-scrolling:touch;display:block;flex:1;overflow:auto;position:relative}: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{-ms-flex-direction:column;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;flex-direction:column}"]
|
1004
|
+
}] }
|
1005
|
+
];
|
1006
|
+
/** @nocollapse */
|
1007
|
+
TdLayoutNavListComponent.ctorParameters = function () { return [
|
1008
|
+
{ type: router.Router, decorators: [{ type: core.Optional }] }
|
1009
|
+
]; };
|
1010
|
+
TdLayoutNavListComponent.propDecorators = {
|
1011
|
+
sidenav: [{ type: core.ViewChild, args: [sidenav.MatSidenav, { static: true },] }],
|
1012
|
+
toolbarTitle: [{ type: core.Input }],
|
1013
|
+
icon: [{ type: core.Input }],
|
1014
|
+
logo: [{ type: core.Input }],
|
1015
|
+
color: [{ type: core.Input }],
|
1016
|
+
mode: [{ type: core.Input }],
|
1017
|
+
opened: [{ type: core.Input }],
|
1018
|
+
sidenavWidth: [{ type: core.Input }],
|
1019
|
+
containerAutosize: [{ type: core.Input }],
|
1020
|
+
navigationRoute: [{ type: core.Input }]
|
1021
|
+
};
|
1007
1022
|
if (false) {
|
1008
1023
|
/** @type {?} */
|
1009
1024
|
TdLayoutNavListComponent.prototype.sidenav;
|
@@ -1094,149 +1109,149 @@
|
|
1094
1109
|
TdLayoutNavListComponent.prototype._router;
|
1095
1110
|
}
|
1096
1111
|
|
1097
|
-
/**
|
1098
|
-
* @fileoverview added by tsickle
|
1099
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1100
|
-
*/
|
1101
1112
|
var TdLayoutNavListToggleDirective = /** @class */ (function (_super) {
|
1102
1113
|
__extends(TdLayoutNavListToggleDirective, _super);
|
1114
|
+
/**
|
1115
|
+
* @param {?} layout
|
1116
|
+
* @param {?} renderer
|
1117
|
+
* @param {?} elementRef
|
1118
|
+
*/
|
1103
1119
|
function TdLayoutNavListToggleDirective(layout, renderer, elementRef) {
|
1104
1120
|
return _super.call(this, layout, renderer, elementRef) || this;
|
1105
1121
|
}
|
1106
1122
|
Object.defineProperty(TdLayoutNavListToggleDirective.prototype, "tdLayoutNavListToggle", {
|
1107
|
-
|
1123
|
+
/**
|
1108
1124
|
* @param {?} tdLayoutNavListToggle
|
1109
1125
|
* @return {?}
|
1110
1126
|
*/
|
1111
|
-
function (tdLayoutNavListToggle) {
|
1112
|
-
this.disabled = !((/** @type {?} */
|
1127
|
+
set: function (tdLayoutNavListToggle) {
|
1128
|
+
this.disabled = !(( /** @type {?} */(tdLayoutNavListToggle)) === '' || tdLayoutNavListToggle);
|
1113
1129
|
},
|
1114
|
-
enumerable:
|
1130
|
+
enumerable: false,
|
1115
1131
|
configurable: true
|
1116
1132
|
});
|
1117
1133
|
/**
|
1118
1134
|
* @return {?}
|
1119
1135
|
*/
|
1120
|
-
TdLayoutNavListToggleDirective.prototype.onClick =
|
1121
|
-
* @return {?}
|
1122
|
-
*/
|
1123
|
-
function () {
|
1136
|
+
TdLayoutNavListToggleDirective.prototype.onClick = function () {
|
1124
1137
|
this._layout.toggle();
|
1125
1138
|
};
|
1126
|
-
TdLayoutNavListToggleDirective.decorators = [
|
1127
|
-
{ type: core.Directive, args: [{
|
1128
|
-
selector: '[tdLayoutNavListToggle]',
|
1129
|
-
inputs: ['hideWhenOpened'],
|
1130
|
-
},] }
|
1131
|
-
];
|
1132
|
-
/** @nocollapse */
|
1133
|
-
TdLayoutNavListToggleDirective.ctorParameters = function () { return [
|
1134
|
-
{ type: TdLayoutNavListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
1135
|
-
* @return {?}
|
1136
|
-
*/
|
1137
|
-
function () { return TdLayoutNavListComponent; })),] }] },
|
1138
|
-
{ type: core.Renderer2 },
|
1139
|
-
{ type: core.ElementRef }
|
1140
|
-
]; };
|
1141
|
-
TdLayoutNavListToggleDirective.propDecorators = {
|
1142
|
-
tdLayoutNavListToggle: [{ type: core.Input, args: ['tdLayoutNavListToggle',] }]
|
1143
|
-
};
|
1144
1139
|
return TdLayoutNavListToggleDirective;
|
1145
|
-
}(
|
1140
|
+
}(BaseLayoutToggleDirective));
|
1141
|
+
TdLayoutNavListToggleDirective.decorators = [
|
1142
|
+
{ type: core.Directive, args: [{
|
1143
|
+
selector: '[tdLayoutNavListToggle]',
|
1144
|
+
inputs: ['hideWhenOpened'],
|
1145
|
+
},] }
|
1146
|
+
];
|
1147
|
+
/** @nocollapse */
|
1148
|
+
TdLayoutNavListToggleDirective.ctorParameters = function () { return [
|
1149
|
+
{ type: TdLayoutNavListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
1150
|
+
* @return {?}
|
1151
|
+
*/function () { return TdLayoutNavListComponent; })),] }] },
|
1152
|
+
{ type: core.Renderer2 },
|
1153
|
+
{ type: core.ElementRef }
|
1154
|
+
]; };
|
1155
|
+
TdLayoutNavListToggleDirective.propDecorators = {
|
1156
|
+
tdLayoutNavListToggle: [{ type: core.Input, args: ['tdLayoutNavListToggle',] }]
|
1157
|
+
};
|
1146
1158
|
var TdLayoutNavListCloseDirective = /** @class */ (function (_super) {
|
1147
1159
|
__extends(TdLayoutNavListCloseDirective, _super);
|
1160
|
+
/**
|
1161
|
+
* @param {?} layout
|
1162
|
+
* @param {?} renderer
|
1163
|
+
* @param {?} elementRef
|
1164
|
+
*/
|
1148
1165
|
function TdLayoutNavListCloseDirective(layout, renderer, elementRef) {
|
1149
1166
|
return _super.call(this, layout, renderer, elementRef) || this;
|
1150
1167
|
}
|
1151
1168
|
Object.defineProperty(TdLayoutNavListCloseDirective.prototype, "tdLayoutNavListClose", {
|
1152
|
-
|
1169
|
+
/**
|
1153
1170
|
* @param {?} tdLayoutNavListClose
|
1154
1171
|
* @return {?}
|
1155
1172
|
*/
|
1156
|
-
function (tdLayoutNavListClose) {
|
1157
|
-
this.disabled = !((/** @type {?} */
|
1173
|
+
set: function (tdLayoutNavListClose) {
|
1174
|
+
this.disabled = !(( /** @type {?} */(tdLayoutNavListClose)) === '' || tdLayoutNavListClose);
|
1158
1175
|
},
|
1159
|
-
enumerable:
|
1176
|
+
enumerable: false,
|
1160
1177
|
configurable: true
|
1161
1178
|
});
|
1162
1179
|
/**
|
1163
1180
|
* @return {?}
|
1164
1181
|
*/
|
1165
|
-
TdLayoutNavListCloseDirective.prototype.onClick =
|
1166
|
-
* @return {?}
|
1167
|
-
*/
|
1168
|
-
function () {
|
1182
|
+
TdLayoutNavListCloseDirective.prototype.onClick = function () {
|
1169
1183
|
this._layout.close();
|
1170
1184
|
};
|
1171
|
-
TdLayoutNavListCloseDirective.decorators = [
|
1172
|
-
{ type: core.Directive, args: [{
|
1173
|
-
selector: '[tdLayoutNavListClose]',
|
1174
|
-
inputs: ['hideWhenOpened'],
|
1175
|
-
},] }
|
1176
|
-
];
|
1177
|
-
/** @nocollapse */
|
1178
|
-
TdLayoutNavListCloseDirective.ctorParameters = function () { return [
|
1179
|
-
{ type: TdLayoutNavListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
1180
|
-
* @return {?}
|
1181
|
-
*/
|
1182
|
-
function () { return TdLayoutNavListComponent; })),] }] },
|
1183
|
-
{ type: core.Renderer2 },
|
1184
|
-
{ type: core.ElementRef }
|
1185
|
-
]; };
|
1186
|
-
TdLayoutNavListCloseDirective.propDecorators = {
|
1187
|
-
tdLayoutNavListClose: [{ type: core.Input, args: ['tdLayoutNavListClose',] }]
|
1188
|
-
};
|
1189
1185
|
return TdLayoutNavListCloseDirective;
|
1190
|
-
}(
|
1186
|
+
}(BaseLayoutToggleDirective));
|
1187
|
+
TdLayoutNavListCloseDirective.decorators = [
|
1188
|
+
{ type: core.Directive, args: [{
|
1189
|
+
selector: '[tdLayoutNavListClose]',
|
1190
|
+
inputs: ['hideWhenOpened'],
|
1191
|
+
},] }
|
1192
|
+
];
|
1193
|
+
/** @nocollapse */
|
1194
|
+
TdLayoutNavListCloseDirective.ctorParameters = function () { return [
|
1195
|
+
{ type: TdLayoutNavListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
1196
|
+
* @return {?}
|
1197
|
+
*/function () { return TdLayoutNavListComponent; })),] }] },
|
1198
|
+
{ type: core.Renderer2 },
|
1199
|
+
{ type: core.ElementRef }
|
1200
|
+
]; };
|
1201
|
+
TdLayoutNavListCloseDirective.propDecorators = {
|
1202
|
+
tdLayoutNavListClose: [{ type: core.Input, args: ['tdLayoutNavListClose',] }]
|
1203
|
+
};
|
1191
1204
|
var TdLayoutNavListOpenDirective = /** @class */ (function (_super) {
|
1192
1205
|
__extends(TdLayoutNavListOpenDirective, _super);
|
1206
|
+
/**
|
1207
|
+
* @param {?} layout
|
1208
|
+
* @param {?} renderer
|
1209
|
+
* @param {?} elementRef
|
1210
|
+
*/
|
1193
1211
|
function TdLayoutNavListOpenDirective(layout, renderer, elementRef) {
|
1194
1212
|
return _super.call(this, layout, renderer, elementRef) || this;
|
1195
1213
|
}
|
1196
1214
|
Object.defineProperty(TdLayoutNavListOpenDirective.prototype, "tdLayoutNavListOpen", {
|
1197
|
-
|
1215
|
+
/**
|
1198
1216
|
* @param {?} tdLayoutNavListOpen
|
1199
1217
|
* @return {?}
|
1200
1218
|
*/
|
1201
|
-
function (tdLayoutNavListOpen) {
|
1202
|
-
this.disabled = !((/** @type {?} */
|
1219
|
+
set: function (tdLayoutNavListOpen) {
|
1220
|
+
this.disabled = !(( /** @type {?} */(tdLayoutNavListOpen)) === '' || tdLayoutNavListOpen);
|
1203
1221
|
},
|
1204
|
-
enumerable:
|
1222
|
+
enumerable: false,
|
1205
1223
|
configurable: true
|
1206
1224
|
});
|
1207
1225
|
/**
|
1208
1226
|
* @return {?}
|
1209
1227
|
*/
|
1210
|
-
TdLayoutNavListOpenDirective.prototype.onClick =
|
1211
|
-
* @return {?}
|
1212
|
-
*/
|
1213
|
-
function () {
|
1228
|
+
TdLayoutNavListOpenDirective.prototype.onClick = function () {
|
1214
1229
|
this._layout.open();
|
1215
1230
|
};
|
1216
|
-
TdLayoutNavListOpenDirective.decorators = [
|
1217
|
-
{ type: core.Directive, args: [{
|
1218
|
-
selector: '[tdLayoutNavListOpen]',
|
1219
|
-
inputs: ['hideWhenOpened'],
|
1220
|
-
},] }
|
1221
|
-
];
|
1222
|
-
/** @nocollapse */
|
1223
|
-
TdLayoutNavListOpenDirective.ctorParameters = function () { return [
|
1224
|
-
{ type: TdLayoutNavListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
1225
|
-
* @return {?}
|
1226
|
-
*/
|
1227
|
-
function () { return TdLayoutNavListComponent; })),] }] },
|
1228
|
-
{ type: core.Renderer2 },
|
1229
|
-
{ type: core.ElementRef }
|
1230
|
-
]; };
|
1231
|
-
TdLayoutNavListOpenDirective.propDecorators = {
|
1232
|
-
tdLayoutNavListOpen: [{ type: core.Input, args: ['tdLayoutNavListOpen',] }]
|
1233
|
-
};
|
1234
1231
|
return TdLayoutNavListOpenDirective;
|
1235
|
-
}(
|
1232
|
+
}(BaseLayoutToggleDirective));
|
1233
|
+
TdLayoutNavListOpenDirective.decorators = [
|
1234
|
+
{ type: core.Directive, args: [{
|
1235
|
+
selector: '[tdLayoutNavListOpen]',
|
1236
|
+
inputs: ['hideWhenOpened'],
|
1237
|
+
},] }
|
1238
|
+
];
|
1239
|
+
/** @nocollapse */
|
1240
|
+
TdLayoutNavListOpenDirective.ctorParameters = function () { return [
|
1241
|
+
{ type: TdLayoutNavListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
1242
|
+
* @return {?}
|
1243
|
+
*/function () { return TdLayoutNavListComponent; })),] }] },
|
1244
|
+
{ type: core.Renderer2 },
|
1245
|
+
{ type: core.ElementRef }
|
1246
|
+
]; };
|
1247
|
+
TdLayoutNavListOpenDirective.propDecorators = {
|
1248
|
+
tdLayoutNavListOpen: [{ type: core.Input, args: ['tdLayoutNavListOpen',] }]
|
1249
|
+
};
|
1236
1250
|
|
1237
1251
|
/**
|
1238
1252
|
* @fileoverview added by tsickle
|
1239
|
-
*
|
1253
|
+
* Generated from: layout-card-over/layout-card-over.component.ts
|
1254
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1240
1255
|
*/
|
1241
1256
|
var TdLayoutCardOverComponent = /** @class */ (function () {
|
1242
1257
|
function TdLayoutCardOverComponent() {
|
@@ -1255,21 +1270,21 @@
|
|
1255
1270
|
*/
|
1256
1271
|
this.color = 'primary';
|
1257
1272
|
}
|
1258
|
-
TdLayoutCardOverComponent.decorators = [
|
1259
|
-
{ type: core.Component, args: [{
|
1260
|
-
selector: 'td-layout-card-over',
|
1261
|
-
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",
|
1262
|
-
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}}"]
|
1263
|
-
}] }
|
1264
|
-
];
|
1265
|
-
TdLayoutCardOverComponent.propDecorators = {
|
1266
|
-
cardTitle: [{ type: core.Input }],
|
1267
|
-
cardSubtitle: [{ type: core.Input }],
|
1268
|
-
cardWidth: [{ type: core.Input }],
|
1269
|
-
color: [{ type: core.Input }]
|
1270
|
-
};
|
1271
1273
|
return TdLayoutCardOverComponent;
|
1272
1274
|
}());
|
1275
|
+
TdLayoutCardOverComponent.decorators = [
|
1276
|
+
{ type: core.Component, args: [{
|
1277
|
+
selector: 'td-layout-card-over',
|
1278
|
+
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",
|
1279
|
+
styles: [":host{display:block;height:100%;min-height:100%;position:relative;width:100%;z-index:2}:host [td-after-card]{display:block}.td-layout-card-over-wrapper{height:100%;margin:-64px 0;min-height:100%;width:100%}@media (min-width:600px){.td-layout-card-over-wrapper{-ms-flex-align:start;-ms-flex-direction:row;-ms-flex-line-pack:start;-ms-flex-pack:center;align-content:flex-start;align-items:flex-start;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:center}.td-layout-card-over-wrapper .td-layout-card-over{box-sizing:border-box;max-height:100%}}@media (max-width:599px){.td-layout-card-over-wrapper .td-layout-card-over{max-width:100%!important}}"]
|
1280
|
+
}] }
|
1281
|
+
];
|
1282
|
+
TdLayoutCardOverComponent.propDecorators = {
|
1283
|
+
cardTitle: [{ type: core.Input }],
|
1284
|
+
cardSubtitle: [{ type: core.Input }],
|
1285
|
+
cardWidth: [{ type: core.Input }],
|
1286
|
+
color: [{ type: core.Input }]
|
1287
|
+
};
|
1273
1288
|
if (false) {
|
1274
1289
|
/**
|
1275
1290
|
* cardTitle?: string
|
@@ -1305,7 +1320,8 @@
|
|
1305
1320
|
|
1306
1321
|
/**
|
1307
1322
|
* @fileoverview added by tsickle
|
1308
|
-
*
|
1323
|
+
* Generated from: layout-manage-list/layout-manage-list.component.ts
|
1324
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1309
1325
|
*/
|
1310
1326
|
var TdLayoutManageListComponent = /** @class */ (function () {
|
1311
1327
|
function TdLayoutManageListComponent() {
|
@@ -1353,78 +1369,53 @@
|
|
1353
1369
|
}
|
1354
1370
|
Object.defineProperty(TdLayoutManageListComponent.prototype, "disableClose", {
|
1355
1371
|
/**
|
1356
|
-
* Checks if `ESC` should close the sidenav
|
1357
|
-
* Should only close it for `push` and `over` modes
|
1358
|
-
*/
|
1359
|
-
get: /**
|
1360
1372
|
* Checks if `ESC` should close the sidenav
|
1361
1373
|
* Should only close it for `push` and `over` modes
|
1362
1374
|
* @return {?}
|
1363
1375
|
*/
|
1364
|
-
function () {
|
1376
|
+
get: function () {
|
1365
1377
|
return this.mode === 'side';
|
1366
1378
|
},
|
1367
|
-
enumerable:
|
1379
|
+
enumerable: false,
|
1368
1380
|
configurable: true
|
1369
1381
|
});
|
1370
1382
|
/**
|
1371
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1372
|
-
*/
|
1373
|
-
/**
|
1374
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1375
|
-
* @return {?}
|
1376
|
-
*/
|
1377
|
-
TdLayoutManageListComponent.prototype.toggle = /**
|
1378
1383
|
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1379
1384
|
* @return {?}
|
1380
1385
|
*/
|
1381
|
-
function () {
|
1386
|
+
TdLayoutManageListComponent.prototype.toggle = function () {
|
1382
1387
|
return this.sidenav.toggle(!this.sidenav.opened);
|
1383
1388
|
};
|
1384
|
-
/**
|
1385
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1386
|
-
*/
|
1387
1389
|
/**
|
1388
1390
|
* Proxy open method to access sidenav from outside (from td-layout template).
|
1389
1391
|
* @return {?}
|
1390
1392
|
*/
|
1391
|
-
TdLayoutManageListComponent.prototype.open =
|
1392
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1393
|
-
* @return {?}
|
1394
|
-
*/
|
1395
|
-
function () {
|
1393
|
+
TdLayoutManageListComponent.prototype.open = function () {
|
1396
1394
|
return this.sidenav.open();
|
1397
1395
|
};
|
1398
|
-
/**
|
1399
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1400
|
-
*/
|
1401
1396
|
/**
|
1402
1397
|
* Proxy close method to access sidenav from outside (from td-layout template).
|
1403
1398
|
* @return {?}
|
1404
1399
|
*/
|
1405
|
-
TdLayoutManageListComponent.prototype.close =
|
1406
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1407
|
-
* @return {?}
|
1408
|
-
*/
|
1409
|
-
function () {
|
1400
|
+
TdLayoutManageListComponent.prototype.close = function () {
|
1410
1401
|
return this.sidenav.close();
|
1411
1402
|
};
|
1412
|
-
TdLayoutManageListComponent.decorators = [
|
1413
|
-
{ type: core.Component, args: [{
|
1414
|
-
selector: 'td-layout-manage-list',
|
1415
|
-
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",
|
1416
|
-
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}"]
|
1417
|
-
}] }
|
1418
|
-
];
|
1419
|
-
TdLayoutManageListComponent.propDecorators = {
|
1420
|
-
sidenav: [{ type: core.ViewChild, args: [sidenav.MatSidenav, { static: true },] }],
|
1421
|
-
mode: [{ type: core.Input }],
|
1422
|
-
opened: [{ type: core.Input }],
|
1423
|
-
sidenavWidth: [{ type: core.Input }],
|
1424
|
-
containerAutosize: [{ type: core.Input }]
|
1425
|
-
};
|
1426
1403
|
return TdLayoutManageListComponent;
|
1427
1404
|
}());
|
1405
|
+
TdLayoutManageListComponent.decorators = [
|
1406
|
+
{ type: core.Component, args: [{
|
1407
|
+
selector: 'td-layout-manage-list',
|
1408
|
+
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",
|
1409
|
+
styles: [":host{display:-ms-flexbox;display:flex;height:100%;margin:0;min-height:100%;overflow:hidden;width:100%}: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{-ms-flex:1;-webkit-overflow-scrolling:touch;display:block;flex:1;overflow:auto;position:relative;text-align:start}:host .td-layout-manage-list-main{-ms-flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:column;height:100%;margin:0;min-height:100%;overflow:auto;position:relative;width:100%}:host .td-layout-manage-list-main .td-layout-manage-list-content{-ms-flex:1;-webkit-overflow-scrolling:touch;display:block;flex:1;overflow:auto;position:relative}: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{-ms-flex-direction:column;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;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}"]
|
1410
|
+
}] }
|
1411
|
+
];
|
1412
|
+
TdLayoutManageListComponent.propDecorators = {
|
1413
|
+
sidenav: [{ type: core.ViewChild, args: [sidenav.MatSidenav, { static: true },] }],
|
1414
|
+
mode: [{ type: core.Input }],
|
1415
|
+
opened: [{ type: core.Input }],
|
1416
|
+
sidenavWidth: [{ type: core.Input }],
|
1417
|
+
containerAutosize: [{ type: core.Input }]
|
1418
|
+
};
|
1428
1419
|
if (false) {
|
1429
1420
|
/** @type {?} */
|
1430
1421
|
TdLayoutManageListComponent.prototype.sidenav;
|
@@ -1475,203 +1466,202 @@
|
|
1475
1466
|
TdLayoutManageListComponent.prototype.containerAutosize;
|
1476
1467
|
}
|
1477
1468
|
|
1478
|
-
/**
|
1479
|
-
* @fileoverview added by tsickle
|
1480
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1481
|
-
*/
|
1482
1469
|
var TdLayoutManageListToggleDirective = /** @class */ (function (_super) {
|
1483
1470
|
__extends(TdLayoutManageListToggleDirective, _super);
|
1471
|
+
/**
|
1472
|
+
* @param {?} layout
|
1473
|
+
* @param {?} renderer
|
1474
|
+
* @param {?} elementRef
|
1475
|
+
*/
|
1484
1476
|
function TdLayoutManageListToggleDirective(layout, renderer, elementRef) {
|
1485
1477
|
return _super.call(this, layout, renderer, elementRef) || this;
|
1486
1478
|
}
|
1487
1479
|
Object.defineProperty(TdLayoutManageListToggleDirective.prototype, "tdLayoutManageListToggle", {
|
1488
|
-
|
1480
|
+
/**
|
1489
1481
|
* @param {?} tdLayoutManageListToggle
|
1490
1482
|
* @return {?}
|
1491
1483
|
*/
|
1492
|
-
function (tdLayoutManageListToggle) {
|
1493
|
-
this.disabled = !((/** @type {?} */
|
1484
|
+
set: function (tdLayoutManageListToggle) {
|
1485
|
+
this.disabled = !(( /** @type {?} */(tdLayoutManageListToggle)) === '' || tdLayoutManageListToggle);
|
1494
1486
|
},
|
1495
|
-
enumerable:
|
1487
|
+
enumerable: false,
|
1496
1488
|
configurable: true
|
1497
1489
|
});
|
1498
1490
|
/**
|
1499
1491
|
* @return {?}
|
1500
1492
|
*/
|
1501
|
-
TdLayoutManageListToggleDirective.prototype.onClick =
|
1502
|
-
* @return {?}
|
1503
|
-
*/
|
1504
|
-
function () {
|
1493
|
+
TdLayoutManageListToggleDirective.prototype.onClick = function () {
|
1505
1494
|
this._layout.toggle();
|
1506
1495
|
};
|
1507
|
-
TdLayoutManageListToggleDirective.decorators = [
|
1508
|
-
{ type: core.Directive, args: [{
|
1509
|
-
selector: '[tdLayoutManageListToggle]',
|
1510
|
-
inputs: ['hideWhenOpened'],
|
1511
|
-
},] }
|
1512
|
-
];
|
1513
|
-
/** @nocollapse */
|
1514
|
-
TdLayoutManageListToggleDirective.ctorParameters = function () { return [
|
1515
|
-
{ type: TdLayoutManageListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
1516
|
-
* @return {?}
|
1517
|
-
*/
|
1518
|
-
function () { return TdLayoutManageListComponent; })),] }] },
|
1519
|
-
{ type: core.Renderer2 },
|
1520
|
-
{ type: core.ElementRef }
|
1521
|
-
]; };
|
1522
|
-
TdLayoutManageListToggleDirective.propDecorators = {
|
1523
|
-
tdLayoutManageListToggle: [{ type: core.Input, args: ['tdLayoutManageListToggle',] }]
|
1524
|
-
};
|
1525
1496
|
return TdLayoutManageListToggleDirective;
|
1526
|
-
}(
|
1497
|
+
}(BaseLayoutToggleDirective));
|
1498
|
+
TdLayoutManageListToggleDirective.decorators = [
|
1499
|
+
{ type: core.Directive, args: [{
|
1500
|
+
selector: '[tdLayoutManageListToggle]',
|
1501
|
+
inputs: ['hideWhenOpened'],
|
1502
|
+
},] }
|
1503
|
+
];
|
1504
|
+
/** @nocollapse */
|
1505
|
+
TdLayoutManageListToggleDirective.ctorParameters = function () { return [
|
1506
|
+
{ type: TdLayoutManageListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
1507
|
+
* @return {?}
|
1508
|
+
*/function () { return TdLayoutManageListComponent; })),] }] },
|
1509
|
+
{ type: core.Renderer2 },
|
1510
|
+
{ type: core.ElementRef }
|
1511
|
+
]; };
|
1512
|
+
TdLayoutManageListToggleDirective.propDecorators = {
|
1513
|
+
tdLayoutManageListToggle: [{ type: core.Input, args: ['tdLayoutManageListToggle',] }]
|
1514
|
+
};
|
1527
1515
|
var TdLayoutManageListCloseDirective = /** @class */ (function (_super) {
|
1528
1516
|
__extends(TdLayoutManageListCloseDirective, _super);
|
1517
|
+
/**
|
1518
|
+
* @param {?} layout
|
1519
|
+
* @param {?} renderer
|
1520
|
+
* @param {?} elementRef
|
1521
|
+
*/
|
1529
1522
|
function TdLayoutManageListCloseDirective(layout, renderer, elementRef) {
|
1530
1523
|
return _super.call(this, layout, renderer, elementRef) || this;
|
1531
1524
|
}
|
1532
1525
|
Object.defineProperty(TdLayoutManageListCloseDirective.prototype, "tdLayoutManageListClose", {
|
1533
|
-
|
1526
|
+
/**
|
1534
1527
|
* @param {?} tdLayoutManageListClose
|
1535
1528
|
* @return {?}
|
1536
1529
|
*/
|
1537
|
-
function (tdLayoutManageListClose) {
|
1538
|
-
this.disabled = !((/** @type {?} */
|
1530
|
+
set: function (tdLayoutManageListClose) {
|
1531
|
+
this.disabled = !(( /** @type {?} */(tdLayoutManageListClose)) === '' || tdLayoutManageListClose);
|
1539
1532
|
},
|
1540
|
-
enumerable:
|
1533
|
+
enumerable: false,
|
1541
1534
|
configurable: true
|
1542
1535
|
});
|
1543
1536
|
/**
|
1544
1537
|
* @return {?}
|
1545
1538
|
*/
|
1546
|
-
TdLayoutManageListCloseDirective.prototype.onClick =
|
1547
|
-
* @return {?}
|
1548
|
-
*/
|
1549
|
-
function () {
|
1539
|
+
TdLayoutManageListCloseDirective.prototype.onClick = function () {
|
1550
1540
|
this._layout.close();
|
1551
1541
|
};
|
1552
|
-
TdLayoutManageListCloseDirective.decorators = [
|
1553
|
-
{ type: core.Directive, args: [{
|
1554
|
-
selector: '[tdLayoutManageListClose]',
|
1555
|
-
inputs: ['hideWhenOpened'],
|
1556
|
-
},] }
|
1557
|
-
];
|
1558
|
-
/** @nocollapse */
|
1559
|
-
TdLayoutManageListCloseDirective.ctorParameters = function () { return [
|
1560
|
-
{ type: TdLayoutManageListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
1561
|
-
* @return {?}
|
1562
|
-
*/
|
1563
|
-
function () { return TdLayoutManageListComponent; })),] }] },
|
1564
|
-
{ type: core.Renderer2 },
|
1565
|
-
{ type: core.ElementRef }
|
1566
|
-
]; };
|
1567
|
-
TdLayoutManageListCloseDirective.propDecorators = {
|
1568
|
-
tdLayoutManageListClose: [{ type: core.Input, args: ['tdLayoutManageListClose',] }]
|
1569
|
-
};
|
1570
1542
|
return TdLayoutManageListCloseDirective;
|
1571
|
-
}(
|
1543
|
+
}(BaseLayoutToggleDirective));
|
1544
|
+
TdLayoutManageListCloseDirective.decorators = [
|
1545
|
+
{ type: core.Directive, args: [{
|
1546
|
+
selector: '[tdLayoutManageListClose]',
|
1547
|
+
inputs: ['hideWhenOpened'],
|
1548
|
+
},] }
|
1549
|
+
];
|
1550
|
+
/** @nocollapse */
|
1551
|
+
TdLayoutManageListCloseDirective.ctorParameters = function () { return [
|
1552
|
+
{ type: TdLayoutManageListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
1553
|
+
* @return {?}
|
1554
|
+
*/function () { return TdLayoutManageListComponent; })),] }] },
|
1555
|
+
{ type: core.Renderer2 },
|
1556
|
+
{ type: core.ElementRef }
|
1557
|
+
]; };
|
1558
|
+
TdLayoutManageListCloseDirective.propDecorators = {
|
1559
|
+
tdLayoutManageListClose: [{ type: core.Input, args: ['tdLayoutManageListClose',] }]
|
1560
|
+
};
|
1572
1561
|
var TdLayoutManageListOpenDirective = /** @class */ (function (_super) {
|
1573
1562
|
__extends(TdLayoutManageListOpenDirective, _super);
|
1563
|
+
/**
|
1564
|
+
* @param {?} layout
|
1565
|
+
* @param {?} renderer
|
1566
|
+
* @param {?} elementRef
|
1567
|
+
*/
|
1574
1568
|
function TdLayoutManageListOpenDirective(layout, renderer, elementRef) {
|
1575
1569
|
return _super.call(this, layout, renderer, elementRef) || this;
|
1576
1570
|
}
|
1577
1571
|
Object.defineProperty(TdLayoutManageListOpenDirective.prototype, "tdLayoutManageListOpen", {
|
1578
|
-
|
1572
|
+
/**
|
1579
1573
|
* @param {?} tdLayoutManageListOpen
|
1580
1574
|
* @return {?}
|
1581
1575
|
*/
|
1582
|
-
function (tdLayoutManageListOpen) {
|
1583
|
-
this.disabled = !((/** @type {?} */
|
1576
|
+
set: function (tdLayoutManageListOpen) {
|
1577
|
+
this.disabled = !(( /** @type {?} */(tdLayoutManageListOpen)) === '' || tdLayoutManageListOpen);
|
1584
1578
|
},
|
1585
|
-
enumerable:
|
1579
|
+
enumerable: false,
|
1586
1580
|
configurable: true
|
1587
1581
|
});
|
1588
1582
|
/**
|
1589
1583
|
* @return {?}
|
1590
1584
|
*/
|
1591
|
-
TdLayoutManageListOpenDirective.prototype.onClick =
|
1592
|
-
* @return {?}
|
1593
|
-
*/
|
1594
|
-
function () {
|
1585
|
+
TdLayoutManageListOpenDirective.prototype.onClick = function () {
|
1595
1586
|
this._layout.open();
|
1596
1587
|
};
|
1597
|
-
TdLayoutManageListOpenDirective.decorators = [
|
1598
|
-
{ type: core.Directive, args: [{
|
1599
|
-
selector: '[tdLayoutManageListOpen]',
|
1600
|
-
inputs: ['hideWhenOpened'],
|
1601
|
-
},] }
|
1602
|
-
];
|
1603
|
-
/** @nocollapse */
|
1604
|
-
TdLayoutManageListOpenDirective.ctorParameters = function () { return [
|
1605
|
-
{ type: TdLayoutManageListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef((/**
|
1606
|
-
* @return {?}
|
1607
|
-
*/
|
1608
|
-
function () { return TdLayoutManageListComponent; })),] }] },
|
1609
|
-
{ type: core.Renderer2 },
|
1610
|
-
{ type: core.ElementRef }
|
1611
|
-
]; };
|
1612
|
-
TdLayoutManageListOpenDirective.propDecorators = {
|
1613
|
-
tdLayoutManageListOpen: [{ type: core.Input, args: ['tdLayoutManageListOpen',] }]
|
1614
|
-
};
|
1615
1588
|
return TdLayoutManageListOpenDirective;
|
1616
|
-
}(
|
1589
|
+
}(BaseLayoutToggleDirective));
|
1590
|
+
TdLayoutManageListOpenDirective.decorators = [
|
1591
|
+
{ type: core.Directive, args: [{
|
1592
|
+
selector: '[tdLayoutManageListOpen]',
|
1593
|
+
inputs: ['hideWhenOpened'],
|
1594
|
+
},] }
|
1595
|
+
];
|
1596
|
+
/** @nocollapse */
|
1597
|
+
TdLayoutManageListOpenDirective.ctorParameters = function () { return [
|
1598
|
+
{ type: TdLayoutManageListComponent, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core.forwardRef(( /**
|
1599
|
+
* @return {?}
|
1600
|
+
*/function () { return TdLayoutManageListComponent; })),] }] },
|
1601
|
+
{ type: core.Renderer2 },
|
1602
|
+
{ type: core.ElementRef }
|
1603
|
+
]; };
|
1604
|
+
TdLayoutManageListOpenDirective.propDecorators = {
|
1605
|
+
tdLayoutManageListOpen: [{ type: core.Input, args: ['tdLayoutManageListOpen',] }]
|
1606
|
+
};
|
1617
1607
|
|
1618
1608
|
/**
|
1619
1609
|
* @fileoverview added by tsickle
|
1620
|
-
*
|
1610
|
+
* Generated from: layout-footer/layout-footer.component.ts
|
1611
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1621
1612
|
*/
|
1622
1613
|
var TdLayoutFooterComponent = /** @class */ (function () {
|
1614
|
+
/**
|
1615
|
+
* @param {?} _renderer
|
1616
|
+
* @param {?} _elementRef
|
1617
|
+
*/
|
1623
1618
|
function TdLayoutFooterComponent(_renderer, _elementRef) {
|
1624
1619
|
this._renderer = _renderer;
|
1625
1620
|
this._elementRef = _elementRef;
|
1626
1621
|
this._renderer.addClass(this._elementRef.nativeElement, 'td-layout-footer');
|
1627
1622
|
}
|
1628
1623
|
Object.defineProperty(TdLayoutFooterComponent.prototype, "color", {
|
1629
|
-
|
1624
|
+
/**
|
1630
1625
|
* @return {?}
|
1631
1626
|
*/
|
1632
|
-
function () {
|
1627
|
+
get: function () {
|
1633
1628
|
return this._color;
|
1634
1629
|
},
|
1635
1630
|
/**
|
1636
|
-
* color?: 'accent' | 'primary' | 'warn'
|
1637
|
-
*
|
1638
|
-
* Optional color option: primary | accent | warn.
|
1639
|
-
*/
|
1640
|
-
set: /**
|
1641
1631
|
* color?: 'accent' | 'primary' | 'warn'
|
1642
1632
|
*
|
1643
1633
|
* Optional color option: primary | accent | warn.
|
1644
1634
|
* @param {?} color
|
1645
1635
|
* @return {?}
|
1646
1636
|
*/
|
1647
|
-
function (color) {
|
1637
|
+
set: function (color) {
|
1648
1638
|
if (color) {
|
1649
1639
|
this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);
|
1650
1640
|
this._color = color;
|
1651
1641
|
this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + this._color);
|
1652
1642
|
}
|
1653
1643
|
},
|
1654
|
-
enumerable:
|
1644
|
+
enumerable: false,
|
1655
1645
|
configurable: true
|
1656
1646
|
});
|
1657
|
-
TdLayoutFooterComponent.decorators = [
|
1658
|
-
{ type: core.Component, args: [{
|
1659
|
-
/* tslint:disable-next-line */
|
1660
|
-
selector: 'td-layout-footer,td-layout-footer-inner',
|
1661
|
-
template: "<ng-content></ng-content>\n",
|
1662
|
-
styles: [":host{display:block;padding:10px 16px}"]
|
1663
|
-
}] }
|
1664
|
-
];
|
1665
|
-
/** @nocollapse */
|
1666
|
-
TdLayoutFooterComponent.ctorParameters = function () { return [
|
1667
|
-
{ type: core.Renderer2 },
|
1668
|
-
{ type: core.ElementRef }
|
1669
|
-
]; };
|
1670
|
-
TdLayoutFooterComponent.propDecorators = {
|
1671
|
-
color: [{ type: core.Input, args: ['color',] }]
|
1672
|
-
};
|
1673
1647
|
return TdLayoutFooterComponent;
|
1674
1648
|
}());
|
1649
|
+
TdLayoutFooterComponent.decorators = [
|
1650
|
+
{ type: core.Component, args: [{
|
1651
|
+
/* tslint:disable-next-line */
|
1652
|
+
selector: 'td-layout-footer,td-layout-footer-inner',
|
1653
|
+
template: "<ng-content></ng-content>\n",
|
1654
|
+
styles: [":host{display:block;padding:10px 16px}"]
|
1655
|
+
}] }
|
1656
|
+
];
|
1657
|
+
/** @nocollapse */
|
1658
|
+
TdLayoutFooterComponent.ctorParameters = function () { return [
|
1659
|
+
{ type: core.Renderer2 },
|
1660
|
+
{ type: core.ElementRef }
|
1661
|
+
]; };
|
1662
|
+
TdLayoutFooterComponent.propDecorators = {
|
1663
|
+
color: [{ type: core.Input, args: ['color',] }]
|
1664
|
+
};
|
1675
1665
|
if (false) {
|
1676
1666
|
/**
|
1677
1667
|
* @type {?}
|
@@ -1692,29 +1682,35 @@
|
|
1692
1682
|
|
1693
1683
|
/**
|
1694
1684
|
* @fileoverview added by tsickle
|
1695
|
-
*
|
1685
|
+
* Generated from: navigation-drawer/navigation-drawer.component.ts
|
1686
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1696
1687
|
*/
|
1697
1688
|
var TdNavigationDrawerMenuDirective = /** @class */ (function () {
|
1698
1689
|
function TdNavigationDrawerMenuDirective() {
|
1699
1690
|
}
|
1700
|
-
TdNavigationDrawerMenuDirective.decorators = [
|
1701
|
-
{ type: core.Directive, args: [{
|
1702
|
-
selector: '[td-navigation-drawer-menu]',
|
1703
|
-
},] }
|
1704
|
-
];
|
1705
1691
|
return TdNavigationDrawerMenuDirective;
|
1706
1692
|
}());
|
1693
|
+
TdNavigationDrawerMenuDirective.decorators = [
|
1694
|
+
{ type: core.Directive, args: [{
|
1695
|
+
selector: '[td-navigation-drawer-menu]',
|
1696
|
+
},] }
|
1697
|
+
];
|
1707
1698
|
var TdNavigationDrawerToolbarDirective = /** @class */ (function () {
|
1708
1699
|
function TdNavigationDrawerToolbarDirective() {
|
1709
1700
|
}
|
1710
|
-
TdNavigationDrawerToolbarDirective.decorators = [
|
1711
|
-
{ type: core.Directive, args: [{
|
1712
|
-
selector: '[td-navigation-drawer-toolbar]',
|
1713
|
-
},] }
|
1714
|
-
];
|
1715
1701
|
return TdNavigationDrawerToolbarDirective;
|
1716
1702
|
}());
|
1703
|
+
TdNavigationDrawerToolbarDirective.decorators = [
|
1704
|
+
{ type: core.Directive, args: [{
|
1705
|
+
selector: '[td-navigation-drawer-toolbar]',
|
1706
|
+
},] }
|
1707
|
+
];
|
1717
1708
|
var TdNavigationDrawerComponent = /** @class */ (function () {
|
1709
|
+
/**
|
1710
|
+
* @param {?} _layout
|
1711
|
+
* @param {?} _router
|
1712
|
+
* @param {?} _sanitize
|
1713
|
+
*/
|
1718
1714
|
function TdNavigationDrawerComponent(_layout, _router, _sanitize) {
|
1719
1715
|
this._layout = _layout;
|
1720
1716
|
this._router = _router;
|
@@ -1722,65 +1718,50 @@
|
|
1722
1718
|
this._menuToggled = false;
|
1723
1719
|
}
|
1724
1720
|
Object.defineProperty(TdNavigationDrawerComponent.prototype, "menuToggled", {
|
1725
|
-
|
1721
|
+
/**
|
1726
1722
|
* @return {?}
|
1727
1723
|
*/
|
1728
|
-
function () {
|
1724
|
+
get: function () {
|
1729
1725
|
return this._menuToggled;
|
1730
1726
|
},
|
1731
|
-
enumerable:
|
1727
|
+
enumerable: false,
|
1732
1728
|
configurable: true
|
1733
1729
|
});
|
1734
1730
|
Object.defineProperty(TdNavigationDrawerComponent.prototype, "isMenuAvailable", {
|
1735
1731
|
/**
|
1736
|
-
* Checks if there is a [TdNavigationDrawerMenuDirective] has content.
|
1737
|
-
*/
|
1738
|
-
get: /**
|
1739
1732
|
* Checks if there is a [TdNavigationDrawerMenuDirective] has content.
|
1740
1733
|
* @return {?}
|
1741
1734
|
*/
|
1742
|
-
function () {
|
1735
|
+
get: function () {
|
1743
1736
|
return this._drawerMenu ? this._drawerMenu.length > 0 : false;
|
1744
1737
|
},
|
1745
|
-
enumerable:
|
1738
|
+
enumerable: false,
|
1746
1739
|
configurable: true
|
1747
1740
|
});
|
1748
1741
|
Object.defineProperty(TdNavigationDrawerComponent.prototype, "isCustomToolbar", {
|
1749
1742
|
/**
|
1750
|
-
* Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
|
1751
|
-
*/
|
1752
|
-
get: /**
|
1753
1743
|
* Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
|
1754
1744
|
* @return {?}
|
1755
1745
|
*/
|
1756
|
-
function () {
|
1746
|
+
get: function () {
|
1757
1747
|
return this._toolbar ? this._toolbar.length > 0 : false;
|
1758
1748
|
},
|
1759
|
-
enumerable:
|
1749
|
+
enumerable: false,
|
1760
1750
|
configurable: true
|
1761
1751
|
});
|
1762
1752
|
Object.defineProperty(TdNavigationDrawerComponent.prototype, "isBackgroundAvailable", {
|
1763
1753
|
/**
|
1764
|
-
* Checks if there is a background image for the toolbar.
|
1765
|
-
*/
|
1766
|
-
get: /**
|
1767
1754
|
* Checks if there is a background image for the toolbar.
|
1768
1755
|
* @return {?}
|
1769
1756
|
*/
|
1770
|
-
function () {
|
1757
|
+
get: function () {
|
1771
1758
|
return !!this._backgroundImage;
|
1772
1759
|
},
|
1773
|
-
enumerable:
|
1760
|
+
enumerable: false,
|
1774
1761
|
configurable: true
|
1775
1762
|
});
|
1776
1763
|
Object.defineProperty(TdNavigationDrawerComponent.prototype, "backgroundUrl", {
|
1777
1764
|
/**
|
1778
|
-
* backgroundUrl?: SafeResourceUrl
|
1779
|
-
*
|
1780
|
-
* image to be displayed as the background of the toolbar.
|
1781
|
-
* URL used will be sanitized, but it should be always from a trusted source to avoid XSS.
|
1782
|
-
*/
|
1783
|
-
set: /**
|
1784
1765
|
* backgroundUrl?: SafeResourceUrl
|
1785
1766
|
*
|
1786
1767
|
* image to be displayed as the background of the toolbar.
|
@@ -1788,53 +1769,46 @@
|
|
1788
1769
|
* @param {?} backgroundUrl
|
1789
1770
|
* @return {?}
|
1790
1771
|
*/
|
1791
|
-
function (backgroundUrl) {
|
1772
|
+
set: function (backgroundUrl) {
|
1792
1773
|
if (backgroundUrl) {
|
1793
1774
|
/** @type {?} */
|
1794
1775
|
var sanitizedUrl = this._sanitize.sanitize(core.SecurityContext.RESOURCE_URL, backgroundUrl);
|
1795
1776
|
this._backgroundImage = this._sanitize.sanitize(core.SecurityContext.STYLE, 'url(' + sanitizedUrl + ')');
|
1796
1777
|
}
|
1797
1778
|
},
|
1798
|
-
enumerable:
|
1779
|
+
enumerable: false,
|
1799
1780
|
configurable: true
|
1800
1781
|
});
|
1801
1782
|
Object.defineProperty(TdNavigationDrawerComponent.prototype, "backgroundImage", {
|
1802
|
-
|
1783
|
+
/**
|
1803
1784
|
* @return {?}
|
1804
1785
|
*/
|
1805
|
-
function () {
|
1786
|
+
get: function () {
|
1806
1787
|
return this._backgroundImage;
|
1807
1788
|
},
|
1808
|
-
enumerable:
|
1789
|
+
enumerable: false,
|
1809
1790
|
configurable: true
|
1810
1791
|
});
|
1811
1792
|
Object.defineProperty(TdNavigationDrawerComponent.prototype, "routerEnabled", {
|
1812
1793
|
/**
|
1813
|
-
* Checks if router was injected.
|
1814
|
-
*/
|
1815
|
-
get: /**
|
1816
1794
|
* Checks if router was injected.
|
1817
1795
|
* @return {?}
|
1818
1796
|
*/
|
1819
|
-
function () {
|
1797
|
+
get: function () {
|
1820
1798
|
return !!this._router && !!this.navigationRoute;
|
1821
1799
|
},
|
1822
|
-
enumerable:
|
1800
|
+
enumerable: false,
|
1823
1801
|
configurable: true
|
1824
1802
|
});
|
1825
1803
|
/**
|
1826
1804
|
* @return {?}
|
1827
1805
|
*/
|
1828
|
-
TdNavigationDrawerComponent.prototype.ngOnInit =
|
1829
|
-
* @return {?}
|
1830
|
-
*/
|
1831
|
-
function () {
|
1806
|
+
TdNavigationDrawerComponent.prototype.ngOnInit = function () {
|
1832
1807
|
var _this = this;
|
1833
|
-
this._closeSubscription = this._layout.sidenav.openedChange.subscribe((/**
|
1808
|
+
this._closeSubscription = this._layout.sidenav.openedChange.subscribe(( /**
|
1834
1809
|
* @param {?} opened
|
1835
1810
|
* @return {?}
|
1836
|
-
*/
|
1837
|
-
function (opened) {
|
1811
|
+
*/function (opened) {
|
1838
1812
|
if (!opened) {
|
1839
1813
|
_this._menuToggled = false;
|
1840
1814
|
}
|
@@ -1843,10 +1817,7 @@
|
|
1843
1817
|
/**
|
1844
1818
|
* @return {?}
|
1845
1819
|
*/
|
1846
|
-
TdNavigationDrawerComponent.prototype.ngOnDestroy =
|
1847
|
-
* @return {?}
|
1848
|
-
*/
|
1849
|
-
function () {
|
1820
|
+
TdNavigationDrawerComponent.prototype.ngOnDestroy = function () {
|
1850
1821
|
if (this._closeSubscription) {
|
1851
1822
|
this._closeSubscription.unsubscribe();
|
1852
1823
|
this._closeSubscription = undefined;
|
@@ -1855,10 +1826,7 @@
|
|
1855
1826
|
/**
|
1856
1827
|
* @return {?}
|
1857
1828
|
*/
|
1858
|
-
TdNavigationDrawerComponent.prototype.toggleMenu =
|
1859
|
-
* @return {?}
|
1860
|
-
*/
|
1861
|
-
function () {
|
1829
|
+
TdNavigationDrawerComponent.prototype.toggleMenu = function () {
|
1862
1830
|
if (this.isMenuAvailable) {
|
1863
1831
|
this._menuToggled = !this._menuToggled;
|
1864
1832
|
}
|
@@ -1866,89 +1834,64 @@
|
|
1866
1834
|
/**
|
1867
1835
|
* @return {?}
|
1868
1836
|
*/
|
1869
|
-
TdNavigationDrawerComponent.prototype.handleNavigationClick =
|
1870
|
-
* @return {?}
|
1871
|
-
*/
|
1872
|
-
function () {
|
1837
|
+
TdNavigationDrawerComponent.prototype.handleNavigationClick = function () {
|
1873
1838
|
if (this.routerEnabled) {
|
1874
1839
|
this._router.navigateByUrl(this.navigationRoute);
|
1875
1840
|
this.close();
|
1876
1841
|
}
|
1877
1842
|
};
|
1878
1843
|
/**
|
1879
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1880
|
-
*/
|
1881
|
-
/**
|
1882
|
-
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1883
|
-
* @return {?}
|
1884
|
-
*/
|
1885
|
-
TdNavigationDrawerComponent.prototype.toggle = /**
|
1886
1844
|
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
1887
1845
|
* @return {?}
|
1888
1846
|
*/
|
1889
|
-
function () {
|
1847
|
+
TdNavigationDrawerComponent.prototype.toggle = function () {
|
1890
1848
|
return this._layout.toggle();
|
1891
1849
|
};
|
1892
|
-
/**
|
1893
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1894
|
-
*/
|
1895
1850
|
/**
|
1896
1851
|
* Proxy open method to access sidenav from outside (from td-layout template).
|
1897
1852
|
* @return {?}
|
1898
1853
|
*/
|
1899
|
-
TdNavigationDrawerComponent.prototype.open =
|
1900
|
-
* Proxy open method to access sidenav from outside (from td-layout template).
|
1901
|
-
* @return {?}
|
1902
|
-
*/
|
1903
|
-
function () {
|
1854
|
+
TdNavigationDrawerComponent.prototype.open = function () {
|
1904
1855
|
return this._layout.open();
|
1905
1856
|
};
|
1906
|
-
/**
|
1907
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1908
|
-
*/
|
1909
1857
|
/**
|
1910
1858
|
* Proxy close method to access sidenav from outside (from td-layout template).
|
1911
1859
|
* @return {?}
|
1912
1860
|
*/
|
1913
|
-
TdNavigationDrawerComponent.prototype.close =
|
1914
|
-
* Proxy close method to access sidenav from outside (from td-layout template).
|
1915
|
-
* @return {?}
|
1916
|
-
*/
|
1917
|
-
function () {
|
1861
|
+
TdNavigationDrawerComponent.prototype.close = function () {
|
1918
1862
|
return this._layout.close();
|
1919
1863
|
};
|
1920
|
-
TdNavigationDrawerComponent.decorators = [
|
1921
|
-
{ type: core.Component, args: [{
|
1922
|
-
selector: 'td-navigation-drawer',
|
1923
|
-
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",
|
1924
|
-
animations: [common$1.tdCollapseAnimation],
|
1925
|
-
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}"]
|
1926
|
-
}] }
|
1927
|
-
];
|
1928
|
-
/** @nocollapse */
|
1929
|
-
TdNavigationDrawerComponent.ctorParameters = function () { return [
|
1930
|
-
{ type: TdLayoutComponent, decorators: [{ type: core.Inject, args: [core.forwardRef((/**
|
1931
|
-
* @return {?}
|
1932
|
-
*/
|
1933
|
-
function () { return TdLayoutComponent; })),] }] },
|
1934
|
-
{ type: router.Router, decorators: [{ type: core.Optional }] },
|
1935
|
-
{ type: platformBrowser.DomSanitizer }
|
1936
|
-
]; };
|
1937
|
-
TdNavigationDrawerComponent.propDecorators = {
|
1938
|
-
_drawerMenu: [{ type: core.ContentChildren, args: [TdNavigationDrawerMenuDirective, { descendants: true },] }],
|
1939
|
-
_toolbar: [{ type: core.ContentChildren, args: [TdNavigationDrawerToolbarDirective, { descendants: true },] }],
|
1940
|
-
sidenavTitle: [{ type: core.Input }],
|
1941
|
-
icon: [{ type: core.Input }],
|
1942
|
-
logo: [{ type: core.Input }],
|
1943
|
-
avatar: [{ type: core.Input }],
|
1944
|
-
color: [{ type: core.Input }],
|
1945
|
-
navigationRoute: [{ type: core.Input }],
|
1946
|
-
backgroundUrl: [{ type: core.Input, args: ['backgroundUrl',] }],
|
1947
|
-
name: [{ type: core.Input }],
|
1948
|
-
email: [{ type: core.Input }]
|
1949
|
-
};
|
1950
1864
|
return TdNavigationDrawerComponent;
|
1951
1865
|
}());
|
1866
|
+
TdNavigationDrawerComponent.decorators = [
|
1867
|
+
{ type: core.Component, args: [{
|
1868
|
+
selector: 'td-navigation-drawer',
|
1869
|
+
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",
|
1870
|
+
animations: [common.tdCollapseAnimation],
|
1871
|
+
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;display:block!important;flex-direction:column;height:auto!important}:host mat-toolbar .td-navigation-drawer-toolbar-content{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-nagivation-drawer-toolbar-avatar{border-radius:50%;height:60px;margin:0 12px 12px 0;width:60px}:host mat-toolbar .td-navigation-drawer-name,:host mat-toolbar .td-navigation-drawer-toolbar-content .td-navigation-drawer-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host mat-toolbar .td-navigation-drawer-menu-toggle{-ms-flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-label{-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-menu-button{height:24px;line-height:24px;width:24px}:host>div{overflow:hidden}"]
|
1872
|
+
}] }
|
1873
|
+
];
|
1874
|
+
/** @nocollapse */
|
1875
|
+
TdNavigationDrawerComponent.ctorParameters = function () { return [
|
1876
|
+
{ type: TdLayoutComponent, decorators: [{ type: core.Inject, args: [core.forwardRef(( /**
|
1877
|
+
* @return {?}
|
1878
|
+
*/function () { return TdLayoutComponent; })),] }] },
|
1879
|
+
{ type: router.Router, decorators: [{ type: core.Optional }] },
|
1880
|
+
{ type: platformBrowser.DomSanitizer }
|
1881
|
+
]; };
|
1882
|
+
TdNavigationDrawerComponent.propDecorators = {
|
1883
|
+
_drawerMenu: [{ type: core.ContentChildren, args: [TdNavigationDrawerMenuDirective, { descendants: true },] }],
|
1884
|
+
_toolbar: [{ type: core.ContentChildren, args: [TdNavigationDrawerToolbarDirective, { descendants: true },] }],
|
1885
|
+
sidenavTitle: [{ type: core.Input }],
|
1886
|
+
icon: [{ type: core.Input }],
|
1887
|
+
logo: [{ type: core.Input }],
|
1888
|
+
avatar: [{ type: core.Input }],
|
1889
|
+
color: [{ type: core.Input }],
|
1890
|
+
navigationRoute: [{ type: core.Input }],
|
1891
|
+
backgroundUrl: [{ type: core.Input, args: ['backgroundUrl',] }],
|
1892
|
+
name: [{ type: core.Input }],
|
1893
|
+
email: [{ type: core.Input }]
|
1894
|
+
};
|
1952
1895
|
if (false) {
|
1953
1896
|
/**
|
1954
1897
|
* @type {?}
|
@@ -2048,7 +1991,8 @@
|
|
2048
1991
|
|
2049
1992
|
/**
|
2050
1993
|
* @fileoverview added by tsickle
|
2051
|
-
*
|
1994
|
+
* Generated from: layout.module.ts
|
1995
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2052
1996
|
*/
|
2053
1997
|
/** @type {?} */
|
2054
1998
|
var TD_LAYOUTS = [
|
@@ -2074,27 +2018,45 @@
|
|
2074
2018
|
var CovalentLayoutModule = /** @class */ (function () {
|
2075
2019
|
function CovalentLayoutModule() {
|
2076
2020
|
}
|
2077
|
-
CovalentLayoutModule.decorators = [
|
2078
|
-
{ type: core.NgModule, args: [{
|
2079
|
-
imports: [
|
2080
|
-
common.CommonModule,
|
2081
|
-
scrolling.ScrollingModule,
|
2082
|
-
sidenav.MatSidenavModule,
|
2083
|
-
toolbar.MatToolbarModule,
|
2084
|
-
button.MatButtonModule,
|
2085
|
-
icon.MatIconModule,
|
2086
|
-
card.MatCardModule,
|
2087
|
-
divider.MatDividerModule,
|
2088
|
-
],
|
2089
|
-
declarations: [TD_LAYOUTS],
|
2090
|
-
exports: [TD_LAYOUTS],
|
2091
|
-
},] }
|
2092
|
-
];
|
2093
2021
|
return CovalentLayoutModule;
|
2094
2022
|
}());
|
2023
|
+
CovalentLayoutModule.decorators = [
|
2024
|
+
{ type: core.NgModule, args: [{
|
2025
|
+
imports: [
|
2026
|
+
common$1.CommonModule,
|
2027
|
+
scrolling.ScrollingModule,
|
2028
|
+
sidenav.MatSidenavModule,
|
2029
|
+
toolbar.MatToolbarModule,
|
2030
|
+
button.MatButtonModule,
|
2031
|
+
icon.MatIconModule,
|
2032
|
+
card.MatCardModule,
|
2033
|
+
divider.MatDividerModule,
|
2034
|
+
],
|
2035
|
+
declarations: [TD_LAYOUTS],
|
2036
|
+
exports: [TD_LAYOUTS],
|
2037
|
+
},] }
|
2038
|
+
];
|
2039
|
+
|
2040
|
+
/**
|
2041
|
+
* @fileoverview added by tsickle
|
2042
|
+
* Generated from: public-api.ts
|
2043
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2044
|
+
*/
|
2045
|
+
|
2046
|
+
/**
|
2047
|
+
* @fileoverview added by tsickle
|
2048
|
+
* Generated from: index.ts
|
2049
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2050
|
+
*/
|
2051
|
+
|
2052
|
+
/**
|
2053
|
+
* @fileoverview added by tsickle
|
2054
|
+
* Generated from: covalent-core-layout.ts
|
2055
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2056
|
+
*/
|
2095
2057
|
|
2058
|
+
exports.BaseLayoutToggleDirective = BaseLayoutToggleDirective;
|
2096
2059
|
exports.CovalentLayoutModule = CovalentLayoutModule;
|
2097
|
-
exports.LayoutToggle = LayoutToggle;
|
2098
2060
|
exports.LayoutToggleBase = LayoutToggleBase;
|
2099
2061
|
exports.TdLayoutCardOverComponent = TdLayoutCardOverComponent;
|
2100
2062
|
exports.TdLayoutCloseDirective = TdLayoutCloseDirective;
|