@scania/tegel-angular-17 1.42.0 → 1.43.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 | null;
|
|
226
226
|
}>>;
|
|
227
227
|
/**
|
|
228
228
|
* Focus event for the Dropdown.
|
|
@@ -349,8 +349,8 @@ export declare interface TdsHeaderCell extends Components.TdsHeaderCell {
|
|
|
349
349
|
can also be listened to implement custom-sorting logic.
|
|
350
350
|
*/
|
|
351
351
|
tdsSort: EventEmitter<CustomEvent<{
|
|
352
|
-
tableId: string;
|
|
353
|
-
columnKey: string;
|
|
352
|
+
tableId: string | undefined;
|
|
353
|
+
columnKey: string | undefined;
|
|
354
354
|
sortingDirection: 'asc' | 'desc';
|
|
355
355
|
}>>;
|
|
356
356
|
}
|
|
@@ -551,7 +551,7 @@ export declare interface TdsModal extends Components.TdsModal {
|
|
|
551
551
|
/**
|
|
552
552
|
* Emits when the Modal is closed.
|
|
553
553
|
*/
|
|
554
|
-
tdsClose: EventEmitter<CustomEvent<
|
|
554
|
+
tdsClose: EventEmitter<CustomEvent<object>>;
|
|
555
555
|
/**
|
|
556
556
|
* Emits just before Modal is opened.
|
|
557
557
|
*/
|
|
@@ -830,16 +830,16 @@ export declare interface TdsTableBodyRow extends Components.TdsTableBodyRow {
|
|
|
830
830
|
* Event emitted when a row is selected/deselected.
|
|
831
831
|
*/
|
|
832
832
|
tdsSelect: EventEmitter<CustomEvent<{
|
|
833
|
-
tableId: string;
|
|
833
|
+
tableId: string | undefined;
|
|
834
834
|
checked: boolean;
|
|
835
|
-
selectedRows:
|
|
835
|
+
selectedRows: object[] | undefined;
|
|
836
836
|
}>>;
|
|
837
837
|
/**
|
|
838
838
|
* Event emitted when a row is clicked.
|
|
839
839
|
*/
|
|
840
840
|
tdsClick: EventEmitter<CustomEvent<{
|
|
841
841
|
event: MouseEvent;
|
|
842
|
-
tableId: string;
|
|
842
|
+
tableId: string | undefined;
|
|
843
843
|
rowIndex: number;
|
|
844
844
|
}>>;
|
|
845
845
|
}
|
|
@@ -857,7 +857,7 @@ export declare interface TdsTableBodyRowExpandable extends Components.TdsTableBo
|
|
|
857
857
|
tdsChange: EventEmitter<CustomEvent<{
|
|
858
858
|
rowId: string;
|
|
859
859
|
isExpanded: boolean;
|
|
860
|
-
tableId: string;
|
|
860
|
+
tableId: string | undefined;
|
|
861
861
|
}>>;
|
|
862
862
|
}
|
|
863
863
|
export declare class TdsTableFooter {
|
|
@@ -872,7 +872,7 @@ export declare interface TdsTableFooter extends Components.TdsTableFooter {
|
|
|
872
872
|
* Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
|
|
873
873
|
*/
|
|
874
874
|
tdsPagination: EventEmitter<CustomEvent<{
|
|
875
|
-
tableId: string;
|
|
875
|
+
tableId: string | undefined;
|
|
876
876
|
paginationValue: number;
|
|
877
877
|
rowsPerPage?: number;
|
|
878
878
|
}>>;
|
|
@@ -889,9 +889,9 @@ export declare interface TdsTableHeader extends Components.TdsTableHeader {
|
|
|
889
889
|
* Event emitted when the status of the select all checkbox changes.
|
|
890
890
|
*/
|
|
891
891
|
tdsSelectAll: EventEmitter<CustomEvent<{
|
|
892
|
-
tableId: string;
|
|
892
|
+
tableId: string | undefined;
|
|
893
893
|
checked: boolean;
|
|
894
|
-
selectedRows:
|
|
894
|
+
selectedRows: object[] | undefined;
|
|
895
895
|
}>>;
|
|
896
896
|
}
|
|
897
897
|
export declare class TdsTableHeaderInputWrapper {
|
|
@@ -916,7 +916,7 @@ export declare interface TdsTableToolbar extends Components.TdsTableToolbar {
|
|
|
916
916
|
can also be listened to in order to implement custom sorting logic.
|
|
917
917
|
*/
|
|
918
918
|
tdsFilter: EventEmitter<CustomEvent<{
|
|
919
|
-
tableId: string;
|
|
919
|
+
tableId: string | undefined;
|
|
920
920
|
query: string;
|
|
921
921
|
}>>;
|
|
922
922
|
}
|
|
@@ -934,7 +934,7 @@ export declare class TdsTextField {
|
|
|
934
934
|
protected el: HTMLElement;
|
|
935
935
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
936
936
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdsTextField, never>;
|
|
937
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TdsTextField, "tds-text-field", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "hideReadOnlyIcon": { "alias": "hideReadOnlyIcon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "modeVariant": { "alias": "modeVariant"; "required": false; }; "name": { "alias": "name"; "required": false; }; "noMinWidth": { "alias": "noMinWidth"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; "state": { "alias": "state"; "required": false; }; "tdsAriaLabel": { "alias": "tdsAriaLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
937
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdsTextField, "tds-text-field", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "hideNumberArrows": { "alias": "hideNumberArrows"; "required": false; }; "hideReadOnlyIcon": { "alias": "hideReadOnlyIcon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "modeVariant": { "alias": "modeVariant"; "required": false; }; "name": { "alias": "name"; "required": false; }; "noMinWidth": { "alias": "noMinWidth"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; "state": { "alias": "state"; "required": false; }; "step": { "alias": "step"; "required": false; }; "tdsAriaLabel": { "alias": "tdsAriaLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
938
938
|
}
|
|
939
939
|
export declare interface TdsTextField extends Components.TdsTextField {
|
|
940
940
|
/**
|
|
@@ -953,6 +953,14 @@ export declare interface TdsTextField extends Components.TdsTextField {
|
|
|
953
953
|
* Blur event for the Text Field
|
|
954
954
|
*/
|
|
955
955
|
tdsBlur: EventEmitter<CustomEvent<FocusEvent>>;
|
|
956
|
+
/**
|
|
957
|
+
* Error event for the Text Field - emitted when value is clamped to min/max
|
|
958
|
+
*/
|
|
959
|
+
tdsError: EventEmitter<CustomEvent<{
|
|
960
|
+
originalValue: string;
|
|
961
|
+
clampedValue: string;
|
|
962
|
+
reason: 'min' | 'max';
|
|
963
|
+
}>>;
|
|
956
964
|
}
|
|
957
965
|
export declare class TdsTextarea {
|
|
958
966
|
protected z: NgZone;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scania/tegel-angular-17",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.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.43.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.3.0"
|