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