[ADF-147] Add input mask to Text Widget on Form (#1885)

* ADF-147 create directive to apply input mask
* ADF-147 - created directive for calculate input mask
* ADF-147 added input mask for text element
This commit is contained in:
Vito
2017-05-19 09:47:15 -07:00
committed by Eugenio Romano
parent b79ee13d11
commit e8889a5adb
11 changed files with 417 additions and 10 deletions

View File

@@ -41,6 +41,7 @@ import { DropdownEditorComponent } from './dynamic-table/editors/dropdown/dropdo
import { BooleanEditorComponent } from './dynamic-table/editors/boolean/boolean.editor';
import { TextEditorComponent } from './dynamic-table/editors/text/text.editor';
import { RowEditorComponent } from './dynamic-table/editors/row.editor';
import { InputMaskDirective } from './text/text-mask.component';
// core
export * from './widget.component';
@@ -76,6 +77,7 @@ export * from './dynamic-table/editors/date/date.editor';
export * from './dynamic-table/editors/dropdown/dropdown.editor';
export * from './dynamic-table/editors/boolean/boolean.editor';
export * from './dynamic-table/editors/text/text.editor';
export * from './text/text-mask.component';
export const WIDGET_DIRECTIVES: any[] = [
UnknownWidget,
@@ -105,3 +107,7 @@ export const WIDGET_DIRECTIVES: any[] = [
TextEditorComponent,
RowEditorComponent
];
export const MASK_DIRECTIVE: any[] = [
InputMaskDirective
];