@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,402 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
import { Component, Directive, Input, Renderer2, ElementRef, ViewContainerRef, TemplateRef, ViewChild, HostBinding, HostListener, ChangeDetectorRef, } from '@angular/core';
|
6
|
-
import { tdCollapseAnimation } from '@covalent/core/common';
|
7
|
-
var TdMessageContainerDirective = /** @class */ (function () {
|
8
|
-
function TdMessageContainerDirective(viewContainer) {
|
9
|
-
this.viewContainer = viewContainer;
|
10
|
-
}
|
11
|
-
TdMessageContainerDirective.decorators = [
|
12
|
-
{ type: Directive, args: [{
|
13
|
-
selector: '[tdMessageContainer]',
|
14
|
-
},] }
|
15
|
-
];
|
16
|
-
/** @nocollapse */
|
17
|
-
TdMessageContainerDirective.ctorParameters = function () { return [
|
18
|
-
{ type: ViewContainerRef }
|
19
|
-
]; };
|
20
|
-
return TdMessageContainerDirective;
|
21
|
-
}());
|
22
|
-
export { TdMessageContainerDirective };
|
23
|
-
if (false) {
|
24
|
-
/** @type {?} */
|
25
|
-
TdMessageContainerDirective.prototype.viewContainer;
|
26
|
-
}
|
27
|
-
var TdMessageComponent = /** @class */ (function () {
|
28
|
-
function TdMessageComponent(_renderer, _changeDetectorRef, _elementRef) {
|
29
|
-
this._renderer = _renderer;
|
30
|
-
this._changeDetectorRef = _changeDetectorRef;
|
31
|
-
this._elementRef = _elementRef;
|
32
|
-
this._opened = true;
|
33
|
-
this._hidden = false;
|
34
|
-
this._animating = false;
|
35
|
-
this._initialized = false;
|
36
|
-
/**
|
37
|
-
* icon?: string
|
38
|
-
*
|
39
|
-
* The icon to be displayed before the title.
|
40
|
-
* Defaults to `info_outline` icon
|
41
|
-
*/
|
42
|
-
this.icon = 'info_outline';
|
43
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'td-message');
|
44
|
-
}
|
45
|
-
Object.defineProperty(TdMessageComponent.prototype, "collapsedAnimation", {
|
46
|
-
/**
|
47
|
-
* Binding host to tdCollapse animation
|
48
|
-
*/
|
49
|
-
get: /**
|
50
|
-
* Binding host to tdCollapse animation
|
51
|
-
* @return {?}
|
52
|
-
*/
|
53
|
-
function () {
|
54
|
-
return { value: !this._opened, duration: 100 };
|
55
|
-
},
|
56
|
-
enumerable: true,
|
57
|
-
configurable: true
|
58
|
-
});
|
59
|
-
Object.defineProperty(TdMessageComponent.prototype, "hidden", {
|
60
|
-
/**
|
61
|
-
* Binding host to display style when hidden
|
62
|
-
*/
|
63
|
-
get: /**
|
64
|
-
* Binding host to display style when hidden
|
65
|
-
* @return {?}
|
66
|
-
*/
|
67
|
-
function () {
|
68
|
-
return this._hidden ? 'none' : undefined;
|
69
|
-
},
|
70
|
-
enumerable: true,
|
71
|
-
configurable: true
|
72
|
-
});
|
73
|
-
Object.defineProperty(TdMessageComponent.prototype, "color", {
|
74
|
-
get: /**
|
75
|
-
* @return {?}
|
76
|
-
*/
|
77
|
-
function () {
|
78
|
-
return this._color;
|
79
|
-
},
|
80
|
-
/**
|
81
|
-
* color?: primary | accent | warn
|
82
|
-
*
|
83
|
-
* Sets the color of the message.
|
84
|
-
* Can also use any material color: purple | light-blue, etc.
|
85
|
-
*/
|
86
|
-
set: /**
|
87
|
-
* color?: primary | accent | warn
|
88
|
-
*
|
89
|
-
* Sets the color of the message.
|
90
|
-
* Can also use any material color: purple | light-blue, etc.
|
91
|
-
* @param {?} color
|
92
|
-
* @return {?}
|
93
|
-
*/
|
94
|
-
function (color) {
|
95
|
-
this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);
|
96
|
-
this._renderer.removeClass(this._elementRef.nativeElement, 'bgc-' + this._color + '-100');
|
97
|
-
this._renderer.removeClass(this._elementRef.nativeElement, 'tc-' + this._color + '-700');
|
98
|
-
if (color === 'primary' || color === 'accent' || color === 'warn') {
|
99
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + color);
|
100
|
-
}
|
101
|
-
else {
|
102
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'bgc-' + color + '-100');
|
103
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'tc-' + color + '-700');
|
104
|
-
}
|
105
|
-
this._color = color;
|
106
|
-
this._changeDetectorRef.markForCheck();
|
107
|
-
},
|
108
|
-
enumerable: true,
|
109
|
-
configurable: true
|
110
|
-
});
|
111
|
-
Object.defineProperty(TdMessageComponent.prototype, "opened", {
|
112
|
-
get: /**
|
113
|
-
* @return {?}
|
114
|
-
*/
|
115
|
-
function () {
|
116
|
-
return this._opened;
|
117
|
-
},
|
118
|
-
/**
|
119
|
-
* opened?: boolean
|
120
|
-
*
|
121
|
-
* Shows or hiddes the message depending on its value.
|
122
|
-
* Defaults to 'true'.
|
123
|
-
*/
|
124
|
-
set: /**
|
125
|
-
* opened?: boolean
|
126
|
-
*
|
127
|
-
* Shows or hiddes the message depending on its value.
|
128
|
-
* Defaults to 'true'.
|
129
|
-
* @param {?} opened
|
130
|
-
* @return {?}
|
131
|
-
*/
|
132
|
-
function (opened) {
|
133
|
-
if (this._initialized) {
|
134
|
-
if (opened) {
|
135
|
-
this.open();
|
136
|
-
}
|
137
|
-
else {
|
138
|
-
this.close();
|
139
|
-
}
|
140
|
-
}
|
141
|
-
else {
|
142
|
-
this._opened = opened;
|
143
|
-
}
|
144
|
-
},
|
145
|
-
enumerable: true,
|
146
|
-
configurable: true
|
147
|
-
});
|
148
|
-
/**
|
149
|
-
* Detach element when close animation is finished to set animating state to false
|
150
|
-
* hidden state to true and detach element from DOM
|
151
|
-
*/
|
152
|
-
/**
|
153
|
-
* Detach element when close animation is finished to set animating state to false
|
154
|
-
* hidden state to true and detach element from DOM
|
155
|
-
* @return {?}
|
156
|
-
*/
|
157
|
-
TdMessageComponent.prototype.animationDoneListener = /**
|
158
|
-
* Detach element when close animation is finished to set animating state to false
|
159
|
-
* hidden state to true and detach element from DOM
|
160
|
-
* @return {?}
|
161
|
-
*/
|
162
|
-
function () {
|
163
|
-
if (!this._opened) {
|
164
|
-
this._hidden = true;
|
165
|
-
this._detach();
|
166
|
-
}
|
167
|
-
this._animating = false;
|
168
|
-
this._changeDetectorRef.markForCheck();
|
169
|
-
};
|
170
|
-
/**
|
171
|
-
* Initializes the component and attaches the content.
|
172
|
-
*/
|
173
|
-
/**
|
174
|
-
* Initializes the component and attaches the content.
|
175
|
-
* @return {?}
|
176
|
-
*/
|
177
|
-
TdMessageComponent.prototype.ngAfterViewInit = /**
|
178
|
-
* Initializes the component and attaches the content.
|
179
|
-
* @return {?}
|
180
|
-
*/
|
181
|
-
function () {
|
182
|
-
var _this = this;
|
183
|
-
Promise.resolve(undefined).then((/**
|
184
|
-
* @return {?}
|
185
|
-
*/
|
186
|
-
function () {
|
187
|
-
if (_this._opened) {
|
188
|
-
_this._attach();
|
189
|
-
}
|
190
|
-
_this._initialized = true;
|
191
|
-
}));
|
192
|
-
};
|
193
|
-
/**
|
194
|
-
* Renders the message on screen
|
195
|
-
* Validates if there is an animation currently and if its already opened
|
196
|
-
*/
|
197
|
-
/**
|
198
|
-
* Renders the message on screen
|
199
|
-
* Validates if there is an animation currently and if its already opened
|
200
|
-
* @return {?}
|
201
|
-
*/
|
202
|
-
TdMessageComponent.prototype.open = /**
|
203
|
-
* Renders the message on screen
|
204
|
-
* Validates if there is an animation currently and if its already opened
|
205
|
-
* @return {?}
|
206
|
-
*/
|
207
|
-
function () {
|
208
|
-
if (!this._opened && !this._animating) {
|
209
|
-
this._opened = true;
|
210
|
-
this._attach();
|
211
|
-
this._startAnimationState();
|
212
|
-
}
|
213
|
-
};
|
214
|
-
/**
|
215
|
-
* Removes the message content from screen.
|
216
|
-
* Validates if there is an animation currently and if its already closed
|
217
|
-
*/
|
218
|
-
/**
|
219
|
-
* Removes the message content from screen.
|
220
|
-
* Validates if there is an animation currently and if its already closed
|
221
|
-
* @return {?}
|
222
|
-
*/
|
223
|
-
TdMessageComponent.prototype.close = /**
|
224
|
-
* Removes the message content from screen.
|
225
|
-
* Validates if there is an animation currently and if its already closed
|
226
|
-
* @return {?}
|
227
|
-
*/
|
228
|
-
function () {
|
229
|
-
if (this._opened && !this._animating) {
|
230
|
-
this._opened = false;
|
231
|
-
this._startAnimationState();
|
232
|
-
}
|
233
|
-
};
|
234
|
-
/**
|
235
|
-
* Toggles between open and close depending on state.
|
236
|
-
*/
|
237
|
-
/**
|
238
|
-
* Toggles between open and close depending on state.
|
239
|
-
* @return {?}
|
240
|
-
*/
|
241
|
-
TdMessageComponent.prototype.toggle = /**
|
242
|
-
* Toggles between open and close depending on state.
|
243
|
-
* @return {?}
|
244
|
-
*/
|
245
|
-
function () {
|
246
|
-
if (this._opened) {
|
247
|
-
this.close();
|
248
|
-
}
|
249
|
-
else {
|
250
|
-
this.open();
|
251
|
-
}
|
252
|
-
};
|
253
|
-
/**
|
254
|
-
* Method to set the state before starting an animation
|
255
|
-
*/
|
256
|
-
/**
|
257
|
-
* Method to set the state before starting an animation
|
258
|
-
* @private
|
259
|
-
* @return {?}
|
260
|
-
*/
|
261
|
-
TdMessageComponent.prototype._startAnimationState = /**
|
262
|
-
* Method to set the state before starting an animation
|
263
|
-
* @private
|
264
|
-
* @return {?}
|
265
|
-
*/
|
266
|
-
function () {
|
267
|
-
this._animating = true;
|
268
|
-
this._hidden = false;
|
269
|
-
this._changeDetectorRef.markForCheck();
|
270
|
-
};
|
271
|
-
/**
|
272
|
-
* Method to attach template to DOM
|
273
|
-
*/
|
274
|
-
/**
|
275
|
-
* Method to attach template to DOM
|
276
|
-
* @private
|
277
|
-
* @return {?}
|
278
|
-
*/
|
279
|
-
TdMessageComponent.prototype._attach = /**
|
280
|
-
* Method to attach template to DOM
|
281
|
-
* @private
|
282
|
-
* @return {?}
|
283
|
-
*/
|
284
|
-
function () {
|
285
|
-
this._childElement.viewContainer.createEmbeddedView(this._template);
|
286
|
-
this._changeDetectorRef.markForCheck();
|
287
|
-
};
|
288
|
-
/**
|
289
|
-
* Method to detach template from DOM
|
290
|
-
*/
|
291
|
-
/**
|
292
|
-
* Method to detach template from DOM
|
293
|
-
* @private
|
294
|
-
* @return {?}
|
295
|
-
*/
|
296
|
-
TdMessageComponent.prototype._detach = /**
|
297
|
-
* Method to detach template from DOM
|
298
|
-
* @private
|
299
|
-
* @return {?}
|
300
|
-
*/
|
301
|
-
function () {
|
302
|
-
this._childElement.viewContainer.clear();
|
303
|
-
this._changeDetectorRef.markForCheck();
|
304
|
-
};
|
305
|
-
TdMessageComponent.decorators = [
|
306
|
-
{ type: Component, args: [{
|
307
|
-
selector: 'td-message',
|
308
|
-
template: "<div tdMessageContainer></div>\n<ng-template>\n <div class=\"td-message-wrapper\">\n <mat-icon class=\"td-message-icon\">{{ icon }}</mat-icon>\n <div class=\"td-message-labels\">\n <div *ngIf=\"label\" class=\"td-message-label\">{{ label }}</div>\n <div *ngIf=\"sublabel\" class=\"td-message-sublabel\">{{ sublabel }}</div>\n </div>\n <ng-content select=\"[td-message-actions]\"></ng-content>\n </div>\n</ng-template>\n",
|
309
|
-
animations: [tdCollapseAnimation],
|
310
|
-
styles: [":host{display:block}:host .td-message-wrapper{padding:8px 16px;min-height:52px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-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-message-wrapper .td-message-labels{-ms-flex:1;flex:1}.td-message-icon{margin-right:16px}::ng-deep [dir=rtl] .td-message-icon{margin-left:16px;margin-right:0}"]
|
311
|
-
}] }
|
312
|
-
];
|
313
|
-
/** @nocollapse */
|
314
|
-
TdMessageComponent.ctorParameters = function () { return [
|
315
|
-
{ type: Renderer2 },
|
316
|
-
{ type: ChangeDetectorRef },
|
317
|
-
{ type: ElementRef }
|
318
|
-
]; };
|
319
|
-
TdMessageComponent.propDecorators = {
|
320
|
-
_childElement: [{ type: ViewChild, args: [TdMessageContainerDirective, { static: true },] }],
|
321
|
-
_template: [{ type: ViewChild, args: [TemplateRef,] }],
|
322
|
-
collapsedAnimation: [{ type: HostBinding, args: ['@tdCollapse',] }],
|
323
|
-
hidden: [{ type: HostBinding, args: ['style.display',] }],
|
324
|
-
label: [{ type: Input }],
|
325
|
-
sublabel: [{ type: Input }],
|
326
|
-
icon: [{ type: Input }],
|
327
|
-
color: [{ type: Input, args: ['color',] }],
|
328
|
-
opened: [{ type: Input, args: ['opened',] }],
|
329
|
-
animationDoneListener: [{ type: HostListener, args: ['@tdCollapse.done',] }]
|
330
|
-
};
|
331
|
-
return TdMessageComponent;
|
332
|
-
}());
|
333
|
-
export { TdMessageComponent };
|
334
|
-
if (false) {
|
335
|
-
/**
|
336
|
-
* @type {?}
|
337
|
-
* @private
|
338
|
-
*/
|
339
|
-
TdMessageComponent.prototype._color;
|
340
|
-
/**
|
341
|
-
* @type {?}
|
342
|
-
* @private
|
343
|
-
*/
|
344
|
-
TdMessageComponent.prototype._opened;
|
345
|
-
/**
|
346
|
-
* @type {?}
|
347
|
-
* @private
|
348
|
-
*/
|
349
|
-
TdMessageComponent.prototype._hidden;
|
350
|
-
/**
|
351
|
-
* @type {?}
|
352
|
-
* @private
|
353
|
-
*/
|
354
|
-
TdMessageComponent.prototype._animating;
|
355
|
-
/**
|
356
|
-
* @type {?}
|
357
|
-
* @private
|
358
|
-
*/
|
359
|
-
TdMessageComponent.prototype._initialized;
|
360
|
-
/** @type {?} */
|
361
|
-
TdMessageComponent.prototype._childElement;
|
362
|
-
/** @type {?} */
|
363
|
-
TdMessageComponent.prototype._template;
|
364
|
-
/**
|
365
|
-
* label: string
|
366
|
-
*
|
367
|
-
* Sets the label of the message.
|
368
|
-
* @type {?}
|
369
|
-
*/
|
370
|
-
TdMessageComponent.prototype.label;
|
371
|
-
/**
|
372
|
-
* sublabel?: string
|
373
|
-
*
|
374
|
-
* Sets the sublabel of the message.
|
375
|
-
* @type {?}
|
376
|
-
*/
|
377
|
-
TdMessageComponent.prototype.sublabel;
|
378
|
-
/**
|
379
|
-
* icon?: string
|
380
|
-
*
|
381
|
-
* The icon to be displayed before the title.
|
382
|
-
* Defaults to `info_outline` icon
|
383
|
-
* @type {?}
|
384
|
-
*/
|
385
|
-
TdMessageComponent.prototype.icon;
|
386
|
-
/**
|
387
|
-
* @type {?}
|
388
|
-
* @private
|
389
|
-
*/
|
390
|
-
TdMessageComponent.prototype._renderer;
|
391
|
-
/**
|
392
|
-
* @type {?}
|
393
|
-
* @private
|
394
|
-
*/
|
395
|
-
TdMessageComponent.prototype._changeDetectorRef;
|
396
|
-
/**
|
397
|
-
* @type {?}
|
398
|
-
* @private
|
399
|
-
*/
|
400
|
-
TdMessageComponent.prototype._elementRef;
|
401
|
-
}
|
402
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY292YWxlbnQvY29yZS9tZXNzYWdlLyIsInNvdXJjZXMiOlsibWVzc2FnZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsU0FBUyxFQUNULEtBQUssRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUVWLGdCQUFnQixFQUNoQixXQUFXLEVBQ1gsU0FBUyxFQUNULFdBQVcsRUFDWCxZQUFZLEVBQ1osaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRTVEO0lBSUUscUNBQW1CLGFBQStCO1FBQS9CLGtCQUFhLEdBQWIsYUFBYSxDQUFrQjtJQUFHLENBQUM7O2dCQUp2RCxTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLHNCQUFzQjtpQkFDakM7Ozs7Z0JBWkMsZ0JBQWdCOztJQWVsQixrQ0FBQztDQUFBLEFBTEQsSUFLQztTQUZZLDJC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1cblxuICAvKipcbiAgICogTWV0aG9kIHRvIHNldCB0aGUgc3RhdGUgYmVmb3JlIHN0YXJ0aW5nIGFuIGFuaW1hdGlvblxuICAgKi9cbiAgcHJpdmF0ZSBfc3RhcnRBbmltYXRpb25TdGF0ZSgpOiB2b2lkIHtcbiAgICB0aGlzLl9hbmltYXRpbmcgPSB0cnVlO1xuICAgIHRoaXMuX2hpZGRlbiA9IGZhbHNlO1xuICAgIHRoaXMuX2NoYW5nZURldGVjdG9yUmVmLm1hcmtGb3JDaGVjaygpO1xuICB9XG5cbiAgLyoqXG4gICAqIE1ldGhvZCB0byBhdHRhY2ggdGVtcGxhdGUgdG8gRE9NXG4gICAqL1xuICBwcml2YXRlIF9hdHRhY2goKTogdm9pZCB7XG4gICAgdGhpcy5fY2hpbGRFbGVtZW50LnZpZXdDb250YWluZXIuY3JlYXRlRW1iZWRkZWRWaWV3KHRoaXMuX3RlbXBsYXRlKTtcbiAgICB0aGlzLl9jaGFuZ2VEZXRlY3RvclJlZi5tYXJrRm9yQ2hlY2soKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBNZXRob2QgdG8gZGV0YWNoIHRlbXBsYXRlIGZyb20gRE9NXG4gICAqL1xuICBwcml2YXRlIF9kZXRhY2goKTogdm9pZCB7XG4gICAgdGhpcy5fY2hpbGRFbGVtZW50LnZpZXdDb250YWluZXIuY2xlYXIoKTtcbiAgICB0aGlzLl9jaGFuZ2VEZXRlY3RvclJlZi5tYXJrRm9yQ2hlY2soKTtcbiAgfVxufVxuIl19
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
import { NgModule } from '@angular/core';
|
6
|
-
import { CommonModule } from '@angular/common';
|
7
|
-
import { MatIconModule } from '@angular/material/icon';
|
8
|
-
import { TdMessageComponent, TdMessageContainerDirective } from './message.component';
|
9
|
-
/** @type {?} */
|
10
|
-
var TD_MESSAGE = [TdMessageComponent, TdMessageContainerDirective];
|
11
|
-
var CovalentMessageModule = /** @class */ (function () {
|
12
|
-
function CovalentMessageModule() {
|
13
|
-
}
|
14
|
-
CovalentMessageModule.decorators = [
|
15
|
-
{ type: NgModule, args: [{
|
16
|
-
imports: [CommonModule, MatIconModule],
|
17
|
-
declarations: [TD_MESSAGE],
|
18
|
-
exports: [TD_MESSAGE],
|
19
|
-
},] }
|
20
|
-
];
|
21
|
-
return CovalentMessageModule;
|
22
|
-
}());
|
23
|
-
export { CovalentMessageModule };
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY292YWxlbnQvY29yZS9tZXNzYWdlLyIsInNvdXJjZXMiOlsibWVzc2FnZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUV2RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7SUFFaEYsVUFBVSxHQUFnQixDQUFDLGtCQUFrQixFQUFFLDJCQUEyQixDQUFDO0FBRWpGO0lBQUE7SUFLb0MsQ0FBQzs7Z0JBTHBDLFFBQVEsU0FBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUUsYUFBYSxDQUFDO29CQUN0QyxZQUFZLEVBQUUsQ0FBQyxVQUFVLENBQUM7b0JBQzFCLE9BQU8sRUFBRSxDQUFDLFVBQVUsQ0FBQztpQkFDdEI7O0lBQ21DLDRCQUFDO0NBQUEsQUFMckMsSUFLcUM7U0FBeEIscUJBQXFCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVHlwZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE1hdEljb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9pY29uJztcblxuaW1wb3J0IHsgVGRNZXNzYWdlQ29tcG9uZW50LCBUZE1lc3NhZ2VDb250YWluZXJEaXJlY3RpdmUgfSBmcm9tICcuL21lc3NhZ2UuY29tcG9uZW50JztcblxuY29uc3QgVERfTUVTU0FHRTogVHlwZTxhbnk+W10gPSBbVGRNZXNzYWdlQ29tcG9uZW50LCBUZE1lc3NhZ2VDb250YWluZXJEaXJlY3RpdmVdO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBNYXRJY29uTW9kdWxlXSxcbiAgZGVjbGFyYXRpb25zOiBbVERfTUVTU0FHRV0sXG4gIGV4cG9ydHM6IFtURF9NRVNTQUdFXSxcbn0pXG5leHBvcnQgY2xhc3MgQ292YWxlbnRNZXNzYWdlTW9kdWxlIHt9XG4iXX0=
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
export { CovalentMessageModule } from './message.module';
|
6
|
-
export { TdMessageContainerDirective, TdMessageComponent } from './message.component';
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3ZhbGVudC9jb3JlL21lc3NhZ2UvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxzQ0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxnRUFBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9tZXNzYWdlLmNvbXBvbmVudCc7XG4iXX0=
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
/**
|
6
|
-
* Generated bundle index. Do not edit.
|
7
|
-
*/
|
8
|
-
export { CovalentNavLinksModule, TdNavLinksComponent } from './index';
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY292YWxlbnQtY29yZS1uYXYtbGlua3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY292YWxlbnQvY29yZS9uYXYtbGlua3MvIiwic291cmNlcyI6WyJjb3ZhbGVudC1jb3JlLW5hdi1saW5rcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsNERBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
package/esm5/nav-links/index.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
export { CovalentNavLinksModule, TdNavLinksComponent } from './public-api';
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AY292YWxlbnQvY29yZS9uYXYtbGlua3MvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsNERBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
@@ -1,171 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
6
|
-
import { tdCollapseAnimation, tdRotateAnimation } from '@covalent/core/common';
|
7
|
-
/**
|
8
|
-
* @record
|
9
|
-
*/
|
10
|
-
export function ITdNavNode() { }
|
11
|
-
if (false) {
|
12
|
-
/** @type {?} */
|
13
|
-
ITdNavNode.prototype.label;
|
14
|
-
/** @type {?|undefined} */
|
15
|
-
ITdNavNode.prototype.show;
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* @record
|
19
|
-
*/
|
20
|
-
export function ITdNavHeader() { }
|
21
|
-
if (false) {
|
22
|
-
/** @type {?} */
|
23
|
-
ITdNavHeader.prototype.children;
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* @record
|
27
|
-
*/
|
28
|
-
export function ITdNavExpansion() { }
|
29
|
-
if (false) {
|
30
|
-
/** @type {?|undefined} */
|
31
|
-
ITdNavExpansion.prototype.collapsable;
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* @record
|
35
|
-
*/
|
36
|
-
export function ITdLink() { }
|
37
|
-
if (false) {
|
38
|
-
/** @type {?} */
|
39
|
-
ITdLink.prototype.link;
|
40
|
-
/** @type {?} */
|
41
|
-
ITdLink.prototype.icon;
|
42
|
-
}
|
43
|
-
/** @type {?} */
|
44
|
-
var nextUniqueId = 0;
|
45
|
-
var TdNavLinksComponent = /** @class */ (function () {
|
46
|
-
function TdNavLinksComponent() {
|
47
|
-
this._uniqueId = "td-nav-links-" + ++nextUniqueId;
|
48
|
-
this._collapsedSet = new Set();
|
49
|
-
this.id = this._uniqueId;
|
50
|
-
/**
|
51
|
-
* Event trigger after a navigation click
|
52
|
-
*/
|
53
|
-
this.afterNavigation = new EventEmitter();
|
54
|
-
}
|
55
|
-
/**
|
56
|
-
* @param {?} link
|
57
|
-
* @return {?}
|
58
|
-
*/
|
59
|
-
TdNavLinksComponent.prototype._linkClicked = /**
|
60
|
-
* @param {?} link
|
61
|
-
* @return {?}
|
62
|
-
*/
|
63
|
-
function (link) {
|
64
|
-
this.afterNavigation.emit(link);
|
65
|
-
};
|
66
|
-
/**
|
67
|
-
* @param {?} link
|
68
|
-
* @return {?}
|
69
|
-
*/
|
70
|
-
TdNavLinksComponent.prototype._href = /**
|
71
|
-
* @param {?} link
|
72
|
-
* @return {?}
|
73
|
-
*/
|
74
|
-
function (link) {
|
75
|
-
return link.link && ((/** @type {?} */ (link.link))).href;
|
76
|
-
};
|
77
|
-
/**
|
78
|
-
* @param {?} link
|
79
|
-
* @return {?}
|
80
|
-
*/
|
81
|
-
TdNavLinksComponent.prototype._routerLink = /**
|
82
|
-
* @param {?} link
|
83
|
-
* @return {?}
|
84
|
-
*/
|
85
|
-
function (link) {
|
86
|
-
return link.link && ((/** @type {?} */ (link.link))).routerLink;
|
87
|
-
};
|
88
|
-
/**
|
89
|
-
* @param link
|
90
|
-
* Toggles expand/collapse state of expansion link.
|
91
|
-
* Only applied when `collapsable` is true
|
92
|
-
*/
|
93
|
-
/**
|
94
|
-
* @param {?} link
|
95
|
-
* Toggles expand/collapse state of expansion link.
|
96
|
-
* Only applied when `collapsable` is true
|
97
|
-
* @return {?}
|
98
|
-
*/
|
99
|
-
TdNavLinksComponent.prototype._toggle = /**
|
100
|
-
* @param {?} link
|
101
|
-
* Toggles expand/collapse state of expansion link.
|
102
|
-
* Only applied when `collapsable` is true
|
103
|
-
* @return {?}
|
104
|
-
*/
|
105
|
-
function (link) {
|
106
|
-
if (this._isCollapsed(link)) {
|
107
|
-
this._collapsedSet.delete(link);
|
108
|
-
}
|
109
|
-
else {
|
110
|
-
this._collapsedSet.add(link);
|
111
|
-
}
|
112
|
-
};
|
113
|
-
/**
|
114
|
-
* @param link
|
115
|
-
* Returns true if the state of provided expansion link is collapsed.
|
116
|
-
*/
|
117
|
-
/**
|
118
|
-
* @param {?} link
|
119
|
-
* Returns true if the state of provided expansion link is collapsed.
|
120
|
-
* @return {?}
|
121
|
-
*/
|
122
|
-
TdNavLinksComponent.prototype._isCollapsed = /**
|
123
|
-
* @param {?} link
|
124
|
-
* Returns true if the state of provided expansion link is collapsed.
|
125
|
-
* @return {?}
|
126
|
-
*/
|
127
|
-
function (link) {
|
128
|
-
return this._collapsedSet.has(link);
|
129
|
-
};
|
130
|
-
TdNavLinksComponent.decorators = [
|
131
|
-
{ type: Component, args: [{
|
132
|
-
selector: 'td-nav-links',
|
133
|
-
template: "<mat-nav-list dense *ngIf=\"links && links.length > 0\">\n <ng-template ngFor [ngForOf]=\"links\" let-link let-linkIndex=\"index\">\n <ng-container *ngIf=\"link.show === undefined || link.show\">\n <ng-container *ngIf=\"link.children?.length && !link.link\">\n <h3\n [class.td-nav-link-cursor]=\"link.collapsable\"\n matSubheader\n matRipple\n [matRippleDisabled]=\"!link.collapsable\"\n (click)=\"link.collapsable && _toggle(link)\"\n >\n <mat-icon *ngIf=\"link.icon\" [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span [style.width.%]=\"100\">{{ link.label }}</span>\n <mat-icon [@tdRotate]=\"!_isCollapsed(link)\" *ngIf=\"link.collapsable\">keyboard_arrow_down</mat-icon>\n </h3>\n <td-nav-links\n [id]=\"id + '-' + linkIndex\"\n [@tdCollapse]=\"!!_isCollapsed(link)\"\n [links]=\"link.children\"\n ></td-nav-links>\n </ng-container>\n <ng-container *ngIf=\"link.link\">\n <a\n mat-list-item\n *ngIf=\"_href(link)\"\n [href]=\"_href(link)\"\n [target]=\"link.link.openInNewTab ? '_blank' : undefined\"\n id=\"{{ id }}-{{ linkIndex }}\"\n class=\"td-nav-link\"\n (click)=\"_linkClicked(link)\"\n >\n <mat-icon matListIcon [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span matLine>{{ link.label }}</span>\n <mat-icon *ngIf=\"link.link.openInNewTab\">launch</mat-icon>\n </a>\n <a\n mat-list-item\n *ngIf=\"_routerLink(link)\"\n [routerLink]=\"_routerLink(link)\"\n [target]=\"link.link.openInNewTab ? '_blank' : undefined\"\n id=\"{{ id }}-{{ linkIndex }}\"\n class=\"td-nav-link\"\n (click)=\"_linkClicked(link)\"\n >\n <mat-icon matListIcon [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span matLine>{{ link.label }}</span>\n <mat-icon *ngIf=\"link.link.openInNewTab\">launch</mat-icon>\n </a>\n </ng-container>\n </ng-container>\n </ng-template>\n</mat-nav-list>\n",
|
134
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
135
|
-
animations: [tdCollapseAnimation, tdRotateAnimation],
|
136
|
-
styles: [":host{display:block}:host .mat-nav-list.mat-list-base{padding-top:2px}:host .mat-nav-list.mat-list-base .td-nav-link-cursor{cursor:pointer}:host .mat-nav-list.mat-list-base .mat-list-item{height:40px}:host .mat-icon{margin-right:0}"]
|
137
|
-
}] }
|
138
|
-
];
|
139
|
-
TdNavLinksComponent.propDecorators = {
|
140
|
-
id: [{ type: Input }],
|
141
|
-
links: [{ type: Input }],
|
142
|
-
afterNavigation: [{ type: Output }]
|
143
|
-
};
|
144
|
-
return TdNavLinksComponent;
|
145
|
-
}());
|
146
|
-
export { TdNavLinksComponent };
|
147
|
-
if (false) {
|
148
|
-
/**
|
149
|
-
* @type {?}
|
150
|
-
* @private
|
151
|
-
*/
|
152
|
-
TdNavLinksComponent.prototype._uniqueId;
|
153
|
-
/**
|
154
|
-
* @type {?}
|
155
|
-
* @private
|
156
|
-
*/
|
157
|
-
TdNavLinksComponent.prototype._collapsedSet;
|
158
|
-
/** @type {?} */
|
159
|
-
TdNavLinksComponent.prototype.id;
|
160
|
-
/**
|
161
|
-
* Links to be rendered by component.
|
162
|
-
* @type {?}
|
163
|
-
*/
|
164
|
-
TdNavLinksComponent.prototype.links;
|
165
|
-
/**
|
166
|
-
* Event trigger after a navigation click
|
167
|
-
* @type {?}
|
168
|
-
*/
|
169
|
-
TdNavLinksComponent.prototype.afterNavigation;
|
170
|
-
}
|
171
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LWxpbmtzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3ZhbGVudC9jb3JlL25hdi1saW5rcy8iLCJzb3VyY2VzIjpbIm5hdi1saW5rcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFaEcsT0FBTyxFQUFFLG1CQUFtQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7Ozs7QUFFL0UsZ0NBR0M7OztJQUZDLDJCQUFjOztJQUNkLDBCQUFlOzs7OztBQUdqQixrQ0FFQzs7O0lBREMsZ0NBQW9COzs7OztBQUd0QixxQ0FFQzs7O0lBREMsc0NBQXNCOzs7OztBQUd4Qiw2QkFHQzs7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