@progress/kendo-angular-layout 6.5.2 → 7.0.0-next.202203231147
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/{dist/es2015/avatar → avatar}/avatar.component.d.ts +18 -11
- package/{dist/es2015/avatar → avatar}/models/fill.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/models.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/rounded.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/shape.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/size.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/theme-color.d.ts +0 -0
- package/{dist/es2015/avatar.module.d.ts → avatar.module.d.ts} +6 -0
- package/bundles/kendo-angular-layout.umd.js +5 -0
- package/{dist/es2015/card → card}/card-actions.component.d.ts +16 -9
- package/{dist/es2015/card → card}/card-body.component.d.ts +3 -0
- package/{dist/es2015/card → card}/card-footer.component.d.ts +3 -0
- package/{dist/es2015/card → card}/card-header.component.d.ts +3 -0
- package/{dist/es2015/card → card}/card.component.d.ts +6 -3
- package/{dist/es2015/card → card}/directives/card-media.directive.d.ts +3 -0
- package/{dist/es2015/card → card}/directives/card-separator.directive.d.ts +5 -2
- package/{dist/es2015/card → card}/directives/card-subtitle.directive.d.ts +3 -0
- package/{dist/es2015/card → card}/directives/card-title.directive.d.ts +3 -0
- package/{dist/es2015/card → card}/models/actions-layout.d.ts +0 -0
- package/{dist/es2015/card → card}/models/card-action.d.ts +0 -0
- package/card.module.d.ts +24 -0
- package/{dist/es2015/common → common}/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
- package/{dist/es2015/common → common}/orientation.d.ts +0 -0
- package/{dist/es2015/common → common}/styling-classes.d.ts +0 -0
- package/{dist/es2015/common → common}/util.d.ts +4 -4
- package/{dist/es2015/drawer → drawer}/animations.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/drawer-container.component.d.ts +9 -6
- package/{dist/es2015/drawer → drawer}/drawer-content.component.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/drawer.component.d.ts +17 -8
- package/{dist/es2015/drawer → drawer}/drawer.service.d.ts +3 -1
- package/drawer/events/drawer-list-select.event.d.ts +26 -0
- package/{dist/es2015/drawer → drawer}/events/select-event.d.ts +6 -2
- package/{dist/es2015/drawer → drawer}/item.component.d.ts +7 -4
- package/{dist/es2015/drawer → drawer}/list.component.d.ts +6 -1
- package/{dist/es2015/drawer → drawer}/models/constants.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/models/drawer-animation.interface.d.ts +1 -1
- package/{dist/es2015/drawer → drawer}/models/drawer-item.interface.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/models/mode.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/models/position.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/template-directives/drawer-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives/footer-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives/header-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives/item-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/types.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/util.d.ts +0 -0
- package/drawer.module.d.ts +24 -0
- package/{dist/es2015 → esm2015}/avatar/avatar.component.js +73 -98
- package/{dist/es → esm2015}/avatar/models/fill.js +1 -0
- package/{dist/es/layouts → esm2015/avatar/models}/models.js +5 -0
- package/{dist/es2015 → esm2015}/avatar/models/rounded.js +1 -0
- package/{dist/es2015 → esm2015}/avatar/models/shape.js +1 -0
- package/{dist/es → esm2015}/avatar/models/size.js +1 -0
- package/{dist/es → esm2015}/avatar/models/theme-color.js +1 -0
- package/esm2015/avatar.module.js +31 -0
- package/esm2015/card/card-actions.component.js +145 -0
- package/esm2015/card/card-body.component.js +30 -0
- package/esm2015/card/card-footer.component.js +30 -0
- package/esm2015/card/card-header.component.js +30 -0
- package/esm2015/card/card.component.js +101 -0
- package/esm2015/card/directives/card-media.directive.js +25 -0
- package/esm2015/card/directives/card-separator.directive.js +52 -0
- package/esm2015/card/directives/card-subtitle.directive.js +25 -0
- package/esm2015/card/directives/card-title.directive.js +25 -0
- package/{dist/es → esm2015}/card/models/actions-layout.js +1 -0
- package/{dist/es2015 → esm2015}/card/models/card-action.js +0 -0
- package/{dist/es2015 → esm2015}/card.module.js +28 -11
- package/{dist/es → esm2015}/common/direction.js +1 -0
- package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -3
- package/{dist/es → esm2015}/common/orientation.js +1 -0
- package/{dist/es → esm2015}/common/styling-classes.js +1 -0
- package/{dist/es2015 → esm2015}/common/util.js +4 -6
- package/{dist/es2015 → esm2015}/drawer/animations.js +0 -0
- package/esm2015/drawer/drawer-container.component.js +109 -0
- package/esm2015/drawer/drawer-content.component.js +31 -0
- package/{dist/es2015 → esm2015}/drawer/drawer.component.js +124 -124
- package/{dist/es2015 → esm2015}/drawer/drawer.service.js +8 -20
- package/esm2015/drawer/events/drawer-list-select.event.js +17 -0
- package/{dist/es2015 → esm2015}/drawer/events/select-event.js +8 -1
- package/esm2015/drawer/item.component.js +121 -0
- package/{dist/es2015 → esm2015}/drawer/list.component.js +32 -34
- package/{dist/es2015 → esm2015}/drawer/models/constants.js +0 -0
- package/{dist/es → esm2015}/drawer/models/drawer-animation.interface.js +1 -0
- package/{dist/es → esm2015}/drawer/models/drawer-item.interface.js +1 -0
- package/{dist/es → esm2015}/drawer/models/mode.js +1 -0
- package/{dist/es → esm2015}/drawer/models/position.js +1 -0
- package/esm2015/drawer/template-directives/drawer-template.directive.js +28 -0
- package/esm2015/drawer/template-directives/footer-template.directive.js +26 -0
- package/esm2015/drawer/template-directives/header-template.directive.js +26 -0
- package/esm2015/drawer/template-directives/item-template.directive.js +26 -0
- package/{dist/es → esm2015}/drawer/template-directives.js +0 -0
- package/{dist/es → esm2015}/drawer/types.js +1 -0
- package/{dist/es2015 → esm2015}/drawer/util.js +0 -0
- package/{dist/es2015 → esm2015}/drawer.module.js +25 -11
- package/{dist/es2015 → esm2015}/expansionpanel/animations.js +0 -0
- package/{dist/es2015 → esm2015}/expansionpanel/events/action-event.js +8 -1
- package/esm2015/expansionpanel/expansionpanel-title.directive.js +27 -0
- package/{dist/es2015 → esm2015}/expansionpanel/expansionpanel.component.js +112 -119
- package/esm2015/expansionpanel.module.js +36 -0
- package/esm2015/gridlayout.module.js +35 -0
- package/esm2015/kendo-angular-layout.js +8 -0
- package/{dist/es2015 → esm2015}/layout.module.js +44 -21
- package/{dist/es2015 → esm2015}/layouts/grid-layout.component.js +44 -48
- package/esm2015/layouts/gridlayout-item.component.js +47 -0
- package/{dist/es → esm2015}/layouts/models/gridlayout-gap-settings.js +1 -0
- package/{dist/es → esm2015}/layouts/models/gridlayout-row-col-size.js +1 -0
- package/{dist/es → esm2015}/layouts/models/layout-align-settings.js +1 -0
- package/{dist/es → esm2015}/layouts/models/layout-horizontal-align.js +1 -0
- package/{dist/es → esm2015}/layouts/models/layout-vertical-align.js +1 -0
- package/{dist/es2015/layouts/models.d.ts → esm2015/layouts/models.js} +0 -0
- package/{dist/es2015 → esm2015}/layouts/stack-layout.component.js +48 -54
- package/{dist/es2015 → esm2015}/layouts/util.js +0 -0
- package/{dist/es → esm2015}/main.js +4 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/esm2015/panelbar/panelbar-content.directive.js +23 -0
- package/{dist/es → esm2015}/panelbar/panelbar-expand-mode.js +0 -0
- package/{dist/es → esm2015}/panelbar/panelbar-item-model.js +1 -0
- package/esm2015/panelbar/panelbar-item-template.directive.js +24 -0
- package/{dist/es2015 → esm2015}/panelbar/panelbar-item-title.directive.js +14 -12
- package/{dist/es2015 → esm2015}/panelbar/panelbar-item.component.js +218 -158
- package/{dist/es2015 → esm2015}/panelbar/panelbar.component.js +116 -131
- package/{dist/es2015 → esm2015}/panelbar/panelbar.service.js +8 -8
- package/{dist/es2015 → esm2015}/panelbar.module.js +22 -11
- package/{dist/es2015 → esm2015}/splitter/splitter-bar.component.js +60 -81
- package/{dist/es2015 → esm2015}/splitter/splitter-pane.component.js +53 -84
- package/{dist/es2015 → esm2015}/splitter/splitter.component.js +84 -69
- package/{dist/es2015 → esm2015}/splitter/splitter.service.js +9 -9
- package/{dist/es2015 → esm2015}/splitter.module.js +21 -12
- package/esm2015/stacklayout.module.js +31 -0
- package/{dist/es2015 → esm2015}/stepper/events/activate-event.js +8 -1
- package/esm2015/stepper/list.component.js +145 -0
- package/esm2015/stepper/localization/custom-messages.component.js +41 -0
- package/esm2015/stepper/localization/localized-messages.directive.js +38 -0
- package/esm2015/stepper/localization/messages.js +23 -0
- package/{dist/es2015 → esm2015}/stepper/models/constants.js +0 -0
- package/{dist/es → esm2015}/stepper/models/orientation.js +1 -0
- package/{dist/es → esm2015}/stepper/models/step-predicate.js +1 -0
- package/{dist/es → esm2015}/stepper/models/step-type.js +1 -0
- package/{dist/es → esm2015}/stepper/models/stepper-step.interface.js +1 -0
- package/{dist/es2015 → esm2015}/stepper/step.component.js +88 -66
- package/{dist/es2015 → esm2015}/stepper/stepper.component.js +141 -103
- package/{dist/es2015 → esm2015}/stepper/stepper.service.js +25 -14
- package/esm2015/stepper/template-directives/indicator-template.directive.js +26 -0
- package/esm2015/stepper/template-directives/label-template.directive.js +26 -0
- package/esm2015/stepper/template-directives/step-template.directive.js +26 -0
- package/{dist/es → esm2015}/stepper/template-directives.js +0 -0
- package/{dist/es → esm2015}/stepper/types.js +1 -0
- package/{dist/es2015 → esm2015}/stepper.module.js +22 -11
- package/{dist/es2015 → esm2015}/tabstrip/constants.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip/directives/tab-content.directive.js +12 -11
- package/{dist/es2015 → esm2015}/tabstrip/directives/tab-title.directive.js +12 -11
- package/{dist/es2015 → esm2015}/tabstrip/events/select-event.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip/events/tabclose-event.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip/events/tabscroll-event.js +8 -1
- package/{dist/es → esm2015}/tabstrip/events.js +0 -0
- package/esm2015/tabstrip/localization/custom-messages.component.js +41 -0
- package/esm2015/tabstrip/localization/localized-messages.directive.js +36 -0
- package/esm2015/tabstrip/localization/messages.js +23 -0
- package/{dist/es → esm2015}/tabstrip/models/button-state-change.js +1 -0
- package/{dist/es/avatar/models/models.js → esm2015/tabstrip/models/scroll-button-type.js} +1 -0
- package/{dist/es → esm2015}/tabstrip/models/scroll-buttons-visibility.js +1 -0
- package/{dist/es2015 → esm2015}/tabstrip/models/scrollable-settings.js +0 -2
- package/{dist/es → esm2015}/tabstrip/models/tab-alignment.js +1 -0
- package/{dist/es → esm2015}/tabstrip/models/tab-position.js +1 -0
- package/esm2015/tabstrip/models/tabstrip-tab.component.js +65 -0
- package/esm2015/tabstrip/rendering/tab.component.js +123 -0
- package/esm2015/tabstrip/scrollable-button.component.js +123 -0
- package/{dist/es2015 → esm2015}/tabstrip/tabstrip-scroll.service.js +16 -36
- package/{dist/es2015 → esm2015}/tabstrip/tabstrip.component.js +237 -149
- package/{dist/es2015 → esm2015}/tabstrip/tabstrip.service.js +11 -16
- package/{dist/es2015 → esm2015}/tabstrip/util.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip.module.js +26 -11
- package/{dist/es2015 → esm2015}/tilelayout/constants.js +0 -0
- package/{dist/es2015 → esm2015}/tilelayout/dragging-service.js +10 -12
- package/{dist/es → esm2015}/tilelayout/models/dragging-config.interface.js +1 -0
- package/{dist/es → esm2015}/tilelayout/models/flowmode.type.js +1 -0
- package/{dist/es → esm2015}/tilelayout/models/gap.interface.js +1 -0
- package/{dist/es2015 → esm2015}/tilelayout/reorder-event.js +1 -1
- package/{dist/es2015 → esm2015}/tilelayout/resize-event.js +1 -1
- package/esm2015/tilelayout/tilelayout-item-body.component.js +37 -0
- package/esm2015/tilelayout/tilelayout-item-header.component.js +52 -0
- package/{dist/es2015 → esm2015}/tilelayout/tilelayout-item.component.js +81 -76
- package/{dist/es2015 → esm2015}/tilelayout/tilelayout-resize-handle.directive.js +16 -20
- package/{dist/es2015 → esm2015}/tilelayout/tilelayout.component.js +79 -84
- package/{dist/es2015 → esm2015}/tilelayout/util.js +0 -0
- package/{dist/es2015 → esm2015}/tilelayout.module.js +22 -11
- package/{dist/es2015/expansionpanel → expansionpanel}/animations.d.ts +0 -0
- package/{dist/es2015/expansionpanel → expansionpanel}/events/action-event.d.ts +5 -1
- package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel-title.directive.d.ts +3 -0
- package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel.component.d.ts +9 -5
- package/expansionpanel.module.d.ts +18 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-layout.js} +5166 -4888
- package/gridlayout.module.d.ts +17 -0
- package/{dist/es/stepper/models/constants.js → kendo-angular-layout.d.ts} +3 -2
- package/{dist/es2015/layout.module.d.ts → layout.module.d.ts} +15 -0
- package/{dist/es2015/layouts → layouts}/grid-layout.component.d.ts +7 -3
- package/{dist/es2015/layouts → layouts}/gridlayout-item.component.d.ts +3 -0
- package/{dist/es2015/layouts → layouts}/models/gridlayout-gap-settings.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/gridlayout-row-col-size.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/layout-align-settings.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/layout-horizontal-align.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/layout-vertical-align.d.ts +0 -0
- package/{dist/es/avatar/models/shape.js → layouts/models.d.ts} +6 -0
- package/{dist/es2015/layouts → layouts}/stack-layout.component.d.ts +9 -5
- package/{dist/es2015/layouts → layouts}/util.d.ts +3 -3
- package/{dist/es2015/main.d.ts → main.d.ts} +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +43 -131
- package/{dist/es2015/panelbar → panelbar}/panelbar-content.directive.d.ts +3 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-expand-mode.d.ts +0 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item-model.d.ts +0 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item-template.directive.d.ts +3 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item-title.directive.d.ts +3 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item.component.d.ts +17 -13
- package/{dist/es2015/panelbar → panelbar}/panelbar.component.d.ts +13 -8
- package/{dist/es2015/panelbar → panelbar}/panelbar.service.d.ts +3 -0
- package/panelbar.module.d.ts +27 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/splitter → splitter}/splitter-bar.component.d.ts +8 -5
- package/{dist/es2015/splitter → splitter}/splitter-pane.component.d.ts +13 -8
- package/{dist/es2015/splitter → splitter}/splitter.component.d.ts +9 -6
- package/{dist/es2015/splitter → splitter}/splitter.service.d.ts +3 -0
- package/splitter.module.d.ts +23 -0
- package/{dist/es2015/stacklayout.module.d.ts → stacklayout.module.d.ts} +6 -0
- package/{dist/es2015/stepper → stepper}/events/activate-event.d.ts +6 -2
- package/{dist/es2015/stepper → stepper}/list.component.d.ts +9 -6
- package/{dist/es2015/stepper → stepper}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/stepper → stepper}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/localization/messages.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/models/constants.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/orientation.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/step-predicate.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/step-type.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/stepper-step.interface.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/step.component.d.ts +16 -13
- package/{dist/es2015/stepper → stepper}/stepper.component.d.ts +22 -9
- package/{dist/es2015/stepper → stepper}/stepper.service.d.ts +6 -4
- package/{dist/es2015/stepper → stepper}/template-directives/indicator-template.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/template-directives/label-template.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/template-directives/step-template.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/template-directives.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/types.d.ts +0 -0
- package/stepper.module.d.ts +24 -0
- package/{dist/es2015/tabstrip → tabstrip}/constants.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/directives/tab-content.directive.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/directives/tab-title.directive.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/events/select-event.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/events/tabclose-event.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/events/tabscroll-event.d.ts +5 -1
- package/{dist/es2015/tabstrip → tabstrip}/events.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/tabstrip → tabstrip}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/localization/messages.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/button-state-change.d.ts +0 -0
- package/{dist/es/drawer/models/constants.js → tabstrip/models/scroll-button-type.d.ts} +1 -1
- package/{dist/es2015/tabstrip → tabstrip}/models/scroll-buttons-visibility.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/scrollable-settings.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/tab-alignment.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/tab-position.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/tabstrip-tab.component.d.ts +5 -2
- package/tabstrip/rendering/tab.component.d.ts +32 -0
- package/tabstrip/scrollable-button.component.d.ts +38 -0
- package/{dist/es2015/tabstrip → tabstrip}/tabstrip-scroll.service.d.ts +9 -11
- package/{dist/es2015/tabstrip → tabstrip}/tabstrip.component.d.ts +25 -15
- package/{dist/es2015/tabstrip → tabstrip}/tabstrip.service.d.ts +3 -1
- package/{dist/es2015/tabstrip → tabstrip}/util.d.ts +0 -0
- package/tabstrip.module.d.ts +30 -0
- package/{dist/es2015/tilelayout → tilelayout}/constants.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/dragging-service.d.ts +7 -4
- package/{dist/es2015/tilelayout → tilelayout}/models/dragging-config.interface.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/models/flowmode.type.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/models/gap.interface.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/reorder-event.d.ts +1 -1
- package/{dist/es2015/tilelayout → tilelayout}/resize-event.d.ts +1 -1
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-body.component.d.ts +3 -0
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-header.component.d.ts +11 -5
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item.component.d.ts +14 -5
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-resize-handle.directive.d.ts +3 -0
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout.component.d.ts +10 -6
- package/{dist/es2015/tilelayout → tilelayout}/util.d.ts +0 -0
- package/tilelayout.module.d.ts +26 -0
- package/dist/cdn/js/kendo-angular-layout.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/avatar/avatar.component.js +0 -357
- package/dist/es/avatar/models/rounded.js +0 -4
- package/dist/es/avatar.module.js +0 -29
- package/dist/es/card/card-actions.component.js +0 -151
- package/dist/es/card/card-body.component.js +0 -26
- package/dist/es/card/card-footer.component.js +0 -26
- package/dist/es/card/card-header.component.js +0 -26
- package/dist/es/card/card.component.js +0 -114
- package/dist/es/card/directives/card-media.directive.js +0 -25
- package/dist/es/card/directives/card-separator.directive.js +0 -66
- package/dist/es/card/directives/card-subtitle.directive.js +0 -25
- package/dist/es/card/directives/card-title.directive.js +0 -25
- package/dist/es/card/models/card-action.js +0 -13
- package/dist/es/card.module.js +0 -47
- package/dist/es/common/dom-queries.js +0 -52
- package/dist/es/common/preventable-event.js +0 -36
- package/dist/es/common/util.js +0 -91
- package/dist/es/drawer/animations.js +0 -146
- package/dist/es/drawer/drawer-container.component.js +0 -133
- package/dist/es/drawer/drawer-content.component.js +0 -28
- package/dist/es/drawer/drawer.component.js +0 -405
- package/dist/es/drawer/drawer.service.js +0 -45
- package/dist/es/drawer/events/select-event.js +0 -17
- package/dist/es/drawer/item.component.js +0 -123
- package/dist/es/drawer/list.component.js +0 -119
- package/dist/es/drawer/template-directives/drawer-template.directive.js +0 -27
- package/dist/es/drawer/template-directives/footer-template.directive.js +0 -25
- package/dist/es/drawer/template-directives/header-template.directive.js +0 -25
- package/dist/es/drawer/template-directives/item-template.directive.js +0 -25
- package/dist/es/drawer/util.js +0 -16
- package/dist/es/drawer.module.js +0 -45
- package/dist/es/expansionpanel/animations.js +0 -23
- package/dist/es/expansionpanel/events/action-event.js +0 -17
- package/dist/es/expansionpanel/expansionpanel-title.directive.js +0 -26
- package/dist/es/expansionpanel/expansionpanel.component.js +0 -441
- package/dist/es/expansionpanel.module.js +0 -32
- package/dist/es/gridlayout.module.js +0 -31
- package/dist/es/index.js +0 -29
- package/dist/es/layout.module.js +0 -71
- package/dist/es/layouts/grid-layout.component.js +0 -155
- package/dist/es/layouts/gridlayout-item.component.js +0 -52
- package/dist/es/layouts/stack-layout.component.js +0 -171
- package/dist/es/layouts/util.js +0 -102
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/panelbar/panelbar-content.directive.js +0 -23
- package/dist/es/panelbar/panelbar-item-template.directive.js +0 -23
- package/dist/es/panelbar/panelbar-item-title.directive.js +0 -46
- package/dist/es/panelbar/panelbar-item.component.js +0 -455
- package/dist/es/panelbar/panelbar.component.js +0 -557
- package/dist/es/panelbar/panelbar.service.js +0 -43
- package/dist/es/panelbar.module.js +0 -44
- package/dist/es/splitter/splitter-bar.component.js +0 -282
- package/dist/es/splitter/splitter-pane.component.js +0 -270
- package/dist/es/splitter/splitter.component.js +0 -226
- package/dist/es/splitter/splitter.service.js +0 -153
- package/dist/es/splitter.module.js +0 -42
- package/dist/es/stacklayout.module.js +0 -29
- package/dist/es/stepper/events/activate-event.js +0 -17
- package/dist/es/stepper/list.component.js +0 -144
- package/dist/es/stepper/localization/custom-messages.component.js +0 -44
- package/dist/es/stepper/localization/localized-messages.directive.js +0 -35
- package/dist/es/stepper/localization/messages.js +0 -22
- package/dist/es/stepper/step.component.js +0 -272
- package/dist/es/stepper/stepper.component.js +0 -328
- package/dist/es/stepper/stepper.service.js +0 -161
- package/dist/es/stepper/template-directives/indicator-template.directive.js +0 -25
- package/dist/es/stepper/template-directives/label-template.directive.js +0 -25
- package/dist/es/stepper/template-directives/step-template.directive.js +0 -25
- package/dist/es/stepper.module.js +0 -47
- package/dist/es/tabstrip/constants.js +0 -33
- package/dist/es/tabstrip/directives/tab-content.directive.js +0 -49
- package/dist/es/tabstrip/directives/tab-title.directive.js +0 -54
- package/dist/es/tabstrip/events/select-event.js +0 -26
- package/dist/es/tabstrip/events/tabclose-event.js +0 -22
- package/dist/es/tabstrip/events/tabscroll-event.js +0 -19
- package/dist/es/tabstrip/localization/custom-messages.component.js +0 -44
- package/dist/es/tabstrip/localization/localized-messages.directive.js +0 -35
- package/dist/es/tabstrip/localization/messages.js +0 -22
- package/dist/es/tabstrip/models/scrollable-settings.js +0 -28
- package/dist/es/tabstrip/models/tabstrip-tab.component.js +0 -88
- package/dist/es/tabstrip/rendering/tab.component.js +0 -131
- package/dist/es/tabstrip/scrollable-button.component.js +0 -131
- package/dist/es/tabstrip/tabstrip-scroll.service.js +0 -226
- package/dist/es/tabstrip/tabstrip.component.js +0 -529
- package/dist/es/tabstrip/tabstrip.service.js +0 -158
- package/dist/es/tabstrip/util.js +0 -111
- package/dist/es/tabstrip.module.js +0 -51
- package/dist/es/tilelayout/constants.js +0 -70
- package/dist/es/tilelayout/dragging-service.js +0 -430
- package/dist/es/tilelayout/preventable-event.js +0 -29
- package/dist/es/tilelayout/reorder-event.js +0 -39
- package/dist/es/tilelayout/resize-event.js +0 -35
- package/dist/es/tilelayout/tilelayout-item-body.component.js +0 -32
- package/dist/es/tilelayout/tilelayout-item-header.component.js +0 -55
- package/dist/es/tilelayout/tilelayout-item.component.js +0 -198
- package/dist/es/tilelayout/tilelayout-resize-handle.directive.js +0 -61
- package/dist/es/tilelayout/tilelayout.component.js +0 -344
- package/dist/es/tilelayout/util.js +0 -88
- package/dist/es/tilelayout.module.js +0 -43
- package/dist/es2015/avatar/models/fill.js +0 -4
- package/dist/es2015/avatar/models/models.js +0 -4
- package/dist/es2015/avatar/models/size.js +0 -4
- package/dist/es2015/avatar/models/theme-color.js +0 -4
- package/dist/es2015/avatar.module.js +0 -28
- package/dist/es2015/card/card-actions.component.js +0 -146
- package/dist/es2015/card/card-body.component.js +0 -30
- package/dist/es2015/card/card-footer.component.js +0 -30
- package/dist/es2015/card/card-header.component.js +0 -30
- package/dist/es2015/card/card.component.js +0 -101
- package/dist/es2015/card/directives/card-media.directive.js +0 -27
- package/dist/es2015/card/directives/card-separator.directive.js +0 -60
- package/dist/es2015/card/directives/card-subtitle.directive.js +0 -27
- package/dist/es2015/card/directives/card-title.directive.js +0 -27
- package/dist/es2015/card/models/actions-layout.js +0 -4
- package/dist/es2015/card.module.d.ts +0 -10
- package/dist/es2015/common/direction.js +0 -4
- package/dist/es2015/common/orientation.js +0 -4
- package/dist/es2015/common/preventable-event.d.ts +0 -28
- package/dist/es2015/common/preventable-event.js +0 -34
- package/dist/es2015/common/styling-classes.js +0 -4
- package/dist/es2015/drawer/drawer-container.component.js +0 -109
- package/dist/es2015/drawer/drawer-content.component.js +0 -29
- package/dist/es2015/drawer/item.component.js +0 -121
- package/dist/es2015/drawer/models/drawer-animation.interface.js +0 -4
- package/dist/es2015/drawer/models/drawer-item.interface.js +0 -4
- package/dist/es2015/drawer/models/mode.js +0 -4
- package/dist/es2015/drawer/models/position.js +0 -4
- package/dist/es2015/drawer/template-directives/drawer-template.directive.js +0 -26
- package/dist/es2015/drawer/template-directives/footer-template.directive.js +0 -24
- package/dist/es2015/drawer/template-directives/header-template.directive.js +0 -24
- package/dist/es2015/drawer/template-directives/item-template.directive.js +0 -24
- package/dist/es2015/drawer/template-directives.js +0 -8
- package/dist/es2015/drawer/types.js +0 -4
- package/dist/es2015/drawer.module.d.ts +0 -10
- package/dist/es2015/expansionpanel/expansionpanel-title.directive.js +0 -25
- package/dist/es2015/expansionpanel.module.d.ts +0 -10
- package/dist/es2015/expansionpanel.module.js +0 -31
- package/dist/es2015/gridlayout.module.d.ts +0 -10
- package/dist/es2015/gridlayout.module.js +0 -30
- package/dist/es2015/index.d.ts +0 -29
- package/dist/es2015/index.js +0 -29
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/layouts/gridlayout-item.component.js +0 -53
- package/dist/es2015/layouts/models/gridlayout-gap-settings.js +0 -4
- package/dist/es2015/layouts/models/gridlayout-row-col-size.js +0 -4
- package/dist/es2015/layouts/models/layout-align-settings.js +0 -4
- package/dist/es2015/layouts/models/layout-horizontal-align.js +0 -4
- package/dist/es2015/layouts/models/layout-vertical-align.js +0 -4
- package/dist/es2015/layouts/models.js +0 -4
- package/dist/es2015/main.js +0 -72
- package/dist/es2015/panelbar/panelbar-content.directive.js +0 -22
- package/dist/es2015/panelbar/panelbar-expand-mode.js +0 -30
- package/dist/es2015/panelbar/panelbar-item-model.js +0 -4
- package/dist/es2015/panelbar/panelbar-item-template.directive.js +0 -22
- package/dist/es2015/panelbar.module.d.ts +0 -17
- package/dist/es2015/splitter.module.d.ts +0 -14
- package/dist/es2015/stacklayout.module.js +0 -28
- package/dist/es2015/stepper/list.component.js +0 -161
- package/dist/es2015/stepper/localization/custom-messages.component.js +0 -36
- package/dist/es2015/stepper/localization/localized-messages.directive.js +0 -33
- package/dist/es2015/stepper/localization/messages.js +0 -16
- package/dist/es2015/stepper/models/orientation.js +0 -4
- package/dist/es2015/stepper/models/step-predicate.js +0 -4
- package/dist/es2015/stepper/models/step-type.js +0 -4
- package/dist/es2015/stepper/models/stepper-step.interface.js +0 -4
- package/dist/es2015/stepper/template-directives/indicator-template.directive.js +0 -24
- package/dist/es2015/stepper/template-directives/label-template.directive.js +0 -24
- package/dist/es2015/stepper/template-directives/step-template.directive.js +0 -24
- package/dist/es2015/stepper/template-directives.js +0 -7
- package/dist/es2015/stepper/types.js +0 -4
- package/dist/es2015/stepper.module.d.ts +0 -10
- package/dist/es2015/tabstrip/events.js +0 -6
- package/dist/es2015/tabstrip/localization/custom-messages.component.js +0 -36
- package/dist/es2015/tabstrip/localization/localized-messages.directive.js +0 -31
- package/dist/es2015/tabstrip/localization/messages.js +0 -16
- package/dist/es2015/tabstrip/models/button-state-change.js +0 -4
- package/dist/es2015/tabstrip/models/scroll-buttons-visibility.js +0 -4
- package/dist/es2015/tabstrip/models/tab-alignment.js +0 -4
- package/dist/es2015/tabstrip/models/tab-position.js +0 -4
- package/dist/es2015/tabstrip/models/tabstrip-tab.component.js +0 -82
- package/dist/es2015/tabstrip/rendering/tab.component.d.ts +0 -28
- package/dist/es2015/tabstrip/rendering/tab.component.js +0 -116
- package/dist/es2015/tabstrip/scrollable-button.component.d.ts +0 -29
- package/dist/es2015/tabstrip/scrollable-button.component.js +0 -110
- package/dist/es2015/tabstrip.module.d.ts +0 -16
- package/dist/es2015/tilelayout/models/dragging-config.interface.js +0 -4
- package/dist/es2015/tilelayout/models/flowmode.type.js +0 -4
- package/dist/es2015/tilelayout/models/gap.interface.js +0 -4
- package/dist/es2015/tilelayout/preventable-event.d.ts +0 -21
- package/dist/es2015/tilelayout/preventable-event.js +0 -27
- package/dist/es2015/tilelayout/tilelayout-item-body.component.js +0 -36
- package/dist/es2015/tilelayout/tilelayout-item-header.component.js +0 -48
- package/dist/es2015/tilelayout.module.d.ts +0 -16
- package/dist/fesm5/index.js +0 -9179
- package/dist/npm/avatar/avatar.component.js +0 -359
- package/dist/npm/avatar/models/fill.js +0 -6
- package/dist/npm/avatar/models/models.js +0 -6
- package/dist/npm/avatar/models/rounded.js +0 -6
- package/dist/npm/avatar/models/shape.js +0 -6
- package/dist/npm/avatar/models/size.js +0 -6
- package/dist/npm/avatar/models/theme-color.js +0 -6
- package/dist/npm/avatar.module.js +0 -31
- package/dist/npm/card/card-actions.component.js +0 -153
- package/dist/npm/card/card-body.component.js +0 -28
- package/dist/npm/card/card-footer.component.js +0 -28
- package/dist/npm/card/card-header.component.js +0 -28
- package/dist/npm/card/card.component.js +0 -116
- package/dist/npm/card/directives/card-media.directive.js +0 -27
- package/dist/npm/card/directives/card-separator.directive.js +0 -68
- package/dist/npm/card/directives/card-subtitle.directive.js +0 -27
- package/dist/npm/card/directives/card-title.directive.js +0 -27
- package/dist/npm/card/models/actions-layout.js +0 -6
- package/dist/npm/card/models/card-action.js +0 -15
- package/dist/npm/card.module.js +0 -49
- package/dist/npm/common/direction.js +0 -6
- package/dist/npm/common/dom-queries.js +0 -55
- package/dist/npm/common/orientation.js +0 -6
- package/dist/npm/common/preventable-event.js +0 -38
- package/dist/npm/common/styling-classes.js +0 -6
- package/dist/npm/common/util.js +0 -93
- package/dist/npm/drawer/animations.js +0 -150
- package/dist/npm/drawer/drawer-container.component.js +0 -135
- package/dist/npm/drawer/drawer-content.component.js +0 -30
- package/dist/npm/drawer/drawer.component.js +0 -407
- package/dist/npm/drawer/drawer.service.js +0 -47
- package/dist/npm/drawer/events/select-event.js +0 -19
- package/dist/npm/drawer/item.component.js +0 -125
- package/dist/npm/drawer/list.component.js +0 -121
- package/dist/npm/drawer/models/constants.js +0 -10
- package/dist/npm/drawer/models/drawer-animation.interface.js +0 -6
- package/dist/npm/drawer/models/drawer-item.interface.js +0 -6
- package/dist/npm/drawer/models/mode.js +0 -6
- package/dist/npm/drawer/models/position.js +0 -6
- package/dist/npm/drawer/template-directives/drawer-template.directive.js +0 -29
- package/dist/npm/drawer/template-directives/footer-template.directive.js +0 -27
- package/dist/npm/drawer/template-directives/header-template.directive.js +0 -27
- package/dist/npm/drawer/template-directives/item-template.directive.js +0 -27
- package/dist/npm/drawer/template-directives.js +0 -14
- package/dist/npm/drawer/types.js +0 -6
- package/dist/npm/drawer/util.js +0 -18
- package/dist/npm/drawer.module.js +0 -47
- package/dist/npm/expansionpanel/animations.js +0 -27
- package/dist/npm/expansionpanel/events/action-event.js +0 -19
- package/dist/npm/expansionpanel/expansionpanel-title.directive.js +0 -28
- package/dist/npm/expansionpanel/expansionpanel.component.js +0 -443
- package/dist/npm/expansionpanel.module.js +0 -34
- package/dist/npm/gridlayout.module.js +0 -33
- package/dist/npm/index.js +0 -53
- package/dist/npm/layout.module.js +0 -73
- package/dist/npm/layouts/grid-layout.component.js +0 -157
- package/dist/npm/layouts/gridlayout-item.component.js +0 -54
- package/dist/npm/layouts/models/gridlayout-gap-settings.js +0 -6
- package/dist/npm/layouts/models/gridlayout-row-col-size.js +0 -6
- package/dist/npm/layouts/models/layout-align-settings.js +0 -6
- package/dist/npm/layouts/models/layout-horizontal-align.js +0 -6
- package/dist/npm/layouts/models/layout-vertical-align.js +0 -6
- package/dist/npm/layouts/models.js +0 -6
- package/dist/npm/layouts/stack-layout.component.js +0 -173
- package/dist/npm/layouts/util.js +0 -104
- package/dist/npm/main.js +0 -132
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/panelbar/panelbar-content.directive.js +0 -25
- package/dist/npm/panelbar/panelbar-expand-mode.js +0 -32
- package/dist/npm/panelbar/panelbar-item-model.js +0 -6
- package/dist/npm/panelbar/panelbar-item-template.directive.js +0 -25
- package/dist/npm/panelbar/panelbar-item-title.directive.js +0 -48
- package/dist/npm/panelbar/panelbar-item.component.js +0 -457
- package/dist/npm/panelbar/panelbar.component.js +0 -559
- package/dist/npm/panelbar/panelbar.service.js +0 -45
- package/dist/npm/panelbar.module.js +0 -46
- package/dist/npm/splitter/splitter-bar.component.js +0 -287
- package/dist/npm/splitter/splitter-pane.component.js +0 -272
- package/dist/npm/splitter/splitter.component.js +0 -228
- package/dist/npm/splitter/splitter.service.js +0 -155
- package/dist/npm/splitter.module.js +0 -44
- package/dist/npm/stacklayout.module.js +0 -31
- package/dist/npm/stepper/events/activate-event.js +0 -19
- package/dist/npm/stepper/list.component.js +0 -146
- package/dist/npm/stepper/localization/custom-messages.component.js +0 -46
- package/dist/npm/stepper/localization/localized-messages.directive.js +0 -37
- package/dist/npm/stepper/localization/messages.js +0 -24
- package/dist/npm/stepper/models/constants.js +0 -10
- package/dist/npm/stepper/models/orientation.js +0 -6
- package/dist/npm/stepper/models/step-predicate.js +0 -6
- package/dist/npm/stepper/models/step-type.js +0 -6
- package/dist/npm/stepper/models/stepper-step.interface.js +0 -6
- package/dist/npm/stepper/step.component.js +0 -274
- package/dist/npm/stepper/stepper.component.js +0 -330
- package/dist/npm/stepper/stepper.service.js +0 -163
- package/dist/npm/stepper/template-directives/indicator-template.directive.js +0 -27
- package/dist/npm/stepper/template-directives/label-template.directive.js +0 -27
- package/dist/npm/stepper/template-directives/step-template.directive.js +0 -27
- package/dist/npm/stepper/template-directives.js +0 -12
- package/dist/npm/stepper/types.js +0 -6
- package/dist/npm/stepper.module.js +0 -49
- package/dist/npm/tabstrip/constants.js +0 -35
- package/dist/npm/tabstrip/directives/tab-content.directive.js +0 -51
- package/dist/npm/tabstrip/directives/tab-title.directive.js +0 -56
- package/dist/npm/tabstrip/events/select-event.js +0 -28
- package/dist/npm/tabstrip/events/tabclose-event.js +0 -24
- package/dist/npm/tabstrip/events/tabscroll-event.js +0 -21
- package/dist/npm/tabstrip/events.js +0 -10
- package/dist/npm/tabstrip/localization/custom-messages.component.js +0 -46
- package/dist/npm/tabstrip/localization/localized-messages.directive.js +0 -37
- package/dist/npm/tabstrip/localization/messages.js +0 -24
- package/dist/npm/tabstrip/models/button-state-change.js +0 -6
- package/dist/npm/tabstrip/models/scroll-buttons-visibility.js +0 -6
- package/dist/npm/tabstrip/models/scrollable-settings.js +0 -30
- package/dist/npm/tabstrip/models/tab-alignment.js +0 -6
- package/dist/npm/tabstrip/models/tab-position.js +0 -6
- package/dist/npm/tabstrip/models/tabstrip-tab.component.js +0 -90
- package/dist/npm/tabstrip/rendering/tab.component.js +0 -133
- package/dist/npm/tabstrip/scrollable-button.component.js +0 -133
- package/dist/npm/tabstrip/tabstrip-scroll.service.js +0 -228
- package/dist/npm/tabstrip/tabstrip.component.js +0 -531
- package/dist/npm/tabstrip/tabstrip.service.js +0 -160
- package/dist/npm/tabstrip/util.js +0 -113
- package/dist/npm/tabstrip.module.js +0 -53
- package/dist/npm/tilelayout/constants.js +0 -72
- package/dist/npm/tilelayout/dragging-service.js +0 -432
- package/dist/npm/tilelayout/models/dragging-config.interface.js +0 -6
- package/dist/npm/tilelayout/models/flowmode.type.js +0 -6
- package/dist/npm/tilelayout/models/gap.interface.js +0 -6
- package/dist/npm/tilelayout/preventable-event.js +0 -31
- package/dist/npm/tilelayout/reorder-event.js +0 -41
- package/dist/npm/tilelayout/resize-event.js +0 -37
- package/dist/npm/tilelayout/tilelayout-item-body.component.js +0 -34
- package/dist/npm/tilelayout/tilelayout-item-header.component.js +0 -57
- package/dist/npm/tilelayout/tilelayout-item.component.js +0 -200
- package/dist/npm/tilelayout/tilelayout-resize-handle.directive.js +0 -63
- package/dist/npm/tilelayout/tilelayout.component.js +0 -346
- package/dist/npm/tilelayout/util.js +0 -90
- package/dist/npm/tilelayout.module.js +0 -45
- package/dist/systemjs/kendo-angular-layout.js +0 -5
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, HostBinding, Input, isDevMode, Renderer2, ElementRef } from '@angular/core';
|
|
7
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
|
-
import { getStylingClasses, mapShapeToRounded } from '../common/util';
|
|
9
|
-
import { packageMetadata } from '../package-metadata';
|
|
10
|
-
/**
|
|
11
|
-
* Displays images, icons or initials representing people or other entities.
|
|
12
|
-
*/
|
|
13
|
-
var AvatarComponent = /** @class */ (function () {
|
|
14
|
-
function AvatarComponent(renderer, element) {
|
|
15
|
-
this.renderer = renderer;
|
|
16
|
-
this.element = element;
|
|
17
|
-
this.hostClass = true;
|
|
18
|
-
/**
|
|
19
|
-
* Sets a border to the avatar.
|
|
20
|
-
*/
|
|
21
|
-
this.border = false;
|
|
22
|
-
this._themeColor = 'primary';
|
|
23
|
-
this._size = 'medium';
|
|
24
|
-
this._fillMode = 'solid';
|
|
25
|
-
this._rounded = 'full';
|
|
26
|
-
validatePackage(packageMetadata);
|
|
27
|
-
}
|
|
28
|
-
Object.defineProperty(AvatarComponent.prototype, "borderClass", {
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
get: function () {
|
|
33
|
-
return this.border;
|
|
34
|
-
},
|
|
35
|
-
enumerable: true,
|
|
36
|
-
configurable: true
|
|
37
|
-
});
|
|
38
|
-
Object.defineProperty(AvatarComponent.prototype, "flexBasis", {
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
get: function () {
|
|
43
|
-
return this.width;
|
|
44
|
-
},
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(AvatarComponent.prototype, "shape", {
|
|
49
|
-
/**
|
|
50
|
-
* Sets the shape for the avatar.
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
set: function (shape) {
|
|
54
|
-
this.rounded = mapShapeToRounded(shape);
|
|
55
|
-
},
|
|
56
|
-
enumerable: true,
|
|
57
|
-
configurable: true
|
|
58
|
-
});
|
|
59
|
-
Object.defineProperty(AvatarComponent.prototype, "size", {
|
|
60
|
-
get: function () {
|
|
61
|
-
return this._size;
|
|
62
|
-
},
|
|
63
|
-
/**
|
|
64
|
-
* Specifies the size of the avatar
|
|
65
|
-
* ([see example]({% slug appearance_avatar %}#toc-size)).
|
|
66
|
-
*
|
|
67
|
-
* The possible values are:
|
|
68
|
-
* * `small`
|
|
69
|
-
* * `medium` (Default)
|
|
70
|
-
* * `large`
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
set: function (size) {
|
|
74
|
-
if (size !== this._size) {
|
|
75
|
-
this.handleClasses('size', size);
|
|
76
|
-
this._size = size === null ? null : size || 'medium';
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
enumerable: true,
|
|
80
|
-
configurable: true
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(AvatarComponent.prototype, "rounded", {
|
|
83
|
-
get: function () {
|
|
84
|
-
return this._rounded;
|
|
85
|
-
},
|
|
86
|
-
/**
|
|
87
|
-
* Specifies the rounded styling of the avatar
|
|
88
|
-
* ([see example]({% slug appearance_avatar %}#toc-rounded-corners)).
|
|
89
|
-
*
|
|
90
|
-
* The possible values are:
|
|
91
|
-
* * `small`
|
|
92
|
-
* * `medium`
|
|
93
|
-
* * `large`
|
|
94
|
-
* * `full` (Default)
|
|
95
|
-
* * null
|
|
96
|
-
*
|
|
97
|
-
*/
|
|
98
|
-
set: function (rounded) {
|
|
99
|
-
if (rounded !== this._rounded) {
|
|
100
|
-
this.handleClasses('rounded', rounded);
|
|
101
|
-
this._rounded = rounded === null ? null : rounded || 'full';
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
enumerable: true,
|
|
105
|
-
configurable: true
|
|
106
|
-
});
|
|
107
|
-
Object.defineProperty(AvatarComponent.prototype, "themeColor", {
|
|
108
|
-
get: function () {
|
|
109
|
-
return this._themeColor;
|
|
110
|
-
},
|
|
111
|
-
/**
|
|
112
|
-
* Specifies the theme color of the avatar.
|
|
113
|
-
* The theme color will be applied as background and border color, while also amending the text color accordingly.
|
|
114
|
-
*
|
|
115
|
-
* The possible values are:
|
|
116
|
-
* * `base`— Applies the base coloring value.
|
|
117
|
-
* * `primary` (Default)—Applies coloring based on primary theme color.
|
|
118
|
-
* * `secondary`—Applies coloring based on secondary theme color.
|
|
119
|
-
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
120
|
-
* * `info`—Applies coloring based on info theme color.
|
|
121
|
-
* * `success`— Applies coloring based on success theme color.
|
|
122
|
-
* * `warning`— Applies coloring based on warning theme color.
|
|
123
|
-
* * `error`— Applies coloring based on error theme color.
|
|
124
|
-
* * `dark`— Applies coloring based on dark theme color.
|
|
125
|
-
* * `light`— Applies coloring based on light theme color.
|
|
126
|
-
* * `inverse`— Applies coloring based on inverted theme color.
|
|
127
|
-
*/
|
|
128
|
-
set: function (themeColor) {
|
|
129
|
-
if (themeColor !== this._themeColor) {
|
|
130
|
-
this._themeColor = themeColor === null ? null : (themeColor || 'primary');
|
|
131
|
-
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
enumerable: true,
|
|
135
|
-
configurable: true
|
|
136
|
-
});
|
|
137
|
-
Object.defineProperty(AvatarComponent.prototype, "fillMode", {
|
|
138
|
-
get: function () {
|
|
139
|
-
return this._fillMode;
|
|
140
|
-
},
|
|
141
|
-
/**
|
|
142
|
-
* Specifies the appearance fill style of the avatar.
|
|
143
|
-
*
|
|
144
|
-
* The possible values are:
|
|
145
|
-
* * `solid` (Default)
|
|
146
|
-
* * `outline`
|
|
147
|
-
* * null
|
|
148
|
-
*
|
|
149
|
-
*/
|
|
150
|
-
set: function (fillMode) {
|
|
151
|
-
if (fillMode !== this.fillMode) {
|
|
152
|
-
this._fillMode = fillMode === null ? null : (fillMode || 'solid');
|
|
153
|
-
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
enumerable: true,
|
|
157
|
-
configurable: true
|
|
158
|
-
});
|
|
159
|
-
Object.defineProperty(AvatarComponent.prototype, "fill", {
|
|
160
|
-
/**
|
|
161
|
-
* Specifies the appearance fill style of the avatar.
|
|
162
|
-
* Deprecated, left for backward compatibility.
|
|
163
|
-
*
|
|
164
|
-
* @hidden
|
|
165
|
-
*/
|
|
166
|
-
set: function (fillMode) {
|
|
167
|
-
this.fillMode = fillMode;
|
|
168
|
-
},
|
|
169
|
-
enumerable: true,
|
|
170
|
-
configurable: true
|
|
171
|
-
});
|
|
172
|
-
Object.defineProperty(AvatarComponent.prototype, "avatarWidth", {
|
|
173
|
-
/**
|
|
174
|
-
* @hidden
|
|
175
|
-
*/
|
|
176
|
-
get: function () {
|
|
177
|
-
return this.width;
|
|
178
|
-
},
|
|
179
|
-
enumerable: true,
|
|
180
|
-
configurable: true
|
|
181
|
-
});
|
|
182
|
-
Object.defineProperty(AvatarComponent.prototype, "avatarHeight", {
|
|
183
|
-
/**
|
|
184
|
-
* @hidden
|
|
185
|
-
*/
|
|
186
|
-
get: function () {
|
|
187
|
-
return this.height;
|
|
188
|
-
},
|
|
189
|
-
enumerable: true,
|
|
190
|
-
configurable: true
|
|
191
|
-
});
|
|
192
|
-
AvatarComponent.prototype.ngOnInit = function () {
|
|
193
|
-
this.verifyProperties();
|
|
194
|
-
};
|
|
195
|
-
AvatarComponent.prototype.ngAfterViewInit = function () {
|
|
196
|
-
var _this = this;
|
|
197
|
-
var stylingInputs = ['size', 'rounded'];
|
|
198
|
-
stylingInputs.forEach(function (input) {
|
|
199
|
-
_this.handleClasses(input, _this[input]);
|
|
200
|
-
});
|
|
201
|
-
this.handleFillModeAndThemeColorClasses(this.fillMode, this.themeColor);
|
|
202
|
-
};
|
|
203
|
-
/**
|
|
204
|
-
* @hidden
|
|
205
|
-
*/
|
|
206
|
-
AvatarComponent.prototype.iconClasses = function () {
|
|
207
|
-
if (this.icon) {
|
|
208
|
-
return "k-icon k-i-" + this.icon;
|
|
209
|
-
}
|
|
210
|
-
if (this.iconClass) {
|
|
211
|
-
return "" + this.iconClass;
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
Object.defineProperty(AvatarComponent.prototype, "customAvatar", {
|
|
215
|
-
/**
|
|
216
|
-
* @hidden
|
|
217
|
-
*/
|
|
218
|
-
get: function () {
|
|
219
|
-
return !(this.imageSrc || this.initials || this.icon || this.iconClass);
|
|
220
|
-
},
|
|
221
|
-
enumerable: true,
|
|
222
|
-
configurable: true
|
|
223
|
-
});
|
|
224
|
-
AvatarComponent.prototype.verifyProperties = function () {
|
|
225
|
-
if (!isDevMode()) {
|
|
226
|
-
return;
|
|
227
|
-
}
|
|
228
|
-
var inputs = [this.icon || this.iconClass, this.imageSrc, this.initials];
|
|
229
|
-
var inputsLength = inputs.filter(function (value) { return value; }).length;
|
|
230
|
-
if (inputsLength > 1) {
|
|
231
|
-
throw new Error("\n Invalid property configuration given.\n The kendo-avatar component can accept only one of:\n icon, imageSrc or initials properties.\n ");
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
AvatarComponent.prototype.handleClasses = function (styleType, value) {
|
|
235
|
-
var elem = this.element.nativeElement;
|
|
236
|
-
var classes = getStylingClasses('avatar', styleType, this[styleType], value);
|
|
237
|
-
if (classes.toRemove) {
|
|
238
|
-
this.renderer.removeClass(elem, classes.toRemove);
|
|
239
|
-
}
|
|
240
|
-
if (classes.toAdd) {
|
|
241
|
-
this.renderer.addClass(elem, classes.toAdd);
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
AvatarComponent.prototype.handleFillModeAndThemeColorClasses = function (fill, themeColor) {
|
|
245
|
-
var _this = this;
|
|
246
|
-
var wrapperElement = this.element.nativeElement;
|
|
247
|
-
// remove existing fill and theme color classes
|
|
248
|
-
var currentClasses = Array.from(wrapperElement.classList);
|
|
249
|
-
var classesToRemove = currentClasses.filter(function (cl) {
|
|
250
|
-
return cl.startsWith('k-avatar-solid') || cl.startsWith('k-avatar-outline');
|
|
251
|
-
});
|
|
252
|
-
classesToRemove.forEach((function (cl) { return _this.renderer.removeClass(wrapperElement, cl); }));
|
|
253
|
-
// add fill if needed
|
|
254
|
-
if (fill !== null) {
|
|
255
|
-
this.renderer.addClass(wrapperElement, "k-avatar-" + fill);
|
|
256
|
-
}
|
|
257
|
-
// add theme color class if fill and theme color
|
|
258
|
-
if (fill !== null && themeColor !== null) {
|
|
259
|
-
this.renderer.addClass(wrapperElement, "k-avatar-" + fill + "-" + themeColor);
|
|
260
|
-
}
|
|
261
|
-
};
|
|
262
|
-
tslib_1.__decorate([
|
|
263
|
-
HostBinding('class.k-avatar'),
|
|
264
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
265
|
-
], AvatarComponent.prototype, "hostClass", void 0);
|
|
266
|
-
tslib_1.__decorate([
|
|
267
|
-
HostBinding('class.k-avatar-bordered'),
|
|
268
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
269
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
270
|
-
], AvatarComponent.prototype, "borderClass", null);
|
|
271
|
-
tslib_1.__decorate([
|
|
272
|
-
HostBinding('style.flexBasis'),
|
|
273
|
-
tslib_1.__metadata("design:type", String),
|
|
274
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
275
|
-
], AvatarComponent.prototype, "flexBasis", null);
|
|
276
|
-
tslib_1.__decorate([
|
|
277
|
-
Input(),
|
|
278
|
-
tslib_1.__metadata("design:type", String),
|
|
279
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
280
|
-
], AvatarComponent.prototype, "shape", null);
|
|
281
|
-
tslib_1.__decorate([
|
|
282
|
-
Input(),
|
|
283
|
-
tslib_1.__metadata("design:type", String),
|
|
284
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
285
|
-
], AvatarComponent.prototype, "size", null);
|
|
286
|
-
tslib_1.__decorate([
|
|
287
|
-
Input(),
|
|
288
|
-
tslib_1.__metadata("design:type", String),
|
|
289
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
290
|
-
], AvatarComponent.prototype, "rounded", null);
|
|
291
|
-
tslib_1.__decorate([
|
|
292
|
-
Input(),
|
|
293
|
-
tslib_1.__metadata("design:type", String),
|
|
294
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
295
|
-
], AvatarComponent.prototype, "themeColor", null);
|
|
296
|
-
tslib_1.__decorate([
|
|
297
|
-
Input(),
|
|
298
|
-
tslib_1.__metadata("design:type", String),
|
|
299
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
300
|
-
], AvatarComponent.prototype, "fillMode", null);
|
|
301
|
-
tslib_1.__decorate([
|
|
302
|
-
Input(),
|
|
303
|
-
tslib_1.__metadata("design:type", String),
|
|
304
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
305
|
-
], AvatarComponent.prototype, "fill", null);
|
|
306
|
-
tslib_1.__decorate([
|
|
307
|
-
Input(),
|
|
308
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
309
|
-
], AvatarComponent.prototype, "border", void 0);
|
|
310
|
-
tslib_1.__decorate([
|
|
311
|
-
Input(),
|
|
312
|
-
tslib_1.__metadata("design:type", String)
|
|
313
|
-
], AvatarComponent.prototype, "iconClass", void 0);
|
|
314
|
-
tslib_1.__decorate([
|
|
315
|
-
Input(),
|
|
316
|
-
tslib_1.__metadata("design:type", String)
|
|
317
|
-
], AvatarComponent.prototype, "width", void 0);
|
|
318
|
-
tslib_1.__decorate([
|
|
319
|
-
HostBinding('style.width'),
|
|
320
|
-
tslib_1.__metadata("design:type", String),
|
|
321
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
322
|
-
], AvatarComponent.prototype, "avatarWidth", null);
|
|
323
|
-
tslib_1.__decorate([
|
|
324
|
-
Input(),
|
|
325
|
-
tslib_1.__metadata("design:type", String)
|
|
326
|
-
], AvatarComponent.prototype, "height", void 0);
|
|
327
|
-
tslib_1.__decorate([
|
|
328
|
-
HostBinding('style.height'),
|
|
329
|
-
tslib_1.__metadata("design:type", String),
|
|
330
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
331
|
-
], AvatarComponent.prototype, "avatarHeight", null);
|
|
332
|
-
tslib_1.__decorate([
|
|
333
|
-
Input(),
|
|
334
|
-
tslib_1.__metadata("design:type", Object)
|
|
335
|
-
], AvatarComponent.prototype, "cssStyle", void 0);
|
|
336
|
-
tslib_1.__decorate([
|
|
337
|
-
Input(),
|
|
338
|
-
tslib_1.__metadata("design:type", String)
|
|
339
|
-
], AvatarComponent.prototype, "initials", void 0);
|
|
340
|
-
tslib_1.__decorate([
|
|
341
|
-
Input(),
|
|
342
|
-
tslib_1.__metadata("design:type", String)
|
|
343
|
-
], AvatarComponent.prototype, "icon", void 0);
|
|
344
|
-
tslib_1.__decorate([
|
|
345
|
-
Input(),
|
|
346
|
-
tslib_1.__metadata("design:type", String)
|
|
347
|
-
], AvatarComponent.prototype, "imageSrc", void 0);
|
|
348
|
-
AvatarComponent = tslib_1.__decorate([
|
|
349
|
-
Component({
|
|
350
|
-
selector: 'kendo-avatar',
|
|
351
|
-
template: "\n <ng-content *ngIf=\"customAvatar\"></ng-content>\n\n <ng-container *ngIf=\"imageSrc\">\n <span class=\"k-avatar-image\">\n <img src=\"{{imageSrc}}\" [ngStyle]=\"cssStyle\" />\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"initials\">\n <span class=\"k-avatar-text\" [ngStyle]=\"cssStyle\">{{ initials.substring(0, 2) }}</span>\n </ng-container>\n\n <ng-container *ngIf=\"icon || iconClass\">\n <span class=\"k-avatar-icon\" [ngStyle]=\"cssStyle\" [ngClass]=\"iconClasses()\"></span>\n </ng-container>\n "
|
|
352
|
-
}),
|
|
353
|
-
tslib_1.__metadata("design:paramtypes", [Renderer2, ElementRef])
|
|
354
|
-
], AvatarComponent);
|
|
355
|
-
return AvatarComponent;
|
|
356
|
-
}());
|
|
357
|
-
export { AvatarComponent };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
package/dist/es/avatar.module.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import { AvatarComponent } from './avatar/avatar.component';
|
|
9
|
-
var exportedModules = [
|
|
10
|
-
AvatarComponent
|
|
11
|
-
];
|
|
12
|
-
var declarations = exportedModules.slice();
|
|
13
|
-
/**
|
|
14
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
15
|
-
* definition for the Avatar component.
|
|
16
|
-
*/
|
|
17
|
-
var AvatarModule = /** @class */ (function () {
|
|
18
|
-
function AvatarModule() {
|
|
19
|
-
}
|
|
20
|
-
AvatarModule = tslib_1.__decorate([
|
|
21
|
-
NgModule({
|
|
22
|
-
declarations: [declarations],
|
|
23
|
-
exports: [exportedModules],
|
|
24
|
-
imports: [CommonModule]
|
|
25
|
-
})
|
|
26
|
-
], AvatarModule);
|
|
27
|
-
return AvatarModule;
|
|
28
|
-
}());
|
|
29
|
-
export { AvatarModule };
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, EventEmitter, HostBinding, Input, Output, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Specifies the action buttons of the Card.
|
|
9
|
-
* * ([see example]({% slug actions_card %})).
|
|
10
|
-
*/
|
|
11
|
-
var CardActionsComponent = /** @class */ (function () {
|
|
12
|
-
function CardActionsComponent() {
|
|
13
|
-
this.hostClass = true;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the layout of the Card action buttons.
|
|
16
|
-
*
|
|
17
|
-
* * The possible values are:
|
|
18
|
-
* * (Default) `horizontal`
|
|
19
|
-
* * `vertical`
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
this.orientation = 'horizontal';
|
|
23
|
-
/**
|
|
24
|
-
* Specifies the layout of the Card action buttons.
|
|
25
|
-
*
|
|
26
|
-
* The possible values are:
|
|
27
|
-
* * (Default) `start`
|
|
28
|
-
* * `center`
|
|
29
|
-
* * `end`
|
|
30
|
-
* * `stretched`
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
this.layout = 'start';
|
|
34
|
-
/**
|
|
35
|
-
* Fires when the user clicks an action button.
|
|
36
|
-
*/
|
|
37
|
-
this.action = new EventEmitter();
|
|
38
|
-
}
|
|
39
|
-
Object.defineProperty(CardActionsComponent.prototype, "stretchedClass", {
|
|
40
|
-
get: function () {
|
|
41
|
-
return this.layout === 'stretched';
|
|
42
|
-
},
|
|
43
|
-
enumerable: true,
|
|
44
|
-
configurable: true
|
|
45
|
-
});
|
|
46
|
-
Object.defineProperty(CardActionsComponent.prototype, "startClass", {
|
|
47
|
-
get: function () {
|
|
48
|
-
return this.layout === 'start';
|
|
49
|
-
},
|
|
50
|
-
enumerable: true,
|
|
51
|
-
configurable: true
|
|
52
|
-
});
|
|
53
|
-
Object.defineProperty(CardActionsComponent.prototype, "endClass", {
|
|
54
|
-
get: function () {
|
|
55
|
-
return this.layout === 'end';
|
|
56
|
-
},
|
|
57
|
-
enumerable: true,
|
|
58
|
-
configurable: true
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(CardActionsComponent.prototype, "centerClass", {
|
|
61
|
-
get: function () {
|
|
62
|
-
return this.layout === 'center';
|
|
63
|
-
},
|
|
64
|
-
enumerable: true,
|
|
65
|
-
configurable: true
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(CardActionsComponent.prototype, "verticalClass", {
|
|
68
|
-
get: function () {
|
|
69
|
-
return this.orientation === 'vertical';
|
|
70
|
-
},
|
|
71
|
-
enumerable: true,
|
|
72
|
-
configurable: true
|
|
73
|
-
});
|
|
74
|
-
Object.defineProperty(CardActionsComponent.prototype, "horizontalClass", {
|
|
75
|
-
get: function () {
|
|
76
|
-
return this.orientation === 'horizontal';
|
|
77
|
-
},
|
|
78
|
-
enumerable: true,
|
|
79
|
-
configurable: true
|
|
80
|
-
});
|
|
81
|
-
/**
|
|
82
|
-
* @hidden
|
|
83
|
-
*/
|
|
84
|
-
CardActionsComponent.prototype.onClick = function (action) {
|
|
85
|
-
this.action.emit(action);
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* @hidden
|
|
89
|
-
*/
|
|
90
|
-
CardActionsComponent.prototype.actionTemplate = function () {
|
|
91
|
-
return this.actions instanceof TemplateRef;
|
|
92
|
-
};
|
|
93
|
-
tslib_1.__decorate([
|
|
94
|
-
HostBinding('class.k-card-actions'),
|
|
95
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
96
|
-
], CardActionsComponent.prototype, "hostClass", void 0);
|
|
97
|
-
tslib_1.__decorate([
|
|
98
|
-
HostBinding('class.k-card-actions-stretched'),
|
|
99
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
100
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
101
|
-
], CardActionsComponent.prototype, "stretchedClass", null);
|
|
102
|
-
tslib_1.__decorate([
|
|
103
|
-
HostBinding('class.k-card-actions-start'),
|
|
104
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
105
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
106
|
-
], CardActionsComponent.prototype, "startClass", null);
|
|
107
|
-
tslib_1.__decorate([
|
|
108
|
-
HostBinding('class.k-card-actions-end'),
|
|
109
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
110
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
111
|
-
], CardActionsComponent.prototype, "endClass", null);
|
|
112
|
-
tslib_1.__decorate([
|
|
113
|
-
HostBinding('class.k-card-actions-center'),
|
|
114
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
115
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
116
|
-
], CardActionsComponent.prototype, "centerClass", null);
|
|
117
|
-
tslib_1.__decorate([
|
|
118
|
-
HostBinding('class.k-card-actions-vertical'),
|
|
119
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
120
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
121
|
-
], CardActionsComponent.prototype, "verticalClass", null);
|
|
122
|
-
tslib_1.__decorate([
|
|
123
|
-
HostBinding('class.k-card-actions-horizontal'),
|
|
124
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
125
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
126
|
-
], CardActionsComponent.prototype, "horizontalClass", null);
|
|
127
|
-
tslib_1.__decorate([
|
|
128
|
-
Input(),
|
|
129
|
-
tslib_1.__metadata("design:type", String)
|
|
130
|
-
], CardActionsComponent.prototype, "orientation", void 0);
|
|
131
|
-
tslib_1.__decorate([
|
|
132
|
-
Input(),
|
|
133
|
-
tslib_1.__metadata("design:type", String)
|
|
134
|
-
], CardActionsComponent.prototype, "layout", void 0);
|
|
135
|
-
tslib_1.__decorate([
|
|
136
|
-
Input(),
|
|
137
|
-
tslib_1.__metadata("design:type", Object)
|
|
138
|
-
], CardActionsComponent.prototype, "actions", void 0);
|
|
139
|
-
tslib_1.__decorate([
|
|
140
|
-
Output(),
|
|
141
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
142
|
-
], CardActionsComponent.prototype, "action", void 0);
|
|
143
|
-
CardActionsComponent = tslib_1.__decorate([
|
|
144
|
-
Component({
|
|
145
|
-
selector: 'kendo-card-actions',
|
|
146
|
-
template: "\n <ng-content *ngIf=\"!actions\"></ng-content>\n\n <ng-container *ngIf=\"!actionTemplate()\">\n <button type=\"button\"\n class=\"k-button\"\n [class.k-primary]=\"action.primary\"\n [class.k-flat]=\"action.flat\"\n (click)=\"onClick(action)\"\n *ngFor=\"let action of actions\"\n >\n {{ action.text }}\n </button>\n </ng-container>\n\n <ng-template [ngTemplateOutlet]=\"actions\" *ngIf=\"actionTemplate()\"></ng-template>\n "
|
|
147
|
-
})
|
|
148
|
-
], CardActionsComponent);
|
|
149
|
-
return CardActionsComponent;
|
|
150
|
-
}());
|
|
151
|
-
export { CardActionsComponent };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, HostBinding } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Specifies the content in the Card body.
|
|
9
|
-
*/
|
|
10
|
-
var CardBodyComponent = /** @class */ (function () {
|
|
11
|
-
function CardBodyComponent() {
|
|
12
|
-
this.hostClass = true;
|
|
13
|
-
}
|
|
14
|
-
tslib_1.__decorate([
|
|
15
|
-
HostBinding('class.k-card-body'),
|
|
16
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
17
|
-
], CardBodyComponent.prototype, "hostClass", void 0);
|
|
18
|
-
CardBodyComponent = tslib_1.__decorate([
|
|
19
|
-
Component({
|
|
20
|
-
selector: 'kendo-card-body',
|
|
21
|
-
template: "\n <ng-content></ng-content>\n "
|
|
22
|
-
})
|
|
23
|
-
], CardBodyComponent);
|
|
24
|
-
return CardBodyComponent;
|
|
25
|
-
}());
|
|
26
|
-
export { CardBodyComponent };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, HostBinding } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Specifies the content in the Card footer.
|
|
9
|
-
*/
|
|
10
|
-
var CardFooterComponent = /** @class */ (function () {
|
|
11
|
-
function CardFooterComponent() {
|
|
12
|
-
this.hostClass = true;
|
|
13
|
-
}
|
|
14
|
-
tslib_1.__decorate([
|
|
15
|
-
HostBinding('class.k-card-footer'),
|
|
16
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
17
|
-
], CardFooterComponent.prototype, "hostClass", void 0);
|
|
18
|
-
CardFooterComponent = tslib_1.__decorate([
|
|
19
|
-
Component({
|
|
20
|
-
selector: 'kendo-card-footer',
|
|
21
|
-
template: "\n <ng-content></ng-content>\n "
|
|
22
|
-
})
|
|
23
|
-
], CardFooterComponent);
|
|
24
|
-
return CardFooterComponent;
|
|
25
|
-
}());
|
|
26
|
-
export { CardFooterComponent };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, HostBinding } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Specifies the content in the Card header.
|
|
9
|
-
*/
|
|
10
|
-
var CardHeaderComponent = /** @class */ (function () {
|
|
11
|
-
function CardHeaderComponent() {
|
|
12
|
-
this.hostClass = true;
|
|
13
|
-
}
|
|
14
|
-
tslib_1.__decorate([
|
|
15
|
-
HostBinding('class.k-card-header'),
|
|
16
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
17
|
-
], CardHeaderComponent.prototype, "hostClass", void 0);
|
|
18
|
-
CardHeaderComponent = tslib_1.__decorate([
|
|
19
|
-
Component({
|
|
20
|
-
selector: 'kendo-card-header',
|
|
21
|
-
template: "\n <ng-content></ng-content>\n "
|
|
22
|
-
})
|
|
23
|
-
], CardHeaderComponent);
|
|
24
|
-
return CardHeaderComponent;
|
|
25
|
-
}());
|
|
26
|
-
export { CardHeaderComponent };
|