@enigmatry/entry-components 19.0.1-preview.5 → 20.0.1-preview.1
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/README.md +1 -0
- package/button/index.d.ts +54 -3
- package/common/index.d.ts +243 -3
- package/date-time-picker/index.d.ts +100 -3
- package/dialog/index.d.ts +197 -3
- package/fesm2022/enigmatry-entry-components-button.mjs +19 -30
- package/fesm2022/enigmatry-entry-components-button.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-common.mjs +129 -133
- package/fesm2022/enigmatry-entry-components-common.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-date-time-picker.mjs +53 -50
- package/fesm2022/enigmatry-entry-components-date-time-picker.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-dialog.mjs +53 -78
- package/fesm2022/enigmatry-entry-components-dialog.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-file-input.mjs +55 -51
- package/fesm2022/enigmatry-entry-components-file-input.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-permissions.mjs +28 -23
- package/fesm2022/enigmatry-entry-components-permissions.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-search-filter.mjs +55 -59
- package/fesm2022/enigmatry-entry-components-search-filter.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-spinner.mjs +21 -21
- package/fesm2022/enigmatry-entry-components-spinner.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-table.mjs +77 -86
- package/fesm2022/enigmatry-entry-components-table.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components-validation.mjs +43 -47
- package/fesm2022/enigmatry-entry-components-validation.mjs.map +1 -1
- package/fesm2022/enigmatry-entry-components.mjs +6 -6
- package/fesm2022/enigmatry-entry-components.mjs.map +1 -1
- package/file-input/index.d.ts +87 -5
- package/index.d.ts +37 -3
- package/package.json +10 -8
- package/permissions/index.d.ts +40 -5
- package/search-filter/index.d.ts +228 -3
- package/spinner/index.d.ts +34 -5
- package/table/README.md +6 -3
- package/table/index.d.ts +260 -4
- package/validation/index.d.ts +123 -3
- package/button/entry-button-config.d.ts +0 -30
- package/button/entry-button.directive.d.ts +0 -18
- package/button/entry-button.module.d.ts +0 -9
- package/button/public-api.d.ts +0 -3
- package/common/common.module.d.ts +0 -14
- package/common/constants.d.ts +0 -2
- package/common/date-time/entry-date-time-adapter.d.ts +0 -41
- package/common/date-time/entry-date-time-formats.d.ts +0 -25
- package/common/date-time/entry-time-adapter.d.ts +0 -9
- package/common/date-time/index.d.ts +0 -4
- package/common/date-time/native-time-adapter.d.ts +0 -13
- package/common/directives/auto-disable-button.directive.d.ts +0 -26
- package/common/directives/index.d.ts +0 -4
- package/common/directives/ng-control-accessor.directive.d.ts +0 -12
- package/common/directives/noop-control-value-accessor.d.ts +0 -10
- package/common/directives/scroll-to-invalid-control.directive.d.ts +0 -18
- package/common/event-plugins/abstract.plugin.d.ts +0 -40
- package/common/event-plugins/debounce.plugin.d.ts +0 -15
- package/common/event-plugins/index.d.ts +0 -2
- package/common/event-plugins/throttle.plugin.d.ts +0 -15
- package/common/interceptors/accept-language.interceptor.d.ts +0 -16
- package/common/interceptors/index.d.ts +0 -1
- package/common/public-api.d.ts +0 -6
- package/common/utils/index.d.ts +0 -1
- package/common/utils/provide-config.d.ts +0 -3
- package/date-time-picker/date-time-picker-config.model.d.ts +0 -20
- package/date-time-picker/date-time-picker.component.d.ts +0 -38
- package/date-time-picker/date-time-picker.module.d.ts +0 -17
- package/date-time-picker/public-api.d.ts +0 -3
- package/date-time-picker/time-picker.component.d.ts +0 -26
- package/dialog/dialogs/alert/entry-alert-dialog-data.interface.d.ts +0 -18
- package/dialog/dialogs/alert/entry-alert-dialog.component.d.ts +0 -13
- package/dialog/dialogs/confirm/entry-confirm-dialog-data.interface.d.ts +0 -8
- package/dialog/dialogs/confirm/entry-confirm-dialog.component.d.ts +0 -13
- package/dialog/dialogs/entry-dialog.component.d.ts +0 -43
- package/dialog/dialogs/error/entry-error-dialog-data.interface.d.ts +0 -9
- package/dialog/dialogs/error/entry-error-dialog.component.d.ts +0 -15
- package/dialog/entry-dialog-buttons-alignment.type.d.ts +0 -2
- package/dialog/entry-dialog-config.model.d.ts +0 -33
- package/dialog/entry-dialog.module.d.ts +0 -15
- package/dialog/entry-dialog.service.d.ts +0 -55
- package/dialog/public-api.d.ts +0 -11
- package/file-input/entry-file-input.component.d.ts +0 -74
- package/file-input/entry-file-input.module.d.ts +0 -12
- package/file-input/public-api.d.ts +0 -2
- package/modules/entry-components.module.d.ts +0 -28
- package/permissions/permission-type.d.ts +0 -3
- package/permissions/permission.directive.d.ts +0 -11
- package/permissions/permission.guard.d.ts +0 -2
- package/permissions/permission.module.d.ts +0 -9
- package/permissions/permission.pipe.d.ts +0 -11
- package/permissions/permission.service.d.ts +0 -4
- package/permissions/public-api.d.ts +0 -5
- package/public-api.d.ts +0 -10
- package/search-filter/autocomplete/autocomplete-search-filter.component.d.ts +0 -22
- package/search-filter/autocomplete/autocomplete-search-filter.model.d.ts +0 -19
- package/search-filter/control-type.d.ts +0 -7
- package/search-filter/date/date-search-filter.component.d.ts +0 -10
- package/search-filter/date/date-search-filter.model.d.ts +0 -8
- package/search-filter/date-time/date-time-search-filter.component.d.ts +0 -10
- package/search-filter/date-time/date-time-search-filter.model.d.ts +0 -8
- package/search-filter/entry-search-filter.component.d.ts +0 -38
- package/search-filter/entry-search-filter.module.d.ts +0 -22
- package/search-filter/public-api.d.ts +0 -11
- package/search-filter/search-filter-base.model.d.ts +0 -29
- package/search-filter/search-filter-config.model.d.ts +0 -16
- package/search-filter/search-filter-params.type.d.ts +0 -7
- package/search-filter/select/select-search-filter.component.d.ts +0 -14
- package/search-filter/select/select-search-filter.model.d.ts +0 -22
- package/search-filter/select-option.model.d.ts +0 -12
- package/search-filter/text/text-search-filter.component.d.ts +0 -10
- package/search-filter/text/text-search-filter.model.d.ts +0 -8
- package/spinner/entry-spinner/spinner.component.d.ts +0 -24
- package/spinner/public-api.d.ts +0 -2
- package/spinner/spinner-overlay-container.d.ts +0 -17
- package/spinner/spinner.module.d.ts +0 -10
- package/table/components/entry-cell/entry-cell.component.d.ts +0 -10
- package/table/components/entry-cell-context-menu/entry-cell-context-menu.component.d.ts +0 -18
- package/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.d.ts +0 -10
- package/table/components/entry-table/entry-table.component.d.ts +0 -82
- package/table/components/index.d.ts +0 -4
- package/table/entry-table.module.d.ts +0 -20
- package/table/interfaces/cell-template.d.ts +0 -4
- package/table/interfaces/column-def.d.ts +0 -20
- package/table/interfaces/column-sort-prop.d.ts +0 -5
- package/table/interfaces/column-type-parameter.d.ts +0 -9
- package/table/interfaces/column-type.d.ts +0 -1
- package/table/interfaces/context-menu-item.d.ts +0 -7
- package/table/interfaces/entry-table-config.d.ts +0 -33
- package/table/interfaces/index.d.ts +0 -12
- package/table/interfaces/paged-query.d.ts +0 -15
- package/table/interfaces/pagination.d.ts +0 -19
- package/table/interfaces/row-class-formatter.d.ts +0 -3
- package/table/interfaces/row-context-menu-formatter.d.ts +0 -4
- package/table/interfaces/row-selection-formatter.d.ts +0 -4
- package/table/public-api.d.ts +0 -3
- package/validation/entry-display-control-validation.directive.d.ts +0 -27
- package/validation/entry-form-errors.component.d.ts +0 -18
- package/validation/entry-validation-config.model.d.ts +0 -48
- package/validation/entry-validation.d.ts +0 -15
- package/validation/entry-validation.module.d.ts +0 -11
- package/validation/public-api.d.ts +0 -6
- package/validation/validation-problem-details.interface.d.ts +0 -9
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlContainer } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Scroll to first invalid control when form is submitted.
|
|
6
|
-
* Directive is applied to 'form[formGroup],form[ngForm]' (reactive or template driven forms)
|
|
7
|
-
*/
|
|
8
|
-
export declare class ScrollToInvalidControlDirective implements OnInit, OnDestroy {
|
|
9
|
-
private form;
|
|
10
|
-
private elementRef;
|
|
11
|
-
private destroy$;
|
|
12
|
-
constructor(form: ControlContainer, elementRef: ElementRef<HTMLFormElement>);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
private scrollToInvalidControl;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollToInvalidControlDirective, [{ self: true; }, null]>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollToInvalidControlDirective, "form[formGroup],form[ngForm]", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { EventManager } from '@angular/platform-browser';
|
|
2
|
-
/**
|
|
3
|
-
* abstract class EventManagerPlugin will be exposed in the public api
|
|
4
|
-
* https://github.com/angular/angular/pull/49969
|
|
5
|
-
*
|
|
6
|
-
* Until then creating it from reference
|
|
7
|
-
* https://github.com/angular/angular/blob/main/packages/platform-browser/src/dom/events/event_manager.ts#L93
|
|
8
|
-
*
|
|
9
|
-
* How to create custom event modifiers
|
|
10
|
-
* https://github.com/Tinkoff/ng-event-plugins,
|
|
11
|
-
* https://github.com/angular/angular/blob/main/packages/platform-browser/src/dom/events/key_events.ts
|
|
12
|
-
* https://netbasal.com/lifting-the-veil-insights-into-angulars-eventmanagerplugin-ed9d14cbb31a
|
|
13
|
-
*/
|
|
14
|
-
export declare abstract class EventManagerPlugin {
|
|
15
|
-
manager: EventManager;
|
|
16
|
-
/** Should return `true` for every event name that should be supported by this plugin */
|
|
17
|
-
abstract supports(eventName: string): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Registers a handler for a specific element and event.
|
|
20
|
-
*
|
|
21
|
-
* @param element The HTML element to receive event notifications.
|
|
22
|
-
* @param eventName The name of the event to listen for.
|
|
23
|
-
* @param handler A function to call when the notification occurs. Receives the
|
|
24
|
-
* event object as an argument.
|
|
25
|
-
* @returns A callback function that can be used to remove the handler.
|
|
26
|
-
*/
|
|
27
|
-
abstract addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Entry event plugin base class
|
|
31
|
-
*/
|
|
32
|
-
export declare abstract class EntryEventManagerPlugin extends EventManagerPlugin {
|
|
33
|
-
abstract modifier: string;
|
|
34
|
-
/** return `true` for every event name that has specified modifier */
|
|
35
|
-
supports(eventName: string): boolean;
|
|
36
|
-
/** unwrap params e.g. (click.debounce.500) => ['debounce', 500] */
|
|
37
|
-
unwrapParams(eventName: string): string[];
|
|
38
|
-
/** get event name e.g. (click.debounce.500) => click */
|
|
39
|
-
unwrapEventName(eventName: string): string;
|
|
40
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntryEventManagerPlugin } from './abstract.plugin';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Provides event plugin for debouncing events.
|
|
5
|
-
*
|
|
6
|
-
* How to use:
|
|
7
|
-
* <button (click.debounce)="doSomething($event)">
|
|
8
|
-
* <input (keyup.debounce.500)="doSomething($event)">
|
|
9
|
-
*/
|
|
10
|
-
export declare class DebounceEventPlugin extends EntryEventManagerPlugin {
|
|
11
|
-
modifier: string;
|
|
12
|
-
addEventListener(element: HTMLElement, eventName: string, originalHandler: Function): Function;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebounceEventPlugin, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DebounceEventPlugin>;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntryEventManagerPlugin } from './abstract.plugin';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Provides event plugin for throttling events.
|
|
5
|
-
*
|
|
6
|
-
* How to use:
|
|
7
|
-
* <button (click.throttle)="doSomething($event)">
|
|
8
|
-
* <input (keyup.throttle.500)="doSomething($event)">
|
|
9
|
-
*/
|
|
10
|
-
export declare class ThrottleEventPlugin extends EntryEventManagerPlugin {
|
|
11
|
-
modifier: string;
|
|
12
|
-
addEventListener(element: HTMLElement, eventName: string, originalHandler: Function): Function;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThrottleEventPlugin, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThrottleEventPlugin>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpInterceptorFn } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated switch to acceptLanguageInterceptor function (See: https://angular.dev/guide/http/interceptors#configuring-interceptors)
|
|
6
|
-
*/
|
|
7
|
-
export declare class AcceptLanguageInterceptor implements HttpInterceptor {
|
|
8
|
-
private localeId;
|
|
9
|
-
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AcceptLanguageInterceptor, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AcceptLanguageInterceptor>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Sets the Accept-Language HTTP request header using the value from LOCALE_ID.
|
|
15
|
-
*/
|
|
16
|
-
export declare const acceptLanguageInterceptor: HttpInterceptorFn;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AcceptLanguageInterceptor, acceptLanguageInterceptor } from './accept-language.interceptor';
|
package/common/public-api.d.ts
DELETED
package/common/utils/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './provide-config';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Provider } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Used to provide default configurations on module level.
|
|
4
|
-
*/
|
|
5
|
-
export declare class EntryDateTimePickerConfig {
|
|
6
|
-
/** Shows seconds selector in date-time-picker pop-up (default false) */
|
|
7
|
-
showSeconds: boolean;
|
|
8
|
-
constructor(config?: Partial<EntryDateTimePickerConfig>);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Entry date-time-picker injection token of EntryDateTimePickerConfig type containing dialog default configurations.
|
|
12
|
-
*
|
|
13
|
-
* Defaults:
|
|
14
|
-
* - showSeconds: false
|
|
15
|
-
*/
|
|
16
|
-
export declare const ENTRY_DATE_TIME_PICKER_CONFIG: import("@angular/core").InjectionToken<EntryDateTimePickerConfig>;
|
|
17
|
-
/**
|
|
18
|
-
* Can be used to provide entry date-time-picker configuration.
|
|
19
|
-
*/
|
|
20
|
-
export declare function provideEntryDateTimePickerConfig(config: Partial<EntryDateTimePickerConfig>): Provider;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { EntryTimePickerComponent } from './time-picker.component';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { EntryDateTimePickerConfig } from './date-time-picker-config.model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@enigmatry/entry-components/common";
|
|
8
|
-
export declare class EntryDateTimePickerComponent<D> implements OnInit, OnDestroy {
|
|
9
|
-
class: string;
|
|
10
|
-
label: string;
|
|
11
|
-
showSeconds: boolean | undefined;
|
|
12
|
-
min: D;
|
|
13
|
-
max: D;
|
|
14
|
-
placeholder: string | undefined;
|
|
15
|
-
hint: string | undefined;
|
|
16
|
-
defaultTime: D | undefined;
|
|
17
|
-
dateTimeChanged: Subject<D>;
|
|
18
|
-
_disabled: boolean;
|
|
19
|
-
get disabled(): boolean;
|
|
20
|
-
set disabled(value: boolean);
|
|
21
|
-
private ngControlAccessor;
|
|
22
|
-
private dateTimeAdapter;
|
|
23
|
-
private format;
|
|
24
|
-
private changeDetectorRef;
|
|
25
|
-
config: EntryDateTimePickerConfig;
|
|
26
|
-
get formControl(): FormControl<D>;
|
|
27
|
-
calendarControl: FormControl<D>;
|
|
28
|
-
is12HourClock: boolean;
|
|
29
|
-
timePicker: EntryTimePickerComponent<D>;
|
|
30
|
-
private $destroy;
|
|
31
|
-
get minDate(): D;
|
|
32
|
-
get maxDate(): D;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
private setDisabled;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryDateTimePickerComponent<any>, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryDateTimePickerComponent<any>, "entry-date-time-picker", never, { "label": { "alias": "label"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "defaultTime": { "alias": "defaultTime"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "dateTimeChanged": "dateTimeChanged"; }, never, never, false, [{ directive: typeof i1.NoopControlValueAccessorDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.NgControlAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
38
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./date-time-picker.component";
|
|
3
|
-
import * as i2 from "./time-picker.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "@angular/material/form-field";
|
|
7
|
-
import * as i6 from "@angular/material/datepicker";
|
|
8
|
-
import * as i7 from "@angular/material/input";
|
|
9
|
-
import * as i8 from "@angular/material/select";
|
|
10
|
-
import * as i9 from "@angular/material/button";
|
|
11
|
-
import * as i10 from "@angular/material/icon";
|
|
12
|
-
import * as i11 from "@enigmatry/entry-components/validation";
|
|
13
|
-
export declare class EntryDateTimePickerModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryDateTimePickerModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryDateTimePickerModule, [typeof i1.EntryDateTimePickerComponent, typeof i2.EntryTimePickerComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatFormFieldModule, typeof i6.MatDatepickerModule, typeof i7.MatInputModule, typeof i8.MatSelectModule, typeof i9.MatButtonModule, typeof i10.MatIconModule, typeof i11.EntryValidationModule], [typeof i1.EntryDateTimePickerComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryDateTimePickerModule>;
|
|
17
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { EntryDateTimePickerComponent } from './date-time-picker.component';
|
|
2
|
-
export { EntryDateTimePickerModule } from './date-time-picker.module';
|
|
3
|
-
export { ENTRY_DATE_TIME_PICKER_CONFIG, EntryDateTimePickerConfig, provideEntryDateTimePickerConfig } from './date-time-picker-config.model';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { EntryDateTimeAdapter } from '@enigmatry/entry-components/common';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type meridiem = 'am' | 'pm';
|
|
5
|
-
export declare class EntryTimePickerComponent<D> implements OnChanges {
|
|
6
|
-
class: string;
|
|
7
|
-
readonly timeAdapter: EntryDateTimeAdapter<D, unknown>;
|
|
8
|
-
date: D | undefined;
|
|
9
|
-
showSeconds: boolean;
|
|
10
|
-
is12HourClock: boolean;
|
|
11
|
-
defaultTime: D | undefined;
|
|
12
|
-
hours: number;
|
|
13
|
-
minutes: number;
|
|
14
|
-
seconds: number;
|
|
15
|
-
meridiem: meridiem;
|
|
16
|
-
readonly hours12: number[];
|
|
17
|
-
readonly hours24: number[];
|
|
18
|
-
readonly sixty: number[];
|
|
19
|
-
get possibleHours(): number[];
|
|
20
|
-
ngOnChanges(_changes: SimpleChanges): void;
|
|
21
|
-
update(): void;
|
|
22
|
-
to12HourClock(): void;
|
|
23
|
-
to24HourClock(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryTimePickerComponent<any>, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryTimePickerComponent<any>, "entry-time-picker", never, { "date": { "alias": "date"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "is12HourClock": { "alias": "is12HourClock"; "required": false; }; "defaultTime": { "alias": "defaultTime"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EntryDialogButtonsAlignment } from '../../entry-dialog-buttons-alignment.type';
|
|
2
|
-
/**
|
|
3
|
-
* Alert dialog data.
|
|
4
|
-
*/
|
|
5
|
-
export interface IEntryAlertDialogData {
|
|
6
|
-
/** Dialog header title */
|
|
7
|
-
title: string;
|
|
8
|
-
/** Dialog content message */
|
|
9
|
-
message: string;
|
|
10
|
-
/** Optional dialog buttons horizontal alignment */
|
|
11
|
-
buttonsAlignment: EntryDialogButtonsAlignment | undefined;
|
|
12
|
-
/** Optional dialog confirm text label */
|
|
13
|
-
confirmText?: string | undefined;
|
|
14
|
-
/** Optionally show or hide dialog close button */
|
|
15
|
-
hideClose: boolean | undefined;
|
|
16
|
-
/** Optionally disable closing dialog when pressing escape or clicking on backdrop */
|
|
17
|
-
disableClose?: boolean | undefined;
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EntryDialogComponent } from '../entry-dialog.component';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { IEntryAlertDialogData } from './entry-alert-dialog-data.interface';
|
|
4
|
-
import { EntryDialogConfig } from '../../entry-dialog-config.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EntryAlertDialogComponent extends EntryDialogComponent {
|
|
7
|
-
protected readonly mdDialogRef: MatDialogRef<EntryDialogComponent>;
|
|
8
|
-
readonly config: EntryDialogConfig;
|
|
9
|
-
data: IEntryAlertDialogData;
|
|
10
|
-
constructor(mdDialogRef: MatDialogRef<EntryDialogComponent>, config: EntryDialogConfig, data: IEntryAlertDialogData);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryAlertDialogComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryAlertDialogComponent, "entry-alert-dialog", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IEntryAlertDialogData } from '../alert/entry-alert-dialog-data.interface';
|
|
2
|
-
/**
|
|
3
|
-
* Confirm dialog data. Extends IEntryAlertDialogData.
|
|
4
|
-
*/
|
|
5
|
-
export interface IEntryConfirmDialogData extends IEntryAlertDialogData {
|
|
6
|
-
/** Optional dialog cancel text label */
|
|
7
|
-
cancelText?: string | undefined;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { EntryDialogComponent } from '../entry-dialog.component';
|
|
3
|
-
import { IEntryConfirmDialogData } from './entry-confirm-dialog-data.interface';
|
|
4
|
-
import { EntryDialogConfig } from '../../entry-dialog-config.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EntryConfirmDialogComponent extends EntryDialogComponent {
|
|
7
|
-
protected readonly mdDialogRef: MatDialogRef<EntryDialogComponent>;
|
|
8
|
-
readonly config: EntryDialogConfig;
|
|
9
|
-
readonly data: IEntryConfirmDialogData;
|
|
10
|
-
constructor(mdDialogRef: MatDialogRef<EntryDialogComponent>, config: EntryDialogConfig, data: IEntryConfirmDialogData);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryConfirmDialogComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfirmDialogComponent, "entry-confirm-dialog", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { EntryDialogConfig } from '../entry-dialog-config.model';
|
|
5
|
-
import { EntryDialogButtonsAlignment } from '../entry-dialog-buttons-alignment.type';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Base Entry dialog component. Must be extended when building custom dialogs.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```html
|
|
12
|
-
* <entry-dialog title="TITLE"><p>Dialog content</p></entry-dialog>
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
export declare class EntryDialogComponent {
|
|
16
|
-
protected readonly mdDialogRef: MatDialogRef<EntryDialogComponent>;
|
|
17
|
-
protected readonly config: EntryDialogConfig;
|
|
18
|
-
/** Dialog header title */
|
|
19
|
-
title: string;
|
|
20
|
-
/** Dialog buttons horizontal alignment */
|
|
21
|
-
buttonsAlignment: EntryDialogButtonsAlignment;
|
|
22
|
-
/** Confirm button label */
|
|
23
|
-
confirmButtonText: string;
|
|
24
|
-
/** Cancel button label */
|
|
25
|
-
cancelButtonText: string;
|
|
26
|
-
/** Show or hide dialog buttons */
|
|
27
|
-
hideButtons: boolean;
|
|
28
|
-
/** Show or hide dialog cancel button */
|
|
29
|
-
hideCancel: boolean;
|
|
30
|
-
/** Show or hide dialog close button */
|
|
31
|
-
hideClose: boolean;
|
|
32
|
-
/** Enable or disable dialog confirm button */
|
|
33
|
-
disableConfirm: boolean;
|
|
34
|
-
/** Provide custom buttons template */
|
|
35
|
-
buttonsTemplate: TemplateRef<any> | null | undefined;
|
|
36
|
-
constructor(mdDialogRef: MatDialogRef<EntryDialogComponent>, config: EntryDialogConfig);
|
|
37
|
-
confirm: () => Observable<unknown>;
|
|
38
|
-
cancel: () => void;
|
|
39
|
-
onSubmit: () => import("rxjs").Subscription;
|
|
40
|
-
close: (value?: unknown) => void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryDialogComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryDialogComponent, "entry-dialog", never, { "title": { "alias": "title"; "required": false; }; "buttonsAlignment": { "alias": "buttonsAlignment"; "required": false; }; "confirmButtonText": { "alias": "confirmButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "hideButtons": { "alias": "hideButtons"; "required": false; }; "hideCancel": { "alias": "hideCancel"; "required": false; }; "hideClose": { "alias": "hideClose"; "required": false; }; "disableConfirm": { "alias": "disableConfirm"; "required": false; }; "buttonsTemplate": { "alias": "buttonsTemplate"; "required": false; }; "confirm": { "alias": "confirm"; "required": false; }; "cancel": { "alias": "cancel"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
43
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IValidationProblemDetails } from '@enigmatry/entry-components/validation';
|
|
2
|
-
import { IEntryAlertDialogData } from '../alert/entry-alert-dialog-data.interface';
|
|
3
|
-
/**
|
|
4
|
-
* Error dialog data.
|
|
5
|
-
*/
|
|
6
|
-
export interface IEntryErrorDialogData extends IEntryAlertDialogData {
|
|
7
|
-
/** Errors to display */
|
|
8
|
-
errors: string[] | IValidationProblemDetails;
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntryDialogComponent } from '../entry-dialog.component';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { IEntryErrorDialogData } from './entry-error-dialog-data.interface';
|
|
4
|
-
import { EntryDialogConfig } from '../../entry-dialog-config.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EntryErrorDialogComponent extends EntryDialogComponent {
|
|
7
|
-
protected readonly mdDialogRef: MatDialogRef<EntryDialogComponent>;
|
|
8
|
-
readonly config: EntryDialogConfig;
|
|
9
|
-
data: IEntryErrorDialogData;
|
|
10
|
-
errors: string[];
|
|
11
|
-
constructor(mdDialogRef: MatDialogRef<EntryDialogComponent>, config: EntryDialogConfig, data: IEntryErrorDialogData);
|
|
12
|
-
private extractValidationErrors;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryErrorDialogComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryErrorDialogComponent, "entry-error-dialog", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { EntryDialogButtonsAlignment } from './entry-dialog-buttons-alignment.type';
|
|
2
|
-
import { Provider } from '@angular/core';
|
|
3
|
-
/**
|
|
4
|
-
* Used to provide default configurations on module level.
|
|
5
|
-
*/
|
|
6
|
-
export declare class EntryDialogConfig {
|
|
7
|
-
/** Confirm button label (default 'Ok') */
|
|
8
|
-
confirmButtonText: string;
|
|
9
|
-
/** Cancel button label (default 'Cancel') */
|
|
10
|
-
cancelButtonText: string;
|
|
11
|
-
/** Dialog buttons horizontal alignment (default 'align-right') */
|
|
12
|
-
buttonsAlignment: EntryDialogButtonsAlignment;
|
|
13
|
-
/** Determines if close button is visible (default is true) */
|
|
14
|
-
hideClose: boolean;
|
|
15
|
-
/** Disable closing dialog when pressing escape or clicking on backdrop (default false) */
|
|
16
|
-
disableClose: boolean;
|
|
17
|
-
constructor(config?: Partial<EntryDialogConfig>);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Entry dialog injection token of EntryDialogConfig type containing dialog default configurations.
|
|
21
|
-
*
|
|
22
|
-
* Defaults:
|
|
23
|
-
* - confirmButtonText: 'Ok'
|
|
24
|
-
* - cancelButtonText: 'Cancel'
|
|
25
|
-
* - buttonsAlignment: 'end'
|
|
26
|
-
* - hideClose: true
|
|
27
|
-
* - disableClose: false
|
|
28
|
-
*/
|
|
29
|
-
export declare const ENTRY_DIALOG_CONFIG: import("@angular/core").InjectionToken<EntryDialogConfig>;
|
|
30
|
-
/**
|
|
31
|
-
* Can be used to provide entry dialog configuration.
|
|
32
|
-
*/
|
|
33
|
-
export declare function provideEntryDialogConfig(config: Partial<EntryDialogConfig>): Provider;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dialogs/entry-dialog.component";
|
|
3
|
-
import * as i2 from "./dialogs/alert/entry-alert-dialog.component";
|
|
4
|
-
import * as i3 from "./dialogs/confirm/entry-confirm-dialog.component";
|
|
5
|
-
import * as i4 from "./dialogs/error/entry-error-dialog.component";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "@angular/material/dialog";
|
|
8
|
-
import * as i7 from "@angular/material/icon";
|
|
9
|
-
import * as i8 from "@angular/material/button";
|
|
10
|
-
import * as i9 from "@enigmatry/entry-components/button";
|
|
11
|
-
export declare class EntryDialogModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryDialogModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryDialogModule, [typeof i1.EntryDialogComponent, typeof i2.EntryAlertDialogComponent, typeof i3.EntryConfirmDialogComponent, typeof i4.EntryErrorDialogComponent], [typeof i5.CommonModule, typeof i6.MatDialogModule, typeof i7.MatIconModule, typeof i8.MatButtonModule, typeof i9.EntryButtonModule], [typeof i1.EntryDialogComponent, typeof i2.EntryAlertDialogComponent, typeof i3.EntryConfirmDialogComponent, typeof i4.EntryErrorDialogComponent]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryDialogModule>;
|
|
15
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { EntryDialogComponent } from './dialogs/entry-dialog.component';
|
|
4
|
-
import { IEntryAlertDialogData } from './dialogs/alert/entry-alert-dialog-data.interface';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { IEntryConfirmDialogData } from './dialogs/confirm/entry-confirm-dialog-data.interface';
|
|
7
|
-
import { EntryDialogConfig } from './entry-dialog-config.model';
|
|
8
|
-
import { IEntryErrorDialogData } from './dialogs/error/entry-error-dialog-data.interface';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Used to open built-in and custom entry dialogs.
|
|
12
|
-
*/
|
|
13
|
-
export declare class EntryDialogService {
|
|
14
|
-
protected readonly config: EntryDialogConfig;
|
|
15
|
-
private readonly matDialog;
|
|
16
|
-
constructor(config: EntryDialogConfig, matDialog: MatDialog);
|
|
17
|
-
/**
|
|
18
|
-
* Opens alert dialog.
|
|
19
|
-
*
|
|
20
|
-
* @param data - Contains title, message and optional confirm button text
|
|
21
|
-
* @returns `true` if confirmed, `undefined` if closed by clicking on backdrop or pressing escape
|
|
22
|
-
*/
|
|
23
|
-
openAlert: (data: Partial<IEntryAlertDialogData>) => Observable<true | undefined>;
|
|
24
|
-
/**
|
|
25
|
-
* Opens confirm dialog.
|
|
26
|
-
*
|
|
27
|
-
* @param data - Contains title, message and optional confirm/cancel buttons text
|
|
28
|
-
* @returns `true` if confirmed, `false` if canceled or closed, `undefined` if closed by clicking on backdrop or pressing escape
|
|
29
|
-
*/
|
|
30
|
-
openConfirm: (data: Partial<IEntryConfirmDialogData>) => Observable<boolean | undefined>;
|
|
31
|
-
/**
|
|
32
|
-
* Opens error dialog.
|
|
33
|
-
*
|
|
34
|
-
* @param data - Contains title, errors and optional confirm button text
|
|
35
|
-
* @returns `true` if confirmed, `undefined` if closed by clicking on backdrop or pressing escape
|
|
36
|
-
*/
|
|
37
|
-
openError: (data: Partial<IEntryErrorDialogData>) => Observable<true | undefined>;
|
|
38
|
-
/**
|
|
39
|
-
* Opens dialog with custom component.
|
|
40
|
-
*
|
|
41
|
-
* @param component - Dialog custom component implementation
|
|
42
|
-
* @param data - Optional parameter used to supply component with input parameters
|
|
43
|
-
* @param disableClose - Optional parameter that disable closing dialog when pressing escape or clicking on backdrop
|
|
44
|
-
* @param cssClass - Optional parameter used to set custom class to Material overlay pane
|
|
45
|
-
* @returns Any result custom implementation provides
|
|
46
|
-
*/
|
|
47
|
-
open: (component: Type<EntryDialogComponent>, data?: unknown, disableClose?: boolean | undefined, cssClass?: string) => Observable<any>;
|
|
48
|
-
/**
|
|
49
|
-
* Closes all opened dialogs.
|
|
50
|
-
*/
|
|
51
|
-
closeAll: () => void;
|
|
52
|
-
private setPanelClassFor;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryDialogService, never>;
|
|
54
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EntryDialogService>;
|
|
55
|
-
}
|
package/dialog/public-api.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { EntryAlertDialogComponent } from './dialogs/alert/entry-alert-dialog.component';
|
|
2
|
-
export { IEntryAlertDialogData } from './dialogs/alert/entry-alert-dialog-data.interface';
|
|
3
|
-
export { EntryConfirmDialogComponent } from './dialogs/confirm/entry-confirm-dialog.component';
|
|
4
|
-
export { IEntryConfirmDialogData } from './dialogs/confirm/entry-confirm-dialog-data.interface';
|
|
5
|
-
export { EntryErrorDialogComponent } from './dialogs/error/entry-error-dialog.component';
|
|
6
|
-
export { IEntryErrorDialogData } from './dialogs/error/entry-error-dialog-data.interface';
|
|
7
|
-
export { EntryDialogComponent } from './dialogs/entry-dialog.component';
|
|
8
|
-
export { EntryDialogButtonsAlignment } from './entry-dialog-buttons-alignment.type';
|
|
9
|
-
export { EntryDialogService } from './entry-dialog.service';
|
|
10
|
-
export { EntryDialogModule } from './entry-dialog.module';
|
|
11
|
-
export { ENTRY_DIALOG_CONFIG, EntryDialogConfig, provideEntryDialogConfig } from './entry-dialog-config.model';
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
3
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EntryFileInputComponent implements OnInit, OnDestroy, ControlValueAccessor, Validator {
|
|
6
|
-
private readonly _ngZone;
|
|
7
|
-
private readonly _renderer;
|
|
8
|
-
/**
|
|
9
|
-
* Label for the select file button. Defaults to 'Choose file...'
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* MatIcon for the select file button. Defaults to 'insert_drive_file' (optional)
|
|
14
|
-
*/
|
|
15
|
-
matIcon?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Same as 'accept' attribute in <input/> element.
|
|
18
|
-
*/
|
|
19
|
-
accept?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Same as 'multiple' attribute in <input/> element.
|
|
22
|
-
*/
|
|
23
|
-
set multiple(multiple: BooleanInput);
|
|
24
|
-
get multiple(): boolean;
|
|
25
|
-
private _multiple;
|
|
26
|
-
/**
|
|
27
|
-
* Same as 'disabled' attribute in <input/> element.
|
|
28
|
-
*/
|
|
29
|
-
set disabled(disabled: BooleanInput);
|
|
30
|
-
get disabled(): boolean;
|
|
31
|
-
private _disabled;
|
|
32
|
-
/**
|
|
33
|
-
* Same as 'readonly' attribute in <input/> element.
|
|
34
|
-
*/
|
|
35
|
-
set readonly(readonly: BooleanInput);
|
|
36
|
-
get readonly(): boolean;
|
|
37
|
-
private _readonly;
|
|
38
|
-
/**
|
|
39
|
-
* Size limit per file in KB (kilobytes)
|
|
40
|
-
*/
|
|
41
|
-
maxFileSizeInKb?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Number of files allowed when multiple=true
|
|
44
|
-
*/
|
|
45
|
-
maxFileCount?: number;
|
|
46
|
-
/**
|
|
47
|
-
* Current selected [File | FileList] object.
|
|
48
|
-
*/
|
|
49
|
-
value: File | FileList | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* Event emitted when a file is selected. Emits a [File | FileList] object.
|
|
52
|
-
*/
|
|
53
|
-
selectedFile: EventEmitter<File | FileList>;
|
|
54
|
-
_fileButton: ElementRef<HTMLElement>;
|
|
55
|
-
_fileInput: ElementRef<HTMLInputElement>;
|
|
56
|
-
private _destroy$;
|
|
57
|
-
constructor(_ngZone: NgZone, _renderer: Renderer2);
|
|
58
|
-
get fileNames(): string;
|
|
59
|
-
ngOnInit(): void;
|
|
60
|
-
ngOnDestroy(): void;
|
|
61
|
-
onFileSelect(event: Event): void;
|
|
62
|
-
clear(): void;
|
|
63
|
-
onChange: (_: any) => void;
|
|
64
|
-
onTouched: () => void;
|
|
65
|
-
writeValue(value: any): void;
|
|
66
|
-
registerOnChange(fn: any): void;
|
|
67
|
-
registerOnTouched(fn: any): void;
|
|
68
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
69
|
-
validate(control: AbstractControl<File | FileList | undefined>): ValidationErrors;
|
|
70
|
-
private isFileCountLimitExceeded;
|
|
71
|
-
private isFileSizeLimitExceeded;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryFileInputComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryFileInputComponent, "entry-file-input", never, { "label": { "alias": "label"; "required": false; }; "matIcon": { "alias": "matIcon"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxFileSizeInKb": { "alias": "maxFileSizeInKb"; "required": false; }; "maxFileCount": { "alias": "maxFileCount"; "required": false; }; }, { "selectedFile": "selectedFile"; }, never, never, false, never>;
|
|
74
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./entry-file-input.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@angular/material/icon";
|
|
6
|
-
import * as i5 from "@angular/material/button";
|
|
7
|
-
import * as i6 from "@enigmatry/entry-components/button";
|
|
8
|
-
export declare class EntryFileInputModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryFileInputModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryFileInputModule, [typeof i1.EntryFileInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.EntryButtonModule], [typeof i1.EntryFileInputComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryFileInputModule>;
|
|
12
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders, Type } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@enigmatry/entry-components/button";
|
|
4
|
-
import * as i2 from "@enigmatry/entry-components/common";
|
|
5
|
-
import * as i3 from "@enigmatry/entry-components/dialog";
|
|
6
|
-
import * as i4 from "@enigmatry/entry-components/file-input";
|
|
7
|
-
import * as i5 from "@enigmatry/entry-components/validation";
|
|
8
|
-
import * as i6 from "@enigmatry/entry-components/permissions";
|
|
9
|
-
import * as i7 from "@enigmatry/entry-components/search-filter";
|
|
10
|
-
import * as i8 from "@enigmatry/entry-components/spinner";
|
|
11
|
-
import * as i9 from "@enigmatry/entry-components/table";
|
|
12
|
-
interface EntryComponentsModuleOptions {
|
|
13
|
-
permissionService?: Type<any>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Exports all entry components.
|
|
17
|
-
*
|
|
18
|
-
* Usage
|
|
19
|
-
* import EntryComponentsModule in shared.module.ts to have access to all components, directives, pipes.
|
|
20
|
-
* import EntryComponentsModule.forRoot() in app.module.ts to register root module providers.
|
|
21
|
-
*/
|
|
22
|
-
export declare class EntryComponentsModule {
|
|
23
|
-
static forRoot(options?: EntryComponentsModuleOptions): ModuleWithProviders<EntryComponentsModule>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryComponentsModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryComponentsModule, never, never, [typeof i1.EntryButtonModule, typeof i2.EntryCommonModule, typeof i3.EntryDialogModule, typeof i4.EntryFileInputModule, typeof i5.EntryValidationModule, typeof i6.EntryPermissionModule, typeof i7.EntrySearchFilterModule, typeof i8.EntrySpinnerModule, typeof i9.EntryTableModule]>;
|
|
26
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryComponentsModule>;
|
|
27
|
-
}
|
|
28
|
-
export {};
|