sapenlinea-components 0.0.24 → 0.0.25
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/index.d.ts
CHANGED
|
@@ -134,10 +134,13 @@ declare class PaginationComponent {
|
|
|
134
134
|
interface TableColumn {
|
|
135
135
|
key: string;
|
|
136
136
|
label: string;
|
|
137
|
-
type?: 'text' | 'number' | 'money' | 'date' | 'percentage' | 'status';
|
|
137
|
+
type?: 'text' | 'number' | 'money' | 'date' | 'percentage' | 'status' | 'icon-button';
|
|
138
138
|
align?: 'left' | 'right' | 'center' | 'auto';
|
|
139
139
|
sortable?: boolean;
|
|
140
140
|
showActions?: boolean;
|
|
141
|
+
icon?: string;
|
|
142
|
+
iconKey?: string;
|
|
143
|
+
iconColor?: string;
|
|
141
144
|
}
|
|
142
145
|
interface TableRow {
|
|
143
146
|
[key: string]: any;
|
|
@@ -169,6 +172,10 @@ declare class Table {
|
|
|
169
172
|
action: string;
|
|
170
173
|
row: TableRow;
|
|
171
174
|
}>;
|
|
175
|
+
iconAction: _angular_core.OutputEmitterRef<{
|
|
176
|
+
action: string;
|
|
177
|
+
row: TableRow;
|
|
178
|
+
}>;
|
|
172
179
|
statusToneMap: _angular_core.InputSignal<StatusToneMap>;
|
|
173
180
|
toggleMenu(index: number): void;
|
|
174
181
|
onOptionClick(option: TableAction, row: TableRow): void;
|
|
@@ -190,8 +197,9 @@ declare class Table {
|
|
|
190
197
|
sortData(): TableRow[];
|
|
191
198
|
isDate(value: any): boolean;
|
|
192
199
|
onSort(col: TableColumn): void;
|
|
200
|
+
onIconColumnClick(col: TableColumn, row: TableRow, event: MouseEvent): void;
|
|
193
201
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Table, never>;
|
|
194
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Table, "lib-table", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "showActions": { "alias": "showActions"; "required": false; "isSignal": true; }; "statusToneMap": { "alias": "statusToneMap"; "required": false; "isSignal": true; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
|
|
202
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Table, "lib-table", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "showActions": { "alias": "showActions"; "required": false; "isSignal": true; }; "statusToneMap": { "alias": "statusToneMap"; "required": false; "isSignal": true; }; }, { "optionSelected": "optionSelected"; "iconAction": "iconAction"; }, never, never, true, never>;
|
|
195
203
|
}
|
|
196
204
|
|
|
197
205
|
declare class DateTimePicker implements ControlValueAccessor, OnDestroy {
|
|
@@ -480,11 +488,12 @@ declare class ModalForm {
|
|
|
480
488
|
canContinue: _angular_core.WritableSignal<boolean>;
|
|
481
489
|
onSubmit: _angular_core.OutputEmitterRef<any>;
|
|
482
490
|
onCancel: _angular_core.OutputEmitterRef<void>;
|
|
491
|
+
constructor();
|
|
483
492
|
nextStep(): void;
|
|
484
493
|
prevStep(): void;
|
|
485
494
|
submitForm(): void;
|
|
486
495
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalForm, never>;
|
|
487
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalForm, "lib-modal-form", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "submitLabel": { "alias": "submitLabel"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; }, { "onSubmit": "onSubmit"; "onCancel": "onCancel"; }, never,
|
|
496
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalForm, "lib-modal-form", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "submitLabel": { "alias": "submitLabel"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; }, { "onSubmit": "onSubmit"; "onCancel": "onCancel"; }, never, ["*"], true, never>;
|
|
488
497
|
}
|
|
489
498
|
|
|
490
499
|
declare class WizardForm {
|