dolfo-angular 1.201.0 → 1.203.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.
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dolfo-angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.203.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"@angular/forms": "^
|
|
8
|
-
"@angular/platform-browser": "^
|
|
5
|
+
"@angular/common": "^21.2.9",
|
|
6
|
+
"@angular/core": "^21.2.9",
|
|
7
|
+
"@angular/forms": "^21.2.9",
|
|
8
|
+
"@angular/platform-browser": "^21.2.9"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.8.1"
|
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
"types": "./types/dolfo-angular.d.ts",
|
|
22
22
|
"default": "./fesm2022/dolfo-angular.mjs"
|
|
23
23
|
}
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"type": "module"
|
|
25
26
|
}
|
package/types/dolfo-angular.d.ts
CHANGED
|
@@ -2,11 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges, ChangeDetectorRef, SimpleChanges, PipeTransform, AfterViewChecked, QueryList, Injector, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, Subscription, BehaviorSubject } from 'rxjs';
|
|
5
|
-
import * as
|
|
6
|
-
import { FormControl, ValidationErrors, ControlValueAccessor, Validator, AbstractControl,
|
|
5
|
+
import * as i10 from '@angular/forms';
|
|
6
|
+
import { FormControl, ValidationErrors, ControlValueAccessor, Validator, AbstractControl, FormGroup, FormGroupDirective } from '@angular/forms';
|
|
7
7
|
import * as i9 from '@angular/common';
|
|
8
8
|
import { DecimalPipe } from '@angular/common';
|
|
9
|
-
import { HttpClient } from '@angular/common/http';
|
|
10
9
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
11
10
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
12
11
|
|
|
@@ -139,13 +138,15 @@ declare class GridConfig<T> {
|
|
|
139
138
|
private items$;
|
|
140
139
|
private loading$;
|
|
141
140
|
private selectedItems;
|
|
141
|
+
private actions$;
|
|
142
142
|
constructor(config: IGridConfig<T>);
|
|
143
143
|
refreshGrid: () => void;
|
|
144
144
|
getRowClass: (item: T) => string;
|
|
145
145
|
updateList: (newList: T[]) => void;
|
|
146
146
|
getList: () => T[];
|
|
147
147
|
getList$: () => Observable<T[]>;
|
|
148
|
-
getActions
|
|
148
|
+
getActions$: (item: T) => Observable<ContextMenuItem[]>;
|
|
149
|
+
setActions: (actions: IGridConfig<T>["actions"]) => void;
|
|
149
150
|
getColumns: () => GridColumn[];
|
|
150
151
|
getEvents: () => {
|
|
151
152
|
onRowClick?: (item: T) => void;
|
|
@@ -216,6 +217,7 @@ declare const LANGUAGE_TOKEN: InjectionToken<ILanguageToken>;
|
|
|
216
217
|
declare const provideDolfoLanguages: (langs: ILanguage[], defaultLanguage: string) => ValueProvider;
|
|
217
218
|
|
|
218
219
|
declare const isDeepEqual: (objA: any, objB: any, map?: WeakMap<object, any>) => boolean;
|
|
220
|
+
declare const passwordValidator: (control: FormControl) => ValidationErrors;
|
|
219
221
|
|
|
220
222
|
declare abstract class Subscriptable implements OnDestroy {
|
|
221
223
|
private subs;
|
|
@@ -234,11 +236,11 @@ declare class ContextMenuService {
|
|
|
234
236
|
}
|
|
235
237
|
|
|
236
238
|
declare class TranslateService {
|
|
237
|
-
private httpClient;
|
|
238
239
|
private lang$;
|
|
239
240
|
private langContent;
|
|
240
241
|
private langs;
|
|
241
|
-
|
|
242
|
+
private httpClient;
|
|
243
|
+
constructor(langConfig: ILanguageToken);
|
|
242
244
|
changeLanguage$: (langName: string) => rxjs.Observable<Record<string, string>>;
|
|
243
245
|
loadFromStorage$: () => rxjs.Observable<Record<string, string>>;
|
|
244
246
|
private load$;
|
|
@@ -400,6 +402,14 @@ declare class DatepickerComponent extends BaseFormInput<Date> implements OnFocus
|
|
|
400
402
|
static ngAcceptInputType_selectTime: unknown;
|
|
401
403
|
}
|
|
402
404
|
|
|
405
|
+
declare class FormComponent {
|
|
406
|
+
formGroup: FormGroup;
|
|
407
|
+
hiddenSubmit: boolean;
|
|
408
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
409
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "dolfo-form", never, { "formGroup": { "alias": "formGroup"; "required": true; }; "hiddenSubmit": { "alias": "hiddenSubmit"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
410
|
+
static ngAcceptInputType_hiddenSubmit: unknown;
|
|
411
|
+
}
|
|
412
|
+
|
|
403
413
|
declare class InputTextComponent extends BaseFormInput<string> implements OnFocus, OnBlur {
|
|
404
414
|
type: InputType;
|
|
405
415
|
placeHolder: string;
|
|
@@ -641,7 +651,7 @@ declare class LayoutModule {
|
|
|
641
651
|
|
|
642
652
|
declare class FormModule {
|
|
643
653
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormModule, never>;
|
|
644
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormModule, [typeof InputTextComponent, typeof InputContainerComponent, typeof ComboboxComponent, typeof DatepickerComponent, typeof AutocompleteComponent, typeof InputRadioComponent, typeof InputCheckboxComponent], [typeof i9.CommonModule, typeof
|
|
654
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormModule, [typeof InputTextComponent, typeof InputContainerComponent, typeof ComboboxComponent, typeof DatepickerComponent, typeof AutocompleteComponent, typeof InputRadioComponent, typeof InputCheckboxComponent, typeof FormComponent], [typeof i9.CommonModule, typeof i10.ReactiveFormsModule, typeof TranslatePipe, typeof DirectivesModule, typeof LayoutModule], [typeof i10.ReactiveFormsModule, typeof InputTextComponent, typeof InputContainerComponent, typeof ComboboxComponent, typeof DatepickerComponent, typeof AutocompleteComponent, typeof InputRadioComponent, typeof InputCheckboxComponent, typeof FormComponent]>;
|
|
645
655
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormModule>;
|
|
646
656
|
}
|
|
647
657
|
|
|
@@ -716,7 +726,7 @@ declare class DialogComponent extends Formable implements Required<IDialogInput>
|
|
|
716
726
|
|
|
717
727
|
declare class DialogLayoutModule {
|
|
718
728
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogLayoutModule, never>;
|
|
719
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogLayoutModule, [typeof DialogComponent, typeof DialogContentComponent, typeof DialogHeaderComponent, typeof DialogFooterComponent, typeof DialogLayoutComponent], [typeof i9.CommonModule, typeof DirectivesModule, typeof LayoutModule, typeof
|
|
729
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogLayoutModule, [typeof DialogComponent, typeof DialogContentComponent, typeof DialogHeaderComponent, typeof DialogFooterComponent, typeof DialogLayoutComponent], [typeof i9.CommonModule, typeof DirectivesModule, typeof LayoutModule, typeof i10.ReactiveFormsModule, typeof TranslatePipe, typeof FormModule], [typeof DialogComponent, typeof DialogContentComponent, typeof DialogHeaderComponent, typeof DialogFooterComponent, typeof DialogLayoutComponent]>;
|
|
720
730
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogLayoutModule>;
|
|
721
731
|
}
|
|
722
732
|
|
|
@@ -736,5 +746,5 @@ declare class GridModule {
|
|
|
736
746
|
static ɵinj: i0.ɵɵInjectorDeclaration<GridModule>;
|
|
737
747
|
}
|
|
738
748
|
|
|
739
|
-
export { AutocompleteComponent, BaseFormInput, ButtonComponent, CONTEXT_MENU_DESTROY_TOKEN, ColumnAlign, ColumnDataType, ComboboxComponent, ContextMenuComponent, ContextMenuDirective, ContextMenuService, DatepickerComponent, DialogActionType, DialogComponent, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogLayoutComponent, DialogLayoutModule, DialogService, DirectivesModule, FormModule, Formable, GridComponent, GridConfig, GridModule, ICON_COMPONENT, IconComponent, IconWrapperComponent, InputCheckboxComponent, InputContainerComponent, InputRadioComponent, InputTextComponent, LANGUAGE_TOKEN, LayoutModule, LoaderComponent, NotificationComponent, NotificationService, OverlayManager, POPOVER_DESTROY_TOKEN, PopoverComponent, PopoverDirective, PopoverService, ScrollDragDirective, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, isDeepEqual, provideDolfoLanguages };
|
|
749
|
+
export { AutocompleteComponent, BaseFormInput, ButtonComponent, CONTEXT_MENU_DESTROY_TOKEN, ColumnAlign, ColumnDataType, ComboboxComponent, ContextMenuComponent, ContextMenuDirective, ContextMenuService, DatepickerComponent, DialogActionType, DialogComponent, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogLayoutComponent, DialogLayoutModule, DialogService, DirectivesModule, FormComponent, FormModule, Formable, GridComponent, GridConfig, GridModule, ICON_COMPONENT, IconComponent, IconWrapperComponent, InputCheckboxComponent, InputContainerComponent, InputRadioComponent, InputTextComponent, LANGUAGE_TOKEN, LayoutModule, LoaderComponent, NotificationComponent, NotificationService, OverlayManager, POPOVER_DESTROY_TOKEN, PopoverComponent, PopoverDirective, PopoverService, ScrollDragDirective, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, isDeepEqual, passwordValidator, provideDolfoLanguages };
|
|
740
750
|
export type { AutocompleteConfig, ButtonColor, ButtonSize, ComboInput, ComboOption, ContextMenuItem, DialogComponentInput, DialogFooterButton, DialogForm, DialogIcon, DialogOutput, DialogType, GridAction, GridColumn, IContextMenu, IDialogInput, IGridConfig, ILanguage, ILanguageToken, INotificationInput, IPopover, ITooltip, IconName, InputType, NotificationAction, NotificationType, OnBlur, OnClick, OnFocus, TooltipDirection };
|