@progress/kendo-angular-layout 6.5.2 → 7.0.0-next.202203231147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es2015/avatar → avatar}/avatar.component.d.ts +18 -11
- package/{dist/es2015/avatar → avatar}/models/fill.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/models.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/rounded.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/shape.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/size.d.ts +0 -0
- package/{dist/es2015/avatar → avatar}/models/theme-color.d.ts +0 -0
- package/{dist/es2015/avatar.module.d.ts → avatar.module.d.ts} +6 -0
- package/bundles/kendo-angular-layout.umd.js +5 -0
- package/{dist/es2015/card → card}/card-actions.component.d.ts +16 -9
- package/{dist/es2015/card → card}/card-body.component.d.ts +3 -0
- package/{dist/es2015/card → card}/card-footer.component.d.ts +3 -0
- package/{dist/es2015/card → card}/card-header.component.d.ts +3 -0
- package/{dist/es2015/card → card}/card.component.d.ts +6 -3
- package/{dist/es2015/card → card}/directives/card-media.directive.d.ts +3 -0
- package/{dist/es2015/card → card}/directives/card-separator.directive.d.ts +5 -2
- package/{dist/es2015/card → card}/directives/card-subtitle.directive.d.ts +3 -0
- package/{dist/es2015/card → card}/directives/card-title.directive.d.ts +3 -0
- package/{dist/es2015/card → card}/models/actions-layout.d.ts +0 -0
- package/{dist/es2015/card → card}/models/card-action.d.ts +0 -0
- package/card.module.d.ts +24 -0
- package/{dist/es2015/common → common}/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
- package/{dist/es2015/common → common}/orientation.d.ts +0 -0
- package/{dist/es2015/common → common}/styling-classes.d.ts +0 -0
- package/{dist/es2015/common → common}/util.d.ts +4 -4
- package/{dist/es2015/drawer → drawer}/animations.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/drawer-container.component.d.ts +9 -6
- package/{dist/es2015/drawer → drawer}/drawer-content.component.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/drawer.component.d.ts +17 -8
- package/{dist/es2015/drawer → drawer}/drawer.service.d.ts +3 -1
- package/drawer/events/drawer-list-select.event.d.ts +26 -0
- package/{dist/es2015/drawer → drawer}/events/select-event.d.ts +6 -2
- package/{dist/es2015/drawer → drawer}/item.component.d.ts +7 -4
- package/{dist/es2015/drawer → drawer}/list.component.d.ts +6 -1
- package/{dist/es2015/drawer → drawer}/models/constants.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/models/drawer-animation.interface.d.ts +1 -1
- package/{dist/es2015/drawer → drawer}/models/drawer-item.interface.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/models/mode.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/models/position.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/template-directives/drawer-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives/footer-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives/header-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives/item-template.directive.d.ts +3 -0
- package/{dist/es2015/drawer → drawer}/template-directives.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/types.d.ts +0 -0
- package/{dist/es2015/drawer → drawer}/util.d.ts +0 -0
- package/drawer.module.d.ts +24 -0
- package/{dist/es2015 → esm2015}/avatar/avatar.component.js +73 -98
- package/{dist/es → esm2015}/avatar/models/fill.js +1 -0
- package/{dist/es/layouts → esm2015/avatar/models}/models.js +5 -0
- package/{dist/es2015 → esm2015}/avatar/models/rounded.js +1 -0
- package/{dist/es2015 → esm2015}/avatar/models/shape.js +1 -0
- package/{dist/es → esm2015}/avatar/models/size.js +1 -0
- package/{dist/es → esm2015}/avatar/models/theme-color.js +1 -0
- package/esm2015/avatar.module.js +31 -0
- package/esm2015/card/card-actions.component.js +145 -0
- package/esm2015/card/card-body.component.js +30 -0
- package/esm2015/card/card-footer.component.js +30 -0
- package/esm2015/card/card-header.component.js +30 -0
- package/esm2015/card/card.component.js +101 -0
- package/esm2015/card/directives/card-media.directive.js +25 -0
- package/esm2015/card/directives/card-separator.directive.js +52 -0
- package/esm2015/card/directives/card-subtitle.directive.js +25 -0
- package/esm2015/card/directives/card-title.directive.js +25 -0
- package/{dist/es → esm2015}/card/models/actions-layout.js +1 -0
- package/{dist/es2015 → esm2015}/card/models/card-action.js +0 -0
- package/{dist/es2015 → esm2015}/card.module.js +28 -11
- package/{dist/es → esm2015}/common/direction.js +1 -0
- package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -3
- package/{dist/es → esm2015}/common/orientation.js +1 -0
- package/{dist/es → esm2015}/common/styling-classes.js +1 -0
- package/{dist/es2015 → esm2015}/common/util.js +4 -6
- package/{dist/es2015 → esm2015}/drawer/animations.js +0 -0
- package/esm2015/drawer/drawer-container.component.js +109 -0
- package/esm2015/drawer/drawer-content.component.js +31 -0
- package/{dist/es2015 → esm2015}/drawer/drawer.component.js +124 -124
- package/{dist/es2015 → esm2015}/drawer/drawer.service.js +8 -20
- package/esm2015/drawer/events/drawer-list-select.event.js +17 -0
- package/{dist/es2015 → esm2015}/drawer/events/select-event.js +8 -1
- package/esm2015/drawer/item.component.js +121 -0
- package/{dist/es2015 → esm2015}/drawer/list.component.js +32 -34
- package/{dist/es2015 → esm2015}/drawer/models/constants.js +0 -0
- package/{dist/es → esm2015}/drawer/models/drawer-animation.interface.js +1 -0
- package/{dist/es → esm2015}/drawer/models/drawer-item.interface.js +1 -0
- package/{dist/es → esm2015}/drawer/models/mode.js +1 -0
- package/{dist/es → esm2015}/drawer/models/position.js +1 -0
- package/esm2015/drawer/template-directives/drawer-template.directive.js +28 -0
- package/esm2015/drawer/template-directives/footer-template.directive.js +26 -0
- package/esm2015/drawer/template-directives/header-template.directive.js +26 -0
- package/esm2015/drawer/template-directives/item-template.directive.js +26 -0
- package/{dist/es → esm2015}/drawer/template-directives.js +0 -0
- package/{dist/es → esm2015}/drawer/types.js +1 -0
- package/{dist/es2015 → esm2015}/drawer/util.js +0 -0
- package/{dist/es2015 → esm2015}/drawer.module.js +25 -11
- package/{dist/es2015 → esm2015}/expansionpanel/animations.js +0 -0
- package/{dist/es2015 → esm2015}/expansionpanel/events/action-event.js +8 -1
- package/esm2015/expansionpanel/expansionpanel-title.directive.js +27 -0
- package/{dist/es2015 → esm2015}/expansionpanel/expansionpanel.component.js +112 -119
- package/esm2015/expansionpanel.module.js +36 -0
- package/esm2015/gridlayout.module.js +35 -0
- package/esm2015/kendo-angular-layout.js +8 -0
- package/{dist/es2015 → esm2015}/layout.module.js +44 -21
- package/{dist/es2015 → esm2015}/layouts/grid-layout.component.js +44 -48
- package/esm2015/layouts/gridlayout-item.component.js +47 -0
- package/{dist/es → esm2015}/layouts/models/gridlayout-gap-settings.js +1 -0
- package/{dist/es → esm2015}/layouts/models/gridlayout-row-col-size.js +1 -0
- package/{dist/es → esm2015}/layouts/models/layout-align-settings.js +1 -0
- package/{dist/es → esm2015}/layouts/models/layout-horizontal-align.js +1 -0
- package/{dist/es → esm2015}/layouts/models/layout-vertical-align.js +1 -0
- package/{dist/es2015/layouts/models.d.ts → esm2015/layouts/models.js} +0 -0
- package/{dist/es2015 → esm2015}/layouts/stack-layout.component.js +48 -54
- package/{dist/es2015 → esm2015}/layouts/util.js +0 -0
- package/{dist/es → esm2015}/main.js +4 -0
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/esm2015/panelbar/panelbar-content.directive.js +23 -0
- package/{dist/es → esm2015}/panelbar/panelbar-expand-mode.js +0 -0
- package/{dist/es → esm2015}/panelbar/panelbar-item-model.js +1 -0
- package/esm2015/panelbar/panelbar-item-template.directive.js +24 -0
- package/{dist/es2015 → esm2015}/panelbar/panelbar-item-title.directive.js +14 -12
- package/{dist/es2015 → esm2015}/panelbar/panelbar-item.component.js +218 -158
- package/{dist/es2015 → esm2015}/panelbar/panelbar.component.js +116 -131
- package/{dist/es2015 → esm2015}/panelbar/panelbar.service.js +8 -8
- package/{dist/es2015 → esm2015}/panelbar.module.js +22 -11
- package/{dist/es2015 → esm2015}/splitter/splitter-bar.component.js +60 -81
- package/{dist/es2015 → esm2015}/splitter/splitter-pane.component.js +53 -84
- package/{dist/es2015 → esm2015}/splitter/splitter.component.js +84 -69
- package/{dist/es2015 → esm2015}/splitter/splitter.service.js +9 -9
- package/{dist/es2015 → esm2015}/splitter.module.js +21 -12
- package/esm2015/stacklayout.module.js +31 -0
- package/{dist/es2015 → esm2015}/stepper/events/activate-event.js +8 -1
- package/esm2015/stepper/list.component.js +145 -0
- package/esm2015/stepper/localization/custom-messages.component.js +41 -0
- package/esm2015/stepper/localization/localized-messages.directive.js +38 -0
- package/esm2015/stepper/localization/messages.js +23 -0
- package/{dist/es2015 → esm2015}/stepper/models/constants.js +0 -0
- package/{dist/es → esm2015}/stepper/models/orientation.js +1 -0
- package/{dist/es → esm2015}/stepper/models/step-predicate.js +1 -0
- package/{dist/es → esm2015}/stepper/models/step-type.js +1 -0
- package/{dist/es → esm2015}/stepper/models/stepper-step.interface.js +1 -0
- package/{dist/es2015 → esm2015}/stepper/step.component.js +88 -66
- package/{dist/es2015 → esm2015}/stepper/stepper.component.js +141 -103
- package/{dist/es2015 → esm2015}/stepper/stepper.service.js +25 -14
- package/esm2015/stepper/template-directives/indicator-template.directive.js +26 -0
- package/esm2015/stepper/template-directives/label-template.directive.js +26 -0
- package/esm2015/stepper/template-directives/step-template.directive.js +26 -0
- package/{dist/es → esm2015}/stepper/template-directives.js +0 -0
- package/{dist/es → esm2015}/stepper/types.js +1 -0
- package/{dist/es2015 → esm2015}/stepper.module.js +22 -11
- package/{dist/es2015 → esm2015}/tabstrip/constants.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip/directives/tab-content.directive.js +12 -11
- package/{dist/es2015 → esm2015}/tabstrip/directives/tab-title.directive.js +12 -11
- package/{dist/es2015 → esm2015}/tabstrip/events/select-event.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip/events/tabclose-event.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip/events/tabscroll-event.js +8 -1
- package/{dist/es → esm2015}/tabstrip/events.js +0 -0
- package/esm2015/tabstrip/localization/custom-messages.component.js +41 -0
- package/esm2015/tabstrip/localization/localized-messages.directive.js +36 -0
- package/esm2015/tabstrip/localization/messages.js +23 -0
- package/{dist/es → esm2015}/tabstrip/models/button-state-change.js +1 -0
- package/{dist/es/avatar/models/models.js → esm2015/tabstrip/models/scroll-button-type.js} +1 -0
- package/{dist/es → esm2015}/tabstrip/models/scroll-buttons-visibility.js +1 -0
- package/{dist/es2015 → esm2015}/tabstrip/models/scrollable-settings.js +0 -2
- package/{dist/es → esm2015}/tabstrip/models/tab-alignment.js +1 -0
- package/{dist/es → esm2015}/tabstrip/models/tab-position.js +1 -0
- package/esm2015/tabstrip/models/tabstrip-tab.component.js +65 -0
- package/esm2015/tabstrip/rendering/tab.component.js +123 -0
- package/esm2015/tabstrip/scrollable-button.component.js +123 -0
- package/{dist/es2015 → esm2015}/tabstrip/tabstrip-scroll.service.js +16 -36
- package/{dist/es2015 → esm2015}/tabstrip/tabstrip.component.js +237 -149
- package/{dist/es2015 → esm2015}/tabstrip/tabstrip.service.js +11 -16
- package/{dist/es2015 → esm2015}/tabstrip/util.js +0 -0
- package/{dist/es2015 → esm2015}/tabstrip.module.js +26 -11
- package/{dist/es2015 → esm2015}/tilelayout/constants.js +0 -0
- package/{dist/es2015 → esm2015}/tilelayout/dragging-service.js +10 -12
- package/{dist/es → esm2015}/tilelayout/models/dragging-config.interface.js +1 -0
- package/{dist/es → esm2015}/tilelayout/models/flowmode.type.js +1 -0
- package/{dist/es → esm2015}/tilelayout/models/gap.interface.js +1 -0
- package/{dist/es2015 → esm2015}/tilelayout/reorder-event.js +1 -1
- package/{dist/es2015 → esm2015}/tilelayout/resize-event.js +1 -1
- package/esm2015/tilelayout/tilelayout-item-body.component.js +37 -0
- package/esm2015/tilelayout/tilelayout-item-header.component.js +52 -0
- package/{dist/es2015 → esm2015}/tilelayout/tilelayout-item.component.js +81 -76
- package/{dist/es2015 → esm2015}/tilelayout/tilelayout-resize-handle.directive.js +16 -20
- package/{dist/es2015 → esm2015}/tilelayout/tilelayout.component.js +79 -84
- package/{dist/es2015 → esm2015}/tilelayout/util.js +0 -0
- package/{dist/es2015 → esm2015}/tilelayout.module.js +22 -11
- package/{dist/es2015/expansionpanel → expansionpanel}/animations.d.ts +0 -0
- package/{dist/es2015/expansionpanel → expansionpanel}/events/action-event.d.ts +5 -1
- package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel-title.directive.d.ts +3 -0
- package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel.component.d.ts +9 -5
- package/expansionpanel.module.d.ts +18 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-layout.js} +5166 -4888
- package/gridlayout.module.d.ts +17 -0
- package/{dist/es/stepper/models/constants.js → kendo-angular-layout.d.ts} +3 -2
- package/{dist/es2015/layout.module.d.ts → layout.module.d.ts} +15 -0
- package/{dist/es2015/layouts → layouts}/grid-layout.component.d.ts +7 -3
- package/{dist/es2015/layouts → layouts}/gridlayout-item.component.d.ts +3 -0
- package/{dist/es2015/layouts → layouts}/models/gridlayout-gap-settings.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/gridlayout-row-col-size.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/layout-align-settings.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/layout-horizontal-align.d.ts +0 -0
- package/{dist/es2015/layouts → layouts}/models/layout-vertical-align.d.ts +0 -0
- package/{dist/es/avatar/models/shape.js → layouts/models.d.ts} +6 -0
- package/{dist/es2015/layouts → layouts}/stack-layout.component.d.ts +9 -5
- package/{dist/es2015/layouts → layouts}/util.d.ts +3 -3
- package/{dist/es2015/main.d.ts → main.d.ts} +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +43 -131
- package/{dist/es2015/panelbar → panelbar}/panelbar-content.directive.d.ts +3 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-expand-mode.d.ts +0 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item-model.d.ts +0 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item-template.directive.d.ts +3 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item-title.directive.d.ts +3 -0
- package/{dist/es2015/panelbar → panelbar}/panelbar-item.component.d.ts +17 -13
- package/{dist/es2015/panelbar → panelbar}/panelbar.component.d.ts +13 -8
- package/{dist/es2015/panelbar → panelbar}/panelbar.service.d.ts +3 -0
- package/panelbar.module.d.ts +27 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/splitter → splitter}/splitter-bar.component.d.ts +8 -5
- package/{dist/es2015/splitter → splitter}/splitter-pane.component.d.ts +13 -8
- package/{dist/es2015/splitter → splitter}/splitter.component.d.ts +9 -6
- package/{dist/es2015/splitter → splitter}/splitter.service.d.ts +3 -0
- package/splitter.module.d.ts +23 -0
- package/{dist/es2015/stacklayout.module.d.ts → stacklayout.module.d.ts} +6 -0
- package/{dist/es2015/stepper → stepper}/events/activate-event.d.ts +6 -2
- package/{dist/es2015/stepper → stepper}/list.component.d.ts +9 -6
- package/{dist/es2015/stepper → stepper}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/stepper → stepper}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/localization/messages.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/models/constants.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/orientation.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/step-predicate.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/step-type.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/models/stepper-step.interface.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/step.component.d.ts +16 -13
- package/{dist/es2015/stepper → stepper}/stepper.component.d.ts +22 -9
- package/{dist/es2015/stepper → stepper}/stepper.service.d.ts +6 -4
- package/{dist/es2015/stepper → stepper}/template-directives/indicator-template.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/template-directives/label-template.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/template-directives/step-template.directive.d.ts +3 -0
- package/{dist/es2015/stepper → stepper}/template-directives.d.ts +0 -0
- package/{dist/es2015/stepper → stepper}/types.d.ts +0 -0
- package/stepper.module.d.ts +24 -0
- package/{dist/es2015/tabstrip → tabstrip}/constants.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/directives/tab-content.directive.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/directives/tab-title.directive.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/events/select-event.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/events/tabclose-event.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/events/tabscroll-event.d.ts +5 -1
- package/{dist/es2015/tabstrip → tabstrip}/events.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/tabstrip → tabstrip}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/localization/messages.d.ts +3 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/button-state-change.d.ts +0 -0
- package/{dist/es/drawer/models/constants.js → tabstrip/models/scroll-button-type.d.ts} +1 -1
- package/{dist/es2015/tabstrip → tabstrip}/models/scroll-buttons-visibility.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/scrollable-settings.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/tab-alignment.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/tab-position.d.ts +0 -0
- package/{dist/es2015/tabstrip → tabstrip}/models/tabstrip-tab.component.d.ts +5 -2
- package/tabstrip/rendering/tab.component.d.ts +32 -0
- package/tabstrip/scrollable-button.component.d.ts +38 -0
- package/{dist/es2015/tabstrip → tabstrip}/tabstrip-scroll.service.d.ts +9 -11
- package/{dist/es2015/tabstrip → tabstrip}/tabstrip.component.d.ts +25 -15
- package/{dist/es2015/tabstrip → tabstrip}/tabstrip.service.d.ts +3 -1
- package/{dist/es2015/tabstrip → tabstrip}/util.d.ts +0 -0
- package/tabstrip.module.d.ts +30 -0
- package/{dist/es2015/tilelayout → tilelayout}/constants.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/dragging-service.d.ts +7 -4
- package/{dist/es2015/tilelayout → tilelayout}/models/dragging-config.interface.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/models/flowmode.type.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/models/gap.interface.d.ts +0 -0
- package/{dist/es2015/tilelayout → tilelayout}/reorder-event.d.ts +1 -1
- package/{dist/es2015/tilelayout → tilelayout}/resize-event.d.ts +1 -1
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-body.component.d.ts +3 -0
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-header.component.d.ts +11 -5
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item.component.d.ts +14 -5
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout-resize-handle.directive.d.ts +3 -0
- package/{dist/es2015/tilelayout → tilelayout}/tilelayout.component.d.ts +10 -6
- package/{dist/es2015/tilelayout → tilelayout}/util.d.ts +0 -0
- package/tilelayout.module.d.ts +26 -0
- package/dist/cdn/js/kendo-angular-layout.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/avatar/avatar.component.js +0 -357
- package/dist/es/avatar/models/rounded.js +0 -4
- package/dist/es/avatar.module.js +0 -29
- package/dist/es/card/card-actions.component.js +0 -151
- package/dist/es/card/card-body.component.js +0 -26
- package/dist/es/card/card-footer.component.js +0 -26
- package/dist/es/card/card-header.component.js +0 -26
- package/dist/es/card/card.component.js +0 -114
- package/dist/es/card/directives/card-media.directive.js +0 -25
- package/dist/es/card/directives/card-separator.directive.js +0 -66
- package/dist/es/card/directives/card-subtitle.directive.js +0 -25
- package/dist/es/card/directives/card-title.directive.js +0 -25
- package/dist/es/card/models/card-action.js +0 -13
- package/dist/es/card.module.js +0 -47
- package/dist/es/common/dom-queries.js +0 -52
- package/dist/es/common/preventable-event.js +0 -36
- package/dist/es/common/util.js +0 -91
- package/dist/es/drawer/animations.js +0 -146
- package/dist/es/drawer/drawer-container.component.js +0 -133
- package/dist/es/drawer/drawer-content.component.js +0 -28
- package/dist/es/drawer/drawer.component.js +0 -405
- package/dist/es/drawer/drawer.service.js +0 -45
- package/dist/es/drawer/events/select-event.js +0 -17
- package/dist/es/drawer/item.component.js +0 -123
- package/dist/es/drawer/list.component.js +0 -119
- package/dist/es/drawer/template-directives/drawer-template.directive.js +0 -27
- package/dist/es/drawer/template-directives/footer-template.directive.js +0 -25
- package/dist/es/drawer/template-directives/header-template.directive.js +0 -25
- package/dist/es/drawer/template-directives/item-template.directive.js +0 -25
- package/dist/es/drawer/util.js +0 -16
- package/dist/es/drawer.module.js +0 -45
- package/dist/es/expansionpanel/animations.js +0 -23
- package/dist/es/expansionpanel/events/action-event.js +0 -17
- package/dist/es/expansionpanel/expansionpanel-title.directive.js +0 -26
- package/dist/es/expansionpanel/expansionpanel.component.js +0 -441
- package/dist/es/expansionpanel.module.js +0 -32
- package/dist/es/gridlayout.module.js +0 -31
- package/dist/es/index.js +0 -29
- package/dist/es/layout.module.js +0 -71
- package/dist/es/layouts/grid-layout.component.js +0 -155
- package/dist/es/layouts/gridlayout-item.component.js +0 -52
- package/dist/es/layouts/stack-layout.component.js +0 -171
- package/dist/es/layouts/util.js +0 -102
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/panelbar/panelbar-content.directive.js +0 -23
- package/dist/es/panelbar/panelbar-item-template.directive.js +0 -23
- package/dist/es/panelbar/panelbar-item-title.directive.js +0 -46
- package/dist/es/panelbar/panelbar-item.component.js +0 -455
- package/dist/es/panelbar/panelbar.component.js +0 -557
- package/dist/es/panelbar/panelbar.service.js +0 -43
- package/dist/es/panelbar.module.js +0 -44
- package/dist/es/splitter/splitter-bar.component.js +0 -282
- package/dist/es/splitter/splitter-pane.component.js +0 -270
- package/dist/es/splitter/splitter.component.js +0 -226
- package/dist/es/splitter/splitter.service.js +0 -153
- package/dist/es/splitter.module.js +0 -42
- package/dist/es/stacklayout.module.js +0 -29
- package/dist/es/stepper/events/activate-event.js +0 -17
- package/dist/es/stepper/list.component.js +0 -144
- package/dist/es/stepper/localization/custom-messages.component.js +0 -44
- package/dist/es/stepper/localization/localized-messages.directive.js +0 -35
- package/dist/es/stepper/localization/messages.js +0 -22
- package/dist/es/stepper/step.component.js +0 -272
- package/dist/es/stepper/stepper.component.js +0 -328
- package/dist/es/stepper/stepper.service.js +0 -161
- package/dist/es/stepper/template-directives/indicator-template.directive.js +0 -25
- package/dist/es/stepper/template-directives/label-template.directive.js +0 -25
- package/dist/es/stepper/template-directives/step-template.directive.js +0 -25
- package/dist/es/stepper.module.js +0 -47
- package/dist/es/tabstrip/constants.js +0 -33
- package/dist/es/tabstrip/directives/tab-content.directive.js +0 -49
- package/dist/es/tabstrip/directives/tab-title.directive.js +0 -54
- package/dist/es/tabstrip/events/select-event.js +0 -26
- package/dist/es/tabstrip/events/tabclose-event.js +0 -22
- package/dist/es/tabstrip/events/tabscroll-event.js +0 -19
- package/dist/es/tabstrip/localization/custom-messages.component.js +0 -44
- package/dist/es/tabstrip/localization/localized-messages.directive.js +0 -35
- package/dist/es/tabstrip/localization/messages.js +0 -22
- package/dist/es/tabstrip/models/scrollable-settings.js +0 -28
- package/dist/es/tabstrip/models/tabstrip-tab.component.js +0 -88
- package/dist/es/tabstrip/rendering/tab.component.js +0 -131
- package/dist/es/tabstrip/scrollable-button.component.js +0 -131
- package/dist/es/tabstrip/tabstrip-scroll.service.js +0 -226
- package/dist/es/tabstrip/tabstrip.component.js +0 -529
- package/dist/es/tabstrip/tabstrip.service.js +0 -158
- package/dist/es/tabstrip/util.js +0 -111
- package/dist/es/tabstrip.module.js +0 -51
- package/dist/es/tilelayout/constants.js +0 -70
- package/dist/es/tilelayout/dragging-service.js +0 -430
- package/dist/es/tilelayout/preventable-event.js +0 -29
- package/dist/es/tilelayout/reorder-event.js +0 -39
- package/dist/es/tilelayout/resize-event.js +0 -35
- package/dist/es/tilelayout/tilelayout-item-body.component.js +0 -32
- package/dist/es/tilelayout/tilelayout-item-header.component.js +0 -55
- package/dist/es/tilelayout/tilelayout-item.component.js +0 -198
- package/dist/es/tilelayout/tilelayout-resize-handle.directive.js +0 -61
- package/dist/es/tilelayout/tilelayout.component.js +0 -344
- package/dist/es/tilelayout/util.js +0 -88
- package/dist/es/tilelayout.module.js +0 -43
- package/dist/es2015/avatar/models/fill.js +0 -4
- package/dist/es2015/avatar/models/models.js +0 -4
- package/dist/es2015/avatar/models/size.js +0 -4
- package/dist/es2015/avatar/models/theme-color.js +0 -4
- package/dist/es2015/avatar.module.js +0 -28
- package/dist/es2015/card/card-actions.component.js +0 -146
- package/dist/es2015/card/card-body.component.js +0 -30
- package/dist/es2015/card/card-footer.component.js +0 -30
- package/dist/es2015/card/card-header.component.js +0 -30
- package/dist/es2015/card/card.component.js +0 -101
- package/dist/es2015/card/directives/card-media.directive.js +0 -27
- package/dist/es2015/card/directives/card-separator.directive.js +0 -60
- package/dist/es2015/card/directives/card-subtitle.directive.js +0 -27
- package/dist/es2015/card/directives/card-title.directive.js +0 -27
- package/dist/es2015/card/models/actions-layout.js +0 -4
- package/dist/es2015/card.module.d.ts +0 -10
- package/dist/es2015/common/direction.js +0 -4
- package/dist/es2015/common/orientation.js +0 -4
- package/dist/es2015/common/preventable-event.d.ts +0 -28
- package/dist/es2015/common/preventable-event.js +0 -34
- package/dist/es2015/common/styling-classes.js +0 -4
- package/dist/es2015/drawer/drawer-container.component.js +0 -109
- package/dist/es2015/drawer/drawer-content.component.js +0 -29
- package/dist/es2015/drawer/item.component.js +0 -121
- package/dist/es2015/drawer/models/drawer-animation.interface.js +0 -4
- package/dist/es2015/drawer/models/drawer-item.interface.js +0 -4
- package/dist/es2015/drawer/models/mode.js +0 -4
- package/dist/es2015/drawer/models/position.js +0 -4
- package/dist/es2015/drawer/template-directives/drawer-template.directive.js +0 -26
- package/dist/es2015/drawer/template-directives/footer-template.directive.js +0 -24
- package/dist/es2015/drawer/template-directives/header-template.directive.js +0 -24
- package/dist/es2015/drawer/template-directives/item-template.directive.js +0 -24
- package/dist/es2015/drawer/template-directives.js +0 -8
- package/dist/es2015/drawer/types.js +0 -4
- package/dist/es2015/drawer.module.d.ts +0 -10
- package/dist/es2015/expansionpanel/expansionpanel-title.directive.js +0 -25
- package/dist/es2015/expansionpanel.module.d.ts +0 -10
- package/dist/es2015/expansionpanel.module.js +0 -31
- package/dist/es2015/gridlayout.module.d.ts +0 -10
- package/dist/es2015/gridlayout.module.js +0 -30
- package/dist/es2015/index.d.ts +0 -29
- package/dist/es2015/index.js +0 -29
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/layouts/gridlayout-item.component.js +0 -53
- package/dist/es2015/layouts/models/gridlayout-gap-settings.js +0 -4
- package/dist/es2015/layouts/models/gridlayout-row-col-size.js +0 -4
- package/dist/es2015/layouts/models/layout-align-settings.js +0 -4
- package/dist/es2015/layouts/models/layout-horizontal-align.js +0 -4
- package/dist/es2015/layouts/models/layout-vertical-align.js +0 -4
- package/dist/es2015/layouts/models.js +0 -4
- package/dist/es2015/main.js +0 -72
- package/dist/es2015/panelbar/panelbar-content.directive.js +0 -22
- package/dist/es2015/panelbar/panelbar-expand-mode.js +0 -30
- package/dist/es2015/panelbar/panelbar-item-model.js +0 -4
- package/dist/es2015/panelbar/panelbar-item-template.directive.js +0 -22
- package/dist/es2015/panelbar.module.d.ts +0 -17
- package/dist/es2015/splitter.module.d.ts +0 -14
- package/dist/es2015/stacklayout.module.js +0 -28
- package/dist/es2015/stepper/list.component.js +0 -161
- package/dist/es2015/stepper/localization/custom-messages.component.js +0 -36
- package/dist/es2015/stepper/localization/localized-messages.directive.js +0 -33
- package/dist/es2015/stepper/localization/messages.js +0 -16
- package/dist/es2015/stepper/models/orientation.js +0 -4
- package/dist/es2015/stepper/models/step-predicate.js +0 -4
- package/dist/es2015/stepper/models/step-type.js +0 -4
- package/dist/es2015/stepper/models/stepper-step.interface.js +0 -4
- package/dist/es2015/stepper/template-directives/indicator-template.directive.js +0 -24
- package/dist/es2015/stepper/template-directives/label-template.directive.js +0 -24
- package/dist/es2015/stepper/template-directives/step-template.directive.js +0 -24
- package/dist/es2015/stepper/template-directives.js +0 -7
- package/dist/es2015/stepper/types.js +0 -4
- package/dist/es2015/stepper.module.d.ts +0 -10
- package/dist/es2015/tabstrip/events.js +0 -6
- package/dist/es2015/tabstrip/localization/custom-messages.component.js +0 -36
- package/dist/es2015/tabstrip/localization/localized-messages.directive.js +0 -31
- package/dist/es2015/tabstrip/localization/messages.js +0 -16
- package/dist/es2015/tabstrip/models/button-state-change.js +0 -4
- package/dist/es2015/tabstrip/models/scroll-buttons-visibility.js +0 -4
- package/dist/es2015/tabstrip/models/tab-alignment.js +0 -4
- package/dist/es2015/tabstrip/models/tab-position.js +0 -4
- package/dist/es2015/tabstrip/models/tabstrip-tab.component.js +0 -82
- package/dist/es2015/tabstrip/rendering/tab.component.d.ts +0 -28
- package/dist/es2015/tabstrip/rendering/tab.component.js +0 -116
- package/dist/es2015/tabstrip/scrollable-button.component.d.ts +0 -29
- package/dist/es2015/tabstrip/scrollable-button.component.js +0 -110
- package/dist/es2015/tabstrip.module.d.ts +0 -16
- package/dist/es2015/tilelayout/models/dragging-config.interface.js +0 -4
- package/dist/es2015/tilelayout/models/flowmode.type.js +0 -4
- package/dist/es2015/tilelayout/models/gap.interface.js +0 -4
- package/dist/es2015/tilelayout/preventable-event.d.ts +0 -21
- package/dist/es2015/tilelayout/preventable-event.js +0 -27
- package/dist/es2015/tilelayout/tilelayout-item-body.component.js +0 -36
- package/dist/es2015/tilelayout/tilelayout-item-header.component.js +0 -48
- package/dist/es2015/tilelayout.module.d.ts +0 -16
- package/dist/fesm5/index.js +0 -9179
- package/dist/npm/avatar/avatar.component.js +0 -359
- package/dist/npm/avatar/models/fill.js +0 -6
- package/dist/npm/avatar/models/models.js +0 -6
- package/dist/npm/avatar/models/rounded.js +0 -6
- package/dist/npm/avatar/models/shape.js +0 -6
- package/dist/npm/avatar/models/size.js +0 -6
- package/dist/npm/avatar/models/theme-color.js +0 -6
- package/dist/npm/avatar.module.js +0 -31
- package/dist/npm/card/card-actions.component.js +0 -153
- package/dist/npm/card/card-body.component.js +0 -28
- package/dist/npm/card/card-footer.component.js +0 -28
- package/dist/npm/card/card-header.component.js +0 -28
- package/dist/npm/card/card.component.js +0 -116
- package/dist/npm/card/directives/card-media.directive.js +0 -27
- package/dist/npm/card/directives/card-separator.directive.js +0 -68
- package/dist/npm/card/directives/card-subtitle.directive.js +0 -27
- package/dist/npm/card/directives/card-title.directive.js +0 -27
- package/dist/npm/card/models/actions-layout.js +0 -6
- package/dist/npm/card/models/card-action.js +0 -15
- package/dist/npm/card.module.js +0 -49
- package/dist/npm/common/direction.js +0 -6
- package/dist/npm/common/dom-queries.js +0 -55
- package/dist/npm/common/orientation.js +0 -6
- package/dist/npm/common/preventable-event.js +0 -38
- package/dist/npm/common/styling-classes.js +0 -6
- package/dist/npm/common/util.js +0 -93
- package/dist/npm/drawer/animations.js +0 -150
- package/dist/npm/drawer/drawer-container.component.js +0 -135
- package/dist/npm/drawer/drawer-content.component.js +0 -30
- package/dist/npm/drawer/drawer.component.js +0 -407
- package/dist/npm/drawer/drawer.service.js +0 -47
- package/dist/npm/drawer/events/select-event.js +0 -19
- package/dist/npm/drawer/item.component.js +0 -125
- package/dist/npm/drawer/list.component.js +0 -121
- package/dist/npm/drawer/models/constants.js +0 -10
- package/dist/npm/drawer/models/drawer-animation.interface.js +0 -6
- package/dist/npm/drawer/models/drawer-item.interface.js +0 -6
- package/dist/npm/drawer/models/mode.js +0 -6
- package/dist/npm/drawer/models/position.js +0 -6
- package/dist/npm/drawer/template-directives/drawer-template.directive.js +0 -29
- package/dist/npm/drawer/template-directives/footer-template.directive.js +0 -27
- package/dist/npm/drawer/template-directives/header-template.directive.js +0 -27
- package/dist/npm/drawer/template-directives/item-template.directive.js +0 -27
- package/dist/npm/drawer/template-directives.js +0 -14
- package/dist/npm/drawer/types.js +0 -6
- package/dist/npm/drawer/util.js +0 -18
- package/dist/npm/drawer.module.js +0 -47
- package/dist/npm/expansionpanel/animations.js +0 -27
- package/dist/npm/expansionpanel/events/action-event.js +0 -19
- package/dist/npm/expansionpanel/expansionpanel-title.directive.js +0 -28
- package/dist/npm/expansionpanel/expansionpanel.component.js +0 -443
- package/dist/npm/expansionpanel.module.js +0 -34
- package/dist/npm/gridlayout.module.js +0 -33
- package/dist/npm/index.js +0 -53
- package/dist/npm/layout.module.js +0 -73
- package/dist/npm/layouts/grid-layout.component.js +0 -157
- package/dist/npm/layouts/gridlayout-item.component.js +0 -54
- package/dist/npm/layouts/models/gridlayout-gap-settings.js +0 -6
- package/dist/npm/layouts/models/gridlayout-row-col-size.js +0 -6
- package/dist/npm/layouts/models/layout-align-settings.js +0 -6
- package/dist/npm/layouts/models/layout-horizontal-align.js +0 -6
- package/dist/npm/layouts/models/layout-vertical-align.js +0 -6
- package/dist/npm/layouts/models.js +0 -6
- package/dist/npm/layouts/stack-layout.component.js +0 -173
- package/dist/npm/layouts/util.js +0 -104
- package/dist/npm/main.js +0 -132
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/panelbar/panelbar-content.directive.js +0 -25
- package/dist/npm/panelbar/panelbar-expand-mode.js +0 -32
- package/dist/npm/panelbar/panelbar-item-model.js +0 -6
- package/dist/npm/panelbar/panelbar-item-template.directive.js +0 -25
- package/dist/npm/panelbar/panelbar-item-title.directive.js +0 -48
- package/dist/npm/panelbar/panelbar-item.component.js +0 -457
- package/dist/npm/panelbar/panelbar.component.js +0 -559
- package/dist/npm/panelbar/panelbar.service.js +0 -45
- package/dist/npm/panelbar.module.js +0 -46
- package/dist/npm/splitter/splitter-bar.component.js +0 -287
- package/dist/npm/splitter/splitter-pane.component.js +0 -272
- package/dist/npm/splitter/splitter.component.js +0 -228
- package/dist/npm/splitter/splitter.service.js +0 -155
- package/dist/npm/splitter.module.js +0 -44
- package/dist/npm/stacklayout.module.js +0 -31
- package/dist/npm/stepper/events/activate-event.js +0 -19
- package/dist/npm/stepper/list.component.js +0 -146
- package/dist/npm/stepper/localization/custom-messages.component.js +0 -46
- package/dist/npm/stepper/localization/localized-messages.directive.js +0 -37
- package/dist/npm/stepper/localization/messages.js +0 -24
- package/dist/npm/stepper/models/constants.js +0 -10
- package/dist/npm/stepper/models/orientation.js +0 -6
- package/dist/npm/stepper/models/step-predicate.js +0 -6
- package/dist/npm/stepper/models/step-type.js +0 -6
- package/dist/npm/stepper/models/stepper-step.interface.js +0 -6
- package/dist/npm/stepper/step.component.js +0 -274
- package/dist/npm/stepper/stepper.component.js +0 -330
- package/dist/npm/stepper/stepper.service.js +0 -163
- package/dist/npm/stepper/template-directives/indicator-template.directive.js +0 -27
- package/dist/npm/stepper/template-directives/label-template.directive.js +0 -27
- package/dist/npm/stepper/template-directives/step-template.directive.js +0 -27
- package/dist/npm/stepper/template-directives.js +0 -12
- package/dist/npm/stepper/types.js +0 -6
- package/dist/npm/stepper.module.js +0 -49
- package/dist/npm/tabstrip/constants.js +0 -35
- package/dist/npm/tabstrip/directives/tab-content.directive.js +0 -51
- package/dist/npm/tabstrip/directives/tab-title.directive.js +0 -56
- package/dist/npm/tabstrip/events/select-event.js +0 -28
- package/dist/npm/tabstrip/events/tabclose-event.js +0 -24
- package/dist/npm/tabstrip/events/tabscroll-event.js +0 -21
- package/dist/npm/tabstrip/events.js +0 -10
- package/dist/npm/tabstrip/localization/custom-messages.component.js +0 -46
- package/dist/npm/tabstrip/localization/localized-messages.directive.js +0 -37
- package/dist/npm/tabstrip/localization/messages.js +0 -24
- package/dist/npm/tabstrip/models/button-state-change.js +0 -6
- package/dist/npm/tabstrip/models/scroll-buttons-visibility.js +0 -6
- package/dist/npm/tabstrip/models/scrollable-settings.js +0 -30
- package/dist/npm/tabstrip/models/tab-alignment.js +0 -6
- package/dist/npm/tabstrip/models/tab-position.js +0 -6
- package/dist/npm/tabstrip/models/tabstrip-tab.component.js +0 -90
- package/dist/npm/tabstrip/rendering/tab.component.js +0 -133
- package/dist/npm/tabstrip/scrollable-button.component.js +0 -133
- package/dist/npm/tabstrip/tabstrip-scroll.service.js +0 -228
- package/dist/npm/tabstrip/tabstrip.component.js +0 -531
- package/dist/npm/tabstrip/tabstrip.service.js +0 -160
- package/dist/npm/tabstrip/util.js +0 -113
- package/dist/npm/tabstrip.module.js +0 -53
- package/dist/npm/tilelayout/constants.js +0 -72
- package/dist/npm/tilelayout/dragging-service.js +0 -432
- package/dist/npm/tilelayout/models/dragging-config.interface.js +0 -6
- package/dist/npm/tilelayout/models/flowmode.type.js +0 -6
- package/dist/npm/tilelayout/models/gap.interface.js +0 -6
- package/dist/npm/tilelayout/preventable-event.js +0 -31
- package/dist/npm/tilelayout/reorder-event.js +0 -41
- package/dist/npm/tilelayout/resize-event.js +0 -37
- package/dist/npm/tilelayout/tilelayout-item-body.component.js +0 -34
- package/dist/npm/tilelayout/tilelayout-item-header.component.js +0 -57
- package/dist/npm/tilelayout/tilelayout-item.component.js +0 -200
- package/dist/npm/tilelayout/tilelayout-resize-handle.directive.js +0 -63
- package/dist/npm/tilelayout/tilelayout.component.js +0 -346
- package/dist/npm/tilelayout/util.js +0 -90
- package/dist/npm/tilelayout.module.js +0 -45
- package/dist/systemjs/kendo-angular-layout.js +0 -5
|
@@ -1,6 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,31 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
var PreventableEvent = /** @class */ (function () {
|
|
11
|
-
function PreventableEvent() {
|
|
12
|
-
this.prevented = false;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Prevents the default action for a specified event.
|
|
16
|
-
* In this way, the source component suppresses the built-in behavior that follows the event.
|
|
17
|
-
*/
|
|
18
|
-
PreventableEvent.prototype.preventDefault = function () {
|
|
19
|
-
this.prevented = true;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* If the event is prevented by any of its subscribers, returns `true`.
|
|
23
|
-
*
|
|
24
|
-
* @returns `true` if the default action was prevented. Otherwise, returns `false`.
|
|
25
|
-
*/
|
|
26
|
-
PreventableEvent.prototype.isDefaultPrevented = function () {
|
|
27
|
-
return this.prevented;
|
|
28
|
-
};
|
|
29
|
-
return PreventableEvent;
|
|
30
|
-
}());
|
|
31
|
-
exports.PreventableEvent = PreventableEvent;
|
|
@@ -1,41 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var preventable_event_1 = require("./preventable-event");
|
|
9
|
-
/**
|
|
10
|
-
* Arguments for the `reorder` event. The event fires when the order or starting
|
|
11
|
-
* positions of the items is changed via the UI. If you prevent the event, the change is canceled ([see example]({% slug reordering_tilelayout %}#toc-handling-the-reorder-event)).
|
|
12
|
-
*/
|
|
13
|
-
var TileLayoutReorderEvent = /** @class */ (function (_super) {
|
|
14
|
-
tslib_1.__extends(TileLayoutReorderEvent, _super);
|
|
15
|
-
/**
|
|
16
|
-
* Constructs the event arguments for the `reorder` event.
|
|
17
|
-
* @param item - The TileLayoutItem being reordered.
|
|
18
|
-
* @param items - The TileLayoutItem collection that holds the currently rendered items and their internal state.
|
|
19
|
-
* @param newIndex - The new order index of the reordered item used to determine its positioning relative to the other items.
|
|
20
|
-
* @param oldIndex - The initial order index of the reordered item used to determine its positioning relative to the other items.
|
|
21
|
-
* @param newCol - The new start column of the reordered item.
|
|
22
|
-
* @param oldCol - The initial start column of the reordered item.
|
|
23
|
-
* @param newRow - The new start row of the reordered item.
|
|
24
|
-
* @param oldRow - The initial start row of the reordered item.
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
function TileLayoutReorderEvent(item, items, newIndex, oldIndex, newCol, oldCol, newRow, oldRow) {
|
|
28
|
-
var _this = _super.call(this) || this;
|
|
29
|
-
_this.item = item;
|
|
30
|
-
_this.items = items;
|
|
31
|
-
_this.newIndex = newIndex;
|
|
32
|
-
_this.oldIndex = oldIndex;
|
|
33
|
-
_this.newCol = newCol;
|
|
34
|
-
_this.oldCol = oldCol;
|
|
35
|
-
_this.newRow = newRow;
|
|
36
|
-
_this.oldRow = oldRow;
|
|
37
|
-
return _this;
|
|
38
|
-
}
|
|
39
|
-
return TileLayoutReorderEvent;
|
|
40
|
-
}(preventable_event_1.PreventableEvent));
|
|
41
|
-
exports.TileLayoutReorderEvent = TileLayoutReorderEvent;
|
|
@@ -1,37 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var preventable_event_1 = require("./preventable-event");
|
|
9
|
-
/**
|
|
10
|
-
* Arguments for the `resize` event. The `resize` event fires when any item size
|
|
11
|
-
* is changed from the UI. If you cancel the event, the change is prevented ([see example]({% slug resizing_tilelayout %}#toc-handling-the-resize-event)).
|
|
12
|
-
*/
|
|
13
|
-
var TileLayoutResizeEvent = /** @class */ (function (_super) {
|
|
14
|
-
tslib_1.__extends(TileLayoutResizeEvent, _super);
|
|
15
|
-
/**
|
|
16
|
-
* Constructs the event arguments for the `resize` event.
|
|
17
|
-
* @param item - The TileLayoutItem being resized
|
|
18
|
-
* @param items - The TileLayoutItem collection
|
|
19
|
-
* @param newRowSpan - The new rowSpan of the resized item
|
|
20
|
-
* @param oldRowSpan - The initial rowSpan of the resized item
|
|
21
|
-
* @param newColSpan - The new colSpan of the resized item
|
|
22
|
-
* @param oldColSpan - The initial colSpan of the resized item
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
function TileLayoutResizeEvent(item, items, newRowSpan, oldRowSpan, newColSpan, oldColSpan) {
|
|
26
|
-
var _this = _super.call(this) || this;
|
|
27
|
-
_this.item = item;
|
|
28
|
-
_this.items = items;
|
|
29
|
-
_this.newRowSpan = newRowSpan;
|
|
30
|
-
_this.oldRowSpan = oldRowSpan;
|
|
31
|
-
_this.newColSpan = newColSpan;
|
|
32
|
-
_this.oldColSpan = oldColSpan;
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
return TileLayoutResizeEvent;
|
|
36
|
-
}(preventable_event_1.PreventableEvent));
|
|
37
|
-
exports.TileLayoutResizeEvent = TileLayoutResizeEvent;
|
|
@@ -1,34 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
/**
|
|
10
|
-
* Holds the main content of the TileLayoutItem component.
|
|
11
|
-
*/
|
|
12
|
-
var TileLayoutItemBodyComponent = /** @class */ (function () {
|
|
13
|
-
function TileLayoutItemBodyComponent() {
|
|
14
|
-
this.hostClass = true;
|
|
15
|
-
this.minHeight = 0;
|
|
16
|
-
}
|
|
17
|
-
tslib_1.__decorate([
|
|
18
|
-
core_1.HostBinding('class.k-tilelayout-item-body'),
|
|
19
|
-
core_1.HostBinding('class.k-card-body'),
|
|
20
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
21
|
-
], TileLayoutItemBodyComponent.prototype, "hostClass", void 0);
|
|
22
|
-
tslib_1.__decorate([
|
|
23
|
-
core_1.HostBinding('style.min-height'),
|
|
24
|
-
tslib_1.__metadata("design:type", Number)
|
|
25
|
-
], TileLayoutItemBodyComponent.prototype, "minHeight", void 0);
|
|
26
|
-
TileLayoutItemBodyComponent = tslib_1.__decorate([
|
|
27
|
-
core_1.Component({
|
|
28
|
-
selector: 'kendo-tilelayout-item-body',
|
|
29
|
-
template: "\n <ng-content></ng-content>\n "
|
|
30
|
-
})
|
|
31
|
-
], TileLayoutItemBodyComponent);
|
|
32
|
-
return TileLayoutItemBodyComponent;
|
|
33
|
-
}());
|
|
34
|
-
exports.TileLayoutItemBodyComponent = TileLayoutItemBodyComponent;
|
|
@@ -1,57 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var dragging_service_1 = require("./dragging-service");
|
|
9
|
-
var core_1 = require("@angular/core");
|
|
10
|
-
/**
|
|
11
|
-
* Holds the content of the header section of the TileLayoutItem component.
|
|
12
|
-
* This is the area which can be dragged to reorder the items if reordering is enabled for this item.
|
|
13
|
-
*/
|
|
14
|
-
var TileLayoutItemHeaderComponent = /** @class */ (function () {
|
|
15
|
-
function TileLayoutItemHeaderComponent(draggingService) {
|
|
16
|
-
this.draggingService = draggingService;
|
|
17
|
-
this.hostClass = true;
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(TileLayoutItemHeaderComponent.prototype, "touchActionNone", {
|
|
20
|
-
get: function () {
|
|
21
|
-
return this.draggingService.reorderable.getValue();
|
|
22
|
-
},
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(TileLayoutItemHeaderComponent.prototype, "touchActionAuto", {
|
|
27
|
-
get: function () {
|
|
28
|
-
return !this.draggingService.reorderable.getValue();
|
|
29
|
-
},
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true
|
|
32
|
-
});
|
|
33
|
-
tslib_1.__decorate([
|
|
34
|
-
core_1.HostBinding('class.k-tilelayout-item-header'),
|
|
35
|
-
core_1.HostBinding('class.k-card-header'),
|
|
36
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
37
|
-
], TileLayoutItemHeaderComponent.prototype, "hostClass", void 0);
|
|
38
|
-
tslib_1.__decorate([
|
|
39
|
-
core_1.HostBinding('class.k-touch-action-none'),
|
|
40
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
41
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
42
|
-
], TileLayoutItemHeaderComponent.prototype, "touchActionNone", null);
|
|
43
|
-
tslib_1.__decorate([
|
|
44
|
-
core_1.HostBinding('class.k-touch-action-auto'),
|
|
45
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
46
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
47
|
-
], TileLayoutItemHeaderComponent.prototype, "touchActionAuto", null);
|
|
48
|
-
TileLayoutItemHeaderComponent = tslib_1.__decorate([
|
|
49
|
-
core_1.Component({
|
|
50
|
-
selector: 'kendo-tilelayout-item-header',
|
|
51
|
-
template: "\n <ng-content></ng-content>\n "
|
|
52
|
-
}),
|
|
53
|
-
tslib_1.__metadata("design:paramtypes", [dragging_service_1.TileLayoutDraggingService])
|
|
54
|
-
], TileLayoutItemHeaderComponent);
|
|
55
|
-
return TileLayoutItemHeaderComponent;
|
|
56
|
-
}());
|
|
57
|
-
exports.TileLayoutItemHeaderComponent = TileLayoutItemHeaderComponent;
|
|
@@ -1,200 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var kendo_angular_l10n_1 = require("@progress/kendo-angular-l10n");
|
|
10
|
-
var rxjs_1 = require("rxjs");
|
|
11
|
-
var dragging_service_1 = require("./dragging-service");
|
|
12
|
-
var util_1 = require("./../common/util");
|
|
13
|
-
var constants_1 = require("./constants");
|
|
14
|
-
/**
|
|
15
|
-
* Represents a tile item within the TileLayoutComponent.
|
|
16
|
-
*/
|
|
17
|
-
var TileLayoutItemComponent = /** @class */ (function () {
|
|
18
|
-
function TileLayoutItemComponent(elem, renderer, localization, draggingService) {
|
|
19
|
-
var _this = this;
|
|
20
|
-
this.elem = elem;
|
|
21
|
-
this.renderer = renderer;
|
|
22
|
-
this.localization = localization;
|
|
23
|
-
this.draggingService = draggingService;
|
|
24
|
-
/**
|
|
25
|
-
* Determines how many rows will the tile item span ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
26
|
-
* @default 1
|
|
27
|
-
*/
|
|
28
|
-
this.rowSpan = 1;
|
|
29
|
-
/**
|
|
30
|
-
* Determines how many columns will the tile item span ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
31
|
-
* @default 1
|
|
32
|
-
*/
|
|
33
|
-
this.colSpan = 1;
|
|
34
|
-
/**
|
|
35
|
-
* Determines whether the item can be reordered. By default all items are reorderable when the [reorderable]({% slug api_layout_tilelayoutcomponent %}#toc-reorderable) property of the TileLayoutComponent is set to `true` ([see example]({% slug reordering_tilelayout %}#toc-disable-reordering)).
|
|
36
|
-
*
|
|
37
|
-
* @default true
|
|
38
|
-
*/
|
|
39
|
-
this.reorderable = true;
|
|
40
|
-
/**
|
|
41
|
-
* Determines whether the item can be resized. By default all items are resizable when the [resizable]({% slug api_layout_tilelayoutcomponent %}#resizable) property of the TileLayoutComponent is set to `true` ([see example]({% slug resizing_tilelayout %}#toc-disable-resizing)).
|
|
42
|
-
* @default true
|
|
43
|
-
*/
|
|
44
|
-
this.resizable = true;
|
|
45
|
-
this.itemClass = true;
|
|
46
|
-
this.subs = new rxjs_1.Subscription();
|
|
47
|
-
this.subs.add(this.localization.changes.subscribe(function (_a) {
|
|
48
|
-
var rtl = _a.rtl;
|
|
49
|
-
_this.rtl = rtl;
|
|
50
|
-
}));
|
|
51
|
-
this.subs.add(this.draggingService.resizable.subscribe(function (resizable) {
|
|
52
|
-
_this.resizeDirections = resizable && _this.resizable ?
|
|
53
|
-
_this.rtl ? constants_1.RTL_RESIZE_DIRECTIONS : constants_1.RESIZE_DIRECTIONS : undefined;
|
|
54
|
-
}));
|
|
55
|
-
}
|
|
56
|
-
Object.defineProperty(TileLayoutItemComponent.prototype, "order", {
|
|
57
|
-
get: function () {
|
|
58
|
-
return this._order;
|
|
59
|
-
},
|
|
60
|
-
/**
|
|
61
|
-
* Determines the order of the tile items within the TileLayout.
|
|
62
|
-
* If not set, the items will receive increasing sequential order in accordance with
|
|
63
|
-
* their position in the DOM when initially rendered.
|
|
64
|
-
*/
|
|
65
|
-
set: function (value) {
|
|
66
|
-
this._order = value;
|
|
67
|
-
this.renderer.setStyle(this.elem.nativeElement, 'order', "" + this._order);
|
|
68
|
-
},
|
|
69
|
-
enumerable: true,
|
|
70
|
-
configurable: true
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(TileLayoutItemComponent.prototype, "colEnd", {
|
|
73
|
-
get: function () {
|
|
74
|
-
return "span " + this.colSpan;
|
|
75
|
-
},
|
|
76
|
-
enumerable: true,
|
|
77
|
-
configurable: true
|
|
78
|
-
});
|
|
79
|
-
Object.defineProperty(TileLayoutItemComponent.prototype, "rowEnd", {
|
|
80
|
-
get: function () {
|
|
81
|
-
return "span " + this.rowSpan;
|
|
82
|
-
},
|
|
83
|
-
enumerable: true,
|
|
84
|
-
configurable: true
|
|
85
|
-
});
|
|
86
|
-
Object.defineProperty(TileLayoutItemComponent.prototype, "colStart", {
|
|
87
|
-
get: function () {
|
|
88
|
-
return util_1.isPresent(this.col) ? this.col.toString() : undefined;
|
|
89
|
-
},
|
|
90
|
-
enumerable: true,
|
|
91
|
-
configurable: true
|
|
92
|
-
});
|
|
93
|
-
Object.defineProperty(TileLayoutItemComponent.prototype, "rowStart", {
|
|
94
|
-
get: function () {
|
|
95
|
-
return util_1.isPresent(this.row) ? this.row.toString() : undefined;
|
|
96
|
-
},
|
|
97
|
-
enumerable: true,
|
|
98
|
-
configurable: true
|
|
99
|
-
});
|
|
100
|
-
TileLayoutItemComponent.prototype.ngAfterViewInit = function () {
|
|
101
|
-
var _this = this;
|
|
102
|
-
this.subs.add(this.draggingService.reorderable.subscribe(function (reorderable) {
|
|
103
|
-
_this.toggleCursorClass(reorderable && _this.reorderable);
|
|
104
|
-
}));
|
|
105
|
-
};
|
|
106
|
-
TileLayoutItemComponent.prototype.ngOnChanges = function (changes) {
|
|
107
|
-
if (changes.reorderable && !changes.reorderable.firstChange) {
|
|
108
|
-
this.toggleCursorClass(changes.reorderable.currentValue && this.draggingService.reorderable.getValue());
|
|
109
|
-
}
|
|
110
|
-
if (changes.resizable) {
|
|
111
|
-
this.resizeDirections = this.resizable && this.draggingService.resizable.getValue() ?
|
|
112
|
-
this.rtl ? constants_1.RTL_RESIZE_DIRECTIONS : constants_1.RESIZE_DIRECTIONS : undefined;
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
TileLayoutItemComponent.prototype.ngOnDestroy = function () {
|
|
116
|
-
this.subs.unsubscribe();
|
|
117
|
-
};
|
|
118
|
-
TileLayoutItemComponent.prototype.toggleCursorClass = function (isReorderable) {
|
|
119
|
-
var headerEl = this.elem.nativeElement.querySelector('.k-tilelayout-item-header');
|
|
120
|
-
if (!headerEl) {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
if (isReorderable) {
|
|
124
|
-
this.renderer.addClass(headerEl, 'k-cursor-grab');
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
this.renderer.removeClass(headerEl, 'k-cursor-grab');
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
tslib_1.__decorate([
|
|
131
|
-
core_1.Input(),
|
|
132
|
-
tslib_1.__metadata("design:type", String)
|
|
133
|
-
], TileLayoutItemComponent.prototype, "title", void 0);
|
|
134
|
-
tslib_1.__decorate([
|
|
135
|
-
core_1.Input(),
|
|
136
|
-
tslib_1.__metadata("design:type", Number)
|
|
137
|
-
], TileLayoutItemComponent.prototype, "rowSpan", void 0);
|
|
138
|
-
tslib_1.__decorate([
|
|
139
|
-
core_1.Input(),
|
|
140
|
-
tslib_1.__metadata("design:type", Number)
|
|
141
|
-
], TileLayoutItemComponent.prototype, "colSpan", void 0);
|
|
142
|
-
tslib_1.__decorate([
|
|
143
|
-
core_1.Input(),
|
|
144
|
-
tslib_1.__metadata("design:type", Number),
|
|
145
|
-
tslib_1.__metadata("design:paramtypes", [Number])
|
|
146
|
-
], TileLayoutItemComponent.prototype, "order", null);
|
|
147
|
-
tslib_1.__decorate([
|
|
148
|
-
core_1.Input(),
|
|
149
|
-
tslib_1.__metadata("design:type", Number)
|
|
150
|
-
], TileLayoutItemComponent.prototype, "col", void 0);
|
|
151
|
-
tslib_1.__decorate([
|
|
152
|
-
core_1.Input(),
|
|
153
|
-
tslib_1.__metadata("design:type", Number)
|
|
154
|
-
], TileLayoutItemComponent.prototype, "row", void 0);
|
|
155
|
-
tslib_1.__decorate([
|
|
156
|
-
core_1.Input(),
|
|
157
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
158
|
-
], TileLayoutItemComponent.prototype, "reorderable", void 0);
|
|
159
|
-
tslib_1.__decorate([
|
|
160
|
-
core_1.Input(),
|
|
161
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
162
|
-
], TileLayoutItemComponent.prototype, "resizable", void 0);
|
|
163
|
-
tslib_1.__decorate([
|
|
164
|
-
core_1.HostBinding('class.k-tilelayout-item'),
|
|
165
|
-
core_1.HostBinding('class.k-card'),
|
|
166
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
167
|
-
], TileLayoutItemComponent.prototype, "itemClass", void 0);
|
|
168
|
-
tslib_1.__decorate([
|
|
169
|
-
core_1.HostBinding('style.grid-column-end'),
|
|
170
|
-
tslib_1.__metadata("design:type", String),
|
|
171
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
172
|
-
], TileLayoutItemComponent.prototype, "colEnd", null);
|
|
173
|
-
tslib_1.__decorate([
|
|
174
|
-
core_1.HostBinding('style.grid-row-end'),
|
|
175
|
-
tslib_1.__metadata("design:type", String),
|
|
176
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
177
|
-
], TileLayoutItemComponent.prototype, "rowEnd", null);
|
|
178
|
-
tslib_1.__decorate([
|
|
179
|
-
core_1.HostBinding('style.grid-column-start'),
|
|
180
|
-
tslib_1.__metadata("design:type", String),
|
|
181
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
182
|
-
], TileLayoutItemComponent.prototype, "colStart", null);
|
|
183
|
-
tslib_1.__decorate([
|
|
184
|
-
core_1.HostBinding('style.grid-row-start'),
|
|
185
|
-
tslib_1.__metadata("design:type", String),
|
|
186
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
187
|
-
], TileLayoutItemComponent.prototype, "rowStart", null);
|
|
188
|
-
TileLayoutItemComponent = tslib_1.__decorate([
|
|
189
|
-
core_1.Component({
|
|
190
|
-
selector: 'kendo-tilelayout-item',
|
|
191
|
-
template: "\n <kendo-tilelayout-item-header *ngIf=\"title\">\n <h5 class=\"k-card-title\">{{ title }}</h5>\n </kendo-tilelayout-item-header>\n <ng-content></ng-content>\n <ng-container *ngIf=\"resizable\">\n <div\n *ngFor=\"let dir of resizeDirections\"\n class=\"k-resize-handle k-cursor-{{dir}}-resize k-touch-action-none\"\n kendoTileLayoutResizeHandle\n [rtl]=\"rtl\"\n [resizeDirection]=\"dir\">\n </div>\n </ng-container>\n "
|
|
192
|
-
}),
|
|
193
|
-
tslib_1.__metadata("design:paramtypes", [core_1.ElementRef,
|
|
194
|
-
core_1.Renderer2,
|
|
195
|
-
kendo_angular_l10n_1.LocalizationService,
|
|
196
|
-
dragging_service_1.TileLayoutDraggingService])
|
|
197
|
-
], TileLayoutItemComponent);
|
|
198
|
-
return TileLayoutItemComponent;
|
|
199
|
-
}());
|
|
200
|
-
exports.TileLayoutItemComponent = TileLayoutItemComponent;
|
|
@@ -1,63 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var constants_1 = require("./constants");
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
var TileLayoutResizeHandleDirective = /** @class */ (function () {
|
|
14
|
-
function TileLayoutResizeHandleDirective(el, renderer) {
|
|
15
|
-
this.el = el;
|
|
16
|
-
this.renderer = renderer;
|
|
17
|
-
}
|
|
18
|
-
TileLayoutResizeHandleDirective.prototype.ngOnInit = function () {
|
|
19
|
-
this.sizeHandle();
|
|
20
|
-
};
|
|
21
|
-
TileLayoutResizeHandleDirective.prototype.setHorizontalPosition = function (element) {
|
|
22
|
-
this.renderer.setStyle(element, this.rtl ? 'left' : 'right', -constants_1.RESIZE_HANDLE_DIMENSIONS[this.resizeDirection].overlapX + 'px');
|
|
23
|
-
};
|
|
24
|
-
TileLayoutResizeHandleDirective.prototype.setBottom = function (element) {
|
|
25
|
-
this.renderer.setStyle(element, 'bottom', -constants_1.RESIZE_HANDLE_DIMENSIONS[this.resizeDirection].overlapY + 'px');
|
|
26
|
-
};
|
|
27
|
-
TileLayoutResizeHandleDirective.prototype.sizeHandle = function () {
|
|
28
|
-
var element = this.el.nativeElement;
|
|
29
|
-
var handleWidth = constants_1.RESIZE_HANDLE_DIMENSIONS[this.resizeDirection].width ?
|
|
30
|
-
constants_1.RESIZE_HANDLE_DIMENSIONS[this.resizeDirection].width + "px" : '100%';
|
|
31
|
-
var handleHeight = constants_1.RESIZE_HANDLE_DIMENSIONS[this.resizeDirection].height ?
|
|
32
|
-
constants_1.RESIZE_HANDLE_DIMENSIONS[this.resizeDirection].height + "px" : '100%';
|
|
33
|
-
this.renderer.setStyle(element, 'width', handleWidth);
|
|
34
|
-
this.renderer.setStyle(element, 'height', handleHeight);
|
|
35
|
-
if (this.resizeDirection === 'ew') {
|
|
36
|
-
this.setHorizontalPosition(element);
|
|
37
|
-
}
|
|
38
|
-
else if (this.resizeDirection === 'ns') {
|
|
39
|
-
this.setBottom(element);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
this.setHorizontalPosition(element);
|
|
43
|
-
this.setBottom(element);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
tslib_1.__decorate([
|
|
47
|
-
core_1.Input(),
|
|
48
|
-
tslib_1.__metadata("design:type", String)
|
|
49
|
-
], TileLayoutResizeHandleDirective.prototype, "resizeDirection", void 0);
|
|
50
|
-
tslib_1.__decorate([
|
|
51
|
-
core_1.Input(),
|
|
52
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
53
|
-
], TileLayoutResizeHandleDirective.prototype, "rtl", void 0);
|
|
54
|
-
TileLayoutResizeHandleDirective = tslib_1.__decorate([
|
|
55
|
-
core_1.Directive({
|
|
56
|
-
selector: '[kendoTileLayoutResizeHandle]'
|
|
57
|
-
}),
|
|
58
|
-
tslib_1.__metadata("design:paramtypes", [core_1.ElementRef,
|
|
59
|
-
core_1.Renderer2])
|
|
60
|
-
], TileLayoutResizeHandleDirective);
|
|
61
|
-
return TileLayoutResizeHandleDirective;
|
|
62
|
-
}());
|
|
63
|
-
exports.TileLayoutResizeHandleDirective = TileLayoutResizeHandleDirective;
|