@scania/tegel-angular-17 1.40.0-ts-strict-mode-beta.0 → 1.41.0-angular-patch-types-beta.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.
|
@@ -222,7 +222,7 @@ export declare interface TdsDropdown extends Components.TdsDropdown {
|
|
|
222
222
|
*/
|
|
223
223
|
tdsChange: EventEmitter<CustomEvent<{
|
|
224
224
|
name: string;
|
|
225
|
-
value: string
|
|
225
|
+
value: string;
|
|
226
226
|
}>>;
|
|
227
227
|
/**
|
|
228
228
|
* Focus event for the Dropdown.
|
|
@@ -236,6 +236,12 @@ export declare interface TdsDropdown extends Components.TdsDropdown {
|
|
|
236
236
|
* Input event for the Dropdown.
|
|
237
237
|
*/
|
|
238
238
|
tdsInput: EventEmitter<CustomEvent<InputEvent>>;
|
|
239
|
+
/**
|
|
240
|
+
* Clear event for the Dropdown.
|
|
241
|
+
*/
|
|
242
|
+
tdsClear: EventEmitter<CustomEvent<{
|
|
243
|
+
clearedValue: string;
|
|
244
|
+
}>>;
|
|
239
245
|
}
|
|
240
246
|
export declare class TdsDropdownOption {
|
|
241
247
|
protected z: NgZone;
|
|
@@ -343,8 +349,8 @@ export declare interface TdsHeaderCell extends Components.TdsHeaderCell {
|
|
|
343
349
|
can also be listened to implement custom-sorting logic.
|
|
344
350
|
*/
|
|
345
351
|
tdsSort: EventEmitter<CustomEvent<{
|
|
346
|
-
tableId: string
|
|
347
|
-
columnKey: string
|
|
352
|
+
tableId: string;
|
|
353
|
+
columnKey: string;
|
|
348
354
|
sortingDirection: 'asc' | 'desc';
|
|
349
355
|
}>>;
|
|
350
356
|
}
|
|
@@ -545,7 +551,7 @@ export declare interface TdsModal extends Components.TdsModal {
|
|
|
545
551
|
/**
|
|
546
552
|
* Emits when the Modal is closed.
|
|
547
553
|
*/
|
|
548
|
-
tdsClose: EventEmitter<CustomEvent<
|
|
554
|
+
tdsClose: EventEmitter<CustomEvent<any>>;
|
|
549
555
|
/**
|
|
550
556
|
* Emits just before Modal is opened.
|
|
551
557
|
*/
|
|
@@ -824,16 +830,16 @@ export declare interface TdsTableBodyRow extends Components.TdsTableBodyRow {
|
|
|
824
830
|
* Event emitted when a row is selected/deselected.
|
|
825
831
|
*/
|
|
826
832
|
tdsSelect: EventEmitter<CustomEvent<{
|
|
827
|
-
tableId: string
|
|
833
|
+
tableId: string;
|
|
828
834
|
checked: boolean;
|
|
829
|
-
selectedRows:
|
|
835
|
+
selectedRows: any[];
|
|
830
836
|
}>>;
|
|
831
837
|
/**
|
|
832
838
|
* Event emitted when a row is clicked.
|
|
833
839
|
*/
|
|
834
840
|
tdsClick: EventEmitter<CustomEvent<{
|
|
835
841
|
event: MouseEvent;
|
|
836
|
-
tableId: string
|
|
842
|
+
tableId: string;
|
|
837
843
|
rowIndex: number;
|
|
838
844
|
}>>;
|
|
839
845
|
}
|
|
@@ -851,7 +857,7 @@ export declare interface TdsTableBodyRowExpandable extends Components.TdsTableBo
|
|
|
851
857
|
tdsChange: EventEmitter<CustomEvent<{
|
|
852
858
|
rowId: string;
|
|
853
859
|
isExpanded: boolean;
|
|
854
|
-
tableId: string
|
|
860
|
+
tableId: string;
|
|
855
861
|
}>>;
|
|
856
862
|
}
|
|
857
863
|
export declare class TdsTableFooter {
|
|
@@ -866,7 +872,7 @@ export declare interface TdsTableFooter extends Components.TdsTableFooter {
|
|
|
866
872
|
* Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
|
|
867
873
|
*/
|
|
868
874
|
tdsPagination: EventEmitter<CustomEvent<{
|
|
869
|
-
tableId: string
|
|
875
|
+
tableId: string;
|
|
870
876
|
paginationValue: number;
|
|
871
877
|
rowsPerPage?: number;
|
|
872
878
|
}>>;
|
|
@@ -883,9 +889,9 @@ export declare interface TdsTableHeader extends Components.TdsTableHeader {
|
|
|
883
889
|
* Event emitted when the status of the select all checkbox changes.
|
|
884
890
|
*/
|
|
885
891
|
tdsSelectAll: EventEmitter<CustomEvent<{
|
|
886
|
-
tableId: string
|
|
892
|
+
tableId: string;
|
|
887
893
|
checked: boolean;
|
|
888
|
-
selectedRows:
|
|
894
|
+
selectedRows: any[];
|
|
889
895
|
}>>;
|
|
890
896
|
}
|
|
891
897
|
export declare class TdsTableHeaderInputWrapper {
|
|
@@ -910,7 +916,7 @@ export declare interface TdsTableToolbar extends Components.TdsTableToolbar {
|
|
|
910
916
|
can also be listened to in order to implement custom sorting logic.
|
|
911
917
|
*/
|
|
912
918
|
tdsFilter: EventEmitter<CustomEvent<{
|
|
913
|
-
tableId: string
|
|
919
|
+
tableId: string;
|
|
914
920
|
query: string;
|
|
915
921
|
}>>;
|
|
916
922
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scania/tegel-angular-17",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.41.0-angular-patch-types-beta.0",
|
|
4
4
|
"description": "Angular wrappers for Tegel package using Angular 17 and above",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": ">=17.0.0",
|
|
7
7
|
"@angular/core": ">=17.0.0",
|
|
8
|
-
"@scania/tegel": "1.
|
|
8
|
+
"@scania/tegel": "1.41.0-angular-patch-types-beta.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.3.0"
|