@verisoft/ui-core 21.0.8 → 21.0.10
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,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verisoft/ui-core",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@verisoft/core": "
|
|
6
|
-
"@verisoft/store": "
|
|
7
|
-
"@angular/core": "
|
|
8
|
-
"@angular/common": "
|
|
9
|
-
"@angular/forms": "
|
|
10
|
-
"@angular/platform-browser": "
|
|
11
|
-
"@angular/router": "
|
|
5
|
+
"@verisoft/core": "^21.0.0",
|
|
6
|
+
"@verisoft/store": "^21.0.0",
|
|
7
|
+
"@angular/core": "^21.1.0",
|
|
8
|
+
"@angular/common": "^21.1.0",
|
|
9
|
+
"@angular/forms": "^21.1.0",
|
|
10
|
+
"@angular/platform-browser": "^21.1.0",
|
|
11
|
+
"@angular/router": "^21.1.0",
|
|
12
12
|
"@ngrx/store": "~21.0.0",
|
|
13
13
|
"@ngx-translate/core": "^17.0.0",
|
|
14
14
|
"rxjs": "~7.8.0"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { SimpleChanges, EventEmitter, QueryList, InjectionToken, OnInit, OnChanges, OnDestroy, AfterViewInit, ChangeDetectorRef, ViewChild, InputSignal, Type, TemplateRef, Signal, PipeTransform } from '@angular/core';
|
|
3
3
|
import * as _verisoft_core from '@verisoft/core';
|
|
4
|
-
import { FilterEvent, LazyLoadEvent, RequestParams, DatasourceType,
|
|
4
|
+
import { FilterEvent, LazyLoadEvent, RequestParams, DatasourceType, SortDirectionType, Sort } from '@verisoft/core';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
7
|
-
import { NgControl, ControlValueAccessor, FormControl, FormGroup, ValidatorFn,
|
|
7
|
+
import { NgControl, ControlValueAccessor, FormControl, FormGroup, ValidatorFn, ValidationErrors, AbstractControl } from '@angular/forms';
|
|
8
8
|
import { CanDeactivate, ActivatedRoute, Router, Params } from '@angular/router';
|
|
9
9
|
import { Store } from '@ngrx/store';
|
|
10
10
|
import { SafeHtml } from '@angular/platform-browser';
|
|
@@ -145,12 +145,6 @@ interface CommonIcons {
|
|
|
145
145
|
check: string;
|
|
146
146
|
envelope: string;
|
|
147
147
|
loader: string;
|
|
148
|
-
file: string;
|
|
149
|
-
map: string;
|
|
150
|
-
arrowCounterclockwise: string;
|
|
151
|
-
folder: string;
|
|
152
|
-
eye: string;
|
|
153
|
-
box: string;
|
|
154
148
|
}
|
|
155
149
|
|
|
156
150
|
declare function downloadText(filename: string, text: string, mimeType?: string | undefined): void;
|
|
@@ -181,6 +175,7 @@ interface ActionButtonGroupCore {
|
|
|
181
175
|
menuIconPos: IconPositionType;
|
|
182
176
|
menuIcon: string;
|
|
183
177
|
label?: string;
|
|
178
|
+
showLabels: boolean;
|
|
184
179
|
}
|
|
185
180
|
|
|
186
181
|
declare abstract class BaseInputControls<T> {
|
|
@@ -229,7 +224,9 @@ declare class ScreenSizeService {
|
|
|
229
224
|
declare class DialogService {
|
|
230
225
|
showEvent: EventEmitter<ExtendedDialogData>;
|
|
231
226
|
closeEvent: EventEmitter<null>;
|
|
227
|
+
private currentDialogData;
|
|
232
228
|
showDialog<TInputs, TOutputs>(data: ExtendedDialogData<TInputs, TOutputs>): void;
|
|
229
|
+
updateDialog<TInputs = unknown, TOutputs = unknown>(patch: Partial<ExtendedDialogData<TInputs, TOutputs>>): void;
|
|
233
230
|
private mapInputAndOutpus;
|
|
234
231
|
closeModal(): void;
|
|
235
232
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
@@ -524,6 +521,7 @@ interface DialogData {
|
|
|
524
521
|
showCancelButton?: boolean;
|
|
525
522
|
buttonOrder?: 'confirm-cancel' | 'cancel-confirm';
|
|
526
523
|
confirmButtonText?: string;
|
|
524
|
+
confirmButtonDisabled?: boolean;
|
|
527
525
|
confirmButtonFn?: () => void;
|
|
528
526
|
cancelButtonFn?: () => void;
|
|
529
527
|
cancelButtonText?: string;
|
|
@@ -534,7 +532,7 @@ interface DialogData {
|
|
|
534
532
|
width?: string;
|
|
535
533
|
height?: string;
|
|
536
534
|
}
|
|
537
|
-
interface ExtendedDialogData<TInputs =
|
|
535
|
+
interface ExtendedDialogData<TInputs = unknown, TOutputs = unknown> extends DialogData {
|
|
538
536
|
data?: TInputs & TOutputs;
|
|
539
537
|
}
|
|
540
538
|
|
|
@@ -589,6 +587,9 @@ interface FilterCore extends ControlValueAccessor {
|
|
|
589
587
|
showFilters: boolean;
|
|
590
588
|
autoBind: boolean;
|
|
591
589
|
debounceTime?: number;
|
|
590
|
+
filterDetailTitle?: string;
|
|
591
|
+
applyButtonLabel?: string;
|
|
592
|
+
clearButtonLabel?: string;
|
|
592
593
|
}
|
|
593
594
|
|
|
594
595
|
declare const FORM_FIELD_COMPONENT_TOKEN: InjectionToken<FormFieldCore>;
|