quang 19.0.28 → 19.2.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/auth/README.md +10 -0
- package/auth/index.d.ts +195 -9
- package/auth/mobile/index.d.ts +5 -1
- package/components/autocomplete/README.md +18 -0
- package/components/autocomplete/index.d.ts +67 -1
- package/components/checkbox/index.d.ts +15 -1
- package/components/date/index.d.ts +89 -1
- package/components/input/index.d.ts +19 -1
- package/components/paginator/index.d.ts +68 -5
- package/components/select/index.d.ts +32 -1
- package/components/shared/index.d.ts +112 -4
- package/components/table/index.d.ts +70 -1
- package/components/wysiwyg/index.d.ts +51 -1
- package/data-handling/index.d.ts +10 -0
- package/device/index.d.ts +14 -1
- package/fesm2022/quang-auth.mjs +18 -18
- package/fesm2022/quang-auth.mjs.map +1 -1
- package/fesm2022/quang-components-autocomplete.mjs +121 -24
- package/fesm2022/quang-components-autocomplete.mjs.map +1 -1
- package/fesm2022/quang-components-checkbox.mjs +3 -3
- package/fesm2022/quang-components-checkbox.mjs.map +1 -1
- package/fesm2022/quang-components-date.mjs +3 -3
- package/fesm2022/quang-components-date.mjs.map +1 -1
- package/fesm2022/quang-components-input.mjs +3 -3
- package/fesm2022/quang-components-input.mjs.map +1 -1
- package/fesm2022/quang-components-paginator.mjs +13 -13
- package/fesm2022/quang-components-paginator.mjs.map +1 -1
- package/fesm2022/quang-components-select.mjs +3 -3
- package/fesm2022/quang-components-select.mjs.map +1 -1
- package/fesm2022/quang-components-shared.mjs +25 -22
- package/fesm2022/quang-components-shared.mjs.map +1 -1
- package/fesm2022/quang-components-table.mjs +3 -3
- package/fesm2022/quang-components-table.mjs.map +1 -1
- package/fesm2022/quang-components-wysiwyg.mjs +3 -3
- package/fesm2022/quang-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/quang-data-handling.mjs +54 -0
- package/fesm2022/quang-data-handling.mjs.map +1 -0
- package/fesm2022/quang-device.mjs +3 -3
- package/fesm2022/quang-device.mjs.map +1 -1
- package/fesm2022/quang-loader.mjs +6 -6
- package/fesm2022/quang-loader.mjs.map +1 -1
- package/fesm2022/quang-overlay-modal.mjs +3 -3
- package/fesm2022/quang-overlay-modal.mjs.map +1 -1
- package/fesm2022/quang-overlay-popover.mjs +8 -8
- package/fesm2022/quang-overlay-popover.mjs.map +1 -1
- package/fesm2022/quang-overlay-shared.mjs +9 -9
- package/fesm2022/quang-overlay-shared.mjs.map +1 -1
- package/fesm2022/quang-overlay-toast.mjs +6 -6
- package/fesm2022/quang-overlay-toast.mjs.map +1 -1
- package/fesm2022/quang-overlay-tooltip.mjs +7 -7
- package/fesm2022/quang-overlay-tooltip.mjs.map +1 -1
- package/fesm2022/quang-translation.mjs +6 -6
- package/fesm2022/quang-translation.mjs.map +1 -1
- package/forms/index.d.ts +51 -2
- package/index.d.ts +13 -9
- package/loader/index.d.ts +69 -4
- package/overlay/modal/index.d.ts +34 -1
- package/overlay/popover/index.d.ts +25 -1
- package/overlay/shared/index.d.ts +116 -3
- package/overlay/toast/index.d.ts +44 -2
- package/overlay/tooltip/index.d.ts +23 -2
- package/package.json +13 -9
- package/shared/index.d.ts +16 -1
- package/translation/index.d.ts +62 -4
- package/auth/auth-providers.d.ts +0 -39
- package/auth/auth.service.d.ts +0 -52
- package/auth/directives/has-at-least-one-role.directive.d.ts +0 -26
- package/auth/directives/has-every-role.directive.d.ts +0 -26
- package/auth/directives/is-authenticated.directive.d.ts +0 -14
- package/auth/directives/is-not-authenticated.directive.d.ts +0 -14
- package/auth/guards/index.d.ts +0 -2
- package/auth/guards/is-allowed.guard.d.ts +0 -2
- package/auth/guards/is-authenticated.guard.d.ts +0 -2
- package/auth/logout-on-error.interceptor.d.ts +0 -9
- package/auth/mobile/mobile-auth-feature.d.ts +0 -2
- package/auth/token-storage/index.d.ts +0 -3
- package/auth/token-storage/local-storage-feature.d.ts +0 -2
- package/auth/token-storage/memory-storage-feature.d.ts +0 -12
- package/auth/token-storage/session-storage-feature.d.ts +0 -2
- package/components/autocomplete/autocomplete.component.d.ts +0 -43
- package/components/checkbox/checkbox.component.d.ts +0 -11
- package/components/date/date.component.d.ts +0 -85
- package/components/input/input.component.d.ts +0 -15
- package/components/paginator/paginator-language.service.d.ts +0 -10
- package/components/paginator/paginator.component.d.ts +0 -30
- package/components/paginator/paginator.module.d.ts +0 -7
- package/components/paginator/paginator.service.d.ts +0 -6
- package/components/paginator/paginatorIntl.d.ts +0 -12
- package/components/select/select.component.d.ts +0 -29
- package/components/shared/ErrorData.d.ts +0 -4
- package/components/shared/makeId.d.ts +0 -1
- package/components/shared/option-list/option-list.component.d.ts +0 -53
- package/components/shared/quang-base-component.directive.d.ts +0 -50
- package/components/table/table.component.d.ts +0 -66
- package/components/wysiwyg/wysiwyg.component.d.ts +0 -46
- package/device/resize-observable.service.d.ts +0 -11
- package/forms/form-group-model.d.ts +0 -18
- package/forms/validators.d.ts +0 -43
- package/loader/loader-providers.d.ts +0 -23
- package/loader/loader.component.d.ts +0 -23
- package/loader/loader.interceptor.d.ts +0 -10
- package/loader/loader.service.d.ts +0 -9
- package/overlay/modal/modal.component.d.ts +0 -29
- package/overlay/popover/popover.component.d.ts +0 -13
- package/overlay/popover/popover.directive.d.ts +0 -11
- package/overlay/shared/CustomViewportRuler.d.ts +0 -63
- package/overlay/shared/quang-base-overlay.component.d.ts +0 -9
- package/overlay/shared/quang-base-overlay.directive.d.ts +0 -44
- package/overlay/toast/toast.component.d.ts +0 -13
- package/overlay/toast/toast.service.d.ts +0 -27
- package/overlay/tooltip/tooltip.component.d.ts +0 -11
- package/overlay/tooltip/tooltip.directive.d.ts +0 -11
- package/shared/intercept-utils.d.ts +0 -13
- package/translation/translation-loader.service.d.ts +0 -10
- package/translation/translation-providers.d.ts +0 -28
- package/translation/translation.service.d.ts +0 -15
- package/translation/translations.tokens.d.ts +0 -5
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { QuangBaseComponent } from 'quang/components/shared';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type LabelPosition = 'top' | 'left' | 'right' | 'bottom';
|
|
4
|
-
export declare class QuangCheckboxComponent extends QuangBaseComponent<boolean> {
|
|
5
|
-
labelPosition: import("@angular/core").InputSignal<LabelPosition>;
|
|
6
|
-
checkType: import("@angular/core").InputSignal<"checkbox" | "toggle">;
|
|
7
|
-
removeMargin: import("@angular/core").InputSignal<boolean>;
|
|
8
|
-
onChangedEventHandler($event: Event): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangCheckboxComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangCheckboxComponent, "quang-checkbox", never, { "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "checkType": { "alias": "checkType"; "required": true; "isSignal": true; }; "removeMargin": { "alias": "removeMargin"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import AirDatepicker, { AirDatepickerLocale, AirDatepickerOptions, AirDatepickerPosition } from 'air-datepicker';
|
|
3
|
-
import { QuangTranslationService } from 'quang/translation';
|
|
4
|
-
import { QuangBaseComponent } from 'quang/components/shared';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface DateRange {
|
|
7
|
-
dateFrom: string | null;
|
|
8
|
-
dateTo: string | null;
|
|
9
|
-
}
|
|
10
|
-
export type QuangDatepickerOptions = AirDatepickerOptions;
|
|
11
|
-
export declare class QuangDateComponent extends QuangBaseComponent<string | DateRange | null> {
|
|
12
|
-
/**
|
|
13
|
-
* Format to use to show on the input field.
|
|
14
|
-
* The format is based on the standard {@link https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table}
|
|
15
|
-
* Default: dd/MM/yyyy
|
|
16
|
-
* @default dd/MM/yyyy
|
|
17
|
-
*/
|
|
18
|
-
dateFormat: import("@angular/core").InputSignal<string>;
|
|
19
|
-
/**
|
|
20
|
-
* Format to use to show on the time inside the input field.
|
|
21
|
-
* The format is based on the standard {@link https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table}
|
|
22
|
-
* Default: HH:mm
|
|
23
|
-
* @default HH:mm
|
|
24
|
-
*/
|
|
25
|
-
timeFormat: import("@angular/core").InputSignal<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Calendar locale, if not provided the component will try to use the one provided in {@link QuangTranslationService}
|
|
28
|
-
* if the language is not set in {@link QuangTranslationService} it will use the browser language
|
|
29
|
-
* Use this parameter only to override default behavior
|
|
30
|
-
*/
|
|
31
|
-
activeLanguageOverride: import("@angular/core").InputSignal<string | undefined>;
|
|
32
|
-
/**
|
|
33
|
-
* If true enable the timepicker inside the calendar
|
|
34
|
-
*/
|
|
35
|
-
timepicker: import("@angular/core").InputSignal<boolean>;
|
|
36
|
-
/**
|
|
37
|
-
* The message to show inside the input if the date is invalid
|
|
38
|
-
*/
|
|
39
|
-
invalidDateMessage: import("@angular/core").InputSignal<string>;
|
|
40
|
-
showOnlyTimepicker: import("@angular/core").InputSignal<boolean>;
|
|
41
|
-
minHour: import("@angular/core").InputSignal<number>;
|
|
42
|
-
maxHour: import("@angular/core").InputSignal<number>;
|
|
43
|
-
minMinute: import("@angular/core").InputSignal<number>;
|
|
44
|
-
maxMinute: import("@angular/core").InputSignal<number>;
|
|
45
|
-
minDate: import("@angular/core").InputSignal<Date | undefined>;
|
|
46
|
-
maxDate: import("@angular/core").InputSignal<Date | undefined>;
|
|
47
|
-
showInline: import("@angular/core").InputSignal<boolean>;
|
|
48
|
-
calendarClasses: import("@angular/core").InputSignal<string>;
|
|
49
|
-
buttonClass: import("@angular/core").InputSignal<string>;
|
|
50
|
-
datepickerOptions: import("@angular/core").InputSignal<QuangDatepickerOptions | undefined>;
|
|
51
|
-
_inputForDate: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
52
|
-
contentTemplate: import("@angular/core").Signal<ElementRef<any>>;
|
|
53
|
-
hasNoContent: import("@angular/core").Signal<boolean>;
|
|
54
|
-
_quangTranslationService: import("@angular/core").WritableSignal<QuangTranslationService | undefined>;
|
|
55
|
-
_quangTranslationActiveLang: import("@angular/core").Signal<string | null>;
|
|
56
|
-
multipleDatesSeparator: import("@angular/core").InputSignal<string>;
|
|
57
|
-
rangeSelection: import("@angular/core").InputSignal<boolean>;
|
|
58
|
-
_activeLanguage: import("@angular/core").Signal<string | null | undefined>;
|
|
59
|
-
_airDatepickerInstance: import("@angular/core").WritableSignal<AirDatepicker<HTMLInputElement> | undefined>;
|
|
60
|
-
searchTextDebounce: import("@angular/core").InputSignal<number>;
|
|
61
|
-
targetPosition: import("@angular/core").WritableSignal<AirDatepickerPosition>;
|
|
62
|
-
_generateAirDatepickerEffect: import("@angular/core").EffectRef;
|
|
63
|
-
valueFormat: import("@angular/core").Signal<string>;
|
|
64
|
-
inputValueString: import("@angular/core").Signal<string>;
|
|
65
|
-
constructor();
|
|
66
|
-
showTimepicker: import("@angular/core").Signal<boolean>;
|
|
67
|
-
isMouseInsideCalendar: import("@angular/core").WritableSignal<boolean>;
|
|
68
|
-
isMouseOutsideCalendar: import("@angular/core").Signal<boolean>;
|
|
69
|
-
setupCalendar(): void;
|
|
70
|
-
onChangeText($event: Event): void;
|
|
71
|
-
onBlurHandler(): void;
|
|
72
|
-
setupInputStringToDate(value: string): Date;
|
|
73
|
-
onChangedHandler(value: string | DateRange | null): void;
|
|
74
|
-
onHideCalendar(): void;
|
|
75
|
-
formatDate(val: string | DateRange | null): string;
|
|
76
|
-
openDatePicker(): void;
|
|
77
|
-
interceptInputInteraction($event: Event): void;
|
|
78
|
-
getLocale(): AirDatepickerLocale;
|
|
79
|
-
onCancel(): void;
|
|
80
|
-
private dateToUtc;
|
|
81
|
-
private setCalendarPosition;
|
|
82
|
-
private setupTimepicker;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangDateComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangDateComponent, "quang-date", never, { "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "timeFormat": { "alias": "timeFormat"; "required": false; "isSignal": true; }; "activeLanguageOverride": { "alias": "activeLanguageOverride"; "required": false; "isSignal": true; }; "timepicker": { "alias": "timepicker"; "required": false; "isSignal": true; }; "invalidDateMessage": { "alias": "invalidDateMessage"; "required": false; "isSignal": true; }; "showOnlyTimepicker": { "alias": "showOnlyTimepicker"; "required": false; "isSignal": true; }; "minHour": { "alias": "minHour"; "required": false; "isSignal": true; }; "maxHour": { "alias": "maxHour"; "required": false; "isSignal": true; }; "minMinute": { "alias": "minMinute"; "required": false; "isSignal": true; }; "maxMinute": { "alias": "maxMinute"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "showInline": { "alias": "showInline"; "required": false; "isSignal": true; }; "calendarClasses": { "alias": "calendarClasses"; "required": false; "isSignal": true; }; "buttonClass": { "alias": "buttonClass"; "required": false; "isSignal": true; }; "datepickerOptions": { "alias": "datepickerOptions"; "required": false; "isSignal": true; }; "multipleDatesSeparator": { "alias": "multipleDatesSeparator"; "required": false; "isSignal": true; }; "rangeSelection": { "alias": "rangeSelection"; "required": false; "isSignal": true; }; "searchTextDebounce": { "alias": "searchTextDebounce"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
85
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { QuangBaseComponent } from 'quang/components/shared';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type InputType = 'text' | 'textarea' | 'password' | 'email' | 'number' | 'url' | 'search' | 'tel' | 'color';
|
|
4
|
-
export declare class QuangInputComponent extends QuangBaseComponent<string | number> {
|
|
5
|
-
componentType: import("@angular/core").InputSignal<InputType>;
|
|
6
|
-
maxLengthText: import("@angular/core").InputSignal<number | null>;
|
|
7
|
-
minLengthText: import("@angular/core").InputSignal<number | null>;
|
|
8
|
-
minNumber: import("@angular/core").InputSignal<number | undefined>;
|
|
9
|
-
maxNumber: import("@angular/core").InputSignal<number | undefined>;
|
|
10
|
-
componentStep: import("@angular/core").InputSignal<number>;
|
|
11
|
-
resizable: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
constructor();
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangInputComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangInputComponent, "quang-input", never, { "componentType": { "alias": "componentType"; "required": true; "isSignal": true; }; "maxLengthText": { "alias": "maxLengthText"; "required": false; "isSignal": true; }; "minLengthText": { "alias": "minLengthText"; "required": false; "isSignal": true; }; "minNumber": { "alias": "minNumber"; "required": false; "isSignal": true; }; "maxNumber": { "alias": "maxNumber"; "required": false; "isSignal": true; }; "componentStep": { "alias": "componentStep"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TranslocoService } from '@jsverse/transloco';
|
|
2
|
-
import { PaginatorIntl } from './paginatorIntl';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class QuangPaginatorLanguageService extends PaginatorIntl {
|
|
5
|
-
private readonly transloco;
|
|
6
|
-
constructor(transloco: TranslocoService);
|
|
7
|
-
getAndInitTranslations(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangPaginatorLanguageService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<QuangPaginatorLanguageService>;
|
|
10
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class QuangPaginatorComponent implements OnInit {
|
|
4
|
-
componentId: import("@angular/core").InputSignal<string>;
|
|
5
|
-
componentTabIndex: import("@angular/core").InputSignal<number>;
|
|
6
|
-
componentClass: import("@angular/core").InputSignal<string | string[]>;
|
|
7
|
-
page: import("@angular/core").InputSignal<number>;
|
|
8
|
-
pageSize: import("@angular/core").InputSignal<number>;
|
|
9
|
-
sizeList: import("@angular/core").InputSignal<number[]>;
|
|
10
|
-
totalItems: import("@angular/core").InputSignal<number>;
|
|
11
|
-
showTotalElementsCount: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
totalItemsText: import("@angular/core").InputSignal<string>;
|
|
13
|
-
sizeText: import("@angular/core").InputSignal<string>;
|
|
14
|
-
pageRangeText: import("@angular/core").InputSignal<string>;
|
|
15
|
-
_currentPage: import("@angular/core").WritableSignal<number>;
|
|
16
|
-
page$: import("rxjs").Subscription;
|
|
17
|
-
_pageSize: import("@angular/core").WritableSignal<number>;
|
|
18
|
-
pageSize$: import("rxjs").Subscription;
|
|
19
|
-
_totalPages: import("@angular/core").Signal<number>;
|
|
20
|
-
changePage: import("@angular/core").OutputEmitterRef<number>;
|
|
21
|
-
changeSize: import("@angular/core").OutputEmitterRef<number>;
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
onChangeSize(event: any): void;
|
|
24
|
-
goToNextPage(): void;
|
|
25
|
-
goToPreviousPage(): void;
|
|
26
|
-
goToFirstPage(): void;
|
|
27
|
-
goToLastPage(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangPaginatorComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangPaginatorComponent, "quang-paginator", never, { "componentId": { "alias": "componentId"; "required": false; "isSignal": true; }; "componentTabIndex": { "alias": "componentTabIndex"; "required": false; "isSignal": true; }; "componentClass": { "alias": "componentClass"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": true; "isSignal": true; }; "sizeList": { "alias": "sizeList"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": true; "isSignal": true; }; "showTotalElementsCount": { "alias": "showTotalElementsCount"; "required": false; "isSignal": true; }; "totalItemsText": { "alias": "totalItemsText"; "required": false; "isSignal": true; }; "sizeText": { "alias": "sizeText"; "required": false; "isSignal": true; }; "pageRangeText": { "alias": "pageRangeText"; "required": false; "isSignal": true; }; }, { "changePage": "changePage"; "changeSize": "changeSize"; }, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
export declare class PaginatorModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaginatorModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PaginatorModule>;
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class QuangPaginatorService {
|
|
3
|
-
getPage(list: any[], pageNumber: number, pageSize: number): any[];
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangPaginatorService, never>;
|
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<QuangPaginatorService>;
|
|
6
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ɵɵFactoryDeclaration, ɵɵInjectableDeclaration } from '@angular/core';
|
|
2
|
-
export declare class PaginatorIntl {
|
|
3
|
-
readonly changes: import("@angular/core").WritableSignal<any>;
|
|
4
|
-
itemsPerPageLabel: string;
|
|
5
|
-
nextPageLabel: string;
|
|
6
|
-
previousPageLabel: string;
|
|
7
|
-
firstPageLabel: string;
|
|
8
|
-
lastPageLabel: string;
|
|
9
|
-
static ɵfac: ɵɵFactoryDeclaration<PaginatorIntl, never>;
|
|
10
|
-
static ɵprov: ɵɵInjectableDeclaration<PaginatorIntl>;
|
|
11
|
-
getRangeLabel: ((page: number, pageSize: number, length: number) => string) | undefined;
|
|
12
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { OptionListParentType, QuangBaseComponent, SelectOption } from 'quang/components/shared';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class QuangSelectComponent extends QuangBaseComponent<string | number | string[] | number[] | null> implements AfterViewInit {
|
|
5
|
-
selectionMode: import("@angular/core").InputSignal<"single" | "multiple">;
|
|
6
|
-
/**
|
|
7
|
-
* Set the max height of the selection list before scrolling.
|
|
8
|
-
* Default: 18rem
|
|
9
|
-
* @default 18rem
|
|
10
|
-
*/
|
|
11
|
-
optionListMaxHeight: import("@angular/core").InputSignal<string>;
|
|
12
|
-
selectOptions: import("@angular/core").InputSignal<SelectOption[]>;
|
|
13
|
-
scrollBehaviorOnOpen: import("@angular/core").InputSignal<ScrollBehavior>;
|
|
14
|
-
selectButton: import("@angular/core").Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
15
|
-
_showOptions: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
-
_optionHideTimeout: import("@angular/core").WritableSignal<any>;
|
|
17
|
-
_selectedItems: import("@angular/core").Signal<SelectOption[] | null>;
|
|
18
|
-
translateValue: import("@angular/core").InputSignal<boolean>;
|
|
19
|
-
nullOption: import("@angular/core").InputSignal<boolean>;
|
|
20
|
-
readonly ParentType = OptionListParentType.SELECT;
|
|
21
|
-
changeOptionsVisibility(skipTimeout?: boolean): void;
|
|
22
|
-
showOptionVisibility(): void;
|
|
23
|
-
hideOptionVisibility(skipTimeout?: boolean): void;
|
|
24
|
-
onBlurHandler(): void;
|
|
25
|
-
onChangedHandler(value: string | number | string[] | number[] | null): void;
|
|
26
|
-
onMouseLeaveCallback(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangSelectComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangSelectComponent, "quang-select", never, { "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "optionListMaxHeight": { "alias": "optionListMaxHeight"; "required": false; "isSignal": true; }; "selectOptions": { "alias": "selectOptions"; "required": true; "isSignal": true; }; "scrollBehaviorOnOpen": { "alias": "scrollBehaviorOnOpen"; "required": false; "isSignal": true; }; "translateValue": { "alias": "translateValue"; "required": false; "isSignal": true; }; "nullOption": { "alias": "nullOption"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const makeId: (length: number) => string;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface SelectOption {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string | number | null;
|
|
7
|
-
}
|
|
8
|
-
export declare enum OptionListParentType {
|
|
9
|
-
SELECT = "select",
|
|
10
|
-
AUTOCOMPLETE = "autocomplete"
|
|
11
|
-
}
|
|
12
|
-
export declare class QuangOptionListComponent {
|
|
13
|
-
logLevel: "normal" | "verbose" | null;
|
|
14
|
-
selectionMode: import("@angular/core").InputSignal<"single" | "multiple">;
|
|
15
|
-
optionListMaxHeight: import("@angular/core").InputSignal<string>;
|
|
16
|
-
selectOptions: import("@angular/core").InputSignal<SelectOption[]>;
|
|
17
|
-
selectButtonRef: import("@angular/core").InputSignal<HTMLInputElement | HTMLButtonElement>;
|
|
18
|
-
_value: import("@angular/core").InputSignal<any>;
|
|
19
|
-
_isDisabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
20
|
-
componentClass: import("@angular/core").InputSignal<string | string[]>;
|
|
21
|
-
componentLabel: import("@angular/core").InputSignal<string>;
|
|
22
|
-
componentTabIndex: import("@angular/core").InputSignal<number>;
|
|
23
|
-
translateValue: import("@angular/core").InputSignal<boolean>;
|
|
24
|
-
nullOption: import("@angular/core").InputSignal<boolean>;
|
|
25
|
-
elementWidth: import("@angular/core").WritableSignal<string>;
|
|
26
|
-
elementTop: import("@angular/core").WritableSignal<string>;
|
|
27
|
-
elementBottom: import("@angular/core").WritableSignal<string>;
|
|
28
|
-
scrollBehaviorOnOpen: import("@angular/core").InputSignal<ScrollBehavior>;
|
|
29
|
-
changedHandler: import("@angular/core").OutputEmitterRef<any>;
|
|
30
|
-
blurHandler: import("@angular/core").OutputEmitterRef<any>;
|
|
31
|
-
optionListContainer: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
32
|
-
destroyRef: DestroyRef;
|
|
33
|
-
parentType: import("@angular/core").InputSignal<OptionListParentType>;
|
|
34
|
-
parentID: import("@angular/core").InputSignal<string>;
|
|
35
|
-
searchString: import("@angular/core").WritableSignal<string>;
|
|
36
|
-
searchResetTimer: ReturnType<typeof setTimeout> | null;
|
|
37
|
-
selectButtonRef$: Subscription;
|
|
38
|
-
selectOptionsList: import("@angular/core").Signal<SelectOption[]>;
|
|
39
|
-
onKeyDown: Subscription | null;
|
|
40
|
-
selectedElementIndex: import("@angular/core").Signal<number>;
|
|
41
|
-
optionList$: import("@angular/core").EffectRef;
|
|
42
|
-
handleSearch(key: string, listItems: HTMLLIElement[], currentIndex: number): number;
|
|
43
|
-
changePosition(): void;
|
|
44
|
-
isScrollable(ele: Element): boolean;
|
|
45
|
-
getScrollParent(node: unknown): Element;
|
|
46
|
-
onSelectItem(item: SelectOption | null): void;
|
|
47
|
-
getSelected(item: SelectOption): boolean;
|
|
48
|
-
onBlurHandler(e: Event): void;
|
|
49
|
-
getOptionListWidth(): void;
|
|
50
|
-
getOptionListTop(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangOptionListComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangOptionListComponent, "quang-option-list", never, { "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "optionListMaxHeight": { "alias": "optionListMaxHeight"; "required": false; "isSignal": true; }; "selectOptions": { "alias": "selectOptions"; "required": false; "isSignal": true; }; "selectButtonRef": { "alias": "selectButtonRef"; "required": true; "isSignal": true; }; "_value": { "alias": "_value"; "required": false; "isSignal": true; }; "_isDisabled": { "alias": "_isDisabled"; "required": false; "isSignal": true; }; "componentClass": { "alias": "componentClass"; "required": false; "isSignal": true; }; "componentLabel": { "alias": "componentLabel"; "required": false; "isSignal": true; }; "componentTabIndex": { "alias": "componentTabIndex"; "required": false; "isSignal": true; }; "translateValue": { "alias": "translateValue"; "required": false; "isSignal": true; }; "nullOption": { "alias": "nullOption"; "required": false; "isSignal": true; }; "scrollBehaviorOnOpen": { "alias": "scrollBehaviorOnOpen"; "required": false; "isSignal": true; }; "parentType": { "alias": "parentType"; "required": true; "isSignal": true; }; "parentID": { "alias": "parentID"; "required": false; "isSignal": true; }; }, { "changedHandler": "changedHandler"; "blurHandler": "blurHandler"; }, never, never, true, never>;
|
|
53
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, DestroyRef, Injector } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { ErrorData } from './ErrorData';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class QuangBaseComponent<T = any> implements ControlValueAccessor, AfterViewInit {
|
|
7
|
-
componentId: import("@angular/core").InputSignal<string>;
|
|
8
|
-
isReadonly: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
isReadonly$: import("rxjs").Observable<boolean>;
|
|
10
|
-
componentTabIndex: import("@angular/core").InputSignal<number>;
|
|
11
|
-
componentClass: import("@angular/core").InputSignal<string | string[]>;
|
|
12
|
-
componentLabel: import("@angular/core").InputSignal<string>;
|
|
13
|
-
componentPlaceholder: import("@angular/core").InputSignal<string>;
|
|
14
|
-
errorMap: import("@angular/core").InputSignal<ErrorData[]>;
|
|
15
|
-
_errorMessagesByKey: import("@angular/core").Signal<Map<string, string>>;
|
|
16
|
-
successMessage: import("@angular/core").InputSignal<string>;
|
|
17
|
-
helpMessage: import("@angular/core").InputSignal<string>;
|
|
18
|
-
formControl: import("@angular/core").InputSignal<FormControl<any> | undefined>;
|
|
19
|
-
componentBlur: import("@angular/core").OutputEmitterRef<void>;
|
|
20
|
-
_value: import("@angular/core").WritableSignal<T | null>;
|
|
21
|
-
_isRequired: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
-
_isDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
-
_isTouched: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
-
_isValid: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
-
_showSuccess: import("@angular/core").Signal<boolean | "">;
|
|
26
|
-
_showErrors: import("@angular/core").Signal<boolean>;
|
|
27
|
-
_currentErrorMessage: import("@angular/core").WritableSignal<string>;
|
|
28
|
-
_currentErrorMessageExtraData: import("@angular/core").WritableSignal<Record<string, any>>;
|
|
29
|
-
_ngControl: import("@angular/core").WritableSignal<NgControl | null>;
|
|
30
|
-
_injector: import("@angular/core").WritableSignal<Injector>;
|
|
31
|
-
_statusChange$?: Subscription;
|
|
32
|
-
getIsRequiredControl: import("@angular/core").Signal<boolean>;
|
|
33
|
-
onChange?: (value: T) => void;
|
|
34
|
-
onTouched?: () => void;
|
|
35
|
-
destroyRef: DestroyRef;
|
|
36
|
-
constructor();
|
|
37
|
-
registerOnChange(fn: (value: T) => void): void;
|
|
38
|
-
writeValue(val: T): void;
|
|
39
|
-
registerOnTouched(fn: () => void): void;
|
|
40
|
-
onChangedEventHandler($event: Event): void;
|
|
41
|
-
onChangedHandler(value: T): void;
|
|
42
|
-
onBlurHandler(): void;
|
|
43
|
-
setupFormControl(): void;
|
|
44
|
-
onChangeIsReadonly: Subscription;
|
|
45
|
-
setDisabledState(isDisabled: boolean): void;
|
|
46
|
-
checkFormErrors(): void;
|
|
47
|
-
ngAfterViewInit(): void;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangBaseComponent<any>, never>;
|
|
49
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QuangBaseComponent<any>, never, never, { "componentId": { "alias": "componentId"; "required": false; "isSignal": true; }; "isReadonly": { "alias": "isReadonly"; "required": false; "isSignal": true; }; "componentTabIndex": { "alias": "componentTabIndex"; "required": false; "isSignal": true; }; "componentClass": { "alias": "componentClass"; "required": false; "isSignal": true; }; "componentLabel": { "alias": "componentLabel"; "required": false; "isSignal": true; }; "componentPlaceholder": { "alias": "componentPlaceholder"; "required": false; "isSignal": true; }; "errorMap": { "alias": "errorMap"; "required": false; "isSignal": true; }; "successMessage": { "alias": "successMessage"; "required": false; "isSignal": true; }; "helpMessage": { "alias": "helpMessage"; "required": false; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": false; "isSignal": true; }; }, { "componentBlur": "componentBlur"; }, never, never, true, never>;
|
|
50
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ResizeObservableService } from 'quang/device';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface TableHeader {
|
|
6
|
-
text?: string;
|
|
7
|
-
sort?: SortCol;
|
|
8
|
-
css?: string[];
|
|
9
|
-
renderer?: TemplateRef<any>;
|
|
10
|
-
payload?: any;
|
|
11
|
-
}
|
|
12
|
-
export interface TableConfiguration<T> {
|
|
13
|
-
headers: TableHeader[];
|
|
14
|
-
rows: TableRow<T>[];
|
|
15
|
-
}
|
|
16
|
-
export interface TableCell {
|
|
17
|
-
renderer?: TemplateRef<any>;
|
|
18
|
-
payload?: any;
|
|
19
|
-
text?: string;
|
|
20
|
-
css?: string[];
|
|
21
|
-
fullWidth?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface TableRow<T> {
|
|
24
|
-
payload?: T;
|
|
25
|
-
rowId?: string | number;
|
|
26
|
-
css?: string[];
|
|
27
|
-
cellData: TableCell[];
|
|
28
|
-
}
|
|
29
|
-
export declare enum SortTable {
|
|
30
|
-
DEFAULT = "DEFAULT",
|
|
31
|
-
ASC = "ASC",
|
|
32
|
-
DESC = "DESC"
|
|
33
|
-
}
|
|
34
|
-
export interface SortCol {
|
|
35
|
-
key: string;
|
|
36
|
-
sort: SortTable;
|
|
37
|
-
}
|
|
38
|
-
export declare class QuangTableComponent<T> {
|
|
39
|
-
clickableRow: import("@angular/core").InputSignal<boolean>;
|
|
40
|
-
selectedRows: import("@angular/core").InputSignal<string[] | number[] | undefined>;
|
|
41
|
-
stickyTable: import("@angular/core").InputSignal<boolean>;
|
|
42
|
-
selectedRow: import("@angular/core").OutputEmitterRef<TableRow<T>>;
|
|
43
|
-
sortChanged: import("@angular/core").OutputEmitterRef<SortCol[]>;
|
|
44
|
-
SortTable: typeof SortTable;
|
|
45
|
-
destroyRef: DestroyRef;
|
|
46
|
-
_resizeObservableService: ResizeObservableService;
|
|
47
|
-
_tableHeader: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
48
|
-
_tableHeaderElement: import("@angular/core").Signal<Element | undefined>;
|
|
49
|
-
noResultsText: import("@angular/core").InputSignal<string>;
|
|
50
|
-
_tableHeaderEffect: import("@angular/core").EffectRef;
|
|
51
|
-
_tableHeaderElementEffect: import("@angular/core").EffectRef;
|
|
52
|
-
_fakeTableHeader: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
53
|
-
_fakeTableHeaderEffect: import("@angular/core").EffectRef;
|
|
54
|
-
tableConfigurations: import("@angular/core").InputSignal<TableConfiguration<T>>;
|
|
55
|
-
_tableConfigurations: import("@angular/core").WritableSignal<TableConfiguration<T>>;
|
|
56
|
-
tableConfigurations$: Subscription;
|
|
57
|
-
effectTableConfigurations: import("@angular/core").EffectRef;
|
|
58
|
-
hiddenColumnsObservable?: Subscription;
|
|
59
|
-
onClickRow(row: TableRow<T>): void;
|
|
60
|
-
isSelected(rowId: string | number): boolean;
|
|
61
|
-
lastWidth: number;
|
|
62
|
-
fixTableHeaderWidth(): void;
|
|
63
|
-
onSortColumn(sort: SortCol): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangTableComponent<any>, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangTableComponent<any>, "quang-table", never, { "clickableRow": { "alias": "clickableRow"; "required": false; "isSignal": true; }; "selectedRows": { "alias": "selectedRows"; "required": false; "isSignal": true; }; "stickyTable": { "alias": "stickyTable"; "required": false; "isSignal": true; }; "noResultsText": { "alias": "noResultsText"; "required": false; "isSignal": true; }; "tableConfigurations": { "alias": "tableConfigurations"; "required": true; "isSignal": true; }; }, { "selectedRow": "selectedRow"; "sortChanged": "sortChanged"; }, never, never, true, never>;
|
|
66
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import SunEditorCore from 'suneditor/src/lib/core';
|
|
4
|
-
import { SunEditorOptions } from 'suneditor/src/options';
|
|
5
|
-
import { QuangBaseComponent } from 'quang/components/shared';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export type QuangWysiwygOptions = SunEditorOptions;
|
|
8
|
-
export declare class QuangWysiwygComponent extends QuangBaseComponent<string> implements AfterViewInit {
|
|
9
|
-
_inputForWysiwyg: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
10
|
-
minHeight: import("@angular/core").InputSignal<string | undefined>;
|
|
11
|
-
font: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
fontSize: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
formatBlock: import("@angular/core").InputSignal<boolean>;
|
|
14
|
-
paragraphStyle: import("@angular/core").InputSignal<boolean>;
|
|
15
|
-
blockquote: import("@angular/core").InputSignal<boolean>;
|
|
16
|
-
bold: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
underline: import("@angular/core").InputSignal<boolean>;
|
|
18
|
-
italic: import("@angular/core").InputSignal<boolean>;
|
|
19
|
-
strike: import("@angular/core").InputSignal<boolean>;
|
|
20
|
-
fontColor: import("@angular/core").InputSignal<boolean>;
|
|
21
|
-
highlightColor: import("@angular/core").InputSignal<boolean>;
|
|
22
|
-
textStyle: import("@angular/core").InputSignal<boolean>;
|
|
23
|
-
removeFormat: import("@angular/core").InputSignal<boolean>;
|
|
24
|
-
align: import("@angular/core").InputSignal<boolean>;
|
|
25
|
-
list: import("@angular/core").InputSignal<boolean>;
|
|
26
|
-
table: import("@angular/core").InputSignal<boolean>;
|
|
27
|
-
link: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
image: import("@angular/core").InputSignal<boolean>;
|
|
29
|
-
fullScreen: import("@angular/core").InputSignal<boolean>;
|
|
30
|
-
showBlocks: import("@angular/core").InputSignal<boolean>;
|
|
31
|
-
onImageUploadError: import("@angular/core").InputSignal<((errorMessage: any, result: any, core: any) => boolean) | undefined>;
|
|
32
|
-
onFileDrop: import("@angular/core").InputSignal<((e: any, cleanData: any, maxCharCount: any, core: any) => boolean) | undefined>;
|
|
33
|
-
wysiwygOptions: import("@angular/core").InputSignal<SunEditorOptions | undefined>;
|
|
34
|
-
_sunEditorWysiwygInstance: import("@angular/core").WritableSignal<SunEditorCore | undefined>;
|
|
35
|
-
_sunEditorWysiwygInstance$: import("rxjs").Observable<SunEditorCore | undefined>;
|
|
36
|
-
changeDetectorRef: import("@angular/core").WritableSignal<ChangeDetectorRef>;
|
|
37
|
-
_generateSunEditorWysiwygEffect: import("@angular/core").EffectRef;
|
|
38
|
-
STRIP_HTML_REGEX: RegExp;
|
|
39
|
-
registerEvents(): void;
|
|
40
|
-
writeValue(val: string): void;
|
|
41
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
42
|
-
onChangedHandler(value: string): void;
|
|
43
|
-
getButtonList(): string[];
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangWysiwygComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangWysiwygComponent, "quang-wysiwyg", never, { "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "font": { "alias": "font"; "required": false; "isSignal": true; }; "fontSize": { "alias": "fontSize"; "required": false; "isSignal": true; }; "formatBlock": { "alias": "formatBlock"; "required": false; "isSignal": true; }; "paragraphStyle": { "alias": "paragraphStyle"; "required": false; "isSignal": true; }; "blockquote": { "alias": "blockquote"; "required": false; "isSignal": true; }; "bold": { "alias": "bold"; "required": false; "isSignal": true; }; "underline": { "alias": "underline"; "required": false; "isSignal": true; }; "italic": { "alias": "italic"; "required": false; "isSignal": true; }; "strike": { "alias": "strike"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "highlightColor": { "alias": "highlightColor"; "required": false; "isSignal": true; }; "textStyle": { "alias": "textStyle"; "required": false; "isSignal": true; }; "removeFormat": { "alias": "removeFormat"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "list": { "alias": "list"; "required": false; "isSignal": true; }; "table": { "alias": "table"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "fullScreen": { "alias": "fullScreen"; "required": false; "isSignal": true; }; "showBlocks": { "alias": "showBlocks"; "required": false; "isSignal": true; }; "onImageUploadError": { "alias": "onImageUploadError"; "required": false; "isSignal": true; }; "onFileDrop": { "alias": "onFileDrop"; "required": false; "isSignal": true; }; "wysiwygOptions": { "alias": "wysiwygOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
46
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ResizeObservableService {
|
|
4
|
-
private resizeObserver;
|
|
5
|
-
private notifiers;
|
|
6
|
-
constructor();
|
|
7
|
-
resizeObservable(elem: Element): Observable<ResizeObserverEntry>;
|
|
8
|
-
widthResizeObservable(elem: Element): Observable<number>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObservableService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObservableService>;
|
|
11
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
export type FormGroupModel<T> = FormGroup<{
|
|
3
|
-
[K in keyof T]: FormControl<T[K]>;
|
|
4
|
-
}>;
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* interface Person {
|
|
8
|
-
* name: string
|
|
9
|
-
* lastName: string
|
|
10
|
-
* age: number
|
|
11
|
-
* }
|
|
12
|
-
*
|
|
13
|
-
* myForm: FormGroupModel<Person> = this.formBuilder.group({
|
|
14
|
-
* name: this.formBuilder.control<string>('', Validators.required),
|
|
15
|
-
* lastName: this.formBuilder.control<string>(''),
|
|
16
|
-
* age: this.formBuilder.control<number>({value: 20, disabled: true})
|
|
17
|
-
* })
|
|
18
|
-
*/
|
package/forms/validators.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidatorFn } from '@angular/forms';
|
|
2
|
-
export declare enum EuroLocale {
|
|
3
|
-
AT = "AT",
|
|
4
|
-
BE = "BE",
|
|
5
|
-
BG = "BG",
|
|
6
|
-
CY = "CY",
|
|
7
|
-
CZ = "CZ",
|
|
8
|
-
DE = "DE",
|
|
9
|
-
DK = "DK",
|
|
10
|
-
EE = "EE",
|
|
11
|
-
GR = "GR",
|
|
12
|
-
ES = "ES",
|
|
13
|
-
FI = "FI",
|
|
14
|
-
FR = "FR",
|
|
15
|
-
GB = "GB",
|
|
16
|
-
HU = "HU",
|
|
17
|
-
IE = "IE",
|
|
18
|
-
IT = "IT",
|
|
19
|
-
LT = "LT",
|
|
20
|
-
LU = "LU",
|
|
21
|
-
LV = "LV",
|
|
22
|
-
MT = "MT",
|
|
23
|
-
NL = "NL",
|
|
24
|
-
PL = "PL",
|
|
25
|
-
PT = "PT",
|
|
26
|
-
RO = "RO",
|
|
27
|
-
SE = "SE",
|
|
28
|
-
SI = "SI",
|
|
29
|
-
SK = "SK"
|
|
30
|
-
}
|
|
31
|
-
export declare const europeanVatNumber: Record<EuroLocale, RegExp>;
|
|
32
|
-
export declare function fileMaxSize(maxSize: number): ValidatorFn;
|
|
33
|
-
export declare function fileMinSize(minSize: number): ValidatorFn;
|
|
34
|
-
export declare function isFile(): ValidatorFn;
|
|
35
|
-
export declare function fileType(fileTypes: string[]): (control: AbstractControl) => Record<string, any> | null;
|
|
36
|
-
export declare function fileExtensions(list: string[]): (control: AbstractControl) => Record<string, any> | null;
|
|
37
|
-
export declare function requiredCheckbox(): (control: AbstractControl) => Record<string, any> | null;
|
|
38
|
-
export declare function minDate(dateToCompare: Date): (control: AbstractControl) => Record<string, any> | null;
|
|
39
|
-
export declare function maxDate(dateToCompare: Date): (control: AbstractControl) => Record<string, any> | null;
|
|
40
|
-
export declare function dateBetween(start: Date, end: Date): (control: AbstractControl) => Record<string, any> | null;
|
|
41
|
-
export declare function isFiscalCode(): (control: AbstractControl) => Record<string, any> | null;
|
|
42
|
-
export declare function isVatNumber(localeList: EuroLocale[]): (control: AbstractControl) => Record<string, any> | null;
|
|
43
|
-
export declare function wysiwygRequired(): (control: AbstractControl) => Record<string, any> | null;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
import { QuangFeature, QuangFeatureKind } from 'quang';
|
|
3
|
-
import { UrlData } from 'quang/shared';
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* export const appConfig: ApplicationConfig = {
|
|
7
|
-
* providers: [
|
|
8
|
-
* provideLoader([
|
|
9
|
-
* {
|
|
10
|
-
* url: 'assets',
|
|
11
|
-
* method: 'GET',
|
|
12
|
-
* },
|
|
13
|
-
* ])
|
|
14
|
-
* ]
|
|
15
|
-
* }
|
|
16
|
-
*/
|
|
17
|
-
export declare function provideQuangLoaderExcludedUrls(excludedUrls: UrlData[]): EnvironmentProviders;
|
|
18
|
-
export declare function withLoaderExcludedUrls(excludedUrls: UrlData[]): QuangFeature<QuangFeatureKind.LoaderFeature>;
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated
|
|
21
|
-
* @see {@link provideQuangLoaderExcludedUrls}
|
|
22
|
-
*/
|
|
23
|
-
export declare const provideLoader: typeof provideQuangLoaderExcludedUrls;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @example
|
|
4
|
-
* <quang-loader></quang-loader>
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* <quang-loader>
|
|
8
|
-
* custom loader here
|
|
9
|
-
* </quang-loader>
|
|
10
|
-
*/
|
|
11
|
-
export declare class QuangLoaderComponent {
|
|
12
|
-
/**
|
|
13
|
-
* Minimum time (in milliseconds) to show the loader for
|
|
14
|
-
* @default 500
|
|
15
|
-
*/
|
|
16
|
-
showAtLeastFor: import("@angular/core").InputSignal<number>;
|
|
17
|
-
private readonly loaderService;
|
|
18
|
-
isLoading: import("@angular/core").Signal<boolean>;
|
|
19
|
-
showLoaderBuffer$: import("rxjs").Observable<boolean>;
|
|
20
|
-
showLoader: import("@angular/core").Signal<boolean | undefined>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangLoaderComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangLoaderComponent, "quang-loader", never, { "showAtLeastFor": { "alias": "showAtLeastFor"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
23
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HttpInterceptorFn } from '@angular/common/http';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
|
-
import { UrlData } from 'quang/shared';
|
|
4
|
-
export declare const LOADER_EXCLUDED_URLS: InjectionToken<UrlData[]>;
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated
|
|
7
|
-
* @see {@link LOADER_EXCLUDED_URLS}
|
|
8
|
-
*/
|
|
9
|
-
export declare const EXCLUDED_URL: InjectionToken<UrlData[]>;
|
|
10
|
-
export declare const quangLoaderInterceptor: HttpInterceptorFn;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class QuangLoaderService {
|
|
3
|
-
private loaderState;
|
|
4
|
-
isLoading: import("@angular/core").Signal<boolean>;
|
|
5
|
-
show(): void;
|
|
6
|
-
hide(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangLoaderService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<QuangLoaderService>;
|
|
9
|
-
}
|