@progress/kendo-angular-layout 17.0.0-develop.1 → 17.0.0-develop.11

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.1",
3
+ "version": "17.0.0-develop.11",
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.1",
43
- "@progress/kendo-angular-l10n": "17.0.0-develop.1",
44
- "@progress/kendo-angular-progressbar": "17.0.0-develop.1",
45
- "@progress/kendo-angular-icons": "17.0.0-develop.1",
46
- "@progress/kendo-angular-buttons": "17.0.0-develop.1",
47
- "@progress/kendo-angular-intl": "17.0.0-develop.1",
42
+ "@progress/kendo-angular-common": "17.0.0-develop.11",
43
+ "@progress/kendo-angular-l10n": "17.0.0-develop.11",
44
+ "@progress/kendo-angular-progressbar": "17.0.0-develop.11",
45
+ "@progress/kendo-angular-icons": "17.0.0-develop.11",
46
+ "@progress/kendo-angular-buttons": "17.0.0-develop.11",
47
+ "@progress/kendo-angular-intl": "17.0.0-develop.11",
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.1",
52
+ "@progress/kendo-angular-schematics": "17.0.0-develop.11",
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,7 +108,8 @@ 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
@@ -110,5 +125,5 @@ export declare class SplitterPaneComponent implements AfterViewChecked {
110
125
  detectChanges(): void;
111
126
  private setOrderStyles;
112
127
  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>;
128
+ 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
129
  }
@@ -66,6 +66,11 @@ export declare class SplitterComponent implements AfterContentInit {
66
66
  */
67
67
  set resizeStep(value: number);
68
68
  get resizeStep(): number;
69
+ /**
70
+ * The CSS classes that will be rendered on the splitter bars.
71
+ * Supports the type of values that are supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
72
+ */
73
+ splitterBarClass: string | Array<string> | Object;
69
74
  /**
70
75
  * Fires after a Splitter pane is resized or collapsed.
71
76
  * Useful for triggering layout calculations on components
@@ -91,5 +96,5 @@ export declare class SplitterComponent implements AfterContentInit {
91
96
  private configure;
92
97
  private get direction();
93
98
  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>;
99
+ 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
100
  }
@@ -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,6 +40,7 @@ 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;
44
46
  constructor(zone: NgZone);
@@ -51,6 +53,8 @@ export declare class SplitterService {
51
53
  isDraggable(splitBarIndex: number): boolean;
52
54
  isStatic(splitBarIndex: number): boolean;
53
55
  pane(index: number): SplitterPaneComponent;
56
+ paneByIndex(pane: SplitterPaneComponent): number;
57
+ getPaneSplitterBar(pane: SplitterPaneComponent): SplitterBarComponent | null;
54
58
  configure({ panes, orientation, containerSize, direction }: SplitterParameters): void;
55
59
  private containerSize;
56
60
  private rtl;
@@ -6,4 +6,4 @@
6
6
  * Specifies the alignment of the tabs
7
7
  * ([see example](slug:tabs_tabstrip#toc-tab-alignment)).
8
8
  */
9
- export declare type TabAlignment = 'start' | 'end' | 'center' | 'justify';
9
+ export declare type TabAlignment = 'start' | 'end' | 'center' | 'justify' | 'stretched';
@@ -40,6 +40,8 @@ export declare class TabStripComponent implements AfterViewInit, OnDestroy {
40
40
  animate: boolean;
41
41
  /**
42
42
  * Sets the alignment of the tabs.
43
+ *
44
+ * @default: 'start'
43
45
  */
44
46
  tabAlignment: TabAlignment;
45
47
  /**
@@ -154,18 +156,6 @@ export declare class TabStripComponent implements AfterViewInit, OnDestroy {
154
156
  ngAfterViewInit(): void;
155
157
  ngOnChanges(changes: SimpleChanges): void;
156
158
  ngOnDestroy(): void;
157
- /**
158
- * @hidden
159
- */
160
- get tabsAlignmentStyles(): string;
161
- /**
162
- * @hidden
163
- */
164
- get tabListWidth(): string;
165
- /**
166
- * @hidden
167
- */
168
- get tabListHeight(): string;
169
159
  /**
170
160
  * @hidden
171
161
  */