@covalent/core 4.0.0-beta.1 → 4.1.1-beta.3
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 +4 -38
- package/breadcrumbs/README.md +21 -17
- package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +3 -1
- package/breadcrumbs/breadcrumbs.component.d.ts +1 -0
- package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -1
- package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/README.md +3 -0
- package/common/_common-theme.scss +1 -1
- package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
- package/common/behaviors/disabled.mixin.d.ts +1 -1
- package/common/covalent-core-common.d.ts +1 -1
- package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
- package/common/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/styles/font/README.md +4 -2
- package/covalent-core.d.ts +1 -1
- package/dialogs/README.md +38 -30
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- package/dialogs/covalent-core-dialogs.d.ts +1 -1
- package/dialogs/dialog.component.d.ts +4 -4
- package/dialogs/dialogs.module.d.ts +1 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -3
- package/dialogs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/dialogs/src/README.md +223 -0
- package/dialogs/window-dialog/window-dialog.component.d.ts +5 -5
- package/dynamic-menu/README.md +6 -6
- package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +1 -22
- package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
- package/dynamic-menu/public_api.d.ts +1 -0
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +21 -37
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +20 -25
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +12 -13
- package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +2 -2
- package/esm2020/breadcrumbs/public_api.mjs +4 -0
- package/esm2020/common/animations/bounce/bounce.animation.mjs +1 -1
- package/esm2020/common/animations/collapse/collapse.animation.mjs +1 -1
- package/esm2020/common/animations/common/interfaces.mjs +1 -1
- package/esm2020/common/animations/fade/fadeInOut.animation.mjs +1 -1
- package/esm2020/common/animations/flash/flash.animation.mjs +1 -1
- package/esm2020/common/animations/headshake/headshake.animation.mjs +17 -5
- package/esm2020/common/animations/jello/jello.animation.mjs +29 -8
- package/esm2020/common/animations/pulse/pulse.animation.mjs +1 -1
- package/esm2020/common/animations/rotate/rotate.animation.mjs +7 -2
- package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +4 -2
- package/esm2020/common/behaviors/disable-ripple.mixin.mjs +1 -1
- package/esm2020/common/behaviors/disabled.mixin.mjs +1 -1
- package/esm2020/common/common.module.mjs +14 -15
- package/esm2020/common/covalent-core-common.mjs +2 -2
- package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +41 -41
- package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +19 -19
- package/esm2020/common/forms/validators/validators.mjs +6 -6
- package/esm2020/common/functions/clipboard.mjs +1 -1
- package/esm2020/common/functions/convert.mjs +1 -1
- package/esm2020/common/functions/download.mjs +1 -1
- package/esm2020/common/functions/file.mjs +1 -1
- package/esm2020/common/pipes/bytes/bytes.pipe.mjs +21 -11
- package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +21 -11
- package/esm2020/common/pipes/digits/digits.pipe.mjs +13 -13
- package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +9 -9
- package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +9 -9
- package/esm2020/common/pipes/time-until/time-until.pipe.mjs +9 -9
- package/esm2020/common/pipes/truncate/truncate.pipe.mjs +10 -10
- package/esm2020/common/public_api.mjs +39 -0
- package/esm2020/common/services/icon.service.mjs +6 -6
- package/esm2020/common/services/router-path.service.mjs +6 -6
- package/esm2020/covalent-core.mjs +2 -2
- package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +9 -40
- package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +9 -49
- package/esm2020/dialogs/covalent-core-dialogs.mjs +2 -2
- package/esm2020/dialogs/dialog.component.mjs +35 -76
- package/esm2020/dialogs/dialogs.module.mjs +39 -36
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +15 -73
- package/esm2020/dialogs/public_api.mjs +9 -0
- package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +27 -10
- package/esm2020/dialogs/services/dialog.service.mjs +16 -13
- package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +24 -55
- package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +2 -2
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +19 -136
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +14 -103
- package/esm2020/dynamic-menu/dynamic-menu.component.mjs +18 -101
- package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
- package/esm2020/dynamic-menu/dynamic-menu.module.mjs +44 -19
- package/esm2020/dynamic-menu/public_api.mjs +2 -1
- package/esm2020/file/covalent-core-file.mjs +2 -2
- package/esm2020/file/directives/file-drop.directive.mjs +46 -47
- package/esm2020/file/directives/file-select.directive.mjs +32 -31
- package/esm2020/file/file-input/file-input.component.mjs +67 -72
- package/esm2020/file/file-upload/file-upload.component.mjs +76 -112
- package/esm2020/file/file.module.mjs +32 -17
- package/esm2020/file/public_api.mjs +7 -0
- package/esm2020/file/services/file.service.mjs +13 -11
- package/esm2020/json-formatter/collapse.animation.mjs +51 -0
- package/esm2020/json-formatter/covalent-core-json-formatter.mjs +2 -2
- package/esm2020/json-formatter/json-formatter.component.mjs +38 -123
- package/esm2020/json-formatter/json-formatter.module.mjs +12 -13
- package/esm2020/json-formatter/public_api.mjs +3 -0
- package/esm2020/layout/covalent-core-layout.mjs +2 -2
- package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +17 -64
- package/esm2020/layout/layout-footer/layout-footer.component.mjs +9 -14
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +18 -47
- package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +47 -53
- package/esm2020/layout/layout-nav/layout-nav.component.mjs +22 -84
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +33 -120
- package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +47 -53
- package/esm2020/layout/layout-toggle.class.mjs +13 -15
- package/esm2020/layout/layout.component.mjs +18 -39
- package/esm2020/layout/layout.directives.mjs +48 -50
- package/esm2020/layout/layout.module.mjs +34 -35
- package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +56 -201
- package/esm2020/layout/public_api.mjs +13 -0
- package/esm2020/menu/covalent-core-menu.mjs +2 -2
- package/esm2020/menu/menu.component.mjs +7 -18
- package/esm2020/menu/menu.module.mjs +12 -13
- package/esm2020/menu/public_api.mjs +3 -0
- package/esm2020/message/collapse.animation.mjs +51 -0
- package/esm2020/message/covalent-core-message.mjs +2 -2
- package/esm2020/message/message.component.mjs +44 -102
- package/esm2020/message/message.module.mjs +19 -15
- package/esm2020/message/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/search/covalent-core-search.mjs +2 -2
- package/esm2020/search/public_api.mjs +4 -0
- package/esm2020/search/search-box/search-box.component.mjs +97 -123
- package/esm2020/search/search-input/search-input.component.mjs +116 -153
- package/esm2020/search/search.module.mjs +28 -13
- package/esm2020/side-sheet/covalent-core-side-sheet.mjs +2 -2
- package/esm2020/side-sheet/public_api.mjs +6 -0
- package/esm2020/side-sheet/side-sheet-container.mjs +89 -57
- package/esm2020/side-sheet/side-sheet-ref.mjs +2 -2
- package/esm2020/side-sheet/side-sheet.animation.mjs +2 -2
- package/esm2020/side-sheet/side-sheet.config.mjs +1 -1
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +109 -86
- package/esm2020/side-sheet/side-sheet.mjs +44 -31
- package/esm2020/side-sheet/side-sheet.module.mjs +37 -38
- package/esm2020/user-profile/covalent-core-user-profile.mjs +2 -2
- package/esm2020/user-profile/public_api.mjs +1 -1
- package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +13 -64
- package/esm2020/user-profile/user-profile.component.mjs +13 -35
- package/esm2020/user-profile/user-profile.module.mjs +32 -14
- package/fesm2015/covalent-core-breadcrumbs.mjs +35 -76
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2015/covalent-core-common.mjs +170 -140
- package/fesm2015/covalent-core-common.mjs.map +1 -1
- package/fesm2015/covalent-core-dialogs.mjs +125 -358
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2015/covalent-core-dynamic-menu.mjs +73 -425
- package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2015/covalent-core-file.mjs +175 -237
- package/fesm2015/covalent-core-file.mjs.map +1 -1
- package/fesm2015/covalent-core-json-formatter.mjs +93 -148
- package/fesm2015/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2015/covalent-core-layout.mjs +183 -735
- package/fesm2015/covalent-core-layout.mjs.map +1 -1
- package/fesm2015/covalent-core-menu.mjs +10 -28
- package/fesm2015/covalent-core-menu.mjs.map +1 -1
- package/fesm2015/covalent-core-message.mjs +79 -104
- package/fesm2015/covalent-core-message.mjs.map +1 -1
- package/fesm2015/covalent-core-search.mjs +147 -227
- package/fesm2015/covalent-core-search.mjs.map +1 -1
- package/fesm2015/covalent-core-side-sheet.mjs +202 -173
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2015/covalent-core-user-profile.mjs +38 -114
- package/fesm2015/covalent-core-user-profile.mjs.map +1 -1
- package/fesm2015/covalent-core.mjs.map +1 -1
- package/fesm2020/covalent-core-breadcrumbs.mjs +49 -71
- package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2020/covalent-core-common.mjs +224 -165
- package/fesm2020/covalent-core-common.mjs.map +1 -1
- package/fesm2020/covalent-core-dialogs.mjs +160 -338
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2020/covalent-core-dynamic-menu.mjs +89 -354
- package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2020/covalent-core-file.mjs +255 -277
- package/fesm2020/covalent-core-file.mjs.map +1 -1
- package/fesm2020/covalent-core-json-formatter.mjs +97 -133
- package/fesm2020/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2020/covalent-core-layout.mjs +342 -755
- package/fesm2020/covalent-core-layout.mjs.map +1 -1
- package/fesm2020/covalent-core-menu.mjs +17 -29
- package/fesm2020/covalent-core-menu.mjs.map +1 -1
- package/fesm2020/covalent-core-message.mjs +110 -114
- package/fesm2020/covalent-core-message.mjs.map +1 -1
- package/fesm2020/covalent-core-search.mjs +233 -281
- package/fesm2020/covalent-core-search.mjs.map +1 -1
- package/fesm2020/covalent-core-side-sheet.mjs +267 -200
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2020/covalent-core-user-profile.mjs +54 -109
- package/fesm2020/covalent-core-user-profile.mjs.map +1 -1
- package/fesm2020/covalent-core.mjs.map +1 -1
- package/file/_file-theme.scss +2 -1
- package/file/covalent-core-file.d.ts +1 -1
- package/file/directives/file-drop.directive.d.ts +6 -7
- package/file/directives/file-select.directive.d.ts +2 -2
- package/file/file-input/file-input.component.d.ts +19 -12
- package/file/file-upload/file-upload.component.d.ts +16 -9
- package/file/{public-api.d.ts → public_api.d.ts} +0 -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/collapse.animation.d.ts +24 -0
- package/json-formatter/covalent-core-json-formatter.d.ts +1 -1
- package/json-formatter/json-formatter.component.d.ts +4 -4
- package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/README.md +48 -50
- package/layout/covalent-core-layout.d.ts +1 -1
- package/layout/layout-card-over/layout-card-over.component.d.ts +3 -3
- package/layout/layout-footer/layout-footer.component.d.ts +3 -3
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +5 -5
- package/layout/layout-nav/layout-nav.component.d.ts +5 -5
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +5 -5
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +5 -5
- package/layout/layout-toggle.class.d.ts +1 -1
- package/layout/layout.directives.d.ts +2 -2
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +12 -12
- 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 +1 -1
- package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
- package/message/README.md +26 -18
- package/message/collapse.animation.d.ts +24 -0
- package/message/covalent-core-message.d.ts +1 -1
- package/message/message.component.d.ts +4 -4
- package/message/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +25 -54
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/search/README.md +74 -73
- package/search/covalent-core-search.d.ts +1 -1
- package/search/{public-api.d.ts → public_api.d.ts} +0 -0
- package/search/search-box/search-box.component.d.ts +10 -6
- package/search/search-input/search-input.component.d.ts +10 -6
- 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 +1 -1
- package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
- package/side-sheet/side-sheet-container.d.ts +18 -7
- package/side-sheet/side-sheet.content-directives.d.ts +22 -16
- package/side-sheet/side-sheet.d.ts +2 -2
- package/side-sheet/side-sheet.module.d.ts +1 -1
- package/user-profile/README.md +5 -5
- package/user-profile/covalent-core-user-profile.d.ts +1 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +2 -2
- package/user-profile/user-profile.component.d.ts +2 -2
- package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -25
- package/breadcrumbs/breadcrumbs.component.scss +0 -8
- package/breadcrumbs/index.d.ts +0 -1
- package/common/index.d.ts +0 -1
- package/common/material-icons.css +0 -111
- package/common/material-icons.css.map +0 -1
- package/common/material-icons.scss +0 -3
- package/common/platform.css +0 -16819
- 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 -605
- package/common/styles/_palette-dark.scss +0 -326
- package/common/styles/_palette-light.scss +0 -637
- package/common/styles/_rtl.scss +0 -31
- 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 -1399
- package/common/styles/colors/_colors-light.scss +0 -3235
- package/common/styles/colors/_colors.scss +0 -7
- package/common/styles/core/_button.scss +0 -60
- package/common/styles/core/_card.scss +0 -184
- package/common/styles/core/_content.scss +0 -43
- package/common/styles/core/_core.scss +0 -23
- package/common/styles/core/_divider.scss +0 -16
- package/common/styles/core/_icons.scss +0 -22
- package/common/styles/core/_list.scss +0 -8
- package/common/styles/core/_sidenav.scss +0 -22
- package/common/styles/core/_structure.scss +0 -127
- package/common/styles/core/_toolbar.scss +0 -53
- 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 -99
- package/common/styles/utilities/_general.scss +0 -65
- 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 -105
- package/common/styles/utilities/_utilities.scss +0 -15
- package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/dialogs/dialog.component.scss +0 -49
- package/dialogs/index.d.ts +0 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -16
- package/dialogs/window-dialog/window-dialog.component.scss +0 -31
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -7
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -13
- package/dynamic-menu/dynamic-menu.component.scss +0 -0
- package/dynamic-menu/index.d.ts +0 -1
- package/esm2020/breadcrumbs/index.mjs +0 -2
- package/esm2020/breadcrumbs/public-api.mjs +0 -4
- package/esm2020/common/index.mjs +0 -2
- package/esm2020/common/public-api.mjs +0 -39
- package/esm2020/dialogs/index.mjs +0 -2
- package/esm2020/dialogs/public-api.mjs +0 -9
- package/esm2020/dynamic-menu/index.mjs +0 -2
- package/esm2020/file/index.mjs +0 -2
- package/esm2020/file/public-api.mjs +0 -7
- package/esm2020/index.mjs +0 -2
- package/esm2020/json-formatter/index.mjs +0 -2
- package/esm2020/json-formatter/public-api.mjs +0 -3
- package/esm2020/layout/index.mjs +0 -2
- package/esm2020/layout/public-api.mjs +0 -13
- package/esm2020/menu/index.mjs +0 -2
- package/esm2020/menu/public-api.mjs +0 -3
- package/esm2020/message/index.mjs +0 -2
- package/esm2020/message/public-api.mjs +0 -3
- package/esm2020/search/index.mjs +0 -2
- package/esm2020/search/public-api.mjs +0 -4
- package/esm2020/side-sheet/index.mjs +0 -2
- package/esm2020/side-sheet/public-api.mjs +0 -6
- package/esm2020/user-profile/index.mjs +0 -2
- package/file/file-input/file-input.component.scss +0 -22
- package/file/file-upload/file-upload.component.scss +0 -34
- package/file/index.d.ts +0 -1
- package/json-formatter/index.d.ts +0 -1
- package/json-formatter/json-formatter.component.scss +0 -74
- package/layout/index.d.ts +0 -1
- package/layout/layout-card-over/layout-card-over.component.scss +0 -45
- package/layout/layout-footer/layout-footer.component.scss +0 -4
- package/layout/layout-manage-list/layout-manage-list.component.scss +0 -82
- package/layout/layout-nav/README.md +0 -46
- package/layout/layout-nav/layout-nav.component.scss +0 -54
- package/layout/layout-nav-list/layout-nav-list.component.scss +0 -115
- package/layout/layout.component.scss +0 -16
- package/layout/navigation-drawer/navigation-drawer.component.scss +0 -81
- package/menu/index.d.ts +0 -1
- package/menu/menu.component.scss +0 -51
- package/message/index.d.ts +0 -1
- package/message/message.component.scss +0 -32
- package/schematics/README.md +0 -66
- package/schematics/ng-add/files/theme.scss +0 -64
- package/search/index.d.ts +0 -1
- package/search/search-box/README.md +0 -62
- package/search/search-box/search-box.component.scss +0 -37
- package/search/search-input/README.md +0 -65
- package/search/search-input/search-input.component.scss +0 -75
- package/side-sheet/index.d.ts +0 -1
- package/side-sheet/side-sheet.scss +0 -68
- package/theming/prebuilt/blue-grey-deep-orange.css +0 -2815
- package/theming/prebuilt/blue-grey-deep-orange.css.map +0 -1
- package/theming/prebuilt/blue-grey-deep-orange.scss +0 -20
- package/theming/prebuilt/blue-orange.css +0 -2815
- package/theming/prebuilt/blue-orange.css.map +0 -1
- package/theming/prebuilt/blue-orange.scss +0 -20
- package/theming/prebuilt/indigo-pink.css +0 -2815
- package/theming/prebuilt/indigo-pink.css.map +0 -1
- package/theming/prebuilt/indigo-pink.scss +0 -20
- package/theming/prebuilt/orange-light-blue.css +0 -2815
- package/theming/prebuilt/orange-light-blue.css.map +0 -1
- package/theming/prebuilt/orange-light-blue.scss +0 -20
- package/theming/prebuilt/teal-orange.css +0 -2815
- package/theming/prebuilt/teal-orange.css.map +0 -1
- package/theming/prebuilt/teal-orange.scss +0 -20
- package/user-profile/index.d.ts +0 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -41
@@ -1,28 +1,26 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, ViewChild, Input, Directive, HostListener, forwardRef, Optional, Inject, SecurityContext, ContentChildren, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i4$1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
|
-
import * as i5
|
5
|
+
import * as i5 from '@angular/cdk/scrolling';
|
6
6
|
import { ScrollingModule } from '@angular/cdk/scrolling';
|
7
7
|
import * as i1 from '@angular/material/sidenav';
|
8
8
|
import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
|
9
9
|
import * as i3 from '@angular/material/toolbar';
|
10
10
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
11
|
-
import * as
|
11
|
+
import * as i5$1 from '@angular/material/button';
|
12
12
|
import { MatButtonModule } from '@angular/material/button';
|
13
|
-
import * as
|
13
|
+
import * as i4 from '@angular/material/icon';
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
15
15
|
import * as i2 from '@angular/material/card';
|
16
16
|
import { MatCardModule } from '@angular/material/card';
|
17
|
-
import * as
|
17
|
+
import * as i3$1 from '@angular/material/divider';
|
18
18
|
import { MatDividerModule } from '@angular/material/divider';
|
19
19
|
import { CovalentMenuModule } from '@covalent/core/menu';
|
20
20
|
import { mixinDisabled, tdCollapseAnimation } from '@covalent/core/common';
|
21
21
|
import * as i1$1 from '@angular/router';
|
22
22
|
import * as i2$1 from '@angular/platform-browser';
|
23
23
|
|
24
|
-
const _c0$6 = [[["td-navigation-drawer"]], [["", "td-sidenav-content", ""]], "*"];
|
25
|
-
const _c1$5 = ["td-navigation-drawer", "[td-sidenav-content]", "*"];
|
26
24
|
class TdLayoutComponent {
|
27
25
|
constructor() {
|
28
26
|
/**
|
@@ -93,38 +91,12 @@ class TdLayoutComponent {
|
|
93
91
|
return this.sidenav.close();
|
94
92
|
}
|
95
93
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
i0.ɵɵviewQuery(MatSidenav, 7);
|
100
|
-
}
|
101
|
-
if (rf & 2) {
|
102
|
-
let _t;
|
103
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
104
|
-
}
|
105
|
-
}, inputs: { mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize" }, ngContentSelectors: _c1$5, decls: 6, vars: 8, consts: [["fullscreen", "", 3, "autosize"], [1, "td-layout-sidenav", 3, "mode", "opened", "disableClose"], ["sidenav", ""]], template: function TdLayoutComponent_Template(rf, ctx) {
|
106
|
-
if (rf & 1) {
|
107
|
-
i0.ɵɵprojectionDef(_c0$6);
|
108
|
-
i0.ɵɵelementStart(0, "mat-sidenav-container", 0);
|
109
|
-
i0.ɵɵelementStart(1, "mat-sidenav", 1, 2);
|
110
|
-
i0.ɵɵprojection(3);
|
111
|
-
i0.ɵɵprojection(4, 1);
|
112
|
-
i0.ɵɵelementEnd();
|
113
|
-
i0.ɵɵprojection(5, 2);
|
114
|
-
i0.ɵɵelementEnd();
|
115
|
-
}
|
116
|
-
if (rf & 2) {
|
117
|
-
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
118
|
-
i0.ɵɵadvance(1);
|
119
|
-
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
120
|
-
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
121
|
-
}
|
122
|
-
}, directives: [i1.MatSidenavContainer, i1.MatSidenav], styles: ["[_nghost-%COMP%]{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}[_nghost-%COMP%] >mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"] });
|
123
|
-
(function () {
|
124
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutComponent, [{
|
94
|
+
TdLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
95
|
+
TdLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutComponent, selector: "td-layout", inputs: { mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, static: true }], ngImport: i0, template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\">\n <mat-sidenav\n #sidenav\n class=\"td-layout-sidenav\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n [disableClose]=\"disableClose\"\n >\n <ng-content select=\"td-navigation-drawer\"></ng-content>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </mat-sidenav>\n <ng-content></ng-content>\n</mat-sidenav-container>\n", styles: [":host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host ::ng-deep>mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{display:flex;flex-direction:column}\n"], components: [{ type: i1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { type: i1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }] });
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutComponent, decorators: [{
|
125
97
|
type: Component,
|
126
|
-
args: [{ selector: 'td-layout', template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\">\n <mat-sidenav\n #sidenav\n class=\"td-layout-sidenav\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n [disableClose]=\"disableClose\"\n >\n <ng-content select=\"td-navigation-drawer\"></ng-content>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </mat-sidenav>\n <ng-content></ng-content>\n</mat-sidenav-container>\n", styles: [":host{display
|
127
|
-
}],
|
98
|
+
args: [{ selector: 'td-layout', template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\">\n <mat-sidenav\n #sidenav\n class=\"td-layout-sidenav\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n [disableClose]=\"disableClose\"\n >\n <ng-content select=\"td-navigation-drawer\"></ng-content>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </mat-sidenav>\n <ng-content></ng-content>\n</mat-sidenav-container>\n", styles: [":host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host ::ng-deep>mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{display:flex;flex-direction:column}\n"] }]
|
99
|
+
}], propDecorators: { sidenav: [{
|
128
100
|
type: ViewChild,
|
129
101
|
args: [MatSidenav, { static: true }]
|
130
102
|
}], mode: [{
|
@@ -135,8 +107,7 @@ class TdLayoutComponent {
|
|
135
107
|
type: Input
|
136
108
|
}], containerAutosize: [{
|
137
109
|
type: Input
|
138
|
-
}] });
|
139
|
-
})();
|
110
|
+
}] } });
|
140
111
|
|
141
112
|
class LayoutToggleBase {
|
142
113
|
}
|
@@ -193,7 +164,8 @@ class BaseLayoutToggleDirective extends _TdLayoutToggleMixinBase {
|
|
193
164
|
if (!this.disabled) {
|
194
165
|
// if layout has been provided, try triggering the click on it
|
195
166
|
// else show warn message
|
196
|
-
|
167
|
+
console.log(this._layout.opened);
|
168
|
+
if (this._layout && !this._layout.opened) {
|
197
169
|
this.onClick();
|
198
170
|
}
|
199
171
|
else {
|
@@ -216,23 +188,16 @@ class BaseLayoutToggleDirective extends _TdLayoutToggleMixinBase {
|
|
216
188
|
console.warn('Covalent: Parent layout not found for layout toggle directive');
|
217
189
|
}
|
218
190
|
}
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
i0.ɵɵlistener("click", function BaseLayoutToggleDirective_click_HostBindingHandler($event) { return ctx.clickListener($event); });
|
223
|
-
}
|
224
|
-
}, inputs: { hideWhenOpened: "hideWhenOpened" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
225
|
-
(function () {
|
226
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseLayoutToggleDirective, [{
|
191
|
+
BaseLayoutToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: BaseLayoutToggleDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
192
|
+
BaseLayoutToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: BaseLayoutToggleDirective, inputs: { hideWhenOpened: "hideWhenOpened" }, host: { listeners: { "click": "clickListener($event)" } }, usesInheritance: true, ngImport: i0 });
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: BaseLayoutToggleDirective, decorators: [{
|
227
194
|
type: Directive
|
228
|
-
}], function () { return [{ type: undefined }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { hideWhenOpened: [{
|
229
|
-
type: Input
|
230
|
-
args: ['hideWhenOpened']
|
195
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hideWhenOpened: [{
|
196
|
+
type: Input
|
231
197
|
}], clickListener: [{
|
232
198
|
type: HostListener,
|
233
199
|
args: ['click', ['$event']]
|
234
|
-
}] });
|
235
|
-
})();
|
200
|
+
}] } });
|
236
201
|
|
237
202
|
class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
|
238
203
|
constructor(layout, renderer, elementRef) {
|
@@ -245,26 +210,23 @@ class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
|
|
245
210
|
this._layout.toggle();
|
246
211
|
}
|
247
212
|
}
|
248
|
-
|
249
|
-
|
250
|
-
(
|
251
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutToggleDirective, [{
|
213
|
+
TdLayoutToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutToggleDirective, deps: [{ token: forwardRef(() => TdLayoutComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
214
|
+
TdLayoutToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutToggleDirective, selector: "[tdLayoutToggle]", inputs: { tdLayoutToggle: "tdLayoutToggle" }, usesInheritance: true, ngImport: i0 });
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutToggleDirective, decorators: [{
|
252
216
|
type: Directive,
|
253
217
|
args: [{
|
254
218
|
selector: '[tdLayoutToggle]',
|
255
219
|
}]
|
256
|
-
}], function () {
|
220
|
+
}], ctorParameters: function () {
|
257
221
|
return [{ type: TdLayoutComponent, decorators: [{
|
258
222
|
type: Optional
|
259
223
|
}, {
|
260
224
|
type: Inject,
|
261
225
|
args: [forwardRef(() => TdLayoutComponent)]
|
262
226
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
263
|
-
}, { tdLayoutToggle: [{
|
264
|
-
type: Input
|
265
|
-
|
266
|
-
}] });
|
267
|
-
})();
|
227
|
+
}, propDecorators: { tdLayoutToggle: [{
|
228
|
+
type: Input
|
229
|
+
}] } });
|
268
230
|
class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
|
269
231
|
constructor(layout, renderer, elementRef) {
|
270
232
|
super(layout, renderer, elementRef);
|
@@ -276,26 +238,23 @@ class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
|
|
276
238
|
this._layout.close();
|
277
239
|
}
|
278
240
|
}
|
279
|
-
|
280
|
-
|
281
|
-
(
|
282
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutCloseDirective, [{
|
241
|
+
TdLayoutCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutCloseDirective, deps: [{ token: forwardRef(() => TdLayoutComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
242
|
+
TdLayoutCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutCloseDirective, selector: "[tdLayoutClose]", inputs: { tdLayoutClose: "tdLayoutClose" }, usesInheritance: true, ngImport: i0 });
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutCloseDirective, decorators: [{
|
283
244
|
type: Directive,
|
284
245
|
args: [{
|
285
246
|
selector: '[tdLayoutClose]',
|
286
247
|
}]
|
287
|
-
}], function () {
|
248
|
+
}], ctorParameters: function () {
|
288
249
|
return [{ type: TdLayoutComponent, decorators: [{
|
289
250
|
type: Optional
|
290
251
|
}, {
|
291
252
|
type: Inject,
|
292
253
|
args: [forwardRef(() => TdLayoutComponent)]
|
293
254
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
294
|
-
}, { tdLayoutClose: [{
|
295
|
-
type: Input
|
296
|
-
|
297
|
-
}] });
|
298
|
-
})();
|
255
|
+
}, propDecorators: { tdLayoutClose: [{
|
256
|
+
type: Input
|
257
|
+
}] } });
|
299
258
|
class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
|
300
259
|
constructor(layout, renderer, elementRef) {
|
301
260
|
super(layout, renderer, elementRef);
|
@@ -307,83 +266,25 @@ class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
|
|
307
266
|
this._layout.open();
|
308
267
|
}
|
309
268
|
}
|
310
|
-
|
311
|
-
|
312
|
-
(
|
313
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutOpenDirective, [{
|
269
|
+
TdLayoutOpenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutOpenDirective, deps: [{ token: forwardRef(() => TdLayoutComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
270
|
+
TdLayoutOpenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutOpenDirective, selector: "[tdLayoutOpen]", inputs: { tdLayoutClose: ["tdLayoutOpen", "tdLayoutClose"] }, usesInheritance: true, ngImport: i0 });
|
271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutOpenDirective, decorators: [{
|
314
272
|
type: Directive,
|
315
273
|
args: [{
|
316
274
|
selector: '[tdLayoutOpen]',
|
317
275
|
}]
|
318
|
-
}], function () {
|
276
|
+
}], ctorParameters: function () {
|
319
277
|
return [{ type: TdLayoutComponent, decorators: [{
|
320
278
|
type: Optional
|
321
279
|
}, {
|
322
280
|
type: Inject,
|
323
281
|
args: [forwardRef(() => TdLayoutComponent)]
|
324
282
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
325
|
-
}, { tdLayoutClose: [{
|
283
|
+
}, propDecorators: { tdLayoutClose: [{
|
326
284
|
type: Input,
|
327
285
|
args: ['tdLayoutOpen']
|
328
|
-
}] });
|
329
|
-
})();
|
286
|
+
}] } });
|
330
287
|
|
331
|
-
function TdLayoutNavComponent_span_3_mat_icon_1_Template(rf, ctx) {
|
332
|
-
if (rf & 1) {
|
333
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
334
|
-
i0.ɵɵtext(1);
|
335
|
-
i0.ɵɵelementEnd();
|
336
|
-
}
|
337
|
-
if (rf & 2) {
|
338
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
339
|
-
i0.ɵɵadvance(1);
|
340
|
-
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
341
|
-
}
|
342
|
-
}
|
343
|
-
function TdLayoutNavComponent_span_3_mat_icon_2_Template(rf, ctx) {
|
344
|
-
if (rf & 1) {
|
345
|
-
i0.ɵɵelement(0, "mat-icon", 7);
|
346
|
-
}
|
347
|
-
if (rf & 2) {
|
348
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
349
|
-
i0.ɵɵproperty("svgIcon", ctx_r2.logo);
|
350
|
-
}
|
351
|
-
}
|
352
|
-
function TdLayoutNavComponent_span_3_span_3_Template(rf, ctx) {
|
353
|
-
if (rf & 1) {
|
354
|
-
i0.ɵɵelementStart(0, "span");
|
355
|
-
i0.ɵɵtext(1);
|
356
|
-
i0.ɵɵelementEnd();
|
357
|
-
}
|
358
|
-
if (rf & 2) {
|
359
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
360
|
-
i0.ɵɵadvance(1);
|
361
|
-
i0.ɵɵtextInterpolate(ctx_r3.toolbarTitle);
|
362
|
-
}
|
363
|
-
}
|
364
|
-
function TdLayoutNavComponent_span_3_Template(rf, ctx) {
|
365
|
-
if (rf & 1) {
|
366
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
367
|
-
i0.ɵɵelementStart(0, "span", 4);
|
368
|
-
i0.ɵɵlistener("click", function TdLayoutNavComponent_span_3_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.handleNavigationClick(); });
|
369
|
-
i0.ɵɵtemplate(1, TdLayoutNavComponent_span_3_mat_icon_1_Template, 2, 1, "mat-icon", 5);
|
370
|
-
i0.ɵɵtemplate(2, TdLayoutNavComponent_span_3_mat_icon_2_Template, 1, 1, "mat-icon", 6);
|
371
|
-
i0.ɵɵtemplate(3, TdLayoutNavComponent_span_3_span_3_Template, 2, 1, "span", 5);
|
372
|
-
i0.ɵɵelementEnd();
|
373
|
-
}
|
374
|
-
if (rf & 2) {
|
375
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
376
|
-
i0.ɵɵclassProp("cursor-pointer", ctx_r0.routerEnabled);
|
377
|
-
i0.ɵɵadvance(1);
|
378
|
-
i0.ɵɵproperty("ngIf", ctx_r0.icon);
|
379
|
-
i0.ɵɵadvance(1);
|
380
|
-
i0.ɵɵproperty("ngIf", ctx_r0.logo && !ctx_r0.icon);
|
381
|
-
i0.ɵɵadvance(1);
|
382
|
-
i0.ɵɵproperty("ngIf", ctx_r0.toolbarTitle);
|
383
|
-
}
|
384
|
-
}
|
385
|
-
const _c0$5 = [[["", "td-menu-button", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer"]]];
|
386
|
-
const _c1$4 = ["[td-menu-button]", "[td-toolbar-content]", "*", "td-layout-footer"];
|
387
288
|
class TdLayoutNavComponent {
|
388
289
|
constructor(_router) {
|
389
290
|
this._router = _router;
|
@@ -402,43 +303,21 @@ class TdLayoutNavComponent {
|
|
402
303
|
return !!this._router && !!this.navigationRoute;
|
403
304
|
}
|
404
305
|
handleNavigationClick() {
|
405
|
-
if (this.routerEnabled) {
|
306
|
+
if (this.routerEnabled && this.navigationRoute) {
|
406
307
|
this._router.navigateByUrl(this.navigationRoute);
|
407
308
|
}
|
408
309
|
}
|
409
310
|
}
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
i0.ɵɵprojectionDef(_c0$5);
|
414
|
-
i0.ɵɵelementStart(0, "div", 0);
|
415
|
-
i0.ɵɵelementStart(1, "mat-toolbar", 1);
|
416
|
-
i0.ɵɵprojection(2);
|
417
|
-
i0.ɵɵtemplate(3, TdLayoutNavComponent_span_3_Template, 4, 5, "span", 2);
|
418
|
-
i0.ɵɵprojection(4, 1);
|
419
|
-
i0.ɵɵelementEnd();
|
420
|
-
i0.ɵɵelementStart(5, "div", 3);
|
421
|
-
i0.ɵɵprojection(6, 2);
|
422
|
-
i0.ɵɵelementEnd();
|
423
|
-
i0.ɵɵprojection(7, 3);
|
424
|
-
i0.ɵɵelementEnd();
|
425
|
-
}
|
426
|
-
if (rf & 2) {
|
427
|
-
i0.ɵɵadvance(1);
|
428
|
-
i0.ɵɵproperty("color", ctx.color);
|
429
|
-
i0.ɵɵadvance(2);
|
430
|
-
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
431
|
-
}
|
432
|
-
}, directives: [i3.MatToolbar, i3$1.NgIf, i5.MatIcon, i5$1.CdkScrollable], styles: [".td-menu-button[_ngcontent-%COMP%]{margin-left:0} [dir=rtl] .td-menu-button{margin-right:0;margin-left:6px}[_nghost-%COMP%]{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}[_nghost-%COMP%] .td-layout-nav-wrapper[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%}[_nghost-%COMP%] .td-layout-nav-wrapper[_ngcontent-%COMP%] .td-layout-nav-toolbar-content[_ngcontent-%COMP%]{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}[_nghost-%COMP%] .td-layout-nav-wrapper[_ngcontent-%COMP%] .td-layout-nav-content[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}"] });
|
433
|
-
(function () {
|
434
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavComponent, [{
|
311
|
+
TdLayoutNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavComponent, deps: [{ token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
312
|
+
TdLayoutNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavComponent, selector: "td-layout-nav", inputs: { toolbarTitle: "toolbarTitle", icon: "icon", logo: "logo", color: "color", navigationRoute: "navigationRoute" }, ngImport: i0, template: "<div class=\"td-layout-nav-wrapper\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n class=\"td-layout-nav-toolbar-content\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer\"></ng-content>\n</div>\n", styles: [".td-menu-button{margin-left:0}::ng-deep [dir=rtl] .td-menu-button{margin-right:0;margin-left:6px}:host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host .td-layout-nav-wrapper{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%}:host .td-layout-nav-wrapper .td-layout-nav-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host .td-layout-nav-wrapper .td-layout-nav-content{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}\n"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }] });
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavComponent, decorators: [{
|
435
314
|
type: Component,
|
436
|
-
args: [{ selector: 'td-layout-nav', template: "<div class=\"td-layout-nav-wrapper\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n class=\"td-layout-nav-toolbar-content\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon
|
437
|
-
}], function () {
|
315
|
+
args: [{ selector: 'td-layout-nav', template: "<div class=\"td-layout-nav-wrapper\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n class=\"td-layout-nav-toolbar-content\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer\"></ng-content>\n</div>\n", styles: [".td-menu-button{margin-left:0}::ng-deep [dir=rtl] .td-menu-button{margin-right:0;margin-left:6px}:host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host .td-layout-nav-wrapper{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%}:host .td-layout-nav-wrapper .td-layout-nav-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host .td-layout-nav-wrapper .td-layout-nav-content{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}\n"] }]
|
316
|
+
}], ctorParameters: function () {
|
438
317
|
return [{ type: i1$1.Router, decorators: [{
|
439
318
|
type: Optional
|
440
319
|
}] }];
|
441
|
-
}, { toolbarTitle: [{
|
320
|
+
}, propDecorators: { toolbarTitle: [{
|
442
321
|
type: Input
|
443
322
|
}], icon: [{
|
444
323
|
type: Input
|
@@ -448,65 +327,8 @@ class TdLayoutNavComponent {
|
|
448
327
|
type: Input
|
449
328
|
}], navigationRoute: [{
|
450
329
|
type: Input
|
451
|
-
}] });
|
452
|
-
})();
|
330
|
+
}] } });
|
453
331
|
|
454
|
-
function TdLayoutNavListComponent_span_6_mat_icon_1_Template(rf, ctx) {
|
455
|
-
if (rf & 1) {
|
456
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
457
|
-
i0.ɵɵtext(1);
|
458
|
-
i0.ɵɵelementEnd();
|
459
|
-
}
|
460
|
-
if (rf & 2) {
|
461
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
462
|
-
i0.ɵɵadvance(1);
|
463
|
-
i0.ɵɵtextInterpolate(ctx_r2.icon);
|
464
|
-
}
|
465
|
-
}
|
466
|
-
function TdLayoutNavListComponent_span_6_mat_icon_2_Template(rf, ctx) {
|
467
|
-
if (rf & 1) {
|
468
|
-
i0.ɵɵelement(0, "mat-icon", 11);
|
469
|
-
}
|
470
|
-
if (rf & 2) {
|
471
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
472
|
-
i0.ɵɵproperty("svgIcon", ctx_r3.logo);
|
473
|
-
}
|
474
|
-
}
|
475
|
-
function TdLayoutNavListComponent_span_6_span_3_Template(rf, ctx) {
|
476
|
-
if (rf & 1) {
|
477
|
-
i0.ɵɵelementStart(0, "span");
|
478
|
-
i0.ɵɵtext(1);
|
479
|
-
i0.ɵɵelementEnd();
|
480
|
-
}
|
481
|
-
if (rf & 2) {
|
482
|
-
const ctx_r4 = i0.ɵɵnextContext(2);
|
483
|
-
i0.ɵɵadvance(1);
|
484
|
-
i0.ɵɵtextInterpolate(ctx_r4.toolbarTitle);
|
485
|
-
}
|
486
|
-
}
|
487
|
-
function TdLayoutNavListComponent_span_6_Template(rf, ctx) {
|
488
|
-
if (rf & 1) {
|
489
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
490
|
-
i0.ɵɵelementStart(0, "span", 8);
|
491
|
-
i0.ɵɵlistener("click", function TdLayoutNavListComponent_span_6_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.handleNavigationClick(); });
|
492
|
-
i0.ɵɵtemplate(1, TdLayoutNavListComponent_span_6_mat_icon_1_Template, 2, 1, "mat-icon", 9);
|
493
|
-
i0.ɵɵtemplate(2, TdLayoutNavListComponent_span_6_mat_icon_2_Template, 1, 1, "mat-icon", 10);
|
494
|
-
i0.ɵɵtemplate(3, TdLayoutNavListComponent_span_6_span_3_Template, 2, 1, "span", 9);
|
495
|
-
i0.ɵɵelementEnd();
|
496
|
-
}
|
497
|
-
if (rf & 2) {
|
498
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
499
|
-
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
500
|
-
i0.ɵɵadvance(1);
|
501
|
-
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
502
|
-
i0.ɵɵadvance(1);
|
503
|
-
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
504
|
-
i0.ɵɵadvance(1);
|
505
|
-
i0.ɵɵproperty("ngIf", ctx_r1.toolbarTitle);
|
506
|
-
}
|
507
|
-
}
|
508
|
-
const _c0$4 = [[["", "td-menu-button", ""]], [["", "td-sidenav-toolbar-content", ""]], [["", "td-sidenav-content", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer-inner"]], [["td-layout-footer"]]];
|
509
|
-
const _c1$3 = ["[td-menu-button]", "[td-sidenav-toolbar-content]", "[td-sidenav-content]", "[td-toolbar-content]", "*", "td-layout-footer-inner", "td-layout-footer"];
|
510
332
|
class TdLayoutNavListComponent {
|
511
333
|
constructor(_router) {
|
512
334
|
this._router = _router;
|
@@ -572,7 +394,7 @@ class TdLayoutNavListComponent {
|
|
572
394
|
return !!this._router && !!this.navigationRoute;
|
573
395
|
}
|
574
396
|
handleNavigationClick() {
|
575
|
-
if (this.routerEnabled) {
|
397
|
+
if (this.routerEnabled && this.navigationRoute) {
|
576
398
|
this._router.navigateByUrl(this.navigationRoute);
|
577
399
|
}
|
578
400
|
}
|
@@ -595,66 +417,16 @@ class TdLayoutNavListComponent {
|
|
595
417
|
return this.sidenav.close();
|
596
418
|
}
|
597
419
|
}
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
i0.ɵɵviewQuery(MatSidenav, 7);
|
602
|
-
}
|
603
|
-
if (rf & 2) {
|
604
|
-
let _t;
|
605
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
606
|
-
}
|
607
|
-
}, inputs: { toolbarTitle: "toolbarTitle", icon: "icon", logo: "logo", color: "color", mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize", navigationRoute: "navigationRoute" }, ngContentSelectors: _c1$3, decls: 17, vars: 11, consts: [[1, "td-layout-nav-list-wrapper"], ["fullscreen", "", 1, "td-layout-nav-list", 3, "autosize"], ["position", "start", 3, "mode", "opened", "disableClose"], ["sidenav", ""], [1, "td-layout-toolbar", 3, "color"], ["class", "td-layout-nav-list-toolbar-content", 3, "cursor-pointer", "click", 4, "ngIf"], ["cdkScrollable", "", 1, "td-layout-nav-list-content"], [1, "td-layout-nav-list-main"], [1, "td-layout-nav-list-toolbar-content", 3, "click"], [4, "ngIf"], ["class", "mat-icon-logo", 3, "svgIcon", 4, "ngIf"], [1, "mat-icon-logo", 3, "svgIcon"]], template: function TdLayoutNavListComponent_Template(rf, ctx) {
|
608
|
-
if (rf & 1) {
|
609
|
-
i0.ɵɵprojectionDef(_c0$4);
|
610
|
-
i0.ɵɵelementStart(0, "div", 0);
|
611
|
-
i0.ɵɵelementStart(1, "mat-sidenav-container", 1);
|
612
|
-
i0.ɵɵelementStart(2, "mat-sidenav", 2, 3);
|
613
|
-
i0.ɵɵelementStart(4, "mat-toolbar", 4);
|
614
|
-
i0.ɵɵprojection(5);
|
615
|
-
i0.ɵɵtemplate(6, TdLayoutNavListComponent_span_6_Template, 4, 5, "span", 5);
|
616
|
-
i0.ɵɵprojection(7, 1);
|
617
|
-
i0.ɵɵelementEnd();
|
618
|
-
i0.ɵɵelementStart(8, "div", 6);
|
619
|
-
i0.ɵɵprojection(9, 2);
|
620
|
-
i0.ɵɵelementEnd();
|
621
|
-
i0.ɵɵelementEnd();
|
622
|
-
i0.ɵɵelementStart(10, "div", 7);
|
623
|
-
i0.ɵɵelementStart(11, "mat-toolbar", 4);
|
624
|
-
i0.ɵɵprojection(12, 3);
|
625
|
-
i0.ɵɵelementEnd();
|
626
|
-
i0.ɵɵelementStart(13, "div", 6);
|
627
|
-
i0.ɵɵprojection(14, 4);
|
628
|
-
i0.ɵɵelementEnd();
|
629
|
-
i0.ɵɵprojection(15, 5);
|
630
|
-
i0.ɵɵelementEnd();
|
631
|
-
i0.ɵɵelementEnd();
|
632
|
-
i0.ɵɵelementEnd();
|
633
|
-
i0.ɵɵprojection(16, 6);
|
634
|
-
}
|
635
|
-
if (rf & 2) {
|
636
|
-
i0.ɵɵadvance(1);
|
637
|
-
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
638
|
-
i0.ɵɵadvance(1);
|
639
|
-
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
640
|
-
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
641
|
-
i0.ɵɵadvance(2);
|
642
|
-
i0.ɵɵproperty("color", ctx.color);
|
643
|
-
i0.ɵɵadvance(2);
|
644
|
-
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
645
|
-
i0.ɵɵadvance(5);
|
646
|
-
i0.ɵɵproperty("color", ctx.color);
|
647
|
-
}
|
648
|
-
}, directives: [i1.MatSidenavContainer, i1.MatSidenav, i3.MatToolbar, i3$1.NgIf, i5.MatIcon, i5$1.CdkScrollable], styles: ["[_nghost-%COMP%]{margin:0;width:100%;min-height:100%;height:100%;overflow:hidden;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] > .mat-sidenav-container[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-side[_ngcontent-%COMP%]{border-right:0}[dir=rtl] [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] > .mat-sidenav-container[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-side[_ngcontent-%COMP%]{border-left:0}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-toolbar-content[_ngcontent-%COMP%]{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-content[_ngcontent-%COMP%]{text-align:start;-ms-flex:1;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-main[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-main[_ngcontent-%COMP%] .td-layout-nav-list-content[_ngcontent-%COMP%]{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;-ms-flex:1;flex:1}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-opened[_ngcontent-%COMP%], [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-opening[_ngcontent-%COMP%], [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-closed[_ngcontent-%COMP%], [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-closing[_ngcontent-%COMP%]{box-shadow:none}[_nghost-%COMP%] mat-sidenav-container.td-layout-nav-list>.mat-drawer-content{-ms-flex-positive:1;flex-grow:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-nav-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"] });
|
649
|
-
(function () {
|
650
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListComponent, [{
|
420
|
+
TdLayoutNavListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListComponent, deps: [{ token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
421
|
+
TdLayoutNavListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavListComponent, selector: "td-layout-nav-list", inputs: { toolbarTitle: "toolbarTitle", icon: "icon", logo: "logo", color: "color", mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize", navigationRoute: "navigationRoute" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, static: true }], ngImport: i0, template: "<div class=\"td-layout-nav-list-wrapper\">\n <mat-sidenav-container\n fullscreen\n [autosize]=\"containerAutosize\"\n class=\"td-layout-nav-list\"\n >\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n class=\"td-layout-nav-list-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-sidenav-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-nav-list-main\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n </mat-sidenav-container>\n</div>\n<ng-content select=\"td-layout-footer\"></ng-content>\n", styles: [":host{margin:0;width:100%;min-height:100%;height:100%;overflow:hidden;flex-direction:column;box-sizing:border-box;display:flex;flex:1}:host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-right:0}[dir=rtl] :host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-left:0}:host .td-layout-nav-list-wrapper{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host .td-layout-nav-list-wrapper .td-layout-nav-list-content{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main .td-layout-nav-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list{flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opened,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opening,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closed,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closing{box-shadow:none}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer-content{flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}\n"], components: [{ type: i1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { type: i1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }] });
|
422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListComponent, decorators: [{
|
651
423
|
type: Component,
|
652
|
-
args: [{ selector: 'td-layout-nav-list', template: "<div class=\"td-layout-nav-list-wrapper\">\n <mat-sidenav-container
|
653
|
-
}], function () {
|
424
|
+
args: [{ selector: 'td-layout-nav-list', template: "<div class=\"td-layout-nav-list-wrapper\">\n <mat-sidenav-container\n fullscreen\n [autosize]=\"containerAutosize\"\n class=\"td-layout-nav-list\"\n >\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n class=\"td-layout-nav-list-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-sidenav-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-nav-list-main\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n </mat-sidenav-container>\n</div>\n<ng-content select=\"td-layout-footer\"></ng-content>\n", styles: [":host{margin:0;width:100%;min-height:100%;height:100%;overflow:hidden;flex-direction:column;box-sizing:border-box;display:flex;flex:1}:host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-right:0}[dir=rtl] :host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-left:0}:host .td-layout-nav-list-wrapper{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host .td-layout-nav-list-wrapper .td-layout-nav-list-content{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main .td-layout-nav-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list{flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opened,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opening,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closed,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closing{box-shadow:none}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer-content{flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}\n"] }]
|
425
|
+
}], ctorParameters: function () {
|
654
426
|
return [{ type: i1$1.Router, decorators: [{
|
655
427
|
type: Optional
|
656
428
|
}] }];
|
657
|
-
}, { sidenav: [{
|
429
|
+
}, propDecorators: { sidenav: [{
|
658
430
|
type: ViewChild,
|
659
431
|
args: [MatSidenav, { static: true }]
|
660
432
|
}], toolbarTitle: [{
|
@@ -675,8 +447,7 @@ class TdLayoutNavListComponent {
|
|
675
447
|
type: Input
|
676
448
|
}], navigationRoute: [{
|
677
449
|
type: Input
|
678
|
-
}] });
|
679
|
-
})();
|
450
|
+
}] } });
|
680
451
|
|
681
452
|
class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
|
682
453
|
constructor(layout, renderer, elementRef) {
|
@@ -689,27 +460,23 @@ class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
|
|
689
460
|
this._layout.toggle();
|
690
461
|
}
|
691
462
|
}
|
692
|
-
|
693
|
-
|
694
|
-
(
|
695
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListToggleDirective, [{
|
463
|
+
TdLayoutNavListToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListToggleDirective, deps: [{ token: forwardRef(() => TdLayoutNavListComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
464
|
+
TdLayoutNavListToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavListToggleDirective, selector: "[tdLayoutNavListToggle]", inputs: { tdLayoutNavListToggle: "tdLayoutNavListToggle" }, usesInheritance: true, ngImport: i0 });
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListToggleDirective, decorators: [{
|
696
466
|
type: Directive,
|
697
467
|
args: [{
|
698
468
|
selector: '[tdLayoutNavListToggle]',
|
699
|
-
inputs: ['hideWhenOpened'],
|
700
469
|
}]
|
701
|
-
}], function () {
|
470
|
+
}], ctorParameters: function () {
|
702
471
|
return [{ type: TdLayoutNavListComponent, decorators: [{
|
703
472
|
type: Optional
|
704
473
|
}, {
|
705
474
|
type: Inject,
|
706
475
|
args: [forwardRef(() => TdLayoutNavListComponent)]
|
707
476
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
708
|
-
}, { tdLayoutNavListToggle: [{
|
709
|
-
type: Input
|
710
|
-
|
711
|
-
}] });
|
712
|
-
})();
|
477
|
+
}, propDecorators: { tdLayoutNavListToggle: [{
|
478
|
+
type: Input
|
479
|
+
}] } });
|
713
480
|
class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
|
714
481
|
constructor(layout, renderer, elementRef) {
|
715
482
|
super(layout, renderer, elementRef);
|
@@ -721,27 +488,23 @@ class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
|
|
721
488
|
this._layout.close();
|
722
489
|
}
|
723
490
|
}
|
724
|
-
|
725
|
-
|
726
|
-
(
|
727
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListCloseDirective, [{
|
491
|
+
TdLayoutNavListCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListCloseDirective, deps: [{ token: forwardRef(() => TdLayoutNavListComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
492
|
+
TdLayoutNavListCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavListCloseDirective, selector: "[tdLayoutNavListClose]", inputs: { tdLayoutNavListClose: "tdLayoutNavListClose" }, usesInheritance: true, ngImport: i0 });
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListCloseDirective, decorators: [{
|
728
494
|
type: Directive,
|
729
495
|
args: [{
|
730
496
|
selector: '[tdLayoutNavListClose]',
|
731
|
-
inputs: ['hideWhenOpened'],
|
732
497
|
}]
|
733
|
-
}], function () {
|
498
|
+
}], ctorParameters: function () {
|
734
499
|
return [{ type: TdLayoutNavListComponent, decorators: [{
|
735
500
|
type: Optional
|
736
501
|
}, {
|
737
502
|
type: Inject,
|
738
503
|
args: [forwardRef(() => TdLayoutNavListComponent)]
|
739
504
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
740
|
-
}, { tdLayoutNavListClose: [{
|
741
|
-
type: Input
|
742
|
-
|
743
|
-
}] });
|
744
|
-
})();
|
505
|
+
}, propDecorators: { tdLayoutNavListClose: [{
|
506
|
+
type: Input
|
507
|
+
}] } });
|
745
508
|
class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
|
746
509
|
constructor(layout, renderer, elementRef) {
|
747
510
|
super(layout, renderer, elementRef);
|
@@ -753,59 +516,24 @@ class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
|
|
753
516
|
this._layout.open();
|
754
517
|
}
|
755
518
|
}
|
756
|
-
|
757
|
-
|
758
|
-
(
|
759
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListOpenDirective, [{
|
519
|
+
TdLayoutNavListOpenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListOpenDirective, deps: [{ token: forwardRef(() => TdLayoutNavListComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
520
|
+
TdLayoutNavListOpenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavListOpenDirective, selector: "[tdLayoutNavListOpen]", inputs: { tdLayoutNavListOpen: "tdLayoutNavListOpen" }, usesInheritance: true, ngImport: i0 });
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListOpenDirective, decorators: [{
|
760
522
|
type: Directive,
|
761
523
|
args: [{
|
762
524
|
selector: '[tdLayoutNavListOpen]',
|
763
|
-
inputs: ['hideWhenOpened'],
|
764
525
|
}]
|
765
|
-
}], function () {
|
526
|
+
}], ctorParameters: function () {
|
766
527
|
return [{ type: TdLayoutNavListComponent, decorators: [{
|
767
528
|
type: Optional
|
768
529
|
}, {
|
769
530
|
type: Inject,
|
770
531
|
args: [forwardRef(() => TdLayoutNavListComponent)]
|
771
532
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
772
|
-
}, { tdLayoutNavListOpen: [{
|
773
|
-
type: Input
|
774
|
-
|
775
|
-
}] });
|
776
|
-
})();
|
533
|
+
}, propDecorators: { tdLayoutNavListOpen: [{
|
534
|
+
type: Input
|
535
|
+
}] } });
|
777
536
|
|
778
|
-
function TdLayoutCardOverComponent_mat_card_title_4_Template(rf, ctx) {
|
779
|
-
if (rf & 1) {
|
780
|
-
i0.ɵɵelementStart(0, "mat-card-title");
|
781
|
-
i0.ɵɵtext(1);
|
782
|
-
i0.ɵɵelementEnd();
|
783
|
-
}
|
784
|
-
if (rf & 2) {
|
785
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
786
|
-
i0.ɵɵadvance(1);
|
787
|
-
i0.ɵɵtextInterpolate(ctx_r0.cardTitle);
|
788
|
-
}
|
789
|
-
}
|
790
|
-
function TdLayoutCardOverComponent_mat_card_subtitle_5_Template(rf, ctx) {
|
791
|
-
if (rf & 1) {
|
792
|
-
i0.ɵɵelementStart(0, "mat-card-subtitle");
|
793
|
-
i0.ɵɵtext(1);
|
794
|
-
i0.ɵɵelementEnd();
|
795
|
-
}
|
796
|
-
if (rf & 2) {
|
797
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
798
|
-
i0.ɵɵadvance(1);
|
799
|
-
i0.ɵɵtextInterpolate(ctx_r1.cardSubtitle);
|
800
|
-
}
|
801
|
-
}
|
802
|
-
function TdLayoutCardOverComponent_mat_divider_6_Template(rf, ctx) {
|
803
|
-
if (rf & 1) {
|
804
|
-
i0.ɵɵelement(0, "mat-divider");
|
805
|
-
}
|
806
|
-
}
|
807
|
-
const _c0$3 = ["*", [["", "td-after-card", ""]]];
|
808
|
-
const _c1$2 = ["*", "[td-after-card]"];
|
809
537
|
class TdLayoutCardOverComponent {
|
810
538
|
constructor() {
|
811
539
|
/**
|
@@ -824,40 +552,12 @@ class TdLayoutCardOverComponent {
|
|
824
552
|
this.color = 'primary';
|
825
553
|
}
|
826
554
|
}
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
i0.ɵɵprojectionDef(_c0$3);
|
831
|
-
i0.ɵɵelement(0, "mat-toolbar", 0);
|
832
|
-
i0.ɵɵelementStart(1, "div", 1);
|
833
|
-
i0.ɵɵelementStart(2, "div", 2);
|
834
|
-
i0.ɵɵelementStart(3, "mat-card");
|
835
|
-
i0.ɵɵtemplate(4, TdLayoutCardOverComponent_mat_card_title_4_Template, 2, 1, "mat-card-title", 3);
|
836
|
-
i0.ɵɵtemplate(5, TdLayoutCardOverComponent_mat_card_subtitle_5_Template, 2, 1, "mat-card-subtitle", 3);
|
837
|
-
i0.ɵɵtemplate(6, TdLayoutCardOverComponent_mat_divider_6_Template, 1, 0, "mat-divider", 3);
|
838
|
-
i0.ɵɵprojection(7);
|
839
|
-
i0.ɵɵelementEnd();
|
840
|
-
i0.ɵɵprojection(8, 1);
|
841
|
-
i0.ɵɵelementEnd();
|
842
|
-
i0.ɵɵelementEnd();
|
843
|
-
}
|
844
|
-
if (rf & 2) {
|
845
|
-
i0.ɵɵproperty("color", ctx.color);
|
846
|
-
i0.ɵɵadvance(2);
|
847
|
-
i0.ɵɵstyleProp("max-width", ctx.cardWidth, "%")("flex", "1 1 " + ctx.cardWidth + "%")("-ms-flex", "1 1 " + ctx.cardWidth + "%")("-webkit-box-flex", 1);
|
848
|
-
i0.ɵɵadvance(2);
|
849
|
-
i0.ɵɵproperty("ngIf", ctx.cardTitle);
|
850
|
-
i0.ɵɵadvance(1);
|
851
|
-
i0.ɵɵproperty("ngIf", ctx.cardSubtitle);
|
852
|
-
i0.ɵɵadvance(1);
|
853
|
-
i0.ɵɵproperty("ngIf", ctx.cardTitle || ctx.cardSubtitle);
|
854
|
-
}
|
855
|
-
}, directives: [i3.MatToolbar, i2.MatCard, i3$1.NgIf, i2.MatCardTitle, i2.MatCardSubtitle, i4.MatDivider], styles: ["[_nghost-%COMP%]{position:relative;display:block;z-index:2;width:100%;min-height:100%;height:100%}[_nghost-%COMP%] [td-after-card][_ngcontent-%COMP%]{display:block}.td-layout-card-over-wrapper[_ngcontent-%COMP%]{margin:-64px 0;width:100%;min-height:100%;height:100%}@media (min-width: 600px){.td-layout-card-over-wrapper[_ngcontent-%COMP%]{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center}.td-layout-card-over-wrapper[_ngcontent-%COMP%] .td-layout-card-over[_ngcontent-%COMP%]{max-height:100%;box-sizing:border-box}}@media (max-width: 599px){.td-layout-card-over-wrapper[_ngcontent-%COMP%] .td-layout-card-over[_ngcontent-%COMP%]{max-width:100%!important}}"] });
|
856
|
-
(function () {
|
857
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutCardOverComponent, [{
|
555
|
+
TdLayoutCardOverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutCardOverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
556
|
+
TdLayoutCardOverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutCardOverComponent, selector: "td-layout-card-over", inputs: { cardTitle: "cardTitle", cardSubtitle: "cardSubtitle", cardWidth: "cardWidth", color: "color" }, ngImport: i0, template: "<mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\"></mat-toolbar>\n<div class=\"td-layout-card-over-wrapper\">\n <div\n class=\"td-layout-card-over\"\n [style.max-width.%]=\"cardWidth\"\n [style.flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-ms-flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-webkit-box-flex]=\"1\"\n >\n <mat-card>\n <mat-card-title *ngIf=\"cardTitle\">{{ cardTitle }}</mat-card-title>\n <mat-card-subtitle *ngIf=\"cardSubtitle\">{{\n cardSubtitle\n }}</mat-card-subtitle>\n <mat-divider *ngIf=\"cardTitle || cardSubtitle\"></mat-divider>\n <ng-content></ng-content>\n </mat-card>\n <ng-content select=\"[td-after-card]\"></ng-content>\n </div>\n</div>\n", styles: [":host{position:relative;display:block;z-index:2;width:100%;min-height:100%;height:100%}:host [td-after-card]{display:block}.td-layout-card-over-wrapper{margin:-64px 0;width:100%;min-height:100%;height:100%}@media (min-width: 600px){.td-layout-card-over-wrapper{flex-direction:row;box-sizing:border-box;display:flex;align-items:flex-start;align-content:flex-start;justify-content:center}.td-layout-card-over-wrapper .td-layout-card-over{max-height:100%;box-sizing:border-box}}@media (max-width: 599px){.td-layout-card-over-wrapper .td-layout-card-over{max-width:100%!important}}\n"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i2.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i3$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { type: i2.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }] });
|
557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutCardOverComponent, decorators: [{
|
858
558
|
type: Component,
|
859
|
-
args: [{ selector: 'td-layout-card-over', template: "<mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\"></mat-toolbar>\n<div class=\"td-layout-card-over-wrapper\">\n <div\n class=\"td-layout-card-over\"\n [style.max-width.%]=\"cardWidth\"\n [style.flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-ms-flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-webkit-box-flex]=\"1\"\n >\n <mat-card>\n <mat-card-title *ngIf=\"cardTitle\">{{ cardTitle }}</mat-card-title>\n <mat-card-subtitle *ngIf=\"cardSubtitle\">{{
|
860
|
-
}],
|
559
|
+
args: [{ selector: 'td-layout-card-over', template: "<mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\"></mat-toolbar>\n<div class=\"td-layout-card-over-wrapper\">\n <div\n class=\"td-layout-card-over\"\n [style.max-width.%]=\"cardWidth\"\n [style.flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-ms-flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-webkit-box-flex]=\"1\"\n >\n <mat-card>\n <mat-card-title *ngIf=\"cardTitle\">{{ cardTitle }}</mat-card-title>\n <mat-card-subtitle *ngIf=\"cardSubtitle\">{{\n cardSubtitle\n }}</mat-card-subtitle>\n <mat-divider *ngIf=\"cardTitle || cardSubtitle\"></mat-divider>\n <ng-content></ng-content>\n </mat-card>\n <ng-content select=\"[td-after-card]\"></ng-content>\n </div>\n</div>\n", styles: [":host{position:relative;display:block;z-index:2;width:100%;min-height:100%;height:100%}:host [td-after-card]{display:block}.td-layout-card-over-wrapper{margin:-64px 0;width:100%;min-height:100%;height:100%}@media (min-width: 600px){.td-layout-card-over-wrapper{flex-direction:row;box-sizing:border-box;display:flex;align-items:flex-start;align-content:flex-start;justify-content:center}.td-layout-card-over-wrapper .td-layout-card-over{max-height:100%;box-sizing:border-box}}@media (max-width: 599px){.td-layout-card-over-wrapper .td-layout-card-over{max-width:100%!important}}\n"] }]
|
560
|
+
}], propDecorators: { cardTitle: [{
|
861
561
|
type: Input
|
862
562
|
}], cardSubtitle: [{
|
863
563
|
type: Input
|
@@ -865,11 +565,8 @@ class TdLayoutCardOverComponent {
|
|
865
565
|
type: Input
|
866
566
|
}], color: [{
|
867
567
|
type: Input
|
868
|
-
}] });
|
869
|
-
})();
|
568
|
+
}] } });
|
870
569
|
|
871
|
-
const _c0$2 = [[["mat-toolbar", "td-sidenav-content", ""]], [["", "td-sidenav-content", ""]], [["mat-toolbar"]], "*", [["td-layout-footer-inner"]]];
|
872
|
-
const _c1$1 = ["mat-toolbar[td-sidenav-content]", "[td-sidenav-content]", "mat-toolbar", "*", "td-layout-footer-inner"];
|
873
570
|
class TdLayoutManageListComponent {
|
874
571
|
constructor() {
|
875
572
|
/**
|
@@ -940,46 +637,12 @@ class TdLayoutManageListComponent {
|
|
940
637
|
return this.sidenav.close();
|
941
638
|
}
|
942
639
|
}
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
i0.ɵɵviewQuery(MatSidenav, 7);
|
947
|
-
}
|
948
|
-
if (rf & 2) {
|
949
|
-
let _t;
|
950
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
951
|
-
}
|
952
|
-
}, inputs: { mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize" }, ngContentSelectors: _c1$1, decls: 11, vars: 8, consts: [["fullscreen", "", 1, "td-layout-manage-list", 3, "autosize"], ["position", "start", 3, "mode", "opened", "disableClose"], ["sidenav", ""], ["cdkScrollable", "", 1, "td-layout-manage-list-sidenav"], [1, "td-layout-manage-list-main"], ["cdkScrollable", "", 1, "td-layout-manage-list-content"]], template: function TdLayoutManageListComponent_Template(rf, ctx) {
|
953
|
-
if (rf & 1) {
|
954
|
-
i0.ɵɵprojectionDef(_c0$2);
|
955
|
-
i0.ɵɵelementStart(0, "mat-sidenav-container", 0);
|
956
|
-
i0.ɵɵelementStart(1, "mat-sidenav", 1, 2);
|
957
|
-
i0.ɵɵprojection(3);
|
958
|
-
i0.ɵɵelementStart(4, "div", 3);
|
959
|
-
i0.ɵɵprojection(5, 1);
|
960
|
-
i0.ɵɵelementEnd();
|
961
|
-
i0.ɵɵelementEnd();
|
962
|
-
i0.ɵɵelementStart(6, "div", 4);
|
963
|
-
i0.ɵɵprojection(7, 2);
|
964
|
-
i0.ɵɵelementStart(8, "div", 5);
|
965
|
-
i0.ɵɵprojection(9, 3);
|
966
|
-
i0.ɵɵelementEnd();
|
967
|
-
i0.ɵɵprojection(10, 4);
|
968
|
-
i0.ɵɵelementEnd();
|
969
|
-
i0.ɵɵelementEnd();
|
970
|
-
}
|
971
|
-
if (rf & 2) {
|
972
|
-
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
973
|
-
i0.ɵɵadvance(1);
|
974
|
-
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
975
|
-
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
976
|
-
}
|
977
|
-
}, directives: [i1.MatSidenavContainer, i1.MatSidenav, i5$1.CdkScrollable], styles: ["[_nghost-%COMP%]{display:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-opened[_ngcontent-%COMP%], [_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-opening[_ngcontent-%COMP%], [_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-closed[_ngcontent-%COMP%], [_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-closing[_ngcontent-%COMP%]{box-shadow:0 1px 3px rgba(0,0,0,.2)}[_nghost-%COMP%] .td-layout-manage-list-sidenav[_ngcontent-%COMP%]{text-align:start;-ms-flex:1;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] .td-layout-manage-list-main[_ngcontent-%COMP%]{margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%] .td-layout-manage-list-main[_ngcontent-%COMP%] .td-layout-manage-list-content[_ngcontent-%COMP%]{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;-ms-flex:1;flex:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{-ms-flex-positive:1;flex-grow:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] mat-nav-list a[mat-list-item] .mat-list-item-content{font-size:14px}[_nghost-%COMP%] .mat-toolbar{font-weight:400}"] });
|
978
|
-
(function () {
|
979
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListComponent, [{
|
640
|
+
TdLayoutManageListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
641
|
+
TdLayoutManageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutManageListComponent, selector: "td-layout-manage-list", inputs: { mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, static: true }], ngImport: i0, template: "<mat-sidenav-container\n fullscreen\n [autosize]=\"containerAutosize\"\n class=\"td-layout-manage-list\"\n>\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <ng-content select=\"mat-toolbar[td-sidenav-content]\"></ng-content>\n <div class=\"td-layout-manage-list-sidenav\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-manage-list-main\">\n <ng-content select=\"mat-toolbar\"></ng-content>\n <div class=\"td-layout-manage-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n</mat-sidenav-container>\n", styles: [":host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host mat-sidenav-container.td-layout-manage-list{flex:1}:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opened,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opening,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closed,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closing{box-shadow:0 1px 3px #0003}:host .td-layout-manage-list-sidenav{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-manage-list-main{margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto;flex-direction:column;box-sizing:border-box;display:flex}:host .td-layout-manage-list-main .td-layout-manage-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}:host ::ng-deep mat-nav-list a[mat-list-item] .mat-list-item-content{font-size:14px}:host ::ng-deep .mat-toolbar{font-weight:400}\n"], components: [{ type: i1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { type: i1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }], directives: [{ type: i5.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }] });
|
642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListComponent, decorators: [{
|
980
643
|
type: Component,
|
981
|
-
args: [{ selector: 'td-layout-manage-list', template: "<mat-sidenav-container
|
982
|
-
}],
|
644
|
+
args: [{ selector: 'td-layout-manage-list', template: "<mat-sidenav-container\n fullscreen\n [autosize]=\"containerAutosize\"\n class=\"td-layout-manage-list\"\n>\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <ng-content select=\"mat-toolbar[td-sidenav-content]\"></ng-content>\n <div class=\"td-layout-manage-list-sidenav\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-manage-list-main\">\n <ng-content select=\"mat-toolbar\"></ng-content>\n <div class=\"td-layout-manage-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n</mat-sidenav-container>\n", styles: [":host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host mat-sidenav-container.td-layout-manage-list{flex:1}:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opened,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opening,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closed,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closing{box-shadow:0 1px 3px #0003}:host .td-layout-manage-list-sidenav{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-manage-list-main{margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto;flex-direction:column;box-sizing:border-box;display:flex}:host .td-layout-manage-list-main .td-layout-manage-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}:host ::ng-deep mat-nav-list a[mat-list-item] .mat-list-item-content{font-size:14px}:host ::ng-deep .mat-toolbar{font-weight:400}\n"] }]
|
645
|
+
}], propDecorators: { sidenav: [{
|
983
646
|
type: ViewChild,
|
984
647
|
args: [MatSidenav, { static: true }]
|
985
648
|
}], mode: [{
|
@@ -990,8 +653,7 @@ class TdLayoutManageListComponent {
|
|
990
653
|
type: Input
|
991
654
|
}], containerAutosize: [{
|
992
655
|
type: Input
|
993
|
-
}] });
|
994
|
-
})();
|
656
|
+
}] } });
|
995
657
|
|
996
658
|
class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
|
997
659
|
constructor(layout, renderer, elementRef) {
|
@@ -1004,27 +666,23 @@ class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
|
|
1004
666
|
this._layout.toggle();
|
1005
667
|
}
|
1006
668
|
}
|
1007
|
-
|
1008
|
-
|
1009
|
-
(
|
1010
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListToggleDirective, [{
|
669
|
+
TdLayoutManageListToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListToggleDirective, deps: [{ token: forwardRef(() => TdLayoutManageListComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
670
|
+
TdLayoutManageListToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutManageListToggleDirective, selector: "[tdLayoutManageListToggle]", inputs: { tdLayoutManageListToggle: "tdLayoutManageListToggle" }, usesInheritance: true, ngImport: i0 });
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListToggleDirective, decorators: [{
|
1011
672
|
type: Directive,
|
1012
673
|
args: [{
|
1013
674
|
selector: '[tdLayoutManageListToggle]',
|
1014
|
-
inputs: ['hideWhenOpened'],
|
1015
675
|
}]
|
1016
|
-
}], function () {
|
676
|
+
}], ctorParameters: function () {
|
1017
677
|
return [{ type: TdLayoutManageListComponent, decorators: [{
|
1018
678
|
type: Optional
|
1019
679
|
}, {
|
1020
680
|
type: Inject,
|
1021
681
|
args: [forwardRef(() => TdLayoutManageListComponent)]
|
1022
682
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
1023
|
-
}, { tdLayoutManageListToggle: [{
|
1024
|
-
type: Input
|
1025
|
-
|
1026
|
-
}] });
|
1027
|
-
})();
|
683
|
+
}, propDecorators: { tdLayoutManageListToggle: [{
|
684
|
+
type: Input
|
685
|
+
}] } });
|
1028
686
|
class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
|
1029
687
|
constructor(layout, renderer, elementRef) {
|
1030
688
|
super(layout, renderer, elementRef);
|
@@ -1036,27 +694,23 @@ class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
|
|
1036
694
|
this._layout.close();
|
1037
695
|
}
|
1038
696
|
}
|
1039
|
-
|
1040
|
-
|
1041
|
-
(
|
1042
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListCloseDirective, [{
|
697
|
+
TdLayoutManageListCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListCloseDirective, deps: [{ token: forwardRef(() => TdLayoutManageListComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
698
|
+
TdLayoutManageListCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutManageListCloseDirective, selector: "[tdLayoutManageListClose]", inputs: { tdLayoutManageListClose: "tdLayoutManageListClose" }, usesInheritance: true, ngImport: i0 });
|
699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListCloseDirective, decorators: [{
|
1043
700
|
type: Directive,
|
1044
701
|
args: [{
|
1045
702
|
selector: '[tdLayoutManageListClose]',
|
1046
|
-
inputs: ['hideWhenOpened'],
|
1047
703
|
}]
|
1048
|
-
}], function () {
|
704
|
+
}], ctorParameters: function () {
|
1049
705
|
return [{ type: TdLayoutManageListComponent, decorators: [{
|
1050
706
|
type: Optional
|
1051
707
|
}, {
|
1052
708
|
type: Inject,
|
1053
709
|
args: [forwardRef(() => TdLayoutManageListComponent)]
|
1054
710
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
1055
|
-
}, { tdLayoutManageListClose: [{
|
1056
|
-
type: Input
|
1057
|
-
|
1058
|
-
}] });
|
1059
|
-
})();
|
711
|
+
}, propDecorators: { tdLayoutManageListClose: [{
|
712
|
+
type: Input
|
713
|
+
}] } });
|
1060
714
|
class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
|
1061
715
|
constructor(layout, renderer, elementRef) {
|
1062
716
|
super(layout, renderer, elementRef);
|
@@ -1068,29 +722,24 @@ class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
|
|
1068
722
|
this._layout.open();
|
1069
723
|
}
|
1070
724
|
}
|
1071
|
-
|
1072
|
-
|
1073
|
-
(
|
1074
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListOpenDirective, [{
|
725
|
+
TdLayoutManageListOpenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListOpenDirective, deps: [{ token: forwardRef(() => TdLayoutManageListComponent), optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
726
|
+
TdLayoutManageListOpenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutManageListOpenDirective, selector: "[tdLayoutManageListOpen]", inputs: { tdLayoutManageListOpen: "tdLayoutManageListOpen" }, usesInheritance: true, ngImport: i0 });
|
727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListOpenDirective, decorators: [{
|
1075
728
|
type: Directive,
|
1076
729
|
args: [{
|
1077
730
|
selector: '[tdLayoutManageListOpen]',
|
1078
|
-
inputs: ['hideWhenOpened'],
|
1079
731
|
}]
|
1080
|
-
}], function () {
|
732
|
+
}], ctorParameters: function () {
|
1081
733
|
return [{ type: TdLayoutManageListComponent, decorators: [{
|
1082
734
|
type: Optional
|
1083
735
|
}, {
|
1084
736
|
type: Inject,
|
1085
737
|
args: [forwardRef(() => TdLayoutManageListComponent)]
|
1086
738
|
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
1087
|
-
}, { tdLayoutManageListOpen: [{
|
1088
|
-
type: Input
|
1089
|
-
|
1090
|
-
}] });
|
1091
|
-
})();
|
739
|
+
}, propDecorators: { tdLayoutManageListOpen: [{
|
740
|
+
type: Input
|
741
|
+
}] } });
|
1092
742
|
|
1093
|
-
const _c0$1 = ["*"];
|
1094
743
|
class TdLayoutFooterComponent {
|
1095
744
|
constructor(_renderer, _elementRef) {
|
1096
745
|
this._renderer = _renderer;
|
@@ -1113,193 +762,35 @@ class TdLayoutFooterComponent {
|
|
1113
762
|
return this._color;
|
1114
763
|
}
|
1115
764
|
}
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
i0.ɵɵprojectionDef();
|
1120
|
-
i0.ɵɵprojection(0);
|
1121
|
-
}
|
1122
|
-
}, styles: ["[_nghost-%COMP%]{display:block;padding:10px 16px}"] });
|
1123
|
-
(function () {
|
1124
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutFooterComponent, [{
|
765
|
+
TdLayoutFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutFooterComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
766
|
+
TdLayoutFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutFooterComponent, selector: "td-layout-footer,td-layout-footer-inner", inputs: { color: "color" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block;padding:10px 16px}\n"] });
|
767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutFooterComponent, decorators: [{
|
1125
768
|
type: Component,
|
1126
769
|
args: [{ selector: 'td-layout-footer,td-layout-footer-inner', template: "<ng-content></ng-content>\n", styles: [":host{display:block;padding:10px 16px}\n"] }]
|
1127
|
-
}], function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { color: [{
|
1128
|
-
type: Input
|
1129
|
-
|
1130
|
-
}] });
|
1131
|
-
})();
|
770
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { color: [{
|
771
|
+
type: Input
|
772
|
+
}] } });
|
1132
773
|
|
1133
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_1_Template(rf, ctx) {
|
1134
|
-
if (rf & 1) {
|
1135
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
1136
|
-
i0.ɵɵtext(1);
|
1137
|
-
i0.ɵɵelementEnd();
|
1138
|
-
}
|
1139
|
-
if (rf & 2) {
|
1140
|
-
const ctx_r4 = i0.ɵɵnextContext(3);
|
1141
|
-
i0.ɵɵadvance(1);
|
1142
|
-
i0.ɵɵtextInterpolate(ctx_r4.icon);
|
1143
|
-
}
|
1144
|
-
}
|
1145
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_2_Template(rf, ctx) {
|
1146
|
-
if (rf & 1) {
|
1147
|
-
i0.ɵɵelement(0, "mat-icon", 11);
|
1148
|
-
}
|
1149
|
-
if (rf & 2) {
|
1150
|
-
const ctx_r5 = i0.ɵɵnextContext(3);
|
1151
|
-
i0.ɵɵproperty("svgIcon", ctx_r5.logo);
|
1152
|
-
}
|
1153
|
-
}
|
1154
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_img_3_Template(rf, ctx) {
|
1155
|
-
if (rf & 1) {
|
1156
|
-
i0.ɵɵelement(0, "img", 12);
|
1157
|
-
}
|
1158
|
-
if (rf & 2) {
|
1159
|
-
const ctx_r6 = i0.ɵɵnextContext(3);
|
1160
|
-
i0.ɵɵattribute("src", ctx_r6.avatar, i0.ɵɵsanitizeUrl);
|
1161
|
-
}
|
1162
|
-
}
|
1163
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_span_4_Template(rf, ctx) {
|
1164
|
-
if (rf & 1) {
|
1165
|
-
i0.ɵɵelementStart(0, "span", 13);
|
1166
|
-
i0.ɵɵtext(1);
|
1167
|
-
i0.ɵɵelementEnd();
|
1168
|
-
}
|
1169
|
-
if (rf & 2) {
|
1170
|
-
const ctx_r7 = i0.ɵɵnextContext(3);
|
1171
|
-
i0.ɵɵadvance(1);
|
1172
|
-
i0.ɵɵtextInterpolate(ctx_r7.sidenavTitle);
|
1173
|
-
}
|
1174
|
-
}
|
1175
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_Template(rf, ctx) {
|
1176
|
-
if (rf & 1) {
|
1177
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
1178
|
-
i0.ɵɵelementStart(0, "div", 7);
|
1179
|
-
i0.ɵɵlistener("click", function TdNavigationDrawerComponent_ng_container_2_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.handleNavigationClick(); });
|
1180
|
-
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_1_Template, 2, 1, "mat-icon", 1);
|
1181
|
-
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_2_Template, 1, 1, "mat-icon", 8);
|
1182
|
-
i0.ɵɵtemplate(3, TdNavigationDrawerComponent_ng_container_2_div_1_img_3_Template, 1, 1, "img", 9);
|
1183
|
-
i0.ɵɵtemplate(4, TdNavigationDrawerComponent_ng_container_2_div_1_span_4_Template, 2, 1, "span", 10);
|
1184
|
-
i0.ɵɵelementEnd();
|
1185
|
-
}
|
1186
|
-
if (rf & 2) {
|
1187
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
1188
|
-
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
1189
|
-
i0.ɵɵadvance(1);
|
1190
|
-
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
1191
|
-
i0.ɵɵadvance(1);
|
1192
|
-
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
1193
|
-
i0.ɵɵadvance(1);
|
1194
|
-
i0.ɵɵproperty("ngIf", ctx_r1.avatar && !ctx_r1.logo && !ctx_r1.icon);
|
1195
|
-
i0.ɵɵadvance(1);
|
1196
|
-
i0.ɵɵproperty("ngIf", ctx_r1.sidenavTitle);
|
1197
|
-
}
|
1198
|
-
}
|
1199
|
-
function TdNavigationDrawerComponent_ng_container_2_div_2_Template(rf, ctx) {
|
1200
|
-
if (rf & 1) {
|
1201
|
-
i0.ɵɵelementStart(0, "div", 14);
|
1202
|
-
i0.ɵɵtext(1);
|
1203
|
-
i0.ɵɵelementEnd();
|
1204
|
-
}
|
1205
|
-
if (rf & 2) {
|
1206
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
1207
|
-
i0.ɵɵadvance(1);
|
1208
|
-
i0.ɵɵtextInterpolate(ctx_r2.name);
|
1209
|
-
}
|
1210
|
-
}
|
1211
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_1_Template(rf, ctx) {
|
1212
|
-
if (rf & 1) {
|
1213
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
1214
|
-
i0.ɵɵtext(1, "arrow_drop_down");
|
1215
|
-
i0.ɵɵelementEnd();
|
1216
|
-
}
|
1217
|
-
}
|
1218
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_2_Template(rf, ctx) {
|
1219
|
-
if (rf & 1) {
|
1220
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
1221
|
-
i0.ɵɵtext(1, "arrow_drop_up");
|
1222
|
-
i0.ɵɵelementEnd();
|
1223
|
-
}
|
1224
|
-
}
|
1225
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_Template(rf, ctx) {
|
1226
|
-
if (rf & 1) {
|
1227
|
-
i0.ɵɵelementStart(0, "button", 18);
|
1228
|
-
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_1_Template, 2, 0, "mat-icon", 1);
|
1229
|
-
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_2_Template, 2, 0, "mat-icon", 1);
|
1230
|
-
i0.ɵɵelementEnd();
|
1231
|
-
}
|
1232
|
-
if (rf & 2) {
|
1233
|
-
const ctx_r10 = i0.ɵɵnextContext(3);
|
1234
|
-
i0.ɵɵadvance(1);
|
1235
|
-
i0.ɵɵproperty("ngIf", !ctx_r10.menuToggled);
|
1236
|
-
i0.ɵɵadvance(1);
|
1237
|
-
i0.ɵɵproperty("ngIf", ctx_r10.menuToggled);
|
1238
|
-
}
|
1239
|
-
}
|
1240
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_Template(rf, ctx) {
|
1241
|
-
if (rf & 1) {
|
1242
|
-
const _r14 = i0.ɵɵgetCurrentView();
|
1243
|
-
i0.ɵɵelementStart(0, "div", 15);
|
1244
|
-
i0.ɵɵlistener("click", function TdNavigationDrawerComponent_ng_container_2_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(2); return ctx_r13.toggleMenu(); });
|
1245
|
-
i0.ɵɵelementStart(1, "span", 16);
|
1246
|
-
i0.ɵɵtext(2);
|
1247
|
-
i0.ɵɵelementEnd();
|
1248
|
-
i0.ɵɵtemplate(3, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_Template, 3, 2, "button", 17);
|
1249
|
-
i0.ɵɵelementEnd();
|
1250
|
-
}
|
1251
|
-
if (rf & 2) {
|
1252
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
1253
|
-
i0.ɵɵadvance(2);
|
1254
|
-
i0.ɵɵtextInterpolate(ctx_r3.email || ctx_r3.name);
|
1255
|
-
i0.ɵɵadvance(1);
|
1256
|
-
i0.ɵɵproperty("ngIf", ctx_r3.isMenuAvailable);
|
1257
|
-
}
|
1258
|
-
}
|
1259
|
-
function TdNavigationDrawerComponent_ng_container_2_Template(rf, ctx) {
|
1260
|
-
if (rf & 1) {
|
1261
|
-
i0.ɵɵelementContainerStart(0);
|
1262
|
-
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_1_Template, 5, 6, "div", 4);
|
1263
|
-
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_div_2_Template, 2, 1, "div", 5);
|
1264
|
-
i0.ɵɵtemplate(3, TdNavigationDrawerComponent_ng_container_2_div_3_Template, 4, 2, "div", 6);
|
1265
|
-
i0.ɵɵelementContainerEnd();
|
1266
|
-
}
|
1267
|
-
if (rf & 2) {
|
1268
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
1269
|
-
i0.ɵɵadvance(1);
|
1270
|
-
i0.ɵɵproperty("ngIf", ctx_r0.icon || ctx_r0.logo || ctx_r0.sidenavTitle || ctx_r0.avatar);
|
1271
|
-
i0.ɵɵadvance(1);
|
1272
|
-
i0.ɵɵproperty("ngIf", ctx_r0.email && ctx_r0.name);
|
1273
|
-
i0.ɵɵadvance(1);
|
1274
|
-
i0.ɵɵproperty("ngIf", ctx_r0.email || ctx_r0.name);
|
1275
|
-
}
|
1276
|
-
}
|
1277
|
-
const _c0 = [[["", "td-navigation-drawer-toolbar", ""]], "*", [["", "td-navigation-drawer-menu", ""]]];
|
1278
|
-
const _c1 = ["[td-navigation-drawer-toolbar]", "*", "[td-navigation-drawer-menu]"];
|
1279
774
|
class TdNavigationDrawerMenuDirective {
|
1280
775
|
}
|
1281
|
-
|
1282
|
-
|
1283
|
-
(
|
1284
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdNavigationDrawerMenuDirective, [{
|
776
|
+
TdNavigationDrawerMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerMenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
777
|
+
TdNavigationDrawerMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdNavigationDrawerMenuDirective, selector: "[tdNavigationDrawerMenu]", ngImport: i0 });
|
778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerMenuDirective, decorators: [{
|
1285
779
|
type: Directive,
|
1286
780
|
args: [{
|
1287
|
-
selector: '[
|
781
|
+
selector: '[tdNavigationDrawerMenu]',
|
1288
782
|
}]
|
1289
|
-
}]
|
1290
|
-
})();
|
783
|
+
}] });
|
1291
784
|
class TdNavigationDrawerToolbarDirective {
|
1292
785
|
}
|
1293
|
-
|
1294
|
-
|
1295
|
-
(
|
1296
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdNavigationDrawerToolbarDirective, [{
|
786
|
+
TdNavigationDrawerToolbarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerToolbarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
787
|
+
TdNavigationDrawerToolbarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdNavigationDrawerToolbarDirective, selector: "[tdNavigationDrawerToolbar]", ngImport: i0 });
|
788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerToolbarDirective, decorators: [{
|
1297
789
|
type: Directive,
|
1298
790
|
args: [{
|
1299
|
-
selector: '[
|
791
|
+
selector: '[tdNavigationDrawerToolbar]',
|
1300
792
|
}]
|
1301
|
-
}]
|
1302
|
-
})();
|
793
|
+
}] });
|
1303
794
|
class TdNavigationDrawerComponent {
|
1304
795
|
constructor(_layout, _router, _sanitize) {
|
1305
796
|
this._layout = _layout;
|
@@ -1368,7 +859,7 @@ class TdNavigationDrawerComponent {
|
|
1368
859
|
}
|
1369
860
|
}
|
1370
861
|
handleNavigationClick() {
|
1371
|
-
if (this.routerEnabled) {
|
862
|
+
if (this.routerEnabled && this.navigationRoute) {
|
1372
863
|
this._router.navigateByUrl(this.navigationRoute);
|
1373
864
|
this.close();
|
1374
865
|
}
|
@@ -1392,55 +883,19 @@ class TdNavigationDrawerComponent {
|
|
1392
883
|
return this._layout.close();
|
1393
884
|
}
|
1394
885
|
}
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
i0.ɵɵcontentQuery(dirIndex, TdNavigationDrawerMenuDirective, 5);
|
1399
|
-
i0.ɵɵcontentQuery(dirIndex, TdNavigationDrawerToolbarDirective, 5);
|
1400
|
-
}
|
1401
|
-
if (rf & 2) {
|
1402
|
-
let _t;
|
1403
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._drawerMenu = _t);
|
1404
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._toolbar = _t);
|
1405
|
-
}
|
1406
|
-
}, inputs: { sidenavTitle: "sidenavTitle", icon: "icon", logo: "logo", avatar: "avatar", color: "color", navigationRoute: "navigationRoute", backgroundUrl: "backgroundUrl", name: "name", email: "email" }, ngContentSelectors: _c1, decls: 7, vars: 8, consts: [[1, "td-nagivation-drawer-toolbar", 3, "color"], [4, "ngIf"], [1, "td-navigation-drawer-content"], [1, "td-navigation-drawer-menu-content"], ["class", "td-navigation-drawer-toolbar-content", 3, "cursor-pointer", "click", 4, "ngIf"], ["class", "td-navigation-drawer-name", 4, "ngIf"], ["class", "td-navigation-drawer-menu-toggle", "href", "", 3, "click", 4, "ngIf"], [1, "td-navigation-drawer-toolbar-content", 3, "click"], ["class", "mat-icon-logo", 3, "svgIcon", 4, "ngIf"], ["class", "td-nagivation-drawer-toolbar-avatar", 4, "ngIf"], ["class", "td-navigation-drawer-title", 4, "ngIf"], [1, "mat-icon-logo", 3, "svgIcon"], [1, "td-nagivation-drawer-toolbar-avatar"], [1, "td-navigation-drawer-title"], [1, "td-navigation-drawer-name"], ["href", "", 1, "td-navigation-drawer-menu-toggle", 3, "click"], [1, "td-navigation-drawer-label"], ["mat-icon-button", "", "class", "td-navigation-drawer-menu-button", 4, "ngIf"], ["mat-icon-button", "", 1, "td-navigation-drawer-menu-button"]], template: function TdNavigationDrawerComponent_Template(rf, ctx) {
|
1407
|
-
if (rf & 1) {
|
1408
|
-
i0.ɵɵprojectionDef(_c0);
|
1409
|
-
i0.ɵɵelementStart(0, "mat-toolbar", 0);
|
1410
|
-
i0.ɵɵprojection(1);
|
1411
|
-
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_Template, 4, 3, "ng-container", 1);
|
1412
|
-
i0.ɵɵelementEnd();
|
1413
|
-
i0.ɵɵelementStart(3, "div", 2);
|
1414
|
-
i0.ɵɵprojection(4, 1);
|
1415
|
-
i0.ɵɵelementEnd();
|
1416
|
-
i0.ɵɵelementStart(5, "div", 3);
|
1417
|
-
i0.ɵɵprojection(6, 2);
|
1418
|
-
i0.ɵɵelementEnd();
|
1419
|
-
}
|
1420
|
-
if (rf & 2) {
|
1421
|
-
i0.ɵɵstyleProp("background-image", ctx.backgroundImage);
|
1422
|
-
i0.ɵɵclassProp("td-toolbar-background", !!ctx.isBackgroundAvailable);
|
1423
|
-
i0.ɵɵproperty("color", ctx.color);
|
1424
|
-
i0.ɵɵadvance(2);
|
1425
|
-
i0.ɵɵproperty("ngIf", !ctx.isCustomToolbar);
|
1426
|
-
i0.ɵɵadvance(1);
|
1427
|
-
i0.ɵɵproperty("@tdCollapse", ctx.menuToggled);
|
1428
|
-
i0.ɵɵadvance(2);
|
1429
|
-
i0.ɵɵproperty("@tdCollapse", !ctx.menuToggled);
|
1430
|
-
}
|
1431
|
-
}, directives: [i3.MatToolbar, i3$1.NgIf, i5.MatIcon, i6.MatButton], styles: ["[_nghost-%COMP%]{width:100%}[_nghost-%COMP%] .td-navigation-drawer-content.ng-animating[_ngcontent-%COMP%], [_nghost-%COMP%] .td-navigation-drawer-menu-content.ng-animating[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{padding:16px}[_nghost-%COMP%] mat-toolbar.td-toolbar-background[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:cover}[_nghost-%COMP%] mat-toolbar.td-nagivation-drawer-toolbar[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column;height:auto!important;display:block!important}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-toolbar-content[_ngcontent-%COMP%]{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:start;justify-content:flex-start}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-toolbar-content[_ngcontent-%COMP%] .td-nagivation-drawer-toolbar-avatar[_ngcontent-%COMP%]{border-radius:50%;height:60px;width:60px;margin:0 12px 12px 0}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-toolbar-content[_ngcontent-%COMP%] .td-navigation-drawer-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-menu-toggle[_ngcontent-%COMP%]{-ms-flex-direction:row;flex-direction:row;box-sizing:border-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-menu-toggle[_ngcontent-%COMP%] .td-navigation-drawer-label[_ngcontent-%COMP%]{-ms-flex:1;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-menu-toggle[_ngcontent-%COMP%] .td-navigation-drawer-menu-button[_ngcontent-%COMP%]{height:24px;line-height:24px;width:24px}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden}"], data: { animation: [tdCollapseAnimation] } });
|
1432
|
-
(function () {
|
1433
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdNavigationDrawerComponent, [{
|
886
|
+
TdNavigationDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerComponent, deps: [{ token: forwardRef(() => TdLayoutComponent) }, { token: i1$1.Router, optional: true }, { token: i2$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
887
|
+
TdNavigationDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdNavigationDrawerComponent, selector: "td-navigation-drawer", inputs: { sidenavTitle: "sidenavTitle", icon: "icon", logo: "logo", avatar: "avatar", color: "color", navigationRoute: "navigationRoute", backgroundUrl: "backgroundUrl", name: "name", email: "email" }, queries: [{ propertyName: "_drawerMenu", predicate: TdNavigationDrawerMenuDirective, descendants: true }, { propertyName: "_toolbar", predicate: TdNavigationDrawerToolbarDirective, descendants: true }], ngImport: i0, template: "<mat-toolbar\n [color]=\"color\"\n [style.background-image]=\"backgroundImage\"\n [class.td-toolbar-background]=\"!!isBackgroundAvailable\"\n class=\"td-nagivation-drawer-toolbar\"\n>\n <ng-content select=\"[td-navigation-drawer-toolbar]\"></ng-content>\n <ng-container *ngIf=\"!isCustomToolbar\">\n <div\n *ngIf=\"icon || logo || sidenavTitle || avatar\"\n class=\"td-navigation-drawer-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <img\n *ngIf=\"avatar && !logo && !icon\"\n class=\"td-nagivation-drawer-toolbar-avatar\"\n [attr.src]=\"avatar\"\n />\n <span *ngIf=\"sidenavTitle\" class=\"td-navigation-drawer-title\">{{\n sidenavTitle\n }}</span>\n </div>\n <div class=\"td-navigation-drawer-name\" *ngIf=\"email && name\">\n {{ name }}\n </div>\n <div\n class=\"td-navigation-drawer-menu-toggle\"\n href\n *ngIf=\"email || name\"\n (click)=\"toggleMenu()\"\n >\n <span class=\"td-navigation-drawer-label\">{{ email || name }}</span>\n <button\n mat-icon-button\n class=\"td-navigation-drawer-menu-button\"\n *ngIf=\"isMenuAvailable\"\n >\n <mat-icon *ngIf=\"!menuToggled\">arrow_drop_down</mat-icon>\n <mat-icon *ngIf=\"menuToggled\">arrow_drop_up</mat-icon>\n </button>\n </div>\n </ng-container>\n</mat-toolbar>\n<div class=\"td-navigation-drawer-content\" [@tdCollapse]=\"menuToggled\">\n <ng-content></ng-content>\n</div>\n<div class=\"td-navigation-drawer-menu-content\" [@tdCollapse]=\"!menuToggled\">\n <ng-content select=\"[td-navigation-drawer-menu]\"></ng-content>\n</div>\n", styles: [":host{width:100%}:host .td-navigation-drawer-content.ng-animating,:host .td-navigation-drawer-menu-content.ng-animating{overflow:hidden}:host mat-toolbar{padding:16px}:host mat-toolbar.td-toolbar-background{background-repeat:no-repeat;background-size:cover}:host mat-toolbar.td-nagivation-drawer-toolbar{flex-direction:column;height:auto!important;display:block!important}:host mat-toolbar .td-navigation-drawer-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-nagivation-drawer-toolbar-avatar{border-radius:50%;height:60px;width:60px;margin:0 12px 12px 0}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-navigation-drawer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle{flex-direction:row;box-sizing:border-box;display:flex}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-menu-button{height:24px;line-height:24px;width:24px}:host>div{overflow:hidden}\n"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [tdCollapseAnimation] });
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerComponent, decorators: [{
|
1434
889
|
type: Component,
|
1435
|
-
args: [{ selector: 'td-navigation-drawer', animations: [tdCollapseAnimation], template: "<mat-toolbar\n [color]=\"color\"\n [style.background-image]=\"backgroundImage\"\n [class.td-toolbar-background]=\"!!isBackgroundAvailable\"\n class=\"td-nagivation-drawer-toolbar\"\n>\n <ng-content select=\"[td-navigation-drawer-toolbar]\"></ng-content>\n <ng-container *ngIf=\"!isCustomToolbar\">\n <div\n *ngIf=\"icon || logo || sidenavTitle || avatar\"\n class=\"td-navigation-drawer-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon
|
1436
|
-
}], function () {
|
890
|
+
args: [{ selector: 'td-navigation-drawer', animations: [tdCollapseAnimation], template: "<mat-toolbar\n [color]=\"color\"\n [style.background-image]=\"backgroundImage\"\n [class.td-toolbar-background]=\"!!isBackgroundAvailable\"\n class=\"td-nagivation-drawer-toolbar\"\n>\n <ng-content select=\"[td-navigation-drawer-toolbar]\"></ng-content>\n <ng-container *ngIf=\"!isCustomToolbar\">\n <div\n *ngIf=\"icon || logo || sidenavTitle || avatar\"\n class=\"td-navigation-drawer-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <img\n *ngIf=\"avatar && !logo && !icon\"\n class=\"td-nagivation-drawer-toolbar-avatar\"\n [attr.src]=\"avatar\"\n />\n <span *ngIf=\"sidenavTitle\" class=\"td-navigation-drawer-title\">{{\n sidenavTitle\n }}</span>\n </div>\n <div class=\"td-navigation-drawer-name\" *ngIf=\"email && name\">\n {{ name }}\n </div>\n <div\n class=\"td-navigation-drawer-menu-toggle\"\n href\n *ngIf=\"email || name\"\n (click)=\"toggleMenu()\"\n >\n <span class=\"td-navigation-drawer-label\">{{ email || name }}</span>\n <button\n mat-icon-button\n class=\"td-navigation-drawer-menu-button\"\n *ngIf=\"isMenuAvailable\"\n >\n <mat-icon *ngIf=\"!menuToggled\">arrow_drop_down</mat-icon>\n <mat-icon *ngIf=\"menuToggled\">arrow_drop_up</mat-icon>\n </button>\n </div>\n </ng-container>\n</mat-toolbar>\n<div class=\"td-navigation-drawer-content\" [@tdCollapse]=\"menuToggled\">\n <ng-content></ng-content>\n</div>\n<div class=\"td-navigation-drawer-menu-content\" [@tdCollapse]=\"!menuToggled\">\n <ng-content select=\"[td-navigation-drawer-menu]\"></ng-content>\n</div>\n", styles: [":host{width:100%}:host .td-navigation-drawer-content.ng-animating,:host .td-navigation-drawer-menu-content.ng-animating{overflow:hidden}:host mat-toolbar{padding:16px}:host mat-toolbar.td-toolbar-background{background-repeat:no-repeat;background-size:cover}:host mat-toolbar.td-nagivation-drawer-toolbar{flex-direction:column;height:auto!important;display:block!important}:host mat-toolbar .td-navigation-drawer-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-nagivation-drawer-toolbar-avatar{border-radius:50%;height:60px;width:60px;margin:0 12px 12px 0}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-navigation-drawer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle{flex-direction:row;box-sizing:border-box;display:flex}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-menu-button{height:24px;line-height:24px;width:24px}:host>div{overflow:hidden}\n"] }]
|
891
|
+
}], ctorParameters: function () {
|
1437
892
|
return [{ type: TdLayoutComponent, decorators: [{
|
1438
893
|
type: Inject,
|
1439
894
|
args: [forwardRef(() => TdLayoutComponent)]
|
1440
895
|
}] }, { type: i1$1.Router, decorators: [{
|
1441
896
|
type: Optional
|
1442
897
|
}] }, { type: i2$1.DomSanitizer }];
|
1443
|
-
}, { _drawerMenu: [{
|
898
|
+
}, propDecorators: { _drawerMenu: [{
|
1444
899
|
type: ContentChildren,
|
1445
900
|
args: [TdNavigationDrawerMenuDirective, { descendants: true }]
|
1446
901
|
}], _toolbar: [{
|
@@ -1459,14 +914,12 @@ class TdNavigationDrawerComponent {
|
|
1459
914
|
}], navigationRoute: [{
|
1460
915
|
type: Input
|
1461
916
|
}], backgroundUrl: [{
|
1462
|
-
type: Input
|
1463
|
-
args: ['backgroundUrl']
|
917
|
+
type: Input
|
1464
918
|
}], name: [{
|
1465
919
|
type: Input
|
1466
920
|
}], email: [{
|
1467
921
|
type: Input
|
1468
|
-
}] });
|
1469
|
-
})();
|
922
|
+
}] } });
|
1470
923
|
|
1471
924
|
const TD_LAYOUTS = [
|
1472
925
|
TdLayoutComponent,
|
@@ -1490,9 +943,51 @@ const TD_LAYOUTS = [
|
|
1490
943
|
];
|
1491
944
|
class CovalentLayoutModule {
|
1492
945
|
}
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
946
|
+
CovalentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
947
|
+
CovalentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, declarations: [TdLayoutComponent,
|
948
|
+
TdLayoutToggleDirective,
|
949
|
+
TdLayoutCloseDirective,
|
950
|
+
TdLayoutOpenDirective,
|
951
|
+
TdLayoutNavComponent,
|
952
|
+
TdLayoutNavListComponent,
|
953
|
+
TdLayoutNavListToggleDirective,
|
954
|
+
TdLayoutNavListCloseDirective,
|
955
|
+
TdLayoutNavListOpenDirective,
|
956
|
+
TdLayoutCardOverComponent,
|
957
|
+
TdLayoutManageListComponent,
|
958
|
+
TdLayoutManageListToggleDirective,
|
959
|
+
TdLayoutManageListCloseDirective,
|
960
|
+
TdLayoutManageListOpenDirective,
|
961
|
+
TdLayoutFooterComponent,
|
962
|
+
TdNavigationDrawerComponent,
|
963
|
+
TdNavigationDrawerMenuDirective,
|
964
|
+
TdNavigationDrawerToolbarDirective], imports: [CommonModule,
|
965
|
+
ScrollingModule,
|
966
|
+
MatSidenavModule,
|
967
|
+
MatToolbarModule,
|
968
|
+
MatButtonModule,
|
969
|
+
MatIconModule,
|
970
|
+
MatCardModule,
|
971
|
+
MatDividerModule,
|
972
|
+
CovalentMenuModule], exports: [TdLayoutComponent,
|
973
|
+
TdLayoutToggleDirective,
|
974
|
+
TdLayoutCloseDirective,
|
975
|
+
TdLayoutOpenDirective,
|
976
|
+
TdLayoutNavComponent,
|
977
|
+
TdLayoutNavListComponent,
|
978
|
+
TdLayoutNavListToggleDirective,
|
979
|
+
TdLayoutNavListCloseDirective,
|
980
|
+
TdLayoutNavListOpenDirective,
|
981
|
+
TdLayoutCardOverComponent,
|
982
|
+
TdLayoutManageListComponent,
|
983
|
+
TdLayoutManageListToggleDirective,
|
984
|
+
TdLayoutManageListCloseDirective,
|
985
|
+
TdLayoutManageListOpenDirective,
|
986
|
+
TdLayoutFooterComponent,
|
987
|
+
TdNavigationDrawerComponent,
|
988
|
+
TdNavigationDrawerMenuDirective,
|
989
|
+
TdNavigationDrawerToolbarDirective] });
|
990
|
+
CovalentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, imports: [[
|
1496
991
|
CommonModule,
|
1497
992
|
ScrollingModule,
|
1498
993
|
MatSidenavModule,
|
@@ -1503,8 +998,7 @@ class CovalentLayoutModule {
|
|
1503
998
|
MatDividerModule,
|
1504
999
|
CovalentMenuModule,
|
1505
1000
|
]] });
|
1506
|
-
(
|
1507
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentLayoutModule, [{
|
1001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, decorators: [{
|
1508
1002
|
type: NgModule,
|
1509
1003
|
args: [{
|
1510
1004
|
imports: [
|
@@ -1518,56 +1012,10 @@ class CovalentLayoutModule {
|
|
1518
1012
|
MatDividerModule,
|
1519
1013
|
CovalentMenuModule,
|
1520
1014
|
],
|
1521
|
-
declarations: [TD_LAYOUTS],
|
1522
|
-
exports: [TD_LAYOUTS],
|
1015
|
+
declarations: [...TD_LAYOUTS],
|
1016
|
+
exports: [...TD_LAYOUTS],
|
1523
1017
|
}]
|
1524
|
-
}]
|
1525
|
-
})();
|
1526
|
-
(function () {
|
1527
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentLayoutModule, { declarations: [TdLayoutComponent,
|
1528
|
-
TdLayoutToggleDirective,
|
1529
|
-
TdLayoutCloseDirective,
|
1530
|
-
TdLayoutOpenDirective,
|
1531
|
-
TdLayoutNavComponent,
|
1532
|
-
TdLayoutNavListComponent,
|
1533
|
-
TdLayoutNavListToggleDirective,
|
1534
|
-
TdLayoutNavListCloseDirective,
|
1535
|
-
TdLayoutNavListOpenDirective,
|
1536
|
-
TdLayoutCardOverComponent,
|
1537
|
-
TdLayoutManageListComponent,
|
1538
|
-
TdLayoutManageListToggleDirective,
|
1539
|
-
TdLayoutManageListCloseDirective,
|
1540
|
-
TdLayoutManageListOpenDirective,
|
1541
|
-
TdLayoutFooterComponent,
|
1542
|
-
TdNavigationDrawerComponent,
|
1543
|
-
TdNavigationDrawerMenuDirective,
|
1544
|
-
TdNavigationDrawerToolbarDirective], imports: [CommonModule,
|
1545
|
-
ScrollingModule,
|
1546
|
-
MatSidenavModule,
|
1547
|
-
MatToolbarModule,
|
1548
|
-
MatButtonModule,
|
1549
|
-
MatIconModule,
|
1550
|
-
MatCardModule,
|
1551
|
-
MatDividerModule,
|
1552
|
-
CovalentMenuModule], exports: [TdLayoutComponent,
|
1553
|
-
TdLayoutToggleDirective,
|
1554
|
-
TdLayoutCloseDirective,
|
1555
|
-
TdLayoutOpenDirective,
|
1556
|
-
TdLayoutNavComponent,
|
1557
|
-
TdLayoutNavListComponent,
|
1558
|
-
TdLayoutNavListToggleDirective,
|
1559
|
-
TdLayoutNavListCloseDirective,
|
1560
|
-
TdLayoutNavListOpenDirective,
|
1561
|
-
TdLayoutCardOverComponent,
|
1562
|
-
TdLayoutManageListComponent,
|
1563
|
-
TdLayoutManageListToggleDirective,
|
1564
|
-
TdLayoutManageListCloseDirective,
|
1565
|
-
TdLayoutManageListOpenDirective,
|
1566
|
-
TdLayoutFooterComponent,
|
1567
|
-
TdNavigationDrawerComponent,
|
1568
|
-
TdNavigationDrawerMenuDirective,
|
1569
|
-
TdNavigationDrawerToolbarDirective] });
|
1570
|
-
})();
|
1018
|
+
}] });
|
1571
1019
|
|
1572
1020
|
/**
|
1573
1021
|
* Generated bundle index. Do not edit.
|