@covalent/core 4.0.0 → 4.1.0-develop.2
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/README.md +5 -4
- package/breadcrumbs/README.md +21 -17
- package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -1
- package/breadcrumbs/breadcrumbs.component.d.ts +4 -0
- package/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/breadcrumbs/covalent-core-breadcrumbs.d.ts +2 -1
- package/breadcrumbs/package.json +6 -7
- package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/README.md +3 -0
- package/common/_common-theme.scss +3 -1
- package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
- package/common/behaviors/disabled.mixin.d.ts +1 -1
- package/common/common.module.d.ts +15 -0
- package/common/covalent-core-common.d.ts +2 -3
- package/common/directives/fullscreen/fullscreen.directive.d.ts +3 -0
- package/common/forms/auto-trim/auto-trim.directive.d.ts +3 -0
- package/common/package.json +6 -7
- package/common/pipes/bytes/bytes.pipe.d.ts +3 -0
- package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +3 -0
- package/common/pipes/digits/digits.pipe.d.ts +3 -0
- package/common/pipes/time-ago/time-ago.pipe.d.ts +3 -0
- package/common/pipes/time-difference/time-difference.pipe.d.ts +3 -0
- package/common/pipes/time-until/time-until.pipe.d.ts +3 -0
- package/common/pipes/truncate/truncate.pipe.d.ts +4 -1
- package/common/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/services/icon.service.d.ts +3 -0
- package/common/services/router-path.service.d.ts +3 -0
- package/common/styles/font/README.md +4 -2
- package/covalent-core.d.ts +2 -1
- package/dialogs/README.md +38 -30
- package/dialogs/_dialog-theme.scss +1 -0
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +6 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +5 -2
- package/dialogs/covalent-core-dialogs.d.ts +2 -2
- package/dialogs/dialog.component.d.ts +9 -0
- package/dialogs/dialogs.module.d.ts +17 -0
- package/dialogs/package.json +6 -7
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +6 -3
- package/dialogs/{public-api.d.ts → public_api.d.ts} +1 -0
- package/dialogs/services/dialog.service.d.ts +3 -0
- package/dialogs/src/README.md +223 -0
- package/dialogs/window-dialog/window-dialog.component.d.ts +8 -5
- package/dynamic-menu/README.md +6 -6
- package/dynamic-menu/covalent-core-dynamic-menu.d.ts +2 -2
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +4 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +4 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +4 -22
- package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
- package/dynamic-menu/dynamic-menu.module.d.ts +13 -0
- package/dynamic-menu/package.json +6 -7
- package/dynamic-menu/public_api.d.ts +2 -0
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +92 -0
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +134 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
- package/esm2020/breadcrumbs/public_api.mjs +4 -0
- package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
- package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
- package/esm2020/common/animations/common/interfaces.mjs +2 -0
- package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
- package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
- package/esm2020/common/animations/headshake/headshake.animation.mjs +47 -0
- package/esm2020/common/animations/jello/jello.animation.mjs +59 -0
- package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
- package/esm2020/common/animations/rotate/rotate.animation.mjs +30 -0
- package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +41 -0
- package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
- package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
- package/esm2020/common/common.module.mjs +63 -0
- package/esm2020/common/covalent-core-common.mjs +5 -0
- package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
- package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
- package/esm2020/common/forms/validators/validators.mjs +29 -0
- package/esm2020/common/functions/clipboard.mjs +23 -0
- package/esm2020/common/functions/convert.mjs +84 -0
- package/esm2020/common/functions/download.mjs +75 -0
- package/esm2020/common/functions/file.mjs +16 -0
- package/esm2020/common/pipes/bytes/bytes.pipe.mjs +42 -0
- package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +42 -0
- package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
- package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
- package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
- package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
- package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
- package/esm2020/common/public_api.mjs +39 -0
- package/esm2020/common/services/icon.service.mjs +1089 -0
- package/esm2020/common/services/router-path.service.mjs +29 -0
- package/esm2020/covalent-core.mjs +5 -0
- package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +23 -0
- package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +28 -0
- package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
- package/esm2020/dialogs/dialog.component.mjs +56 -0
- package/esm2020/dialogs/dialogs.module.mjs +89 -0
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +46 -0
- package/esm2020/dialogs/public_api.mjs +9 -0
- package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +216 -0
- package/esm2020/dialogs/services/dialog.service.mjs +171 -0
- package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +38 -0
- package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +30 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +24 -0
- package/esm2020/dynamic-menu/dynamic-menu.component.mjs +28 -0
- package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
- package/esm2020/dynamic-menu/dynamic-menu.module.mjs +57 -0
- package/esm2020/dynamic-menu/public_api.mjs +6 -0
- package/esm2020/file/covalent-core-file.mjs +5 -0
- package/esm2020/file/directives/file-drop.directive.mjs +147 -0
- package/esm2020/file/directives/file-select.directive.mjs +77 -0
- package/esm2020/file/file-input/file-input.component.mjs +110 -0
- package/esm2020/file/file-upload/file-upload.component.mjs +174 -0
- package/esm2020/file/file.module.mjs +58 -0
- package/esm2020/file/public_api.mjs +7 -0
- package/esm2020/file/services/file.service.mjs +64 -0
- package/esm2020/json-formatter/collapse.animation.mjs +51 -0
- package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
- package/esm2020/json-formatter/json-formatter.component.mjs +217 -0
- package/esm2020/json-formatter/json-formatter.module.mjs +20 -0
- package/esm2020/json-formatter/public_api.mjs +3 -0
- package/esm2020/layout/covalent-core-layout.mjs +5 -0
- package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +40 -0
- package/esm2020/layout/layout-footer/layout-footer.component.mjs +33 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +93 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +84 -0
- package/esm2020/layout/layout-nav/layout-nav.component.mjs +50 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +128 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +84 -0
- package/esm2020/layout/layout-toggle.class.mjs +92 -0
- package/esm2020/layout/layout.component.mjs +92 -0
- package/esm2020/layout/layout.directives.mjs +85 -0
- package/esm2020/layout/layout.module.mjs +117 -0
- package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +161 -0
- package/esm2020/layout/public_api.mjs +13 -0
- package/esm2020/menu/covalent-core-menu.mjs +5 -0
- package/esm2020/menu/menu.component.mjs +12 -0
- package/esm2020/menu/menu.module.mjs +21 -0
- package/esm2020/menu/public_api.mjs +3 -0
- package/esm2020/message/collapse.animation.mjs +51 -0
- package/esm2020/message/covalent-core-message.mjs +5 -0
- package/esm2020/message/message.component.mjs +203 -0
- package/esm2020/message/message.module.mjs +25 -0
- package/esm2020/message/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/search/covalent-core-search.mjs +5 -0
- package/esm2020/search/public_api.mjs +4 -0
- package/esm2020/search/search-box/search-box.component.mjs +194 -0
- package/esm2020/search/search-input/search-input.component.mjs +203 -0
- package/esm2020/search/search.module.mjs +39 -0
- package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
- package/esm2020/side-sheet/public_api.mjs +6 -0
- package/esm2020/side-sheet/side-sheet-container.mjs +274 -0
- package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
- package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
- package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +201 -0
- package/esm2020/side-sheet/side-sheet.mjs +221 -0
- package/esm2020/side-sheet/side-sheet.module.mjs +45 -0
- package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
- package/esm2020/user-profile/public_api.mjs +4 -0
- package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +24 -0
- package/esm2020/user-profile/user-profile.component.mjs +19 -0
- package/esm2020/user-profile/user-profile.module.mjs +44 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs +246 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
- package/fesm2015/covalent-core-common.mjs +2281 -0
- package/fesm2015/covalent-core-common.mjs.map +1 -0
- package/fesm2015/covalent-core-dialogs.mjs +639 -0
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs +128 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-file.mjs +613 -0
- package/fesm2015/covalent-core-file.mjs.map +1 -0
- package/fesm2015/covalent-core-json-formatter.mjs +298 -0
- package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2015/covalent-core-layout.mjs +1024 -0
- package/fesm2015/covalent-core-layout.mjs.map +1 -0
- package/fesm2015/covalent-core-menu.mjs +37 -0
- package/fesm2015/covalent-core-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-message.mjs +284 -0
- package/fesm2015/covalent-core-message.mjs.map +1 -0
- package/fesm2015/covalent-core-search.mjs +428 -0
- package/fesm2015/covalent-core-search.mjs.map +1 -0
- package/fesm2015/covalent-core-side-sheet.mjs +762 -0
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2015/covalent-core-user-profile.mjs +86 -0
- package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
- package/fesm2015/covalent-core.mjs +4 -0
- package/fesm2015/covalent-core.mjs.map +1 -0
- package/fesm2020/covalent-core-breadcrumbs.mjs +246 -0
- package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -0
- package/{fesm2015/covalent-core-common.js → fesm2020/covalent-core-common.mjs} +317 -813
- package/fesm2020/covalent-core-common.mjs.map +1 -0
- package/fesm2020/covalent-core-dialogs.mjs +634 -0
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs +128 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-file.mjs +607 -0
- package/fesm2020/covalent-core-file.mjs.map +1 -0
- package/fesm2020/covalent-core-json-formatter.mjs +290 -0
- package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2020/covalent-core-layout.mjs +1000 -0
- package/fesm2020/covalent-core-layout.mjs.map +1 -0
- package/fesm2020/covalent-core-menu.mjs +37 -0
- package/fesm2020/covalent-core-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-message.mjs +282 -0
- package/fesm2020/covalent-core-message.mjs.map +1 -0
- package/fesm2020/covalent-core-search.mjs +425 -0
- package/fesm2020/covalent-core-search.mjs.map +1 -0
- package/fesm2020/covalent-core-side-sheet.mjs +757 -0
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2020/covalent-core-user-profile.mjs +86 -0
- package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
- package/fesm2020/covalent-core.mjs +4 -0
- package/fesm2020/covalent-core.mjs.map +1 -0
- package/file/_file-theme.scss +3 -1
- package/file/covalent-core-file.d.ts +2 -1
- package/file/directives/file-drop.directive.d.ts +8 -6
- package/file/directives/file-select.directive.d.ts +5 -2
- package/file/file-input/file-input.component.d.ts +10 -5
- package/file/file-upload/file-upload.component.d.ts +18 -8
- package/file/file.module.d.ts +13 -0
- package/file/package.json +6 -7
- package/file/{public-api.d.ts → public_api.d.ts} +0 -0
- package/file/services/file.service.d.ts +3 -0
- package/file/{file-input → src/file-input}/README.md +46 -37
- package/file/{file-upload → src/file-upload}/README.md +36 -27
- package/json-formatter/README.md +8 -8
- package/json-formatter/_json-formatter-theme.scss +10 -0
- package/json-formatter/collapse.animation.d.ts +24 -0
- package/json-formatter/covalent-core-json-formatter.d.ts +2 -1
- package/json-formatter/json-formatter.component.d.ts +7 -4
- package/json-formatter/json-formatter.module.d.ts +8 -0
- package/json-formatter/package.json +6 -7
- package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/README.md +48 -50
- package/layout/_layout-theme.scss +12 -0
- package/layout/covalent-core-layout.d.ts +2 -1
- package/layout/layout-card-over/layout-card-over.component.d.ts +6 -3
- package/layout/layout-footer/layout-footer.component.d.ts +6 -3
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +7 -4
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +9 -2
- package/layout/layout-nav/layout-nav.component.d.ts +8 -5
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +12 -9
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +9 -2
- package/layout/layout-toggle.class.d.ts +4 -1
- package/layout/layout.component.d.ts +7 -4
- package/layout/layout.directives.d.ts +9 -2
- package/layout/layout.module.d.ts +23 -0
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +17 -10
- package/layout/package.json +6 -7
- package/layout/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/{layout-card-over → src/layout-card-over}/README.md +19 -17
- package/layout/{layout-manage-list → src/layout-manage-list}/README.md +24 -28
- package/layout/src/layout-nav/README.md +50 -0
- package/layout/{layout-nav-list → src/layout-nav-list}/README.md +44 -40
- package/menu/covalent-core-menu.d.ts +2 -1
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.module.d.ts +8 -0
- package/menu/package.json +6 -7
- package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
- package/message/README.md +26 -18
- package/message/_message-theme.scss +3 -0
- package/message/collapse.animation.d.ts +24 -0
- package/message/covalent-core-message.d.ts +2 -1
- package/message/message.component.d.ts +9 -4
- package/message/message.module.d.ts +7 -0
- package/message/package.json +6 -7
- package/message/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +129 -37
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/search/README.md +74 -73
- package/search/covalent-core-search.d.ts +2 -1
- package/search/package.json +6 -7
- package/search/{public-api.d.ts → public_api.d.ts} +0 -0
- package/search/search-box/search-box.component.d.ts +12 -5
- package/search/search-input/search-input.component.d.ts +12 -5
- package/search/search.module.d.ts +11 -0
- package/search/src/search-box/README.md +73 -0
- package/search/src/search-input/README.md +74 -0
- package/side-sheet/README.md +3 -5
- package/side-sheet/{side-sheet.theme.scss → _side-sheet.theme.scss} +0 -0
- package/side-sheet/covalent-core-side-sheet.d.ts +2 -3
- package/side-sheet/package.json +6 -7
- package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
- package/side-sheet/side-sheet-container.d.ts +21 -5
- package/side-sheet/side-sheet.content-directives.d.ts +23 -6
- package/side-sheet/side-sheet.d.ts +7 -2
- package/side-sheet/side-sheet.module.d.ts +9 -0
- package/user-profile/README.md +5 -5
- package/user-profile/covalent-core-user-profile.d.ts +2 -1
- package/user-profile/package.json +6 -7
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +5 -2
- package/user-profile/user-profile.component.d.ts +5 -2
- package/user-profile/user-profile.module.d.ts +12 -0
- package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -22
- package/breadcrumbs/breadcrumbs.component.scss +0 -7
- package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +0 -1
- package/breadcrumbs/index.d.ts +0 -1
- package/bundles/covalent-core-breadcrumbs.umd.js +0 -490
- package/bundles/covalent-core-breadcrumbs.umd.js.map +0 -1
- package/bundles/covalent-core-breadcrumbs.umd.min.js +0 -2
- package/bundles/covalent-core-breadcrumbs.umd.min.js.map +0 -1
- package/bundles/covalent-core-common.umd.js +0 -3188
- package/bundles/covalent-core-common.umd.js.map +0 -1
- package/bundles/covalent-core-common.umd.min.js +0 -17
- package/bundles/covalent-core-common.umd.min.js.map +0 -1
- package/bundles/covalent-core-dialogs.umd.js +0 -1318
- package/bundles/covalent-core-dialogs.umd.js.map +0 -1
- package/bundles/covalent-core-dialogs.umd.min.js +0 -2
- package/bundles/covalent-core-dialogs.umd.min.js.map +0 -1
- package/bundles/covalent-core-dynamic-menu.umd.js +0 -215
- package/bundles/covalent-core-dynamic-menu.umd.js.map +0 -1
- package/bundles/covalent-core-dynamic-menu.umd.min.js +0 -2
- package/bundles/covalent-core-dynamic-menu.umd.min.js.map +0 -1
- package/bundles/covalent-core-file.umd.js +0 -1211
- package/bundles/covalent-core-file.umd.js.map +0 -1
- package/bundles/covalent-core-file.umd.min.js +0 -17
- package/bundles/covalent-core-file.umd.min.js.map +0 -1
- package/bundles/covalent-core-json-formatter.umd.js +0 -408
- package/bundles/covalent-core-json-formatter.umd.js.map +0 -1
- package/bundles/covalent-core-json-formatter.umd.min.js +0 -2
- package/bundles/covalent-core-json-formatter.umd.min.js.map +0 -1
- package/bundles/covalent-core-layout.umd.js +0 -2084
- package/bundles/covalent-core-layout.umd.js.map +0 -1
- package/bundles/covalent-core-layout.umd.min.js +0 -17
- package/bundles/covalent-core-layout.umd.min.js.map +0 -1
- package/bundles/covalent-core-menu.umd.js +0 -69
- package/bundles/covalent-core-menu.umd.js.map +0 -1
- package/bundles/covalent-core-menu.umd.min.js +0 -2
- package/bundles/covalent-core-menu.umd.min.js.map +0 -1
- package/bundles/covalent-core-message.umd.js +0 -375
- package/bundles/covalent-core-message.umd.js.map +0 -1
- package/bundles/covalent-core-message.umd.min.js +0 -2
- package/bundles/covalent-core-message.umd.min.js.map +0 -1
- package/bundles/covalent-core-search.umd.js +0 -877
- package/bundles/covalent-core-search.umd.js.map +0 -1
- package/bundles/covalent-core-search.umd.min.js +0 -16
- package/bundles/covalent-core-search.umd.min.js.map +0 -1
- package/bundles/covalent-core-side-sheet.umd.js +0 -1458
- package/bundles/covalent-core-side-sheet.umd.js.map +0 -1
- package/bundles/covalent-core-side-sheet.umd.min.js +0 -16
- package/bundles/covalent-core-side-sheet.umd.min.js.map +0 -1
- package/bundles/covalent-core-user-profile.umd.js +0 -116
- package/bundles/covalent-core-user-profile.umd.js.map +0 -1
- package/bundles/covalent-core-user-profile.umd.min.js +0 -2
- package/bundles/covalent-core-user-profile.umd.min.js.map +0 -1
- package/bundles/covalent-core.umd.js +0 -9
- package/bundles/covalent-core.umd.js.map +0 -1
- package/bundles/covalent-core.umd.min.js +0 -2
- package/bundles/covalent-core.umd.min.js.map +0 -1
- package/common/covalent-core-common.metadata.json +0 -1
- package/common/index.d.ts +0 -1
- package/common/material-icons.css +0 -98
- package/common/material-icons.css.map +0 -1
- package/common/material-icons.scss +0 -3
- package/common/platform.css +0 -15424
- package/common/platform.css.map +0 -1
- package/common/platform.scss +0 -7
- package/common/styles/_elevation.scss +0 -280
- package/common/styles/_layout.scss +0 -603
- package/common/styles/_palette-dark.scss +0 -326
- package/common/styles/_palette-light.scss +0 -637
- package/common/styles/_rtl.scss +0 -28
- package/common/styles/_styles.scss +0 -10
- package/common/styles/_theme-functions.scss +0 -25
- package/common/styles/_typography-functions.scss +0 -35
- package/common/styles/_variables.scss +0 -98
- package/common/styles/colors/_colors-dark.scss +0 -1072
- package/common/styles/colors/_colors-light.scss +0 -2487
- package/common/styles/colors/_colors.scss +0 -7
- package/common/styles/core/_button.scss +0 -59
- package/common/styles/core/_card.scss +0 -164
- package/common/styles/core/_content.scss +0 -42
- package/common/styles/core/_core.scss +0 -23
- package/common/styles/core/_divider.scss +0 -15
- package/common/styles/core/_icons.scss +0 -20
- package/common/styles/core/_list.scss +0 -8
- package/common/styles/core/_sidenav.scss +0 -20
- package/common/styles/core/_structure.scss +0 -128
- package/common/styles/core/_toolbar.scss +0 -46
- package/common/styles/core/_whiteframe.scss +0 -130
- package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
- package/common/styles/font/_font.scss +0 -93
- package/common/styles/utilities/_general.scss +0 -51
- package/common/styles/utilities/_pad.scss +0 -36
- package/common/styles/utilities/_pull.scss +0 -36
- package/common/styles/utilities/_push.scss +0 -36
- package/common/styles/utilities/_size.scss +0 -24
- package/common/styles/utilities/_text.scss +0 -84
- package/common/styles/utilities/_utilities.scss +0 -15
- package/covalent-core.metadata.json +0 -1
- package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/dialogs/covalent-core-dialogs.metadata.json +0 -1
- package/dialogs/dialog.component.scss +0 -44
- package/dialogs/index.d.ts +0 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -15
- package/dialogs/window-dialog/window-dialog.component.scss +0 -31
- package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +0 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -6
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -11
- package/dynamic-menu/dynamic-menu.component.scss +0 -0
- package/dynamic-menu/index.d.ts +0 -1
- package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -171
- package/esm2015/breadcrumbs/breadcrumbs.component.js +0 -241
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -20
- package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +0 -10
- package/esm2015/breadcrumbs/index.js +0 -7
- package/esm2015/breadcrumbs/public-api.js +0 -9
- package/esm2015/common/animations/bounce/bounce.animation.js +0 -76
- package/esm2015/common/animations/collapse/collapse.animation.js +0 -67
- package/esm2015/common/animations/common/interfaces.js +0 -18
- package/esm2015/common/animations/fade/fadeInOut.animation.js +0 -53
- package/esm2015/common/animations/flash/flash.animation.js +0 -40
- package/esm2015/common/animations/headshake/headshake.animation.js +0 -41
- package/esm2015/common/animations/jello/jello.animation.js +0 -44
- package/esm2015/common/animations/pulse/pulse.animation.js +0 -38
- package/esm2015/common/animations/rotate/rotate.animation.js +0 -41
- package/esm2015/common/behaviors/control-value-accesor.mixin.js +0 -107
- package/esm2015/common/behaviors/disable-ripple.mixin.js +0 -63
- package/esm2015/common/behaviors/disabled.mixin.js +0 -63
- package/esm2015/common/common.module.js +0 -54
- package/esm2015/common/covalent-core-common.js +0 -12
- package/esm2015/common/directives/fullscreen/fullscreen.directive.js +0 -180
- package/esm2015/common/forms/auto-trim/auto-trim.directive.js +0 -46
- package/esm2015/common/forms/validators/validators.js +0 -58
- package/esm2015/common/functions/clipboard.js +0 -30
- package/esm2015/common/functions/convert.js +0 -103
- package/esm2015/common/functions/download.js +0 -88
- package/esm2015/common/functions/file.js +0 -29
- package/esm2015/common/index.js +0 -7
- package/esm2015/common/pipes/bytes/bytes.pipe.js +0 -41
- package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -41
- package/esm2015/common/pipes/digits/digits.pipe.js +0 -65
- package/esm2015/common/pipes/time-ago/time-ago.pipe.js +0 -81
- package/esm2015/common/pipes/time-difference/time-difference.pipe.js +0 -66
- package/esm2015/common/pipes/time-until/time-until.pipe.js +0 -81
- package/esm2015/common/pipes/truncate/truncate.pipe.js +0 -34
- package/esm2015/common/public-api.js +0 -44
- package/esm2015/common/services/icon.service.js +0 -1109
- package/esm2015/common/services/router-path.service.js +0 -60
- package/esm2015/covalent-core.js +0 -10
- package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +0 -47
- package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +0 -59
- package/esm2015/dialogs/covalent-core-dialogs.js +0 -11
- package/esm2015/dialogs/dialog.component.js +0 -58
- package/esm2015/dialogs/dialogs.module.js +0 -57
- package/esm2015/dialogs/index.js +0 -7
- package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +0 -83
- package/esm2015/dialogs/public-api.js +0 -13
- package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -325
- package/esm2015/dialogs/services/dialog.service.js +0 -316
- package/esm2015/dialogs/window-dialog/window-dialog.component.js +0 -56
- package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +0 -11
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -40
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -35
- package/esm2015/dynamic-menu/dynamic-menu.component.js +0 -89
- package/esm2015/dynamic-menu/dynamic-menu.module.js +0 -26
- package/esm2015/dynamic-menu/index.js +0 -7
- package/esm2015/dynamic-menu/public_api.js +0 -9
- package/esm2015/file/covalent-core-file.js +0 -10
- package/esm2015/file/directives/file-drop.directive.js +0 -191
- package/esm2015/file/directives/file-select.directive.js +0 -98
- package/esm2015/file/file-input/file-input.component.js +0 -186
- package/esm2015/file/file-upload/file-upload.component.js +0 -237
- package/esm2015/file/file.module.js +0 -35
- package/esm2015/file/index.js +0 -7
- package/esm2015/file/public-api.js +0 -12
- package/esm2015/file/services/file.service.js +0 -109
- package/esm2015/index.js +0 -7
- package/esm2015/json-formatter/covalent-core-json-formatter.js +0 -10
- package/esm2015/json-formatter/index.js +0 -7
- package/esm2015/json-formatter/json-formatter.component.js +0 -338
- package/esm2015/json-formatter/json-formatter.module.js +0 -20
- package/esm2015/json-formatter/public-api.js +0 -8
- package/esm2015/layout/covalent-core-layout.js +0 -10
- package/esm2015/layout/index.js +0 -7
- package/esm2015/layout/layout-card-over/layout-card-over.component.js +0 -71
- package/esm2015/layout/layout-footer/layout-footer.component.js +0 -71
- package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +0 -145
- package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +0 -132
- package/esm2015/layout/layout-nav/layout-nav.component.js +0 -100
- package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +0 -220
- package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +0 -132
- package/esm2015/layout/layout-toggle.class.js +0 -188
- package/esm2015/layout/layout.component.js +0 -145
- package/esm2015/layout/layout.directives.js +0 -129
- package/esm2015/layout/layout.module.js +0 -64
- package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +0 -280
- package/esm2015/layout/public-api.js +0 -18
- package/esm2015/menu/covalent-core-menu.js +0 -10
- package/esm2015/menu/index.js +0 -7
- package/esm2015/menu/menu.component.js +0 -16
- package/esm2015/menu/menu.module.js +0 -22
- package/esm2015/menu/public-api.js +0 -8
- package/esm2015/message/covalent-core-message.js +0 -10
- package/esm2015/message/index.js +0 -7
- package/esm2015/message/message.component.js +0 -307
- package/esm2015/message/message.module.js +0 -21
- package/esm2015/message/public-api.js +0 -8
- package/esm2015/search/covalent-core-search.js +0 -10
- package/esm2015/search/index.js +0 -7
- package/esm2015/search/public-api.js +0 -9
- package/esm2015/search/search-box/search-box.component.js +0 -270
- package/esm2015/search/search-input/search-input.component.js +0 -260
- package/esm2015/search/search.module.js +0 -23
- package/esm2015/side-sheet/covalent-core-side-sheet.js +0 -12
- package/esm2015/side-sheet/index.js +0 -7
- package/esm2015/side-sheet/public-api.js +0 -11
- package/esm2015/side-sheet/side-sheet-container.js +0 -402
- package/esm2015/side-sheet/side-sheet-ref.js +0 -50
- package/esm2015/side-sheet/side-sheet.animation.js +0 -20
- package/esm2015/side-sheet/side-sheet.config.js +0 -12
- package/esm2015/side-sheet/side-sheet.content-directives.js +0 -255
- package/esm2015/side-sheet/side-sheet.js +0 -360
- package/esm2015/side-sheet/side-sheet.module.js +0 -36
- package/esm2015/user-profile/covalent-core-user-profile.js +0 -10
- package/esm2015/user-profile/index.js +0 -7
- package/esm2015/user-profile/public_api.js +0 -9
- package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +0 -35
- package/esm2015/user-profile/user-profile.component.js +0 -26
- package/esm2015/user-profile/user-profile.module.js +0 -25
- package/fesm2015/covalent-core-breadcrumbs.js +0 -448
- package/fesm2015/covalent-core-breadcrumbs.js.map +0 -1
- package/fesm2015/covalent-core-common.js.map +0 -1
- package/fesm2015/covalent-core-dialogs.js +0 -1001
- package/fesm2015/covalent-core-dialogs.js.map +0 -1
- package/fesm2015/covalent-core-dynamic-menu.js +0 -204
- package/fesm2015/covalent-core-dynamic-menu.js.map +0 -1
- package/fesm2015/covalent-core-file.js +0 -855
- package/fesm2015/covalent-core-file.js.map +0 -1
- package/fesm2015/covalent-core-json-formatter.js +0 -377
- package/fesm2015/covalent-core-json-formatter.js.map +0 -1
- package/fesm2015/covalent-core-layout.js +0 -1663
- package/fesm2015/covalent-core-layout.js.map +0 -1
- package/fesm2015/covalent-core-menu.js +0 -57
- package/fesm2015/covalent-core-menu.js.map +0 -1
- package/fesm2015/covalent-core-message.js +0 -347
- package/fesm2015/covalent-core-message.js.map +0 -1
- package/fesm2015/covalent-core-search.js +0 -564
- package/fesm2015/covalent-core-search.js.map +0 -1
- package/fesm2015/covalent-core-side-sheet.js +0 -1134
- package/fesm2015/covalent-core-side-sheet.js.map +0 -1
- package/fesm2015/covalent-core-user-profile.js +0 -103
- package/fesm2015/covalent-core-user-profile.js.map +0 -1
- package/fesm2015/covalent-core.js +0 -12
- package/fesm2015/covalent-core.js.map +0 -1
- package/file/covalent-core-file.metadata.json +0 -1
- package/file/file-input/file-input.component.scss +0 -20
- package/file/file-upload/file-upload.component.scss +0 -30
- package/file/index.d.ts +0 -1
- package/json-formatter/covalent-core-json-formatter.metadata.json +0 -1
- package/json-formatter/index.d.ts +0 -1
- package/json-formatter/json-formatter.component.scss +0 -61
- package/layout/covalent-core-layout.metadata.json +0 -1
- package/layout/index.d.ts +0 -1
- package/layout/layout-card-over/layout-card-over.component.scss +0 -42
- package/layout/layout-footer/layout-footer.component.scss +0 -4
- package/layout/layout-manage-list/layout-manage-list.component.scss +0 -78
- package/layout/layout-nav/README.md +0 -46
- package/layout/layout-nav/layout-nav.component.scss +0 -50
- package/layout/layout-nav-list/layout-nav-list.component.scss +0 -110
- package/layout/layout.component.scss +0 -20
- package/layout/navigation-drawer/navigation-drawer.component.scss +0 -73
- package/menu/covalent-core-menu.metadata.json +0 -1
- package/menu/index.d.ts +0 -1
- package/menu/menu.component.scss +0 -43
- package/message/covalent-core-message.metadata.json +0 -1
- package/message/index.d.ts +0 -1
- package/message/message.component.scss +0 -29
- package/schematics/README.md +0 -66
- package/schematics/collection.json +0 -11
- package/schematics/components.js +0 -111
- package/schematics/components.js.map +0 -1
- package/schematics/migration.json +0 -10
- package/schematics/ng-add/files/theme.scss +0 -64
- package/schematics/ng-add/index.js +0 -58
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/ng-add/schema.js +0 -3
- package/schematics/ng-add/schema.js.map +0 -1
- package/schematics/ng-add/schema.json +0 -81
- package/schematics/ng-update/index.js +0 -52
- package/schematics/ng-update/index.js.map +0 -1
- package/schematics/ng-update/target-version.js +0 -8
- package/schematics/ng-update/target-version.js.map +0 -1
- package/schematics/version-names.js +0 -6
- package/schematics/version-names.js.map +0 -1
- package/search/covalent-core-search.metadata.json +0 -1
- package/search/index.d.ts +0 -1
- package/search/search-box/README.md +0 -62
- package/search/search-box/search-box.component.scss +0 -32
- package/search/search-input/README.md +0 -65
- package/search/search-input/search-input.component.scss +0 -63
- package/side-sheet/covalent-core-side-sheet.metadata.json +0 -1
- package/side-sheet/index.d.ts +0 -1
- package/side-sheet/side-sheet.scss +0 -69
- package/theming/prebuilt/blue-grey-deep-orange.css +0 -2434
- package/theming/prebuilt/blue-grey-deep-orange.css.map +0 -1
- package/theming/prebuilt/blue-grey-deep-orange.scss +0 -13
- package/theming/prebuilt/blue-orange.css +0 -2434
- package/theming/prebuilt/blue-orange.css.map +0 -1
- package/theming/prebuilt/blue-orange.scss +0 -13
- package/theming/prebuilt/indigo-pink.css +0 -2434
- package/theming/prebuilt/indigo-pink.css.map +0 -1
- package/theming/prebuilt/indigo-pink.scss +0 -13
- package/theming/prebuilt/orange-light-blue.css +0 -2434
- package/theming/prebuilt/orange-light-blue.css.map +0 -1
- package/theming/prebuilt/orange-light-blue.scss +0 -13
- package/theming/prebuilt/teal-orange.css +0 -2434
- package/theming/prebuilt/teal-orange.css.map +0 -1
- package/theming/prebuilt/teal-orange.scss +0 -13
- package/user-profile/covalent-core-user-profile.metadata.json +0 -1
- package/user-profile/index.d.ts +0 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -38
@@ -1,3188 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
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
|
-
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 = 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
|
-
}(this, (function (exports, core, common, forms, router, operators, animations, rxjs, coercion) { 'use strict';
|
6
|
-
|
7
|
-
/**
|
8
|
-
* @fileoverview added by tsickle
|
9
|
-
* Generated from: forms/auto-trim/auto-trim.directive.ts
|
10
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
11
|
-
*/
|
12
|
-
var TdAutoTrimDirective = /** @class */ (function () {
|
13
|
-
/**
|
14
|
-
* @param {?} _model
|
15
|
-
*/
|
16
|
-
function TdAutoTrimDirective(_model) {
|
17
|
-
this._model = _model;
|
18
|
-
}
|
19
|
-
/**
|
20
|
-
* Listens to host's (blur) event and trims value.
|
21
|
-
* @param {?} event
|
22
|
-
* @return {?}
|
23
|
-
*/
|
24
|
-
TdAutoTrimDirective.prototype.onBlur = function (event) {
|
25
|
-
if (this._model && this._model.value && typeof this._model.value === 'string') {
|
26
|
-
this._model.update.emit(this._model.value.trim());
|
27
|
-
}
|
28
|
-
};
|
29
|
-
return TdAutoTrimDirective;
|
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
|
-
};
|
43
|
-
if (false) {
|
44
|
-
/**
|
45
|
-
* @type {?}
|
46
|
-
* @private
|
47
|
-
*/
|
48
|
-
TdAutoTrimDirective.prototype._model;
|
49
|
-
}
|
50
|
-
|
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
|
-
|
352
|
-
/**
|
353
|
-
* @record
|
354
|
-
*/
|
355
|
-
function IFsDocument() { }
|
356
|
-
if (false) {
|
357
|
-
/** @type {?} */
|
358
|
-
IFsDocument.prototype.fullscreenElement;
|
359
|
-
/** @type {?} */
|
360
|
-
IFsDocument.prototype.webkitFullscreenElement;
|
361
|
-
/** @type {?} */
|
362
|
-
IFsDocument.prototype.mozFullscreenElement;
|
363
|
-
/** @type {?} */
|
364
|
-
IFsDocument.prototype.msFullscreenElement;
|
365
|
-
/** @type {?} */
|
366
|
-
IFsDocument.prototype.webkitExitFullscreen;
|
367
|
-
/** @type {?} */
|
368
|
-
IFsDocument.prototype.mozCancelFullScreen;
|
369
|
-
/** @type {?} */
|
370
|
-
IFsDocument.prototype.msExitFullscreen;
|
371
|
-
}
|
372
|
-
var TdFullscreenDirective = /** @class */ (function () {
|
373
|
-
/**
|
374
|
-
* @param {?} _document
|
375
|
-
* @param {?} _el
|
376
|
-
*/
|
377
|
-
function TdFullscreenDirective(_document, _el) {
|
378
|
-
this._document = _document;
|
379
|
-
this._el = _el;
|
380
|
-
this.fullScreenIsActive = false;
|
381
|
-
}
|
382
|
-
/**
|
383
|
-
* @param {?} event
|
384
|
-
* @return {?}
|
385
|
-
*/
|
386
|
-
TdFullscreenDirective.prototype.fsChangeHandler = function (event) {
|
387
|
-
this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
|
388
|
-
};
|
389
|
-
/**
|
390
|
-
* @return {?}
|
391
|
-
*/
|
392
|
-
TdFullscreenDirective.prototype.toggleFullScreen = function () {
|
393
|
-
this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
|
394
|
-
};
|
395
|
-
/**
|
396
|
-
* @return {?}
|
397
|
-
*/
|
398
|
-
TdFullscreenDirective.prototype.enterFullScreen = function () {
|
399
|
-
var e_1, _a;
|
400
|
-
var nativeElement = this._el.nativeElement;
|
401
|
-
/** @type {?} */
|
402
|
-
var enterFullScreenMap = {
|
403
|
-
requestFullscreen: ( /**
|
404
|
-
* @return {?}
|
405
|
-
*/function () { return nativeElement.requestFullscreen(); }),
|
406
|
-
// Chrome
|
407
|
-
webkitRequestFullscreen: ( /**
|
408
|
-
* @return {?}
|
409
|
-
*/function () { return nativeElement.webkitRequestFullscreen(); }),
|
410
|
-
// Safari
|
411
|
-
mozRequestFullScreen: ( /**
|
412
|
-
* @return {?}
|
413
|
-
*/function () { return nativeElement.mozRequestFullScreen(); }),
|
414
|
-
// Firefox
|
415
|
-
msRequestFullscreen: ( /**
|
416
|
-
* @return {?}
|
417
|
-
*/function () { return nativeElement.msRequestFullscreen(); }),
|
418
|
-
};
|
419
|
-
try {
|
420
|
-
for (var _b = __values(Object.keys(enterFullScreenMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
421
|
-
var handler = _c.value;
|
422
|
-
if (nativeElement[handler]) {
|
423
|
-
enterFullScreenMap[handler]();
|
424
|
-
}
|
425
|
-
}
|
426
|
-
}
|
427
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
428
|
-
finally {
|
429
|
-
try {
|
430
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
431
|
-
}
|
432
|
-
finally { if (e_1) throw e_1.error; }
|
433
|
-
}
|
434
|
-
};
|
435
|
-
/**
|
436
|
-
* @return {?}
|
437
|
-
*/
|
438
|
-
TdFullscreenDirective.prototype.exitFullScreen = function () {
|
439
|
-
var e_2, _a;
|
440
|
-
var _b = this, _document = _b._document, nativeElement = _b._el.nativeElement;
|
441
|
-
/** @type {?} */
|
442
|
-
var exitFullScreenMap = {
|
443
|
-
exitFullscreen: ( /**
|
444
|
-
* @return {?}
|
445
|
-
*/function () { return _document.exitFullscreen(); }),
|
446
|
-
// Chrome
|
447
|
-
webkitExitFullscreen: ( /**
|
448
|
-
* @return {?}
|
449
|
-
*/function () { return _document.webkitExitFullscreen(); }),
|
450
|
-
// Safari
|
451
|
-
mozCancelFullScreen: ( /**
|
452
|
-
* @return {?}
|
453
|
-
*/function () { return _document.mozCancelFullScreen(); }),
|
454
|
-
// Firefox
|
455
|
-
msExitFullscreen: ( /**
|
456
|
-
* @return {?}
|
457
|
-
*/function () { return _document.msExitFullscreen(); }),
|
458
|
-
};
|
459
|
-
try {
|
460
|
-
for (var _c = __values(Object.keys(exitFullScreenMap)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
461
|
-
var handler = _d.value;
|
462
|
-
if (_document[handler] && this._getFullScreenElement() === nativeElement) {
|
463
|
-
exitFullScreenMap[handler]();
|
464
|
-
}
|
465
|
-
}
|
466
|
-
}
|
467
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
468
|
-
finally {
|
469
|
-
try {
|
470
|
-
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
471
|
-
}
|
472
|
-
finally { if (e_2) throw e_2.error; }
|
473
|
-
}
|
474
|
-
};
|
475
|
-
/**
|
476
|
-
* @private
|
477
|
-
* @return {?}
|
478
|
-
*/
|
479
|
-
TdFullscreenDirective.prototype._getFullScreenElement = function () {
|
480
|
-
var e_3, _a;
|
481
|
-
var _document = this._document;
|
482
|
-
/** @type {?} */
|
483
|
-
var tdFullScreenElementMap = {
|
484
|
-
fullscreenElement: ( /**
|
485
|
-
* @return {?}
|
486
|
-
*/function () { return _document.fullscreenElement; }),
|
487
|
-
// Chrome, Opera
|
488
|
-
webkitFullscreenElement: ( /**
|
489
|
-
* @return {?}
|
490
|
-
*/function () { return _document.webkitFullscreenElement; }),
|
491
|
-
// Safari
|
492
|
-
mozFullscreenElement: ( /**
|
493
|
-
* @return {?}
|
494
|
-
*/function () { return _document.mozFullscreenElement; }),
|
495
|
-
// Firefox
|
496
|
-
msFullscreenElement: ( /**
|
497
|
-
* @return {?}
|
498
|
-
*/function () { return _document.msFullscreenElement; }),
|
499
|
-
};
|
500
|
-
try {
|
501
|
-
for (var _b = __values(Object.keys(tdFullScreenElementMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
502
|
-
var props = _c.value;
|
503
|
-
if (_document[props]) {
|
504
|
-
return _document[props];
|
505
|
-
}
|
506
|
-
}
|
507
|
-
}
|
508
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
509
|
-
finally {
|
510
|
-
try {
|
511
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
512
|
-
}
|
513
|
-
finally { if (e_3) throw e_3.error; }
|
514
|
-
}
|
515
|
-
};
|
516
|
-
return TdFullscreenDirective;
|
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
|
-
};
|
532
|
-
if (false) {
|
533
|
-
/** @type {?} */
|
534
|
-
TdFullscreenDirective.prototype.fullScreenIsActive;
|
535
|
-
/**
|
536
|
-
* @type {?}
|
537
|
-
* @private
|
538
|
-
*/
|
539
|
-
TdFullscreenDirective.prototype._document;
|
540
|
-
/**
|
541
|
-
* @type {?}
|
542
|
-
* @private
|
543
|
-
*/
|
544
|
-
TdFullscreenDirective.prototype._el;
|
545
|
-
}
|
546
|
-
|
547
|
-
/**
|
548
|
-
* @fileoverview added by tsickle
|
549
|
-
* Generated from: pipes/time-ago/time-ago.pipe.ts
|
550
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
551
|
-
*/
|
552
|
-
var TdTimeAgoPipe = /** @class */ (function () {
|
553
|
-
function TdTimeAgoPipe() {
|
554
|
-
}
|
555
|
-
/**
|
556
|
-
* @param {?} time
|
557
|
-
* @param {?=} reference
|
558
|
-
* @return {?}
|
559
|
-
*/
|
560
|
-
TdTimeAgoPipe.prototype.transform = function (time, reference) {
|
561
|
-
// Convert time to date object if not already
|
562
|
-
time = new Date(time);
|
563
|
-
/** @type {?} */
|
564
|
-
var ref = new Date(reference);
|
565
|
-
// If not a valid timestamp, return 'Invalid Date'
|
566
|
-
if (!time.getTime()) {
|
567
|
-
return 'Invalid Date';
|
568
|
-
}
|
569
|
-
// For unit testing, we need to be able to declare a static start time
|
570
|
-
// for calculations, or else speed of tests can bork.
|
571
|
-
/** @type {?} */
|
572
|
-
var startTime = isNaN(ref.getTime()) ? Date.now() : ref.getTime();
|
573
|
-
/** @type {?} */
|
574
|
-
var diff = Math.floor((startTime - time.getTime()) / 1000);
|
575
|
-
if (diff < 2) {
|
576
|
-
return '1 second ago';
|
577
|
-
}
|
578
|
-
if (diff < 60) {
|
579
|
-
return Math.floor(diff) + ' seconds ago';
|
580
|
-
}
|
581
|
-
// Minutes
|
582
|
-
diff = diff / 60;
|
583
|
-
if (diff < 2) {
|
584
|
-
return '1 minute ago';
|
585
|
-
}
|
586
|
-
if (diff < 60) {
|
587
|
-
return Math.floor(diff) + ' minutes ago';
|
588
|
-
}
|
589
|
-
// Hours
|
590
|
-
diff = diff / 60;
|
591
|
-
if (diff < 2) {
|
592
|
-
return '1 hour ago';
|
593
|
-
}
|
594
|
-
if (diff < 24) {
|
595
|
-
return Math.floor(diff) + ' hours ago';
|
596
|
-
}
|
597
|
-
// Days
|
598
|
-
diff = diff / 24;
|
599
|
-
if (diff < 2) {
|
600
|
-
return '1 day ago';
|
601
|
-
}
|
602
|
-
if (diff < 30) {
|
603
|
-
return Math.floor(diff) + ' days ago';
|
604
|
-
}
|
605
|
-
// Months
|
606
|
-
diff = diff / 30;
|
607
|
-
if (diff < 2) {
|
608
|
-
return '1 month ago';
|
609
|
-
}
|
610
|
-
if (diff < 12) {
|
611
|
-
return Math.floor(diff) + ' months ago';
|
612
|
-
}
|
613
|
-
// Years
|
614
|
-
diff = diff / 12;
|
615
|
-
if (diff < 2) {
|
616
|
-
return '1 year ago';
|
617
|
-
}
|
618
|
-
else {
|
619
|
-
return Math.floor(diff) + ' years ago';
|
620
|
-
}
|
621
|
-
};
|
622
|
-
return TdTimeAgoPipe;
|
623
|
-
}());
|
624
|
-
TdTimeAgoPipe.decorators = [
|
625
|
-
{ type: core.Pipe, args: [{
|
626
|
-
name: 'timeAgo',
|
627
|
-
},] }
|
628
|
-
];
|
629
|
-
|
630
|
-
/**
|
631
|
-
* @fileoverview added by tsickle
|
632
|
-
* Generated from: pipes/time-difference/time-difference.pipe.ts
|
633
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
634
|
-
*/
|
635
|
-
var TdTimeDifferencePipe = /** @class */ (function () {
|
636
|
-
function TdTimeDifferencePipe() {
|
637
|
-
}
|
638
|
-
/**
|
639
|
-
* @param {?} start
|
640
|
-
* @param {?=} end
|
641
|
-
* @return {?}
|
642
|
-
*/
|
643
|
-
TdTimeDifferencePipe.prototype.transform = function (start, end) {
|
644
|
-
/** @type {?} */
|
645
|
-
var startTime = new Date(start);
|
646
|
-
/** @type {?} */
|
647
|
-
var endTime;
|
648
|
-
if (end !== undefined) {
|
649
|
-
endTime = new Date(end);
|
650
|
-
}
|
651
|
-
else {
|
652
|
-
endTime = new Date();
|
653
|
-
}
|
654
|
-
if (!startTime.getTime() || !endTime.getTime()) {
|
655
|
-
return 'Invalid Date';
|
656
|
-
}
|
657
|
-
/** @type {?} */
|
658
|
-
var diff = Math.floor((endTime.getTime() - startTime.getTime()) / 1000);
|
659
|
-
/** @type {?} */
|
660
|
-
var days = Math.floor(diff / (60 * 60 * 24));
|
661
|
-
diff = diff - days * (60 * 60 * 24);
|
662
|
-
/** @type {?} */
|
663
|
-
var hours = Math.floor(diff / (60 * 60));
|
664
|
-
diff = diff - hours * (60 * 60);
|
665
|
-
/** @type {?} */
|
666
|
-
var minutes = Math.floor(diff / 60);
|
667
|
-
diff -= minutes * 60;
|
668
|
-
/** @type {?} */
|
669
|
-
var seconds = diff;
|
670
|
-
/** @type {?} */
|
671
|
-
var pad = '00';
|
672
|
-
/** @type {?} */
|
673
|
-
var daysFormatted = '';
|
674
|
-
if (days > 0 && days < 2) {
|
675
|
-
daysFormatted = ' day - ';
|
676
|
-
}
|
677
|
-
else if (days > 1) {
|
678
|
-
daysFormatted = ' days - ';
|
679
|
-
}
|
680
|
-
return ((days > 0 ? days + daysFormatted : daysFormatted) +
|
681
|
-
pad.substring(0, pad.length - (hours + '').length) +
|
682
|
-
hours +
|
683
|
-
':' +
|
684
|
-
pad.substring(0, pad.length - (minutes + '').length) +
|
685
|
-
minutes +
|
686
|
-
':' +
|
687
|
-
pad.substring(0, pad.length - (seconds + '').length) +
|
688
|
-
seconds);
|
689
|
-
};
|
690
|
-
return TdTimeDifferencePipe;
|
691
|
-
}());
|
692
|
-
TdTimeDifferencePipe.decorators = [
|
693
|
-
{ type: core.Pipe, args: [{
|
694
|
-
name: 'timeDifference',
|
695
|
-
},] }
|
696
|
-
];
|
697
|
-
|
698
|
-
/**
|
699
|
-
* @fileoverview added by tsickle
|
700
|
-
* Generated from: pipes/time-until/time-until.pipe.ts
|
701
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
702
|
-
*/
|
703
|
-
var TdTimeUntilPipe = /** @class */ (function () {
|
704
|
-
function TdTimeUntilPipe() {
|
705
|
-
}
|
706
|
-
/**
|
707
|
-
* @param {?} time
|
708
|
-
* @param {?=} reference
|
709
|
-
* @return {?}
|
710
|
-
*/
|
711
|
-
TdTimeUntilPipe.prototype.transform = function (time, reference) {
|
712
|
-
// Convert time to date object if not already
|
713
|
-
time = new Date(time);
|
714
|
-
/** @type {?} */
|
715
|
-
var ref = new Date(reference);
|
716
|
-
// If not a valid timestamp, return 'Invalid Date'
|
717
|
-
if (!time.getTime()) {
|
718
|
-
return 'Invalid Date';
|
719
|
-
}
|
720
|
-
// For unit testing, we need to be able to declare a static start time
|
721
|
-
// for calculations, or else speed of tests can bork.
|
722
|
-
/** @type {?} */
|
723
|
-
var startTime = isNaN(ref.getTime()) ? Date.now() : ref.getTime();
|
724
|
-
/** @type {?} */
|
725
|
-
var diff = Math.floor((time.getTime() - startTime) / 1000);
|
726
|
-
if (diff < 2) {
|
727
|
-
return 'in 1 second';
|
728
|
-
}
|
729
|
-
if (diff < 60) {
|
730
|
-
return 'in ' + Math.floor(diff) + ' seconds';
|
731
|
-
}
|
732
|
-
// Minutes
|
733
|
-
diff = diff / 60;
|
734
|
-
if (diff < 2) {
|
735
|
-
return 'in 1 minute';
|
736
|
-
}
|
737
|
-
if (diff < 60) {
|
738
|
-
return 'in ' + Math.floor(diff) + ' minutes';
|
739
|
-
}
|
740
|
-
// Hours
|
741
|
-
diff = diff / 60;
|
742
|
-
if (diff < 2) {
|
743
|
-
return 'in 1 hour';
|
744
|
-
}
|
745
|
-
if (diff < 24) {
|
746
|
-
return 'in ' + Math.floor(diff) + ' hours';
|
747
|
-
}
|
748
|
-
// Days
|
749
|
-
diff = diff / 24;
|
750
|
-
if (diff < 2) {
|
751
|
-
return 'in 1 day';
|
752
|
-
}
|
753
|
-
if (diff < 30) {
|
754
|
-
return 'in ' + Math.floor(diff) + ' days';
|
755
|
-
}
|
756
|
-
// Months
|
757
|
-
diff = diff / 30;
|
758
|
-
if (diff < 2) {
|
759
|
-
return 'in 1 month';
|
760
|
-
}
|
761
|
-
if (diff < 12) {
|
762
|
-
return 'in ' + Math.floor(diff) + ' months';
|
763
|
-
}
|
764
|
-
// Years
|
765
|
-
diff = diff / 12;
|
766
|
-
if (diff < 2) {
|
767
|
-
return 'in 1 year';
|
768
|
-
}
|
769
|
-
else {
|
770
|
-
return 'in ' + Math.floor(diff) + ' years';
|
771
|
-
}
|
772
|
-
};
|
773
|
-
return TdTimeUntilPipe;
|
774
|
-
}());
|
775
|
-
TdTimeUntilPipe.decorators = [
|
776
|
-
{ type: core.Pipe, args: [{
|
777
|
-
name: 'timeUntil',
|
778
|
-
},] }
|
779
|
-
];
|
780
|
-
|
781
|
-
/**
|
782
|
-
* @fileoverview added by tsickle
|
783
|
-
* Generated from: pipes/bytes/bytes.pipe.ts
|
784
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
785
|
-
*/
|
786
|
-
var TdBytesPipe = /** @class */ (function () {
|
787
|
-
function TdBytesPipe() {
|
788
|
-
}
|
789
|
-
/* `bytes` needs to be `any` or TypeScript complains
|
790
|
-
Tried both `number` and `number | string` */
|
791
|
-
/**
|
792
|
-
* @param {?} bytes
|
793
|
-
* @param {?=} precision
|
794
|
-
* @return {?}
|
795
|
-
*/
|
796
|
-
TdBytesPipe.prototype.transform = function (bytes, precision) {
|
797
|
-
if (precision === void 0) { precision = 2; }
|
798
|
-
if (bytes === 0) {
|
799
|
-
return '0 B';
|
800
|
-
}
|
801
|
-
else if (isNaN(parseInt(bytes, 10))) {
|
802
|
-
/* If not a valid number, return 'Invalid Number' */
|
803
|
-
return 'Invalid Number';
|
804
|
-
}
|
805
|
-
/** @type {?} */
|
806
|
-
var k = 1024;
|
807
|
-
/** @type {?} */
|
808
|
-
var sizes = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'];
|
809
|
-
/** @type {?} */
|
810
|
-
var i = Math.floor(Math.log(bytes) / Math.log(k));
|
811
|
-
// if less than 1
|
812
|
-
if (i < 0) {
|
813
|
-
return 'Invalid Number';
|
814
|
-
}
|
815
|
-
return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
|
816
|
-
};
|
817
|
-
return TdBytesPipe;
|
818
|
-
}());
|
819
|
-
TdBytesPipe.decorators = [
|
820
|
-
{ type: core.Pipe, args: [{
|
821
|
-
name: 'bytes',
|
822
|
-
},] }
|
823
|
-
];
|
824
|
-
|
825
|
-
/**
|
826
|
-
* @fileoverview added by tsickle
|
827
|
-
* Generated from: pipes/decimal-bytes/decimal-bytes.pipe.ts
|
828
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
829
|
-
*/
|
830
|
-
var TdDecimalBytesPipe = /** @class */ (function () {
|
831
|
-
function TdDecimalBytesPipe() {
|
832
|
-
}
|
833
|
-
/* `bytes` needs to be `any` or TypeScript complains
|
834
|
-
Tried both `number` and `number | string` */
|
835
|
-
/**
|
836
|
-
* @param {?} bytes
|
837
|
-
* @param {?=} precision
|
838
|
-
* @return {?}
|
839
|
-
*/
|
840
|
-
TdDecimalBytesPipe.prototype.transform = function (bytes, precision) {
|
841
|
-
if (precision === void 0) { precision = 2; }
|
842
|
-
if (bytes === 0) {
|
843
|
-
return '0 B';
|
844
|
-
}
|
845
|
-
else if (isNaN(parseInt(bytes, 10))) {
|
846
|
-
/* If not a valid number, return 'Invalid Number' */
|
847
|
-
return 'Invalid Number';
|
848
|
-
}
|
849
|
-
/** @type {?} */
|
850
|
-
var k = 1000;
|
851
|
-
/** @type {?} */
|
852
|
-
var sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
|
853
|
-
/** @type {?} */
|
854
|
-
var i = Math.floor(Math.log(bytes) / Math.log(k));
|
855
|
-
// if less than 1
|
856
|
-
if (i < 0) {
|
857
|
-
return 'Invalid Number';
|
858
|
-
}
|
859
|
-
return parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i];
|
860
|
-
};
|
861
|
-
return TdDecimalBytesPipe;
|
862
|
-
}());
|
863
|
-
TdDecimalBytesPipe.decorators = [
|
864
|
-
{ type: core.Pipe, args: [{
|
865
|
-
name: 'decimalBytes',
|
866
|
-
},] }
|
867
|
-
];
|
868
|
-
|
869
|
-
/**
|
870
|
-
* @fileoverview added by tsickle
|
871
|
-
* Generated from: pipes/digits/digits.pipe.ts
|
872
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
873
|
-
*/
|
874
|
-
var TdDigitsPipe = /** @class */ (function () {
|
875
|
-
/**
|
876
|
-
* @param {?=} _locale
|
877
|
-
*/
|
878
|
-
function TdDigitsPipe(_locale) {
|
879
|
-
if (_locale === void 0) { _locale = 'en'; }
|
880
|
-
this._locale = _locale;
|
881
|
-
this._decimalPipe = new common.DecimalPipe(this._locale);
|
882
|
-
}
|
883
|
-
/* `digits` needs to be type `digits: any` or TypeScript complains */
|
884
|
-
/**
|
885
|
-
* @param {?} digits
|
886
|
-
* @param {?=} precision
|
887
|
-
* @return {?}
|
888
|
-
*/
|
889
|
-
TdDigitsPipe.prototype.transform = function (digits, precision) {
|
890
|
-
if (precision === void 0) { precision = 1; }
|
891
|
-
if (digits === 0) {
|
892
|
-
return '0';
|
893
|
-
}
|
894
|
-
else if (isNaN(parseInt(digits, 10))) {
|
895
|
-
/* If not a valid number, return the value */
|
896
|
-
return digits;
|
897
|
-
}
|
898
|
-
else if (digits < 1) {
|
899
|
-
return this._decimalPipe.transform(digits.toFixed(precision));
|
900
|
-
}
|
901
|
-
/** @type {?} */
|
902
|
-
var k = 1000;
|
903
|
-
/** @type {?} */
|
904
|
-
var sizes = ['', 'K', 'M', 'B', 'T', 'Q'];
|
905
|
-
/** @type {?} */
|
906
|
-
var i = Math.floor(Math.log(digits) / Math.log(k));
|
907
|
-
/** @type {?} */
|
908
|
-
var size = sizes[i];
|
909
|
-
return (this._decimalPipe.transform(parseFloat((digits / Math.pow(k, i)).toFixed(precision))) + (size ? ' ' + size : ''));
|
910
|
-
};
|
911
|
-
return TdDigitsPipe;
|
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
|
-
]; };
|
922
|
-
if (false) {
|
923
|
-
/**
|
924
|
-
* @type {?}
|
925
|
-
* @private
|
926
|
-
*/
|
927
|
-
TdDigitsPipe.prototype._decimalPipe;
|
928
|
-
/**
|
929
|
-
* @type {?}
|
930
|
-
* @private
|
931
|
-
*/
|
932
|
-
TdDigitsPipe.prototype._locale;
|
933
|
-
}
|
934
|
-
|
935
|
-
/**
|
936
|
-
* @fileoverview added by tsickle
|
937
|
-
* Generated from: pipes/truncate/truncate.pipe.ts
|
938
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
939
|
-
*/
|
940
|
-
var TdTruncatePipe = /** @class */ (function () {
|
941
|
-
function TdTruncatePipe() {
|
942
|
-
}
|
943
|
-
/**
|
944
|
-
* @param {?} text
|
945
|
-
* @param {?} length
|
946
|
-
* @return {?}
|
947
|
-
*/
|
948
|
-
TdTruncatePipe.prototype.transform = function (text, length) {
|
949
|
-
if (typeof text !== 'string') {
|
950
|
-
return '';
|
951
|
-
}
|
952
|
-
// Truncate
|
953
|
-
/** @type {?} */
|
954
|
-
var truncated = text.substr(0, length);
|
955
|
-
if (text.length > length) {
|
956
|
-
if (truncated.lastIndexOf(' ') > 0) {
|
957
|
-
truncated = truncated.trim();
|
958
|
-
}
|
959
|
-
truncated += '…';
|
960
|
-
}
|
961
|
-
return truncated;
|
962
|
-
};
|
963
|
-
return TdTruncatePipe;
|
964
|
-
}());
|
965
|
-
TdTruncatePipe.decorators = [
|
966
|
-
{ type: core.Pipe, args: [{
|
967
|
-
name: 'truncate',
|
968
|
-
},] }
|
969
|
-
];
|
970
|
-
|
971
|
-
/**
|
972
|
-
* @fileoverview added by tsickle
|
973
|
-
* Generated from: services/router-path.service.ts
|
974
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
975
|
-
*/
|
976
|
-
var RouterPathService = /** @class */ (function () {
|
977
|
-
/**
|
978
|
-
* @param {?} _router
|
979
|
-
*/
|
980
|
-
function RouterPathService(_router) {
|
981
|
-
this._router = _router;
|
982
|
-
this._router.events
|
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) {
|
991
|
-
RouterPathService._previousRoute = e[0].urlAfterRedirects;
|
992
|
-
}));
|
993
|
-
}
|
994
|
-
/*
|
995
|
-
* Utility function to get the route the user previously went to
|
996
|
-
* good for use in a "back button"
|
997
|
-
*/
|
998
|
-
/**
|
999
|
-
* @return {?}
|
1000
|
-
*/
|
1001
|
-
RouterPathService.prototype.getPreviousRoute = function () {
|
1002
|
-
return RouterPathService._previousRoute;
|
1003
|
-
};
|
1004
|
-
return RouterPathService;
|
1005
|
-
}());
|
1006
|
-
RouterPathService._previousRoute = '/';
|
1007
|
-
RouterPathService.decorators = [
|
1008
|
-
{ type: core.Injectable }
|
1009
|
-
];
|
1010
|
-
/** @nocollapse */
|
1011
|
-
RouterPathService.ctorParameters = function () { return [
|
1012
|
-
{ type: router.Router }
|
1013
|
-
]; };
|
1014
|
-
if (false) {
|
1015
|
-
/**
|
1016
|
-
* @type {?}
|
1017
|
-
* @private
|
1018
|
-
*/
|
1019
|
-
RouterPathService._previousRoute;
|
1020
|
-
/**
|
1021
|
-
* @type {?}
|
1022
|
-
* @private
|
1023
|
-
*/
|
1024
|
-
RouterPathService.prototype._router;
|
1025
|
-
}
|
1026
|
-
|
1027
|
-
/**
|
1028
|
-
* @fileoverview added by tsickle
|
1029
|
-
* Generated from: services/icon.service.ts
|
1030
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1031
|
-
*/
|
1032
|
-
var IconService = /** @class */ (function () {
|
1033
|
-
function IconService() {
|
1034
|
-
// To update, run this little script on https://material.io/resources/icons/?style=baseline
|
1035
|
-
// JSON.stringify(
|
1036
|
-
// Array.from(document.querySelectorAll('icons-library .material-icons.icon-image-preview')).map(
|
1037
|
-
// ({textContent}) => textContent
|
1038
|
-
// )
|
1039
|
-
// );
|
1040
|
-
this._icons = [
|
1041
|
-
'3d_rotation',
|
1042
|
-
'accessibility',
|
1043
|
-
'accessibility_new',
|
1044
|
-
'accessible',
|
1045
|
-
'accessible_forward',
|
1046
|
-
'account_balance',
|
1047
|
-
'account_balance_wallet',
|
1048
|
-
'account_box',
|
1049
|
-
'account_circle',
|
1050
|
-
'add_shopping_cart',
|
1051
|
-
'alarm',
|
1052
|
-
'alarm_add',
|
1053
|
-
'alarm_off',
|
1054
|
-
'alarm_on',
|
1055
|
-
'all_inbox',
|
1056
|
-
'all_out',
|
1057
|
-
'android',
|
1058
|
-
'announcement',
|
1059
|
-
'arrow_right_alt',
|
1060
|
-
'aspect_ratio',
|
1061
|
-
'assessment',
|
1062
|
-
'assignment',
|
1063
|
-
'assignment_ind',
|
1064
|
-
'assignment_late',
|
1065
|
-
'assignment_return',
|
1066
|
-
'assignment_returned',
|
1067
|
-
'assignment_turned_in',
|
1068
|
-
'autorenew',
|
1069
|
-
'backup',
|
1070
|
-
'book',
|
1071
|
-
'bookmark',
|
1072
|
-
'bookmark_border',
|
1073
|
-
'bookmarks',
|
1074
|
-
'bug_report',
|
1075
|
-
'build',
|
1076
|
-
'cached',
|
1077
|
-
'calendar_today',
|
1078
|
-
'calendar_view_day',
|
1079
|
-
'camera_enhance',
|
1080
|
-
'cancel_schedule_send',
|
1081
|
-
'card_giftcard',
|
1082
|
-
'card_membership',
|
1083
|
-
'card_travel',
|
1084
|
-
'change_history',
|
1085
|
-
'check_circle',
|
1086
|
-
'check_circle_outline',
|
1087
|
-
'chrome_reader_mode',
|
1088
|
-
'class',
|
1089
|
-
'code',
|
1090
|
-
'commute',
|
1091
|
-
'compare_arrows',
|
1092
|
-
'contact_support',
|
1093
|
-
'contactless',
|
1094
|
-
'copyright',
|
1095
|
-
'credit_card',
|
1096
|
-
'dashboard',
|
1097
|
-
'date_range',
|
1098
|
-
'delete',
|
1099
|
-
'delete_forever',
|
1100
|
-
'delete_outline',
|
1101
|
-
'description',
|
1102
|
-
'dns',
|
1103
|
-
'done',
|
1104
|
-
'done_all',
|
1105
|
-
'done_outline',
|
1106
|
-
'donut_large',
|
1107
|
-
'donut_small',
|
1108
|
-
'drag_indicator',
|
1109
|
-
'eco',
|
1110
|
-
'eject',
|
1111
|
-
'euro_symbol',
|
1112
|
-
'event',
|
1113
|
-
'event_seat',
|
1114
|
-
'exit_to_app',
|
1115
|
-
'explore',
|
1116
|
-
'explore_off',
|
1117
|
-
'extension',
|
1118
|
-
'face',
|
1119
|
-
'favorite',
|
1120
|
-
'favorite_border',
|
1121
|
-
'feedback',
|
1122
|
-
'find_in_page',
|
1123
|
-
'find_replace',
|
1124
|
-
'fingerprint',
|
1125
|
-
'flight_land',
|
1126
|
-
'flight_takeoff',
|
1127
|
-
'flip_to_back',
|
1128
|
-
'flip_to_front',
|
1129
|
-
'g_translate',
|
1130
|
-
'gavel',
|
1131
|
-
'get_app',
|
1132
|
-
'gif',
|
1133
|
-
'grade',
|
1134
|
-
'group_work',
|
1135
|
-
'help',
|
1136
|
-
'help_outline',
|
1137
|
-
'highlight_off',
|
1138
|
-
'history',
|
1139
|
-
'home',
|
1140
|
-
'horizontal_split',
|
1141
|
-
'hourglass_empty',
|
1142
|
-
'hourglass_full',
|
1143
|
-
'http',
|
1144
|
-
'https',
|
1145
|
-
'important_devices',
|
1146
|
-
'info',
|
1147
|
-
'input',
|
1148
|
-
'invert_colors',
|
1149
|
-
'label',
|
1150
|
-
'label_important',
|
1151
|
-
'label_off',
|
1152
|
-
'language',
|
1153
|
-
'launch',
|
1154
|
-
'line_style',
|
1155
|
-
'line_weight',
|
1156
|
-
'list',
|
1157
|
-
'lock',
|
1158
|
-
'lock_open',
|
1159
|
-
'loyalty',
|
1160
|
-
'markunread_mailbox',
|
1161
|
-
'maximize',
|
1162
|
-
'minimize',
|
1163
|
-
'motorcycle',
|
1164
|
-
'note_add',
|
1165
|
-
'offline_bolt',
|
1166
|
-
'offline_pin',
|
1167
|
-
'opacity',
|
1168
|
-
'open_in_browser',
|
1169
|
-
'open_in_new',
|
1170
|
-
'open_with',
|
1171
|
-
'pageview',
|
1172
|
-
'pan_tool',
|
1173
|
-
'payment',
|
1174
|
-
'perm_camera_mic',
|
1175
|
-
'perm_contact_calendar',
|
1176
|
-
'perm_data_setting',
|
1177
|
-
'perm_device_information',
|
1178
|
-
'perm_identity',
|
1179
|
-
'perm_media',
|
1180
|
-
'perm_phone_msg',
|
1181
|
-
'perm_scan_wifi',
|
1182
|
-
'pets',
|
1183
|
-
'picture_in_picture',
|
1184
|
-
'picture_in_picture_alt',
|
1185
|
-
'play_for_work',
|
1186
|
-
'polymer',
|
1187
|
-
'power_settings_new',
|
1188
|
-
'pregnant_woman',
|
1189
|
-
'print',
|
1190
|
-
'query_builder',
|
1191
|
-
'question_answer',
|
1192
|
-
'receipt',
|
1193
|
-
'record_voice_over',
|
1194
|
-
'redeem',
|
1195
|
-
'remove_shopping_cart',
|
1196
|
-
'reorder',
|
1197
|
-
'report_problem',
|
1198
|
-
'restore',
|
1199
|
-
'restore_from_trash',
|
1200
|
-
'restore_page',
|
1201
|
-
'room',
|
1202
|
-
'rounded_corner',
|
1203
|
-
'rowing',
|
1204
|
-
'schedule',
|
1205
|
-
'search',
|
1206
|
-
'settings_applications',
|
1207
|
-
'settings_backup_restore',
|
1208
|
-
'settings_bluetooth',
|
1209
|
-
'settings_brightness',
|
1210
|
-
'settings_cell',
|
1211
|
-
'settings_ethernet',
|
1212
|
-
'settings_input_antenna',
|
1213
|
-
'settings_input_component',
|
1214
|
-
'settings_input_composite',
|
1215
|
-
'settings_input_hdmi',
|
1216
|
-
'settings_input_svideo',
|
1217
|
-
'settings_overscan',
|
1218
|
-
'settings_phone',
|
1219
|
-
'settings_power',
|
1220
|
-
'settings_remote',
|
1221
|
-
'settings_voice',
|
1222
|
-
'shop',
|
1223
|
-
'shop_two',
|
1224
|
-
'shopping_basket',
|
1225
|
-
'shopping_cart',
|
1226
|
-
'speaker_notes',
|
1227
|
-
'speaker_notes_off',
|
1228
|
-
'spellcheck',
|
1229
|
-
'stars',
|
1230
|
-
'store',
|
1231
|
-
'subject',
|
1232
|
-
'supervised_user_circle',
|
1233
|
-
'supervisor_account',
|
1234
|
-
'swap_horiz',
|
1235
|
-
'swap_horizontal_circle',
|
1236
|
-
'swap_vert',
|
1237
|
-
'swap_vertical_circle',
|
1238
|
-
'sync_alt',
|
1239
|
-
'system_update_alt',
|
1240
|
-
'tab',
|
1241
|
-
'tab_unselected',
|
1242
|
-
'text_rotate_up',
|
1243
|
-
'text_rotate_vertical',
|
1244
|
-
'text_rotation_angledown',
|
1245
|
-
'text_rotation_angleup',
|
1246
|
-
'text_rotation_down',
|
1247
|
-
'text_rotation_none',
|
1248
|
-
'theaters',
|
1249
|
-
'thumb_down',
|
1250
|
-
'thumb_up',
|
1251
|
-
'thumbs_up_down',
|
1252
|
-
'timeline',
|
1253
|
-
'toc',
|
1254
|
-
'today',
|
1255
|
-
'toll',
|
1256
|
-
'touch_app',
|
1257
|
-
'track_changes',
|
1258
|
-
'translate',
|
1259
|
-
'trending_down',
|
1260
|
-
'trending_flat',
|
1261
|
-
'trending_up',
|
1262
|
-
'turned_in',
|
1263
|
-
'turned_in_not',
|
1264
|
-
'update',
|
1265
|
-
'verified_user',
|
1266
|
-
'vertical_split',
|
1267
|
-
'view_agenda',
|
1268
|
-
'view_array',
|
1269
|
-
'view_carousel',
|
1270
|
-
'view_column',
|
1271
|
-
'view_day',
|
1272
|
-
'view_headline',
|
1273
|
-
'view_list',
|
1274
|
-
'view_module',
|
1275
|
-
'view_quilt',
|
1276
|
-
'view_stream',
|
1277
|
-
'view_week',
|
1278
|
-
'visibility',
|
1279
|
-
'visibility_off',
|
1280
|
-
'voice_over_off',
|
1281
|
-
'watch_later',
|
1282
|
-
'work',
|
1283
|
-
'work_off',
|
1284
|
-
'work_outline',
|
1285
|
-
'youtube_searched_for',
|
1286
|
-
'zoom_in',
|
1287
|
-
'zoom_out',
|
1288
|
-
'add_alert',
|
1289
|
-
'error',
|
1290
|
-
'error_outline',
|
1291
|
-
'notification_important',
|
1292
|
-
'warning',
|
1293
|
-
'4k',
|
1294
|
-
'add_to_queue',
|
1295
|
-
'airplay',
|
1296
|
-
'album',
|
1297
|
-
'art_track',
|
1298
|
-
'av_timer',
|
1299
|
-
'branding_watermark',
|
1300
|
-
'call_to_action',
|
1301
|
-
'closed_caption',
|
1302
|
-
'control_camera',
|
1303
|
-
'equalizer',
|
1304
|
-
'explicit',
|
1305
|
-
'fast_forward',
|
1306
|
-
'fast_rewind',
|
1307
|
-
'featured_play_list',
|
1308
|
-
'featured_video',
|
1309
|
-
'fiber_dvr',
|
1310
|
-
'fiber_manual_record',
|
1311
|
-
'fiber_new',
|
1312
|
-
'fiber_pin',
|
1313
|
-
'fiber_smart_record',
|
1314
|
-
'forward_10',
|
1315
|
-
'forward_30',
|
1316
|
-
'forward_5',
|
1317
|
-
'games',
|
1318
|
-
'hd',
|
1319
|
-
'hearing',
|
1320
|
-
'high_quality',
|
1321
|
-
'library_add',
|
1322
|
-
'library_books',
|
1323
|
-
'library_music',
|
1324
|
-
'loop',
|
1325
|
-
'mic',
|
1326
|
-
'mic_none',
|
1327
|
-
'mic_off',
|
1328
|
-
'missed_video_call',
|
1329
|
-
'movie',
|
1330
|
-
'music_video',
|
1331
|
-
'new_releases',
|
1332
|
-
'not_interested',
|
1333
|
-
'note',
|
1334
|
-
'pause',
|
1335
|
-
'pause_circle_filled',
|
1336
|
-
'pause_circle_outline',
|
1337
|
-
'play_arrow',
|
1338
|
-
'play_circle_filled',
|
1339
|
-
'play_circle_outline',
|
1340
|
-
'playlist_add',
|
1341
|
-
'playlist_add_check',
|
1342
|
-
'playlist_play',
|
1343
|
-
'queue',
|
1344
|
-
'queue_music',
|
1345
|
-
'queue_play_next',
|
1346
|
-
'radio',
|
1347
|
-
'recent_actors',
|
1348
|
-
'remove_from_queue',
|
1349
|
-
'repeat',
|
1350
|
-
'repeat_one',
|
1351
|
-
'replay',
|
1352
|
-
'replay_10',
|
1353
|
-
'replay_30',
|
1354
|
-
'replay_5',
|
1355
|
-
'shuffle',
|
1356
|
-
'skip_next',
|
1357
|
-
'skip_previous',
|
1358
|
-
'slow_motion_video',
|
1359
|
-
'snooze',
|
1360
|
-
'sort_by_alpha',
|
1361
|
-
'speed',
|
1362
|
-
'stop',
|
1363
|
-
'subscriptions',
|
1364
|
-
'subtitles',
|
1365
|
-
'surround_sound',
|
1366
|
-
'video_call',
|
1367
|
-
'video_label',
|
1368
|
-
'video_library',
|
1369
|
-
'videocam',
|
1370
|
-
'videocam_off',
|
1371
|
-
'volume_down',
|
1372
|
-
'volume_mute',
|
1373
|
-
'volume_off',
|
1374
|
-
'volume_up',
|
1375
|
-
'web',
|
1376
|
-
'web_asset',
|
1377
|
-
'business',
|
1378
|
-
'call',
|
1379
|
-
'call_end',
|
1380
|
-
'call_made',
|
1381
|
-
'call_merge',
|
1382
|
-
'call_missed',
|
1383
|
-
'call_missed_outgoing',
|
1384
|
-
'call_received',
|
1385
|
-
'call_split',
|
1386
|
-
'cancel_presentation',
|
1387
|
-
'chat',
|
1388
|
-
'chat_bubble',
|
1389
|
-
'chat_bubble_outline',
|
1390
|
-
'clear_all',
|
1391
|
-
'comment',
|
1392
|
-
'contact_mail',
|
1393
|
-
'contact_phone',
|
1394
|
-
'contacts',
|
1395
|
-
'desktop_access_disabled',
|
1396
|
-
'dialer_sip',
|
1397
|
-
'dialpad',
|
1398
|
-
'domain_disabled',
|
1399
|
-
'duo',
|
1400
|
-
'email',
|
1401
|
-
'forum',
|
1402
|
-
'import_contacts',
|
1403
|
-
'import_export',
|
1404
|
-
'invert_colors_off',
|
1405
|
-
'list_alt',
|
1406
|
-
'live_help',
|
1407
|
-
'mail_outline',
|
1408
|
-
'message',
|
1409
|
-
'mobile_screen_share',
|
1410
|
-
'no_sim',
|
1411
|
-
'pause_presentation',
|
1412
|
-
'person_add_disabled',
|
1413
|
-
'phone',
|
1414
|
-
'phone_disabled',
|
1415
|
-
'phone_enabled',
|
1416
|
-
'phonelink_erase',
|
1417
|
-
'phonelink_lock',
|
1418
|
-
'phonelink_ring',
|
1419
|
-
'phonelink_setup',
|
1420
|
-
'portable_wifi_off',
|
1421
|
-
'present_to_all',
|
1422
|
-
'print_disabled',
|
1423
|
-
'ring_volume',
|
1424
|
-
'rss_feed',
|
1425
|
-
'screen_share',
|
1426
|
-
'sentiment_satisfied_alt',
|
1427
|
-
'speaker_phone',
|
1428
|
-
'stay_current_landscape',
|
1429
|
-
'stay_current_portrait',
|
1430
|
-
'stay_primary_landscape',
|
1431
|
-
'stay_primary_portrait',
|
1432
|
-
'stop_screen_share',
|
1433
|
-
'swap_calls',
|
1434
|
-
'textsms',
|
1435
|
-
'unsubscribe',
|
1436
|
-
'voicemail',
|
1437
|
-
'vpn_key',
|
1438
|
-
'add',
|
1439
|
-
'add_box',
|
1440
|
-
'add_circle',
|
1441
|
-
'add_circle_outline',
|
1442
|
-
'amp_stories',
|
1443
|
-
'archive',
|
1444
|
-
'backspace',
|
1445
|
-
'ballot',
|
1446
|
-
'block',
|
1447
|
-
'clear',
|
1448
|
-
'create',
|
1449
|
-
'delete_sweep',
|
1450
|
-
'drafts',
|
1451
|
-
'dynamic_feed',
|
1452
|
-
'file_copy',
|
1453
|
-
'filter_list',
|
1454
|
-
'flag',
|
1455
|
-
'font_download',
|
1456
|
-
'forward',
|
1457
|
-
'gesture',
|
1458
|
-
'how_to_reg',
|
1459
|
-
'how_to_vote',
|
1460
|
-
'inbox',
|
1461
|
-
'link',
|
1462
|
-
'link_off',
|
1463
|
-
'low_priority',
|
1464
|
-
'mail',
|
1465
|
-
'markunread',
|
1466
|
-
'move_to_inbox',
|
1467
|
-
'next_week',
|
1468
|
-
'outlined_flag',
|
1469
|
-
'policy',
|
1470
|
-
'redo',
|
1471
|
-
'remove',
|
1472
|
-
'remove_circle',
|
1473
|
-
'remove_circle_outline',
|
1474
|
-
'reply',
|
1475
|
-
'reply_all',
|
1476
|
-
'report',
|
1477
|
-
'report_off',
|
1478
|
-
'save',
|
1479
|
-
'save_alt',
|
1480
|
-
'select_all',
|
1481
|
-
'send',
|
1482
|
-
'sort',
|
1483
|
-
'square_foot',
|
1484
|
-
'text_format',
|
1485
|
-
'unarchive',
|
1486
|
-
'undo',
|
1487
|
-
'waves',
|
1488
|
-
'where_to_vote',
|
1489
|
-
'access_alarm',
|
1490
|
-
'access_alarms',
|
1491
|
-
'access_time',
|
1492
|
-
'add_alarm',
|
1493
|
-
'add_to_home_screen',
|
1494
|
-
'airplanemode_active',
|
1495
|
-
'airplanemode_inactive',
|
1496
|
-
'battery_alert',
|
1497
|
-
'battery_charging_full',
|
1498
|
-
'battery_full',
|
1499
|
-
'battery_std',
|
1500
|
-
'battery_unknown',
|
1501
|
-
'bluetooth',
|
1502
|
-
'bluetooth_connected',
|
1503
|
-
'bluetooth_disabled',
|
1504
|
-
'bluetooth_searching',
|
1505
|
-
'brightness_auto',
|
1506
|
-
'brightness_high',
|
1507
|
-
'brightness_low',
|
1508
|
-
'brightness_medium',
|
1509
|
-
'data_usage',
|
1510
|
-
'developer_mode',
|
1511
|
-
'devices',
|
1512
|
-
'dvr',
|
1513
|
-
'gps_fixed',
|
1514
|
-
'gps_not_fixed',
|
1515
|
-
'gps_off',
|
1516
|
-
'graphic_eq',
|
1517
|
-
'location_disabled',
|
1518
|
-
'location_searching',
|
1519
|
-
'mobile_friendly',
|
1520
|
-
'mobile_off',
|
1521
|
-
'nfc',
|
1522
|
-
'screen_lock_landscape',
|
1523
|
-
'screen_lock_portrait',
|
1524
|
-
'screen_lock_rotation',
|
1525
|
-
'screen_rotation',
|
1526
|
-
'sd_storage',
|
1527
|
-
'settings_system_daydream',
|
1528
|
-
'signal_cellular_4_bar',
|
1529
|
-
'signal_cellular_alt',
|
1530
|
-
'signal_cellular_connected_no_internet_4_bar',
|
1531
|
-
'signal_cellular_no_sim',
|
1532
|
-
'signal_cellular_null',
|
1533
|
-
'signal_cellular_off',
|
1534
|
-
'signal_wifi_4_bar',
|
1535
|
-
'signal_wifi_4_bar_lock',
|
1536
|
-
'signal_wifi_off',
|
1537
|
-
'storage',
|
1538
|
-
'usb',
|
1539
|
-
'wallpaper',
|
1540
|
-
'widgets',
|
1541
|
-
'wifi_lock',
|
1542
|
-
'wifi_tethering',
|
1543
|
-
'add_comment',
|
1544
|
-
'attach_file',
|
1545
|
-
'attach_money',
|
1546
|
-
'bar_chart',
|
1547
|
-
'border_all',
|
1548
|
-
'border_bottom',
|
1549
|
-
'border_clear',
|
1550
|
-
'border_horizontal',
|
1551
|
-
'border_inner',
|
1552
|
-
'border_left',
|
1553
|
-
'border_outer',
|
1554
|
-
'border_right',
|
1555
|
-
'border_style',
|
1556
|
-
'border_top',
|
1557
|
-
'border_vertical',
|
1558
|
-
'bubble_chart',
|
1559
|
-
'drag_handle',
|
1560
|
-
'format_align_center',
|
1561
|
-
'format_align_justify',
|
1562
|
-
'format_align_left',
|
1563
|
-
'format_align_right',
|
1564
|
-
'format_bold',
|
1565
|
-
'format_clear',
|
1566
|
-
'format_color_reset',
|
1567
|
-
'format_indent_decrease',
|
1568
|
-
'format_indent_increase',
|
1569
|
-
'format_italic',
|
1570
|
-
'format_line_spacing',
|
1571
|
-
'format_list_bulleted',
|
1572
|
-
'format_list_numbered',
|
1573
|
-
'format_list_numbered_rtl',
|
1574
|
-
'format_paint',
|
1575
|
-
'format_quote',
|
1576
|
-
'format_shapes',
|
1577
|
-
'format_size',
|
1578
|
-
'format_strikethrough',
|
1579
|
-
'format_textdirection_l_to_r',
|
1580
|
-
'format_textdirection_r_to_l',
|
1581
|
-
'format_underlined',
|
1582
|
-
'functions',
|
1583
|
-
'height',
|
1584
|
-
'highlight',
|
1585
|
-
'insert_chart',
|
1586
|
-
'insert_chart_outlined',
|
1587
|
-
'insert_comment',
|
1588
|
-
'insert_drive_file',
|
1589
|
-
'insert_emoticon',
|
1590
|
-
'insert_invitation',
|
1591
|
-
'insert_link',
|
1592
|
-
'insert_photo',
|
1593
|
-
'linear_scale',
|
1594
|
-
'merge_type',
|
1595
|
-
'mode_comment',
|
1596
|
-
'monetization_on',
|
1597
|
-
'money_off',
|
1598
|
-
'multiline_chart',
|
1599
|
-
'notes',
|
1600
|
-
'pie_chart',
|
1601
|
-
'post_add',
|
1602
|
-
'publish',
|
1603
|
-
'scatter_plot',
|
1604
|
-
'score',
|
1605
|
-
'short_text',
|
1606
|
-
'show_chart',
|
1607
|
-
'space_bar',
|
1608
|
-
'strikethrough_s',
|
1609
|
-
'table_chart',
|
1610
|
-
'text_fields',
|
1611
|
-
'title',
|
1612
|
-
'vertical_align_bottom',
|
1613
|
-
'vertical_align_center',
|
1614
|
-
'vertical_align_top',
|
1615
|
-
'wrap_text',
|
1616
|
-
'attachment',
|
1617
|
-
'cloud',
|
1618
|
-
'cloud_circle',
|
1619
|
-
'cloud_done',
|
1620
|
-
'cloud_download',
|
1621
|
-
'cloud_off',
|
1622
|
-
'cloud_queue',
|
1623
|
-
'cloud_upload',
|
1624
|
-
'create_new_folder',
|
1625
|
-
'folder',
|
1626
|
-
'folder_open',
|
1627
|
-
'folder_shared',
|
1628
|
-
'cast',
|
1629
|
-
'cast_connected',
|
1630
|
-
'computer',
|
1631
|
-
'desktop_mac',
|
1632
|
-
'desktop_windows',
|
1633
|
-
'developer_board',
|
1634
|
-
'device_hub',
|
1635
|
-
'device_unknown',
|
1636
|
-
'devices_other',
|
1637
|
-
'dock',
|
1638
|
-
'gamepad',
|
1639
|
-
'headset',
|
1640
|
-
'headset_mic',
|
1641
|
-
'keyboard',
|
1642
|
-
'keyboard_arrow_down',
|
1643
|
-
'keyboard_arrow_left',
|
1644
|
-
'keyboard_arrow_right',
|
1645
|
-
'keyboard_arrow_up',
|
1646
|
-
'keyboard_backspace',
|
1647
|
-
'keyboard_capslock',
|
1648
|
-
'keyboard_hide',
|
1649
|
-
'keyboard_return',
|
1650
|
-
'keyboard_tab',
|
1651
|
-
'keyboard_voice',
|
1652
|
-
'laptop',
|
1653
|
-
'laptop_chromebook',
|
1654
|
-
'laptop_mac',
|
1655
|
-
'laptop_windows',
|
1656
|
-
'memory',
|
1657
|
-
'mouse',
|
1658
|
-
'phone_android',
|
1659
|
-
'phone_iphone',
|
1660
|
-
'phonelink',
|
1661
|
-
'phonelink_off',
|
1662
|
-
'power_input',
|
1663
|
-
'router',
|
1664
|
-
'scanner',
|
1665
|
-
'security',
|
1666
|
-
'sim_card',
|
1667
|
-
'smartphone',
|
1668
|
-
'speaker',
|
1669
|
-
'speaker_group',
|
1670
|
-
'tablet',
|
1671
|
-
'tablet_android',
|
1672
|
-
'tablet_mac',
|
1673
|
-
'toys',
|
1674
|
-
'tv',
|
1675
|
-
'videogame_asset',
|
1676
|
-
'watch',
|
1677
|
-
'add_a_photo',
|
1678
|
-
'add_photo_alternate',
|
1679
|
-
'add_to_photos',
|
1680
|
-
'adjust',
|
1681
|
-
'assistant',
|
1682
|
-
'assistant_photo',
|
1683
|
-
'audiotrack',
|
1684
|
-
'blur_circular',
|
1685
|
-
'blur_linear',
|
1686
|
-
'blur_off',
|
1687
|
-
'blur_on',
|
1688
|
-
'brightness_1',
|
1689
|
-
'brightness_2',
|
1690
|
-
'brightness_3',
|
1691
|
-
'brightness_4',
|
1692
|
-
'brightness_5',
|
1693
|
-
'brightness_6',
|
1694
|
-
'brightness_7',
|
1695
|
-
'broken_image',
|
1696
|
-
'brush',
|
1697
|
-
'burst_mode',
|
1698
|
-
'camera',
|
1699
|
-
'camera_alt',
|
1700
|
-
'camera_front',
|
1701
|
-
'camera_rear',
|
1702
|
-
'camera_roll',
|
1703
|
-
'center_focus_strong',
|
1704
|
-
'center_focus_weak',
|
1705
|
-
'collections',
|
1706
|
-
'collections_bookmark',
|
1707
|
-
'color_lens',
|
1708
|
-
'colorize',
|
1709
|
-
'compare',
|
1710
|
-
'control_point',
|
1711
|
-
'control_point_duplicate',
|
1712
|
-
'crop',
|
1713
|
-
'crop_16_9',
|
1714
|
-
'crop_3_2',
|
1715
|
-
'crop_5_4',
|
1716
|
-
'crop_7_5',
|
1717
|
-
'crop_din',
|
1718
|
-
'crop_free',
|
1719
|
-
'crop_landscape',
|
1720
|
-
'crop_original',
|
1721
|
-
'crop_portrait',
|
1722
|
-
'crop_rotate',
|
1723
|
-
'crop_square',
|
1724
|
-
'dehaze',
|
1725
|
-
'details',
|
1726
|
-
'edit',
|
1727
|
-
'euro',
|
1728
|
-
'exposure',
|
1729
|
-
'exposure_neg_1',
|
1730
|
-
'exposure_neg_2',
|
1731
|
-
'exposure_plus_1',
|
1732
|
-
'exposure_plus_2',
|
1733
|
-
'exposure_zero',
|
1734
|
-
'filter',
|
1735
|
-
'filter_1',
|
1736
|
-
'filter_2',
|
1737
|
-
'filter_3',
|
1738
|
-
'filter_4',
|
1739
|
-
'filter_5',
|
1740
|
-
'filter_6',
|
1741
|
-
'filter_7',
|
1742
|
-
'filter_8',
|
1743
|
-
'filter_9',
|
1744
|
-
'filter_9_plus',
|
1745
|
-
'filter_b_and_w',
|
1746
|
-
'filter_center_focus',
|
1747
|
-
'filter_drama',
|
1748
|
-
'filter_frames',
|
1749
|
-
'filter_hdr',
|
1750
|
-
'filter_none',
|
1751
|
-
'filter_tilt_shift',
|
1752
|
-
'filter_vintage',
|
1753
|
-
'flare',
|
1754
|
-
'flash_auto',
|
1755
|
-
'flash_off',
|
1756
|
-
'flash_on',
|
1757
|
-
'flip',
|
1758
|
-
'flip_camera_android',
|
1759
|
-
'flip_camera_ios',
|
1760
|
-
'gradient',
|
1761
|
-
'grain',
|
1762
|
-
'grid_off',
|
1763
|
-
'grid_on',
|
1764
|
-
'hdr_off',
|
1765
|
-
'hdr_on',
|
1766
|
-
'hdr_strong',
|
1767
|
-
'hdr_weak',
|
1768
|
-
'healing',
|
1769
|
-
'image',
|
1770
|
-
'image_aspect_ratio',
|
1771
|
-
'image_search',
|
1772
|
-
'iso',
|
1773
|
-
'landscape',
|
1774
|
-
'leak_add',
|
1775
|
-
'leak_remove',
|
1776
|
-
'lens',
|
1777
|
-
'linked_camera',
|
1778
|
-
'looks',
|
1779
|
-
'looks_3',
|
1780
|
-
'looks_4',
|
1781
|
-
'looks_5',
|
1782
|
-
'looks_6',
|
1783
|
-
'looks_one',
|
1784
|
-
'looks_two',
|
1785
|
-
'loupe',
|
1786
|
-
'monochrome_photos',
|
1787
|
-
'movie_creation',
|
1788
|
-
'movie_filter',
|
1789
|
-
'music_note',
|
1790
|
-
'music_off',
|
1791
|
-
'nature',
|
1792
|
-
'nature_people',
|
1793
|
-
'navigate_before',
|
1794
|
-
'navigate_next',
|
1795
|
-
'palette',
|
1796
|
-
'panorama',
|
1797
|
-
'panorama_fish_eye',
|
1798
|
-
'panorama_horizontal',
|
1799
|
-
'panorama_vertical',
|
1800
|
-
'panorama_wide_angle',
|
1801
|
-
'photo',
|
1802
|
-
'photo_album',
|
1803
|
-
'photo_camera',
|
1804
|
-
'photo_filter',
|
1805
|
-
'photo_library',
|
1806
|
-
'photo_size_select_actual',
|
1807
|
-
'photo_size_select_large',
|
1808
|
-
'photo_size_select_small',
|
1809
|
-
'picture_as_pdf',
|
1810
|
-
'portrait',
|
1811
|
-
'remove_red_eye',
|
1812
|
-
'rotate_90_degrees_ccw',
|
1813
|
-
'rotate_left',
|
1814
|
-
'rotate_right',
|
1815
|
-
'shutter_speed',
|
1816
|
-
'slideshow',
|
1817
|
-
'straighten',
|
1818
|
-
'style',
|
1819
|
-
'switch_camera',
|
1820
|
-
'switch_video',
|
1821
|
-
'tag_faces',
|
1822
|
-
'texture',
|
1823
|
-
'timelapse',
|
1824
|
-
'timer',
|
1825
|
-
'timer_10',
|
1826
|
-
'timer_3',
|
1827
|
-
'timer_off',
|
1828
|
-
'tonality',
|
1829
|
-
'transform',
|
1830
|
-
'tune',
|
1831
|
-
'view_comfy',
|
1832
|
-
'view_compact',
|
1833
|
-
'vignette',
|
1834
|
-
'wb_auto',
|
1835
|
-
'wb_cloudy',
|
1836
|
-
'wb_incandescent',
|
1837
|
-
'wb_iridescent',
|
1838
|
-
'wb_sunny',
|
1839
|
-
'360',
|
1840
|
-
'atm',
|
1841
|
-
'beenhere',
|
1842
|
-
'category',
|
1843
|
-
'compass_calibration',
|
1844
|
-
'departure_board',
|
1845
|
-
'directions',
|
1846
|
-
'directions_bike',
|
1847
|
-
'directions_boat',
|
1848
|
-
'directions_bus',
|
1849
|
-
'directions_car',
|
1850
|
-
'directions_railway',
|
1851
|
-
'directions_run',
|
1852
|
-
'directions_subway',
|
1853
|
-
'directions_transit',
|
1854
|
-
'directions_walk',
|
1855
|
-
'edit_attributes',
|
1856
|
-
'ev_station',
|
1857
|
-
'fastfood',
|
1858
|
-
'flight',
|
1859
|
-
'hotel',
|
1860
|
-
'layers',
|
1861
|
-
'layers_clear',
|
1862
|
-
'local_activity',
|
1863
|
-
'local_airport',
|
1864
|
-
'local_atm',
|
1865
|
-
'local_bar',
|
1866
|
-
'local_cafe',
|
1867
|
-
'local_car_wash',
|
1868
|
-
'local_convenience_store',
|
1869
|
-
'local_dining',
|
1870
|
-
'local_drink',
|
1871
|
-
'local_florist',
|
1872
|
-
'local_gas_station',
|
1873
|
-
'local_grocery_store',
|
1874
|
-
'local_hospital',
|
1875
|
-
'local_hotel',
|
1876
|
-
'local_laundry_service',
|
1877
|
-
'local_library',
|
1878
|
-
'local_mall',
|
1879
|
-
'local_movies',
|
1880
|
-
'local_offer',
|
1881
|
-
'local_parking',
|
1882
|
-
'local_pharmacy',
|
1883
|
-
'local_phone',
|
1884
|
-
'local_pizza',
|
1885
|
-
'local_play',
|
1886
|
-
'local_post_office',
|
1887
|
-
'local_printshop',
|
1888
|
-
'local_see',
|
1889
|
-
'local_shipping',
|
1890
|
-
'local_taxi',
|
1891
|
-
'map',
|
1892
|
-
'menu_book',
|
1893
|
-
'money',
|
1894
|
-
'museum',
|
1895
|
-
'my_location',
|
1896
|
-
'navigation',
|
1897
|
-
'near_me',
|
1898
|
-
'person_pin',
|
1899
|
-
'rate_review',
|
1900
|
-
'restaurant',
|
1901
|
-
'restaurant_menu',
|
1902
|
-
'satellite',
|
1903
|
-
'store_mall_directory',
|
1904
|
-
'streetview',
|
1905
|
-
'subway',
|
1906
|
-
'terrain',
|
1907
|
-
'traffic',
|
1908
|
-
'train',
|
1909
|
-
'tram',
|
1910
|
-
'transfer_within_a_station',
|
1911
|
-
'transit_enterexit',
|
1912
|
-
'trip_origin',
|
1913
|
-
'zoom_out_map',
|
1914
|
-
'apps',
|
1915
|
-
'arrow_back',
|
1916
|
-
'arrow_back_ios',
|
1917
|
-
'arrow_downward',
|
1918
|
-
'arrow_drop_down',
|
1919
|
-
'arrow_drop_down_circle',
|
1920
|
-
'arrow_drop_up',
|
1921
|
-
'arrow_forward',
|
1922
|
-
'arrow_forward_ios',
|
1923
|
-
'arrow_left',
|
1924
|
-
'arrow_right',
|
1925
|
-
'arrow_upward',
|
1926
|
-
'cancel',
|
1927
|
-
'check',
|
1928
|
-
'chevron_left',
|
1929
|
-
'chevron_right',
|
1930
|
-
'close',
|
1931
|
-
'double_arrow',
|
1932
|
-
'expand_less',
|
1933
|
-
'expand_more',
|
1934
|
-
'first_page',
|
1935
|
-
'fullscreen',
|
1936
|
-
'fullscreen_exit',
|
1937
|
-
'home_work',
|
1938
|
-
'last_page',
|
1939
|
-
'menu',
|
1940
|
-
'menu_open',
|
1941
|
-
'more_horiz',
|
1942
|
-
'more_vert',
|
1943
|
-
'refresh',
|
1944
|
-
'subdirectory_arrow_left',
|
1945
|
-
'subdirectory_arrow_right',
|
1946
|
-
'unfold_less',
|
1947
|
-
'unfold_more',
|
1948
|
-
'account_tree',
|
1949
|
-
'adb',
|
1950
|
-
'airline_seat_flat',
|
1951
|
-
'airline_seat_flat_angled',
|
1952
|
-
'airline_seat_individual_suite',
|
1953
|
-
'airline_seat_legroom_extra',
|
1954
|
-
'airline_seat_legroom_normal',
|
1955
|
-
'airline_seat_legroom_reduced',
|
1956
|
-
'airline_seat_recline_extra',
|
1957
|
-
'airline_seat_recline_normal',
|
1958
|
-
'bluetooth_audio',
|
1959
|
-
'confirmation_number',
|
1960
|
-
'disc_full',
|
1961
|
-
'drive_eta',
|
1962
|
-
'enhanced_encryption',
|
1963
|
-
'event_available',
|
1964
|
-
'event_busy',
|
1965
|
-
'event_note',
|
1966
|
-
'folder_special',
|
1967
|
-
'live_tv',
|
1968
|
-
'mms',
|
1969
|
-
'more',
|
1970
|
-
'network_check',
|
1971
|
-
'network_locked',
|
1972
|
-
'no_encryption',
|
1973
|
-
'ondemand_video',
|
1974
|
-
'personal_video',
|
1975
|
-
'phone_bluetooth_speaker',
|
1976
|
-
'phone_callback',
|
1977
|
-
'phone_forwarded',
|
1978
|
-
'phone_in_talk',
|
1979
|
-
'phone_locked',
|
1980
|
-
'phone_missed',
|
1981
|
-
'phone_paused',
|
1982
|
-
'power',
|
1983
|
-
'power_off',
|
1984
|
-
'priority_high',
|
1985
|
-
'sd_card',
|
1986
|
-
'sms',
|
1987
|
-
'sms_failed',
|
1988
|
-
'sync',
|
1989
|
-
'sync_disabled',
|
1990
|
-
'sync_problem',
|
1991
|
-
'system_update',
|
1992
|
-
'tap_and_play',
|
1993
|
-
'time_to_leave',
|
1994
|
-
'tv_off',
|
1995
|
-
'vibration',
|
1996
|
-
'voice_chat',
|
1997
|
-
'vpn_lock',
|
1998
|
-
'wc',
|
1999
|
-
'wifi',
|
2000
|
-
'wifi_off',
|
2001
|
-
'ac_unit',
|
2002
|
-
'airport_shuttle',
|
2003
|
-
'all_inclusive',
|
2004
|
-
'apartment',
|
2005
|
-
'bathtub',
|
2006
|
-
'beach_access',
|
2007
|
-
'business_center',
|
2008
|
-
'casino',
|
2009
|
-
'child_care',
|
2010
|
-
'child_friendly',
|
2011
|
-
'fitness_center',
|
2012
|
-
'free_breakfast',
|
2013
|
-
'golf_course',
|
2014
|
-
'hot_tub',
|
2015
|
-
'house',
|
2016
|
-
'kitchen',
|
2017
|
-
'meeting_room',
|
2018
|
-
'no_meeting_room',
|
2019
|
-
'pool',
|
2020
|
-
'room_service',
|
2021
|
-
'rv_hookup',
|
2022
|
-
'smoke_free',
|
2023
|
-
'smoking_rooms',
|
2024
|
-
'spa',
|
2025
|
-
'storefront',
|
2026
|
-
'cake',
|
2027
|
-
'deck',
|
2028
|
-
'emoji_emotions',
|
2029
|
-
'emoji_events',
|
2030
|
-
'emoji_flags',
|
2031
|
-
'emoji_food_beverage',
|
2032
|
-
'emoji_nature',
|
2033
|
-
'emoji_objects',
|
2034
|
-
'emoji_people',
|
2035
|
-
'emoji_symbols',
|
2036
|
-
'emoji_transportation',
|
2037
|
-
'fireplace',
|
2038
|
-
'group',
|
2039
|
-
'group_add',
|
2040
|
-
'king_bed',
|
2041
|
-
'location_city',
|
2042
|
-
'mood',
|
2043
|
-
'mood_bad',
|
2044
|
-
'nights_stay',
|
2045
|
-
'notifications',
|
2046
|
-
'notifications_active',
|
2047
|
-
'notifications_none',
|
2048
|
-
'notifications_off',
|
2049
|
-
'notifications_paused',
|
2050
|
-
'outdoor_grill',
|
2051
|
-
'pages',
|
2052
|
-
'party_mode',
|
2053
|
-
'people',
|
2054
|
-
'people_alt',
|
2055
|
-
'people_outline',
|
2056
|
-
'person',
|
2057
|
-
'person_add',
|
2058
|
-
'person_outline',
|
2059
|
-
'plus_one',
|
2060
|
-
'poll',
|
2061
|
-
'public',
|
2062
|
-
'school',
|
2063
|
-
'sentiment_dissatisfied',
|
2064
|
-
'sentiment_satisfied',
|
2065
|
-
'sentiment_very_dissatisfied',
|
2066
|
-
'sentiment_very_satisfied',
|
2067
|
-
'share',
|
2068
|
-
'single_bed',
|
2069
|
-
'sports',
|
2070
|
-
'sports_baseball',
|
2071
|
-
'sports_basketball',
|
2072
|
-
'sports_cricket',
|
2073
|
-
'sports_esports',
|
2074
|
-
'sports_football',
|
2075
|
-
'sports_golf',
|
2076
|
-
'sports_handball',
|
2077
|
-
'sports_hockey',
|
2078
|
-
'sports_kabaddi',
|
2079
|
-
'sports_mma',
|
2080
|
-
'sports_motorsports',
|
2081
|
-
'sports_rugby',
|
2082
|
-
'sports_soccer',
|
2083
|
-
'sports_tennis',
|
2084
|
-
'sports_volleyball',
|
2085
|
-
'thumb_down_alt',
|
2086
|
-
'thumb_up_alt',
|
2087
|
-
'whatshot',
|
2088
|
-
'check_box',
|
2089
|
-
'check_box_outline_blank',
|
2090
|
-
'indeterminate_check_box',
|
2091
|
-
'radio_button_checked',
|
2092
|
-
'radio_button_unchecked',
|
2093
|
-
'star',
|
2094
|
-
'star_border',
|
2095
|
-
'star_half',
|
2096
|
-
'toggle_off',
|
2097
|
-
'toggle_on',
|
2098
|
-
];
|
2099
|
-
}
|
2100
|
-
Object.defineProperty(IconService.prototype, "icons", {
|
2101
|
-
/**
|
2102
|
-
* @return {?}
|
2103
|
-
*/
|
2104
|
-
get: function () {
|
2105
|
-
return this._icons;
|
2106
|
-
},
|
2107
|
-
enumerable: false,
|
2108
|
-
configurable: true
|
2109
|
-
});
|
2110
|
-
/**
|
2111
|
-
* @param {?} query
|
2112
|
-
* @return {?}
|
2113
|
-
*/
|
2114
|
-
IconService.prototype.filter = function (query) {
|
2115
|
-
return this.icons.filter(( /**
|
2116
|
-
* @param {?} el
|
2117
|
-
* @return {?}
|
2118
|
-
*/function (el) {
|
2119
|
-
return el.toLowerCase().indexOf(query ? query.toLowerCase() : '') > -1;
|
2120
|
-
}));
|
2121
|
-
};
|
2122
|
-
return IconService;
|
2123
|
-
}());
|
2124
|
-
IconService.decorators = [
|
2125
|
-
{ type: core.Injectable }
|
2126
|
-
];
|
2127
|
-
if (false) {
|
2128
|
-
/**
|
2129
|
-
* @type {?}
|
2130
|
-
* @private
|
2131
|
-
*/
|
2132
|
-
IconService.prototype._icons;
|
2133
|
-
}
|
2134
|
-
|
2135
|
-
/**
|
2136
|
-
* @fileoverview added by tsickle
|
2137
|
-
* Generated from: common.module.ts
|
2138
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2139
|
-
*/
|
2140
|
-
/** @type {?} */
|
2141
|
-
var TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
|
2142
|
-
// Validators
|
2143
|
-
/** @type {?} */
|
2144
|
-
var TD_VALIDATORS = [];
|
2145
|
-
/** @type {?} */
|
2146
|
-
var TD_PIPES = [
|
2147
|
-
TdTimeAgoPipe,
|
2148
|
-
TdTimeDifferencePipe,
|
2149
|
-
TdTimeUntilPipe,
|
2150
|
-
TdBytesPipe,
|
2151
|
-
TdDecimalBytesPipe,
|
2152
|
-
TdDigitsPipe,
|
2153
|
-
TdTruncatePipe,
|
2154
|
-
];
|
2155
|
-
var CovalentCommonModule = /** @class */ (function () {
|
2156
|
-
function CovalentCommonModule() {
|
2157
|
-
}
|
2158
|
-
return CovalentCommonModule;
|
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
|
-
];
|
2168
|
-
|
2169
|
-
/**
|
2170
|
-
* @fileoverview added by tsickle
|
2171
|
-
* Generated from: animations/rotate/rotate.animation.ts
|
2172
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2173
|
-
*/
|
2174
|
-
/**
|
2175
|
-
* @record
|
2176
|
-
*/
|
2177
|
-
function IRotateAnimation() { }
|
2178
|
-
if (false) {
|
2179
|
-
/** @type {?|undefined} */
|
2180
|
-
IRotateAnimation.prototype.degrees;
|
2181
|
-
/** @type {?|undefined} */
|
2182
|
-
IRotateAnimation.prototype.ease;
|
2183
|
-
}
|
2184
|
-
/**
|
2185
|
-
* const tdRotateAnimation
|
2186
|
-
*
|
2187
|
-
* Parameter Options:
|
2188
|
-
* * degressStart: Degrees of rotation that the dom object will end up in during the "false" state
|
2189
|
-
* * degreesEnd: Degrees of rotation that the dom object will end up in during the "true" state
|
2190
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
|
2191
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2192
|
-
* * ease: Animation accelerates and decelerates. Defaults to ease-in.
|
2193
|
-
*
|
2194
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a rotation animation.
|
2195
|
-
*
|
2196
|
-
* usage: [\@tdRotate]="{ value: true | false, params: { degreesEnd: 90 }}"
|
2197
|
-
* @type {?}
|
2198
|
-
*/
|
2199
|
-
var tdRotateAnimation = animations.trigger('tdRotate', [
|
2200
|
-
animations.state('0', animations.style({
|
2201
|
-
transform: 'rotate({{ degressStart }}deg)',
|
2202
|
-
}), { params: { degressStart: 0 } }),
|
2203
|
-
animations.state('1', animations.style({
|
2204
|
-
transform: 'rotate({{ degreesEnd }}deg)',
|
2205
|
-
}), { params: { degreesEnd: 180 } }),
|
2206
|
-
animations.transition('0 <=> 1', [animations.group([animations.query('@*', animations.animateChild(), { optional: true }), animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}')])], { params: { duration: 250, delay: '0', ease: 'ease-in' } }),
|
2207
|
-
]);
|
2208
|
-
|
2209
|
-
/**
|
2210
|
-
* @fileoverview added by tsickle
|
2211
|
-
* Generated from: animations/collapse/collapse.animation.ts
|
2212
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2213
|
-
*/
|
2214
|
-
/**
|
2215
|
-
* @record
|
2216
|
-
*/
|
2217
|
-
function ICollapseAnimation() { }
|
2218
|
-
if (false) {
|
2219
|
-
/** @type {?|undefined} */
|
2220
|
-
ICollapseAnimation.prototype.easeOnClose;
|
2221
|
-
/** @type {?|undefined} */
|
2222
|
-
ICollapseAnimation.prototype.easeOnOpen;
|
2223
|
-
}
|
2224
|
-
/**
|
2225
|
-
* const tdCollapseAnimation
|
2226
|
-
*
|
2227
|
-
* Parameter Options:
|
2228
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
|
2229
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2230
|
-
* * easeOnClose: Animation accelerates and decelerates when closing. Defaults to ease-in.
|
2231
|
-
* * easeOnOpen: Animation accelerates and decelerates when opening. Defaults to ease-out.
|
2232
|
-
*
|
2233
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a collapse/expand animation.
|
2234
|
-
*
|
2235
|
-
* usage: [\@tdCollapse]="{ value: true | false, params: { duration: 500 }}"
|
2236
|
-
* @type {?}
|
2237
|
-
*/
|
2238
|
-
var tdCollapseAnimation = animations.trigger('tdCollapse', [
|
2239
|
-
animations.state('1', animations.style({
|
2240
|
-
height: '0',
|
2241
|
-
overflow: 'hidden',
|
2242
|
-
})),
|
2243
|
-
animations.state('0', animations.style({
|
2244
|
-
height: animations.AUTO_STYLE,
|
2245
|
-
overflow: animations.AUTO_STYLE,
|
2246
|
-
})),
|
2247
|
-
animations.transition('0 => 1', [
|
2248
|
-
animations.style({
|
2249
|
-
overflow: 'hidden',
|
2250
|
-
height: animations.AUTO_STYLE,
|
2251
|
-
}),
|
2252
|
-
animations.group([
|
2253
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2254
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}', animations.style({
|
2255
|
-
height: '0',
|
2256
|
-
overflow: 'hidden',
|
2257
|
-
})),
|
2258
|
-
]),
|
2259
|
-
], { params: { duration: 150, delay: '0', ease: 'ease-in' } }),
|
2260
|
-
animations.transition('1 => 0', [
|
2261
|
-
animations.style({
|
2262
|
-
height: '0',
|
2263
|
-
overflow: 'hidden',
|
2264
|
-
}),
|
2265
|
-
animations.group([
|
2266
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2267
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}', animations.style({
|
2268
|
-
overflow: 'hidden',
|
2269
|
-
height: animations.AUTO_STYLE,
|
2270
|
-
})),
|
2271
|
-
]),
|
2272
|
-
], { params: { duration: 150, delay: '0', ease: 'ease-out' } }),
|
2273
|
-
]);
|
2274
|
-
|
2275
|
-
/**
|
2276
|
-
* @fileoverview added by tsickle
|
2277
|
-
* Generated from: animations/fade/fadeInOut.animation.ts
|
2278
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2279
|
-
*/
|
2280
|
-
/**
|
2281
|
-
* @record
|
2282
|
-
*/
|
2283
|
-
function IFadeInOutAnimation() { }
|
2284
|
-
if (false) {
|
2285
|
-
/** @type {?|undefined} */
|
2286
|
-
IFadeInOutAnimation.prototype.easeOnIn;
|
2287
|
-
/** @type {?|undefined} */
|
2288
|
-
IFadeInOutAnimation.prototype.easeOnOut;
|
2289
|
-
}
|
2290
|
-
/**
|
2291
|
-
* const tdFadeInOutAnimation
|
2292
|
-
*
|
2293
|
-
* Parameter Options:
|
2294
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
|
2295
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2296
|
-
* * easeOnIn: Animation accelerates and decelerates when fading in. Defaults to ease-in.
|
2297
|
-
* * easeOnOut: Animation accelerates and decelerates when fading out. Defaults to ease-out.
|
2298
|
-
*
|
2299
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a fade animation.
|
2300
|
-
*
|
2301
|
-
* usage: [\@tdFadeInOut]="{ value: true | false, params: { duration: 200 }}"
|
2302
|
-
* @type {?}
|
2303
|
-
*/
|
2304
|
-
var tdFadeInOutAnimation = animations.trigger('tdFadeInOut', [
|
2305
|
-
animations.state('0', animations.style({
|
2306
|
-
opacity: '0',
|
2307
|
-
visibility: 'hidden',
|
2308
|
-
})),
|
2309
|
-
animations.state('1', animations.style({
|
2310
|
-
opacity: animations.AUTO_STYLE,
|
2311
|
-
visibility: animations.AUTO_STYLE,
|
2312
|
-
})),
|
2313
|
-
animations.transition('0 => 1', [
|
2314
|
-
animations.group([
|
2315
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2316
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ easeOnIn }}'),
|
2317
|
-
]),
|
2318
|
-
], { params: { duration: 150, delay: '0', easeOnIn: 'ease-in' } }),
|
2319
|
-
animations.transition('1 => 0', [
|
2320
|
-
animations.group([
|
2321
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2322
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ easeOnOut }}'),
|
2323
|
-
]),
|
2324
|
-
], { params: { duration: 150, delay: '0', easeOnOut: 'ease-out' } }),
|
2325
|
-
]);
|
2326
|
-
|
2327
|
-
/**
|
2328
|
-
* @fileoverview added by tsickle
|
2329
|
-
* Generated from: animations/bounce/bounce.animation.ts
|
2330
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2331
|
-
*/
|
2332
|
-
/**
|
2333
|
-
* const tdBounceAnimation
|
2334
|
-
*
|
2335
|
-
* Parameter Options:
|
2336
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
|
2337
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2338
|
-
* * ease: Animation accelerate and decelerate style. Defaults to ease-out.
|
2339
|
-
*
|
2340
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a bounce animation.
|
2341
|
-
*
|
2342
|
-
* usage: [\@tdBounce]="{ value: true | false, params: { duration: 200 }}"
|
2343
|
-
* @type {?}
|
2344
|
-
*/
|
2345
|
-
var tdBounceAnimation = animations.trigger('tdBounce', [
|
2346
|
-
animations.state('0', animations.style({
|
2347
|
-
transform: 'translate3d(0, 0, 0)',
|
2348
|
-
})),
|
2349
|
-
animations.state('1', animations.style({
|
2350
|
-
transform: 'translate3d(0, 0, 0)',
|
2351
|
-
})),
|
2352
|
-
animations.transition('0 <=> 1', [
|
2353
|
-
animations.group([
|
2354
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2355
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}', animations.keyframes([
|
2356
|
-
animations.style({
|
2357
|
-
animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
|
2358
|
-
transform: 'translate3d(0, 0, 0)',
|
2359
|
-
offset: 0,
|
2360
|
-
}),
|
2361
|
-
animations.style({
|
2362
|
-
animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
|
2363
|
-
transform: 'translate3d(0, 0, 0)',
|
2364
|
-
offset: 0.2,
|
2365
|
-
}),
|
2366
|
-
animations.style({
|
2367
|
-
animationTimingFunction: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',
|
2368
|
-
transform: 'translate3d(0, -30px, 0)',
|
2369
|
-
offset: 0.4,
|
2370
|
-
}),
|
2371
|
-
animations.style({
|
2372
|
-
animationTimingFunction: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',
|
2373
|
-
transform: 'translate3d(0, -30px, 0)',
|
2374
|
-
offset: 0.43,
|
2375
|
-
}),
|
2376
|
-
animations.style({
|
2377
|
-
animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
|
2378
|
-
transform: 'translate3d(0, 0, 0)',
|
2379
|
-
offset: 0.53,
|
2380
|
-
}),
|
2381
|
-
animations.style({
|
2382
|
-
animationTimingFunction: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',
|
2383
|
-
transform: 'translate3d(0, -15px, 0)',
|
2384
|
-
offset: 0.7,
|
2385
|
-
}),
|
2386
|
-
animations.style({
|
2387
|
-
animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
|
2388
|
-
transform: 'translate3d(0, 0, 0)',
|
2389
|
-
offset: 0.8,
|
2390
|
-
}),
|
2391
|
-
animations.style({ transform: 'translate3d(0, -4px, 0)', offset: 0.9 }),
|
2392
|
-
animations.style({
|
2393
|
-
animationTimingFunction: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)',
|
2394
|
-
transform: 'translate3d(0, 0, 0)',
|
2395
|
-
offset: 1.0,
|
2396
|
-
}),
|
2397
|
-
])),
|
2398
|
-
]),
|
2399
|
-
], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
|
2400
|
-
]);
|
2401
|
-
|
2402
|
-
/**
|
2403
|
-
* @fileoverview added by tsickle
|
2404
|
-
* Generated from: animations/flash/flash.animation.ts
|
2405
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2406
|
-
*/
|
2407
|
-
/**
|
2408
|
-
* const tdFlashAnimation
|
2409
|
-
*
|
2410
|
-
* Parameter Options:
|
2411
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
|
2412
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2413
|
-
* * ease: Animation accelerate and decelerate style. Defaults to ease-out.
|
2414
|
-
*
|
2415
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a flash animation.
|
2416
|
-
*
|
2417
|
-
* usage: [\@tdFlash]="{ value: true | false, params: { duration: 200 }}"
|
2418
|
-
* @type {?}
|
2419
|
-
*/
|
2420
|
-
var tdFlashAnimation = animations.trigger('tdFlash', [
|
2421
|
-
animations.state('0', animations.style({
|
2422
|
-
opacity: 1,
|
2423
|
-
})),
|
2424
|
-
animations.state('1', animations.style({
|
2425
|
-
opacity: 1,
|
2426
|
-
})),
|
2427
|
-
animations.transition('0 <=> 1', [
|
2428
|
-
animations.group([
|
2429
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2430
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}', animations.keyframes([
|
2431
|
-
animations.style({ opacity: 1, offset: 0 }),
|
2432
|
-
animations.style({ opacity: 0, offset: 0.25 }),
|
2433
|
-
animations.style({ opacity: 1, offset: 0.5 }),
|
2434
|
-
animations.style({ opacity: 0, offset: 0.75 }),
|
2435
|
-
animations.style({ opacity: 1, offset: 1.0 }),
|
2436
|
-
])),
|
2437
|
-
]),
|
2438
|
-
], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
|
2439
|
-
]);
|
2440
|
-
|
2441
|
-
/**
|
2442
|
-
* @fileoverview added by tsickle
|
2443
|
-
* Generated from: animations/headshake/headshake.animation.ts
|
2444
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2445
|
-
*/
|
2446
|
-
/**
|
2447
|
-
* const tdHeadshakeAnimation
|
2448
|
-
*
|
2449
|
-
* Parameter Options:
|
2450
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
|
2451
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2452
|
-
* * ease: Animation accelerate and decelerate style. Defaults to ease-out.
|
2453
|
-
*
|
2454
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a headshake animation.
|
2455
|
-
*
|
2456
|
-
* usage: [\@tdHeadshake]="{ value: true | false, params: { duration: 200 }}"
|
2457
|
-
* @type {?}
|
2458
|
-
*/
|
2459
|
-
var tdHeadshakeAnimation = animations.trigger('tdHeadshake', [
|
2460
|
-
animations.state('0', animations.style({
|
2461
|
-
transform: 'translateX(0)',
|
2462
|
-
})),
|
2463
|
-
animations.state('1', animations.style({
|
2464
|
-
transform: 'translateX(0)',
|
2465
|
-
})),
|
2466
|
-
animations.transition('0 <=> 1', [
|
2467
|
-
animations.group([
|
2468
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2469
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}', animations.keyframes([
|
2470
|
-
animations.style({ transform: 'translateX(0)', offset: 0 }),
|
2471
|
-
animations.style({ transform: 'translateX(-6px) rotateY(-9deg)', offset: 0.065 }),
|
2472
|
-
animations.style({ transform: 'translateX(5px) rotateY(7deg)', offset: 0.185 }),
|
2473
|
-
animations.style({ transform: 'translateX(-3px) rotateY(-5deg)', offset: 0.315 }),
|
2474
|
-
animations.style({ transform: 'translateX(2px) rotateY(3deg)', offset: 0.435 }),
|
2475
|
-
animations.style({ transform: 'translateX(0)', offset: 0.5 }),
|
2476
|
-
])),
|
2477
|
-
]),
|
2478
|
-
], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
|
2479
|
-
]);
|
2480
|
-
|
2481
|
-
/**
|
2482
|
-
* @fileoverview added by tsickle
|
2483
|
-
* Generated from: animations/jello/jello.animation.ts
|
2484
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2485
|
-
*/
|
2486
|
-
/**
|
2487
|
-
* const tdJelloAnimation
|
2488
|
-
*
|
2489
|
-
* Parameter Options:
|
2490
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
|
2491
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2492
|
-
* * ease: Animation accelerate and decelerate style. Defaults to ease-out.
|
2493
|
-
*
|
2494
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a jello animation.
|
2495
|
-
*
|
2496
|
-
* usage: [\@tdJello]="{ value: true | false, params: { duration: 200 }}"
|
2497
|
-
* @type {?}
|
2498
|
-
*/
|
2499
|
-
var tdJelloAnimation = animations.trigger('tdJello', [
|
2500
|
-
animations.state('0', animations.style({
|
2501
|
-
transform: 'none',
|
2502
|
-
})),
|
2503
|
-
animations.state('1', animations.style({
|
2504
|
-
transform: 'none',
|
2505
|
-
})),
|
2506
|
-
animations.transition('0 <=> 1', [
|
2507
|
-
animations.group([
|
2508
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2509
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}', animations.keyframes([
|
2510
|
-
animations.style({ transform: 'none', offset: 0 }),
|
2511
|
-
animations.style({ transform: 'none', offset: 0.011 }),
|
2512
|
-
animations.style({ transform: 'skewX(-12.5deg) skewY(-12.5deg)', offset: 0.222 }),
|
2513
|
-
animations.style({ transform: 'skewX(6.25deg) skewY(6.25deg)', offset: 0.333 }),
|
2514
|
-
animations.style({ transform: 'skewX(-3.125deg) skewY(-3.125deg)', offset: 0.444 }),
|
2515
|
-
animations.style({ transform: 'skewX(1.5625deg) skewY(1.5625deg)', offset: 0.555 }),
|
2516
|
-
animations.style({ transform: 'skewX(-0.78125deg) skewY(-0.78125deg)', offset: 0.666 }),
|
2517
|
-
animations.style({ transform: 'skewX(0.390625deg) skewY(0.390625deg)', offset: 0.777 }),
|
2518
|
-
animations.style({ transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)', offset: 0.888 }),
|
2519
|
-
])),
|
2520
|
-
]),
|
2521
|
-
], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
|
2522
|
-
]);
|
2523
|
-
|
2524
|
-
/**
|
2525
|
-
* @fileoverview added by tsickle
|
2526
|
-
* Generated from: animations/pulse/pulse.animation.ts
|
2527
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2528
|
-
*/
|
2529
|
-
/**
|
2530
|
-
* const tdPulseAnimation
|
2531
|
-
*
|
2532
|
-
* Parameter Options:
|
2533
|
-
* * duration: Duration the animation will run in milliseconds. Defaults to 500 ms.
|
2534
|
-
* * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
|
2535
|
-
* * ease: Animation accelerate and decelerate style. Defaults to ease-out.
|
2536
|
-
*
|
2537
|
-
* Returns an [AnimationTriggerMetadata] object with boolean states for a pulse animation.
|
2538
|
-
*
|
2539
|
-
* usage: [\@tdPulse]="{ value: true | false, params: { duration: 200 }}"
|
2540
|
-
* @type {?}
|
2541
|
-
*/
|
2542
|
-
var tdPulseAnimation = animations.trigger('tdPulse', [
|
2543
|
-
animations.state('0', animations.style({
|
2544
|
-
transform: 'scale3d(1, 1, 1)',
|
2545
|
-
})),
|
2546
|
-
animations.state('1', animations.style({
|
2547
|
-
transform: 'scale3d(1, 1, 1)',
|
2548
|
-
})),
|
2549
|
-
animations.transition('0 <=> 1', [
|
2550
|
-
animations.group([
|
2551
|
-
animations.query('@*', animations.animateChild(), { optional: true }),
|
2552
|
-
animations.animate('{{ duration }}ms {{ delay }}ms {{ ease }}', animations.keyframes([
|
2553
|
-
animations.style({ transform: 'scale3d(1, 1, 1)', offset: 0 }),
|
2554
|
-
animations.style({ transform: 'scale3d(1.05, 1.05, 1.05)', offset: 0.5 }),
|
2555
|
-
animations.style({ transform: 'scale3d(1, 1, 1)', offset: 1.0 }),
|
2556
|
-
])),
|
2557
|
-
]),
|
2558
|
-
], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
|
2559
|
-
]);
|
2560
|
-
|
2561
|
-
/** @type {?} */
|
2562
|
-
var noop = ( /**
|
2563
|
-
* @return {?}
|
2564
|
-
*/function () {
|
2565
|
-
// empty method
|
2566
|
-
});
|
2567
|
-
var ɵ0 = noop;
|
2568
|
-
/**
|
2569
|
-
* @record
|
2570
|
-
*/
|
2571
|
-
function IControlValueAccessor() { }
|
2572
|
-
if (false) {
|
2573
|
-
/** @type {?} */
|
2574
|
-
IControlValueAccessor.prototype.value;
|
2575
|
-
/** @type {?} */
|
2576
|
-
IControlValueAccessor.prototype.valueChanges;
|
2577
|
-
/** @type {?} */
|
2578
|
-
IControlValueAccessor.prototype.onChange;
|
2579
|
-
/** @type {?} */
|
2580
|
-
IControlValueAccessor.prototype.onTouched;
|
2581
|
-
}
|
2582
|
-
/**
|
2583
|
-
* @record
|
2584
|
-
*/
|
2585
|
-
function IHasChangeDetectorRef() { }
|
2586
|
-
if (false) {
|
2587
|
-
/** @type {?} */
|
2588
|
-
IHasChangeDetectorRef.prototype._changeDetectorRef;
|
2589
|
-
}
|
2590
|
-
/**
|
2591
|
-
* Mixin to augment a component with ngModel support.
|
2592
|
-
* @template T
|
2593
|
-
* @param {?} base
|
2594
|
-
* @param {?=} initialValue
|
2595
|
-
* @return {?}
|
2596
|
-
*/
|
2597
|
-
function mixinControlValueAccessor(base, initialValue) {
|
2598
|
-
return /** @class */ (function (_super) {
|
2599
|
-
__extends(class_1, _super);
|
2600
|
-
/**
|
2601
|
-
* @param {...?} args
|
2602
|
-
*/
|
2603
|
-
function class_1() {
|
2604
|
-
var args = [];
|
2605
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
2606
|
-
args[_i] = arguments[_i];
|
2607
|
-
}
|
2608
|
-
var _this = _super.apply(this, __spread(args)) || this;
|
2609
|
-
_this._value = initialValue instanceof Array ? Object.assign([], initialValue) : initialValue;
|
2610
|
-
_this.onChange = ( /**
|
2611
|
-
* @param {?} _
|
2612
|
-
* @return {?}
|
2613
|
-
*/function (_) { return noop; });
|
2614
|
-
_this.onTouched = ( /**
|
2615
|
-
* @return {?}
|
2616
|
-
*/function () { return noop; });
|
2617
|
-
_this._subjectValueChanges = new rxjs.Subject();
|
2618
|
-
_this.valueChanges = _this._subjectValueChanges.asObservable();
|
2619
|
-
return _this;
|
2620
|
-
}
|
2621
|
-
Object.defineProperty(class_1.prototype, "value", {
|
2622
|
-
/**
|
2623
|
-
* @return {?}
|
2624
|
-
*/
|
2625
|
-
get: function () {
|
2626
|
-
return this._value;
|
2627
|
-
},
|
2628
|
-
/**
|
2629
|
-
* @param {?} v
|
2630
|
-
* @return {?}
|
2631
|
-
*/
|
2632
|
-
set: function (v) {
|
2633
|
-
if (v !== this._value) {
|
2634
|
-
this._value = v;
|
2635
|
-
this.onChange(v);
|
2636
|
-
this._changeDetectorRef.markForCheck();
|
2637
|
-
this._subjectValueChanges.next(v);
|
2638
|
-
}
|
2639
|
-
},
|
2640
|
-
enumerable: false,
|
2641
|
-
configurable: true
|
2642
|
-
});
|
2643
|
-
/**
|
2644
|
-
* @param {?} value
|
2645
|
-
* @return {?}
|
2646
|
-
*/
|
2647
|
-
class_1.prototype.writeValue = function (value) {
|
2648
|
-
this.value = value;
|
2649
|
-
this._changeDetectorRef.markForCheck();
|
2650
|
-
};
|
2651
|
-
/**
|
2652
|
-
* @param {?} fn
|
2653
|
-
* @return {?}
|
2654
|
-
*/
|
2655
|
-
class_1.prototype.registerOnChange = function (fn) {
|
2656
|
-
this.onChange = fn;
|
2657
|
-
};
|
2658
|
-
/**
|
2659
|
-
* @param {?} fn
|
2660
|
-
* @return {?}
|
2661
|
-
*/
|
2662
|
-
class_1.prototype.registerOnTouched = function (fn) {
|
2663
|
-
this.onTouched = fn;
|
2664
|
-
};
|
2665
|
-
return class_1;
|
2666
|
-
}(base));
|
2667
|
-
}
|
2668
|
-
|
2669
|
-
/**
|
2670
|
-
* Interface to implement when applying the disabled mixin
|
2671
|
-
* @record
|
2672
|
-
*/
|
2673
|
-
function ICanDisable() { }
|
2674
|
-
if (false) {
|
2675
|
-
/** @type {?} */
|
2676
|
-
ICanDisable.prototype.disabled;
|
2677
|
-
/**
|
2678
|
-
* @param {?} v
|
2679
|
-
* @return {?}
|
2680
|
-
*/
|
2681
|
-
ICanDisable.prototype.onDisabledChange = function (v) { };
|
2682
|
-
}
|
2683
|
-
/**
|
2684
|
-
* Mixin to augment a component or directive with a `disabled` property.
|
2685
|
-
* @template T
|
2686
|
-
* @param {?} base
|
2687
|
-
* @return {?}
|
2688
|
-
*/
|
2689
|
-
function mixinDisabled(base) {
|
2690
|
-
return /** @class */ (function (_super) {
|
2691
|
-
__extends(class_1, _super);
|
2692
|
-
/**
|
2693
|
-
* @param {...?} args
|
2694
|
-
*/
|
2695
|
-
function class_1() {
|
2696
|
-
var args = [];
|
2697
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
2698
|
-
args[_i] = arguments[_i];
|
2699
|
-
}
|
2700
|
-
var _this = _super.apply(this, __spread(args)) || this;
|
2701
|
-
_this._disabled = false;
|
2702
|
-
return _this;
|
2703
|
-
}
|
2704
|
-
Object.defineProperty(class_1.prototype, "disabled", {
|
2705
|
-
/**
|
2706
|
-
* @return {?}
|
2707
|
-
*/
|
2708
|
-
get: function () {
|
2709
|
-
return this._disabled;
|
2710
|
-
},
|
2711
|
-
/**
|
2712
|
-
* @param {?} value
|
2713
|
-
* @return {?}
|
2714
|
-
*/
|
2715
|
-
set: function (value) {
|
2716
|
-
/** @type {?} */
|
2717
|
-
var newValue = coercion.coerceBooleanProperty(value);
|
2718
|
-
if (this._disabled !== newValue) {
|
2719
|
-
this._disabled = newValue;
|
2720
|
-
this.onDisabledChange(this._disabled);
|
2721
|
-
}
|
2722
|
-
},
|
2723
|
-
enumerable: false,
|
2724
|
-
configurable: true
|
2725
|
-
});
|
2726
|
-
/**
|
2727
|
-
* @param {?} v
|
2728
|
-
* @return {?}
|
2729
|
-
*/
|
2730
|
-
class_1.prototype.onDisabledChange = function (v) {
|
2731
|
-
/** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
|
2732
|
-
};
|
2733
|
-
return class_1;
|
2734
|
-
}(base));
|
2735
|
-
}
|
2736
|
-
|
2737
|
-
/**
|
2738
|
-
* Interface to implement when applying the disabled mixin
|
2739
|
-
* @record
|
2740
|
-
*/
|
2741
|
-
function ICanDisableRipple() { }
|
2742
|
-
if (false) {
|
2743
|
-
/** @type {?} */
|
2744
|
-
ICanDisableRipple.prototype.disableRipple;
|
2745
|
-
/**
|
2746
|
-
* @param {?} v
|
2747
|
-
* @return {?}
|
2748
|
-
*/
|
2749
|
-
ICanDisableRipple.prototype.onDisableRippleChange = function (v) { };
|
2750
|
-
}
|
2751
|
-
/**
|
2752
|
-
* Mixin to augment a component or directive with a `disabled` property.
|
2753
|
-
* @template T
|
2754
|
-
* @param {?} base
|
2755
|
-
* @return {?}
|
2756
|
-
*/
|
2757
|
-
function mixinDisableRipple(base) {
|
2758
|
-
return /** @class */ (function (_super) {
|
2759
|
-
__extends(class_1, _super);
|
2760
|
-
/**
|
2761
|
-
* @param {...?} args
|
2762
|
-
*/
|
2763
|
-
function class_1() {
|
2764
|
-
var args = [];
|
2765
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
2766
|
-
args[_i] = arguments[_i];
|
2767
|
-
}
|
2768
|
-
var _this = _super.apply(this, __spread(args)) || this;
|
2769
|
-
_this._disableRipple = false;
|
2770
|
-
return _this;
|
2771
|
-
}
|
2772
|
-
Object.defineProperty(class_1.prototype, "disableRipple", {
|
2773
|
-
/**
|
2774
|
-
* @return {?}
|
2775
|
-
*/
|
2776
|
-
get: function () {
|
2777
|
-
return this._disableRipple;
|
2778
|
-
},
|
2779
|
-
/**
|
2780
|
-
* @param {?} value
|
2781
|
-
* @return {?}
|
2782
|
-
*/
|
2783
|
-
set: function (value) {
|
2784
|
-
/** @type {?} */
|
2785
|
-
var newValue = coercion.coerceBooleanProperty(value);
|
2786
|
-
if (this._disableRipple !== newValue) {
|
2787
|
-
this._disableRipple = newValue;
|
2788
|
-
this.onDisableRippleChange(this._disableRipple);
|
2789
|
-
}
|
2790
|
-
},
|
2791
|
-
enumerable: false,
|
2792
|
-
configurable: true
|
2793
|
-
});
|
2794
|
-
/**
|
2795
|
-
* @param {?} v
|
2796
|
-
* @return {?}
|
2797
|
-
*/
|
2798
|
-
class_1.prototype.onDisableRippleChange = function (v) {
|
2799
|
-
/** NOT IMPLEMENTED, this needs to be overriden by subclasses if needed */
|
2800
|
-
};
|
2801
|
-
return class_1;
|
2802
|
-
}(base));
|
2803
|
-
}
|
2804
|
-
|
2805
|
-
/**
|
2806
|
-
* @fileoverview added by tsickle
|
2807
|
-
* Generated from: forms/validators/validators.ts
|
2808
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2809
|
-
*/
|
2810
|
-
var CovalentValidators = /** @class */ (function () {
|
2811
|
-
function CovalentValidators() {
|
2812
|
-
}
|
2813
|
-
/**
|
2814
|
-
* @param {?} minValue
|
2815
|
-
* @return {?}
|
2816
|
-
*/
|
2817
|
-
CovalentValidators.min = function (minValue) {
|
2818
|
-
// tslint:disable-next-line:prefer-immediate-return
|
2819
|
-
/** @type {?} */
|
2820
|
-
var func = ( /**
|
2821
|
-
* @param {?} c
|
2822
|
-
* @return {?}
|
2823
|
-
*/function (c) {
|
2824
|
-
if (!!forms.Validators.required(c) || (!minValue && minValue !== 0)) {
|
2825
|
-
return undefined;
|
2826
|
-
}
|
2827
|
-
/** @type {?} */
|
2828
|
-
var v = c.value;
|
2829
|
-
return v < minValue ? { min: { minValue: minValue, actualValue: v } } : undefined;
|
2830
|
-
});
|
2831
|
-
return func;
|
2832
|
-
};
|
2833
|
-
/**
|
2834
|
-
* @param {?} maxValue
|
2835
|
-
* @return {?}
|
2836
|
-
*/
|
2837
|
-
CovalentValidators.max = function (maxValue) {
|
2838
|
-
// tslint:disable-next-line:prefer-immediate-return
|
2839
|
-
/** @type {?} */
|
2840
|
-
var func = ( /**
|
2841
|
-
* @param {?} c
|
2842
|
-
* @return {?}
|
2843
|
-
*/function (c) {
|
2844
|
-
if (!!forms.Validators.required(c) || (!maxValue && maxValue !== 0)) {
|
2845
|
-
return undefined;
|
2846
|
-
}
|
2847
|
-
/** @type {?} */
|
2848
|
-
var v = c.value;
|
2849
|
-
return v > maxValue ? { max: { maxValue: maxValue, actualValue: v } } : undefined;
|
2850
|
-
});
|
2851
|
-
return func;
|
2852
|
-
};
|
2853
|
-
/**
|
2854
|
-
* @param {?} c
|
2855
|
-
* @return {?}
|
2856
|
-
*/
|
2857
|
-
CovalentValidators.numberRequired = function (c) {
|
2858
|
-
return Number.isNaN(c.value) ? { required: true } : undefined;
|
2859
|
-
};
|
2860
|
-
return CovalentValidators;
|
2861
|
-
}());
|
2862
|
-
|
2863
|
-
/**
|
2864
|
-
* @fileoverview added by tsickle
|
2865
|
-
* Generated from: functions/clipboard.ts
|
2866
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2867
|
-
*/
|
2868
|
-
/**
|
2869
|
-
* Assign a text value to the system clipboard. Note: Due to browser
|
2870
|
-
* security restrictions, the copy will only succeed if this method
|
2871
|
-
* is invoked as a result of a user action (eg. user button click).
|
2872
|
-
*
|
2873
|
-
* @param {?} value text value to be assigned to clipboard.
|
2874
|
-
* @return {?} boolean indicating success/failure of copy operation.
|
2875
|
-
*/
|
2876
|
-
function copyToClipboard(value) {
|
2877
|
-
// Create a temporary textarea element and append to DOM
|
2878
|
-
/** @type {?} */
|
2879
|
-
var fakeTextArea = document.createElement('textarea');
|
2880
|
-
document.body.appendChild(fakeTextArea);
|
2881
|
-
// Assign value to be copied to clipboard
|
2882
|
-
fakeTextArea.value = value;
|
2883
|
-
fakeTextArea.select();
|
2884
|
-
// Copy to clipboard
|
2885
|
-
/** @type {?} */
|
2886
|
-
var success = document.execCommand('copy');
|
2887
|
-
// Remove temporary textarea
|
2888
|
-
document.body.removeChild(fakeTextArea);
|
2889
|
-
// Return boolean indicating if exec command succeeded
|
2890
|
-
return success;
|
2891
|
-
}
|
2892
|
-
|
2893
|
-
/**
|
2894
|
-
* @fileoverview added by tsickle
|
2895
|
-
* Generated from: functions/convert.ts
|
2896
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2897
|
-
*/
|
2898
|
-
/**
|
2899
|
-
* Conversion function that takes an array of objects and converts
|
2900
|
-
* them to CSV format. Custom key and line separators can be specified.
|
2901
|
-
*
|
2902
|
-
* @param {?} objects list of strings in JSON format or actual objects
|
2903
|
-
* @param {?=} keySeparator optional parameter to specify custom value separator
|
2904
|
-
* @param {?=} lineSeparator optional parameter to specify custom end of line separator
|
2905
|
-
* @return {?} CSV formatted string
|
2906
|
-
*/
|
2907
|
-
function convertObjectsToCSV(objects, keySeparator, lineSeparator) {
|
2908
|
-
if (keySeparator === void 0) { keySeparator = ','; }
|
2909
|
-
if (lineSeparator === void 0) { lineSeparator = '\r\n'; }
|
2910
|
-
if (!objects) {
|
2911
|
-
return '';
|
2912
|
-
}
|
2913
|
-
/** @type {?} */
|
2914
|
-
var outputString = '';
|
2915
|
-
// Iterate through array, creating one output line per object
|
2916
|
-
objects.forEach(( /**
|
2917
|
-
* @param {?} value
|
2918
|
-
* @param {?} key
|
2919
|
-
* @return {?}
|
2920
|
-
*/function (value, key) {
|
2921
|
-
var e_1, _a;
|
2922
|
-
/** @type {?} */
|
2923
|
-
var line = '';
|
2924
|
-
try {
|
2925
|
-
for (var _b = __values(Object.keys(objects[key])), _c = _b.next(); !_c.done; _c = _b.next()) {
|
2926
|
-
var index = _c.value;
|
2927
|
-
if (line !== '') {
|
2928
|
-
line += keySeparator;
|
2929
|
-
}
|
2930
|
-
if (objects[key][index] === null || objects[key][index] === undefined) {
|
2931
|
-
objects[key][index] = '';
|
2932
|
-
}
|
2933
|
-
line += objects[key][index];
|
2934
|
-
}
|
2935
|
-
}
|
2936
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
2937
|
-
finally {
|
2938
|
-
try {
|
2939
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
2940
|
-
}
|
2941
|
-
finally { if (e_1) throw e_1.error; }
|
2942
|
-
}
|
2943
|
-
outputString += "" + line + lineSeparator;
|
2944
|
-
}));
|
2945
|
-
// Append header row identifying keys into output
|
2946
|
-
if (objects[0]) {
|
2947
|
-
/** @type {?} */
|
2948
|
-
var headers = Object.keys(objects[0]).join(keySeparator);
|
2949
|
-
outputString = "" + headers + lineSeparator + outputString;
|
2950
|
-
}
|
2951
|
-
return outputString;
|
2952
|
-
}
|
2953
|
-
/**
|
2954
|
-
* Conversion function that takes a CSV representation
|
2955
|
-
* of objects and converts them to JSON.
|
2956
|
-
* The first row in the input must be the object keys.
|
2957
|
-
* Custom key separator and line separator can be specified.
|
2958
|
-
* Indentation size for output JSON can be specified.
|
2959
|
-
*
|
2960
|
-
* @param {?} csv list of strings in JSON format or actual objects
|
2961
|
-
* @param {?=} keySeparator optional parameter to specify custom value separator
|
2962
|
-
* @param {?=} lineSeparator optional parameter to specify custom end of line separator
|
2963
|
-
* @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2.
|
2964
|
-
* @return {?} JSON formatted string
|
2965
|
-
*/
|
2966
|
-
function convertCSVToJSON(csv, keySeparator, lineSeparator, indent) {
|
2967
|
-
if (keySeparator === void 0) { keySeparator = ','; }
|
2968
|
-
if (lineSeparator === void 0) { lineSeparator = '\r\n'; }
|
2969
|
-
if (indent === void 0) { indent = 2; }
|
2970
|
-
if (!csv) {
|
2971
|
-
return '';
|
2972
|
-
}
|
2973
|
-
/** @type {?} */
|
2974
|
-
var csvArray = csv.split(lineSeparator);
|
2975
|
-
// Input CSV must have a minimum of two rows
|
2976
|
-
if (csvArray.length < 2) {
|
2977
|
-
return '';
|
2978
|
-
}
|
2979
|
-
/** @type {?} */
|
2980
|
-
var newObjects = [];
|
2981
|
-
// Extract object keys from header row
|
2982
|
-
/** @type {?} */
|
2983
|
-
var keys = csvArray[0].split(keySeparator);
|
2984
|
-
// Iterate through array, creating one output line per object
|
2985
|
-
for (var i = 1; i < csvArray.length; i++) {
|
2986
|
-
/** @type {?} */
|
2987
|
-
var newObject = {};
|
2988
|
-
/** @type {?} */
|
2989
|
-
var values = csvArray[i].split(keySeparator);
|
2990
|
-
if (values.length !== keys.length) {
|
2991
|
-
continue;
|
2992
|
-
}
|
2993
|
-
for (var j = 0; j < keys.length; j++) {
|
2994
|
-
newObject[keys[j]] = values[j];
|
2995
|
-
}
|
2996
|
-
newObjects.push(newObject);
|
2997
|
-
}
|
2998
|
-
return formatJSON(newObjects, indent);
|
2999
|
-
}
|
3000
|
-
/**
|
3001
|
-
* Convert object to JSON using stringify. Indentation size for output JSON can be specified.
|
3002
|
-
*
|
3003
|
-
* @param {?} json object to be converted
|
3004
|
-
* @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2.
|
3005
|
-
* @return {?}
|
3006
|
-
*/
|
3007
|
-
function formatJSON(json, indent) {
|
3008
|
-
if (indent === void 0) { indent = 2; }
|
3009
|
-
return JSON.stringify(json, undefined, indent);
|
3010
|
-
}
|
3011
|
-
|
3012
|
-
/**
|
3013
|
-
* @fileoverview added by tsickle
|
3014
|
-
* Generated from: functions/download.ts
|
3015
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3016
|
-
*/
|
3017
|
-
/**
|
3018
|
-
* Download CSV content to the specified file with .csv extension
|
3019
|
-
* appended to the provided base file name.
|
3020
|
-
*
|
3021
|
-
* @param {?} fileBaseName base name of destination file
|
3022
|
-
* @param {?} csv CSV contents
|
3023
|
-
* @return {?}
|
3024
|
-
*/
|
3025
|
-
function downloadCSV(fileBaseName, csv) {
|
3026
|
-
downloadFile(fileBaseName + ".csv", csv, 'text/csv');
|
3027
|
-
}
|
3028
|
-
/**
|
3029
|
-
* Download JSON content to the specified file with .json extension
|
3030
|
-
* appended to the provided base file name.
|
3031
|
-
*
|
3032
|
-
* @param {?} fileBaseName base name of destination file
|
3033
|
-
* @param {?} json JSON contents
|
3034
|
-
* @param {?=} format indicates if JSON should be prettied
|
3035
|
-
* @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2
|
3036
|
-
* @return {?}
|
3037
|
-
*/
|
3038
|
-
function downloadJSON(fileBaseName, json, format, indent) {
|
3039
|
-
if (format === void 0) { format = false; }
|
3040
|
-
if (indent === void 0) { indent = 2; }
|
3041
|
-
downloadFile(fileBaseName + ".json", format ? formatJSON(JSON.parse(json), indent) : json, 'application/json');
|
3042
|
-
}
|
3043
|
-
/**
|
3044
|
-
* Convert objects to CSV format and download to file with .csv
|
3045
|
-
* extension appended to the provided base file name. Custom key
|
3046
|
-
* separator and line separator can be specified.
|
3047
|
-
*
|
3048
|
-
* @param {?} fileBaseName base name of destination file
|
3049
|
-
* @param {?} objects object array to be converted to CSV format
|
3050
|
-
* prior to writing to download destination
|
3051
|
-
* @param {?=} keySeparator optional parameter to specify custom value separator
|
3052
|
-
* @param {?=} lineSeparator optional parameter to specify custom end of line separator
|
3053
|
-
* @return {?}
|
3054
|
-
*/
|
3055
|
-
function downloadObjectsToCSV(fileBaseName, objects, keySeparator, lineSeparator) {
|
3056
|
-
if (keySeparator === void 0) { keySeparator = ','; }
|
3057
|
-
if (lineSeparator === void 0) { lineSeparator = '\r\n'; }
|
3058
|
-
downloadFile(fileBaseName + ".csv", convertObjectsToCSV(objects, keySeparator, lineSeparator), 'text/csv');
|
3059
|
-
}
|
3060
|
-
/**
|
3061
|
-
* Convert objects to JSON format and download to file with .json
|
3062
|
-
* extension appended to the provided base file name.
|
3063
|
-
*
|
3064
|
-
* @param {?} fileBaseName base name of destination file
|
3065
|
-
* @param {?} objects object array to be converted to JSON format
|
3066
|
-
* prior to writing to download destination
|
3067
|
-
* @param {?=} indent optional parameter indicating space indentation for pretty output. Default is 2
|
3068
|
-
* @return {?}
|
3069
|
-
*/
|
3070
|
-
function downloadObjectsToJSON(fileBaseName, objects, indent) {
|
3071
|
-
if (indent === void 0) { indent = 2; }
|
3072
|
-
downloadFile(fileBaseName + ".json", formatJSON(objects, indent), 'application/json');
|
3073
|
-
}
|
3074
|
-
/**
|
3075
|
-
* Download string content to the specified file with desired mime type.
|
3076
|
-
*
|
3077
|
-
* @param {?} fileName full filename (including appropriate extension) of destination file
|
3078
|
-
* @param {?} contents string contents to be written to download destination
|
3079
|
-
* @param {?=} mimeType mime type appropriate to file content to support consumption of destination file
|
3080
|
-
* @return {?}
|
3081
|
-
*/
|
3082
|
-
function downloadFile(fileName, contents, mimeType) {
|
3083
|
-
if (mimeType === void 0) { mimeType = 'text/plain'; }
|
3084
|
-
if (!fileName || !contents) {
|
3085
|
-
return;
|
3086
|
-
}
|
3087
|
-
// Create blob object and assign URL
|
3088
|
-
/** @type {?} */
|
3089
|
-
var blob = new Blob([contents], { type: mimeType });
|
3090
|
-
/** @type {?} */
|
3091
|
-
var url = window.URL.createObjectURL(blob);
|
3092
|
-
// Construct anchor for URL, append to DOM, click and cleanup.
|
3093
|
-
/** @type {?} */
|
3094
|
-
var a = document.createElement('a');
|
3095
|
-
a.setAttribute('style', 'display: none');
|
3096
|
-
a.setAttribute('download', fileName);
|
3097
|
-
a.href = url;
|
3098
|
-
document.body.appendChild(a);
|
3099
|
-
a.click();
|
3100
|
-
window.URL.revokeObjectURL(url);
|
3101
|
-
document.body.removeChild(a);
|
3102
|
-
window.URL.revokeObjectURL(url);
|
3103
|
-
}
|
3104
|
-
|
3105
|
-
/**
|
3106
|
-
* @fileoverview added by tsickle
|
3107
|
-
* Generated from: functions/file.ts
|
3108
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3109
|
-
*/
|
3110
|
-
/**
|
3111
|
-
* Read file as UTF-8 text. Return string contents on read completion.
|
3112
|
-
*
|
3113
|
-
* @param {?} file filename or File object
|
3114
|
-
* @return {?} promise that resolves to file content string
|
3115
|
-
*/
|
3116
|
-
function readFile(file) {
|
3117
|
-
return new Promise(( /**
|
3118
|
-
* @param {?} resolve
|
3119
|
-
* @return {?}
|
3120
|
-
*/function (resolve) {
|
3121
|
-
/** @type {?} */
|
3122
|
-
var reader = new FileReader();
|
3123
|
-
reader.readAsText(file, 'UTF-8');
|
3124
|
-
reader.onload = ( /**
|
3125
|
-
* @return {?}
|
3126
|
-
*/function () {
|
3127
|
-
resolve(( /** @type {?} */(reader.result)));
|
3128
|
-
});
|
3129
|
-
}));
|
3130
|
-
}
|
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
|
-
|
3150
|
-
exports.CovalentCommonModule = CovalentCommonModule;
|
3151
|
-
exports.CovalentValidators = CovalentValidators;
|
3152
|
-
exports.TdAutoTrimDirective = TdAutoTrimDirective;
|
3153
|
-
exports.TdBytesPipe = TdBytesPipe;
|
3154
|
-
exports.TdDecimalBytesPipe = TdDecimalBytesPipe;
|
3155
|
-
exports.TdDigitsPipe = TdDigitsPipe;
|
3156
|
-
exports.TdFullscreenDirective = TdFullscreenDirective;
|
3157
|
-
exports.TdTimeAgoPipe = TdTimeAgoPipe;
|
3158
|
-
exports.TdTimeDifferencePipe = TdTimeDifferencePipe;
|
3159
|
-
exports.TdTimeUntilPipe = TdTimeUntilPipe;
|
3160
|
-
exports.TdTruncatePipe = TdTruncatePipe;
|
3161
|
-
exports.convertCSVToJSON = convertCSVToJSON;
|
3162
|
-
exports.convertObjectsToCSV = convertObjectsToCSV;
|
3163
|
-
exports.copyToClipboard = copyToClipboard;
|
3164
|
-
exports.downloadCSV = downloadCSV;
|
3165
|
-
exports.downloadFile = downloadFile;
|
3166
|
-
exports.downloadJSON = downloadJSON;
|
3167
|
-
exports.downloadObjectsToCSV = downloadObjectsToCSV;
|
3168
|
-
exports.downloadObjectsToJSON = downloadObjectsToJSON;
|
3169
|
-
exports.formatJSON = formatJSON;
|
3170
|
-
exports.mixinControlValueAccessor = mixinControlValueAccessor;
|
3171
|
-
exports.mixinDisableRipple = mixinDisableRipple;
|
3172
|
-
exports.mixinDisabled = mixinDisabled;
|
3173
|
-
exports.readFile = readFile;
|
3174
|
-
exports.tdBounceAnimation = tdBounceAnimation;
|
3175
|
-
exports.tdCollapseAnimation = tdCollapseAnimation;
|
3176
|
-
exports.tdFadeInOutAnimation = tdFadeInOutAnimation;
|
3177
|
-
exports.tdFlashAnimation = tdFlashAnimation;
|
3178
|
-
exports.tdHeadshakeAnimation = tdHeadshakeAnimation;
|
3179
|
-
exports.tdJelloAnimation = tdJelloAnimation;
|
3180
|
-
exports.tdPulseAnimation = tdPulseAnimation;
|
3181
|
-
exports.tdRotateAnimation = tdRotateAnimation;
|
3182
|
-
exports.ɵa = RouterPathService;
|
3183
|
-
exports.ɵb = IconService;
|
3184
|
-
|
3185
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
3186
|
-
|
3187
|
-
})));
|
3188
|
-
//# sourceMappingURL=covalent-core-common.umd.js.map
|