@progress/kendo-angular-layout 17.0.0-develop.10 → 17.0.0-develop.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-layout",
3
- "version": "17.0.0-develop.10",
3
+ "version": "17.0.0-develop.12",
4
4
  "description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -39,17 +39,17 @@
39
39
  "@angular/core": "15 - 18",
40
40
  "@angular/platform-browser": "15 - 18",
41
41
  "@progress/kendo-licensing": "^1.0.2",
42
- "@progress/kendo-angular-common": "17.0.0-develop.10",
43
- "@progress/kendo-angular-l10n": "17.0.0-develop.10",
44
- "@progress/kendo-angular-progressbar": "17.0.0-develop.10",
45
- "@progress/kendo-angular-icons": "17.0.0-develop.10",
46
- "@progress/kendo-angular-buttons": "17.0.0-develop.10",
47
- "@progress/kendo-angular-intl": "17.0.0-develop.10",
42
+ "@progress/kendo-angular-common": "17.0.0-develop.12",
43
+ "@progress/kendo-angular-l10n": "17.0.0-develop.12",
44
+ "@progress/kendo-angular-progressbar": "17.0.0-develop.12",
45
+ "@progress/kendo-angular-icons": "17.0.0-develop.12",
46
+ "@progress/kendo-angular-buttons": "17.0.0-develop.12",
47
+ "@progress/kendo-angular-intl": "17.0.0-develop.12",
48
48
  "rxjs": "^6.5.3 || ^7.0.0"
49
49
  },
50
50
  "dependencies": {
51
51
  "tslib": "^2.3.1",
52
- "@progress/kendo-angular-schematics": "17.0.0-develop.10",
52
+ "@progress/kendo-angular-schematics": "17.0.0-develop.12",
53
53
  "@progress/kendo-draggable": "^3.0.2"
54
54
  },
55
55
  "schematics": "./schematics/collection.json",
