@leanix/components 0.4.470 → 0.4.472
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/esm2022/lib/core-ui/components/table/table-header/table-header.component.mjs +85 -33
- package/esm2022/lib/core-ui/components/table/table.component.mjs +13 -57
- package/esm2022/lib/core-ui/core-ui.module.mjs +2 -1
- package/fesm2022/leanix-components.mjs +102 -94
- package/fesm2022/leanix-components.mjs.map +1 -1
- package/lib/core-ui/components/table/table-header/table-header.component.d.ts +8 -10
- package/lib/core-ui/components/table/table.component.d.ts +5 -13
- package/package.json +3 -2
@@ -1,18 +1,16 @@
|
|
1
|
-
import {
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
2
|
import { OrderOption, SortingOptions } from '../../../pipes/sort.pipe';
|
3
|
+
import { TableComponent } from '../table.component';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export declare class TableHeaderComponent {
|
5
|
-
private
|
6
|
-
private
|
6
|
+
#private;
|
7
|
+
private parentTable?;
|
7
8
|
column?: string;
|
8
9
|
sortChange: EventEmitter<SortingOptions>;
|
9
|
-
sortable: boolean
|
10
|
-
|
11
|
-
constructor(
|
10
|
+
sortable: import("@angular/core").Signal<boolean>;
|
11
|
+
order: import("@angular/core").Signal<OrderOption>;
|
12
|
+
constructor(parentTable?: TableComponent | undefined);
|
12
13
|
onSort(): void;
|
13
|
-
|
14
|
-
get order(): OrderOption;
|
15
|
-
set isTabable(tabable: boolean);
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, [{ optional: true; }]>;
|
17
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "lx-th", never, { "column": { "alias": "column"; "required": false; }; }, { "sortChange": "sortChange"; }, never, ["*"], true, never>;
|
18
16
|
}
|
@@ -1,17 +1,9 @@
|
|
1
|
-
import { AfterContentInit, ElementRef, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
2
1
|
import { SortingOptions } from '../../pipes/sort.pipe';
|
3
|
-
import { TableHeaderComponent } from './table-header/table-header.component';
|
4
2
|
import * as i0 from "@angular/core";
|
5
|
-
export declare class TableComponent
|
6
|
-
|
7
|
-
|
8
|
-
sort
|
9
|
-
sortChange: EventEmitter<SortingOptions>;
|
10
|
-
tableHeaders: QueryList<TableHeaderComponent>;
|
11
|
-
constructor(elementRef: ElementRef<HTMLTableElement>);
|
12
|
-
ngOnChanges(changes: SimpleChanges): void;
|
13
|
-
ngAfterContentInit(): void;
|
14
|
-
private setSortValueOnHeader;
|
3
|
+
export declare class TableComponent {
|
4
|
+
isSortable: import("@angular/core").InputSignal<boolean>;
|
5
|
+
sort: import("@angular/core").ModelSignal<SortingOptions>;
|
6
|
+
onTableHeaderSortChange(sort: SortingOptions): void;
|
15
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableComponent, "table[lx-table]", never, { "isSortable": { "alias": "isSortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, { "
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableComponent, "table[lx-table]", never, { "isSortable": { "alias": "isSortable"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, never, true, never>;
|
17
9
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@leanix/components",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.472",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"author": "LeanIX GmbH",
|
6
6
|
"repository": {
|
@@ -10,7 +10,8 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@ncstate/sat-popover": "13.1.0",
|
13
|
-
"@ui5/webcomponents-
|
13
|
+
"@ui5/webcomponents-base": "2.9.0",
|
14
|
+
"@ui5/webcomponents-ngx": "0.4.6",
|
14
15
|
"color": "3.1.3",
|
15
16
|
"date-fns": "1.30.1",
|
16
17
|
"dompurify": "2.5.4",
|