@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,402 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* Generated from: side-sheet-container.ts
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
5
|
-
*/
|
6
|
-
import { FocusMonitor, FocusTrapFactory } from '@angular/cdk/a11y';
|
7
|
-
import { BasePortalOutlet, CdkPortalOutlet } from '@angular/cdk/portal';
|
8
|
-
import { DOCUMENT } from '@angular/common';
|
9
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, ElementRef, EventEmitter, Inject, Optional, ViewChild, ViewEncapsulation, } from '@angular/core';
|
10
|
-
import { tdSideSheetAnimations } from './side-sheet.animation';
|
11
|
-
import { CovalentSideSheetConfig } from './side-sheet.config';
|
12
|
-
/**
|
13
|
-
* @return {?}
|
14
|
-
*/
|
15
|
-
export function _getFocusedElementPierceShadowDom() {
|
16
|
-
/** @type {?} */
|
17
|
-
let activeElement = typeof document !== 'undefined' && document ? ((/** @type {?} */ (document.activeElement))) : null;
|
18
|
-
while (activeElement && activeElement.shadowRoot) {
|
19
|
-
/** @type {?} */
|
20
|
-
const newActiveElement = (/** @type {?} */ (activeElement.shadowRoot.activeElement));
|
21
|
-
if (newActiveElement === activeElement) {
|
22
|
-
break;
|
23
|
-
}
|
24
|
-
else {
|
25
|
-
activeElement = newActiveElement;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
return activeElement;
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Base class for the `CovalentSideSheetContainer`. The base class does not implement
|
32
|
-
* animations as these are left to implementers of the side-sheet container.
|
33
|
-
* @abstract
|
34
|
-
*/
|
35
|
-
export class _CovalentSideSheetContainerBase extends BasePortalOutlet {
|
36
|
-
/**
|
37
|
-
* @param {?} _elementRef
|
38
|
-
* @param {?} _focusTrapFactory
|
39
|
-
* @param {?} _changeDetectorRef
|
40
|
-
* @param {?} _document
|
41
|
-
* @param {?} _config
|
42
|
-
* @param {?=} _focusMonitor
|
43
|
-
*/
|
44
|
-
constructor(_elementRef, _focusTrapFactory, _changeDetectorRef, _document, _config, _focusMonitor) {
|
45
|
-
super();
|
46
|
-
this._elementRef = _elementRef;
|
47
|
-
this._focusTrapFactory = _focusTrapFactory;
|
48
|
-
this._changeDetectorRef = _changeDetectorRef;
|
49
|
-
this._config = _config;
|
50
|
-
this._focusMonitor = _focusMonitor;
|
51
|
-
/**
|
52
|
-
* Emits when an animation state changes.
|
53
|
-
*/
|
54
|
-
this._animationStateChanged = new EventEmitter();
|
55
|
-
/**
|
56
|
-
* Element that was focused before the side-sheet was opened. Save this to restore upon close.
|
57
|
-
*/
|
58
|
-
this._elementFocusedBeforeSideSheetWasOpened = null;
|
59
|
-
/**
|
60
|
-
* Type of interaction that led to the side-sheet being closed. This is used to determine
|
61
|
-
* whether the focus style will be applied when returning focus to its original location
|
62
|
-
* after the side-sheet is closed.
|
63
|
-
*/
|
64
|
-
this._closeInteractionType = null;
|
65
|
-
/**
|
66
|
-
* Attaches a DOM portal to the side-sheet container.
|
67
|
-
* @param portal Portal to be attached.
|
68
|
-
* @deprecated To be turned into a method.
|
69
|
-
*/
|
70
|
-
this.attachDomPortal = (/**
|
71
|
-
* @param {?} portal
|
72
|
-
* @return {?}
|
73
|
-
*/
|
74
|
-
(portal) => {
|
75
|
-
return this._portalOutlet.attachDomPortal(portal);
|
76
|
-
});
|
77
|
-
this._ariaLabelledBy = _config.ariaLabelledBy || null;
|
78
|
-
this._document = _document;
|
79
|
-
}
|
80
|
-
/**
|
81
|
-
* Initializes the side-sheet container with the attached content.
|
82
|
-
* @return {?}
|
83
|
-
*/
|
84
|
-
_initializeWithAttachedContent() {
|
85
|
-
this._setupFocusTrap();
|
86
|
-
// Save the previously focused element. This element will be re-focused
|
87
|
-
// when the side-sheet closes.
|
88
|
-
this._capturePreviouslyFocusedElement();
|
89
|
-
}
|
90
|
-
/**
|
91
|
-
* Attach a ComponentPortal as content to this side-sheet container.
|
92
|
-
* @template T
|
93
|
-
* @param {?} portal Portal to be attached as the side-sheet content.
|
94
|
-
* @return {?}
|
95
|
-
*/
|
96
|
-
attachComponentPortal(portal) {
|
97
|
-
return this._portalOutlet.attachComponentPortal(portal);
|
98
|
-
}
|
99
|
-
/**
|
100
|
-
* Attach a TemplatePortal as content to this side-sheet container.
|
101
|
-
* @template C
|
102
|
-
* @param {?} portal Portal to be attached as the side-sheet content.
|
103
|
-
* @return {?}
|
104
|
-
*/
|
105
|
-
attachTemplatePortal(portal) {
|
106
|
-
return this._portalOutlet.attachTemplatePortal(portal);
|
107
|
-
}
|
108
|
-
/**
|
109
|
-
* Moves focus back into the side-sheet if it was moved out.
|
110
|
-
* @return {?}
|
111
|
-
*/
|
112
|
-
_recaptureFocus() {
|
113
|
-
if (!this._containsFocus()) {
|
114
|
-
this._trapFocus();
|
115
|
-
}
|
116
|
-
}
|
117
|
-
/**
|
118
|
-
* Moves the focus inside the focus trap. When autoFocus is not set to 'side-sheet', if focus
|
119
|
-
* cannot be moved then focus will go to the side-sheet container.
|
120
|
-
* @protected
|
121
|
-
* @return {?}
|
122
|
-
*/
|
123
|
-
_trapFocus() {
|
124
|
-
/** @type {?} */
|
125
|
-
const element = this._elementRef.nativeElement;
|
126
|
-
if (!this._config.autoFocus) {
|
127
|
-
if (!this._containsFocus()) {
|
128
|
-
element.focus();
|
129
|
-
}
|
130
|
-
}
|
131
|
-
else {
|
132
|
-
this._focusTrap.focusInitialElementWhenReady().then((/**
|
133
|
-
* @param {?} focusedSuccessfully
|
134
|
-
* @return {?}
|
135
|
-
*/
|
136
|
-
(focusedSuccessfully) => {
|
137
|
-
// If we weren't able to find a focusable element in the side-sheet, then focus the side-sheet
|
138
|
-
// container instead.
|
139
|
-
if (!focusedSuccessfully) {
|
140
|
-
this._focusSideSheetContainer();
|
141
|
-
}
|
142
|
-
}));
|
143
|
-
}
|
144
|
-
}
|
145
|
-
/**
|
146
|
-
* Restores focus to the element that was focused before the side-sheet opened.
|
147
|
-
* @protected
|
148
|
-
* @return {?}
|
149
|
-
*/
|
150
|
-
_restoreFocus() {
|
151
|
-
/** @type {?} */
|
152
|
-
const previousElement = this._elementFocusedBeforeSideSheetWasOpened;
|
153
|
-
// We need the extra check, because IE can set the `activeElement` to null in some cases.
|
154
|
-
if (this._config.restoreFocus && previousElement && typeof previousElement.focus === 'function') {
|
155
|
-
/** @type {?} */
|
156
|
-
const activeElement = _getFocusedElementPierceShadowDom();
|
157
|
-
/** @type {?} */
|
158
|
-
const element = this._elementRef.nativeElement;
|
159
|
-
// Make sure that focus is still inside the side-sheet or is on the body (usually because a
|
160
|
-
// non-focusable element like the backdrop was clicked) before moving it. It's possible that
|
161
|
-
// the consumer moved it themselves before the animation was done, in which case we shouldn't
|
162
|
-
// do anything.
|
163
|
-
if (!activeElement ||
|
164
|
-
activeElement === this._document.body ||
|
165
|
-
activeElement === element ||
|
166
|
-
element.contains(activeElement)) {
|
167
|
-
if (this._focusMonitor) {
|
168
|
-
this._focusMonitor.focusVia(previousElement, this._closeInteractionType);
|
169
|
-
this._closeInteractionType = null;
|
170
|
-
}
|
171
|
-
else {
|
172
|
-
previousElement.focus();
|
173
|
-
}
|
174
|
-
}
|
175
|
-
}
|
176
|
-
if (this._focusTrap) {
|
177
|
-
this._focusTrap.destroy();
|
178
|
-
}
|
179
|
-
}
|
180
|
-
/**
|
181
|
-
* Sets up the focus trap.
|
182
|
-
* @private
|
183
|
-
* @return {?}
|
184
|
-
*/
|
185
|
-
_setupFocusTrap() {
|
186
|
-
this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);
|
187
|
-
}
|
188
|
-
/**
|
189
|
-
* Captures the element that was focused before the side-sheet was opened.
|
190
|
-
* @private
|
191
|
-
* @return {?}
|
192
|
-
*/
|
193
|
-
_capturePreviouslyFocusedElement() {
|
194
|
-
if (this._document) {
|
195
|
-
this._elementFocusedBeforeSideSheetWasOpened = _getFocusedElementPierceShadowDom();
|
196
|
-
}
|
197
|
-
}
|
198
|
-
/**
|
199
|
-
* Focuses the side-sheet container.
|
200
|
-
* @private
|
201
|
-
* @return {?}
|
202
|
-
*/
|
203
|
-
_focusSideSheetContainer() {
|
204
|
-
// Note that there is no focus method when rendering on the server.
|
205
|
-
if (this._elementRef.nativeElement.focus) {
|
206
|
-
this._elementRef.nativeElement.focus();
|
207
|
-
}
|
208
|
-
}
|
209
|
-
/**
|
210
|
-
* Returns whether focus is inside the side-sheet.
|
211
|
-
* @private
|
212
|
-
* @return {?}
|
213
|
-
*/
|
214
|
-
_containsFocus() {
|
215
|
-
/** @type {?} */
|
216
|
-
const element = this._elementRef.nativeElement;
|
217
|
-
/** @type {?} */
|
218
|
-
const activeElement = _getFocusedElementPierceShadowDom();
|
219
|
-
return element === activeElement || element.contains(activeElement);
|
220
|
-
}
|
221
|
-
}
|
222
|
-
_CovalentSideSheetContainerBase.decorators = [
|
223
|
-
{ type: Directive }
|
224
|
-
];
|
225
|
-
/** @nocollapse */
|
226
|
-
_CovalentSideSheetContainerBase.ctorParameters = () => [
|
227
|
-
{ type: ElementRef },
|
228
|
-
{ type: FocusTrapFactory },
|
229
|
-
{ type: ChangeDetectorRef },
|
230
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [DOCUMENT,] }] },
|
231
|
-
{ type: CovalentSideSheetConfig },
|
232
|
-
{ type: FocusMonitor }
|
233
|
-
];
|
234
|
-
_CovalentSideSheetContainerBase.propDecorators = {
|
235
|
-
_portalOutlet: [{ type: ViewChild, args: [CdkPortalOutlet, { static: true },] }]
|
236
|
-
};
|
237
|
-
if (false) {
|
238
|
-
/**
|
239
|
-
* @type {?}
|
240
|
-
* @protected
|
241
|
-
*/
|
242
|
-
_CovalentSideSheetContainerBase.prototype._document;
|
243
|
-
/**
|
244
|
-
* The portal outlet inside of this container into which the side-sheet content will be loaded.
|
245
|
-
* @type {?}
|
246
|
-
*/
|
247
|
-
_CovalentSideSheetContainerBase.prototype._portalOutlet;
|
248
|
-
/**
|
249
|
-
* The class that traps and manages focus within the side-sheet.
|
250
|
-
* @type {?}
|
251
|
-
* @private
|
252
|
-
*/
|
253
|
-
_CovalentSideSheetContainerBase.prototype._focusTrap;
|
254
|
-
/**
|
255
|
-
* Emits when an animation state changes.
|
256
|
-
* @type {?}
|
257
|
-
*/
|
258
|
-
_CovalentSideSheetContainerBase.prototype._animationStateChanged;
|
259
|
-
/**
|
260
|
-
* Element that was focused before the side-sheet was opened. Save this to restore upon close.
|
261
|
-
* @type {?}
|
262
|
-
* @private
|
263
|
-
*/
|
264
|
-
_CovalentSideSheetContainerBase.prototype._elementFocusedBeforeSideSheetWasOpened;
|
265
|
-
/**
|
266
|
-
* Type of interaction that led to the side-sheet being closed. This is used to determine
|
267
|
-
* whether the focus style will be applied when returning focus to its original location
|
268
|
-
* after the side-sheet is closed.
|
269
|
-
* @type {?}
|
270
|
-
*/
|
271
|
-
_CovalentSideSheetContainerBase.prototype._closeInteractionType;
|
272
|
-
/**
|
273
|
-
* ID of the element that should be considered as the side-sheet's label.
|
274
|
-
* @type {?}
|
275
|
-
*/
|
276
|
-
_CovalentSideSheetContainerBase.prototype._ariaLabelledBy;
|
277
|
-
/**
|
278
|
-
* ID for the container DOM element.
|
279
|
-
* @type {?}
|
280
|
-
*/
|
281
|
-
_CovalentSideSheetContainerBase.prototype._id;
|
282
|
-
/**
|
283
|
-
* Attaches a DOM portal to the side-sheet container.
|
284
|
-
* \@param portal Portal to be attached.
|
285
|
-
* @deprecated To be turned into a method.
|
286
|
-
* @type {?}
|
287
|
-
*/
|
288
|
-
_CovalentSideSheetContainerBase.prototype.attachDomPortal;
|
289
|
-
/**
|
290
|
-
* @type {?}
|
291
|
-
* @protected
|
292
|
-
*/
|
293
|
-
_CovalentSideSheetContainerBase.prototype._elementRef;
|
294
|
-
/**
|
295
|
-
* @type {?}
|
296
|
-
* @protected
|
297
|
-
*/
|
298
|
-
_CovalentSideSheetContainerBase.prototype._focusTrapFactory;
|
299
|
-
/**
|
300
|
-
* @type {?}
|
301
|
-
* @protected
|
302
|
-
*/
|
303
|
-
_CovalentSideSheetContainerBase.prototype._changeDetectorRef;
|
304
|
-
/**
|
305
|
-
* The side-sheet configuration.
|
306
|
-
* @type {?}
|
307
|
-
*/
|
308
|
-
_CovalentSideSheetContainerBase.prototype._config;
|
309
|
-
/**
|
310
|
-
* @type {?}
|
311
|
-
* @private
|
312
|
-
*/
|
313
|
-
_CovalentSideSheetContainerBase.prototype._focusMonitor;
|
314
|
-
/**
|
315
|
-
* Starts the side-sheet exit animation.
|
316
|
-
* @abstract
|
317
|
-
* @return {?}
|
318
|
-
*/
|
319
|
-
_CovalentSideSheetContainerBase.prototype._startExitAnimation = function () { };
|
320
|
-
}
|
321
|
-
/**
|
322
|
-
* Internal component that wraps the generated side-sheet content.
|
323
|
-
* This animation below is the only reason for duplicating most of the Material dialog code
|
324
|
-
*/
|
325
|
-
export class CovalentSideSheetContainer extends _CovalentSideSheetContainerBase {
|
326
|
-
constructor() {
|
327
|
-
super(...arguments);
|
328
|
-
/**
|
329
|
-
* State of the side-sheet animation.
|
330
|
-
*/
|
331
|
-
this._state = 'enter';
|
332
|
-
}
|
333
|
-
/**
|
334
|
-
* Callback, invoked whenever an animation on the host completes.
|
335
|
-
* @param {?} __0
|
336
|
-
* @return {?}
|
337
|
-
*/
|
338
|
-
_onAnimationDone({ toState, totalTime }) {
|
339
|
-
if (toState === 'enter') {
|
340
|
-
this._trapFocus();
|
341
|
-
this._animationStateChanged.next({ state: 'opened', totalTime });
|
342
|
-
}
|
343
|
-
else if (toState === 'exit') {
|
344
|
-
this._restoreFocus();
|
345
|
-
this._animationStateChanged.next({ state: 'closed', totalTime });
|
346
|
-
}
|
347
|
-
}
|
348
|
-
/**
|
349
|
-
* Callback, invoked when an animation on the host starts.
|
350
|
-
* @param {?} __0
|
351
|
-
* @return {?}
|
352
|
-
*/
|
353
|
-
_onAnimationStart({ toState, totalTime }) {
|
354
|
-
if (toState === 'enter') {
|
355
|
-
this._animationStateChanged.next({ state: 'opening', totalTime });
|
356
|
-
}
|
357
|
-
else if (toState === 'exit' || toState === 'void') {
|
358
|
-
this._animationStateChanged.next({ state: 'closing', totalTime });
|
359
|
-
}
|
360
|
-
}
|
361
|
-
/**
|
362
|
-
* Starts the side-sheet exit animation.
|
363
|
-
* @return {?}
|
364
|
-
*/
|
365
|
-
_startExitAnimation() {
|
366
|
-
this._state = 'exit';
|
367
|
-
this._changeDetectorRef.markForCheck();
|
368
|
-
}
|
369
|
-
}
|
370
|
-
CovalentSideSheetContainer.decorators = [
|
371
|
-
{ type: Component, args: [{
|
372
|
-
selector: 'td-side-sheet-container',
|
373
|
-
template: `
|
374
|
-
<ng-template cdkPortalOutlet></ng-template>
|
375
|
-
`,
|
376
|
-
encapsulation: ViewEncapsulation.None,
|
377
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
378
|
-
animations: [tdSideSheetAnimations.sideSheetContainer],
|
379
|
-
host: {
|
380
|
-
'class': 'td-side-sheet-container',
|
381
|
-
'tabindex': '-1',
|
382
|
-
'aria-modal': 'true',
|
383
|
-
'[id]': '_id',
|
384
|
-
'[attr.role]': '_config.role',
|
385
|
-
'[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledBy',
|
386
|
-
'[attr.aria-label]': '_config.ariaLabel',
|
387
|
-
'[attr.aria-describedby]': '_config.ariaDescribedBy || null',
|
388
|
-
'[@sideSheetContainer]': '_state',
|
389
|
-
'(@sideSheetContainer.start)': '_onAnimationStart($event)',
|
390
|
-
'(@sideSheetContainer.done)': '_onAnimationDone($event)',
|
391
|
-
},
|
392
|
-
styles: [".td-side-sheet-container{background-color:#fff;box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);box-sizing:border-box;display:block;height:100%;max-height:inherit;min-height:inherit;outline:0;overflow:auto;padding:24px;width:100%}.td-side-sheet-wrapper{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column;height:100%}.td-side-sheet-content{-ms-flex:1;-webkit-overflow-scrolling:touch;flex:1;margin:0 -24px;overflow:auto;padding:0 24px}.td-side-sheet-title{margin:-16px 0 20px}.td-side-sheet-actions,.td-side-sheet-title{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.td-side-sheet-actions{-ms-flex-pack:justify;-ms-flex-wrap:wrap;box-sizing:content-box;flex-wrap:wrap;justify-content:space-between;margin:0 -16px -24px;padding:8px 0}.td-side-sheet-actions[align=end]{-ms-flex-pack:end;justify-content:flex-end}.td-side-sheet-actions[align=center]{-ms-flex-pack:center;justify-content:center}.td-side-sheet-actions .mat-button-base+.mat-button-base,.td-side-sheet-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .td-side-sheet-actions .mat-button-base+.mat-button-base,[dir=rtl] .td-side-sheet-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"]
|
393
|
-
}] }
|
394
|
-
];
|
395
|
-
if (false) {
|
396
|
-
/**
|
397
|
-
* State of the side-sheet animation.
|
398
|
-
* @type {?}
|
399
|
-
*/
|
400
|
-
CovalentSideSheetContainer.prototype._state;
|
401
|
-
}
|
402
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC1jb250YWluZXIuanMiLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vc3JjL3BsYXRmb3JtL2NvcmUvc2lkZS1zaGVldC8iLCJzb3VyY2VzIjpbInNpZGUtc2hlZXQtY29udGFpbmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsT0FBTyxFQUFFLFlBQVksRUFBMEIsZ0JBQWdCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUMzRixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsZUFBZSxFQUE4QyxNQUFNLHFCQUFxQixDQUFDO0FBQ3BILE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMzQyxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBRVQsU0FBUyxFQUNULFVBQVUsRUFFVixZQUFZLEVBQ1osTUFBTSxFQUNOLFFBQVEsRUFDUixTQUFTLEVBQ1QsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQy9ELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHF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dGlvblN0YXRlQ2hhbmdlZC5uZXh0KHsgc3RhdGU6ICdjbG9zaW5nJywgdG90YWxUaW1lIH0pO1xuICAgIH1cbiAgfVxuXG4gIC8qKiBTdGFydHMgdGhlIHNpZGUtc2hlZXQgZXhpdCBhbmltYXRpb24uICovXG4gIF9zdGFydEV4aXRBbmltYXRpb24oKTogdm9pZCB7XG4gICAgdGhpcy5fc3RhdGUgPSAnZXhpdCc7XG4gICAgdGhpcy5fY2hhbmdlRGV0ZWN0b3JSZWYubWFya0ZvckNoZWNrKCk7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,50 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* Generated from: side-sheet-ref.ts
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
5
|
-
*/
|
6
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
7
|
-
// Counter for unique dialog ids.
|
8
|
-
/** @type {?} */
|
9
|
-
let uniqueId = 0;
|
10
|
-
// Create a new side sheet ref to change the id of the ref
|
11
|
-
/**
|
12
|
-
* @template T, R
|
13
|
-
*/
|
14
|
-
export class CovalentSideSheetRef extends MatDialogRef {
|
15
|
-
/**
|
16
|
-
* @param {?} overlayRef
|
17
|
-
* @param {?} _containerInstance
|
18
|
-
* @param {?=} id
|
19
|
-
*/
|
20
|
-
constructor(overlayRef, _containerInstance, id = `td-side-sheet-${uniqueId++}`) {
|
21
|
-
super(overlayRef, _containerInstance, id);
|
22
|
-
this.overlayRef = overlayRef;
|
23
|
-
this._containerInstance = _containerInstance;
|
24
|
-
this.id = id;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
if (false) {
|
28
|
-
/** @type {?} */
|
29
|
-
CovalentSideSheetRef.prototype.overlayRef;
|
30
|
-
/** @type {?} */
|
31
|
-
CovalentSideSheetRef.prototype._containerInstance;
|
32
|
-
/** @type {?} */
|
33
|
-
CovalentSideSheetRef.prototype.id;
|
34
|
-
}
|
35
|
-
/**
|
36
|
-
* @template R
|
37
|
-
* @param {?} ref
|
38
|
-
* @param {?} interactionType
|
39
|
-
* @param {?=} result
|
40
|
-
* @return {?}
|
41
|
-
*/
|
42
|
-
export function _closeSideSheetVia(ref, interactionType, result) {
|
43
|
-
// Some mock dialog ref instances in tests do not have the `_containerInstance` property.
|
44
|
-
// For those, we keep the behavior as is and do not deal with the interaction type.
|
45
|
-
if (ref._containerInstance !== undefined) {
|
46
|
-
ref._containerInstance._closeInteractionType = interactionType;
|
47
|
-
}
|
48
|
-
return ref.close(result);
|
49
|
-
}
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC1yZWYuanMiLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vc3JjL3BsYXRmb3JtL2NvcmUvc2lkZS1zaGVldC8iLCJzb3VyY2VzIjpbInNpZGUtc2hlZXQtcmVmLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBR0EsT0FBTyxFQUFFLFlBQVksRUFBMkIsTUFBTSwwQkFBMEIsQ0FBQzs7O0lBRzdFLFFBQVEsR0FBRyxDQUFDOzs7OztBQUdoQixNQUFNLE9BQU8sb0JBQWlDLFNBQVEsWUFBa0I7Ozs7OztJQUN0RSxZQUNTLFVBQXNCLEVBQ3RCLGtCQUEyQyxFQUN6QyxLQUFhLGlCQUFpQixRQUFRLEVBQUUsRUFBRTtRQUVuRCxLQUFLLENBQUMsVUFBVSxFQUFFLGtCQUFrQixFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBSm5DLGVBQVUsR0FBVixVQUFVLENBQVk7UUFDdEIsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUF5QjtRQUN6QyxPQUFFLEdBQUYsRUFBRSxDQUF3QztJQUdyRCxDQUFDO0NBQ0Y7OztJQU5HLDBDQUE2Qjs7SUFDN0Isa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lYWRvbmx5IGlkOiBzdHJpbmcgPSBgdGQtc2lkZS1zaGVldC0ke3VuaXF1ZUlkKyt9YCxcbiAgKSB7XG4gICAgc3VwZXIob3ZlcmxheVJlZiwgX2NvbnRhaW5lckluc3RhbmNlLCBpZCk7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIF9jbG9zZVNpZGVTaGVldFZpYTxSPihyZWY6IENvdmFsZW50U2lkZVNoZWV0UmVmPFI+LCBpbnRlcmFjdGlvblR5cGU6IEZvY3VzT3JpZ2luLCByZXN1bHQ/OiBSKSB7XG4gIC8vIFNvbWUgbW9jayBkaWFsb2cgcmVmIGluc3RhbmNlcyBpbiB0ZXN0cyBkbyBub3QgaGF2ZSB0aGUgYF9jb250YWluZXJJbnN0YW5jZWAgcHJvcGVydHkuXG4gIC8vIEZvciB0aG9zZSwgd2Uga2VlcCB0aGUgYmVoYXZpb3IgYXMgaXMgYW5kIGRvIG5vdCBkZWFsIHdpdGggdGhlIGludGVyYWN0aW9uIHR5cGUuXG4gIGlmIChyZWYuX2NvbnRhaW5lckluc3RhbmNlICE9PSB1bmRlZmluZWQpIHtcbiAgICByZWYuX2NvbnRhaW5lckluc3RhbmNlLl9jbG9zZUludGVyYWN0aW9uVHlwZSA9IGludGVyYWN0aW9uVHlwZTtcbiAgfVxuICByZXR1cm4gcmVmLmNsb3NlKHJlc3VsdCk7XG59XG4iXX0=
|
@@ -1,20 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* Generated from: side-sheet.animation.ts
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
5
|
-
*/
|
6
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
7
|
-
import { AnimationCurves, AnimationDurations } from '@angular/material/core';
|
8
|
-
/** @type {?} */
|
9
|
-
export const tdSideSheetAnimations = {
|
10
|
-
/**
|
11
|
-
* Animation that is applied on the side-sheet container by default.
|
12
|
-
*/
|
13
|
-
sideSheetContainer: trigger('sideSheetContainer', [
|
14
|
-
state('void, exit', style({ transform: 'translateX(100%)' })),
|
15
|
-
state('enter', style({ transform: 'translateX(0%)', opacity: 1 })),
|
16
|
-
transition('* => enter', animate(`${AnimationDurations.ENTERING} ${AnimationCurves.ACCELERATION_CURVE}`, style({ transform: 'translateX(0)', opacity: 1 }))),
|
17
|
-
transition('* => void, * => exit', animate(`${AnimationDurations.EXITING} ${AnimationCurves.ACCELERATION_CURVE}`, style({ transform: 'translateX(100%)' }))),
|
18
|
-
]),
|
19
|
-
};
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5hbmltYXRpb24uanMiLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vc3JjL3BsYXRmb3JtL2NvcmUvc2lkZS1zaGVldC8iLCJzb3VyY2VzIjpbInNpZGUtc2hlZXQuYW5pbWF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQTRCLE1BQU0scUJBQXFCLENBQUM7QUFDM0csT0FBTyxFQUFFLGVBQWUsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQUU3RSxNQUFNLE9BQU8scUJBQXFCLEdBRTlCOzs7O0lBRUYsa0JBQWtCLEVBQUUsT0FBTyxDQUFDLG9CQUFvQixFQUFFO1FBQ2hELEtBQUssQ0FBQyxZQUFZLEVBQUUsS0FBSyxDQUFDLEVBQUUsU0FBUyxFQUFFLGtCQUFrQixFQUFFLENBQUMsQ0FBQztRQUM3RCxLQUFLLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQyxFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxP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Db250YWluZXInLCBbXG4gICAgc3RhdGUoJ3ZvaWQsIGV4aXQnLCBzdHlsZSh7IHRyYW5zZm9ybTogJ3RyYW5zbGF0ZVgoMTAwJSknIH0pKSxcbiAgICBzdGF0ZSgnZW50ZXInLCBzdHlsZSh7IHRyYW5zZm9ybTogJ3RyYW5zbGF0ZVgoMCUpJywgb3BhY2l0eTogMSB9KSksXG4gICAgdHJhbnNpdGlvbihcbiAgICAgICcqID0+IGVudGVyJyxcbiAgICAgIGFuaW1hdGUoXG4gICAgICAgIGAke0FuaW1hdGlvbkR1cmF0aW9ucy5FTlRFUklOR30gJHtBbmltYXRpb25DdXJ2ZXMuQUNDRUxFUkFUSU9OX0NVUlZFfWAsXG4gICAgICAgIHN0eWxlKHsgdHJhbnNmb3JtOiAndHJhbnNsYXRlWCgwKScsIG9wYWNpdHk6IDEgfSksXG4gICAgICApLFxuICAgICksXG4gICAgdHJhbnNpdGlvbihcbiAgICAgICcqID0+IHZvaWQsICogPT4gZXhpdCcsXG4gICAgICBhbmltYXRlKFxuICAgICAgICBgJHtBbmltYXRpb25EdXJhdGlvbnMuRVhJVElOR30gJHtBbmltYXRpb25DdXJ2ZXMuQUNDRUxFUkFUSU9OX0NVUlZFfWAsXG4gICAgICAgIHN0eWxlKHsgdHJhbnNmb3JtOiAndHJhbnNsYXRlWCgxMDAlKScgfSksXG4gICAgICApLFxuICAgICksXG4gIF0pLFxufTtcbiJdfQ==
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @fileoverview added by tsickle
|
3
|
-
* Generated from: side-sheet.config.ts
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
5
|
-
*/
|
6
|
-
import { MatDialogConfig } from '@angular/material/dialog';
|
7
|
-
/**
|
8
|
-
* @template D
|
9
|
-
*/
|
10
|
-
export class CovalentSideSheetConfig extends MatDialogConfig {
|
11
|
-
}
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5jb25maWcuanMiLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vc3JjL3BsYXRmb3JtL2NvcmUvc2lkZS1zaGVldC8iLCJzb3VyY2VzIjpbInNpZGUtc2hlZXQuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7O0FBRTNELE1BQU0sT0FBTyx1QkFBaUMsU0FBUSxlQUFrQjtDQUFHIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTWF0RGlhbG9nQ29uZmlnIH0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvZGlhbG9nJztcblxuZXhwb3J0IGNsYXNzIENvdmFsZW50U2lkZVNoZWV0Q29uZmlnPEQgPSBhbnk+IGV4dGVuZHMgTWF0RGlhbG9nQ29uZmlnPEQ+IHt9XG4iXX0=
|