@acorex/components 6.0.17 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/alert/src/alert.component.d.ts +4 -4
  2. package/badge/src/badge.component.d.ts +1 -1
  3. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +4 -4
  4. package/button/src/button-group.component.d.ts +4 -4
  5. package/button/src/button-item.class.d.ts +2 -1
  6. package/button/src/button-item.component.d.ts +4 -4
  7. package/button/src/button.component.d.ts +3 -1
  8. package/calendar/src/calendar.component.d.ts +20 -20
  9. package/color-picker/src/color-picker.component.d.ts +14 -14
  10. package/date-picker/src/datepicker.component.d.ts +23 -23
  11. package/esm2020/action-sheet/src/action-sheet-item.component.mjs +1 -1
  12. package/esm2020/alert/src/alert.component.mjs +4 -8
  13. package/esm2020/button/src/button-item.class.mjs +1 -1
  14. package/esm2020/button/src/button.component.mjs +9 -6
  15. package/esm2020/calendar/src/calendar.component.mjs +3 -3
  16. package/esm2020/color-palette/src/color-palette-input.component.mjs +1 -1
  17. package/esm2020/color-picker/src/color-picker.component.mjs +1 -1
  18. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +1 -1
  19. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +1 -1
  20. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +1 -1
  21. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +1 -1
  22. package/esm2020/date-picker/src/datepicker.component.mjs +9 -7
  23. package/esm2020/dialog/src/dialog.component.mjs +1 -1
  24. package/esm2020/form/src/form.component.mjs +10 -3
  25. package/esm2020/form/src/validation-summary.component.mjs +1 -1
  26. package/esm2020/number-box/src/number-box.component.mjs +1 -1
  27. package/esm2020/password-box/src/password-box.component.mjs +3 -3
  28. package/esm2020/search-box/src/search-box.component.mjs +1 -1
  29. package/esm2020/select-box/src/selectbox.component.mjs +3 -3
  30. package/esm2020/textbox/public-api.mjs +2 -1
  31. package/esm2020/textbox/src/mask-settings.directive.mjs +23 -0
  32. package/esm2020/textbox/src/textbox.component.mjs +19 -4
  33. package/esm2020/textbox/src/textbox.module.mjs +7 -10
  34. package/esm2020/toast/src/toast.component.mjs +1 -1
  35. package/fesm2015/acorex-components-action-sheet.mjs +1 -1
  36. package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
  37. package/fesm2015/acorex-components-alert.mjs +3 -7
  38. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  39. package/fesm2015/acorex-components-button.mjs +8 -5
  40. package/fesm2015/acorex-components-button.mjs.map +1 -1
  41. package/fesm2015/acorex-components-calendar.mjs +2 -2
  42. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  43. package/fesm2015/acorex-components-color-palette.mjs +1 -1
  44. package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
  45. package/fesm2015/acorex-components-color-picker.mjs +1 -1
  46. package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
  47. package/fesm2015/acorex-components-data-pager.mjs +4 -4
  48. package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
  49. package/fesm2015/acorex-components-date-picker.mjs +10 -7
  50. package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
  51. package/fesm2015/acorex-components-dialog.mjs +1 -1
  52. package/fesm2015/acorex-components-dialog.mjs.map +1 -1
  53. package/fesm2015/acorex-components-form.mjs +10 -3
  54. package/fesm2015/acorex-components-form.mjs.map +1 -1
  55. package/fesm2015/acorex-components-number-box.mjs +1 -1
  56. package/fesm2015/acorex-components-number-box.mjs.map +1 -1
  57. package/fesm2015/acorex-components-password-box.mjs +2 -2
  58. package/fesm2015/acorex-components-password-box.mjs.map +1 -1
  59. package/fesm2015/acorex-components-search-box.mjs +1 -1
  60. package/fesm2015/acorex-components-search-box.mjs.map +1 -1
  61. package/fesm2015/acorex-components-select-box.mjs +2 -2
  62. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  63. package/fesm2015/acorex-components-textbox.mjs +44 -13
  64. package/fesm2015/acorex-components-textbox.mjs.map +1 -1
  65. package/fesm2015/acorex-components-toast.mjs +1 -1
  66. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  67. package/fesm2020/acorex-components-action-sheet.mjs +1 -1
  68. package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
  69. package/fesm2020/acorex-components-alert.mjs +3 -7
  70. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  71. package/fesm2020/acorex-components-button.mjs +8 -5
  72. package/fesm2020/acorex-components-button.mjs.map +1 -1
  73. package/fesm2020/acorex-components-calendar.mjs +2 -2
  74. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  75. package/fesm2020/acorex-components-color-palette.mjs +1 -1
  76. package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
  77. package/fesm2020/acorex-components-color-picker.mjs +1 -1
  78. package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
  79. package/fesm2020/acorex-components-data-pager.mjs +4 -4
  80. package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
  81. package/fesm2020/acorex-components-date-picker.mjs +9 -7
  82. package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
  83. package/fesm2020/acorex-components-dialog.mjs +1 -1
  84. package/fesm2020/acorex-components-dialog.mjs.map +1 -1
  85. package/fesm2020/acorex-components-form.mjs +10 -3
  86. package/fesm2020/acorex-components-form.mjs.map +1 -1
  87. package/fesm2020/acorex-components-number-box.mjs +1 -1
  88. package/fesm2020/acorex-components-number-box.mjs.map +1 -1
  89. package/fesm2020/acorex-components-password-box.mjs +2 -2
  90. package/fesm2020/acorex-components-password-box.mjs.map +1 -1
  91. package/fesm2020/acorex-components-search-box.mjs +1 -1
  92. package/fesm2020/acorex-components-search-box.mjs.map +1 -1
  93. package/fesm2020/acorex-components-select-box.mjs +2 -2
  94. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  95. package/fesm2020/acorex-components-textbox.mjs +44 -13
  96. package/fesm2020/acorex-components-textbox.mjs.map +1 -1
  97. package/fesm2020/acorex-components-toast.mjs +1 -1
  98. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  99. package/form/src/form.component.d.ts +2 -0
  100. package/mixin/src/base-components.class.d.ts +1 -1
  101. package/mixin/src/base-menu-mixin.class.d.ts +4 -4
  102. package/mixin/src/button-mixin.class.d.ts +1 -1
  103. package/mixin/src/clickable-mixin.class.d.ts +1 -1
  104. package/mixin/src/color-look-mixing.class.d.ts +1 -1
  105. package/mixin/src/datalist-component.class.d.ts +9 -9
  106. package/mixin/src/dropdown-mixin.class.d.ts +1 -1
  107. package/mixin/src/interactive-mixin.class.d.ts +3 -3
  108. package/mixin/src/loading-mixin.class.d.ts +1 -1
  109. package/mixin/src/mixin.class.d.ts +42 -42
  110. package/mixin/src/page-component.class.d.ts +1 -1
  111. package/mixin/src/selection-component.class.d.ts +1 -1
  112. package/mixin/src/sizable-mixin.class.d.ts +1 -1
  113. package/mixin/src/textbox-mixin.class.d.ts +3 -3
  114. package/mixin/src/value-mixin.class.d.ts +7 -7
  115. package/package.json +1 -1
  116. package/password-box/src/password-box.component.d.ts +1 -1
  117. package/tabs/src/tab-item.component.d.ts +1 -1
  118. package/textbox/public-api.d.ts +1 -0
  119. package/textbox/src/mask-settings.directive.d.ts +8 -0
  120. package/textbox/src/textbox.component.d.ts +5 -2
  121. package/textbox/src/textbox.module.d.ts +6 -6