@@ -20,6 +20,7 @@ export declare class SplitterBarComponent implements OnInit, OnDestroy {
20
20
  private renderer;
21
21
  private cdr;
22
22
  ariaRole: string;
23
+ ariaLabel: string;
23
24
  focused: boolean;
24
25
  get hostOrientation(): string;
25
26
  get tabIndex(): number;
@@ -27,7 +28,17 @@ export declare class SplitterBarComponent implements OnInit, OnDestroy {
27
28
  get order(): number;
28
29
  orientation: Orientation;
29
30
  index: number;
31
+ set htmlAttributes(attributes: {
32
+ [key: string]: string;
33
+ });
34
+ get htmlAttributes(): {
35
+ [key: string]: string;
36
+ };
30
37
  private subscriptions;
38
+ private _htmlAttributes;
39
+ private parsedAttributes;
40
+ private get defaultAttributes();
41
+ private get mutableAttributes();
31
42
  constructor(draggable: DraggableDirective, localization: LocalizationService, splitterService: SplitterService, element: ElementRef<HTMLElement>, renderer: Renderer2, cdr: ChangeDetectorRef);
32
43
  ngOnInit(): void;
33
44
  ngOnDestroy(): void;
@@ -43,6 +54,7 @@ export declare class SplitterBarComponent implements OnInit, OnDestroy {
43
54
  private get expandLast();
44
55
  private onKeyDown;
45
56
  private tryToggleNearest;
57
+ private setHtmlAttributes;
46
58
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitterBarComponent, [{ host: true; }, null, null, null, null, null]>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<SplitterBarComponent, "kendo-splitter-bar", never, { "orientation": "orientation"; "index": "index"; }, {}, never, never, true, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitterBarComponent, "kendo-splitter-bar", never, { "orientation": "orientation"; "index": "index"; "htmlAttributes": "htmlAttributes"; }, {}, never, never, true, never>;
48
60
  }
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2, AfterViewChecked } from '@angular/core';
6
6
  import { Orientation } from '../common/orientation';
7
+ import { SplitterService } from './splitter.service';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Represents the pane component of the Splitter.
@@ -12,6 +13,7 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
12
13
  element: ElementRef<HTMLElement>;
13
14
  private renderer;
14
15
  private cdr;
16
+ private splitterService;
15
17
  /**
16
18
  * @hidden
17
19
  */
@@ -25,9 +27,21 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
25
27
  set size(newSize: string);
26
28
  get size(): string;
27
29
  /**
28
- * The value of the aria-label attribute of the auxiliary separator.
30
+ * Sets the HTML attributes of the splitter bar.
31
+ * The property accepts string key-value based pairs.
32
+ * Attributes which are essential for certain functionalities cannot be changed.
29
33
  */
30
- separatorLabel: string;
34
+ set splitterBarAttributes(attributes: {
35
+ [key: string]: string;
36
+ });
37
+ get splitterBarAttributes(): {
38
+ [key: string]: string;
39
+ };
40
+ /**
41
+ * The CSS classes that will be rendered on the splitter bar.
42
+ * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
43
+ */
44
+ splitterBarClass: string | Array<string> | Object;
31
45
  /**
32
46
  * Sets the minimum possible size of the pane.
33
47
  * Accepts units in pixel and percentage values.
@@ -94,12 +108,17 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
94
108
  isResized: boolean;
95
109
  private _size;
96
110
  private _order;
97
- constructor(element: ElementRef<HTMLElement>, renderer: Renderer2, cdr: ChangeDetectorRef);
111
+ private _splitterBarAttributes;
112
+ constructor(element: ElementRef<HTMLElement>, renderer: Renderer2, cdr: ChangeDetectorRef, splitterService: SplitterService);
98
113
  ngAfterViewChecked(): void;
99
114
  /**
100
115
  * @hidden
101
116
  */
102
117
  get computedSize(): number;
118
+ /**
119
+ * @hidden
120
+ */
121
+ get nativeElement(): HTMLElement;
103
122
  /**
104
123
  * @hidden
105
124
  */
@@ -110,5 +129,5 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
110
129
  detectChanges(): void;
111
130
  private setOrderStyles;
112
131
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitterPaneComponent, never>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<SplitterPaneComponent, "kendo-splitter-pane", ["kendoSplitterPane"], { "order": "order"; "size": "size"; "separatorLabel": "separatorLabel"; "min": "min"; "max": "max"; "resizable": "resizable"; "collapsible": "collapsible"; "scrollable": "scrollable"; "collapsed": "collapsed"; "orientation": "orientation"; "containsSplitter": "containsSplitter"; "overlayContent": "overlayContent"; }, { "sizeChange": "sizeChange"; "collapsedChange": "collapsedChange"; }, never, ["*"], true, never>;
132
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitterPaneComponent, "kendo-splitter-pane", ["kendoSplitterPane"], { "order": "order"; "size": "size"; "splitterBarAttributes": "splitterBarAttributes"; "splitterBarClass": "splitterBarClass"; "min": "min"; "max": "max"; "resizable": "resizable"; "collapsible": "collapsible"; "scrollable": "scrollable"; "collapsed": "collapsed"; "orientation": "orientation"; "containsSplitter": "containsSplitter"; "overlayContent": "overlayContent"; }, { "sizeChange": "sizeChange"; "collapsedChange": "collapsedChange"; }, never, ["*"], true, never>;
114
133
  }
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef, EventEmitter, AfterContentInit, QueryList, Renderer2 } from '@angular/core';
5
+ import { ElementRef, EventEmitter, AfterContentInit, QueryList, Renderer2, NgZone } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { Orientation } from '../common/orientation';
8
8
  import { SplitterPaneComponent } from './splitter-pane.component';
