@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
@@ -1,375 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/material/icon'), require('@covalent/core/common')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('@covalent/core/message', ['exports', '@angular/core', '@angular/common', '@angular/material/icon', '@covalent/core/common'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core.message = {}), global.ng.core, global.ng.common, global.ng.material.icon, global.covalent.core.common));
|
5
|
-
}(this, (function (exports, core, common$1, icon, common) { 'use strict';
|
6
|
-
|
7
|
-
/**
|
8
|
-
* @fileoverview added by tsickle
|
9
|
-
* Generated from: message.component.ts
|
10
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
11
|
-
*/
|
12
|
-
var TdMessageContainerDirective = /** @class */ (function () {
|
13
|
-
/**
|
14
|
-
* @param {?} viewContainer
|
15
|
-
*/
|
16
|
-
function TdMessageContainerDirective(viewContainer) {
|
17
|
-
this.viewContainer = viewContainer;
|
18
|
-
}
|
19
|
-
return TdMessageContainerDirective;
|
20
|
-
}());
|
21
|
-
TdMessageContainerDirective.decorators = [
|
22
|
-
{ type: core.Directive, args: [{
|
23
|
-
selector: '[tdMessageContainer]',
|
24
|
-
},] }
|
25
|
-
];
|
26
|
-
/** @nocollapse */
|
27
|
-
TdMessageContainerDirective.ctorParameters = function () { return [
|
28
|
-
{ type: core.ViewContainerRef }
|
29
|
-
]; };
|
30
|
-
if (false) {
|
31
|
-
/** @type {?} */
|
32
|
-
TdMessageContainerDirective.prototype.viewContainer;
|
33
|
-
}
|
34
|
-
var TdMessageComponent = /** @class */ (function () {
|
35
|
-
/**
|
36
|
-
* @param {?} _renderer
|
37
|
-
* @param {?} _changeDetectorRef
|
38
|
-
* @param {?} _elementRef
|
39
|
-
*/
|
40
|
-
function TdMessageComponent(_renderer, _changeDetectorRef, _elementRef) {
|
41
|
-
this._renderer = _renderer;
|
42
|
-
this._changeDetectorRef = _changeDetectorRef;
|
43
|
-
this._elementRef = _elementRef;
|
44
|
-
this._opened = true;
|
45
|
-
this._hidden = false;
|
46
|
-
this._animating = false;
|
47
|
-
this._initialized = false;
|
48
|
-
/**
|
49
|
-
* icon?: string
|
50
|
-
*
|
51
|
-
* The icon to be displayed before the title.
|
52
|
-
* Defaults to `info_outline` icon
|
53
|
-
*/
|
54
|
-
this.icon = 'info_outline';
|
55
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'td-message');
|
56
|
-
}
|
57
|
-
Object.defineProperty(TdMessageComponent.prototype, "collapsedAnimation", {
|
58
|
-
/**
|
59
|
-
* Binding host to tdCollapse animation
|
60
|
-
* @return {?}
|
61
|
-
*/
|
62
|
-
get: function () {
|
63
|
-
return { value: !this._opened, duration: 100 };
|
64
|
-
},
|
65
|
-
enumerable: false,
|
66
|
-
configurable: true
|
67
|
-
});
|
68
|
-
Object.defineProperty(TdMessageComponent.prototype, "hidden", {
|
69
|
-
/**
|
70
|
-
* Binding host to display style when hidden
|
71
|
-
* @return {?}
|
72
|
-
*/
|
73
|
-
get: function () {
|
74
|
-
return this._hidden ? 'none' : undefined;
|
75
|
-
},
|
76
|
-
enumerable: false,
|
77
|
-
configurable: true
|
78
|
-
});
|
79
|
-
Object.defineProperty(TdMessageComponent.prototype, "color", {
|
80
|
-
/**
|
81
|
-
* @return {?}
|
82
|
-
*/
|
83
|
-
get: function () {
|
84
|
-
return this._color;
|
85
|
-
},
|
86
|
-
/**
|
87
|
-
* color?: primary | accent | warn
|
88
|
-
*
|
89
|
-
* Sets the color of the message.
|
90
|
-
* Can also use any material color: purple | light-blue, etc.
|
91
|
-
* @param {?} color
|
92
|
-
* @return {?}
|
93
|
-
*/
|
94
|
-
set: function (color) {
|
95
|
-
this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);
|
96
|
-
this._renderer.removeClass(this._elementRef.nativeElement, 'bgc-' + this._color + '-100');
|
97
|
-
this._renderer.removeClass(this._elementRef.nativeElement, 'tc-' + this._color + '-700');
|
98
|
-
if (color === 'primary' || color === 'accent' || color === 'warn') {
|
99
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + color);
|
100
|
-
}
|
101
|
-
else {
|
102
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'bgc-' + color + '-100');
|
103
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'tc-' + color + '-700');
|
104
|
-
}
|
105
|
-
this._color = color;
|
106
|
-
this._changeDetectorRef.markForCheck();
|
107
|
-
},
|
108
|
-
enumerable: false,
|
109
|
-
configurable: true
|
110
|
-
});
|
111
|
-
Object.defineProperty(TdMessageComponent.prototype, "opened", {
|
112
|
-
/**
|
113
|
-
* @return {?}
|
114
|
-
*/
|
115
|
-
get: function () {
|
116
|
-
return this._opened;
|
117
|
-
},
|
118
|
-
/**
|
119
|
-
* opened?: boolean
|
120
|
-
*
|
121
|
-
* Shows or hiddes the message depending on its value.
|
122
|
-
* Defaults to 'true'.
|
123
|
-
* @param {?} opened
|
124
|
-
* @return {?}
|
125
|
-
*/
|
126
|
-
set: function (opened) {
|
127
|
-
if (this._initialized) {
|
128
|
-
if (opened) {
|
129
|
-
this.open();
|
130
|
-
}
|
131
|
-
else {
|
132
|
-
this.close();
|
133
|
-
}
|
134
|
-
}
|
135
|
-
else {
|
136
|
-
this._opened = opened;
|
137
|
-
}
|
138
|
-
},
|
139
|
-
enumerable: false,
|
140
|
-
configurable: true
|
141
|
-
});
|
142
|
-
/**
|
143
|
-
* Detach element when close animation is finished to set animating state to false
|
144
|
-
* hidden state to true and detach element from DOM
|
145
|
-
* @return {?}
|
146
|
-
*/
|
147
|
-
TdMessageComponent.prototype.animationDoneListener = function () {
|
148
|
-
if (!this._opened) {
|
149
|
-
this._hidden = true;
|
150
|
-
this._detach();
|
151
|
-
}
|
152
|
-
this._animating = false;
|
153
|
-
this._changeDetectorRef.markForCheck();
|
154
|
-
};
|
155
|
-
/**
|
156
|
-
* Initializes the component and attaches the content.
|
157
|
-
* @return {?}
|
158
|
-
*/
|
159
|
-
TdMessageComponent.prototype.ngAfterViewInit = function () {
|
160
|
-
var _this = this;
|
161
|
-
Promise.resolve(undefined).then(( /**
|
162
|
-
* @return {?}
|
163
|
-
*/function () {
|
164
|
-
if (_this._opened) {
|
165
|
-
_this._attach();
|
166
|
-
}
|
167
|
-
_this._initialized = true;
|
168
|
-
}));
|
169
|
-
};
|
170
|
-
/**
|
171
|
-
* Renders the message on screen
|
172
|
-
* Validates if there is an animation currently and if its already opened
|
173
|
-
* @return {?}
|
174
|
-
*/
|
175
|
-
TdMessageComponent.prototype.open = function () {
|
176
|
-
if (!this._opened && !this._animating) {
|
177
|
-
this._opened = true;
|
178
|
-
this._attach();
|
179
|
-
this._startAnimationState();
|
180
|
-
}
|
181
|
-
};
|
182
|
-
/**
|
183
|
-
* Removes the message content from screen.
|
184
|
-
* Validates if there is an animation currently and if its already closed
|
185
|
-
* @return {?}
|
186
|
-
*/
|
187
|
-
TdMessageComponent.prototype.close = function () {
|
188
|
-
if (this._opened && !this._animating) {
|
189
|
-
this._opened = false;
|
190
|
-
this._startAnimationState();
|
191
|
-
}
|
192
|
-
};
|
193
|
-
/**
|
194
|
-
* Toggles between open and close depending on state.
|
195
|
-
* @return {?}
|
196
|
-
*/
|
197
|
-
TdMessageComponent.prototype.toggle = function () {
|
198
|
-
if (this._opened) {
|
199
|
-
this.close();
|
200
|
-
}
|
201
|
-
else {
|
202
|
-
this.open();
|
203
|
-
}
|
204
|
-
};
|
205
|
-
/**
|
206
|
-
* Method to set the state before starting an animation
|
207
|
-
* @private
|
208
|
-
* @return {?}
|
209
|
-
*/
|
210
|
-
TdMessageComponent.prototype._startAnimationState = function () {
|
211
|
-
this._animating = true;
|
212
|
-
this._hidden = false;
|
213
|
-
this._changeDetectorRef.markForCheck();
|
214
|
-
};
|
215
|
-
/**
|
216
|
-
* Method to attach template to DOM
|
217
|
-
* @private
|
218
|
-
* @return {?}
|
219
|
-
*/
|
220
|
-
TdMessageComponent.prototype._attach = function () {
|
221
|
-
this._childElement.viewContainer.createEmbeddedView(this._template);
|
222
|
-
this._changeDetectorRef.markForCheck();
|
223
|
-
};
|
224
|
-
/**
|
225
|
-
* Method to detach template from DOM
|
226
|
-
* @private
|
227
|
-
* @return {?}
|
228
|
-
*/
|
229
|
-
TdMessageComponent.prototype._detach = function () {
|
230
|
-
this._childElement.viewContainer.clear();
|
231
|
-
this._changeDetectorRef.markForCheck();
|
232
|
-
};
|
233
|
-
return TdMessageComponent;
|
234
|
-
}());
|
235
|
-
TdMessageComponent.decorators = [
|
236
|
-
{ type: core.Component, args: [{
|
237
|
-
selector: 'td-message',
|
238
|
-
template: "<div tdMessageContainer></div>\n<ng-template>\n <div class=\"td-message-wrapper\">\n <mat-icon class=\"td-message-icon\">{{ icon }}</mat-icon>\n <div class=\"td-message-labels\">\n <div *ngIf=\"label\" class=\"td-message-label\">{{ label }}</div>\n <div *ngIf=\"sublabel\" class=\"td-message-sublabel\">{{ sublabel }}</div>\n </div>\n <ng-content select=\"[td-message-actions]\"></ng-content>\n </div>\n</ng-template>\n",
|
239
|
-
animations: [common.tdCollapseAnimation],
|
240
|
-
styles: [":host{display:block}:host .td-message-wrapper{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%;min-height:52px;padding:8px 16px}:host .td-message-wrapper .td-message-labels{-ms-flex:1;flex:1}.td-message-icon{margin-right:16px}::ng-deep [dir=rtl] .td-message-icon{margin-left:16px;margin-right:0}"]
|
241
|
-
}] }
|
242
|
-
];
|
243
|
-
/** @nocollapse */
|
244
|
-
TdMessageComponent.ctorParameters = function () { return [
|
245
|
-
{ type: core.Renderer2 },
|
246
|
-
{ type: core.ChangeDetectorRef },
|
247
|
-
{ type: core.ElementRef }
|
248
|
-
]; };
|
249
|
-
TdMessageComponent.propDecorators = {
|
250
|
-
_childElement: [{ type: core.ViewChild, args: [TdMessageContainerDirective, { static: true },] }],
|
251
|
-
_template: [{ type: core.ViewChild, args: [core.TemplateRef,] }],
|
252
|
-
collapsedAnimation: [{ type: core.HostBinding, args: ['@tdCollapse',] }],
|
253
|
-
hidden: [{ type: core.HostBinding, args: ['style.display',] }],
|
254
|
-
label: [{ type: core.Input }],
|
255
|
-
sublabel: [{ type: core.Input }],
|
256
|
-
icon: [{ type: core.Input }],
|
257
|
-
color: [{ type: core.Input, args: ['color',] }],
|
258
|
-
opened: [{ type: core.Input, args: ['opened',] }],
|
259
|
-
animationDoneListener: [{ type: core.HostListener, args: ['@tdCollapse.done',] }]
|
260
|
-
};
|
261
|
-
if (false) {
|
262
|
-
/**
|
263
|
-
* @type {?}
|
264
|
-
* @private
|
265
|
-
*/
|
266
|
-
TdMessageComponent.prototype._color;
|
267
|
-
/**
|
268
|
-
* @type {?}
|
269
|
-
* @private
|
270
|
-
*/
|
271
|
-
TdMessageComponent.prototype._opened;
|
272
|
-
/**
|
273
|
-
* @type {?}
|
274
|
-
* @private
|
275
|
-
*/
|
276
|
-
TdMessageComponent.prototype._hidden;
|
277
|
-
/**
|
278
|
-
* @type {?}
|
279
|
-
* @private
|
280
|
-
*/
|
281
|
-
TdMessageComponent.prototype._animating;
|
282
|
-
/**
|
283
|
-
* @type {?}
|
284
|
-
* @private
|
285
|
-
*/
|
286
|
-
TdMessageComponent.prototype._initialized;
|
287
|
-
/** @type {?} */
|
288
|
-
TdMessageComponent.prototype._childElement;
|
289
|
-
/** @type {?} */
|
290
|
-
TdMessageComponent.prototype._template;
|
291
|
-
/**
|
292
|
-
* label: string
|
293
|
-
*
|
294
|
-
* Sets the label of the message.
|
295
|
-
* @type {?}
|
296
|
-
*/
|
297
|
-
TdMessageComponent.prototype.label;
|
298
|
-
/**
|
299
|
-
* sublabel?: string
|
300
|
-
*
|
301
|
-
* Sets the sublabel of the message.
|
302
|
-
* @type {?}
|
303
|
-
*/
|
304
|
-
TdMessageComponent.prototype.sublabel;
|
305
|
-
/**
|
306
|
-
* icon?: string
|
307
|
-
*
|
308
|
-
* The icon to be displayed before the title.
|
309
|
-
* Defaults to `info_outline` icon
|
310
|
-
* @type {?}
|
311
|
-
*/
|
312
|
-
TdMessageComponent.prototype.icon;
|
313
|
-
/**
|
314
|
-
* @type {?}
|
315
|
-
* @private
|
316
|
-
*/
|
317
|
-
TdMessageComponent.prototype._renderer;
|
318
|
-
/**
|
319
|
-
* @type {?}
|
320
|
-
* @private
|
321
|
-
*/
|
322
|
-
TdMessageComponent.prototype._changeDetectorRef;
|
323
|
-
/**
|
324
|
-
* @type {?}
|
325
|
-
* @private
|
326
|
-
*/
|
327
|
-
TdMessageComponent.prototype._elementRef;
|
328
|
-
}
|
329
|
-
|
330
|
-
/**
|
331
|
-
* @fileoverview added by tsickle
|
332
|
-
* Generated from: message.module.ts
|
333
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
334
|
-
*/
|
335
|
-
/** @type {?} */
|
336
|
-
var TD_MESSAGE = [TdMessageComponent, TdMessageContainerDirective];
|
337
|
-
var CovalentMessageModule = /** @class */ (function () {
|
338
|
-
function CovalentMessageModule() {
|
339
|
-
}
|
340
|
-
return CovalentMessageModule;
|
341
|
-
}());
|
342
|
-
CovalentMessageModule.decorators = [
|
343
|
-
{ type: core.NgModule, args: [{
|
344
|
-
imports: [common$1.CommonModule, icon.MatIconModule],
|
345
|
-
declarations: [TD_MESSAGE],
|
346
|
-
exports: [TD_MESSAGE],
|
347
|
-
},] }
|
348
|
-
];
|
349
|
-
|
350
|
-
/**
|
351
|
-
* @fileoverview added by tsickle
|
352
|
-
* Generated from: public-api.ts
|
353
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
354
|
-
*/
|
355
|
-
|
356
|
-
/**
|
357
|
-
* @fileoverview added by tsickle
|
358
|
-
* Generated from: index.ts
|
359
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
360
|
-
*/
|
361
|
-
|
362
|
-
/**
|
363
|
-
* @fileoverview added by tsickle
|
364
|
-
* Generated from: covalent-core-message.ts
|
365
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
366
|
-
*/
|
367
|
-
|
368
|
-
exports.CovalentMessageModule = CovalentMessageModule;
|
369
|
-
exports.TdMessageComponent = TdMessageComponent;
|
370
|
-
exports.TdMessageContainerDirective = TdMessageContainerDirective;
|
371
|
-
|
372
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
373
|
-
|
374
|
-
})));
|
375
|
-
//# sourceMappingURL=covalent-core-message.umd.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"covalent-core-message.umd.js","sources":["../../../../src/platform/core/message/message.component.ts","../../../../src/platform/core/message/message.module.ts"],"sourcesContent":["import {\n Component,\n Directive,\n Input,\n Renderer2,\n ElementRef,\n AfterViewInit,\n ViewContainerRef,\n TemplateRef,\n ViewChild,\n HostBinding,\n HostListener,\n ChangeDetectorRef,\n} from '@angular/core';\n\nimport { tdCollapseAnimation } from '@covalent/core/common';\n\n@Directive({\n selector: '[tdMessageContainer]',\n})\nexport class TdMessageContainerDirective {\n constructor(public viewContainer: ViewContainerRef) {}\n}\n\n@Component({\n selector: 'td-message',\n templateUrl: './message.component.html',\n styleUrls: ['./message.component.scss'],\n animations: [tdCollapseAnimation],\n})\nexport class TdMessageComponent implements AfterViewInit {\n private _color: string;\n private _opened: boolean = true;\n private _hidden: boolean = false;\n private _animating: boolean = false;\n private _initialized: boolean = false;\n\n @ViewChild(TdMessageContainerDirective, { static: true }) _childElement: TdMessageContainerDirective;\n @ViewChild(TemplateRef) _template: TemplateRef<any>;\n\n /**\n * Binding host to tdCollapse animation\n */\n @HostBinding('@tdCollapse')\n get collapsedAnimation(): any {\n return { value: !this._opened, duration: 100 };\n }\n\n /**\n * Binding host to display style when hidden\n */\n @HostBinding('style.display')\n get hidden(): string {\n return this._hidden ? 'none' : undefined;\n }\n\n /**\n * label: string\n *\n * Sets the label of the message.\n */\n @Input() label: string;\n\n /**\n * sublabel?: string\n *\n * Sets the sublabel of the message.\n */\n @Input() sublabel: string;\n\n /**\n * icon?: string\n *\n * The icon to be displayed before the title.\n * Defaults to `info_outline` icon\n */\n @Input() icon: string = 'info_outline';\n\n /**\n * color?: primary | accent | warn\n *\n * Sets the color of the message.\n * Can also use any material color: purple | light-blue, etc.\n */\n @Input('color')\n set color(color: string) {\n this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);\n this._renderer.removeClass(this._elementRef.nativeElement, 'bgc-' + this._color + '-100');\n this._renderer.removeClass(this._elementRef.nativeElement, 'tc-' + this._color + '-700');\n if (color === 'primary' || color === 'accent' || color === 'warn') {\n this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + color);\n } else {\n this._renderer.addClass(this._elementRef.nativeElement, 'bgc-' + color + '-100');\n this._renderer.addClass(this._elementRef.nativeElement, 'tc-' + color + '-700');\n }\n this._color = color;\n this._changeDetectorRef.markForCheck();\n }\n get color(): string {\n return this._color;\n }\n\n /**\n * opened?: boolean\n *\n * Shows or hiddes the message depending on its value.\n * Defaults to 'true'.\n */\n @Input('opened')\n set opened(opened: boolean) {\n if (this._initialized) {\n if (opened) {\n this.open();\n } else {\n this.close();\n }\n } else {\n this._opened = opened;\n }\n }\n get opened(): boolean {\n return this._opened;\n }\n\n constructor(\n private _renderer: Renderer2,\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n ) {\n this._renderer.addClass(this._elementRef.nativeElement, 'td-message');\n }\n\n /**\n * Detach element when close animation is finished to set animating state to false\n * hidden state to true and detach element from DOM\n */\n @HostListener('@tdCollapse.done')\n animationDoneListener(): void {\n if (!this._opened) {\n this._hidden = true;\n this._detach();\n }\n this._animating = false;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Initializes the component and attaches the content.\n */\n ngAfterViewInit(): void {\n Promise.resolve(undefined).then(() => {\n if (this._opened) {\n this._attach();\n }\n this._initialized = true;\n });\n }\n\n /**\n * Renders the message on screen\n * Validates if there is an animation currently and if its already opened\n */\n open(): void {\n if (!this._opened && !this._animating) {\n this._opened = true;\n this._attach();\n this._startAnimationState();\n }\n }\n\n /**\n * Removes the message content from screen.\n * Validates if there is an animation currently and if its already closed\n */\n close(): void {\n if (this._opened && !this._animating) {\n this._opened = false;\n this._startAnimationState();\n }\n }\n\n /**\n * Toggles between open and close depending on state.\n */\n toggle(): void {\n if (this._opened) {\n this.close();\n } else {\n this.open();\n }\n }\n\n /**\n * Method to set the state before starting an animation\n */\n private _startAnimationState(): void {\n this._animating = true;\n this._hidden = false;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Method to attach template to DOM\n */\n private _attach(): void {\n this._childElement.viewContainer.createEmbeddedView(this._template);\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Method to detach template from DOM\n */\n private _detach(): void {\n this._childElement.viewContainer.clear();\n this._changeDetectorRef.markForCheck();\n }\n}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { TdMessageComponent, TdMessageContainerDirective } from './message.component';\n\nconst TD_MESSAGE: Type<any>[] = [TdMessageComponent, TdMessageContainerDirective];\n\n@NgModule({\n imports: [CommonModule, MatIconModule],\n declarations: [TD_MESSAGE],\n exports: [TD_MESSAGE],\n})\nexport class CovalentMessageModule {}\n"],"names":["Directive","ViewContainerRef","Component","tdCollapseAnimation","Renderer2","ChangeDetectorRef","ElementRef","ViewChild","TemplateRef","HostBinding","Input","HostListener","NgModule","CommonModule","MatIconModule"],"mappings":";;;;;;;;;;;;;;;QAqBE,qCAAmB,aAA+B;YAA/B,kBAAa,GAAb,aAAa,CAAkB;SAAI;;;;gBAJvDA,cAAS,SAAC;oBACT,QAAQ,EAAE,sBAAsB;iBACjC;;;;gBAZCC,qBAAgB;;;;QAcJ,oDAAsC;;;;;;;;QAuGlD,4BACU,SAAoB,EACpB,kBAAqC,EACrC,WAAuB;YAFvB,cAAS,GAAT,SAAS,CAAW;YACpB,uBAAkB,GAAlB,kBAAkB,CAAmB;YACrC,gBAAW,GAAX,WAAW,CAAY;YA/FzB,YAAO,GAAY,IAAI,CAAC;YACxB,YAAO,GAAY,KAAK,CAAC;YACzB,eAAU,GAAY,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BAU3BC,UAAK;2BAOLA,UAAK;uBAQLA,UAAK;wBAQLA,UAAK,SAAC,OAAO;yBAwBbA,UAAK,SAAC,QAAQ;wCA4BdC,iBAAY,SAAC,kBAAkB;;;;;;;QAzGhC,oCAAuB;;;;;QACvB,qCAAgC;;;;;QAChC,qCAAiC;;;;;QACjC,wCAAoC;;;;;QACpC,0CAAsC;;QAEtC,2CAAqG;;QACrG,uCAAoD;;;;;;;QAuBpD,mCAAuB;;;;;;;QAOvB,sCAA0B;;;;;;;;QAQ1B,kCAAuC;;;;;QAiDrC,uCAA4B;;;;;QAC5B,gDAA6C;;;;;QAC7C,yCAA+B;;;;;;;;;QCvH7B,UAAU,GAAgB,CAAC,kBAAkB,EAAE,2BAA2B,CAAC;;QAOjF;;;;;gBALCC,aAAQ,SAAC;oBACR,OAAO,EAAE,CAACC,qBAAY,EAAEC,kBAAa,CAAC;oBACtC,YAAY,EAAE,CAAC,UAAU,CAAC;oBAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;iBACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@angular/material/icon"),require("@covalent/core/common")):"function"==typeof define&&define.amd?define("@covalent/core/message",["exports","@angular/core","@angular/common","@angular/material/icon","@covalent/core/common"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).covalent=e.covalent||{},e.covalent.core=e.covalent.core||{},e.covalent.core.message={}),e.ng.core,e.ng.common,e.ng.material.icon,e.covalent.core.common)}(this,(function(e,t,n,i,o){"use strict";var a=function(e){this.viewContainer=e};a.decorators=[{type:t.Directive,args:[{selector:"[tdMessageContainer]"}]}],a.ctorParameters=function(){return[{type:t.ViewContainerRef}]};var r=function(){function e(e,t,n){this._renderer=e,this._changeDetectorRef=t,this._elementRef=n,this._opened=!0,this._hidden=!1,this._animating=!1,this._initialized=!1,this.icon="info_outline",this._renderer.addClass(this._elementRef.nativeElement,"td-message")}return Object.defineProperty(e.prototype,"collapsedAnimation",{get:function(){return{value:!this._opened,duration:100}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden?"none":void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(e){this._renderer.removeClass(this._elementRef.nativeElement,"mat-"+this._color),this._renderer.removeClass(this._elementRef.nativeElement,"bgc-"+this._color+"-100"),this._renderer.removeClass(this._elementRef.nativeElement,"tc-"+this._color+"-700"),"primary"===e||"accent"===e||"warn"===e?this._renderer.addClass(this._elementRef.nativeElement,"mat-"+e):(this._renderer.addClass(this._elementRef.nativeElement,"bgc-"+e+"-100"),this._renderer.addClass(this._elementRef.nativeElement,"tc-"+e+"-700")),this._color=e,this._changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this._initialized?e?this.open():this.close():this._opened=e},enumerable:!1,configurable:!0}),e.prototype.animationDoneListener=function(){this._opened||(this._hidden=!0,this._detach()),this._animating=!1,this._changeDetectorRef.markForCheck()},e.prototype.ngAfterViewInit=function(){var e=this;Promise.resolve(void 0).then((function(){e._opened&&e._attach(),e._initialized=!0}))},e.prototype.open=function(){this._opened||this._animating||(this._opened=!0,this._attach(),this._startAnimationState())},e.prototype.close=function(){this._opened&&!this._animating&&(this._opened=!1,this._startAnimationState())},e.prototype.toggle=function(){this._opened?this.close():this.open()},e.prototype._startAnimationState=function(){this._animating=!0,this._hidden=!1,this._changeDetectorRef.markForCheck()},e.prototype._attach=function(){this._childElement.viewContainer.createEmbeddedView(this._template),this._changeDetectorRef.markForCheck()},e.prototype._detach=function(){this._childElement.viewContainer.clear(),this._changeDetectorRef.markForCheck()},e}();r.decorators=[{type:t.Component,args:[{selector:"td-message",template:'<div tdMessageContainer></div>\n<ng-template>\n <div class="td-message-wrapper">\n <mat-icon class="td-message-icon">{{ icon }}</mat-icon>\n <div class="td-message-labels">\n <div *ngIf="label" class="td-message-label">{{ label }}</div>\n <div *ngIf="sublabel" class="td-message-sublabel">{{ sublabel }}</div>\n </div>\n <ng-content select="[td-message-actions]"></ng-content>\n </div>\n</ng-template>\n',animations:[o.tdCollapseAnimation],styles:[":host{display:block}:host .td-message-wrapper{-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:start;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex-direction:row;justify-content:flex-start;max-width:100%;min-height:52px;padding:8px 16px}:host .td-message-wrapper .td-message-labels{-ms-flex:1;flex:1}.td-message-icon{margin-right:16px}::ng-deep [dir=rtl] .td-message-icon{margin-left:16px;margin-right:0}"]}]}],r.ctorParameters=function(){return[{type:t.Renderer2},{type:t.ChangeDetectorRef},{type:t.ElementRef}]},r.propDecorators={_childElement:[{type:t.ViewChild,args:[a,{static:!0}]}],_template:[{type:t.ViewChild,args:[t.TemplateRef]}],collapsedAnimation:[{type:t.HostBinding,args:["@tdCollapse"]}],hidden:[{type:t.HostBinding,args:["style.display"]}],label:[{type:t.Input}],sublabel:[{type:t.Input}],icon:[{type:t.Input}],color:[{type:t.Input,args:["color"]}],opened:[{type:t.Input,args:["opened"]}],animationDoneListener:[{type:t.HostListener,args:["@tdCollapse.done"]}]};var s=[r,a],l=function(){};l.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,i.MatIconModule],declarations:[s],exports:[s]}]}],e.CovalentMessageModule=l,e.TdMessageComponent=r,e.TdMessageContainerDirective=a,Object.defineProperty(e,"__esModule",{value:!0})}));
|
2
|
-
//# sourceMappingURL=covalent-core-message.umd.min.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/platform/core/message/message.component.ts","../../../../src/platform/core/message/message.module.ts"],"names":["viewContainer","this","Directive","args","selector","ViewContainerRef","TdMessageComponent","_renderer","_changeDetectorRef","_elementRef","_opened","_hidden","_animating","_initialized","icon","addClass","nativeElement","Object","defineProperty","prototype","value","duration","undefined","_color","color","removeClass","markForCheck","opened","open","close","animationDoneListener","_detach","ngAfterViewInit","_this","Promise","resolve","then","_attach","_startAnimationState","toggle","_childElement","createEmbeddedView","_template","clear","Component","template","animations","tdCollapseAnimation","Renderer2","ChangeDetectorRef","ElementRef","ViewChild","TdMessageContainerDirective","static","TemplateRef","HostBinding","Input","HostListener","TD_MESSAGE","NgModule","imports","CommonModule","MatIconModule","declarations","exports"],"mappings":"8mBAqBE,SAAmBA,GAAAC,KAAAD,cAAAA,uBAJpBE,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,oEAXVC,EAAAA,qCAqHA,SAAAC,EACUC,EACAC,EACAC,GAFAR,KAAAM,UAAAA,EACAN,KAAAO,mBAAAA,EACAP,KAAAQ,YAAAA,EA/FFR,KAAAS,SAAmB,EACnBT,KAAAU,SAAmB,EACnBV,KAAAW,YAAsB,EACtBX,KAAAY,cAAwB,EAyCvBZ,KAAAa,KAAe,eAqDtBb,KAAKM,UAAUQ,SAASd,KAAKQ,YAAYO,cAAe,qBAtF1DC,OAAAC,eACIZ,EAAAa,UAAA,qBAAkB,KADtB,WAEE,MAAO,CAAEC,OAAQnB,KAAKS,QAASW,SAAU,sCAM3CJ,OAAAC,eACIZ,EAAAa,UAAA,SAAM,KADV,WAEE,OAAOlB,KAAKU,QAAU,YAASW,mCA+BjCL,OAAAC,eACIZ,EAAAa,UAAA,QAAK,KAaT,WACE,OAAOlB,KAAKsB,YAfd,SACUC,GACRvB,KAAKM,UAAUkB,YAAYxB,KAAKQ,YAAYO,cAAe,OAASf,KAAKsB,QACzEtB,KAAKM,UAAUkB,YAAYxB,KAAKQ,YAAYO,cAAe,OAASf,KAAKsB,OAAS,QAClFtB,KAAKM,UAAUkB,YAAYxB,KAAKQ,YAAYO,cAAe,MAAQf,KAAKsB,OAAS,QACnE,YAAVC,GAAiC,WAAVA,GAAgC,SAAVA,EAC/CvB,KAAKM,UA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9L3BkB,EAAAA,UAASzC,KAAA,CAAC,CACTC,SAAU,aACVyC,SAAA,8aAEAC,WAAY,CAACC,EAAAA,2jBAxBbC,EAAAA,iBAQAC,EAAAA,yBAPAC,EAAAA,qDAgCCC,EAAAA,UAAShD,KAAA,CAACiD,EAA6B,CAAEC,QAAQ,uBACjDF,EAAAA,UAAShD,KAAA,CAACmD,EAAAA,yCAKVC,EAAAA,YAAWpD,KAAA,CAAC,+BAQZoD,EAAAA,YAAWpD,KAAA,CAAC,gCAUZqD,EAAAA,wBAOAA,EAAAA,oBAQAA,EAAAA,qBAQAA,EAAAA,MAAKrD,KAAA,CAAC,yBAwBNqD,EAAAA,MAAKrD,KAAA,CAAC,yCA4BNsD,EAAAA,aAAYtD,KAAA,CAAC,2BChIVuD,EAA0B,CAACpD,EAAoB8C,KAOrD,iCALCO,EAAAA,SAAQxD,KAAA,CAAC,CACRyD,QAAS,CAACC,EAAAA,aAAcC,EAAAA,eACxBC,aAAc,CAACL,GACfM,QAAS,CAACN","sourcesContent":["import {\n Component,\n Directive,\n Input,\n Renderer2,\n ElementRef,\n AfterViewInit,\n ViewContainerRef,\n TemplateRef,\n ViewChild,\n HostBinding,\n HostListener,\n ChangeDetectorRef,\n} from '@angular/core';\n\nimport { tdCollapseAnimation } from '@covalent/core/common';\n\n@Directive({\n selector: '[tdMessageContainer]',\n})\nexport class TdMessageContainerDirective {\n constructor(public viewContainer: ViewContainerRef) {}\n}\n\n@Component({\n selector: 'td-message',\n templateUrl: './message.component.html',\n styleUrls: ['./message.component.scss'],\n animations: [tdCollapseAnimation],\n})\nexport class TdMessageComponent implements AfterViewInit {\n private _color: string;\n private _opened: boolean = true;\n private _hidden: boolean = false;\n private _animating: boolean = false;\n private _initialized: boolean = false;\n\n @ViewChild(TdMessageContainerDirective, { static: true }) _childElement: TdMessageContainerDirective;\n @ViewChild(TemplateRef) _template: TemplateRef<any>;\n\n /**\n * Binding host to tdCollapse animation\n */\n @HostBinding('@tdCollapse')\n get collapsedAnimation(): any {\n return { value: !this._opened, duration: 100 };\n }\n\n /**\n * Binding host to display style when hidden\n */\n @HostBinding('style.display')\n get hidden(): string {\n return this._hidden ? 'none' : undefined;\n }\n\n /**\n * label: string\n *\n * Sets the label of the message.\n */\n @Input() label: string;\n\n /**\n * sublabel?: string\n *\n * Sets the sublabel of the message.\n */\n @Input() sublabel: string;\n\n /**\n * icon?: string\n *\n * The icon to be displayed before the title.\n * Defaults to `info_outline` icon\n */\n @Input() icon: string = 'info_outline';\n\n /**\n * color?: primary | accent | warn\n *\n * Sets the color of the message.\n * Can also use any material color: purple | light-blue, etc.\n */\n @Input('color')\n set color(color: string) {\n this._renderer.removeClass(this._elementRef.nativeElement, 'mat-' + this._color);\n this._renderer.removeClass(this._elementRef.nativeElement, 'bgc-' + this._color + '-100');\n this._renderer.removeClass(this._elementRef.nativeElement, 'tc-' + this._color + '-700');\n if (color === 'primary' || color === 'accent' || color === 'warn') {\n this._renderer.addClass(this._elementRef.nativeElement, 'mat-' + color);\n } else {\n this._renderer.addClass(this._elementRef.nativeElement, 'bgc-' + color + '-100');\n this._renderer.addClass(this._elementRef.nativeElement, 'tc-' + color + '-700');\n }\n this._color = color;\n this._changeDetectorRef.markForCheck();\n }\n get color(): string {\n return this._color;\n }\n\n /**\n * opened?: boolean\n *\n * Shows or hiddes the message depending on its value.\n * Defaults to 'true'.\n */\n @Input('opened')\n set opened(opened: boolean) {\n if (this._initialized) {\n if (opened) {\n this.open();\n } else {\n this.close();\n }\n } else {\n this._opened = opened;\n }\n }\n get opened(): boolean {\n return this._opened;\n }\n\n constructor(\n private _renderer: Renderer2,\n private _changeDetectorRef: ChangeDetectorRef,\n private _elementRef: ElementRef,\n ) {\n this._renderer.addClass(this._elementRef.nativeElement, 'td-message');\n }\n\n /**\n * Detach element when close animation is finished to set animating state to false\n * hidden state to true and detach element from DOM\n */\n @HostListener('@tdCollapse.done')\n animationDoneListener(): void {\n if (!this._opened) {\n this._hidden = true;\n this._detach();\n }\n this._animating = false;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Initializes the component and attaches the content.\n */\n ngAfterViewInit(): void {\n Promise.resolve(undefined).then(() => {\n if (this._opened) {\n this._attach();\n }\n this._initialized = true;\n });\n }\n\n /**\n * Renders the message on screen\n * Validates if there is an animation currently and if its already opened\n */\n open(): void {\n if (!this._opened && !this._animating) {\n this._opened = true;\n this._attach();\n this._startAnimationState();\n }\n }\n\n /**\n * Removes the message content from screen.\n * Validates if there is an animation currently and if its already closed\n */\n close(): void {\n if (this._opened && !this._animating) {\n this._opened = false;\n this._startAnimationState();\n }\n }\n\n /**\n * Toggles between open and close depending on state.\n */\n toggle(): void {\n if (this._opened) {\n this.close();\n } else {\n this.open();\n }\n }\n\n /**\n * Method to set the state before starting an animation\n */\n private _startAnimationState(): void {\n this._animating = true;\n this._hidden = false;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Method to attach template to DOM\n */\n private _attach(): void {\n this._childElement.viewContainer.createEmbeddedView(this._template);\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Method to detach template from DOM\n */\n private _detach(): void {\n this._childElement.viewContainer.clear();\n this._changeDetectorRef.markForCheck();\n }\n}\n","import { Type } from '@angular/core';\nimport { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { TdMessageComponent, TdMessageContainerDirective } from './message.component';\n\nconst TD_MESSAGE: Type<any>[] = [TdMessageComponent, TdMessageContainerDirective];\n\n@NgModule({\n imports: [CommonModule, MatIconModule],\n declarations: [TD_MESSAGE],\n exports: [TD_MESSAGE],\n})\nexport class CovalentMessageModule {}\n"]}
|
@@ -1,197 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/material/core'), require('@angular/material/list'), require('@angular/material/icon'), require('@angular/material/divider'), require('@angular/material/menu'), require('@covalent/core/common'), require('@covalent/core/expansion-panel')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('@covalent/core/nav-links', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/material/core', '@angular/material/list', '@angular/material/icon', '@angular/material/divider', '@angular/material/menu', '@covalent/core/common', '@covalent/core/expansion-panel'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.covalent = global.covalent || {}, global.covalent.core = global.covalent.core || {}, global.covalent.core['nav-links'] = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.material.core, global.ng.material.list, global.ng.material.icon, global.ng.material.divider, global.ng.material.menu, global.covalent.core.common, global.covalent.core['expansion-panel']));
|
5
|
-
}(this, (function (exports, core, common$1, router, core$1, list, icon, divider, menu, common, expansionPanel) { 'use strict';
|
6
|
-
|
7
|
-
/**
|
8
|
-
* @fileoverview added by tsickle
|
9
|
-
* Generated from: nav-links.component.ts
|
10
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
* @record
|
14
|
-
*/
|
15
|
-
function ITdNavNode() { }
|
16
|
-
if (false) {
|
17
|
-
/** @type {?} */
|
18
|
-
ITdNavNode.prototype.label;
|
19
|
-
/** @type {?|undefined} */
|
20
|
-
ITdNavNode.prototype.show;
|
21
|
-
}
|
22
|
-
/**
|
23
|
-
* @record
|
24
|
-
*/
|
25
|
-
function ITdNavHeader() { }
|
26
|
-
if (false) {
|
27
|
-
/** @type {?} */
|
28
|
-
ITdNavHeader.prototype.children;
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* @record
|
32
|
-
*/
|
33
|
-
function ITdNavExpansion() { }
|
34
|
-
if (false) {
|
35
|
-
/** @type {?|undefined} */
|
36
|
-
ITdNavExpansion.prototype.collapsable;
|
37
|
-
}
|
38
|
-
/**
|
39
|
-
* @record
|
40
|
-
*/
|
41
|
-
function ITdLink() { }
|
42
|
-
if (false) {
|
43
|
-
/** @type {?} */
|
44
|
-
ITdLink.prototype.link;
|
45
|
-
/** @type {?} */
|
46
|
-
ITdLink.prototype.icon;
|
47
|
-
}
|
48
|
-
/** @type {?} */
|
49
|
-
var nextUniqueId = 0;
|
50
|
-
var TdNavLinksComponent = /** @class */ (function () {
|
51
|
-
function TdNavLinksComponent() {
|
52
|
-
this._uniqueId = "td-nav-links-" + ++nextUniqueId;
|
53
|
-
this._collapsedSet = new Set();
|
54
|
-
this.id = this._uniqueId;
|
55
|
-
/**
|
56
|
-
* Event trigger after a navigation click
|
57
|
-
*/
|
58
|
-
this.afterNavigation = new core.EventEmitter();
|
59
|
-
}
|
60
|
-
/**
|
61
|
-
* @param {?} link
|
62
|
-
* @return {?}
|
63
|
-
*/
|
64
|
-
TdNavLinksComponent.prototype._linkClicked = function (link) {
|
65
|
-
this.afterNavigation.emit(link);
|
66
|
-
};
|
67
|
-
/**
|
68
|
-
* @param {?} link
|
69
|
-
* @return {?}
|
70
|
-
*/
|
71
|
-
TdNavLinksComponent.prototype._href = function (link) {
|
72
|
-
return link.link && (( /** @type {?} */(link.link))).href;
|
73
|
-
};
|
74
|
-
/**
|
75
|
-
* @param {?} link
|
76
|
-
* @return {?}
|
77
|
-
*/
|
78
|
-
TdNavLinksComponent.prototype._routerLink = function (link) {
|
79
|
-
return link.link && (( /** @type {?} */(link.link))).routerLink;
|
80
|
-
};
|
81
|
-
/**
|
82
|
-
* @param {?} link
|
83
|
-
* Toggles expand/collapse state of expansion link.
|
84
|
-
* Only applied when `collapsable` is true
|
85
|
-
* @return {?}
|
86
|
-
*/
|
87
|
-
TdNavLinksComponent.prototype._toggle = function (link) {
|
88
|
-
if (this._isCollapsed(link)) {
|
89
|
-
this._collapsedSet.delete(link);
|
90
|
-
}
|
91
|
-
else {
|
92
|
-
this._collapsedSet.add(link);
|
93
|
-
}
|
94
|
-
};
|
95
|
-
/**
|
96
|
-
* @param {?} link
|
97
|
-
* Returns true if the state of provided expansion link is collapsed.
|
98
|
-
* @return {?}
|
99
|
-
*/
|
100
|
-
TdNavLinksComponent.prototype._isCollapsed = function (link) {
|
101
|
-
return this._collapsedSet.has(link);
|
102
|
-
};
|
103
|
-
return TdNavLinksComponent;
|
104
|
-
}());
|
105
|
-
TdNavLinksComponent.decorators = [
|
106
|
-
{ type: core.Component, args: [{
|
107
|
-
selector: 'td-nav-links',
|
108
|
-
template: "<mat-nav-list dense *ngIf=\"links && links.length > 0\">\n <ng-template ngFor [ngForOf]=\"links\" let-link let-linkIndex=\"index\">\n <ng-container *ngIf=\"link.show === undefined || link.show\">\n <ng-container *ngIf=\"link.children?.length && !link.link\">\n <h3\n [class.td-nav-link-cursor]=\"link.collapsable\"\n matSubheader\n matRipple\n [matRippleDisabled]=\"!link.collapsable\"\n (click)=\"link.collapsable && _toggle(link)\"\n >\n <mat-icon *ngIf=\"link.icon\" [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span [style.width.%]=\"100\">{{ link.label }}</span>\n <mat-icon [@tdRotate]=\"!_isCollapsed(link)\" *ngIf=\"link.collapsable\">keyboard_arrow_down</mat-icon>\n </h3>\n <td-nav-links\n [id]=\"id + '-' + linkIndex\"\n [@tdCollapse]=\"!!_isCollapsed(link)\"\n [links]=\"link.children\"\n ></td-nav-links>\n </ng-container>\n <ng-container *ngIf=\"link.link\">\n <a\n mat-list-item\n *ngIf=\"_href(link)\"\n [href]=\"_href(link)\"\n [target]=\"link.link.openInNewTab ? '_blank' : undefined\"\n id=\"{{ id }}-{{ linkIndex }}\"\n class=\"td-nav-link\"\n (click)=\"_linkClicked(link)\"\n >\n <mat-icon matListIcon [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span matLine>{{ link.label }}</span>\n <mat-icon *ngIf=\"link.link.openInNewTab\">launch</mat-icon>\n </a>\n <a\n mat-list-item\n *ngIf=\"_routerLink(link)\"\n [routerLink]=\"_routerLink(link)\"\n [target]=\"link.link.openInNewTab ? '_blank' : undefined\"\n id=\"{{ id }}-{{ linkIndex }}\"\n class=\"td-nav-link\"\n (click)=\"_linkClicked(link)\"\n >\n <mat-icon matListIcon [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span matLine>{{ link.label }}</span>\n <mat-icon *ngIf=\"link.link.openInNewTab\">launch</mat-icon>\n </a>\n </ng-container>\n </ng-container>\n </ng-template>\n</mat-nav-list>\n",
|
109
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
110
|
-
animations: [common.tdCollapseAnimation, common.tdRotateAnimation],
|
111
|
-
styles: [":host{display:block}:host .mat-nav-list.mat-list-base{padding-top:2px}:host .mat-nav-list.mat-list-base .td-nav-link-cursor{cursor:pointer}:host .mat-nav-list.mat-list-base .mat-list-item{height:40px}:host .mat-icon{margin-right:0}"]
|
112
|
-
}] }
|
113
|
-
];
|
114
|
-
TdNavLinksComponent.propDecorators = {
|
115
|
-
id: [{ type: core.Input }],
|
116
|
-
links: [{ type: core.Input }],
|
117
|
-
afterNavigation: [{ type: core.Output }]
|
118
|
-
};
|
119
|
-
if (false) {
|
120
|
-
/**
|
121
|
-
* @type {?}
|
122
|
-
* @private
|
123
|
-
*/
|
124
|
-
TdNavLinksComponent.prototype._uniqueId;
|
125
|
-
/**
|
126
|
-
* @type {?}
|
127
|
-
* @private
|
128
|
-
*/
|
129
|
-
TdNavLinksComponent.prototype._collapsedSet;
|
130
|
-
/** @type {?} */
|
131
|
-
TdNavLinksComponent.prototype.id;
|
132
|
-
/**
|
133
|
-
* Links to be rendered by component.
|
134
|
-
* @type {?}
|
135
|
-
*/
|
136
|
-
TdNavLinksComponent.prototype.links;
|
137
|
-
/**
|
138
|
-
* Event trigger after a navigation click
|
139
|
-
* @type {?}
|
140
|
-
*/
|
141
|
-
TdNavLinksComponent.prototype.afterNavigation;
|
142
|
-
}
|
143
|
-
|
144
|
-
/**
|
145
|
-
* @fileoverview added by tsickle
|
146
|
-
* Generated from: nav-links.module.ts
|
147
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
148
|
-
*/
|
149
|
-
var CovalentNavLinksModule = /** @class */ (function () {
|
150
|
-
function CovalentNavLinksModule() {
|
151
|
-
}
|
152
|
-
return CovalentNavLinksModule;
|
153
|
-
}());
|
154
|
-
CovalentNavLinksModule.decorators = [
|
155
|
-
{ type: core.NgModule, args: [{
|
156
|
-
declarations: [TdNavLinksComponent],
|
157
|
-
// directives, components, and pipes owned by this NgModule
|
158
|
-
exports: [TdNavLinksComponent],
|
159
|
-
imports: [
|
160
|
-
common$1.CommonModule,
|
161
|
-
common.CovalentCommonModule,
|
162
|
-
expansionPanel.CovalentExpansionPanelModule,
|
163
|
-
core$1.MatRippleModule,
|
164
|
-
menu.MatMenuModule,
|
165
|
-
list.MatListModule,
|
166
|
-
icon.MatIconModule,
|
167
|
-
divider.MatDividerModule,
|
168
|
-
router.RouterModule,
|
169
|
-
],
|
170
|
-
},] }
|
171
|
-
];
|
172
|
-
|
173
|
-
/**
|
174
|
-
* @fileoverview added by tsickle
|
175
|
-
* Generated from: public-api.ts
|
176
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
177
|
-
*/
|
178
|
-
|
179
|
-
/**
|
180
|
-
* @fileoverview added by tsickle
|
181
|
-
* Generated from: index.ts
|
182
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
183
|
-
*/
|
184
|
-
|
185
|
-
/**
|
186
|
-
* @fileoverview added by tsickle
|
187
|
-
* Generated from: covalent-core-nav-links.ts
|
188
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
189
|
-
*/
|
190
|
-
|
191
|
-
exports.CovalentNavLinksModule = CovalentNavLinksModule;
|
192
|
-
exports.TdNavLinksComponent = TdNavLinksComponent;
|
193
|
-
|
194
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
195
|
-
|
196
|
-
})));
|
197
|
-
//# sourceMappingURL=covalent-core-nav-links.umd.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"covalent-core-nav-links.umd.js","sources":["../../../../src/platform/core/nav-links/nav-links.component.ts","../../../../src/platform/core/nav-links/nav-links.module.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';\n\nimport { tdCollapseAnimation, tdRotateAnimation } from '@covalent/core/common';\n\nexport interface ITdNavNode {\n label: string;\n show?: boolean;\n}\n\nexport interface ITdNavHeader extends ITdNavNode {\n children: ITdLink[];\n}\n\nexport interface ITdNavExpansion extends ITdNavHeader {\n collapsable?: boolean;\n}\n\nexport interface ITdLink extends ITdNavNode {\n link: { href: string; openInNewTab?: boolean } | { routerLink: string | string[]; openInNewTab?: boolean };\n icon: { fontSet?: string; name: string };\n}\n\nlet nextUniqueId: number = 0;\n\n@Component({\n selector: 'td-nav-links',\n templateUrl: './nav-links.component.html',\n styleUrls: ['./nav-links.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tdCollapseAnimation, tdRotateAnimation],\n})\nexport class TdNavLinksComponent {\n private _uniqueId: string = `td-nav-links-${++nextUniqueId}`;\n\n private _collapsedSet: Set<ITdNavExpansion> = new Set<ITdNavExpansion>();\n\n @Input() id: string = this._uniqueId;\n\n /**\n * Links to be rendered by component.\n */\n /* tslint:disable-next-line */\n @Input() links: Array<ITdNavExpansion | ITdNavHeader | ITdLink>;\n\n /**\n * Event trigger after a navigation click\n */\n @Output() afterNavigation: EventEmitter<ITdLink> = new EventEmitter<ITdLink>();\n\n _linkClicked(link: ITdLink): void {\n this.afterNavigation.emit(link);\n }\n\n _href(link: ITdLink): string {\n return link.link && (<{ href?: string }>link.link).href;\n }\n\n _routerLink(link: ITdLink): string | string[] {\n return link.link && (<{ routerLink?: string | string[] }>link.link).routerLink;\n }\n\n /**\n * @param link\n * Toggles expand/collapse state of expansion link.\n * Only applied when `collapsable` is true\n */\n _toggle(link: ITdNavExpansion): void {\n if (this._isCollapsed(link)) {\n this._collapsedSet.delete(link);\n } else {\n this._collapsedSet.add(link);\n }\n }\n\n /**\n * @param link\n * Returns true if the state of provided expansion link is collapsed.\n */\n _isCollapsed(link: ITdNavExpansion): boolean {\n return this._collapsedSet.has(link);\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport { MatRippleModule } from '@angular/material/core';\nimport { MatListModule } from '@angular/material/list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { MatMenuModule } from '@angular/material/menu';\n\nimport { CovalentCommonModule } from '@covalent/core/common';\nimport { CovalentExpansionPanelModule } from '@covalent/core/expansion-panel';\n\nimport { TdNavLinksComponent } from './nav-links.component';\n\n@NgModule({\n declarations: [TdNavLinksComponent], // directives, components, and pipes owned by this NgModule\n exports: [TdNavLinksComponent],\n imports: [\n CommonModule,\n CovalentCommonModule,\n CovalentExpansionPanelModule,\n MatRippleModule,\n MatMenuModule,\n MatListModule,\n MatIconModule,\n MatDividerModule,\n RouterModule,\n ], // modules needed to run this module\n})\nexport class CovalentNavLinksModule {}\n"],"names":["EventEmitter","Component","ChangeDetectionStrategy","tdCollapseAnimation","tdRotateAnimation","Input","Output","NgModule","CommonModule","CovalentCommonModule","CovalentExpansionPanelModule","MatRippleModule","MatMenuModule","MatListModule","MatIconModule","MatDividerModule","RouterModule"],"mappings":";;;;;;;;;;;;;;6BAOC;;;QAFC,2BAAc;;QACd,0BAAe;;;;;+BAKhB;;;QADC,gCAAoB;;;;;kCAKrB;;;QADC,sCAAsB;;;;;0BAMvB;;;QAFC,uBAA2G;;QAC3G,uBAAyC;;;QAGvC,YAAY,GAAW,CAAC;;QA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