@covalent/core 4.0.0-beta.2 → 4.1.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/breadcrumbs/README.md +21 -17
- package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +3 -1
- package/breadcrumbs/breadcrumbs.component.d.ts +1 -0
- package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -1
- package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/README.md +3 -0
- package/common/_common-theme.scss +1 -1
- package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
- package/common/behaviors/disabled.mixin.d.ts +1 -1
- package/common/covalent-core-common.d.ts +1 -1
- package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
- package/common/{public-api.d.ts → public_api.d.ts} +0 -0
- package/common/styles/font/README.md +4 -2
- package/covalent-core.d.ts +1 -1
- package/dialogs/README.md +38 -30
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
- package/dialogs/covalent-core-dialogs.d.ts +1 -1
- package/dialogs/dialog.component.d.ts +4 -4
- package/dialogs/dialogs.module.d.ts +1 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -3
- package/dialogs/{public-api.d.ts → public_api.d.ts} +0 -0
- package/dialogs/src/README.md +223 -0
- package/dialogs/window-dialog/window-dialog.component.d.ts +5 -5
- package/dynamic-menu/README.md +6 -6
- package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +1 -22
- package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
- package/dynamic-menu/public_api.d.ts +1 -0
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +21 -37
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +20 -25
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +12 -13
- package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +2 -2
- package/esm2020/breadcrumbs/public_api.mjs +4 -0
- package/esm2020/common/animations/bounce/bounce.animation.mjs +1 -1
- package/esm2020/common/animations/collapse/collapse.animation.mjs +1 -1
- package/esm2020/common/animations/common/interfaces.mjs +1 -1
- package/esm2020/common/animations/fade/fadeInOut.animation.mjs +1 -1
- package/esm2020/common/animations/flash/flash.animation.mjs +1 -1
- package/esm2020/common/animations/headshake/headshake.animation.mjs +17 -5
- package/esm2020/common/animations/jello/jello.animation.mjs +29 -8
- package/esm2020/common/animations/pulse/pulse.animation.mjs +1 -1
- package/esm2020/common/animations/rotate/rotate.animation.mjs +7 -2
- package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +4 -2
- package/esm2020/common/behaviors/disable-ripple.mixin.mjs +1 -1
- package/esm2020/common/behaviors/disabled.mixin.mjs +1 -1
- package/esm2020/common/common.module.mjs +14 -15
- package/esm2020/common/covalent-core-common.mjs +2 -2
- package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +41 -41
- package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +19 -19
- package/esm2020/common/forms/validators/validators.mjs +6 -6
- package/esm2020/common/functions/clipboard.mjs +1 -1
- package/esm2020/common/functions/convert.mjs +1 -1
- package/esm2020/common/functions/download.mjs +1 -1
- package/esm2020/common/functions/file.mjs +1 -1
- package/esm2020/common/pipes/bytes/bytes.pipe.mjs +21 -11
- package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +21 -11
- package/esm2020/common/pipes/digits/digits.pipe.mjs +13 -13
- package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +9 -9
- package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +9 -9
- package/esm2020/common/pipes/time-until/time-until.pipe.mjs +9 -9
- package/esm2020/common/pipes/truncate/truncate.pipe.mjs +10 -10
- package/esm2020/common/public_api.mjs +39 -0
- package/esm2020/common/services/icon.service.mjs +6 -6
- package/esm2020/common/services/router-path.service.mjs +6 -6
- package/esm2020/covalent-core.mjs +2 -2
- package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +9 -40
- package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +9 -49
- package/esm2020/dialogs/covalent-core-dialogs.mjs +2 -2
- package/esm2020/dialogs/dialog.component.mjs +35 -76
- package/esm2020/dialogs/dialogs.module.mjs +39 -36
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +15 -73
- package/esm2020/dialogs/public_api.mjs +9 -0
- package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +27 -10
- package/esm2020/dialogs/services/dialog.service.mjs +16 -13
- package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +24 -55
- package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +2 -2
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +19 -136
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +14 -103
- package/esm2020/dynamic-menu/dynamic-menu.component.mjs +18 -101
- package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
- package/esm2020/dynamic-menu/dynamic-menu.module.mjs +44 -19
- package/esm2020/dynamic-menu/public_api.mjs +2 -1
- package/esm2020/file/covalent-core-file.mjs +2 -2
- package/esm2020/file/directives/file-drop.directive.mjs +46 -47
- package/esm2020/file/directives/file-select.directive.mjs +32 -31
- package/esm2020/file/file-input/file-input.component.mjs +41 -68
- package/esm2020/file/file-upload/file-upload.component.mjs +76 -112
- package/esm2020/file/file.module.mjs +32 -17
- package/esm2020/file/public_api.mjs +7 -0
- package/esm2020/file/services/file.service.mjs +13 -11
- package/esm2020/json-formatter/collapse.animation.mjs +51 -0
- package/esm2020/json-formatter/covalent-core-json-formatter.mjs +2 -2
- package/esm2020/json-formatter/json-formatter.component.mjs +38 -123
- package/esm2020/json-formatter/json-formatter.module.mjs +12 -13
- package/esm2020/json-formatter/public_api.mjs +3 -0
- package/esm2020/layout/covalent-core-layout.mjs +2 -2
- package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +17 -64
- package/esm2020/layout/layout-footer/layout-footer.component.mjs +9 -14
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +22 -51
- package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +47 -53
- package/esm2020/layout/layout-nav/layout-nav.component.mjs +22 -84
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +37 -124
- package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +47 -53
- package/esm2020/layout/layout-toggle.class.mjs +12 -15
- package/esm2020/layout/layout.component.mjs +22 -43
- package/esm2020/layout/layout.directives.mjs +48 -50
- package/esm2020/layout/layout.module.mjs +34 -35
- package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +56 -201
- package/esm2020/layout/public_api.mjs +13 -0
- package/esm2020/menu/covalent-core-menu.mjs +2 -2
- package/esm2020/menu/menu.component.mjs +7 -18
- package/esm2020/menu/menu.module.mjs +12 -13
- package/esm2020/menu/public_api.mjs +3 -0
- package/esm2020/message/collapse.animation.mjs +51 -0
- package/esm2020/message/covalent-core-message.mjs +2 -2
- package/esm2020/message/message.component.mjs +44 -102
- package/esm2020/message/message.module.mjs +19 -15
- package/esm2020/message/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/search/covalent-core-search.mjs +2 -2
- package/esm2020/search/public_api.mjs +4 -0
- package/esm2020/search/search-box/search-box.component.mjs +97 -123
- package/esm2020/search/search-input/search-input.component.mjs +116 -153
- package/esm2020/search/search.module.mjs +28 -13
- package/esm2020/side-sheet/covalent-core-side-sheet.mjs +2 -2
- package/esm2020/side-sheet/public_api.mjs +6 -0
- package/esm2020/side-sheet/side-sheet-container.mjs +89 -57
- package/esm2020/side-sheet/side-sheet-ref.mjs +2 -2
- package/esm2020/side-sheet/side-sheet.animation.mjs +2 -2
- package/esm2020/side-sheet/side-sheet.config.mjs +1 -1
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +109 -86
- package/esm2020/side-sheet/side-sheet.mjs +44 -31
- package/esm2020/side-sheet/side-sheet.module.mjs +37 -38
- package/esm2020/user-profile/covalent-core-user-profile.mjs +2 -2
- package/esm2020/user-profile/public_api.mjs +1 -1
- package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +13 -64
- package/esm2020/user-profile/user-profile.component.mjs +13 -35
- package/esm2020/user-profile/user-profile.module.mjs +32 -14
- package/fesm2015/covalent-core-breadcrumbs.mjs +35 -76
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2015/covalent-core-common.mjs +170 -140
- package/fesm2015/covalent-core-common.mjs.map +1 -1
- package/fesm2015/covalent-core-dialogs.mjs +125 -358
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2015/covalent-core-dynamic-menu.mjs +73 -425
- package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2015/covalent-core-file.mjs +148 -233
- package/fesm2015/covalent-core-file.mjs.map +1 -1
- package/fesm2015/covalent-core-json-formatter.mjs +93 -148
- package/fesm2015/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2015/covalent-core-layout.mjs +194 -747
- package/fesm2015/covalent-core-layout.mjs.map +1 -1
- package/fesm2015/covalent-core-menu.mjs +10 -28
- package/fesm2015/covalent-core-menu.mjs.map +1 -1
- package/fesm2015/covalent-core-message.mjs +79 -104
- package/fesm2015/covalent-core-message.mjs.map +1 -1
- package/fesm2015/covalent-core-search.mjs +147 -227
- package/fesm2015/covalent-core-search.mjs.map +1 -1
- package/fesm2015/covalent-core-side-sheet.mjs +202 -173
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2015/covalent-core-user-profile.mjs +38 -114
- package/fesm2015/covalent-core-user-profile.mjs.map +1 -1
- package/fesm2015/covalent-core.mjs.map +1 -1
- package/fesm2020/covalent-core-breadcrumbs.mjs +49 -71
- package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2020/covalent-core-common.mjs +224 -165
- package/fesm2020/covalent-core-common.mjs.map +1 -1
- package/fesm2020/covalent-core-dialogs.mjs +160 -338
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2020/covalent-core-dynamic-menu.mjs +89 -354
- package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2020/covalent-core-file.mjs +229 -273
- package/fesm2020/covalent-core-file.mjs.map +1 -1
- package/fesm2020/covalent-core-json-formatter.mjs +97 -133
- package/fesm2020/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2020/covalent-core-layout.mjs +353 -767
- package/fesm2020/covalent-core-layout.mjs.map +1 -1
- package/fesm2020/covalent-core-menu.mjs +17 -29
- package/fesm2020/covalent-core-menu.mjs.map +1 -1
- package/fesm2020/covalent-core-message.mjs +110 -114
- package/fesm2020/covalent-core-message.mjs.map +1 -1
- package/fesm2020/covalent-core-search.mjs +233 -281
- package/fesm2020/covalent-core-search.mjs.map +1 -1
- package/fesm2020/covalent-core-side-sheet.mjs +267 -200
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2020/covalent-core-user-profile.mjs +54 -109
- package/fesm2020/covalent-core-user-profile.mjs.map +1 -1
- package/fesm2020/covalent-core.mjs.map +1 -1
- package/file/_file-theme.scss +2 -1
- package/file/covalent-core-file.d.ts +1 -1
- package/file/directives/file-drop.directive.d.ts +6 -7
- package/file/directives/file-select.directive.d.ts +2 -2
- package/file/file-input/file-input.component.d.ts +7 -7
- package/file/file-upload/file-upload.component.d.ts +16 -9
- package/file/{public-api.d.ts → public_api.d.ts} +0 -0
- package/file/{file-input → src/file-input}/README.md +46 -37
- package/file/{file-upload → src/file-upload}/README.md +36 -27
- package/json-formatter/README.md +8 -8
- package/json-formatter/collapse.animation.d.ts +24 -0
- package/json-formatter/covalent-core-json-formatter.d.ts +1 -1
- package/json-formatter/json-formatter.component.d.ts +4 -4
- package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/README.md +48 -50
- package/layout/covalent-core-layout.d.ts +1 -1
- package/layout/layout-card-over/layout-card-over.component.d.ts +3 -3
- package/layout/layout-footer/layout-footer.component.d.ts +3 -3
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +4 -4
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +5 -5
- package/layout/layout-nav/layout-nav.component.d.ts +5 -5
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -9
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +5 -5
- package/layout/layout-toggle.class.d.ts +1 -1
- package/layout/layout.component.d.ts +4 -4
- package/layout/layout.directives.d.ts +2 -2
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +12 -12
- package/layout/{public-api.d.ts → public_api.d.ts} +0 -0
- package/layout/{layout-card-over → src/layout-card-over}/README.md +19 -17
- package/layout/{layout-manage-list → src/layout-manage-list}/README.md +24 -28
- package/layout/src/layout-nav/README.md +50 -0
- package/layout/{layout-nav-list → src/layout-nav-list}/README.md +44 -40
- package/menu/covalent-core-menu.d.ts +1 -1
- package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
- package/message/README.md +26 -18
- package/message/collapse.animation.d.ts +24 -0
- package/message/covalent-core-message.d.ts +1 -1
- package/message/message.component.d.ts +4 -4
- package/message/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +36 -55
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/search/README.md +74 -73
- package/search/covalent-core-search.d.ts +1 -1
- package/search/{public-api.d.ts → public_api.d.ts} +0 -0
- package/search/search-box/search-box.component.d.ts +10 -6
- package/search/search-input/search-input.component.d.ts +10 -6
- package/search/src/search-box/README.md +73 -0
- package/search/src/search-input/README.md +74 -0
- package/side-sheet/README.md +3 -5
- package/side-sheet/{side-sheet.theme.scss → _side-sheet.theme.scss} +0 -0
- package/side-sheet/covalent-core-side-sheet.d.ts +1 -1
- package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
- package/side-sheet/side-sheet-container.d.ts +18 -7
- package/side-sheet/side-sheet.content-directives.d.ts +22 -16
- package/side-sheet/side-sheet.d.ts +2 -2
- package/side-sheet/side-sheet.module.d.ts +1 -1
- package/user-profile/README.md +5 -5
- package/user-profile/covalent-core-user-profile.d.ts +1 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +2 -2
- package/user-profile/user-profile.component.d.ts +2 -2
- package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -25
- package/breadcrumbs/breadcrumbs.component.scss +0 -8
- package/breadcrumbs/index.d.ts +0 -1
- package/common/index.d.ts +0 -1
- package/common/material-icons.css +0 -111
- package/common/material-icons.css.map +0 -1
- package/common/material-icons.scss +0 -3
- package/common/platform.css +0 -16819
- package/common/platform.css.map +0 -1
- package/common/platform.scss +0 -7
- package/common/styles/_elevation.scss +0 -280
- package/common/styles/_layout.scss +0 -605
- package/common/styles/_palette-dark.scss +0 -326
- package/common/styles/_palette-light.scss +0 -637
- package/common/styles/_rtl.scss +0 -31
- package/common/styles/_styles.scss +0 -10
- package/common/styles/_theme-functions.scss +0 -25
- package/common/styles/_typography-functions.scss +0 -35
- package/common/styles/_variables.scss +0 -98
- package/common/styles/colors/_colors-dark.scss +0 -1399
- package/common/styles/colors/_colors-light.scss +0 -3235
- package/common/styles/colors/_colors.scss +0 -7
- package/common/styles/core/_button.scss +0 -60
- package/common/styles/core/_card.scss +0 -184
- package/common/styles/core/_content.scss +0 -43
- package/common/styles/core/_core.scss +0 -23
- package/common/styles/core/_divider.scss +0 -16
- package/common/styles/core/_icons.scss +0 -22
- package/common/styles/core/_list.scss +0 -8
- package/common/styles/core/_sidenav.scss +0 -22
- package/common/styles/core/_structure.scss +0 -127
- package/common/styles/core/_toolbar.scss +0 -53
- package/common/styles/core/_whiteframe.scss +0 -130
- package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
- package/common/styles/font/_font.scss +0 -99
- package/common/styles/utilities/_general.scss +0 -65
- package/common/styles/utilities/_pad.scss +0 -36
- package/common/styles/utilities/_pull.scss +0 -36
- package/common/styles/utilities/_push.scss +0 -36
- package/common/styles/utilities/_size.scss +0 -24
- package/common/styles/utilities/_text.scss +0 -105
- package/common/styles/utilities/_utilities.scss +0 -15
- package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
- package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/dialogs/dialog.component.scss +0 -49
- package/dialogs/index.d.ts +0 -1
- package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -16
- package/dialogs/window-dialog/window-dialog.component.scss +0 -31
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -7
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -13
- package/dynamic-menu/dynamic-menu.component.scss +0 -0
- package/dynamic-menu/index.d.ts +0 -1
- package/esm2020/breadcrumbs/index.mjs +0 -2
- package/esm2020/breadcrumbs/public-api.mjs +0 -4
- package/esm2020/common/index.mjs +0 -2
- package/esm2020/common/public-api.mjs +0 -39
- package/esm2020/dialogs/index.mjs +0 -2
- package/esm2020/dialogs/public-api.mjs +0 -9
- package/esm2020/dynamic-menu/index.mjs +0 -2
- package/esm2020/file/index.mjs +0 -2
- package/esm2020/file/public-api.mjs +0 -7
- package/esm2020/index.mjs +0 -2
- package/esm2020/json-formatter/index.mjs +0 -2
- package/esm2020/json-formatter/public-api.mjs +0 -3
- package/esm2020/layout/index.mjs +0 -2
- package/esm2020/layout/public-api.mjs +0 -13
- package/esm2020/menu/index.mjs +0 -2
- package/esm2020/menu/public-api.mjs +0 -3
- package/esm2020/message/index.mjs +0 -2
- package/esm2020/message/public-api.mjs +0 -3
- package/esm2020/search/index.mjs +0 -2
- package/esm2020/search/public-api.mjs +0 -4
- package/esm2020/side-sheet/index.mjs +0 -2
- package/esm2020/side-sheet/public-api.mjs +0 -6
- package/esm2020/user-profile/index.mjs +0 -2
- package/file/file-input/file-input.component.scss +0 -22
- package/file/file-upload/file-upload.component.scss +0 -34
- package/file/index.d.ts +0 -1
- package/json-formatter/index.d.ts +0 -1
- package/json-formatter/json-formatter.component.scss +0 -74
- package/layout/index.d.ts +0 -1
- package/layout/layout-card-over/layout-card-over.component.scss +0 -45
- package/layout/layout-footer/layout-footer.component.scss +0 -4
- package/layout/layout-manage-list/layout-manage-list.component.scss +0 -82
- package/layout/layout-nav/README.md +0 -46
- package/layout/layout-nav/layout-nav.component.scss +0 -54
- package/layout/layout-nav-list/layout-nav-list.component.scss +0 -115
- package/layout/layout.component.scss +0 -16
- package/layout/navigation-drawer/navigation-drawer.component.scss +0 -81
- package/menu/index.d.ts +0 -1
- package/menu/menu.component.scss +0 -51
- package/message/index.d.ts +0 -1
- package/message/message.component.scss +0 -32
- package/schematics/README.md +0 -66
- package/schematics/ng-add/files/theme.scss +0 -64
- package/search/index.d.ts +0 -1
- package/search/search-box/README.md +0 -62
- package/search/search-box/search-box.component.scss +0 -37
- package/search/search-input/README.md +0 -65
- package/search/search-input/search-input.component.scss +0 -75
- package/side-sheet/index.d.ts +0 -1
- package/side-sheet/side-sheet.scss +0 -68
- package/theming/prebuilt/blue-grey-deep-orange.css +0 -2815
- package/theming/prebuilt/blue-grey-deep-orange.css.map +0 -1
- package/theming/prebuilt/blue-grey-deep-orange.scss +0 -20
- package/theming/prebuilt/blue-orange.css +0 -2815
- package/theming/prebuilt/blue-orange.css.map +0 -1
- package/theming/prebuilt/blue-orange.scss +0 -20
- package/theming/prebuilt/indigo-pink.css +0 -2815
- package/theming/prebuilt/indigo-pink.css.map +0 -1
- package/theming/prebuilt/indigo-pink.scss +0 -20
- package/theming/prebuilt/orange-light-blue.css +0 -2815
- package/theming/prebuilt/orange-light-blue.css.map +0 -1
- package/theming/prebuilt/orange-light-blue.scss +0 -20
- package/theming/prebuilt/teal-orange.css +0 -2815
- package/theming/prebuilt/teal-orange.css.map +0 -1
- package/theming/prebuilt/teal-orange.scss +0 -20
- package/user-profile/index.d.ts +0 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -41
@@ -3,44 +3,43 @@ import { PortalModule } from '@angular/cdk/portal';
|
|
3
3
|
import { MatCommonModule } from '@angular/material/core';
|
4
4
|
import { MatDialogModule } from '@angular/material/dialog';
|
5
5
|
import { CovalentSideSheet } from './side-sheet';
|
6
|
-
import {
|
7
|
-
import {
|
6
|
+
import { CovalentSideSheetContainerComponent } from './side-sheet-container';
|
7
|
+
import { CovalentSideSheetActionsDirective, CovalentSideSheetCloseDirective, CovalentSideSheetContentDirective, CovalentSideSheetTitleDirective, CovalentSideSheetWrapperDirective, } from './side-sheet.content-directives';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
export class CovalentSideSheetModule {
|
10
10
|
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcGxhdGZvcm0vY29yZS9zaWRlLXNoZWV0L3NpZGUtc2hlZXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9B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hbGVudFNpZGVTaGVldENvbnRhaW5lcixcbiAgICBDb3ZhbGVudFNpZGVTaGVldEFjdGlvbnMsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRDbG9zZSxcbiAgICBDb3ZhbGVudFNpZGVTaGVldENvbnRlbnQsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRUaXRsZSxcbiAgICBDb3ZhbGVudFNpZGVTaGVldFdyYXBwZXIsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBDb3ZhbGVudFNpZGVTaGVldEFjdGlvbnMsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRDbG9zZSxcbiAgICBDb3ZhbGVudFNpZGVTaGVldENvbnRlbnQsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRUaXRsZSxcbiAgICBDb3ZhbGVudFNpZGVTaGVldFdyYXBwZXIsXG4gIF0sXG4gIGltcG9ydHM6IFtQb3J0YWxNb2R1bGUsIE1hdERpYWxvZ01vZHVsZSwgTWF0Q29tbW9uTW9kdWxlXSxcbiAgcHJvdmlkZXJzOiBbQ292YWxlbnRTaWRlU2hlZXRdLFxufSlcbmV4cG9ydCBjbGFzcyBDb3ZhbGVudFNpZGVTaGVldE1vZHVsZSB7fVxuIl19
|
11
|
+
CovalentSideSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSideSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
+
CovalentSideSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSideSheetModule, declarations: [CovalentSideSheetContainerComponent,
|
13
|
+
CovalentSideSheetActionsDirective,
|
14
|
+
CovalentSideSheetCloseDirective,
|
15
|
+
CovalentSideSheetContentDirective,
|
16
|
+
CovalentSideSheetTitleDirective,
|
17
|
+
CovalentSideSheetWrapperDirective], imports: [PortalModule, MatDialogModule, MatCommonModule], exports: [CovalentSideSheetActionsDirective,
|
18
|
+
CovalentSideSheetCloseDirective,
|
19
|
+
CovalentSideSheetContentDirective,
|
20
|
+
CovalentSideSheetTitleDirective,
|
21
|
+
CovalentSideSheetWrapperDirective] });
|
22
|
+
CovalentSideSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSideSheetModule, providers: [CovalentSideSheet], imports: [[PortalModule, MatDialogModule, MatCommonModule]] });
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentSideSheetModule, decorators: [{
|
24
|
+
type: NgModule,
|
25
|
+
args: [{
|
26
|
+
declarations: [
|
27
|
+
CovalentSideSheetContainerComponent,
|
28
|
+
CovalentSideSheetActionsDirective,
|
29
|
+
CovalentSideSheetCloseDirective,
|
30
|
+
CovalentSideSheetContentDirective,
|
31
|
+
CovalentSideSheetTitleDirective,
|
32
|
+
CovalentSideSheetWrapperDirective,
|
33
|
+
],
|
34
|
+
exports: [
|
35
|
+
CovalentSideSheetActionsDirective,
|
36
|
+
CovalentSideSheetCloseDirective,
|
37
|
+
CovalentSideSheetContentDirective,
|
38
|
+
CovalentSideSheetTitleDirective,
|
39
|
+
CovalentSideSheetWrapperDirective,
|
40
|
+
],
|
41
|
+
imports: [PortalModule, MatDialogModule, MatCommonModule],
|
42
|
+
providers: [CovalentSideSheet],
|
43
|
+
}]
|
44
|
+
}] });
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1zaGVldC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc2lkZS1zaGVldC9zcmMvc2lkZS1zaGVldC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQW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FyYXRpb25zOiBbXG4gICAgQ292YWxlbnRTaWRlU2hlZXRDb250YWluZXJDb21wb25lbnQsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRBY3Rpb25zRGlyZWN0aXZlLFxuICAgIENvdmFsZW50U2lkZVNoZWV0Q2xvc2VEaXJlY3RpdmUsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRDb250ZW50RGlyZWN0aXZlLFxuICAgIENvdmFsZW50U2lkZVNoZWV0VGl0bGVEaXJlY3RpdmUsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRXcmFwcGVyRGlyZWN0aXZlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQ292YWxlbnRTaWRlU2hlZXRBY3Rpb25zRGlyZWN0aXZlLFxuICAgIENvdmFsZW50U2lkZVNoZWV0Q2xvc2VEaXJlY3RpdmUsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRDb250ZW50RGlyZWN0aXZlLFxuICAgIENvdmFsZW50U2lkZVNoZWV0VGl0bGVEaXJlY3RpdmUsXG4gICAgQ292YWxlbnRTaWRlU2hlZXRXcmFwcGVyRGlyZWN0aXZlLFxuICBdLFxuICBpbXBvcnRzOiBbUG9ydGFsTW9kdWxlLCBNYXREaWFsb2dNb2R1bGUsIE1hdENvbW1vbk1vZHVsZV0sXG4gIHByb3ZpZGVyczogW0NvdmFsZW50U2lkZVNoZWV0XSxcbn0pXG5leHBvcnQgY2xhc3MgQ292YWxlbnRTaWRlU2hlZXRNb2R1bGUge31cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
2
|
* Generated bundle index. Do not edit.
|
3
3
|
*/
|
4
|
-
export * from './
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY292YWxlbnQtY29yZS11c2VyLXByb2ZpbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvdXNlci1wcm9maWxlL3NyYy9jb3ZhbGVudC1jb3JlLXVzZXItcHJvZmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export * from './user-profile.module';
|
2
2
|
export * from './user-profile.component';
|
3
3
|
export * from './user-profile-menu/user-profile-menu.component';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci91c2VyLXByb2ZpbGUvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsaURBQWlELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3VzZXItcHJvZmlsZS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi91c2VyLXByb2ZpbGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vdXNlci1wcm9maWxlLW1lbnUvdXNlci1wcm9maWxlLW1lbnUuY29tcG9uZW50JztcbiJdfQ==
|
@@ -2,74 +2,23 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "@covalent/core/menu";
|
4
4
|
import * as i2 from "@angular/material/list";
|
5
|
-
import * as i3 from "@angular/
|
6
|
-
import * as i4 from "@angular/
|
5
|
+
import * as i3 from "@angular/material/icon";
|
6
|
+
import * as i4 from "@angular/common";
|
7
7
|
import * as i5 from "@angular/material/core";
|
8
|
-
function TdUserProfileMenuComponent_mat_list_item_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
9
|
-
i0.ɵɵelementStart(0, "span", 7);
|
10
|
-
i0.ɵɵtext(1);
|
11
|
-
i0.ɵɵelementEnd();
|
12
|
-
} if (rf & 2) {
|
13
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
14
|
-
i0.ɵɵadvance(1);
|
15
|
-
i0.ɵɵtextInterpolate(ctx_r1.name);
|
16
|
-
} }
|
17
|
-
function TdUserProfileMenuComponent_mat_list_item_2_span_4_Template(rf, ctx) { if (rf & 1) {
|
18
|
-
i0.ɵɵelementStart(0, "span", 8);
|
19
|
-
i0.ɵɵtext(1);
|
20
|
-
i0.ɵɵelementEnd();
|
21
|
-
} if (rf & 2) {
|
22
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
23
|
-
i0.ɵɵadvance(1);
|
24
|
-
i0.ɵɵtextInterpolate(ctx_r2.email);
|
25
|
-
} }
|
26
|
-
function TdUserProfileMenuComponent_mat_list_item_2_Template(rf, ctx) { if (rf & 1) {
|
27
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
28
|
-
i0.ɵɵelementStart(0, "mat-list-item", 3);
|
29
|
-
i0.ɵɵlistener("click", function TdUserProfileMenuComponent_mat_list_item_2_Template_mat_list_item_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3._blockEvent($event); });
|
30
|
-
i0.ɵɵelementStart(1, "mat-icon", 4);
|
31
|
-
i0.ɵɵtext(2, "person");
|
32
|
-
i0.ɵɵelementEnd();
|
33
|
-
i0.ɵɵtemplate(3, TdUserProfileMenuComponent_mat_list_item_2_span_3_Template, 2, 1, "span", 5);
|
34
|
-
i0.ɵɵtemplate(4, TdUserProfileMenuComponent_mat_list_item_2_span_4_Template, 2, 1, "span", 6);
|
35
|
-
i0.ɵɵelementEnd();
|
36
|
-
} if (rf & 2) {
|
37
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
38
|
-
i0.ɵɵadvance(3);
|
39
|
-
i0.ɵɵproperty("ngIf", ctx_r0.name);
|
40
|
-
i0.ɵɵadvance(1);
|
41
|
-
i0.ɵɵproperty("ngIf", ctx_r0.email);
|
42
|
-
} }
|
43
|
-
const _c0 = [[["", "td-user-info-list", ""]], [["", "td-user-action-list", ""]]];
|
44
|
-
const _c1 = ["[td-user-info-list]", "[td-user-action-list]"];
|
45
8
|
export class TdUserProfileMenuComponent {
|
46
9
|
_blockEvent(event) {
|
47
10
|
event.preventDefault();
|
48
11
|
event.stopPropagation();
|
49
12
|
}
|
50
13
|
}
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
i0.ɵɵelementEnd();
|
63
|
-
} if (rf & 2) {
|
64
|
-
i0.ɵɵadvance(2);
|
65
|
-
i0.ɵɵproperty("ngIf", ctx.name || ctx.email);
|
66
|
-
} }, directives: [i1.TdMenuComponent, i2.MatList, i3.NgIf, i2.MatListItem, i4.MatIcon, i2.MatListAvatarCssMatStyler, i5.MatLine], styles: [".user-profile-menu[_ngcontent-%COMP%] [td-menu-header][_ngcontent-%COMP%]{text-align:left;padding-bottom:0} mat-list-item:not(:first-child) .mat-list-item-content .mat-icon[matListAvatar], [mat-list-item] .mat-list-item-content .mat-icon[matListAvatar]{background:none}.mat-action-list[_ngcontent-%COMP%]{padding-top:0}[_nghost-%COMP%] .mat-action-list .mat-divider, [_nghost-%COMP%] .mat-divider{margin:8px 0}[_nghost-%COMP%] mat-divider:last-child{display:none}[_nghost-%COMP%] mat-list .mat-list-item.mat-2-line .mat-list-item-content{height:inherit}[_nghost-%COMP%] mat-list .mat-list-item .mat-list-item-content{padding:8px}td-menu[_ngcontent-%COMP%]{margin-bottom:0}"], changeDetection: 0 });
|
67
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdUserProfileMenuComponent, [{
|
68
|
-
type: Component,
|
69
|
-
args: [{ selector: 'td-user-profile-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<td-menu class=\"user-profile-menu\">\n <!--header-->\n <mat-list td-menu-header>\n <mat-list-item *ngIf=\"name || email\" (click)=\"_blockEvent($event)\">\n <mat-icon matListAvatar>person</mat-icon>\n <span matLine *ngIf=\"name\" class=\"mat-body-1\">{{ name }}</span>\n <span matLine *ngIf=\"email\">{{ email }}</span>\n </mat-list-item>\n <ng-content select=\"[td-user-info-list]\"></ng-content>\n </mat-list>\n <!--content-->\n <mat-action-list>\n <ng-content select=\"[td-user-action-list]\"></ng-content>\n </mat-action-list>\n</td-menu>\n", styles: [".user-profile-menu [td-menu-header]{text-align:left;padding-bottom:0}::ng-deep mat-list-item:not(:first-child) .mat-list-item-content .mat-icon[matListAvatar],::ng-deep [mat-list-item] .mat-list-item-content .mat-icon[matListAvatar]{background:none}.mat-action-list{padding-top:0}:host ::ng-deep .mat-action-list .mat-divider,:host ::ng-deep .mat-divider{margin:8px 0}:host ::ng-deep mat-divider:last-child{display:none}:host ::ng-deep mat-list .mat-list-item.mat-2-line .mat-list-item-content{height:inherit}:host ::ng-deep mat-list .mat-list-item .mat-list-item-content{padding:8px}td-menu{margin-bottom:0}\n"] }]
|
70
|
-
}], null, { email: [{
|
71
|
-
type: Input
|
72
|
-
}], name: [{
|
73
|
-
type: Input
|
74
|
-
}] }); })();
|
75
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1wcm9maWxlLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIs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tbGlzdC1pdGVtICpuZ0lmPVwibmFtZSB8fCBlbWFpbFwiIChjbGljayk9XCJfYmxvY2tFdmVudCgkZXZlbnQpXCI+XG4gICAgICA8bWF0LWljb24gbWF0TGlzdEF2YXRhcj5wZXJzb248L21hdC1pY29uPlxuICAgICAgPHNwYW4gbWF0TGluZSAqbmdJZj1cIm5hbWVcIiBjbGFzcz1cIm1hdC1ib2R5LTFcIj57eyBuYW1lIH19PC9zcGFuPlxuICAgICAgPHNwYW4gbWF0TGluZSAqbmdJZj1cImVtYWlsXCI+e3sgZW1haWwgfX08L3NwYW4+XG4gICAgPC9tYXQtbGlzdC1pdGVtPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlt0ZC11c2VyLWluZm8tbGlzdF1cIj48L25nLWNvbnRlbnQ+XG4gIDwvbWF0LWxpc3Q+XG4gIDwhLS1jb250ZW50LS0+XG4gIDxtYXQtYWN0aW9uLWxpc3Q+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3RkLXVzZXItYWN0aW9uLWxpc3RdXCI+PC9uZy1jb250ZW50PlxuICA8L21hdC1hY3Rpb24tbGlzdD5cbjwvdGQtbWVudT5cbiJdfQ==
|
14
|
+
TdUserProfileMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdUserProfileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
15
|
+
TdUserProfileMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdUserProfileMenuComponent, selector: "td-user-profile-menu", inputs: { email: "email", name: "name" }, ngImport: i0, template: "<td-menu class=\"user-profile-menu\">\n <!--header-->\n <mat-list td-menu-header>\n <mat-list-item *ngIf=\"name || email\" (click)=\"_blockEvent($event)\">\n <mat-icon matListAvatar>person</mat-icon>\n <span matLine *ngIf=\"name\" class=\"mat-body-1\">{{ name }}</span>\n <span matLine *ngIf=\"email\">{{ email }}</span>\n </mat-list-item>\n <ng-content select=\"[td-user-info-list]\"></ng-content>\n </mat-list>\n <!--content-->\n <mat-action-list>\n <ng-content select=\"[td-user-action-list]\"></ng-content>\n </mat-action-list>\n</td-menu>\n", styles: [".user-profile-menu [td-menu-header]{text-align:left;padding-bottom:0}::ng-deep mat-list-item:not(:first-child) .mat-list-item-content .mat-icon[matListAvatar],::ng-deep [mat-list-item] .mat-list-item-content .mat-icon[matListAvatar]{background:none}.mat-action-list{padding-top:0}:host ::ng-deep .mat-action-list .mat-divider,:host ::ng-deep .mat-divider{margin:8px 0}:host ::ng-deep mat-divider:last-child{display:none}:host ::ng-deep mat-list .mat-list-item.mat-2-line .mat-list-item-content{height:inherit}:host ::ng-deep mat-list .mat-list-item .mat-list-item-content{padding:8px}td-menu{margin-bottom:0}\n"], components: [{ type: i1.TdMenuComponent, selector: "td-menu" }, { type: i2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatListAvatarCssMatStyler, selector: "[mat-list-avatar], [matListAvatar]" }, { type: i5.MatLine, selector: "[mat-line], [matLine]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdUserProfileMenuComponent, decorators: [{
|
17
|
+
type: Component,
|
18
|
+
args: [{ selector: 'td-user-profile-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<td-menu class=\"user-profile-menu\">\n <!--header-->\n <mat-list td-menu-header>\n <mat-list-item *ngIf=\"name || email\" (click)=\"_blockEvent($event)\">\n <mat-icon matListAvatar>person</mat-icon>\n <span matLine *ngIf=\"name\" class=\"mat-body-1\">{{ name }}</span>\n <span matLine *ngIf=\"email\">{{ email }}</span>\n </mat-list-item>\n <ng-content select=\"[td-user-info-list]\"></ng-content>\n </mat-list>\n <!--content-->\n <mat-action-list>\n <ng-content select=\"[td-user-action-list]\"></ng-content>\n </mat-action-list>\n</td-menu>\n", styles: [".user-profile-menu [td-menu-header]{text-align:left;padding-bottom:0}::ng-deep mat-list-item:not(:first-child) .mat-list-item-content .mat-icon[matListAvatar],::ng-deep [mat-list-item] .mat-list-item-content .mat-icon[matListAvatar]{background:none}.mat-action-list{padding-top:0}:host ::ng-deep .mat-action-list .mat-divider,:host ::ng-deep .mat-divider{margin:8px 0}:host ::ng-deep mat-divider:last-child{display:none}:host ::ng-deep mat-list .mat-list-item.mat-2-line .mat-list-item-content{height:inherit}:host ::ng-deep mat-list .mat-list-item .mat-list-item-content{padding:8px}td-menu{margin-bottom:0}\n"] }]
|
19
|
+
}], propDecorators: { email: [{
|
20
|
+
type: Input
|
21
|
+
}], name: [{
|
22
|
+
type: Input
|
23
|
+
}] } });
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1wcm9maWxlLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3VzZXItcHJvZmlsZS9zcmMvdXNlci1wcm9maWxlLW1lbnUvdXNlci1wcm9maWxlLW1lbnUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3VzZXItcHJvZmlsZS9zcmMvdXNlci1wcm9maWxlLW1lbnUvdXNlci1wcm9maWxlLW1lbnUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyx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LnN0b3BQcm9wYWdhdGlvbigpO1xuICB9XG59XG4iLCI8dGQtbWVudSBjbGFzcz1cInVzZXItcHJvZmlsZS1tZW51XCI+XG4gIDwhLS1oZWFkZXItLT5cbiAgPG1hdC1saXN0IHRkLW1lbnUtaGVhZGVyPlxuICAgIDxtYXQtbGlzdC1pdGVtICpuZ0lmPVwibmFtZSB8fCBlbWFpbFwiIChjbGljayk9XCJfYmxvY2tFdmVudCgkZXZlbnQpXCI+XG4gICAgICA8bWF0LWljb24gbWF0TGlzdEF2YXRhcj5wZXJzb248L21hdC1pY29uPlxuICAgICAgPHNwYW4gbWF0TGluZSAqbmdJZj1cIm5hbWVcIiBjbGFzcz1cIm1hdC1ib2R5LTFcIj57eyBuYW1lIH19PC9zcGFuPlxuICAgICAgPHNwYW4gbWF0TGluZSAqbmdJZj1cImVtYWlsXCI+e3sgZW1haWwgfX08L3NwYW4+XG4gICAgPC9tYXQtbGlzdC1pdGVtPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlt0ZC11c2VyLWluZm8tbGlzdF1cIj48L25nLWNvbnRlbnQ+XG4gIDwvbWF0LWxpc3Q+XG4gIDwhLS1jb250ZW50LS0+XG4gIDxtYXQtYWN0aW9uLWxpc3Q+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3RkLXVzZXItYWN0aW9uLWxpc3RdXCI+PC9uZy1jb250ZW50PlxuICA8L21hdC1hY3Rpb24tbGlzdD5cbjwvdGQtbWVudT5cbiJdfQ==
|
@@ -1,41 +1,19 @@
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "@angular/material/button";
|
4
|
-
import * as i2 from "@angular/material/
|
5
|
-
import * as i3 from "@angular/material/
|
4
|
+
import * as i2 from "@angular/material/icon";
|
5
|
+
import * as i3 from "@angular/material/menu";
|
6
6
|
import * as i4 from "./user-profile-menu/user-profile-menu.component";
|
7
|
-
const _c0 = [[["", "td-user-info-list", ""]], [["", "td-user-action-list", ""]]];
|
8
|
-
const _c1 = ["[td-user-info-list]", "[td-user-action-list]"];
|
9
7
|
export class TdUserProfileComponent {
|
10
8
|
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
i0.ɵɵprojection(7, 1, ["td-user-action-list", ""]);
|
23
|
-
i0.ɵɵelementEnd();
|
24
|
-
i0.ɵɵelementEnd();
|
25
|
-
} if (rf & 2) {
|
26
|
-
const _r0 = i0.ɵɵreference(4);
|
27
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r0);
|
28
|
-
i0.ɵɵadvance(3);
|
29
|
-
i0.ɵɵproperty("overlapTrigger", false);
|
30
|
-
i0.ɵɵadvance(2);
|
31
|
-
i0.ɵɵproperty("name", ctx.name)("email", ctx.email);
|
32
|
-
} }, directives: [i1.MatButton, i2.MatMenuTrigger, i3.MatIcon, i2.MatMenu, i4.TdUserProfileMenuComponent], encapsulation: 2, changeDetection: 0 });
|
33
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdUserProfileComponent, [{
|
34
|
-
type: Component,
|
35
|
-
args: [{ selector: 'td-user-profile', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button [matMenuTriggerFor]=\"accountMenu\">\n <mat-icon>person</mat-icon>\n</button>\n\n<mat-menu #accountMenu=\"matMenu\" [overlapTrigger]=\"false\">\n <td-user-profile-menu [name]=\"name\" [email]=\"email\">\n <ng-content select=\"[td-user-info-list]\" td-user-info-list></ng-content>\n <ng-content select=\"[td-user-action-list]\" td-user-action-list></ng-content>\n </td-user-profile-menu>\n</mat-menu>\n" }]
|
36
|
-
}], null, { name: [{
|
37
|
-
type: Input
|
38
|
-
}], email: [{
|
39
|
-
type: Input
|
40
|
-
}] }); })();
|
41
|
-
//# sourceMappingURL=data:application/json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vbmVudCh7XG4gIHNlbGVjdG9yOiAndGQtdXNlci1wcm9maWxlJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3VzZXItcHJvZmlsZS5jb21wb25lbnQuaHRtbCcsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBUZFVzZXJQcm9maWxlQ29tcG9uZW50IHtcbiAgQElucHV0KCkgbmFtZTogc3RyaW5nO1xuICBASW5wdXQoKSBlbWFpbDogc3RyaW5nO1xufVxuIiwiPGJ1dHRvbiBtYXQtaWNvbi1idXR0b24gW21hdE1lbnVUcmlnZ2VyRm9yXT1cImFjY291bnRNZW51XCI+XG4gIDxtYXQtaWNvbj5wZXJzb248L21hdC1pY29uPlxuPC9idXR0b24+XG5cbjxtYXQtbWVudSAjYWNjb3VudE1lbnU9XCJtYXRNZW51XCIgW292ZXJsYXBUcmlnZ2VyXT1cImZhbHNlXCI+XG4gIDx0ZC11c2VyLXByb2ZpbGUtbWVudSBbbmFtZV09XCJuYW1lXCIgW2VtYWlsXT1cImVtYWlsXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3RkLXVzZXItaW5mby1saXN0XVwiIHRkLXVzZXItaW5mby1saXN0PjwvbmctY29udGVudD5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbdGQtdXNlci1hY3Rpb24tbGlzdF1cIiB0ZC11c2VyLWFjdGlvbi1saXN0PjwvbmctY29udGVudD5cbiAgPC90ZC11c2VyLXByb2ZpbGUtbWVudT5cbjwvbWF0LW1lbnU+XG4iXX0=
|
9
|
+
TdUserProfileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdUserProfileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
10
|
+
TdUserProfileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdUserProfileComponent, selector: "td-user-profile", inputs: { name: "name", email: "email" }, ngImport: i0, template: "<button mat-icon-button [matMenuTriggerFor]=\"accountMenu\">\n <mat-icon>person</mat-icon>\n</button>\n\n<mat-menu #accountMenu=\"matMenu\" [overlapTrigger]=\"false\">\n <td-user-profile-menu [name]=\"name\" [email]=\"email\">\n <ng-content select=\"[td-user-info-list]\" td-user-info-list></ng-content>\n <ng-content select=\"[td-user-action-list]\" td-user-action-list></ng-content>\n </td-user-profile-menu>\n</mat-menu>\n", components: [{ type: i1.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"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i4.TdUserProfileMenuComponent, selector: "td-user-profile-menu", inputs: ["email", "name"] }], directives: [{ type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdUserProfileComponent, decorators: [{
|
12
|
+
type: Component,
|
13
|
+
args: [{ selector: 'td-user-profile', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button [matMenuTriggerFor]=\"accountMenu\">\n <mat-icon>person</mat-icon>\n</button>\n\n<mat-menu #accountMenu=\"matMenu\" [overlapTrigger]=\"false\">\n <td-user-profile-menu [name]=\"name\" [email]=\"email\">\n <ng-content select=\"[td-user-info-list]\" td-user-info-list></ng-content>\n <ng-content select=\"[td-user-action-list]\" td-user-action-list></ng-content>\n </td-user-profile-menu>\n</mat-menu>\n" }]
|
14
|
+
}], propDecorators: { name: [{
|
15
|
+
type: Input
|
16
|
+
}], email: [{
|
17
|
+
type: Input
|
18
|
+
}] } });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1wcm9maWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci91c2VyLXByb2ZpbGUvc3JjL3VzZXItcHJvZmlsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvdXNlci1wcm9maWxlL3NyYy91c2VyLXByb2ZpbGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7OztBQU8xRSxNQUFNLE9BQU8sc0JBQXNCOzttSEFBdEIsc0JBQXNCO3VHQUF0QixzQkFBc0IsaUdDUG5DLG9iQVVBOzJGREhhLHNCQUFzQjtrQkFMbEMsU0FBUzsrQkFDRSxpQkFBaUIsbUJBRVYsdUJBQXVCLENBQUMsTUFBTTs4QkFHdEMsSUFBSTtzQkFBWixLQUFLO2dCQUNHLEtBQUs7c0JBQWIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ3RkLXVzZXItcHJvZmlsZScsXG4gIHRlbXBsYXRlVXJsOiAnLi91c2VyLXByb2ZpbGUuY29tcG9uZW50Lmh0bWwnLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgVGRVc2VyUHJvZmlsZUNvbXBvbmVudCB7XG4gIEBJbnB1dCgpIG5hbWU/OiBzdHJpbmc7XG4gIEBJbnB1dCgpIGVtYWlsPzogc3RyaW5nO1xufVxuIiwiPGJ1dHRvbiBtYXQtaWNvbi1idXR0b24gW21hdE1lbnVUcmlnZ2VyRm9yXT1cImFjY291bnRNZW51XCI+XG4gIDxtYXQtaWNvbj5wZXJzb248L21hdC1pY29uPlxuPC9idXR0b24+XG5cbjxtYXQtbWVudSAjYWNjb3VudE1lbnU9XCJtYXRNZW51XCIgW292ZXJsYXBUcmlnZ2VyXT1cImZhbHNlXCI+XG4gIDx0ZC11c2VyLXByb2ZpbGUtbWVudSBbbmFtZV09XCJuYW1lXCIgW2VtYWlsXT1cImVtYWlsXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3RkLXVzZXItaW5mby1saXN0XVwiIHRkLXVzZXItaW5mby1saXN0PjwvbmctY29udGVudD5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbdGQtdXNlci1hY3Rpb24tbGlzdF1cIiB0ZC11c2VyLWFjdGlvbi1saXN0PjwvbmctY29udGVudD5cbiAgPC90ZC11c2VyLXByb2ZpbGUtbWVudT5cbjwvbWF0LW1lbnU+XG4iXX0=
|
@@ -10,17 +10,35 @@ import { CovalentMenuModule } from '@covalent/core/menu';
|
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
export class CovalentUserProfileModule {
|
12
12
|
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
13
|
+
CovalentUserProfileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentUserProfileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
14
|
+
CovalentUserProfileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentUserProfileModule, declarations: [TdUserProfileComponent, TdUserProfileMenuComponent], imports: [CommonModule,
|
15
|
+
MatMenuModule,
|
16
|
+
MatIconModule,
|
17
|
+
MatButtonModule,
|
18
|
+
MatListModule,
|
19
|
+
CovalentMenuModule], exports: [TdUserProfileComponent, TdUserProfileMenuComponent] });
|
20
|
+
CovalentUserProfileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentUserProfileModule, providers: [], imports: [[
|
21
|
+
CommonModule,
|
22
|
+
MatMenuModule,
|
23
|
+
MatIconModule,
|
24
|
+
MatButtonModule,
|
25
|
+
MatListModule,
|
26
|
+
CovalentMenuModule,
|
27
|
+
]] });
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentUserProfileModule, decorators: [{
|
29
|
+
type: NgModule,
|
30
|
+
args: [{
|
31
|
+
declarations: [TdUserProfileComponent, TdUserProfileMenuComponent],
|
32
|
+
imports: [
|
33
|
+
CommonModule,
|
34
|
+
MatMenuModule,
|
35
|
+
MatIconModule,
|
36
|
+
MatButtonModule,
|
37
|
+
MatListModule,
|
38
|
+
CovalentMenuModule,
|
39
|
+
],
|
40
|
+
providers: [],
|
41
|
+
exports: [TdUserProfileComponent, TdUserProfileMenuComponent],
|
42
|
+
}]
|
43
|
+
}] });
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1wcm9maWxlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci91c2VyLXByb2ZpbGUvc3JjL3VzZXItcHJvZmlsZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE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sZSxcbiAgICBNYXRJY29uTW9kdWxlLFxuICAgIE1hdEJ1dHRvbk1vZHVsZSxcbiAgICBNYXRMaXN0TW9kdWxlLFxuICAgIENvdmFsZW50TWVudU1vZHVsZSxcbiAgXSxcbiAgcHJvdmlkZXJzOiBbXSxcbiAgZXhwb3J0czogW1RkVXNlclByb2ZpbGVDb21wb25lbnQsIFRkVXNlclByb2ZpbGVNZW51Q29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQ292YWxlbnRVc2VyUHJvZmlsZU1vZHVsZSB7fVxuIl19
|
@@ -1,28 +1,12 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, ChangeDetectionStrategy, HostBinding, ContentChildren, Input, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i2 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
|
-
import * as
|
5
|
+
import * as i1 from '@angular/material/icon';
|
6
6
|
import { MatIconModule } from '@angular/material/icon';
|
7
7
|
import { Subscription, Subject, merge, fromEvent } from 'rxjs';
|
8
8
|
import { debounceTime, distinctUntilChanged, startWith } from 'rxjs/operators';
|
9
9
|
|
10
|
-
function TdBreadcrumbComponent_mat_icon_1_Template(rf, ctx) {
|
11
|
-
if (rf & 1) {
|
12
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
13
|
-
i0.ɵɵelementStart(0, "mat-icon", 1);
|
14
|
-
i0.ɵɵlistener("click", function TdBreadcrumbComponent_mat_icon_1_Template_mat_icon_click_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1._handleIconClick($event); });
|
15
|
-
i0.ɵɵtext(1);
|
16
|
-
i0.ɵɵelementEnd();
|
17
|
-
}
|
18
|
-
if (rf & 2) {
|
19
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
20
|
-
i0.ɵɵstyleProp("cursor", "default");
|
21
|
-
i0.ɵɵadvance(1);
|
22
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.separatorIcon, "\n");
|
23
|
-
}
|
24
|
-
}
|
25
|
-
const _c0$1 = ["*"];
|
26
10
|
class TdBreadcrumbComponent {
|
27
11
|
constructor(_elementRef, _changeDetectorRef) {
|
28
12
|
this._elementRef = _elementRef;
|
@@ -31,6 +15,8 @@ class TdBreadcrumbComponent {
|
|
31
15
|
this._width = 0;
|
32
16
|
this._displayIcon = true;
|
33
17
|
this._separatorIcon = 'chevron_right';
|
18
|
+
this.matButtonClass = true;
|
19
|
+
this.tdBreadCrumbClass = true;
|
34
20
|
}
|
35
21
|
// Sets the icon url shown between breadcrumbs. Defaults to 'chevron_right'
|
36
22
|
get separatorIcon() {
|
@@ -81,7 +67,7 @@ class TdBreadcrumbComponent {
|
|
81
67
|
ngAfterViewInit() {
|
82
68
|
// set the width from the actual rendered DOM element
|
83
69
|
setTimeout(() => {
|
84
|
-
this._width = this._elementRef.nativeElement.getBoundingClientRect().width;
|
70
|
+
this._width = (this._elementRef.nativeElement).getBoundingClientRect().width;
|
85
71
|
this._changeDetectorRef.markForCheck();
|
86
72
|
});
|
87
73
|
}
|
@@ -93,35 +79,22 @@ class TdBreadcrumbComponent {
|
|
93
79
|
event.preventDefault();
|
94
80
|
}
|
95
81
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
i0.ɵɵstyleProp("display", ctx.displayBinding);
|
100
|
-
}
|
101
|
-
}, ngContentSelectors: _c0$1, decls: 2, vars: 1, consts: [["class", "td-breadcrumb-separator-icon", 3, "cursor", "click", 4, "ngIf"], [1, "td-breadcrumb-separator-icon", 3, "click"]], template: function TdBreadcrumbComponent_Template(rf, ctx) {
|
102
|
-
if (rf & 1) {
|
103
|
-
i0.ɵɵprojectionDef();
|
104
|
-
i0.ɵɵprojection(0);
|
105
|
-
i0.ɵɵtemplate(1, TdBreadcrumbComponent_mat_icon_1_Template, 2, 3, "mat-icon", 0);
|
106
|
-
}
|
107
|
-
if (rf & 2) {
|
108
|
-
i0.ɵɵadvance(1);
|
109
|
-
i0.ɵɵproperty("ngIf", ctx.displayIcon);
|
110
|
-
}
|
111
|
-
}, directives: [i1.NgIf, i2.MatIcon], styles: [".td-breadcrumb[_nghost-%COMP%]{display:inline-block;box-sizing:border-box;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-ms-flex-pack:end;justify-content:flex-end}.td-breadcrumb[_nghost-%COMP%] >*{margin:0 10px}[_nghost-%COMP%] .td-breadcrumb-separator-icon[_ngcontent-%COMP%]{display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.mat-button[_nghost-%COMP%]{min-width:0;padding:0}"], changeDetection: 0 });
|
112
|
-
(function () {
|
113
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdBreadcrumbComponent, [{
|
82
|
+
TdBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBreadcrumbComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
83
|
+
TdBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdBreadcrumbComponent, selector: "td-breadcrumb, a[td-breadcrumb]", host: { properties: { "class.mat-button": "this.matButtonClass", "class.td-breadcrumb": "this.tdBreadCrumbClass", "style.display": "this.displayBinding" } }, ngImport: i0, template: "<ng-content></ng-content>\n<mat-icon\n *ngIf=\"displayIcon\"\n class=\"td-breadcrumb-separator-icon\"\n [style.cursor]=\"'default'\"\n (click)=\"_handleIconClick($event)\"\n>\n {{ separatorIcon }}\n</mat-icon>\n", styles: [":host.td-breadcrumb{display:inline-block;box-sizing:border-box;flex-direction:row;align-items:center;align-content:center;max-width:100%;justify-content:flex-end}:host.td-breadcrumb ::ng-deep>*{margin:0 10px}:host .td-breadcrumb-separator-icon{display:inline-flex;vertical-align:middle}:host.mat-button{min-width:0;padding:0}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBreadcrumbComponent, decorators: [{
|
114
85
|
type: Component,
|
115
|
-
args: [{ selector: 'td-breadcrumb, a[td-breadcrumb]', host: {
|
116
|
-
|
117
|
-
|
118
|
-
|
86
|
+
args: [{ selector: 'td-breadcrumb, a[td-breadcrumb]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n<mat-icon\n *ngIf=\"displayIcon\"\n class=\"td-breadcrumb-separator-icon\"\n [style.cursor]=\"'default'\"\n (click)=\"_handleIconClick($event)\"\n>\n {{ separatorIcon }}\n</mat-icon>\n", styles: [":host.td-breadcrumb{display:inline-block;box-sizing:border-box;flex-direction:row;align-items:center;align-content:center;max-width:100%;justify-content:flex-end}:host.td-breadcrumb ::ng-deep>*{margin:0 10px}:host .td-breadcrumb-separator-icon{display:inline-flex;vertical-align:middle}:host.mat-button{min-width:0;padding:0}\n"] }]
|
87
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { matButtonClass: [{
|
88
|
+
type: HostBinding,
|
89
|
+
args: ['class.mat-button']
|
90
|
+
}], tdBreadCrumbClass: [{
|
91
|
+
type: HostBinding,
|
92
|
+
args: ['class.td-breadcrumb']
|
93
|
+
}], displayBinding: [{
|
119
94
|
type: HostBinding,
|
120
95
|
args: ['style.display']
|
121
|
-
}] });
|
122
|
-
})();
|
96
|
+
}] } });
|
123
97
|
|
124
|
-
const _c0 = ["*"];
|
125
98
|
class TdBreadcrumbsComponent {
|
126
99
|
constructor(_elementRef, _changeDetectorRef) {
|
127
100
|
this._elementRef = _elementRef;
|
@@ -130,6 +103,7 @@ class TdBreadcrumbsComponent {
|
|
130
103
|
this._widthSubject = new Subject();
|
131
104
|
this._resizing = false;
|
132
105
|
this._separatorIcon = 'chevron_right';
|
106
|
+
this.tdBreadCrumbsClass = true;
|
133
107
|
// the list of hidden breadcrumbs not shown right now (responsive)
|
134
108
|
this.hiddenBreadcrumbs = [];
|
135
109
|
}
|
@@ -161,7 +135,9 @@ class TdBreadcrumbsComponent {
|
|
161
135
|
}
|
162
136
|
}
|
163
137
|
ngAfterContentInit() {
|
164
|
-
this._contentChildrenSub = this._breadcrumbs.changes
|
138
|
+
this._contentChildrenSub = this._breadcrumbs.changes
|
139
|
+
.pipe(startWith(this._breadcrumbs))
|
140
|
+
.subscribe(() => {
|
165
141
|
this.setCrumbIcons();
|
166
142
|
this._changeDetectorRef.markForCheck();
|
167
143
|
});
|
@@ -233,51 +209,34 @@ class TdBreadcrumbsComponent {
|
|
233
209
|
this._changeDetectorRef.markForCheck();
|
234
210
|
}
|
235
211
|
}
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
i0.ɵɵcontentQuery(dirIndex, TdBreadcrumbComponent, 5);
|
240
|
-
}
|
241
|
-
if (rf & 2) {
|
242
|
-
let _t;
|
243
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._breadcrumbs = _t);
|
244
|
-
}
|
245
|
-
}, hostAttrs: [1, "td-breadcrumbs"], inputs: { separatorIcon: "separatorIcon" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function TdBreadcrumbsComponent_Template(rf, ctx) {
|
246
|
-
if (rf & 1) {
|
247
|
-
i0.ɵɵprojectionDef();
|
248
|
-
i0.ɵɵprojection(0);
|
249
|
-
}
|
250
|
-
}, styles: ["[_nghost-%COMP%]{display:block;width:100%}.td-breadcrumbs[_nghost-%COMP%]{white-space:nowrap}"], changeDetection: 0 });
|
251
|
-
(function () {
|
252
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdBreadcrumbsComponent, [{
|
212
|
+
TdBreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBreadcrumbsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
213
|
+
TdBreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdBreadcrumbsComponent, selector: "td-breadcrumbs", inputs: { separatorIcon: "separatorIcon" }, host: { properties: { "class.td-breadcrumbs": "this.tdBreadCrumbsClass" } }, queries: [{ propertyName: "_breadcrumbs", predicate: TdBreadcrumbComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block;width:100%}:host.td-breadcrumbs{white-space:nowrap}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdBreadcrumbsComponent, decorators: [{
|
253
215
|
type: Component,
|
254
|
-
args: [{ selector: 'td-breadcrumbs', host:
|
255
|
-
|
256
|
-
|
257
|
-
|
216
|
+
args: [{ selector: 'td-breadcrumbs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [":host{display:block;width:100%}:host.td-breadcrumbs{white-space:nowrap}\n"] }]
|
217
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { tdBreadCrumbsClass: [{
|
218
|
+
type: HostBinding,
|
219
|
+
args: ['class.td-breadcrumbs']
|
220
|
+
}], _breadcrumbs: [{
|
258
221
|
type: ContentChildren,
|
259
222
|
args: [TdBreadcrumbComponent, { descendants: true }]
|
260
223
|
}], separatorIcon: [{
|
261
224
|
type: Input
|
262
|
-
}] });
|
263
|
-
})();
|
225
|
+
}] } });
|
264
226
|
|
265
227
|
class CovalentBreadcrumbsModule {
|
266
228
|
}
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
(
|
271
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentBreadcrumbsModule, [{
|
229
|
+
CovalentBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
230
|
+
CovalentBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBreadcrumbsModule, declarations: [TdBreadcrumbsComponent, TdBreadcrumbComponent], imports: [CommonModule, MatIconModule], exports: [TdBreadcrumbsComponent, TdBreadcrumbComponent] });
|
231
|
+
CovalentBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBreadcrumbsModule, imports: [[CommonModule, MatIconModule]] });
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBreadcrumbsModule, decorators: [{
|
272
233
|
type: NgModule,
|
273
234
|
args: [{
|
274
235
|
imports: [CommonModule, MatIconModule],
|
275
236
|
declarations: [TdBreadcrumbsComponent, TdBreadcrumbComponent],
|
276
237
|
exports: [TdBreadcrumbsComponent, TdBreadcrumbComponent],
|
277
238
|
}]
|
278
|
-
}]
|
279
|
-
})();
|
280
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentBreadcrumbsModule, { declarations: [TdBreadcrumbsComponent, TdBreadcrumbComponent], imports: [CommonModule, MatIconModule], exports: [TdBreadcrumbsComponent, TdBreadcrumbComponent] }); })();
|
239
|
+
}] });
|
281
240
|
|
282
241
|
/**
|
283
242
|
* Generated bundle index. Do not edit.
|