@acorex/components 6.0.2 → 6.0.5

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 (146) hide show
  1. package/README.md +24 -24
  2. package/alert/src/alert.component.d.ts +2 -3
  3. package/badge/src/badge.component.d.ts +1 -2
  4. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +4 -6
  5. package/button/src/button-group.component.d.ts +4 -6
  6. package/button/src/button-item.component.d.ts +4 -6
  7. package/calendar/src/calendar.component.d.ts +1 -0
  8. package/color-picker/src/color-picker.component.d.ts +14 -21
  9. package/common/src/styles.class.d.ts +2 -2
  10. package/context-menu/index.d.ts +5 -0
  11. package/context-menu/public-api.d.ts +2 -0
  12. package/context-menu/src/context-menu.component.d.ts +34 -0
  13. package/context-menu/src/context-menu.module.d.ts +13 -0
  14. package/date-picker/src/datepicker.component.d.ts +11 -14
  15. package/decorators/public-api.d.ts +0 -1
  16. package/decorators/src/decorators.module.d.ts +5 -6
  17. package/decorators/src/header.component.d.ts +1 -1
  18. package/esm2020/alert/src/alert.component.mjs +5 -4
  19. package/esm2020/button/src/button.component.mjs +1 -1
  20. package/esm2020/calendar/src/calendar.component.mjs +33 -5
  21. package/esm2020/checkbox/src/checkbox.component.mjs +3 -3
  22. package/esm2020/common/src/styles.class.mjs +13 -2
  23. package/esm2020/context-menu/acorex-components-context-menu.mjs +5 -0
  24. package/esm2020/context-menu/public-api.mjs +3 -0
  25. package/esm2020/context-menu/src/context-menu.component.mjs +257 -0
  26. package/esm2020/context-menu/src/context-menu.module.mjs +36 -0
  27. package/esm2020/decorators/public-api.mjs +1 -2
  28. package/esm2020/decorators/src/decorators.module.mjs +1 -5
  29. package/esm2020/decorators/src/header.component.mjs +3 -3
  30. package/esm2020/form/public-api.mjs +2 -2
  31. package/esm2020/form/src/form.component.mjs +69 -8
  32. package/esm2020/form/src/form.module.mjs +68 -0
  33. package/esm2020/menu/src/menu.component.mjs +261 -117
  34. package/esm2020/menu/src/menu.module.mjs +16 -8
  35. package/esm2020/mixin/src/base-components.class.mjs +1 -3
  36. package/esm2020/mixin/src/base-menu-mixin.class.mjs +11 -11
  37. package/esm2020/mixin/src/mixin.class.mjs +14 -14
  38. package/esm2020/mixin/src/selection-component.class.mjs +2 -4
  39. package/esm2020/mixin/src/textbox-mixin.class.mjs +1 -1
  40. package/esm2020/mixin/src/value-mixin.class.mjs +6 -6
  41. package/esm2020/number-box/src/number-box.component.mjs +14 -4
  42. package/esm2020/public-api.mjs +1 -1
  43. package/esm2020/radio/src/radio.component.mjs +3 -3
  44. package/esm2020/result/src/result.component.mjs +3 -3
  45. package/esm2020/search-box/src/search-box.component.mjs +3 -3
  46. package/esm2020/selection-list/src/selection-list.component.mjs +3 -3
  47. package/esm2020/tabs/src/tabs.class.mjs +1 -1
  48. package/esm2020/tabs/src/tabs.component.mjs +35 -16
  49. package/esm2020/toast/src/toast.component.mjs +4 -4
  50. package/esm2020/toast/src/toast.service.mjs +10 -1
  51. package/fesm2015/acorex-components-alert.mjs +4 -3
  52. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  53. package/fesm2015/acorex-components-button.mjs.map +1 -1
  54. package/fesm2015/acorex-components-calendar.mjs +30 -2
  55. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  56. package/fesm2015/acorex-components-checkbox.mjs +2 -2
  57. package/fesm2015/acorex-components-checkbox.mjs.map +1 -1
  58. package/fesm2015/acorex-components-common.mjs +13 -2
  59. package/fesm2015/acorex-components-common.mjs.map +1 -1
  60. package/fesm2015/acorex-components-context-menu.mjs +297 -0
  61. package/fesm2015/acorex-components-context-menu.mjs.map +1 -0
  62. package/fesm2015/acorex-components-decorators.mjs +4 -25
  63. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  64. package/fesm2015/acorex-components-form.mjs +76 -14
  65. package/fesm2015/acorex-components-form.mjs.map +1 -1
  66. package/fesm2015/acorex-components-menu.mjs +276 -124
  67. package/fesm2015/acorex-components-menu.mjs.map +1 -1
  68. package/fesm2015/acorex-components-mixin.mjs +17 -21
  69. package/fesm2015/acorex-components-mixin.mjs.map +1 -1
  70. package/fesm2015/acorex-components-number-box.mjs +13 -3
  71. package/fesm2015/acorex-components-number-box.mjs.map +1 -1
  72. package/fesm2015/acorex-components-radio.mjs +2 -2
  73. package/fesm2015/acorex-components-radio.mjs.map +1 -1
  74. package/fesm2015/acorex-components-result.mjs +2 -2
  75. package/fesm2015/acorex-components-result.mjs.map +1 -1
  76. package/fesm2015/acorex-components-search-box.mjs +2 -2
  77. package/fesm2015/acorex-components-search-box.mjs.map +1 -1
  78. package/fesm2015/acorex-components-selection-list.mjs +2 -2
  79. package/fesm2015/acorex-components-selection-list.mjs.map +1 -1
  80. package/fesm2015/acorex-components-tabs.mjs +35 -16
  81. package/fesm2015/acorex-components-tabs.mjs.map +1 -1
  82. package/fesm2015/acorex-components-toast.mjs +12 -3
  83. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  84. package/fesm2015/acorex-components.mjs.map +1 -1
  85. package/fesm2020/acorex-components-alert.mjs +4 -3
  86. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  87. package/fesm2020/acorex-components-button.mjs.map +1 -1
  88. package/fesm2020/acorex-components-calendar.mjs +30 -2
  89. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  90. package/fesm2020/acorex-components-checkbox.mjs +2 -2
  91. package/fesm2020/acorex-components-checkbox.mjs.map +1 -1
  92. package/fesm2020/acorex-components-common.mjs +13 -2
  93. package/fesm2020/acorex-components-common.mjs.map +1 -1
  94. package/fesm2020/acorex-components-context-menu.mjs +297 -0
  95. package/fesm2020/acorex-components-context-menu.mjs.map +1 -0
  96. package/fesm2020/acorex-components-decorators.mjs +4 -25
  97. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  98. package/fesm2020/acorex-components-form.mjs +75 -14
  99. package/fesm2020/acorex-components-form.mjs.map +1 -1
  100. package/fesm2020/acorex-components-menu.mjs +273 -120
  101. package/fesm2020/acorex-components-menu.mjs.map +1 -1
  102. package/fesm2020/acorex-components-mixin.mjs +17 -20
  103. package/fesm2020/acorex-components-mixin.mjs.map +1 -1
  104. package/fesm2020/acorex-components-number-box.mjs +13 -3
  105. package/fesm2020/acorex-components-number-box.mjs.map +1 -1
  106. package/fesm2020/acorex-components-radio.mjs +2 -2
  107. package/fesm2020/acorex-components-radio.mjs.map +1 -1
  108. package/fesm2020/acorex-components-result.mjs +2 -2
  109. package/fesm2020/acorex-components-result.mjs.map +1 -1
  110. package/fesm2020/acorex-components-search-box.mjs +2 -2
  111. package/fesm2020/acorex-components-search-box.mjs.map +1 -1
  112. package/fesm2020/acorex-components-selection-list.mjs +2 -2
  113. package/fesm2020/acorex-components-selection-list.mjs.map +1 -1
  114. package/fesm2020/acorex-components-tabs.mjs +34 -15
  115. package/fesm2020/acorex-components-tabs.mjs.map +1 -1
  116. package/fesm2020/acorex-components-toast.mjs +12 -3
  117. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  118. package/fesm2020/acorex-components.mjs.map +1 -1
  119. package/form/public-api.d.ts +1 -1
  120. package/form/src/form.component.d.ts +18 -2
  121. package/form/src/{form-field.module.d.ts → form.module.d.ts} +0 -0
  122. package/menu/src/menu.component.d.ts +21 -36
  123. package/menu/src/menu.module.d.ts +2 -2
  124. package/mixin/src/base-components.class.d.ts +1 -3
  125. package/mixin/src/base-menu-mixin.class.d.ts +8 -9
  126. package/mixin/src/button-mixin.class.d.ts +1 -2
  127. package/mixin/src/clickable-mixin.class.d.ts +1 -2
  128. package/mixin/src/color-look-mixing.class.d.ts +1 -2
  129. package/mixin/src/datalist-component.class.d.ts +9 -10
  130. package/mixin/src/dropdown-mixin.class.d.ts +1 -2
  131. package/mixin/src/interactive-mixin.class.d.ts +6 -5
  132. package/mixin/src/loading-mixin.class.d.ts +1 -2
  133. package/mixin/src/mixin.class.d.ts +47 -100
  134. package/mixin/src/page-component.class.d.ts +1 -2
  135. package/mixin/src/selection-component.class.d.ts +1 -2
  136. package/mixin/src/sizable-mixin.class.d.ts +1 -2
  137. package/mixin/src/textbox-mixin.class.d.ts +7 -8
  138. package/mixin/src/value-mixin.class.d.ts +7 -8
  139. package/package.json +9 -1
  140. package/tabs/src/tab-item.component.d.ts +1 -2
  141. package/tabs/src/tabs.class.d.ts +1 -0
  142. package/tabs/src/tabs.component.d.ts +9 -4
  143. package/toast/src/toast.service.d.ts +1 -0
  144. package/decorators/src/addon.component.d.ts +0 -8
  145. package/esm2020/decorators/src/addon.component.mjs +0 -21
  146. package/esm2020/form/src/form-field.module.mjs +0 -68
