@progress/kendo-angular-layout 6.5.2 → 7.0.0-dev.202204150742
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 +22 -16
- package/{dist/es2015/avatar → avatar}/models/fill.d.ts +1 -1
- package/{dist/es2015/avatar → avatar}/models/models.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/rounded.d.ts +1 -1
- package/{dist/es2015/avatar → avatar}/models/shape.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/size.d.ts +1 -1
- package/{dist/es2015/avatar → avatar}/models/theme-color.d.ts +1 -1
- package/avatar.module.d.ts +16 -0
- package/bundles/kendo-angular-layout.umd.js +5 -0
- package/{dist/es2015/card → card}/card-actions.component.d.ts +16 -9
- package/card/card-body.component.d.ts +13 -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}/preventable-event.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 +97 -115
- 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/es2015 → esm2015}/common/preventable-event.js +0 -0
- package/{dist/es → esm2015}/common/styling-classes.js +1 -0
- package/{dist/es2015 → esm2015}/common/util.js +7 -9
- 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/esm2015/drawer/events/select-event.js +17 -0
- 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/esm2015/expansionpanel/events/action-event.js +17 -0
- 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 +5 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015/expansionpanel/events/action-event.js → esm2015/panelbar/events/collapse-event.js} +2 -2
- package/{dist/es2015/stepper/events/activate-event.js → esm2015/panelbar/events/expand-event.js} +2 -2
- package/{dist/es2015/drawer → esm2015/panelbar}/events/select-event.js +2 -2
- package/{dist/es/stepper/models/constants.js → esm2015/panelbar/events/state-change-event.js} +3 -2
- package/{dist/es2015/tabstrip → esm2015/panelbar}/events.js +4 -2
- 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/esm2015/panelbar/panelbar-item.component.js +582 -0
- package/{dist/es2015 → esm2015}/panelbar/panelbar.component.js +248 -173
- 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/esm2015/stepper/events/activate-event.js +17 -0
- 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} +5420 -4961
- package/gridlayout.module.d.ts +17 -0
- package/{dist/es2015/card/card-body.component.d.ts → kendo-angular-layout.d.ts} +3 -4
- 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} +4 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +44 -132
- package/panelbar/events/collapse-event.d.ts +15 -0
- package/panelbar/events/expand-event.d.ts +15 -0
- package/panelbar/events/select-event.d.ts +15 -0
- package/{dist/es2015/avatar.module.d.ts → panelbar/events/state-change-event.d.ts} +7 -3
- package/{dist/es/avatar/models/rounded.js → panelbar/events.d.ts} +4 -0
- 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 +38 -10
- 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.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/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/panelbar-item.component.js +0 -492
- 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/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
|
@@ -2,22 +2,20 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { DraggableDirective, Keys } from '@progress/kendo-angular-common';
|
|
9
|
-
import { SplitterService } from './splitter.service';
|
|
5
|
+
import { Component, Host, HostBinding, HostListener, Input } from '@angular/core';
|
|
6
|
+
import { Keys } from '@progress/kendo-angular-common';
|
|
10
7
|
import { Subscription, of } from 'rxjs';
|
|
11
8
|
import { delay, filter, map, switchMap, takeUntil, tap } from 'rxjs/operators';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-common";
|
|
11
|
+
import * as i2 from "./splitter.service";
|
|
12
|
+
import * as i3 from "@progress/kendo-angular-l10n";
|
|
12
13
|
const stopPropagation = ({ originalEvent: event }) => {
|
|
13
14
|
event.stopPropagation();
|
|
14
15
|
event.preventDefault();
|
|
15
16
|
};
|
|
16
|
-
const ɵ0 = stopPropagation;
|
|
17
17
|
const preventOnDblClick = release => mouseDown => of(mouseDown).pipe(delay(150), takeUntil(release));
|
|
18
|
-
const ɵ1 = preventOnDblClick;
|
|
19
18
|
const classFromObject = classes => Object.keys(classes).filter(c => classes[c]).join(' ');
|
|
20
|
-
const ɵ2 = classFromObject;
|
|
21
19
|
const createMoveStream = (draggable) => mouseDown => draggable.kendoDrag
|
|
22
20
|
.pipe(takeUntil(draggable.kendoRelease), map(({ pageX, pageY }) => ({
|
|
23
21
|
originalX: mouseDown.pageX,
|
|
@@ -25,11 +23,10 @@ const createMoveStream = (draggable) => mouseDown => draggable.kendoDrag
|
|
|
25
23
|
pageX,
|
|
26
24
|
pageY
|
|
27
25
|
})));
|
|
28
|
-
const ɵ3 = createMoveStream;
|
|
29
26
|
/**
|
|
30
27
|
* @hidden
|
|
31
28
|
*/
|
|
32
|
-
|
|
29
|
+
export class SplitterBarComponent {
|
|
33
30
|
constructor(draggable, element, splitter, localization) {
|
|
34
31
|
this.draggable = draggable;
|
|
35
32
|
this.element = element;
|
|
@@ -177,78 +174,60 @@ let SplitterBarComponent = class SplitterBarComponent {
|
|
|
177
174
|
this.splitter.tryToggle(next);
|
|
178
175
|
}
|
|
179
176
|
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
]
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
tslib_1.__metadata("design:type", String)
|
|
193
|
-
], SplitterBarComponent.prototype, "ariaRole", void 0);
|
|
194
|
-
tslib_1.__decorate([
|
|
195
|
-
HostBinding('class.k-state-focused'),
|
|
196
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
197
|
-
], SplitterBarComponent.prototype, "focused", void 0);
|
|
198
|
-
tslib_1.__decorate([
|
|
199
|
-
HostBinding('attr.tabindex'),
|
|
200
|
-
tslib_1.__metadata("design:type", Number),
|
|
201
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
202
|
-
], SplitterBarComponent.prototype, "tabIndex", null);
|
|
203
|
-
tslib_1.__decorate([
|
|
204
|
-
HostBinding('class'),
|
|
205
|
-
tslib_1.__metadata("design:type", String),
|
|
206
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
207
|
-
], SplitterBarComponent.prototype, "hostClasses", null);
|
|
208
|
-
tslib_1.__decorate([
|
|
209
|
-
HostBinding('style.-ms-flex-order'),
|
|
210
|
-
HostBinding('style.order'),
|
|
211
|
-
tslib_1.__metadata("design:type", Number),
|
|
212
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
213
|
-
], SplitterBarComponent.prototype, "order", null);
|
|
214
|
-
tslib_1.__decorate([
|
|
215
|
-
HostListener('dblclick'),
|
|
216
|
-
tslib_1.__metadata("design:type", Function),
|
|
217
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
218
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
219
|
-
], SplitterBarComponent.prototype, "collapseAny", null);
|
|
220
|
-
tslib_1.__decorate([
|
|
221
|
-
HostListener('focusin'),
|
|
222
|
-
tslib_1.__metadata("design:type", Function),
|
|
223
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
224
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
225
|
-
], SplitterBarComponent.prototype, "onFocusIn", null);
|
|
226
|
-
tslib_1.__decorate([
|
|
227
|
-
HostListener('focusout'),
|
|
228
|
-
tslib_1.__metadata("design:type", Function),
|
|
229
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
230
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
231
|
-
], SplitterBarComponent.prototype, "onFocusOut", null);
|
|
232
|
-
tslib_1.__decorate([
|
|
233
|
-
HostListener('keydown', ['$event']),
|
|
234
|
-
tslib_1.__metadata("design:type", Function),
|
|
235
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
236
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
237
|
-
], SplitterBarComponent.prototype, "onKeyDown", null);
|
|
238
|
-
SplitterBarComponent = tslib_1.__decorate([
|
|
239
|
-
Component({
|
|
240
|
-
selector: 'kendo-splitter-bar',
|
|
241
|
-
template: `
|
|
177
|
+
}
|
|
178
|
+
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterBarComponent, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i2.SplitterService }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
179
|
+
SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SplitterBarComponent, selector: "kendo-splitter-bar", inputs: { orientation: "orientation", index: "index" }, host: { listeners: { "dblclick": "collapseAny()", "focusin": "onFocusIn()", "focusout": "onFocusOut()", "keydown": "onKeyDown($event)" }, properties: { "attr.aria-orientation": "this.orientation", "attr.role": "this.ariaRole", "class.k-state-focused": "this.focused", "attr.tabindex": "this.tabIndex", "class": "this.hostClasses", "style.-ms-flex-order": "this.order", "style.order": "this.order" } }, ngImport: i0, template: `
|
|
180
|
+
<div [class]="previousArrowClass()" (click)="togglePrevious()"></div>
|
|
181
|
+
<div class="k-resize-handle"></div>
|
|
182
|
+
<div [class]="nextArrowClass()" (click)="toggleNext()"></div>
|
|
183
|
+
`, isInline: true });
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterBarComponent, decorators: [{
|
|
185
|
+
type: Component,
|
|
186
|
+
args: [{
|
|
187
|
+
selector: 'kendo-splitter-bar',
|
|
188
|
+
template: `
|
|
242
189
|
<div [class]="previousArrowClass()" (click)="togglePrevious()"></div>
|
|
243
190
|
<div class="k-resize-handle"></div>
|
|
244
191
|
<div [class]="nextArrowClass()" (click)="toggleNext()"></div>
|
|
245
192
|
`
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
193
|
+
}]
|
|
194
|
+
}], ctorParameters: function () { return [{ type: i1.DraggableDirective, decorators: [{
|
|
195
|
+
type: Host
|
|
196
|
+
}] }, { type: i0.ElementRef }, { type: i2.SplitterService }, { type: i3.LocalizationService }]; }, propDecorators: { orientation: [{
|
|
197
|
+
type: Input
|
|
198
|
+
}, {
|
|
199
|
+
type: HostBinding,
|
|
200
|
+
args: ['attr.aria-orientation']
|
|
201
|
+
}], index: [{
|
|
202
|
+
type: Input
|
|
203
|
+
}], ariaRole: [{
|
|
204
|
+
type: HostBinding,
|
|
205
|
+
args: ['attr.role']
|
|
206
|
+
}], focused: [{
|
|
207
|
+
type: HostBinding,
|
|
208
|
+
args: ['class.k-state-focused']
|
|
209
|
+
}], tabIndex: [{
|
|
210
|
+
type: HostBinding,
|
|
211
|
+
args: ['attr.tabindex']
|
|
212
|
+
}], hostClasses: [{
|
|
213
|
+
type: HostBinding,
|
|
214
|
+
args: ['class']
|
|
215
|
+
}], order: [{
|
|
216
|
+
type: HostBinding,
|
|
217
|
+
args: ['style.-ms-flex-order']
|
|
218
|
+
}, {
|
|
219
|
+
type: HostBinding,
|
|
220
|
+
args: ['style.order']
|
|
221
|
+
}], collapseAny: [{
|
|
222
|
+
type: HostListener,
|
|
223
|
+
args: ['dblclick']
|
|
224
|
+
}], onFocusIn: [{
|
|
225
|
+
type: HostListener,
|
|
226
|
+
args: ['focusin']
|
|
227
|
+
}], onFocusOut: [{
|
|
228
|
+
type: HostListener,
|
|
229
|
+
args: ['focusout']
|
|
230
|
+
}], onKeyDown: [{
|
|
231
|
+
type: HostListener,
|
|
232
|
+
args: ['keydown', ['$event']]
|
|
233
|
+
}] } });
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
7
8
|
/**
|
|
8
9
|
* Represents the pane component of the Splitter.
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
|
+
export class SplitterPaneComponent {
|
|
11
12
|
constructor(element, renderer, cdr) {
|
|
12
13
|
this.element = element;
|
|
13
14
|
this.renderer = renderer;
|
|
@@ -154,87 +155,55 @@ let SplitterPaneComponent = class SplitterPaneComponent {
|
|
|
154
155
|
this.renderer.setStyle(element, '-ms-flex-order', this.order);
|
|
155
156
|
this.renderer.setStyle(element, 'order', this.order);
|
|
156
157
|
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
Input(),
|
|
170
|
-
tslib_1.__metadata("design:type", String)
|
|
171
|
-
], SplitterPaneComponent.prototype, "min", void 0);
|
|
172
|
-
tslib_1.__decorate([
|
|
173
|
-
Input(),
|
|
174
|
-
tslib_1.__metadata("design:type", String)
|
|
175
|
-
], SplitterPaneComponent.prototype, "max", void 0);
|
|
176
|
-
tslib_1.__decorate([
|
|
177
|
-
Input(),
|
|
178
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
179
|
-
], SplitterPaneComponent.prototype, "resizable", void 0);
|
|
180
|
-
tslib_1.__decorate([
|
|
181
|
-
Input(),
|
|
182
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
183
|
-
], SplitterPaneComponent.prototype, "collapsible", void 0);
|
|
184
|
-
tslib_1.__decorate([
|
|
185
|
-
Input(),
|
|
186
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
187
|
-
], SplitterPaneComponent.prototype, "scrollable", void 0);
|
|
188
|
-
tslib_1.__decorate([
|
|
189
|
-
Input(),
|
|
190
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
191
|
-
], SplitterPaneComponent.prototype, "collapsed", void 0);
|
|
192
|
-
tslib_1.__decorate([
|
|
193
|
-
Input(),
|
|
194
|
-
tslib_1.__metadata("design:type", String)
|
|
195
|
-
], SplitterPaneComponent.prototype, "orientation", void 0);
|
|
196
|
-
tslib_1.__decorate([
|
|
197
|
-
Input(),
|
|
198
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
199
|
-
tslib_1.__metadata("design:paramtypes", [Boolean])
|
|
200
|
-
], SplitterPaneComponent.prototype, "containsSplitter", null);
|
|
201
|
-
tslib_1.__decorate([
|
|
202
|
-
Input(),
|
|
203
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
204
|
-
], SplitterPaneComponent.prototype, "overlayContent", void 0);
|
|
205
|
-
tslib_1.__decorate([
|
|
206
|
-
Output(),
|
|
207
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
208
|
-
], SplitterPaneComponent.prototype, "sizeChange", void 0);
|
|
209
|
-
tslib_1.__decorate([
|
|
210
|
-
Output(),
|
|
211
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
212
|
-
], SplitterPaneComponent.prototype, "collapsedChange", void 0);
|
|
213
|
-
tslib_1.__decorate([
|
|
214
|
-
HostBinding('class.k-pane'),
|
|
215
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
216
|
-
], SplitterPaneComponent.prototype, "hostClass", void 0);
|
|
217
|
-
tslib_1.__decorate([
|
|
218
|
-
HostBinding('class.k-pane-static'),
|
|
219
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
220
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
221
|
-
], SplitterPaneComponent.prototype, "staticPaneClass", null);
|
|
222
|
-
tslib_1.__decorate([
|
|
223
|
-
HostBinding('class.k-scrollable'),
|
|
224
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
225
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
226
|
-
], SplitterPaneComponent.prototype, "scrollablePaneClass", null);
|
|
227
|
-
SplitterPaneComponent = tslib_1.__decorate([
|
|
228
|
-
Component({
|
|
229
|
-
exportAs: 'kendoSplitterPane',
|
|
230
|
-
selector: 'kendo-splitter-pane',
|
|
231
|
-
template: `
|
|
158
|
+
}
|
|
159
|
+
SplitterPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterPaneComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
160
|
+
SplitterPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: { order: "order", size: "size", min: "min", max: "max", resizable: "resizable", collapsible: "collapsible", scrollable: "scrollable", collapsed: "collapsed", orientation: "orientation", containsSplitter: "containsSplitter", overlayContent: "overlayContent" }, outputs: { sizeChange: "sizeChange", collapsedChange: "collapsedChange" }, host: { properties: { "class.k-pane": "this.hostClass", "class.k-pane-static": "this.staticPaneClass", "class.k-scrollable": "this.scrollablePaneClass" } }, exportAs: ["kendoSplitterPane"], ngImport: i0, template: `
|
|
161
|
+
<ng-container *ngIf="!collapsed"><ng-content></ng-content></ng-container>
|
|
162
|
+
<div *ngIf="overlayContent" class="k-splitter-overlay k-overlay"></div>
|
|
163
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterPaneComponent, decorators: [{
|
|
165
|
+
type: Component,
|
|
166
|
+
args: [{
|
|
167
|
+
exportAs: 'kendoSplitterPane',
|
|
168
|
+
selector: 'kendo-splitter-pane',
|
|
169
|
+
template: `
|
|
232
170
|
<ng-container *ngIf="!collapsed"><ng-content></ng-content></ng-container>
|
|
233
171
|
<div *ngIf="overlayContent" class="k-splitter-overlay k-overlay"></div>
|
|
234
172
|
`
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
173
|
+
}]
|
|
174
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { order: [{
|
|
175
|
+
type: Input
|
|
176
|
+
}], size: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], min: [{
|
|
179
|
+
type: Input
|
|
180
|
+
}], max: [{
|
|
181
|
+
type: Input
|
|
182
|
+
}], resizable: [{
|
|
183
|
+
type: Input
|
|
184
|
+
}], collapsible: [{
|
|
185
|
+
type: Input
|
|
186
|
+
}], scrollable: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], collapsed: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}], orientation: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], containsSplitter: [{
|
|
193
|
+
type: Input
|
|
194
|
+
}], overlayContent: [{
|
|
195
|
+
type: Input
|
|
196
|
+
}], sizeChange: [{
|
|
197
|
+
type: Output
|
|
198
|
+
}], collapsedChange: [{
|
|
199
|
+
type: Output
|
|
200
|
+
}], hostClass: [{
|
|
201
|
+
type: HostBinding,
|
|
202
|
+
args: ['class.k-pane']
|
|
203
|
+
}], staticPaneClass: [{
|
|
204
|
+
type: HostBinding,
|
|
205
|
+
args: ['class.k-pane-static']
|
|
206
|
+
}], scrollablePaneClass: [{
|
|
207
|
+
type: HostBinding,
|
|
208
|
+
args: ['class.k-scrollable']
|
|
209
|
+
}] } });
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
import { Component, ElementRef, EventEmitter, ContentChildren, Host, HostBinding, Inject, Input, Optional, Output, QueryList, ViewChildren, Renderer2 } from '@angular/core';
|
|
5
|
+
import { Component, ContentChildren, Host, HostBinding, Inject, Input, Optional, Output, ViewChildren } from '@angular/core';
|
|
7
6
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
8
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
8
|
import { packageMetadata } from '../package-metadata';
|
|
@@ -11,6 +10,13 @@ import { SplitterPaneComponent } from './splitter-pane.component';
|
|
|
11
10
|
import { SplitterBarComponent } from './splitter-bar.component';
|
|
12
11
|
import { SplitterService } from './splitter.service';
|
|
13
12
|
import { isPresent } from '../common/util';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "./splitter.service";
|
|
15
|
+
import * as i2 from "@progress/kendo-angular-l10n";
|
|
16
|
+
import * as i3 from "./splitter-bar.component";
|
|
17
|
+
import * as i4 from "@angular/common";
|
|
18
|
+
import * as i5 from "@progress/kendo-angular-common";
|
|
19
|
+
import * as i6 from "./splitter-pane.component";
|
|
14
20
|
/**
|
|
15
21
|
* Represents the [Kendo UI Splitter component for Angular]({% slug overview_splitter %}).
|
|
16
22
|
*
|
|
@@ -46,7 +52,7 @@ import { isPresent } from '../common/util';
|
|
|
46
52
|
* class AppComponent {}
|
|
47
53
|
* ```
|
|
48
54
|
*/
|
|
49
|
-
|
|
55
|
+
export class SplitterComponent {
|
|
50
56
|
constructor(element, splitterService, localization, renderer, enclosingPane) {
|
|
51
57
|
this.element = element;
|
|
52
58
|
this.splitterService = splitterService;
|
|
@@ -132,63 +138,44 @@ let SplitterComponent = class SplitterComponent {
|
|
|
132
138
|
get direction() {
|
|
133
139
|
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
134
140
|
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
]
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
tslib_1.__metadata("design:paramtypes", [QueryList])
|
|
174
|
-
], SplitterComponent.prototype, "splitbars", null);
|
|
175
|
-
tslib_1.__decorate([
|
|
176
|
-
ContentChildren(SplitterPaneComponent),
|
|
177
|
-
tslib_1.__metadata("design:type", QueryList)
|
|
178
|
-
], SplitterComponent.prototype, "panes", void 0);
|
|
179
|
-
SplitterComponent = tslib_1.__decorate([
|
|
180
|
-
Component({
|
|
181
|
-
exportAs: 'kendoSplitter',
|
|
182
|
-
selector: 'kendo-splitter',
|
|
183
|
-
providers: [
|
|
184
|
-
SplitterService,
|
|
185
|
-
LocalizationService,
|
|
186
|
-
{
|
|
187
|
-
provide: L10N_PREFIX,
|
|
188
|
-
useValue: 'kendo.spliter'
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
template: `
|
|
141
|
+
}
|
|
142
|
+
SplitterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterComponent, deps: [{ token: i0.ElementRef }, { token: i1.SplitterService }, { token: i2.LocalizationService }, { token: i0.Renderer2 }, { token: SplitterPaneComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
143
|
+
SplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SplitterComponent, selector: "kendo-splitter", inputs: { orientation: "orientation" }, outputs: { layoutChange: "layoutChange" }, host: { properties: { "class.k-splitter": "this.hostClasses", "class.k-splitter-flex": "this.hostClasses", "class.k-splitter-horizontal": "this.horizontalHostClasses", "class.k-splitter-vertical": "this.verticalHostClasses", "attr.dir": "this.dir", "attr.role": "this.ariaRole" } }, providers: [
|
|
144
|
+
SplitterService,
|
|
145
|
+
LocalizationService,
|
|
146
|
+
{
|
|
147
|
+
provide: L10N_PREFIX,
|
|
148
|
+
useValue: 'kendo.spliter'
|
|
149
|
+
}
|
|
150
|
+
], queries: [{ propertyName: "panes", predicate: SplitterPaneComponent }], viewQueries: [{ propertyName: "splitbars", predicate: SplitterBarComponent, descendants: true }], exportAs: ["kendoSplitter"], usesOnChanges: true, ngImport: i0, template: `
|
|
151
|
+
<ng-content select="kendo-splitter-pane"></ng-content>
|
|
152
|
+
<ng-container *ngFor="
|
|
153
|
+
let pane of panes;
|
|
154
|
+
let index = index;
|
|
155
|
+
let last = last;
|
|
156
|
+
">
|
|
157
|
+
<kendo-splitter-bar
|
|
158
|
+
kendoDraggable
|
|
159
|
+
*ngIf="!last"
|
|
160
|
+
[index]="index"
|
|
161
|
+
[orientation]="orientation">
|
|
162
|
+
</kendo-splitter-bar>
|
|
163
|
+
</ng-container>
|
|
164
|
+
`, isInline: true, components: [{ type: i3.SplitterBarComponent, selector: "kendo-splitter-bar", inputs: ["orientation", "index"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterComponent, decorators: [{
|
|
166
|
+
type: Component,
|
|
167
|
+
args: [{
|
|
168
|
+
exportAs: 'kendoSplitter',
|
|
169
|
+
selector: 'kendo-splitter',
|
|
170
|
+
providers: [
|
|
171
|
+
SplitterService,
|
|
172
|
+
LocalizationService,
|
|
173
|
+
{
|
|
174
|
+
provide: L10N_PREFIX,
|
|
175
|
+
useValue: 'kendo.spliter'
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
template: `
|
|
192
179
|
<ng-content select="kendo-splitter-pane"></ng-content>
|
|
193
180
|
<ng-container *ngFor="
|
|
194
181
|
let pane of panes;
|
|
@@ -203,12 +190,40 @@ SplitterComponent = tslib_1.__decorate([
|
|
|
203
190
|
</kendo-splitter-bar>
|
|
204
191
|
</ng-container>
|
|
205
192
|
`
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
]
|
|
214
|
-
|
|
193
|
+
}]
|
|
194
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.SplitterService }, { type: i2.LocalizationService }, { type: i0.Renderer2 }, { type: i6.SplitterPaneComponent, decorators: [{
|
|
195
|
+
type: Optional
|
|
196
|
+
}, {
|
|
197
|
+
type: Host
|
|
198
|
+
}, {
|
|
199
|
+
type: Inject,
|
|
200
|
+
args: [SplitterPaneComponent]
|
|
201
|
+
}] }]; }, propDecorators: { orientation: [{
|
|
202
|
+
type: Input
|
|
203
|
+
}], layoutChange: [{
|
|
204
|
+
type: Output
|
|
205
|
+
}], hostClasses: [{
|
|
206
|
+
type: HostBinding,
|
|
207
|
+
args: ['class.k-splitter']
|
|
208
|
+
}, {
|
|
209
|
+
type: HostBinding,
|
|
210
|
+
args: ['class.k-splitter-flex']
|
|
211
|
+
}], horizontalHostClasses: [{
|
|
212
|
+
type: HostBinding,
|
|
213
|
+
args: ['class.k-splitter-horizontal']
|
|
214
|
+
}], verticalHostClasses: [{
|
|
215
|
+
type: HostBinding,
|
|
216
|
+
args: ['class.k-splitter-vertical']
|
|
217
|
+
}], dir: [{
|
|
218
|
+
type: HostBinding,
|
|
219
|
+
args: ['attr.dir']
|
|
220
|
+
}], ariaRole: [{
|
|
221
|
+
type: HostBinding,
|
|
222
|
+
args: ['attr.role']
|
|
223
|
+
}], splitbars: [{
|
|
224
|
+
type: ViewChildren,
|
|
225
|
+
args: [SplitterBarComponent]
|
|
226
|
+
}], panes: [{
|
|
227
|
+
type: ContentChildren,
|
|
228
|
+
args: [SplitterPaneComponent]
|
|
229
|
+
}] } });
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import { isDevMode, EventEmitter, Injectable } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
7
|
const SIZING_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/layout/splitter/panes/#toc-size';
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
export class SplitterService {
|
|
12
12
|
constructor(zone) {
|
|
13
13
|
this.zone = zone;
|
|
14
14
|
this.layoutChange = new EventEmitter();
|
|
@@ -144,9 +144,9 @@ let SplitterService = class SplitterService {
|
|
|
144
144
|
this.zone.run(() => emitter.emit(args));
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
}
|
|
148
|
-
SplitterService =
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
147
|
+
}
|
|
148
|
+
SplitterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
149
|
+
SplitterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterService });
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterService, decorators: [{
|
|
151
|
+
type: Injectable
|
|
152
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { CommonModule } from '@angular/common';
|
|
8
7
|
import { DraggableModule } from '@progress/kendo-angular-common';
|
|
9
8
|
import { SplitterComponent } from './splitter/splitter.component';
|
|
10
9
|
import { SplitterBarComponent } from './splitter/splitter-bar.component';
|
|
11
10
|
import { SplitterPaneComponent } from './splitter/splitter-pane.component';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
12
|
const exportedModules = [
|
|
13
13
|
SplitterComponent,
|
|
14
14
|
SplitterPaneComponent
|
|
@@ -25,16 +25,25 @@ const declarations = [
|
|
|
25
25
|
* - `SplitterComponent`—The `Splitter` component class.
|
|
26
26
|
* - `SplitterPaneComponent`—The `SplitterPane` component class.
|
|
27
27
|
*/
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
SplitterModule =
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
exports: [
|
|
34
|
-
|
|
28
|
+
export class SplitterModule {
|
|
29
|
+
}
|
|
30
|
+
SplitterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
+
SplitterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterModule, declarations: [SplitterBarComponent, SplitterComponent,
|
|
32
|
+
SplitterPaneComponent], imports: [CommonModule,
|
|
33
|
+
DraggableModule], exports: [SplitterComponent,
|
|
34
|
+
SplitterPaneComponent] });
|
|
35
|
+
SplitterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterModule, imports: [[
|
|
35
36
|
CommonModule,
|
|
36
37
|
DraggableModule
|
|
37
|
-
]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
]] });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SplitterModule, decorators: [{
|
|
40
|
+
type: NgModule,
|
|
41
|
+
args: [{
|
|
42
|
+
declarations: [declarations],
|
|
43
|
+
exports: [exportedModules],
|
|
44
|
+
imports: [
|
|
45
|
+
CommonModule,
|
|
46
|
+
DraggableModule
|
|
47
|
+
]
|
|
48
|
+
}]
|
|
49
|
+
}] });
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { NgModule } from '@angular/core';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { StackLayoutComponent } from './layouts/stack-layout.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
const exportedModules = [
|
|
10
|
+
StackLayoutComponent
|
|
11
|
+
];
|
|
12
|
+
const declarations = [
|
|
13
|
+
...exportedModules
|
|
14
|
+
];
|
|
15
|
+
/**
|
|
16
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
17
|
+
* definition for the StackLayout component.
|
|
18
|
+
*/
|
|
19
|
+
export class StackLayoutModule {
|
|
20
|
+
}
|
|
21
|
+
StackLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StackLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
StackLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StackLayoutModule, declarations: [StackLayoutComponent], imports: [CommonModule], exports: [StackLayoutComponent] });
|
|
23
|
+
StackLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StackLayoutModule, imports: [[CommonModule]] });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StackLayoutModule, decorators: [{
|
|
25
|
+
type: NgModule,
|
|
26
|
+
args: [{
|
|
27
|
+
declarations: [declarations],
|
|
28
|
+
exports: [exportedModules],
|
|
29
|
+
imports: [CommonModule]
|
|
30
|
+
}]
|
|
31
|
+
}] });
|