@ngx-smz/core 21.1.1 → 21.1.3
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
package/types/ngx-smz-core.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { WritableSignal, InjectionToken, EnvironmentProviders, Type, ComponentRef, OnInit, AfterViewInit, OnDestroy, ElementRef, EventEmitter, ChangeDetectorRef, Renderer2, AfterContentInit, QueryList, TemplateRef, NgZone, AnimationCallbackEvent, OnChanges, SimpleChanges, PipeTransform, ViewContainerRef, Injector, ModuleWithProviders, ComponentFactoryResolver, ApplicationRef,
|
|
2
|
+
import { WritableSignal, InjectionToken, EnvironmentProviders, Type, ComponentRef, OnInit, AfterViewInit, OnDestroy, ElementRef, EventEmitter, ChangeDetectorRef, Renderer2, Signal, AfterContentInit, QueryList, TemplateRef, NgZone, AnimationCallbackEvent, OnChanges, SimpleChanges, PipeTransform, ViewContainerRef, Injector, ModuleWithProviders, ComponentFactoryResolver, ApplicationRef, InjectableType, ɵDirectiveType as _DirectiveType, ɵComponentType as _ComponentType, DoCheck } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { BehaviorSubject, Subscription, Observable, MonoTypeOperatorFunction } from 'rxjs';
|
|
5
5
|
import * as i3$2 from '@angular/forms';
|
|
6
6
|
import { UntypedFormGroup, NgModel, NgControl, ValidatorFn, AsyncValidator, AbstractControl, ControlValueAccessor, Validators, FormControl, UntypedFormControl, UntypedFormBuilder, ValidationErrors } from '@angular/forms';
|
|
7
7
|
import * as i2 from '@angular/common';
|
|
8
8
|
import { NgStyle, Location } from '@angular/common';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i41 from 'primeng/select';
|
|
10
10
|
import { SelectChangeEvent } from 'primeng/select';
|
|
11
11
|
import * as i3$1 from 'primeng/api';
|
|
12
12
|
import { TreeNode, MenuItem, MessageService, FilterMetadata, OverlayService, PrimeTemplate, BlockableUI, SortMeta, ScrollerOptions, FilterService, SelectItem, Translation } from 'primeng/api';
|
|
@@ -19,35 +19,35 @@ import * as i12 from 'primeng/dialog';
|
|
|
19
19
|
import * as i20 from 'primeng/table';
|
|
20
20
|
import { Table as Table$1, ColumnFilter as ColumnFilter$1 } from 'primeng/table';
|
|
21
21
|
import * as i6 from 'primeng/button';
|
|
22
|
-
import * as
|
|
22
|
+
import * as i57 from 'primeng/message';
|
|
23
23
|
import * as i17$1 from 'primeng/progressspinner';
|
|
24
24
|
import * as i8 from 'primeng/listbox';
|
|
25
25
|
import { ListboxClickEvent, Listbox } from 'primeng/listbox';
|
|
26
|
-
import * as
|
|
26
|
+
import * as i68 from 'primeng/popover';
|
|
27
27
|
import { Popover } from 'primeng/popover';
|
|
28
28
|
import { AutoCompleteCompleteEvent } from 'primeng/autocomplete';
|
|
29
29
|
import * as i24 from 'primeng/multiselect';
|
|
30
30
|
import { MultiSelectChangeEvent } from 'primeng/multiselect';
|
|
31
|
-
import * as
|
|
31
|
+
import * as i54 from 'primeng/radiobutton';
|
|
32
32
|
import { RadioButtonClickEvent } from 'primeng/radiobutton';
|
|
33
33
|
import * as _ngx_smz_core from '@ngx-smz/core';
|
|
34
34
|
import { DynamicDialogRef as DynamicDialogRef$1, DynamicDialogConfig as DynamicDialogConfig$1 } from 'primeng/dynamicdialog';
|
|
35
|
-
import * as
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
40
|
-
import * as
|
|
35
|
+
import * as i37 from 'primeng/datepicker';
|
|
36
|
+
import * as i38 from 'primeng/checkbox';
|
|
37
|
+
import * as i40 from 'primeng/colorpicker';
|
|
38
|
+
import * as i42 from 'primeng/fileupload';
|
|
39
|
+
import * as i45 from 'primeng/inputmask';
|
|
40
|
+
import * as i46 from 'primeng/inputnumber';
|
|
41
41
|
import * as i8$1 from 'primeng/toggleswitch';
|
|
42
42
|
import * as i3$3 from 'primeng/textarea';
|
|
43
43
|
import * as i9 from 'primeng/inputtext';
|
|
44
|
-
import * as
|
|
44
|
+
import * as i53 from 'primeng/password';
|
|
45
45
|
import * as i23 from 'primeng/tooltip';
|
|
46
46
|
import { Tooltip } from 'primeng/tooltip';
|
|
47
47
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
48
48
|
import { DomSanitizer, SafeHtml, SafeResourceUrl, Title } from '@angular/platform-browser';
|
|
49
|
-
import * as
|
|
50
|
-
import * as
|
|
49
|
+
import * as i62 from 'primeng/autofocus';
|
|
50
|
+
import * as i63 from 'primeng/treeselect';
|
|
51
51
|
import { AnimationEvent } from '@angular/animations';
|
|
52
52
|
import * as i22 from 'primeng/toolbar';
|
|
53
53
|
import { HttpHeaders, HttpClient, HttpErrorResponse } from '@angular/common/http';
|
|
@@ -123,7 +123,7 @@ declare class LoggingService {
|
|
|
123
123
|
private levelRank;
|
|
124
124
|
/** expose current settings */
|
|
125
125
|
readonly isEnabled: i0.Signal<boolean>;
|
|
126
|
-
readonly currentLevel: i0.Signal<"
|
|
126
|
+
readonly currentLevel: i0.Signal<"error" | "debug" | "info" | "warn">;
|
|
127
127
|
readonly activeScopes: i0.Signal<string[]>;
|
|
128
128
|
/** toggle logging global */
|
|
129
129
|
enable(): void;
|
|
@@ -512,11 +512,30 @@ declare class SmzFormsManagerService {
|
|
|
512
512
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmzFormsManagerService>;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
+
declare class SmzFormValidationMessagesService {
|
|
516
|
+
private form;
|
|
517
|
+
private subscriptions;
|
|
518
|
+
private readonly controlToPropertyName;
|
|
519
|
+
private readonly validationMessagesByPropertyName;
|
|
520
|
+
private readonly messagesByPropertyNameSignal;
|
|
521
|
+
private readonly controlMessagesSignals;
|
|
522
|
+
readonly messagesByPropertyName: Signal<Record<string, string[]>>;
|
|
523
|
+
initialize(config: SmzForm<unknown>, form: UntypedFormGroup): void;
|
|
524
|
+
getMessagesSignalByControl(control: AbstractControl): Signal<string[]>;
|
|
525
|
+
getMessagesByPropertyName(): Record<string, string[]>;
|
|
526
|
+
private refreshAllMessages;
|
|
527
|
+
private resolveValidationMessages;
|
|
528
|
+
private resetState;
|
|
529
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmzFormValidationMessagesService, never>;
|
|
530
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmzFormValidationMessagesService>;
|
|
531
|
+
}
|
|
532
|
+
|
|
515
533
|
declare class SmzFormViewdata {
|
|
516
534
|
config: SmzForm<any>;
|
|
517
535
|
form: UntypedFormGroup;
|
|
518
536
|
manager: SmzFormsManagerService;
|
|
519
537
|
cdf: ChangeDetectorRef;
|
|
538
|
+
private validationMessagesService;
|
|
520
539
|
isValid: boolean;
|
|
521
540
|
isCustomValidationValid: boolean;
|
|
522
541
|
get hasChangesFromInitialState(): boolean;
|
|
@@ -528,7 +547,7 @@ declare class SmzFormViewdata {
|
|
|
528
547
|
private _hasChangesFromLastKnownState;
|
|
529
548
|
private previousState;
|
|
530
549
|
private cachedResponse;
|
|
531
|
-
constructor(config: SmzForm<any>, form: UntypedFormGroup, manager: SmzFormsManagerService, cdf: ChangeDetectorRef);
|
|
550
|
+
constructor(config: SmzForm<any>, form: UntypedFormGroup, manager: SmzFormsManagerService, cdf: ChangeDetectorRef, validationMessagesService: SmzFormValidationMessagesService);
|
|
532
551
|
/** Retorna o objeto com os valores dos inputs; Esse objeto seguirá a nomemclatura do campo name de cada inputConfig */
|
|
533
552
|
getData<T extends Record<string, unknown>>(): SmzFormsResponse<T>;
|
|
534
553
|
/** Atualiza os valores dos inputs com seus dados default */
|
|
@@ -1344,6 +1363,7 @@ interface SmzFormsResponse<T> {
|
|
|
1344
1363
|
data: T;
|
|
1345
1364
|
isValid: boolean;
|
|
1346
1365
|
hasUnsavedChanges: boolean;
|
|
1366
|
+
validationMessagesByField?: Record<string, string[]>;
|
|
1347
1367
|
}
|
|
1348
1368
|
|
|
1349
1369
|
declare class SmzFormsConfig {
|
|
@@ -3426,6 +3446,7 @@ declare class FormGroupComponent implements OnInit, AfterViewInit, OnChanges, On
|
|
|
3426
3446
|
private cdf;
|
|
3427
3447
|
manager: SmzFormsManagerService;
|
|
3428
3448
|
repository: SmzFormsRepositoryService;
|
|
3449
|
+
private validationMessagesService;
|
|
3429
3450
|
private readonly loggingService;
|
|
3430
3451
|
private logger;
|
|
3431
3452
|
isComponentActive: boolean;
|
|
@@ -3443,7 +3464,7 @@ declare class FormGroupComponent implements OnInit, AfterViewInit, OnChanges, On
|
|
|
3443
3464
|
controlTypes: typeof SmzControlType;
|
|
3444
3465
|
isInitialized: boolean;
|
|
3445
3466
|
configHasErrors: boolean;
|
|
3446
|
-
constructor(fb: UntypedFormBuilder, cdf: ChangeDetectorRef, manager: SmzFormsManagerService, repository: SmzFormsRepositoryService);
|
|
3467
|
+
constructor(fb: UntypedFormBuilder, cdf: ChangeDetectorRef, manager: SmzFormsManagerService, repository: SmzFormsRepositoryService, validationMessagesService: SmzFormValidationMessagesService);
|
|
3447
3468
|
ngOnInit(): void;
|
|
3448
3469
|
init(): void;
|
|
3449
3470
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -3699,23 +3720,19 @@ declare class RadioButtonComponent implements OnInit {
|
|
|
3699
3720
|
}
|
|
3700
3721
|
|
|
3701
3722
|
declare class ValidationMessagesComponent {
|
|
3723
|
+
private validationMessagesService;
|
|
3724
|
+
private formControl;
|
|
3702
3725
|
input: SmzControlTypes;
|
|
3703
|
-
control: AbstractControl;
|
|
3726
|
+
set control(value: AbstractControl);
|
|
3727
|
+
get control(): AbstractControl;
|
|
3704
3728
|
behaviors: SmzFormsBehaviorsConfig;
|
|
3705
3729
|
extraMessages: string[];
|
|
3730
|
+
controlMessages: Signal<string[]>;
|
|
3706
3731
|
uiConfig: _ngx_smz_core.NgxSmzUiConfig;
|
|
3707
3732
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessagesComponent, never>;
|
|
3708
3733
|
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessagesComponent, "smz-validation-messages", never, { "input": { "alias": "input"; "required": false; }; "control": { "alias": "control"; "required": false; }; "behaviors": { "alias": "behaviors"; "required": false; }; "extraMessages": { "alias": "extraMessages"; "required": false; }; }, {}, never, never, false, never>;
|
|
3709
3734
|
}
|
|
3710
3735
|
|
|
3711
|
-
declare class ValidationMessagesPipe$1 implements PipeTransform {
|
|
3712
|
-
constructor();
|
|
3713
|
-
transform(errors: ValidationErrors, messages: ValidationMessage[]): string[];
|
|
3714
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessagesPipe$1, never>;
|
|
3715
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ValidationMessagesPipe$1, "validationMessages", false>;
|
|
3716
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ValidationMessagesPipe$1>;
|
|
3717
|
-
}
|
|
3718
|
-
|
|
3719
3736
|
declare class FileDragDropDirective {
|
|
3720
3737
|
fileOver: boolean;
|
|
3721
3738
|
fileDropped: EventEmitter<any>;
|
|
@@ -4037,7 +4054,7 @@ declare class SmzInputTagArea implements AfterViewInit, OnDestroy {
|
|
|
4037
4054
|
}
|
|
4038
4055
|
declare class SmzInputTagAreaModule {
|
|
4039
4056
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmzInputTagAreaModule, never>;
|
|
4040
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmzInputTagAreaModule, [typeof SmzInputTagArea], [typeof i2.CommonModule, typeof i3$2.FormsModule, typeof i3$2.ReactiveFormsModule, typeof i3$3.TextareaModule, typeof SmzSmartTagModule, typeof OverlayPanelModule, typeof
|
|
4057
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmzInputTagAreaModule, [typeof SmzInputTagArea], [typeof i2.CommonModule, typeof i3$2.FormsModule, typeof i3$2.ReactiveFormsModule, typeof i3$3.TextareaModule, typeof SmzSmartTagModule, typeof OverlayPanelModule, typeof i41.SelectModule, typeof i6.ButtonModule, typeof i8.ListboxModule], [typeof SmzInputTagArea]>;
|
|
4041
4058
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmzInputTagAreaModule>;
|
|
4042
4059
|
}
|
|
4043
4060
|
|
|
@@ -4196,7 +4213,7 @@ declare const defaultFormsModuleConfig: SmzFormsConfig;
|
|
|
4196
4213
|
declare class NgxSmzFormsModule {
|
|
4197
4214
|
constructor(injector: Injector);
|
|
4198
4215
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSmzFormsModule, never>;
|
|
4199
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzFormsModule, [typeof CalendarComponent, typeof CheckBoxComponent, typeof CheckBoxGroupComponent, typeof ColorPickerComponent, typeof DropdownComponent, typeof FileUploadComponent, typeof FormFocusFirstInputDirective, typeof FormGroupComponent, typeof InputCurrencyComponent, typeof InputListComponent, typeof InputMaskComponent, typeof InputNumberComponent, typeof InputPasswordComponent, typeof InputSwitchComponent, typeof InputTextAreaComponent, typeof SmzInputAutocompleteTagArea, typeof InputTextComponent, typeof InputTreeComponent, typeof LinkedDropdownComponent, typeof LinkedMultiSelectComponent, typeof MultiSelectComponent, typeof RadioButtonComponent, typeof ValidationMessagesComponent, typeof
|
|
4216
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzFormsModule, [typeof CalendarComponent, typeof CheckBoxComponent, typeof CheckBoxGroupComponent, typeof ColorPickerComponent, typeof DropdownComponent, typeof FileUploadComponent, typeof FormFocusFirstInputDirective, typeof FormGroupComponent, typeof InputCurrencyComponent, typeof InputListComponent, typeof InputMaskComponent, typeof InputNumberComponent, typeof InputPasswordComponent, typeof InputSwitchComponent, typeof InputTextAreaComponent, typeof SmzInputAutocompleteTagArea, typeof InputTextComponent, typeof InputTreeComponent, typeof LinkedDropdownComponent, typeof LinkedMultiSelectComponent, typeof MultiSelectComponent, typeof RadioButtonComponent, typeof ValidationMessagesComponent, typeof FileDragDropDirective, typeof FileNameShortenPipe, typeof InputTagAreaComponent, typeof InputContentMaskComponent, typeof TransferValueAccessor, typeof InputContentMaskTextPipe, typeof InputListDialogCrudComponent, typeof InputListInlineCrudComponent, typeof InputListBatchCrudComponent, typeof InputTextButtonComponent, typeof FormSubmitComponent, typeof GetCurrentMultiselectOptionsPipe], [typeof i2.CommonModule, typeof i37.DatePickerModule, typeof i38.CheckboxModule, typeof ClickStopPropagationModule, typeof i40.ColorPickerModule, typeof i41.SelectModule, typeof i42.FileUploadModule, typeof i3$2.FormsModule, typeof InjectContentAppModule, typeof i45.InputMaskModule, typeof i46.InputNumberModule, typeof i8$1.ToggleSwitchModule, typeof i3$3.TextareaModule, typeof i9.InputTextModule, typeof i8.ListboxModule, typeof i24.MultiSelectModule, typeof NgGroupByPipeModule, typeof i53.PasswordModule, typeof i54.RadioButtonModule, typeof i3$2.ReactiveFormsModule, typeof SmzTemplatesPipeModule, typeof i23.TooltipModule, typeof i57.MessageModule, typeof SafeContentPipeModule, typeof SmzInputTagAreaModule, typeof NgxSmzDataPipesModule, typeof i6.ButtonModule, typeof i62.AutoFocusModule, typeof i63.TreeSelectModule, typeof SmzAutocompleteSelectorComponent, typeof SmzSmartTagModule, typeof SmzSmartAutocompleteTagModule, typeof LabelComponent, typeof i68.PopoverModule], [typeof CalendarComponent, typeof CheckBoxComponent, typeof CheckBoxGroupComponent, typeof ColorPickerComponent, typeof i41.SelectModule, typeof FileUploadComponent, typeof FormGroupComponent, typeof InputCurrencyComponent, typeof InputListComponent, typeof InputMaskComponent, typeof InputNumberComponent, typeof InputPasswordComponent, typeof InputSwitchComponent, typeof InputTextAreaComponent, typeof SmzInputAutocompleteTagArea, typeof InputTextComponent, typeof InputTreeComponent, typeof LinkedDropdownComponent, typeof LinkedMultiSelectComponent, typeof MultiSelectComponent, typeof RadioButtonComponent, typeof FormSubmitComponent]>;
|
|
4200
4217
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSmzFormsModule>;
|
|
4201
4218
|
}
|
|
4202
4219
|
|
|
@@ -4298,7 +4315,7 @@ declare class DynamicDialogComponent implements AfterViewInit, OnInit, OnDestroy
|
|
|
4298
4315
|
}
|
|
4299
4316
|
declare class DynamicDialogModule {
|
|
4300
4317
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicDialogModule, never>;
|
|
4301
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicDialogModule, [typeof DynamicDialogComponent, typeof DynamicDialogContent, typeof DynamicDialogFooter], [typeof i2.CommonModule, typeof i23.TooltipModule, typeof SafeContentPipeModule, typeof
|
|
4318
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicDialogModule, [typeof DynamicDialogComponent, typeof DynamicDialogContent, typeof DynamicDialogFooter], [typeof i2.CommonModule, typeof i23.TooltipModule, typeof SafeContentPipeModule, typeof i62.AutoFocusModule], never>;
|
|
4302
4319
|
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicDialogModule>;
|
|
4303
4320
|
}
|
|
4304
4321
|
|
|
@@ -6274,7 +6291,7 @@ declare class RbkAccessControlModule {
|
|
|
6274
6291
|
|
|
6275
6292
|
declare class NgxSmzTablesModule {
|
|
6276
6293
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSmzTablesModule, never>;
|
|
6277
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzTablesModule, [typeof SmzTableComponent, typeof SmzTableContextPipe, typeof SmzTableContentPipe$1, typeof SmzFilterObjectPipe, typeof SmzContentIconMatchesPipe, typeof SmzCloneTableItemsPipe, typeof SmzColumnFilterComponent, typeof SmzColumnFilter2Component, typeof SmzEditableSourcePipe, typeof SmzContentErrorsPipe, typeof SmzTableValidationMessagesComponent, typeof ValidationMessagesPipe, typeof SmzSincronizeTablePipe, typeof SmzTableContentComponent, typeof SmzTableContentActionsComponent, typeof SmzTableCaptionButtonsComponent, typeof SmzTableHeaderActionsComponent], [typeof i2.CommonModule, typeof i3$1.SharedModule, typeof i20.TableModule, typeof i6.ButtonModule, typeof i9.InputTextModule, typeof NgxSmzDataPipesModule, typeof i24.MultiSelectModule, typeof
|
|
6294
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzTablesModule, [typeof SmzTableComponent, typeof SmzTableContextPipe, typeof SmzTableContentPipe$1, typeof SmzFilterObjectPipe, typeof SmzContentIconMatchesPipe, typeof SmzCloneTableItemsPipe, typeof SmzColumnFilterComponent, typeof SmzColumnFilter2Component, typeof SmzEditableSourcePipe, typeof SmzContentErrorsPipe, typeof SmzTableValidationMessagesComponent, typeof ValidationMessagesPipe, typeof SmzSincronizeTablePipe, typeof SmzTableContentComponent, typeof SmzTableContentActionsComponent, typeof SmzTableCaptionButtonsComponent, typeof SmzTableHeaderActionsComponent], [typeof i2.CommonModule, typeof i3$1.SharedModule, typeof i20.TableModule, typeof i6.ButtonModule, typeof i9.InputTextModule, typeof NgxSmzDataPipesModule, typeof i24.MultiSelectModule, typeof i41.SelectModule, typeof i37.DatePickerModule, typeof i3$2.FormsModule, typeof TableItemActionsModule, typeof ClickStopPropagationModule, typeof NgxSmzDataInfoModule, typeof i23.TooltipModule, typeof i32.SkeletonModule, typeof i3$3.TextareaModule, typeof OverlayPanelModule, typeof i3$2.ReactiveFormsModule, typeof i8$1.ToggleSwitchModule, typeof i46.InputNumberModule, typeof NgxSmzMenuModule, typeof i38$1.ToggleButtonModule, typeof NgVarModule, typeof RbkAccessControlModule, typeof i17.IconFieldModule, typeof i18.InputIconModule], [typeof SmzTableComponent, typeof SmzSincronizeTablePipe, typeof i3$1.SharedModule]>;
|
|
6278
6295
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSmzTablesModule>;
|
|
6279
6296
|
}
|
|
6280
6297
|
|
|
@@ -6511,7 +6528,7 @@ declare class NgxSmzDocumentsModule {
|
|
|
6511
6528
|
declare class NgxSmzDialogsModule {
|
|
6512
6529
|
static forRoot(): ModuleWithProviders<NgxSmzDialogsModule>;
|
|
6513
6530
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSmzDialogsModule, never>;
|
|
6514
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzDialogsModule, [typeof DialogContentManagerComponent, typeof MessageContentComponent, typeof MessageFromObservableContentComponent, typeof HtmlContentComponent, typeof TableContentComponent, typeof DialogFooterComponent, typeof GuideFooterComponent, typeof ConfirmOnEnterDirective, typeof DocumentContentComponent, typeof MarkdownContentComponent], [typeof i2.CommonModule, typeof i3$2.ReactiveFormsModule, typeof i12.DialogModule, typeof OverlayPanelModule, typeof i20.TableModule, typeof i6.ButtonModule, typeof
|
|
6531
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzDialogsModule, [typeof DialogContentManagerComponent, typeof MessageContentComponent, typeof MessageFromObservableContentComponent, typeof HtmlContentComponent, typeof TableContentComponent, typeof DialogFooterComponent, typeof GuideFooterComponent, typeof ConfirmOnEnterDirective, typeof DocumentContentComponent, typeof MarkdownContentComponent], [typeof i2.CommonModule, typeof i3$2.ReactiveFormsModule, typeof i12.DialogModule, typeof OverlayPanelModule, typeof i20.TableModule, typeof i6.ButtonModule, typeof i57.MessageModule, typeof i17$1.ProgressSpinnerModule, typeof NgxSmzFormsModule, typeof InjectContentAppModule, typeof NgGroupByPipeModule, typeof DynamicDialogModule, typeof i22.ToolbarModule, typeof SmzTemplatesPipeModule, typeof i23.TooltipModule, typeof i3.ProgressBarModule, typeof SafeContentPipeModule, typeof NgxSmzTablesModule, typeof NgxSmzDocumentsModule, typeof i62.AutoFocusModule], never>;
|
|
6515
6532
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSmzDialogsModule>;
|
|
6516
6533
|
}
|
|
6517
6534
|
|
|
@@ -6661,6 +6678,19 @@ declare class SmzFormTooltipHelpBuilder<TInput, TResponse> {
|
|
|
6661
6678
|
get input(): TInput;
|
|
6662
6679
|
}
|
|
6663
6680
|
|
|
6681
|
+
declare class SmzFormConditionalTooltipBuilder<TInput, TResponse> {
|
|
6682
|
+
private readonly inputBuilder;
|
|
6683
|
+
private readonly inputRef;
|
|
6684
|
+
private readonly resolveMessage;
|
|
6685
|
+
private styleClass;
|
|
6686
|
+
private position;
|
|
6687
|
+
constructor(inputBuilder: TInput, inputRef: SmzFormsBaseControl, resolveMessage: (formValues: any) => string | null);
|
|
6688
|
+
private initializeTooltip;
|
|
6689
|
+
withStyleClass(styleClass: string): SmzFormConditionalTooltipBuilder<TInput, TResponse>;
|
|
6690
|
+
withPosition(position: 'top' | 'bottom' | 'left' | 'right'): SmzFormConditionalTooltipBuilder<TInput, TResponse>;
|
|
6691
|
+
get input(): TInput;
|
|
6692
|
+
}
|
|
6693
|
+
|
|
6664
6694
|
declare class SmzFormGroupBuilder<TResponse> extends SmzBuilderUtilities<SmzFormGroupBuilder<TResponse>> {
|
|
6665
6695
|
formBuilderRef: SmzFormBuilder<TResponse>;
|
|
6666
6696
|
group: SmzFormGroup;
|
|
@@ -6713,7 +6743,7 @@ declare class SmzFormInputBuilder<TInput, TResponse> {
|
|
|
6713
6743
|
disable(condition?: boolean): TInput;
|
|
6714
6744
|
excludeFromResponse(): TInput;
|
|
6715
6745
|
overrideResponseFormat(format: 'AppendIdSuffix' | 'IdOnly' | 'Raw'): TInput;
|
|
6716
|
-
|
|
6746
|
+
withConditionalTooltip(resolveMessage: (formValues: any) => string | null): SmzFormConditionalTooltipBuilder<TInput, TResponse>;
|
|
6717
6747
|
withHelp(message: string): SmzFormTooltipHelpBuilder<TInput, TResponse>;
|
|
6718
6748
|
withCustomTooltip(message: string): SmzFormCustomTooltipBuilder<TInput, TResponse>;
|
|
6719
6749
|
withPopover(content: string): SmzFormPopoverBuilder<TInput, TResponse>;
|
|
@@ -7337,7 +7367,7 @@ declare class SmzDialogTableBuilder<TResponse> {
|
|
|
7337
7367
|
}
|
|
7338
7368
|
|
|
7339
7369
|
declare function showPersistentDialog(entity: Record<string, unknown>, entityName: string, title: string, action: (payload?: unknown) => void, options?: InputConversionOptions): void;
|
|
7340
|
-
declare function showDialog<
|
|
7370
|
+
declare function showDialog<TEntity, TResponse>(entity: TEntity, entityName: string, title: string, confirmCallback: (data: TResponse) => void, options?: InputConversionOptions, logResult?: boolean): void;
|
|
7341
7371
|
declare function showConfirmation(title: string, messages: string[], confirmCallback: () => void): void;
|
|
7342
7372
|
declare function showMessage(title: string, message: string, confirmCallback: () => void): void;
|
|
7343
7373
|
declare function showObjectDialog(title: string, event: unknown, confirmCallback?: () => void): void;
|
|
@@ -12610,7 +12640,7 @@ declare class NgxSmzServerImageModule {
|
|
|
12610
12640
|
|
|
12611
12641
|
declare class NgxSmzCardsModule {
|
|
12612
12642
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSmzCardsModule, never>;
|
|
12613
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzCardsModule, [typeof SmzCardsComponent, typeof SmzListItemComponent, typeof SmzGridItemComponent, typeof SmzCardsContentPipe, typeof SmzCardsTransformContentPipe, typeof SmzCardsResetContextPipe, typeof SmzCardsContentSelectorDirective, typeof ButtonActionsDirective, typeof ImgPlaceholderDirective, typeof SmzInjectDataPathComponent, typeof SmzTextContentComponent, typeof SmzImageContentComponent, typeof SmzRawTypeComponent, typeof SmzImageWithDetailsTypeComponent, typeof SmzInfoATypeComponent, typeof SmzFlipCardTypeComponent], [typeof i2.CommonModule, typeof i3$1.SharedModule, typeof i19.DataViewModule, typeof i6.ButtonModule, typeof i9.InputTextModule, typeof
|
|
12643
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmzCardsModule, [typeof SmzCardsComponent, typeof SmzListItemComponent, typeof SmzGridItemComponent, typeof SmzCardsContentPipe, typeof SmzCardsTransformContentPipe, typeof SmzCardsResetContextPipe, typeof SmzCardsContentSelectorDirective, typeof ButtonActionsDirective, typeof ImgPlaceholderDirective, typeof SmzInjectDataPathComponent, typeof SmzTextContentComponent, typeof SmzImageContentComponent, typeof SmzRawTypeComponent, typeof SmzImageWithDetailsTypeComponent, typeof SmzInfoATypeComponent, typeof SmzFlipCardTypeComponent], [typeof i2.CommonModule, typeof i3$1.SharedModule, typeof i19.DataViewModule, typeof i6.ButtonModule, typeof i9.InputTextModule, typeof i41.SelectModule, typeof i3$2.FormsModule, typeof i24.MultiSelectModule, typeof NgxSmzServerImageModule, typeof NgxSmzMenuModule, typeof i23.TooltipModule, typeof SafeContentPipeModule, typeof NgxSmzDataPipesModule, typeof ClickStopPropagationModule, typeof NgVarModule, typeof i17.IconFieldModule, typeof i18.InputIconModule], [typeof SmzCardsComponent, typeof SmzGridItemComponent, typeof i3$1.SharedModule]>;
|
|
12614
12644
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSmzCardsModule>;
|
|
12615
12645
|
}
|
|
12616
12646
|
|