@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,42 +91,23 @@ class TdLayoutComponent {
|
|
93
91
|
return this.sidenav.close();
|
94
92
|
}
|
95
93
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
i0.ɵɵadvance(1);
|
114
|
-
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
115
|
-
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
116
|
-
} }, 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}"] });
|
117
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutComponent, [{
|
118
|
-
type: Component,
|
119
|
-
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:-ms-flexbox;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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}\n"] }]
|
120
|
-
}], null, { sidenav: [{
|
121
|
-
type: ViewChild,
|
122
|
-
args: [MatSidenav, { static: true }]
|
123
|
-
}], mode: [{
|
124
|
-
type: Input
|
125
|
-
}], opened: [{
|
126
|
-
type: Input
|
127
|
-
}], sidenavWidth: [{
|
128
|
-
type: Input
|
129
|
-
}], containerAutosize: [{
|
130
|
-
type: Input
|
131
|
-
}] }); })();
|
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: [{
|
97
|
+
type: Component,
|
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: [{
|
100
|
+
type: ViewChild,
|
101
|
+
args: [MatSidenav, { static: true }]
|
102
|
+
}], mode: [{
|
103
|
+
type: Input
|
104
|
+
}], opened: [{
|
105
|
+
type: Input
|
106
|
+
}], sidenavWidth: [{
|
107
|
+
type: Input
|
108
|
+
}], containerAutosize: [{
|
109
|
+
type: Input
|
110
|
+
}] } });
|
132
111
|
|
133
112
|
class LayoutToggleBase {
|
134
113
|
}
|
@@ -185,7 +164,8 @@ class BaseLayoutToggleDirective extends _TdLayoutToggleMixinBase {
|
|
185
164
|
if (!this.disabled) {
|
186
165
|
// if layout has been provided, try triggering the click on it
|
187
166
|
// else show warn message
|
188
|
-
|
167
|
+
console.log(this._layout.opened);
|
168
|
+
if (this._layout && !this._layout.opened) {
|
189
169
|
this.onClick();
|
190
170
|
}
|
191
171
|
else {
|
@@ -208,19 +188,16 @@ class BaseLayoutToggleDirective extends _TdLayoutToggleMixinBase {
|
|
208
188
|
console.warn('Covalent: Parent layout not found for layout toggle directive');
|
209
189
|
}
|
210
190
|
}
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
type: HostListener,
|
222
|
-
args: ['click', ['$event']]
|
223
|
-
}] }); })();
|
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: [{
|
194
|
+
type: Directive
|
195
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { hideWhenOpened: [{
|
196
|
+
type: Input
|
197
|
+
}], clickListener: [{
|
198
|
+
type: HostListener,
|
199
|
+
args: ['click', ['$event']]
|
200
|
+
}] } });
|
224
201
|
|
225
202
|
class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
|
226
203
|
constructor(layout, renderer, elementRef) {
|
@@ -233,22 +210,21 @@ class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
|
|
233
210
|
this._layout.toggle();
|
234
211
|
}
|
235
212
|
}
|
236
|
-
|
237
|
-
|
238
|
-
(
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
}] }); })();
|
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: [{
|
216
|
+
type: Directive,
|
217
|
+
args: [{
|
218
|
+
selector: '[tdLayoutToggle]',
|
219
|
+
}]
|
220
|
+
}], ctorParameters: function () { return [{ type: TdLayoutComponent, decorators: [{
|
221
|
+
type: Optional
|
222
|
+
}, {
|
223
|
+
type: Inject,
|
224
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
225
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutToggle: [{
|
226
|
+
type: Input
|
227
|
+
}] } });
|
252
228
|
class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
|
253
229
|
constructor(layout, renderer, elementRef) {
|
254
230
|
super(layout, renderer, elementRef);
|
@@ -260,22 +236,21 @@ class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
|
|
260
236
|
this._layout.close();
|
261
237
|
}
|
262
238
|
}
|
263
|
-
|
264
|
-
|
265
|
-
(
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
}] }); })();
|
239
|
+
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 });
|
240
|
+
TdLayoutCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutCloseDirective, selector: "[tdLayoutClose]", inputs: { tdLayoutClose: "tdLayoutClose" }, usesInheritance: true, ngImport: i0 });
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutCloseDirective, decorators: [{
|
242
|
+
type: Directive,
|
243
|
+
args: [{
|
244
|
+
selector: '[tdLayoutClose]',
|
245
|
+
}]
|
246
|
+
}], ctorParameters: function () { return [{ type: TdLayoutComponent, decorators: [{
|
247
|
+
type: Optional
|
248
|
+
}, {
|
249
|
+
type: Inject,
|
250
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
251
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutClose: [{
|
252
|
+
type: Input
|
253
|
+
}] } });
|
279
254
|
class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
|
280
255
|
constructor(layout, renderer, elementRef) {
|
281
256
|
super(layout, renderer, elementRef);
|
@@ -287,67 +262,23 @@ class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
|
|
287
262
|
this._layout.open();
|
288
263
|
}
|
289
264
|
}
|
290
|
-
|
291
|
-
|
292
|
-
(
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
265
|
+
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 });
|
266
|
+
TdLayoutOpenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutOpenDirective, selector: "[tdLayoutOpen]", inputs: { tdLayoutClose: ["tdLayoutOpen", "tdLayoutClose"] }, usesInheritance: true, ngImport: i0 });
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutOpenDirective, decorators: [{
|
268
|
+
type: Directive,
|
269
|
+
args: [{
|
270
|
+
selector: '[tdLayoutOpen]',
|
271
|
+
}]
|
272
|
+
}], ctorParameters: function () { return [{ type: TdLayoutComponent, decorators: [{
|
273
|
+
type: Optional
|
274
|
+
}, {
|
275
|
+
type: Inject,
|
276
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
277
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutClose: [{
|
278
|
+
type: Input,
|
279
|
+
args: ['tdLayoutOpen']
|
280
|
+
}] } });
|
306
281
|
|
307
|
-
function TdLayoutNavComponent_span_3_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
308
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
309
|
-
i0.ɵɵtext(1);
|
310
|
-
i0.ɵɵelementEnd();
|
311
|
-
} if (rf & 2) {
|
312
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
313
|
-
i0.ɵɵadvance(1);
|
314
|
-
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
315
|
-
} }
|
316
|
-
function TdLayoutNavComponent_span_3_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
317
|
-
i0.ɵɵelement(0, "mat-icon", 7);
|
318
|
-
} if (rf & 2) {
|
319
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
320
|
-
i0.ɵɵproperty("svgIcon", ctx_r2.logo);
|
321
|
-
} }
|
322
|
-
function TdLayoutNavComponent_span_3_span_3_Template(rf, ctx) { if (rf & 1) {
|
323
|
-
i0.ɵɵelementStart(0, "span");
|
324
|
-
i0.ɵɵtext(1);
|
325
|
-
i0.ɵɵelementEnd();
|
326
|
-
} if (rf & 2) {
|
327
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
328
|
-
i0.ɵɵadvance(1);
|
329
|
-
i0.ɵɵtextInterpolate(ctx_r3.toolbarTitle);
|
330
|
-
} }
|
331
|
-
function TdLayoutNavComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
332
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
333
|
-
i0.ɵɵelementStart(0, "span", 4);
|
334
|
-
i0.ɵɵlistener("click", function TdLayoutNavComponent_span_3_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.handleNavigationClick(); });
|
335
|
-
i0.ɵɵtemplate(1, TdLayoutNavComponent_span_3_mat_icon_1_Template, 2, 1, "mat-icon", 5);
|
336
|
-
i0.ɵɵtemplate(2, TdLayoutNavComponent_span_3_mat_icon_2_Template, 1, 1, "mat-icon", 6);
|
337
|
-
i0.ɵɵtemplate(3, TdLayoutNavComponent_span_3_span_3_Template, 2, 1, "span", 5);
|
338
|
-
i0.ɵɵelementEnd();
|
339
|
-
} if (rf & 2) {
|
340
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
341
|
-
i0.ɵɵclassProp("cursor-pointer", ctx_r0.routerEnabled);
|
342
|
-
i0.ɵɵadvance(1);
|
343
|
-
i0.ɵɵproperty("ngIf", ctx_r0.icon);
|
344
|
-
i0.ɵɵadvance(1);
|
345
|
-
i0.ɵɵproperty("ngIf", ctx_r0.logo && !ctx_r0.icon);
|
346
|
-
i0.ɵɵadvance(1);
|
347
|
-
i0.ɵɵproperty("ngIf", ctx_r0.toolbarTitle);
|
348
|
-
} }
|
349
|
-
const _c0$5 = [[["", "td-menu-button", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer"]]];
|
350
|
-
const _c1$4 = ["[td-menu-button]", "[td-toolbar-content]", "*", "td-layout-footer"];
|
351
282
|
class TdLayoutNavComponent {
|
352
283
|
constructor(_router) {
|
353
284
|
this._router = _router;
|
@@ -366,92 +297,30 @@ class TdLayoutNavComponent {
|
|
366
297
|
return !!this._router && !!this.navigationRoute;
|
367
298
|
}
|
368
299
|
handleNavigationClick() {
|
369
|
-
if (this.routerEnabled) {
|
300
|
+
if (this.routerEnabled && this.navigationRoute) {
|
370
301
|
this._router.navigateByUrl(this.navigationRoute);
|
371
302
|
}
|
372
303
|
}
|
373
304
|
}
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
393
|
-
} }, 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}"] });
|
394
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavComponent, [{
|
395
|
-
type: Component,
|
396
|
-
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 *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></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:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host .td-layout-nav-wrapper{-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%}:host .td-layout-nav-wrapper .td-layout-nav-toolbar-content{-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}:host .td-layout-nav-wrapper .td-layout-nav-content{-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}\n"] }]
|
397
|
-
}], function () { return [{ type: i1$1.Router, decorators: [{
|
398
|
-
type: Optional
|
399
|
-
}] }]; }, { toolbarTitle: [{
|
400
|
-
type: Input
|
401
|
-
}], icon: [{
|
402
|
-
type: Input
|
403
|
-
}], logo: [{
|
404
|
-
type: Input
|
405
|
-
}], color: [{
|
406
|
-
type: Input
|
407
|
-
}], navigationRoute: [{
|
408
|
-
type: Input
|
409
|
-
}] }); })();
|
305
|
+
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 });
|
306
|
+
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]" }] });
|
307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavComponent, decorators: [{
|
308
|
+
type: Component,
|
309
|
+
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"] }]
|
310
|
+
}], ctorParameters: function () { return [{ type: i1$1.Router, decorators: [{
|
311
|
+
type: Optional
|
312
|
+
}] }]; }, propDecorators: { toolbarTitle: [{
|
313
|
+
type: Input
|
314
|
+
}], icon: [{
|
315
|
+
type: Input
|
316
|
+
}], logo: [{
|
317
|
+
type: Input
|
318
|
+
}], color: [{
|
319
|
+
type: Input
|
320
|
+
}], navigationRoute: [{
|
321
|
+
type: Input
|
322
|
+
}] } });
|
410
323
|
|
411
|
-
function TdLayoutNavListComponent_span_6_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
412
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
413
|
-
i0.ɵɵtext(1);
|
414
|
-
i0.ɵɵelementEnd();
|
415
|
-
} if (rf & 2) {
|
416
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
417
|
-
i0.ɵɵadvance(1);
|
418
|
-
i0.ɵɵtextInterpolate(ctx_r2.icon);
|
419
|
-
} }
|
420
|
-
function TdLayoutNavListComponent_span_6_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
421
|
-
i0.ɵɵelement(0, "mat-icon", 11);
|
422
|
-
} if (rf & 2) {
|
423
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
424
|
-
i0.ɵɵproperty("svgIcon", ctx_r3.logo);
|
425
|
-
} }
|
426
|
-
function TdLayoutNavListComponent_span_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
427
|
-
i0.ɵɵelementStart(0, "span");
|
428
|
-
i0.ɵɵtext(1);
|
429
|
-
i0.ɵɵelementEnd();
|
430
|
-
} if (rf & 2) {
|
431
|
-
const ctx_r4 = i0.ɵɵnextContext(2);
|
432
|
-
i0.ɵɵadvance(1);
|
433
|
-
i0.ɵɵtextInterpolate(ctx_r4.toolbarTitle);
|
434
|
-
} }
|
435
|
-
function TdLayoutNavListComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
436
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
437
|
-
i0.ɵɵelementStart(0, "span", 8);
|
438
|
-
i0.ɵɵlistener("click", function TdLayoutNavListComponent_span_6_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.handleNavigationClick(); });
|
439
|
-
i0.ɵɵtemplate(1, TdLayoutNavListComponent_span_6_mat_icon_1_Template, 2, 1, "mat-icon", 9);
|
440
|
-
i0.ɵɵtemplate(2, TdLayoutNavListComponent_span_6_mat_icon_2_Template, 1, 1, "mat-icon", 10);
|
441
|
-
i0.ɵɵtemplate(3, TdLayoutNavListComponent_span_6_span_3_Template, 2, 1, "span", 9);
|
442
|
-
i0.ɵɵelementEnd();
|
443
|
-
} if (rf & 2) {
|
444
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
445
|
-
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
446
|
-
i0.ɵɵadvance(1);
|
447
|
-
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
448
|
-
i0.ɵɵadvance(1);
|
449
|
-
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
450
|
-
i0.ɵɵadvance(1);
|
451
|
-
i0.ɵɵproperty("ngIf", ctx_r1.toolbarTitle);
|
452
|
-
} }
|
453
|
-
const _c0$4 = [[["", "td-menu-button", ""]], [["", "td-sidenav-toolbar-content", ""]], [["", "td-sidenav-content", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer-inner"]], [["td-layout-footer"]]];
|
454
|
-
const _c1$3 = ["[td-menu-button]", "[td-sidenav-toolbar-content]", "[td-sidenav-content]", "[td-toolbar-content]", "*", "td-layout-footer-inner", "td-layout-footer"];
|
455
324
|
class TdLayoutNavListComponent {
|
456
325
|
constructor(_router) {
|
457
326
|
this._router = _router;
|
@@ -517,7 +386,7 @@ class TdLayoutNavListComponent {
|
|
517
386
|
return !!this._router && !!this.navigationRoute;
|
518
387
|
}
|
519
388
|
handleNavigationClick() {
|
520
|
-
if (this.routerEnabled) {
|
389
|
+
if (this.routerEnabled && this.navigationRoute) {
|
521
390
|
this._router.navigateByUrl(this.navigationRoute);
|
522
391
|
}
|
523
392
|
}
|
@@ -540,78 +409,35 @@ class TdLayoutNavListComponent {
|
|
540
409
|
return this.sidenav.close();
|
541
410
|
}
|
542
411
|
}
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
i0.ɵɵelementEnd();
|
573
|
-
i0.ɵɵelementEnd();
|
574
|
-
i0.ɵɵprojection(16, 6);
|
575
|
-
} if (rf & 2) {
|
576
|
-
i0.ɵɵadvance(1);
|
577
|
-
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
578
|
-
i0.ɵɵadvance(1);
|
579
|
-
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
580
|
-
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
581
|
-
i0.ɵɵadvance(2);
|
582
|
-
i0.ɵɵproperty("color", ctx.color);
|
583
|
-
i0.ɵɵadvance(2);
|
584
|
-
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
585
|
-
i0.ɵɵadvance(5);
|
586
|
-
i0.ɵɵproperty("color", ctx.color);
|
587
|
-
} }, 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}"] });
|
588
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListComponent, [{
|
589
|
-
type: Component,
|
590
|
-
args: [{ selector: 'td-layout-nav-list', template: "<div class=\"td-layout-nav-list-wrapper\">\n <mat-sidenav-container fullscreen [autosize]=\"containerAutosize\" class=\"td-layout-nav-list\">\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 *ngIf=\"logo && !icon\" class=\"mat-icon-logo\" [svgIcon]=\"logo\"></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;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1;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{-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}:host .td-layout-nav-list-wrapper .td-layout-nav-list-toolbar-content{-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}:host .td-layout-nav-list-wrapper .td-layout-nav-list-content{text-align:start;-ms-flex:1;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main{-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}: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;-ms-flex:1;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list{-ms-flex:1;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{-ms-flex-positive:1;flex-grow:1}:host ::ng-deep 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}\n"] }]
|
591
|
-
}], function () { return [{ type: i1$1.Router, decorators: [{
|
592
|
-
type: Optional
|
593
|
-
}] }]; }, { sidenav: [{
|
594
|
-
type: ViewChild,
|
595
|
-
args: [MatSidenav, { static: true }]
|
596
|
-
}], toolbarTitle: [{
|
597
|
-
type: Input
|
598
|
-
}], icon: [{
|
599
|
-
type: Input
|
600
|
-
}], logo: [{
|
601
|
-
type: Input
|
602
|
-
}], color: [{
|
603
|
-
type: Input
|
604
|
-
}], mode: [{
|
605
|
-
type: Input
|
606
|
-
}], opened: [{
|
607
|
-
type: Input
|
608
|
-
}], sidenavWidth: [{
|
609
|
-
type: Input
|
610
|
-
}], containerAutosize: [{
|
611
|
-
type: Input
|
612
|
-
}], navigationRoute: [{
|
613
|
-
type: Input
|
614
|
-
}] }); })();
|
412
|
+
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 });
|
413
|
+
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]" }] });
|
414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListComponent, decorators: [{
|
415
|
+
type: Component,
|
416
|
+
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"] }]
|
417
|
+
}], ctorParameters: function () { return [{ type: i1$1.Router, decorators: [{
|
418
|
+
type: Optional
|
419
|
+
}] }]; }, propDecorators: { sidenav: [{
|
420
|
+
type: ViewChild,
|
421
|
+
args: [MatSidenav, { static: true }]
|
422
|
+
}], toolbarTitle: [{
|
423
|
+
type: Input
|
424
|
+
}], icon: [{
|
425
|
+
type: Input
|
426
|
+
}], logo: [{
|
427
|
+
type: Input
|
428
|
+
}], color: [{
|
429
|
+
type: Input
|
430
|
+
}], mode: [{
|
431
|
+
type: Input
|
432
|
+
}], opened: [{
|
433
|
+
type: Input
|
434
|
+
}], sidenavWidth: [{
|
435
|
+
type: Input
|
436
|
+
}], containerAutosize: [{
|
437
|
+
type: Input
|
438
|
+
}], navigationRoute: [{
|
439
|
+
type: Input
|
440
|
+
}] } });
|
615
441
|
|
616
442
|
class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
|
617
443
|
constructor(layout, renderer, elementRef) {
|
@@ -624,23 +450,21 @@ class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
|
|
624
450
|
this._layout.toggle();
|
625
451
|
}
|
626
452
|
}
|
627
|
-
|
628
|
-
|
629
|
-
(
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
args: ['tdLayoutNavListToggle']
|
643
|
-
}] }); })();
|
453
|
+
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 });
|
454
|
+
TdLayoutNavListToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavListToggleDirective, selector: "[tdLayoutNavListToggle]", inputs: { tdLayoutNavListToggle: "tdLayoutNavListToggle" }, usesInheritance: true, ngImport: i0 });
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListToggleDirective, decorators: [{
|
456
|
+
type: Directive,
|
457
|
+
args: [{
|
458
|
+
selector: '[tdLayoutNavListToggle]',
|
459
|
+
}]
|
460
|
+
}], ctorParameters: function () { return [{ type: TdLayoutNavListComponent, decorators: [{
|
461
|
+
type: Optional
|
462
|
+
}, {
|
463
|
+
type: Inject,
|
464
|
+
args: [forwardRef(() => TdLayoutNavListComponent)]
|
465
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutNavListToggle: [{
|
466
|
+
type: Input
|
467
|
+
}] } });
|
644
468
|
class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
|
645
469
|
constructor(layout, renderer, elementRef) {
|
646
470
|
super(layout, renderer, elementRef);
|
@@ -652,23 +476,21 @@ class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
|
|
652
476
|
this._layout.close();
|
653
477
|
}
|
654
478
|
}
|
655
|
-
|
656
|
-
|
657
|
-
(
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
args: ['tdLayoutNavListClose']
|
671
|
-
}] }); })();
|
479
|
+
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 });
|
480
|
+
TdLayoutNavListCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavListCloseDirective, selector: "[tdLayoutNavListClose]", inputs: { tdLayoutNavListClose: "tdLayoutNavListClose" }, usesInheritance: true, ngImport: i0 });
|
481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListCloseDirective, decorators: [{
|
482
|
+
type: Directive,
|
483
|
+
args: [{
|
484
|
+
selector: '[tdLayoutNavListClose]',
|
485
|
+
}]
|
486
|
+
}], ctorParameters: function () { return [{ type: TdLayoutNavListComponent, decorators: [{
|
487
|
+
type: Optional
|
488
|
+
}, {
|
489
|
+
type: Inject,
|
490
|
+
args: [forwardRef(() => TdLayoutNavListComponent)]
|
491
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutNavListClose: [{
|
492
|
+
type: Input
|
493
|
+
}] } });
|
672
494
|
class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
|
673
495
|
constructor(layout, renderer, elementRef) {
|
674
496
|
super(layout, renderer, elementRef);
|
@@ -680,47 +502,22 @@ class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
|
|
680
502
|
this._layout.open();
|
681
503
|
}
|
682
504
|
}
|
683
|
-
|
684
|
-
|
685
|
-
(
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
args: ['tdLayoutNavListOpen']
|
699
|
-
}] }); })();
|
505
|
+
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 });
|
506
|
+
TdLayoutNavListOpenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutNavListOpenDirective, selector: "[tdLayoutNavListOpen]", inputs: { tdLayoutNavListOpen: "tdLayoutNavListOpen" }, usesInheritance: true, ngImport: i0 });
|
507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutNavListOpenDirective, decorators: [{
|
508
|
+
type: Directive,
|
509
|
+
args: [{
|
510
|
+
selector: '[tdLayoutNavListOpen]',
|
511
|
+
}]
|
512
|
+
}], ctorParameters: function () { return [{ type: TdLayoutNavListComponent, decorators: [{
|
513
|
+
type: Optional
|
514
|
+
}, {
|
515
|
+
type: Inject,
|
516
|
+
args: [forwardRef(() => TdLayoutNavListComponent)]
|
517
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutNavListOpen: [{
|
518
|
+
type: Input
|
519
|
+
}] } });
|
700
520
|
|
701
|
-
function TdLayoutCardOverComponent_mat_card_title_4_Template(rf, ctx) { if (rf & 1) {
|
702
|
-
i0.ɵɵelementStart(0, "mat-card-title");
|
703
|
-
i0.ɵɵtext(1);
|
704
|
-
i0.ɵɵelementEnd();
|
705
|
-
} if (rf & 2) {
|
706
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
707
|
-
i0.ɵɵadvance(1);
|
708
|
-
i0.ɵɵtextInterpolate(ctx_r0.cardTitle);
|
709
|
-
} }
|
710
|
-
function TdLayoutCardOverComponent_mat_card_subtitle_5_Template(rf, ctx) { if (rf & 1) {
|
711
|
-
i0.ɵɵelementStart(0, "mat-card-subtitle");
|
712
|
-
i0.ɵɵtext(1);
|
713
|
-
i0.ɵɵelementEnd();
|
714
|
-
} if (rf & 2) {
|
715
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
716
|
-
i0.ɵɵadvance(1);
|
717
|
-
i0.ɵɵtextInterpolate(ctx_r1.cardSubtitle);
|
718
|
-
} }
|
719
|
-
function TdLayoutCardOverComponent_mat_divider_6_Template(rf, ctx) { if (rf & 1) {
|
720
|
-
i0.ɵɵelement(0, "mat-divider");
|
721
|
-
} }
|
722
|
-
const _c0$3 = ["*", [["", "td-after-card", ""]]];
|
723
|
-
const _c1$2 = ["*", "[td-after-card]"];
|
724
521
|
class TdLayoutCardOverComponent {
|
725
522
|
constructor() {
|
726
523
|
/**
|
@@ -739,47 +536,21 @@ class TdLayoutCardOverComponent {
|
|
739
536
|
this.color = 'primary';
|
740
537
|
}
|
741
538
|
}
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
i0.ɵɵelementEnd();
|
757
|
-
} if (rf & 2) {
|
758
|
-
i0.ɵɵproperty("color", ctx.color);
|
759
|
-
i0.ɵɵadvance(2);
|
760
|
-
i0.ɵɵstyleProp("max-width", ctx.cardWidth, "%")("flex", "1 1 " + ctx.cardWidth + "%")("-ms-flex", "1 1 " + ctx.cardWidth + "%")("-webkit-box-flex", 1);
|
761
|
-
i0.ɵɵadvance(2);
|
762
|
-
i0.ɵɵproperty("ngIf", ctx.cardTitle);
|
763
|
-
i0.ɵɵadvance(1);
|
764
|
-
i0.ɵɵproperty("ngIf", ctx.cardSubtitle);
|
765
|
-
i0.ɵɵadvance(1);
|
766
|
-
i0.ɵɵproperty("ngIf", ctx.cardTitle || ctx.cardSubtitle);
|
767
|
-
} }, 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}}"] });
|
768
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutCardOverComponent, [{
|
769
|
-
type: Component,
|
770
|
-
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\">{{ cardSubtitle }}</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{-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 .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"] }]
|
771
|
-
}], null, { cardTitle: [{
|
772
|
-
type: Input
|
773
|
-
}], cardSubtitle: [{
|
774
|
-
type: Input
|
775
|
-
}], cardWidth: [{
|
776
|
-
type: Input
|
777
|
-
}], color: [{
|
778
|
-
type: Input
|
779
|
-
}] }); })();
|
539
|
+
TdLayoutCardOverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutCardOverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
540
|
+
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]" }] });
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutCardOverComponent, decorators: [{
|
542
|
+
type: Component,
|
543
|
+
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"] }]
|
544
|
+
}], propDecorators: { cardTitle: [{
|
545
|
+
type: Input
|
546
|
+
}], cardSubtitle: [{
|
547
|
+
type: Input
|
548
|
+
}], cardWidth: [{
|
549
|
+
type: Input
|
550
|
+
}], color: [{
|
551
|
+
type: Input
|
552
|
+
}] } });
|
780
553
|
|
781
|
-
const _c0$2 = [[["mat-toolbar", "td-sidenav-content", ""]], [["", "td-sidenav-content", ""]], [["mat-toolbar"]], "*", [["td-layout-footer-inner"]]];
|
782
|
-
const _c1$1 = ["mat-toolbar[td-sidenav-content]", "[td-sidenav-content]", "mat-toolbar", "*", "td-layout-footer-inner"];
|
783
554
|
class TdLayoutManageListComponent {
|
784
555
|
constructor() {
|
785
556
|
/**
|
@@ -850,50 +621,23 @@ class TdLayoutManageListComponent {
|
|
850
621
|
return this.sidenav.close();
|
851
622
|
}
|
852
623
|
}
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
i0.ɵɵelementStart(8, "div", 5);
|
871
|
-
i0.ɵɵprojection(9, 3);
|
872
|
-
i0.ɵɵelementEnd();
|
873
|
-
i0.ɵɵprojection(10, 4);
|
874
|
-
i0.ɵɵelementEnd();
|
875
|
-
i0.ɵɵelementEnd();
|
876
|
-
} if (rf & 2) {
|
877
|
-
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
878
|
-
i0.ɵɵadvance(1);
|
879
|
-
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
880
|
-
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
881
|
-
} }, 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}"] });
|
882
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListComponent, [{
|
883
|
-
type: Component,
|
884
|
-
args: [{ selector: 'td-layout-manage-list', template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\" class=\"td-layout-manage-list\">\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:-ms-flexbox;display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host mat-sidenav-container.td-layout-manage-list{-ms-flex:1;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 rgba(0,0,0,.2)}:host .td-layout-manage-list-sidenav{text-align:start;-ms-flex:1;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;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-ms-flexbox;display:flex}:host .td-layout-manage-list-main .td-layout-manage-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;-ms-flex:1;flex:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{-ms-flex-positive:1;flex-grow:1}:host ::ng-deep 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}: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"] }]
|
885
|
-
}], null, { sidenav: [{
|
886
|
-
type: ViewChild,
|
887
|
-
args: [MatSidenav, { static: true }]
|
888
|
-
}], mode: [{
|
889
|
-
type: Input
|
890
|
-
}], opened: [{
|
891
|
-
type: Input
|
892
|
-
}], sidenavWidth: [{
|
893
|
-
type: Input
|
894
|
-
}], containerAutosize: [{
|
895
|
-
type: Input
|
896
|
-
}] }); })();
|
624
|
+
TdLayoutManageListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
625
|
+
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]" }] });
|
626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListComponent, decorators: [{
|
627
|
+
type: Component,
|
628
|
+
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"] }]
|
629
|
+
}], propDecorators: { sidenav: [{
|
630
|
+
type: ViewChild,
|
631
|
+
args: [MatSidenav, { static: true }]
|
632
|
+
}], mode: [{
|
633
|
+
type: Input
|
634
|
+
}], opened: [{
|
635
|
+
type: Input
|
636
|
+
}], sidenavWidth: [{
|
637
|
+
type: Input
|
638
|
+
}], containerAutosize: [{
|
639
|
+
type: Input
|
640
|
+
}] } });
|
897
641
|
|
898
642
|
class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
|
899
643
|
constructor(layout, renderer, elementRef) {
|
@@ -906,23 +650,21 @@ class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
|
|
906
650
|
this._layout.toggle();
|
907
651
|
}
|
908
652
|
}
|
909
|
-
|
910
|
-
|
911
|
-
(
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
args: ['tdLayoutManageListToggle']
|
925
|
-
}] }); })();
|
653
|
+
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 });
|
654
|
+
TdLayoutManageListToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutManageListToggleDirective, selector: "[tdLayoutManageListToggle]", inputs: { tdLayoutManageListToggle: "tdLayoutManageListToggle" }, usesInheritance: true, ngImport: i0 });
|
655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListToggleDirective, decorators: [{
|
656
|
+
type: Directive,
|
657
|
+
args: [{
|
658
|
+
selector: '[tdLayoutManageListToggle]',
|
659
|
+
}]
|
660
|
+
}], ctorParameters: function () { return [{ type: TdLayoutManageListComponent, decorators: [{
|
661
|
+
type: Optional
|
662
|
+
}, {
|
663
|
+
type: Inject,
|
664
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
665
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutManageListToggle: [{
|
666
|
+
type: Input
|
667
|
+
}] } });
|
926
668
|
class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
|
927
669
|
constructor(layout, renderer, elementRef) {
|
928
670
|
super(layout, renderer, elementRef);
|
@@ -934,23 +676,21 @@ class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
|
|
934
676
|
this._layout.close();
|
935
677
|
}
|
936
678
|
}
|
937
|
-
|
938
|
-
|
939
|
-
(
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
args: ['tdLayoutManageListClose']
|
953
|
-
}] }); })();
|
679
|
+
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 });
|
680
|
+
TdLayoutManageListCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutManageListCloseDirective, selector: "[tdLayoutManageListClose]", inputs: { tdLayoutManageListClose: "tdLayoutManageListClose" }, usesInheritance: true, ngImport: i0 });
|
681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListCloseDirective, decorators: [{
|
682
|
+
type: Directive,
|
683
|
+
args: [{
|
684
|
+
selector: '[tdLayoutManageListClose]',
|
685
|
+
}]
|
686
|
+
}], ctorParameters: function () { return [{ type: TdLayoutManageListComponent, decorators: [{
|
687
|
+
type: Optional
|
688
|
+
}, {
|
689
|
+
type: Inject,
|
690
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
691
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutManageListClose: [{
|
692
|
+
type: Input
|
693
|
+
}] } });
|
954
694
|
class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
|
955
695
|
constructor(layout, renderer, elementRef) {
|
956
696
|
super(layout, renderer, elementRef);
|
@@ -962,25 +702,22 @@ class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
|
|
962
702
|
this._layout.open();
|
963
703
|
}
|
964
704
|
}
|
965
|
-
|
966
|
-
|
967
|
-
(
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
args: ['tdLayoutManageListOpen']
|
981
|
-
}] }); })();
|
705
|
+
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 });
|
706
|
+
TdLayoutManageListOpenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdLayoutManageListOpenDirective, selector: "[tdLayoutManageListOpen]", inputs: { tdLayoutManageListOpen: "tdLayoutManageListOpen" }, usesInheritance: true, ngImport: i0 });
|
707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutManageListOpenDirective, decorators: [{
|
708
|
+
type: Directive,
|
709
|
+
args: [{
|
710
|
+
selector: '[tdLayoutManageListOpen]',
|
711
|
+
}]
|
712
|
+
}], ctorParameters: function () { return [{ type: TdLayoutManageListComponent, decorators: [{
|
713
|
+
type: Optional
|
714
|
+
}, {
|
715
|
+
type: Inject,
|
716
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
717
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tdLayoutManageListOpen: [{
|
718
|
+
type: Input
|
719
|
+
}] } });
|
982
720
|
|
983
|
-
const _c0$1 = ["*"];
|
984
721
|
class TdLayoutFooterComponent {
|
985
722
|
constructor(_renderer, _elementRef) {
|
986
723
|
this._renderer = _renderer;
|
@@ -1003,154 +740,35 @@ class TdLayoutFooterComponent {
|
|
1003
740
|
return this._color;
|
1004
741
|
}
|
1005
742
|
}
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
}], function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { color: [{
|
1015
|
-
type: Input,
|
1016
|
-
args: ['color']
|
1017
|
-
}] }); })();
|
743
|
+
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 });
|
744
|
+
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"] });
|
745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdLayoutFooterComponent, decorators: [{
|
746
|
+
type: Component,
|
747
|
+
args: [{ selector: 'td-layout-footer,td-layout-footer-inner', template: "<ng-content></ng-content>\n", styles: [":host{display:block;padding:10px 16px}\n"] }]
|
748
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { color: [{
|
749
|
+
type: Input
|
750
|
+
}] } });
|
1018
751
|
|
1019
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
1020
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
1021
|
-
i0.ɵɵtext(1);
|
1022
|
-
i0.ɵɵelementEnd();
|
1023
|
-
} if (rf & 2) {
|
1024
|
-
const ctx_r4 = i0.ɵɵnextContext(3);
|
1025
|
-
i0.ɵɵadvance(1);
|
1026
|
-
i0.ɵɵtextInterpolate(ctx_r4.icon);
|
1027
|
-
} }
|
1028
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
1029
|
-
i0.ɵɵelement(0, "mat-icon", 11);
|
1030
|
-
} if (rf & 2) {
|
1031
|
-
const ctx_r5 = i0.ɵɵnextContext(3);
|
1032
|
-
i0.ɵɵproperty("svgIcon", ctx_r5.logo);
|
1033
|
-
} }
|
1034
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_img_3_Template(rf, ctx) { if (rf & 1) {
|
1035
|
-
i0.ɵɵelement(0, "img", 12);
|
1036
|
-
} if (rf & 2) {
|
1037
|
-
const ctx_r6 = i0.ɵɵnextContext(3);
|
1038
|
-
i0.ɵɵattribute("src", ctx_r6.avatar, i0.ɵɵsanitizeUrl);
|
1039
|
-
} }
|
1040
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
1041
|
-
i0.ɵɵelementStart(0, "span", 13);
|
1042
|
-
i0.ɵɵtext(1);
|
1043
|
-
i0.ɵɵelementEnd();
|
1044
|
-
} if (rf & 2) {
|
1045
|
-
const ctx_r7 = i0.ɵɵnextContext(3);
|
1046
|
-
i0.ɵɵadvance(1);
|
1047
|
-
i0.ɵɵtextInterpolate(ctx_r7.sidenavTitle);
|
1048
|
-
} }
|
1049
|
-
function TdNavigationDrawerComponent_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
1050
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
1051
|
-
i0.ɵɵelementStart(0, "div", 7);
|
1052
|
-
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(); });
|
1053
|
-
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_1_Template, 2, 1, "mat-icon", 1);
|
1054
|
-
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_2_Template, 1, 1, "mat-icon", 8);
|
1055
|
-
i0.ɵɵtemplate(3, TdNavigationDrawerComponent_ng_container_2_div_1_img_3_Template, 1, 1, "img", 9);
|
1056
|
-
i0.ɵɵtemplate(4, TdNavigationDrawerComponent_ng_container_2_div_1_span_4_Template, 2, 1, "span", 10);
|
1057
|
-
i0.ɵɵelementEnd();
|
1058
|
-
} if (rf & 2) {
|
1059
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
1060
|
-
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
1061
|
-
i0.ɵɵadvance(1);
|
1062
|
-
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
1063
|
-
i0.ɵɵadvance(1);
|
1064
|
-
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
1065
|
-
i0.ɵɵadvance(1);
|
1066
|
-
i0.ɵɵproperty("ngIf", ctx_r1.avatar && !ctx_r1.logo && !ctx_r1.icon);
|
1067
|
-
i0.ɵɵadvance(1);
|
1068
|
-
i0.ɵɵproperty("ngIf", ctx_r1.sidenavTitle);
|
1069
|
-
} }
|
1070
|
-
function TdNavigationDrawerComponent_ng_container_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
1071
|
-
i0.ɵɵelementStart(0, "div", 14);
|
1072
|
-
i0.ɵɵtext(1);
|
1073
|
-
i0.ɵɵelementEnd();
|
1074
|
-
} if (rf & 2) {
|
1075
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
1076
|
-
i0.ɵɵadvance(1);
|
1077
|
-
i0.ɵɵtextInterpolate(ctx_r2.name);
|
1078
|
-
} }
|
1079
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
1080
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
1081
|
-
i0.ɵɵtext(1, "arrow_drop_down");
|
1082
|
-
i0.ɵɵelementEnd();
|
1083
|
-
} }
|
1084
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
1085
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
1086
|
-
i0.ɵɵtext(1, "arrow_drop_up");
|
1087
|
-
i0.ɵɵelementEnd();
|
1088
|
-
} }
|
1089
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_Template(rf, ctx) { if (rf & 1) {
|
1090
|
-
i0.ɵɵelementStart(0, "button", 18);
|
1091
|
-
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_1_Template, 2, 0, "mat-icon", 1);
|
1092
|
-
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_2_Template, 2, 0, "mat-icon", 1);
|
1093
|
-
i0.ɵɵelementEnd();
|
1094
|
-
} if (rf & 2) {
|
1095
|
-
const ctx_r10 = i0.ɵɵnextContext(3);
|
1096
|
-
i0.ɵɵadvance(1);
|
1097
|
-
i0.ɵɵproperty("ngIf", !ctx_r10.menuToggled);
|
1098
|
-
i0.ɵɵadvance(1);
|
1099
|
-
i0.ɵɵproperty("ngIf", ctx_r10.menuToggled);
|
1100
|
-
} }
|
1101
|
-
function TdNavigationDrawerComponent_ng_container_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
1102
|
-
const _r14 = i0.ɵɵgetCurrentView();
|
1103
|
-
i0.ɵɵelementStart(0, "div", 15);
|
1104
|
-
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(); });
|
1105
|
-
i0.ɵɵelementStart(1, "span", 16);
|
1106
|
-
i0.ɵɵtext(2);
|
1107
|
-
i0.ɵɵelementEnd();
|
1108
|
-
i0.ɵɵtemplate(3, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_Template, 3, 2, "button", 17);
|
1109
|
-
i0.ɵɵelementEnd();
|
1110
|
-
} if (rf & 2) {
|
1111
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
1112
|
-
i0.ɵɵadvance(2);
|
1113
|
-
i0.ɵɵtextInterpolate(ctx_r3.email || ctx_r3.name);
|
1114
|
-
i0.ɵɵadvance(1);
|
1115
|
-
i0.ɵɵproperty("ngIf", ctx_r3.isMenuAvailable);
|
1116
|
-
} }
|
1117
|
-
function TdNavigationDrawerComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
1118
|
-
i0.ɵɵelementContainerStart(0);
|
1119
|
-
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_1_Template, 5, 6, "div", 4);
|
1120
|
-
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_div_2_Template, 2, 1, "div", 5);
|
1121
|
-
i0.ɵɵtemplate(3, TdNavigationDrawerComponent_ng_container_2_div_3_Template, 4, 2, "div", 6);
|
1122
|
-
i0.ɵɵelementContainerEnd();
|
1123
|
-
} if (rf & 2) {
|
1124
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
1125
|
-
i0.ɵɵadvance(1);
|
1126
|
-
i0.ɵɵproperty("ngIf", ctx_r0.icon || ctx_r0.logo || ctx_r0.sidenavTitle || ctx_r0.avatar);
|
1127
|
-
i0.ɵɵadvance(1);
|
1128
|
-
i0.ɵɵproperty("ngIf", ctx_r0.email && ctx_r0.name);
|
1129
|
-
i0.ɵɵadvance(1);
|
1130
|
-
i0.ɵɵproperty("ngIf", ctx_r0.email || ctx_r0.name);
|
1131
|
-
} }
|
1132
|
-
const _c0 = [[["", "td-navigation-drawer-toolbar", ""]], "*", [["", "td-navigation-drawer-menu", ""]]];
|
1133
|
-
const _c1 = ["[td-navigation-drawer-toolbar]", "*", "[td-navigation-drawer-menu]"];
|
1134
752
|
class TdNavigationDrawerMenuDirective {
|
1135
753
|
}
|
1136
|
-
|
1137
|
-
|
1138
|
-
(
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
754
|
+
TdNavigationDrawerMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerMenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
755
|
+
TdNavigationDrawerMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdNavigationDrawerMenuDirective, selector: "[tdNavigationDrawerMenu]", ngImport: i0 });
|
756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerMenuDirective, decorators: [{
|
757
|
+
type: Directive,
|
758
|
+
args: [{
|
759
|
+
selector: '[tdNavigationDrawerMenu]',
|
760
|
+
}]
|
761
|
+
}] });
|
1144
762
|
class TdNavigationDrawerToolbarDirective {
|
1145
763
|
}
|
1146
|
-
|
1147
|
-
|
1148
|
-
(
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
764
|
+
TdNavigationDrawerToolbarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerToolbarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
765
|
+
TdNavigationDrawerToolbarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdNavigationDrawerToolbarDirective, selector: "[tdNavigationDrawerToolbar]", ngImport: i0 });
|
766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerToolbarDirective, decorators: [{
|
767
|
+
type: Directive,
|
768
|
+
args: [{
|
769
|
+
selector: '[tdNavigationDrawerToolbar]',
|
770
|
+
}]
|
771
|
+
}] });
|
1154
772
|
class TdNavigationDrawerComponent {
|
1155
773
|
constructor(_layout, _router, _sanitize) {
|
1156
774
|
this._layout = _layout;
|
@@ -1219,7 +837,7 @@ class TdNavigationDrawerComponent {
|
|
1219
837
|
}
|
1220
838
|
}
|
1221
839
|
handleNavigationClick() {
|
1222
|
-
if (this.routerEnabled) {
|
840
|
+
if (this.routerEnabled && this.navigationRoute) {
|
1223
841
|
this._router.navigateByUrl(this.navigationRoute);
|
1224
842
|
this.close();
|
1225
843
|
}
|
@@ -1243,71 +861,41 @@ class TdNavigationDrawerComponent {
|
|
1243
861
|
return this._layout.close();
|
1244
862
|
}
|
1245
863
|
}
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
type: Inject,
|
1282
|
-
args: [forwardRef(() => TdLayoutComponent)]
|
1283
|
-
}] }, { type: i1$1.Router, decorators: [{
|
1284
|
-
type: Optional
|
1285
|
-
}] }, { type: i2$1.DomSanitizer }]; }, { _drawerMenu: [{
|
1286
|
-
type: ContentChildren,
|
1287
|
-
args: [TdNavigationDrawerMenuDirective, { descendants: true }]
|
1288
|
-
}], _toolbar: [{
|
1289
|
-
type: ContentChildren,
|
1290
|
-
args: [TdNavigationDrawerToolbarDirective, { descendants: true }]
|
1291
|
-
}], sidenavTitle: [{
|
1292
|
-
type: Input
|
1293
|
-
}], icon: [{
|
1294
|
-
type: Input
|
1295
|
-
}], logo: [{
|
1296
|
-
type: Input
|
1297
|
-
}], avatar: [{
|
1298
|
-
type: Input
|
1299
|
-
}], color: [{
|
1300
|
-
type: Input
|
1301
|
-
}], navigationRoute: [{
|
1302
|
-
type: Input
|
1303
|
-
}], backgroundUrl: [{
|
1304
|
-
type: Input,
|
1305
|
-
args: ['backgroundUrl']
|
1306
|
-
}], name: [{
|
1307
|
-
type: Input
|
1308
|
-
}], email: [{
|
1309
|
-
type: Input
|
1310
|
-
}] }); })();
|
864
|
+
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 });
|
865
|
+
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] });
|
866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdNavigationDrawerComponent, decorators: [{
|
867
|
+
type: Component,
|
868
|
+
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"] }]
|
869
|
+
}], ctorParameters: function () { return [{ type: TdLayoutComponent, decorators: [{
|
870
|
+
type: Inject,
|
871
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
872
|
+
}] }, { type: i1$1.Router, decorators: [{
|
873
|
+
type: Optional
|
874
|
+
}] }, { type: i2$1.DomSanitizer }]; }, propDecorators: { _drawerMenu: [{
|
875
|
+
type: ContentChildren,
|
876
|
+
args: [TdNavigationDrawerMenuDirective, { descendants: true }]
|
877
|
+
}], _toolbar: [{
|
878
|
+
type: ContentChildren,
|
879
|
+
args: [TdNavigationDrawerToolbarDirective, { descendants: true }]
|
880
|
+
}], sidenavTitle: [{
|
881
|
+
type: Input
|
882
|
+
}], icon: [{
|
883
|
+
type: Input
|
884
|
+
}], logo: [{
|
885
|
+
type: Input
|
886
|
+
}], avatar: [{
|
887
|
+
type: Input
|
888
|
+
}], color: [{
|
889
|
+
type: Input
|
890
|
+
}], navigationRoute: [{
|
891
|
+
type: Input
|
892
|
+
}], backgroundUrl: [{
|
893
|
+
type: Input
|
894
|
+
}], name: [{
|
895
|
+
type: Input
|
896
|
+
}], email: [{
|
897
|
+
type: Input
|
898
|
+
}] } });
|
1311
899
|
|
1312
900
|
const TD_LAYOUTS = [
|
1313
901
|
TdLayoutComponent,
|
@@ -1331,38 +919,8 @@ const TD_LAYOUTS = [
|
|
1331
919
|
];
|
1332
920
|
class CovalentLayoutModule {
|
1333
921
|
}
|
1334
|
-
|
1335
|
-
|
1336
|
-
/** @nocollapse */ /** @nocollapse */ CovalentLayoutModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[
|
1337
|
-
CommonModule,
|
1338
|
-
ScrollingModule,
|
1339
|
-
MatSidenavModule,
|
1340
|
-
MatToolbarModule,
|
1341
|
-
MatButtonModule,
|
1342
|
-
MatIconModule,
|
1343
|
-
MatCardModule,
|
1344
|
-
MatDividerModule,
|
1345
|
-
CovalentMenuModule,
|
1346
|
-
]] });
|
1347
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentLayoutModule, [{
|
1348
|
-
type: NgModule,
|
1349
|
-
args: [{
|
1350
|
-
imports: [
|
1351
|
-
CommonModule,
|
1352
|
-
ScrollingModule,
|
1353
|
-
MatSidenavModule,
|
1354
|
-
MatToolbarModule,
|
1355
|
-
MatButtonModule,
|
1356
|
-
MatIconModule,
|
1357
|
-
MatCardModule,
|
1358
|
-
MatDividerModule,
|
1359
|
-
CovalentMenuModule,
|
1360
|
-
],
|
1361
|
-
declarations: [TD_LAYOUTS],
|
1362
|
-
exports: [TD_LAYOUTS],
|
1363
|
-
}]
|
1364
|
-
}], null, null); })();
|
1365
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentLayoutModule, { declarations: [TdLayoutComponent,
|
922
|
+
CovalentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
923
|
+
CovalentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, declarations: [TdLayoutComponent,
|
1366
924
|
TdLayoutToggleDirective,
|
1367
925
|
TdLayoutCloseDirective,
|
1368
926
|
TdLayoutOpenDirective,
|
@@ -1404,7 +962,36 @@ class CovalentLayoutModule {
|
|
1404
962
|
TdLayoutFooterComponent,
|
1405
963
|
TdNavigationDrawerComponent,
|
1406
964
|
TdNavigationDrawerMenuDirective,
|
1407
|
-
TdNavigationDrawerToolbarDirective] });
|
965
|
+
TdNavigationDrawerToolbarDirective] });
|
966
|
+
CovalentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, imports: [[
|
967
|
+
CommonModule,
|
968
|
+
ScrollingModule,
|
969
|
+
MatSidenavModule,
|
970
|
+
MatToolbarModule,
|
971
|
+
MatButtonModule,
|
972
|
+
MatIconModule,
|
973
|
+
MatCardModule,
|
974
|
+
MatDividerModule,
|
975
|
+
CovalentMenuModule,
|
976
|
+
]] });
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentLayoutModule, decorators: [{
|
978
|
+
type: NgModule,
|
979
|
+
args: [{
|
980
|
+
imports: [
|
981
|
+
CommonModule,
|
982
|
+
ScrollingModule,
|
983
|
+
MatSidenavModule,
|
984
|
+
MatToolbarModule,
|
985
|
+
MatButtonModule,
|
986
|
+
MatIconModule,
|
987
|
+
MatCardModule,
|
988
|
+
MatDividerModule,
|
989
|
+
CovalentMenuModule,
|
990
|
+
],
|
991
|
+
declarations: [...TD_LAYOUTS],
|
992
|
+
exports: [...TD_LAYOUTS],
|
993
|
+
}]
|
994
|
+
}] });
|
1408
995
|
|
1409
996
|
/**
|
1410
997
|
* Generated bundle index. Do not edit.
|