@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,284 +1,379 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/cdk/portal'), require('@angular/cdk/scrolling'), require('@angular/material/icon'), require('@angular/material/core'), require('@covalent/core/common'), require('@angular/cdk/coercion'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/bidi'), require('@angular/cdk/keycodes')) :
|
3
3
|
typeof define === 'function' && define.amd ? define('@covalent/core/steps', ['exports', '@angular/core', '@angular/common', '@angular/cdk/portal', '@angular/cdk/scrolling', '@angular/material/icon', '@angular/material/core', '@covalent/core/common', '@angular/cdk/coercion', 'rxjs', 'rxjs/operators', '@angular/cdk/bidi', '@angular/cdk/keycodes'], factory) :
|
4
|
-
(global = global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.steps = {}), global.ng.core, global.ng.common, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.material.icon, global.ng.material.core, global.covalent.core.common, global.ng.cdk.coercion, global.rxjs, global.rxjs.operators, global.ng.cdk.bidi, global.ng.cdk.keycodes));
|
5
|
-
}(this, (function (exports, core, common, portal, scrolling, icon, core$1, common
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.steps = {}), global.ng.core, global.ng.common, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.material.icon, global.ng.material.core, global.covalent.core.common, global.ng.cdk.coercion, global.rxjs, global.rxjs.operators, global.ng.cdk.bidi, global.ng.cdk.keycodes));
|
5
|
+
}(this, (function (exports, core, common$1, portal, scrolling, icon, core$1, common, coercion, rxjs, operators, bidi, keycodes) { '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
|
/** @enum {string} */
|
226
309
|
var StepState = {
|
227
|
-
None:
|
228
|
-
Required:
|
229
|
-
Complete:
|
310
|
+
None: "none",
|
311
|
+
Required: "required",
|
312
|
+
Complete: "complete",
|
230
313
|
};
|
231
314
|
var TdStepLabelDirective = /** @class */ (function (_super) {
|
232
315
|
__extends(TdStepLabelDirective, _super);
|
316
|
+
/**
|
317
|
+
* @param {?} templateRef
|
318
|
+
* @param {?} viewContainerRef
|
319
|
+
*/
|
233
320
|
function TdStepLabelDirective(templateRef, viewContainerRef) {
|
234
321
|
return _super.call(this, templateRef, viewContainerRef) || this;
|
235
322
|
}
|
236
|
-
TdStepLabelDirective.decorators = [
|
237
|
-
{ type: core.Directive, args: [{
|
238
|
-
selector: '[td-step-label]ng-template',
|
239
|
-
},] }
|
240
|
-
];
|
241
|
-
/** @nocollapse */
|
242
|
-
TdStepLabelDirective.ctorParameters = function () { return [
|
243
|
-
{ type: core.TemplateRef },
|
244
|
-
{ type: core.ViewContainerRef }
|
245
|
-
]; };
|
246
323
|
return TdStepLabelDirective;
|
247
324
|
}(portal.TemplatePortalDirective));
|
325
|
+
TdStepLabelDirective.decorators = [
|
326
|
+
{ type: core.Directive, args: [{
|
327
|
+
selector: '[td-step-label]ng-template',
|
328
|
+
},] }
|
329
|
+
];
|
330
|
+
/** @nocollapse */
|
331
|
+
TdStepLabelDirective.ctorParameters = function () { return [
|
332
|
+
{ type: core.TemplateRef },
|
333
|
+
{ type: core.ViewContainerRef }
|
334
|
+
]; };
|
248
335
|
var TdStepActionsDirective = /** @class */ (function (_super) {
|
249
336
|
__extends(TdStepActionsDirective, _super);
|
337
|
+
/**
|
338
|
+
* @param {?} templateRef
|
339
|
+
* @param {?} viewContainerRef
|
340
|
+
*/
|
250
341
|
function TdStepActionsDirective(templateRef, viewContainerRef) {
|
251
342
|
return _super.call(this, templateRef, viewContainerRef) || this;
|
252
343
|
}
|
253
|
-
TdStepActionsDirective.decorators = [
|
254
|
-
{ type: core.Directive, args: [{
|
255
|
-
selector: '[td-step-actions]ng-template',
|
256
|
-
},] }
|
257
|
-
];
|
258
|
-
/** @nocollapse */
|
259
|
-
TdStepActionsDirective.ctorParameters = function () { return [
|
260
|
-
{ type: core.TemplateRef },
|
261
|
-
{ type: core.ViewContainerRef }
|
262
|
-
]; };
|
263
344
|
return TdStepActionsDirective;
|
264
345
|
}(portal.TemplatePortalDirective));
|
346
|
+
TdStepActionsDirective.decorators = [
|
347
|
+
{ type: core.Directive, args: [{
|
348
|
+
selector: '[td-step-actions]ng-template',
|
349
|
+
},] }
|
350
|
+
];
|
351
|
+
/** @nocollapse */
|
352
|
+
TdStepActionsDirective.ctorParameters = function () { return [
|
353
|
+
{ type: core.TemplateRef },
|
354
|
+
{ type: core.ViewContainerRef }
|
355
|
+
]; };
|
265
356
|
var TdStepSummaryDirective = /** @class */ (function (_super) {
|
266
357
|
__extends(TdStepSummaryDirective, _super);
|
358
|
+
/**
|
359
|
+
* @param {?} templateRef
|
360
|
+
* @param {?} viewContainerRef
|
361
|
+
*/
|
267
362
|
function TdStepSummaryDirective(templateRef, viewContainerRef) {
|
268
363
|
return _super.call(this, templateRef, viewContainerRef) || this;
|
269
364
|
}
|
270
|
-
TdStepSummaryDirective.decorators = [
|
271
|
-
{ type: core.Directive, args: [{
|
272
|
-
selector: '[td-step-summary]ng-template',
|
273
|
-
},] }
|
274
|
-
];
|
275
|
-
/** @nocollapse */
|
276
|
-
TdStepSummaryDirective.ctorParameters = function () { return [
|
277
|
-
{ type: core.TemplateRef },
|
278
|
-
{ type: core.ViewContainerRef }
|
279
|
-
]; };
|
280
365
|
return TdStepSummaryDirective;
|
281
366
|
}(portal.TemplatePortalDirective));
|
367
|
+
TdStepSummaryDirective.decorators = [
|
368
|
+
{ type: core.Directive, args: [{
|
369
|
+
selector: '[td-step-summary]ng-template',
|
370
|
+
},] }
|
371
|
+
];
|
372
|
+
/** @nocollapse */
|
373
|
+
TdStepSummaryDirective.ctorParameters = function () { return [
|
374
|
+
{ type: core.TemplateRef },
|
375
|
+
{ type: core.ViewContainerRef }
|
376
|
+
]; };
|
282
377
|
var TdStepBase = /** @class */ (function () {
|
283
378
|
function TdStepBase() {
|
284
379
|
}
|
@@ -286,9 +381,12 @@
|
|
286
381
|
}());
|
287
382
|
/* tslint:disable-next-line */
|
288
383
|
/** @type {?} */
|
289
|
-
var _TdStepMixinBase = common
|
384
|
+
var _TdStepMixinBase = common.mixinDisableRipple(common.mixinDisabled(TdStepBase));
|
290
385
|
var TdStepComponent = /** @class */ (function (_super) {
|
291
386
|
__extends(TdStepComponent, _super);
|
387
|
+
/**
|
388
|
+
* @param {?} _viewContainerRef
|
389
|
+
*/
|
292
390
|
function TdStepComponent(_viewContainerRef) {
|
293
391
|
var _this = _super.call(this) || this;
|
294
392
|
_this._viewContainerRef = _viewContainerRef;
|
@@ -307,58 +405,49 @@
|
|
307
405
|
return _this;
|
308
406
|
}
|
309
407
|
Object.defineProperty(TdStepComponent.prototype, "stepContent", {
|
310
|
-
|
408
|
+
/**
|
311
409
|
* @return {?}
|
312
410
|
*/
|
313
|
-
function () {
|
411
|
+
get: function () {
|
314
412
|
return this._contentPortal;
|
315
413
|
},
|
316
|
-
enumerable:
|
414
|
+
enumerable: false,
|
317
415
|
configurable: true
|
318
416
|
});
|
319
417
|
Object.defineProperty(TdStepComponent.prototype, "active", {
|
320
|
-
|
418
|
+
/**
|
321
419
|
* @return {?}
|
322
420
|
*/
|
323
|
-
function () {
|
421
|
+
get: function () {
|
324
422
|
return this._active;
|
325
423
|
},
|
326
424
|
/**
|
327
|
-
* active?: boolean
|
328
|
-
* Toggles [TdStepComponent] between active/deactive.
|
329
|
-
*/
|
330
|
-
set: /**
|
331
425
|
* active?: boolean
|
332
426
|
* Toggles [TdStepComponent] between active/deactive.
|
333
427
|
* @param {?} active
|
334
428
|
* @return {?}
|
335
429
|
*/
|
336
|
-
function (active) {
|
430
|
+
set: function (active) {
|
337
431
|
this._setActive(coercion.coerceBooleanProperty(active));
|
338
432
|
},
|
339
|
-
enumerable:
|
433
|
+
enumerable: false,
|
340
434
|
configurable: true
|
341
435
|
});
|
342
436
|
Object.defineProperty(TdStepComponent.prototype, "state", {
|
343
|
-
|
437
|
+
/**
|
344
438
|
* @return {?}
|
345
439
|
*/
|
346
|
-
function () {
|
440
|
+
get: function () {
|
347
441
|
return this._state;
|
348
442
|
},
|
349
443
|
/**
|
350
|
-
* state?: StepState or ['none' | 'required' | 'complete']
|
351
|
-
* Sets state of [TdStepComponent] depending on value.
|
352
|
-
* Defaults to [StepState.None | 'none'].
|
353
|
-
*/
|
354
|
-
set: /**
|
355
444
|
* state?: StepState or ['none' | 'required' | 'complete']
|
356
445
|
* Sets state of [TdStepComponent] depending on value.
|
357
446
|
* Defaults to [StepState.None | 'none'].
|
358
447
|
* @param {?} state
|
359
448
|
* @return {?}
|
360
449
|
*/
|
361
|
-
function (state) {
|
450
|
+
set: function (state) {
|
362
451
|
switch (state) {
|
363
452
|
case StepState.Complete:
|
364
453
|
this._state = StepState.Complete;
|
@@ -371,114 +460,58 @@
|
|
371
460
|
break;
|
372
461
|
}
|
373
462
|
},
|
374
|
-
enumerable:
|
463
|
+
enumerable: false,
|
375
464
|
configurable: true
|
376
465
|
});
|
377
466
|
/**
|
378
467
|
* @return {?}
|
379
468
|
*/
|
380
|
-
TdStepComponent.prototype.ngOnInit =
|
381
|
-
* @return {?}
|
382
|
-
*/
|
383
|
-
function () {
|
469
|
+
TdStepComponent.prototype.ngOnInit = function () {
|
384
470
|
this._contentPortal = new portal.TemplatePortal(this._content, this._viewContainerRef);
|
385
471
|
};
|
386
472
|
/**
|
387
|
-
* Toggle active state of [TdStepComponent]
|
388
|
-
* retuns 'true' if successful, else 'false'.
|
389
|
-
*/
|
390
|
-
/**
|
391
|
-
* Toggle active state of [TdStepComponent]
|
392
|
-
* retuns 'true' if successful, else 'false'.
|
393
|
-
* @return {?}
|
394
|
-
*/
|
395
|
-
TdStepComponent.prototype.toggle = /**
|
396
473
|
* Toggle active state of [TdStepComponent]
|
397
474
|
* retuns 'true' if successful, else 'false'.
|
398
475
|
* @return {?}
|
399
476
|
*/
|
400
|
-
function () {
|
477
|
+
TdStepComponent.prototype.toggle = function () {
|
401
478
|
return this._setActive(!this._active);
|
402
479
|
};
|
403
|
-
/**
|
404
|
-
* Opens [TdStepComponent]
|
405
|
-
* retuns 'true' if successful, else 'false'.
|
406
|
-
*/
|
407
480
|
/**
|
408
481
|
* Opens [TdStepComponent]
|
409
482
|
* retuns 'true' if successful, else 'false'.
|
410
483
|
* @return {?}
|
411
484
|
*/
|
412
|
-
TdStepComponent.prototype.open =
|
413
|
-
* Opens [TdStepComponent]
|
414
|
-
* retuns 'true' if successful, else 'false'.
|
415
|
-
* @return {?}
|
416
|
-
*/
|
417
|
-
function () {
|
485
|
+
TdStepComponent.prototype.open = function () {
|
418
486
|
return this._setActive(true);
|
419
487
|
};
|
420
|
-
/**
|
421
|
-
* Closes [TdStepComponent]
|
422
|
-
* retuns 'true' if successful, else 'false'.
|
423
|
-
*/
|
424
488
|
/**
|
425
489
|
* Closes [TdStepComponent]
|
426
490
|
* retuns 'true' if successful, else 'false'.
|
427
491
|
* @return {?}
|
428
492
|
*/
|
429
|
-
TdStepComponent.prototype.close =
|
430
|
-
* Closes [TdStepComponent]
|
431
|
-
* retuns 'true' if successful, else 'false'.
|
432
|
-
* @return {?}
|
433
|
-
*/
|
434
|
-
function () {
|
493
|
+
TdStepComponent.prototype.close = function () {
|
435
494
|
return this._setActive(false);
|
436
495
|
};
|
437
496
|
/**
|
438
|
-
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
439
|
-
*/
|
440
|
-
/**
|
441
|
-
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
442
|
-
* @return {?}
|
443
|
-
*/
|
444
|
-
TdStepComponent.prototype.isComplete = /**
|
445
497
|
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
446
498
|
* @return {?}
|
447
499
|
*/
|
448
|
-
function () {
|
500
|
+
TdStepComponent.prototype.isComplete = function () {
|
449
501
|
return this._state === StepState.Complete;
|
450
502
|
};
|
451
|
-
/** Method executed when the disabled value changes */
|
452
503
|
/**
|
453
504
|
* Method executed when the disabled value changes
|
454
505
|
* @param {?} v
|
455
506
|
* @return {?}
|
456
507
|
*/
|
457
|
-
TdStepComponent.prototype.onDisabledChange =
|
458
|
-
* Method executed when the disabled value changes
|
459
|
-
* @param {?} v
|
460
|
-
* @return {?}
|
461
|
-
*/
|
462
|
-
function (v) {
|
508
|
+
TdStepComponent.prototype.onDisabledChange = function (v) {
|
463
509
|
if (v && this._active) {
|
464
510
|
this._active = false;
|
465
511
|
this._onDeactivated();
|
466
512
|
}
|
467
513
|
};
|
468
514
|
/**
|
469
|
-
* Method to change active state internally and emit the [activated] event if 'true' or [deactivated]
|
470
|
-
* event if 'false'. (Blocked if [disabled] is 'true')
|
471
|
-
* returns true if successfully changed state
|
472
|
-
*/
|
473
|
-
/**
|
474
|
-
* Method to change active state internally and emit the [activated] event if 'true' or [deactivated]
|
475
|
-
* event if 'false'. (Blocked if [disabled] is 'true')
|
476
|
-
* returns true if successfully changed state
|
477
|
-
* @private
|
478
|
-
* @param {?} newActive
|
479
|
-
* @return {?}
|
480
|
-
*/
|
481
|
-
TdStepComponent.prototype._setActive = /**
|
482
515
|
* Method to change active state internally and emit the [activated] event if 'true' or [deactivated]
|
483
516
|
* event if 'false'. (Blocked if [disabled] is 'true')
|
484
517
|
* returns true if successfully changed state
|
@@ -486,7 +519,7 @@
|
|
486
519
|
* @param {?} newActive
|
487
520
|
* @return {?}
|
488
521
|
*/
|
489
|
-
function (newActive) {
|
522
|
+
TdStepComponent.prototype._setActive = function (newActive) {
|
490
523
|
if (this.disabled) {
|
491
524
|
return false;
|
492
525
|
}
|
@@ -506,49 +539,41 @@
|
|
506
539
|
* @private
|
507
540
|
* @return {?}
|
508
541
|
*/
|
509
|
-
TdStepComponent.prototype._onActivated =
|
510
|
-
* @private
|
511
|
-
* @return {?}
|
512
|
-
*/
|
513
|
-
function () {
|
542
|
+
TdStepComponent.prototype._onActivated = function () {
|
514
543
|
this.activated.emit();
|
515
544
|
};
|
516
545
|
/**
|
517
546
|
* @private
|
518
547
|
* @return {?}
|
519
548
|
*/
|
520
|
-
TdStepComponent.prototype._onDeactivated =
|
521
|
-
* @private
|
522
|
-
* @return {?}
|
523
|
-
*/
|
524
|
-
function () {
|
549
|
+
TdStepComponent.prototype._onDeactivated = function () {
|
525
550
|
this.deactivated.emit();
|
526
551
|
};
|
527
|
-
TdStepComponent.decorators = [
|
528
|
-
{ type: core.Component, args: [{
|
529
|
-
selector: 'td-step',
|
530
|
-
inputs: ['disabled', 'disableRipple'],
|
531
|
-
template: "<ng-template>\n <ng-content></ng-content>\n</ng-template>\n"
|
532
|
-
}] }
|
533
|
-
];
|
534
|
-
/** @nocollapse */
|
535
|
-
TdStepComponent.ctorParameters = function () { return [
|
536
|
-
{ type: core.ViewContainerRef }
|
537
|
-
]; };
|
538
|
-
TdStepComponent.propDecorators = {
|
539
|
-
_content: [{ type: core.ViewChild, args: [core.TemplateRef, { static: true },] }],
|
540
|
-
stepLabel: [{ type: core.ContentChild, args: [TdStepLabelDirective,] }],
|
541
|
-
stepActions: [{ type: core.ContentChild, args: [TdStepActionsDirective,] }],
|
542
|
-
stepSummary: [{ type: core.ContentChild, args: [TdStepSummaryDirective,] }],
|
543
|
-
label: [{ type: core.Input }],
|
544
|
-
sublabel: [{ type: core.Input }],
|
545
|
-
active: [{ type: core.Input, args: ['active',] }],
|
546
|
-
state: [{ type: core.Input, args: ['state',] }],
|
547
|
-
activated: [{ type: core.Output }],
|
548
|
-
deactivated: [{ type: core.Output }]
|
549
|
-
};
|
550
552
|
return TdStepComponent;
|
551
553
|
}(_TdStepMixinBase));
|
554
|
+
TdStepComponent.decorators = [
|
555
|
+
{ type: core.Component, args: [{
|
556
|
+
selector: 'td-step',
|
557
|
+
inputs: ['disabled', 'disableRipple'],
|
558
|
+
template: "<ng-template>\n <ng-content></ng-content>\n</ng-template>\n"
|
559
|
+
}] }
|
560
|
+
];
|
561
|
+
/** @nocollapse */
|
562
|
+
TdStepComponent.ctorParameters = function () { return [
|
563
|
+
{ type: core.ViewContainerRef }
|
564
|
+
]; };
|
565
|
+
TdStepComponent.propDecorators = {
|
566
|
+
_content: [{ type: core.ViewChild, args: [core.TemplateRef, { static: true },] }],
|
567
|
+
stepLabel: [{ type: core.ContentChild, args: [TdStepLabelDirective,] }],
|
568
|
+
stepActions: [{ type: core.ContentChild, args: [TdStepActionsDirective,] }],
|
569
|
+
stepSummary: [{ type: core.ContentChild, args: [TdStepSummaryDirective,] }],
|
570
|
+
label: [{ type: core.Input }],
|
571
|
+
sublabel: [{ type: core.Input }],
|
572
|
+
active: [{ type: core.Input, args: ['active',] }],
|
573
|
+
state: [{ type: core.Input, args: ['state',] }],
|
574
|
+
activated: [{ type: core.Output }],
|
575
|
+
deactivated: [{ type: core.Output }]
|
576
|
+
};
|
552
577
|
if (false) {
|
553
578
|
/**
|
554
579
|
* @type {?}
|
@@ -607,7 +632,8 @@
|
|
607
632
|
|
608
633
|
/**
|
609
634
|
* @fileoverview added by tsickle
|
610
|
-
*
|
635
|
+
* Generated from: steps.component.ts
|
636
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
611
637
|
*/
|
612
638
|
/**
|
613
639
|
* @record
|
@@ -621,8 +647,8 @@
|
|
621
647
|
}
|
622
648
|
/** @enum {string} */
|
623
649
|
var StepMode = {
|
624
|
-
Vertical:
|
625
|
-
Horizontal:
|
650
|
+
Vertical: "vertical",
|
651
|
+
Horizontal: "horizontal",
|
626
652
|
};
|
627
653
|
var TdStepsComponent = /** @class */ (function () {
|
628
654
|
function TdStepsComponent() {
|
@@ -635,47 +661,43 @@
|
|
635
661
|
this.stepChange = new core.EventEmitter();
|
636
662
|
}
|
637
663
|
Object.defineProperty(TdStepsComponent.prototype, "stepsContent", {
|
638
|
-
|
664
|
+
/**
|
639
665
|
* @param {?} steps
|
640
666
|
* @return {?}
|
641
667
|
*/
|
642
|
-
function (steps) {
|
668
|
+
set: function (steps) {
|
643
669
|
if (steps) {
|
644
670
|
this._steps = steps;
|
645
671
|
this._registerSteps();
|
646
672
|
}
|
647
673
|
},
|
648
|
-
enumerable:
|
674
|
+
enumerable: false,
|
649
675
|
configurable: true
|
650
676
|
});
|
651
677
|
Object.defineProperty(TdStepsComponent.prototype, "steps", {
|
652
|
-
|
678
|
+
/**
|
653
679
|
* @return {?}
|
654
680
|
*/
|
655
|
-
function () {
|
681
|
+
get: function () {
|
656
682
|
return this._steps.toArray();
|
657
683
|
},
|
658
|
-
enumerable:
|
684
|
+
enumerable: false,
|
659
685
|
configurable: true
|
660
686
|
});
|
661
687
|
Object.defineProperty(TdStepsComponent.prototype, "mode", {
|
662
|
-
|
688
|
+
/**
|
663
689
|
* @return {?}
|
664
690
|
*/
|
665
|
-
function () {
|
691
|
+
get: function () {
|
666
692
|
return this._mode;
|
667
693
|
},
|
668
694
|
/**
|
669
|
-
* mode?: StepMode or ["vertical" | "horizontal"]
|
670
|
-
* Defines if the mode of the [TdStepsComponent]. Defaults to [StepMode.Vertical | "vertical"]
|
671
|
-
*/
|
672
|
-
set: /**
|
673
695
|
* mode?: StepMode or ["vertical" | "horizontal"]
|
674
696
|
* Defines if the mode of the [TdStepsComponent]. Defaults to [StepMode.Vertical | "vertical"]
|
675
697
|
* @param {?} mode
|
676
698
|
* @return {?}
|
677
699
|
*/
|
678
|
-
function (mode) {
|
700
|
+
set: function (mode) {
|
679
701
|
if (mode === StepMode.Horizontal) {
|
680
702
|
this._mode = StepMode.Horizontal;
|
681
703
|
}
|
@@ -683,142 +705,86 @@
|
|
683
705
|
this._mode = StepMode.Vertical;
|
684
706
|
}
|
685
707
|
},
|
686
|
-
enumerable:
|
708
|
+
enumerable: false,
|
687
709
|
configurable: true
|
688
710
|
});
|
689
|
-
/**
|
690
|
-
* Executed after content is initialized, loops through any [TdStepComponent] children elements,
|
691
|
-
* assigns them a number and subscribes as an observer to their [activated] event.
|
692
|
-
*/
|
693
711
|
/**
|
694
712
|
* Executed after content is initialized, loops through any [TdStepComponent] children elements,
|
695
713
|
* assigns them a number and subscribes as an observer to their [activated] event.
|
696
714
|
* @return {?}
|
697
715
|
*/
|
698
|
-
TdStepsComponent.prototype.ngAfterContentInit =
|
699
|
-
* Executed after content is initialized, loops through any [TdStepComponent] children elements,
|
700
|
-
* assigns them a number and subscribes as an observer to their [activated] event.
|
701
|
-
* @return {?}
|
702
|
-
*/
|
703
|
-
function () {
|
716
|
+
TdStepsComponent.prototype.ngAfterContentInit = function () {
|
704
717
|
this._registerSteps();
|
705
718
|
};
|
706
|
-
/**
|
707
|
-
* Unsubscribes from [TdStepComponent] children elements when component is destroyed.
|
708
|
-
*/
|
709
719
|
/**
|
710
720
|
* Unsubscribes from [TdStepComponent] children elements when component is destroyed.
|
711
721
|
* @return {?}
|
712
722
|
*/
|
713
|
-
TdStepsComponent.prototype.ngOnDestroy =
|
714
|
-
* Unsubscribes from [TdStepComponent] children elements when component is destroyed.
|
715
|
-
* @return {?}
|
716
|
-
*/
|
717
|
-
function () {
|
723
|
+
TdStepsComponent.prototype.ngOnDestroy = function () {
|
718
724
|
this._deregisterSteps();
|
719
725
|
};
|
720
|
-
/**
|
721
|
-
* Returns 'true' if [mode] equals to [StepMode.Horizontal | 'horizontal'], else 'false'.
|
722
|
-
*/
|
723
726
|
/**
|
724
727
|
* Returns 'true' if [mode] equals to [StepMode.Horizontal | 'horizontal'], else 'false'.
|
725
728
|
* @return {?}
|
726
729
|
*/
|
727
|
-
TdStepsComponent.prototype.isHorizontal =
|
728
|
-
* Returns 'true' if [mode] equals to [StepMode.Horizontal | 'horizontal'], else 'false'.
|
729
|
-
* @return {?}
|
730
|
-
*/
|
731
|
-
function () {
|
730
|
+
TdStepsComponent.prototype.isHorizontal = function () {
|
732
731
|
return this._mode === StepMode.Horizontal;
|
733
732
|
};
|
734
|
-
/**
|
735
|
-
* Returns 'true' if [mode] equals to [StepMode.Vertical | 'vertical'], else 'false'.
|
736
|
-
*/
|
737
733
|
/**
|
738
734
|
* Returns 'true' if [mode] equals to [StepMode.Vertical | 'vertical'], else 'false'.
|
739
735
|
* @return {?}
|
740
736
|
*/
|
741
|
-
TdStepsComponent.prototype.isVertical =
|
742
|
-
* Returns 'true' if [mode] equals to [StepMode.Vertical | 'vertical'], else 'false'.
|
743
|
-
* @return {?}
|
744
|
-
*/
|
745
|
-
function () {
|
737
|
+
TdStepsComponent.prototype.isVertical = function () {
|
746
738
|
return this._mode === StepMode.Vertical;
|
747
739
|
};
|
748
740
|
/**
|
749
741
|
* @return {?}
|
750
742
|
*/
|
751
|
-
TdStepsComponent.prototype.areStepsActive =
|
752
|
-
|
753
|
-
*/
|
754
|
-
function () {
|
755
|
-
return (this._steps.filter((/**
|
743
|
+
TdStepsComponent.prototype.areStepsActive = function () {
|
744
|
+
return (this._steps.filter(( /**
|
756
745
|
* @param {?} step
|
757
746
|
* @return {?}
|
758
|
-
*/
|
759
|
-
function (step) {
|
747
|
+
*/function (step) {
|
760
748
|
return step.active;
|
761
749
|
})).length > 0);
|
762
750
|
};
|
763
751
|
/**
|
764
|
-
* Wraps previous and new [TdStepComponent] numbers in an object that implements [IStepChangeEvent]
|
765
|
-
* and emits [stepChange] event.
|
766
|
-
*/
|
767
|
-
/**
|
768
|
-
* Wraps previous and new [TdStepComponent] numbers in an object that implements [IStepChangeEvent]
|
769
|
-
* and emits [stepChange] event.
|
770
|
-
* @private
|
771
|
-
* @param {?} step
|
772
|
-
* @return {?}
|
773
|
-
*/
|
774
|
-
TdStepsComponent.prototype._onStepSelection = /**
|
775
752
|
* Wraps previous and new [TdStepComponent] numbers in an object that implements [IStepChangeEvent]
|
776
753
|
* and emits [stepChange] event.
|
777
754
|
* @private
|
778
755
|
* @param {?} step
|
779
756
|
* @return {?}
|
780
757
|
*/
|
781
|
-
function (step) {
|
758
|
+
TdStepsComponent.prototype._onStepSelection = function (step) {
|
782
759
|
if (this.prevStep !== step) {
|
783
760
|
/** @type {?} */
|
784
761
|
var prevStep = this.prevStep;
|
785
762
|
this.prevStep = step;
|
786
763
|
/** @type {?} */
|
787
|
-
var
|
764
|
+
var event = {
|
788
765
|
newStep: step,
|
789
766
|
prevStep: prevStep,
|
790
767
|
};
|
791
768
|
this._deactivateAllBut(step);
|
792
|
-
this.stepChange.emit(
|
769
|
+
this.stepChange.emit(event);
|
793
770
|
}
|
794
771
|
};
|
795
|
-
/**
|
796
|
-
* Loops through [TdStepComponent] children elements and deactivates them ignoring the one passed as an argument.
|
797
|
-
*/
|
798
772
|
/**
|
799
773
|
* Loops through [TdStepComponent] children elements and deactivates them ignoring the one passed as an argument.
|
800
774
|
* @private
|
801
775
|
* @param {?} activeStep
|
802
776
|
* @return {?}
|
803
777
|
*/
|
804
|
-
TdStepsComponent.prototype._deactivateAllBut =
|
805
|
-
* Loops through [TdStepComponent] children elements and deactivates them ignoring the one passed as an argument.
|
806
|
-
* @private
|
807
|
-
* @param {?} activeStep
|
808
|
-
* @return {?}
|
809
|
-
*/
|
810
|
-
function (activeStep) {
|
778
|
+
TdStepsComponent.prototype._deactivateAllBut = function (activeStep) {
|
811
779
|
this._steps
|
812
|
-
.filter((/**
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
*/
|
821
|
-
function (step) {
|
780
|
+
.filter(( /**
|
781
|
+
* @param {?} step
|
782
|
+
* @return {?}
|
783
|
+
*/function (step) { return step !== activeStep; }))
|
784
|
+
.forEach(( /**
|
785
|
+
* @param {?} step
|
786
|
+
* @return {?}
|
787
|
+
*/function (step) {
|
822
788
|
step.active = false;
|
823
789
|
}));
|
824
790
|
};
|
@@ -826,23 +792,17 @@
|
|
826
792
|
* @private
|
827
793
|
* @return {?}
|
828
794
|
*/
|
829
|
-
TdStepsComponent.prototype._registerSteps =
|
830
|
-
* @private
|
831
|
-
* @return {?}
|
832
|
-
*/
|
833
|
-
function () {
|
795
|
+
TdStepsComponent.prototype._registerSteps = function () {
|
834
796
|
var _this = this;
|
835
797
|
this._subcriptions = [];
|
836
|
-
this._steps.toArray().forEach((/**
|
798
|
+
this._steps.toArray().forEach(( /**
|
837
799
|
* @param {?} step
|
838
800
|
* @return {?}
|
839
|
-
*/
|
840
|
-
function (step) {
|
801
|
+
*/function (step) {
|
841
802
|
/** @type {?} */
|
842
|
-
var subscription = step.activated.asObservable().subscribe((/**
|
803
|
+
var subscription = step.activated.asObservable().subscribe(( /**
|
843
804
|
* @return {?}
|
844
|
-
*/
|
845
|
-
function () {
|
805
|
+
*/function () {
|
846
806
|
_this._onStepSelection(step);
|
847
807
|
}));
|
848
808
|
_this._subcriptions.push(subscription);
|
@@ -852,40 +812,35 @@
|
|
852
812
|
* @private
|
853
813
|
* @return {?}
|
854
814
|
*/
|
855
|
-
TdStepsComponent.prototype._deregisterSteps =
|
856
|
-
* @private
|
857
|
-
* @return {?}
|
858
|
-
*/
|
859
|
-
function () {
|
815
|
+
TdStepsComponent.prototype._deregisterSteps = function () {
|
860
816
|
if (this._subcriptions) {
|
861
|
-
this._subcriptions.forEach((/**
|
817
|
+
this._subcriptions.forEach(( /**
|
862
818
|
* @param {?} subs
|
863
819
|
* @return {?}
|
864
|
-
*/
|
865
|
-
function (subs) {
|
820
|
+
*/function (subs) {
|
866
821
|
subs.unsubscribe();
|
867
822
|
}));
|
868
823
|
this._subcriptions = undefined;
|
869
824
|
}
|
870
825
|
};
|
871
|
-
TdStepsComponent.decorators = [
|
872
|
-
{ type: core.Component, args: [{
|
873
|
-
selector: 'td-steps',
|
874
|
-
template: "<div *ngIf=\"isHorizontal()\" class=\"td-steps-header\">\n <ng-template let-step let-index=\"index\" let-last=\"last\" ngFor [ngForOf]=\"steps\">\n <td-step-header\n class=\"td-step-horizontal-header\"\n (keydown.enter)=\"step.open()\"\n [number]=\"index + 1\"\n [active]=\"step.active\"\n [disableRipple]=\"step.disableRipple\"\n [disabled]=\"step.disabled\"\n [state]=\"step.state\"\n (click)=\"step.open()\"\n >\n <ng-template td-step-header-label [cdkPortalOutlet]=\"step.stepLabel\"></ng-template>\n <ng-template td-step-header-label [ngIf]=\"!step.stepLabel\">{{ step.label }}</ng-template>\n <ng-template td-step-header-sublabel [ngIf]=\"true\">{{ step.sublabel | truncate: 30 }}</ng-template>\n </td-step-header>\n <span *ngIf=\"!last\" class=\"td-horizontal-line\"></span>\n </ng-template>\n</div>\n<div *ngFor=\"let step of steps; let index = index; let last = last\" class=\"td-step\">\n <td-step-header\n class=\"td-step-vertical-header\"\n (keydown.enter)=\"step.toggle()\"\n [number]=\"index + 1\"\n [active]=\"step.active\"\n [disabled]=\"step.disabled\"\n [disableRipple]=\"step.disableRipple\"\n [state]=\"step.state\"\n (click)=\"step.toggle()\"\n *ngIf=\"isVertical()\"\n >\n <ng-template td-step-header-label [cdkPortalOutlet]=\"step.stepLabel\"></ng-template>\n <ng-template td-step-header-label [ngIf]=\"!step.stepLabel\">{{ step.label }}</ng-template>\n <ng-template td-step-header-sublabel [ngIf]=\"true\">{{ step.sublabel }}</ng-template>\n </td-step-header>\n <ng-template [ngIf]=\"isVertical() || step.active || (!areStepsActive() && prevStep === step)\">\n <td-step-body [active]=\"step.active\" [state]=\"step.state\">\n <div *ngIf=\"isVertical()\" class=\"td-line-wrapper\">\n <div *ngIf=\"!last\" class=\"td-vertical-line\"></div>\n </div>\n <ng-template td-step-body-content [cdkPortalOutlet]=\"step.stepContent\"></ng-template>\n <ng-template td-step-body-actions [cdkPortalOutlet]=\"step.stepActions\"></ng-template>\n <ng-template td-step-body-summary [cdkPortalOutlet]=\"step.stepSummary\"></ng-template>\n </td-step-body>\n </ng-template>\n</div>\n",
|
875
|
-
/* tslint:disable-next-line */
|
876
|
-
host: {
|
877
|
-
class: 'td-steps',
|
878
|
-
},
|
879
|
-
styles: [".td-line-wrapper,.td-step{position:relative}.td-steps-header{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.td-line-wrapper{width:24px;min-height:1px}.td-horizontal-line{border-bottom-width:1px;border-bottom-style:solid;height:1px;position:relative;top:36px;min-width:15px;-ms-flex:1;flex:1;box-sizing:border-box}::ng-deep :not([dir=rtl]) .td-horizontal-line{left:-6px;right:-3px}::ng-deep [dir=rtl] .td-horizontal-line{left:-3px;right:-6px}.td-vertical-line{position:absolute;bottom:-16px;top:-16px;border-left-width:1px;border-left-style:solid}::ng-deep :not([dir=rtl]) .td-vertical-line{left:20px;right:auto}::ng-deep [dir=rtl] .td-vertical-line{left:auto;right:20px}"]
|
880
|
-
}] }
|
881
|
-
];
|
882
|
-
TdStepsComponent.propDecorators = {
|
883
|
-
stepsContent: [{ type: core.ContentChildren, args: [TdStepComponent, { descendants: true },] }],
|
884
|
-
mode: [{ type: core.Input, args: ['mode',] }],
|
885
|
-
stepChange: [{ type: core.Output }]
|
886
|
-
};
|
887
826
|
return TdStepsComponent;
|
888
827
|
}());
|
828
|
+
TdStepsComponent.decorators = [
|
829
|
+
{ type: core.Component, args: [{
|
830
|
+
selector: 'td-steps',
|
831
|
+
template: "<div *ngIf=\"isHorizontal()\" class=\"td-steps-header\">\n <ng-template let-step let-index=\"index\" let-last=\"last\" ngFor [ngForOf]=\"steps\">\n <td-step-header\n class=\"td-step-horizontal-header\"\n (keydown.enter)=\"step.open()\"\n [number]=\"index + 1\"\n [active]=\"step.active\"\n [disableRipple]=\"step.disableRipple\"\n [disabled]=\"step.disabled\"\n [state]=\"step.state\"\n (click)=\"step.open()\"\n >\n <ng-template td-step-header-label [cdkPortalOutlet]=\"step.stepLabel\"></ng-template>\n <ng-template td-step-header-label [ngIf]=\"!step.stepLabel\">{{ step.label }}</ng-template>\n <ng-template td-step-header-sublabel [ngIf]=\"true\">{{ step.sublabel | truncate: 30 }}</ng-template>\n </td-step-header>\n <span *ngIf=\"!last\" class=\"td-horizontal-line\"></span>\n </ng-template>\n</div>\n<div *ngFor=\"let step of steps; let index = index; let last = last\" class=\"td-step\">\n <td-step-header\n class=\"td-step-vertical-header\"\n (keydown.enter)=\"step.toggle()\"\n [number]=\"index + 1\"\n [active]=\"step.active\"\n [disabled]=\"step.disabled\"\n [disableRipple]=\"step.disableRipple\"\n [state]=\"step.state\"\n (click)=\"step.toggle()\"\n *ngIf=\"isVertical()\"\n >\n <ng-template td-step-header-label [cdkPortalOutlet]=\"step.stepLabel\"></ng-template>\n <ng-template td-step-header-label [ngIf]=\"!step.stepLabel\">{{ step.label }}</ng-template>\n <ng-template td-step-header-sublabel [ngIf]=\"true\">{{ step.sublabel }}</ng-template>\n </td-step-header>\n <ng-template [ngIf]=\"isVertical() || step.active || (!areStepsActive() && prevStep === step)\">\n <td-step-body [active]=\"step.active\" [state]=\"step.state\">\n <div *ngIf=\"isVertical()\" class=\"td-line-wrapper\">\n <div *ngIf=\"!last\" class=\"td-vertical-line\"></div>\n </div>\n <ng-template td-step-body-content [cdkPortalOutlet]=\"step.stepContent\"></ng-template>\n <ng-template td-step-body-actions [cdkPortalOutlet]=\"step.stepActions\"></ng-template>\n <ng-template td-step-body-summary [cdkPortalOutlet]=\"step.stepSummary\"></ng-template>\n </td-step-body>\n </ng-template>\n</div>\n",
|
832
|
+
/* tslint:disable-next-line */
|
833
|
+
host: {
|
834
|
+
class: 'td-steps',
|
835
|
+
},
|
836
|
+
styles: [".td-line-wrapper,.td-step{position:relative}.td-steps-header{-ms-flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row}.td-line-wrapper{min-height:1px;width:24px}.td-horizontal-line{-ms-flex:1;border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;flex:1;height:1px;min-width:15px;position:relative;top:36px}::ng-deep :not([dir=rtl]) .td-horizontal-line{left:-6px;right:-3px}::ng-deep [dir=rtl] .td-horizontal-line{left:-3px;right:-6px}.td-vertical-line{border-left-style:solid;border-left-width:1px;bottom:-16px;position:absolute;top:-16px}::ng-deep :not([dir=rtl]) .td-vertical-line{left:20px;right:auto}::ng-deep [dir=rtl] .td-vertical-line{left:auto;right:20px}"]
|
837
|
+
}] }
|
838
|
+
];
|
839
|
+
TdStepsComponent.propDecorators = {
|
840
|
+
stepsContent: [{ type: core.ContentChildren, args: [TdStepComponent, { descendants: true },] }],
|
841
|
+
mode: [{ type: core.Input, args: ['mode',] }],
|
842
|
+
stepChange: [{ type: core.Output }]
|
843
|
+
};
|
889
844
|
if (false) {
|
890
845
|
/**
|
891
846
|
* @type {?}
|
@@ -913,10 +868,6 @@
|
|
913
868
|
TdStepsComponent.prototype.stepChange;
|
914
869
|
}
|
915
870
|
|
916
|
-
/**
|
917
|
-
* @fileoverview added by tsickle
|
918
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
919
|
-
*/
|
920
871
|
var TdStepHeaderBase = /** @class */ (function () {
|
921
872
|
function TdStepHeaderBase() {
|
922
873
|
}
|
@@ -924,11 +875,11 @@
|
|
924
875
|
}());
|
925
876
|
/* tslint:disable-next-line */
|
926
877
|
/** @type {?} */
|
927
|
-
var _TdStepHeaderMixinBase = common
|
878
|
+
var _TdStepHeaderMixinBase = common.mixinDisableRipple(common.mixinDisabled(TdStepHeaderBase));
|
928
879
|
var TdStepHeaderComponent = /** @class */ (function (_super) {
|
929
880
|
__extends(TdStepHeaderComponent, _super);
|
930
881
|
function TdStepHeaderComponent() {
|
931
|
-
var _this = _super
|
882
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
932
883
|
/**
|
933
884
|
* state?: StepState or ['none' | 'required' | 'complete']
|
934
885
|
* Sets styles for state of header.
|
@@ -937,50 +888,36 @@
|
|
937
888
|
_this.state = StepState.None;
|
938
889
|
return _this;
|
939
890
|
}
|
940
|
-
/**
|
941
|
-
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
942
|
-
*/
|
943
891
|
/**
|
944
892
|
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
945
893
|
* @return {?}
|
946
894
|
*/
|
947
|
-
TdStepHeaderComponent.prototype.isComplete =
|
948
|
-
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
949
|
-
* @return {?}
|
950
|
-
*/
|
951
|
-
function () {
|
895
|
+
TdStepHeaderComponent.prototype.isComplete = function () {
|
952
896
|
return this.state === StepState.Complete;
|
953
897
|
};
|
954
|
-
/**
|
955
|
-
* Returns 'true' if [state] equals to [StepState.Required | 'required'], else 'false'.
|
956
|
-
*/
|
957
898
|
/**
|
958
899
|
* Returns 'true' if [state] equals to [StepState.Required | 'required'], else 'false'.
|
959
900
|
* @return {?}
|
960
901
|
*/
|
961
|
-
TdStepHeaderComponent.prototype.isRequired =
|
962
|
-
* Returns 'true' if [state] equals to [StepState.Required | 'required'], else 'false'.
|
963
|
-
* @return {?}
|
964
|
-
*/
|
965
|
-
function () {
|
902
|
+
TdStepHeaderComponent.prototype.isRequired = function () {
|
966
903
|
return this.state === StepState.Required;
|
967
904
|
};
|
968
|
-
TdStepHeaderComponent.decorators = [
|
969
|
-
{ type: core.Component, args: [{
|
970
|
-
selector: 'td-step-header',
|
971
|
-
inputs: ['disabled', 'disableRipple'],
|
972
|
-
template: "<div\n class=\"td-step-header\"\n [class.mat-disabled]=\"disabled\"\n matRipple\n [matRippleDisabled]=\"disabled || disableRipple\"\n [tabIndex]=\"disabled ? -1 : tabIndex || 0\"\n>\n <div\n class=\"td-circle\"\n [class.mat-inactive]=\"(!active && !isComplete()) || disabled\"\n [class.mat-active]=\"active && !disabled\"\n *ngIf=\"!isRequired() && !isComplete()\"\n >\n <span *ngIf=\"active || !isComplete()\">{{ number || '' }}</span>\n </div>\n <div class=\"td-complete\" *ngIf=\"isComplete()\">\n <mat-icon class=\"mat-complete\">check_circle</mat-icon>\n </div>\n <div class=\"td-triangle\" [class.bg-muted]=\"disabled\" *ngIf=\"isRequired()\">\n <mat-icon class=\"mat-warn\">warning</mat-icon>\n </div>\n <div\n class=\"td-step-label-wrapper\"\n [class.mat-inactive]=\"(!active && !isComplete()) || disabled\"\n [class.mat-warn]=\"isRequired() && !disabled\"\n >\n <div class=\"td-step-label\">\n <ng-content select=\"[td-step-header-label]\"></ng-content>\n </div>\n <div class=\"td-step-sublabel\">\n <ng-content select=\"[td-step-header-sublabel]\"></ng-content>\n </div>\n </div>\n <span class=\"td-step-header-separator\"></span>\n <mat-icon class=\"td-edit-icon\" *ngIf=\"isComplete() && !active && !disabled\">mode_edit</mat-icon>\n</div>\n",
|
973
|
-
styles: [".td-step-header{position:relative;outline:0;min-width:120px;height:72px;-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%}.td-step-header:hover:not(.mat-disabled){cursor:pointer}.td-step-header mat-icon.td-edit-icon{margin:0 8px}.td-step-header mat-icon.mat-warn{font-size:24px;height:24px;width:24px}.td-step-header mat-icon.mat-complete{position:relative;left:-2px;top:2px;font-size:28px;height:24px;width:24px}.td-step-header .td-circle{height:24px;width:24px;line-height:24px;border-radius:99%;text-align:center;-ms-flex:none;flex:none}.td-step-header .td-circle mat-icon{margin-top:2px;font-weight:700}.td-step-header .td-triangle>mat-icon{font-size:25px}::ng-deep :not([dir=rtl]) .td-step-header .td-circle,::ng-deep :not([dir=rtl]) .td-step-header .td-complete,::ng-deep :not([dir=rtl]) .td-step-header .td-triangle{margin-left:8px;margin-right:0}::ng-deep [dir=rtl] .td-step-header .td-circle,::ng-deep [dir=rtl] .td-step-header .td-complete,::ng-deep [dir=rtl] .td-step-header .td-triangle{margin-left:0;margin-right:8px}.td-step-header .td-circle,.td-step-header .td-complete{font-size:14px}.td-step-header .td-step-label-wrapper{padding-left:8px;padding-right:8px}.td-step-header .td-step-header-separator{-ms-flex:1;flex:1;box-sizing:border-box}"]
|
974
|
-
}] }
|
975
|
-
];
|
976
|
-
TdStepHeaderComponent.propDecorators = {
|
977
|
-
number: [{ type: core.Input }],
|
978
|
-
active: [{ type: core.Input }],
|
979
|
-
state: [{ type: core.Input }],
|
980
|
-
tabIndex: [{ type: core.Input }]
|
981
|
-
};
|
982
905
|
return TdStepHeaderComponent;
|
983
906
|
}(_TdStepHeaderMixinBase));
|
907
|
+
TdStepHeaderComponent.decorators = [
|
908
|
+
{ type: core.Component, args: [{
|
909
|
+
selector: 'td-step-header',
|
910
|
+
inputs: ['disabled', 'disableRipple'],
|
911
|
+
template: "<div\n class=\"td-step-header\"\n [class.mat-disabled]=\"disabled\"\n matRipple\n [matRippleDisabled]=\"disabled || disableRipple\"\n [tabIndex]=\"disabled ? -1 : tabIndex || 0\"\n>\n <div\n class=\"td-circle\"\n [class.mat-inactive]=\"(!active && !isComplete()) || disabled\"\n [class.mat-active]=\"active && !disabled\"\n *ngIf=\"!isRequired() && !isComplete()\"\n >\n <span *ngIf=\"active || !isComplete()\">{{ number || '' }}</span>\n </div>\n <div class=\"td-complete\" *ngIf=\"isComplete()\">\n <mat-icon class=\"mat-complete\">check_circle</mat-icon>\n </div>\n <div class=\"td-triangle\" [class.bg-muted]=\"disabled\" *ngIf=\"isRequired()\">\n <mat-icon class=\"mat-warn\">warning</mat-icon>\n </div>\n <div\n class=\"td-step-label-wrapper\"\n [class.mat-inactive]=\"(!active && !isComplete()) || disabled\"\n [class.mat-warn]=\"isRequired() && !disabled\"\n >\n <div class=\"td-step-label\">\n <ng-content select=\"[td-step-header-label]\"></ng-content>\n </div>\n <div class=\"td-step-sublabel\">\n <ng-content select=\"[td-step-header-sublabel]\"></ng-content>\n </div>\n </div>\n <span class=\"td-step-header-separator\"></span>\n <mat-icon class=\"td-edit-icon\" *ngIf=\"isComplete() && !active && !disabled\">mode_edit</mat-icon>\n</div>\n",
|
912
|
+
styles: [".td-step-header{-ms-flex:1;-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex:1;flex-direction:row;height:72px;justify-content:flex-start;max-width:100%;min-width:120px;outline:none;position:relative}.td-step-header:hover:not(.mat-disabled){cursor:pointer}.td-step-header mat-icon.td-edit-icon{margin:0 8px}.td-step-header mat-icon.mat-warn{font-size:24px;height:24px;width:24px}.td-step-header mat-icon.mat-complete{font-size:28px;height:24px;left:-2px;position:relative;top:2px;width:24px}.td-step-header .td-circle{-ms-flex:none;border-radius:99%;flex:none;height:24px;line-height:24px;text-align:center;width:24px}.td-step-header .td-circle mat-icon{font-weight:700;margin-top:2px}.td-step-header .td-triangle>mat-icon{font-size:25px}.td-step-header .td-complete{font-size:0}::ng-deep :not([dir=rtl]) .td-step-header .td-circle,::ng-deep :not([dir=rtl]) .td-step-header .td-complete,::ng-deep :not([dir=rtl]) .td-step-header .td-triangle{margin-left:8px;margin-right:0}::ng-deep [dir=rtl] .td-step-header .td-circle,::ng-deep [dir=rtl] .td-step-header .td-complete,::ng-deep [dir=rtl] .td-step-header .td-triangle{margin-left:0;margin-right:8px}.td-step-header .td-circle,.td-step-header .td-complete{font-size:14px}.td-step-header .td-step-label-wrapper{padding-left:8px;padding-right:8px}.td-step-header .td-step-header-separator{-ms-flex:1;box-sizing:border-box;flex:1}"]
|
913
|
+
}] }
|
914
|
+
];
|
915
|
+
TdStepHeaderComponent.propDecorators = {
|
916
|
+
number: [{ type: core.Input }],
|
917
|
+
active: [{ type: core.Input }],
|
918
|
+
state: [{ type: core.Input }],
|
919
|
+
tabIndex: [{ type: core.Input }]
|
920
|
+
};
|
984
921
|
if (false) {
|
985
922
|
/**
|
986
923
|
* Number assigned to [TdStepHeaderComponent].
|
@@ -1010,7 +947,8 @@
|
|
1010
947
|
|
1011
948
|
/**
|
1012
949
|
* @fileoverview added by tsickle
|
1013
|
-
*
|
950
|
+
* Generated from: step-body/step-body.component.ts
|
951
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1014
952
|
*/
|
1015
953
|
var TdStepBodyComponent = /** @class */ (function () {
|
1016
954
|
function TdStepBodyComponent() {
|
@@ -1022,69 +960,62 @@
|
|
1022
960
|
this.state = StepState.None;
|
1023
961
|
}
|
1024
962
|
Object.defineProperty(TdStepBodyComponent.prototype, "hasContent", {
|
1025
|
-
|
963
|
+
/**
|
1026
964
|
* @return {?}
|
1027
965
|
*/
|
1028
|
-
function () {
|
966
|
+
get: function () {
|
1029
967
|
return (this.contentRef &&
|
1030
968
|
(this.contentRef.nativeElement.children.length > 0 || !!this.contentRef.nativeElement.textContent.trim()));
|
1031
969
|
},
|
1032
|
-
enumerable:
|
970
|
+
enumerable: false,
|
1033
971
|
configurable: true
|
1034
972
|
});
|
1035
973
|
Object.defineProperty(TdStepBodyComponent.prototype, "hasActions", {
|
1036
|
-
|
974
|
+
/**
|
1037
975
|
* @return {?}
|
1038
976
|
*/
|
1039
|
-
function () {
|
977
|
+
get: function () {
|
1040
978
|
return (this.actionsRef &&
|
1041
979
|
(this.actionsRef.nativeElement.children.length > 0 || !!this.actionsRef.nativeElement.textContent.trim()));
|
1042
980
|
},
|
1043
|
-
enumerable:
|
981
|
+
enumerable: false,
|
1044
982
|
configurable: true
|
1045
983
|
});
|
1046
984
|
Object.defineProperty(TdStepBodyComponent.prototype, "hasSummary", {
|
1047
|
-
|
985
|
+
/**
|
1048
986
|
* @return {?}
|
1049
987
|
*/
|
1050
|
-
function () {
|
988
|
+
get: function () {
|
1051
989
|
return (this.summaryRef &&
|
1052
990
|
(this.summaryRef.nativeElement.children.length > 0 || !!this.summaryRef.nativeElement.textContent.trim()));
|
1053
991
|
},
|
1054
|
-
enumerable:
|
992
|
+
enumerable: false,
|
1055
993
|
configurable: true
|
1056
994
|
});
|
1057
|
-
/**
|
1058
|
-
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
1059
|
-
*/
|
1060
995
|
/**
|
1061
996
|
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
1062
997
|
* @return {?}
|
1063
998
|
*/
|
1064
|
-
TdStepBodyComponent.prototype.isComplete =
|
1065
|
-
* Returns 'true' if [state] equals to [StepState.Complete | 'complete'], else 'false'.
|
1066
|
-
* @return {?}
|
1067
|
-
*/
|
1068
|
-
function () {
|
999
|
+
TdStepBodyComponent.prototype.isComplete = function () {
|
1069
1000
|
return this.state === StepState.Complete;
|
1070
1001
|
};
|
1071
|
-
TdStepBodyComponent.decorators = [
|
1072
|
-
{ type: core.Component, args: [{
|
1073
|
-
selector: 'td-step-body',
|
1074
|
-
template: "<ng-content></ng-content>\n<div class=\"td-step-body\">\n <div class=\"td-step-content-wrapper\" [@tdCollapse]=\"!active\">\n <div #contentRef cdkScrollable [class.td-step-content]=\"hasContent\">\n <ng-content select=\"[td-step-body-content]\"></ng-content>\n </div>\n <div #actionsRef [class.td-step-actions]=\"hasActions\">\n <ng-content select=\"[td-step-body-actions]\"></ng-content>\n </div>\n </div>\n <div #summaryRef [@tdCollapse]=\"active || !isComplete()\" [class.td-step-summary]=\"hasSummary\">\n <ng-content select=\"[td-step-body-summary]\"></ng-content>\n </div>\n</div>\n",
|
1075
|
-
animations: [common$1.tdCollapseAnimation],
|
1076
|
-
styles: [":host{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}:host .td-step-body{overflow-x:hidden;-ms-flex:1;flex:1;box-sizing:border-box}:host .td-step-body .td-step-content-wrapper.ng-animating,:host .td-step-body .td-step-summary.ng-animating{overflow:hidden}:host .td-step-body .td-step-content{overflow-x:auto}:host .td-step-body .td-step-actions{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}"]
|
1077
|
-
}] }
|
1078
|
-
];
|
1079
|
-
TdStepBodyComponent.propDecorators = {
|
1080
|
-
contentRef: [{ type: core.ViewChild, args: ['contentRef', { read: core.ElementRef, static: true },] }],
|
1081
|
-
actionsRef: [{ type: core.ViewChild, args: ['actionsRef', { read: core.ElementRef, static: true },] }],
|
1082
|
-
summaryRef: [{ type: core.ViewChild, args: ['summaryRef', { read: core.ElementRef, static: true },] }],
|
1083
|
-
active: [{ type: core.Input }],
|
1084
|
-
state: [{ type: core.Input }]
|
1085
|
-
};
|
1086
1002
|
return TdStepBodyComponent;
|
1087
1003
|
}());
|
1004
|
+
TdStepBodyComponent.decorators = [
|
1005
|
+
{ type: core.Component, args: [{
|
1006
|
+
selector: 'td-step-body',
|
1007
|
+
template: "<ng-content></ng-content>\n<div class=\"td-step-body\">\n <div class=\"td-step-content-wrapper\" [@tdCollapse]=\"!active\">\n <div #contentRef cdkScrollable [class.td-step-content]=\"hasContent\">\n <ng-content select=\"[td-step-body-content]\"></ng-content>\n </div>\n <div #actionsRef [class.td-step-actions]=\"hasActions\">\n <ng-content select=\"[td-step-body-actions]\"></ng-content>\n </div>\n </div>\n <div #summaryRef [@tdCollapse]=\"active || !isComplete()\" [class.td-step-summary]=\"hasSummary\">\n <ng-content select=\"[td-step-body-summary]\"></ng-content>\n </div>\n</div>\n",
|
1008
|
+
animations: [common.tdCollapseAnimation],
|
1009
|
+
styles: [":host{-ms-flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row}:host .td-step-body{-ms-flex:1;box-sizing:border-box;flex:1;overflow-x:hidden}:host .td-step-body .td-step-content-wrapper.ng-animating,:host .td-step-body .td-step-summary.ng-animating{overflow:hidden}:host .td-step-body .td-step-content{overflow-x:auto}:host .td-step-body .td-step-actions{-ms-flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row}"]
|
1010
|
+
}] }
|
1011
|
+
];
|
1012
|
+
TdStepBodyComponent.propDecorators = {
|
1013
|
+
contentRef: [{ type: core.ViewChild, args: ['contentRef', { read: core.ElementRef, static: true },] }],
|
1014
|
+
actionsRef: [{ type: core.ViewChild, args: ['actionsRef', { read: core.ElementRef, static: true },] }],
|
1015
|
+
summaryRef: [{ type: core.ViewChild, args: ['summaryRef', { read: core.ElementRef, static: true },] }],
|
1016
|
+
active: [{ type: core.Input }],
|
1017
|
+
state: [{ type: core.Input }]
|
1018
|
+
};
|
1088
1019
|
if (false) {
|
1089
1020
|
/** @type {?} */
|
1090
1021
|
TdStepBodyComponent.prototype.contentRef;
|
@@ -1107,12 +1038,12 @@
|
|
1107
1038
|
TdStepBodyComponent.prototype.state;
|
1108
1039
|
}
|
1109
1040
|
|
1110
|
-
/**
|
1111
|
-
* @fileoverview added by tsickle
|
1112
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1113
|
-
*/
|
1114
1041
|
var TdNavStepLinkComponent = /** @class */ (function (_super) {
|
1115
1042
|
__extends(TdNavStepLinkComponent, _super);
|
1043
|
+
/**
|
1044
|
+
* @param {?} _changeDetectorRef
|
1045
|
+
* @param {?} elementRef
|
1046
|
+
*/
|
1116
1047
|
function TdNavStepLinkComponent(_changeDetectorRef, elementRef) {
|
1117
1048
|
var _this = _super.call(this) || this;
|
1118
1049
|
_this._changeDetectorRef = _changeDetectorRef;
|
@@ -1122,25 +1053,20 @@
|
|
1122
1053
|
return _this;
|
1123
1054
|
}
|
1124
1055
|
Object.defineProperty(TdNavStepLinkComponent.prototype, "state", {
|
1125
|
-
|
1056
|
+
/**
|
1126
1057
|
* @return {?}
|
1127
1058
|
*/
|
1128
|
-
function () {
|
1059
|
+
get: function () {
|
1129
1060
|
return this._state;
|
1130
1061
|
},
|
1131
1062
|
/**
|
1132
|
-
* state?: StepState or ['none' | 'required' | 'complete']
|
1133
|
-
* Sets state of component depending on value.
|
1134
|
-
* Defaults to [StepState.None | 'none'].
|
1135
|
-
*/
|
1136
|
-
set: /**
|
1137
1063
|
* state?: StepState or ['none' | 'required' | 'complete']
|
1138
1064
|
* Sets state of component depending on value.
|
1139
1065
|
* Defaults to [StepState.None | 'none'].
|
1140
1066
|
* @param {?} state
|
1141
1067
|
* @return {?}
|
1142
1068
|
*/
|
1143
|
-
function (state) {
|
1069
|
+
set: function (state) {
|
1144
1070
|
switch (state) {
|
1145
1071
|
case StepState.Complete:
|
1146
1072
|
this._state = StepState.Complete;
|
@@ -1153,78 +1079,70 @@
|
|
1153
1079
|
break;
|
1154
1080
|
}
|
1155
1081
|
},
|
1156
|
-
enumerable:
|
1082
|
+
enumerable: false,
|
1157
1083
|
configurable: true
|
1158
1084
|
});
|
1159
1085
|
Object.defineProperty(TdNavStepLinkComponent.prototype, "active", {
|
1160
|
-
|
1086
|
+
/**
|
1161
1087
|
* @return {?}
|
1162
1088
|
*/
|
1163
|
-
function () {
|
1089
|
+
get: function () {
|
1164
1090
|
return this._active;
|
1165
1091
|
},
|
1166
1092
|
/**
|
1167
|
-
* active?: boolean
|
1168
|
-
* Toggles component between active/deactive.
|
1169
|
-
*/
|
1170
|
-
set: /**
|
1171
1093
|
* active?: boolean
|
1172
1094
|
* Toggles component between active/deactive.
|
1173
1095
|
* @param {?} active
|
1174
1096
|
* @return {?}
|
1175
1097
|
*/
|
1176
|
-
function (active) {
|
1098
|
+
set: function (active) {
|
1177
1099
|
this._active = coercion.coerceBooleanProperty(active);
|
1178
1100
|
this._changeDetectorRef.markForCheck();
|
1179
1101
|
},
|
1180
|
-
enumerable:
|
1102
|
+
enumerable: false,
|
1181
1103
|
configurable: true
|
1182
1104
|
});
|
1183
1105
|
/**
|
1184
1106
|
* @param {?} click
|
1185
1107
|
* @return {?}
|
1186
1108
|
*/
|
1187
|
-
TdNavStepLinkComponent.prototype._handleClick =
|
1188
|
-
* @param {?} click
|
1189
|
-
* @return {?}
|
1190
|
-
*/
|
1191
|
-
function (click) {
|
1109
|
+
TdNavStepLinkComponent.prototype._handleClick = function (click) {
|
1192
1110
|
if (this.disabled) {
|
1193
1111
|
click.preventDefault();
|
1194
1112
|
click.stopImmediatePropagation();
|
1195
1113
|
}
|
1196
1114
|
};
|
1197
|
-
TdNavStepLinkComponent.decorators = [
|
1198
|
-
{ type: core.Component, args: [{
|
1199
|
-
selector: '[td-step-link],[tdStepLink]',
|
1200
|
-
template: "<td-step-header\n class=\"td-step-header-wrapper\"\n [tabIndex]=\"-1\"\n [number]=\"number\"\n [active]=\"active\"\n [disableRipple]=\"disableRipple || disabled\"\n [disabled]=\"disabled\"\n [state]=\"state\"\n>\n <ng-template td-step-header-label [ngIf]=\"true\">{{ label }}</ng-template>\n <ng-template td-step-header-sublabel [ngIf]=\"true\">{{ sublabel | truncate: 30 }}</ng-template>\n <ng-content></ng-content>\n</td-step-header>\n",
|
1201
|
-
inputs: ['disabled', 'disableRipple'],
|
1202
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
1203
|
-
/* tslint:disable-next-line */
|
1204
|
-
host: {
|
1205
|
-
'[class.td-step-link]': 'true',
|
1206
|
-
'[attr.tabindex]': 'disabled ? -1 : (tabIndex || 0)',
|
1207
|
-
'[attr.disabled]': 'disabled || null',
|
1208
|
-
'[class.mat-disabled]': 'disabled || null',
|
1209
|
-
'(click)': '_handleClick($event)',
|
1210
|
-
},
|
1211
|
-
styles: [":host{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.mat-disabled{pointer-events:none}:host .td-step-header-wrapper{width:100%}"]
|
1212
|
-
}] }
|
1213
|
-
];
|
1214
|
-
/** @nocollapse */
|
1215
|
-
TdNavStepLinkComponent.ctorParameters = function () { return [
|
1216
|
-
{ type: core.ChangeDetectorRef },
|
1217
|
-
{ type: core.ElementRef }
|
1218
|
-
]; };
|
1219
|
-
TdNavStepLinkComponent.propDecorators = {
|
1220
|
-
state: [{ type: core.Input, args: ['state',] }],
|
1221
|
-
label: [{ type: core.Input }],
|
1222
|
-
sublabel: [{ type: core.Input }],
|
1223
|
-
active: [{ type: core.Input, args: ['active',] }],
|
1224
|
-
tabIndex: [{ type: core.Input }]
|
1225
|
-
};
|
1226
1115
|
return TdNavStepLinkComponent;
|
1227
1116
|
}(_TdStepMixinBase));
|
1117
|
+
TdNavStepLinkComponent.decorators = [
|
1118
|
+
{ type: core.Component, args: [{
|
1119
|
+
selector: '[td-step-link],[tdStepLink]',
|
1120
|
+
template: "<td-step-header\n class=\"td-step-header-wrapper\"\n [tabIndex]=\"-1\"\n [number]=\"number\"\n [active]=\"active\"\n [disableRipple]=\"disableRipple || disabled\"\n [disabled]=\"disabled\"\n [state]=\"state\"\n>\n <ng-template td-step-header-label [ngIf]=\"true\">{{ label }}</ng-template>\n <ng-template td-step-header-sublabel [ngIf]=\"true\">{{ sublabel | truncate: 30 }}</ng-template>\n <ng-content></ng-content>\n</td-step-header>\n",
|
1121
|
+
inputs: ['disabled', 'disableRipple'],
|
1122
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
1123
|
+
/* tslint:disable-next-line */
|
1124
|
+
host: {
|
1125
|
+
'[class.td-step-link]': 'true',
|
1126
|
+
'[attr.tabindex]': 'disabled ? -1 : (tabIndex || 0)',
|
1127
|
+
'[attr.disabled]': 'disabled || null',
|
1128
|
+
'[class.mat-disabled]': 'disabled || null',
|
1129
|
+
'(click)': '_handleClick($event)',
|
1130
|
+
},
|
1131
|
+
styles: [":host{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%}:host.mat-disabled{pointer-events:none}:host .td-step-header-wrapper{width:100%}"]
|
1132
|
+
}] }
|
1133
|
+
];
|
1134
|
+
/** @nocollapse */
|
1135
|
+
TdNavStepLinkComponent.ctorParameters = function () { return [
|
1136
|
+
{ type: core.ChangeDetectorRef },
|
1137
|
+
{ type: core.ElementRef }
|
1138
|
+
]; };
|
1139
|
+
TdNavStepLinkComponent.propDecorators = {
|
1140
|
+
state: [{ type: core.Input, args: ['state',] }],
|
1141
|
+
label: [{ type: core.Input }],
|
1142
|
+
sublabel: [{ type: core.Input }],
|
1143
|
+
active: [{ type: core.Input, args: ['active',] }],
|
1144
|
+
tabIndex: [{ type: core.Input }]
|
1145
|
+
};
|
1228
1146
|
if (false) {
|
1229
1147
|
/**
|
1230
1148
|
* @type {?}
|
@@ -1269,9 +1187,17 @@
|
|
1269
1187
|
|
1270
1188
|
/**
|
1271
1189
|
* @fileoverview added by tsickle
|
1272
|
-
*
|
1190
|
+
* Generated from: nav/nav-steps-horizontal/nav-steps-horizontal.component.ts
|
1191
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1273
1192
|
*/
|
1274
1193
|
var TdNavStepsHorizontalComponent = /** @class */ (function () {
|
1194
|
+
/**
|
1195
|
+
* @param {?} _elementRef
|
1196
|
+
* @param {?} _viewportRuler
|
1197
|
+
* @param {?} _dir
|
1198
|
+
* @param {?} _renderer
|
1199
|
+
* @param {?} _changeDetectorRef
|
1200
|
+
*/
|
1275
1201
|
function TdNavStepsHorizontalComponent(_elementRef, _viewportRuler, _dir, _renderer, _changeDetectorRef) {
|
1276
1202
|
this._elementRef = _elementRef;
|
1277
1203
|
this._viewportRuler = _viewportRuler;
|
@@ -1301,17 +1227,14 @@
|
|
1301
1227
|
}
|
1302
1228
|
Object.defineProperty(TdNavStepsHorizontalComponent.prototype, "nativeElementWidth", {
|
1303
1229
|
/*
|
1304
|
-
* Current width of the element container
|
1305
|
-
*/
|
1306
|
-
get: /*
|
1307
1230
|
* Current width of the element container
|
1308
1231
|
*/
|
1309
1232
|
/**
|
1310
1233
|
* @return {?}
|
1311
1234
|
*/
|
1312
|
-
function () {
|
1235
|
+
get: function () {
|
1313
1236
|
/** @type {?} */
|
1314
|
-
var element = (/** @type {?} */
|
1237
|
+
var element = ( /** @type {?} */(this._elementRef.nativeElement));
|
1315
1238
|
// Need to take into account border, margin and padding that might be around all the crumbs
|
1316
1239
|
/** @type {?} */
|
1317
1240
|
var style = window.getComputedStyle(element);
|
@@ -1335,23 +1258,19 @@
|
|
1335
1258
|
paddingLeft -
|
1336
1259
|
paddingRight);
|
1337
1260
|
},
|
1338
|
-
enumerable:
|
1261
|
+
enumerable: false,
|
1339
1262
|
configurable: true
|
1340
1263
|
});
|
1341
1264
|
/**
|
1342
1265
|
* @return {?}
|
1343
1266
|
*/
|
1344
|
-
TdNavStepsHorizontalComponent.prototype.ngAfterContentInit =
|
1345
|
-
* @return {?}
|
1346
|
-
*/
|
1347
|
-
function () {
|
1267
|
+
TdNavStepsHorizontalComponent.prototype.ngAfterContentInit = function () {
|
1348
1268
|
var _this = this;
|
1349
1269
|
rxjs.merge(this._widthSubject.asObservable().pipe(operators.distinctUntilChanged()), this._viewportRuler.change(150), this._dir ? this._dir.change : rxjs.of(undefined), this._steps.changes)
|
1350
1270
|
.pipe(operators.takeUntil(this._destroyed))
|
1351
|
-
.subscribe((/**
|
1352
|
-
|
1353
|
-
|
1354
|
-
function () {
|
1271
|
+
.subscribe(( /**
|
1272
|
+
* @return {?}
|
1273
|
+
*/function () {
|
1355
1274
|
_this._configureSteps();
|
1356
1275
|
_this.updatePagination();
|
1357
1276
|
_this._changeDetectorRef.markForCheck();
|
@@ -1362,10 +1281,7 @@
|
|
1362
1281
|
/**
|
1363
1282
|
* @return {?}
|
1364
1283
|
*/
|
1365
|
-
TdNavStepsHorizontalComponent.prototype.ngAfterContentChecked =
|
1366
|
-
* @return {?}
|
1367
|
-
*/
|
1368
|
-
function () {
|
1284
|
+
TdNavStepsHorizontalComponent.prototype.ngAfterContentChecked = function () {
|
1369
1285
|
if (this._elementRef && this._elementRef.nativeElement) {
|
1370
1286
|
this._widthSubject.next(this.nativeElementWidth);
|
1371
1287
|
}
|
@@ -1378,27 +1294,16 @@
|
|
1378
1294
|
/**
|
1379
1295
|
* @return {?}
|
1380
1296
|
*/
|
1381
|
-
TdNavStepsHorizontalComponent.prototype.ngOnDestroy =
|
1382
|
-
* @return {?}
|
1383
|
-
*/
|
1384
|
-
function () {
|
1297
|
+
TdNavStepsHorizontalComponent.prototype.ngOnDestroy = function () {
|
1385
1298
|
this._destroyed.next();
|
1386
1299
|
this._destroyed.complete();
|
1387
1300
|
};
|
1388
1301
|
/**
|
1389
|
-
* Listen to right and left key events to move the the viewport.
|
1390
|
-
*/
|
1391
|
-
/**
|
1392
|
-
* Listen to right and left key events to move the the viewport.
|
1393
|
-
* @param {?} event
|
1394
|
-
* @return {?}
|
1395
|
-
*/
|
1396
|
-
TdNavStepsHorizontalComponent.prototype._handleKeydown = /**
|
1397
1302
|
* Listen to right and left key events to move the the viewport.
|
1398
1303
|
* @param {?} event
|
1399
1304
|
* @return {?}
|
1400
1305
|
*/
|
1401
|
-
function (event) {
|
1306
|
+
TdNavStepsHorizontalComponent.prototype._handleKeydown = function (event) {
|
1402
1307
|
switch (event.keyCode) {
|
1403
1308
|
case keycodes.LEFT_ARROW:
|
1404
1309
|
this._scrollHeader('before');
|
@@ -1413,43 +1318,26 @@
|
|
1413
1318
|
}
|
1414
1319
|
};
|
1415
1320
|
/**
|
1416
|
-
* Updates the view whether pagination should be enabled or not.
|
1417
|
-
*/
|
1418
|
-
/**
|
1419
|
-
* Updates the view whether pagination should be enabled or not.
|
1420
|
-
* @return {?}
|
1421
|
-
*/
|
1422
|
-
TdNavStepsHorizontalComponent.prototype.updatePagination = /**
|
1423
1321
|
* Updates the view whether pagination should be enabled or not.
|
1424
1322
|
* @return {?}
|
1425
1323
|
*/
|
1426
|
-
function () {
|
1324
|
+
TdNavStepsHorizontalComponent.prototype.updatePagination = function () {
|
1427
1325
|
this._checkPaginationEnabled();
|
1428
1326
|
this._checkScrollingControls();
|
1429
1327
|
this._updateStepScrollPosition();
|
1430
1328
|
};
|
1431
|
-
/** The layout direction of the containing app. */
|
1432
1329
|
/**
|
1433
1330
|
* The layout direction of the containing app.
|
1434
1331
|
* @return {?}
|
1435
1332
|
*/
|
1436
|
-
TdNavStepsHorizontalComponent.prototype._getLayoutDirection =
|
1437
|
-
* The layout direction of the containing app.
|
1438
|
-
* @return {?}
|
1439
|
-
*/
|
1440
|
-
function () {
|
1333
|
+
TdNavStepsHorizontalComponent.prototype._getLayoutDirection = function () {
|
1441
1334
|
return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';
|
1442
1335
|
};
|
1443
|
-
/** Performs the CSS transformation on the step list that will cause the list to scroll. */
|
1444
1336
|
/**
|
1445
1337
|
* Performs the CSS transformation on the step list that will cause the list to scroll.
|
1446
1338
|
* @return {?}
|
1447
1339
|
*/
|
1448
|
-
TdNavStepsHorizontalComponent.prototype._updateStepScrollPosition =
|
1449
|
-
* Performs the CSS transformation on the step list that will cause the list to scroll.
|
1450
|
-
* @return {?}
|
1451
|
-
*/
|
1452
|
-
function () {
|
1340
|
+
TdNavStepsHorizontalComponent.prototype._updateStepScrollPosition = function () {
|
1453
1341
|
/** @type {?} */
|
1454
1342
|
var translateX = this._getLayoutDirection() === 'ltr' ? -this.scrollDistance : this.scrollDistance;
|
1455
1343
|
// Move step list the amount of pixels scrolled
|
@@ -1465,66 +1353,44 @@
|
|
1465
1353
|
}
|
1466
1354
|
};
|
1467
1355
|
Object.defineProperty(TdNavStepsHorizontalComponent.prototype, "scrollDistance", {
|
1468
|
-
/**
|
1469
|
-
get: /**
|
1356
|
+
/**
|
1470
1357
|
* Sets the distance in pixels that the step header should be transformed in the X-axis.
|
1471
1358
|
* @return {?}
|
1472
1359
|
*/
|
1473
|
-
function () {
|
1360
|
+
get: function () {
|
1474
1361
|
return this._scrollDistance;
|
1475
1362
|
},
|
1476
|
-
|
1363
|
+
/**
|
1477
1364
|
* @param {?} v
|
1478
1365
|
* @return {?}
|
1479
1366
|
*/
|
1480
|
-
function (v) {
|
1367
|
+
set: function (v) {
|
1481
1368
|
this._scrollDistance = Math.max(0, Math.min(this._getMaxScrollDistance(), v));
|
1482
1369
|
// Mark that the scroll distance has changed so that after the view is checked, the CSS
|
1483
1370
|
// transformation can move the header.
|
1484
1371
|
this._scrollDistanceChanged = true;
|
1485
1372
|
this._checkScrollingControls();
|
1486
1373
|
},
|
1487
|
-
enumerable:
|
1374
|
+
enumerable: false,
|
1488
1375
|
configurable: true
|
1489
1376
|
});
|
1490
|
-
/**
|
1491
|
-
* Moves the step list in the 'before' or 'after' direction (towards the beginning of the list or
|
1492
|
-
* the end of the list, respectively).
|
1493
|
-
*/
|
1494
1377
|
/**
|
1495
1378
|
* Moves the step list in the 'before' or 'after' direction (towards the beginning of the list or
|
1496
1379
|
* the end of the list, respectively).
|
1497
1380
|
* @param {?} scrollDir
|
1498
1381
|
* @return {?}
|
1499
1382
|
*/
|
1500
|
-
TdNavStepsHorizontalComponent.prototype._scrollHeader =
|
1501
|
-
* Moves the step list in the 'before' or 'after' direction (towards the beginning of the list or
|
1502
|
-
* the end of the list, respectively).
|
1503
|
-
* @param {?} scrollDir
|
1504
|
-
* @return {?}
|
1505
|
-
*/
|
1506
|
-
function (scrollDir) {
|
1383
|
+
TdNavStepsHorizontalComponent.prototype._scrollHeader = function (scrollDir) {
|
1507
1384
|
// Move the scroll distance one-half the length of the step list's viewport.
|
1508
1385
|
this.scrollDistance += ((scrollDir === 'before' ? -1 : 1) * this._stepListContainer.nativeElement.offsetWidth) / 2;
|
1509
1386
|
};
|
1510
1387
|
/**
|
1511
|
-
* Evaluate whether the pagination controls should be displayed. If the scroll width of the
|
1512
|
-
* step list is wider than the size of the header container, then the pagination controls should
|
1513
|
-
* be shown.
|
1514
|
-
*/
|
1515
|
-
/**
|
1516
|
-
* Evaluate whether the pagination controls should be displayed. If the scroll width of the
|
1517
|
-
* step list is wider than the size of the header container, then the pagination controls should
|
1518
|
-
* be shown.
|
1519
|
-
* @return {?}
|
1520
|
-
*/
|
1521
|
-
TdNavStepsHorizontalComponent.prototype._checkPaginationEnabled = /**
|
1522
1388
|
* Evaluate whether the pagination controls should be displayed. If the scroll width of the
|
1523
1389
|
* step list is wider than the size of the header container, then the pagination controls should
|
1524
1390
|
* be shown.
|
1525
1391
|
* @return {?}
|
1526
1392
|
*/
|
1527
|
-
function () {
|
1393
|
+
TdNavStepsHorizontalComponent.prototype._checkPaginationEnabled = function () {
|
1528
1394
|
/** @type {?} */
|
1529
1395
|
var isEnabled = this._stepList.nativeElement.scrollWidth > this._elementRef.nativeElement.offsetWidth;
|
1530
1396
|
if (!isEnabled) {
|
@@ -1535,12 +1401,6 @@
|
|
1535
1401
|
}
|
1536
1402
|
this._showPaginationControls = isEnabled;
|
1537
1403
|
};
|
1538
|
-
/**
|
1539
|
-
* Evaluate whether the before and after controls should be enabled or disabled.
|
1540
|
-
* If the header is at the beginning of the list (scroll distance is equal to 0) then disable the
|
1541
|
-
* before button. If the header is at the end of the list (scroll distance is equal to the
|
1542
|
-
* maximum distance we can scroll), then disable the after button.
|
1543
|
-
*/
|
1544
1404
|
/**
|
1545
1405
|
* Evaluate whether the before and after controls should be enabled or disabled.
|
1546
1406
|
* If the header is at the beginning of the list (scroll distance is equal to 0) then disable the
|
@@ -1548,67 +1408,41 @@
|
|
1548
1408
|
* maximum distance we can scroll), then disable the after button.
|
1549
1409
|
* @return {?}
|
1550
1410
|
*/
|
1551
|
-
TdNavStepsHorizontalComponent.prototype._checkScrollingControls =
|
1552
|
-
* Evaluate whether the before and after controls should be enabled or disabled.
|
1553
|
-
* If the header is at the beginning of the list (scroll distance is equal to 0) then disable the
|
1554
|
-
* before button. If the header is at the end of the list (scroll distance is equal to the
|
1555
|
-
* maximum distance we can scroll), then disable the after button.
|
1556
|
-
* @return {?}
|
1557
|
-
*/
|
1558
|
-
function () {
|
1411
|
+
TdNavStepsHorizontalComponent.prototype._checkScrollingControls = function () {
|
1559
1412
|
// Check if the pagination arrows should be activated.
|
1560
1413
|
this._disableScrollBefore = this.scrollDistance === 0;
|
1561
1414
|
this._disableScrollAfter = this.scrollDistance === this._getMaxScrollDistance();
|
1562
1415
|
this._changeDetectorRef.markForCheck();
|
1563
1416
|
};
|
1564
|
-
/**
|
1565
|
-
* Determines what is the maximum length in pixels that can be set for the scroll distance. This
|
1566
|
-
* is equal to the difference in width between the step list container and step header container.
|
1567
|
-
*/
|
1568
1417
|
/**
|
1569
1418
|
* Determines what is the maximum length in pixels that can be set for the scroll distance. This
|
1570
1419
|
* is equal to the difference in width between the step list container and step header container.
|
1571
1420
|
* @return {?}
|
1572
1421
|
*/
|
1573
|
-
TdNavStepsHorizontalComponent.prototype._getMaxScrollDistance =
|
1574
|
-
* Determines what is the maximum length in pixels that can be set for the scroll distance. This
|
1575
|
-
* is equal to the difference in width between the step list container and step header container.
|
1576
|
-
* @return {?}
|
1577
|
-
*/
|
1578
|
-
function () {
|
1422
|
+
TdNavStepsHorizontalComponent.prototype._getMaxScrollDistance = function () {
|
1579
1423
|
return this._stepList.nativeElement.scrollWidth - this._stepListContainer.nativeElement.offsetWidth || 0;
|
1580
1424
|
};
|
1581
1425
|
/**
|
1582
|
-
* Set the step line separators and display numbers
|
1583
|
-
*/
|
1584
|
-
/**
|
1585
|
-
* Set the step line separators and display numbers
|
1586
|
-
* @private
|
1587
|
-
* @return {?}
|
1588
|
-
*/
|
1589
|
-
TdNavStepsHorizontalComponent.prototype._configureSteps = /**
|
1590
1426
|
* Set the step line separators and display numbers
|
1591
1427
|
* @private
|
1592
1428
|
* @return {?}
|
1593
1429
|
*/
|
1594
|
-
function () {
|
1430
|
+
TdNavStepsHorizontalComponent.prototype._configureSteps = function () {
|
1595
1431
|
var _this = this;
|
1596
|
-
this._separators.forEach((/**
|
1432
|
+
this._separators.forEach(( /**
|
1597
1433
|
* @param {?} separator
|
1598
1434
|
* @return {?}
|
1599
|
-
*/
|
1600
|
-
function (separator) {
|
1435
|
+
*/function (separator) {
|
1601
1436
|
_this._renderer.removeChild(_this._stepList.nativeElement, separator);
|
1602
1437
|
}));
|
1603
1438
|
/** @type {?} */
|
1604
1439
|
var stepsArray = this._steps.toArray();
|
1605
1440
|
// set the index number of the step so can display that number in circle
|
1606
|
-
stepsArray.forEach((/**
|
1441
|
+
stepsArray.forEach(( /**
|
1607
1442
|
* @param {?} step
|
1608
1443
|
* @param {?} index
|
1609
1444
|
* @return {?}
|
1610
|
-
*/
|
1611
|
-
function (step, index) {
|
1445
|
+
*/function (step, index) {
|
1612
1446
|
if (index > 0 && index < stepsArray.length) {
|
1613
1447
|
/** @type {?} */
|
1614
1448
|
var separator = _this._renderer.createElement('div');
|
@@ -1619,35 +1453,35 @@
|
|
1619
1453
|
step.number = index + 1;
|
1620
1454
|
}));
|
1621
1455
|
};
|
1622
|
-
TdNavStepsHorizontalComponent.decorators = [
|
1623
|
-
{ type: core.Component, args: [{
|
1624
|
-
selector: 'nav[td-steps][horizontal]',
|
1625
|
-
template: "<div class=\"td-steps-header\">\n <div\n class=\"td-step-header-pagination td-step-header-pagination-before mat-elevation-z4\"\n aria-hidden=\"true\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollBefore\"\n [class.td-step-header-pagination-disabled]=\"_disableScrollBefore\"\n (click)=\"_scrollHeader('before')\"\n >\n <div class=\"td-step-header-pagination-chevron\"></div>\n </div>\n <div #stepListContainer class=\"td-steps-header-container\" (keydown)=\"_handleKeydown($event)\">\n <div #stepList class=\"td-steps-header-list\">\n <ng-content></ng-content>\n </div>\n </div>\n <div\n class=\"td-step-header-pagination td-step-header-pagination-after mat-elevation-z4\"\n aria-hidden=\"true\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter\"\n [class.td-step-header-pagination-disabled]=\"_disableScrollAfter\"\n (click)=\"_scrollHeader('after')\"\n >\n <div class=\"td-step-header-pagination-chevron\"></div>\n </div>\n</div>\n",
|
1626
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
1627
|
-
/* tslint:disable-next-line */
|
1628
|
-
host: {
|
1629
|
-
'class': 'td-steps td-steps-horizontal',
|
1630
|
-
'[class.td-step-header-pagination-controls-enabled]': '_showPaginationControls',
|
1631
|
-
'[class.td-step-header-rtl]': "_getLayoutDirection() == 'rtl'",
|
1632
|
-
},
|
1633
|
-
styles: [":host{width:100%;display:block}.td-steps-header,.td-steps-header-list{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.td-steps-header-container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;z-index:1}.td-steps-header-list{-ms-flex-positive:1;flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1);-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}.td-step-header-pagination{position:relative;display:none;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}:host.td-step-header-pagination-controls-enabled .td-step-header-pagination{display:-ms-flexbox;display:flex}.td-step-header-pagination-before,:host.td-step-header-rtl .td-step-header-pagination-after{padding-left:4px}.td-step-header-pagination-before .td-step-header-pagination-chevron,:host.td-step-header-rtl .td-step-header-pagination-after .td-step-header-pagination-chevron{-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.td-step-header-pagination-after,:host.td-step-header-rtl .td-step-header-pagination-before{padding-right:4px}.td-step-header-pagination-after .td-step-header-pagination-chevron,:host.td-step-header-rtl .td-step-header-pagination-before .td-step-header-pagination-chevron{-ms-transform:rotate(45deg);transform:rotate(45deg)}.td-step-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.td-step-header-pagination-disabled{box-shadow:none;cursor:default}.td-horizontal-line{border-bottom-width:1px;border-bottom-style:solid;height:1px;min-width:20px;-ms-flex:1;flex:1;box-sizing:border-box}"]
|
1634
|
-
}] }
|
1635
|
-
];
|
1636
|
-
/** @nocollapse */
|
1637
|
-
TdNavStepsHorizontalComponent.ctorParameters = function () { return [
|
1638
|
-
{ type: core.ElementRef },
|
1639
|
-
{ type: scrolling.ViewportRuler },
|
1640
|
-
{ type: bidi.Directionality, decorators: [{ type: core.Optional }] },
|
1641
|
-
{ type: core.Renderer2 },
|
1642
|
-
{ type: core.ChangeDetectorRef }
|
1643
|
-
]; };
|
1644
|
-
TdNavStepsHorizontalComponent.propDecorators = {
|
1645
|
-
_steps: [{ type: core.ContentChildren, args: [TdNavStepLinkComponent, { descendants: true },] }],
|
1646
|
-
_stepListContainer: [{ type: core.ViewChild, args: ['stepListContainer', { static: true },] }],
|
1647
|
-
_stepList: [{ type: core.ViewChild, args: ['stepList', { static: true },] }]
|
1648
|
-
};
|
1649
1456
|
return TdNavStepsHorizontalComponent;
|
1650
1457
|
}());
|
1458
|
+
TdNavStepsHorizontalComponent.decorators = [
|
1459
|
+
{ type: core.Component, args: [{
|
1460
|
+
selector: 'nav[td-steps][horizontal]',
|
1461
|
+
template: "<div class=\"td-steps-header\">\n <div\n class=\"td-step-header-pagination td-step-header-pagination-before mat-elevation-z4\"\n aria-hidden=\"true\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollBefore\"\n [class.td-step-header-pagination-disabled]=\"_disableScrollBefore\"\n (click)=\"_scrollHeader('before')\"\n >\n <div class=\"td-step-header-pagination-chevron\"></div>\n </div>\n <div #stepListContainer class=\"td-steps-header-container\" (keydown)=\"_handleKeydown($event)\">\n <div #stepList class=\"td-steps-header-list\">\n <ng-content></ng-content>\n </div>\n </div>\n <div\n class=\"td-step-header-pagination td-step-header-pagination-after mat-elevation-z4\"\n aria-hidden=\"true\"\n mat-ripple\n [matRippleDisabled]=\"_disableScrollAfter\"\n [class.td-step-header-pagination-disabled]=\"_disableScrollAfter\"\n (click)=\"_scrollHeader('after')\"\n >\n <div class=\"td-step-header-pagination-chevron\"></div>\n </div>\n</div>\n",
|
1462
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
1463
|
+
/* tslint:disable-next-line */
|
1464
|
+
host: {
|
1465
|
+
'class': 'td-steps td-steps-horizontal',
|
1466
|
+
'[class.td-step-header-pagination-controls-enabled]': '_showPaginationControls',
|
1467
|
+
'[class.td-step-header-rtl]': "_getLayoutDirection() == 'rtl'",
|
1468
|
+
},
|
1469
|
+
styles: [":host{display:block;width:100%}.td-steps-header,.td-steps-header-list{-ms-flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row}.td-steps-header-container{-ms-flex-positive:1;display:-ms-flexbox;display:flex;flex-grow:1;overflow:hidden;z-index:1}.td-steps-header-list{-ms-flex-align:center;-ms-flex-line-pack:center;-ms-flex-pack:start;-ms-flex-positive:1;align-content:center;align-items:center;flex-grow:1;justify-content:flex-start;max-width:100%;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.td-step-header-pagination{-ms-flex-align:center;-ms-flex-pack:center;align-items:center;cursor:pointer;display:none;justify-content:center;min-width:32px;position:relative;z-index:2}:host.td-step-header-pagination-controls-enabled .td-step-header-pagination{display:-ms-flexbox;display:flex}.td-step-header-pagination-before,:host.td-step-header-rtl .td-step-header-pagination-after{padding-left:4px}.td-step-header-pagination-before .td-step-header-pagination-chevron,:host.td-step-header-rtl .td-step-header-pagination-after .td-step-header-pagination-chevron{-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.td-step-header-pagination-after,:host.td-step-header-rtl .td-step-header-pagination-before{padding-right:4px}.td-step-header-pagination-after .td-step-header-pagination-chevron,:host.td-step-header-rtl .td-step-header-pagination-before .td-step-header-pagination-chevron{-ms-transform:rotate(45deg);transform:rotate(45deg)}.td-step-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:\"\";height:8px;width:8px}.td-step-header-pagination-disabled{box-shadow:none;cursor:default}.td-horizontal-line{-ms-flex:1;border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;flex:1;height:1px;min-width:20px}"]
|
1470
|
+
}] }
|
1471
|
+
];
|
1472
|
+
/** @nocollapse */
|
1473
|
+
TdNavStepsHorizontalComponent.ctorParameters = function () { return [
|
1474
|
+
{ type: core.ElementRef },
|
1475
|
+
{ type: scrolling.ViewportRuler },
|
1476
|
+
{ type: bidi.Directionality, decorators: [{ type: core.Optional }] },
|
1477
|
+
{ type: core.Renderer2 },
|
1478
|
+
{ type: core.ChangeDetectorRef }
|
1479
|
+
]; };
|
1480
|
+
TdNavStepsHorizontalComponent.propDecorators = {
|
1481
|
+
_steps: [{ type: core.ContentChildren, args: [TdNavStepLinkComponent, { descendants: true },] }],
|
1482
|
+
_stepListContainer: [{ type: core.ViewChild, args: ['stepListContainer', { static: true },] }],
|
1483
|
+
_stepList: [{ type: core.ViewChild, args: ['stepList', { static: true },] }]
|
1484
|
+
};
|
1651
1485
|
if (false) {
|
1652
1486
|
/**
|
1653
1487
|
* @type {?}
|
@@ -1725,9 +1559,14 @@
|
|
1725
1559
|
|
1726
1560
|
/**
|
1727
1561
|
* @fileoverview added by tsickle
|
1728
|
-
*
|
1562
|
+
* Generated from: nav/nav-steps-vertical/nav-steps-vertical.component.ts
|
1563
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1729
1564
|
*/
|
1730
1565
|
var TdNavStepsVerticalComponent = /** @class */ (function () {
|
1566
|
+
/**
|
1567
|
+
* @param {?} _renderer
|
1568
|
+
* @param {?} _changeDetectorRef
|
1569
|
+
*/
|
1731
1570
|
function TdNavStepsVerticalComponent(_renderer, _changeDetectorRef) {
|
1732
1571
|
this._renderer = _renderer;
|
1733
1572
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -1740,15 +1579,11 @@
|
|
1740
1579
|
/**
|
1741
1580
|
* @return {?}
|
1742
1581
|
*/
|
1743
|
-
TdNavStepsVerticalComponent.prototype.ngAfterContentInit =
|
1744
|
-
* @return {?}
|
1745
|
-
*/
|
1746
|
-
function () {
|
1582
|
+
TdNavStepsVerticalComponent.prototype.ngAfterContentInit = function () {
|
1747
1583
|
var _this = this;
|
1748
|
-
this._steps.changes.pipe(operators.takeUntil(this._destroyed)).subscribe((/**
|
1584
|
+
this._steps.changes.pipe(operators.takeUntil(this._destroyed)).subscribe(( /**
|
1749
1585
|
* @return {?}
|
1750
|
-
*/
|
1751
|
-
function () {
|
1586
|
+
*/function () {
|
1752
1587
|
_this._configureSteps();
|
1753
1588
|
_this._changeDetectorRef.markForCheck();
|
1754
1589
|
}));
|
@@ -1758,44 +1593,31 @@
|
|
1758
1593
|
/**
|
1759
1594
|
* @return {?}
|
1760
1595
|
*/
|
1761
|
-
TdNavStepsVerticalComponent.prototype.ngOnDestroy =
|
1762
|
-
* @return {?}
|
1763
|
-
*/
|
1764
|
-
function () {
|
1596
|
+
TdNavStepsVerticalComponent.prototype.ngOnDestroy = function () {
|
1765
1597
|
this._destroyed.next();
|
1766
1598
|
this._destroyed.complete();
|
1767
1599
|
};
|
1768
|
-
/**
|
1769
|
-
* Set the step line separators and display numbers
|
1770
|
-
*/
|
1771
1600
|
/**
|
1772
1601
|
* Set the step line separators and display numbers
|
1773
1602
|
* @private
|
1774
1603
|
* @return {?}
|
1775
1604
|
*/
|
1776
|
-
TdNavStepsVerticalComponent.prototype._configureSteps =
|
1777
|
-
* Set the step line separators and display numbers
|
1778
|
-
* @private
|
1779
|
-
* @return {?}
|
1780
|
-
*/
|
1781
|
-
function () {
|
1605
|
+
TdNavStepsVerticalComponent.prototype._configureSteps = function () {
|
1782
1606
|
var _this = this;
|
1783
|
-
this._separators.forEach((/**
|
1607
|
+
this._separators.forEach(( /**
|
1784
1608
|
* @param {?} separator
|
1785
1609
|
* @return {?}
|
1786
|
-
*/
|
1787
|
-
function (separator) {
|
1610
|
+
*/function (separator) {
|
1788
1611
|
_this._renderer.removeChild(_this._stepList.nativeElement, separator);
|
1789
1612
|
}));
|
1790
1613
|
/** @type {?} */
|
1791
1614
|
var stepsArray = this._steps.toArray();
|
1792
1615
|
// set the index number of the step so can display that number in circle
|
1793
|
-
stepsArray.forEach((/**
|
1616
|
+
stepsArray.forEach(( /**
|
1794
1617
|
* @param {?} step
|
1795
1618
|
* @param {?} index
|
1796
1619
|
* @return {?}
|
1797
|
-
*/
|
1798
|
-
function (step, index) {
|
1620
|
+
*/function (step, index) {
|
1799
1621
|
if (index > 0 && index < stepsArray.length) {
|
1800
1622
|
/** @type {?} */
|
1801
1623
|
var separator = _this._renderer.createElement('div');
|
@@ -1810,29 +1632,29 @@
|
|
1810
1632
|
step.number = index + 1;
|
1811
1633
|
}));
|
1812
1634
|
};
|
1813
|
-
TdNavStepsVerticalComponent.decorators = [
|
1814
|
-
{ type: core.Component, args: [{
|
1815
|
-
selector: 'nav[td-steps][vertical]',
|
1816
|
-
template: "<div class=\"td-steps-header\">\n <div class=\"td-steps-header-container\">\n <div #stepList class=\"td-steps-header-list\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n",
|
1817
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
1818
|
-
/* tslint:disable-next-line */
|
1819
|
-
host: {
|
1820
|
-
class: 'td-steps td-steps-vertical',
|
1821
|
-
},
|
1822
|
-
styles: [".td-vertical-line-wrapper{position:relative}.td-vertical-line-wrapper .td-vertical-line{position:absolute;top:-16px;height:34px;border-left-width:1px;border-left-style:solid}::ng-deep :not([dir=rtl]) .td-vertical-line-wrapper .td-vertical-line{left:20px;right:auto}::ng-deep [dir=rtl] .td-vertical-line-wrapper .td-vertical-line{left:auto;right:20px}"]
|
1823
|
-
}] }
|
1824
|
-
];
|
1825
|
-
/** @nocollapse */
|
1826
|
-
TdNavStepsVerticalComponent.ctorParameters = function () { return [
|
1827
|
-
{ type: core.Renderer2 },
|
1828
|
-
{ type: core.ChangeDetectorRef }
|
1829
|
-
]; };
|
1830
|
-
TdNavStepsVerticalComponent.propDecorators = {
|
1831
|
-
_steps: [{ type: core.ContentChildren, args: [TdNavStepLinkComponent, { descendants: true },] }],
|
1832
|
-
_stepList: [{ type: core.ViewChild, args: ['stepList', { static: true },] }]
|
1833
|
-
};
|
1834
1635
|
return TdNavStepsVerticalComponent;
|
1835
1636
|
}());
|
1637
|
+
TdNavStepsVerticalComponent.decorators = [
|
1638
|
+
{ type: core.Component, args: [{
|
1639
|
+
selector: 'nav[td-steps][vertical]',
|
1640
|
+
template: "<div class=\"td-steps-header\">\n <div class=\"td-steps-header-container\">\n <div #stepList class=\"td-steps-header-list\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n",
|
1641
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
1642
|
+
/* tslint:disable-next-line */
|
1643
|
+
host: {
|
1644
|
+
class: 'td-steps td-steps-vertical',
|
1645
|
+
},
|
1646
|
+
styles: [".td-vertical-line-wrapper{position:relative}.td-vertical-line-wrapper .td-vertical-line{border-left-style:solid;border-left-width:1px;height:34px;position:absolute;top:-16px}::ng-deep :not([dir=rtl]) .td-vertical-line-wrapper .td-vertical-line{left:20px;right:auto}::ng-deep [dir=rtl] .td-vertical-line-wrapper .td-vertical-line{left:auto;right:20px}"]
|
1647
|
+
}] }
|
1648
|
+
];
|
1649
|
+
/** @nocollapse */
|
1650
|
+
TdNavStepsVerticalComponent.ctorParameters = function () { return [
|
1651
|
+
{ type: core.Renderer2 },
|
1652
|
+
{ type: core.ChangeDetectorRef }
|
1653
|
+
]; };
|
1654
|
+
TdNavStepsVerticalComponent.propDecorators = {
|
1655
|
+
_steps: [{ type: core.ContentChildren, args: [TdNavStepLinkComponent, { descendants: true },] }],
|
1656
|
+
_stepList: [{ type: core.ViewChild, args: ['stepList', { static: true },] }]
|
1657
|
+
};
|
1836
1658
|
if (false) {
|
1837
1659
|
/**
|
1838
1660
|
* @type {?}
|
@@ -1863,7 +1685,8 @@
|
|
1863
1685
|
|
1864
1686
|
/**
|
1865
1687
|
* @fileoverview added by tsickle
|
1866
|
-
*
|
1688
|
+
* Generated from: steps.module.ts
|
1689
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1867
1690
|
*/
|
1868
1691
|
/** @type {?} */
|
1869
1692
|
var TD_STEPS = [
|
@@ -1881,15 +1704,33 @@
|
|
1881
1704
|
var CovalentStepsModule = /** @class */ (function () {
|
1882
1705
|
function CovalentStepsModule() {
|
1883
1706
|
}
|
1884
|
-
CovalentStepsModule.decorators = [
|
1885
|
-
{ type: core.NgModule, args: [{
|
1886
|
-
imports: [common.CommonModule, icon.MatIconModule, core$1.MatRippleModule, portal.PortalModule, scrolling.ScrollingModule, common$1.CovalentCommonModule],
|
1887
|
-
declarations: [TD_STEPS],
|
1888
|
-
exports: [TD_STEPS],
|
1889
|
-
},] }
|
1890
|
-
];
|
1891
1707
|
return CovalentStepsModule;
|
1892
1708
|
}());
|
1709
|
+
CovalentStepsModule.decorators = [
|
1710
|
+
{ type: core.NgModule, args: [{
|
1711
|
+
imports: [common$1.CommonModule, icon.MatIconModule, core$1.MatRippleModule, portal.PortalModule, scrolling.ScrollingModule, common.CovalentCommonModule],
|
1712
|
+
declarations: [TD_STEPS],
|
1713
|
+
exports: [TD_STEPS],
|
1714
|
+
},] }
|
1715
|
+
];
|
1716
|
+
|
1717
|
+
/**
|
1718
|
+
* @fileoverview added by tsickle
|
1719
|
+
* Generated from: public-api.ts
|
1720
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1721
|
+
*/
|
1722
|
+
|
1723
|
+
/**
|
1724
|
+
* @fileoverview added by tsickle
|
1725
|
+
* Generated from: index.ts
|
1726
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1727
|
+
*/
|
1728
|
+
|
1729
|
+
/**
|
1730
|
+
* @fileoverview added by tsickle
|
1731
|
+
* Generated from: covalent-core-steps.ts
|
1732
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1733
|
+
*/
|
1893
1734
|
|
1894
1735
|
exports.CovalentStepsModule = CovalentStepsModule;
|
1895
1736
|
exports.StepMode = StepMode;
|