@acorex/components 5.0.41 → 5.0.44

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 (167) hide show
  1. package/esm2020/lib/alert/alert-button.component.mjs +3 -3
  2. package/esm2020/lib/alert/alert-content.component.mjs +3 -3
  3. package/esm2020/lib/alert/alert-footer.component.mjs +3 -3
  4. package/esm2020/lib/alert/alert-suffix.component.mjs +3 -3
  5. package/esm2020/lib/alert/alert-title.component.mjs +3 -3
  6. package/esm2020/lib/alert/alert.component.mjs +3 -3
  7. package/esm2020/lib/alert/alert.module.mjs +4 -4
  8. package/esm2020/lib/avatar/avatar.component.mjs +3 -3
  9. package/esm2020/lib/avatar/avatar.module.mjs +4 -4
  10. package/esm2020/lib/badge/badge.component.mjs +3 -3
  11. package/esm2020/lib/badge/badge.module.mjs +4 -4
  12. package/esm2020/lib/base/common.module.mjs +8 -7
  13. package/esm2020/lib/base/custom-cdk-overlay.service.mjs +6 -6
  14. package/esm2020/lib/base/events.class.mjs +2 -2
  15. package/esm2020/lib/base/index.mjs +2 -1
  16. package/esm2020/lib/base/infinite-scroll.directive.mjs +63 -0
  17. package/esm2020/lib/base/mixin/base-components.class.mjs +3 -3
  18. package/esm2020/lib/base/mixin/datalist-component.class.mjs +34 -16
  19. package/esm2020/lib/base/mixin/datalist.class.mjs +3 -0
  20. package/esm2020/lib/base/mixin/dropdown-mixin.class.mjs +3 -1
  21. package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +7 -1
  22. package/esm2020/lib/base/mixin/mixin.class.mjs +4 -3
  23. package/esm2020/lib/base/mixin/selection-component.class.mjs +10 -3
  24. package/esm2020/lib/base/mixin/textbox-mixin.class.mjs +1 -9
  25. package/esm2020/lib/base/mixin/value-mixin.class.mjs +1 -1
  26. package/esm2020/lib/base/overlay.service.mjs +3 -3
  27. package/esm2020/lib/base/responsive.directive.mjs +3 -3
  28. package/esm2020/lib/button/button-group.component.mjs +3 -3
  29. package/esm2020/lib/button/button-item.component.mjs +3 -3
  30. package/esm2020/lib/button/button.component.mjs +8 -11
  31. package/esm2020/lib/button/button.module.mjs +4 -4
  32. package/esm2020/lib/calendar/calendar.class.mjs +3 -3
  33. package/esm2020/lib/calendar/calendar.component.mjs +4 -5
  34. package/esm2020/lib/calendar/calendar.module.mjs +4 -4
  35. package/esm2020/lib/carousel/carousel-arrows.component.mjs +3 -3
  36. package/esm2020/lib/carousel/carousel-item.component.mjs +3 -3
  37. package/esm2020/lib/carousel/carousel-pager.component.mjs +3 -3
  38. package/esm2020/lib/carousel/carousel.class.mjs +3 -3
  39. package/esm2020/lib/carousel/carousel.component.mjs +3 -3
  40. package/esm2020/lib/carousel/carousel.module.mjs +4 -4
  41. package/esm2020/lib/checkbox/checkbox.component.mjs +3 -3
  42. package/esm2020/lib/checkbox/checkbox.module.mjs +4 -4
  43. package/esm2020/lib/datalist/datalist.component.mjs +8 -6
  44. package/esm2020/lib/datalist/datalist.module.mjs +8 -6
  45. package/esm2020/lib/datepicker/datepicker.component.mjs +5 -5
  46. package/esm2020/lib/datepicker/datepicker.module.mjs +4 -4
  47. package/esm2020/lib/decorators/addon.component.mjs +3 -3
  48. package/esm2020/lib/decorators/content.component.mjs +3 -3
  49. package/esm2020/lib/decorators/decorators.module.mjs +4 -4
  50. package/esm2020/lib/decorators/header.component.mjs +3 -3
  51. package/esm2020/lib/decorators/prefix.component.mjs +3 -3
  52. package/esm2020/lib/decorators/suffix.component.mjs +3 -3
  53. package/esm2020/lib/dialog/dialog.component.mjs +3 -3
  54. package/esm2020/lib/dialog/dialog.module.mjs +4 -4
  55. package/esm2020/lib/dialog/dialog.service.mjs +3 -3
  56. package/esm2020/lib/drawer/drawer-container.component.mjs +3 -3
  57. package/esm2020/lib/drawer/drawer-content.component.mjs +3 -3
  58. package/esm2020/lib/drawer/drawer.component.mjs +3 -3
  59. package/esm2020/lib/drawer/drawer.module.mjs +4 -4
  60. package/esm2020/lib/dropdown/dropdown-panel.component.mjs +3 -3
  61. package/esm2020/lib/dropdown/dropdown.module.mjs +4 -4
  62. package/esm2020/lib/form/form-field.component.mjs +3 -3
  63. package/esm2020/lib/form/form-field.module.mjs +4 -4
  64. package/esm2020/lib/form/form-hint.component.mjs +3 -3
  65. package/esm2020/lib/form/form.component.mjs +3 -3
  66. package/esm2020/lib/icon/icon.component.mjs +3 -3
  67. package/esm2020/lib/icon/icon.module.mjs +4 -4
  68. package/esm2020/lib/input-mask/input-mask.component.mjs +3 -3
  69. package/esm2020/lib/input-mask/input-mask.module.mjs +4 -4
  70. package/esm2020/lib/label/label.component.mjs +3 -3
  71. package/esm2020/lib/label/label.module.mjs +4 -4
  72. package/esm2020/lib/loading/loading-spinner.component.mjs +3 -3
  73. package/esm2020/lib/loading/loading.component.mjs +3 -3
  74. package/esm2020/lib/loading/loading.directive.mjs +3 -3
  75. package/esm2020/lib/loading/loading.module.mjs +4 -4
  76. package/esm2020/lib/loading/loading.service.mjs +3 -3
  77. package/esm2020/lib/menu/index.mjs +3 -0
  78. package/esm2020/lib/menu/menu.component.mjs +56 -0
  79. package/esm2020/lib/menu/menu.module.mjs +22 -0
  80. package/esm2020/lib/number-box/number-box.component.mjs +19 -19
  81. package/esm2020/lib/number-box/number-box.module.mjs +4 -4
  82. package/esm2020/lib/page/base-page.class.mjs +3 -3
  83. package/esm2020/lib/page/page-footer.component.mjs +3 -3
  84. package/esm2020/lib/page/page-header.component.mjs +3 -3
  85. package/esm2020/lib/page/page.component.mjs +3 -3
  86. package/esm2020/lib/page/page.module.mjs +4 -4
  87. package/esm2020/lib/password-box/password-box.component.mjs +5 -5
  88. package/esm2020/lib/password-box/password-box.module.mjs +4 -4
  89. package/esm2020/lib/popover/popover.component.mjs +14 -13
  90. package/esm2020/lib/popover/popover.module.mjs +4 -4
  91. package/esm2020/lib/popup/popup.component.mjs +5 -5
  92. package/esm2020/lib/popup/popup.module.mjs +4 -4
  93. package/esm2020/lib/popup/popup.service.mjs +3 -3
  94. package/esm2020/lib/radio/radio.component.mjs +3 -3
  95. package/esm2020/lib/radio/radio.module.mjs +4 -4
  96. package/esm2020/lib/range-slider/range-slider.component.mjs +3 -3
  97. package/esm2020/lib/range-slider/range-slider.module.mjs +4 -4
  98. package/esm2020/lib/selectbox/selectbox.component.mjs +169 -96
  99. package/esm2020/lib/selectbox/selectbox.module.mjs +47 -7
  100. package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
  101. package/esm2020/lib/selection-list/selection-list.module.mjs +4 -4
  102. package/esm2020/lib/switch/switch.component.mjs +3 -3
  103. package/esm2020/lib/switch/switch.module.mjs +4 -4
  104. package/esm2020/lib/tabs/tab-content.directive.mjs +3 -3
  105. package/esm2020/lib/tabs/tab-item.component.mjs +3 -3
  106. package/esm2020/lib/tabs/tabs.component.mjs +3 -3
  107. package/esm2020/lib/tabs/tabs.module.mjs +4 -4
  108. package/esm2020/lib/textarea/index.mjs +3 -0
  109. package/esm2020/lib/textarea/textarea.component.mjs +25 -0
  110. package/esm2020/lib/textarea/textarea.module.mjs +26 -0
  111. package/esm2020/lib/textbox/textbox.component.mjs +5 -5
  112. package/esm2020/lib/textbox/textbox.module.mjs +4 -4
  113. package/esm2020/lib/time-box/time-box.component.mjs +190 -60
  114. package/esm2020/lib/time-box/time-box.module.mjs +9 -9
  115. package/esm2020/lib/toast/toast.component.mjs +3 -3
  116. package/esm2020/lib/toast/toast.module.mjs +4 -4
  117. package/esm2020/lib/toast/toast.service.mjs +3 -3
  118. package/esm2020/lib/tooltip/tooltip.component.mjs +3 -3
  119. package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
  120. package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
  121. package/esm2020/lib/treeview/index.mjs +3 -0
  122. package/esm2020/lib/treeview/tree-view.component.mjs +100 -0
  123. package/esm2020/lib/treeview/tree-view.module.mjs +20 -0
  124. package/esm2020/lib/validation/validation-rule.widget.mjs +3 -3
  125. package/esm2020/lib/validation/validation.module.mjs +4 -4
  126. package/esm2020/public-api.mjs +5 -3
  127. package/fesm2015/acorex-components.mjs +2122 -1605
  128. package/fesm2015/acorex-components.mjs.map +1 -1
  129. package/fesm2020/acorex-components.mjs +2115 -1607
  130. package/fesm2020/acorex-components.mjs.map +1 -1
  131. package/lib/base/common.module.d.ts +2 -1
  132. package/lib/base/events.class.d.ts +1 -1
  133. package/lib/base/index.d.ts +1 -0
  134. package/lib/base/infinite-scroll.directive.d.ts +25 -0
  135. package/lib/base/mixin/datalist-component.class.d.ts +14 -7
  136. package/lib/base/mixin/datalist.class.d.ts +11 -0
  137. package/lib/base/mixin/interactive-mixin.class.d.ts +4 -0
  138. package/lib/base/mixin/mixin.class.d.ts +7 -1
  139. package/lib/base/mixin/selection-component.class.d.ts +2 -1
  140. package/lib/base/mixin/textbox-mixin.class.d.ts +1 -1
  141. package/lib/button/button-item.component.d.ts +1 -0
  142. package/lib/button/button.component.d.ts +1 -1
  143. package/lib/datalist/datalist.module.d.ts +3 -1
  144. package/lib/datepicker/datepicker.component.d.ts +2 -1
  145. package/lib/menu/index.d.ts +2 -0
  146. package/lib/menu/menu.component.d.ts +32 -0
  147. package/lib/menu/menu.module.d.ts +9 -0
  148. package/lib/number-box/number-box.component.d.ts +0 -1
  149. package/lib/popover/popover.component.d.ts +2 -2
  150. package/lib/selectbox/selectbox.component.d.ts +26 -6
  151. package/lib/selectbox/selectbox.module.d.ts +12 -10
  152. package/lib/textarea/index.d.ts +2 -0
  153. package/lib/textarea/textarea.component.d.ts +12 -0
  154. package/lib/textarea/textarea.module.d.ts +9 -0
  155. package/lib/time-box/time-box.component.d.ts +23 -12
  156. package/lib/time-box/time-box.module.d.ts +2 -2
  157. package/lib/treeview/index.d.ts +2 -0
  158. package/lib/treeview/tree-view.component.d.ts +25 -0
  159. package/lib/treeview/tree-view.module.d.ts +9 -0
  160. package/package.json +1 -1
  161. package/public-api.d.ts +4 -2
  162. package/esm2020/lib/side-menu/index.mjs +0 -3
  163. package/esm2020/lib/side-menu/side-menu.component.mjs +0 -15
  164. package/esm2020/lib/side-menu/side-menu.module.mjs +0 -21
  165. package/lib/side-menu/index.d.ts +0 -2
  166. package/lib/side-menu/side-menu.component.d.ts +0 -8
  167. package/lib/side-menu/side-menu.module.d.ts +0 -8
