quang 19.2.0 → 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/index.d.ts +195 -9
- package/auth/mobile/index.d.ts +5 -1
- 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 -2
- 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 +3 -3
- 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 +6 -6
- 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-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 +6 -6
- 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 +6 -6
- 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 +21 -21
- 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 -64
- 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/data-handling/conversion.d.ts +0 -3
- package/data-handling/download.d.ts +0 -3
- 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,26 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { QuangAuthService } from '../auth.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* This directive conditionally renders the associated template if the authenticated user
|
|
6
|
-
* has every of the specified roles. By using the `QuangAuthService.hasEveryRole()` method it checks the user's roles against
|
|
7
|
-
* the required roles provided through the `quangHasEveryRole` required input.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* <div *quangHasEveryRole="['admin', 'editor']">
|
|
11
|
-
* This content will only be visible to users with 'admin' and 'editor' roles.
|
|
12
|
-
* </div>
|
|
13
|
-
*/
|
|
14
|
-
export declare class QuangHasEveryRoleDirective {
|
|
15
|
-
logLevel: "normal" | "verbose" | null;
|
|
16
|
-
targetRoles: import("@angular/core").InputSignal<string[]>;
|
|
17
|
-
viewContainerRef: ViewContainerRef;
|
|
18
|
-
embeddedViewRef: EmbeddedViewRef<unknown> | null;
|
|
19
|
-
templateRef: TemplateRef<any>;
|
|
20
|
-
authService: QuangAuthService;
|
|
21
|
-
takeUntilDestroyed: import("rxjs").MonoTypeOperatorFunction<unknown>;
|
|
22
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
23
|
-
hideViewIfNotAllowed: import("@angular/core").EffectRef;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangHasEveryRoleDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QuangHasEveryRoleDirective, "[quangHasEveryRole]", never, { "targetRoles": { "alias": "quangHasEveryRole"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { QuangAuthService } from '../auth.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class QuangIsAuthenticatedDirective {
|
|
5
|
-
viewContainerRef: ViewContainerRef;
|
|
6
|
-
templateRef: TemplateRef<any>;
|
|
7
|
-
embeddedViewRef: EmbeddedViewRef<any> | null;
|
|
8
|
-
authService: QuangAuthService;
|
|
9
|
-
takeUntilDestroyed: import("rxjs").MonoTypeOperatorFunction<unknown>;
|
|
10
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
11
|
-
hideViewIfNotAuthenticated: import("@angular/core").EffectRef;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangIsAuthenticatedDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QuangIsAuthenticatedDirective, "[quangIsAuthenticated]", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { QuangAuthService } from '../auth.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class QuangIsNotAuthenticatedDirective {
|
|
5
|
-
viewContainerRef: ViewContainerRef;
|
|
6
|
-
templateRef: TemplateRef<any>;
|
|
7
|
-
embeddedViewRef: EmbeddedViewRef<any> | null;
|
|
8
|
-
authService: QuangAuthService;
|
|
9
|
-
takeUntilDestroyed: import("rxjs").MonoTypeOperatorFunction<unknown>;
|
|
10
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
11
|
-
showViewIfNotAuthenticated: import("@angular/core").EffectRef;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangIsNotAuthenticatedDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QuangIsNotAuthenticatedDirective, "[quangIsNotAuthenticated]", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
package/auth/guards/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HttpInterceptorFn } from '@angular/common/http';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
|
-
import { UrlData } from 'quang/shared';
|
|
4
|
-
import { QuangAuthFeature, QuangAuthFeatureKind } from './auth-providers';
|
|
5
|
-
export declare const LOGOUT_RETRIES: InjectionToken<number>;
|
|
6
|
-
export declare const LOGOUT_STATUSES: InjectionToken<number[]>;
|
|
7
|
-
export declare const LOGOUT_EXCLUDED_URLS: InjectionToken<UrlData[]>;
|
|
8
|
-
export declare const logoutOnErrorInterceptor: HttpInterceptorFn;
|
|
9
|
-
export declare function withLogoutOnError(excludedUrls?: UrlData[], statuses?: number[], retries?: number): QuangAuthFeature<QuangAuthFeatureKind.LogoutOnErrorFeature>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OAuthStorage } from 'angular-oauth2-oidc';
|
|
2
|
-
import { QuangAuthFeature, QuangAuthFeatureKind } from '../auth-providers';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MemoryStorage implements OAuthStorage {
|
|
5
|
-
private data;
|
|
6
|
-
getItem(key: string): string;
|
|
7
|
-
removeItem(key: string): void;
|
|
8
|
-
setItem(key: string, data: string): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MemoryStorage, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MemoryStorage>;
|
|
11
|
-
}
|
|
12
|
-
export declare function withMemoryStorage(): QuangAuthFeature<QuangAuthFeatureKind.MemoryStorageFeature>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Subject, Subscription } from 'rxjs';
|
|
2
|
-
import { OptionListParentType, QuangBaseComponent, QuangOptionListComponent, SelectOption } from 'quang/components/shared';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class QuangAutocompleteComponent extends QuangBaseComponent<string | number | string[] | number[]> {
|
|
5
|
-
syncFormWithText: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
optionListMaxHeight: import("@angular/core").InputSignal<string>;
|
|
7
|
-
selectOptions: import("@angular/core").InputSignal<SelectOption[]>;
|
|
8
|
-
translateValue: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
scrollBehaviorOnOpen: import("@angular/core").InputSignal<ScrollBehavior>;
|
|
10
|
-
/**
|
|
11
|
-
* Only emits the value without saving it in ngControl
|
|
12
|
-
*/
|
|
13
|
-
emitOnly: import("@angular/core").InputSignal<boolean>;
|
|
14
|
-
multiple: import("@angular/core").InputSignal<boolean>;
|
|
15
|
-
/**
|
|
16
|
-
* Set the maximum length in characters of the single chip.
|
|
17
|
-
*/
|
|
18
|
-
chipMaxLength: import("@angular/core").InputSignal<number>;
|
|
19
|
-
multiSelectDisplayMode: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
20
|
-
optionList: import("@angular/core").Signal<QuangOptionListComponent | undefined>;
|
|
21
|
-
_showOptions: import("@angular/core").WritableSignal<boolean | null>;
|
|
22
|
-
_inputValue: import("@angular/core").WritableSignal<string>;
|
|
23
|
-
_optionHideTimeout: import("@angular/core").WritableSignal<any>;
|
|
24
|
-
_chipList: import("@angular/core").WritableSignal<string[]>;
|
|
25
|
-
_selectedOptions: import("@angular/core").WritableSignal<SelectOption[]>;
|
|
26
|
-
inputValue$: Subject<string>;
|
|
27
|
-
selectOptionsChange: Subscription;
|
|
28
|
-
_filteredOptions: import("@angular/core").Signal<SelectOption[]>;
|
|
29
|
-
selectedOption: import("@angular/core").OutputEmitterRef<string | number | null>;
|
|
30
|
-
searchTextChange: import("@angular/core").OutputEmitterRef<string>;
|
|
31
|
-
searchTextDebounce: import("@angular/core").InputSignal<number>;
|
|
32
|
-
internalFilterOptions: import("@angular/core").InputSignal<boolean>;
|
|
33
|
-
readonly ParentType = OptionListParentType.AUTOCOMPLETE;
|
|
34
|
-
formValueChange$: Subscription | undefined;
|
|
35
|
-
private readonly selectInput;
|
|
36
|
-
private readonly chipContainer;
|
|
37
|
-
private readonly autocompleteContainer;
|
|
38
|
-
inputHeight: import("@angular/core").WritableSignal<number>;
|
|
39
|
-
private readonly onChangeSelectInput;
|
|
40
|
-
constructor();
|
|
41
|
-
setupFormControl(): void;
|
|
42
|
-
showOptionVisibility(): void;
|
|
43
|
-
hideOptionVisibility(skipTimeout?: boolean): void;
|
|
44
|
-
onChangeInput(value: any): void;
|
|
45
|
-
filterOptions(value: string): SelectOption[];
|
|
46
|
-
onChangedHandler(value: string | number | string[] | number[]): void;
|
|
47
|
-
onValueChange(value: string | number, hideOptions?: boolean): void;
|
|
48
|
-
checkInputValue(): void;
|
|
49
|
-
writeValue(val: string | number | string[] | number[]): void;
|
|
50
|
-
onBlurInput(event: FocusEvent): void;
|
|
51
|
-
onBlurHandler(): void;
|
|
52
|
-
onBlurOptionList(event: any): void;
|
|
53
|
-
setInputValue(resetOnMiss?: boolean): void;
|
|
54
|
-
getDescription(chip: any): string;
|
|
55
|
-
onSelectValue(value: any): void;
|
|
56
|
-
/**
|
|
57
|
-
* remove chip from chips list
|
|
58
|
-
* @param chipValue chip to delete
|
|
59
|
-
*/
|
|
60
|
-
deleteChip(chipValue: any): void;
|
|
61
|
-
createChipList(chip: any): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuangAutocompleteComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuangAutocompleteComponent, "quang-autocomplete", never, { "syncFormWithText": { "alias": "syncFormWithText"; "required": false; "isSignal": true; }; "optionListMaxHeight": { "alias": "optionListMaxHeight"; "required": false; "isSignal": true; }; "selectOptions": { "alias": "selectOptions"; "required": true; "isSignal": true; }; "translateValue": { "alias": "translateValue"; "required": false; "isSignal": true; }; "scrollBehaviorOnOpen": { "alias": "scrollBehaviorOnOpen"; "required": false; "isSignal": true; }; "emitOnly": { "alias": "emitOnly"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "chipMaxLength": { "alias": "chipMaxLength"; "required": false; "isSignal": true; }; "multiSelectDisplayMode": { "alias": "multiSelectDisplayMode"; "required": false; "isSignal": true; }; "searchTextDebounce": { "alias": "searchTextDebounce"; "required": false; "isSignal": true; }; "internalFilterOptions": { "alias": "internalFilterOptions"; "required": false; "isSignal": true; }; }, { "selectedOption": "selectedOption"; "searchTextChange": "searchTextChange"; }, never, never, true, never>;
|
|
64
|
-
}
|
|
@@ -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 | HTMLDivElement>;
|
|
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
|
-
}
|