@covalent/core 3.1.2 → 4.0.0-beta.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/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +3 -0
- package/breadcrumbs/breadcrumb/breadcrumb.component.scss +3 -0
- package/breadcrumbs/breadcrumbs.component.d.ts +3 -0
- package/breadcrumbs/breadcrumbs.component.scss +1 -0
- package/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -0
- package/breadcrumbs/package.json +6 -7
- package/common/_common-theme.scss +2 -0
- package/common/common.module.d.ts +15 -0
- package/common/covalent-core-common.d.ts +1 -2
- package/common/directives/fullscreen/fullscreen.directive.d.ts +3 -0
- package/common/forms/auto-trim/auto-trim.directive.d.ts +3 -0
- package/common/material-icons.css +31 -18
- package/common/material-icons.css.map +1 -1
- package/common/package.json +6 -7
- package/common/pipes/bytes/bytes.pipe.d.ts +3 -0
- package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +3 -0
- package/common/pipes/digits/digits.pipe.d.ts +3 -0
- package/common/pipes/time-ago/time-ago.pipe.d.ts +3 -0
- package/common/pipes/time-difference/time-difference.pipe.d.ts +3 -0
- package/common/pipes/time-until/time-until.pipe.d.ts +3 -0
- package/common/pipes/truncate/truncate.pipe.d.ts +3 -0
- package/common/platform.css +11828 -10433
- package/common/platform.css.map +1 -1
- package/common/services/icon.service.d.ts +3 -0
- package/common/services/router-path.service.d.ts +3 -0
- package/common/styles/_layout.scss +12 -10
- package/common/styles/_palette-dark.scss +2 -2
- package/common/styles/_palette-light.scss +6 -6
- package/common/styles/_rtl.scss +3 -0
- package/common/styles/_variables.scss +5 -5
- package/common/styles/colors/_colors-dark.scss +327 -0
- package/common/styles/colors/_colors-light.scss +748 -0
- package/common/styles/core/_button.scss +2 -1
- package/common/styles/core/_card.scss +27 -7
- package/common/styles/core/_content.scss +2 -1
- package/common/styles/core/_divider.scss +1 -0
- package/common/styles/core/_icons.scss +2 -0
- package/common/styles/core/_sidenav.scss +2 -0
- package/common/styles/core/_structure.scss +6 -7
- package/common/styles/core/_toolbar.scss +7 -0
- package/common/styles/core/_whiteframe.scss +2 -2
- package/common/styles/font/_font.scss +10 -4
- package/common/styles/utilities/_general.scss +14 -0
- package/common/styles/utilities/_text.scss +21 -0
- package/covalent-core.d.ts +1 -0
- package/dialogs/_dialog-theme.scss +1 -0
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -0
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/dialogs/covalent-core-dialogs.d.ts +1 -1
- package/dialogs/dialog.component.d.ts +9 -0
- package/dialogs/dialog.component.scss +5 -0
- package/dialogs/dialogs.module.d.ts +17 -0
- package/dialogs/package.json +6 -7
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -0
- package/dialogs/prompt-dialog/prompt-dialog.component.scss +1 -0
- package/dialogs/public-api.d.ts +1 -0
- package/dialogs/services/dialog.service.d.ts +3 -0
- package/dialogs/window-dialog/window-dialog.component.d.ts +3 -0
- package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +3 -0
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +1 -0
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +3 -0
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +3 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +3 -0
- package/dynamic-menu/dynamic-menu.module.d.ts +13 -0
- package/dynamic-menu/package.json +6 -7
- package/dynamic-menu/public_api.d.ts +1 -0
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +108 -0
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +139 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +21 -0
- package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
- package/esm2020/breadcrumbs/index.mjs +2 -0
- package/esm2020/breadcrumbs/public-api.mjs +4 -0
- package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
- package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
- package/esm2020/common/animations/common/interfaces.mjs +2 -0
- package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
- package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
- package/esm2020/common/animations/headshake/headshake.animation.mjs +35 -0
- package/esm2020/common/animations/jello/jello.animation.mjs +38 -0
- package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
- package/esm2020/common/animations/rotate/rotate.animation.mjs +25 -0
- package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +39 -0
- package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
- package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
- package/esm2020/common/common.module.mjs +64 -0
- package/esm2020/common/covalent-core-common.mjs +5 -0
- package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
- package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
- package/esm2020/common/forms/validators/validators.mjs +29 -0
- package/{esm2015/common/functions/clipboard.js → esm2020/common/functions/clipboard.mjs} +3 -10
- package/esm2020/common/functions/convert.mjs +84 -0
- package/esm2020/common/functions/download.mjs +75 -0
- package/esm2020/common/functions/file.mjs +16 -0
- package/esm2020/common/index.mjs +2 -0
- package/esm2020/common/pipes/bytes/bytes.pipe.mjs +32 -0
- package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +32 -0
- package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
- package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
- package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
- package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
- package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
- package/esm2020/common/public-api.mjs +39 -0
- package/esm2020/common/services/icon.service.mjs +1089 -0
- package/esm2020/common/services/router-path.service.mjs +29 -0
- package/esm2020/covalent-core.mjs +5 -0
- package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +54 -0
- package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +68 -0
- package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
- package/esm2020/dialogs/dialog.component.mjs +97 -0
- package/esm2020/dialogs/dialogs.module.mjs +86 -0
- package/esm2020/dialogs/index.mjs +2 -0
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +104 -0
- package/esm2020/dialogs/public-api.mjs +9 -0
- package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +199 -0
- package/esm2020/dialogs/services/dialog.service.mjs +168 -0
- package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +69 -0
- package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +147 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +113 -0
- package/esm2020/dynamic-menu/dynamic-menu.component.mjs +111 -0
- package/esm2020/dynamic-menu/dynamic-menu.module.mjs +32 -0
- package/esm2020/dynamic-menu/index.mjs +2 -0
- package/esm2020/dynamic-menu/public_api.mjs +5 -0
- package/esm2020/file/covalent-core-file.mjs +5 -0
- package/esm2020/file/directives/file-drop.directive.mjs +148 -0
- package/esm2020/file/directives/file-select.directive.mjs +76 -0
- package/esm2020/file/file-input/file-input.component.mjs +137 -0
- package/esm2020/file/file-upload/file-upload.component.mjs +210 -0
- package/esm2020/file/file.module.mjs +43 -0
- package/esm2020/file/index.mjs +2 -0
- package/esm2020/file/public-api.mjs +7 -0
- package/esm2020/file/services/file.service.mjs +62 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
- package/esm2020/json-formatter/index.mjs +2 -0
- package/esm2020/json-formatter/json-formatter.component.mjs +302 -0
- package/esm2020/json-formatter/json-formatter.module.mjs +21 -0
- package/esm2020/json-formatter/public-api.mjs +3 -0
- package/esm2020/layout/covalent-core-layout.mjs +5 -0
- package/esm2020/layout/index.mjs +2 -0
- package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +87 -0
- package/esm2020/layout/layout-footer/layout-footer.component.mjs +38 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +122 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +90 -0
- package/esm2020/layout/layout-nav/layout-nav.component.mjs +112 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +215 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +90 -0
- package/esm2020/layout/layout-toggle.class.mjs +95 -0
- package/esm2020/layout/layout.component.mjs +113 -0
- package/esm2020/layout/layout.directives.mjs +87 -0
- package/esm2020/layout/layout.module.mjs +118 -0
- package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +306 -0
- package/esm2020/layout/public-api.mjs +13 -0
- package/esm2020/menu/covalent-core-menu.mjs +5 -0
- package/esm2020/menu/index.mjs +2 -0
- package/esm2020/menu/menu.component.mjs +23 -0
- package/esm2020/menu/menu.module.mjs +22 -0
- package/esm2020/menu/public-api.mjs +3 -0
- package/esm2020/message/covalent-core-message.mjs +5 -0
- package/esm2020/message/index.mjs +2 -0
- package/esm2020/message/message.component.mjs +261 -0
- package/esm2020/message/message.module.mjs +21 -0
- package/esm2020/message/public-api.mjs +3 -0
- package/esm2020/search/covalent-core-search.mjs +5 -0
- package/esm2020/search/index.mjs +2 -0
- package/esm2020/search/public-api.mjs +4 -0
- package/esm2020/search/search-box/search-box.component.mjs +220 -0
- package/esm2020/search/search-input/search-input.component.mjs +240 -0
- package/esm2020/search/search.module.mjs +24 -0
- package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
- package/esm2020/side-sheet/index.mjs +2 -0
- package/esm2020/side-sheet/public-api.mjs +6 -0
- package/esm2020/side-sheet/side-sheet-container.mjs +242 -0
- package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
- package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
- package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +178 -0
- package/esm2020/side-sheet/side-sheet.mjs +208 -0
- package/esm2020/side-sheet/side-sheet.module.mjs +46 -0
- package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
- package/esm2020/user-profile/index.mjs +2 -0
- package/esm2020/user-profile/public_api.mjs +4 -0
- package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +75 -0
- package/esm2020/user-profile/user-profile.component.mjs +41 -0
- package/esm2020/user-profile/user-profile.module.mjs +26 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs +287 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
- package/fesm2015/covalent-core-common.mjs +2251 -0
- package/fesm2015/covalent-core-common.mjs.map +1 -0
- package/fesm2015/covalent-core-dialogs.mjs +872 -0
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs +480 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-file.mjs +698 -0
- package/fesm2015/covalent-core-file.mjs.map +1 -0
- package/fesm2015/covalent-core-json-formatter.mjs +353 -0
- package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2015/covalent-core-layout.mjs +1577 -0
- package/fesm2015/covalent-core-layout.mjs.map +1 -0
- package/fesm2015/covalent-core-menu.mjs +55 -0
- package/fesm2015/covalent-core-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-message.mjs +309 -0
- package/fesm2015/covalent-core-message.mjs.map +1 -0
- package/fesm2015/covalent-core-search.mjs +508 -0
- package/fesm2015/covalent-core-search.mjs.map +1 -0
- package/fesm2015/covalent-core-side-sheet.mjs +733 -0
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2015/covalent-core-user-profile.mjs +162 -0
- package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
- package/{chips/covalent-core-chips.d.ts → fesm2015/covalent-core.mjs} +1 -1
- package/fesm2015/covalent-core.mjs.map +1 -0
- package/fesm2020/covalent-core-breadcrumbs.mjs +268 -0
- package/{fesm2015/covalent-core-breadcrumbs.js.map → fesm2020/covalent-core-breadcrumbs.mjs.map} +1 -1
- package/{fesm2015/covalent-core-common.js → fesm2020/covalent-core-common.mjs} +213 -768
- package/fesm2020/covalent-core-common.mjs.map +1 -0
- package/fesm2020/covalent-core-dialogs.mjs +812 -0
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs +393 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-file.mjs +651 -0
- package/fesm2020/covalent-core-file.mjs.map +1 -0
- package/fesm2020/covalent-core-json-formatter.mjs +326 -0
- package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2020/covalent-core-layout.mjs +1414 -0
- package/fesm2020/covalent-core-layout.mjs.map +1 -0
- package/fesm2020/covalent-core-menu.mjs +49 -0
- package/fesm2020/covalent-core-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-message.mjs +286 -0
- package/fesm2020/covalent-core-message.mjs.map +1 -0
- package/fesm2020/covalent-core-search.mjs +473 -0
- package/fesm2020/covalent-core-search.mjs.map +1 -0
- package/{fesm2015/covalent-core-side-sheet.js → fesm2020/covalent-core-side-sheet.mjs} +202 -646
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2020/covalent-core-user-profile.mjs +141 -0
- package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
- package/{data-table/covalent-core-data-table.d.ts → fesm2020/covalent-core.mjs} +1 -1
- package/fesm2020/covalent-core.mjs.map +1 -0
- package/file/_file-theme.scss +1 -0
- package/file/covalent-core-file.d.ts +1 -0
- package/file/directives/file-drop.directive.d.ts +3 -0
- package/file/directives/file-select.directive.d.ts +3 -0
- package/file/file-input/file-input.component.d.ts +5 -0
- package/file/file-input/file-input.component.scss +2 -0
- package/file/file-upload/file-upload.component.d.ts +3 -0
- package/file/file-upload/file-upload.component.scss +4 -0
- package/file/file.module.d.ts +13 -0
- package/file/package.json +6 -7
- package/file/services/file.service.d.ts +3 -0
- package/json-formatter/_json-formatter-theme.scss +10 -0
- package/json-formatter/covalent-core-json-formatter.d.ts +1 -0
- package/json-formatter/json-formatter.component.d.ts +3 -0
- package/json-formatter/json-formatter.component.scss +13 -0
- package/json-formatter/json-formatter.module.d.ts +8 -0
- package/json-formatter/package.json +6 -7
- package/layout/_layout-theme.scss +12 -0
- package/layout/covalent-core-layout.d.ts +1 -0
- package/layout/layout-card-over/layout-card-over.component.d.ts +3 -0
- package/layout/layout-card-over/layout-card-over.component.scss +3 -0
- package/layout/layout-footer/layout-footer.component.d.ts +3 -0
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +3 -0
- package/layout/layout-manage-list/layout-manage-list.component.scss +9 -5
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +7 -0
- package/layout/layout-nav/layout-nav.component.d.ts +3 -0
- package/layout/layout-nav/layout-nav.component.scss +4 -0
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +3 -0
- package/layout/layout-nav-list/layout-nav-list.component.scss +9 -4
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +7 -0
- package/layout/layout-toggle.class.d.ts +3 -0
- package/layout/layout.component.d.ts +3 -0
- package/layout/layout.component.scss +0 -4
- package/layout/layout.directives.d.ts +7 -0
- package/layout/layout.module.d.ts +23 -0
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +7 -0
- package/layout/navigation-drawer/navigation-drawer.component.scss +8 -0
- package/layout/package.json +6 -7
- package/menu/covalent-core-menu.d.ts +1 -0
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.component.scss +9 -1
- package/menu/menu.module.d.ts +8 -0
- package/menu/package.json +6 -7
- package/message/_message-theme.scss +3 -0
- package/message/covalent-core-message.d.ts +1 -0
- package/message/message.component.d.ts +5 -0
- package/message/message.component.scss +3 -0
- package/message/message.module.d.ts +7 -0
- package/message/package.json +6 -7
- package/package.json +126 -15
- package/search/covalent-core-search.d.ts +1 -0
- package/search/package.json +6 -7
- package/search/search-box/search-box.component.d.ts +3 -0
- package/search/search-box/search-box.component.scss +5 -0
- package/search/search-input/search-input.component.d.ts +3 -0
- package/search/search-input/search-input.component.scss +12 -0
- package/search/search.module.d.ts +11 -0
- package/side-sheet/covalent-core-side-sheet.d.ts +1 -2
- package/side-sheet/package.json +6 -7
- package/side-sheet/side-sheet-container.d.ts +5 -0
- package/side-sheet/side-sheet.content-directives.d.ts +11 -0
- package/side-sheet/side-sheet.d.ts +5 -0
- package/side-sheet/side-sheet.module.d.ts +9 -0
- package/side-sheet/side-sheet.scss +1 -2
- package/theming/_all-theme.scss +0 -14
- package/theming/prebuilt/blue-grey-deep-orange.css +1714 -1581
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.scss +15 -8
- package/theming/prebuilt/blue-orange.css +1713 -1580
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.scss +15 -8
- package/theming/prebuilt/indigo-pink.css +1714 -1581
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/indigo-pink.scss +15 -8
- package/theming/prebuilt/orange-light-blue.css +1713 -1580
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.scss +15 -8
- package/theming/prebuilt/teal-orange.css +1713 -1580
- package/theming/prebuilt/teal-orange.css.map +1 -1
- package/theming/prebuilt/teal-orange.scss +15 -8
- package/typography/_all-typography.scss +0 -10
- package/user-profile/covalent-core-user-profile.d.ts +1 -0
- package/user-profile/package.json +6 -7
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +3 -0
- package/user-profile/user-profile-menu/user-profile-menu.component.scss +3 -0
- package/user-profile/user-profile.component.d.ts +3 -0
- package/user-profile/user-profile.module.d.ts +12 -0
- package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +0 -1
- package/bundles/covalent-core-breadcrumbs.umd.js +0 -490
- package/bundles/covalent-core-breadcrumbs.umd.js.map +0 -1
- package/bundles/covalent-core-breadcrumbs.umd.min.js +0 -2
- package/bundles/covalent-core-breadcrumbs.umd.min.js.map +0 -1
- package/bundles/covalent-core-chips.umd.js +0 -1507
- package/bundles/covalent-core-chips.umd.js.map +0 -1
- package/bundles/covalent-core-chips.umd.min.js +0 -16
- package/bundles/covalent-core-chips.umd.min.js.map +0 -1
- package/bundles/covalent-core-common.umd.js +0 -3188
- package/bundles/covalent-core-common.umd.js.map +0 -1
- package/bundles/covalent-core-common.umd.min.js +0 -17
- package/bundles/covalent-core-common.umd.min.js.map +0 -1
- package/bundles/covalent-core-data-table.umd.js +0 -2756
- package/bundles/covalent-core-data-table.umd.js.map +0 -1
- package/bundles/covalent-core-data-table.umd.min.js +0 -16
- package/bundles/covalent-core-data-table.umd.min.js.map +0 -1
- package/bundles/covalent-core-dialogs.umd.js +0 -1318
- package/bundles/covalent-core-dialogs.umd.js.map +0 -1
- package/bundles/covalent-core-dialogs.umd.min.js +0 -2
- package/bundles/covalent-core-dialogs.umd.min.js.map +0 -1
- package/bundles/covalent-core-dynamic-menu.umd.js +0 -215
- package/bundles/covalent-core-dynamic-menu.umd.js.map +0 -1
- package/bundles/covalent-core-dynamic-menu.umd.min.js +0 -2
- package/bundles/covalent-core-dynamic-menu.umd.min.js.map +0 -1
- package/bundles/covalent-core-expansion-panel.umd.js +0 -853
- package/bundles/covalent-core-expansion-panel.umd.js.map +0 -1
- package/bundles/covalent-core-expansion-panel.umd.min.js +0 -16
- package/bundles/covalent-core-expansion-panel.umd.min.js.map +0 -1
- package/bundles/covalent-core-file.umd.js +0 -1211
- package/bundles/covalent-core-file.umd.js.map +0 -1
- package/bundles/covalent-core-file.umd.min.js +0 -17
- package/bundles/covalent-core-file.umd.min.js.map +0 -1
- package/bundles/covalent-core-json-formatter.umd.js +0 -408
- package/bundles/covalent-core-json-formatter.umd.js.map +0 -1
- package/bundles/covalent-core-json-formatter.umd.min.js +0 -2
- package/bundles/covalent-core-json-formatter.umd.min.js.map +0 -1
- package/bundles/covalent-core-layout.umd.js +0 -2084
- package/bundles/covalent-core-layout.umd.js.map +0 -1
- package/bundles/covalent-core-layout.umd.min.js +0 -17
- package/bundles/covalent-core-layout.umd.min.js.map +0 -1
- package/bundles/covalent-core-loading.umd.js +0 -1534
- package/bundles/covalent-core-loading.umd.js.map +0 -1
- package/bundles/covalent-core-loading.umd.min.js +0 -16
- package/bundles/covalent-core-loading.umd.min.js.map +0 -1
- package/bundles/covalent-core-media.umd.js +0 -749
- package/bundles/covalent-core-media.umd.js.map +0 -1
- package/bundles/covalent-core-media.umd.min.js +0 -16
- package/bundles/covalent-core-media.umd.min.js.map +0 -1
- package/bundles/covalent-core-menu.umd.js +0 -69
- package/bundles/covalent-core-menu.umd.js.map +0 -1
- package/bundles/covalent-core-menu.umd.min.js +0 -2
- package/bundles/covalent-core-menu.umd.min.js.map +0 -1
- package/bundles/covalent-core-message.umd.js +0 -375
- package/bundles/covalent-core-message.umd.js.map +0 -1
- package/bundles/covalent-core-message.umd.min.js +0 -2
- package/bundles/covalent-core-message.umd.min.js.map +0 -1
- package/bundles/covalent-core-nav-links.umd.js +0 -197
- package/bundles/covalent-core-nav-links.umd.js.map +0 -1
- package/bundles/covalent-core-nav-links.umd.min.js +0 -2
- package/bundles/covalent-core-nav-links.umd.min.js.map +0 -1
- package/bundles/covalent-core-notifications.umd.js +0 -275
- package/bundles/covalent-core-notifications.umd.js.map +0 -1
- package/bundles/covalent-core-notifications.umd.min.js +0 -2
- package/bundles/covalent-core-notifications.umd.min.js.map +0 -1
- package/bundles/covalent-core-paging.umd.js +0 -491
- package/bundles/covalent-core-paging.umd.js.map +0 -1
- package/bundles/covalent-core-paging.umd.min.js +0 -2
- package/bundles/covalent-core-paging.umd.min.js.map +0 -1
- package/bundles/covalent-core-search.umd.js +0 -877
- package/bundles/covalent-core-search.umd.js.map +0 -1
- package/bundles/covalent-core-search.umd.min.js +0 -16
- package/bundles/covalent-core-search.umd.min.js.map +0 -1
- package/bundles/covalent-core-side-sheet.umd.js +0 -1458
- package/bundles/covalent-core-side-sheet.umd.js.map +0 -1
- package/bundles/covalent-core-side-sheet.umd.min.js +0 -16
- package/bundles/covalent-core-side-sheet.umd.min.js.map +0 -1
- package/bundles/covalent-core-sidesheet.umd.js +0 -145
- package/bundles/covalent-core-sidesheet.umd.js.map +0 -1
- package/bundles/covalent-core-sidesheet.umd.min.js +0 -2
- package/bundles/covalent-core-sidesheet.umd.min.js.map +0 -1
- package/bundles/covalent-core-steps.umd.js +0 -1756
- package/bundles/covalent-core-steps.umd.js.map +0 -1
- package/bundles/covalent-core-steps.umd.min.js +0 -16
- package/bundles/covalent-core-steps.umd.min.js.map +0 -1
- package/bundles/covalent-core-tab-select.umd.js +0 -732
- package/bundles/covalent-core-tab-select.umd.js.map +0 -1
- package/bundles/covalent-core-tab-select.umd.min.js +0 -16
- package/bundles/covalent-core-tab-select.umd.min.js.map +0 -1
- package/bundles/covalent-core-user-profile.umd.js +0 -124
- package/bundles/covalent-core-user-profile.umd.js.map +0 -1
- package/bundles/covalent-core-user-profile.umd.min.js +0 -2
- package/bundles/covalent-core-user-profile.umd.min.js.map +0 -1
- package/bundles/covalent-core-virtual-scroll.umd.js +0 -785
- package/bundles/covalent-core-virtual-scroll.umd.js.map +0 -1
- package/bundles/covalent-core-virtual-scroll.umd.min.js +0 -16
- package/bundles/covalent-core-virtual-scroll.umd.min.js.map +0 -1
- package/bundles/covalent-core.umd.js +0 -9
- package/bundles/covalent-core.umd.js.map +0 -1
- package/bundles/covalent-core.umd.min.js +0 -2
- package/bundles/covalent-core.umd.min.js.map +0 -1
- package/chips/README.md +0 -99
- package/chips/_chips-theme.scss +0 -87
- package/chips/chips.component.d.ts +0 -287
- package/chips/chips.component.scss +0 -147
- package/chips/chips.module.d.ts +0 -2
- package/chips/covalent-core-chips.metadata.json +0 -1
- package/chips/index.d.ts +0 -1
- package/chips/package.json +0 -11
- package/chips/public-api.d.ts +0 -2
- package/common/covalent-core-common.metadata.json +0 -1
- package/covalent-core.metadata.json +0 -1
- package/data-table/README.md +0 -134
- package/data-table/_data-table-theme.scss +0 -115
- package/data-table/covalent-core-data-table.metadata.json +0 -1
- package/data-table/data-table-cell/data-table-cell.component.d.ts +0 -22
- package/data-table/data-table-cell/data-table-cell.component.scss +0 -58
- package/data-table/data-table-column/data-table-column.component.d.ts +0 -63
- package/data-table/data-table-column/data-table-column.component.scss +0 -80
- package/data-table/data-table-row/data-table-row.component.d.ts +0 -20
- package/data-table/data-table-row/data-table-row.component.scss +0 -12
- package/data-table/data-table-table/data-table-table.component.d.ts +0 -6
- package/data-table/data-table-table/data-table-table.component.scss +0 -7
- package/data-table/data-table.component.d.ts +0 -356
- package/data-table/data-table.component.scss +0 -93
- package/data-table/data-table.module.d.ts +0 -2
- package/data-table/directives/data-table-template.directive.d.ts +0 -6
- package/data-table/index.d.ts +0 -1
- package/data-table/package.json +0 -11
- package/data-table/public-api.d.ts +0 -8
- package/data-table/services/data-table.service.d.ts +0 -31
- package/dialogs/covalent-core-dialogs.metadata.json +0 -1
- package/dynamic-menu/covalent-core-dynamic-menu.metadata.json +0 -1
- package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +0 -171
- package/esm2015/breadcrumbs/breadcrumbs.component.js +0 -241
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -20
- package/esm2015/breadcrumbs/covalent-core-breadcrumbs.js +0 -10
- package/esm2015/breadcrumbs/index.js +0 -7
- package/esm2015/breadcrumbs/public-api.js +0 -9
- package/esm2015/chips/chips.component.js +0 -1115
- package/esm2015/chips/chips.module.js +0 -23
- package/esm2015/chips/covalent-core-chips.js +0 -10
- package/esm2015/chips/index.js +0 -7
- package/esm2015/chips/public-api.js +0 -8
- package/esm2015/common/animations/bounce/bounce.animation.js +0 -76
- package/esm2015/common/animations/collapse/collapse.animation.js +0 -67
- package/esm2015/common/animations/common/interfaces.js +0 -18
- package/esm2015/common/animations/fade/fadeInOut.animation.js +0 -53
- package/esm2015/common/animations/flash/flash.animation.js +0 -40
- package/esm2015/common/animations/headshake/headshake.animation.js +0 -41
- package/esm2015/common/animations/jello/jello.animation.js +0 -44
- package/esm2015/common/animations/pulse/pulse.animation.js +0 -38
- package/esm2015/common/animations/rotate/rotate.animation.js +0 -41
- package/esm2015/common/behaviors/control-value-accesor.mixin.js +0 -107
- package/esm2015/common/behaviors/disable-ripple.mixin.js +0 -63
- package/esm2015/common/behaviors/disabled.mixin.js +0 -63
- package/esm2015/common/common.module.js +0 -54
- package/esm2015/common/covalent-core-common.js +0 -12
- package/esm2015/common/directives/fullscreen/fullscreen.directive.js +0 -180
- package/esm2015/common/forms/auto-trim/auto-trim.directive.js +0 -46
- package/esm2015/common/forms/validators/validators.js +0 -58
- package/esm2015/common/functions/convert.js +0 -103
- package/esm2015/common/functions/download.js +0 -88
- package/esm2015/common/functions/file.js +0 -29
- package/esm2015/common/index.js +0 -7
- package/esm2015/common/pipes/bytes/bytes.pipe.js +0 -41
- package/esm2015/common/pipes/decimal-bytes/decimal-bytes.pipe.js +0 -41
- package/esm2015/common/pipes/digits/digits.pipe.js +0 -65
- package/esm2015/common/pipes/time-ago/time-ago.pipe.js +0 -81
- package/esm2015/common/pipes/time-difference/time-difference.pipe.js +0 -66
- package/esm2015/common/pipes/time-until/time-until.pipe.js +0 -81
- package/esm2015/common/pipes/truncate/truncate.pipe.js +0 -34
- package/esm2015/common/public-api.js +0 -44
- package/esm2015/common/services/icon.service.js +0 -1109
- package/esm2015/common/services/router-path.service.js +0 -60
- package/esm2015/covalent-core.js +0 -10
- package/esm2015/data-table/covalent-core-data-table.js +0 -10
- package/esm2015/data-table/data-table-cell/data-table-cell.component.js +0 -88
- package/esm2015/data-table/data-table-column/data-table-column.component.js +0 -218
- package/esm2015/data-table/data-table-row/data-table-row.component.js +0 -132
- package/esm2015/data-table/data-table-table/data-table-table.component.js +0 -43
- package/esm2015/data-table/data-table.component.js +0 -1640
- package/esm2015/data-table/data-table.module.js +0 -39
- package/esm2015/data-table/directives/data-table-template.directive.js +0 -32
- package/esm2015/data-table/index.js +0 -7
- package/esm2015/data-table/public-api.js +0 -14
- package/esm2015/data-table/services/data-table.service.js +0 -116
- package/esm2015/dialogs/alert-dialog/alert-dialog.component.js +0 -47
- package/esm2015/dialogs/confirm-dialog/confirm-dialog.component.js +0 -59
- package/esm2015/dialogs/covalent-core-dialogs.js +0 -11
- package/esm2015/dialogs/dialog.component.js +0 -58
- package/esm2015/dialogs/dialogs.module.js +0 -57
- package/esm2015/dialogs/index.js +0 -7
- package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +0 -83
- package/esm2015/dialogs/public-api.js +0 -13
- package/esm2015/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.js +0 -325
- package/esm2015/dialogs/services/dialog.service.js +0 -316
- package/esm2015/dialogs/window-dialog/window-dialog.component.js +0 -56
- package/esm2015/dynamic-menu/covalent-core-dynamic-menu.js +0 -11
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.js +0 -40
- package/esm2015/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.js +0 -35
- package/esm2015/dynamic-menu/dynamic-menu.component.js +0 -89
- package/esm2015/dynamic-menu/dynamic-menu.module.js +0 -26
- package/esm2015/dynamic-menu/index.js +0 -7
- package/esm2015/dynamic-menu/public_api.js +0 -9
- package/esm2015/expansion-panel/covalent-core-expansion-panel.js +0 -10
- package/esm2015/expansion-panel/expansion-panel-group.component.js +0 -212
- package/esm2015/expansion-panel/expansion-panel.component.js +0 -272
- package/esm2015/expansion-panel/expansion-panel.module.js +0 -31
- package/esm2015/expansion-panel/index.js +0 -7
- package/esm2015/expansion-panel/public-api.js +0 -9
- package/esm2015/file/covalent-core-file.js +0 -10
- package/esm2015/file/directives/file-drop.directive.js +0 -191
- package/esm2015/file/directives/file-select.directive.js +0 -98
- package/esm2015/file/file-input/file-input.component.js +0 -186
- package/esm2015/file/file-upload/file-upload.component.js +0 -237
- package/esm2015/file/file.module.js +0 -35
- package/esm2015/file/index.js +0 -7
- package/esm2015/file/public-api.js +0 -12
- package/esm2015/file/services/file.service.js +0 -109
- package/esm2015/index.js +0 -7
- package/esm2015/json-formatter/covalent-core-json-formatter.js +0 -10
- package/esm2015/json-formatter/index.js +0 -7
- package/esm2015/json-formatter/json-formatter.component.js +0 -338
- package/esm2015/json-formatter/json-formatter.module.js +0 -20
- package/esm2015/json-formatter/public-api.js +0 -8
- package/esm2015/layout/covalent-core-layout.js +0 -10
- package/esm2015/layout/index.js +0 -7
- package/esm2015/layout/layout-card-over/layout-card-over.component.js +0 -71
- package/esm2015/layout/layout-footer/layout-footer.component.js +0 -71
- package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +0 -145
- package/esm2015/layout/layout-manage-list/layout-manage-list.directives.js +0 -132
- package/esm2015/layout/layout-nav/layout-nav.component.js +0 -100
- package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +0 -220
- package/esm2015/layout/layout-nav-list/layout-nav-list.directives.js +0 -132
- package/esm2015/layout/layout-toggle.class.js +0 -188
- package/esm2015/layout/layout.component.js +0 -145
- package/esm2015/layout/layout.directives.js +0 -129
- package/esm2015/layout/layout.module.js +0 -64
- package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +0 -280
- package/esm2015/layout/public-api.js +0 -18
- package/esm2015/loading/covalent-core-loading.js +0 -10
- package/esm2015/loading/directives/loading.directive.js +0 -231
- package/esm2015/loading/index.js +0 -7
- package/esm2015/loading/loading.component.js +0 -302
- package/esm2015/loading/loading.module.js +0 -30
- package/esm2015/loading/public-api.js +0 -11
- package/esm2015/loading/services/loading.factory.js +0 -297
- package/esm2015/loading/services/loading.service.js +0 -319
- package/esm2015/media/covalent-core-media.js +0 -10
- package/esm2015/media/directives/media-toggle.directive.js +0 -207
- package/esm2015/media/index.js +0 -7
- package/esm2015/media/media.module.js +0 -20
- package/esm2015/media/public-api.js +0 -9
- package/esm2015/media/services/media.service.js +0 -169
- package/esm2015/menu/covalent-core-menu.js +0 -10
- package/esm2015/menu/index.js +0 -7
- package/esm2015/menu/menu.component.js +0 -16
- package/esm2015/menu/menu.module.js +0 -22
- package/esm2015/menu/public-api.js +0 -8
- package/esm2015/message/covalent-core-message.js +0 -10
- package/esm2015/message/index.js +0 -7
- package/esm2015/message/message.component.js +0 -307
- package/esm2015/message/message.module.js +0 -21
- package/esm2015/message/public-api.js +0 -8
- package/esm2015/nav-links/covalent-core-nav-links.js +0 -10
- package/esm2015/nav-links/index.js +0 -7
- package/esm2015/nav-links/nav-links.component.js +0 -138
- package/esm2015/nav-links/nav-links.module.js +0 -37
- package/esm2015/nav-links/public-api.js +0 -8
- package/esm2015/notifications/covalent-core-notifications.js +0 -10
- package/esm2015/notifications/index.js +0 -7
- package/esm2015/notifications/notification-count.component.js +0 -191
- package/esm2015/notifications/notifications.module.js +0 -20
- package/esm2015/notifications/public-api.js +0 -8
- package/esm2015/paging/covalent-core-paging.js +0 -10
- package/esm2015/paging/index.js +0 -7
- package/esm2015/paging/paging-bar.component.js +0 -412
- package/esm2015/paging/paging.module.js +0 -20
- package/esm2015/paging/public-api.js +0 -8
- package/esm2015/search/covalent-core-search.js +0 -10
- package/esm2015/search/index.js +0 -7
- package/esm2015/search/public-api.js +0 -9
- package/esm2015/search/search-box/search-box.component.js +0 -270
- package/esm2015/search/search-input/search-input.component.js +0 -260
- package/esm2015/search/search.module.js +0 -23
- package/esm2015/side-sheet/covalent-core-side-sheet.js +0 -12
- package/esm2015/side-sheet/index.js +0 -7
- package/esm2015/side-sheet/public-api.js +0 -11
- package/esm2015/side-sheet/side-sheet-container.js +0 -402
- package/esm2015/side-sheet/side-sheet-ref.js +0 -50
- package/esm2015/side-sheet/side-sheet.animation.js +0 -20
- package/esm2015/side-sheet/side-sheet.config.js +0 -12
- package/esm2015/side-sheet/side-sheet.content-directives.js +0 -255
- package/esm2015/side-sheet/side-sheet.js +0 -360
- package/esm2015/side-sheet/side-sheet.module.js +0 -36
- package/esm2015/sidesheet/covalent-core-sidesheet.js +0 -10
- package/esm2015/sidesheet/index.js +0 -7
- package/esm2015/sidesheet/public-api.js +0 -8
- package/esm2015/sidesheet/sidesheet.component.js +0 -72
- package/esm2015/sidesheet/sidesheet.module.js +0 -27
- package/esm2015/steps/covalent-core-steps.js +0 -10
- package/esm2015/steps/index.js +0 -7
- package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +0 -144
- package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +0 -371
- package/esm2015/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +0 -130
- package/esm2015/steps/public-api.js +0 -14
- package/esm2015/steps/step-body/step-body.component.js +0 -83
- package/esm2015/steps/step-header/step-header.component.js +0 -79
- package/esm2015/steps/step.component.js +0 -312
- package/esm2015/steps/steps.component.js +0 -234
- package/esm2015/steps/steps.module.js +0 -44
- package/esm2015/tab-select/covalent-core-tab-select.js +0 -10
- package/esm2015/tab-select/index.js +0 -7
- package/esm2015/tab-select/public-api.js +0 -9
- package/esm2015/tab-select/tab-option.component.js +0 -82
- package/esm2015/tab-select/tab-select.component.js +0 -291
- package/esm2015/tab-select/tab-select.module.js +0 -31
- package/esm2015/user-profile/covalent-core-user-profile.js +0 -10
- package/esm2015/user-profile/index.js +0 -7
- package/esm2015/user-profile/public_api.js +0 -9
- package/esm2015/user-profile/user-profile-menu/user-profile-menu.component.js +0 -35
- package/esm2015/user-profile/user-profile.component.js +0 -26
- package/esm2015/user-profile/user-profile.module.js +0 -33
- package/esm2015/virtual-scroll/covalent-core-virtual-scroll.js +0 -10
- package/esm2015/virtual-scroll/index.js +0 -7
- package/esm2015/virtual-scroll/public-api.js +0 -9
- package/esm2015/virtual-scroll/virtual-scroll-container.component.js +0 -391
- package/esm2015/virtual-scroll/virtual-scroll-row.directive.js +0 -25
- package/esm2015/virtual-scroll/virtual-scroll.module.js +0 -21
- package/expansion-panel/README.md +0 -116
- package/expansion-panel/_expansion-panel-theme.scss +0 -80
- package/expansion-panel/covalent-core-expansion-panel.d.ts +0 -4
- package/expansion-panel/covalent-core-expansion-panel.metadata.json +0 -1
- package/expansion-panel/expansion-panel-group.component.d.ts +0 -31
- package/expansion-panel/expansion-panel-group.component.scss +0 -0
- package/expansion-panel/expansion-panel.component.d.ts +0 -82
- package/expansion-panel/expansion-panel.component.scss +0 -50
- package/expansion-panel/expansion-panel.module.d.ts +0 -2
- package/expansion-panel/index.d.ts +0 -1
- package/expansion-panel/package.json +0 -11
- package/expansion-panel/public-api.d.ts +0 -3
- package/fesm2015/covalent-core-breadcrumbs.js +0 -448
- package/fesm2015/covalent-core-chips.js +0 -1151
- package/fesm2015/covalent-core-chips.js.map +0 -1
- package/fesm2015/covalent-core-common.js.map +0 -1
- package/fesm2015/covalent-core-data-table.js +0 -2309
- package/fesm2015/covalent-core-data-table.js.map +0 -1
- package/fesm2015/covalent-core-dialogs.js +0 -1001
- package/fesm2015/covalent-core-dialogs.js.map +0 -1
- package/fesm2015/covalent-core-dynamic-menu.js +0 -204
- package/fesm2015/covalent-core-dynamic-menu.js.map +0 -1
- package/fesm2015/covalent-core-expansion-panel.js +0 -528
- package/fesm2015/covalent-core-expansion-panel.js.map +0 -1
- package/fesm2015/covalent-core-file.js +0 -855
- package/fesm2015/covalent-core-file.js.map +0 -1
- package/fesm2015/covalent-core-json-formatter.js +0 -377
- package/fesm2015/covalent-core-json-formatter.js.map +0 -1
- package/fesm2015/covalent-core-layout.js +0 -1663
- package/fesm2015/covalent-core-layout.js.map +0 -1
- package/fesm2015/covalent-core-loading.js +0 -1179
- package/fesm2015/covalent-core-loading.js.map +0 -1
- package/fesm2015/covalent-core-media.js +0 -411
- package/fesm2015/covalent-core-media.js.map +0 -1
- package/fesm2015/covalent-core-menu.js +0 -57
- package/fesm2015/covalent-core-menu.js.map +0 -1
- package/fesm2015/covalent-core-message.js +0 -347
- package/fesm2015/covalent-core-message.js.map +0 -1
- package/fesm2015/covalent-core-nav-links.js +0 -193
- package/fesm2015/covalent-core-nav-links.js.map +0 -1
- package/fesm2015/covalent-core-notifications.js +0 -228
- package/fesm2015/covalent-core-notifications.js.map +0 -1
- package/fesm2015/covalent-core-paging.js +0 -451
- package/fesm2015/covalent-core-paging.js.map +0 -1
- package/fesm2015/covalent-core-search.js +0 -564
- package/fesm2015/covalent-core-search.js.map +0 -1
- package/fesm2015/covalent-core-side-sheet.js.map +0 -1
- package/fesm2015/covalent-core-sidesheet.js +0 -118
- package/fesm2015/covalent-core-sidesheet.js.map +0 -1
- package/fesm2015/covalent-core-steps.js +0 -1384
- package/fesm2015/covalent-core-steps.js.map +0 -1
- package/fesm2015/covalent-core-tab-select.js +0 -416
- package/fesm2015/covalent-core-tab-select.js.map +0 -1
- package/fesm2015/covalent-core-user-profile.js +0 -111
- package/fesm2015/covalent-core-user-profile.js.map +0 -1
- package/fesm2015/covalent-core-virtual-scroll.js +0 -453
- package/fesm2015/covalent-core-virtual-scroll.js.map +0 -1
- package/fesm2015/covalent-core.js +0 -12
- package/fesm2015/covalent-core.js.map +0 -1
- package/file/covalent-core-file.metadata.json +0 -1
- package/json-formatter/covalent-core-json-formatter.metadata.json +0 -1
- package/layout/covalent-core-layout.metadata.json +0 -1
- package/loading/README.md +0 -180
- package/loading/_loading-theme.scss +0 -10
- package/loading/covalent-core-loading.d.ts +0 -4
- package/loading/covalent-core-loading.metadata.json +0 -1
- package/loading/directives/loading.directive.d.ts +0 -71
- package/loading/index.d.ts +0 -1
- package/loading/loading.component.d.ts +0 -87
- package/loading/loading.component.scss +0 -42
- package/loading/loading.module.d.ts +0 -2
- package/loading/package.json +0 -11
- package/loading/public-api.d.ts +0 -5
- package/loading/services/loading.factory.d.ts +0 -66
- package/loading/services/loading.service.d.ts +0 -118
- package/media/covalent-core-media.d.ts +0 -4
- package/media/covalent-core-media.metadata.json +0 -1
- package/media/directives/media-toggle.directive.d.ts +0 -42
- package/media/index.d.ts +0 -1
- package/media/media.module.d.ts +0 -2
- package/media/package.json +0 -11
- package/media/public-api.d.ts +0 -3
- package/media/services/media.service.d.ts +0 -31
- package/menu/covalent-core-menu.metadata.json +0 -1
- package/message/covalent-core-message.metadata.json +0 -1
- package/nav-links/README.md +0 -1
- package/nav-links/covalent-core-nav-links.d.ts +0 -4
- package/nav-links/covalent-core-nav-links.metadata.json +0 -1
- package/nav-links/index.d.ts +0 -1
- package/nav-links/nav-links.component.d.ts +0 -51
- package/nav-links/nav-links.component.scss +0 -15
- package/nav-links/nav-links.module.d.ts +0 -2
- package/nav-links/package.json +0 -11
- package/nav-links/public-api.d.ts +0 -2
- package/notifications/README.md +0 -69
- package/notifications/_notification-count-theme.scss +0 -27
- package/notifications/covalent-core-notifications.d.ts +0 -4
- package/notifications/covalent-core-notifications.metadata.json +0 -1
- package/notifications/index.d.ts +0 -1
- package/notifications/notification-count.component.d.ts +0 -74
- package/notifications/notification-count.component.scss +0 -90
- package/notifications/notifications.module.d.ts +0 -2
- package/notifications/package.json +0 -11
- package/notifications/public-api.d.ts +0 -2
- package/paging/README.md +0 -141
- package/paging/_paging-bar-theme.scss +0 -26
- package/paging/covalent-core-paging.d.ts +0 -4
- package/paging/covalent-core-paging.metadata.json +0 -1
- package/paging/index.d.ts +0 -1
- package/paging/package.json +0 -11
- package/paging/paging-bar.component.d.ts +0 -115
- package/paging/paging-bar.component.scss +0 -23
- package/paging/paging.module.d.ts +0 -2
- package/paging/public-api.d.ts +0 -2
- package/schematics/collection.json +0 -11
- package/schematics/components.js +0 -124
- package/schematics/components.js.map +0 -1
- package/schematics/migration.json +0 -10
- package/schematics/ng-add/index.js +0 -58
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/ng-add/schema.js +0 -3
- package/schematics/ng-add/schema.js.map +0 -1
- package/schematics/ng-add/schema.json +0 -81
- package/schematics/ng-update/index.js +0 -52
- package/schematics/ng-update/index.js.map +0 -1
- package/schematics/ng-update/target-version.js +0 -8
- package/schematics/ng-update/target-version.js.map +0 -1
- package/schematics/version-names.js +0 -6
- package/schematics/version-names.js.map +0 -1
- package/search/covalent-core-search.metadata.json +0 -1
- package/side-sheet/covalent-core-side-sheet.metadata.json +0 -1
- package/sidesheet/README.md +0 -68
- package/sidesheet/covalent-core-sidesheet.d.ts +0 -4
- package/sidesheet/covalent-core-sidesheet.metadata.json +0 -1
- package/sidesheet/index.d.ts +0 -1
- package/sidesheet/package.json +0 -11
- package/sidesheet/public-api.d.ts +0 -2
- package/sidesheet/sidesheet.component.d.ts +0 -13
- package/sidesheet/sidesheet.component.scss +0 -101
- package/sidesheet/sidesheet.module.d.ts +0 -2
- package/steps/README.md +0 -159
- package/steps/_steps-theme.scss +0 -108
- package/steps/covalent-core-steps.d.ts +0 -4
- package/steps/covalent-core-steps.metadata.json +0 -1
- package/steps/index.d.ts +0 -1
- package/steps/nav/README.md +0 -90
- package/steps/nav/nav-step-link/nav-step-link.component.d.ts +0 -42
- package/steps/nav/nav-step-link/nav-step-link.component.scss +0 -17
- package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.d.ts +0 -79
- package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.scss +0 -83
- package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.d.ts +0 -18
- package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.scss +0 -18
- package/steps/package.json +0 -11
- package/steps/public-api.d.ts +0 -8
- package/steps/step-body/step-body.component.d.ts +0 -25
- package/steps/step-body/step-body.component.scss +0 -29
- package/steps/step-header/step-header.component.d.ts +0 -35
- package/steps/step-header/step-header.component.scss +0 -90
- package/steps/step.component.d.ts +0 -97
- package/steps/steps.component.d.ts +0 -60
- package/steps/steps.component.scss +0 -55
- package/steps/steps.module.d.ts +0 -2
- package/tab-select/README.md +0 -93
- package/tab-select/covalent-core-tab-select.d.ts +0 -4
- package/tab-select/covalent-core-tab-select.metadata.json +0 -1
- package/tab-select/index.d.ts +0 -1
- package/tab-select/package.json +0 -11
- package/tab-select/public-api.d.ts +0 -3
- package/tab-select/tab-option.component.d.ts +0 -20
- package/tab-select/tab-option.component.scss +0 -0
- package/tab-select/tab-select.component.d.ts +0 -62
- package/tab-select/tab-select.component.scss +0 -3
- package/tab-select/tab-select.module.d.ts +0 -2
- package/user-profile/covalent-core-user-profile.metadata.json +0 -1
- package/virtual-scroll/README.md +0 -68
- package/virtual-scroll/covalent-core-virtual-scroll.d.ts +0 -4
- package/virtual-scroll/covalent-core-virtual-scroll.metadata.json +0 -1
- package/virtual-scroll/index.d.ts +0 -1
- package/virtual-scroll/package.json +0 -11
- package/virtual-scroll/public-api.d.ts +0 -3
- package/virtual-scroll/virtual-scroll-container.component.d.ts +0 -73
- package/virtual-scroll/virtual-scroll-container.component.scss +0 -7
- package/virtual-scroll/virtual-scroll-row.directive.d.ts +0 -5
- package/virtual-scroll/virtual-scroll.module.d.ts +0 -2
@@ -0,0 +1,122 @@
|
|
1
|
+
import { Component, Input, ViewChild } from '@angular/core';
|
2
|
+
import { MatSidenav } from '@angular/material/sidenav';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/material/sidenav";
|
5
|
+
import * as i2 from "@angular/cdk/scrolling";
|
6
|
+
const _c0 = [[["mat-toolbar", "td-sidenav-content", ""]], [["", "td-sidenav-content", ""]], [["mat-toolbar"]], "*", [["td-layout-footer-inner"]]];
|
7
|
+
const _c1 = ["mat-toolbar[td-sidenav-content]", "[td-sidenav-content]", "mat-toolbar", "*", "td-layout-footer-inner"];
|
8
|
+
export class TdLayoutManageListComponent {
|
9
|
+
constructor() {
|
10
|
+
/**
|
11
|
+
* mode?: 'side', 'push' or 'over'
|
12
|
+
*
|
13
|
+
* The mode or styling of the sidenav.
|
14
|
+
* Defaults to "side".
|
15
|
+
* See "MatSidenav" documentation for more info.
|
16
|
+
*
|
17
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
18
|
+
*/
|
19
|
+
this.mode = 'side';
|
20
|
+
/**
|
21
|
+
* opened?: boolean
|
22
|
+
*
|
23
|
+
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
24
|
+
* Defaults to "true".
|
25
|
+
*
|
26
|
+
* See "MatSidenav" documentation for more info.
|
27
|
+
*
|
28
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
29
|
+
*/
|
30
|
+
this.opened = true;
|
31
|
+
/**
|
32
|
+
* sidenavWidth?: string
|
33
|
+
*
|
34
|
+
* Sets the "width" of the sidenav in either "px" or "%"
|
35
|
+
* Defaults to "257px".
|
36
|
+
*
|
37
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
38
|
+
*/
|
39
|
+
this.sidenavWidth = '257px';
|
40
|
+
/**
|
41
|
+
* containerAutosize?: boolean
|
42
|
+
*
|
43
|
+
* Sets "autosize" of the sidenav-container.
|
44
|
+
* Defaults to "false".
|
45
|
+
*
|
46
|
+
* See documentation for more info and potential performance risks.
|
47
|
+
*
|
48
|
+
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
49
|
+
*/
|
50
|
+
this.containerAutosize = false;
|
51
|
+
}
|
52
|
+
/**
|
53
|
+
* Checks if `ESC` should close the sidenav
|
54
|
+
* Should only close it for `push` and `over` modes
|
55
|
+
*/
|
56
|
+
get disableClose() {
|
57
|
+
return this.mode === 'side';
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
61
|
+
*/
|
62
|
+
toggle() {
|
63
|
+
return this.sidenav.toggle(!this.sidenav.opened);
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* Proxy open method to access sidenav from outside (from td-layout template).
|
67
|
+
*/
|
68
|
+
open() {
|
69
|
+
return this.sidenav.open();
|
70
|
+
}
|
71
|
+
/**
|
72
|
+
* Proxy close method to access sidenav from outside (from td-layout template).
|
73
|
+
*/
|
74
|
+
close() {
|
75
|
+
return this.sidenav.close();
|
76
|
+
}
|
77
|
+
}
|
78
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListComponent.ɵfac = function TdLayoutManageListComponent_Factory(t) { return new (t || TdLayoutManageListComponent)(); };
|
79
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdLayoutManageListComponent, selectors: [["td-layout-manage-list"]], viewQuery: function TdLayoutManageListComponent_Query(rf, ctx) { if (rf & 1) {
|
80
|
+
i0.ɵɵviewQuery(MatSidenav, 7);
|
81
|
+
} if (rf & 2) {
|
82
|
+
let _t;
|
83
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
84
|
+
} }, inputs: { mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize" }, ngContentSelectors: _c1, decls: 11, vars: 8, consts: [["fullscreen", "", 1, "td-layout-manage-list", 3, "autosize"], ["position", "start", 3, "mode", "opened", "disableClose"], ["sidenav", ""], ["cdkScrollable", "", 1, "td-layout-manage-list-sidenav"], [1, "td-layout-manage-list-main"], ["cdkScrollable", "", 1, "td-layout-manage-list-content"]], template: function TdLayoutManageListComponent_Template(rf, ctx) { if (rf & 1) {
|
85
|
+
i0.ɵɵprojectionDef(_c0);
|
86
|
+
i0.ɵɵelementStart(0, "mat-sidenav-container", 0);
|
87
|
+
i0.ɵɵelementStart(1, "mat-sidenav", 1, 2);
|
88
|
+
i0.ɵɵprojection(3);
|
89
|
+
i0.ɵɵelementStart(4, "div", 3);
|
90
|
+
i0.ɵɵprojection(5, 1);
|
91
|
+
i0.ɵɵelementEnd();
|
92
|
+
i0.ɵɵelementEnd();
|
93
|
+
i0.ɵɵelementStart(6, "div", 4);
|
94
|
+
i0.ɵɵprojection(7, 2);
|
95
|
+
i0.ɵɵelementStart(8, "div", 5);
|
96
|
+
i0.ɵɵprojection(9, 3);
|
97
|
+
i0.ɵɵelementEnd();
|
98
|
+
i0.ɵɵprojection(10, 4);
|
99
|
+
i0.ɵɵelementEnd();
|
100
|
+
i0.ɵɵelementEnd();
|
101
|
+
} if (rf & 2) {
|
102
|
+
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
103
|
+
i0.ɵɵadvance(1);
|
104
|
+
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
105
|
+
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
106
|
+
} }, directives: [i1.MatSidenavContainer, i1.MatSidenav, i2.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}"] });
|
107
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListComponent, [{
|
108
|
+
type: Component,
|
109
|
+
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"] }]
|
110
|
+
}], null, { sidenav: [{
|
111
|
+
type: ViewChild,
|
112
|
+
args: [MatSidenav, { static: true }]
|
113
|
+
}], mode: [{
|
114
|
+
type: Input
|
115
|
+
}], opened: [{
|
116
|
+
type: Input
|
117
|
+
}], sidenavWidth: [{
|
118
|
+
type: Input
|
119
|
+
}], containerAutosize: [{
|
120
|
+
type: Input
|
121
|
+
}] }); })();
|
122
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LW1hbmFnZS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2xheW91dC9sYXlvdXQtbWFuYWdlLWxpc3QvbGF5b3V0LW1hbmFnZS1saXN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2xheW91dC9sYXlvdXQtbWFuYWdlLWxpc3QvbGF5b3V0LW1hbmFnZS1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWEsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV2RSxPQUFPLEVBQUUsVUFBVSxFQUF5QixNQUFNLDJCQUEyQixDQUFDOzs7Ozs7QUFTOUUsTUFBTSxPQUFPLDJCQUEyQjtJQUx4QztRQVFFOzs7Ozs7OztXQVFHO1FBQ00sU0FBSSxHQUE2QixNQUFNLENBQUM7UUFFakQ7Ozs7Ozs7OztXQVNHO1FBQ00sV0FBTSxHQUFZLElBQUksQ0FBQztRQUVoQzs7Ozs7OztXQU9HO1FBQ00saUJBQVksR0FBVyxPQUFPLENBQUM7UUFFeEM7Ozs7Ozs7OztXQVNHO1FBQ00sc0JBQWlCLEdBQVksS0FBSyxDQUFDO0tBOEI3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gY2xhc3M9XCJ0ZC1sYXlvdXQtbWFuYWdlLWxpc3QtbWFpblwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIm1hdC10b29sYmFyXCI+PC9uZy1jb250ZW50PlxuICAgIDxkaXYgY2xhc3M9XCJ0ZC1sYXlvdXQtbWFuYWdlLWxpc3QtY29udGVudFwiIGNka1Njcm9sbGFibGU+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwidGQtbGF5b3V0LWZvb3Rlci1pbm5lclwiPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG48L21hdC1zaWRlbmF2LWNvbnRhaW5lcj5cbiJdfQ==
|
@@ -0,0 +1,90 @@
|
|
1
|
+
import { Optional, Directive, Input, Renderer2, ElementRef, Inject, forwardRef } from '@angular/core';
|
2
|
+
import { TdLayoutManageListComponent } from './layout-manage-list.component';
|
3
|
+
import { BaseLayoutToggleDirective } from '../layout-toggle.class';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "./layout-manage-list.component";
|
6
|
+
export class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
|
7
|
+
constructor(layout, renderer, elementRef) {
|
8
|
+
super(layout, renderer, elementRef);
|
9
|
+
}
|
10
|
+
set tdLayoutManageListToggle(tdLayoutManageListToggle) {
|
11
|
+
this.disabled = !(tdLayoutManageListToggle === '' || tdLayoutManageListToggle);
|
12
|
+
}
|
13
|
+
onClick() {
|
14
|
+
this._layout.toggle();
|
15
|
+
}
|
16
|
+
}
|
17
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListToggleDirective.ɵfac = function TdLayoutManageListToggleDirective_Factory(t) { return new (t || TdLayoutManageListToggleDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutManageListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
18
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListToggleDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdLayoutManageListToggleDirective, selectors: [["", "tdLayoutManageListToggle", ""]], inputs: { hideWhenOpened: "hideWhenOpened", tdLayoutManageListToggle: "tdLayoutManageListToggle" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
19
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListToggleDirective, [{
|
20
|
+
type: Directive,
|
21
|
+
args: [{
|
22
|
+
selector: '[tdLayoutManageListToggle]',
|
23
|
+
inputs: ['hideWhenOpened'],
|
24
|
+
}]
|
25
|
+
}], function () { return [{ type: i1.TdLayoutManageListComponent, decorators: [{
|
26
|
+
type: Optional
|
27
|
+
}, {
|
28
|
+
type: Inject,
|
29
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
30
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { tdLayoutManageListToggle: [{
|
31
|
+
type: Input,
|
32
|
+
args: ['tdLayoutManageListToggle']
|
33
|
+
}] }); })();
|
34
|
+
export class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
|
35
|
+
constructor(layout, renderer, elementRef) {
|
36
|
+
super(layout, renderer, elementRef);
|
37
|
+
}
|
38
|
+
set tdLayoutManageListClose(tdLayoutManageListClose) {
|
39
|
+
this.disabled = !(tdLayoutManageListClose === '' || tdLayoutManageListClose);
|
40
|
+
}
|
41
|
+
onClick() {
|
42
|
+
this._layout.close();
|
43
|
+
}
|
44
|
+
}
|
45
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListCloseDirective.ɵfac = function TdLayoutManageListCloseDirective_Factory(t) { return new (t || TdLayoutManageListCloseDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutManageListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
46
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListCloseDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdLayoutManageListCloseDirective, selectors: [["", "tdLayoutManageListClose", ""]], inputs: { hideWhenOpened: "hideWhenOpened", tdLayoutManageListClose: "tdLayoutManageListClose" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
47
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListCloseDirective, [{
|
48
|
+
type: Directive,
|
49
|
+
args: [{
|
50
|
+
selector: '[tdLayoutManageListClose]',
|
51
|
+
inputs: ['hideWhenOpened'],
|
52
|
+
}]
|
53
|
+
}], function () { return [{ type: i1.TdLayoutManageListComponent, decorators: [{
|
54
|
+
type: Optional
|
55
|
+
}, {
|
56
|
+
type: Inject,
|
57
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
58
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { tdLayoutManageListClose: [{
|
59
|
+
type: Input,
|
60
|
+
args: ['tdLayoutManageListClose']
|
61
|
+
}] }); })();
|
62
|
+
export class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
|
63
|
+
constructor(layout, renderer, elementRef) {
|
64
|
+
super(layout, renderer, elementRef);
|
65
|
+
}
|
66
|
+
set tdLayoutManageListOpen(tdLayoutManageListOpen) {
|
67
|
+
this.disabled = !(tdLayoutManageListOpen === '' || tdLayoutManageListOpen);
|
68
|
+
}
|
69
|
+
onClick() {
|
70
|
+
this._layout.open();
|
71
|
+
}
|
72
|
+
}
|
73
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListOpenDirective.ɵfac = function TdLayoutManageListOpenDirective_Factory(t) { return new (t || TdLayoutManageListOpenDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutManageListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
74
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutManageListOpenDirective.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: TdLayoutManageListOpenDirective, selectors: [["", "tdLayoutManageListOpen", ""]], inputs: { hideWhenOpened: "hideWhenOpened", tdLayoutManageListOpen: "tdLayoutManageListOpen" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
75
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListOpenDirective, [{
|
76
|
+
type: Directive,
|
77
|
+
args: [{
|
78
|
+
selector: '[tdLayoutManageListOpen]',
|
79
|
+
inputs: ['hideWhenOpened'],
|
80
|
+
}]
|
81
|
+
}], function () { return [{ type: i1.TdLayoutManageListComponent, decorators: [{
|
82
|
+
type: Optional
|
83
|
+
}, {
|
84
|
+
type: Inject,
|
85
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
86
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { tdLayoutManageListOpen: [{
|
87
|
+
type: Input,
|
88
|
+
args: ['tdLayoutManageListOpen']
|
89
|
+
}] }); })();
|
90
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LW1hbmFnZS1saXN0LmRpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvcGxhdGZvcm0vY29yZS9sYXlvdXQvbGF5b3V0LW1hbmFnZS1saXN0L2xheW91dC1tYW5hZ2UtbGlzdC5kaXJlY3RpdmVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEcsT0F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ICByZW5kZXJlcjogUmVuZGVyZXIyLFxuICAgIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYsXG4gICkge1xuICAgIHN1cGVyKGxheW91dCwgcmVuZGVyZXIsIGVsZW1lbnRSZWYpO1xuICB9XG5cbiAgb25DbGljaygpOiB2b2lkIHtcbiAgICB0aGlzLl9sYXlvdXQub3BlbigpO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,112 @@
|
|
1
|
+
import { Component, Input, Optional } from '@angular/core';
|
2
|
+
import { Router } from '@angular/router';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/router";
|
5
|
+
import * as i2 from "@angular/material/toolbar";
|
6
|
+
import * as i3 from "@angular/common";
|
7
|
+
import * as i4 from "@angular/material/icon";
|
8
|
+
import * as i5 from "@angular/cdk/scrolling";
|
9
|
+
function TdLayoutNavComponent_span_3_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
10
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
11
|
+
i0.ɵɵtext(1);
|
12
|
+
i0.ɵɵelementEnd();
|
13
|
+
} if (rf & 2) {
|
14
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
15
|
+
i0.ɵɵadvance(1);
|
16
|
+
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
17
|
+
} }
|
18
|
+
function TdLayoutNavComponent_span_3_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
19
|
+
i0.ɵɵelement(0, "mat-icon", 7);
|
20
|
+
} if (rf & 2) {
|
21
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
22
|
+
i0.ɵɵproperty("svgIcon", ctx_r2.logo);
|
23
|
+
} }
|
24
|
+
function TdLayoutNavComponent_span_3_span_3_Template(rf, ctx) { if (rf & 1) {
|
25
|
+
i0.ɵɵelementStart(0, "span");
|
26
|
+
i0.ɵɵtext(1);
|
27
|
+
i0.ɵɵelementEnd();
|
28
|
+
} if (rf & 2) {
|
29
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
30
|
+
i0.ɵɵadvance(1);
|
31
|
+
i0.ɵɵtextInterpolate(ctx_r3.toolbarTitle);
|
32
|
+
} }
|
33
|
+
function TdLayoutNavComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
34
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
35
|
+
i0.ɵɵelementStart(0, "span", 4);
|
36
|
+
i0.ɵɵlistener("click", function TdLayoutNavComponent_span_3_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.handleNavigationClick(); });
|
37
|
+
i0.ɵɵtemplate(1, TdLayoutNavComponent_span_3_mat_icon_1_Template, 2, 1, "mat-icon", 5);
|
38
|
+
i0.ɵɵtemplate(2, TdLayoutNavComponent_span_3_mat_icon_2_Template, 1, 1, "mat-icon", 6);
|
39
|
+
i0.ɵɵtemplate(3, TdLayoutNavComponent_span_3_span_3_Template, 2, 1, "span", 5);
|
40
|
+
i0.ɵɵelementEnd();
|
41
|
+
} if (rf & 2) {
|
42
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
43
|
+
i0.ɵɵclassProp("cursor-pointer", ctx_r0.routerEnabled);
|
44
|
+
i0.ɵɵadvance(1);
|
45
|
+
i0.ɵɵproperty("ngIf", ctx_r0.icon);
|
46
|
+
i0.ɵɵadvance(1);
|
47
|
+
i0.ɵɵproperty("ngIf", ctx_r0.logo && !ctx_r0.icon);
|
48
|
+
i0.ɵɵadvance(1);
|
49
|
+
i0.ɵɵproperty("ngIf", ctx_r0.toolbarTitle);
|
50
|
+
} }
|
51
|
+
const _c0 = [[["", "td-menu-button", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer"]]];
|
52
|
+
const _c1 = ["[td-menu-button]", "[td-toolbar-content]", "*", "td-layout-footer"];
|
53
|
+
export class TdLayoutNavComponent {
|
54
|
+
constructor(_router) {
|
55
|
+
this._router = _router;
|
56
|
+
/**
|
57
|
+
* color?: 'accent' | 'primary' | 'warn'
|
58
|
+
*
|
59
|
+
* toolbar color option: primary | accent | warn.
|
60
|
+
* If [color] is not set, primary is used.
|
61
|
+
*/
|
62
|
+
this.color = 'primary';
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* Checks if router was injected.
|
66
|
+
*/
|
67
|
+
get routerEnabled() {
|
68
|
+
return !!this._router && !!this.navigationRoute;
|
69
|
+
}
|
70
|
+
handleNavigationClick() {
|
71
|
+
if (this.routerEnabled) {
|
72
|
+
this._router.navigateByUrl(this.navigationRoute);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutNavComponent.ɵfac = function TdLayoutNavComponent_Factory(t) { return new (t || TdLayoutNavComponent)(i0.ɵɵdirectiveInject(i1.Router, 8)); };
|
77
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutNavComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdLayoutNavComponent, selectors: [["td-layout-nav"]], inputs: { toolbarTitle: "toolbarTitle", icon: "icon", logo: "logo", color: "color", navigationRoute: "navigationRoute" }, ngContentSelectors: _c1, decls: 8, vars: 2, consts: [[1, "td-layout-nav-wrapper"], [1, "td-layout-toolbar", 3, "color"], ["class", "td-layout-nav-toolbar-content", 3, "cursor-pointer", "click", 4, "ngIf"], ["cdkScrollable", "", 1, "td-layout-nav-content"], [1, "td-layout-nav-toolbar-content", 3, "click"], [4, "ngIf"], ["class", "mat-icon-logo", 3, "svgIcon", 4, "ngIf"], [1, "mat-icon-logo", 3, "svgIcon"]], template: function TdLayoutNavComponent_Template(rf, ctx) { if (rf & 1) {
|
78
|
+
i0.ɵɵprojectionDef(_c0);
|
79
|
+
i0.ɵɵelementStart(0, "div", 0);
|
80
|
+
i0.ɵɵelementStart(1, "mat-toolbar", 1);
|
81
|
+
i0.ɵɵprojection(2);
|
82
|
+
i0.ɵɵtemplate(3, TdLayoutNavComponent_span_3_Template, 4, 5, "span", 2);
|
83
|
+
i0.ɵɵprojection(4, 1);
|
84
|
+
i0.ɵɵelementEnd();
|
85
|
+
i0.ɵɵelementStart(5, "div", 3);
|
86
|
+
i0.ɵɵprojection(6, 2);
|
87
|
+
i0.ɵɵelementEnd();
|
88
|
+
i0.ɵɵprojection(7, 3);
|
89
|
+
i0.ɵɵelementEnd();
|
90
|
+
} if (rf & 2) {
|
91
|
+
i0.ɵɵadvance(1);
|
92
|
+
i0.ɵɵproperty("color", ctx.color);
|
93
|
+
i0.ɵɵadvance(2);
|
94
|
+
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
95
|
+
} }, directives: [i2.MatToolbar, i3.NgIf, i4.MatIcon, i5.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}"] });
|
96
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavComponent, [{
|
97
|
+
type: Component,
|
98
|
+
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"] }]
|
99
|
+
}], function () { return [{ type: i1.Router, decorators: [{
|
100
|
+
type: Optional
|
101
|
+
}] }]; }, { toolbarTitle: [{
|
102
|
+
type: Input
|
103
|
+
}], icon: [{
|
104
|
+
type: Input
|
105
|
+
}], logo: [{
|
106
|
+
type: Input
|
107
|
+
}], color: [{
|
108
|
+
type: Input
|
109
|
+
}], navigationRoute: [{
|
110
|
+
type: Input
|
111
|
+
}] }); })();
|
112
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LW5hdi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvcGxhdGZvcm0vY29yZS9sYXlvdXQvbGF5b3V0LW5hdi9sYXlvdXQtbmF2LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2xheW91dC9sYXlvdXQtbmF2L2xheW91dC1uYXYuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQWMsUUFBUSxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7Ozs7Ozs7SUNRbkMsZ0NBQXVCO0lBQUEsWUFBVTtJQUFBLGlCQUFXOzs7SUFBckIsZUFBVTtJQUFWLGlDQUFVOzs7SUFDakMsOEJBQWtGOzs7SUFBNUIscUNBQWdCOzs7SUFDdEUsNEJBQTJCO0lBQUEsWUFBa0I7SUFBQSxpQkFBTzs7O0lBQXpCLGVBQWtCO0lBQWxCLHlDQUFrQjs7OztJQVIvQywrQkFLQztJQUZDLGdLQUFTLDhCQUF1QixJQUFDO0lBR2pDLHNGQUE0QztJQUM1QyxzRkFBa0Y7SUFDbEYsOEVBQW9EO0lBQ3RELGlCQUFPOzs7SUFQTCxzREFBc0M7SUFJM0IsZUFBVTtJQUFWLGtDQUFVO0lBQ1YsZUFBbUI7SUFBbkIsa0RBQW1CO0lBQ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gICA8c3BhblxuICAgICAgKm5nSWY9XCJpY29uIHx8IGxvZ28gfHwgdG9vbGJhclRpdGxlXCJcbiAgICAgIFtjbGFzcy5jdXJzb3ItcG9pbnRlcl09XCJyb3V0ZXJFbmFibGVkXCJcbiAgICAgIChjbGljayk9XCJoYW5kbGVOYXZpZ2F0aW9uQ2xpY2soKVwiXG4gICAgICBjbGFzcz1cInRkLWxheW91dC1uYXYtdG9vbGJhci1jb250ZW50XCJcbiAgICA+XG4gICAgICA8bWF0LWljb24gKm5nSWY9XCJpY29uXCI+e3sgaWNvbiB9fTwvbWF0LWljb24+XG4gICAgICA8bWF0LWljb24gKm5nSWY9XCJsb2dvICYmICFpY29uXCIgY2xhc3M9XCJtYXQtaWNvbi1sb2dvXCIgW3N2Z0ljb25dPVwibG9nb1wiPjwvbWF0LWljb24+XG4gICAgICA8c3BhbiAqbmdJZj1cInRvb2xiYXJUaXRsZVwiPnt7IHRvb2xiYXJUaXRsZSB9fTwvc3Bhbj5cbiAgICA8L3NwYW4+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3RkLXRvb2xiYXItY29udGVudF1cIj48L25nLWNvbnRlbnQ+XG4gIDwvbWF0LXRvb2xiYXI+XG4gIDxkaXYgY2xhc3M9XCJ0ZC1sYXlvdXQtbmF2LWNvbnRlbnRcIiBjZGtTY3JvbGxhYmxlPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPC9kaXY+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cInRkLWxheW91dC1mb290ZXJcIj48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
|
@@ -0,0 +1,215 @@
|
|
1
|
+
import { Component, Input, ViewChild, Optional } from '@angular/core';
|
2
|
+
import { Router } from '@angular/router';
|
3
|
+
import { MatSidenav } from '@angular/material/sidenav';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "@angular/router";
|
6
|
+
import * as i2 from "@angular/material/sidenav";
|
7
|
+
import * as i3 from "@angular/material/toolbar";
|
8
|
+
import * as i4 from "@angular/common";
|
9
|
+
import * as i5 from "@angular/material/icon";
|
10
|
+
import * as i6 from "@angular/cdk/scrolling";
|
11
|
+
function TdLayoutNavListComponent_span_6_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
12
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
13
|
+
i0.ɵɵtext(1);
|
14
|
+
i0.ɵɵelementEnd();
|
15
|
+
} if (rf & 2) {
|
16
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
17
|
+
i0.ɵɵadvance(1);
|
18
|
+
i0.ɵɵtextInterpolate(ctx_r2.icon);
|
19
|
+
} }
|
20
|
+
function TdLayoutNavListComponent_span_6_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
21
|
+
i0.ɵɵelement(0, "mat-icon", 11);
|
22
|
+
} if (rf & 2) {
|
23
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
24
|
+
i0.ɵɵproperty("svgIcon", ctx_r3.logo);
|
25
|
+
} }
|
26
|
+
function TdLayoutNavListComponent_span_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
27
|
+
i0.ɵɵelementStart(0, "span");
|
28
|
+
i0.ɵɵtext(1);
|
29
|
+
i0.ɵɵelementEnd();
|
30
|
+
} if (rf & 2) {
|
31
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
32
|
+
i0.ɵɵadvance(1);
|
33
|
+
i0.ɵɵtextInterpolate(ctx_r4.toolbarTitle);
|
34
|
+
} }
|
35
|
+
function TdLayoutNavListComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
36
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
37
|
+
i0.ɵɵelementStart(0, "span", 8);
|
38
|
+
i0.ɵɵlistener("click", function TdLayoutNavListComponent_span_6_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.handleNavigationClick(); });
|
39
|
+
i0.ɵɵtemplate(1, TdLayoutNavListComponent_span_6_mat_icon_1_Template, 2, 1, "mat-icon", 9);
|
40
|
+
i0.ɵɵtemplate(2, TdLayoutNavListComponent_span_6_mat_icon_2_Template, 1, 1, "mat-icon", 10);
|
41
|
+
i0.ɵɵtemplate(3, TdLayoutNavListComponent_span_6_span_3_Template, 2, 1, "span", 9);
|
42
|
+
i0.ɵɵelementEnd();
|
43
|
+
} if (rf & 2) {
|
44
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
45
|
+
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
46
|
+
i0.ɵɵadvance(1);
|
47
|
+
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
48
|
+
i0.ɵɵadvance(1);
|
49
|
+
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
50
|
+
i0.ɵɵadvance(1);
|
51
|
+
i0.ɵɵproperty("ngIf", ctx_r1.toolbarTitle);
|
52
|
+
} }
|
53
|
+
const _c0 = [[["", "td-menu-button", ""]], [["", "td-sidenav-toolbar-content", ""]], [["", "td-sidenav-content", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer-inner"]], [["td-layout-footer"]]];
|
54
|
+
const _c1 = ["[td-menu-button]", "[td-sidenav-toolbar-content]", "[td-sidenav-content]", "[td-toolbar-content]", "*", "td-layout-footer-inner", "td-layout-footer"];
|
55
|
+
export class TdLayoutNavListComponent {
|
56
|
+
constructor(_router) {
|
57
|
+
this._router = _router;
|
58
|
+
/**
|
59
|
+
* color?: 'accent' | 'primary' | 'warn'
|
60
|
+
*
|
61
|
+
* toolbar color option: primary | accent | warn.
|
62
|
+
* If [color] is not set, primary is used.
|
63
|
+
*/
|
64
|
+
this.color = 'primary';
|
65
|
+
/**
|
66
|
+
* mode?: 'side', 'push' or 'over'
|
67
|
+
*
|
68
|
+
* The mode or styling of the sidenav.
|
69
|
+
* Defaults to "side".
|
70
|
+
* See "MatSidenav" documentation for more info.
|
71
|
+
*
|
72
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
73
|
+
*/
|
74
|
+
this.mode = 'side';
|
75
|
+
/**
|
76
|
+
* opened?: boolean
|
77
|
+
* Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
|
78
|
+
* Defaults to "true".
|
79
|
+
*
|
80
|
+
* See "MatSidenav" documentation for more info.
|
81
|
+
*
|
82
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
83
|
+
*/
|
84
|
+
this.opened = true;
|
85
|
+
/**
|
86
|
+
* sidenavWidth?: string
|
87
|
+
*
|
88
|
+
* Sets the "width" of the sidenav in either "px" or "%"
|
89
|
+
* Defaults to "350px".
|
90
|
+
*
|
91
|
+
* https://github.com/angular/material2/tree/master/src/lib/sidenav
|
92
|
+
*/
|
93
|
+
this.sidenavWidth = '350px';
|
94
|
+
/**
|
95
|
+
* containerAutosize?: boolean
|
96
|
+
*
|
97
|
+
* Sets "autosize" of the sidenav-container.
|
98
|
+
* Defaults to "false".
|
99
|
+
*
|
100
|
+
* See documentation for more info and potential performance risks.
|
101
|
+
*
|
102
|
+
* https://github.com/angular/material2/blob/master/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
|
103
|
+
*/
|
104
|
+
this.containerAutosize = false;
|
105
|
+
}
|
106
|
+
/**
|
107
|
+
* Checks if `ESC` should close the sidenav
|
108
|
+
* Should only close it for `push` and `over` modes
|
109
|
+
*/
|
110
|
+
get disableClose() {
|
111
|
+
return this.mode === 'side';
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* Checks if router was injected.
|
115
|
+
*/
|
116
|
+
get routerEnabled() {
|
117
|
+
return !!this._router && !!this.navigationRoute;
|
118
|
+
}
|
119
|
+
handleNavigationClick() {
|
120
|
+
if (this.routerEnabled) {
|
121
|
+
this._router.navigateByUrl(this.navigationRoute);
|
122
|
+
}
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* Proxy toggle method to access sidenav from outside (from td-layout template).
|
126
|
+
*/
|
127
|
+
toggle() {
|
128
|
+
return this.sidenav.toggle(!this.sidenav.opened);
|
129
|
+
}
|
130
|
+
/**
|
131
|
+
* Proxy open method to access sidenav from outside (from td-layout template).
|
132
|
+
*/
|
133
|
+
open() {
|
134
|
+
return this.sidenav.open();
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* Proxy close method to access sidenav from outside (from td-layout template).
|
138
|
+
*/
|
139
|
+
close() {
|
140
|
+
return this.sidenav.close();
|
141
|
+
}
|
142
|
+
}
|
143
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutNavListComponent.ɵfac = function TdLayoutNavListComponent_Factory(t) { return new (t || TdLayoutNavListComponent)(i0.ɵɵdirectiveInject(i1.Router, 8)); };
|
144
|
+
/** @nocollapse */ /** @nocollapse */ TdLayoutNavListComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TdLayoutNavListComponent, selectors: [["td-layout-nav-list"]], viewQuery: function TdLayoutNavListComponent_Query(rf, ctx) { if (rf & 1) {
|
145
|
+
i0.ɵɵviewQuery(MatSidenav, 7);
|
146
|
+
} if (rf & 2) {
|
147
|
+
let _t;
|
148
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
149
|
+
} }, inputs: { toolbarTitle: "toolbarTitle", icon: "icon", logo: "logo", color: "color", mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize", navigationRoute: "navigationRoute" }, ngContentSelectors: _c1, decls: 17, vars: 11, consts: [[1, "td-layout-nav-list-wrapper"], ["fullscreen", "", 1, "td-layout-nav-list", 3, "autosize"], ["position", "start", 3, "mode", "opened", "disableClose"], ["sidenav", ""], [1, "td-layout-toolbar", 3, "color"], ["class", "td-layout-nav-list-toolbar-content", 3, "cursor-pointer", "click", 4, "ngIf"], ["cdkScrollable", "", 1, "td-layout-nav-list-content"], [1, "td-layout-nav-list-main"], [1, "td-layout-nav-list-toolbar-content", 3, "click"], [4, "ngIf"], ["class", "mat-icon-logo", 3, "svgIcon", 4, "ngIf"], [1, "mat-icon-logo", 3, "svgIcon"]], template: function TdLayoutNavListComponent_Template(rf, ctx) { if (rf & 1) {
|
150
|
+
i0.ɵɵprojectionDef(_c0);
|
151
|
+
i0.ɵɵelementStart(0, "div", 0);
|
152
|
+
i0.ɵɵelementStart(1, "mat-sidenav-container", 1);
|
153
|
+
i0.ɵɵelementStart(2, "mat-sidenav", 2, 3);
|
154
|
+
i0.ɵɵelementStart(4, "mat-toolbar", 4);
|
155
|
+
i0.ɵɵprojection(5);
|
156
|
+
i0.ɵɵtemplate(6, TdLayoutNavListComponent_span_6_Template, 4, 5, "span", 5);
|
157
|
+
i0.ɵɵprojection(7, 1);
|
158
|
+
i0.ɵɵelementEnd();
|
159
|
+
i0.ɵɵelementStart(8, "div", 6);
|
160
|
+
i0.ɵɵprojection(9, 2);
|
161
|
+
i0.ɵɵelementEnd();
|
162
|
+
i0.ɵɵelementEnd();
|
163
|
+
i0.ɵɵelementStart(10, "div", 7);
|
164
|
+
i0.ɵɵelementStart(11, "mat-toolbar", 4);
|
165
|
+
i0.ɵɵprojection(12, 3);
|
166
|
+
i0.ɵɵelementEnd();
|
167
|
+
i0.ɵɵelementStart(13, "div", 6);
|
168
|
+
i0.ɵɵprojection(14, 4);
|
169
|
+
i0.ɵɵelementEnd();
|
170
|
+
i0.ɵɵprojection(15, 5);
|
171
|
+
i0.ɵɵelementEnd();
|
172
|
+
i0.ɵɵelementEnd();
|
173
|
+
i0.ɵɵelementEnd();
|
174
|
+
i0.ɵɵprojection(16, 6);
|
175
|
+
} if (rf & 2) {
|
176
|
+
i0.ɵɵadvance(1);
|
177
|
+
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
178
|
+
i0.ɵɵadvance(1);
|
179
|
+
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
180
|
+
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
181
|
+
i0.ɵɵadvance(2);
|
182
|
+
i0.ɵɵproperty("color", ctx.color);
|
183
|
+
i0.ɵɵadvance(2);
|
184
|
+
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
185
|
+
i0.ɵɵadvance(5);
|
186
|
+
i0.ɵɵproperty("color", ctx.color);
|
187
|
+
} }, directives: [i2.MatSidenavContainer, i2.MatSidenav, i3.MatToolbar, i4.NgIf, i5.MatIcon, i6.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}"] });
|
188
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListComponent, [{
|
189
|
+
type: Component,
|
190
|
+
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"] }]
|
191
|
+
}], function () { return [{ type: i1.Router, decorators: [{
|
192
|
+
type: Optional
|
193
|
+
}] }]; }, { sidenav: [{
|
194
|
+
type: ViewChild,
|
195
|
+
args: [MatSidenav, { static: true }]
|
196
|
+
}], toolbarTitle: [{
|
197
|
+
type: Input
|
198
|
+
}], icon: [{
|
199
|
+
type: Input
|
200
|
+
}], logo: [{
|
201
|
+
type: Input
|
202
|
+
}], color: [{
|
203
|
+
type: Input
|
204
|
+
}], mode: [{
|
205
|
+
type: Input
|
206
|
+
}], opened: [{
|
207
|
+
type: Input
|
208
|
+
}], sidenavWidth: [{
|
209
|
+
type: Input
|
210
|
+
}], containerAutosize: [{
|
211
|
+
type: Input
|
212
|
+
}], navigationRoute: [{
|
213
|
+
type: Input
|
214
|
+
}] }); })();
|
215
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LW5hdi1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2xheW91dC9sYXlvdXQtbmF2LWxpc3QvbGF5b3V0LW5hdi1saXN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wbGF0Zm9ybS9jb3JlL2xheW91dC9sYXlvdXQtbmF2LWxpc3QvbGF5b3V0LW5hdi1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUF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