@@ -1,7 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./responsive.directive";
3
+ import * as i2 from "./infinite-scroll.directive";
3
4
  export declare class AXCommonModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCommonModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective], never, [typeof i1.AXResponsiveDirective]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective], never, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCommonModule>;
7
8
  }
@@ -50,7 +50,7 @@ export declare class AXButtonClickEvent extends AXClickEvent {
50
50
  * Fires each time the user click the element.
51
51
  * @category Events
52
52
  */
53
- export declare class AXItemClickEvent<T> extends AXEvent {
53
+ export declare class AXItemClickEvent<T> extends AXHtmlEvent<MouseEvent> {
54
54
  item: T;
55
55
  }
56
56
  /**
@@ -3,4 +3,5 @@ export * from './events.class';
3
3
  export * from './drawing.class';
4
4
  export * from './styles.class';
5
5
  export * from './responsive.directive';
6
+ export * from './infinite-scroll.directive';
6
7
  export * from './common.module';
@@ -0,0 +1,25 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface AXScrollPosition {
4
+ scrollHeight: number;
5
+ scrollTop: number;
6
+ clientHeight: number;
7
+ }
8
+ export declare class AXInfiniteScrollerDirective implements AfterViewInit {
9
+ private elm;
10
+ private scrollEvent$;
11
+ private userScrolledDown$;
12
+ private requestOnScroll$;
13
+ scrollCallback: Function;
14
+ immediateCallback: any;
15
+ scrollPercent: number;
16
+ constructor(elm: ElementRef);
17
+ ngAfterViewInit(): void;
18
+ private registerScrollEvent;
19
+ private streamScrollEvents;
20
+ private requestCallbackOnScroll;
21
+ private isUserScrollingDown;
22
+ private isScrollExpectedPercent;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXInfiniteScrollerDirective, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXInfiniteScrollerDirective, "[axInfiniteScroller]", never, { "scrollCallback": "scrollCallback"; "immediateCallback": "immediateCallback"; "scrollPercent": "scrollPercent"; }, {}, never>;
25
+ }
@@ -1,28 +1,35 @@
1
1
  import { AXBaseComponent } from './base-components.class';
2
2
  import { Constructor } from './constratctor';
3
+ import { AXDataListItems } from './datalist.class';
3
4
  export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
4
5
  new (...args: any[]): {
5
6
  valueField: string;
6
- textField: string | string[];
7
- groupValueField: string;
8
- groupTextField: string | string[];
7
+ textField: string;
8
+ childrenField: string;
9
9
  pageSize: number;
10
10
  "__#2@#currentPage": number;
11
11
  "__#2@#isLoading": boolean;
12
12
  "__#2@#loadedItems": any[];
13
+ "__#2@#flatItems": any[];
13
14
  "__#2@#totalItems": number;
14
15
  "__#2@#isLazy": boolean;
15
16
  readonly totalCount: number;
16
17
  readonly loadedCount: number;
17
- "__#2@#items": any;
18
- items: any;
19
- readonly displayItems: any;
18
+ "__#2@#items": AXDataListItems;
19
+ items: AXDataListItems;
20
+ readonly displayItems: any[];
21
+ readonly flatItems: any[];
20
22
  readonly isLoading: boolean;
21
23
  _formatData(v: any[]): any[];
22
- _fetchData(): void;
24
+ _fetchData(opts?: {
25
+ searchQuery?: string;
26
+ }): void;
23
27
  _onDataLoaded(): void;
28
+ "__#2@#generateFlatItems"(): void;
24
29
  _getItemDisplayTextTemplte(item: any): any;
25
30
  _trackByFunction(item: any): any;
31
+ refresh(): void;
32
+ empty(): void;
26
33
  id: string;
27
34
  rtl: boolean;
28
35
  cssClass: string;
@@ -0,0 +1,11 @@
1
+ export interface AXDataListQuery {
2
+ take?: number;
3
+ skip?: number;
4
+ searchQuery?: string;
5
+ }
6
+ export interface AXDataListFetchCallbackResult {
7
+ items: any[];
8
+ total: number;
9
+ }
10
+ export declare type AXDataListFetchDataCallback = (e: AXDataListQuery) => Promise<any[] | AXDataListFetchCallbackResult>;
11
+ export declare type AXDataListItems = any[] | AXDataListFetchDataCallback;
@@ -29,6 +29,10 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
29
29
  * Focuses the component.
30
30
  */
31
31
  focus(): void;
32
+ /**
33
+ * Check component is focused or has any focused element.
34
+ */
35
+ hasFocus(): boolean;
32
36
  id: string;
33
37
  rtl: boolean;
34
38
  cssClass: string;
@@ -1,4 +1,5 @@
1
1
  import { AXBaseComponent } from './base-components.class';
2
+ export * from './datalist.class';
2
3
  export declare const AXBaseComponentMixin: {
3
4
  new (...args: any[]): {
4
5
  id: string;
@@ -117,6 +118,7 @@ export declare const AXInteractiveComponenetMixin: {
117
118
  onBlur: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
118
119
  _emitOnBlurEvent(e: FocusEvent): void;
119
120
  focus(): void;
121
+ hasFocus(): boolean;
120
122
  id: string;
121
123
  rtl: boolean;
122
124
  cssClass: string;
@@ -178,6 +180,7 @@ export declare const AXBaseClickableMixin: {
178
180
  onBlur: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
179
181
  _emitOnBlurEvent(e: FocusEvent): void;
180
182
  focus(): void;
183
+ hasFocus(): boolean;
181
184
  id: string;
182
185
  rtl: boolean;
183
186
  cssClass: string;
@@ -267,6 +270,7 @@ export declare const AXBaseButtonMixin: {
267
270
  onBlur: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
268
271
  _emitOnBlurEvent(e: FocusEvent): void;
269
272
  focus(): void;
273
+ hasFocus(): boolean;
270
274
  id: string;
271
275
  rtl: boolean;
272
276
  cssClass: string;
@@ -404,6 +408,7 @@ export declare const AXBaseTextBoxMixin: {
404
408
  onBlur: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
405
409
  _emitOnBlurEvent(e: FocusEvent): void;
406
410
  focus(): void;
411
+ hasFocus(): boolean;
407
412
  id: string;
408
413
  rtl: boolean;
409
414
  cssClass: string;
@@ -481,7 +486,7 @@ export declare const AXBaseTextBoxMixin: {
481
486
  new (...args: any[]): {
482
487
  placeholder: string;
483
488
  maxLength: number;
484
- autoComplete: boolean;
489
+ autoComplete: string;
485
490
  onKeyDown: import("@angular/core").EventEmitter<import("@acorex/components").AXHtmlEvent<KeyboardEvent>>;
486
491
  _emitOnKeydownEvent(e: KeyboardEvent): void;
487
492
  id: string;
@@ -549,6 +554,7 @@ export declare const AXBaseDropdownMixin: {
549
554
  onBlur: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
550
555
  _emitOnBlurEvent(e: FocusEvent): void;
551
556
  focus(): void;
557
+ hasFocus(): boolean;
552
558
  id: string;
553
559
  rtl: boolean;
554
560
  cssClass: string;
@@ -5,7 +5,7 @@ import { Constructor } from './constratctor';
5
5
  export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
6
6
  new (...args: any[]): {
7
7
  valueField: string;
8
- textField: string | string[];
8
+ textField: string;
9
9
  disabledField: string;
10
10
  disabledCallback: (e: {
11
11
  item: any;
@@ -15,6 +15,7 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
15
15
  selectionMode: 'value' | 'item';
16
16
  readonly items: any[];
17
17
  readonly displayItems: any[];
18
+ readonly flatItems: any[];
18
19
  valueChange: EventEmitter<any>;
19
20
  onValueChanged: EventEmitter<AXSelectionValueChangedEvent>;
20
21
  _onInternalInit(): void;
@@ -15,7 +15,7 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
15
15
  /**
16
16
  * Specifies that autocomplete is on or off.
17
17
  */
18
- autoComplete: boolean;
18
+ autoComplete: string;
19
19
  /**
20
20
  * Fires each time the user press a key.
21
21
  * @event
@@ -11,6 +11,7 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
11
11
  onBlur: import("@angular/core").EventEmitter<import("../base").AXFocusEvent>;
12
12
  _emitOnBlurEvent(e: FocusEvent): void;
13
13
  focus(): void;
14
+ hasFocus(): boolean;
14
15
  id: string;
15
16
  rtl: boolean;
16
17
  cssClass: string;
@@ -11,7 +11,7 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
11
11
  * @ignore
12
12
  */
13
13
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
14
- onKeydownHandler(e: KeyboardEvent): boolean;
14
+ onKeydownHandler(e: KeyboardEvent): void;
15
15
  _emitOnClickEvent(e: MouseEvent): void;
16
16
  _emitOnFocusEvent(e: MouseEvent): void;
17
17
  _emitOnBlurEvent(e: MouseEvent): void;
@@ -2,8 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./datalist.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../button/button.module";
5
+ import * as i4 from "../loading/loading.module";
6
+ import * as i5 from "@acorex/core";
5
7
  export declare class AXDataListModule {
6
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXDataListModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataListModule, [typeof i1.AXDataListComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule], [typeof i1.AXDataListComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataListModule, [typeof i1.AXDataListComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule], [typeof i1.AXDataListComponent]>;
8
10
  static ɵinj: i0.ɵɵInjectorDeclaration<AXDataListModule>;
9
11
  }
@@ -15,6 +15,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
15
15
  onBlur: EventEmitter<import("../base").AXFocusEvent>;
16
16
  _emitOnBlurEvent(e: FocusEvent): void;
17
17
  focus(): void;
18
+ hasFocus(): boolean;
18
19
  id: string;
19
20
  rtl: boolean;
20
21
  cssClass: string;
@@ -127,7 +128,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
127
128
  new (...args: any[]): {
128
129
  placeholder: string;
129
130
  maxLength: number;
130
- autoComplete: boolean;
131
+ autoComplete: string;
131
132
  onKeyDown: EventEmitter<import("../base").AXHtmlEvent<KeyboardEvent>>;
132
133
  _emitOnKeydownEvent(e: KeyboardEvent): void;
133
134
  id: string;
@@ -0,0 +1,2 @@
1
+ export * from './menu.component';
2
+ export * from './menu.module';
@@ -0,0 +1,32 @@
1
+ import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import { AXBaseComponentMixin, AXItemClickEvent } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export interface AXMenuItems {
5
+ id?: string;
6
+ name?: string;
7
+ text?: string;
8
+ tooltip?: string;
9
+ parentId?: string;
10
+ icon?: string;
11
+ visible?: boolean;
12
+ disable?: boolean;
13
+ selected?: boolean;
14
+ data?: any;
15
+ style?: string;
16
+ children?: AXMenuItems[];
17
+ isOpen?: boolean;
18
+ isActive?: boolean;
19
+ onClick?: (e?: any) => void;
20
+ }
21
+ export declare class AXMenuComponent extends AXBaseComponentMixin {
22
+ private elementRef;
23
+ private cdr;
24
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
25
+ items: AXMenuItems[];
26
+ onMenuItemClick: EventEmitter<AXItemClickEvent<AXMenuItems>>;
27
+ onMenuClick(e: MouseEvent, item: AXMenuItems): void;
28
+ notActive(items: AXMenuItems[]): void;
29
+ closeChild(items: AXMenuItems[]): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "items": "items"; }, { "onMenuItemClick": "onMenuItemClick"; }, never, never>;
32
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./menu.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
5
+ export declare class AXMenuModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuComponent], [typeof i2.CommonModule, typeof i3.AXIconModule], [typeof i1.AXMenuComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXMenuModule>;
9
+ }
@@ -60,7 +60,6 @@ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
60
60
  * @ignore
61
61
  */
62
62
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
63
- private toNum;
64
63
  onViewInit(): void;
65
64
  _onOptionChanged(option: AXComponentOptionChanged): void;
66
65
  private _updateMask;
@@ -1,11 +1,11 @@
1
1
  import { NgZone, ChangeDetectorRef, TemplateRef, ElementRef, ViewContainerRef, EventEmitter } from '@angular/core';
2
- import { AXBaseComponent, AXConnectedPosition, AXEvent } from '../base';
2
+ import { AXBaseComponent, AXConnectedPosition, AXEvent, AXInteractiveComponenetMixin } from '../base';
3
3
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
4
4
  import { AXPlatform } from '@acorex/core';
5
5
  import { TemplatePortal } from '@angular/cdk/portal';
6
6
  import { Subscription } from 'rxjs';
7
7
  import * as i0 from "@angular/core";
8
- export declare class AXPopoverComponent extends AXBaseComponent {
8
+ export declare class AXPopoverComponent extends AXInteractiveComponenetMixin {
9
9
  private _elementRef;
10
10
  _cdr: ChangeDetectorRef;
11
11
  private _zone;
@@ -1,6 +1,6 @@
1
1
  import { AXPlatform } from '@acorex/core';
2
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
3
- import { AXBaseSelectionDropdownMixin, AXClickEvent } from '../base';
2
+ import { ChangeDetectorRef, ElementRef, NgZone, TemplateRef } from '@angular/core';
3
+ import { AXBaseSelectionDropdownMixin, AXClickEvent, AXValueChangedEvent } from '../base';
4
4
  import { AXPopoverComponent } from '../popover';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
@@ -12,26 +12,46 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
12
12
  _target: HTMLDivElement;
13
13
  _popoverTitle: string;
14
14
  _popoverWidth: number;
15
+ clearButton: boolean;
16
+ private _searchSettings;
17
+ get searchSettings(): {
18
+ enabled?: boolean;
19
+ expr?: string;
20
+ };
21
+ set searchSettings(v: {
22
+ enabled?: boolean;
23
+ expr?: string;
24
+ });
15
25
  checkbox: boolean;
16
26
  private listContainer;
17
- _currentfocusedIndex: number;
27
+ private _searchBox;
28
+ private _contentEmptyTemplate;
29
+ get emptyTemplate(): TemplateRef<any>;
18
30
  _isMobile: boolean;
31
+ _forceFocus: boolean;
19
32
  constructor(_elementRef: ElementRef<HTMLDivElement>, _cdr: ChangeDetectorRef, _zone: NgZone, _platform: AXPlatform);
20
33
  _handleArrowClickEvent(e: AXClickEvent): void;
21
34
  _handleInputClickEvent(e: MouseEvent): void;
22
35
  onInit(): void;
23
36
  onViewInit(): void;
37
+ refresh(): void;
24
38
  _handleOnItemClick(e: MouseEvent, item: any): void;
25
39
  _handleListScroll(e: Event): void;
26
40
  private _checkForLoadData;
27
41
  _onDataLoaded(): void;
42
+ _onValueChanged(oldValue: any, newValue: any): void;
28
43
  _handleOnRemoveItemClick(e: MouseEvent, item: any): void;
29
44
  _handleBadgeRemove(e: MouseEvent, item: any): void;
30
45
  _handleKeydown(e: KeyboardEvent): void;
46
+ _handlePopoverKeydown(e: KeyboardEvent): void;
47
+ _handlePopupOnOpened(e: any): void;
48
+ _handlePopupOnClosed(e: any): void;
31
49
  private _focusItemByNav;
32
- private _focusItemByIndex;
33
50
  private _focusSelectedItem;
34
- private _selectedItemByIndex;
51
+ private _focusItemElement;
52
+ private _selectedItemByNav;
53
+ _onSearchExprChanged(e: AXValueChangedEvent<string>): void;
54
+ _fetchData(): void;
35
55
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, never, ["ax-prefix", "ax-validation-rule", "ax-suffix"]>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "searchSettings": "searchSettings"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix"]>;
37
57
  }
@@ -1,18 +1,20 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./selectbox.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "../checkbox/checkbox.module";
6
- import * as i5 from "../badge/badge.module";
7
- import * as i6 from "../decorators/decorators.module";
8
- import * as i7 from "@acorex/core";
9
- import * as i8 from "../icon/icon.module";
10
- import * as i9 from "../popover/popover.module";
11
- import * as i10 from "../button/button.module";
12
- import * as i11 from "../label/label.module";
4
+ import * as i3 from "../base/common.module";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../checkbox/checkbox.module";
7
+ import * as i6 from "../badge/badge.module";
8
+ import * as i7 from "../decorators/decorators.module";
9
+ import * as i8 from "@acorex/core";
10
+ import * as i9 from "../icon/icon.module";
11
+ import * as i10 from "../popover/popover.module";
12
+ import * as i11 from "../button/button.module";
13
13
  import * as i12 from "../loading/loading.module";
14
+ import * as i13 from "@angular/cdk/a11y";
15
+ import * as i14 from "../textbox/textbox.module";
14
16
  export declare class AXSelectBoxModule {
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXCheckBoxModule, typeof i5.AXBadgeModule, typeof i6.AXEditorDecoratorModule, typeof i7.AXTranslationModule, typeof i8.AXIconModule, typeof i9.AXPopoverModule, typeof i10.AXButtonModule, typeof i11.AXLabelModule, typeof i12.AXLoadingModule], [typeof i1.AXSelectBoxComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.FormsModule, typeof i5.AXCheckBoxModule, typeof i6.AXBadgeModule, typeof i7.AXEditorDecoratorModule, typeof i8.AXTranslationModule, typeof i9.AXIconModule, typeof i10.AXPopoverModule, typeof i11.AXButtonModule, typeof i12.AXLoadingModule, typeof i13.A11yModule, typeof i14.AXTextBoxModule], [typeof i1.AXSelectBoxComponent]>;
17
19
  static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectBoxModule>;
18
20
  }
@@ -0,0 +1,2 @@
1
+ export * from "./textarea.component";
2
+ export * from "./textarea.module";
@@ -0,0 +1,12 @@
1
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { AXBaseTextBoxMixin } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
5
+ rows: number;
6
+ /**
7
+ * @ignore
8
+ */
9
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix"]>;
12
+ }
@@ -0,0 +1,9 @@
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
+ export declare class AXTextareaModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextareaModule, [typeof i1.AXTextareaComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.AXTextareaComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXTextareaModule>;
9
+ }
@@ -1,29 +1,40 @@
1
1
  import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
- import { MaskApplierService } from 'ngx-mask';
3
- import { AXBaseTextBoxMixin } from '../base';
2
+ import IMask from 'imask';
3
+ import { AXBaseTextBoxMixin, AXComponentOptionChanged } from '../base';
4
4
  import * as i0 from "@angular/core";
5
+ export declare type AX_TIME_FORMAT = 'HH:mm' | 'HH:mm:ss';
5
6
  export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
6
7
  private cdr;
7
- private _maskService;
8
- get hostClass(): string;
9
8
  private _minValue;
10
9
  get minValue(): Date;
11
10
  set minValue(v: Date);
12
11
  private _maxValue;
13
12
  get maxValue(): Date;
14
13
  set maxValue(v: Date);
15
- format: string;
14
+ formatChange: EventEmitter<string>;
15
+ private _format;
16
+ get format(): AX_TIME_FORMAT;
17
+ set format(v: AX_TIME_FORMAT);
16
18
  displayTextChange: EventEmitter<string>;
17
19
  private _displayText;
18
20
  get displayText(): string;
19
21
  set displayText(v: string);
20
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _maskService: MaskApplierService);
22
+ /**
23
+ * @ignore
24
+ */
25
+ _maskObj: IMask.MaskedPattern;
26
+ private _maskDirective;
27
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
28
+ onViewInit(): void;
29
+ _onValueChanged(oldValue?: any, newValue?: any): void;
30
+ _updateText(): void;
31
+ _onOptionChanged(option: AXComponentOptionChanged): void;
32
+ private _updateMask;
21
33
  _handleOnKeydownEvent(e: KeyboardEvent): void;
22
- _onValueChanging(value: Date): Date;
23
- _fixValue(value: Date): Date;
24
- _format(value: Date): string;
25
- _onValueChanged(oldValue: any, newValue: any): void;
26
- _handleOnBlurEvent(e: FocusEvent): void;
34
+ _handleKeyUpEvent(e: KeyboardEvent): void;
35
+ _emitOnFocusEvent(e: FocusEvent): void;
36
+ _handleOnInputClickEvent(e: MouseEvent): void;
37
+ private _highlightPart;
27
38
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
28
- 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"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
39
+ 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"; "debounceTime": "debounceTime"; "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"]>;
29
40
  }
@@ -3,9 +3,9 @@ import * as i1 from "./time-box.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../button/button.module";
6
- import * as i5 from "ngx-mask";
6
+ import * as i5 from "angular-imask";
7
7
  export declare class AXTimeBoxModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXTimeBoxModule, [typeof i1.AXTimeBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.NgxMaskModule], [typeof i1.AXTimeBoxComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTimeBoxModule, [typeof i1.AXTimeBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.IMaskModule], [typeof i1.AXTimeBoxComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<AXTimeBoxModule>;
11
11
  }
@@ -0,0 +1,2 @@
1
+ export * from "./tree-view.component";
2
+ export * from './tree-view.module';
@@ -0,0 +1,25 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXTreeViewComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ showLines: "all" | "node" | "none";
7
+ list: {
8
+ title: string;
9
+ children: {
10
+ title: string;
11
+ children: {
12
+ title: string;
13
+ children: {
14
+ title: string;
15
+ children: {
16
+ title: string;
17
+ children: any[];
18
+ }[];
19
+ }[];
20
+ }[];
21
+ }[];
22
+ }[];
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "showLines": "showLines"; }, {}, never, never>;
25
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tree-view.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../checkbox/checkbox.module";
5
+ export declare class AXTreeViewModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTreeViewModule, [typeof i1.AXTreeViewComponent], [typeof i2.CommonModule, typeof i3.AXCheckBoxModule], [typeof i1.AXTreeViewComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXTreeViewModule>;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "5.0.41",
3
+ "version": "5.0.44",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0",
package/public-api.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from "./lib/icon";
21
21
  export * from "./lib/input-mask";
22
22
  export * from "./lib/label";
23
23
  export * from "./lib/loading";
24
+ export * from "./lib/menu";
24
25
  export * from "./lib/number-box";
25
26
  export * from "./lib/page";
26
27
  export * from "./lib/password-box";
@@ -30,11 +31,12 @@ export * from "./lib/radio";
30
31
  export * from "./lib/range-slider";
31
32
  export * from "./lib/selectbox";
32
33
  export * from "./lib/selection-list";
33
- export * from "./lib/side-menu";
34
34
  export * from "./lib/switch";
35
35
  export * from "./lib/tabs";
36
+ export * from "./lib/textarea";
37
+ export * from "./lib/textbox";
36
38
  export * from "./lib/time-box";
37
39
  export * from "./lib/toast";
38
40
  export * from "./lib/tooltip";
39
- export * from "./lib/textbox";
41
+ export * from "./lib/treeview";
40
42
  export * from "./lib/validation";
@@ -1,3 +0,0 @@
1
- export * from './side-menu.component';
2
- export * from './side-menu.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3NpZGUtbWVudS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NpZGUtbWVudS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NpZGUtbWVudS5tb2R1bGUnO1xyXG4iXX0=
@@ -1,15 +0,0 @@
1
- import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
2
- import { AXBaseComponentMixin } from '../base';
3
- import * as i0 from "@angular/core";
4
- export class AXSideMenuComponent extends AXBaseComponentMixin {
5
- constructor(elementRef, cdr) {
6
- super(elementRef, cdr);
7
- }
8
- }
9
- AXSideMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
10
- AXSideMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: AXSideMenuComponent, selector: "ax-side-menu", host: { classAttribute: "ax-side-menu" }, usesInheritance: true, ngImport: i0, template: "\r\n<div>Hi ax-side-menu</div>\r\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSideMenuComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'ax-side-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-side-menu' }, template: "\r\n<div>Hi ax-side-menu</div>\r\n" }]
14
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvc2lkZS1tZW51L3NpZGUtbWVudS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL3NpZGUtbWVudS9zaWRlLW1lbnUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSx1QkFBdUIsRUFBaUMsTUFBTSxlQUFlLENBQUM7QUFDckgsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sU0FBUyxDQUFDOztBQVMvQyxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsb0JBQW9CO0lBRXpELFlBQ0ksVUFBc0IsRUFDdEIsR0FBc0I7UUFFdEIsS0FBSyxDQUFDLFVBQVUsRUFBRSxHQUFHLENBQUMsQ0FBQztJQUMzQixDQUFDOztnSEFQUSxtQkFBbUI7b0dBQW5CLG1CQUFtQixxSENWaEMsb0NBRUE7MkZEUWEsbUJBQW1CO2tCQVAvQixTQUFTOytCQUNJLGNBQWMsbUJBRVAsdUJBQXVCLENBQUMsTUFBTSxpQkFDaEMsaUJBQWlCLENBQUMsSUFBSSxRQUM5QixFQUFFLEtBQUssRUFBRSxjQUFjLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uLCBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgRWxlbWVudFJlZiwgQ2hhbmdlRGV0ZWN0b3JSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQVhCYXNlQ29tcG9uZW50TWl4aW4gfSBmcm9tICcuLi9iYXNlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdheC1zaWRlLW1lbnUnLFxyXG4gICAgdGVtcGxhdGVVcmw6ICcuL3NpZGUtbWVudS5jb21wb25lbnQuaHRtbCcsXHJcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcclxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXHJcbiAgICBob3N0IDogeyBjbGFzczogJ2F4LXNpZGUtbWVudScgfVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhTaWRlTWVudUNvbXBvbmVudCBleHRlbmRzIEFYQmFzZUNvbXBvbmVudE1peGluIHtcclxuXHJcbiAgICBjb25zdHJ1Y3RvcihcclxuICAgICAgICBlbGVtZW50UmVmOiBFbGVtZW50UmVmLCBcclxuICAgICAgICBjZHI6IENoYW5nZURldGVjdG9yUmVmXHJcbiAgICApIHtcclxuICAgICAgICBzdXBlcihlbGVtZW50UmVmLCBjZHIpO1xyXG4gICAgfVxyXG5cclxufVxyXG4iLCJcclxuPGRpdj5IaSBheC1zaWRlLW1lbnU8L2Rpdj5cclxuIl19