@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,263 +1,45 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('rxjs/operators'), require('@angular/animations'), require('rxjs'), require('@angular/cdk/coercion')) :
|
3
3
|
typeof define === 'function' && define.amd ? define('@covalent/core/common', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/router', 'rxjs/operators', '@angular/animations', 'rxjs', '@angular/cdk/coercion'], factory) :
|
4
|
-
(global = global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.common = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.router, global.rxjs.operators, global.ng.animations, global.rxjs, global.ng.cdk.coercion));
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.common = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.router, global.rxjs.operators, global.ng.animations, global.rxjs, global.ng.cdk.coercion));
|
5
5
|
}(this, (function (exports, core, common, forms, router, operators, animations, rxjs, coercion) { 'use strict';
|
6
6
|
|
7
|
-
/*! *****************************************************************************
|
8
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
9
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
10
|
-
this file except in compliance with the License. You may obtain a copy of the
|
11
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
|
13
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
15
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
16
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
17
|
-
|
18
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
19
|
-
and limitations under the License.
|
20
|
-
***************************************************************************** */
|
21
|
-
/* global Reflect, Promise */
|
22
|
-
|
23
|
-
var extendStatics = function(d, b) {
|
24
|
-
extendStatics = Object.setPrototypeOf ||
|
25
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
26
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
27
|
-
return extendStatics(d, b);
|
28
|
-
};
|
29
|
-
|
30
|
-
function __extends(d, b) {
|
31
|
-
extendStatics(d, b);
|
32
|
-
function __() { this.constructor = d; }
|
33
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
34
|
-
}
|
35
|
-
|
36
|
-
var __assign = function() {
|
37
|
-
__assign = Object.assign || function __assign(t) {
|
38
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
39
|
-
s = arguments[i];
|
40
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
41
|
-
}
|
42
|
-
return t;
|
43
|
-
};
|
44
|
-
return __assign.apply(this, arguments);
|
45
|
-
};
|
46
|
-
|
47
|
-
function __rest(s, e) {
|
48
|
-
var t = {};
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
50
|
-
t[p] = s[p];
|
51
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
52
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
54
|
-
t[p[i]] = s[p[i]];
|
55
|
-
}
|
56
|
-
return t;
|
57
|
-
}
|
58
|
-
|
59
|
-
function __decorate(decorators, target, key, desc) {
|
60
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
61
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
62
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
63
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
64
|
-
}
|
65
|
-
|
66
|
-
function __param(paramIndex, decorator) {
|
67
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
68
|
-
}
|
69
|
-
|
70
|
-
function __metadata(metadataKey, metadataValue) {
|
71
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
72
|
-
}
|
73
|
-
|
74
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
75
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
76
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
77
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
78
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
79
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
80
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
81
|
-
});
|
82
|
-
}
|
83
|
-
|
84
|
-
function __generator(thisArg, body) {
|
85
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
86
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
87
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
88
|
-
function step(op) {
|
89
|
-
if (f) throw new TypeError("Generator is already executing.");
|
90
|
-
while (_) try {
|
91
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
92
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
93
|
-
switch (op[0]) {
|
94
|
-
case 0: case 1: t = op; break;
|
95
|
-
case 4: _.label++; return { value: op[1], done: false };
|
96
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
97
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
98
|
-
default:
|
99
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
100
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
101
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
102
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
103
|
-
if (t[2]) _.ops.pop();
|
104
|
-
_.trys.pop(); continue;
|
105
|
-
}
|
106
|
-
op = body.call(thisArg, _);
|
107
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
108
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
function __exportStar(m, exports) {
|
113
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
114
|
-
}
|
115
|
-
|
116
|
-
function __values(o) {
|
117
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
118
|
-
if (m) return m.call(o);
|
119
|
-
if (o && typeof o.length === "number") return {
|
120
|
-
next: function () {
|
121
|
-
if (o && i >= o.length) o = void 0;
|
122
|
-
return { value: o && o[i++], done: !o };
|
123
|
-
}
|
124
|
-
};
|
125
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
126
|
-
}
|
127
|
-
|
128
|
-
function __read(o, n) {
|
129
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
130
|
-
if (!m) return o;
|
131
|
-
var i = m.call(o), r, ar = [], e;
|
132
|
-
try {
|
133
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
134
|
-
}
|
135
|
-
catch (error) { e = { error: error }; }
|
136
|
-
finally {
|
137
|
-
try {
|
138
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
139
|
-
}
|
140
|
-
finally { if (e) throw e.error; }
|
141
|
-
}
|
142
|
-
return ar;
|
143
|
-
}
|
144
|
-
|
145
|
-
function __spread() {
|
146
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
147
|
-
ar = ar.concat(__read(arguments[i]));
|
148
|
-
return ar;
|
149
|
-
}
|
150
|
-
|
151
|
-
function __spreadArrays() {
|
152
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
153
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
154
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
155
|
-
r[k] = a[j];
|
156
|
-
return r;
|
157
|
-
};
|
158
|
-
|
159
|
-
function __await(v) {
|
160
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
161
|
-
}
|
162
|
-
|
163
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
164
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
165
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
166
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
167
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
168
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
169
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
170
|
-
function fulfill(value) { resume("next", value); }
|
171
|
-
function reject(value) { resume("throw", value); }
|
172
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
173
|
-
}
|
174
|
-
|
175
|
-
function __asyncDelegator(o) {
|
176
|
-
var i, p;
|
177
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
178
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
179
|
-
}
|
180
|
-
|
181
|
-
function __asyncValues(o) {
|
182
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
183
|
-
var m = o[Symbol.asyncIterator], i;
|
184
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
185
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
186
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
187
|
-
}
|
188
|
-
|
189
|
-
function __makeTemplateObject(cooked, raw) {
|
190
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
191
|
-
return cooked;
|
192
|
-
};
|
193
|
-
|
194
|
-
function __importStar(mod) {
|
195
|
-
if (mod && mod.__esModule) return mod;
|
196
|
-
var result = {};
|
197
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
198
|
-
result.default = mod;
|
199
|
-
return result;
|
200
|
-
}
|
201
|
-
|
202
|
-
function __importDefault(mod) {
|
203
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
204
|
-
}
|
205
|
-
|
206
|
-
function __classPrivateFieldGet(receiver, privateMap) {
|
207
|
-
if (!privateMap.has(receiver)) {
|
208
|
-
throw new TypeError("attempted to get private field on non-instance");
|
209
|
-
}
|
210
|
-
return privateMap.get(receiver);
|
211
|
-
}
|
212
|
-
|
213
|
-
function __classPrivateFieldSet(receiver, privateMap, value) {
|
214
|
-
if (!privateMap.has(receiver)) {
|
215
|
-
throw new TypeError("attempted to set private field on non-instance");
|
216
|
-
}
|
217
|
-
privateMap.set(receiver, value);
|
218
|
-
return value;
|
219
|
-
}
|
220
|
-
|
221
7
|
/**
|
222
8
|
* @fileoverview added by tsickle
|
223
|
-
*
|
9
|
+
* Generated from: forms/auto-trim/auto-trim.directive.ts
|
10
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
224
11
|
*/
|
225
12
|
var TdAutoTrimDirective = /** @class */ (function () {
|
13
|
+
/**
|
14
|
+
* @param {?} _model
|
15
|
+
*/
|
226
16
|
function TdAutoTrimDirective(_model) {
|
227
17
|
this._model = _model;
|
228
18
|
}
|
229
|
-
/**
|
230
|
-
* Listens to host's (blur) event and trims value.
|
231
|
-
*/
|
232
19
|
/**
|
233
20
|
* Listens to host's (blur) event and trims value.
|
234
21
|
* @param {?} event
|
235
22
|
* @return {?}
|
236
23
|
*/
|
237
|
-
TdAutoTrimDirective.prototype.onBlur =
|
238
|
-
* Listens to host's (blur) event and trims value.
|
239
|
-
* @param {?} event
|
240
|
-
* @return {?}
|
241
|
-
*/
|
242
|
-
function (event) {
|
24
|
+
TdAutoTrimDirective.prototype.onBlur = function (event) {
|
243
25
|
if (this._model && this._model.value && typeof this._model.value === 'string') {
|
244
26
|
this._model.update.emit(this._model.value.trim());
|
245
27
|
}
|
246
28
|
};
|
247
|
-
TdAutoTrimDirective.decorators = [
|
248
|
-
{ type: core.Directive, args: [{
|
249
|
-
selector: '[tdAutoTrim]',
|
250
|
-
},] }
|
251
|
-
];
|
252
|
-
/** @nocollapse */
|
253
|
-
TdAutoTrimDirective.ctorParameters = function () { return [
|
254
|
-
{ type: forms.NgModel, decorators: [{ type: core.Optional }, { type: core.Host }] }
|
255
|
-
]; };
|
256
|
-
TdAutoTrimDirective.propDecorators = {
|
257
|
-
onBlur: [{ type: core.HostListener, args: ['blur', ['$event'],] }]
|
258
|
-
};
|
259
29
|
return TdAutoTrimDirective;
|
260
30
|
}());
|
31
|
+
TdAutoTrimDirective.decorators = [
|
32
|
+
{ type: core.Directive, args: [{
|
33
|
+
selector: '[tdAutoTrim]',
|
34
|
+
},] }
|
35
|
+
];
|
36
|
+
/** @nocollapse */
|
37
|
+
TdAutoTrimDirective.ctorParameters = function () { return [
|
38
|
+
{ type: forms.NgModel, decorators: [{ type: core.Optional }, { type: core.Host }] }
|
39
|
+
]; };
|
40
|
+
TdAutoTrimDirective.propDecorators = {
|
41
|
+
onBlur: [{ type: core.HostListener, args: ['blur', ['$event'],] }]
|
42
|
+
};
|
261
43
|
if (false) {
|
262
44
|
/**
|
263
45
|
* @type {?}
|
@@ -266,10 +48,307 @@
|
|
266
48
|
TdAutoTrimDirective.prototype._model;
|
267
49
|
}
|
268
50
|
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
51
|
+
/*! *****************************************************************************
|
52
|
+
Copyright (c) Microsoft Corporation.
|
53
|
+
|
54
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
55
|
+
purpose with or without fee is hereby granted.
|
56
|
+
|
57
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
58
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
59
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
60
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
61
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
62
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
63
|
+
PERFORMANCE OF THIS SOFTWARE.
|
64
|
+
***************************************************************************** */
|
65
|
+
/* global Reflect, Promise */
|
66
|
+
var extendStatics = function (d, b) {
|
67
|
+
extendStatics = Object.setPrototypeOf ||
|
68
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
69
|
+
function (d, b) { for (var p in b)
|
70
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
71
|
+
d[p] = b[p]; };
|
72
|
+
return extendStatics(d, b);
|
73
|
+
};
|
74
|
+
function __extends(d, b) {
|
75
|
+
extendStatics(d, b);
|
76
|
+
function __() { this.constructor = d; }
|
77
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
78
|
+
}
|
79
|
+
var __assign = function () {
|
80
|
+
__assign = Object.assign || function __assign(t) {
|
81
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
82
|
+
s = arguments[i];
|
83
|
+
for (var p in s)
|
84
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
85
|
+
t[p] = s[p];
|
86
|
+
}
|
87
|
+
return t;
|
88
|
+
};
|
89
|
+
return __assign.apply(this, arguments);
|
90
|
+
};
|
91
|
+
function __rest(s, e) {
|
92
|
+
var t = {};
|
93
|
+
for (var p in s)
|
94
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
95
|
+
t[p] = s[p];
|
96
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
97
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
98
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
99
|
+
t[p[i]] = s[p[i]];
|
100
|
+
}
|
101
|
+
return t;
|
102
|
+
}
|
103
|
+
function __decorate(decorators, target, key, desc) {
|
104
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
105
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
106
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
107
|
+
else
|
108
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
109
|
+
if (d = decorators[i])
|
110
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
111
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
112
|
+
}
|
113
|
+
function __param(paramIndex, decorator) {
|
114
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
115
|
+
}
|
116
|
+
function __metadata(metadataKey, metadataValue) {
|
117
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
118
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
119
|
+
}
|
120
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
121
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
122
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
123
|
+
function fulfilled(value) { try {
|
124
|
+
step(generator.next(value));
|
125
|
+
}
|
126
|
+
catch (e) {
|
127
|
+
reject(e);
|
128
|
+
} }
|
129
|
+
function rejected(value) { try {
|
130
|
+
step(generator["throw"](value));
|
131
|
+
}
|
132
|
+
catch (e) {
|
133
|
+
reject(e);
|
134
|
+
} }
|
135
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
136
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
137
|
+
});
|
138
|
+
}
|
139
|
+
function __generator(thisArg, body) {
|
140
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
141
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
142
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
143
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
144
|
+
function step(op) {
|
145
|
+
if (f)
|
146
|
+
throw new TypeError("Generator is already executing.");
|
147
|
+
while (_)
|
148
|
+
try {
|
149
|
+
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)
|
150
|
+
return t;
|
151
|
+
if (y = 0, t)
|
152
|
+
op = [op[0] & 2, t.value];
|
153
|
+
switch (op[0]) {
|
154
|
+
case 0:
|
155
|
+
case 1:
|
156
|
+
t = op;
|
157
|
+
break;
|
158
|
+
case 4:
|
159
|
+
_.label++;
|
160
|
+
return { value: op[1], done: false };
|
161
|
+
case 5:
|
162
|
+
_.label++;
|
163
|
+
y = op[1];
|
164
|
+
op = [0];
|
165
|
+
continue;
|
166
|
+
case 7:
|
167
|
+
op = _.ops.pop();
|
168
|
+
_.trys.pop();
|
169
|
+
continue;
|
170
|
+
default:
|
171
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
172
|
+
_ = 0;
|
173
|
+
continue;
|
174
|
+
}
|
175
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
176
|
+
_.label = op[1];
|
177
|
+
break;
|
178
|
+
}
|
179
|
+
if (op[0] === 6 && _.label < t[1]) {
|
180
|
+
_.label = t[1];
|
181
|
+
t = op;
|
182
|
+
break;
|
183
|
+
}
|
184
|
+
if (t && _.label < t[2]) {
|
185
|
+
_.label = t[2];
|
186
|
+
_.ops.push(op);
|
187
|
+
break;
|
188
|
+
}
|
189
|
+
if (t[2])
|
190
|
+
_.ops.pop();
|
191
|
+
_.trys.pop();
|
192
|
+
continue;
|
193
|
+
}
|
194
|
+
op = body.call(thisArg, _);
|
195
|
+
}
|
196
|
+
catch (e) {
|
197
|
+
op = [6, e];
|
198
|
+
y = 0;
|
199
|
+
}
|
200
|
+
finally {
|
201
|
+
f = t = 0;
|
202
|
+
}
|
203
|
+
if (op[0] & 5)
|
204
|
+
throw op[1];
|
205
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
206
|
+
}
|
207
|
+
}
|
208
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
209
|
+
if (k2 === undefined)
|
210
|
+
k2 = k;
|
211
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
212
|
+
}) : (function (o, m, k, k2) {
|
213
|
+
if (k2 === undefined)
|
214
|
+
k2 = k;
|
215
|
+
o[k2] = m[k];
|
216
|
+
});
|
217
|
+
function __exportStar(m, o) {
|
218
|
+
for (var p in m)
|
219
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
220
|
+
__createBinding(o, m, p);
|
221
|
+
}
|
222
|
+
function __values(o) {
|
223
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
224
|
+
if (m)
|
225
|
+
return m.call(o);
|
226
|
+
if (o && typeof o.length === "number")
|
227
|
+
return {
|
228
|
+
next: function () {
|
229
|
+
if (o && i >= o.length)
|
230
|
+
o = void 0;
|
231
|
+
return { value: o && o[i++], done: !o };
|
232
|
+
}
|
233
|
+
};
|
234
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
235
|
+
}
|
236
|
+
function __read(o, n) {
|
237
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
238
|
+
if (!m)
|
239
|
+
return o;
|
240
|
+
var i = m.call(o), r, ar = [], e;
|
241
|
+
try {
|
242
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
243
|
+
ar.push(r.value);
|
244
|
+
}
|
245
|
+
catch (error) {
|
246
|
+
e = { error: error };
|
247
|
+
}
|
248
|
+
finally {
|
249
|
+
try {
|
250
|
+
if (r && !r.done && (m = i["return"]))
|
251
|
+
m.call(i);
|
252
|
+
}
|
253
|
+
finally {
|
254
|
+
if (e)
|
255
|
+
throw e.error;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
return ar;
|
259
|
+
}
|
260
|
+
function __spread() {
|
261
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
262
|
+
ar = ar.concat(__read(arguments[i]));
|
263
|
+
return ar;
|
264
|
+
}
|
265
|
+
function __spreadArrays() {
|
266
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
267
|
+
s += arguments[i].length;
|
268
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
269
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
270
|
+
r[k] = a[j];
|
271
|
+
return r;
|
272
|
+
}
|
273
|
+
;
|
274
|
+
function __await(v) {
|
275
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
276
|
+
}
|
277
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
278
|
+
if (!Symbol.asyncIterator)
|
279
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
280
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
281
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
282
|
+
function verb(n) { if (g[n])
|
283
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
284
|
+
function resume(n, v) { try {
|
285
|
+
step(g[n](v));
|
286
|
+
}
|
287
|
+
catch (e) {
|
288
|
+
settle(q[0][3], e);
|
289
|
+
} }
|
290
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
291
|
+
function fulfill(value) { resume("next", value); }
|
292
|
+
function reject(value) { resume("throw", value); }
|
293
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
294
|
+
resume(q[0][0], q[0][1]); }
|
295
|
+
}
|
296
|
+
function __asyncDelegator(o) {
|
297
|
+
var i, p;
|
298
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
299
|
+
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; }
|
300
|
+
}
|
301
|
+
function __asyncValues(o) {
|
302
|
+
if (!Symbol.asyncIterator)
|
303
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
304
|
+
var m = o[Symbol.asyncIterator], i;
|
305
|
+
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);
|
306
|
+
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); }); }; }
|
307
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
308
|
+
}
|
309
|
+
function __makeTemplateObject(cooked, raw) {
|
310
|
+
if (Object.defineProperty) {
|
311
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
312
|
+
}
|
313
|
+
else {
|
314
|
+
cooked.raw = raw;
|
315
|
+
}
|
316
|
+
return cooked;
|
317
|
+
}
|
318
|
+
;
|
319
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
320
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
321
|
+
}) : function (o, v) {
|
322
|
+
o["default"] = v;
|
323
|
+
};
|
324
|
+
function __importStar(mod) {
|
325
|
+
if (mod && mod.__esModule)
|
326
|
+
return mod;
|
327
|
+
var result = {};
|
328
|
+
if (mod != null)
|
329
|
+
for (var k in mod)
|
330
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
331
|
+
__createBinding(result, mod, k);
|
332
|
+
__setModuleDefault(result, mod);
|
333
|
+
return result;
|
334
|
+
}
|
335
|
+
function __importDefault(mod) {
|
336
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
337
|
+
}
|
338
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
339
|
+
if (!privateMap.has(receiver)) {
|
340
|
+
throw new TypeError("attempted to get private field on non-instance");
|
341
|
+
}
|
342
|
+
return privateMap.get(receiver);
|
343
|
+
}
|
344
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
345
|
+
if (!privateMap.has(receiver)) {
|
346
|
+
throw new TypeError("attempted to set private field on non-instance");
|
347
|
+
}
|
348
|
+
privateMap.set(receiver, value);
|
349
|
+
return value;
|
350
|
+
}
|
351
|
+
|
273
352
|
/**
|
274
353
|
* @record
|
275
354
|
*/
|
@@ -291,6 +370,10 @@
|
|
291
370
|
IFsDocument.prototype.msExitFullscreen;
|
292
371
|
}
|
293
372
|
var TdFullscreenDirective = /** @class */ (function () {
|
373
|
+
/**
|
374
|
+
* @param {?} _document
|
375
|
+
* @param {?} _el
|
376
|
+
*/
|
294
377
|
function TdFullscreenDirective(_document, _el) {
|
295
378
|
this._document = _document;
|
296
379
|
this._el = _el;
|
@@ -300,52 +383,38 @@
|
|
300
383
|
* @param {?} event
|
301
384
|
* @return {?}
|
302
385
|
*/
|
303
|
-
TdFullscreenDirective.prototype.fsChangeHandler =
|
304
|
-
* @param {?} event
|
305
|
-
* @return {?}
|
306
|
-
*/
|
307
|
-
function (event) {
|
386
|
+
TdFullscreenDirective.prototype.fsChangeHandler = function (event) {
|
308
387
|
this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
|
309
388
|
};
|
310
389
|
/**
|
311
390
|
* @return {?}
|
312
391
|
*/
|
313
|
-
TdFullscreenDirective.prototype.toggleFullScreen =
|
314
|
-
* @return {?}
|
315
|
-
*/
|
316
|
-
function () {
|
392
|
+
TdFullscreenDirective.prototype.toggleFullScreen = function () {
|
317
393
|
this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
|
318
394
|
};
|
319
395
|
/**
|
320
396
|
* @return {?}
|
321
397
|
*/
|
322
|
-
TdFullscreenDirective.prototype.enterFullScreen =
|
323
|
-
* @return {?}
|
324
|
-
*/
|
325
|
-
function () {
|
398
|
+
TdFullscreenDirective.prototype.enterFullScreen = function () {
|
326
399
|
var e_1, _a;
|
327
400
|
var nativeElement = this._el.nativeElement;
|
328
401
|
/** @type {?} */
|
329
402
|
var enterFullScreenMap = {
|
330
|
-
requestFullscreen: (/**
|
403
|
+
requestFullscreen: ( /**
|
331
404
|
* @return {?}
|
332
|
-
*/
|
333
|
-
function () { return nativeElement.requestFullscreen(); }),
|
405
|
+
*/function () { return nativeElement.requestFullscreen(); }),
|
334
406
|
// Chrome
|
335
|
-
webkitRequestFullscreen: (/**
|
407
|
+
webkitRequestFullscreen: ( /**
|
336
408
|
* @return {?}
|
337
|
-
*/
|
338
|
-
function () { return nativeElement.webkitRequestFullscreen(); }),
|
409
|
+
*/function () { return nativeElement.webkitRequestFullscreen(); }),
|
339
410
|
// Safari
|
340
|
-
mozRequestFullScreen: (/**
|
411
|
+
mozRequestFullScreen: ( /**
|
341
412
|
* @return {?}
|
342
|
-
*/
|
343
|
-
function () { return nativeElement.mozRequestFullScreen(); }),
|
413
|
+
*/function () { return nativeElement.mozRequestFullScreen(); }),
|
344
414
|
// Firefox
|
345
|
-
msRequestFullscreen: (/**
|
415
|
+
msRequestFullscreen: ( /**
|
346
416
|
* @return {?}
|
347
|
-
*/
|
348
|
-
function () { return nativeElement.msRequestFullscreen(); }),
|
417
|
+
*/function () { return nativeElement.msRequestFullscreen(); }),
|
349
418
|
};
|
350
419
|
try {
|
351
420
|
for (var _b = __values(Object.keys(enterFullScreenMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
@@ -366,33 +435,26 @@
|
|
366
435
|
/**
|
367
436
|
* @return {?}
|
368
437
|
*/
|
369
|
-
TdFullscreenDirective.prototype.exitFullScreen =
|
370
|
-
* @return {?}
|
371
|
-
*/
|
372
|
-
function () {
|
438
|
+
TdFullscreenDirective.prototype.exitFullScreen = function () {
|
373
439
|
var e_2, _a;
|
374
440
|
var _b = this, _document = _b._document, nativeElement = _b._el.nativeElement;
|
375
441
|
/** @type {?} */
|
376
442
|
var exitFullScreenMap = {
|
377
|
-
exitFullscreen: (/**
|
443
|
+
exitFullscreen: ( /**
|
378
444
|
* @return {?}
|
379
|
-
*/
|
380
|
-
function () { return _document.exitFullscreen(); }),
|
445
|
+
*/function () { return _document.exitFullscreen(); }),
|
381
446
|
// Chrome
|
382
|
-
webkitExitFullscreen: (/**
|
447
|
+
webkitExitFullscreen: ( /**
|
383
448
|
* @return {?}
|
384
|
-
*/
|
385
|
-
function () { return _document.webkitExitFullscreen(); }),
|
449
|
+
*/function () { return _document.webkitExitFullscreen(); }),
|
386
450
|
// Safari
|
387
|
-
mozCancelFullScreen: (/**
|
451
|
+
mozCancelFullScreen: ( /**
|
388
452
|
* @return {?}
|
389
|
-
*/
|
390
|
-
function () { return _document.mozCancelFullScreen(); }),
|
453
|
+
*/function () { return _document.mozCancelFullScreen(); }),
|
391
454
|
// Firefox
|
392
|
-
msExitFullscreen: (/**
|
455
|
+
msExitFullscreen: ( /**
|
393
456
|
* @return {?}
|
394
|
-
*/
|
395
|
-
function () { return _document.msExitFullscreen(); }),
|
457
|
+
*/function () { return _document.msExitFullscreen(); }),
|
396
458
|
};
|
397
459
|
try {
|
398
460
|
for (var _c = __values(Object.keys(exitFullScreenMap)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
@@ -414,34 +476,26 @@
|
|
414
476
|
* @private
|
415
477
|
* @return {?}
|
416
478
|
*/
|
417
|
-
TdFullscreenDirective.prototype._getFullScreenElement =
|
418
|
-
* @private
|
419
|
-
* @return {?}
|
420
|
-
*/
|
421
|
-
function () {
|
479
|
+
TdFullscreenDirective.prototype._getFullScreenElement = function () {
|
422
480
|
var e_3, _a;
|
423
481
|
var _document = this._document;
|
424
482
|
/** @type {?} */
|
425
483
|
var tdFullScreenElementMap = {
|
426
|
-
fullscreenElement: (/**
|
484
|
+
fullscreenElement: ( /**
|
427
485
|
* @return {?}
|
428
|
-
*/
|
429
|
-
function () { return _document.fullscreenElement; }),
|
486
|
+
*/function () { return _document.fullscreenElement; }),
|
430
487
|
// Chrome, Opera
|
431
|
-
webkitFullscreenElement: (/**
|
488
|
+
webkitFullscreenElement: ( /**
|
432
489
|
* @return {?}
|
433
|
-
*/
|
434
|
-
function () { return _document.webkitFullscreenElement; }),
|
490
|
+
*/function () { return _document.webkitFullscreenElement; }),
|
435
491
|
// Safari
|
436
|
-
mozFullscreenElement: (/**
|
492
|
+
mozFullscreenElement: ( /**
|
437
493
|
* @return {?}
|
438
|
-
*/
|
439
|
-
function () { return _document.mozFullscreenElement; }),
|
494
|
+
*/function () { return _document.mozFullscreenElement; }),
|
440
495
|
// Firefox
|
441
|
-
msFullscreenElement: (/**
|
496
|
+
msFullscreenElement: ( /**
|
442
497
|
* @return {?}
|
443
|
-
*/
|
444
|
-
function () { return _document.msFullscreenElement; }),
|
498
|
+
*/function () { return _document.msFullscreenElement; }),
|
445
499
|
};
|
446
500
|
try {
|
447
501
|
for (var _b = __values(Object.keys(tdFullScreenElementMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
@@ -459,22 +513,22 @@
|
|
459
513
|
finally { if (e_3) throw e_3.error; }
|
460
514
|
}
|
461
515
|
};
|
462
|
-
TdFullscreenDirective.decorators = [
|
463
|
-
{ type: core.Directive, args: [{
|
464
|
-
selector: '[tdFullScreen]',
|
465
|
-
exportAs: 'tdFullScreen',
|
466
|
-
},] }
|
467
|
-
];
|
468
|
-
/** @nocollapse */
|
469
|
-
TdFullscreenDirective.ctorParameters = function () { return [
|
470
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
471
|
-
{ type: core.ElementRef }
|
472
|
-
]; };
|
473
|
-
TdFullscreenDirective.propDecorators = {
|
474
|
-
fsChangeHandler: [{ type: core.HostListener, args: ['document:fullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:webkitfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:mozfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:msfullscreenchange', ['$event'],] }]
|
475
|
-
};
|
476
516
|
return TdFullscreenDirective;
|
477
517
|
}());
|
518
|
+
TdFullscreenDirective.decorators = [
|
519
|
+
{ type: core.Directive, args: [{
|
520
|
+
selector: '[tdFullScreen]',
|
521
|
+
exportAs: 'tdFullScreen',
|
522
|
+
},] }
|
523
|
+
];
|
524
|
+
/** @nocollapse */
|
525
|
+
TdFullscreenDirective.ctorParameters = function () { return [
|
526
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
527
|
+
{ type: core.ElementRef }
|
528
|
+
]; };
|
529
|
+
TdFullscreenDirective.propDecorators = {
|
530
|
+
fsChangeHandler: [{ type: core.HostListener, args: ['document:fullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:webkitfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:mozfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:msfullscreenchange', ['$event'],] }]
|
531
|
+
};
|
478
532
|
if (false) {
|
479
533
|
/** @type {?} */
|
480
534
|
TdFullscreenDirective.prototype.fullScreenIsActive;
|
@@ -492,7 +546,8 @@
|
|
492
546
|
|
493
547
|
/**
|
494
548
|
* @fileoverview added by tsickle
|
495
|
-
*
|
549
|
+
* Generated from: pipes/time-ago/time-ago.pipe.ts
|
550
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
496
551
|
*/
|
497
552
|
var TdTimeAgoPipe = /** @class */ (function () {
|
498
553
|
function TdTimeAgoPipe() {
|
@@ -502,12 +557,7 @@
|
|
502
557
|
* @param {?=} reference
|
503
558
|
* @return {?}
|
504
559
|
*/
|
505
|
-
TdTimeAgoPipe.prototype.transform =
|
506
|
-
* @param {?} time
|
507
|
-
* @param {?=} reference
|
508
|
-
* @return {?}
|
509
|
-
*/
|
510
|
-
function (time, reference) {
|
560
|
+
TdTimeAgoPipe.prototype.transform = function (time, reference) {
|
511
561
|
// Convert time to date object if not already
|
512
562
|
time = new Date(time);
|
513
563
|
/** @type {?} */
|
@@ -569,17 +619,18 @@
|
|
569
619
|
return Math.floor(diff) + ' years ago';
|
570
620
|
}
|
571
621
|
};
|
572
|
-
TdTimeAgoPipe.decorators = [
|
573
|
-
{ type: core.Pipe, args: [{
|
574
|
-
name: 'timeAgo',
|
575
|
-
},] }
|
576
|
-
];
|
577
622
|
return TdTimeAgoPipe;
|
578
623
|
}());
|
624
|
+
TdTimeAgoPipe.decorators = [
|
625
|
+
{ type: core.Pipe, args: [{
|
626
|
+
name: 'timeAgo',
|
627
|
+
},] }
|
628
|
+
];
|
579
629
|
|
580
630
|
/**
|
581
631
|
* @fileoverview added by tsickle
|
582
|
-
*
|
632
|
+
* Generated from: pipes/time-difference/time-difference.pipe.ts
|
633
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
583
634
|
*/
|
584
635
|
var TdTimeDifferencePipe = /** @class */ (function () {
|
585
636
|
function TdTimeDifferencePipe() {
|
@@ -589,12 +640,7 @@
|
|
589
640
|
* @param {?=} end
|
590
641
|
* @return {?}
|
591
642
|
*/
|
592
|
-
TdTimeDifferencePipe.prototype.transform =
|
593
|
-
* @param {?} start
|
594
|
-
* @param {?=} end
|
595
|
-
* @return {?}
|
596
|
-
*/
|
597
|
-
function (start, end) {
|
643
|
+
TdTimeDifferencePipe.prototype.transform = function (start, end) {
|
598
644
|
/** @type {?} */
|
599
645
|
var startTime = new Date(start);
|
600
646
|
/** @type {?} */
|
@@ -641,17 +687,18 @@
|
|
641
687
|
pad.substring(0, pad.length - (seconds + '').length) +
|
642
688
|
seconds);
|
643
689
|
};
|
644
|
-
TdTimeDifferencePipe.decorators = [
|
645
|
-
{ type: core.Pipe, args: [{
|
646
|
-
name: 'timeDifference',
|
647
|
-
},] }
|
648
|
-
];
|
649
690
|
return TdTimeDifferencePipe;
|
650
691
|
}());
|
692
|
+
TdTimeDifferencePipe.decorators = [
|
693
|
+
{ type: core.Pipe, args: [{
|
694
|
+
name: 'timeDifference',
|
695
|
+
},] }
|
696
|
+
];
|
651
697
|
|
652
698
|
/**
|
653
699
|
* @fileoverview added by tsickle
|
654
|
-
*
|
700
|
+
* Generated from: pipes/time-until/time-until.pipe.ts
|
701
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
655
702
|
*/
|
656
703
|
var TdTimeUntilPipe = /** @class */ (function () {
|
657
704
|
function TdTimeUntilPipe() {
|
@@ -661,12 +708,7 @@
|
|
661
708
|
* @param {?=} reference
|
662
709
|
* @return {?}
|
663
710
|
*/
|
664
|
-
TdTimeUntilPipe.prototype.transform =
|
665
|
-
* @param {?} time
|
666
|
-
* @param {?=} reference
|
667
|
-
* @return {?}
|
668
|
-
*/
|
669
|
-
function (time, reference) {
|
711
|
+
TdTimeUntilPipe.prototype.transform = function (time, reference) {
|
670
712
|
// Convert time to date object if not already
|
671
713
|
time = new Date(time);
|
672
714
|
/** @type {?} */
|
@@ -728,23 +770,22 @@
|
|
728
770
|
return 'in ' + Math.floor(diff) + ' years';
|
729
771
|
}
|
730
772
|
};
|
731
|
-
TdTimeUntilPipe.decorators = [
|
732
|
-
{ type: core.Pipe, args: [{
|
733
|
-
name: 'timeUntil',
|
734
|
-
},] }
|
735
|
-
];
|
736
773
|
return TdTimeUntilPipe;
|
737
774
|
}());
|
775
|
+
TdTimeUntilPipe.decorators = [
|
776
|
+
{ type: core.Pipe, args: [{
|
777
|
+
name: 'timeUntil',
|
778
|
+
},] }
|
779
|
+
];
|
738
780
|
|
739
781
|
/**
|
740
782
|
* @fileoverview added by tsickle
|
741
|
-
*
|
783
|
+
* Generated from: pipes/bytes/bytes.pipe.ts
|
784
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
742
785
|
*/
|
743
786
|
var TdBytesPipe = /** @class */ (function () {
|
744
787
|
function TdBytesPipe() {
|
745
788
|
}
|
746
|
-
/* `bytes` needs to be `any` or TypeScript complains
|
747
|
-
Tried both `number` and `number | string` */
|
748
789
|
/* `bytes` needs to be `any` or TypeScript complains
|
749
790
|
Tried both `number` and `number | string` */
|
750
791
|
/**
|
@@ -752,14 +793,7 @@
|
|
752
793
|
* @param {?=} precision
|
753
794
|
* @return {?}
|
754
795
|
*/
|
755
|
-
TdBytesPipe.prototype.transform =
|
756
|
-
Tried both `number` and `number | string` */
|
757
|
-
/**
|
758
|
-
* @param {?} bytes
|
759
|
-
* @param {?=} precision
|
760
|
-
* @return {?}
|
761
|
-
*/
|
762
|
-
function (bytes, precision) {
|
796
|
+
TdBytesPipe.prototype.transform = function (bytes, precision) {
|
763
797
|
if (precision === void 0) { precision = 2; }
|
764
798
|
if (bytes === 0) {
|
765
799
|
return '0 B';
|
@@ -780,23 +814,22 @@
|
|
780
814
|
}
|
781
815
|
return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
|
782
816
|
};
|
783
|
-
TdBytesPipe.decorators = [
|
784
|
-
{ type: core.Pipe, args: [{
|
785
|
-
name: 'bytes',
|
786
|
-
},] }
|
787
|
-
];
|
788
817
|
return TdBytesPipe;
|
789
818
|
}());
|
819
|
+
TdBytesPipe.decorators = [
|
820
|
+
{ type: core.Pipe, args: [{
|
821
|
+
name: 'bytes',
|
822
|
+
},] }
|
823
|
+
];
|
790
824
|
|
791
825
|
/**
|
792
826
|
* @fileoverview added by tsickle
|
793
|
-
*
|
827
|
+
* Generated from: pipes/decimal-bytes/decimal-bytes.pipe.ts
|
828
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
794
829
|
*/
|
795
830
|
var TdDecimalBytesPipe = /** @class */ (function () {
|
796
831
|
function TdDecimalBytesPipe() {
|
797
832
|
}
|
798
|
-
/* `bytes` needs to be `any` or TypeScript complains
|
799
|
-
Tried both `number` and `number | string` */
|
800
833
|
/* `bytes` needs to be `any` or TypeScript complains
|
801
834
|
Tried both `number` and `number | string` */
|
802
835
|
/**
|
@@ -804,14 +837,7 @@
|
|
804
837
|
* @param {?=} precision
|
805
838
|
* @return {?}
|
806
839
|
*/
|
807
|
-
TdDecimalBytesPipe.prototype.transform =
|
808
|
-
Tried both `number` and `number | string` */
|
809
|
-
/**
|
810
|
-
* @param {?} bytes
|
811
|
-
* @param {?=} precision
|
812
|
-
* @return {?}
|
813
|
-
*/
|
814
|
-
function (bytes, precision) {
|
840
|
+
TdDecimalBytesPipe.prototype.transform = function (bytes, precision) {
|
815
841
|
if (precision === void 0) { precision = 2; }
|
816
842
|
if (bytes === 0) {
|
817
843
|
return '0 B';
|
@@ -832,38 +858,35 @@
|
|
832
858
|
}
|
833
859
|
return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
|
834
860
|
};
|
835
|
-
TdDecimalBytesPipe.decorators = [
|
836
|
-
{ type: core.Pipe, args: [{
|
837
|
-
name: 'decimalBytes',
|
838
|
-
},] }
|
839
|
-
];
|
840
861
|
return TdDecimalBytesPipe;
|
841
862
|
}());
|
863
|
+
TdDecimalBytesPipe.decorators = [
|
864
|
+
{ type: core.Pipe, args: [{
|
865
|
+
name: 'decimalBytes',
|
866
|
+
},] }
|
867
|
+
];
|
842
868
|
|
843
869
|
/**
|
844
870
|
* @fileoverview added by tsickle
|
845
|
-
*
|
871
|
+
* Generated from: pipes/digits/digits.pipe.ts
|
872
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
846
873
|
*/
|
847
874
|
var TdDigitsPipe = /** @class */ (function () {
|
875
|
+
/**
|
876
|
+
* @param {?=} _locale
|
877
|
+
*/
|
848
878
|
function TdDigitsPipe(_locale) {
|
849
879
|
if (_locale === void 0) { _locale = 'en'; }
|
850
880
|
this._locale = _locale;
|
851
881
|
this._decimalPipe = new common.DecimalPipe(this._locale);
|
852
882
|
}
|
853
883
|
/* `digits` needs to be type `digits: any` or TypeScript complains */
|
854
|
-
/* `digits` needs to be type `digits: any` or TypeScript complains */
|
855
|
-
/**
|
856
|
-
* @param {?} digits
|
857
|
-
* @param {?=} precision
|
858
|
-
* @return {?}
|
859
|
-
*/
|
860
|
-
TdDigitsPipe.prototype.transform = /* `digits` needs to be type `digits: any` or TypeScript complains */
|
861
884
|
/**
|
862
885
|
* @param {?} digits
|
863
886
|
* @param {?=} precision
|
864
887
|
* @return {?}
|
865
888
|
*/
|
866
|
-
function (digits, precision) {
|
889
|
+
TdDigitsPipe.prototype.transform = function (digits, precision) {
|
867
890
|
if (precision === void 0) { precision = 1; }
|
868
891
|
if (digits === 0) {
|
869
892
|
return '0';
|
@@ -885,17 +908,17 @@
|
|
885
908
|
var size = sizes[i];
|
886
909
|
return (this._decimalPipe.transform(parseFloat((digits / Math.pow(k, i)).toFixed(precision))) + (size ? ' ' + size : ''));
|
887
910
|
};
|
888
|
-
TdDigitsPipe.decorators = [
|
889
|
-
{ type: core.Pipe, args: [{
|
890
|
-
name: 'digits',
|
891
|
-
},] }
|
892
|
-
];
|
893
|
-
/** @nocollapse */
|
894
|
-
TdDigitsPipe.ctorParameters = function () { return [
|
895
|
-
{ type: String, decorators: [{ type: core.Inject, args: [core.LOCALE_ID,] }] }
|
896
|
-
]; };
|
897
911
|
return TdDigitsPipe;
|
898
912
|
}());
|
913
|
+
TdDigitsPipe.decorators = [
|
914
|
+
{ type: core.Pipe, args: [{
|
915
|
+
name: 'digits',
|
916
|
+
},] }
|
917
|
+
];
|
918
|
+
/** @nocollapse */
|
919
|
+
TdDigitsPipe.ctorParameters = function () { return [
|
920
|
+
{ type: String, decorators: [{ type: core.Inject, args: [core.LOCALE_ID,] }] }
|
921
|
+
]; };
|
899
922
|
if (false) {
|
900
923
|
/**
|
901
924
|
* @type {?}
|
@@ -911,7 +934,8 @@
|
|
911
934
|
|
912
935
|
/**
|
913
936
|
* @fileoverview added by tsickle
|
914
|
-
*
|
937
|
+
* Generated from: pipes/truncate/truncate.pipe.ts
|
938
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
915
939
|
*/
|
916
940
|
var TdTruncatePipe = /** @class */ (function () {
|
917
941
|
function TdTruncatePipe() {
|
@@ -921,12 +945,7 @@
|
|
921
945
|
* @param {?} length
|
922
946
|
* @return {?}
|
923
947
|
*/
|
924
|
-
TdTruncatePipe.prototype.transform =
|
925
|
-
* @param {?} text
|
926
|
-
* @param {?} length
|
927
|
-
* @return {?}
|
928
|
-
*/
|
929
|
-
function (text, length) {
|
948
|
+
TdTruncatePipe.prototype.transform = function (text, length) {
|
930
949
|
if (typeof text !== 'string') {
|
931
950
|
return '';
|
932
951
|
}
|
@@ -941,66 +960,57 @@
|
|
941
960
|
}
|
942
961
|
return truncated;
|
943
962
|
};
|
944
|
-
TdTruncatePipe.decorators = [
|
945
|
-
{ type: core.Pipe, args: [{
|
946
|
-
name: 'truncate',
|
947
|
-
},] }
|
948
|
-
];
|
949
963
|
return TdTruncatePipe;
|
950
964
|
}());
|
965
|
+
TdTruncatePipe.decorators = [
|
966
|
+
{ type: core.Pipe, args: [{
|
967
|
+
name: 'truncate',
|
968
|
+
},] }
|
969
|
+
];
|
951
970
|
|
952
971
|
/**
|
953
972
|
* @fileoverview added by tsickle
|
954
|
-
*
|
973
|
+
* Generated from: services/router-path.service.ts
|
974
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
955
975
|
*/
|
956
976
|
var RouterPathService = /** @class */ (function () {
|
977
|
+
/**
|
978
|
+
* @param {?} _router
|
979
|
+
*/
|
957
980
|
function RouterPathService(_router) {
|
958
981
|
this._router = _router;
|
959
982
|
this._router.events
|
960
|
-
.pipe(operators.filter((/**
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
*/
|
969
|
-
function (e) {
|
983
|
+
.pipe(operators.filter(( /**
|
984
|
+
* @param {?} e
|
985
|
+
* @return {?}
|
986
|
+
*/function (e) { return e instanceof router.RoutesRecognized; })), operators.pairwise())
|
987
|
+
.subscribe(( /**
|
988
|
+
* @param {?} e
|
989
|
+
* @return {?}
|
990
|
+
*/function (e) {
|
970
991
|
RouterPathService._previousRoute = e[0].urlAfterRedirects;
|
971
992
|
}));
|
972
993
|
}
|
973
994
|
/*
|
974
|
-
* Utility function to get the route the user previously went to
|
975
|
-
* good for use in a "back button"
|
976
|
-
*/
|
977
|
-
/*
|
978
|
-
* Utility function to get the route the user previously went to
|
979
|
-
* good for use in a "back button"
|
980
|
-
*/
|
981
|
-
/**
|
982
|
-
* @return {?}
|
983
|
-
*/
|
984
|
-
RouterPathService.prototype.getPreviousRoute = /*
|
985
995
|
* Utility function to get the route the user previously went to
|
986
996
|
* good for use in a "back button"
|
987
997
|
*/
|
988
998
|
/**
|
989
999
|
* @return {?}
|
990
1000
|
*/
|
991
|
-
function () {
|
1001
|
+
RouterPathService.prototype.getPreviousRoute = function () {
|
992
1002
|
return RouterPathService._previousRoute;
|
993
1003
|
};
|
994
|
-
RouterPathService._previousRoute = '/';
|
995
|
-
RouterPathService.decorators = [
|
996
|
-
{ type: core.Injectable }
|
997
|
-
];
|
998
|
-
/** @nocollapse */
|
999
|
-
RouterPathService.ctorParameters = function () { return [
|
1000
|
-
{ type: router.Router }
|
1001
|
-
]; };
|
1002
1004
|
return RouterPathService;
|
1003
1005
|
}());
|
1006
|
+
RouterPathService._previousRoute = '/';
|
1007
|
+
RouterPathService.decorators = [
|
1008
|
+
{ type: core.Injectable }
|
1009
|
+
];
|
1010
|
+
/** @nocollapse */
|
1011
|
+
RouterPathService.ctorParameters = function () { return [
|
1012
|
+
{ type: router.Router }
|
1013
|
+
]; };
|
1004
1014
|
if (false) {
|
1005
1015
|
/**
|
1006
1016
|
* @type {?}
|
@@ -1016,7 +1026,8 @@
|
|
1016
1026
|
|
1017
1027
|
/**
|
1018
1028
|
* @fileoverview added by tsickle
|
1019
|
-
*
|
1029
|
+
* Generated from: services/icon.service.ts
|
1030
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1020
1031
|
*/
|
1021
1032
|
var IconService = /** @class */ (function () {
|
1022
1033
|
function IconService() {
|
@@ -2087,37 +2098,32 @@
|
|
2087
2098
|
];
|
2088
2099
|
}
|
2089
2100
|
Object.defineProperty(IconService.prototype, "icons", {
|
2090
|
-
|
2101
|
+
/**
|
2091
2102
|
* @return {?}
|
2092
2103
|
*/
|
2093
|
-
function () {
|
2104
|
+
get: function () {
|
2094
2105
|
return this._icons;
|
2095
2106
|
},
|
2096
|
-
enumerable:
|
2107
|
+
enumerable: false,
|
2097
2108
|
configurable: true
|
2098
2109
|
});
|
2099
2110
|
/**
|
2100
2111
|
* @param {?} query
|
2101
2112
|
* @return {?}
|
2102
2113
|
*/
|
2103
|
-
IconService.prototype.filter =
|
2104
|
-
|
2105
|
-
* @return {?}
|
2106
|
-
*/
|
2107
|
-
function (query) {
|
2108
|
-
return this.icons.filter((/**
|
2114
|
+
IconService.prototype.filter = function (query) {
|
2115
|
+
return this.icons.filter(( /**
|
2109
2116
|
* @param {?} el
|
2110
2117
|
* @return {?}
|
2111
|
-
*/
|
2112
|
-
function (el) {
|
2118
|
+
*/function (el) {
|
2113
2119
|
return el.toLowerCase().indexOf(query ? query.toLowerCase() : '') > -1;
|
2114
2120
|
}));
|
2115
2121
|
};
|
2116
|
-
IconService.decorators = [
|
2117
|
-
{ type: core.Injectable }
|
2118
|
-
];
|
2119
2122
|
return IconService;
|
2120
2123
|
}());
|
2124
|
+
IconService.decorators = [
|
2125
|
+
{ type: core.Injectable }
|
2126
|
+
];
|
2121
2127
|
if (false) {
|
2122
2128
|
/**
|
2123
2129
|
* @type {?}
|
@@ -2128,7 +2134,8 @@
|
|
2128
2134
|
|
2129
2135
|
/**
|
2130
2136
|
* @fileoverview added by tsickle
|
2131
|
-
*
|
2137
|
+
* Generated from: common.module.ts
|
2138
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2132
2139
|
*/
|
2133
2140
|
/** @type {?} */
|
2134
2141
|
var TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
|
@@ -2148,20 +2155,21 @@
|
|
2148
2155
|
var CovalentCommonModule = /** @class */ (function () {
|
2149
2156
|
function CovalentCommonModule() {
|
2150
2157
|
}
|
2151
|
-
CovalentCommonModule.decorators = [
|
2152
|
-
{ type: core.NgModule, args: [{
|
2153
|
-
imports: [forms.FormsModule, common.CommonModule],
|
2154
|
-
declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
2155
|
-
exports: [forms.FormsModule, common.CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
2156
|
-
providers: [RouterPathService, IconService],
|
2157
|
-
},] }
|
2158
|
-
];
|
2159
2158
|
return CovalentCommonModule;
|
2160
2159
|
}());
|
2160
|
+
CovalentCommonModule.decorators = [
|
2161
|
+
{ type: core.NgModule, args: [{
|
2162
|
+
imports: [forms.FormsModule, common.CommonModule],
|
2163
|
+
declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
2164
|
+
exports: [forms.FormsModule, common.CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
2165
|
+
providers: [RouterPathService, IconService],
|
2166
|
+
},] }
|
2167
|
+
];
|
2161
2168
|
|
2162
2169
|
/**
|
2163
2170
|
* @fileoverview added by tsickle
|
2164
|
-
*
|
2171
|
+
* Generated from: animations/rotate/rotate.animation.ts
|
2172
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2165
2173
|
*/
|
2166
2174
|
/**
|
2167
2175
|
* @record
|
@@ -2200,7 +2208,8 @@
|
|
2200
2208
|
|
2201
2209
|
/**
|
2202
2210
|
* @fileoverview added by tsickle
|
2203
|
-
*
|
2211
|
+
* Generated from: animations/collapse/collapse.animation.ts
|
2212
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2204
2213
|
*/
|
2205
2214
|
/**
|
2206
2215
|
* @record
|
@@ -2265,7 +2274,8 @@
|
|
2265
2274
|
|
2266
2275
|
/**
|
2267
2276
|
* @fileoverview added by tsickle
|
2268
|
-
*
|
2277
|
+
* Generated from: animations/fade/fadeInOut.animation.ts
|
2278
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2269
2279
|
*/
|
2270
2280
|
/**
|
2271
2281
|
* @record
|
@@ -2316,7 +2326,8 @@
|
|
2316
2326
|
|
2317
2327
|
/**
|
2318
2328
|
* @fileoverview added by tsickle
|
2319
|
-
*
|
2329
|
+
* Generated from: animations/bounce/bounce.animation.ts
|
2330
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2320
2331
|
*/
|
2321
2332
|
/**
|
2322
2333
|
* const tdBounceAnimation
|
@@ -2390,7 +2401,8 @@
|
|
2390
2401
|
|
2391
2402
|
/**
|
2392
2403
|
* @fileoverview added by tsickle
|
2393
|
-
*
|
2404
|
+
* Generated from: animations/flash/flash.animation.ts
|
2405
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2394
2406
|
*/
|
2395
2407
|
/**
|
2396
2408
|
* const tdFlashAnimation
|
@@ -2428,7 +2440,8 @@
|
|
2428
2440
|
|
2429
2441
|
/**
|
2430
2442
|
* @fileoverview added by tsickle
|
2431
|
-
*
|
2443
|
+
* Generated from: animations/headshake/headshake.animation.ts
|
2444
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2432
2445
|
*/
|
2433
2446
|
/**
|
2434
2447
|
* const tdHeadshakeAnimation
|
@@ -2467,7 +2480,8 @@
|
|
2467
2480
|
|
2468
2481
|
/**
|
2469
2482
|
* @fileoverview added by tsickle
|
2470
|
-
*
|
2483
|
+
* Generated from: animations/jello/jello.animation.ts
|
2484
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2471
2485
|
*/
|
2472
2486
|
/**
|
2473
2487
|
* const tdJelloAnimation
|
@@ -2509,7 +2523,8 @@
|
|
2509
2523
|
|
2510
2524
|
/**
|
2511
2525
|
* @fileoverview added by tsickle
|
2512
|
-
*
|
2526
|
+
* Generated from: animations/pulse/pulse.animation.ts
|
2527
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2513
2528
|
*/
|
2514
2529
|
/**
|
2515
2530
|
* const tdPulseAnimation
|
@@ -2543,15 +2558,10 @@
|
|
2543
2558
|
], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
|
2544
2559
|
]);
|
2545
2560
|
|
2546
|
-
/**
|
2547
|
-
* @fileoverview added by tsickle
|
2548
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2549
|
-
*/
|
2550
2561
|
/** @type {?} */
|
2551
|
-
var noop = (/**
|
2562
|
+
var noop = ( /**
|
2552
2563
|
* @return {?}
|
2553
|
-
*/
|
2554
|
-
function () {
|
2564
|
+
*/function () {
|
2555
2565
|
// empty method
|
2556
2566
|
});
|
2557
2567
|
var ɵ0 = noop;
|
@@ -2587,6 +2597,9 @@
|
|
2587
2597
|
function mixinControlValueAccessor(base, initialValue) {
|
2588
2598
|
return /** @class */ (function (_super) {
|
2589
2599
|
__extends(class_1, _super);
|
2600
|
+
/**
|
2601
|
+
* @param {...?} args
|
2602
|
+
*/
|
2590
2603
|
function class_1() {
|
2591
2604
|
var args = [];
|
2592
2605
|
for (var _i = 0; _i < arguments.length; _i++) {
|
@@ -2594,31 +2607,29 @@
|
|
2594
2607
|
}
|
2595
2608
|
var _this = _super.apply(this, __spread(args)) || this;
|
2596
2609
|
_this._value = initialValue instanceof Array ? Object.assign([], initialValue) : initialValue;
|
2597
|
-
_this.onChange = (/**
|
2610
|
+
_this.onChange = ( /**
|
2598
2611
|
* @param {?} _
|
2599
2612
|
* @return {?}
|
2600
|
-
*/
|
2601
|
-
|
2602
|
-
_this.onTouched = (/**
|
2613
|
+
*/function (_) { return noop; });
|
2614
|
+
_this.onTouched = ( /**
|
2603
2615
|
* @return {?}
|
2604
|
-
*/
|
2605
|
-
function () { return noop; });
|
2616
|
+
*/function () { return noop; });
|
2606
2617
|
_this._subjectValueChanges = new rxjs.Subject();
|
2607
2618
|
_this.valueChanges = _this._subjectValueChanges.asObservable();
|
2608
2619
|
return _this;
|
2609
2620
|
}
|
2610
2621
|
Object.defineProperty(class_1.prototype, "value", {
|
2611
|
-
|
2622
|
+
/**
|
2612
2623
|
* @return {?}
|
2613
2624
|
*/
|
2614
|
-
function () {
|
2625
|
+
get: function () {
|
2615
2626
|
return this._value;
|
2616
2627
|
},
|
2617
|
-
|
2628
|
+
/**
|
2618
2629
|
* @param {?} v
|
2619
2630
|
* @return {?}
|
2620
2631
|
*/
|
2621
|
-
function (v) {
|
2632
|
+
set: function (v) {
|
2622
2633
|
if (v !== this._value) {
|
2623
2634
|
this._value = v;
|
2624
2635
|
this.onChange(v);
|
@@ -2626,18 +2637,14 @@
|
|
2626
2637
|
this._subjectValueChanges.next(v);
|
2627
2638
|
}
|
2628
2639
|
},
|
2629
|
-
enumerable:
|
2640
|
+
enumerable: false,
|
2630
2641
|
configurable: true
|
2631
2642
|
});
|
2632
2643
|
/**
|
2633
2644
|
* @param {?} value
|
2634
2645
|
* @return {?}
|
2635
2646
|
*/
|
2636
|
-
class_1.prototype.writeValue =
|
2637
|
-
* @param {?} value
|
2638
|
-
* @return {?}
|
2639
|
-
*/
|
2640
|
-
function (value) {
|
2647
|
+
class_1.prototype.writeValue = function (value) {
|
2641
2648
|
this.value = value;
|
2642
2649
|
this._changeDetectorRef.markForCheck();
|
2643
2650
|
};
|
@@ -2645,32 +2652,20 @@
|
|
2645
2652
|
* @param {?} fn
|
2646
2653
|
* @return {?}
|
2647
2654
|
*/
|
2648
|
-
class_1.prototype.registerOnChange =
|
2649
|
-
* @param {?} fn
|
2650
|
-
* @return {?}
|
2651
|
-
*/
|
2652
|
-
function (fn) {
|
2655
|
+
class_1.prototype.registerOnChange = function (fn) {
|
2653
2656
|
this.onChange = fn;
|
2654
2657
|
};
|
2655
2658
|
/**
|
2656
2659
|
* @param {?} fn
|
2657
2660
|
* @return {?}
|
2658
2661
|
*/
|
2659
|
-
class_1.prototype.registerOnTouched =
|
2660
|
-
* @param {?} fn
|
2661
|
-
* @return {?}
|
2662
|
-
*/
|
2663
|
-
function (fn) {
|
2662
|
+
class_1.prototype.registerOnTouched = function (fn) {
|
2664
2663
|
this.onTouched = fn;
|
2665
2664
|
};
|
2666
2665
|
return class_1;
|
2667
2666
|
}(base));
|
2668
2667
|
}
|
2669
2668
|
|
2670
|
-
/**
|
2671
|
-
* @fileoverview added by tsickle
|
2672
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2673
|
-
*/
|
2674
2669
|
/**
|
2675
2670
|
* Interface to implement when applying the disabled mixin
|
2676
2671
|
* @record
|
@@ -2694,6 +2689,9 @@
|
|
2694
2689
|
function mixinDisabled(base) {
|
2695
2690
|
return /** @class */ (function (_super) {
|
2696
2691
|
__extends(class_1, _super);
|
2692
|
+
/**
|
2693
|
+
* @param {...?} args
|
2694
|
+
*/
|
2697
2695
|
function class_1() {
|
2698
2696
|
var args = [];
|
2699
2697
|
for (var _i = 0; _i < arguments.length; _i++) {
|
@@ -2704,17 +2702,17 @@
|
|
2704
2702
|
return _this;
|
2705
2703
|
}
|
2706
2704
|
Object.defineProperty(class_1.prototype, "disabled", {
|
2707
|
-
|
2705
|
+
/**
|
2708
2706
|
* @return {?}
|
2709
2707
|
*/
|
2710
|
-
function () {
|
2708
|
+
get: function () {
|
2711
2709
|
return this._disabled;
|
2712
2710
|
},
|
2713
|
-
|
2711
|
+
/**
|
2714
2712
|
* @param {?} value
|
2715
2713
|
* @return {?}
|
2716
2714
|
*/
|
2717
|
-
function (value) {
|
2715
|
+
set: function (value) {
|
2718
2716
|
/** @type {?} */
|
2719
2717
|
var newValue = coercion.coerceBooleanProperty(value);
|
2720
2718
|
if (this._disabled !== newValue) {
|
@@ -2722,28 +2720,20 @@
|
|
2722
2720
|
this.onDisabledChange(this._disabled);
|
2723
2721
|
}
|
2724
2722
|
},
|
2725
|
-
enumerable:
|
2723
|
+
enumerable: false,
|
2726
2724
|
configurable: true
|
2727
2725
|
});
|
2728
2726
|
/**
|
2729
2727
|
* @param {?} v
|
2730
2728
|
* @return {?}
|
2731
2729
|
*/
|
2732
|
-
class_1.prototype.onDisabledChange =
|
2733
|
-
* @param {?} v
|
2734
|
-
* @return {?}
|
2735
|
-
*/
|
2736
|
-
function (v) {
|
2730
|
+
class_1.prototype.onDisabledChange = function (v) {
|
2737
2731
|
/** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
|
2738
2732
|
};
|
2739
2733
|
return class_1;
|
2740
2734
|
}(base));
|
2741
2735
|
}
|
2742
2736
|
|
2743
|
-
/**
|
2744
|
-
* @fileoverview added by tsickle
|
2745
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2746
|
-
*/
|
2747
2737
|
/**
|
2748
2738
|
* Interface to implement when applying the disabled mixin
|
2749
2739
|
* @record
|
@@ -2767,6 +2757,9 @@
|
|
2767
2757
|
function mixinDisableRipple(base) {
|
2768
2758
|
return /** @class */ (function (_super) {
|
2769
2759
|
__extends(class_1, _super);
|
2760
|
+
/**
|
2761
|
+
* @param {...?} args
|
2762
|
+
*/
|
2770
2763
|
function class_1() {
|
2771
2764
|
var args = [];
|
2772
2765
|
for (var _i = 0; _i < arguments.length; _i++) {
|
@@ -2777,17 +2770,17 @@
|
|
2777
2770
|
return _this;
|
2778
2771
|
}
|
2779
2772
|
Object.defineProperty(class_1.prototype, "disableRipple", {
|
2780
|
-
|
2773
|
+
/**
|
2781
2774
|
* @return {?}
|
2782
2775
|
*/
|
2783
|
-
function () {
|
2776
|
+
get: function () {
|
2784
2777
|
return this._disableRipple;
|
2785
2778
|
},
|
2786
|
-
|
2779
|
+
/**
|
2787
2780
|
* @param {?} value
|
2788
2781
|
* @return {?}
|
2789
2782
|
*/
|
2790
|
-
function (value) {
|
2783
|
+
set: function (value) {
|
2791
2784
|
/** @type {?} */
|
2792
2785
|
var newValue = coercion.coerceBooleanProperty(value);
|
2793
2786
|
if (this._disableRipple !== newValue) {
|
@@ -2795,18 +2788,14 @@
|
|
2795
2788
|
this.onDisableRippleChange(this._disableRipple);
|
2796
2789
|
}
|
2797
2790
|
},
|
2798
|
-
enumerable:
|
2791
|
+
enumerable: false,
|
2799
2792
|
configurable: true
|
2800
2793
|
});
|
2801
2794
|
/**
|
2802
2795
|
* @param {?} v
|
2803
2796
|
* @return {?}
|
2804
2797
|
*/
|
2805
|
-
class_1.prototype.onDisableRippleChange =
|
2806
|
-
* @param {?} v
|
2807
|
-
* @return {?}
|
2808
|
-
*/
|
2809
|
-
function (v) {
|
2798
|
+
class_1.prototype.onDisableRippleChange = function (v) {
|
2810
2799
|
/** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
|
2811
2800
|
};
|
2812
2801
|
return class_1;
|
@@ -2815,7 +2804,8 @@
|
|
2815
2804
|
|
2816
2805
|
/**
|
2817
2806
|
* @fileoverview added by tsickle
|
2818
|
-
*
|
2807
|
+
* Generated from: forms/validators/validators.ts
|
2808
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2819
2809
|
*/
|
2820
2810
|
var CovalentValidators = /** @class */ (function () {
|
2821
2811
|
function CovalentValidators() {
|
@@ -2824,18 +2814,13 @@
|
|
2824
2814
|
* @param {?} minValue
|
2825
2815
|
* @return {?}
|
2826
2816
|
*/
|
2827
|
-
CovalentValidators.min =
|
2828
|
-
* @param {?} minValue
|
2829
|
-
* @return {?}
|
2830
|
-
*/
|
2831
|
-
function (minValue) {
|
2817
|
+
CovalentValidators.min = function (minValue) {
|
2832
2818
|
// tslint:disable-next-line:prefer-immediate-return
|
2833
2819
|
/** @type {?} */
|
2834
|
-
var func = (/**
|
2820
|
+
var func = ( /**
|
2835
2821
|
* @param {?} c
|
2836
2822
|
* @return {?}
|
2837
|
-
*/
|
2838
|
-
function (c) {
|
2823
|
+
*/function (c) {
|
2839
2824
|
if (!!forms.Validators.required(c) || (!minValue && minValue !== 0)) {
|
2840
2825
|
return undefined;
|
2841
2826
|
}
|
@@ -2849,18 +2834,13 @@
|
|
2849
2834
|
* @param {?} maxValue
|
2850
2835
|
* @return {?}
|
2851
2836
|
*/
|
2852
|
-
CovalentValidators.max =
|
2853
|
-
* @param {?} maxValue
|
2854
|
-
* @return {?}
|
2855
|
-
*/
|
2856
|
-
function (maxValue) {
|
2837
|
+
CovalentValidators.max = function (maxValue) {
|
2857
2838
|
// tslint:disable-next-line:prefer-immediate-return
|
2858
2839
|
/** @type {?} */
|
2859
|
-
var func = (/**
|
2840
|
+
var func = ( /**
|
2860
2841
|
* @param {?} c
|
2861
2842
|
* @return {?}
|
2862
|
-
*/
|
2863
|
-
function (c) {
|
2843
|
+
*/function (c) {
|
2864
2844
|
if (!!forms.Validators.required(c) || (!maxValue && maxValue !== 0)) {
|
2865
2845
|
return undefined;
|
2866
2846
|
}
|
@@ -2874,11 +2854,7 @@
|
|
2874
2854
|
* @param {?} c
|
2875
2855
|
* @return {?}
|
2876
2856
|
*/
|
2877
|
-
CovalentValidators.numberRequired =
|
2878
|
-
* @param {?} c
|
2879
|
-
* @return {?}
|
2880
|
-
*/
|
2881
|
-
function (c) {
|
2857
|
+
CovalentValidators.numberRequired = function (c) {
|
2882
2858
|
return Number.isNaN(c.value) ? { required: true } : undefined;
|
2883
2859
|
};
|
2884
2860
|
return CovalentValidators;
|
@@ -2886,7 +2862,8 @@
|
|
2886
2862
|
|
2887
2863
|
/**
|
2888
2864
|
* @fileoverview added by tsickle
|
2889
|
-
*
|
2865
|
+
* Generated from: functions/clipboard.ts
|
2866
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2890
2867
|
*/
|
2891
2868
|
/**
|
2892
2869
|
* Assign a text value to the system clipboard. Note: Due to browser
|
@@ -2915,7 +2892,8 @@
|
|
2915
2892
|
|
2916
2893
|
/**
|
2917
2894
|
* @fileoverview added by tsickle
|
2918
|
-
*
|
2895
|
+
* Generated from: functions/convert.ts
|
2896
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2919
2897
|
*/
|
2920
2898
|
/**
|
2921
2899
|
* Conversion function that takes an array of objects and converts
|
@@ -2935,12 +2913,11 @@
|
|
2935
2913
|
/** @type {?} */
|
2936
2914
|
var outputString = '';
|
2937
2915
|
// Iterate through array, creating one output line per object
|
2938
|
-
objects.forEach((/**
|
2916
|
+
objects.forEach(( /**
|
2939
2917
|
* @param {?} value
|
2940
2918
|
* @param {?} key
|
2941
2919
|
* @return {?}
|
2942
|
-
*/
|
2943
|
-
function (value, key) {
|
2920
|
+
*/function (value, key) {
|
2944
2921
|
var e_1, _a;
|
2945
2922
|
/** @type {?} */
|
2946
2923
|
var line = '';
|
@@ -3034,7 +3011,8 @@
|
|
3034
3011
|
|
3035
3012
|
/**
|
3036
3013
|
* @fileoverview added by tsickle
|
3037
|
-
*
|
3014
|
+
* Generated from: functions/download.ts
|
3015
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3038
3016
|
*/
|
3039
3017
|
/**
|
3040
3018
|
* Download CSV content to the specified file with .csv extension
|
@@ -3126,7 +3104,8 @@
|
|
3126
3104
|
|
3127
3105
|
/**
|
3128
3106
|
* @fileoverview added by tsickle
|
3129
|
-
*
|
3107
|
+
* Generated from: functions/file.ts
|
3108
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3130
3109
|
*/
|
3131
3110
|
/**
|
3132
3111
|
* Read file as UTF-8 text. Return string contents on read completion.
|
@@ -3135,23 +3114,39 @@
|
|
3135
3114
|
* @return {?} promise that resolves to file content string
|
3136
3115
|
*/
|
3137
3116
|
function readFile(file) {
|
3138
|
-
return new Promise((/**
|
3117
|
+
return new Promise(( /**
|
3139
3118
|
* @param {?} resolve
|
3140
3119
|
* @return {?}
|
3141
|
-
*/
|
3142
|
-
function (resolve) {
|
3120
|
+
*/function (resolve) {
|
3143
3121
|
/** @type {?} */
|
3144
3122
|
var reader = new FileReader();
|
3145
3123
|
reader.readAsText(file, 'UTF-8');
|
3146
|
-
reader.onload = (/**
|
3124
|
+
reader.onload = ( /**
|
3147
3125
|
* @return {?}
|
3148
|
-
*/
|
3149
|
-
|
3150
|
-
resolve((/** @type {?} */ (reader.result)));
|
3126
|
+
*/function () {
|
3127
|
+
resolve(( /** @type {?} */(reader.result)));
|
3151
3128
|
});
|
3152
3129
|
}));
|
3153
3130
|
}
|
3154
3131
|
|
3132
|
+
/**
|
3133
|
+
* @fileoverview added by tsickle
|
3134
|
+
* Generated from: public-api.ts
|
3135
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3136
|
+
*/
|
3137
|
+
|
3138
|
+
/**
|
3139
|
+
* @fileoverview added by tsickle
|
3140
|
+
* Generated from: index.ts
|
3141
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3142
|
+
*/
|
3143
|
+
|
3144
|
+
/**
|
3145
|
+
* @fileoverview added by tsickle
|
3146
|
+
* Generated from: covalent-core-common.ts
|
3147
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3148
|
+
*/
|
3149
|
+
|
3155
3150
|
exports.CovalentCommonModule = CovalentCommonModule;
|
3156
3151
|
exports.CovalentValidators = CovalentValidators;
|
3157
3152
|
exports.TdAutoTrimDirective = TdAutoTrimDirective;
|