@seniorsistemas/angular-components 18.1.0-feature-sds-276-69157a05 → 18.1.0-feature-sds-276-a92584d0
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/dynamic-form/dynamic-form/components/grid/row/row.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/components/lookup/lookup.component.d.ts +4 -4
- package/dynamic-form/dynamic-form/components/structure/fieldset/fieldset.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/components/structure/section/section.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/dynamic-form.component.d.ts +12 -1
- package/dynamic-form/dynamic-form/dynamic-form.d.ts +3 -7
- package/dynamic-form/dynamic-form/dynamic-form.directive.d.ts +1 -1
- package/dynamic-form/dynamic-form/dynamic-form.module.d.ts +6 -74
- package/dynamic-form/dynamic-form/form-field/fields/autocomplete/autocomplete-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/button-field/button-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/calendar/calendar-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/checkbox/checkbox-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/chips/chips-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/country-phone-picker/country-phone-picker-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/file-upload/file-upload-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/lookup/lookup-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/number/number-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/password/password-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/radio-button/radio-button-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/select/select-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/slider/slider-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/star-rating/star-rating-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/text/text-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/text-area/text-area-field.component.d.ts +1 -1
- package/dynamic-form/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.d.ts +1 -1
- package/dynamic-form/public-api.d.ts +3 -3
- package/esm2022/control-errors/lib/control-errors/control-errors.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/components/grid/row/row.component.mjs +11 -9
- package/esm2022/dynamic-form/dynamic-form/components/lookup/lookup.component.mjs +54 -27
- package/esm2022/dynamic-form/dynamic-form/components/structure/fieldset/fieldset.component.mjs +5 -4
- package/esm2022/dynamic-form/dynamic-form/components/structure/section/section.component.mjs +4 -4
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.component.mjs +15 -4
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.directive.mjs +6 -5
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.mjs +4 -8
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.module.mjs +6 -268
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/autocomplete-field.mjs +1 -1
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/field.mjs +1 -1
- package/esm2022/dynamic-form/dynamic-form/form-field/configurations/fields/lookup-field.mjs +1 -1
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/autocomplete/autocomplete-field.component.mjs +7 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.mjs +24 -11
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.mjs +9 -8
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.mjs +10 -7
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/button-field/button-field.component.mjs +4 -4
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/calendar/calendar-field.component.mjs +10 -8
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/checkbox/checkbox-field.component.mjs +5 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/chips/chips-field.component.mjs +11 -9
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/country-phone-picker/country-phone-picker-field.component.mjs +6 -4
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.mjs +11 -10
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/file-upload/file-upload-field.component.mjs +6 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/lookup/lookup-field.component.mjs +7 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/number/number-field.component.mjs +27 -12
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/password/password-field.component.mjs +22 -10
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/profile-picture/profile-picture-field.component.mjs +8 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/radio-button/radio-button-field.component.mjs +17 -9
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/select/select-field.component.mjs +7 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/slider/slider-field.component.mjs +8 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/star-rating/star-rating-field.component.mjs +6 -5
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/text/text-field.component.mjs +25 -11
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/text-area/text-area-field.component.mjs +8 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.mjs +8 -6
- package/esm2022/dynamic-form/public-api.mjs +10 -8
- package/esm2022/dynamic-form/src/optional-fields/editor/public-api.mjs +1 -18
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.mjs +3 -5
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dynamic-form-src-optional-fields-editor.mjs +0 -18
- package/fesm2022/seniorsistemas-angular-components-dynamic-form-src-optional-fields-editor.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +1871 -1995
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +7 -8
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -18,5 +18,5 @@ export declare class RowComponent implements BaseStructureComponentConfig {
|
|
|
18
18
|
size?: FieldSizeConfig;
|
|
19
19
|
}): string[];
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "s-row", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never,
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "s-row", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -9,12 +9,12 @@ import { Table } from 'primeng/table';
|
|
|
9
9
|
import { DefaultFilter } from './types/default-filter';
|
|
10
10
|
import { LabelOptions } from './types/label-options';
|
|
11
11
|
import { LoadingStateIndicators } from '@seniorsistemas/angular-components/loading-state';
|
|
12
|
-
import { CurrencyFieldConfig } from '../../form-field/configurations/fields/currency-field';
|
|
13
|
-
import { DynamicType } from '../../form-field/configurations/fields/field';
|
|
14
12
|
import { SelectFieldConfig } from '../../form-field/configurations/fields/select-field';
|
|
15
13
|
import { BignumberFieldConfig } from '../../form-field/configurations/fields/bignumber-field';
|
|
16
14
|
import { NumberFieldConfig } from '../../form-field/configurations/fields/number-field';
|
|
15
|
+
import { CurrencyFieldConfig } from '../../form-field/configurations/fields/currency-field';
|
|
17
16
|
import { TextFieldConfig } from '../../form-field/configurations/fields/text-field';
|
|
17
|
+
import { DynamicType } from '../../form-field/configurations/fields/field';
|
|
18
18
|
import { DynamicStructure } from '../../configurations/structure/structure';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class LookupComponent implements ControlValueAccessor, OnChanges, OnInit, OnDestroy {
|
|
@@ -106,7 +106,7 @@ export declare class LookupComponent implements ControlValueAccessor, OnChanges,
|
|
|
106
106
|
writeValue(value: any): void;
|
|
107
107
|
setDisabledState(disabled: boolean): void;
|
|
108
108
|
getFieldValue(obj: any, path: string): any;
|
|
109
|
-
getBadgeFromValue(value: unknown, field: SelectFieldConfig): Partial<Pick<import("
|
|
109
|
+
getBadgeFromValue(value: unknown, field: SelectFieldConfig): Partial<Pick<import("@seniorsistemas/angular-components/badge").BadgeComponent, "type" | "iconClass" | "color" | "iconPosition">> | undefined;
|
|
110
110
|
getLabelForValue(value: unknown, field: SelectFieldConfig): string;
|
|
111
111
|
isBooleanValue(obj: any, path: string): boolean;
|
|
112
112
|
getFieldWidth(col: any): any;
|
|
@@ -133,7 +133,7 @@ export declare class LookupComponent implements ControlValueAccessor, OnChanges,
|
|
|
133
133
|
private _setFocusFilter;
|
|
134
134
|
private _subscribeEvents;
|
|
135
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<LookupComponent, never>;
|
|
136
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LookupComponent, "s-lookup", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "id": { "alias": "id"; "required": false; }; "autocompleteForceSelection": { "alias": "autocompleteForceSelection"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "lookupSuggestions": { "alias": "lookupSuggestions"; "required": false; }; "lookupDisplayField": { "alias": "lookupDisplayField"; "required": false; }; "lookupDisplayFieldTooltip": { "alias": "lookupDisplayFieldTooltip"; "required": false; }; "lookupEmptyMessage": { "alias": "lookupEmptyMessage"; "required": false; }; "lookupAppendTo": { "alias": "lookupAppendTo"; "required": false; }; "searchEmptyDescription": { "alias": "searchEmptyDescription"; "required": false; }; "searchGridData": { "alias": "searchGridData"; "required": false; }; "searchTotalRecords": { "alias": "searchTotalRecords"; "required": false; }; "searchFields": { "alias": "searchFields"; "required": false; }; "searchGridFields": { "alias": "searchGridFields"; "required": false; }; "multiSortMeta": { "alias": "multiSortMeta"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "sortableColumnsDisabled": { "alias": "sortableColumnsDisabled"; "required": false; }; "lookupRowProps": { "alias": "lookupRowProps"; "required": false; }; "defaultFilter": { "alias": "defaultFilter"; "required": false; }; "showAddOption": { "alias": "showAddOption"; "required": false; }; "showEditOption": { "alias": "showEditOption"; "required": false; }; "showRemoveOption": { "alias": "showRemoveOption"; "required": false; }; "dialogFullScreen": { "alias": "dialogFullScreen"; "required": false; "isSignal": true; }; "labelOptions": { "alias": "labelOptions"; "required": false; }; }, { "onLookupRequest": "onLookupRequest"; "onSearchRequest": "onSearchRequest"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyUp": "onKeyUp"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onClear": "onClear"; "onAdd": "onAdd"; "onEdit": "onEdit"; "onRemove": "onRemove"; "onClearButtonClick": "onClearButtonClick"; }, never, never,
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LookupComponent, "s-lookup", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "id": { "alias": "id"; "required": false; }; "autocompleteForceSelection": { "alias": "autocompleteForceSelection"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "lookupSuggestions": { "alias": "lookupSuggestions"; "required": false; }; "lookupDisplayField": { "alias": "lookupDisplayField"; "required": false; }; "lookupDisplayFieldTooltip": { "alias": "lookupDisplayFieldTooltip"; "required": false; }; "lookupEmptyMessage": { "alias": "lookupEmptyMessage"; "required": false; }; "lookupAppendTo": { "alias": "lookupAppendTo"; "required": false; }; "searchEmptyDescription": { "alias": "searchEmptyDescription"; "required": false; }; "searchGridData": { "alias": "searchGridData"; "required": false; }; "searchTotalRecords": { "alias": "searchTotalRecords"; "required": false; }; "searchFields": { "alias": "searchFields"; "required": false; }; "searchGridFields": { "alias": "searchGridFields"; "required": false; }; "multiSortMeta": { "alias": "multiSortMeta"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "sortableColumnsDisabled": { "alias": "sortableColumnsDisabled"; "required": false; }; "lookupRowProps": { "alias": "lookupRowProps"; "required": false; }; "defaultFilter": { "alias": "defaultFilter"; "required": false; }; "showAddOption": { "alias": "showAddOption"; "required": false; }; "showEditOption": { "alias": "showEditOption"; "required": false; }; "showRemoveOption": { "alias": "showRemoveOption"; "required": false; }; "dialogFullScreen": { "alias": "dialogFullScreen"; "required": false; "isSignal": true; }; "labelOptions": { "alias": "labelOptions"; "required": false; }; }, { "onLookupRequest": "onLookupRequest"; "onSearchRequest": "onSearchRequest"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyUp": "onKeyUp"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onClear": "onClear"; "onAdd": "onAdd"; "onEdit": "onEdit"; "onRemove": "onRemove"; "onClearButtonClick": "onClearButtonClick"; }, never, never, true, never>;
|
|
137
137
|
static ngAcceptInputType_lookupAppendTo: string | undefined;
|
|
138
138
|
}
|
|
139
139
|
export interface BooleanOptionsLabelConfig {
|
|
@@ -8,5 +8,5 @@ export declare class FieldsetComponent implements BaseStructureComponentConfig {
|
|
|
8
8
|
group: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
9
9
|
errorMessages: import("@angular/core").InputSignal<any>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsetComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldsetComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldsetComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -10,5 +10,5 @@ export declare class SectionComponent implements BaseStructureComponentConfig {
|
|
|
10
10
|
get flexContainer(): boolean | undefined;
|
|
11
11
|
get configs(): (import("@seniorsistemas/angular-components/dynamic-form").DynamicType | import("@seniorsistemas/angular-components/dynamic-form").DynamicStructure)[];
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "s-section", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never,
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "s-section", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "group": { "alias": "group"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -14,6 +14,17 @@ export declare class DynamicFormComponent {
|
|
|
14
14
|
form: import("@angular/core").InputSignal<FormGroup<any>>;
|
|
15
15
|
errorMessages: import("@angular/core").InputSignal<any>;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "s-dynamic-form", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "configs": { "alias": "configs"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "s-dynamic-form", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "configs": { "alias": "configs"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": true; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Transforma uma lista plana de `DynamicType` em uma estrutura aninhada de campos.
|
|
21
|
+
* * Esta função encapsula os tipos dinâmicos dentro de um objeto de linha ('row'),
|
|
22
|
+
* permitindo que eles sejam consumidos por componentes que esperam a interface `DynamicStructure`.
|
|
23
|
+
*
|
|
24
|
+
* @param {DynamicType[]} dynamicTypes - Array de campos dinâmicos a serem processados.
|
|
25
|
+
* @returns {DynamicStructure} Retorna um array contendo um objeto de estrutura com a propriedade 'fields'.
|
|
26
|
+
* * @example
|
|
27
|
+
* const structure = formatToDynamicStructure(meusCampos);
|
|
28
|
+
* // Retorno esperado: [{ type: 'row', fields: [...] }]
|
|
29
|
+
*/
|
|
19
30
|
export declare const dynamicTypeToDynamicStructure: (dynamicTypes: DynamicType[]) => DynamicStructure[];
|
|
@@ -6,21 +6,18 @@ import { DynamicStructure as FieldDynamicStructure } from './configurations/stru
|
|
|
6
6
|
import { BaseFieldComponentConfig } from './form-field/fields/base-field-component';
|
|
7
7
|
export declare abstract class DynamicForm {
|
|
8
8
|
group: FormGroup;
|
|
9
|
-
errorMessages: any;
|
|
10
9
|
abstract createComponent(viewContainerRef: ViewContainerRef): any;
|
|
11
10
|
abstract updateVariables(component: ComponentRef<any>): void;
|
|
12
11
|
abstract getComponent(): any;
|
|
13
|
-
constructor({ group
|
|
12
|
+
constructor({ group }: {
|
|
14
13
|
group: FormGroup;
|
|
15
|
-
errorMessages: any;
|
|
16
14
|
});
|
|
17
15
|
}
|
|
18
16
|
export declare class DynamicField extends DynamicForm {
|
|
19
17
|
field: DynamicType;
|
|
20
|
-
constructor({ group, field
|
|
18
|
+
constructor({ group, field }: {
|
|
21
19
|
group: FormGroup;
|
|
22
20
|
field: DynamicType;
|
|
23
|
-
errorMessages: any;
|
|
24
21
|
});
|
|
25
22
|
createComponent(viewContainerRef: ViewContainerRef): ComponentRef<BaseFieldComponentConfig>;
|
|
26
23
|
updateVariables(component: ComponentRef<any>): void;
|
|
@@ -28,10 +25,9 @@ export declare class DynamicField extends DynamicForm {
|
|
|
28
25
|
}
|
|
29
26
|
export declare class DynamicStructure extends DynamicForm {
|
|
30
27
|
config: FieldDynamicStructure;
|
|
31
|
-
constructor({ group, config
|
|
28
|
+
constructor({ group, config }: {
|
|
32
29
|
group: FormGroup;
|
|
33
30
|
config: FieldDynamicStructure;
|
|
34
|
-
errorMessages: any;
|
|
35
31
|
});
|
|
36
32
|
createComponent(viewContainerRef: ViewContainerRef): ComponentRef<BaseStructureComponentConfig>;
|
|
37
33
|
updateVariables(component: ComponentRef<any>): void;
|
|
@@ -24,5 +24,5 @@ export declare class DynamicFormDirective implements OnInit, OnChanges, OnDestro
|
|
|
24
24
|
private isStructure;
|
|
25
25
|
private get getType();
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicFormDirective, "[sDynamicForm]", never, { "sDynamicForm": { "alias": "sDynamicForm"; "required": false; }; }, {}, never, never,
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicFormDirective, "[sDynamicForm]", never, { "sDynamicForm": { "alias": "sDynamicForm"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -1,79 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./form
|
|
6
|
-
import * as i5 from "./form
|
|
7
|
-
import * as i6 from "./form-field/fields/chips/chips-field.component";
|
|
8
|
-
import * as i7 from "./form-field/fields/country-phone-picker/country-phone-picker-field.component";
|
|
9
|
-
import * as i8 from "./dynamic-form.component";
|
|
10
|
-
import * as i9 from "./dynamic-form.directive";
|
|
11
|
-
import * as i10 from "./components/structure/fieldset/fieldset.component";
|
|
12
|
-
import * as i11 from "./components/lookup/lookup.component";
|
|
13
|
-
import * as i12 from "./form-field/fields/lookup/lookup-field.component";
|
|
14
|
-
import * as i13 from "./form-field/fields/radio-button/radio-button-field.component";
|
|
15
|
-
import * as i14 from "./components/grid/row/row.component";
|
|
16
|
-
import * as i15 from "./components/structure/section/section.component";
|
|
17
|
-
import * as i16 from "./form-field/fields/select/select-field.component";
|
|
18
|
-
import * as i17 from "./form-field/fields/slider/slider-field.component";
|
|
19
|
-
import * as i18 from "./form-field/fields/text-area/text-area-field.component";
|
|
20
|
-
import * as i19 from "./form-field/fields/text-area-ia/text-area-ia-field.component";
|
|
21
|
-
import * as i20 from "./form-field/fields/button-field/button-field.component";
|
|
22
|
-
import * as i21 from "./form-field/fields/text/text-field.component";
|
|
23
|
-
import * as i22 from "./form-field/fields/bignumber/bignumber-field.component";
|
|
24
|
-
import * as i23 from "./form-field/fields/profile-picture/profile-picture-field.component";
|
|
25
|
-
import * as i24 from "./form-field/fields/password/password-field.component";
|
|
26
|
-
import * as i25 from "./form-field/fields/number/number-field.component";
|
|
27
|
-
import * as i26 from "./form-field/fields/currency/currency-field.component";
|
|
28
|
-
import * as i27 from "./form-field/fields/checkbox/checkbox-field.component";
|
|
29
|
-
import * as i28 from "./form-field/fields/star-rating/star-rating-field.component";
|
|
30
|
-
import * as i29 from "primeng/autocomplete";
|
|
31
|
-
import * as i30 from "@seniorsistemas/angular-components/badge";
|
|
32
|
-
import * as i31 from "@seniorsistemas/angular-components/bignumber-input";
|
|
33
|
-
import * as i32 from "@seniorsistemas/angular-components/button";
|
|
34
|
-
import * as i33 from "@seniorsistemas/angular-components/calendar-mask";
|
|
35
|
-
import * as i34 from "@seniorsistemas/angular-components/chips";
|
|
36
|
-
import * as i35 from "@angular/common";
|
|
37
|
-
import * as i36 from "@seniorsistemas/angular-components/control-errors";
|
|
38
|
-
import * as i37 from "@seniorsistemas/angular-components/country-phone-picker";
|
|
39
|
-
import * as i38 from "@seniorsistemas/angular-components/dialog";
|
|
40
|
-
import * as i39 from "@seniorsistemas/angular-components/empty-state";
|
|
41
|
-
import * as i40 from "@angular/forms";
|
|
42
|
-
import * as i41 from "angular2-hotkeys";
|
|
43
|
-
import * as i42 from "primeng/inputmask";
|
|
44
|
-
import * as i43 from "primeng/inputtext";
|
|
45
|
-
import * as i44 from "primeng/keyfilter";
|
|
46
|
-
import * as i45 from "@seniorsistemas/angular-components/loading-state";
|
|
47
|
-
import * as i46 from "@seniorsistemas/angular-components/locale";
|
|
48
|
-
import * as i47 from "@seniorsistemas/angular-components/localized-number-input";
|
|
49
|
-
import * as i48 from "primeng/panel";
|
|
50
|
-
import * as i49 from "primeng/button";
|
|
51
|
-
import * as i50 from "primeng/table";
|
|
52
|
-
import * as i51 from "@seniorsistemas/angular-components/tooltip";
|
|
53
|
-
import * as i52 from "@seniorsistemas/angular-components/fieldset";
|
|
54
|
-
import * as i53 from "@seniorsistemas/angular-components/table-header";
|
|
55
|
-
import * as i54 from "@seniorsistemas/angular-components/file-upload";
|
|
56
|
-
import * as i55 from "@seniorsistemas/angular-components/info-sign";
|
|
57
|
-
import * as i56 from "@seniorsistemas/angular-components/mask";
|
|
58
|
-
import * as i57 from "@seniorsistemas/angular-components/mouse-events";
|
|
59
|
-
import * as i58 from "@seniorsistemas/angular-components/switch";
|
|
60
|
-
import * as i59 from "@seniorsistemas/angular-components/password-strength";
|
|
61
|
-
import * as i60 from "@seniorsistemas/angular-components/slider";
|
|
62
|
-
import * as i61 from "primeng/datepicker";
|
|
63
|
-
import * as i62 from "@ngx-translate/core";
|
|
64
|
-
import * as i63 from "primeng/multiselect";
|
|
65
|
-
import * as i64 from "@seniorsistemas/angular-components/profile-picture-picker";
|
|
66
|
-
import * as i65 from "@seniorsistemas/angular-components/number-input";
|
|
67
|
-
import * as i66 from "@seniorsistemas/angular-components/checkbox-list";
|
|
68
|
-
import * as i67 from "@seniorsistemas/angular-components/text-area-ia";
|
|
69
|
-
import * as i68 from "@seniorsistemas/angular-components/text-area";
|
|
70
|
-
import * as i69 from "@seniorsistemas/angular-components/star-rating";
|
|
71
|
-
import * as i70 from "@seniorsistemas/angular-components/select";
|
|
72
|
-
import * as i71 from "@seniorsistemas/angular-components/template";
|
|
73
|
-
import * as i72 from "@seniorsistemas/angular-components/radio-button";
|
|
74
|
-
import * as i73 from "./components/field-label/field-label.component";
|
|
2
|
+
import * as i1 from "@seniorsistemas/angular-components/badge";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "./components/field-label/field-label.component";
|
|
5
|
+
import * as i4 from "./dynamic-form.directive";
|
|
6
|
+
import * as i5 from "./dynamic-form.component";
|
|
75
7
|
export declare class DynamicFormModule {
|
|
76
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormModule, never>;
|
|
77
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFormModule, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFormModule, never, [typeof i1.BadgeModule, typeof i2.CommonModule, typeof i3.FieldLabelComponent, typeof i4.DynamicFormDirective, typeof i5.DynamicFormComponent], [typeof i5.DynamicFormComponent, typeof i4.DynamicFormDirective]>;
|
|
78
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicFormModule>;
|
|
79
11
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/autocomplete/autocomplete-field.component.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export declare class AutocompleteFieldComponent implements BaseFieldComponentCon
|
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
private setInputRef;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteFieldComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
20
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.d.ts
CHANGED
|
@@ -23,5 +23,5 @@ export declare class BignumberFieldComponent implements OnInit, AfterViewInit, O
|
|
|
23
23
|
private onLocaleService;
|
|
24
24
|
private onScale;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<BignumberFieldComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BignumberFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never,
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BignumberFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never, true, never>;
|
|
27
27
|
}
|
|
@@ -7,5 +7,5 @@ export declare class BooleanFieldComponent implements BaseFieldComponentConfig {
|
|
|
7
7
|
formControl: import("@angular/core").InputSignal<FormControl<any>>;
|
|
8
8
|
onClear(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFieldComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -6,5 +6,5 @@ export declare class BooleanSwitchFieldComponent implements BaseFieldComponentCo
|
|
|
6
6
|
field: import("@angular/core").InputSignal<BooleanSwitchFieldConfig>;
|
|
7
7
|
formControl: import("@angular/core").InputSignal<FormControl<any>>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanSwitchFieldComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanSwitchFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanSwitchFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/button-field/button-field.component.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export declare class ButtonFieldComponent implements BaseFieldComponentConfig {
|
|
|
7
7
|
handleMouseEnter(): void;
|
|
8
8
|
handleMouseLeave(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonFieldComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonFieldComponent, "s-button-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonFieldComponent, "s-button-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -31,5 +31,5 @@ export declare class CalendarFieldComponent implements BaseFieldComponentConfig,
|
|
|
31
31
|
get timeOnly(): boolean;
|
|
32
32
|
get showTime(): boolean;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarFieldComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
35
|
}
|
|
@@ -6,5 +6,5 @@ export declare class CheckboxFieldComponent implements BaseFieldComponentConfig
|
|
|
6
6
|
field: import("@angular/core").InputSignal<CheckboxFieldConfig>;
|
|
7
7
|
formControl: import("@angular/core").InputSignal<FormControl<any>>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFieldComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -18,5 +18,5 @@ export declare class ChipsFieldComponent implements BaseFieldComponentConfig, Af
|
|
|
18
18
|
ngAfterViewInit(): void;
|
|
19
19
|
private setInputRef;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsFieldComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -10,5 +10,5 @@ export declare class CountryPhonePickerFieldComponent implements BaseFieldCompon
|
|
|
10
10
|
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
11
11
|
ngAfterViewInit(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CountryPhonePickerFieldComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CountryPhonePickerFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CountryPhonePickerFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -660,5 +660,5 @@ export declare class CurrencyFieldComponent implements BaseFieldComponentConfig,
|
|
|
660
660
|
private onLocaleService;
|
|
661
661
|
parseAlignTo(field: CurrencyFieldConfig): NumberAlignmentOption;
|
|
662
662
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyFieldComponent, never>;
|
|
663
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
663
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
664
664
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/file-upload/file-upload-field.component.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export declare class FileUploadFieldComponent implements BaseFieldComponentConfi
|
|
|
16
16
|
private setInputRef;
|
|
17
17
|
private dispatchFocusInputRef;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadFieldComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -14,5 +14,5 @@ export declare class LookupFieldComponent implements BaseFieldComponentConfig, O
|
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
private setLookupData;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<LookupFieldComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LookupFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LookupFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -26,5 +26,5 @@ export declare class NumberFieldComponent implements OnInit, OnDestroy, BaseFiel
|
|
|
26
26
|
private onLocaleService;
|
|
27
27
|
private setInputRef;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFieldComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never,
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never, true, never>;
|
|
30
30
|
}
|
|
@@ -20,5 +20,5 @@ export declare class PasswordFieldComponent implements OnInit, AfterViewInit, On
|
|
|
20
20
|
onChangeVisible(): void;
|
|
21
21
|
ngAfterViewInit(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordFieldComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -6,5 +6,5 @@ export declare class ProfilePictureFieldComponent implements BaseFieldComponentC
|
|
|
6
6
|
field: import("@angular/core").InputSignal<ProfilePictureConfig>;
|
|
7
7
|
formControl: import("@angular/core").InputSignal<FormControl<any>>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePictureFieldComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePictureFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePictureFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/radio-button/radio-button-field.component.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export declare class RadioButtonFieldComponent implements OnInit, OnDestroy, Bas
|
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
onClear(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonFieldComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; }, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; }, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -8,5 +8,5 @@ export declare class SelectFieldComponent implements BaseFieldComponentConfig {
|
|
|
8
8
|
formControl: import("@angular/core").InputSignal<FormControl<any>>;
|
|
9
9
|
fieldUtils: FormFieldUtilsService;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -19,5 +19,5 @@ export declare class SliderFieldComponent implements OnInit, OnDestroy, BaseFiel
|
|
|
19
19
|
private getNonRangeLabel;
|
|
20
20
|
get label(): string;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderFieldComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliderFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onChange": "onChange"; "onSlideEnd": "onSlideEnd"; }, never, never,
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onChange": "onChange"; "onSlideEnd": "onSlideEnd"; }, never, never, true, never>;
|
|
23
23
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/star-rating/star-rating-field.component.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export declare class StarRatingFieldComponent implements BaseFieldComponentConfi
|
|
|
7
7
|
formControl: import("@angular/core").InputSignal<FormControl<any>>;
|
|
8
8
|
onValueChange(newValue: number): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<StarRatingFieldComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StarRatingFieldComponent, "s-star-rating-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StarRatingFieldComponent, "s-star-rating-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -21,5 +21,5 @@ export declare class TextFieldComponent implements OnInit, AfterViewInit, OnDest
|
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
get inputElement(): any;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never,
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onComplete": "onComplete"; }, never, never, true, never>;
|
|
25
25
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/text-area/text-area-field.component.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export declare class TextAreaFieldComponent implements BaseFieldComponentConfig,
|
|
|
14
14
|
ngAfterViewInit(): void;
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaFieldComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
package/dynamic-form/dynamic-form/form-field/fields/text-area-ia/text-area-ia-field.component.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export declare class TextAreaIAFieldComponent implements BaseFieldComponentConfi
|
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaIAFieldComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaIAFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaIAFieldComponent, "ng-component", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type { BaseFieldComponentConfig } from './dynamic-form/form-field/fields/base-field-component';
|
|
2
2
|
export { FieldLabelComponent } from './dynamic-form/components/field-label/field-label.component';
|
|
3
|
+
export { LookupComponent } from './dynamic-form/components/lookup/lookup.component';
|
|
3
4
|
export * from './dynamic-form/dynamic-form.component';
|
|
4
5
|
export * from './dynamic-form/dynamic-form.directive';
|
|
5
6
|
export * from './dynamic-form/dynamic-form.module';
|
|
6
7
|
export * from './dynamic-form/form-field/configurations/fields/text-area-field';
|
|
7
8
|
export { type ExpandedDynamicType } from './dynamic-form/configurations/structure/row';
|
|
8
|
-
export { type AutocompleteFieldConfig } from './dynamic-form/form-field/configurations/fields/autocomplete-field';
|
|
9
9
|
export { type BignumberFieldConfig } from './dynamic-form/form-field/configurations/fields/bignumber-field';
|
|
10
10
|
export { type BlobFieldConfig } from './dynamic-form/form-field/configurations/fields/blob-field';
|
|
11
11
|
export { type BooleanFieldConfig, type BooleanOptionsLabelConfig, } from './dynamic-form/form-field/configurations/fields/boolean-field';
|
|
@@ -16,8 +16,9 @@ export { type CheckboxFieldConfig } from './dynamic-form/form-field/configuratio
|
|
|
16
16
|
export { type ChipsFieldConfig } from './dynamic-form/form-field/configurations/fields/chips-field';
|
|
17
17
|
export { type CountryPhonePickerConfig } from './dynamic-form/form-field/configurations/fields/country-phone-picker-field';
|
|
18
18
|
export { type CurrencyFieldConfig } from './dynamic-form/form-field/configurations/fields/currency-field';
|
|
19
|
-
export { type DefaultFilter, type LookupFieldConfig, type SearchObservable, } from './dynamic-form/form-field/configurations/fields/lookup-field';
|
|
20
19
|
export { type NumberFieldConfig } from './dynamic-form/form-field/configurations/fields/number-field';
|
|
20
|
+
export type { AutocompleteFieldConfig } from './dynamic-form/form-field/configurations/fields/autocomplete-field';
|
|
21
|
+
export type { DefaultFilter, LookupFieldConfig, SearchObservable, } from './dynamic-form/form-field/configurations/fields/lookup-field';
|
|
21
22
|
export { type PasswordFieldConfig, type PasswordStrengthOptions, } from './dynamic-form/form-field/configurations/fields/password-field';
|
|
22
23
|
export { type ProfilePictureConfig } from './dynamic-form/form-field/configurations/fields/profile-picture';
|
|
23
24
|
export { RationButtonOption, type RadioButtonFieldConfig, } from './dynamic-form/form-field/configurations/fields/radio-button-field';
|
|
@@ -29,7 +30,6 @@ export { type TextAreaIAFieldConfig } from './dynamic-form/form-field/configurat
|
|
|
29
30
|
export { type TextFieldConfig } from './dynamic-form/form-field/configurations/fields/text-field';
|
|
30
31
|
export { FieldSize } from './dynamic-form/form-field/configurations/field-size';
|
|
31
32
|
export { NumberFieldComponent } from './dynamic-form/form-field/fields/number/number-field.component';
|
|
32
|
-
export { LookupComponent } from './dynamic-form/components/lookup/lookup.component';
|
|
33
33
|
export type { DynamicType, FieldConfig, FieldType, FieldTypeMap, } from './dynamic-form/form-field/configurations/fields/field';
|
|
34
34
|
export type { DynamicStructure, StructureType } from './dynamic-form/configurations/structure/structure';
|
|
35
35
|
export { FormDynamicRegistry } from './dynamic-form/configurations/registry';
|
|
@@ -16,8 +16,8 @@ export class ControlErrorsComponent {
|
|
|
16
16
|
errorMessagesList = [];
|
|
17
17
|
onDestroy$ = new Subject();
|
|
18
18
|
ngOnChanges(changes) {
|
|
19
|
-
if (changes['control'] && changes['control'].firstChange
|
|
20
|
-
this.control
|
|
19
|
+
if (changes['control'] && changes['control'].firstChange) {
|
|
20
|
+
this.control?.valueChanges?.pipe(takeUntil(this.onDestroy$)).subscribe(() => this.setErrorMessagesList());
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
setErrorMessagesList() {
|
|
@@ -49,4 +49,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
49
49
|
}], form: [{
|
|
50
50
|
type: Input
|
|
51
51
|
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC1lcnJvcnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL2NvbnRyb2wtZXJyb3JzL3NyYy9saWIvY29udHJvbC1lcnJvcnMvY29udHJvbC1lcnJvcnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL2NvbnRyb2wtZXJyb3JzL3NyYy9saWIvY29udHJvbC1lcnJvcnMvY29udHJvbC1lcnJvcnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQXVDLE1BQU0sZUFBZSxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sTUFBTSxDQUFDOztBQVkxQyxNQUFNLE9BQU8sc0JBQXNCO0lBQ3hCLE1BQU0sQ0FBVSxVQUFVLEdBQUcsQ0FBQyxDQUFDO0lBQzlCLE1BQU0sQ0FBVSxtQkFBbUIsR0FBRyxDQUFDLENBQUM7SUFDeEMsTUFBTSxDQUFVLE9BQU8sR0FBRyxFQUFFLENBQUM7SUFFN0IsTUFBTSxDQUFDLE9BQU8sR0FBRyxzQkFBc0IsQ0FBQyxVQUF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