@acorex/components 6.0.16 → 6.0.17

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 (147) hide show
  1. package/alert/src/alert.component.d.ts +1 -1
  2. package/avatar/src/avatar.component.d.ts +6 -9
  3. package/badge/src/badge.component.d.ts +1 -1
  4. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +4 -4
  5. package/button/src/button-group.component.d.ts +4 -4
  6. package/button/src/button-item.component.d.ts +4 -4
  7. package/color-picker/src/color-picker.component.d.ts +14 -14
  8. package/common/src/auto-focus.directive.d.ts +2 -1
  9. package/common/src/events.class.d.ts +1 -1
  10. package/date-picker/src/datepicker.component.d.ts +11 -11
  11. package/decorators/public-api.d.ts +1 -0
  12. package/decorators/src/decorators.module.d.ts +3 -2
  13. package/decorators/src/text.component.d.ts +9 -0
  14. package/dialog/src/dialog.service.d.ts +3 -1
  15. package/dropdown/src/dropdown-panel.component.d.ts +1 -0
  16. package/dropdown/src/dropdown.module.d.ts +7 -5
  17. package/esm2020/avatar/src/avatar.component.mjs +14 -21
  18. package/esm2020/badge/src/badge.component.mjs +3 -3
  19. package/esm2020/button/src/button-item.component.mjs +3 -3
  20. package/esm2020/calendar/src/calendar.component.mjs +5 -2
  21. package/esm2020/collapse/src/collapse.component.mjs +3 -3
  22. package/esm2020/common/src/auto-focus.directive.mjs +7 -3
  23. package/esm2020/common/src/events.class.mjs +1 -1
  24. package/esm2020/decorators/public-api.mjs +2 -1
  25. package/esm2020/decorators/src/decorators.module.mjs +8 -4
  26. package/esm2020/decorators/src/icon.component.mjs +3 -2
  27. package/esm2020/decorators/src/text.component.mjs +21 -0
  28. package/esm2020/dialog/src/dialog.class.mjs +1 -1
  29. package/esm2020/dialog/src/dialog.component.mjs +1 -1
  30. package/esm2020/dialog/src/dialog.service.mjs +11 -7
  31. package/esm2020/dropdown/src/dropdown-panel.component.mjs +14 -3
  32. package/esm2020/dropdown/src/dropdown.module.mjs +6 -4
  33. package/esm2020/image/src/image.component.mjs +36 -9
  34. package/esm2020/menu/src/menu.component.mjs +5 -3
  35. package/esm2020/number-box/src/number-box.component.mjs +10 -4
  36. package/esm2020/password-box/src/password-box.component.mjs +11 -5
  37. package/esm2020/popover/src/popover.component.mjs +9 -18
  38. package/esm2020/popup/src/popup.component.mjs +14 -6
  39. package/esm2020/popup/src/popup.module.mjs +4 -3
  40. package/esm2020/popup/src/popup.service.mjs +8 -4
  41. package/esm2020/textarea/src/textarea.component.mjs +11 -5
  42. package/esm2020/textbox/src/textbox.component.mjs +31 -9
  43. package/esm2020/time-box/src/time-box.component.mjs +10 -4
  44. package/esm2020/uploader/src/uploader.component.mjs +17 -4
  45. package/fesm2015/acorex-components-avatar.mjs +13 -20
  46. package/fesm2015/acorex-components-avatar.mjs.map +1 -1
  47. package/fesm2015/acorex-components-badge.mjs +2 -2
  48. package/fesm2015/acorex-components-badge.mjs.map +1 -1
  49. package/fesm2015/acorex-components-button.mjs +2 -2
  50. package/fesm2015/acorex-components-button.mjs.map +1 -1
  51. package/fesm2015/acorex-components-calendar.mjs +3 -1
  52. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  53. package/fesm2015/acorex-components-collapse.mjs +2 -2
  54. package/fesm2015/acorex-components-collapse.mjs.map +1 -1
  55. package/fesm2015/acorex-components-common.mjs +6 -2
  56. package/fesm2015/acorex-components-common.mjs.map +1 -1
  57. package/fesm2015/acorex-components-decorators.mjs +27 -5
  58. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  59. package/fesm2015/acorex-components-dialog.mjs +11 -7
  60. package/fesm2015/acorex-components-dialog.mjs.map +1 -1
  61. package/fesm2015/acorex-components-dropdown.mjs +18 -5
  62. package/fesm2015/acorex-components-dropdown.mjs.map +1 -1
  63. package/fesm2015/acorex-components-image.mjs +35 -8
  64. package/fesm2015/acorex-components-image.mjs.map +1 -1
  65. package/fesm2015/acorex-components-menu.mjs +5 -3
  66. package/fesm2015/acorex-components-menu.mjs.map +1 -1
  67. package/fesm2015/acorex-components-number-box.mjs +10 -4
  68. package/fesm2015/acorex-components-number-box.mjs.map +1 -1
  69. package/fesm2015/acorex-components-password-box.mjs +10 -4
  70. package/fesm2015/acorex-components-password-box.mjs.map +1 -1
  71. package/fesm2015/acorex-components-popover.mjs +9 -18
  72. package/fesm2015/acorex-components-popover.mjs.map +1 -1
  73. package/fesm2015/acorex-components-popup.mjs +23 -11
  74. package/fesm2015/acorex-components-popup.mjs.map +1 -1
  75. package/fesm2015/acorex-components-textarea.mjs +10 -4
  76. package/fesm2015/acorex-components-textarea.mjs.map +1 -1
  77. package/fesm2015/acorex-components-textbox.mjs +30 -8
  78. package/fesm2015/acorex-components-textbox.mjs.map +1 -1
  79. package/fesm2015/acorex-components-time-box.mjs +10 -4
  80. package/fesm2015/acorex-components-time-box.mjs.map +1 -1
  81. package/fesm2015/acorex-components-uploader.mjs +16 -3
  82. package/fesm2015/acorex-components-uploader.mjs.map +1 -1
  83. package/fesm2020/acorex-components-avatar.mjs +13 -20
  84. package/fesm2020/acorex-components-avatar.mjs.map +1 -1
  85. package/fesm2020/acorex-components-badge.mjs +2 -2
  86. package/fesm2020/acorex-components-badge.mjs.map +1 -1
  87. package/fesm2020/acorex-components-button.mjs +2 -2
  88. package/fesm2020/acorex-components-button.mjs.map +1 -1
  89. package/fesm2020/acorex-components-calendar.mjs +3 -1
  90. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  91. package/fesm2020/acorex-components-collapse.mjs +2 -2
  92. package/fesm2020/acorex-components-collapse.mjs.map +1 -1
  93. package/fesm2020/acorex-components-common.mjs +6 -2
  94. package/fesm2020/acorex-components-common.mjs.map +1 -1
  95. package/fesm2020/acorex-components-decorators.mjs +27 -5
  96. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  97. package/fesm2020/acorex-components-dialog.mjs +11 -7
  98. package/fesm2020/acorex-components-dialog.mjs.map +1 -1
  99. package/fesm2020/acorex-components-dropdown.mjs +18 -5
  100. package/fesm2020/acorex-components-dropdown.mjs.map +1 -1
  101. package/fesm2020/acorex-components-image.mjs +35 -8
  102. package/fesm2020/acorex-components-image.mjs.map +1 -1
  103. package/fesm2020/acorex-components-menu.mjs +5 -3
  104. package/fesm2020/acorex-components-menu.mjs.map +1 -1
  105. package/fesm2020/acorex-components-number-box.mjs +10 -4
  106. package/fesm2020/acorex-components-number-box.mjs.map +1 -1
  107. package/fesm2020/acorex-components-password-box.mjs +10 -4
  108. package/fesm2020/acorex-components-password-box.mjs.map +1 -1
  109. package/fesm2020/acorex-components-popover.mjs +8 -17
  110. package/fesm2020/acorex-components-popover.mjs.map +1 -1
  111. package/fesm2020/acorex-components-popup.mjs +23 -11
  112. package/fesm2020/acorex-components-popup.mjs.map +1 -1
  113. package/fesm2020/acorex-components-textarea.mjs +10 -4
  114. package/fesm2020/acorex-components-textarea.mjs.map +1 -1
  115. package/fesm2020/acorex-components-textbox.mjs +30 -8
  116. package/fesm2020/acorex-components-textbox.mjs.map +1 -1
  117. package/fesm2020/acorex-components-time-box.mjs +10 -4
  118. package/fesm2020/acorex-components-time-box.mjs.map +1 -1
  119. package/fesm2020/acorex-components-uploader.mjs +16 -3
  120. package/fesm2020/acorex-components-uploader.mjs.map +1 -1
  121. package/image/src/image.component.d.ts +16 -7
  122. package/menu/src/menu.component.d.ts +1 -0
  123. package/mixin/src/base-components.class.d.ts +1 -1
  124. package/mixin/src/base-menu-mixin.class.d.ts +4 -4
  125. package/mixin/src/button-mixin.class.d.ts +1 -1
  126. package/mixin/src/clickable-mixin.class.d.ts +1 -1
  127. package/mixin/src/color-look-mixing.class.d.ts +1 -1
  128. package/mixin/src/datalist-component.class.d.ts +9 -9
  129. package/mixin/src/dropdown-mixin.class.d.ts +1 -1
  130. package/mixin/src/interactive-mixin.class.d.ts +3 -3
  131. package/mixin/src/loading-mixin.class.d.ts +1 -1
  132. package/mixin/src/mixin.class.d.ts +42 -42
  133. package/mixin/src/page-component.class.d.ts +1 -1
  134. package/mixin/src/selection-component.class.d.ts +1 -1
  135. package/mixin/src/sizable-mixin.class.d.ts +1 -1
  136. package/mixin/src/textbox-mixin.class.d.ts +3 -3
  137. package/mixin/src/value-mixin.class.d.ts +7 -7
  138. package/number-box/src/number-box.component.d.ts +2 -0
  139. package/package.json +1 -1
  140. package/password-box/src/password-box.component.d.ts +2 -0
  141. package/popover/src/popover.component.d.ts +2 -2
  142. package/popup/src/popup.module.d.ts +7 -6
  143. package/tabs/src/tab-item.component.d.ts +1 -1
  144. package/textarea/src/textarea.component.d.ts +2 -0
  145. package/textbox/src/textbox.component.d.ts +2 -0
  146. package/time-box/src/time-box.component.d.ts +2 -0
  147. package/uploader/src/uploader.component.d.ts +4 -0
