@acorex/components 6.0.16 → 6.1.1
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/alert/src/alert.component.d.ts +4 -4
- package/avatar/src/avatar.component.d.ts +6 -9
- package/badge/src/badge.component.d.ts +1 -1
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +4 -4
- package/button/src/button-group.component.d.ts +4 -4
- package/button/src/button-item.class.d.ts +2 -1
- package/button/src/button-item.component.d.ts +4 -4
- package/button/src/button.component.d.ts +3 -1
- package/calendar/src/calendar.component.d.ts +20 -20
- package/color-picker/src/color-picker.component.d.ts +18 -21
- package/common/public-api.d.ts +1 -0
- package/common/src/auto-focus.directive.d.ts +2 -1
- package/common/src/common.module.d.ts +4 -3
- package/common/src/debounce-time.directive.d.ts +17 -0
- package/common/src/events.class.d.ts +2 -2
- package/date-picker/src/datepicker.component.d.ts +23 -23
- package/decorators/public-api.d.ts +1 -0
- package/decorators/src/decorators.module.d.ts +3 -2
- package/decorators/src/text.component.d.ts +9 -0
- package/dialog/src/dialog.service.d.ts +3 -1
- package/dropdown/src/dropdown-panel.component.d.ts +1 -0
- package/dropdown/src/dropdown.module.d.ts +7 -5
- package/esm2020/action-sheet/src/action-sheet-item.component.mjs +1 -1
- package/esm2020/alert/src/alert.component.mjs +4 -8
- package/esm2020/avatar/src/avatar.component.mjs +14 -21
- package/esm2020/badge/src/badge.component.mjs +3 -3
- package/esm2020/button/src/button-item.class.mjs +1 -1
- package/esm2020/button/src/button-item.component.mjs +3 -3
- package/esm2020/button/src/button.component.mjs +9 -6
- package/esm2020/calendar/src/calendar.component.mjs +7 -4
- package/esm2020/collapse/src/collapse.component.mjs +3 -3
- package/esm2020/color-palette/src/color-palette-input.component.mjs +1 -1
- package/esm2020/color-picker/src/color-picker.component.mjs +4 -4
- package/esm2020/common/public-api.mjs +2 -1
- package/esm2020/common/src/auto-focus.directive.mjs +7 -3
- package/esm2020/common/src/common.module.mjs +6 -1
- package/esm2020/common/src/debounce-time.directive.mjs +47 -0
- package/esm2020/common/src/events.class.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +5 -4
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +1 -1
- package/esm2020/date-picker/src/datepicker.component.mjs +10 -9
- package/esm2020/decorators/public-api.mjs +2 -1
- package/esm2020/decorators/src/decorators.module.mjs +8 -4
- package/esm2020/decorators/src/icon.component.mjs +3 -2
- package/esm2020/decorators/src/text.component.mjs +21 -0
- package/esm2020/dialog/src/dialog.class.mjs +1 -1
- package/esm2020/dialog/src/dialog.component.mjs +1 -1
- package/esm2020/dialog/src/dialog.service.mjs +11 -7
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +14 -3
- package/esm2020/dropdown/src/dropdown.module.mjs +6 -4
- package/esm2020/form/src/form.component.mjs +10 -3
- package/esm2020/form/src/validation-summary.component.mjs +1 -1
- package/esm2020/image/src/image.component.mjs +36 -9
- package/esm2020/menu/src/menu.component.mjs +5 -3
- package/esm2020/mixin/src/textbox-mixin.class.mjs +52 -83
- package/esm2020/number-box/src/number-box.component.mjs +10 -5
- package/esm2020/password-box/src/password-box.component.mjs +12 -6
- package/esm2020/popover/src/popover.component.mjs +9 -18
- package/esm2020/popup/src/popup.component.mjs +14 -6
- package/esm2020/popup/src/popup.module.mjs +4 -3
- package/esm2020/popup/src/popup.service.mjs +8 -4
- package/esm2020/search-box/src/search-box.component.mjs +4 -3
- package/esm2020/select-box/src/selectbox.component.mjs +5 -5
- package/esm2020/textarea/src/textarea.component.mjs +11 -5
- package/esm2020/textbox/public-api.mjs +2 -1
- package/esm2020/textbox/src/mask-options.directive.mjs +22 -0
- package/esm2020/textbox/src/textbox.component.mjs +66 -9
- package/esm2020/textbox/src/textbox.module.mjs +12 -11
- package/esm2020/time-box/src/time-box.component.mjs +11 -5
- package/esm2020/toast/src/toast.component.mjs +1 -1
- package/esm2020/uploader/src/uploader.component.mjs +17 -4
- package/fesm2015/acorex-components-action-sheet.mjs +1 -1
- package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2015/acorex-components-alert.mjs +3 -7
- package/fesm2015/acorex-components-alert.mjs.map +1 -1
- package/fesm2015/acorex-components-avatar.mjs +13 -20
- package/fesm2015/acorex-components-avatar.mjs.map +1 -1
- package/fesm2015/acorex-components-badge.mjs +2 -2
- package/fesm2015/acorex-components-badge.mjs.map +1 -1
- package/fesm2015/acorex-components-button.mjs +10 -7
- package/fesm2015/acorex-components-button.mjs.map +1 -1
- package/fesm2015/acorex-components-calendar.mjs +5 -3
- package/fesm2015/acorex-components-calendar.mjs.map +1 -1
- package/fesm2015/acorex-components-collapse.mjs +2 -2
- package/fesm2015/acorex-components-collapse.mjs.map +1 -1
- package/fesm2015/acorex-components-color-palette.mjs +1 -1
- package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2015/acorex-components-color-picker.mjs +3 -3
- package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-common.mjs +67 -14
- package/fesm2015/acorex-components-common.mjs.map +1 -1
- package/fesm2015/acorex-components-data-pager.mjs +8 -7
- package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2015/acorex-components-date-picker.mjs +11 -9
- package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-decorators.mjs +27 -5
- package/fesm2015/acorex-components-decorators.mjs.map +1 -1
- package/fesm2015/acorex-components-dialog.mjs +11 -7
- package/fesm2015/acorex-components-dialog.mjs.map +1 -1
- package/fesm2015/acorex-components-dropdown.mjs +18 -5
- package/fesm2015/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2015/acorex-components-form.mjs +10 -3
- package/fesm2015/acorex-components-form.mjs.map +1 -1
- package/fesm2015/acorex-components-image.mjs +35 -8
- package/fesm2015/acorex-components-image.mjs.map +1 -1
- package/fesm2015/acorex-components-menu.mjs +5 -3
- package/fesm2015/acorex-components-menu.mjs.map +1 -1
- package/fesm2015/acorex-components-mixin.mjs +3 -33
- package/fesm2015/acorex-components-mixin.mjs.map +1 -1
- package/fesm2015/acorex-components-number-box.mjs +10 -5
- package/fesm2015/acorex-components-number-box.mjs.map +1 -1
- package/fesm2015/acorex-components-password-box.mjs +11 -5
- package/fesm2015/acorex-components-password-box.mjs.map +1 -1
- package/fesm2015/acorex-components-popover.mjs +9 -18
- package/fesm2015/acorex-components-popover.mjs.map +1 -1
- package/fesm2015/acorex-components-popup.mjs +23 -11
- package/fesm2015/acorex-components-popup.mjs.map +1 -1
- package/fesm2015/acorex-components-search-box.mjs +3 -2
- package/fesm2015/acorex-components-search-box.mjs.map +1 -1
- package/fesm2015/acorex-components-select-box.mjs +4 -4
- package/fesm2015/acorex-components-select-box.mjs.map +1 -1
- package/fesm2015/acorex-components-textarea.mjs +10 -4
- package/fesm2015/acorex-components-textarea.mjs.map +1 -1
- package/fesm2015/acorex-components-textbox.mjs +96 -20
- package/fesm2015/acorex-components-textbox.mjs.map +1 -1
- package/fesm2015/acorex-components-time-box.mjs +11 -5
- package/fesm2015/acorex-components-time-box.mjs.map +1 -1
- package/fesm2015/acorex-components-toast.mjs +1 -1
- package/fesm2015/acorex-components-toast.mjs.map +1 -1
- package/fesm2015/acorex-components-uploader.mjs +16 -3
- package/fesm2015/acorex-components-uploader.mjs.map +1 -1
- package/fesm2020/acorex-components-action-sheet.mjs +1 -1
- package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2020/acorex-components-alert.mjs +3 -7
- package/fesm2020/acorex-components-alert.mjs.map +1 -1
- package/fesm2020/acorex-components-avatar.mjs +13 -20
- package/fesm2020/acorex-components-avatar.mjs.map +1 -1
- package/fesm2020/acorex-components-badge.mjs +2 -2
- package/fesm2020/acorex-components-badge.mjs.map +1 -1
- package/fesm2020/acorex-components-button.mjs +10 -7
- package/fesm2020/acorex-components-button.mjs.map +1 -1
- package/fesm2020/acorex-components-calendar.mjs +5 -3
- package/fesm2020/acorex-components-calendar.mjs.map +1 -1
- package/fesm2020/acorex-components-collapse.mjs +2 -2
- package/fesm2020/acorex-components-collapse.mjs.map +1 -1
- package/fesm2020/acorex-components-color-palette.mjs +1 -1
- package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2020/acorex-components-color-picker.mjs +3 -3
- package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-common.mjs +66 -14
- package/fesm2020/acorex-components-common.mjs.map +1 -1
- package/fesm2020/acorex-components-data-pager.mjs +8 -7
- package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2020/acorex-components-date-picker.mjs +10 -9
- package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-decorators.mjs +27 -5
- package/fesm2020/acorex-components-decorators.mjs.map +1 -1
- package/fesm2020/acorex-components-dialog.mjs +11 -7
- package/fesm2020/acorex-components-dialog.mjs.map +1 -1
- package/fesm2020/acorex-components-dropdown.mjs +18 -5
- package/fesm2020/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2020/acorex-components-form.mjs +10 -3
- package/fesm2020/acorex-components-form.mjs.map +1 -1
- package/fesm2020/acorex-components-image.mjs +35 -8
- package/fesm2020/acorex-components-image.mjs.map +1 -1
- package/fesm2020/acorex-components-menu.mjs +5 -3
- package/fesm2020/acorex-components-menu.mjs.map +1 -1
- package/fesm2020/acorex-components-mixin.mjs +51 -81
- package/fesm2020/acorex-components-mixin.mjs.map +1 -1
- package/fesm2020/acorex-components-number-box.mjs +10 -5
- package/fesm2020/acorex-components-number-box.mjs.map +1 -1
- package/fesm2020/acorex-components-password-box.mjs +11 -5
- package/fesm2020/acorex-components-password-box.mjs.map +1 -1
- package/fesm2020/acorex-components-popover.mjs +8 -17
- package/fesm2020/acorex-components-popover.mjs.map +1 -1
- package/fesm2020/acorex-components-popup.mjs +23 -11
- package/fesm2020/acorex-components-popup.mjs.map +1 -1
- package/fesm2020/acorex-components-search-box.mjs +3 -2
- package/fesm2020/acorex-components-search-box.mjs.map +1 -1
- package/fesm2020/acorex-components-select-box.mjs +4 -4
- package/fesm2020/acorex-components-select-box.mjs.map +1 -1
- package/fesm2020/acorex-components-textarea.mjs +10 -4
- package/fesm2020/acorex-components-textarea.mjs.map +1 -1
- package/fesm2020/acorex-components-textbox.mjs +95 -20
- package/fesm2020/acorex-components-textbox.mjs.map +1 -1
- package/fesm2020/acorex-components-time-box.mjs +11 -5
- package/fesm2020/acorex-components-time-box.mjs.map +1 -1
- package/fesm2020/acorex-components-toast.mjs +1 -1
- package/fesm2020/acorex-components-toast.mjs.map +1 -1
- package/fesm2020/acorex-components-uploader.mjs +16 -3
- package/fesm2020/acorex-components-uploader.mjs.map +1 -1
- package/form/src/form.component.d.ts +2 -0
- package/image/src/image.component.d.ts +16 -7
- package/menu/src/menu.component.d.ts +1 -0
- package/mixin/src/base-components.class.d.ts +1 -1
- package/mixin/src/base-menu-mixin.class.d.ts +4 -4
- package/mixin/src/button-mixin.class.d.ts +1 -1
- package/mixin/src/clickable-mixin.class.d.ts +1 -1
- package/mixin/src/color-look-mixing.class.d.ts +1 -1
- package/mixin/src/datalist-component.class.d.ts +9 -9
- package/mixin/src/dropdown-mixin.class.d.ts +1 -1
- package/mixin/src/interactive-mixin.class.d.ts +3 -3
- package/mixin/src/loading-mixin.class.d.ts +1 -1
- package/mixin/src/mixin.class.d.ts +42 -47
- package/mixin/src/page-component.class.d.ts +1 -1
- package/mixin/src/selection-component.class.d.ts +1 -1
- package/mixin/src/sizable-mixin.class.d.ts +1 -1
- package/mixin/src/textbox-mixin.class.d.ts +4 -13
- package/mixin/src/value-mixin.class.d.ts +7 -7
- package/number-box/src/number-box.component.d.ts +3 -1
- package/package.json +1 -9
- package/password-box/src/password-box.component.d.ts +3 -1
- package/popover/src/popover.component.d.ts +2 -2
- package/popup/src/popup.module.d.ts +7 -6
- package/select-box/src/selectbox.component.d.ts +1 -1
- package/tabs/src/tab-item.component.d.ts +1 -1
- package/textarea/src/textarea.component.d.ts +3 -1
- package/textbox/public-api.d.ts +1 -0
- package/textbox/src/mask-options.directive.d.ts +13 -0
- package/textbox/src/textbox.component.d.ts +14 -3
- package/textbox/src/textbox.module.d.ts +7 -6
- package/time-box/src/time-box.component.d.ts +4 -2
- package/uploader/src/uploader.component.d.ts +4 -0
- package/esm2020/input-mask/acorex-components-input-mask.mjs +0 -5
- package/esm2020/input-mask/public-api.mjs +0 -3
- package/esm2020/input-mask/src/input-mask.component.mjs +0 -58
- package/esm2020/input-mask/src/input-mask.module.mjs +0 -24
- package/fesm2015/acorex-components-input-mask.mjs +0 -86
- package/fesm2015/acorex-components-input-mask.mjs.map +0 -1
- package/fesm2020/acorex-components-input-mask.mjs +0 -86
- package/fesm2020/acorex-components-input-mask.mjs.map +0 -1
- package/input-mask/index.d.ts +0 -5
- package/input-mask/public-api.d.ts +0 -2
- package/input-mask/src/input-mask.component.d.ts +0 -25
- package/input-mask/src/input-mask.module.d.ts +0 -10
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./textbox.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "@acorex/components/
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "
|
|
3
|
+
import * as i2 from "./mask-options.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@acorex/components/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "@acorex/components/button";
|
|
8
|
+
import * as i7 from "@acorex/components/decorators";
|
|
8
9
|
export declare class AXTextBoxModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent, typeof i2.AXMaskOptionsDirective], [typeof i3.CommonModule, typeof i4.AXCommonModule, typeof i5.FormsModule, typeof i6.AXButtonModule, typeof i7.AXDecoratorModule], [typeof i1.AXTextBoxComponent, typeof i2.AXMaskOptionsDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXTextBoxModule>;
|
|
12
13
|
}
|
|
@@ -10,6 +10,7 @@ export declare type AX_TIME_FORMAT = 'HH:mm' | 'HH:mm:ss';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
12
12
|
private cdr;
|
|
13
|
+
input: ElementRef<HTMLInputElement>;
|
|
13
14
|
private _minValue;
|
|
14
15
|
get minValue(): Date;
|
|
15
16
|
set minValue(v: Date);
|
|
@@ -27,7 +28,7 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
27
28
|
/**
|
|
28
29
|
* @ignore
|
|
29
30
|
*/
|
|
30
|
-
_maskObj: IMask.MaskedPattern;
|
|
31
|
+
protected _maskObj: IMask.MaskedPattern;
|
|
31
32
|
private _maskDirective;
|
|
32
33
|
/**
|
|
33
34
|
* @ignore
|
|
@@ -37,6 +38,7 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
37
38
|
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
38
39
|
_updateText(): void;
|
|
39
40
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
41
|
+
focus(): void;
|
|
40
42
|
private _updateMask;
|
|
41
43
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
42
44
|
_handleKeyUpEvent(e: KeyboardEvent): void;
|
|
@@ -44,5 +46,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
44
46
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
45
47
|
private _highlightPart;
|
|
46
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
48
50
|
}
|
|
@@ -6,6 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class AXUploaderComponent extends AXBaseComponentMixin {
|
|
7
7
|
private _fileService;
|
|
8
8
|
onValueChanged: EventEmitter<AXValueChangedEvent<File[]>>;
|
|
9
|
+
firstInit: boolean;
|
|
10
|
+
_showText: boolean;
|
|
9
11
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _fileService: AXFileService);
|
|
10
12
|
_placeholder: ElementRef;
|
|
11
13
|
multiple: boolean;
|
|
@@ -15,6 +17,8 @@ export declare class AXUploaderComponent extends AXBaseComponentMixin {
|
|
|
15
17
|
_handleDrop(e: any): Promise<void>;
|
|
16
18
|
_handleFiles(files: File[]): void;
|
|
17
19
|
onInit(): void;
|
|
20
|
+
ngDoCheck(): void;
|
|
21
|
+
checkIsBoxHasMinWidth(): void;
|
|
18
22
|
preventDefaults(e: any): void;
|
|
19
23
|
_handleHighlight(e: any): void;
|
|
20
24
|
_handleUnhighlight(e: any): void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtaW5wdXQtbWFzay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2lucHV0LW1hc2svYWNvcmV4LWNvbXBvbmVudHMtaW5wdXQtbWFzay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './src/input-mask.component';
|
|
2
|
-
export * from './src/input-mask.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2lucHV0LW1hc2svcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbnB1dC1tYXNrLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2lucHV0LW1hc2subW9kdWxlJztcclxuIl19
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
2
|
-
import IMask from 'imask';
|
|
3
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@acorex/components/textbox";
|
|
6
|
-
export class AXInputMaskComponent extends AXBaseComponent {
|
|
7
|
-
/**
|
|
8
|
-
* @ignore
|
|
9
|
-
*/
|
|
10
|
-
constructor(_elementRef, _cdr, _textbox) {
|
|
11
|
-
super(_elementRef, _cdr);
|
|
12
|
-
this._elementRef = _elementRef;
|
|
13
|
-
this._textbox = _textbox;
|
|
14
|
-
this.showMaskTyped = false;
|
|
15
|
-
this.clearIfNotMatch = false;
|
|
16
|
-
}
|
|
17
|
-
onViewInit() {
|
|
18
|
-
//@ts-ignore
|
|
19
|
-
//TODO: check ts error
|
|
20
|
-
this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
|
|
21
|
-
mask: this.mask
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
get prefix() {
|
|
25
|
-
return this._prefix || '';
|
|
26
|
-
}
|
|
27
|
-
set prefix(v) {
|
|
28
|
-
this._prefix = v;
|
|
29
|
-
}
|
|
30
|
-
get suffix() {
|
|
31
|
-
return this._suffix || '';
|
|
32
|
-
}
|
|
33
|
-
set suffix(v) {
|
|
34
|
-
this._suffix = v;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
-
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
40
|
-
type: Component,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: 'ax-input-mask',
|
|
43
|
-
template: '',
|
|
44
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
45
|
-
encapsulation: ViewEncapsulation.None,
|
|
46
|
-
}]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXTextBoxComponent }]; }, propDecorators: { prefix: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], suffix: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], showMaskTyped: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], clearIfNotMatch: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], mask: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbWFzay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9pbnB1dC1tYXNrL3NyYy9pbnB1dC1tYXNrLmNvbXBvbmVudC50cyJd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wcmVmaXgoKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5fcHJlZml4IHx8ICcnO1xyXG4gICAgfVxyXG4gICAgcHVibGljIHNldCBwcmVmaXgodjogc3RyaW5nKSB7XHJcbiAgICAgICAgdGhpcy5fcHJlZml4ID0gdjtcclxuICAgIH1cclxuXHJcblxyXG5cclxuICAgIHByaXZhdGUgX3N1ZmZpeDogc3RyaW5nO1xyXG4gICAgQElucHV0KClcclxuICAgIHB1YmxpYyBnZXQgc3VmZml4KCk6IHN0cmluZyB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuX3N1ZmZpeCB8fCAnJztcclxuICAgIH1cclxuICAgIHB1YmxpYyBzZXQgc3VmZml4KHY6IHN0cmluZykge1xyXG4gICAgICAgIHRoaXMuX3N1ZmZpeCA9IHY7XHJcbiAgICB9XHJcblxyXG5cclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgc2hvd01hc2tUeXBlZDogYm9vbGVhbiA9IGZhbHNlO1xyXG5cclxuICAgIEBJbnB1dCgpXHJcbiAgICBjbGVhcklmTm90TWF0Y2g6IGJvb2xlYW4gPSBmYWxzZTtcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgbWFzazogYW55O1xyXG5cclxufVxyXG4iXX0=
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AXInputMaskComponent } from './input-mask.component';
|
|
4
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
5
|
-
import { IMaskModule } from 'angular-imask';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "ngx-mask";
|
|
8
|
-
const COMPONENT = [AXInputMaskComponent];
|
|
9
|
-
const MODULES = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
10
|
-
export class AXInputMaskModule {
|
|
11
|
-
}
|
|
12
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
14
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, imports: [MODULES] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
declarations: [...COMPONENT],
|
|
19
|
-
imports: [...MODULES],
|
|
20
|
-
exports: [...COMPONENT],
|
|
21
|
-
providers: [],
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbWFzay5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9pbnB1dC1tYXNrL3NyYy9pbnB1dC1tYXNrLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM5RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sVUFBV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VUxFUyA9IFtDb21tb25Nb2R1bGUsIE5neE1hc2tNb2R1bGUuZm9yUm9vdCgpLElNYXNrTW9kdWxlXTtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgICBkZWNsYXJhdGlvbnM6IFsuLi5DT01QT05FTlRdLFxyXG4gICAgaW1wb3J0czogWy4uLk1PRFVMRVNdLFxyXG4gICAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXHJcbiAgICBwcm92aWRlcnM6IFtdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhJbnB1dE1hc2tNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, NgModule } from '@angular/core';
|
|
3
|
-
import IMask from 'imask';
|
|
4
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
5
|
-
import * as i1 from '@acorex/components/textbox';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i1$1 from 'ngx-mask';
|
|
8
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
9
|
-
import { IMaskModule } from 'angular-imask';
|
|
10
|
-
|
|
11
|
-
class AXInputMaskComponent extends AXBaseComponent {
|
|
12
|
-
/**
|
|
13
|
-
* @ignore
|
|
14
|
-
*/
|
|
15
|
-
constructor(_elementRef, _cdr, _textbox) {
|
|
16
|
-
super(_elementRef, _cdr);
|
|
17
|
-
this._elementRef = _elementRef;
|
|
18
|
-
this._textbox = _textbox;
|
|
19
|
-
this.showMaskTyped = false;
|
|
20
|
-
this.clearIfNotMatch = false;
|
|
21
|
-
}
|
|
22
|
-
onViewInit() {
|
|
23
|
-
//@ts-ignore
|
|
24
|
-
//TODO: check ts error
|
|
25
|
-
this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
|
|
26
|
-
mask: this.mask
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
get prefix() {
|
|
30
|
-
return this._prefix || '';
|
|
31
|
-
}
|
|
32
|
-
set prefix(v) {
|
|
33
|
-
this._prefix = v;
|
|
34
|
-
}
|
|
35
|
-
get suffix() {
|
|
36
|
-
return this._suffix || '';
|
|
37
|
-
}
|
|
38
|
-
set suffix(v) {
|
|
39
|
-
this._suffix = v;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{
|
|
47
|
-
selector: 'ax-input-mask',
|
|
48
|
-
template: '',
|
|
49
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
50
|
-
encapsulation: ViewEncapsulation.None,
|
|
51
|
-
}]
|
|
52
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXTextBoxComponent }]; }, propDecorators: { prefix: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], suffix: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], showMaskTyped: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], clearIfNotMatch: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], mask: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}] } });
|
|
63
|
-
|
|
64
|
-
const COMPONENT = [AXInputMaskComponent];
|
|
65
|
-
const MODULES = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
66
|
-
class AXInputMaskModule {
|
|
67
|
-
}
|
|
68
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
69
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$1.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
70
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, imports: [MODULES] });
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
72
|
-
type: NgModule,
|
|
73
|
-
args: [{
|
|
74
|
-
declarations: [...COMPONENT],
|
|
75
|
-
imports: [...MODULES],
|
|
76
|
-
exports: [...COMPONENT],
|
|
77
|
-
providers: [],
|
|
78
|
-
}]
|
|
79
|
-
}] });
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Generated bundle index. Do not edit.
|
|
83
|
-
*/
|
|
84
|
-
|
|
85
|
-
export { AXInputMaskComponent, AXInputMaskModule };
|
|
86
|
-
//# sourceMappingURL=acorex-components-input-mask.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-input-mask.mjs","sources":["../../../../projects/acorex/components/input-mask/src/input-mask.component.ts","../../../../projects/acorex/components/input-mask/src/input-mask.module.ts","../../../../projects/acorex/components/input-mask/acorex-components-input-mask.ts"],"sourcesContent":["import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ChangeDetectorRef, ElementRef } from '@angular/core';\r\nimport IMask from 'imask';\r\nimport { AnyMaskedOptions } from 'imask';\r\nimport { AXTextBoxComponent } from '@acorex/components/textbox';\r\nimport { AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-input-mask',\r\n template: '',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXInputMaskComponent extends AXBaseComponent {\r\n\r\n\r\n private _maskObj: IMask.InputMask<AnyMaskedOptions>\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n private _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n private _textbox: AXTextBoxComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n //@ts-ignore \r\n //TODO: check ts error\r\n this._maskObj = IMask((this._textbox._getHostElement().querySelector('input') as any), {\r\n mask: this.mask \r\n })\r\n }\r\n\r\n\r\n\r\n private _prefix: string;\r\n @Input()\r\n public get prefix(): string {\r\n return this._prefix || '';\r\n }\r\n public set prefix(v: string) {\r\n this._prefix = v;\r\n }\r\n\r\n\r\n\r\n private _suffix: string;\r\n @Input()\r\n public get suffix(): string {\r\n return this._suffix || '';\r\n }\r\n public set suffix(v: string) {\r\n this._suffix = v;\r\n }\r\n\r\n\r\n\r\n @Input()\r\n showMaskTyped: boolean = false;\r\n\r\n @Input()\r\n clearIfNotMatch: boolean = false;\r\n\r\n @Input()\r\n mask: any;\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXInputMaskComponent } from './input-mask.component';\r\nimport { NgxMaskModule } from 'ngx-mask';\r\nimport {IMaskModule} from 'angular-imask';\r\n\r\nconst COMPONENT = [AXInputMaskComponent];\r\nconst MODULES = [CommonModule, NgxMaskModule.forRoot(),IMaskModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXInputMaskModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAYM,MAAO,oBAAqB,SAAQ,eAAe,CAAA;AAKrD;;AAEE;AACF,IAAA,WAAA,CACY,WAAuB,EAC/B,IAAuB,EACf,QAA4B,EAAA;AAEpC,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAJjB,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;AAEvB,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAoB;AAsCxC,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK,CAAC;AAG/B,QAAA,IAAe,CAAA,eAAA,GAAY,KAAK,CAAC;KAtChC;IAED,UAAU,GAAA;;;AAGN,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC,aAAa,CAAC,OAAO,CAAS,EAAE;YACnF,IAAI,EAAE,IAAI,CAAC,IAAI;AAClB,SAAA,CAAC,CAAA;KACL;AAKD,IAAA,IACW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;KAC7B;IACD,IAAW,MAAM,CAAC,CAAS,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;KACpB;AAKD,IAAA,IACW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;KAC7B;IACD,IAAW,MAAM,CAAC,CAAS,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;KACpB;;iHA5CQ,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA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A,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,iBATX,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACtB,YAAY,EAA0BA,IAAA,CAAA,aAAA,EAAA,WAAW,aAD/C,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAS1B,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJb,OAAO,CAAA,EAAA,CAAA,CAAA;2FAIX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, NgModule } from '@angular/core';
|
|
3
|
-
import IMask from 'imask';
|
|
4
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
5
|
-
import * as i1 from '@acorex/components/textbox';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i1$1 from 'ngx-mask';
|
|
8
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
9
|
-
import { IMaskModule } from 'angular-imask';
|
|
10
|
-
|
|
11
|
-
class AXInputMaskComponent extends AXBaseComponent {
|
|
12
|
-
/**
|
|
13
|
-
* @ignore
|
|
14
|
-
*/
|
|
15
|
-
constructor(_elementRef, _cdr, _textbox) {
|
|
16
|
-
super(_elementRef, _cdr);
|
|
17
|
-
this._elementRef = _elementRef;
|
|
18
|
-
this._textbox = _textbox;
|
|
19
|
-
this.showMaskTyped = false;
|
|
20
|
-
this.clearIfNotMatch = false;
|
|
21
|
-
}
|
|
22
|
-
onViewInit() {
|
|
23
|
-
//@ts-ignore
|
|
24
|
-
//TODO: check ts error
|
|
25
|
-
this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
|
|
26
|
-
mask: this.mask
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
get prefix() {
|
|
30
|
-
return this._prefix || '';
|
|
31
|
-
}
|
|
32
|
-
set prefix(v) {
|
|
33
|
-
this._prefix = v;
|
|
34
|
-
}
|
|
35
|
-
get suffix() {
|
|
36
|
-
return this._suffix || '';
|
|
37
|
-
}
|
|
38
|
-
set suffix(v) {
|
|
39
|
-
this._suffix = v;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, decorators: [{
|
|
45
|
-
type: Component,
|
|
46
|
-
args: [{
|
|
47
|
-
selector: 'ax-input-mask',
|
|
48
|
-
template: '',
|
|
49
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
50
|
-
encapsulation: ViewEncapsulation.None,
|
|
51
|
-
}]
|
|
52
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXTextBoxComponent }]; }, propDecorators: { prefix: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], suffix: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], showMaskTyped: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], clearIfNotMatch: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], mask: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}] } });
|
|
63
|
-
|
|
64
|
-
const COMPONENT = [AXInputMaskComponent];
|
|
65
|
-
const MODULES = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
|
|
66
|
-
class AXInputMaskModule {
|
|
67
|
-
}
|
|
68
|
-
AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
69
|
-
AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$1.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
|
|
70
|
-
AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, imports: [MODULES] });
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
|
|
72
|
-
type: NgModule,
|
|
73
|
-
args: [{
|
|
74
|
-
declarations: [...COMPONENT],
|
|
75
|
-
imports: [...MODULES],
|
|
76
|
-
exports: [...COMPONENT],
|
|
77
|
-
providers: [],
|
|
78
|
-
}]
|
|
79
|
-
}] });
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Generated bundle index. Do not edit.
|
|
83
|
-
*/
|
|
84
|
-
|
|
85
|
-
export { AXInputMaskComponent, AXInputMaskModule };
|
|
86
|
-
//# sourceMappingURL=acorex-components-input-mask.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-input-mask.mjs","sources":["../../../../projects/acorex/components/input-mask/src/input-mask.component.ts","../../../../projects/acorex/components/input-mask/src/input-mask.module.ts","../../../../projects/acorex/components/input-mask/acorex-components-input-mask.ts"],"sourcesContent":["import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ChangeDetectorRef, ElementRef } from '@angular/core';\r\nimport IMask from 'imask';\r\nimport { AnyMaskedOptions } from 'imask';\r\nimport { AXTextBoxComponent } from '@acorex/components/textbox';\r\nimport { AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-input-mask',\r\n template: '',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXInputMaskComponent extends AXBaseComponent {\r\n\r\n\r\n private _maskObj: IMask.InputMask<AnyMaskedOptions>\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n private _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n private _textbox: AXTextBoxComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n //@ts-ignore \r\n //TODO: check ts error\r\n this._maskObj = IMask((this._textbox._getHostElement().querySelector('input') as any), {\r\n mask: this.mask \r\n })\r\n }\r\n\r\n\r\n\r\n private _prefix: string;\r\n @Input()\r\n public get prefix(): string {\r\n return this._prefix || '';\r\n }\r\n public set prefix(v: string) {\r\n this._prefix = v;\r\n }\r\n\r\n\r\n\r\n private _suffix: string;\r\n @Input()\r\n public get suffix(): string {\r\n return this._suffix || '';\r\n }\r\n public set suffix(v: string) {\r\n this._suffix = v;\r\n }\r\n\r\n\r\n\r\n @Input()\r\n showMaskTyped: boolean = false;\r\n\r\n @Input()\r\n clearIfNotMatch: boolean = false;\r\n\r\n @Input()\r\n mask: any;\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXInputMaskComponent } from './input-mask.component';\r\nimport { NgxMaskModule } from 'ngx-mask';\r\nimport {IMaskModule} from 'angular-imask';\r\n\r\nconst COMPONENT = [AXInputMaskComponent];\r\nconst MODULES = [CommonModule, NgxMaskModule.forRoot(),IMaskModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXInputMaskModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAYM,MAAO,oBAAqB,SAAQ,eAAe,CAAA;AAKrD;;AAEE;AACF,IAAA,WAAA,CACY,WAAuB,EAC/B,IAAuB,EACf,QAA4B,EAAA;AAEpC,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAJjB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;QAEvB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAoB;QAsCxC,IAAa,CAAA,aAAA,GAAY,KAAK,CAAC;QAG/B,IAAe,CAAA,eAAA,GAAY,KAAK,CAAC;KAtChC;IAED,UAAU,GAAA;;;AAGN,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC,aAAa,CAAC,OAAO,CAAS,EAAE;YACnF,IAAI,EAAE,IAAI,CAAC,IAAI;AAClB,SAAA,CAAC,CAAA;KACL;AAKD,IAAA,IACW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,OAAO,I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/textbox';
|
|
3
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AXInputMaskComponent extends AXBaseComponent {
|
|
6
|
-
private _elementRef;
|
|
7
|
-
private _textbox;
|
|
8
|
-
private _maskObj;
|
|
9
|
-
/**
|
|
10
|
-
* @ignore
|
|
11
|
-
*/
|
|
12
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _textbox: AXTextBoxComponent);
|
|
13
|
-
onViewInit(): void;
|
|
14
|
-
private _prefix;
|
|
15
|
-
get prefix(): string;
|
|
16
|
-
set prefix(v: string);
|
|
17
|
-
private _suffix;
|
|
18
|
-
get suffix(): string;
|
|
19
|
-
set suffix(v: string);
|
|
20
|
-
showMaskTyped: boolean;
|
|
21
|
-
clearIfNotMatch: boolean;
|
|
22
|
-
mask: any;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXInputMaskComponent, "ax-input-mask", never, { "prefix": "prefix"; "suffix": "suffix"; "showMaskTyped": "showMaskTyped"; "clearIfNotMatch": "clearIfNotMatch"; "mask": "mask"; }, {}, never, never, false>;
|
|
25
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-mask.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "ngx-mask";
|
|
5
|
-
import * as i4 from "angular-imask";
|
|
6
|
-
export declare class AXInputMaskModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXInputMaskModule, [typeof i1.AXInputMaskComponent], [typeof i2.CommonModule, typeof i3.NgxMaskModule, typeof i4.IMaskModule], [typeof i1.AXInputMaskComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXInputMaskModule>;
|
|
10
|
-
}
|