@@ -10,20 +10,20 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
10
10
  */
11
11
  onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
12
12
  valueChange: EventEmitter<any>;
13
- "__#32775@#readonly": boolean;
13
+ "__#33103@#readonly": boolean;
14
14
  /**
15
15
  * If set to true, user cannot change the value of component.
16
16
  */
17
17
  readonly: boolean;
18
- "__#32775@#allowNull": boolean;
18
+ "__#33103@#allowNull": boolean;
19
19
  allowNull: boolean;
20
- "__#32775@#name": string;
20
+ "__#33103@#name": string;
21
21
  name: string;
22
- "__#32775@#isUserInteraction": boolean;
22
+ "__#33103@#isUserInteraction": boolean;
23
23
  readonly isUserInteraction: boolean;
24
- "__#32775@#value": any;
24
+ "__#33103@#value": any;
25
25
  value: any;
26
- "__#32775@#state": 'clear' | 'success' | 'error';
26
+ "__#33103@#state": 'clear' | 'success' | 'error';
27
27
  readonly state: "error" | "clear" | "success";
28
28
  _emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
29
29
  _internalSetValue(value: any): any;
@@ -39,7 +39,7 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
39
39
  _setState(state: 'clear' | 'success' | 'error', ...args: any[]): void;
40
40
  id: string;
