@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,161 +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 { Injectable, NgZone, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
7
|
-
import { StepperActivateEvent } from './events/activate-event';
|
|
8
|
-
import { hasObservers } from '@progress/kendo-angular-common';
|
|
9
|
-
import { Keys } from '@progress/kendo-angular-common';
|
|
10
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
|
-
import { isPresent } from '../common/util';
|
|
12
|
-
var DEFAULT_CURRENT_STEP = 0;
|
|
13
|
-
var handlers = {};
|
|
14
|
-
handlers[Keys.ArrowLeft] = 'left';
|
|
15
|
-
handlers[Keys.ArrowRight] = 'right';
|
|
16
|
-
handlers[Keys.ArrowUp] = 'up';
|
|
17
|
-
handlers[Keys.ArrowDown] = 'down';
|
|
18
|
-
handlers[Keys.Home] = 'home';
|
|
19
|
-
handlers[Keys.End] = 'end';
|
|
20
|
-
handlers[Keys.Enter] = 'enter';
|
|
21
|
-
handlers[Keys.Space] = 'enter';
|
|
22
|
-
var handlersRTL = Object.assign({}, handlers);
|
|
23
|
-
handlersRTL[Keys.ArrowLeft] = 'right';
|
|
24
|
-
handlersRTL[Keys.ArrowRight] = 'left';
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
var StepperService = /** @class */ (function () {
|
|
29
|
-
function StepperService(localization, ngZone, changeDetector) {
|
|
30
|
-
this.localization = localization;
|
|
31
|
-
this.ngZone = ngZone;
|
|
32
|
-
this.changeDetector = changeDetector;
|
|
33
|
-
this.currentStep = DEFAULT_CURRENT_STEP;
|
|
34
|
-
this.triggerValidation = new EventEmitter();
|
|
35
|
-
this.focusedStepChange = new EventEmitter();
|
|
36
|
-
}
|
|
37
|
-
Object.defineProperty(StepperService.prototype, "handlers", {
|
|
38
|
-
get: function () {
|
|
39
|
-
return this.localization.rtl ? handlersRTL : handlers;
|
|
40
|
-
},
|
|
41
|
-
enumerable: true,
|
|
42
|
-
configurable: true
|
|
43
|
-
});
|
|
44
|
-
StepperService.prototype.emit = function (event, eventArgs) {
|
|
45
|
-
var stepper = this.owner;
|
|
46
|
-
if (hasObservers(stepper[event])) {
|
|
47
|
-
stepper[event].emit(eventArgs);
|
|
48
|
-
}
|
|
49
|
-
return eventArgs.isDefaultPrevented();
|
|
50
|
-
};
|
|
51
|
-
StepperService.prototype.onActivate = function (currentIdx, originalEvent) {
|
|
52
|
-
var _this = this;
|
|
53
|
-
var eventArgs = new StepperActivateEvent({
|
|
54
|
-
index: currentIdx,
|
|
55
|
-
step: this.owner.steps[currentIdx],
|
|
56
|
-
originalEvent: originalEvent,
|
|
57
|
-
sender: this.owner
|
|
58
|
-
});
|
|
59
|
-
this.ngZone.run(function () {
|
|
60
|
-
if (!_this.emit('activate', eventArgs)) {
|
|
61
|
-
_this.currentStep = currentIdx;
|
|
62
|
-
_this.owner['currentStepChange'].emit(currentIdx);
|
|
63
|
-
_this.changeDetector.detectChanges();
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
StepperService.prototype.validateSteps = function () {
|
|
68
|
-
this.triggerValidation.emit();
|
|
69
|
-
};
|
|
70
|
-
StepperService.prototype.keydown = function (e) {
|
|
71
|
-
var current = this.focusedStep || this.currentStep;
|
|
72
|
-
var handler = this.handlers[e.keyCode];
|
|
73
|
-
if (!isPresent(current)) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
if (handler) {
|
|
77
|
-
e.preventDefault();
|
|
78
|
-
this[handler](e);
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
StepperService.prototype.left = function () {
|
|
82
|
-
if (!this.isHorizontal) {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
this.focusPrevStep();
|
|
86
|
-
};
|
|
87
|
-
StepperService.prototype.right = function () {
|
|
88
|
-
if (!this.isHorizontal) {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
this.focusNextStep();
|
|
92
|
-
};
|
|
93
|
-
StepperService.prototype.up = function () {
|
|
94
|
-
if (this.isHorizontal) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
this.focusPrevStep();
|
|
98
|
-
};
|
|
99
|
-
StepperService.prototype.down = function () {
|
|
100
|
-
if (this.isHorizontal) {
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
this.focusNextStep();
|
|
104
|
-
};
|
|
105
|
-
StepperService.prototype.home = function () {
|
|
106
|
-
this.focusedStep = 0;
|
|
107
|
-
this.focusedStepChange.emit();
|
|
108
|
-
};
|
|
109
|
-
StepperService.prototype.end = function () {
|
|
110
|
-
this.focusedStep = this.owner.steps.length - 1;
|
|
111
|
-
this.focusedStepChange.emit();
|
|
112
|
-
};
|
|
113
|
-
StepperService.prototype.enter = function (event) {
|
|
114
|
-
if (this.focusedStep === this.currentStep) {
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
if (this.isStepDisabled(this.focusedStep)) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
if (this.owner.linear && this.isPrevOrNextStep(this.focusedStep) === false) {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
this.onActivate(this.focusedStep, event);
|
|
124
|
-
};
|
|
125
|
-
StepperService.prototype.focus = function (focusedIdx) {
|
|
126
|
-
this.focusedStep = focusedIdx;
|
|
127
|
-
};
|
|
128
|
-
StepperService.prototype.focusNextStep = function () {
|
|
129
|
-
if (this.focusedStep < this.owner.steps.length) {
|
|
130
|
-
this.focusedStep += 1;
|
|
131
|
-
this.focusedStepChange.emit();
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
StepperService.prototype.focusPrevStep = function () {
|
|
135
|
-
if (this.focusedStep > 0) {
|
|
136
|
-
this.focusedStep -= 1;
|
|
137
|
-
this.focusedStepChange.emit();
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
StepperService.prototype.isStepDisabled = function (index) {
|
|
141
|
-
return this.owner.steps[index].disabled;
|
|
142
|
-
};
|
|
143
|
-
StepperService.prototype.isPrevOrNextStep = function (index) {
|
|
144
|
-
return index === this.currentStep + 1 || index === this.currentStep - 1;
|
|
145
|
-
};
|
|
146
|
-
Object.defineProperty(StepperService.prototype, "isHorizontal", {
|
|
147
|
-
get: function () {
|
|
148
|
-
return this.owner.orientation === 'horizontal';
|
|
149
|
-
},
|
|
150
|
-
enumerable: true,
|
|
151
|
-
configurable: true
|
|
152
|
-
});
|
|
153
|
-
StepperService = tslib_1.__decorate([
|
|
154
|
-
Injectable(),
|
|
155
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService,
|
|
156
|
-
NgZone,
|
|
157
|
-
ChangeDetectorRef])
|
|
158
|
-
], StepperService);
|
|
159
|
-
return StepperService;
|
|
160
|
-
}());
|
|
161
|
-
export { StepperService };
|
|
@@ -1,25 +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 { Directive, Optional, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Represents a template that defines the content of the Step indicator.
|
|
9
|
-
* To define the template, nest an `<ng-template>` tag
|
|
10
|
-
* with the `kendoStepperIndicatorTemplate` directive inside the `<kendo-stepper>` tag.
|
|
11
|
-
*/
|
|
12
|
-
var StepperIndicatorTemplateDirective = /** @class */ (function () {
|
|
13
|
-
function StepperIndicatorTemplateDirective(templateRef) {
|
|
14
|
-
this.templateRef = templateRef;
|
|
15
|
-
}
|
|
16
|
-
StepperIndicatorTemplateDirective = tslib_1.__decorate([
|
|
17
|
-
Directive({
|
|
18
|
-
selector: '[kendoStepperIndicatorTemplate]'
|
|
19
|
-
}),
|
|
20
|
-
tslib_1.__param(0, Optional()),
|
|
21
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
22
|
-
], StepperIndicatorTemplateDirective);
|
|
23
|
-
return StepperIndicatorTemplateDirective;
|
|
24
|
-
}());
|
|
25
|
-
export { StepperIndicatorTemplateDirective };
|
|
@@ -1,25 +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 { Directive, Optional, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Represents a template that defines the content of the Step label.
|
|
9
|
-
* To define the template, nest an `<ng-template>` tag
|
|
10
|
-
* with the `kendoStepperLabelTemplate` directive inside the `<kendo-stepper>` tag.
|
|
11
|
-
*/
|
|
12
|
-
var StepperLabelTemplateDirective = /** @class */ (function () {
|
|
13
|
-
function StepperLabelTemplateDirective(templateRef) {
|
|
14
|
-
this.templateRef = templateRef;
|
|
15
|
-
}
|
|
16
|
-
StepperLabelTemplateDirective = tslib_1.__decorate([
|
|
17
|
-
Directive({
|
|
18
|
-
selector: '[kendoStepperLabelTemplate]'
|
|
19
|
-
}),
|
|
20
|
-
tslib_1.__param(0, Optional()),
|
|
21
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
22
|
-
], StepperLabelTemplateDirective);
|
|
23
|
-
return StepperLabelTemplateDirective;
|
|
24
|
-
}());
|
|
25
|
-
export { StepperLabelTemplateDirective };
|
|
@@ -1,25 +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 { Directive, Optional, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Represents a template that defines the content of the whole Step.
|
|
9
|
-
* To define the template, nest an `<ng-template>` tag
|
|
10
|
-
* with the `kendoStepperStepTemplate` directive inside the `<kendo-stepper>` tag.
|
|
11
|
-
*/
|
|
12
|
-
var StepperStepTemplateDirective = /** @class */ (function () {
|
|
13
|
-
function StepperStepTemplateDirective(templateRef) {
|
|
14
|
-
this.templateRef = templateRef;
|
|
15
|
-
}
|
|
16
|
-
StepperStepTemplateDirective = tslib_1.__decorate([
|
|
17
|
-
Directive({
|
|
18
|
-
selector: '[kendoStepperStepTemplate]'
|
|
19
|
-
}),
|
|
20
|
-
tslib_1.__param(0, Optional()),
|
|
21
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
22
|
-
], StepperStepTemplateDirective);
|
|
23
|
-
return StepperStepTemplateDirective;
|
|
24
|
-
}());
|
|
25
|
-
export { StepperStepTemplateDirective };
|
|
@@ -1,47 +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 { ProgressBarModule } from '@progress/kendo-angular-progressbar';
|
|
9
|
-
import { StepperComponent } from './stepper/stepper.component';
|
|
10
|
-
import { StepperStepComponent } from './stepper/step.component';
|
|
11
|
-
import { StepperListComponent } from './stepper/list.component';
|
|
12
|
-
import { StepperIndicatorTemplateDirective } from './stepper/template-directives/indicator-template.directive';
|
|
13
|
-
import { StepperLabelTemplateDirective } from './stepper/template-directives/label-template.directive';
|
|
14
|
-
import { StepperStepTemplateDirective } from './stepper/template-directives/step-template.directive';
|
|
15
|
-
import { LocalizedStepperMessagesDirective } from './stepper/localization/localized-messages.directive';
|
|
16
|
-
import { StepperCustomMessagesComponent } from './stepper/localization/custom-messages.component';
|
|
17
|
-
var templateDirectives = [
|
|
18
|
-
StepperStepTemplateDirective,
|
|
19
|
-
StepperLabelTemplateDirective,
|
|
20
|
-
StepperIndicatorTemplateDirective
|
|
21
|
-
];
|
|
22
|
-
var exportedModules = [
|
|
23
|
-
StepperComponent,
|
|
24
|
-
StepperCustomMessagesComponent
|
|
25
|
-
].concat(templateDirectives);
|
|
26
|
-
var declarations = [
|
|
27
|
-
StepperStepComponent,
|
|
28
|
-
StepperListComponent,
|
|
29
|
-
LocalizedStepperMessagesDirective
|
|
30
|
-
].concat(exportedModules);
|
|
31
|
-
/**
|
|
32
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
33
|
-
* definition for the Stepper component.
|
|
34
|
-
*/
|
|
35
|
-
var StepperModule = /** @class */ (function () {
|
|
36
|
-
function StepperModule() {
|
|
37
|
-
}
|
|
38
|
-
StepperModule = tslib_1.__decorate([
|
|
39
|
-
NgModule({
|
|
40
|
-
declarations: [declarations],
|
|
41
|
-
exports: [exportedModules],
|
|
42
|
-
imports: [CommonModule, ProgressBarModule]
|
|
43
|
-
})
|
|
44
|
-
], StepperModule);
|
|
45
|
-
return StepperModule;
|
|
46
|
-
}());
|
|
47
|
-
export { StepperModule };
|
|
@@ -1,33 +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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export var MOUSE_SCROLL_SPEED = 10;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export var BUTTON_SCROLL_SPEED = 100;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export var SCROLLABLE_CLASS = 'k-tabstrip-scrollable';
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export var HIDDEN_CLASS = 'k-hidden';
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export var DIRECTION_CLASSES = {
|
|
25
|
-
left: 'k-i-arrow-60-left',
|
|
26
|
-
right: 'k-i-arrow-60-right',
|
|
27
|
-
up: 'k-i-arrow-60-up',
|
|
28
|
-
down: 'k-i-arrow-60-down'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export var DEFAULT_SCROLL_BEHAVIOR = 'smooth';
|
|
@@ -1,49 +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 { Directive, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the content template of the Kendo UI TabStrip.
|
|
9
|
-
* To define the template, nest a `<ng-template>` tag with the `kendoTabContent` inside the component tag.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts-preview
|
|
13
|
-
*
|
|
14
|
-
* _@Component({
|
|
15
|
-
* selector: 'my-app',
|
|
16
|
-
* template: `
|
|
17
|
-
* <kendo-tabstrip [ngStyle]="{'width': '400px'}" [animate]="true">
|
|
18
|
-
* <kendo-tabstrip-tab title="Paris" [selected]="true">
|
|
19
|
-
* <ng-template kendoTabContent>
|
|
20
|
-
* <h3>Content 1</h3>
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* </kendo-tabstrip-tab>
|
|
23
|
-
*
|
|
24
|
-
* <kendo-tabstrip-tab title="Sofia">
|
|
25
|
-
* <ng-template kendoTabContent>
|
|
26
|
-
* <h3>Content 2</h3>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-tabstrip-tab>
|
|
29
|
-
* </kendo-tabstrip>
|
|
30
|
-
* `
|
|
31
|
-
* })
|
|
32
|
-
*
|
|
33
|
-
* class AppComponent {}
|
|
34
|
-
*
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
var TabContentDirective = /** @class */ (function () {
|
|
38
|
-
function TabContentDirective(templateRef) {
|
|
39
|
-
this.templateRef = templateRef;
|
|
40
|
-
}
|
|
41
|
-
TabContentDirective = tslib_1.__decorate([
|
|
42
|
-
Directive({
|
|
43
|
-
selector: '[kendoTabContent]'
|
|
44
|
-
}),
|
|
45
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
46
|
-
], TabContentDirective);
|
|
47
|
-
return TabContentDirective;
|
|
48
|
-
}());
|
|
49
|
-
export { TabContentDirective };
|
|
@@ -1,54 +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 { Directive, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the title template of the Kendo UI TabStrip.
|
|
9
|
-
* To define the template, nest a `<ng-template>` tag with the `kendoTabTitle` directive inside the component tag.
|
|
10
|
-
*
|
|
11
|
-
* > The `kendoTabTitle` directive overrides the TabStripTab [title]({% slug api_layout_tabstriptabcomponent %}#toc-title) option.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts-preview
|
|
15
|
-
*
|
|
16
|
-
* _@Component({
|
|
17
|
-
* selector: 'my-app',
|
|
18
|
-
* template: `
|
|
19
|
-
* <kendo-tabstrip>
|
|
20
|
-
* <kendo-tabstrip-tab [selected]="true">
|
|
21
|
-
* <ng-template kendoTabTitle>
|
|
22
|
-
* <h4>Custom Title</h4>
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* <ng-template kendoTabContent>
|
|
25
|
-
* <h3>Content 1</h3>
|
|
26
|
-
* </ng-template>
|
|
27
|
-
* </kendo-tabstrip-tab>
|
|
28
|
-
*
|
|
29
|
-
* <kendo-tabstrip-tab title="Sofia">
|
|
30
|
-
* <ng-template kendoTabContent>
|
|
31
|
-
* <h3>Content 2</h3>
|
|
32
|
-
* </ng-template>
|
|
33
|
-
* </kendo-tabstrip-tab>
|
|
34
|
-
* </kendo-tabstrip>
|
|
35
|
-
* `
|
|
36
|
-
* })
|
|
37
|
-
*
|
|
38
|
-
* class AppComponent {}
|
|
39
|
-
*
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
var TabTitleDirective = /** @class */ (function () {
|
|
43
|
-
function TabTitleDirective(templateRef) {
|
|
44
|
-
this.templateRef = templateRef;
|
|
45
|
-
}
|
|
46
|
-
TabTitleDirective = tslib_1.__decorate([
|
|
47
|
-
Directive({
|
|
48
|
-
selector: '[kendoTabTitle]'
|
|
49
|
-
}),
|
|
50
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
51
|
-
], TabTitleDirective);
|
|
52
|
-
return TabTitleDirective;
|
|
53
|
-
}());
|
|
54
|
-
export { TabTitleDirective };
|
|
@@ -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 { PreventableEvent } from "@progress/kendo-angular-common";
|
|
7
|
-
/**
|
|
8
|
-
* Arguments for the `select` event of the TabStrip.
|
|
9
|
-
* The `select` event fires when a tab is selected (clicked).
|
|
10
|
-
*/
|
|
11
|
-
var SelectEvent = /** @class */ (function (_super) {
|
|
12
|
-
tslib_1.__extends(SelectEvent, _super);
|
|
13
|
-
/**
|
|
14
|
-
* Constructs the event arguments for the `select` event.
|
|
15
|
-
* @param index - The index of the selected tab.
|
|
16
|
-
* @param title - The title of the selected tab.
|
|
17
|
-
*/
|
|
18
|
-
function SelectEvent(index, title) {
|
|
19
|
-
var _this = _super.call(this) || this;
|
|
20
|
-
_this.index = index;
|
|
21
|
-
_this.title = title;
|
|
22
|
-
return _this;
|
|
23
|
-
}
|
|
24
|
-
return SelectEvent;
|
|
25
|
-
}(PreventableEvent));
|
|
26
|
-
export { SelectEvent };
|
|
@@ -1,22 +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
|
-
/**
|
|
6
|
-
* Arguments for the `tabClose` event of the TabStrip.
|
|
7
|
-
* The `tabClose` event fires when the close button of the tab is clicked.
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
var TabCloseEvent = /** @class */ (function () {
|
|
11
|
-
/**
|
|
12
|
-
* Constructs the event arguments for the `tabClose` event.
|
|
13
|
-
* @param index - The index of the closed tab.
|
|
14
|
-
* @param tab - The closed tab instance
|
|
15
|
-
*/
|
|
16
|
-
function TabCloseEvent(index, tab) {
|
|
17
|
-
this.index = index;
|
|
18
|
-
this.tab = tab;
|
|
19
|
-
}
|
|
20
|
-
return TabCloseEvent;
|
|
21
|
-
}());
|
|
22
|
-
export { TabCloseEvent };
|
|
@@ -1,19 +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 { PreventableEvent } from '../../common/preventable-event';
|
|
7
|
-
/**
|
|
8
|
-
* Arguments for the `tabScroll` event of the TabStrip.
|
|
9
|
-
* The `tabScroll` event fires when the tabs are being scrolled.
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
var TabScrollEvent = /** @class */ (function (_super) {
|
|
13
|
-
tslib_1.__extends(TabScrollEvent, _super);
|
|
14
|
-
function TabScrollEvent() {
|
|
15
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
-
}
|
|
17
|
-
return TabScrollEvent;
|
|
18
|
-
}(PreventableEvent));
|
|
19
|
-
export { TabScrollEvent };
|
|
@@ -1,44 +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, forwardRef } from '@angular/core';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { TabStripMessages } from './messages';
|
|
9
|
-
/**
|
|
10
|
-
* Custom component messages override default component messages
|
|
11
|
-
* ([see example]({% slug rtl_layout %})).
|
|
12
|
-
*/
|
|
13
|
-
var TabStripCustomMessagesComponent = /** @class */ (function (_super) {
|
|
14
|
-
tslib_1.__extends(TabStripCustomMessagesComponent, _super);
|
|
15
|
-
function TabStripCustomMessagesComponent(service) {
|
|
16
|
-
var _this = _super.call(this) || this;
|
|
17
|
-
_this.service = service;
|
|
18
|
-
return _this;
|
|
19
|
-
}
|
|
20
|
-
TabStripCustomMessagesComponent_1 = TabStripCustomMessagesComponent;
|
|
21
|
-
Object.defineProperty(TabStripCustomMessagesComponent.prototype, "override", {
|
|
22
|
-
get: function () {
|
|
23
|
-
return true;
|
|
24
|
-
},
|
|
25
|
-
enumerable: true,
|
|
26
|
-
configurable: true
|
|
27
|
-
});
|
|
28
|
-
var TabStripCustomMessagesComponent_1;
|
|
29
|
-
TabStripCustomMessagesComponent = TabStripCustomMessagesComponent_1 = tslib_1.__decorate([
|
|
30
|
-
Component({
|
|
31
|
-
providers: [
|
|
32
|
-
{
|
|
33
|
-
provide: TabStripMessages,
|
|
34
|
-
useExisting: forwardRef(function () { return TabStripCustomMessagesComponent_1; })
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
selector: 'kendo-tabstrip-messages',
|
|
38
|
-
template: ""
|
|
39
|
-
}),
|
|
40
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
41
|
-
], TabStripCustomMessagesComponent);
|
|
42
|
-
return TabStripCustomMessagesComponent;
|
|
43
|
-
}(TabStripMessages));
|
|
44
|
-
export { TabStripCustomMessagesComponent };
|
|
@@ -1,35 +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 { Directive, forwardRef } from '@angular/core';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { TabStripMessages } from './messages';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
var LocalizedTabStripMessagesDirective = /** @class */ (function (_super) {
|
|
13
|
-
tslib_1.__extends(LocalizedTabStripMessagesDirective, _super);
|
|
14
|
-
function LocalizedTabStripMessagesDirective(service) {
|
|
15
|
-
var _this = _super.call(this) || this;
|
|
16
|
-
_this.service = service;
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
LocalizedTabStripMessagesDirective_1 = LocalizedTabStripMessagesDirective;
|
|
20
|
-
var LocalizedTabStripMessagesDirective_1;
|
|
21
|
-
LocalizedTabStripMessagesDirective = LocalizedTabStripMessagesDirective_1 = tslib_1.__decorate([
|
|
22
|
-
Directive({
|
|
23
|
-
providers: [
|
|
24
|
-
{
|
|
25
|
-
provide: TabStripMessages,
|
|
26
|
-
useExisting: forwardRef(function () { return LocalizedTabStripMessagesDirective_1; })
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
selector: "[kendoTabStripLocalizedMessages]"
|
|
30
|
-
}),
|
|
31
|
-
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
32
|
-
], LocalizedTabStripMessagesDirective);
|
|
33
|
-
return LocalizedTabStripMessagesDirective;
|
|
34
|
-
}(TabStripMessages));
|
|
35
|
-
export { LocalizedTabStripMessagesDirective };
|
|
@@ -1,22 +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 { Input } from '@angular/core';
|
|
7
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
var TabStripMessages = /** @class */ (function (_super) {
|
|
12
|
-
tslib_1.__extends(TabStripMessages, _super);
|
|
13
|
-
function TabStripMessages() {
|
|
14
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
15
|
-
}
|
|
16
|
-
tslib_1.__decorate([
|
|
17
|
-
Input(),
|
|
18
|
-
tslib_1.__metadata("design:type", String)
|
|
19
|
-
], TabStripMessages.prototype, "closeTitle", void 0);
|
|
20
|
-
return TabStripMessages;
|
|
21
|
-
}(ComponentMessages));
|
|
22
|
-
export { TabStripMessages };
|
|
@@ -1,28 +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 { BUTTON_SCROLL_SPEED, MOUSE_SCROLL_SPEED } from "../constants";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
var normalizeSettings = function (_a) {
|
|
10
|
-
var _b = _a.enabled, enabled = _b === void 0 ? true : _b, _c = _a.scrollButtons, scrollButtons = _c === void 0 ? 'auto' : _c, _d = _a.mouseScroll, mouseScroll = _d === void 0 ? true : _d, _e = _a.buttonScrollSpeed, buttonScrollSpeed = _e === void 0 ? BUTTON_SCROLL_SPEED : _e, _f = _a.mouseScrollSpeed, mouseScrollSpeed = _f === void 0 ? MOUSE_SCROLL_SPEED : _f, prevButtonIcon = _a.prevButtonIcon, nextButtonIcon = _a.nextButtonIcon;
|
|
11
|
-
return ({
|
|
12
|
-
enabled: enabled,
|
|
13
|
-
scrollButtons: scrollButtons,
|
|
14
|
-
mouseScroll: mouseScroll,
|
|
15
|
-
buttonScrollSpeed: buttonScrollSpeed,
|
|
16
|
-
mouseScrollSpeed: mouseScrollSpeed,
|
|
17
|
-
prevButtonIcon: prevButtonIcon,
|
|
18
|
-
nextButtonIcon: nextButtonIcon
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
var ɵ0 = normalizeSettings;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export var normalizeScrollableSettings = function (settings) {
|
|
26
|
-
return normalizeSettings(settings === false ? { enabled: false } : settings);
|
|
27
|
-
};
|
|
28
|
-
export { ɵ0 };
|