special-forms 2.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm2020/lib/components/index.mjs +4 -12
- package/esm2020/lib/components/special-autocomplete/special-autocomplete.component.mjs +25 -9
- package/esm2020/lib/components/special-checkbox/special-checkbox.component.mjs +21 -5
- package/esm2020/lib/components/special-datepicker/special-datepicker.component.mjs +26 -9
- package/esm2020/lib/components/special-dropdown/special-dropdown.component.mjs +23 -9
- package/esm2020/lib/components/special-form/special-form.component.mjs +24 -22
- package/esm2020/lib/components/special-form/special-form.module.mjs +46 -34
- package/esm2020/lib/components/special-input/special-input.component.mjs +23 -8
- package/esm2020/lib/components/special-label/special-label.component.mjs +10 -7
- package/esm2020/lib/components/special-label/special-label.interface.mjs +1 -1
- package/esm2020/lib/components/special-multiple-autocomplete/special-multiple-autocomplete.component.mjs +28 -11
- package/esm2020/lib/components/special-richtext/special-richtext.component.mjs +44 -0
- package/esm2020/lib/components/special-richtext/special-richtext.interface.mjs +2 -0
- package/esm2020/lib/components/special-text-area/special-text-area.component.mjs +23 -8
- package/esm2020/lib/components/special-upload/special-upload.component.mjs +33 -19
- package/esm2020/lib/core/aux-data/control-types.enum.mjs +2 -1
- package/esm2020/lib/core/interfaces/form.interfaces.mjs +1 -1
- package/esm2020/lib/core/interfaces/special-control.interface.mjs +3 -0
- package/esm2020/lib/core/masks/currency.mask.mjs +11 -0
- package/esm2020/lib/core/masks/index.mjs +3 -0
- package/esm2020/lib/core/masks/number.mask.mjs +3 -0
- package/esm2020/lib/core/pipes/controls-list-pipe/controls-list.pipe.mjs +18 -0
- package/esm2020/lib/core/pipes/controls-list-pipe/controls-list.pipe.module.mjs +18 -0
- package/esm2020/lib/core/pipes/error-message-pipe/error.pipe.mjs +22 -0
- package/esm2020/lib/core/pipes/error-message-pipe/error.pipe.module.mjs +20 -0
- package/esm2020/lib/core/pipes/index.mjs +3 -0
- package/esm2020/lib/core/pipes/text-by-function/text-by-function.pipe.mjs +22 -0
- package/esm2020/lib/core/pipes/text-by-function/text-by-function.pipe.module.mjs +20 -0
- package/esm2020/lib/core/services/special-form-builder/special-form-builder.service.mjs +3 -3
- package/esm2020/public-api.mjs +7 -1
- package/fesm2015/special-forms.mjs +318 -518
- package/fesm2015/special-forms.mjs.map +1 -1
- package/fesm2020/special-forms.mjs +318 -518
- package/fesm2020/special-forms.mjs.map +1 -1
- package/lib/components/index.d.ts +3 -11
- package/lib/components/special-autocomplete/special-autocomplete.component.d.ts +2 -2
- package/lib/components/special-autocomplete/special-autocomplete.interface.d.ts +1 -1
- package/lib/components/special-checkbox/special-checkbox.component.d.ts +1 -1
- package/lib/components/special-checkbox/special-checkbox.interface.d.ts +1 -1
- package/lib/components/special-datepicker/special-datepicker.component.d.ts +1 -1
- package/lib/components/special-datepicker/special-datepicker.interface.d.ts +1 -1
- package/lib/components/special-dropdown/special-dropdown.component.d.ts +2 -2
- package/lib/components/special-dropdown/special-dropdown.interface.d.ts +1 -1
- package/lib/components/special-form/special-form.component.d.ts +4 -4
- package/lib/components/special-form/special-form.module.d.ts +12 -11
- package/lib/components/special-input/special-input.component.d.ts +2 -2
- package/lib/components/special-input/special-input.interface.d.ts +1 -1
- package/lib/components/special-label/special-label.component.d.ts +1 -1
- package/lib/components/special-label/special-label.interface.d.ts +1 -1
- package/lib/components/special-multiple-autocomplete/special-multiple-autocomplete.component.d.ts +2 -2
- package/lib/components/special-multiple-autocomplete/special-multiple-autocomplete.interface.d.ts +1 -1
- package/lib/components/special-richtext/special-richtext.component.d.ts +18 -0
- package/lib/components/special-richtext/special-richtext.interface.d.ts +7 -0
- package/lib/components/special-text-area/special-text-area.component.d.ts +1 -1
- package/lib/components/special-text-area/special-text-area.interface.d.ts +1 -1
- package/lib/components/special-upload/special-upload.component.d.ts +3 -3
- package/lib/components/special-upload/special-upload.interface.d.ts +1 -1
- package/lib/core/aux-data/control-types.enum.d.ts +1 -0
- package/lib/core/interfaces/form.interfaces.d.ts +17 -15
- package/lib/core/interfaces/special-control.interface.d.ts +4 -0
- package/lib/core/masks/currency.mask.d.ts +1 -0
- package/lib/core/masks/index.d.ts +2 -0
- package/lib/core/masks/number.mask.d.ts +1 -0
- package/lib/{pipes → core/pipes}/controls-list-pipe/controls-list.pipe.d.ts +1 -1
- package/lib/{pipes → core/pipes}/controls-list-pipe/controls-list.pipe.module.d.ts +0 -0
- package/lib/{pipes → core/pipes}/error-message-pipe/error.pipe.d.ts +0 -0
- package/lib/{pipes → core/pipes}/error-message-pipe/error.pipe.module.d.ts +0 -0
- package/lib/{pipes → core/pipes}/index.d.ts +0 -0
- package/lib/{pipes → core/pipes}/text-by-function/text-by-function.pipe.d.ts +0 -0
- package/lib/{pipes → core/pipes}/text-by-function/text-by-function.pipe.module.d.ts +0 -0
- package/package.json +13 -5
- package/public-api.d.ts +6 -0
- package/esm2020/lib/components/special-autocomplete/special-autocomplete.module.mjs +0 -47
- package/esm2020/lib/components/special-checkbox/special-checkbox.module.mjs +0 -47
- package/esm2020/lib/components/special-datepicker/special-datepicker.module.mjs +0 -48
- package/esm2020/lib/components/special-dropdown/special-dropdown.module.mjs +0 -43
- package/esm2020/lib/components/special-input/special-input.module.mjs +0 -44
- package/esm2020/lib/components/special-label/special-label.module.mjs +0 -47
- package/esm2020/lib/components/special-multiple-autocomplete/special-multiple-autocomplete.module.mjs +0 -51
- package/esm2020/lib/components/special-text-area/special-text-area.module.mjs +0 -44
- package/esm2020/lib/components/special-upload/special-upload.module.mjs +0 -43
- package/esm2020/lib/pipes/controls-list-pipe/controls-list.pipe.mjs +0 -18
- package/esm2020/lib/pipes/controls-list-pipe/controls-list.pipe.module.mjs +0 -18
- package/esm2020/lib/pipes/error-message-pipe/error.pipe.mjs +0 -22
- package/esm2020/lib/pipes/error-message-pipe/error.pipe.module.mjs +0 -20
- package/esm2020/lib/pipes/index.mjs +0 -3
- package/esm2020/lib/pipes/text-by-function/text-by-function.pipe.mjs +0 -22
- package/esm2020/lib/pipes/text-by-function/text-by-function.pipe.module.mjs +0 -20
- package/lib/components/special-autocomplete/special-autocomplete.module.d.ts +0 -15
- package/lib/components/special-checkbox/special-checkbox.module.d.ts +0 -14
- package/lib/components/special-datepicker/special-datepicker.module.d.ts +0 -15
- package/lib/components/special-dropdown/special-dropdown.module.d.ts +0 -14
- package/lib/components/special-input/special-input.module.d.ts +0 -14
- package/lib/components/special-label/special-label.module.d.ts +0 -15
- package/lib/components/special-multiple-autocomplete/special-multiple-autocomplete.module.d.ts +0 -16
- package/lib/components/special-text-area/special-text-area.module.d.ts +0 -14
- package/lib/components/special-upload/special-upload.module.d.ts +0 -13
- package/special-forms-2.0.0.tgz +0 -0
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SpecialAutocompleteComponent } from './special-autocomplete/special-autocomplete.component';
|
|
2
2
|
import { SpecialInputComponent } from './special-input/special-input.component';
|
|
3
|
-
import { SpecialDropdownModule } from './special-dropdown/special-dropdown.module';
|
|
4
3
|
import { SpecialDropdownComponent } from './special-dropdown/special-dropdown.component';
|
|
5
|
-
import { SpecialAutocompleteModule } from './special-autocomplete/special-autocomplete.module';
|
|
6
|
-
import { SpecialAutocompleteComponent } from './special-autocomplete/special-autocomplete.component';
|
|
7
|
-
import { SpecialDatepickerModule } from './special-datepicker/special-datepicker.module';
|
|
8
4
|
import { SpecialDatepickerComponent } from './special-datepicker/special-datepicker.component';
|
|
9
|
-
import { SpecialMultipleAutocompleteModule } from './special-multiple-autocomplete/special-multiple-autocomplete.module';
|
|
10
5
|
import { SpecialMultipleAutocompleteComponent } from './special-multiple-autocomplete/special-multiple-autocomplete.component';
|
|
11
|
-
import { SpecialCheckboxModule } from './special-checkbox/special-checkbox.module';
|
|
12
6
|
import { SpecialCheckboxComponent } from './special-checkbox/special-checkbox.component';
|
|
13
|
-
import { SpecialTextAreaModule } from './special-text-area/special-text-area.module';
|
|
14
7
|
import { SpecialTextAreaComponent } from './special-text-area/special-text-area.component';
|
|
15
|
-
import { SpecialUploadModule } from './special-upload/special-upload.module';
|
|
16
8
|
import { SpecialUploadComponent } from './special-upload/special-upload.component';
|
|
17
|
-
import { SpecialLabelModule } from './special-label/special-label.module';
|
|
18
9
|
import { SpecialLabelComponent } from './special-label/special-label.component';
|
|
19
10
|
import { SpecialFormModule } from './special-form/special-form.module';
|
|
11
|
+
import { SpecialRichtextComponent } from './special-richtext/special-richtext.component';
|
|
20
12
|
import { SpecialFormComponent, SpecialArrayComponent, FormControlsRenderDirective } from './special-form/special-form.component';
|
|
21
|
-
export {
|
|
13
|
+
export { SpecialRichtextComponent, SpecialAutocompleteComponent, SpecialDatepickerComponent, SpecialDropdownComponent, SpecialMultipleAutocompleteComponent, SpecialCheckboxComponent, SpecialTextAreaComponent, SpecialUploadComponent, SpecialArrayComponent, SpecialLabelComponent, SpecialFormComponent, SpecialFormModule, FormControlsRenderDirective, SpecialInputComponent, };
|
|
@@ -12,8 +12,8 @@ export declare class SpecialAutocompleteComponent {
|
|
|
12
12
|
init(): void;
|
|
13
13
|
configValue: (item: any) => any;
|
|
14
14
|
optionSelected(data: MatAutocompleteSelectedEvent): void;
|
|
15
|
-
iconClick(event:
|
|
15
|
+
iconClick(event: Event): void;
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialAutocompleteComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialAutocompleteComponent, "sp-autocomplete", never, { "control": "control"; }, {}, never, never,
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialAutocompleteComponent, "sp-autocomplete", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
19
19
|
}
|
|
@@ -2,7 +2,7 @@ import { AbstractControl } from '@angular/forms';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
4
4
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
5
|
-
export
|
|
5
|
+
export type IAutocompleteSettings = {
|
|
6
6
|
getData: (query: string, control?: AbstractControl) => void;
|
|
7
7
|
source: Observable<any[]>;
|
|
8
8
|
fieldId: string;
|
|
@@ -7,5 +7,5 @@ export declare class SpecialCheckboxComponent implements OnInit {
|
|
|
7
7
|
constructor();
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialCheckboxComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialCheckboxComponent, "sp-checkbox", never, { "control": "control"; }, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialCheckboxComponent, "sp-checkbox", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
2
2
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type ICheckboxSettings = {
|
|
4
4
|
labelPosition?: 'before' | 'after';
|
|
5
5
|
indeterminate?: boolean;
|
|
6
6
|
};
|
|
@@ -8,5 +8,5 @@ export declare class SpecialDatepickerComponent implements OnInit {
|
|
|
8
8
|
get startAt(): Date;
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialDatepickerComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialDatepickerComponent, "sp-datepicker", never, { "control": "control"; }, {}, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialDatepickerComponent, "sp-datepicker", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
2
2
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type IDatePickerSettings = {
|
|
4
4
|
lowerLimit?: number;
|
|
5
5
|
upperLimit?: number;
|
|
6
6
|
startAt?: Date;
|
|
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class SpecialDropdownComponent {
|
|
5
5
|
control: SpecialFormControl<IDropdownSettings>;
|
|
6
6
|
get settings(): IDropdownSettings;
|
|
7
|
-
iconClick(event:
|
|
7
|
+
iconClick(event: Event): void;
|
|
8
8
|
optionSelected(value: any): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialDropdownComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialDropdownComponent, "sp-dropdown", never, { "control": "control"; }, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialDropdownComponent, "sp-dropdown", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
3
3
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
4
|
-
export
|
|
4
|
+
export type IDropdownSettings = {
|
|
5
5
|
icon?: string;
|
|
6
6
|
onSelect?: (data: any) => void;
|
|
7
7
|
iconAction?: (data: any) => void;
|
|
@@ -7,7 +7,7 @@ export declare class SpecialFormComponent implements OnInit {
|
|
|
7
7
|
set control(form: SpecialFormGroup);
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialFormComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialFormComponent, "sp-form", never, { "form": "control"; }, {}, never, never, false>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialFormComponent, "sp-form", never, { "form": "control"; }, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
12
12
|
export declare class SpecialArrayComponent implements OnInit {
|
|
13
13
|
formArray: any;
|
|
@@ -16,10 +16,10 @@ export declare class SpecialArrayComponent implements OnInit {
|
|
|
16
16
|
get settings(): any;
|
|
17
17
|
constructor();
|
|
18
18
|
ngOnInit(): void;
|
|
19
|
-
removeItem(index:
|
|
19
|
+
removeItem(index: number): void;
|
|
20
20
|
addItem(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialArrayComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialArrayComponent, "sp-array", never, { "formArray": "control"; }, {}, never, never, false>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialArrayComponent, "sp-array", never, { "formArray": "control"; }, {}, never, never, false, never>;
|
|
23
23
|
}
|
|
24
24
|
export declare class FormControlsRenderDirective {
|
|
25
25
|
private viewContainer;
|
|
@@ -27,5 +27,5 @@ export declare class FormControlsRenderDirective {
|
|
|
27
27
|
set controlSetter(control: SpecialFormControl<any>);
|
|
28
28
|
constructor(viewContainer: ViewContainerRef);
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlsRenderDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlsRenderDirective, "[controlRender]", never, { "controlSetter": "control"; }, {}, never, never, false>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlsRenderDirective, "[controlRender]", never, { "controlSetter": "control"; }, {}, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./special-form.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../../pipes/controls-list-pipe/controls-list.pipe.module";
|
|
4
|
+
import * as i3 from "../../core/pipes/controls-list-pipe/controls-list.pipe.module";
|
|
5
5
|
import * as i4 from "@angular/material/button";
|
|
6
|
-
import * as i5 from "../special-
|
|
7
|
-
import * as i6 from "../special-
|
|
8
|
-
import * as i7 from "../special-
|
|
9
|
-
import * as i8 from "../special-
|
|
10
|
-
import * as i9 from "../special-
|
|
11
|
-
import * as i10 from "../special-
|
|
12
|
-
import * as i11 from "../special-
|
|
13
|
-
import * as i12 from "../special-
|
|
14
|
-
import * as i13 from "../special-
|
|
6
|
+
import * as i5 from "../special-richtext/special-richtext.component";
|
|
7
|
+
import * as i6 from "../special-dropdown/special-dropdown.component";
|
|
8
|
+
import * as i7 from "../special-input/special-input.component";
|
|
9
|
+
import * as i8 from "../special-autocomplete/special-autocomplete.component";
|
|
10
|
+
import * as i9 from "../special-datepicker/special-datepicker.component";
|
|
11
|
+
import * as i10 from "../special-label/special-label.component";
|
|
12
|
+
import * as i11 from "../special-multiple-autocomplete/special-multiple-autocomplete.component";
|
|
13
|
+
import * as i12 from "../special-checkbox/special-checkbox.component";
|
|
14
|
+
import * as i13 from "../special-text-area/special-text-area.component";
|
|
15
|
+
import * as i14 from "../special-upload/special-upload.component";
|
|
15
16
|
export declare class SpecialFormModule {
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialFormModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SpecialFormModule, [typeof i1.SpecialArrayComponent, typeof i1.FormControlsRenderDirective, typeof i1.SpecialFormComponent], [typeof i2.CommonModule, typeof i3.FormControlsListPipeModule, typeof i4.MatButtonModule, typeof i5.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpecialFormModule, [typeof i1.SpecialArrayComponent, typeof i1.FormControlsRenderDirective, typeof i1.SpecialFormComponent], [typeof i2.CommonModule, typeof i3.FormControlsListPipeModule, typeof i4.MatButtonModule, typeof i5.SpecialRichtextComponent, typeof i6.SpecialDropdownComponent, typeof i7.SpecialInputComponent, typeof i8.SpecialAutocompleteComponent, typeof i9.SpecialDatepickerComponent, typeof i10.SpecialLabelComponent, typeof i11.SpecialMultipleAutocompleteComponent, typeof i12.SpecialCheckboxComponent, typeof i13.SpecialTextAreaComponent, typeof i14.SpecialUploadComponent], [typeof i1.SpecialArrayComponent, typeof i1.FormControlsRenderDirective, typeof i1.SpecialFormComponent]>;
|
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpecialFormModule>;
|
|
19
20
|
}
|
|
@@ -9,7 +9,7 @@ export declare class SpecialInputComponent implements OnInit {
|
|
|
9
9
|
onEnterClick(): void;
|
|
10
10
|
onBlurAction(): void;
|
|
11
11
|
get settings(): IInputSettings;
|
|
12
|
-
iconClick(event:
|
|
12
|
+
iconClick(event: Event): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialInputComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialInputComponent, "sp-input", never, { "control": "control"; }, {}, never, never,
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialInputComponent, "sp-input", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputmaskOptions } from '@ngneat/input-mask';
|
|
2
2
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
3
3
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
4
|
-
export
|
|
4
|
+
export type IInputSettings = {
|
|
5
5
|
type?: string;
|
|
6
6
|
mask?: InputmaskOptions<any>;
|
|
7
7
|
icon?: string;
|
|
@@ -9,5 +9,5 @@ export declare class SpecialLabelComponent implements OnInit {
|
|
|
9
9
|
get settings(): ILabelSettings;
|
|
10
10
|
onLink(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialLabelComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialLabelComponent, "sp-label", never, { "control": "control"; }, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialLabelComponent, "sp-label", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
2
2
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type ILabelSettings = {
|
|
4
4
|
pipe?: (value: any) => string;
|
|
5
5
|
stylesPipe?: (value: any) => string;
|
|
6
6
|
isLink: boolean;
|
package/lib/components/special-multiple-autocomplete/special-multiple-autocomplete.component.d.ts
CHANGED
|
@@ -13,10 +13,10 @@ export declare class SpecialMultipleAutocompleteComponent {
|
|
|
13
13
|
get settings(): IMultipleAutocompleteSettings;
|
|
14
14
|
init(): void;
|
|
15
15
|
optionSelected(data: MatAutocompleteSelectedEvent): void;
|
|
16
|
-
iconClick(event:
|
|
16
|
+
iconClick(event: Event): void;
|
|
17
17
|
remove(value: any[]): void;
|
|
18
18
|
configValue: (item: any) => any;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialMultipleAutocompleteComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialMultipleAutocompleteComponent, "sp-multiple-autocomplete", never, { "control": "control"; }, {}, never, never,
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialMultipleAutocompleteComponent, "sp-multiple-autocomplete", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
package/lib/components/special-multiple-autocomplete/special-multiple-autocomplete.interface.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AbstractControl } from '@angular/forms';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
4
4
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
5
|
-
export
|
|
5
|
+
export type IMultipleAutocompleteSettings = {
|
|
6
6
|
getData: (query: string, control?: AbstractControl) => void;
|
|
7
7
|
source: Observable<any[]>;
|
|
8
8
|
fieldId: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SpecialFormControl } from '../../core/forms/special-forms';
|
|
3
|
+
import { IRichTextSettings } from './special-richtext.interface';
|
|
4
|
+
import { Toolbar } from 'ngx-editor';
|
|
5
|
+
import { Editor } from 'ngx-editor';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SpecialRichtextComponent implements OnInit {
|
|
8
|
+
editor: Editor;
|
|
9
|
+
formControl: SpecialFormControl<IRichTextSettings>;
|
|
10
|
+
colorPresets: string[];
|
|
11
|
+
set control(control: SpecialFormControl<IRichTextSettings>);
|
|
12
|
+
toolbar: Toolbar;
|
|
13
|
+
constructor();
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialRichtextComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialRichtextComponent, "sp-input", never, { "control": "control"; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
2
|
+
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
3
|
+
export type IRichTextSettings = {};
|
|
4
|
+
export interface IRichTextField extends IFieldData {
|
|
5
|
+
settings: IRichTextSettings;
|
|
6
|
+
type: EControlTypes.input;
|
|
7
|
+
}
|
|
@@ -9,5 +9,5 @@ export declare class SpecialTextAreaComponent implements OnInit {
|
|
|
9
9
|
constructor();
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialTextAreaComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialTextAreaComponent, "sp-text-area", never, { "control": "control"; }, { "onBlur": "onBlur"; "onEnter": "onEnter"; }, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialTextAreaComponent, "sp-text-area", never, { "control": "control"; }, { "onBlur": "onBlur"; "onEnter": "onEnter"; }, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
2
2
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type ITextAreaSettings = {};
|
|
4
4
|
export interface ITextAreaField extends IFieldData {
|
|
5
5
|
settings: ITextAreaSettings;
|
|
6
6
|
type: EControlTypes.textArea;
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class SpecialUploadComponent implements OnInit {
|
|
7
7
|
private sanitizer;
|
|
8
8
|
control: SpecialFormControl<IUploadSettings>;
|
|
9
|
-
set controlSetter(control:
|
|
9
|
+
set controlSetter(control: SpecialFormControl<IUploadSettings>);
|
|
10
10
|
onSelect: EventEmitter<any>;
|
|
11
11
|
previewImages: any[];
|
|
12
12
|
constructor(sanitizer: DomSanitizer);
|
|
@@ -15,7 +15,7 @@ export declare class SpecialUploadComponent implements OnInit {
|
|
|
15
15
|
onSelectOne(event: any): void;
|
|
16
16
|
fixFileName(file: File): File;
|
|
17
17
|
clean(): void;
|
|
18
|
-
onRemove(file:
|
|
18
|
+
onRemove(file: File): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpecialUploadComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialUploadComponent, "sp-upload", never, { "controlSetter": "control"; }, { "onSelect": "onSelect"; }, never, never,
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpecialUploadComponent, "sp-upload", never, { "controlSetter": "control"; }, { "onSelect": "onSelect"; }, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EControlTypes } from '../../core/aux-data/control-types.enum';
|
|
2
2
|
import { IFieldData } from '../../core/interfaces/field-basics.interfaces';
|
|
3
|
-
export
|
|
3
|
+
export type IUploadSettings = {
|
|
4
4
|
accept?: string;
|
|
5
5
|
multiple?: boolean;
|
|
6
6
|
};
|
|
@@ -9,17 +9,18 @@ import { IFieldData } from './field-basics.interfaces';
|
|
|
9
9
|
import { ITextAreaField } from '../../components/special-text-area/special-text-area.interface';
|
|
10
10
|
import { IUploadField } from '../../components/special-upload/special-upload.interface';
|
|
11
11
|
import { ILabelField } from '../../components/special-label/special-label.interface';
|
|
12
|
+
import { IRichTextField } from '../../components/special-richtext/special-richtext.interface';
|
|
12
13
|
interface IcontrolName {
|
|
13
14
|
name: string;
|
|
14
15
|
}
|
|
15
|
-
export
|
|
16
|
+
export type IFormSettings = {
|
|
16
17
|
formFields: IFormStructure;
|
|
17
18
|
};
|
|
18
19
|
export interface IFormField extends IFieldData {
|
|
19
20
|
settings: IFormSettings;
|
|
20
21
|
type: EControlTypes.form;
|
|
21
22
|
}
|
|
22
|
-
export
|
|
23
|
+
export type IArraySettings = {
|
|
23
24
|
formFields: IFormStructure;
|
|
24
25
|
withFormHeader?: boolean;
|
|
25
26
|
withActionButtons?: boolean;
|
|
@@ -32,19 +33,20 @@ export interface IDefaultField extends IFieldData {
|
|
|
32
33
|
settings: any;
|
|
33
34
|
type: EControlTypes.default;
|
|
34
35
|
}
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
36
|
+
export type TRawFields = IDefaultField | IInputField | IRichTextField | IDropdownField | IArrayField | IFormField | IAutocompleteField | IMultipleAutocompleteField | IDatePickerField | ITextAreaField | IUploadField | ILabelField | ICheckboxField;
|
|
37
|
+
export type TSpecialInput = IInputField & IcontrolName;
|
|
38
|
+
export type TSpecialDefault = IDefaultField & IcontrolName;
|
|
39
|
+
export type TSpecialDropdown = IDropdownField & IcontrolName;
|
|
40
|
+
export type TSpecialArray = IArrayField & IcontrolName;
|
|
41
|
+
export type TSpecialForm = IFormField & IcontrolName;
|
|
42
|
+
export type TSpecialRichText = IRichTextField & IcontrolName;
|
|
43
|
+
export type TSpecialAutocomplete = IAutocompleteField & IcontrolName;
|
|
44
|
+
export type TSpecialDatepicker = IDatePickerField & IcontrolName;
|
|
45
|
+
export type ISpecialCheckbox = ICheckboxField & IcontrolName;
|
|
46
|
+
export type ISpecialTextArea = ITextAreaField & IcontrolName;
|
|
47
|
+
export type ISpecialLabel = ILabelField & IcontrolName;
|
|
48
|
+
export type ISpecialUpload = IUploadField & IcontrolName;
|
|
49
|
+
export type TSpecialFields = TSpecialDefault | TSpecialInput | TSpecialDropdown | TSpecialArray | TSpecialForm | TSpecialRichText | TSpecialAutocomplete | ISpecialCheckbox | ISpecialTextArea | ISpecialUpload | ISpecialLabel | TSpecialDatepicker;
|
|
48
50
|
export interface IFormStructure {
|
|
49
51
|
[name: string]: Partial<TRawFields>;
|
|
50
52
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const currencyInputMask: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const numberMask: (max?: number) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import { SpecialFormControl } from '../../
|
|
3
|
+
import { SpecialFormControl } from '../../forms/special-forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FormControlsListPipe implements PipeTransform {
|
|
6
6
|
transform(controls: {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "special-forms",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^15.1.0",
|
|
6
|
+
"@angular/core": "^15.1.0",
|
|
7
|
+
"tailwindcss": "^3.2.7",
|
|
8
|
+
"autoprefixer": "^10.4.13",
|
|
9
|
+
"postcss": "^8.4.21",
|
|
10
|
+
"@ngneat/input-mask": "6.1.0",
|
|
11
|
+
"inputmask": "^5.0.7",
|
|
12
|
+
"ngx-dropzone": "^3.1.0",
|
|
13
|
+
"ngx-editor": "^15.2.0",
|
|
14
|
+
"@angular/material": "15.1.5"
|
|
7
15
|
},
|
|
8
16
|
"dependencies": {
|
|
9
17
|
"tslib": "^2.3.0"
|
|
10
18
|
},
|
|
19
|
+
"sideEffects": false,
|
|
11
20
|
"module": "fesm2015/special-forms.mjs",
|
|
12
21
|
"es2020": "fesm2020/special-forms.mjs",
|
|
13
22
|
"esm2020": "esm2020/special-forms.mjs",
|
|
@@ -26,6 +35,5 @@
|
|
|
26
35
|
"node": "./fesm2015/special-forms.mjs",
|
|
27
36
|
"default": "./fesm2020/special-forms.mjs"
|
|
28
37
|
}
|
|
29
|
-
}
|
|
30
|
-
"sideEffects": false
|
|
38
|
+
}
|
|
31
39
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
export * from './lib/components';
|
|
2
2
|
export * from './lib/core/services/index';
|
|
3
|
+
export { EControlTypes } from './lib/core/aux-data/control-types.enum';
|
|
4
|
+
export * from './lib/core/forms/special-forms';
|
|
5
|
+
export * from './lib/core/interfaces/field-basics.interfaces';
|
|
6
|
+
export * from './lib/core/interfaces/form.interfaces';
|
|
7
|
+
export * from './lib/core/interfaces/special-control.interface';
|
|
8
|
+
export * from './lib/core/masks/index';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
4
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
5
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
6
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import { ErrorMessagePipeModule, TextByFunctionPipeModule } from '../../pipes';
|
|
8
|
-
import { SpecialAutocompleteComponent } from './special-autocomplete.component';
|
|
9
|
-
import { MatInputModule } from '@angular/material/input';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class SpecialAutocompleteModule {
|
|
12
|
-
}
|
|
13
|
-
SpecialAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
-
SpecialAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SpecialAutocompleteModule, declarations: [SpecialAutocompleteComponent], imports: [MatInputModule,
|
|
15
|
-
CommonModule,
|
|
16
|
-
MatAutocompleteModule,
|
|
17
|
-
MatIconModule,
|
|
18
|
-
ReactiveFormsModule,
|
|
19
|
-
MatButtonModule,
|
|
20
|
-
ErrorMessagePipeModule,
|
|
21
|
-
TextByFunctionPipeModule], exports: [SpecialAutocompleteComponent] });
|
|
22
|
-
SpecialAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialAutocompleteModule, imports: [MatInputModule,
|
|
23
|
-
CommonModule,
|
|
24
|
-
MatAutocompleteModule,
|
|
25
|
-
MatIconModule,
|
|
26
|
-
ReactiveFormsModule,
|
|
27
|
-
MatButtonModule,
|
|
28
|
-
ErrorMessagePipeModule,
|
|
29
|
-
TextByFunctionPipeModule] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialAutocompleteModule, decorators: [{
|
|
31
|
-
type: NgModule,
|
|
32
|
-
args: [{
|
|
33
|
-
declarations: [SpecialAutocompleteComponent],
|
|
34
|
-
imports: [
|
|
35
|
-
MatInputModule,
|
|
36
|
-
CommonModule,
|
|
37
|
-
MatAutocompleteModule,
|
|
38
|
-
MatIconModule,
|
|
39
|
-
ReactiveFormsModule,
|
|
40
|
-
MatButtonModule,
|
|
41
|
-
ErrorMessagePipeModule,
|
|
42
|
-
TextByFunctionPipeModule,
|
|
43
|
-
],
|
|
44
|
-
exports: [SpecialAutocompleteComponent],
|
|
45
|
-
}]
|
|
46
|
-
}] });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BlY2lhbC1hdXRvY29tcGxldGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc3BlY2lhbC1mb3Jtcy9zcmMvbGliL2NvbXBvbmVudHMvc3BlY2lhbC1hdXRvY29tcGxldGUvc3BlY2lhbC1hdXRvY29tcGxldGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDdkQsT0FBTyxFQUFFLG1CQ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uZXhwb3J0IGNsYXNzIFNwZWNpYWxBdXRvY29tcGxldGVNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { SpecialCheckboxComponent } from './special-checkbox.component';
|
|
4
|
-
import { MatInputModule } from '@angular/material/input';
|
|
5
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
7
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
-
import { ErrorMessagePipeModule } from '../../pipes';
|
|
9
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class SpecialCheckboxModule {
|
|
12
|
-
}
|
|
13
|
-
SpecialCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
-
SpecialCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SpecialCheckboxModule, declarations: [SpecialCheckboxComponent], imports: [FormsModule,
|
|
15
|
-
MatCheckboxModule,
|
|
16
|
-
CommonModule,
|
|
17
|
-
MatInputModule,
|
|
18
|
-
MatIconModule,
|
|
19
|
-
ReactiveFormsModule,
|
|
20
|
-
MatButtonModule,
|
|
21
|
-
ErrorMessagePipeModule], exports: [SpecialCheckboxComponent] });
|
|
22
|
-
SpecialCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialCheckboxModule, imports: [FormsModule,
|
|
23
|
-
MatCheckboxModule,
|
|
24
|
-
CommonModule,
|
|
25
|
-
MatInputModule,
|
|
26
|
-
MatIconModule,
|
|
27
|
-
ReactiveFormsModule,
|
|
28
|
-
MatButtonModule,
|
|
29
|
-
ErrorMessagePipeModule] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialCheckboxModule, decorators: [{
|
|
31
|
-
type: NgModule,
|
|
32
|
-
args: [{
|
|
33
|
-
declarations: [SpecialCheckboxComponent],
|
|
34
|
-
imports: [
|
|
35
|
-
FormsModule,
|
|
36
|
-
MatCheckboxModule,
|
|
37
|
-
CommonModule,
|
|
38
|
-
MatInputModule,
|
|
39
|
-
MatIconModule,
|
|
40
|
-
ReactiveFormsModule,
|
|
41
|
-
MatButtonModule,
|
|
42
|
-
ErrorMessagePipeModule
|
|
43
|
-
],
|
|
44
|
-
exports: [SpecialCheckboxComponent],
|
|
45
|
-
}]
|
|
46
|
-
}] });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BlY2lhbC1jaGVja2JveC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zcGVjaWFsLWZvcm1zL3NyYy9saWIvY29tcG9uZW50cy9zcGVjaWFsLWNoZWNrYm94L3NwZWNpYWwtY2hlY2tib3gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGFBQWE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