@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,228 +1,315 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/cdk/portal'), require('@angular/material/tabs'), require('@angular/cdk/coercion'), require('@covalent/core/common'), require('rxjs'), require('rxjs/operators')) :
|
3
3
|
typeof define === 'function' && define.amd ? define('@covalent/core/tab-select', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/cdk/portal', '@angular/material/tabs', '@angular/cdk/coercion', '@covalent/core/common', 'rxjs', 'rxjs/operators'], factory) :
|
4
|
-
(global = global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core['tab-select'] = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.cdk.portal, global.ng.material.tabs, global.ng.cdk.coercion, global.covalent.core.common, global.rxjs, global.rxjs.operators));
|
5
|
-
}(this, (function (exports, core, common, forms, portal, tabs, coercion, common
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core['tab-select'] = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.cdk.portal, global.ng.material.tabs, global.ng.cdk.coercion, global.covalent.core.common, global.rxjs, global.rxjs.operators));
|
5
|
+
}(this, (function (exports, core, common$1, forms, portal, tabs, coercion, common, rxjs, operators) { 'use strict';
|
6
6
|
|
7
|
-
/*! *****************************************************************************
|
8
|
-
Copyright (c) Microsoft Corporation.
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
***************************************************************************** */
|
21
|
-
/* global Reflect, Promise */
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
function __rest(s, e) {
|
48
|
-
var t = {};
|
49
|
-
for (var p in s)
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
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")
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
return
|
68
|
-
}
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
function
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
if (
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
var
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
7
|
+
/*! *****************************************************************************
|
8
|
+
Copyright (c) Microsoft Corporation.
|
9
|
+
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
+
purpose with or without fee is hereby granted.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
20
|
+
***************************************************************************** */
|
21
|
+
/* global Reflect, Promise */
|
22
|
+
var extendStatics = function (d, b) {
|
23
|
+
extendStatics = Object.setPrototypeOf ||
|
24
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
25
|
+
function (d, b) { for (var p in b)
|
26
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
27
|
+
d[p] = b[p]; };
|
28
|
+
return extendStatics(d, b);
|
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
|
+
var __assign = function () {
|
36
|
+
__assign = Object.assign || function __assign(t) {
|
37
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
38
|
+
s = arguments[i];
|
39
|
+
for (var p in s)
|
40
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
41
|
+
t[p] = s[p];
|
42
|
+
}
|
43
|
+
return t;
|
44
|
+
};
|
45
|
+
return __assign.apply(this, arguments);
|
46
|
+
};
|
47
|
+
function __rest(s, e) {
|
48
|
+
var t = {};
|
49
|
+
for (var p in s)
|
50
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
51
|
+
t[p] = s[p];
|
52
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
53
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
54
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
55
|
+
t[p[i]] = s[p[i]];
|
56
|
+
}
|
57
|
+
return t;
|
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")
|
62
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
63
|
+
else
|
64
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
65
|
+
if (d = decorators[i])
|
66
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
67
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
68
|
+
}
|
69
|
+
function __param(paramIndex, decorator) {
|
70
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
71
|
+
}
|
72
|
+
function __metadata(metadataKey, metadataValue) {
|
73
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
74
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
75
|
+
}
|
76
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
77
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
78
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
79
|
+
function fulfilled(value) { try {
|
80
|
+
step(generator.next(value));
|
81
|
+
}
|
82
|
+
catch (e) {
|
83
|
+
reject(e);
|
84
|
+
} }
|
85
|
+
function rejected(value) { try {
|
86
|
+
step(generator["throw"](value));
|
87
|
+
}
|
88
|
+
catch (e) {
|
89
|
+
reject(e);
|
90
|
+
} }
|
91
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
92
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
93
|
+
});
|
94
|
+
}
|
95
|
+
function __generator(thisArg, body) {
|
96
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
97
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
98
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
99
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
100
|
+
function step(op) {
|
101
|
+
if (f)
|
102
|
+
throw new TypeError("Generator is already executing.");
|
103
|
+
while (_)
|
104
|
+
try {
|
105
|
+
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)
|
106
|
+
return t;
|
107
|
+
if (y = 0, t)
|
108
|
+
op = [op[0] & 2, t.value];
|
109
|
+
switch (op[0]) {
|
110
|
+
case 0:
|
111
|
+
case 1:
|
112
|
+
t = op;
|
113
|
+
break;
|
114
|
+
case 4:
|
115
|
+
_.label++;
|
116
|
+
return { value: op[1], done: false };
|
117
|
+
case 5:
|
118
|
+
_.label++;
|
119
|
+
y = op[1];
|
120
|
+
op = [0];
|
121
|
+
continue;
|
122
|
+
case 7:
|
123
|
+
op = _.ops.pop();
|
124
|
+
_.trys.pop();
|
125
|
+
continue;
|
126
|
+
default:
|
127
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
128
|
+
_ = 0;
|
129
|
+
continue;
|
130
|
+
}
|
131
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
132
|
+
_.label = op[1];
|
133
|
+
break;
|
134
|
+
}
|
135
|
+
if (op[0] === 6 && _.label < t[1]) {
|
136
|
+
_.label = t[1];
|
137
|
+
t = op;
|
138
|
+
break;
|
139
|
+
}
|
140
|
+
if (t && _.label < t[2]) {
|
141
|
+
_.label = t[2];
|
142
|
+
_.ops.push(op);
|
143
|
+
break;
|
144
|
+
}
|
145
|
+
if (t[2])
|
146
|
+
_.ops.pop();
|
147
|
+
_.trys.pop();
|
148
|
+
continue;
|
149
|
+
}
|
150
|
+
op = body.call(thisArg, _);
|
151
|
+
}
|
152
|
+
catch (e) {
|
153
|
+
op = [6, e];
|
154
|
+
y = 0;
|
155
|
+
}
|
156
|
+
finally {
|
157
|
+
f = t = 0;
|
158
|
+
}
|
159
|
+
if (op[0] & 5)
|
160
|
+
throw op[1];
|
161
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
162
|
+
}
|
163
|
+
}
|
164
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
165
|
+
if (k2 === undefined)
|
166
|
+
k2 = k;
|
167
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
168
|
+
}) : (function (o, m, k, k2) {
|
169
|
+
if (k2 === undefined)
|
170
|
+
k2 = k;
|
171
|
+
o[k2] = m[k];
|
172
|
+
});
|
173
|
+
function __exportStar(m, o) {
|
174
|
+
for (var p in m)
|
175
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
176
|
+
__createBinding(o, m, p);
|
177
|
+
}
|
178
|
+
function __values(o) {
|
179
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
180
|
+
if (m)
|
181
|
+
return m.call(o);
|
182
|
+
if (o && typeof o.length === "number")
|
183
|
+
return {
|
184
|
+
next: function () {
|
185
|
+
if (o && i >= o.length)
|
186
|
+
o = void 0;
|
187
|
+
return { value: o && o[i++], done: !o };
|
188
|
+
}
|
189
|
+
};
|
190
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
191
|
+
}
|
192
|
+
function __read(o, n) {
|
193
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
194
|
+
if (!m)
|
195
|
+
return o;
|
196
|
+
var i = m.call(o), r, ar = [], e;
|
197
|
+
try {
|
198
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
199
|
+
ar.push(r.value);
|
200
|
+
}
|
201
|
+
catch (error) {
|
202
|
+
e = { error: error };
|
203
|
+
}
|
204
|
+
finally {
|
205
|
+
try {
|
206
|
+
if (r && !r.done && (m = i["return"]))
|
207
|
+
m.call(i);
|
208
|
+
}
|
209
|
+
finally {
|
210
|
+
if (e)
|
211
|
+
throw e.error;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
return ar;
|
215
|
+
}
|
216
|
+
function __spread() {
|
217
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
218
|
+
ar = ar.concat(__read(arguments[i]));
|
219
|
+
return ar;
|
220
|
+
}
|
221
|
+
function __spreadArrays() {
|
222
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
223
|
+
s += arguments[i].length;
|
224
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
225
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
226
|
+
r[k] = a[j];
|
227
|
+
return r;
|
228
|
+
}
|
229
|
+
;
|
230
|
+
function __await(v) {
|
231
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
232
|
+
}
|
233
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
234
|
+
if (!Symbol.asyncIterator)
|
235
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
236
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
237
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
238
|
+
function verb(n) { if (g[n])
|
239
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
240
|
+
function resume(n, v) { try {
|
241
|
+
step(g[n](v));
|
242
|
+
}
|
243
|
+
catch (e) {
|
244
|
+
settle(q[0][3], e);
|
245
|
+
} }
|
246
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
247
|
+
function fulfill(value) { resume("next", value); }
|
248
|
+
function reject(value) { resume("throw", value); }
|
249
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
250
|
+
resume(q[0][0], q[0][1]); }
|
251
|
+
}
|
252
|
+
function __asyncDelegator(o) {
|
253
|
+
var i, p;
|
254
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
255
|
+
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; }
|
256
|
+
}
|
257
|
+
function __asyncValues(o) {
|
258
|
+
if (!Symbol.asyncIterator)
|
259
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
260
|
+
var m = o[Symbol.asyncIterator], i;
|
261
|
+
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);
|
262
|
+
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); }); }; }
|
263
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
264
|
+
}
|
265
|
+
function __makeTemplateObject(cooked, raw) {
|
266
|
+
if (Object.defineProperty) {
|
267
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
268
|
+
}
|
269
|
+
else {
|
270
|
+
cooked.raw = raw;
|
271
|
+
}
|
272
|
+
return cooked;
|
273
|
+
}
|
274
|
+
;
|
275
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
276
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
277
|
+
}) : function (o, v) {
|
278
|
+
o["default"] = v;
|
279
|
+
};
|
280
|
+
function __importStar(mod) {
|
281
|
+
if (mod && mod.__esModule)
|
282
|
+
return mod;
|
283
|
+
var result = {};
|
284
|
+
if (mod != null)
|
285
|
+
for (var k in mod)
|
286
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
287
|
+
__createBinding(result, mod, k);
|
288
|
+
__setModuleDefault(result, mod);
|
289
|
+
return result;
|
290
|
+
}
|
291
|
+
function __importDefault(mod) {
|
292
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
293
|
+
}
|
294
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
295
|
+
if (!privateMap.has(receiver)) {
|
296
|
+
throw new TypeError("attempted to get private field on non-instance");
|
297
|
+
}
|
298
|
+
return privateMap.get(receiver);
|
299
|
+
}
|
300
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
301
|
+
if (!privateMap.has(receiver)) {
|
302
|
+
throw new TypeError("attempted to set private field on non-instance");
|
303
|
+
}
|
304
|
+
privateMap.set(receiver, value);
|
305
|
+
return value;
|
219
306
|
}
|
220
307
|
|
221
|
-
/**
|
222
|
-
* @fileoverview added by tsickle
|
223
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
224
|
-
*/
|
225
308
|
var TdTabOptionBase = /** @class */ (function () {
|
309
|
+
/**
|
310
|
+
* @param {?} _viewContainerRef
|
311
|
+
* @param {?} _changeDetectorRef
|
312
|
+
*/
|
226
313
|
function TdTabOptionBase(_viewContainerRef, _changeDetectorRef) {
|
227
314
|
this._viewContainerRef = _viewContainerRef;
|
228
315
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -237,52 +324,53 @@
|
|
237
324
|
}
|
238
325
|
/* tslint:disable-next-line */
|
239
326
|
/** @type {?} */
|
240
|
-
var _TdTabOptionMixinBase = common
|
327
|
+
var _TdTabOptionMixinBase = common.mixinDisabled(TdTabOptionBase);
|
241
328
|
var TdTabOptionComponent = /** @class */ (function (_super) {
|
242
329
|
__extends(TdTabOptionComponent, _super);
|
330
|
+
/**
|
331
|
+
* @param {?} _viewContainerRef
|
332
|
+
* @param {?} _changeDetectorRef
|
333
|
+
*/
|
243
334
|
function TdTabOptionComponent(_viewContainerRef, _changeDetectorRef) {
|
244
335
|
return _super.call(this, _viewContainerRef, _changeDetectorRef) || this;
|
245
336
|
}
|
246
337
|
Object.defineProperty(TdTabOptionComponent.prototype, "content", {
|
247
|
-
|
338
|
+
/**
|
248
339
|
* @return {?}
|
249
340
|
*/
|
250
|
-
function () {
|
341
|
+
get: function () {
|
251
342
|
return this._contentPortal;
|
252
343
|
},
|
253
|
-
enumerable:
|
344
|
+
enumerable: false,
|
254
345
|
configurable: true
|
255
346
|
});
|
256
347
|
/**
|
257
348
|
* @return {?}
|
258
349
|
*/
|
259
|
-
TdTabOptionComponent.prototype.ngOnInit =
|
260
|
-
* @return {?}
|
261
|
-
*/
|
262
|
-
function () {
|
350
|
+
TdTabOptionComponent.prototype.ngOnInit = function () {
|
263
351
|
this._contentPortal = new portal.TemplatePortal(this._content, this._viewContainerRef);
|
264
352
|
};
|
265
|
-
TdTabOptionComponent.decorators = [
|
266
|
-
{ type: core.Component, args: [{
|
267
|
-
selector: 'td-tab-option',
|
268
|
-
template: "<ng-template>\n <ng-content></ng-content>\n</ng-template>\n",
|
269
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
270
|
-
/* tslint:disable-next-line */
|
271
|
-
inputs: ['disabled'],
|
272
|
-
styles: [""]
|
273
|
-
}] }
|
274
|
-
];
|
275
|
-
/** @nocollapse */
|
276
|
-
TdTabOptionComponent.ctorParameters = function () { return [
|
277
|
-
{ type: core.ViewContainerRef },
|
278
|
-
{ type: core.ChangeDetectorRef }
|
279
|
-
]; };
|
280
|
-
TdTabOptionComponent.propDecorators = {
|
281
|
-
_content: [{ type: core.ViewChild, args: [core.TemplateRef, { static: true },] }],
|
282
|
-
value: [{ type: core.Input }]
|
283
|
-
};
|
284
353
|
return TdTabOptionComponent;
|
285
354
|
}(_TdTabOptionMixinBase));
|
355
|
+
TdTabOptionComponent.decorators = [
|
356
|
+
{ type: core.Component, args: [{
|
357
|
+
selector: 'td-tab-option',
|
358
|
+
template: "<ng-template>\n <ng-content></ng-content>\n</ng-template>\n",
|
359
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
360
|
+
/* tslint:disable-next-line */
|
361
|
+
inputs: ['disabled'],
|
362
|
+
styles: [""]
|
363
|
+
}] }
|
364
|
+
];
|
365
|
+
/** @nocollapse */
|
366
|
+
TdTabOptionComponent.ctorParameters = function () { return [
|
367
|
+
{ type: core.ViewContainerRef },
|
368
|
+
{ type: core.ChangeDetectorRef }
|
369
|
+
]; };
|
370
|
+
TdTabOptionComponent.propDecorators = {
|
371
|
+
_content: [{ type: core.ViewChild, args: [core.TemplateRef, { static: true },] }],
|
372
|
+
value: [{ type: core.Input }]
|
373
|
+
};
|
286
374
|
if (false) {
|
287
375
|
/**
|
288
376
|
* @type {?}
|
@@ -298,11 +386,10 @@
|
|
298
386
|
TdTabOptionComponent.prototype.value;
|
299
387
|
}
|
300
388
|
|
301
|
-
/**
|
302
|
-
* @fileoverview added by tsickle
|
303
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
304
|
-
*/
|
305
389
|
var TdTabSelectBase = /** @class */ (function () {
|
390
|
+
/**
|
391
|
+
* @param {?} _changeDetectorRef
|
392
|
+
*/
|
306
393
|
function TdTabSelectBase(_changeDetectorRef) {
|
307
394
|
this._changeDetectorRef = _changeDetectorRef;
|
308
395
|
}
|
@@ -314,9 +401,14 @@
|
|
314
401
|
}
|
315
402
|
/* tslint:disable-next-line */
|
316
403
|
/** @type {?} */
|
317
|
-
var _TdTabSelectMixinBase = common
|
404
|
+
var _TdTabSelectMixinBase = common.mixinControlValueAccessor(common.mixinDisabled(common.mixinDisableRipple(TdTabSelectBase)));
|
318
405
|
var TdTabSelectComponent = /** @class */ (function (_super) {
|
319
406
|
__extends(TdTabSelectComponent, _super);
|
407
|
+
/**
|
408
|
+
* @param {?} _changeDetectorRef
|
409
|
+
* @param {?} _ngZone
|
410
|
+
* @param {?} _elementRef
|
411
|
+
*/
|
320
412
|
function TdTabSelectComponent(_changeDetectorRef, _ngZone, _elementRef) {
|
321
413
|
var _this = _super.call(this, _changeDetectorRef) || this;
|
322
414
|
_this._ngZone = _ngZone;
|
@@ -334,146 +426,117 @@
|
|
334
426
|
return _this;
|
335
427
|
}
|
336
428
|
Object.defineProperty(TdTabSelectComponent.prototype, "selectedIndex", {
|
337
|
-
|
429
|
+
/**
|
338
430
|
* @return {?}
|
339
431
|
*/
|
340
|
-
function () {
|
432
|
+
get: function () {
|
341
433
|
return this._selectedIndex;
|
342
434
|
},
|
343
|
-
enumerable:
|
435
|
+
enumerable: false,
|
344
436
|
configurable: true
|
345
437
|
});
|
346
438
|
Object.defineProperty(TdTabSelectComponent.prototype, "tabOptions", {
|
347
|
-
|
439
|
+
/**
|
348
440
|
* @return {?}
|
349
441
|
*/
|
350
|
-
function () {
|
442
|
+
get: function () {
|
351
443
|
return this._tabOptions ? this._tabOptions.toArray() : undefined;
|
352
444
|
},
|
353
|
-
enumerable:
|
445
|
+
enumerable: false,
|
354
446
|
configurable: true
|
355
447
|
});
|
356
448
|
Object.defineProperty(TdTabSelectComponent.prototype, "stretchTabs", {
|
357
|
-
|
449
|
+
/**
|
358
450
|
* @return {?}
|
359
451
|
*/
|
360
|
-
function () {
|
452
|
+
get: function () {
|
361
453
|
return this._stretchTabs;
|
362
454
|
},
|
363
455
|
/**
|
364
|
-
* Makes the tabs stretch to fit the parent container.
|
365
|
-
*/
|
366
|
-
set: /**
|
367
456
|
* Makes the tabs stretch to fit the parent container.
|
368
457
|
* @param {?} stretchTabs
|
369
458
|
* @return {?}
|
370
459
|
*/
|
371
|
-
function (stretchTabs) {
|
460
|
+
set: function (stretchTabs) {
|
372
461
|
this._stretchTabs = coercion.coerceBooleanProperty(stretchTabs);
|
373
462
|
},
|
374
|
-
enumerable:
|
463
|
+
enumerable: false,
|
375
464
|
configurable: true
|
376
465
|
});
|
377
466
|
/**
|
378
467
|
* @return {?}
|
379
468
|
*/
|
380
|
-
TdTabSelectComponent.prototype.ngOnInit =
|
381
|
-
* @return {?}
|
382
|
-
*/
|
383
|
-
function () {
|
469
|
+
TdTabSelectComponent.prototype.ngOnInit = function () {
|
384
470
|
var _this = this;
|
385
471
|
// set a timer to check every 250ms if the width has changed.
|
386
472
|
// if the width has changed, then we realign the ink bar
|
387
|
-
this._ngZone.runOutsideAngular((/**
|
473
|
+
this._ngZone.runOutsideAngular(( /**
|
388
474
|
* @return {?}
|
389
|
-
*/
|
390
|
-
function () {
|
475
|
+
*/function () {
|
391
476
|
_this._widthSubject
|
392
477
|
.asObservable()
|
393
478
|
.pipe(operators.takeUntil(_this._destroy), operators.distinctUntilChanged(), operators.debounceTime(100))
|
394
|
-
.subscribe((/**
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
_this._ngZone.run((/**
|
479
|
+
.subscribe(( /**
|
480
|
+
* @return {?}
|
481
|
+
*/function () {
|
482
|
+
_this._ngZone.run(( /**
|
399
483
|
* @return {?}
|
400
|
-
*/
|
401
|
-
function () {
|
484
|
+
*/function () {
|
402
485
|
_this._matTabGroup.realignInkBar();
|
403
486
|
_this._changeDetectorRef.markForCheck();
|
404
487
|
}));
|
405
488
|
}));
|
406
489
|
rxjs.timer(500, 250)
|
407
490
|
.pipe(operators.takeUntil(_this._destroy))
|
408
|
-
.subscribe((/**
|
409
|
-
|
410
|
-
|
411
|
-
function () {
|
491
|
+
.subscribe(( /**
|
492
|
+
* @return {?}
|
493
|
+
*/function () {
|
412
494
|
if (_this._elementRef && _this._elementRef.nativeElement) {
|
413
|
-
_this._widthSubject.next(((/** @type {?} */
|
495
|
+
_this._widthSubject.next((( /** @type {?} */(_this._elementRef.nativeElement))).getBoundingClientRect().width);
|
414
496
|
}
|
415
497
|
}));
|
416
498
|
}));
|
417
499
|
// subscribe to check if value changes and update the selectedIndex internally.
|
418
|
-
this.valueChanges.pipe(operators.takeUntil(this._destroy)).subscribe((/**
|
500
|
+
this.valueChanges.pipe(operators.takeUntil(this._destroy)).subscribe(( /**
|
419
501
|
* @param {?} value
|
420
502
|
* @return {?}
|
421
|
-
*/
|
422
|
-
function (value) {
|
503
|
+
*/function (value) {
|
423
504
|
_this._setValue(value);
|
424
505
|
}));
|
425
506
|
};
|
426
507
|
/**
|
427
508
|
* @return {?}
|
428
509
|
*/
|
429
|
-
TdTabSelectComponent.prototype.ngAfterContentInit =
|
430
|
-
* @return {?}
|
431
|
-
*/
|
432
|
-
function () {
|
510
|
+
TdTabSelectComponent.prototype.ngAfterContentInit = function () {
|
433
511
|
var _this = this;
|
434
512
|
// subscribe to listen to any tab changes.
|
435
513
|
this._refreshValues();
|
436
|
-
this._tabOptions.changes.pipe(operators.takeUntil(this._destroy)).subscribe((/**
|
514
|
+
this._tabOptions.changes.pipe(operators.takeUntil(this._destroy)).subscribe(( /**
|
437
515
|
* @return {?}
|
438
|
-
*/
|
439
|
-
function () {
|
516
|
+
*/function () {
|
440
517
|
_this._refreshValues();
|
441
518
|
}));
|
442
519
|
// initialize value
|
443
|
-
Promise.resolve().then((/**
|
520
|
+
Promise.resolve().then(( /**
|
444
521
|
* @return {?}
|
445
|
-
*/
|
446
|
-
function () {
|
522
|
+
*/function () {
|
447
523
|
_this._setValue(_this.value);
|
448
524
|
}));
|
449
525
|
};
|
450
526
|
/**
|
451
527
|
* @return {?}
|
452
528
|
*/
|
453
|
-
TdTabSelectComponent.prototype.ngOnDestroy =
|
454
|
-
* @return {?}
|
455
|
-
*/
|
456
|
-
function () {
|
529
|
+
TdTabSelectComponent.prototype.ngOnDestroy = function () {
|
457
530
|
this._destroy.next(true);
|
458
531
|
this._destroy.unsubscribe();
|
459
532
|
};
|
460
533
|
/**
|
461
|
-
* Method executed when user selects a different tab
|
462
|
-
* This updates the new selectedIndex and infers what value should be mapped to.
|
463
|
-
*/
|
464
|
-
/**
|
465
|
-
* Method executed when user selects a different tab
|
466
|
-
* This updates the new selectedIndex and infers what value should be mapped to.
|
467
|
-
* @param {?} selectedIndex
|
468
|
-
* @return {?}
|
469
|
-
*/
|
470
|
-
TdTabSelectComponent.prototype.selectedIndexChange = /**
|
471
534
|
* Method executed when user selects a different tab
|
472
535
|
* This updates the new selectedIndex and infers what value should be mapped to.
|
473
536
|
* @param {?} selectedIndex
|
474
537
|
* @return {?}
|
475
538
|
*/
|
476
|
-
function (selectedIndex) {
|
539
|
+
TdTabSelectComponent.prototype.selectedIndexChange = function (selectedIndex) {
|
477
540
|
this._selectedIndex = selectedIndex;
|
478
541
|
/** @type {?} */
|
479
542
|
var value = this._values[selectedIndex];
|
@@ -481,48 +544,28 @@
|
|
481
544
|
this.valueChange.emit(value);
|
482
545
|
this.onChange(value);
|
483
546
|
};
|
484
|
-
/**
|
485
|
-
* Refresh the values array whenever the number of tabs gets updated
|
486
|
-
*/
|
487
547
|
/**
|
488
548
|
* Refresh the values array whenever the number of tabs gets updated
|
489
549
|
* @private
|
490
550
|
* @return {?}
|
491
551
|
*/
|
492
|
-
TdTabSelectComponent.prototype._refreshValues =
|
493
|
-
|
494
|
-
* @private
|
495
|
-
* @return {?}
|
496
|
-
*/
|
497
|
-
function () {
|
498
|
-
this._values = this.tabOptions.map((/**
|
552
|
+
TdTabSelectComponent.prototype._refreshValues = function () {
|
553
|
+
this._values = this.tabOptions.map(( /**
|
499
554
|
* @param {?} tabOption
|
500
555
|
* @return {?}
|
501
|
-
*/
|
502
|
-
function (tabOption) {
|
556
|
+
*/function (tabOption) {
|
503
557
|
return tabOption.value;
|
504
558
|
}));
|
505
559
|
this._changeDetectorRef.markForCheck();
|
506
560
|
};
|
507
561
|
/**
|
508
|
-
* Try to set value depending if its part of our options
|
509
|
-
* else set the value of the first tab.
|
510
|
-
*/
|
511
|
-
/**
|
512
|
-
* Try to set value depending if its part of our options
|
513
|
-
* else set the value of the first tab.
|
514
|
-
* @private
|
515
|
-
* @param {?} value
|
516
|
-
* @return {?}
|
517
|
-
*/
|
518
|
-
TdTabSelectComponent.prototype._setValue = /**
|
519
562
|
* Try to set value depending if its part of our options
|
520
563
|
* else set the value of the first tab.
|
521
564
|
* @private
|
522
565
|
* @param {?} value
|
523
566
|
* @return {?}
|
524
567
|
*/
|
525
|
-
function (value) {
|
568
|
+
TdTabSelectComponent.prototype._setValue = function (value) {
|
526
569
|
/** @type {?} */
|
527
570
|
var index = this._values.indexOf(value);
|
528
571
|
if (index > -1) {
|
@@ -534,42 +577,41 @@
|
|
534
577
|
}
|
535
578
|
this._changeDetectorRef.markForCheck();
|
536
579
|
};
|
537
|
-
TdTabSelectComponent.decorators = [
|
538
|
-
{ type: core.Component, args: [{
|
539
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
540
|
-
providers: [
|
541
|
-
{
|
542
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
543
|
-
useExisting: core.forwardRef((/**
|
544
|
-
* @return {?}
|
545
|
-
*/
|
546
|
-
function () { return TdTabSelectComponent; })),
|
547
|
-
multi: true,
|
548
|
-
},
|
549
|
-
],
|
550
|
-
selector: 'td-tab-select',
|
551
|
-
template: "<mat-tab-group\n [attr.mat-stretch-tabs]=\"stretchTabs ? true : undefined\"\n [backgroundColor]=\"backgroundColor\"\n [color]=\"color\"\n [disableRipple]=\"disableRipple\"\n [selectedIndex]=\"selectedIndex\"\n (selectedIndexChange)=\"selectedIndexChange($event)\"\n>\n <ng-template let-tabOption ngFor [ngForOf]=\"tabOptions\">\n <mat-tab [disabled]=\"tabOption.disabled || disabled\">\n <ng-template matTabLabel>\n <ng-template *ngIf=\"tabOption.content\" [cdkPortalOutlet]=\"tabOption.content\"></ng-template>\n </ng-template>\n </mat-tab>\n </ng-template>\n</mat-tab-group>\n",
|
552
|
-
/* tslint:disable-next-line */
|
553
|
-
inputs: ['value', 'disabled', 'disableRipple'],
|
554
|
-
styles: [":host::ng-deep>.mat-tab-group>.mat-tab-body-wrapper{display:none}"]
|
555
|
-
}] }
|
556
|
-
];
|
557
|
-
/** @nocollapse */
|
558
|
-
TdTabSelectComponent.ctorParameters = function () { return [
|
559
|
-
{ type: core.ChangeDetectorRef },
|
560
|
-
{ type: core.NgZone },
|
561
|
-
{ type: core.ElementRef }
|
562
|
-
]; };
|
563
|
-
TdTabSelectComponent.propDecorators = {
|
564
|
-
_matTabGroup: [{ type: core.ViewChild, args: [tabs.MatTabGroup, { static: true },] }],
|
565
|
-
_tabOptions: [{ type: core.ContentChildren, args: [TdTabOptionComponent, { descendants: true },] }],
|
566
|
-
stretchTabs: [{ type: core.Input, args: ['stretchTabs',] }],
|
567
|
-
color: [{ type: core.Input }],
|
568
|
-
backgroundColor: [{ type: core.Input }],
|
569
|
-
valueChange: [{ type: core.Output }]
|
570
|
-
};
|
571
580
|
return TdTabSelectComponent;
|
572
581
|
}(_TdTabSelectMixinBase));
|
582
|
+
TdTabSelectComponent.decorators = [
|
583
|
+
{ type: core.Component, args: [{
|
584
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
585
|
+
providers: [
|
586
|
+
{
|
587
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
588
|
+
useExisting: core.forwardRef(( /**
|
589
|
+
* @return {?}
|
590
|
+
*/function () { return TdTabSelectComponent; })),
|
591
|
+
multi: true,
|
592
|
+
},
|
593
|
+
],
|
594
|
+
selector: 'td-tab-select',
|
595
|
+
template: "<mat-tab-group\n [attr.mat-stretch-tabs]=\"stretchTabs ? true : undefined\"\n [backgroundColor]=\"backgroundColor\"\n [color]=\"color\"\n [disableRipple]=\"disableRipple\"\n [selectedIndex]=\"selectedIndex\"\n (selectedIndexChange)=\"selectedIndexChange($event)\"\n>\n <ng-template let-tabOption ngFor [ngForOf]=\"tabOptions\">\n <mat-tab [disabled]=\"tabOption.disabled || disabled\">\n <ng-template matTabLabel>\n <ng-template *ngIf=\"tabOption.content\" [cdkPortalOutlet]=\"tabOption.content\"></ng-template>\n </ng-template>\n </mat-tab>\n </ng-template>\n</mat-tab-group>\n",
|
596
|
+
/* tslint:disable-next-line */
|
597
|
+
inputs: ['value', 'disabled', 'disableRipple'],
|
598
|
+
styles: [":host::ng-deep>.mat-tab-group>.mat-tab-body-wrapper{display:none}"]
|
599
|
+
}] }
|
600
|
+
];
|
601
|
+
/** @nocollapse */
|
602
|
+
TdTabSelectComponent.ctorParameters = function () { return [
|
603
|
+
{ type: core.ChangeDetectorRef },
|
604
|
+
{ type: core.NgZone },
|
605
|
+
{ type: core.ElementRef }
|
606
|
+
]; };
|
607
|
+
TdTabSelectComponent.propDecorators = {
|
608
|
+
_matTabGroup: [{ type: core.ViewChild, args: [tabs.MatTabGroup, { static: true },] }],
|
609
|
+
_tabOptions: [{ type: core.ContentChildren, args: [TdTabOptionComponent, { descendants: true },] }],
|
610
|
+
stretchTabs: [{ type: core.Input, args: ['stretchTabs',] }],
|
611
|
+
color: [{ type: core.Input }],
|
612
|
+
backgroundColor: [{ type: core.Input }],
|
613
|
+
valueChange: [{ type: core.Output }]
|
614
|
+
};
|
573
615
|
if (false) {
|
574
616
|
/**
|
575
617
|
* @type {?}
|
@@ -633,29 +675,48 @@
|
|
633
675
|
|
634
676
|
/**
|
635
677
|
* @fileoverview added by tsickle
|
636
|
-
*
|
678
|
+
* Generated from: tab-select.module.ts
|
679
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
637
680
|
*/
|
638
681
|
var CovalentTabSelectModule = /** @class */ (function () {
|
639
682
|
function CovalentTabSelectModule() {
|
640
683
|
}
|
641
|
-
CovalentTabSelectModule.decorators = [
|
642
|
-
{ type: core.NgModule, args: [{
|
643
|
-
declarations: [TdTabSelectComponent, TdTabOptionComponent],
|
644
|
-
// directives, components, and pipes owned by this NgModule
|
645
|
-
imports: [
|
646
|
-
/** Angular Modules */
|
647
|
-
common.CommonModule,
|
648
|
-
forms.FormsModule,
|
649
|
-
/** Material Modules */
|
650
|
-
portal.PortalModule,
|
651
|
-
tabs.MatTabsModule,
|
652
|
-
],
|
653
|
-
// modules needed to run this module
|
654
|
-
exports: [TdTabSelectComponent, TdTabOptionComponent],
|
655
|
-
},] }
|
656
|
-
];
|
657
684
|
return CovalentTabSelectModule;
|
658
685
|
}());
|
686
|
+
CovalentTabSelectModule.decorators = [
|
687
|
+
{ type: core.NgModule, args: [{
|
688
|
+
declarations: [TdTabSelectComponent, TdTabOptionComponent],
|
689
|
+
// directives, components, and pipes owned by this NgModule
|
690
|
+
imports: [
|
691
|
+
/** Angular Modules */
|
692
|
+
common$1.CommonModule,
|
693
|
+
forms.FormsModule,
|
694
|
+
/** Material Modules */
|
695
|
+
portal.PortalModule,
|
696
|
+
tabs.MatTabsModule,
|
697
|
+
],
|
698
|
+
// modules needed to run this module
|
699
|
+
exports: [TdTabSelectComponent, TdTabOptionComponent],
|
700
|
+
},] }
|
701
|
+
];
|
702
|
+
|
703
|
+
/**
|
704
|
+
* @fileoverview added by tsickle
|
705
|
+
* Generated from: public-api.ts
|
706
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
707
|
+
*/
|
708
|
+
|
709
|
+
/**
|
710
|
+
* @fileoverview added by tsickle
|
711
|
+
* Generated from: index.ts
|
712
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
713
|
+
*/
|
714
|
+
|
715
|
+
/**
|
716
|
+
* @fileoverview added by tsickle
|
717
|
+
* Generated from: covalent-core-tab-select.ts
|
718
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
719
|
+
*/
|
659
720
|
|
660
721
|
exports.CovalentTabSelectModule = CovalentTabSelectModule;
|
661
722
|
exports.TdTabOptionBase = TdTabOptionBase;
|