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