mapa-library-ui 0.16.2 → 0.16.4
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/esm2020/lib/core/elements/action-button.mjs +2 -0
- package/esm2020/lib/core/elements/element-base.mjs +2 -1
- package/esm2020/lib/core/elements/errors.mjs +1 -1
- package/esm2020/src/lib/components/capability/lib/components/dropdown/src/dropdown.component.mjs +8 -7
- package/esm2020/src/lib/components/capability/lib/components/dropdown/src/dropdown.module.mjs +9 -1
- package/esm2020/src/lib/components/capability/lib/core/elements/action-button.mjs +2 -0
- package/esm2020/src/lib/components/capability/lib/core/elements/element-base.mjs +2 -1
- package/esm2020/src/lib/components/capability/lib/core/elements/errors.mjs +1 -1
- package/esm2020/src/lib/components/chart/lib/components/button/public-api.mjs +6 -0
- package/esm2020/src/lib/components/chart/lib/components/button/src/button.component.mjs +23 -0
- package/esm2020/src/lib/components/chart/lib/components/button/src/button.module.mjs +19 -0
- package/esm2020/src/lib/components/chart/lib/components/dropdown/src/dropdown.component.mjs +8 -7
- package/esm2020/src/lib/components/chart/lib/components/dropdown/src/dropdown.module.mjs +9 -1
- package/esm2020/src/lib/components/chart/lib/core/elements/action-button.mjs +2 -0
- package/esm2020/src/lib/components/chart/lib/core/elements/element-base.mjs +2 -1
- package/esm2020/src/lib/components/chart/lib/core/elements/errors.mjs +1 -1
- package/esm2020/src/lib/components/dropdown/lib/components/button/public-api.mjs +6 -0
- package/esm2020/src/lib/components/dropdown/lib/components/button/src/button.component.mjs +23 -0
- package/esm2020/src/lib/components/dropdown/lib/components/button/src/button.module.mjs +19 -0
- package/esm2020/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.component.mjs +8 -7
- package/esm2020/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.module.mjs +9 -1
- package/esm2020/src/lib/components/dropdown/lib/core/elements/action-button.mjs +2 -0
- package/esm2020/src/lib/components/dropdown/lib/core/elements/element-base.mjs +2 -1
- package/esm2020/src/lib/components/dropdown/lib/core/elements/errors.mjs +1 -1
- package/esm2020/src/lib/components/form/form.mjs +9 -0
- package/esm2020/src/lib/components/form/lib/components/button/public-api.mjs +6 -0
- package/esm2020/src/lib/components/form/lib/components/button/src/button.component.mjs +23 -0
- package/esm2020/src/lib/components/form/lib/components/button/src/button.module.mjs +19 -0
- package/esm2020/src/lib/components/form/lib/components/form/public-api.mjs +6 -0
- package/esm2020/src/lib/components/form/lib/components/form/src/form.component.mjs +29 -0
- package/esm2020/src/lib/components/form/lib/components/form/src/form.module.mjs +31 -0
- package/esm2020/src/lib/components/form/lib/components/input/public-api.mjs +6 -0
- package/esm2020/src/lib/components/form/lib/components/input/src/input.component.mjs +38 -0
- package/esm2020/src/lib/components/form/lib/components/input/src/input.module.mjs +50 -0
- package/esm2020/src/lib/components/form/lib/components/radio-button/public-api.mjs +6 -0
- package/esm2020/src/lib/components/form/lib/components/radio-button/src/radio-button.component.mjs +31 -0
- package/esm2020/src/lib/components/form/lib/components/radio-button/src/radio-button.module.mjs +35 -0
- package/esm2020/src/lib/components/form/lib/components/textarea/public-api.mjs +6 -0
- package/esm2020/src/lib/components/form/lib/components/textarea/src/textarea.component.mjs +20 -0
- package/esm2020/src/lib/components/form/lib/components/textarea/src/textarea.module.mjs +43 -0
- package/esm2020/src/lib/components/form/lib/core/elements/action-button.mjs +2 -0
- package/esm2020/src/lib/components/form/lib/core/elements/element-base.mjs +27 -0
- package/esm2020/src/lib/components/form/lib/core/elements/element-search.mjs +2 -0
- package/esm2020/src/lib/components/form/lib/core/elements/errors.mjs +2 -0
- package/esm2020/src/lib/components/form/lib/core/elements/textarea.mjs +8 -0
- package/esm2020/src/lib/components/form/lib/core/interfaces/element-group.interface.mjs +2 -0
- package/esm2020/src/lib/components/form/lib/core/interfaces/element-option.interface.mjs +2 -0
- package/esm2020/src/lib/components/form/mapa-library-ui-src-lib-components-form.mjs +5 -0
- package/esm2020/src/lib/components/input/src/input.component.mjs +7 -6
- package/esm2020/src/lib/components/input/src/input.module.mjs +20 -16
- package/esm2020/src/lib/components/radio-button/lib/core/elements/action-button.mjs +2 -0
- package/esm2020/src/lib/components/radio-button/lib/core/elements/element-base.mjs +2 -1
- package/esm2020/src/lib/components/radio-button/lib/core/elements/errors.mjs +1 -1
- package/esm2020/src/lib/components/textarea/lib/core/elements/action-button.mjs +2 -0
- package/esm2020/src/lib/components/textarea/lib/core/elements/element-base.mjs +2 -1
- package/esm2020/src/lib/components/textarea/lib/core/elements/errors.mjs +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs +15 -8
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-chart.mjs +53 -7
- package/fesm2015/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs +54 -7
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-form.mjs +309 -0
- package/fesm2015/mapa-library-ui-src-lib-components-form.mjs.map +1 -0
- package/fesm2015/mapa-library-ui-src-lib-components-input.mjs +17 -12
- package/fesm2015/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
- package/fesm2015/mapa-library-ui.mjs +1 -0
- package/fesm2015/mapa-library-ui.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs +15 -8
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-chart.mjs +53 -7
- package/fesm2020/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs +54 -7
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-form.mjs +309 -0
- package/fesm2020/mapa-library-ui-src-lib-components-form.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-input.mjs +17 -12
- package/fesm2020/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
- package/fesm2020/mapa-library-ui.mjs +1 -0
- package/fesm2020/mapa-library-ui.mjs.map +1 -1
- package/lib/core/elements/action-button.d.ts +5 -0
- package/lib/core/elements/element-base.d.ts +3 -0
- package/lib/core/elements/errors.d.ts +5 -0
- package/mapa-library-ui-0.16.4.tgz +0 -0
- package/package.json +9 -1
- package/src/lib/components/capability/lib/components/dropdown/src/dropdown.module.d.ts +7 -5
- package/src/lib/components/capability/lib/core/elements/action-button.d.ts +5 -0
- package/src/lib/components/capability/lib/core/elements/element-base.d.ts +3 -0
- package/src/lib/components/capability/lib/core/elements/errors.d.ts +5 -0
- package/src/lib/components/chart/lib/components/button/public-api.d.ts +2 -0
- package/src/lib/components/chart/lib/components/button/src/button.component.d.ts +10 -0
- package/src/lib/components/chart/lib/components/button/src/button.module.d.ts +9 -0
- package/src/lib/components/chart/lib/components/dropdown/src/dropdown.module.d.ts +7 -5
- package/src/lib/components/chart/lib/core/elements/action-button.d.ts +5 -0
- package/src/lib/components/chart/lib/core/elements/element-base.d.ts +3 -0
- package/src/lib/components/chart/lib/core/elements/errors.d.ts +5 -0
- package/src/lib/components/dropdown/lib/components/button/public-api.d.ts +2 -0
- package/src/lib/components/dropdown/lib/components/button/src/button.component.d.ts +10 -0
- package/src/lib/components/dropdown/lib/components/button/src/button.module.d.ts +9 -0
- package/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.module.d.ts +7 -5
- package/src/lib/components/dropdown/lib/core/elements/action-button.d.ts +5 -0
- package/src/lib/components/dropdown/lib/core/elements/element-base.d.ts +3 -0
- package/src/lib/components/dropdown/lib/core/elements/errors.d.ts +5 -0
- package/src/lib/components/form/form.d.ts +5 -0
- package/src/lib/components/form/index.d.ts +5 -0
- package/src/lib/components/form/lib/components/button/public-api.d.ts +2 -0
- package/src/lib/components/form/lib/components/button/src/button.component.d.ts +10 -0
- package/src/lib/components/form/lib/components/button/src/button.module.d.ts +9 -0
- package/src/lib/components/form/lib/components/form/public-api.d.ts +2 -0
- package/src/lib/components/form/lib/components/form/src/form.component.d.ts +11 -0
- package/src/lib/components/form/lib/components/form/src/form.module.d.ts +12 -0
- package/src/lib/components/form/lib/components/input/public-api.d.ts +2 -0
- package/src/lib/components/form/lib/components/input/src/input.component.d.ts +15 -0
- package/src/lib/components/form/lib/components/input/src/input.module.d.ts +15 -0
- package/src/lib/components/form/lib/components/radio-button/public-api.d.ts +2 -0
- package/src/lib/components/form/lib/components/radio-button/src/radio-button.component.d.ts +17 -0
- package/src/lib/components/form/lib/components/radio-button/src/radio-button.module.d.ts +11 -0
- package/src/lib/components/form/lib/components/textarea/public-api.d.ts +2 -0
- package/src/lib/components/form/lib/components/textarea/src/textarea.component.d.ts +9 -0
- package/src/lib/components/form/lib/components/textarea/src/textarea.module.d.ts +12 -0
- package/src/lib/components/form/lib/core/elements/action-button.d.ts +5 -0
- package/src/lib/components/form/lib/core/elements/element-base.d.ts +53 -0
- package/src/lib/components/form/lib/core/elements/element-search.d.ts +6 -0
- package/src/lib/components/form/lib/core/elements/errors.d.ts +12 -0
- package/src/lib/components/form/lib/core/elements/textarea.d.ts +4 -0
- package/src/lib/components/form/lib/core/interfaces/element-group.interface.d.ts +5 -0
- package/src/lib/components/form/lib/core/interfaces/element-option.interface.d.ts +4 -0
- package/src/lib/components/input/src/input.module.d.ts +6 -4
- package/src/lib/components/radio-button/lib/core/elements/action-button.d.ts +5 -0
- package/src/lib/components/radio-button/lib/core/elements/element-base.d.ts +3 -0
- package/src/lib/components/radio-button/lib/core/elements/errors.d.ts +5 -0
- package/src/lib/components/textarea/lib/core/elements/action-button.d.ts +5 -0
- package/src/lib/components/textarea/lib/core/elements/element-base.d.ts +3 -0
- package/src/lib/components/textarea/lib/core/elements/errors.d.ts +5 -0
- package/mapa-library-ui-0.16.2.tgz +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementGroup } from "../interfaces/element-group.interface";
|
|
2
2
|
import { ElementOption } from "../interfaces/element-option.interface";
|
|
3
|
+
import { ActionButton } from "./action-button";
|
|
3
4
|
import { ElementSearch } from "./element-search";
|
|
4
5
|
import { Errors } from "./errors";
|
|
5
6
|
export declare class ElementBase {
|
|
@@ -24,6 +25,7 @@ export declare class ElementBase {
|
|
|
24
25
|
search?: ElementSearch;
|
|
25
26
|
maxLength: string | number | null;
|
|
26
27
|
errors?: Errors;
|
|
28
|
+
actionButton?: ActionButton;
|
|
27
29
|
constructor(options?: {
|
|
28
30
|
value?: string;
|
|
29
31
|
key?: string;
|
|
@@ -46,5 +48,6 @@ export declare class ElementBase {
|
|
|
46
48
|
search?: ElementSearch;
|
|
47
49
|
maxLength?: string | number | null;
|
|
48
50
|
errors?: Errors;
|
|
51
|
+
actionButton?: ActionButton;
|
|
49
52
|
});
|
|
50
53
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './lib/components/button/public-api';
|
|
2
|
+
export * from './lib/components/input/public-api';
|
|
3
|
+
export * from './lib/components/radio-button/public-api';
|
|
4
|
+
export * from './lib/components/textarea/public-api';
|
|
5
|
+
export * from './lib/components/form/public-api';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonComponent {
|
|
4
|
+
color: 'primary' | 'accent' | 'basic' | null | undefined;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
clicked: EventEmitter<void>;
|
|
7
|
+
onClick(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "mapa-button", never, { "color": "color"; "disabled": "disabled"; }, { "clicked": "clicked"; }, never, ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/button";
|
|
5
|
+
export declare class MapaButtonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaButtonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapaButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule], [typeof i1.ButtonComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MapaButtonModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { ElementBase, ElementOption } from 'mapa-library-ui';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MapaFormComponent {
|
|
5
|
+
formGroup: FormGroup;
|
|
6
|
+
elements: ElementBase[];
|
|
7
|
+
getFormControl(element: ElementBase): FormControl<any>;
|
|
8
|
+
onOptionSelected(optionValue: ElementOption): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaFormComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapaFormComponent, "mapa-form", never, { "formGroup": "formGroup"; "elements": "elements"; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "mapa-library-ui/src/lib/components/input";
|
|
5
|
+
import * as i4 from "mapa-library-ui/src/lib/components/dropdown";
|
|
6
|
+
import * as i5 from "mapa-library-ui/src/lib/components/radio-button";
|
|
7
|
+
import * as i6 from "mapa-library-ui/src/lib/components/textarea";
|
|
8
|
+
export declare class MapaFormModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaFormModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapaFormModule, [typeof i1.MapaFormComponent], [typeof i2.CommonModule, typeof i3.MapaInputModule, typeof i4.MapaDropdownModule, typeof i5.MapaRadioButtonModule, typeof i6.MapaTextareaModule], [typeof i1.MapaFormComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MapaFormModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { InputText } from 'mapa-library-ui';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MapaInputComponent {
|
|
6
|
+
formControl: FormControl;
|
|
7
|
+
element: InputText;
|
|
8
|
+
type: string;
|
|
9
|
+
suffix: EventEmitter<any>;
|
|
10
|
+
hasValue(): boolean;
|
|
11
|
+
clearValue(): void;
|
|
12
|
+
suffixEmit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaInputComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapaInputComponent, "mapa-input", never, { "formControl": "formControl"; "element": "element"; "type": "type"; }, { "suffix": "suffix"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/form-field";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "mapa-library-ui/src/lib/components/button";
|
|
8
|
+
import * as i7 from "@angular/material/input";
|
|
9
|
+
import * as i8 from "@angular/material/icon";
|
|
10
|
+
import * as i9 from "mapa-library-ui";
|
|
11
|
+
export declare class MapaInputModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaInputModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapaInputModule, [typeof i1.MapaInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatFormFieldModule, typeof i5.MatButtonModule, typeof i6.MapaButtonModule, typeof i7.MatInputModule, typeof i8.MatIconModule, typeof i9.MatInputAutosizeDirective], [typeof i1.MapaInputComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MapaInputModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { ElementOption } from '../../../core/interfaces/element-option.interface';
|
|
4
|
+
import { ElementBase } from '../../../core/elements/element-base';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RadioButtonComponent implements OnInit {
|
|
7
|
+
formControl: FormControl;
|
|
8
|
+
element: ElementBase;
|
|
9
|
+
optionSelected: EventEmitter<ElementOption>;
|
|
10
|
+
selectedOption: ElementOption;
|
|
11
|
+
options: ElementOption[];
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onChange(optionValue: ElementOption): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "mapa-radio-button", never, { "formControl": "formControl"; "element": "element"; }, { "optionSelected": "optionSelected"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./radio-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/radio";
|
|
6
|
+
import * as i5 from "@angular/material/form-field";
|
|
7
|
+
export declare class MapaRadioButtonModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaRadioButtonModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapaRadioButtonModule, [typeof i1.RadioButtonComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatRadioModule, typeof i5.MatFormFieldModule], [typeof i1.RadioButtonComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MapaRadioButtonModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { Textarea } from '../../../core/elements/textarea';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MapaTextareaComponent {
|
|
5
|
+
formControl: FormControl;
|
|
6
|
+
element: Textarea;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaTextareaComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapaTextareaComponent, "mapa-textarea", never, { "formControl": "formControl"; "element": "element"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./textarea.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/form-field";
|
|
6
|
+
import * as i5 from "@angular/material/input";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
export declare class MapaTextareaModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaTextareaModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapaTextareaModule, [typeof i1.MapaTextareaComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.MatIconModule], [typeof i1.MapaTextareaComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MapaTextareaModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ElementGroup } from "../interfaces/element-group.interface";
|
|
2
|
+
import { ElementOption } from "../interfaces/element-option.interface";
|
|
3
|
+
import { ActionButton } from "./action-button";
|
|
4
|
+
import { ElementSearch } from "./element-search";
|
|
5
|
+
import { Errors } from "./errors";
|
|
6
|
+
export declare class ElementBase {
|
|
7
|
+
value: string;
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
required: boolean;
|
|
11
|
+
order: number;
|
|
12
|
+
controlType: string;
|
|
13
|
+
type: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
hint?: string;
|
|
16
|
+
prefix?: string;
|
|
17
|
+
suffix?: string;
|
|
18
|
+
autosize?: boolean;
|
|
19
|
+
autosizeMinWidth?: string;
|
|
20
|
+
autosizeMaxWidth?: string;
|
|
21
|
+
autosizeMinRow?: number;
|
|
22
|
+
autosizeMaxRow?: number;
|
|
23
|
+
options: ElementOption[] | ElementGroup[];
|
|
24
|
+
multiple?: boolean;
|
|
25
|
+
search?: ElementSearch;
|
|
26
|
+
maxLength: string | number | null;
|
|
27
|
+
errors?: Errors;
|
|
28
|
+
actionButton?: ActionButton;
|
|
29
|
+
constructor(options?: {
|
|
30
|
+
value?: string;
|
|
31
|
+
key?: string;
|
|
32
|
+
label?: string;
|
|
33
|
+
required?: boolean;
|
|
34
|
+
order?: number;
|
|
35
|
+
controlType?: string;
|
|
36
|
+
type?: string;
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
hint?: string;
|
|
39
|
+
prefix?: string;
|
|
40
|
+
suffix?: string;
|
|
41
|
+
autosize?: boolean;
|
|
42
|
+
autosizeMinWidth?: string;
|
|
43
|
+
autosizeMaxWidth?: string;
|
|
44
|
+
autosizeMinRow?: number;
|
|
45
|
+
autosizeMaxRow?: number;
|
|
46
|
+
options?: ElementOption[] | ElementGroup[];
|
|
47
|
+
multiple?: boolean;
|
|
48
|
+
search?: ElementSearch;
|
|
49
|
+
maxLength?: string | number | null;
|
|
50
|
+
errors?: Errors;
|
|
51
|
+
actionButton?: ActionButton;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -3,11 +3,13 @@ import * as i1 from "./input.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "@angular/material/form-field";
|
|
6
|
-
import * as i5 from "@angular/material/
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "mapa-library-ui/src/lib/components/button";
|
|
8
|
+
import * as i7 from "@angular/material/input";
|
|
9
|
+
import * as i8 from "@angular/material/icon";
|
|
10
|
+
import * as i9 from "mapa-library-ui";
|
|
9
11
|
export declare class MapaInputModule {
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapaInputModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MapaInputModule, [typeof i1.MapaInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatFormFieldModule, typeof i5.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MapaInputModule, [typeof i1.MapaInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatFormFieldModule, typeof i5.MatButtonModule, typeof i6.MapaButtonModule, typeof i7.MatInputModule, typeof i8.MatIconModule, typeof i9.MatInputAutosizeDirective], [typeof i1.MapaInputComponent]>;
|
|
12
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<MapaInputModule>;
|
|
13
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementGroup } from "../interfaces/element-group.interface";
|
|
2
2
|
import { ElementOption } from "../interfaces/element-option.interface";
|
|
3
|
+
import { ActionButton } from "./action-button";
|
|
3
4
|
import { ElementSearch } from "./element-search";
|
|
4
5
|
import { Errors } from "./errors";
|
|
5
6
|
export declare class ElementBase {
|
|
@@ -24,6 +25,7 @@ export declare class ElementBase {
|
|
|
24
25
|
search?: ElementSearch;
|
|
25
26
|
maxLength: string | number | null;
|
|
26
27
|
errors?: Errors;
|
|
28
|
+
actionButton?: ActionButton;
|
|
27
29
|
constructor(options?: {
|
|
28
30
|
value?: string;
|
|
29
31
|
key?: string;
|
|
@@ -46,5 +48,6 @@ export declare class ElementBase {
|
|
|
46
48
|
search?: ElementSearch;
|
|
47
49
|
maxLength?: string | number | null;
|
|
48
50
|
errors?: Errors;
|
|
51
|
+
actionButton?: ActionButton;
|
|
49
52
|
});
|
|
50
53
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementGroup } from "../interfaces/element-group.interface";
|
|
2
2
|
import { ElementOption } from "../interfaces/element-option.interface";
|
|
3
|
+
import { ActionButton } from "./action-button";
|
|
3
4
|
import { ElementSearch } from "./element-search";
|
|
4
5
|
import { Errors } from "./errors";
|
|
5
6
|
export declare class ElementBase {
|
|
@@ -24,6 +25,7 @@ export declare class ElementBase {
|
|
|
24
25
|
search?: ElementSearch;
|
|
25
26
|
maxLength: string | number | null;
|
|
26
27
|
errors?: Errors;
|
|
28
|
+
actionButton?: ActionButton;
|
|
27
29
|
constructor(options?: {
|
|
28
30
|
value?: string;
|
|
29
31
|
key?: string;
|
|
@@ -46,5 +48,6 @@ export declare class ElementBase {
|
|
|
46
48
|
search?: ElementSearch;
|
|
47
49
|
maxLength?: string | number | null;
|
|
48
50
|
errors?: Errors;
|
|
51
|
+
actionButton?: ActionButton;
|
|
49
52
|
});
|
|
50
53
|
}
|
|
Binary file
|