@zambon-dev/library 2.0.1 → 3.0.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/CHANGELOG.md +14 -1
- package/README.md +6 -6
- package/fesm2022/zambon-dev-library.mjs +150 -162
- package/fesm2022/zambon-dev-library.mjs.map +1 -1
- package/package.json +10 -9
- package/types/zambon-dev-library.d.ts +1045 -0
- package/index.d.ts +0 -10
- package/lib/components/base.component.d.ts +0 -9
- package/lib/components/catalog-select/catalog-select.component.d.ts +0 -121
- package/lib/components/data-grid/data-grid.component.d.ts +0 -51
- package/lib/components/data-grid-row/data-grid-row.component.d.ts +0 -31
- package/lib/components/form-group/form-group.component.d.ts +0 -8
- package/lib/components/form-input/form-input.component.d.ts +0 -47
- package/lib/components/form-input-group/form-input-group.component.d.ts +0 -40
- package/lib/components/group-accordion/group-accordion.component.d.ts +0 -13
- package/lib/components/group-container/group-container.component.d.ts +0 -16
- package/lib/components/group-scroll-spy/group-scroll-spy.component.d.ts +0 -14
- package/lib/components/index.d.ts +0 -18
- package/lib/components/modal/modal.component.d.ts +0 -26
- package/lib/components/multi-editor/multi-editor.component.d.ts +0 -30
- package/lib/components/multi-select/multi-select.component.d.ts +0 -25
- package/lib/components/multi-select/result-grid/result-grid.component.d.ts +0 -18
- package/lib/components/ribbon/ribbon.component.d.ts +0 -5
- package/lib/components/ribbon-button/ribbon-button.component.d.ts +0 -32
- package/lib/components/ribbon-group/ribbon-group.component.d.ts +0 -10
- package/lib/components/sidebar/sidebar.component.d.ts +0 -41
- package/lib/components/sidebar-item/sidebar-item.component.d.ts +0 -34
- package/lib/directives/index.d.ts +0 -1
- package/lib/directives/scroll-spy.directive.d.ts +0 -16
- package/lib/helpers/date-helpers.d.ts +0 -3
- package/lib/helpers/display-controls.d.ts +0 -29
- package/lib/helpers/guid-helper.d.ts +0 -3
- package/lib/helpers/index.d.ts +0 -4
- package/lib/helpers/route-formatter.d.ts +0 -4
- package/lib/library.module.d.ts +0 -27
- package/lib/models/batch-update.d.ts +0 -4
- package/lib/models/catalog-entry.d.ts +0 -4
- package/lib/models/catalog-result.d.ts +0 -5
- package/lib/models/configs/data-grid-configs.d.ts +0 -9
- package/lib/models/configs/grid-configs.d.ts +0 -9
- package/lib/models/configs/index.d.ts +0 -2
- package/lib/models/data-grid-parameters.d.ts +0 -12
- package/lib/models/grid-column.d.ts +0 -9
- package/lib/models/index.d.ts +0 -14
- package/lib/models/list-result.d.ts +0 -4
- package/lib/models/modal.interface.d.ts +0 -7
- package/lib/models/multi-editor-changes.d.ts +0 -6
- package/lib/models/multi-selector-changes.d.ts +0 -4
- package/lib/models/ribbon-button-option.d.ts +0 -13
- package/lib/models/ribbon-group-child.d.ts +0 -3
- package/lib/models/sidebar/index.d.ts +0 -5
- package/lib/models/sidebar/sidebar-configs.d.ts +0 -22
- package/lib/models/sidebar/sidebar-menu-open-mode.d.ts +0 -32
- package/lib/models/sidebar/sidebar-menu.d.ts +0 -22
- package/lib/models/sidebar/sidebar-profile.d.ts +0 -5
- package/lib/models/sidebar/sidebar-region.d.ts +0 -6
- package/lib/models/tab-view.d.ts +0 -5
- package/lib/pipes/enum.d.ts +0 -12
- package/lib/pipes/index.d.ts +0 -3
- package/lib/pipes/replace-many.pipe.d.ts +0 -9
- package/lib/pipes/replace.pipe.d.ts +0 -7
- package/lib/services/catalog.service.d.ts +0 -11
- package/lib/services/configs-providers/data-grid-configs.provider.d.ts +0 -8
- package/lib/services/configs-providers/grid-configs.provider.d.ts +0 -9
- package/lib/services/configs-providers/index.d.ts +0 -2
- package/lib/services/data-providers/data-provider.service.d.ts +0 -29
- package/lib/services/data-providers/index.d.ts +0 -1
- package/lib/services/datasets/base.dataset.d.ts +0 -15
- package/lib/services/datasets/data-grid.dataset.d.ts +0 -37
- package/lib/services/datasets/grid.dataset.d.ts +0 -59
- package/lib/services/datasets/index.d.ts +0 -5
- package/lib/services/datasets/multi-editor.dataset.d.ts +0 -22
- package/lib/services/datasets/multi-select-result.dataset.d.ts +0 -26
- package/lib/services/form-group.service.d.ts +0 -5
- package/lib/services/form.service.d.ts +0 -39
- package/lib/services/index.d.ts +0 -6
- package/lib/services/sidebar.service.d.ts +0 -34
- package/lib/validators/date.validators.d.ts +0 -13
- package/lib/validators/index.d.ts +0 -1
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormService {
|
|
7
|
-
fieldRefreshed: EventEmitter<{
|
|
8
|
-
fieldName: string;
|
|
9
|
-
value?: any;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
modelRefreshed: EventEmitter<any>;
|
|
13
|
-
private _loading;
|
|
14
|
-
private _model;
|
|
15
|
-
private currentMode;
|
|
16
|
-
private editCanceled$;
|
|
17
|
-
private form?;
|
|
18
|
-
private initialValue?;
|
|
19
|
-
get editCanceled(): Observable<void>;
|
|
20
|
-
get isEditMode(): boolean;
|
|
21
|
-
get isValid(): boolean;
|
|
22
|
-
get loading(): boolean;
|
|
23
|
-
set loading(value: boolean);
|
|
24
|
-
get model(): any | null;
|
|
25
|
-
set model(value: any | null);
|
|
26
|
-
beginEdit(): void;
|
|
27
|
-
beginFieldLoading(fieldName: string): void;
|
|
28
|
-
cancelEdit(): void;
|
|
29
|
-
disableForm(): void;
|
|
30
|
-
enableForm(): void;
|
|
31
|
-
getModelFromForm(): any;
|
|
32
|
-
initializeForm(form: FormGroup): void;
|
|
33
|
-
markAllAsTouched(): void;
|
|
34
|
-
resetForm(): void;
|
|
35
|
-
setFieldValue(fieldName: string, value: any): void;
|
|
36
|
-
setValidationErrorsFromHttpResponse(errorResponse: HttpErrorResponse): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormService, never>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormService>;
|
|
39
|
-
}
|
package/lib/services/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { CatalogService } from './catalog.service';
|
|
2
|
-
export * from './data-providers';
|
|
3
|
-
export * from './datasets';
|
|
4
|
-
export { FormGroupService } from './form-group.service';
|
|
5
|
-
export { FormService } from './form.service';
|
|
6
|
-
export { SidebarService } from './sidebar.service';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ISidebarProfile, SidebarMenu } from '../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare abstract class SidebarService {
|
|
6
|
-
childrenFailed: EventEmitter<SidebarMenu>;
|
|
7
|
-
childrenLoading: EventEmitter<SidebarMenu>;
|
|
8
|
-
childrenInitialized: EventEmitter<SidebarMenu>;
|
|
9
|
-
menuExternalUrlSelected: EventEmitter<SidebarMenu>;
|
|
10
|
-
menuUrlSelected: EventEmitter<SidebarMenu>;
|
|
11
|
-
selectionChanged: EventEmitter<SidebarMenu>;
|
|
12
|
-
isActive: boolean;
|
|
13
|
-
isCollapsed: boolean;
|
|
14
|
-
shouldActivate: boolean;
|
|
15
|
-
private menus;
|
|
16
|
-
private selectedMenu;
|
|
17
|
-
deselectAll(): void;
|
|
18
|
-
loadChildren(parentMenu: SidebarMenu): void;
|
|
19
|
-
/**
|
|
20
|
-
* Loads a parent's children and hands them back, for callers that need them before the user
|
|
21
|
-
* clicks -- a sidebar rendering areas flat has to have them up front. {@link loadChildren} is
|
|
22
|
-
* the fire-and-forget variant that also raises the loading and failure events.
|
|
23
|
-
*/
|
|
24
|
-
loadChildrenFor(parentMenu: SidebarMenu): Observable<SidebarMenu[]>;
|
|
25
|
-
loadRoot(): Observable<SidebarMenu[]>;
|
|
26
|
-
select(menu: SidebarMenu): void;
|
|
27
|
-
private deselectMenu;
|
|
28
|
-
private selectMenu;
|
|
29
|
-
abstract getMenuFromUrl(url: string): Observable<SidebarMenu>;
|
|
30
|
-
abstract getUserProfile(): ISidebarProfile | undefined;
|
|
31
|
-
protected abstract loadMenus(parentMenuID: SidebarMenu | null): Observable<SidebarMenu[]>;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
|
|
34
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
-
export declare class DateValidators {
|
|
3
|
-
static greaterThanControl(controlName: string): ValidatorFn;
|
|
4
|
-
static greaterThanOrEqualControl(controlName: string): ValidatorFn;
|
|
5
|
-
static greaterThanOrEqualToday(control: AbstractControl): ValidationErrors | null;
|
|
6
|
-
static greaterThanToday(control: AbstractControl): ValidationErrors | null;
|
|
7
|
-
static lessThanControl(controlName: string): ValidatorFn;
|
|
8
|
-
static lessThanOrEqualControl(controlName: string): ValidatorFn;
|
|
9
|
-
static lessThanOrEqualToday(control: AbstractControl): ValidationErrors | null;
|
|
10
|
-
static lessThanToday(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static maxDate(maxDate: Date): ValidatorFn;
|
|
12
|
-
static minDate(minDate: Date): ValidatorFn;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './date.validators';
|