@progress/kendo-angular-layout 17.0.0-develop.9 → 17.0.0
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/avatar/avatar.component.d.ts +1 -1
- package/avatar/l10n/messages.d.ts +1 -1
- package/avatar/models/fill.d.ts +1 -1
- package/avatar/models/rounded.d.ts +1 -1
- package/avatar/models/shape.d.ts +2 -2
- package/avatar/models/size.d.ts +1 -1
- package/avatar/models/theme-color.d.ts +1 -1
- package/card/card-actions.component.d.ts +1 -1
- package/card/card.component.d.ts +1 -1
- package/card/directives/card-separator.directive.d.ts +1 -1
- package/card/models/actions-layout.d.ts +1 -1
- package/common/direction.d.ts +1 -1
- package/common/orientation.d.ts +1 -1
- package/drawer/drawer.component.d.ts +1 -1
- package/drawer/item.component.d.ts +1 -1
- package/drawer/list.component.d.ts +1 -1
- package/drawer/models/drawer-item-expand.interface.d.ts +1 -1
- package/drawer/models/mode.d.ts +1 -1
- package/drawer/models/position.d.ts +1 -1
- package/{esm2020 → esm2022}/avatar/avatar.component.mjs +61 -25
- package/{esm2020 → esm2022}/avatar/l10n/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/avatar/l10n/localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/avatar/l10n/messages.mjs +7 -3
- package/{esm2020 → esm2022}/avatar.module.mjs +4 -4
- package/{esm2020 → esm2022}/card/card-actions.component.mjs +37 -31
- package/{esm2020 → esm2022}/card/card-body.component.mjs +5 -7
- package/{esm2020 → esm2022}/card/card-footer.component.mjs +5 -7
- package/{esm2020 → esm2022}/card/card-header.component.mjs +5 -7
- package/{esm2020 → esm2022}/card/card.component.mjs +40 -34
- package/{esm2020 → esm2022}/card/directives/card-media.directive.mjs +4 -6
- package/{esm2020 → esm2022}/card/directives/card-separator.directive.mjs +16 -14
- package/{esm2020 → esm2022}/card/directives/card-subtitle.directive.mjs +4 -6
- package/{esm2020 → esm2022}/card/directives/card-title.directive.mjs +4 -6
- package/{esm2020 → esm2022}/card/models/card-action.mjs +12 -0
- package/{esm2020 → esm2022}/card.module.mjs +4 -4
- package/{esm2020 → esm2022}/common/preventable-event.mjs +7 -7
- package/{esm2020 → esm2022}/drawer/drawer-container.component.mjs +28 -18
- package/{esm2020 → esm2022}/drawer/drawer-content.component.mjs +6 -7
- package/{esm2020 → esm2022}/drawer/drawer.component.mjs +132 -106
- package/{esm2020 → esm2022}/drawer/drawer.service.mjs +10 -10
- package/{esm2020 → esm2022}/drawer/events/drawer-list-select.event.mjs +12 -0
- package/{esm2020 → esm2022}/drawer/events/select-event.mjs +16 -0
- package/{esm2020 → esm2022}/drawer/item.component.mjs +22 -11
- package/{esm2020 → esm2022}/drawer/list.component.mjs +14 -6
- package/{esm2020 → esm2022}/drawer/template-directives/drawer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/drawer/template-directives/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/drawer/template-directives/header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/drawer/template-directives/item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/drawer.module.mjs +4 -4
- package/{esm2020 → esm2022}/expansionpanel/events/action-event.mjs +4 -0
- package/{esm2020 → esm2022}/expansionpanel/expansionpanel-title.directive.mjs +4 -3
- package/{esm2020 → esm2022}/expansionpanel/expansionpanel.component.mjs +103 -81
- package/{esm2020 → esm2022}/expansionpanel.module.mjs +4 -4
- package/{esm2020 → esm2022}/gridlayout.module.mjs +4 -4
- package/{esm2020 → esm2022}/layout.module.mjs +4 -4
- package/{esm2020 → esm2022}/layouts/grid-layout.component.mjs +57 -26
- package/{esm2020 → esm2022}/layouts/gridlayout-item.component.mjs +26 -4
- package/{esm2020 → esm2022}/layouts/stack-layout.component.mjs +40 -35
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/panelbar/events/collapse-event.mjs +4 -0
- package/{esm2020 → esm2022}/panelbar/events/expand-event.mjs +4 -0
- package/{esm2020 → esm2022}/panelbar/events/item-click-event.mjs +8 -0
- package/{esm2020 → esm2022}/panelbar/events/select-event.mjs +4 -0
- package/{esm2020 → esm2022}/panelbar/events/state-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/panelbar/panelbar-content.directive.mjs +4 -3
- package/{esm2020 → esm2022}/panelbar/panelbar-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/panelbar/panelbar-item-title.directive.mjs +4 -3
- package/{esm2020 → esm2022}/panelbar/panelbar-item.component.mjs +101 -66
- package/{esm2020 → esm2022}/panelbar/panelbar.component.mjs +109 -98
- package/{esm2020 → esm2022}/panelbar/panelbar.service.mjs +23 -13
- package/{esm2020 → esm2022}/panelbar.module.mjs +4 -4
- package/{esm2020 → esm2022}/splitter/splitter-bar.component.mjs +68 -28
- package/esm2022/splitter/splitter-pane.component.mjs +267 -0
- package/{esm2020 → esm2022}/splitter/splitter.component.mjs +98 -40
- package/{esm2020 → esm2022}/splitter/splitter.service.mjs +69 -28
- package/{esm2020 → esm2022}/splitter.module.mjs +4 -4
- package/{esm2020 → esm2022}/stacklayout.module.mjs +4 -4
- package/{esm2020 → esm2022}/stepper/events/activate-event.mjs +16 -0
- package/{esm2020 → esm2022}/stepper/list.component.mjs +23 -5
- package/{esm2020 → esm2022}/stepper/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/stepper/localization/localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/stepper/localization/messages.mjs +7 -3
- package/{esm2020 → esm2022}/stepper/step.component.mjs +25 -8
- package/{esm2020 → esm2022}/stepper/stepper.component.mjs +111 -70
- package/{esm2020 → esm2022}/stepper/stepper.service.mjs +30 -9
- package/{esm2020 → esm2022}/stepper/template-directives/indicator-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/stepper/template-directives/label-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/stepper/template-directives/step-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/stepper.module.mjs +4 -4
- package/{esm2020 → esm2022}/tabstrip/directives/tab-content.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tabstrip/directives/tab-title.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tabstrip/directives/tab.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tabstrip/events/select-event.mjs +2 -0
- package/{esm2020 → esm2022}/tabstrip/events/tabclose-event.mjs +2 -0
- package/{esm2020 → esm2022}/tabstrip/events/tabscroll-event.mjs +4 -0
- package/{esm2020 → esm2022}/tabstrip/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/tabstrip/localization/localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/tabstrip/localization/messages.mjs +15 -3
- package/esm2022/tabstrip/models/tabstrip-tab.component.mjs +117 -0
- package/{esm2020 → esm2022}/tabstrip/rendering/tab.component.mjs +16 -9
- package/{esm2020 → esm2022}/tabstrip/scrollable-button.component.mjs +33 -27
- package/{esm2020 → esm2022}/tabstrip/tabstrip-scroll.service.mjs +11 -9
- package/{esm2020 → esm2022}/tabstrip/tabstrip.component.mjs +145 -111
- package/{esm2020 → esm2022}/tabstrip/tabstrip.service.mjs +6 -3
- package/{esm2020 → esm2022}/tabstrip.module.mjs +4 -4
- package/{esm2020 → esm2022}/tilelayout/dragging-service.mjs +39 -24
- package/{esm2020 → esm2022}/tilelayout/keyboard-navigation.service.mjs +9 -4
- package/{esm2020 → esm2022}/tilelayout/reorder-event.mjs +8 -0
- package/{esm2020 → esm2022}/tilelayout/resize-event.mjs +6 -0
- package/{esm2020 → esm2022}/tilelayout/tilelayout-item-body.component.mjs +6 -8
- package/esm2022/tilelayout/tilelayout-item-header.component.mjs +33 -0
- package/{esm2020 → esm2022}/tilelayout/tilelayout-item.component.mjs +85 -58
- package/{esm2020 → esm2022}/tilelayout/tilelayout-resize-handle.directive.mjs +7 -3
- package/{esm2020 → esm2022}/tilelayout/tilelayout.component.mjs +103 -93
- package/{esm2020 → esm2022}/tilelayout.module.mjs +4 -4
- package/{esm2020 → esm2022}/timeline/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/timeline/localization/localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/timeline/localization/messages.mjs +11 -3
- package/{esm2020 → esm2022}/timeline/templates/timeline-card-actions.directive.mjs +4 -3
- package/{esm2020 → esm2022}/timeline/templates/timeline-card-body.directive.mjs +4 -3
- package/{esm2020 → esm2022}/timeline/templates/timeline-card-header.directive.mjs +4 -3
- package/{esm2020 → esm2022}/timeline/timeline-card.component.mjs +48 -33
- package/{esm2020 → esm2022}/timeline/timeline-horizontal.component.mjs +85 -55
- package/{esm2020 → esm2022}/timeline/timeline-vertical.component.mjs +20 -6
- package/{esm2020 → esm2022}/timeline/timeline.component.mjs +108 -68
- package/{esm2020 → esm2022}/timeline/timeline.service.mjs +4 -3
- package/{esm2020 → esm2022}/timeline.module.mjs +4 -4
- package/expansionpanel/events/action-event.d.ts +1 -1
- package/expansionpanel/expansionpanel.component.d.ts +1 -1
- package/{fesm2020 → fesm2022}/progress-kendo-angular-layout.mjs +2672 -1777
- package/layouts/grid-layout.component.d.ts +1 -1
- package/layouts/gridlayout-item.component.d.ts +1 -1
- package/layouts/models/layout-horizontal-align.d.ts +1 -1
- package/layouts/models/layout-vertical-align.d.ts +1 -1
- package/layouts/stack-layout.component.d.ts +1 -1
- package/package.json +16 -22
- package/panelbar/panelbar-item.component.d.ts +1 -1
- package/panelbar/panelbar.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +1 -1
- package/splitter/splitter-bar.component.d.ts +13 -1
- package/splitter/splitter-pane.component.d.ts +26 -6
- package/splitter/splitter.component.d.ts +12 -4
- package/splitter/splitter.service.d.ts +7 -2
- package/stepper/list.component.d.ts +1 -1
- package/stepper/localization/messages.d.ts +1 -1
- package/stepper/models/orientation.d.ts +1 -1
- package/stepper/models/step-predicate.d.ts +1 -1
- package/stepper/models/step-type.d.ts +1 -1
- package/stepper/step.component.d.ts +1 -1
- package/stepper/stepper.component.d.ts +1 -1
- package/tabstrip/localization/messages.d.ts +1 -1
- package/tabstrip/models/button-state-change.d.ts +1 -1
- package/tabstrip/models/scroll-button-type.d.ts +1 -1
- package/tabstrip/models/scroll-buttons-visibility.d.ts +1 -1
- package/tabstrip/models/tab-alignment.d.ts +1 -1
- package/tabstrip/models/tab-position.d.ts +1 -1
- package/tabstrip/models/tabstrip-tab.component.d.ts +1 -1
- package/tabstrip/rendering/tab.component.d.ts +1 -1
- package/tabstrip/scrollable-button.component.d.ts +1 -1
- package/tabstrip/tabstrip.component.d.ts +1 -1
- package/tilelayout/models/flowmode.type.d.ts +1 -1
- package/tilelayout/tilelayout-item-header.component.d.ts +1 -9
- package/tilelayout/tilelayout-item.component.d.ts +1 -1
- package/tilelayout/tilelayout-resize-handle.directive.d.ts +1 -1
- package/tilelayout/tilelayout.component.d.ts +1 -1
- package/timeline/events/navigation-direction.d.ts +1 -1
- package/timeline/localization/messages.d.ts +1 -1
- package/timeline/models/anchor-target.d.ts +1 -1
- package/timeline/timeline-card.component.d.ts +1 -1
- package/timeline/timeline-horizontal.component.d.ts +2 -2
- package/timeline/timeline-vertical.component.d.ts +1 -1
- package/timeline/timeline.component.d.ts +1 -1
- package/esm2020/splitter/splitter-pane.component.mjs +0 -222
- package/esm2020/tabstrip/models/tabstrip-tab.component.mjs +0 -78
- package/esm2020/tilelayout/tilelayout-item-header.component.mjs +0 -53
- package/fesm2015/progress-kendo-angular-layout.mjs +0 -12385
- /package/{esm2020 → esm2022}/avatar/models/fill.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/models/models.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/models/rounded.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/models/shape.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/models/size.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/models/theme-color.mjs +0 -0
- /package/{esm2020 → esm2022}/card/models/actions-layout.mjs +0 -0
- /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
- /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/common/orientation.mjs +0 -0
- /package/{esm2020 → esm2022}/common/styling-classes.mjs +0 -0
- /package/{esm2020 → esm2022}/common/util.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/animations.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/models/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/models/drawer-animation.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/models/drawer-item-expand.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/models/drawer-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/models/drawer-view-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/models/mode.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/models/position.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/template-directives.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/types.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/util.mjs +0 -0
- /package/{esm2020 → esm2022}/expansionpanel/animations.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/layouts/models/gridlayout-gap-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/layouts/models/gridlayout-row-col-size.mjs +0 -0
- /package/{esm2020 → esm2022}/layouts/models/layout-align-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/layouts/models/layout-horizontal-align.mjs +0 -0
- /package/{esm2020 → esm2022}/layouts/models/layout-vertical-align.mjs +0 -0
- /package/{esm2020 → esm2022}/layouts/models.mjs +0 -0
- /package/{esm2020 → esm2022}/layouts/util.mjs +0 -0
- /package/{esm2020 → esm2022}/panelbar/events.mjs +0 -0
- /package/{esm2020 → esm2022}/panelbar/panelbar-expand-mode.mjs +0 -0
- /package/{esm2020 → esm2022}/panelbar/panelbar-item-model.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-layout.mjs +0 -0
- /package/{esm2020 → esm2022}/splitter/util.mjs +0 -0
- /package/{esm2020 → esm2022}/stepper/models/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/stepper/models/orientation.mjs +0 -0
- /package/{esm2020 → esm2022}/stepper/models/step-predicate.mjs +0 -0
- /package/{esm2020 → esm2022}/stepper/models/step-type.mjs +0 -0
- /package/{esm2020 → esm2022}/stepper/models/stepper-step.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/stepper/template-directives.mjs +0 -0
- /package/{esm2020 → esm2022}/stepper/types.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/events.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/models/button-state-change.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/models/scroll-button-type.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/models/scroll-buttons-visibility.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/models/scrollable-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/models/tab-alignment.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/models/tab-position.mjs +0 -0
- /package/{esm2020 → esm2022}/tabstrip/util.mjs +0 -0
- /package/{esm2020 → esm2022}/tilelayout/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/tilelayout/models/dragging-config.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/tilelayout/models/flowmode.type.mjs +0 -0
- /package/{esm2020 → esm2022}/tilelayout/models/gap.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/tilelayout/models/navigation.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/tilelayout/util.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/events/navigation-direction.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/models/anchor-target.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/models/default-model-fields.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/models/model-fields.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/models/timeline-event.mjs +0 -0
- /package/{esm2020 → esm2022}/timeline/util.mjs +0 -0
|
@@ -21,50 +21,26 @@ import * as i3 from "./keyboard-navigation.service";
|
|
|
21
21
|
* Represents a tile item within the TileLayoutComponent.
|
|
22
22
|
*/
|
|
23
23
|
export class TileLayoutItemComponent {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
* @default true
|
|
45
|
-
*/
|
|
46
|
-
this.reorderable = true;
|
|
47
|
-
/**
|
|
48
|
-
* 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-disabling-resizing)).
|
|
49
|
-
* @default true
|
|
50
|
-
*/
|
|
51
|
-
this.resizable = true;
|
|
52
|
-
this.itemClass = true;
|
|
53
|
-
this.hostRole = 'listitem';
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
this.titleId = '';
|
|
58
|
-
this.subs = new Subscription();
|
|
59
|
-
this.subs.add(this.localization.changes.subscribe(({ rtl }) => {
|
|
60
|
-
this.rtl = rtl;
|
|
61
|
-
}));
|
|
62
|
-
this.subs.add(this.draggingService.resizable.subscribe(resizable => {
|
|
63
|
-
this.resizeDirections = resizable && this.resizable ?
|
|
64
|
-
this.rtl ? RTL_RESIZE_DIRECTIONS : RESIZE_DIRECTIONS : undefined;
|
|
65
|
-
}));
|
|
66
|
-
this.titleId = getId('k-tilelayout-title');
|
|
67
|
-
}
|
|
24
|
+
elem;
|
|
25
|
+
zone;
|
|
26
|
+
renderer;
|
|
27
|
+
localization;
|
|
28
|
+
draggingService;
|
|
29
|
+
keyboardNavigationService;
|
|
30
|
+
/**
|
|
31
|
+
* The title that will be rendered in the item header ([see example]({% slug tiles_tilelayout %}#toc-tiles-configuration)).
|
|
32
|
+
*/
|
|
33
|
+
title;
|
|
34
|
+
/**
|
|
35
|
+
* Determines how many rows will the tile item span ([see example](slug:tiles_tilelayout#toc-programmatic-resizing)).
|
|
36
|
+
* @default 1
|
|
37
|
+
*/
|
|
38
|
+
rowSpan = 1;
|
|
39
|
+
/**
|
|
40
|
+
* Determines how many columns will the tile item span ([see example](slug:tiles_tilelayout#toc-programmatic-resizing)).
|
|
41
|
+
* @default 1
|
|
42
|
+
*/
|
|
43
|
+
colSpan = 1;
|
|
68
44
|
/**
|
|
69
45
|
* Determines the order of the tile items within the TileLayout.
|
|
70
46
|
* If not set, the items will receive increasing sequential order in accordance with
|
|
@@ -77,6 +53,27 @@ export class TileLayoutItemComponent {
|
|
|
77
53
|
get order() {
|
|
78
54
|
return this._order;
|
|
79
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Sets the starting column of the item ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
58
|
+
*/
|
|
59
|
+
col;
|
|
60
|
+
/**
|
|
61
|
+
* Sets the starting row of the item ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
62
|
+
*/
|
|
63
|
+
row;
|
|
64
|
+
/**
|
|
65
|
+
* 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-disabling-reordering)).
|
|
66
|
+
*
|
|
67
|
+
* @default true
|
|
68
|
+
*/
|
|
69
|
+
reorderable = true;
|
|
70
|
+
/**
|
|
71
|
+
* 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-disabling-resizing)).
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
resizable = true;
|
|
75
|
+
itemClass = true;
|
|
76
|
+
hostRole = 'listitem';
|
|
80
77
|
get hostDropEffect() {
|
|
81
78
|
return this.isResizable || this.isReorderable ? 'execute' : undefined;
|
|
82
79
|
}
|
|
@@ -122,14 +119,44 @@ export class TileLayoutItemComponent {
|
|
|
122
119
|
get isResizable() {
|
|
123
120
|
return this.resizable && this.draggingService.resizable.getValue();
|
|
124
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* @hidden
|
|
124
|
+
*/
|
|
125
|
+
resizeDirections;
|
|
126
|
+
/**
|
|
127
|
+
* @hidden
|
|
128
|
+
*/
|
|
129
|
+
rtl;
|
|
130
|
+
headers;
|
|
131
|
+
/**
|
|
132
|
+
* @hidden
|
|
133
|
+
*/
|
|
134
|
+
titleId = '';
|
|
135
|
+
subs = new Subscription();
|
|
136
|
+
keyboardNavigationSubs;
|
|
137
|
+
focusableItems;
|
|
138
|
+
_order;
|
|
139
|
+
constructor(elem, zone, renderer, localization, draggingService, keyboardNavigationService) {
|
|
140
|
+
this.elem = elem;
|
|
141
|
+
this.zone = zone;
|
|
142
|
+
this.renderer = renderer;
|
|
143
|
+
this.localization = localization;
|
|
144
|
+
this.draggingService = draggingService;
|
|
145
|
+
this.keyboardNavigationService = keyboardNavigationService;
|
|
146
|
+
this.subs.add(this.localization.changes.subscribe(({ rtl }) => {
|
|
147
|
+
this.rtl = rtl;
|
|
148
|
+
}));
|
|
149
|
+
this.subs.add(this.draggingService.resizable.subscribe(resizable => {
|
|
150
|
+
this.resizeDirections = resizable && this.resizable ?
|
|
151
|
+
this.rtl ? RTL_RESIZE_DIRECTIONS : RESIZE_DIRECTIONS : undefined;
|
|
152
|
+
}));
|
|
153
|
+
this.titleId = getId('k-tilelayout-title');
|
|
154
|
+
}
|
|
125
155
|
ngAfterViewInit() {
|
|
126
156
|
const elem = this.elem.nativeElement;
|
|
127
157
|
const keyboardNavigation = this.keyboardNavigationService;
|
|
128
158
|
this.subs.add(this.draggingService.reorderable.subscribe(reorderable => {
|
|
129
159
|
this.toggleCursorClass(reorderable && this.reorderable);
|
|
130
|
-
if (this.headers?.first) {
|
|
131
|
-
this.headers.first.reorderable = reorderable && this.reorderable;
|
|
132
|
-
}
|
|
133
160
|
}));
|
|
134
161
|
this.subs.add(keyboardNavigation.navigable.subscribe(isNavigable => {
|
|
135
162
|
if (isNavigable) {
|
|
@@ -171,42 +198,42 @@ export class TileLayoutItemComponent {
|
|
|
171
198
|
return;
|
|
172
199
|
}
|
|
173
200
|
if (isReorderable) {
|
|
174
|
-
this.renderer.addClass(headerEl, 'k-cursor-
|
|
201
|
+
this.renderer.addClass(headerEl, 'k-cursor-move');
|
|
175
202
|
}
|
|
176
203
|
else {
|
|
177
|
-
this.renderer.removeClass(headerEl, 'k-cursor-
|
|
204
|
+
this.renderer.removeClass(headerEl, 'k-cursor-move');
|
|
178
205
|
}
|
|
179
206
|
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
<kendo-tilelayout-item-header [reorderable]="isReorderable" *ngIf="title">
|
|
207
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i2.TileLayoutDraggingService }, { token: i3.TileLayoutKeyboardNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
208
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TileLayoutItemComponent, isStandalone: true, selector: "kendo-tilelayout-item", inputs: { title: "title", rowSpan: "rowSpan", colSpan: "colSpan", order: "order", col: "col", row: "row", reorderable: "reorderable", resizable: "resizable" }, host: { properties: { "class.k-tilelayout-item": "this.itemClass", "class.k-card": "this.itemClass", "attr.role": "this.hostRole", "attr.aria-dropeffect": "this.hostDropEffect", "attr.tabindex": "this.hostTabindex", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts", "attr.aria-grabbed": "this.hostGrabbed", "attr.aria-labelledby": "this.hostLabelledBy", "style.grid-column-end": "this.colEnd", "style.grid-row-end": "this.rowEnd", "style.grid-column-start": "this.colStart", "style.grid-row-start": "this.rowStart" } }, queries: [{ propertyName: "headers", predicate: TileLayoutItemHeaderComponent }], usesOnChanges: true, ngImport: i0, template: `
|
|
209
|
+
<kendo-tilelayout-item-header *ngIf="title">
|
|
184
210
|
<h5 [id]="titleId" class="k-card-title">{{ title }}</h5>
|
|
185
211
|
</kendo-tilelayout-item-header>
|
|
186
212
|
<ng-content></ng-content>
|
|
187
213
|
<ng-container *ngIf="resizable">
|
|
188
214
|
<div
|
|
189
215
|
*ngFor="let dir of resizeDirections"
|
|
190
|
-
class="k-resize-handle k-cursor-{{dir}}-resize
|
|
216
|
+
class="k-resize-handle k-cursor-{{dir}}-resize"
|
|
191
217
|
kendoTileLayoutResizeHandle
|
|
192
218
|
[rtl]="rtl"
|
|
193
219
|
[resizeDirection]="dir">
|
|
194
220
|
</div>
|
|
195
221
|
</ng-container>
|
|
196
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TileLayoutItemHeaderComponent, selector: "kendo-tilelayout-item-header"
|
|
197
|
-
|
|
222
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TileLayoutItemHeaderComponent, selector: "kendo-tilelayout-item-header" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: TileLayoutResizeHandleDirective, selector: "[kendoTileLayoutResizeHandle]", inputs: ["resizeDirection", "rtl"] }] });
|
|
223
|
+
}
|
|
224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutItemComponent, decorators: [{
|
|
198
225
|
type: Component,
|
|
199
226
|
args: [{
|
|
200
227
|
selector: 'kendo-tilelayout-item',
|
|
201
228
|
template: `
|
|
202
|
-
<kendo-tilelayout-item-header
|
|
229
|
+
<kendo-tilelayout-item-header *ngIf="title">
|
|
203
230
|
<h5 [id]="titleId" class="k-card-title">{{ title }}</h5>
|
|
204
231
|
</kendo-tilelayout-item-header>
|
|
205
232
|
<ng-content></ng-content>
|
|
206
233
|
<ng-container *ngIf="resizable">
|
|
207
234
|
<div
|
|
208
235
|
*ngFor="let dir of resizeDirections"
|
|
209
|
-
class="k-resize-handle k-cursor-{{dir}}-resize
|
|
236
|
+
class="k-resize-handle k-cursor-{{dir}}-resize"
|
|
210
237
|
kendoTileLayoutResizeHandle
|
|
211
238
|
[rtl]="rtl"
|
|
212
239
|
[resizeDirection]="dir">
|
|
@@ -9,6 +9,10 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export class TileLayoutResizeHandleDirective {
|
|
12
|
+
el;
|
|
13
|
+
renderer;
|
|
14
|
+
resizeDirection;
|
|
15
|
+
rtl;
|
|
12
16
|
constructor(el, renderer) {
|
|
13
17
|
this.el = el;
|
|
14
18
|
this.renderer = renderer;
|
|
@@ -41,10 +45,10 @@ export class TileLayoutResizeHandleDirective {
|
|
|
41
45
|
this.setBottom(element);
|
|
42
46
|
}
|
|
43
47
|
}
|
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutResizeHandleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
49
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TileLayoutResizeHandleDirective, isStandalone: true, selector: "[kendoTileLayoutResizeHandle]", inputs: { resizeDirection: "resizeDirection", rtl: "rtl" }, ngImport: i0 });
|
|
44
50
|
}
|
|
45
|
-
|
|
46
|
-
TileLayoutResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TileLayoutResizeHandleDirective, isStandalone: true, selector: "[kendoTileLayoutResizeHandle]", inputs: { resizeDirection: "resizeDirection", rtl: "rtl" }, ngImport: i0 });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutResizeHandleDirective, decorators: [{
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutResizeHandleDirective, decorators: [{
|
|
48
52
|
type: Directive,
|
|
49
53
|
args: [{
|
|
50
54
|
selector: '[kendoTileLayoutResizeHandle]',
|
|
@@ -28,82 +28,22 @@ const autoFlowClasses = {
|
|
|
28
28
|
* Represents the [Kendo UI TileLayout component for Angular]({% slug overview_tilelayout %})
|
|
29
29
|
*/
|
|
30
30
|
export class TileLayoutComponent {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
this.columnWidth = '1fr';
|
|
48
|
-
/**
|
|
49
|
-
* Determines whether the reordering functionality will be enabled ([see example]({% slug reordering_tilelayout %})).
|
|
50
|
-
* @default false
|
|
51
|
-
*/
|
|
52
|
-
this.reorderable = false;
|
|
53
|
-
/**
|
|
54
|
-
* Determines whether the resizing functionality will be enabled ([see example]({% slug resizing_tilelayout %})).
|
|
55
|
-
* @default false
|
|
56
|
-
*/
|
|
57
|
-
this.resizable = false;
|
|
58
|
-
/**
|
|
59
|
-
* Determines the height of the rows. Numeric values are treated as pixels ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
60
|
-
* @default '1fr'
|
|
61
|
-
*/
|
|
62
|
-
this.rowHeight = '1fr';
|
|
63
|
-
/**
|
|
64
|
-
* Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout ([see example]({% slug tiles_autoflow_tilelayout %})).
|
|
65
|
-
* For further reference, check the [grid-auto-flow CSS article](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow).
|
|
66
|
-
*
|
|
67
|
-
* The possible values are:
|
|
68
|
-
* * (Default) `column`
|
|
69
|
-
* * `row`
|
|
70
|
-
* * `row dense`
|
|
71
|
-
* * `column dense`
|
|
72
|
-
* * `none`
|
|
73
|
-
*
|
|
74
|
-
*/
|
|
75
|
-
this.autoFlow = 'column';
|
|
76
|
-
/**
|
|
77
|
-
* If set to true, the user can use dedicated shortcuts to interact with the TileLayout.
|
|
78
|
-
* By default, navigation is disabled and focusable TileLayout content is a part of the natural tab sequence of the page.
|
|
79
|
-
*
|
|
80
|
-
* @default false
|
|
81
|
-
*/
|
|
82
|
-
this.navigable = false;
|
|
83
|
-
/**
|
|
84
|
-
* Fires when the user completes the reordering of the item ([see example]({% slug reordering_tilelayout %})).
|
|
85
|
-
* This event is preventable. If you cancel it, the item will not be reordered.
|
|
86
|
-
*/
|
|
87
|
-
this.reorder = new EventEmitter();
|
|
88
|
-
/**
|
|
89
|
-
* Fires when the user completes the resizing of the item ([see example]({% slug resizing_tilelayout %})).
|
|
90
|
-
* This event is preventable. If you cancel it, the item will not be resized.
|
|
91
|
-
*/
|
|
92
|
-
this.resize = new EventEmitter();
|
|
93
|
-
this.hostClass = true;
|
|
94
|
-
this.hostRole = 'list';
|
|
95
|
-
/**
|
|
96
|
-
* @hidden
|
|
97
|
-
*/
|
|
98
|
-
this.showLicenseWatermark = false;
|
|
99
|
-
this.subs = new Subscription();
|
|
100
|
-
this._gap = {
|
|
101
|
-
rows: 16,
|
|
102
|
-
columns: 16
|
|
103
|
-
};
|
|
104
|
-
const isValid = validatePackage(packageMetadata);
|
|
105
|
-
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
106
|
-
}
|
|
31
|
+
zone;
|
|
32
|
+
elem;
|
|
33
|
+
renderer;
|
|
34
|
+
localization;
|
|
35
|
+
draggingService;
|
|
36
|
+
navigationService;
|
|
37
|
+
/**
|
|
38
|
+
* Defines the number of columns ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
39
|
+
* @default 1
|
|
40
|
+
*/
|
|
41
|
+
columns = 1;
|
|
42
|
+
/**
|
|
43
|
+
* Determines the width of the columns. Numeric values are treated as pixels ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
44
|
+
* @default '1fr'
|
|
45
|
+
*/
|
|
46
|
+
columnWidth = '1fr';
|
|
107
47
|
/**
|
|
108
48
|
* The numeric values which determine the spacing in pixels between the layout items horizontally and vertically.
|
|
109
49
|
* Properties:
|
|
@@ -118,9 +58,57 @@ export class TileLayoutComponent {
|
|
|
118
58
|
get gap() {
|
|
119
59
|
return this._gap;
|
|
120
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Determines whether the reordering functionality will be enabled ([see example]({% slug reordering_tilelayout %})).
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
reorderable = false;
|
|
66
|
+
/**
|
|
67
|
+
* Determines whether the resizing functionality will be enabled ([see example]({% slug resizing_tilelayout %})).
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
70
|
+
resizable = false;
|
|
71
|
+
/**
|
|
72
|
+
* Determines the height of the rows. Numeric values are treated as pixels ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
|
|
73
|
+
* @default '1fr'
|
|
74
|
+
*/
|
|
75
|
+
rowHeight = '1fr';
|
|
76
|
+
/**
|
|
77
|
+
* Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout ([see example]({% slug tiles_autoflow_tilelayout %})).
|
|
78
|
+
* For further reference, check the [grid-auto-flow CSS article](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow).
|
|
79
|
+
*
|
|
80
|
+
* The possible values are:
|
|
81
|
+
* * (Default) `column`
|
|
82
|
+
* * `row`
|
|
83
|
+
* * `row dense`
|
|
84
|
+
* * `column dense`
|
|
85
|
+
* * `none`
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
autoFlow = 'column';
|
|
89
|
+
/**
|
|
90
|
+
* If set to true, the user can use dedicated shortcuts to interact with the TileLayout.
|
|
91
|
+
* By default, navigation is disabled and focusable TileLayout content is a part of the natural tab sequence of the page.
|
|
92
|
+
*
|
|
93
|
+
* @default false
|
|
94
|
+
*/
|
|
95
|
+
navigable = false;
|
|
96
|
+
/**
|
|
97
|
+
* Fires when the user completes the reordering of the item ([see example]({% slug reordering_tilelayout %})).
|
|
98
|
+
* This event is preventable. If you cancel it, the item will not be reordered.
|
|
99
|
+
*/
|
|
100
|
+
reorder = new EventEmitter();
|
|
101
|
+
/**
|
|
102
|
+
* Fires when the user completes the resizing of the item ([see example]({% slug resizing_tilelayout %})).
|
|
103
|
+
* This event is preventable. If you cancel it, the item will not be resized.
|
|
104
|
+
*/
|
|
105
|
+
resize = new EventEmitter();
|
|
106
|
+
hostClass = true;
|
|
107
|
+
hostRole = 'list';
|
|
121
108
|
get gapStyle() {
|
|
122
109
|
return `${this.gap.rows}px ${this.gap.columns}px`;
|
|
123
110
|
}
|
|
111
|
+
direction;
|
|
124
112
|
get currentColStart() {
|
|
125
113
|
return this.draggingService.colStart;
|
|
126
114
|
}
|
|
@@ -133,6 +121,31 @@ export class TileLayoutComponent {
|
|
|
133
121
|
get targetOrder() {
|
|
134
122
|
return this.draggingService.order;
|
|
135
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* A query list of all declared [TileLayoutItemComponent]({% slug api_layout_tilelayoutitemcomponent %}) items.
|
|
126
|
+
*/
|
|
127
|
+
items;
|
|
128
|
+
hint;
|
|
129
|
+
/**
|
|
130
|
+
* @hidden
|
|
131
|
+
*/
|
|
132
|
+
showLicenseWatermark = false;
|
|
133
|
+
draggable;
|
|
134
|
+
subs = new Subscription();
|
|
135
|
+
_gap = {
|
|
136
|
+
rows: 16,
|
|
137
|
+
columns: 16
|
|
138
|
+
};
|
|
139
|
+
constructor(zone, elem, renderer, localization, draggingService, navigationService) {
|
|
140
|
+
this.zone = zone;
|
|
141
|
+
this.elem = elem;
|
|
142
|
+
this.renderer = renderer;
|
|
143
|
+
this.localization = localization;
|
|
144
|
+
this.draggingService = draggingService;
|
|
145
|
+
this.navigationService = navigationService;
|
|
146
|
+
const isValid = validatePackage(packageMetadata);
|
|
147
|
+
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
148
|
+
}
|
|
136
149
|
ngOnInit() {
|
|
137
150
|
this.applyColStyling();
|
|
138
151
|
this.applyRowStyling();
|
|
@@ -252,19 +265,18 @@ export class TileLayoutComponent {
|
|
|
252
265
|
}
|
|
253
266
|
});
|
|
254
267
|
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
}
|
|
265
|
-
], queries: [{ propertyName: "items", predicate: TileLayoutItemComponent }], viewQueries: [{ propertyName: "hint", first: true, predicate: ["hint"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
268
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i2.TileLayoutDraggingService }, { token: i3.TileLayoutKeyboardNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
269
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TileLayoutComponent, isStandalone: true, selector: "kendo-tilelayout", inputs: { columns: "columns", columnWidth: "columnWidth", gap: "gap", reorderable: "reorderable", resizable: "resizable", rowHeight: "rowHeight", autoFlow: "autoFlow", navigable: "navigable" }, outputs: { reorder: "reorder", resize: "resize" }, host: { properties: { "class.k-tilelayout": "this.hostClass", "attr.role": "this.hostRole", "style.gap": "this.gapStyle", "style.padding": "this.gapStyle", "attr.dir": "this.direction" } }, providers: [
|
|
270
|
+
LocalizationService,
|
|
271
|
+
TileLayoutDraggingService,
|
|
272
|
+
TileLayoutKeyboardNavigationService,
|
|
273
|
+
{
|
|
274
|
+
provide: L10N_PREFIX,
|
|
275
|
+
useValue: 'kendo.tilelayout.component'
|
|
276
|
+
}
|
|
277
|
+
], queries: [{ propertyName: "items", predicate: TileLayoutItemComponent }], viewQueries: [{ propertyName: "hint", first: true, predicate: ["hint"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
266
278
|
<ng-content></ng-content>
|
|
267
|
-
<div #hint class="k-layout-item-hint
|
|
279
|
+
<div #hint class="k-layout-item-hint"
|
|
268
280
|
[style.display]="'none'"
|
|
269
281
|
[style.order]="targetOrder"
|
|
270
282
|
[style.gridColumnEnd]="draggedItemWrapper?.style.gridColumnEnd"
|
|
@@ -275,7 +287,8 @@ TileLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
275
287
|
</div>
|
|
276
288
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
277
289
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
278
|
-
|
|
290
|
+
}
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutComponent, decorators: [{
|
|
279
292
|
type: Component,
|
|
280
293
|
args: [{
|
|
281
294
|
selector: 'kendo-tilelayout',
|
|
@@ -290,7 +303,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
290
303
|
],
|
|
291
304
|
template: `
|
|
292
305
|
<ng-content></ng-content>
|
|
293
|
-
<div #hint class="k-layout-item-hint
|
|
306
|
+
<div #hint class="k-layout-item-hint"
|
|
294
307
|
[style.display]="'none'"
|
|
295
308
|
[style.order]="targetOrder"
|
|
296
309
|
[style.gridColumnEnd]="draggedItemWrapper?.style.gridColumnEnd"
|
|
@@ -327,9 +340,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
327
340
|
}], hostClass: [{
|
|
328
341
|
type: HostBinding,
|
|
329
342
|
args: ['class.k-tilelayout']
|
|
330
|
-
}, {
|
|
331
|
-
type: HostBinding,
|
|
332
|
-
args: ['class.k-pos-relative']
|
|
333
343
|
}], hostRole: [{
|
|
334
344
|
type: HostBinding,
|
|
335
345
|
args: ['attr.role']
|
|
@@ -21,11 +21,11 @@ import * as i4 from "./tilelayout/tilelayout-item-header.component";
|
|
|
21
21
|
* - `TileLayoutItemBodyComponent`—The `TileLayoutItemBodyComponent` component class.
|
|
22
22
|
*/
|
|
23
23
|
export class TileLayoutModule {
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
25
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutModule, imports: [i1.TileLayoutComponent, i2.TileLayoutItemBodyComponent, i3.TileLayoutItemComponent, i4.TileLayoutItemHeaderComponent], exports: [i1.TileLayoutComponent, i2.TileLayoutItemBodyComponent, i3.TileLayoutItemComponent, i4.TileLayoutItemHeaderComponent] });
|
|
26
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutModule, imports: [i1.TileLayoutComponent] });
|
|
24
27
|
}
|
|
25
|
-
|
|
26
|
-
TileLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutModule, imports: [i1.TileLayoutComponent, i2.TileLayoutItemBodyComponent, i3.TileLayoutItemComponent, i4.TileLayoutItemHeaderComponent], exports: [i1.TileLayoutComponent, i2.TileLayoutItemBodyComponent, i3.TileLayoutItemComponent, i4.TileLayoutItemHeaderComponent] });
|
|
27
|
-
TileLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutModule, imports: [KENDO_TILELAYOUT] });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutModule, decorators: [{
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutModule, decorators: [{
|
|
29
29
|
type: NgModule,
|
|
30
30
|
args: [{
|
|
31
31
|
exports: [...KENDO_TILELAYOUT],
|
|
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* Custom component messages override default component messages.
|
|
12
12
|
*/
|
|
13
13
|
export class TimelineCustomMessagesComponent extends TimelineMessages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
@@ -18,15 +19,15 @@ export class TimelineCustomMessagesComponent extends TimelineMessages {
|
|
|
18
19
|
get override() {
|
|
19
20
|
return true;
|
|
20
21
|
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimelineCustomMessagesComponent, isStandalone: true, selector: "kendo-timeline-messages", providers: [
|
|
24
|
+
{
|
|
25
|
+
provide: TimelineMessages,
|
|
26
|
+
useExisting: forwardRef(() => TimelineCustomMessagesComponent),
|
|
27
|
+
},
|
|
28
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
21
29
|
}
|
|
22
|
-
|
|
23
|
-
TimelineCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCustomMessagesComponent, isStandalone: true, selector: "kendo-timeline-messages", providers: [
|
|
24
|
-
{
|
|
25
|
-
provide: TimelineMessages,
|
|
26
|
-
useExisting: forwardRef(() => TimelineCustomMessagesComponent),
|
|
27
|
-
},
|
|
28
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCustomMessagesComponent, decorators: [{
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineCustomMessagesComponent, decorators: [{
|
|
30
31
|
type: Component,
|
|
31
32
|
args: [{
|
|
32
33
|
providers: [
|
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class LocalizedTimelineMessagesDirective extends TimelineMessages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedTimelineMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedTimelineMessagesDirective, isStandalone: true, selector: "[kendoTimelineLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: TimelineMessages,
|
|
23
|
+
useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
|
|
24
|
+
},
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
LocalizedTimelineMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedTimelineMessagesDirective, isStandalone: true, selector: "[kendoTimelineLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: TimelineMessages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
|
|
24
|
-
},
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTimelineMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedTimelineMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
|
@@ -9,10 +9,18 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export class TimelineMessages extends ComponentMessages {
|
|
12
|
+
/**
|
|
13
|
+
* The title of the previous button in horizontal orientation.
|
|
14
|
+
*/
|
|
15
|
+
previous;
|
|
16
|
+
/**
|
|
17
|
+
* The title of the next button in horizontal orientation.
|
|
18
|
+
*/
|
|
19
|
+
next;
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimelineMessages, selector: "kendo-timeline-messages-base", inputs: { previous: "previous", next: "next" }, usesInheritance: true, ngImport: i0 });
|
|
12
22
|
}
|
|
13
|
-
|
|
14
|
-
TimelineMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimelineMessages, selector: "kendo-timeline-messages-base", inputs: { previous: "previous", next: "next" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMessages, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineMessages, decorators: [{
|
|
16
24
|
type: Directive,
|
|
17
25
|
args: [{
|
|
18
26
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -13,13 +13,14 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* - `let-index="index"` (`number`) - The current event index.
|
|
14
14
|
*/
|
|
15
15
|
export class TimelineCardActionsTemplateDirective {
|
|
16
|
+
templateRef;
|
|
16
17
|
constructor(templateRef) {
|
|
17
18
|
this.templateRef = templateRef;
|
|
18
19
|
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineCardActionsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimelineCardActionsTemplateDirective, isStandalone: true, selector: "[kendoTimelineCardActionsTemplate]", ngImport: i0 });
|
|
19
22
|
}
|
|
20
|
-
|
|
21
|
-
TimelineCardActionsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCardActionsTemplateDirective, isStandalone: true, selector: "[kendoTimelineCardActionsTemplate]", ngImport: i0 });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardActionsTemplateDirective, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineCardActionsTemplateDirective, decorators: [{
|
|
23
24
|
type: Directive,
|
|
24
25
|
args: [{
|
|
25
26
|
selector: '[kendoTimelineCardActionsTemplate]',
|
|
@@ -13,13 +13,14 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* - `let-index="index"` (`number`) - The current event index.
|
|
14
14
|
*/
|
|
15
15
|
export class TimelineCardBodyTemplateDirective {
|
|
16
|
+
templateRef;
|
|
16
17
|
constructor(templateRef) {
|
|
17
18
|
this.templateRef = templateRef;
|
|
18
19
|
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineCardBodyTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimelineCardBodyTemplateDirective, isStandalone: true, selector: "[kendoTimelineCardBodyTemplate]", ngImport: i0 });
|
|
19
22
|
}
|
|
20
|
-
|
|
21
|
-
TimelineCardBodyTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCardBodyTemplateDirective, isStandalone: true, selector: "[kendoTimelineCardBodyTemplate]", ngImport: i0 });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardBodyTemplateDirective, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineCardBodyTemplateDirective, decorators: [{
|
|
23
24
|
type: Directive,
|
|
24
25
|
args: [{
|
|
25
26
|
selector: '[kendoTimelineCardBodyTemplate]',
|