@@ -49,6 +49,7 @@ export declare class SplitterComponent implements AfterContentInit {
49
49
  protected splitterService: SplitterService;
50
50
  private localization;
51
51
  private renderer;
52
+ private ngZone;
52
53
  private enclosingPane?;
53
54
  /**
54
55
  * Specifies the orientation of the panes within the Splitter.
@@ -66,6 +67,11 @@ export declare class SplitterComponent implements AfterContentInit {
66
67
  */
67
68
  set resizeStep(value: number);
68
69
  get resizeStep(): number;
70
+ /**
71
+ * The CSS classes that will be rendered on the splitter bars.
72
+ * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
73
+ */
74
+ splitterBarClass: string | Array<string> | Object;
69
75
  /**
70
76
  * Fires after a Splitter pane is resized or collapsed.
71
77
  * Useful for triggering layout calculations on components
@@ -82,7 +88,8 @@ export declare class SplitterComponent implements AfterContentInit {
82
88
  */
83
89
  panes: QueryList<SplitterPaneComponent>;
84
90
  private paneChangesSubscription;
85
- constructor(element: ElementRef<HTMLElement>, splitterService: SplitterService, localization: LocalizationService, renderer: Renderer2, enclosingPane?: SplitterPaneComponent);
91
+ private _styleObserver;
92
+ constructor(element: ElementRef<HTMLElement>, splitterService: SplitterService, localization: LocalizationService, renderer: Renderer2, ngZone: NgZone, enclosingPane?: SplitterPaneComponent);
86
93
  ngAfterContentInit(): void;
87
94
  ngOnChanges(changes: any): void;
88
95
  ngOnDestroy(): void;
@@ -90,6 +97,7 @@ export declare class SplitterComponent implements AfterContentInit {
90
97
  private unsubscribeChanges;
91
98
  private configure;
92
99
  private get direction();
93
- static ɵfac: i0.ɵɵFactoryDeclaration<SplitterComponent, [null, null, null, null, { optional: true; host: true; }]>;
94
- static ɵcmp: i0.ɵɵComponentDeclaration<SplitterComponent, "kendo-splitter", ["kendoSplitter"], { "orientation": "orientation"; "splitbarWidth": "splitbarWidth"; "resizeStep": "resizeStep"; }, { "layoutChange": "layoutChange"; }, ["panes"], ["kendo-splitter-pane"], true, never>;
100
+ private setFixedHeight;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<SplitterComponent, [null, null, null, null, null, { optional: true; host: true; }]>;
102
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitterComponent, "kendo-splitter", ["kendoSplitter"], { "orientation": "orientation"; "splitbarWidth": "splitbarWidth"; "resizeStep": "resizeStep"; "splitterBarClass": "splitterBarClass"; }, { "layoutChange": "layoutChange"; }, ["panes"], ["kendo-splitter-pane"], true, never>;
95
103
  }
@@ -6,6 +6,7 @@ import { EventEmitter, NgZone } from '@angular/core';
6
6
  import { Orientation } from '../common/orientation';
7
7
  import { SplitterPaneComponent } from './splitter-pane.component';
8
8
  import { Direction } from '../common/direction';
9
+ import { SplitterBarComponent } from './splitter-bar.component';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
@@ -39,8 +40,10 @@ export declare type SplitterDragState = {
39
40
  export declare class SplitterService {
40
41
  private zone;
41
42
  panes: Array<SplitterPaneComponent>;
43
+ splitterBars: Array<SplitterBarComponent>;
42
44
  layoutChange: EventEmitter<any>;
43
45
  resizeStep: number;
46
+ fixedHeight: boolean;
44
47
  constructor(zone: NgZone);
45
48
  tryToggle(paneIndex: number): boolean;
46
49
  togglePane(keyCode: number, index: number): void;
@@ -51,6 +54,8 @@ export declare class SplitterService {
51
54
  isDraggable(splitBarIndex: number): boolean;
52
55
  isStatic(splitBarIndex: number): boolean;
53
56
  pane(index: number): SplitterPaneComponent;
57
+ paneByIndex(pane: SplitterPaneComponent): number;
58
+ getPaneSplitterBar(pane: SplitterPaneComponent): SplitterBarComponent | null;
54
59
  configure({ panes, orientation, containerSize, direction }: SplitterParameters): void;
55
60
  private containerSize;
56
61
  private rtl;