@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,494 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
import { __extends } from "tslib";
|
6
|
-
import { Injectable, SkipSelf, Optional } from '@angular/core';
|
7
|
-
import { LoadingMode, LoadingStrategy, LoadingType } from '../loading.component';
|
8
|
-
import { TdLoadingFactory } from './loading.factory';
|
9
|
-
/**
|
10
|
-
* @record
|
11
|
-
*/
|
12
|
-
export function ITdLoadingConfig() { }
|
13
|
-
if (false) {
|
14
|
-
/** @type {?} */
|
15
|
-
ITdLoadingConfig.prototype.name;
|
16
|
-
/** @type {?|undefined} */
|
17
|
-
ITdLoadingConfig.prototype.type;
|
18
|
-
/** @type {?|undefined} */
|
19
|
-
ITdLoadingConfig.prototype.mode;
|
20
|
-
/** @type {?|undefined} */
|
21
|
-
ITdLoadingConfig.prototype.color;
|
22
|
-
}
|
23
|
-
var TdLoadingConfig = /** @class */ (function () {
|
24
|
-
function TdLoadingConfig(config) {
|
25
|
-
this.name = config.name;
|
26
|
-
if (!this.name) {
|
27
|
-
throw Error('Name is required for [TdLoading] configuration.');
|
28
|
-
}
|
29
|
-
this.mode = config.mode ? config.mode : LoadingMode.Indeterminate;
|
30
|
-
this.type = config.type ? config.type : LoadingType.Circular;
|
31
|
-
this.color = config.color ? config.color : 'primary';
|
32
|
-
}
|
33
|
-
return TdLoadingConfig;
|
34
|
-
}());
|
35
|
-
export { TdLoadingConfig };
|
36
|
-
if (false) {
|
37
|
-
/** @type {?} */
|
38
|
-
TdLoadingConfig.prototype.name;
|
39
|
-
/** @type {?} */
|
40
|
-
TdLoadingConfig.prototype.type;
|
41
|
-
/** @type {?} */
|
42
|
-
TdLoadingConfig.prototype.mode;
|
43
|
-
/** @type {?} */
|
44
|
-
TdLoadingConfig.prototype.color;
|
45
|
-
}
|
46
|
-
/**
|
47
|
-
* @record
|
48
|
-
*/
|
49
|
-
export function ITdLoadingDirectiveConfig() { }
|
50
|
-
if (false) {
|
51
|
-
/** @type {?|undefined} */
|
52
|
-
ITdLoadingDirectiveConfig.prototype.strategy;
|
53
|
-
}
|
54
|
-
var TdLoadingDirectiveConfig = /** @class */ (function (_super) {
|
55
|
-
__extends(TdLoadingDirectiveConfig, _super);
|
56
|
-
function TdLoadingDirectiveConfig(config) {
|
57
|
-
var _this = _super.call(this, config) || this;
|
58
|
-
_this.strategy = config.strategy ? config.strategy : LoadingStrategy.Replace;
|
59
|
-
return _this;
|
60
|
-
}
|
61
|
-
return TdLoadingDirectiveConfig;
|
62
|
-
}(TdLoadingConfig));
|
63
|
-
export { TdLoadingDirectiveConfig };
|
64
|
-
if (false) {
|
65
|
-
/** @type {?} */
|
66
|
-
TdLoadingDirectiveConfig.prototype.name;
|
67
|
-
/** @type {?} */
|
68
|
-
TdLoadingDirectiveConfig.prototype.type;
|
69
|
-
/** @type {?} */
|
70
|
-
TdLoadingDirectiveConfig.prototype.mode;
|
71
|
-
/** @type {?} */
|
72
|
-
TdLoadingDirectiveConfig.prototype.strategy;
|
73
|
-
}
|
74
|
-
var TdLoadingService = /** @class */ (function () {
|
75
|
-
function TdLoadingService(_loadingFactory) {
|
76
|
-
this._loadingFactory = _loadingFactory;
|
77
|
-
this._context = {};
|
78
|
-
this._timeouts = {};
|
79
|
-
this.create({
|
80
|
-
name: 'td-loading-main',
|
81
|
-
});
|
82
|
-
}
|
83
|
-
/**
|
84
|
-
* params:
|
85
|
-
* - config: ILoadingDirectiveConfig
|
86
|
-
* - viewContainerRef: ViewContainerRef
|
87
|
-
* - templateRef: TemplateRef<Object>
|
88
|
-
*
|
89
|
-
* Creates an replace loading mask and attaches it to the viewContainerRef.
|
90
|
-
* Replaces the templateRef with the mask when a request is registered on it.
|
91
|
-
*
|
92
|
-
* NOTE: @internal usage only.
|
93
|
-
*/
|
94
|
-
/**
|
95
|
-
* params:
|
96
|
-
* - config: ILoadingDirectiveConfig
|
97
|
-
* - viewContainerRef: ViewContainerRef
|
98
|
-
* - templateRef: TemplateRef<Object>
|
99
|
-
*
|
100
|
-
* Creates an replace loading mask and attaches it to the viewContainerRef.
|
101
|
-
* Replaces the templateRef with the mask when a request is registered on it.
|
102
|
-
*
|
103
|
-
* NOTE: \@internal usage only.
|
104
|
-
* @param {?} config
|
105
|
-
* @param {?} viewContainerRef
|
106
|
-
* @param {?} templateRef
|
107
|
-
* @param {?} context
|
108
|
-
* @return {?}
|
109
|
-
*/
|
110
|
-
TdLoadingService.prototype.createComponent = /**
|
111
|
-
* params:
|
112
|
-
* - config: ILoadingDirectiveConfig
|
113
|
-
* - viewContainerRef: ViewContainerRef
|
114
|
-
* - templateRef: TemplateRef<Object>
|
115
|
-
*
|
116
|
-
* Creates an replace loading mask and attaches it to the viewContainerRef.
|
117
|
-
* Replaces the templateRef with the mask when a request is registered on it.
|
118
|
-
*
|
119
|
-
* NOTE: \@internal usage only.
|
120
|
-
* @param {?} config
|
121
|
-
* @param {?} viewContainerRef
|
122
|
-
* @param {?} templateRef
|
123
|
-
* @param {?} context
|
124
|
-
* @return {?}
|
125
|
-
*/
|
126
|
-
function (config, viewContainerRef, templateRef, context) {
|
127
|
-
/** @type {?} */
|
128
|
-
var directiveConfig = new TdLoadingDirectiveConfig(config);
|
129
|
-
if (this._context[directiveConfig.name]) {
|
130
|
-
throw Error("Name duplication: [TdLoading] directive has a name conflict with " + directiveConfig.name + ".");
|
131
|
-
}
|
132
|
-
if (directiveConfig.strategy === LoadingStrategy.Overlay) {
|
133
|
-
this._context[directiveConfig.name] = this._loadingFactory.createOverlayComponent(directiveConfig, viewContainerRef, templateRef);
|
134
|
-
}
|
135
|
-
else {
|
136
|
-
this._context[directiveConfig.name] = this._loadingFactory.createReplaceComponent(directiveConfig, viewContainerRef, templateRef, context);
|
137
|
-
}
|
138
|
-
return this._context[directiveConfig.name];
|
139
|
-
};
|
140
|
-
/**
|
141
|
-
* params:
|
142
|
-
* - config: ITdLoadingConfig
|
143
|
-
*
|
144
|
-
* Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.
|
145
|
-
* Only displayed when the mask has a request registered on it.
|
146
|
-
*/
|
147
|
-
/**
|
148
|
-
* params:
|
149
|
-
* - config: ITdLoadingConfig
|
150
|
-
*
|
151
|
-
* Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.
|
152
|
-
* Only displayed when the mask has a request registered on it.
|
153
|
-
* @param {?} config
|
154
|
-
* @return {?}
|
155
|
-
*/
|
156
|
-
TdLoadingService.prototype.create = /**
|
157
|
-
* params:
|
158
|
-
* - config: ITdLoadingConfig
|
159
|
-
*
|
160
|
-
* Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.
|
161
|
-
* Only displayed when the mask has a request registered on it.
|
162
|
-
* @param {?} config
|
163
|
-
* @return {?}
|
164
|
-
*/
|
165
|
-
function (config) {
|
166
|
-
/** @type {?} */
|
167
|
-
var fullscreenConfig = new TdLoadingConfig(config);
|
168
|
-
this.removeComponent(fullscreenConfig.name);
|
169
|
-
this._context[fullscreenConfig.name] = this._loadingFactory.createFullScreenComponent(fullscreenConfig);
|
170
|
-
};
|
171
|
-
/**
|
172
|
-
* params:
|
173
|
-
* - name: string
|
174
|
-
*
|
175
|
-
* Removes `loading` component from service context.
|
176
|
-
*/
|
177
|
-
/**
|
178
|
-
* params:
|
179
|
-
* - name: string
|
180
|
-
*
|
181
|
-
* Removes `loading` component from service context.
|
182
|
-
* @param {?} name
|
183
|
-
* @return {?}
|
184
|
-
*/
|
185
|
-
TdLoadingService.prototype.removeComponent = /**
|
186
|
-
* params:
|
187
|
-
* - name: string
|
188
|
-
*
|
189
|
-
* Removes `loading` component from service context.
|
190
|
-
* @param {?} name
|
191
|
-
* @return {?}
|
192
|
-
*/
|
193
|
-
function (name) {
|
194
|
-
if (this._context[name]) {
|
195
|
-
this._context[name].subject.unsubscribe();
|
196
|
-
if (this._context[name].componentRef) {
|
197
|
-
this._context[name].componentRef.destroy();
|
198
|
-
}
|
199
|
-
this._context[name] = undefined;
|
200
|
-
delete this._context[name];
|
201
|
-
}
|
202
|
-
};
|
203
|
-
/**
|
204
|
-
* params:
|
205
|
-
* - name: string
|
206
|
-
* - registers?: number
|
207
|
-
* returns: true if successful
|
208
|
-
*
|
209
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
210
|
-
* Can optionally pass registers argument to set a number of register calls.
|
211
|
-
*
|
212
|
-
* If no paramemeters are used, then default main mask will be used.
|
213
|
-
*
|
214
|
-
* e.g. loadingService.register()
|
215
|
-
*/
|
216
|
-
/**
|
217
|
-
* params:
|
218
|
-
* - name: string
|
219
|
-
* - registers?: number
|
220
|
-
* returns: true if successful
|
221
|
-
*
|
222
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
223
|
-
* Can optionally pass registers argument to set a number of register calls.
|
224
|
-
*
|
225
|
-
* If no paramemeters are used, then default main mask will be used.
|
226
|
-
*
|
227
|
-
* e.g. loadingService.register()
|
228
|
-
* @param {?=} name
|
229
|
-
* @param {?=} registers
|
230
|
-
* @return {?}
|
231
|
-
*/
|
232
|
-
TdLoadingService.prototype.register = /**
|
233
|
-
* params:
|
234
|
-
* - name: string
|
235
|
-
* - registers?: number
|
236
|
-
* returns: true if successful
|
237
|
-
*
|
238
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
239
|
-
* Can optionally pass registers argument to set a number of register calls.
|
240
|
-
*
|
241
|
-
* If no paramemeters are used, then default main mask will be used.
|
242
|
-
*
|
243
|
-
* e.g. loadingService.register()
|
244
|
-
* @param {?=} name
|
245
|
-
* @param {?=} registers
|
246
|
-
* @return {?}
|
247
|
-
*/
|
248
|
-
function (name, registers) {
|
249
|
-
var _this = this;
|
250
|
-
if (name === void 0) { name = 'td-loading-main'; }
|
251
|
-
if (registers === void 0) { registers = 1; }
|
252
|
-
// try registering into the service if the loading component has been instanciated or if it exists.
|
253
|
-
if (this._context[name]) {
|
254
|
-
registers = registers < 1 ? 1 : registers;
|
255
|
-
this._context[name].times += registers;
|
256
|
-
this._context[name].subject.next(this._context[name].times);
|
257
|
-
return true;
|
258
|
-
}
|
259
|
-
else {
|
260
|
-
// if it doesnt exist, set a timeout so its registered after change detection happens
|
261
|
-
// this in case "register" occured on the `ngOnInit` lifehook cycle.
|
262
|
-
if (!this._timeouts[name]) {
|
263
|
-
this._timeouts[name] = setTimeout((/**
|
264
|
-
* @return {?}
|
265
|
-
*/
|
266
|
-
function () {
|
267
|
-
_this.register(name, registers);
|
268
|
-
}));
|
269
|
-
}
|
270
|
-
else {
|
271
|
-
// if it timeout occured and still doesnt exist, it means the tiemout wasnt needed so we clear it.
|
272
|
-
this._clearTimeout(name);
|
273
|
-
}
|
274
|
-
}
|
275
|
-
return false;
|
276
|
-
};
|
277
|
-
/**
|
278
|
-
* params:
|
279
|
-
* - name: string
|
280
|
-
* - resolves?: number
|
281
|
-
* returns: true if successful
|
282
|
-
*
|
283
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
284
|
-
* Can optionally pass resolves argument to set a number of resolve calls.
|
285
|
-
*
|
286
|
-
* If no paramemeters are used, then default main mask will be used.
|
287
|
-
*
|
288
|
-
* e.g. loadingService.resolve()
|
289
|
-
*/
|
290
|
-
/**
|
291
|
-
* params:
|
292
|
-
* - name: string
|
293
|
-
* - resolves?: number
|
294
|
-
* returns: true if successful
|
295
|
-
*
|
296
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
297
|
-
* Can optionally pass resolves argument to set a number of resolve calls.
|
298
|
-
*
|
299
|
-
* If no paramemeters are used, then default main mask will be used.
|
300
|
-
*
|
301
|
-
* e.g. loadingService.resolve()
|
302
|
-
* @param {?=} name
|
303
|
-
* @param {?=} resolves
|
304
|
-
* @return {?}
|
305
|
-
*/
|
306
|
-
TdLoadingService.prototype.resolve = /**
|
307
|
-
* params:
|
308
|
-
* - name: string
|
309
|
-
* - resolves?: number
|
310
|
-
* returns: true if successful
|
311
|
-
*
|
312
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
313
|
-
* Can optionally pass resolves argument to set a number of resolve calls.
|
314
|
-
*
|
315
|
-
* If no paramemeters are used, then default main mask will be used.
|
316
|
-
*
|
317
|
-
* e.g. loadingService.resolve()
|
318
|
-
* @param {?=} name
|
319
|
-
* @param {?=} resolves
|
320
|
-
* @return {?}
|
321
|
-
*/
|
322
|
-
function (name, resolves) {
|
323
|
-
if (name === void 0) { name = 'td-loading-main'; }
|
324
|
-
if (resolves === void 0) { resolves = 1; }
|
325
|
-
// clear timeout if the loading component is "resolved" before its "registered"
|
326
|
-
this._clearTimeout(name);
|
327
|
-
if (this._context[name]) {
|
328
|
-
resolves = resolves < 1 ? 1 : resolves;
|
329
|
-
if (this._context[name].times > 0) {
|
330
|
-
/** @type {?} */
|
331
|
-
var times = this._context[name].times;
|
332
|
-
times -= resolves;
|
333
|
-
this._context[name].times = times < 0 ? 0 : times;
|
334
|
-
}
|
335
|
-
this._context[name].subject.next(this._context[name].times);
|
336
|
-
return true;
|
337
|
-
}
|
338
|
-
return false;
|
339
|
-
};
|
340
|
-
/**
|
341
|
-
* params:
|
342
|
-
* - name: string
|
343
|
-
* returns: true if successful
|
344
|
-
*
|
345
|
-
* Resolves all request for the loading mask referenced by the name parameter.
|
346
|
-
*
|
347
|
-
* If no paramemeters are used, then default main mask will be used.
|
348
|
-
*
|
349
|
-
* e.g. loadingService.resolveAll()
|
350
|
-
*/
|
351
|
-
/**
|
352
|
-
* params:
|
353
|
-
* - name: string
|
354
|
-
* returns: true if successful
|
355
|
-
*
|
356
|
-
* Resolves all request for the loading mask referenced by the name parameter.
|
357
|
-
*
|
358
|
-
* If no paramemeters are used, then default main mask will be used.
|
359
|
-
*
|
360
|
-
* e.g. loadingService.resolveAll()
|
361
|
-
* @param {?=} name
|
362
|
-
* @return {?}
|
363
|
-
*/
|
364
|
-
TdLoadingService.prototype.resolveAll = /**
|
365
|
-
* params:
|
366
|
-
* - name: string
|
367
|
-
* returns: true if successful
|
368
|
-
*
|
369
|
-
* Resolves all request for the loading mask referenced by the name parameter.
|
370
|
-
*
|
371
|
-
* If no paramemeters are used, then default main mask will be used.
|
372
|
-
*
|
373
|
-
* e.g. loadingService.resolveAll()
|
374
|
-
* @param {?=} name
|
375
|
-
* @return {?}
|
376
|
-
*/
|
377
|
-
function (name) {
|
378
|
-
if (name === void 0) { name = 'td-loading-main'; }
|
379
|
-
// clear timeout if the loading component is "resolved" before its "registered"
|
380
|
-
this._clearTimeout(name);
|
381
|
-
if (this._context[name]) {
|
382
|
-
this._context[name].times = 0;
|
383
|
-
this._context[name].subject.next(this._context[name].times);
|
384
|
-
return true;
|
385
|
-
}
|
386
|
-
return false;
|
387
|
-
};
|
388
|
-
/**
|
389
|
-
* params:
|
390
|
-
* - name: string
|
391
|
-
* - value: number
|
392
|
-
* returns: true if successful
|
393
|
-
*
|
394
|
-
* Set value on a loading mask referenced by the name parameter.
|
395
|
-
* Usage only available if its mode is 'determinate' and if loading is showing.
|
396
|
-
*/
|
397
|
-
/**
|
398
|
-
* params:
|
399
|
-
* - name: string
|
400
|
-
* - value: number
|
401
|
-
* returns: true if successful
|
402
|
-
*
|
403
|
-
* Set value on a loading mask referenced by the name parameter.
|
404
|
-
* Usage only available if its mode is 'determinate' and if loading is showing.
|
405
|
-
* @param {?} name
|
406
|
-
* @param {?} value
|
407
|
-
* @return {?}
|
408
|
-
*/
|
409
|
-
TdLoadingService.prototype.setValue = /**
|
410
|
-
* params:
|
411
|
-
* - name: string
|
412
|
-
* - value: number
|
413
|
-
* returns: true if successful
|
414
|
-
*
|
415
|
-
* Set value on a loading mask referenced by the name parameter.
|
416
|
-
* Usage only available if its mode is 'determinate' and if loading is showing.
|
417
|
-
* @param {?} name
|
418
|
-
* @param {?} value
|
419
|
-
* @return {?}
|
420
|
-
*/
|
421
|
-
function (name, value) {
|
422
|
-
if (this._context[name]) {
|
423
|
-
/** @type {?} */
|
424
|
-
var instance = this._context[name].componentRef.instance;
|
425
|
-
if (instance.mode === LoadingMode.Determinate && instance.animation) {
|
426
|
-
instance.value = value;
|
427
|
-
return true;
|
428
|
-
}
|
429
|
-
}
|
430
|
-
return false;
|
431
|
-
};
|
432
|
-
/**
|
433
|
-
* Clears timeout linked to the name.
|
434
|
-
* @param name Name of the loading component to be cleared
|
435
|
-
*/
|
436
|
-
/**
|
437
|
-
* Clears timeout linked to the name.
|
438
|
-
* @private
|
439
|
-
* @param {?} name Name of the loading component to be cleared
|
440
|
-
* @return {?}
|
441
|
-
*/
|
442
|
-
TdLoadingService.prototype._clearTimeout = /**
|
443
|
-
* Clears timeout linked to the name.
|
444
|
-
* @private
|
445
|
-
* @param {?} name Name of the loading component to be cleared
|
446
|
-
* @return {?}
|
447
|
-
*/
|
448
|
-
function (name) {
|
449
|
-
clearTimeout(this._timeouts[name]);
|
450
|
-
delete this._timeouts[name];
|
451
|
-
};
|
452
|
-
TdLoadingService.decorators = [
|
453
|
-
{ type: Injectable }
|
454
|
-
];
|
455
|
-
/** @nocollapse */
|
456
|
-
TdLoadingService.ctorParameters = function () { return [
|
457
|
-
{ type: TdLoadingFactory }
|
458
|
-
]; };
|
459
|
-
return TdLoadingService;
|
460
|
-
}());
|
461
|
-
export { TdLoadingService };
|
462
|
-
if (false) {
|
463
|
-
/**
|
464
|
-
* @type {?}
|
465
|
-
* @private
|
466
|
-
*/
|
467
|
-
TdLoadingService.prototype._context;
|
468
|
-
/**
|
469
|
-
* @type {?}
|
470
|
-
* @private
|
471
|
-
*/
|
472
|
-
TdLoadingService.prototype._timeouts;
|
473
|
-
/**
|
474
|
-
* @type {?}
|
475
|
-
* @private
|
476
|
-
*/
|
477
|
-
TdLoadingService.prototype._loadingFactory;
|
478
|
-
}
|
479
|
-
/**
|
480
|
-
* @param {?} parent
|
481
|
-
* @param {?} loadingFactory
|
482
|
-
* @return {?}
|
483
|
-
*/
|
484
|
-
export function LOADING_PROVIDER_FACTORY(parent, loadingFactory) {
|
485
|
-
return parent || new TdLoadingService(loadingFactory);
|
486
|
-
}
|
487
|
-
/** @type {?} */
|
488
|
-
export var LOADING_PROVIDER = {
|
489
|
-
// If there is already a service available, use that. Otherwise, provide a new one.
|
490
|
-
provide: TdLoadingService,
|
491
|
-
deps: [[new Optional(), new SkipSelf(), TdLoadingService], TdLoadingFactory],
|
492
|
-
useFactory: LOADING_PROVIDER_FACTORY,
|
493
|
-
};
|
494
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGNvdmFsZW50L2NvcmUvbG9hZGluZy8iLCJzb3VyY2VzIjpbInNlcnZpY2VzL2xvYWRpbmcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQVksUUFBUSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUt6RSxPQUFPLEVBQXNCLFdBQVcsRUFBRSxlQUFlLEVBQUUsV0FBVyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDckcsT0FBTyxFQUFFLGdCQUFnQixFQUFlLE1BQU0sbUJBQW1CLENBQUM7Ozs7QUFFbEUsc0NBS0M7OztJQUpDLGdDQUFhOztJQUNiLGdDQUFtQjs7SUFDbkIsZ0NBQW1COztJQUNuQixpQ0FBc0M7O0FBR3hDO0lBTUUseUJBQVksTUFBd0I7UUFDbEMsSUFBSSxDQUFDLElBQUksR0FBRyxNQUFNLENBQUMsSUFBSSxDQUFDO1FBQ3hCLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFO1lBQ2QsTUFBTSxLQUFLLENBQUMsaURBQWlELENBQUMsQ0FBQztTQUNoRTtRQUNELElBQUksQ0FBQyxJQUFJLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsV0FBVyxDQUFDLGFBQWEsQ0FBQztRQUNsRSxJQUFJLENBQUMsSUFBSSx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-1,9 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
4
|
-
*/
|
5
|
-
/**
|
6
|
-
* Generated bundle index. Do not edit.
|
7
|
-
*/
|
8
|
-
export { CovalentMediaModule, TdMediaToggleDirective, TdMediaService } from './index';
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY292YWxlbnQtY29yZS1tZWRpYS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bjb3ZhbGVudC9jb3JlL21lZGlhLyIsInNvdXJjZXMiOlsiY292YWxlbnQtY29yZS1tZWRpYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsNEVBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|