package/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # Components
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project components`.
8
- > Note: Don't forget to add `--project components` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build components` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build components`, go to the dist folder `cd dist/components` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test components` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # Components
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project components`.
8
+ > Note: Don't forget to add `--project components` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build components` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build components`, go to the dist folder `cd dist/components` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test components` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -11,7 +11,7 @@ export declare const AXBaseAlertMixin: (new (...args: any[]) => {
11
11
  look: import("@acorex/components/common").AXStyleLookType;
12
12
  id: string;
13
13
  rtl: boolean;
14
- "__#32613@#elementRef": ElementRef<any>;
14
+ "__#32625@#elementRef": ElementRef<any>;
15
15
  _cdr: ChangeDetectorRef;
16
16
  _isInited: boolean;
17
17
  _isRendered: boolean;
@@ -24,7 +24,6 @@ export declare const AXBaseAlertMixin: (new (...args: any[]) => {
24
24
  _onInternalViewInit(): void;
25
25
  _onInternalDestroy(): void;
26
26
  onInit(): void;
27
- onRenderCssClass(): void;
28
27
  onViewInit(): void;
29
28
  onDestroy(): void;
30
29
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -75,5 +74,5 @@ export declare class AXAlertComponent extends AXBaseAlertMixin {
75
74
  */
76
75
  show(): void;
77
76
  static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "color": "color"; "look": "look"; "timeOut": "timeOut"; "visible": "visible"; }, { "onDismissed": "onDismissed"; }, ["_icon", "_buttons"], ["ax-header", "ax-icon", "ax-content", "ax-footer", "ax-suffix"], false>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "color": "color"; "look": "look"; "timeOut": "timeOut"; "visible": "visible"; }, { "onDismissed": "onDismissed"; }, ["_icon", "_buttons"], ["ax-header,ng-container,ng-template", "ax-icon,ng-container,ng-template", "ax-content,ng-container,ng-template", "ax-footer,ng-container,ng-template", "ax-suffix,ng-container,ng-template"], false>;
79
78
  }
@@ -10,7 +10,7 @@ export declare const AXBaseBadgeMixin: (new (...args: any[]) => {
10
10
  look: import("@acorex/components/common").AXStyleLookType;
11
11
  id: string;
12
12
  rtl: boolean;
13
- "__#32613@#elementRef": ElementRef<any>;
13
+ "__#32625@#elementRef": ElementRef<any>;
14
14
  _cdr: ChangeDetectorRef;
15
15
  _isInited: boolean;
16
16
  _isRendered: boolean;
@@ -23,7 +23,6 @@ export declare const AXBaseBadgeMixin: (new (...args: any[]) => {
23
23
  _onInternalViewInit(): void;
24
24
  _onInternalDestroy(): void;
25
25
  onInit(): void;
26
- onRenderCssClass(): void;
27
26
  onViewInit(): void;
28
27
  onDestroy(): void;
29
28
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -3,9 +3,9 @@ import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
3
  import { AXBreadCrumbsComponent } from './breadcrumbs.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) => {
6
- "__#32616@#disabled": boolean;
6
+ "__#32628@#disabled": boolean;
7
7
  disabled: boolean;
8
- "__#32616@#tabIndex": number;
8
+ "__#32628@#tabIndex": number;
9
9
  tabIndex: number;
10
10
  onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
11
11
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -15,7 +15,7 @@ export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) =
15
15
  hasFocus(): boolean;
16
16
  id: string;
17
17
  rtl: boolean;
18
- "__#32613@#elementRef": ElementRef<any>;
18
+ "__#32625@#elementRef": ElementRef<any>;
19
19
  _cdr: ChangeDetectorRef;
20
20
  _isInited: boolean;
21
21
  _isRendered: boolean;
@@ -28,7 +28,6 @@ export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) =
28
28
  _onInternalViewInit(): void;
29
29
  _onInternalDestroy(): void;
30
30
  onInit(): void;
31
- onRenderCssClass(): void;
32
31
  onViewInit(): void;
33
32
  onDestroy(): void;
34
33
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -39,7 +38,7 @@ export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) =
39
38
  _emitOnClickEvent(e: MouseEvent): void;
40
39
  id: string;
41
40
  rtl: boolean;
42
- "__#32613@#elementRef": ElementRef<any>;
41
+ "__#32625@#elementRef": ElementRef<any>;
43
42
  /**
44
43
  * @ignore
45
44
  */
@@ -55,7 +54,6 @@ export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) =
55
54
  _onInternalViewInit(): void;
56
55
  _onInternalDestroy(): void;
57
56
  onInit(): void;
58
- onRenderCssClass(): void;
59
57
  onViewInit(): void;
60
58
  onDestroy(): void;
61
59
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -4,9 +4,9 @@ import { AXClickEvent, AXItemClickEvent, AXSelectionMode, AXSelectionValueChange
4
4
  import { AXBaseComponent } from '@acorex/components/mixin';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
7
- "__#32616@#disabled": boolean;
7
+ "__#32628@#disabled": boolean;
8
8
  disabled: boolean;
9
- "__#32616@#tabIndex": number;
9
+ "__#32628@#tabIndex": number;
10
10
  tabIndex: number;
11
11
  onFocus: EventEmitter<import("@acorex/components/common").AXFocusEvent>;
12
12
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -16,7 +16,7 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
16
16
  hasFocus(): boolean;
17
17
  id: string;
18
18
  rtl: boolean;
19
- "__#32613@#elementRef": ElementRef<any>;
19
+ "__#32625@#elementRef": ElementRef<any>;
20
20
  _cdr: ChangeDetectorRef;
21
21
  _isInited: boolean;
22
22
  _isRendered: boolean;
@@ -29,7 +29,6 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
29
29
  _onInternalViewInit(): void;
30
30
  _onInternalDestroy(): void;
31
31
  onInit(): void;
32
- onRenderCssClass(): void;
33
32
  onViewInit(): void;
34
33
  onDestroy(): void;
35
34
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -44,7 +43,7 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
44
43
  look: import("@acorex/components/common").AXStyleLookType;
45
44
  id: string;
46
45
  rtl: boolean;
47
- "__#32613@#elementRef": ElementRef<any>;
46
+ "__#32625@#elementRef": ElementRef<any>;
48
47
  _cdr: ChangeDetectorRef;
49
48
  _isInited: boolean;
50
49
  _isRendered: boolean;
@@ -57,7 +56,6 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
57
56
  _onInternalViewInit(): void;
58
57
  _onInternalDestroy(): void;
59
58
  onInit(): void;
60
- onRenderCssClass(): void;
61
59
  onViewInit(): void;
62
60
  onDestroy(): void;
63
61
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -3,9 +3,9 @@ import { AXStyleColorType } from '@acorex/components/common';
3
3
  import { AXBaseComponent } from '@acorex/components/mixin';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
6
- "__#32616@#disabled": boolean;
6
+ "__#32628@#disabled": boolean;
7
7
  disabled: boolean;
8
- "__#32616@#tabIndex": number;
8
+ "__#32628@#tabIndex": number;
9
9
  tabIndex: number;
10
10
  onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
11
11
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -15,7 +15,7 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
15
15
  hasFocus(): boolean;
16
16
  id: string;
17
17
  rtl: boolean;
18
- "__#32613@#elementRef": ElementRef<any>;
18
+ "__#32625@#elementRef": ElementRef<any>;
19
19
  _cdr: ChangeDetectorRef;
20
20
  _isInited: boolean;
21
21
  _isRendered: boolean;
@@ -28,7 +28,6 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
28
28
  _onInternalViewInit(): void;
29
29
  _onInternalDestroy(): void;
30
30
  onInit(): void;
31
- onRenderCssClass(): void;
32
31
  onViewInit(): void;
33
32
  onDestroy(): void;
34
33
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -39,7 +38,7 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
39
38
  _emitOnClickEvent(e: MouseEvent): void;
40
39
  id: string;
41
40
  rtl: boolean;
42
- "__#32613@#elementRef": ElementRef<any>;
41
+ "__#32625@#elementRef": ElementRef<any>;
43
42
  _cdr: ChangeDetectorRef;
44
43
  _isInited: boolean;
45
44
  _isRendered: boolean;
@@ -52,7 +51,6 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
52
51
  _onInternalViewInit(): void;
53
52
  _onInternalDestroy(): void;
54
53
  onInit(): void;
55
- onRenderCssClass(): void;
56
54
  onViewInit(): void;
57
55
  onDestroy(): void;
58
56
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -7,6 +7,7 @@ export declare const AXCalendarComponentMixin: any;
7
7
  export declare class AXCalendarComponent extends AXCalendarComponentMixin {
8
8
  private cdr;
9
9
  interface: 'calendar' | 'picker';
10
+ rtl: boolean;
10
11
  private get _viewRange();
11
12
  _today: AXDateTime;
12
13
  private _viewStartDate;
@@ -6,9 +6,9 @@ import { AXPopoverComponent } from '@acorex/components/popover';
6
6
  import { AXBaseComponent } from '@acorex/components/mixin';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
9
- "__#32616@#disabled": boolean;
9
+ "__#32628@#disabled": boolean;
10
10
  disabled: boolean;
11
- "__#32616@#tabIndex": number;
11
+ "__#32628@#tabIndex": number;
12
12
  tabIndex: number;
13
13
  onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
14
14
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -18,7 +18,7 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
18
18
  hasFocus(): boolean;
19
19
  id: string;
20
20
  rtl: boolean;
21
- "__#32613@#elementRef": ElementRef<any>;
21
+ "__#32625@#elementRef": ElementRef<any>;
22
22
  _cdr: ChangeDetectorRef;
23
23
  _isInited: boolean;
24
24
  _isRendered: boolean;
@@ -31,7 +31,6 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
31
31
  _onInternalViewInit(): void;
32
32
  _onInternalDestroy(): void;
33
33
  onInit(): void;
34
- onRenderCssClass(): void;
35
34
  onViewInit(): void;
36
35
  onDestroy(): void;
37
36
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -53,7 +52,7 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
53
52
  readonly isOpen: boolean;
54
53
  id: string;
55
54
  rtl: boolean;
56
- "__#32613@#elementRef": ElementRef<any>;
55
+ "__#32625@#elementRef": ElementRef<any>;
57
56
  _cdr: ChangeDetectorRef;
58
57
  _isInited: boolean;
59
58
  _isRendered: boolean;
@@ -65,7 +64,6 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
65
64
  _onInternalInit(): void;
66
65
  _onInternalViewInit(): void;
67
66
  _onInternalDestroy(): void;
68
- onRenderCssClass(): void;
69
67
  onDestroy(): void;
70
68
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
71
69
  _onOptionChanged(option: import("@acorex/components/mixin").AXComponentOptionChanged): void;
@@ -73,17 +71,17 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
73
71
  }) & (new (...args: any[]) => {
74
72
  onValueChanged: import("@angular/core").EventEmitter<AXValueChangedEvent<any>>;
75
73
  valueChange: import("@angular/core").EventEmitter<any>;
76
- "__#32617@#readonly": boolean;
74
+ "__#32630@#readonly": boolean;
77
75
  readonly: boolean;
78
- "__#32617@#allowNull": boolean;
76
+ "__#32630@#allowNull": boolean;
79
77
  allowNull: boolean;
80
- "__#32617@#name": string;
78
+ "__#32630@#name": string;
81
79
  name: string;
82
- "__#32617@#isUserInteraction": boolean;
80
+ "__#32630@#isUserInteraction": boolean;
83
81
  readonly isUserInteraction: boolean;
84
- "__#32617@#value": any;
82
+ "__#32630@#value": any;
85
83
  value: any;
86
- "__#32617@#state": "error" | "clear" | "success";
84
+ "__#32630@#state": "error" | "clear" | "success";
87
85
  readonly state: "error" | "clear" | "success";
88
86
  _emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
89
87
  _internalSetValue(value: any): any;
@@ -99,7 +97,7 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
99
97
  _setState(state: "error" | "clear" | "success", ...args: any[]): void;
100
98
  id: string;
101
99
  rtl: boolean;
102
- "__#32613@#elementRef": ElementRef<any>;
100
+ "__#32625@#elementRef": ElementRef<any>;
103
101
  _cdr: ChangeDetectorRef;
104
102
  _isInited: boolean;
105
103
  _isRendered: boolean;
@@ -110,7 +108,6 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
110
108
  _getInnerElement<T_1_2 = HTMLElement>(): T_1_2;
111
109
  _onInternalViewInit(): void;
112
110
  onInit(): void;
113
- onRenderCssClass(): void;
114
111
  onViewInit(): void;
115
112
  onDestroy(): void;
116
113
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -122,8 +119,8 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
122
119
  maxLength: number;
123
120
  autoComplete: string;
124
121
  debounceTime: number;
125
- "__#32618@#valueSubscription": import("rxjs").Subscription;
126
- "__#32618@#valueSubject": import("rxjs").Subject<unknown>;
122
+ "__#32629@#valueSubscription": import("rxjs").Subscription;
123
+ "__#32629@#valueSubject": import("rxjs").Subject<unknown>;
127
124
  onKeyDown: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
128
125
  onKeyUp: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
129
126
  onKeyPress: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
@@ -136,11 +133,8 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
136
133
  onDestroy(): void;
137
134
  id: string;
138
135
  rtl: boolean;
139
- "__#32613@#elementRef": ElementRef<any>;
136
+ "__#32625@#elementRef": ElementRef<any>;
140
137
  _cdr: ChangeDetectorRef;
141
- /**
142
- * @ignore
143
- */
144
138
  _isInited: boolean;
145
139
  _isRendered: boolean;
146
140
  ngOnInit(): void;
@@ -151,7 +145,6 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
151
145
  _onInternalInit(): void;
152
146
  _onInternalViewInit(): void;
153
147
  _onInternalDestroy(): void;
154
- onRenderCssClass(): void;
155
148
  onViewInit(): void;
156
149
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
157
150
  _onOptionChanged(option: import("@acorex/components/mixin").AXComponentOptionChanged): void;
@@ -1,11 +1,11 @@
1
- export declare const AX_STYLE_TYPES: string[];
1
+ export declare const AX_STYLE_COLOR_TYPES: string[];
2
2
  /**
3
3
  * A token that specifies the color style of component.
4
4
  */
5
5
  export declare type AXStyleColorType = 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'light' | 'dark';
6
6
  export declare type AXStyleLookType = 'default' | 'blank' | 'outline' | 'twotone' | 'link';
7
7
  export declare const AX_LOCATIONS: string[];
8
- export declare type AXLocation = 'bottom-start' | 'bottom-center' | 'bottom-end' | 'top-start' | 'top-center' | 'top-end';
8
+ export declare type AXLocation = 'bottom-start' | 'bottom-center' | 'bottom-end' | 'top-start' | 'top-center' | 'top-end' | 'center-end' | 'center-start';
9
9
  export declare const AX_DIRECTIONS: string[];
10
10
  /**
11
11
  * A token that specifies the direction of component.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@acorex/components/context-menu" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/context-menu.component';
2
+ export * from './src/context-menu.module';
@@ -0,0 +1,34 @@
1
+ import { Overlay } from '@angular/cdk/overlay';
2
+ import { OnInit, TemplateRef, ElementRef, ChangeDetectorRef, ViewContainerRef } from '@angular/core';
3
+ import { AXBaseComponent, AXBaseMenuMixin } from '@acorex/components/mixin';
4
+ import { AXPlatform } from '@acorex/core/platform';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * The Button is a component which detects user interaction and triggers a corresponding event
8
+ *
9
+ * @category Components
10
+ */
11
+ export declare class AXContextMenuComponent extends AXBaseMenuMixin implements OnInit {
12
+ private _elementRef;
13
+ private cdr;
14
+ private _overlay;
15
+ private _viewContainerRef;
16
+ private _platform;
17
+ _contextTemplate: TemplateRef<any>;
18
+ get contextTemplate(): TemplateRef<any>;
19
+ _menuTmp: TemplateRef<any>;
20
+ private _overlayRef;
21
+ private _templatePortal;
22
+ private _target;
23
+ get target(): HTMLElement;
24
+ set target(v: HTMLElement | ElementRef | AXBaseComponent);
25
+ constructor(_elementRef: ElementRef, cdr: ChangeDetectorRef, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _platform: AXPlatform);
26
+ onInit(): void;
27
+ ngAfterViewInit(): void;
28
+ private _openAsOverlay;
29
+ private close;
30
+ /***********defultTmp***********/
31
+ onContextMenuClick(e: any): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "disabled": "disabled"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "parentId": "parentId"; "iconField": "iconField"; "isOpen": "isOpen"; "isActive": "isActive"; "visibleField": "visibleField"; "disableField": "disableField"; "hasChildField": "hasChildField"; "dividerField": "dividerField"; "openMode": "openMode"; "orientation": "orientation"; "target": "target"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onMenuItemClick": "onMenuItemClick"; }, never, never, false>;
34
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./context-menu.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@acorex/components/decorators";
5
+ import * as i4 from "@acorex/components/loading";
6
+ import * as i5 from "@acorex/core/translation";
7
+ import * as i6 from "@angular/cdk/overlay";
8
+ import * as i7 from "@acorex/components/menu";
9
+ export declare class AXContextMenuModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXContextMenuModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXContextMenuModule, [typeof i1.AXContextMenuComponent], [typeof i2.CommonModule, typeof i3.AXDecoratorModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule, typeof i6.OverlayModule, typeof i7.AXMenuModule], [typeof i1.AXContextMenuComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXContextMenuModule>;
13
+ }
@@ -6,9 +6,9 @@ import { AXPopoverComponent } from '@acorex/components/popover';
6
6
  import { AXComponentOptionChanged } from '@acorex/components/mixin';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
9
- "__#32616@#disabled": boolean;
9
+ "__#32628@#disabled": boolean;
10
10
  disabled: boolean;
11
- "__#32616@#tabIndex": number;
11
+ "__#32628@#tabIndex": number;
12
12
  tabIndex: number;
13
13
  onFocus: EventEmitter<import("@acorex/components/common").AXFocusEvent>;
14
14
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -18,7 +18,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
18
18
  hasFocus(): boolean;
19
19
  id: string;
20
20
  rtl: boolean;
21
- "__#32613@#elementRef": ElementRef<any>;
21
+ "__#32625@#elementRef": ElementRef<any>;
22
22
  _cdr: ChangeDetectorRef;
23
23
  _isInited: boolean;
24
24
  _isRendered: boolean;
@@ -31,7 +31,6 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
31
31
  _onInternalViewInit(): void;
32
32
  _onInternalDestroy(): void;
33
33
  onInit(): void;
34
- onRenderCssClass(): void;
35
34
  onViewInit(): void;
36
35
  onDestroy(): void;
37
36
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -53,7 +52,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
53
52
  readonly isOpen: boolean;
54
53
  id: string;
55
54
  rtl: boolean;
56
- "__#32613@#elementRef": ElementRef<any>;
55
+ "__#32625@#elementRef": ElementRef<any>;
57
56
  _cdr: ChangeDetectorRef;
58
57
  _isInited: boolean;
59
58
  _isRendered: boolean;
@@ -65,7 +64,6 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
65
64
  _onInternalInit(): void;
66
65
  _onInternalViewInit(): void;
67
66
  _onInternalDestroy(): void;
68
- onRenderCssClass(): void;
69
67
  onDestroy(): void;
70
68
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
71
69
  _onOptionChanged(option: AXComponentOptionChanged): void;
@@ -73,17 +71,17 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
73
71
  }) & (new (...args: any[]) => {
74
72
  onValueChanged: EventEmitter<import("@acorex/components/common").AXValueChangedEvent<any>>;
75
73
  valueChange: EventEmitter<any>;
76
- "__#32617@#readonly": boolean;
74
+ "__#32630@#readonly": boolean;
77
75
  readonly: boolean;
78
- "__#32617@#allowNull": boolean;
76
+ "__#32630@#allowNull": boolean;
79
77
  allowNull: boolean;
80
- "__#32617@#name": string;
78
+ "__#32630@#name": string;
81
79
  name: string;
82
- "__#32617@#isUserInteraction": boolean;
80
+ "__#32630@#isUserInteraction": boolean;
83
81
  readonly isUserInteraction: boolean;
84
- "__#32617@#value": any;
82
+ "__#32630@#value": any;
85
83
  value: any;
86
- "__#32617@#state": "error" | "clear" | "success";
84
+ "__#32630@#state": "error" | "clear" | "success";
87
85
  readonly state: "error" | "clear" | "success";
88
86
  _emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
89
87
  _internalSetValue(value: any): any;
@@ -99,7 +97,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
99
97
  _setState(state: "error" | "clear" | "success", ...args: any[]): void;
100
98
  id: string;
101
99
  rtl: boolean;
102
- "__#32613@#elementRef": ElementRef<any>;
100
+ "__#32625@#elementRef": ElementRef<any>;
103
101
  _cdr: ChangeDetectorRef;
104
102
  _isInited: boolean;
105
103
  _isRendered: boolean;
@@ -110,7 +108,6 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
110
108
  _getInnerElement<T_1_2 = HTMLElement>(): T_1_2;
111
109
  _onInternalViewInit(): void;
112
110
  onInit(): void;
113
- onRenderCssClass(): void;
114
111
  onViewInit(): void;
115
112
  onDestroy(): void;
116
113
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
@@ -1,4 +1,3 @@
1
- export * from './src/addon.component';
2
1
  export * from './src/close-button.component';
3
2
  export * from './src/content.component';
4
3
  export * from './src/decorators.module';
@@ -4,13 +4,12 @@ import * as i2 from "./suffix.component";
4
4
  import * as i3 from "./content.component";
5
5
  import * as i4 from "./header.component";
6
6
  import * as i5 from "./footer.component";
7
- import * as i6 from "./addon.component";
8
- import * as i7 from "./icon.component";
9
- import * as i8 from "./title.component";
10
- import * as i9 from "./close-button.component";
11
- import * as i10 from "@angular/common";
7
+ import * as i6 from "./icon.component";
8
+ import * as i7 from "./title.component";
9
+ import * as i8 from "./close-button.component";
10
+ import * as i9 from "@angular/common";
12
11
  export declare class AXDecoratorModule {
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorFooterComponent, typeof i6.AXDecoratorAddOnComponent, typeof i7.AXDecoratorIconComponent, typeof i8.AXDecoratorTitleComponent, typeof i9.AXDecoratorCloseButtonComponent], [typeof i10.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorFooterComponent, typeof i6.AXDecoratorAddOnComponent, typeof i7.AXDecoratorIconComponent, typeof i8.AXDecoratorTitleComponent, typeof i9.AXDecoratorCloseButtonComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorFooterComponent, typeof i6.AXDecoratorIconComponent, typeof i7.AXDecoratorTitleComponent, typeof i8.AXDecoratorCloseButtonComponent], [typeof i9.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorFooterComponent, typeof i6.AXDecoratorIconComponent, typeof i7.AXDecoratorTitleComponent, typeof i8.AXDecoratorCloseButtonComponent]>;
15
14
  static ɵinj: i0.ɵɵInjectorDeclaration<AXDecoratorModule>;
16
15
  }
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
4
4
  export declare class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
5
5
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorHeaderComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorHeaderComponent, "ax-header", never, {}, {}, never, ["ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-data-pager,ax-close-button,ng-container,ng-content"], false>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorHeaderComponent, "ax-header", never, {}, {}, never, ["ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-data-pager,ax-close-button,ng-container,ng-content,ax-content"], false>;
8
8
  }