@falcon-ng/tailwind 0.0.15 → 0.0.17
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/fesm2022/falcon-ng-tailwind.mjs +121 -122
- package/fesm2022/falcon-ng-tailwind.mjs.map +1 -1
- package/index.d.ts +666 -3
- package/package.json +3 -3
- package/lib/base-form-component.d.ts +0 -169
- package/lib/component/auto-complete/auto-complete.component.d.ts +0 -16
- package/lib/component/bottom-sheet/bottom-sheet.component.d.ts +0 -10
- package/lib/component/button/button.component.d.ts +0 -12
- package/lib/component/button-toggle/button-toggle.component.d.ts +0 -14
- package/lib/component/checkbox/checkbox.component.d.ts +0 -10
- package/lib/component/chips/chip.component.d.ts +0 -35
- package/lib/component/date-picker/date-picker.component.d.ts +0 -9
- package/lib/component/dialog/dialog.component.d.ts +0 -8
- package/lib/component/pagination/pagination.component.d.ts +0 -20
- package/lib/component/progress-bar/progress-bar.component.d.ts +0 -11
- package/lib/component/progress-spinner/progress-spinner.component.d.ts +0 -12
- package/lib/component/radio/radio.component.d.ts +0 -14
- package/lib/component/rich-text-editor/rich-text-editor.component.d.ts +0 -9
- package/lib/component/select/select.component.d.ts +0 -15
- package/lib/component/slide-toggle/slide-toggle.component.d.ts +0 -9
- package/lib/component/slider/slider.component.d.ts +0 -9
- package/lib/component/snack-bar/snack-bar.component.d.ts +0 -5
- package/lib/component/table/table.component.d.ts +0 -21
- package/lib/component/textarea/textarea.component.d.ts +0 -9
- package/lib/component/textbox/textbox.component.d.ts +0 -9
- package/lib/control-builder/control-builder.component.d.ts +0 -9
- package/lib/falcon-tailwind.module.d.ts +0 -35
- package/lib/model/constant.d.ts +0 -31
- package/lib/model/environments.d.ts +0 -26
- package/lib/model/layout.d.ts +0 -23
- package/lib/reactive-field.directive.d.ts +0 -14
- package/lib/service/appsetting.service.d.ts +0 -22
- package/lib/service/http/generic-http-client.d.ts +0 -121
- package/lib/service/http/igeneric-http-client.d.ts +0 -92
- package/lib/service/logger.service.d.ts +0 -18
- package/lib/service/open-id/TokenHelperService.d.ts +0 -11
- package/lib/service/open-id/auth-guard.service.d.ts +0 -11
- package/lib/service/open-id/auth.service.d.ts +0 -35
- package/public-api.d.ts +0 -19
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { Layout } from './model/layout';
|
|
4
|
-
/**
|
|
5
|
-
* @description
|
|
6
|
-
* Base form component initialized to create form controls, set validation, submit.
|
|
7
|
-
*
|
|
8
|
-
* @usageNotes
|
|
9
|
-
* The following snippet shows how a component can implement this abstract class to
|
|
10
|
-
* define its own initialization method.
|
|
11
|
-
* ```ts
|
|
12
|
-
* export class InputComponent extends BaseFormComponent<any> implements OnInit {
|
|
13
|
-
* constructor(fb : FormBuilder) {
|
|
14
|
-
* super(fb);
|
|
15
|
-
* this.defineForm();
|
|
16
|
-
* }
|
|
17
|
-
* protected defineForm(): void {
|
|
18
|
-
* }
|
|
19
|
-
* ngOnInit(): void {
|
|
20
|
-
* this.formGroup = this.createControls();
|
|
21
|
-
* }
|
|
22
|
-
* protected submitDatasource(model: any): Observable<any> {
|
|
23
|
-
* return of(model);
|
|
24
|
-
* }
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare abstract class BaseFormComponent<T> {
|
|
28
|
-
formGroup: FormGroup;
|
|
29
|
-
protected abstract defineForm(): void;
|
|
30
|
-
protected abstract submitDataSource(model: T): Observable<T>;
|
|
31
|
-
dataSource: T | undefined;
|
|
32
|
-
controlsConfig: Layout<T>;
|
|
33
|
-
showLoading: boolean;
|
|
34
|
-
protected fb: FormBuilder;
|
|
35
|
-
constructor();
|
|
36
|
-
/**
|
|
37
|
-
* @description
|
|
38
|
-
* Method evoke on when the form is submitted.
|
|
39
|
-
* @returns submitDatasource() method with form data if valid otherwise form invalid.
|
|
40
|
-
*/
|
|
41
|
-
onSubmit(): void;
|
|
42
|
-
/**
|
|
43
|
-
* @description
|
|
44
|
-
* Private method to validate all form controls before is form submited.
|
|
45
|
-
* @param formGroup Validate form group.
|
|
46
|
-
* @returns Groups of controls added to the form builder.
|
|
47
|
-
*/
|
|
48
|
-
private validateAllFormFields;
|
|
49
|
-
/**
|
|
50
|
-
* @description
|
|
51
|
-
* Create the reactive form controls
|
|
52
|
-
* @returns Groups of controls added to the form builder.
|
|
53
|
-
*/
|
|
54
|
-
protected createControls(): FormGroup<{}>;
|
|
55
|
-
/**
|
|
56
|
-
* @description
|
|
57
|
-
* Private method to bind the form control.
|
|
58
|
-
* @param controlConfig field to bind.
|
|
59
|
-
* @param group group to add.
|
|
60
|
-
* @param index index of the layout
|
|
61
|
-
*/
|
|
62
|
-
private bindControl;
|
|
63
|
-
/**
|
|
64
|
-
* @description
|
|
65
|
-
* Private method to bind the validation to the form controls on form submit.
|
|
66
|
-
* @param validations Push the validation to the controls.
|
|
67
|
-
* @returns Validation.
|
|
68
|
-
*/
|
|
69
|
-
private bindValidations;
|
|
70
|
-
/**
|
|
71
|
-
* Create an form array element
|
|
72
|
-
* @param layoutConfig layout of form array
|
|
73
|
-
* @returns Form array group
|
|
74
|
-
*/
|
|
75
|
-
private createFormArrayGroup;
|
|
76
|
-
/**
|
|
77
|
-
* @description
|
|
78
|
-
* Reset fild values to default or specify some value.
|
|
79
|
-
* @param defaultValues Specify the specific value to set to the controls.
|
|
80
|
-
* @returns void.
|
|
81
|
-
*/
|
|
82
|
-
reset(defaultValues?: any): void;
|
|
83
|
-
/**
|
|
84
|
-
* @description
|
|
85
|
-
* Reset specific fild Errors.
|
|
86
|
-
* @param name Name of the field to reset the error.
|
|
87
|
-
* @returns void.
|
|
88
|
-
*/
|
|
89
|
-
resetFieldErrors(name: string): void;
|
|
90
|
-
/**
|
|
91
|
-
* @description
|
|
92
|
-
* Get the controls value from the form.
|
|
93
|
-
* @returns Form controls values.
|
|
94
|
-
*/
|
|
95
|
-
get value(): any;
|
|
96
|
-
/**
|
|
97
|
-
* @description
|
|
98
|
-
* Updating parts of the data model.
|
|
99
|
-
* Use the patchValue() method to replace any properties defined in the object that have changed in the form model.
|
|
100
|
-
* @returns Form controls values.
|
|
101
|
-
* @param value The object that matches the structure of the group.
|
|
102
|
-
* @param options Configuration options that determine how the control propagates changes and
|
|
103
|
-
* emits events after the value is patched.
|
|
104
|
-
* `onlySelf`: When true, each change only affects this control and not its parent. Default is
|
|
105
|
-
* true.
|
|
106
|
-
* `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
|
|
107
|
-
* `valueChanges`
|
|
108
|
-
* @usageNotes
|
|
109
|
-
* The following snippet shows how a component can implement this abstract class to
|
|
110
|
-
* define its own initialization method.
|
|
111
|
-
* ```ts
|
|
112
|
-
* this.formGroup.patchValue({
|
|
113
|
-
* name: 'Todd Motto',
|
|
114
|
-
* event: {
|
|
115
|
-
* title: 'AngularCamp 2016',
|
|
116
|
-
* location: 'Barcelona, Spain'
|
|
117
|
-
* }
|
|
118
|
-
* });
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
protected patchValue(value: {
|
|
122
|
-
[key: string]: any;
|
|
123
|
-
}, options?: {
|
|
124
|
-
onlySelf?: boolean;
|
|
125
|
-
emitEvent?: boolean;
|
|
126
|
-
}): void;
|
|
127
|
-
/**
|
|
128
|
-
* @description
|
|
129
|
-
* Updating parts of the data model.
|
|
130
|
-
* Use the setValue() method to set a new value for an individual control. The setValue() method strictly adheres to the structure of the form group and replaces the entire value for the control.
|
|
131
|
-
* @returns Form controls values.
|
|
132
|
-
* @param value The object that matches the structure of the group.
|
|
133
|
-
* @param options Configuration options that determine how the control propagates changes and
|
|
134
|
-
* emits events after the value is patched.
|
|
135
|
-
* `onlySelf`: When true, each change only affects this control and not its parent. Default is
|
|
136
|
-
* true.
|
|
137
|
-
* `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
|
|
138
|
-
* `valueChanges`
|
|
139
|
-
* @usageNotes
|
|
140
|
-
* The following snippet shows how a component can implement this abstract class to
|
|
141
|
-
* define its own initialization method.
|
|
142
|
-
* ```ts
|
|
143
|
-
* this.formGroup.setValue({
|
|
144
|
-
* name: 'Todd Motto',
|
|
145
|
-
* event: {
|
|
146
|
-
* title: 'AngularCamp 2016',
|
|
147
|
-
* location: 'Barcelona, Spain'
|
|
148
|
-
* }
|
|
149
|
-
* });
|
|
150
|
-
* ```
|
|
151
|
-
*/
|
|
152
|
-
protected setValue(value: {
|
|
153
|
-
[key: string]: any;
|
|
154
|
-
}, options?: {
|
|
155
|
-
onlySelf?: boolean;
|
|
156
|
-
emitEvent?: boolean;
|
|
157
|
-
}): void;
|
|
158
|
-
/**
|
|
159
|
-
* @description
|
|
160
|
-
* Dynamically remove the form control.
|
|
161
|
-
* @param index Index of item.
|
|
162
|
-
* @usageNotes
|
|
163
|
-
* The following snippet shows how to remove the form control from Froup Group
|
|
164
|
-
* ```ts
|
|
165
|
-
* removeControl(1);
|
|
166
|
-
* ```
|
|
167
|
-
*/
|
|
168
|
-
protected removeControl(layoutIndex: number, index: number): void;
|
|
169
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FormControl, FormGroup } from "@angular/forms";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { BaseControl, IOptions } from "@falcon-ng/core";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AutoCompleteComponent {
|
|
6
|
-
control: BaseControl<string>;
|
|
7
|
-
formGroup: FormGroup;
|
|
8
|
-
autoCompleteControl: FormControl<any>;
|
|
9
|
-
constructor();
|
|
10
|
-
filteredOptions: Observable<IOptions[]>;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
private _filter;
|
|
13
|
-
optionSelected(value: any): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "falcon-auto-complete", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MatBottomSheetRef } from "@angular/material/bottom-sheet";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BottomSheetComponent {
|
|
4
|
-
private _bottomSheetRef;
|
|
5
|
-
data: any;
|
|
6
|
-
constructor(_bottomSheetRef: MatBottomSheetRef<BottomSheetComponent>, data: any);
|
|
7
|
-
click(event: MouseEvent, item: any): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BottomSheetComponent, "lib-bottom-sheet", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import { BaseControl } from "@falcon-ng/core";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ButtonComponent {
|
|
6
|
-
control: BaseControl<string>;
|
|
7
|
-
formGroup: FormGroup;
|
|
8
|
-
btnClick: EventEmitter<string>;
|
|
9
|
-
childBtnClick(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "falcon-button", never, { "control": { "alias": "control"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "btnClick": "btnClick"; }, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import { MatButtonToggleChange } from "@angular/material/button-toggle";
|
|
4
|
-
import { BaseControl } from "@falcon-ng/core";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ButtonToggleComponent implements OnInit {
|
|
7
|
-
control: BaseControl<string>;
|
|
8
|
-
formGroup: FormGroup;
|
|
9
|
-
toggleGroupChange: EventEmitter<MatButtonToggleChange>;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
toggleChange($event: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonToggleComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonToggleComponent, "falcon-button-toggle", never, {}, { "toggleGroupChange": "toggleGroupChange"; }, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { BaseControl } from "@falcon-ng/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CheckboxComponent {
|
|
5
|
-
control: BaseControl<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
change($event: any): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "falcon-checkbox", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { IOptions } from '@falcon-ng/core';
|
|
5
|
-
import { MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
6
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
|
7
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
8
|
-
import { BaseControl } from "@falcon-ng/core";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ChipComponent implements OnInit {
|
|
11
|
-
private fb;
|
|
12
|
-
control: BaseControl<any>;
|
|
13
|
-
formGroup: FormGroup;
|
|
14
|
-
readonly separatorKeysCodes: number[];
|
|
15
|
-
selectable: boolean;
|
|
16
|
-
removable: boolean;
|
|
17
|
-
addOnBlur: boolean;
|
|
18
|
-
filteredOptions: Observable<IOptions[]>;
|
|
19
|
-
autoCompleteControl: FormControl<string | null>;
|
|
20
|
-
private items;
|
|
21
|
-
chipAutoCompleteInput: ElementRef<HTMLInputElement>;
|
|
22
|
-
chipTextInput: ElementRef<HTMLInputElement>;
|
|
23
|
-
matAutocomplete: MatAutocomplete;
|
|
24
|
-
constructor(fb: FormBuilder);
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
add(event: MatChipInputEvent): void;
|
|
27
|
-
createItem(value: String): FormGroup;
|
|
28
|
-
remove(option: IOptions): void;
|
|
29
|
-
optionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
30
|
-
private _filter;
|
|
31
|
-
drop(event: CdkDragDrop<IOptions[]>): void;
|
|
32
|
-
keyboardEnterEvent(event: any): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "falcon-chip", never, { "control": { "alias": "control"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
|
2
|
-
import { BaseControl } from "@falcon-ng/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DatePickerComponent {
|
|
5
|
-
control: BaseControl<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "falcon-date-picker", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IDialogData } from "@falcon-ng/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialogComponent {
|
|
4
|
-
data: IDialogData;
|
|
5
|
-
constructor(data: IDialogData);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "lib-dialog", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PaginationComponent {
|
|
4
|
-
totalPage: number;
|
|
5
|
-
pageSize: number;
|
|
6
|
-
paginationEvent: EventEmitter<number>;
|
|
7
|
-
paginationSize: number[];
|
|
8
|
-
preDisable: boolean;
|
|
9
|
-
nextDisable: boolean;
|
|
10
|
-
private start;
|
|
11
|
-
private end;
|
|
12
|
-
currentPage: number;
|
|
13
|
-
firstLoad: boolean;
|
|
14
|
-
constructor();
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
receiveBtnChange($event: any): void;
|
|
17
|
-
private range;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "falcon-pagination", never, { "totalPage": { "alias": "totalPage"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; }, { "paginationEvent": "paginationEvent"; }, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ThemePalette } from "@angular/material/core";
|
|
2
|
-
import { ProgressBarMode } from "@angular/material/progress-bar";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProgressBarComponent {
|
|
5
|
-
bufferValue: number;
|
|
6
|
-
color: ThemePalette;
|
|
7
|
-
mode: ProgressBarMode;
|
|
8
|
-
value: number;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "falcon-progress-bar", never, { "bufferValue": { "alias": "bufferValue"; "required": false; }; "color": { "alias": "color"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ThemePalette } from "@angular/material/core";
|
|
2
|
-
import { ProgressSpinnerMode } from "@angular/material/progress-spinner";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProgressSpinnerComponent {
|
|
5
|
-
diameter: number;
|
|
6
|
-
color: ThemePalette;
|
|
7
|
-
mode: ProgressSpinnerMode;
|
|
8
|
-
value: number;
|
|
9
|
-
strokeWidth: number;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressSpinnerComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressSpinnerComponent, "falcon-progress-spinner", never, { "diameter": { "alias": "diameter"; "required": false; }; "color": { "alias": "color"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { MatRadioChange } from "@angular/material/radio";
|
|
4
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RadioComponent implements OnInit {
|
|
7
|
-
control: BaseControl<string>;
|
|
8
|
-
formGroup: FormGroup;
|
|
9
|
-
radioGroupChange: EventEmitter<MatRadioChange>;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
radioGroupChangeEvent($event: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "falcon-radio", never, {}, { "radioGroupChange": "radioGroupChange"; }, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
|
2
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RichTextEditorComponent {
|
|
5
|
-
control: BaseControl<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorComponent, "lib-rich-text-editor", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { MatSelectChange } from '@angular/material/select';
|
|
4
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SelectComponent implements OnInit {
|
|
7
|
-
control: BaseControl<string>;
|
|
8
|
-
formGroup: FormGroup;
|
|
9
|
-
selectionChange: EventEmitter<MatSelectChange>;
|
|
10
|
-
constructor();
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
selectChange($event: any): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "falcon-select", never, {}, { "selectionChange": "selectionChange"; }, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
|
2
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SlideToggleComponent {
|
|
5
|
-
control: BaseControl<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SlideToggleComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SlideToggleComponent, "falcon-slide-toggle", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
|
2
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SliderComponent {
|
|
5
|
-
control: BaseControl<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "falcon-slider", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MatTableConfig } from "@falcon-ng/core";
|
|
3
|
-
import { MatPaginator, PageEvent } from "@angular/material/paginator";
|
|
4
|
-
import { MatSort } from "@angular/material/sort";
|
|
5
|
-
import { TableAction } from "@falcon-ng/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TableComponent implements OnInit {
|
|
8
|
-
matTableConfig: MatTableConfig;
|
|
9
|
-
paginator: MatPaginator;
|
|
10
|
-
sort: MatSort;
|
|
11
|
-
pageEvent: EventEmitter<PageEvent>;
|
|
12
|
-
displayedColumns: string[];
|
|
13
|
-
tableActionRowEvent: EventEmitter<any>;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
ngAfterViewInit(): void;
|
|
16
|
-
applyFilter(event: Event): void;
|
|
17
|
-
page(e: any): void;
|
|
18
|
-
tableAction($item: any, action: TableAction): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "falcon-table", never, { "matTableConfig": { "alias": "matTableConfig"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; }, { "pageEvent": "pageEvent"; "tableActionRowEvent": "tableActionRowEvent"; }, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextareaComponent {
|
|
5
|
-
control: BaseControl<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "falcon-textarea", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextboxComponent {
|
|
5
|
-
control: BaseControl<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextboxComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextboxComponent, "falcon-textbox", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from "@angular/forms";
|
|
2
|
-
import { Layout } from '../model/layout';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ControlBuilderComponent {
|
|
5
|
-
layout: Layout<string>;
|
|
6
|
-
formGroup: FormGroup;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ControlBuilderComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ControlBuilderComponent, "control-builder", never, { "layout": { "alias": "layout"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./component/textbox/textbox.component";
|
|
4
|
-
import * as i2 from "./component/textarea/textarea.component";
|
|
5
|
-
import * as i3 from "./component/select/select.component";
|
|
6
|
-
import * as i4 from "./reactive-field.directive";
|
|
7
|
-
import * as i5 from "./control-builder/control-builder.component";
|
|
8
|
-
import * as i6 from "./component/date-picker/date-picker.component";
|
|
9
|
-
import * as i7 from "./component/checkbox/checkbox.component";
|
|
10
|
-
import * as i8 from "./component/radio/radio.component";
|
|
11
|
-
import * as i9 from "./component/auto-complete/auto-complete.component";
|
|
12
|
-
import * as i10 from "./component/button-toggle/button-toggle.component";
|
|
13
|
-
import * as i11 from "./component/chips/chip.component";
|
|
14
|
-
import * as i12 from "./component/slider/slider.component";
|
|
15
|
-
import * as i13 from "./component/slide-toggle/slide-toggle.component";
|
|
16
|
-
import * as i14 from "./component/button/button.component";
|
|
17
|
-
import * as i15 from "./component/dialog/dialog.component";
|
|
18
|
-
import * as i16 from "./component/snack-bar/snack-bar.component";
|
|
19
|
-
import * as i17 from "./component/bottom-sheet/bottom-sheet.component";
|
|
20
|
-
import * as i18 from "./component/progress-bar/progress-bar.component";
|
|
21
|
-
import * as i19 from "./component/progress-spinner/progress-spinner.component";
|
|
22
|
-
import * as i20 from "./component/table/table.component";
|
|
23
|
-
import * as i21 from "./component/pagination/pagination.component";
|
|
24
|
-
import * as i22 from "./component/rich-text-editor/rich-text-editor.component";
|
|
25
|
-
import * as i23 from "@falcon-ng/core";
|
|
26
|
-
import * as i24 from "@angular/common";
|
|
27
|
-
import * as i25 from "@angular/forms";
|
|
28
|
-
import * as i26 from "@angular/router";
|
|
29
|
-
import * as i27 from "@kolkov/angular-editor";
|
|
30
|
-
export declare class FalconTailwindModule {
|
|
31
|
-
static forRoot(environment: any): ModuleWithProviders<FalconTailwindModule>;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FalconTailwindModule, never>;
|
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FalconTailwindModule, [typeof i1.TextboxComponent, typeof i2.TextareaComponent, typeof i3.SelectComponent, typeof i4.ReactiveFieldDirective, typeof i5.ControlBuilderComponent, typeof i6.DatePickerComponent, typeof i7.CheckboxComponent, typeof i8.RadioComponent, typeof i9.AutoCompleteComponent, typeof i10.ButtonToggleComponent, typeof i11.ChipComponent, typeof i12.SliderComponent, typeof i13.SlideToggleComponent, typeof i14.ButtonComponent, typeof i15.DialogComponent, typeof i16.SnackBarComponent, typeof i17.BottomSheetComponent, typeof i18.ProgressBarComponent, typeof i19.ProgressSpinnerComponent, typeof i20.TableComponent, typeof i21.PaginationComponent, typeof i22.RichTextEditorComponent], [typeof i23.AngularmaterialModule, typeof i24.CommonModule, typeof i25.FormsModule, typeof i25.ReactiveFormsModule, typeof i26.RouterModule, typeof i27.AngularEditorModule], [typeof i23.AngularmaterialModule, typeof i24.CommonModule, typeof i25.FormsModule, typeof i25.ReactiveFormsModule, typeof i5.ControlBuilderComponent, typeof i26.RouterModule, typeof i18.ProgressBarComponent, typeof i19.ProgressSpinnerComponent, typeof i21.PaginationComponent, typeof i20.TableComponent, typeof i27.AngularEditorModule, typeof i14.ButtonComponent]>;
|
|
34
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FalconTailwindModule>;
|
|
35
|
-
}
|
package/lib/model/constant.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { TextboxComponent } from '../component/textbox/textbox.component';
|
|
2
|
-
import { TextareaComponent } from '../component/textarea/textarea.component';
|
|
3
|
-
import { SelectComponent } from '../component/select/select.component';
|
|
4
|
-
import { DatePickerComponent } from '../component/date-picker/date-picker.component';
|
|
5
|
-
import { RadioComponent } from '../component/radio/radio.component';
|
|
6
|
-
import { CheckboxComponent } from '../component/checkbox/checkbox.component';
|
|
7
|
-
import { SlideToggleComponent } from '../component/slide-toggle/slide-toggle.component';
|
|
8
|
-
import { SliderComponent } from '../component/slider/slider.component';
|
|
9
|
-
import { ButtonToggleComponent } from '../component/button-toggle/button-toggle.component';
|
|
10
|
-
import { AutoCompleteComponent } from '../component/auto-complete/auto-complete.component';
|
|
11
|
-
import { ChipComponent } from '../component/chips/chip.component';
|
|
12
|
-
import { ButtonComponent } from "../component/button/button.component";
|
|
13
|
-
import { RichTextEditorComponent } from "../component/rich-text-editor/rich-text-editor.component";
|
|
14
|
-
export declare class Constant {
|
|
15
|
-
static ComponentMapper: {
|
|
16
|
-
textbox: typeof TextboxComponent;
|
|
17
|
-
textarea: typeof TextareaComponent;
|
|
18
|
-
select: typeof SelectComponent;
|
|
19
|
-
datepicker: typeof DatePickerComponent;
|
|
20
|
-
radio: typeof RadioComponent;
|
|
21
|
-
checkbox: typeof CheckboxComponent;
|
|
22
|
-
button: typeof ButtonComponent;
|
|
23
|
-
slideToggle: typeof SlideToggleComponent;
|
|
24
|
-
slider: typeof SliderComponent;
|
|
25
|
-
buttonToggle: typeof ButtonToggleComponent;
|
|
26
|
-
autocomplete: typeof AutoCompleteComponent;
|
|
27
|
-
chip: typeof ChipComponent;
|
|
28
|
-
editor: typeof RichTextEditorComponent;
|
|
29
|
-
divider: typeof RichTextEditorComponent;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare abstract class EnvironmentViewModel {
|
|
2
|
-
abstract readonly production: boolean;
|
|
3
|
-
abstract readonly openID?: IOpenIdViewModel;
|
|
4
|
-
abstract readonly baseUrl?: string;
|
|
5
|
-
abstract readonly snackBarEnable?: boolean;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @description
|
|
9
|
-
* Interface use for an app setting configuration for Open Id Client setting.
|
|
10
|
-
*/
|
|
11
|
-
export declare interface IOpenIdViewModel {
|
|
12
|
-
authority?: string;
|
|
13
|
-
client_id?: string;
|
|
14
|
-
redirect_uri?: string;
|
|
15
|
-
response_type?: string;
|
|
16
|
-
scope?: string;
|
|
17
|
-
silent_redirect_uri?: string;
|
|
18
|
-
post_logout_redirect_uri?: string;
|
|
19
|
-
filterProtocolClaims?: boolean;
|
|
20
|
-
loadUserInfo?: boolean;
|
|
21
|
-
automaticSilentRenew?: boolean;
|
|
22
|
-
monitorSession?: boolean;
|
|
23
|
-
accessTokenExpiringNotificationTime?: number;
|
|
24
|
-
checkSessionInterval?: number;
|
|
25
|
-
silentRequestTimeout?: number;
|
|
26
|
-
}
|
package/lib/model/layout.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
2
|
-
/**
|
|
3
|
-
* @description
|
|
4
|
-
* Class use for setting the layout.
|
|
5
|
-
* @usageNotes
|
|
6
|
-
* ```ts
|
|
7
|
-
* new Dropdown({
|
|
8
|
-
* key: 'brave',
|
|
9
|
-
* label: 'Bravery Rating',
|
|
10
|
-
* options: [
|
|
11
|
-
* {key: 'solid', value: 'Solid'},
|
|
12
|
-
* {key: 'great', value: 'Great'},
|
|
13
|
-
* {key: 'good', value: 'Good'},
|
|
14
|
-
* {key: 'unproven', value: 'Unproven'}
|
|
15
|
-
* ],
|
|
16
|
-
* order: 3
|
|
17
|
-
* }),
|
|
18
|
-
** ```
|
|
19
|
-
*/
|
|
20
|
-
export interface Layout<T> {
|
|
21
|
-
class?: string;
|
|
22
|
-
baseControls: BaseControl<T>[];
|
|
23
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import { BaseControl } from '@falcon-ng/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ReactiveFieldDirective implements OnInit {
|
|
6
|
-
private viewContainerRef;
|
|
7
|
-
control: BaseControl<string>;
|
|
8
|
-
formGroup: FormGroup;
|
|
9
|
-
private componentRef;
|
|
10
|
-
constructor(viewContainerRef: ViewContainerRef);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReactiveFieldDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ReactiveFieldDirective, "[reactiveField]", never, { "control": { "alias": "control"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { LoggerService } from './logger.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AppSettingService {
|
|
6
|
-
private http;
|
|
7
|
-
private logger;
|
|
8
|
-
static APP_SETTINGS_LOADED: string;
|
|
9
|
-
private listeners;
|
|
10
|
-
initialized: boolean;
|
|
11
|
-
private eventsSubject;
|
|
12
|
-
isServiceReady: Subject<boolean>;
|
|
13
|
-
private events;
|
|
14
|
-
private appSettings;
|
|
15
|
-
constructor(http: HttpClient, logger: LoggerService);
|
|
16
|
-
load(): Promise<void>;
|
|
17
|
-
on(name: any, listener: any): void;
|
|
18
|
-
getAppsettingValue<T>(): T | null;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppSettingService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppSettingService>;
|
|
21
|
-
}
|
|
22
|
-
export declare function appSettingsFactory(appSettings: AppSettingService): () => Promise<void>;
|