@@ -19,7 +19,7 @@ export declare class AXPopoverComponent extends AXInteractiveComponenetMixin {
19
19
  set target(v: HTMLElement | ElementRef | AXBaseComponent);
20
20
  position: AXConnectedPosition | AXConnectedPosition[];
21
21
  _baseTemplate: TemplateRef<any>;
22
- _overlayRef: OverlayRef | any;
22
+ _overlayRef: OverlayRef;
23
23
  _templatePortal: TemplatePortal;
24
24
  _subs: Subscription[];
25
25
  openTrigger: 'manual' | 'click' | 'mouseover' | 'toggle';
@@ -29,13 +29,13 @@ export declare class AXPopoverComponent extends AXInteractiveComponenetMixin {
29
29
  adaptivityEnabled: boolean;
30
30
  private _mousePos;
31
31
  private _isScrollAttached;
32
+ private _lastActiveElement;
32
33
  onOpened: EventEmitter<AXEvent>;
33
34
  onClosed: EventEmitter<AXEvent>;
34
35
  _emitOnOpenedEvent(): void;
35
36
  _emitOnClosedEvent(): void;
36
37
  onViewInit(): void;
37
38
  onDestroy(): void;
38
- _handleKeydownHandler(e: KeyboardEvent): void;
39
39
  toggle(): void;
40
40
  close(): void;
41
41
  dispose(): void;
@@ -1,13 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./popup.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/cdk/drag-drop";
5
- import * as i4 from "@angular/cdk/a11y";
6
- import * as i5 from "@acorex/components/button";
7
- import * as i6 from "@angular/cdk/portal";
8
- import * as i7 from "@acorex/components/decorators";
4
+ import * as i3 from "@acorex/components/common";
5
+ import * as i4 from "@angular/cdk/drag-drop";
6
+ import * as i5 from "@angular/cdk/a11y";
7
+ import * as i6 from "@acorex/components/button";
8
+ import * as i7 from "@angular/cdk/portal";
9
+ import * as i8 from "@acorex/components/decorators";
9
10
  export declare class AXPopupModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, [typeof i1.AXPopupComponent], [typeof i2.CommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.AXButtonModule, typeof i6.PortalModule, typeof i7.AXDecoratorModule], [typeof i1.AXPopupComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, [typeof i1.AXPopupComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.DragDropModule, typeof i5.A11yModule, typeof i6.AXButtonModule, typeof i7.PortalModule, typeof i8.AXDecoratorModule], [typeof i1.AXPopupComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<AXPopupModule>;
13
14
  }
@@ -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
- "__#32621@#elementRef": ElementRef<any>;
9
+ "__#32770@#elementRef": ElementRef<any>;
10
10
  _cdr: ChangeDetectorRef;
11
11
  _isInited: boolean;
12
12
  _isRendered: boolean;
@@ -2,11 +2,13 @@ import { AXBaseTextBoxMixin } from '@acorex/components/mixin';
2
2
  import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
5
+ input: ElementRef<HTMLInputElement>;
5
6
  rows: number;
6
7
  /**
7
8
  * @ignore
8
9
  */
9
10
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
11
+ focus(): void;
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
11
13
  static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", 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"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix"], false>;
12
14
  }
@@ -10,7 +10,9 @@ export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
10
10
  /**
11
11
  * @ignore
12
12
  */
13
+ input: ElementRef<HTMLInputElement>;
13
14
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
15
+ focus(): void;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
15
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>;
16
18
  }
@@ -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);
@@ -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;
@@ -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;