@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
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, HostBinding, Input, Renderer2, ElementRef, isDevMode } from '@angular/core';
|
|
7
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
|
-
import { packageMetadata } from '../package-metadata';
|
|
9
|
-
import { ALIGN_PREFIX, generateGapStyle, generateGridStyle, GRID_JUSTIFY_PREFIX, normalizeGap, VERTICAL_SUFFIX, validateGridLayoutRowsCols } from './util';
|
|
10
|
-
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
|
-
import { isPresent } from '../common/util';
|
|
12
|
-
import { isChanged } from '@progress/kendo-angular-common';
|
|
13
|
-
/**
|
|
14
|
-
* Represents the [Kendo UI GridLayout component for Angular]({% slug overview_gridlayout %}).
|
|
15
|
-
*/
|
|
16
|
-
var GridLayoutComponent = /** @class */ (function () {
|
|
17
|
-
function GridLayoutComponent(renderer, element, localization) {
|
|
18
|
-
this.renderer = renderer;
|
|
19
|
-
this.element = element;
|
|
20
|
-
this.localization = localization;
|
|
21
|
-
this.hostClass = true;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the gaps between the elements. The default value is `0`
|
|
24
|
-
* ([see example]({% slug layout_gridlayout %}#toc-gaps)).
|
|
25
|
-
*/
|
|
26
|
-
this.gap = 0;
|
|
27
|
-
this._align = {
|
|
28
|
-
horizontal: 'stretch',
|
|
29
|
-
vertical: 'stretch'
|
|
30
|
-
};
|
|
31
|
-
validatePackage(packageMetadata);
|
|
32
|
-
}
|
|
33
|
-
Object.defineProperty(GridLayoutComponent.prototype, "dir", {
|
|
34
|
-
get: function () {
|
|
35
|
-
return this.direction;
|
|
36
|
-
},
|
|
37
|
-
enumerable: true,
|
|
38
|
-
configurable: true
|
|
39
|
-
});
|
|
40
|
-
Object.defineProperty(GridLayoutComponent.prototype, "align", {
|
|
41
|
-
get: function () {
|
|
42
|
-
return this._align;
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* Specifies the horizontal and vertical alignment of the inner GridLayout elements
|
|
46
|
-
* ([see example]({% slug layout_gridlayout %}#toc-alignment)).
|
|
47
|
-
*/
|
|
48
|
-
set: function (align) {
|
|
49
|
-
this._align = Object.assign({}, this._align, align);
|
|
50
|
-
this.handleAlignClasses();
|
|
51
|
-
},
|
|
52
|
-
enumerable: true,
|
|
53
|
-
configurable: true
|
|
54
|
-
});
|
|
55
|
-
GridLayoutComponent.prototype.ngAfterViewInit = function () {
|
|
56
|
-
this.handleAlignClasses();
|
|
57
|
-
this.handleGridTemplateStyling('rows');
|
|
58
|
-
this.handleGridTemplateStyling('cols');
|
|
59
|
-
this.setGap();
|
|
60
|
-
};
|
|
61
|
-
GridLayoutComponent.prototype.ngOnChanges = function (changes) {
|
|
62
|
-
if (isChanged('gap', changes)) {
|
|
63
|
-
this.setGap();
|
|
64
|
-
}
|
|
65
|
-
if (isChanged('rows', changes)) {
|
|
66
|
-
this.handleGridTemplateStyling('rows');
|
|
67
|
-
}
|
|
68
|
-
if (isChanged('cols', changes)) {
|
|
69
|
-
this.handleGridTemplateStyling('cols');
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
GridLayoutComponent.prototype.handleAlignClasses = function () {
|
|
73
|
-
var elem = this.element.nativeElement;
|
|
74
|
-
if (isPresent(this.justifyClass)) {
|
|
75
|
-
this.renderer.removeClass(elem, this.justifyClass);
|
|
76
|
-
}
|
|
77
|
-
if (isPresent(this.alignClass)) {
|
|
78
|
-
this.renderer.removeClass(elem, this.alignClass);
|
|
79
|
-
}
|
|
80
|
-
this.justifyClass = GRID_JUSTIFY_PREFIX + "-" + this.align.horizontal;
|
|
81
|
-
this.alignClass = ALIGN_PREFIX + "-" + VERTICAL_SUFFIX[this.align.vertical];
|
|
82
|
-
this.renderer.addClass(elem, this.justifyClass);
|
|
83
|
-
this.renderer.addClass(elem, this.alignClass);
|
|
84
|
-
};
|
|
85
|
-
GridLayoutComponent.prototype.setGap = function () {
|
|
86
|
-
var parsedGap = normalizeGap(this.gap);
|
|
87
|
-
var gapStyle = generateGapStyle(parsedGap);
|
|
88
|
-
this.renderer.setStyle(this.element.nativeElement, 'gap', gapStyle);
|
|
89
|
-
};
|
|
90
|
-
GridLayoutComponent.prototype.handleGridTemplateStyling = function (type) {
|
|
91
|
-
if (!isPresent(this[type])) {
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
var isValid = validateGridLayoutRowsCols(this[type]);
|
|
95
|
-
if (!isValid && isDevMode()) {
|
|
96
|
-
var valueType = type === 'rows' ? 'GridLayoutRowSize' : 'GridLayoutColSize';
|
|
97
|
-
throw new Error("The provided " + type + " value contains invalid elements. The array supports values of type number, string or " + valueType + ".");
|
|
98
|
-
}
|
|
99
|
-
var gridTemplateStyle = type === 'rows' ? 'grid-template-rows' : 'grid-template-columns';
|
|
100
|
-
var gridStyle = generateGridStyle(this[type], type);
|
|
101
|
-
this.renderer.setStyle(this.element.nativeElement, gridTemplateStyle, gridStyle.join(' '));
|
|
102
|
-
};
|
|
103
|
-
Object.defineProperty(GridLayoutComponent.prototype, "direction", {
|
|
104
|
-
get: function () {
|
|
105
|
-
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
106
|
-
},
|
|
107
|
-
enumerable: true,
|
|
108
|
-
configurable: true
|
|
109
|
-
});
|
|
110
|
-
tslib_1.__decorate([
|
|
111
|
-
HostBinding('class.k-grid-layout'),
|
|
112
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
113
|
-
], GridLayoutComponent.prototype, "hostClass", void 0);
|
|
114
|
-
tslib_1.__decorate([
|
|
115
|
-
HostBinding('attr.dir'),
|
|
116
|
-
tslib_1.__metadata("design:type", String),
|
|
117
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
118
|
-
], GridLayoutComponent.prototype, "dir", null);
|
|
119
|
-
tslib_1.__decorate([
|
|
120
|
-
Input(),
|
|
121
|
-
tslib_1.__metadata("design:type", Array)
|
|
122
|
-
], GridLayoutComponent.prototype, "rows", void 0);
|
|
123
|
-
tslib_1.__decorate([
|
|
124
|
-
Input(),
|
|
125
|
-
tslib_1.__metadata("design:type", Array)
|
|
126
|
-
], GridLayoutComponent.prototype, "cols", void 0);
|
|
127
|
-
tslib_1.__decorate([
|
|
128
|
-
Input(),
|
|
129
|
-
tslib_1.__metadata("design:type", Object)
|
|
130
|
-
], GridLayoutComponent.prototype, "gap", void 0);
|
|
131
|
-
tslib_1.__decorate([
|
|
132
|
-
Input(),
|
|
133
|
-
tslib_1.__metadata("design:type", Object),
|
|
134
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
135
|
-
], GridLayoutComponent.prototype, "align", null);
|
|
136
|
-
GridLayoutComponent = tslib_1.__decorate([
|
|
137
|
-
Component({
|
|
138
|
-
exportAs: 'kendoGridLayout',
|
|
139
|
-
selector: 'kendo-gridlayout',
|
|
140
|
-
providers: [
|
|
141
|
-
LocalizationService,
|
|
142
|
-
{
|
|
143
|
-
provide: L10N_PREFIX,
|
|
144
|
-
useValue: 'kendo.gridlayout'
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
template: "\n <ng-content></ng-content>\n "
|
|
148
|
-
}),
|
|
149
|
-
tslib_1.__metadata("design:paramtypes", [Renderer2,
|
|
150
|
-
ElementRef,
|
|
151
|
-
LocalizationService])
|
|
152
|
-
], GridLayoutComponent);
|
|
153
|
-
return GridLayoutComponent;
|
|
154
|
-
}());
|
|
155
|
-
export { GridLayoutComponent };
|
|
@@ -1,52 +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, Input, Renderer2, ElementRef } from '@angular/core';
|
|
7
|
-
var GridLayoutItemComponent = /** @class */ (function () {
|
|
8
|
-
function GridLayoutItemComponent(renderer, element) {
|
|
9
|
-
this.renderer = renderer;
|
|
10
|
-
this.element = element;
|
|
11
|
-
}
|
|
12
|
-
GridLayoutItemComponent.prototype.ngOnInit = function () {
|
|
13
|
-
this.setItemStyle();
|
|
14
|
-
};
|
|
15
|
-
GridLayoutItemComponent.prototype.ngOnChanges = function () {
|
|
16
|
-
this.setItemStyle();
|
|
17
|
-
};
|
|
18
|
-
GridLayoutItemComponent.prototype.setItemStyle = function () {
|
|
19
|
-
var row = this.row || 'auto';
|
|
20
|
-
var col = this.col || 'auto';
|
|
21
|
-
var rowSpan = this.rowSpan ? "span " + this.rowSpan : 'auto';
|
|
22
|
-
var colSpan = this.colSpan ? "span " + this.colSpan : 'auto';
|
|
23
|
-
var gridAreaStyle = row + " / " + col + " / " + rowSpan + " / " + colSpan;
|
|
24
|
-
this.renderer.setStyle(this.element.nativeElement, 'grid-area', gridAreaStyle);
|
|
25
|
-
};
|
|
26
|
-
tslib_1.__decorate([
|
|
27
|
-
Input(),
|
|
28
|
-
tslib_1.__metadata("design:type", Number)
|
|
29
|
-
], GridLayoutItemComponent.prototype, "row", void 0);
|
|
30
|
-
tslib_1.__decorate([
|
|
31
|
-
Input(),
|
|
32
|
-
tslib_1.__metadata("design:type", Number)
|
|
33
|
-
], GridLayoutItemComponent.prototype, "col", void 0);
|
|
34
|
-
tslib_1.__decorate([
|
|
35
|
-
Input(),
|
|
36
|
-
tslib_1.__metadata("design:type", Number)
|
|
37
|
-
], GridLayoutItemComponent.prototype, "rowSpan", void 0);
|
|
38
|
-
tslib_1.__decorate([
|
|
39
|
-
Input(),
|
|
40
|
-
tslib_1.__metadata("design:type", Number)
|
|
41
|
-
], GridLayoutItemComponent.prototype, "colSpan", void 0);
|
|
42
|
-
GridLayoutItemComponent = tslib_1.__decorate([
|
|
43
|
-
Component({
|
|
44
|
-
selector: 'kendo-gridlayout-item',
|
|
45
|
-
template: "\n <ng-content></ng-content>\n "
|
|
46
|
-
}),
|
|
47
|
-
tslib_1.__metadata("design:paramtypes", [Renderer2,
|
|
48
|
-
ElementRef])
|
|
49
|
-
], GridLayoutItemComponent);
|
|
50
|
-
return GridLayoutItemComponent;
|
|
51
|
-
}());
|
|
52
|
-
export { GridLayoutItemComponent };
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, HostBinding, Input, Renderer2, ElementRef } from '@angular/core';
|
|
7
|
-
import { VERTICAL_SUFFIX, ALIGN_PREFIX, JUSTIFY_PREFIX } from './util';
|
|
8
|
-
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { isNumber, isPresent } from '../common/util';
|
|
10
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
|
-
import { packageMetadata } from '../package-metadata';
|
|
12
|
-
import { isChanged } from '@progress/kendo-angular-common';
|
|
13
|
-
/**
|
|
14
|
-
* Represents the [Kendo UI StackLayout component for Angular]({% slug overview_stacklayout %}).
|
|
15
|
-
*/
|
|
16
|
-
var StackLayoutComponent = /** @class */ (function () {
|
|
17
|
-
function StackLayoutComponent(renderer, element, localization) {
|
|
18
|
-
this.renderer = renderer;
|
|
19
|
-
this.element = element;
|
|
20
|
-
this.localization = localization;
|
|
21
|
-
this.hostClass = true;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the gap between the inner StackLayout elements. The default value is `0`
|
|
24
|
-
* ([see example]({% slug layout_stacklayout %}#toc-gaps)).
|
|
25
|
-
*/
|
|
26
|
-
this.gap = 0;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the orientation of the StackLayout
|
|
29
|
-
* ([see example]({% slug layout_stacklayout %}#toc-orientation)).
|
|
30
|
-
*
|
|
31
|
-
* The possible values are:
|
|
32
|
-
* (Default) `horizontal`
|
|
33
|
-
* `vertical`
|
|
34
|
-
*/
|
|
35
|
-
this.orientation = 'horizontal';
|
|
36
|
-
this._align = {
|
|
37
|
-
horizontal: 'stretch',
|
|
38
|
-
vertical: 'stretch'
|
|
39
|
-
};
|
|
40
|
-
validatePackage(packageMetadata);
|
|
41
|
-
}
|
|
42
|
-
Object.defineProperty(StackLayoutComponent.prototype, "horizontalClass", {
|
|
43
|
-
get: function () {
|
|
44
|
-
return this.orientation === 'horizontal';
|
|
45
|
-
},
|
|
46
|
-
enumerable: true,
|
|
47
|
-
configurable: true
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(StackLayoutComponent.prototype, "verticalClass", {
|
|
50
|
-
get: function () {
|
|
51
|
-
return this.orientation === 'vertical';
|
|
52
|
-
},
|
|
53
|
-
enumerable: true,
|
|
54
|
-
configurable: true
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(StackLayoutComponent.prototype, "dir", {
|
|
57
|
-
get: function () {
|
|
58
|
-
return this.direction;
|
|
59
|
-
},
|
|
60
|
-
enumerable: true,
|
|
61
|
-
configurable: true
|
|
62
|
-
});
|
|
63
|
-
Object.defineProperty(StackLayoutComponent.prototype, "align", {
|
|
64
|
-
get: function () {
|
|
65
|
-
return this._align;
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* Specifies the horizontal and vertical alignment of the inner StackLayout elements
|
|
69
|
-
* ([see example]({% slug layout_stacklayout %}#toc-alignment)).
|
|
70
|
-
*/
|
|
71
|
-
set: function (align) {
|
|
72
|
-
this._align = Object.assign({}, this._align, align);
|
|
73
|
-
this.handleAlignClasses();
|
|
74
|
-
},
|
|
75
|
-
enumerable: true,
|
|
76
|
-
configurable: true
|
|
77
|
-
});
|
|
78
|
-
StackLayoutComponent.prototype.ngAfterViewInit = function () {
|
|
79
|
-
this.handleAlignClasses();
|
|
80
|
-
this.setGap();
|
|
81
|
-
};
|
|
82
|
-
StackLayoutComponent.prototype.ngOnChanges = function (changes) {
|
|
83
|
-
if (isChanged('gap', changes)) {
|
|
84
|
-
this.setGap();
|
|
85
|
-
}
|
|
86
|
-
if (isChanged('orientation', changes)) {
|
|
87
|
-
this.handleAlignClasses();
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
StackLayoutComponent.prototype.handleAlignClasses = function () {
|
|
91
|
-
var elem = this.element.nativeElement;
|
|
92
|
-
if (isPresent(this.justifyClass)) {
|
|
93
|
-
this.renderer.removeClass(elem, this.justifyClass);
|
|
94
|
-
}
|
|
95
|
-
if (isPresent(this.alignClass)) {
|
|
96
|
-
this.renderer.removeClass(elem, this.alignClass);
|
|
97
|
-
}
|
|
98
|
-
if (this.orientation === 'horizontal') {
|
|
99
|
-
this.justifyClass = JUSTIFY_PREFIX + "-" + this.align.horizontal;
|
|
100
|
-
this.alignClass = ALIGN_PREFIX + "-" + VERTICAL_SUFFIX[this.align.vertical];
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
this.justifyClass = JUSTIFY_PREFIX + "-" + VERTICAL_SUFFIX[this.align.vertical];
|
|
104
|
-
this.alignClass = ALIGN_PREFIX + "-" + this.align.horizontal;
|
|
105
|
-
}
|
|
106
|
-
this.renderer.addClass(elem, this.justifyClass);
|
|
107
|
-
this.renderer.addClass(elem, this.alignClass);
|
|
108
|
-
};
|
|
109
|
-
StackLayoutComponent.prototype.setGap = function () {
|
|
110
|
-
var parsedGap = isNumber(this.gap) ? this.gap + "px" : this.gap;
|
|
111
|
-
this.renderer.setStyle(this.element.nativeElement, 'gap', parsedGap);
|
|
112
|
-
};
|
|
113
|
-
Object.defineProperty(StackLayoutComponent.prototype, "direction", {
|
|
114
|
-
get: function () {
|
|
115
|
-
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
116
|
-
},
|
|
117
|
-
enumerable: true,
|
|
118
|
-
configurable: true
|
|
119
|
-
});
|
|
120
|
-
tslib_1.__decorate([
|
|
121
|
-
HostBinding('class.k-stack-layout'),
|
|
122
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
123
|
-
], StackLayoutComponent.prototype, "hostClass", void 0);
|
|
124
|
-
tslib_1.__decorate([
|
|
125
|
-
HostBinding('class.k-hstack'),
|
|
126
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
127
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
128
|
-
], StackLayoutComponent.prototype, "horizontalClass", null);
|
|
129
|
-
tslib_1.__decorate([
|
|
130
|
-
HostBinding('class.k-vstack'),
|
|
131
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
132
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
133
|
-
], StackLayoutComponent.prototype, "verticalClass", null);
|
|
134
|
-
tslib_1.__decorate([
|
|
135
|
-
HostBinding('attr.dir'),
|
|
136
|
-
tslib_1.__metadata("design:type", String),
|
|
137
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
138
|
-
], StackLayoutComponent.prototype, "dir", null);
|
|
139
|
-
tslib_1.__decorate([
|
|
140
|
-
Input(),
|
|
141
|
-
tslib_1.__metadata("design:type", Object),
|
|
142
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
143
|
-
], StackLayoutComponent.prototype, "align", null);
|
|
144
|
-
tslib_1.__decorate([
|
|
145
|
-
Input(),
|
|
146
|
-
tslib_1.__metadata("design:type", Object)
|
|
147
|
-
], StackLayoutComponent.prototype, "gap", void 0);
|
|
148
|
-
tslib_1.__decorate([
|
|
149
|
-
Input(),
|
|
150
|
-
tslib_1.__metadata("design:type", String)
|
|
151
|
-
], StackLayoutComponent.prototype, "orientation", void 0);
|
|
152
|
-
StackLayoutComponent = tslib_1.__decorate([
|
|
153
|
-
Component({
|
|
154
|
-
exportAs: 'kendoStackLayout',
|
|
155
|
-
selector: 'kendo-stacklayout',
|
|
156
|
-
providers: [
|
|
157
|
-
LocalizationService,
|
|
158
|
-
{
|
|
159
|
-
provide: L10N_PREFIX,
|
|
160
|
-
useValue: 'kendo.stacklayout'
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
template: "\n <ng-content></ng-content>\n "
|
|
164
|
-
}),
|
|
165
|
-
tslib_1.__metadata("design:paramtypes", [Renderer2,
|
|
166
|
-
ElementRef,
|
|
167
|
-
LocalizationService])
|
|
168
|
-
], StackLayoutComponent);
|
|
169
|
-
return StackLayoutComponent;
|
|
170
|
-
}());
|
|
171
|
-
export { StackLayoutComponent };
|
package/dist/es/layouts/util.js
DELETED
|
@@ -1,102 +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 VERTICAL_SUFFIX = {
|
|
9
|
-
top: 'start',
|
|
10
|
-
middle: 'center',
|
|
11
|
-
bottom: 'end',
|
|
12
|
-
stretch: 'stretch'
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export var JUSTIFY_PREFIX = "k-justify-content";
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export var GRID_JUSTIFY_PREFIX = "k-justify-items";
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export var ALIGN_PREFIX = "k-align-items";
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export var normalizeGap = function (gap) {
|
|
30
|
-
if (typeof gap === 'number' || typeof gap === 'string') {
|
|
31
|
-
return { cols: gap, rows: gap };
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
var parsedGap = {};
|
|
35
|
-
parsedGap.rows = gap.rows ? gap.rows : 0;
|
|
36
|
-
parsedGap.cols = gap.cols ? gap.cols : 0;
|
|
37
|
-
return parsedGap;
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
export var generateGapStyle = function (gap) {
|
|
44
|
-
if (gap.rows === gap.cols) {
|
|
45
|
-
return typeof gap.rows === 'number' ? gap.rows + "px" : gap.rows;
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
var rowStyle = "" + (typeof gap.rows === 'number' ? gap.rows + 'px' : gap.rows);
|
|
49
|
-
var colStyle = "" + (typeof gap.cols === 'number' ? gap.cols + 'px' : gap.cols);
|
|
50
|
-
return rowStyle + " " + colStyle;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* @hidden
|
|
55
|
-
*/
|
|
56
|
-
export var generateGridStyle = function (items, itemType) {
|
|
57
|
-
var styling = [];
|
|
58
|
-
items.forEach(function (item) {
|
|
59
|
-
if (typeof item === 'number') {
|
|
60
|
-
styling.push(item + "px");
|
|
61
|
-
}
|
|
62
|
-
else if (typeof item === 'string') {
|
|
63
|
-
styling.push(item);
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
if (itemType === 'rows') {
|
|
67
|
-
var rowHeight = item.height;
|
|
68
|
-
if (rowHeight) {
|
|
69
|
-
styling.push(typeof rowHeight === 'number' ? rowHeight + "px" : rowHeight);
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
styling.push('0px');
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
var colWidth = item.width;
|
|
77
|
-
if (colWidth) {
|
|
78
|
-
styling.push(typeof colWidth === 'number' ? colWidth + "px" : colWidth);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
styling.push('0px');
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
return styling;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* @hidden
|
|
90
|
-
*/
|
|
91
|
-
export var validateGridLayoutRowsCols = function (arr) {
|
|
92
|
-
for (var _i = 0, arr_1 = arr; _i < arr_1.length; _i++) {
|
|
93
|
-
var el = arr_1[_i];
|
|
94
|
-
var isNum = typeof el === 'number';
|
|
95
|
-
var isStr = typeof el === 'string';
|
|
96
|
-
var isObject = typeof el === 'object' && el !== null;
|
|
97
|
-
if (!isNum && !isStr && !isObject) {
|
|
98
|
-
return false;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return true;
|
|
102
|
-
};
|
|
@@ -1,15 +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 packageMetadata = {
|
|
9
|
-
name: '@progress/kendo-angular-layout',
|
|
10
|
-
productName: 'Kendo UI for Angular',
|
|
11
|
-
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate: 1647343533,
|
|
13
|
-
version: '',
|
|
14
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
|
-
};
|
|
@@ -1,23 +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 declaratively initialized PanelBar items.
|
|
9
|
-
* The content can be expanded or collapsed through the item.
|
|
10
|
-
*/
|
|
11
|
-
var PanelBarContentDirective = /** @class */ (function () {
|
|
12
|
-
function PanelBarContentDirective(templateRef) {
|
|
13
|
-
this.templateRef = templateRef;
|
|
14
|
-
}
|
|
15
|
-
PanelBarContentDirective = tslib_1.__decorate([
|
|
16
|
-
Directive({
|
|
17
|
-
selector: "[kendoPanelBarContent]"
|
|
18
|
-
}),
|
|
19
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
20
|
-
], PanelBarContentDirective);
|
|
21
|
-
return PanelBarContentDirective;
|
|
22
|
-
}());
|
|
23
|
-
export { PanelBarContentDirective };
|
|
@@ -1,23 +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, Optional } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the template directive of the PanelBar which helps to customize the item content.
|
|
9
|
-
*/
|
|
10
|
-
var PanelBarItemTemplateDirective = /** @class */ (function () {
|
|
11
|
-
function PanelBarItemTemplateDirective(templateRef) {
|
|
12
|
-
this.templateRef = templateRef;
|
|
13
|
-
}
|
|
14
|
-
PanelBarItemTemplateDirective = tslib_1.__decorate([
|
|
15
|
-
Directive({
|
|
16
|
-
selector: '[kendoPanelBarItemTemplate]'
|
|
17
|
-
}),
|
|
18
|
-
tslib_1.__param(0, Optional()),
|
|
19
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
20
|
-
], PanelBarItemTemplateDirective);
|
|
21
|
-
return PanelBarItemTemplateDirective;
|
|
22
|
-
}());
|
|
23
|
-
export { PanelBarItemTemplateDirective };
|
|
@@ -1,46 +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, Optional } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the template directive of the PanelBar which helps to customize the item title
|
|
9
|
-
* ([more information and example]({% slug templates_panelbar %}#toc-customizing-the-appearance-of-the-title)).
|
|
10
|
-
*
|
|
11
|
-
* > The `kendoPanelBarItemTitle` directive overrides the PanelBarItem [title]({% slug api_layout_panelbaritemcomponent %}#toc-title) option.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts-preview
|
|
15
|
-
*
|
|
16
|
-
* _@Component({
|
|
17
|
-
* selector: 'my-app',
|
|
18
|
-
* template: `
|
|
19
|
-
* <kendo-panelbar>
|
|
20
|
-
* <kendo-panelbar-item [expanded]="true">
|
|
21
|
-
* <ng-template kendoPanelBarItemTitle>
|
|
22
|
-
* Item Title
|
|
23
|
-
* </ng-template>
|
|
24
|
-
* </kendo-panelbar-item>
|
|
25
|
-
* </kendo-panelbar>
|
|
26
|
-
* `
|
|
27
|
-
* })
|
|
28
|
-
*
|
|
29
|
-
* class AppComponent {}
|
|
30
|
-
*
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
var PanelBarItemTitleDirective = /** @class */ (function () {
|
|
34
|
-
function PanelBarItemTitleDirective(templateRef) {
|
|
35
|
-
this.templateRef = templateRef;
|
|
36
|
-
}
|
|
37
|
-
PanelBarItemTitleDirective = tslib_1.__decorate([
|
|
38
|
-
Directive({
|
|
39
|
-
selector: '[kendoPanelBarItemTitle]'
|
|
40
|
-
}),
|
|
41
|
-
tslib_1.__param(0, Optional()),
|
|
42
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
43
|
-
], PanelBarItemTitleDirective);
|
|
44
|
-
return PanelBarItemTitleDirective;
|
|
45
|
-
}());
|
|
46
|
-
export { PanelBarItemTitleDirective };
|