41
41
  rtl: boolean;
42
- "__#32770@#elementRef": import("@angular/core").ElementRef<any>;
42
+ "__#33098@#elementRef": import("@angular/core").ElementRef<any>;
43
43
  _cdr: import("@angular/core").ChangeDetectorRef;
44
44
  _isInited: boolean;
45
45
  _isRendered: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "6.0.17",
3
+ "version": "6.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
@@ -21,5 +21,5 @@ export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
21
21
  focus(): void;
22
22
  toggleType(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"], false>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
25
25
  }
@@ -6,7 +6,7 @@ export declare const AXBaseTabItemMixin: (new (...args: any[]) => {
6
6
  _emitOnClickEvent(e: MouseEvent): void;
7
7
  id: string;
8
8
  rtl: boolean;
9
- "__#32770@#elementRef": ElementRef<any>;
9
+ "__#33098@#elementRef": ElementRef<any>;
10
10
  _cdr: ChangeDetectorRef;
11
11
  _isInited: boolean;
12
12
  _isRendered: boolean;
@@ -1,2 +1,3 @@
1
+ export * from './src/mask-settings.directive';
1
2
  export * from './src/textbox.component';
2
3
  export * from './src/textbox.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXMaskSettingsDirective {
3
+ mask: string;
4
+ showMaskTyped: boolean;
5
+ clearIfNotMatch: boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMaskSettingsDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXMaskSettingsDirective, "ax-mask-settings", never, { "mask": "mask"; "showMaskTyped": "showMaskTyped"; "clearIfNotMatch": "clearIfNotMatch"; }, {}, never, never, false>;
8
+ }
@@ -10,9 +10,12 @@ export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
10
10
  /**
11
11
  * @ignore
12
12
  */
13
- input: ElementRef<HTMLInputElement>;
13
+ private input;
14
+ private _maskObj;
15
+ private maskSettings;
14
16
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
17
+ ngAfterViewInit(): void;
15
18
  focus(): void;
16
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"], false>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["maskSettings"], ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"], false>;
18
21
  }
@@ -1,12 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./textbox.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@acorex/components/button";
6
- import * as i5 from "@acorex/components/decorators";
7
- import * as i6 from "ngx-mask";
3
+ import * as i2 from "./mask-settings.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@acorex/components/button";
7
+ import * as i6 from "@acorex/components/decorators";
8
8
  export declare class AXTextBoxModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.AXDecoratorModule, typeof i6.NgxMaskModule], [typeof i1.AXTextBoxComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent, typeof i2.AXMaskSettingsDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.AXButtonModule, typeof i6.AXDecoratorModule], [typeof i1.AXTextBoxComponent, typeof i2.AXMaskSettingsDirective]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<AXTextBoxModule>;
12
12
  }