@acorex/cdk 19.15.0-next.8 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/accordion/index.d.ts +56 -0
  2. package/carousel/index.d.ts +17 -1
  3. package/clipboard/README.md +3 -0
  4. package/{common/lib/directives/copy-clipboard.directive.d.ts → clipboard/index.d.ts} +14 -8
  5. package/common/index.d.ts +930 -33
  6. package/dom/index.d.ts +16 -1
  7. package/drag-drop/index.d.ts +111 -4
  8. package/drawer/index.d.ts +49 -3
  9. package/fesm2022/acorex-cdk-accordion.mjs +206 -0
  10. package/fesm2022/acorex-cdk-accordion.mjs.map +1 -0
  11. package/fesm2022/acorex-cdk-carousel.mjs +3 -3
  12. package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
  13. package/fesm2022/acorex-cdk-clipboard.mjs +90 -0
  14. package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -0
  15. package/fesm2022/acorex-cdk-common.mjs +123 -208
  16. package/fesm2022/acorex-cdk-common.mjs.map +1 -1
  17. package/fesm2022/acorex-cdk-dom.mjs +3 -3
  18. package/fesm2022/acorex-cdk-dom.mjs.map +1 -1
  19. package/fesm2022/acorex-cdk-drag-drop.mjs +15 -15
  20. package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
  21. package/fesm2022/acorex-cdk-drawer.mjs +85 -66
  22. package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
  23. package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
  24. package/fesm2022/acorex-cdk-focus-trap.mjs.map +1 -1
  25. package/fesm2022/acorex-cdk-input-mask.mjs +79 -0
  26. package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -0
  27. package/fesm2022/acorex-cdk-list-navigation.mjs +10 -10
  28. package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
  29. package/fesm2022/acorex-cdk-outline.mjs +115 -40
  30. package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
  31. package/fesm2022/acorex-cdk-overlay.mjs +3 -3
  32. package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
  33. package/fesm2022/acorex-cdk-pan-view.mjs +5 -5
  34. package/fesm2022/acorex-cdk-pan-view.mjs.map +1 -1
  35. package/fesm2022/acorex-cdk-qrcode.mjs.map +1 -1
  36. package/fesm2022/acorex-cdk-resizable.mjs +5 -5
  37. package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
  38. package/fesm2022/acorex-cdk-selection.mjs +24 -15
  39. package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
  40. package/fesm2022/acorex-cdk-sliding-item.mjs +7 -7
  41. package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
  42. package/fesm2022/acorex-cdk-sticky.mjs +19 -19
  43. package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
  44. package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
  45. package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
  46. package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
  47. package/fesm2022/acorex-cdk.mjs.map +1 -1
  48. package/focus-trap/index.d.ts +19 -1
  49. package/index.d.ts +3 -1
  50. package/input-mask/README.md +3 -0
  51. package/input-mask/index.d.ts +19 -0
  52. package/list-navigation/index.d.ts +44 -3
  53. package/outline/index.d.ts +57 -3
  54. package/overlay/index.d.ts +27 -2
  55. package/package.json +22 -14
  56. package/pan-view/index.d.ts +51 -1
  57. package/qrcode/index.d.ts +21 -1
  58. package/resizable/index.d.ts +61 -1
  59. package/selection/index.d.ts +43 -3
  60. package/sliding-item/index.d.ts +25 -2
  61. package/sticky/index.d.ts +31 -1
  62. package/virtual-scroll/index.d.ts +41 -3
  63. package/wysiwyg/index.d.ts +29 -1
  64. package/carousel/carousel.directive.d.ts +0 -13
  65. package/collapse/index.d.ts +0 -6
  66. package/collapse/lib/collapse-directive/collapse-close-button.directive.d.ts +0 -8
  67. package/collapse/lib/collapse-directive/collapse-group.directive.d.ts +0 -9
  68. package/collapse/lib/collapse-directive/collapse-item-content.directive.d.ts +0 -8
  69. package/collapse/lib/collapse-directive/collapse-item-header.directive.d.ts +0 -5
  70. package/collapse/lib/collapse-directive/collapse-item.directive.d.ts +0 -13
  71. package/collapse/lib/collapse.module.d.ts +0 -12
  72. package/common/lib/classes/components.class.d.ts +0 -97
  73. package/common/lib/classes/datalist.class.d.ts +0 -37
  74. package/common/lib/classes/datasource.class.d.ts +0 -87
  75. package/common/lib/classes/events.class.d.ts +0 -96
  76. package/common/lib/classes/styles.class.d.ts +0 -12
  77. package/common/lib/common.module.d.ts +0 -10
  78. package/common/lib/components/base-component.class.d.ts +0 -42
  79. package/common/lib/components/button-base-component.class.d.ts +0 -55
  80. package/common/lib/components/color-component.class.d.ts +0 -12
  81. package/common/lib/components/colorlook-component.class.d.ts +0 -6
  82. package/common/lib/components/input-base-value-component.class.d.ts +0 -35
  83. package/common/lib/components/interactive-component.class.d.ts +0 -57
  84. package/common/lib/components/look-component.class.d.ts +0 -18
  85. package/common/lib/components/selection-base.component.class.d.ts +0 -53
  86. package/common/lib/components/value-component.class.d.ts +0 -70
  87. package/common/lib/directives/auto-focus.directive.d.ts +0 -17
  88. package/common/lib/directives/delayed-value-changed.directive.d.ts +0 -17
  89. package/common/lib/directives/hotkey.directive.d.ts +0 -22
  90. package/common/lib/directives/infinite-scroll.directive.d.ts +0 -25
  91. package/common/lib/directives/inverted-color.directive.d.ts +0 -12
  92. package/common/lib/directives/responsive.directive.d.ts +0 -10
  93. package/common/lib/directives/ripple.directive.d.ts +0 -18
  94. package/common/lib/interfaces/component.interface.d.ts +0 -4
  95. package/common/lib/services/dom.service.d.ts +0 -6
  96. package/common/lib/services/hotkey.service.d.ts +0 -31
  97. package/common/lib/types/animation.d.ts +0 -1
  98. package/common/lib/types/base/button.type.d.ts +0 -8
  99. package/common/lib/types/base/color.type.d.ts +0 -7
  100. package/common/lib/types/base/component.types.d.ts +0 -8
  101. package/common/lib/types/base/events.types.d.ts +0 -21
  102. package/common/lib/types/base/index.d.ts +0 -7
  103. package/common/lib/types/base/interactive.type.d.ts +0 -13
  104. package/common/lib/types/base/look.type.d.ts +0 -7
  105. package/common/lib/types/base/value.type.d.ts +0 -9
  106. package/common/lib/types/direction.d.ts +0 -4
  107. package/common/lib/types/orientation.d.ts +0 -4
  108. package/common/lib/types/placement.d.ts +0 -30
  109. package/common/lib/types/range.d.ts +0 -4
  110. package/common/lib/types/selection-mode.d.ts +0 -4
  111. package/dom/lib/dom-change.directive.d.ts +0 -13
  112. package/drag-drop/lib/drag-drop.module.d.ts +0 -9
  113. package/drag-drop/lib/drag-handle.directive.d.ts +0 -7
  114. package/drag-drop/lib/drag.directive.d.ts +0 -77
  115. package/drag-drop/lib/drop-zone.directive.d.ts +0 -20
  116. package/drawer/lib/drawer-container.directive.d.ts +0 -8
  117. package/drawer/lib/drawer-item.directive.d.ts +0 -27
  118. package/drawer/lib/drawer.module.d.ts +0 -8
  119. package/fesm2022/acorex-cdk-collapse.mjs +0 -171
  120. package/fesm2022/acorex-cdk-collapse.mjs.map +0 -1
  121. package/focus-trap/lib/focus-trap.directive.d.ts +0 -16
  122. package/list-navigation/lib/list-navigation-item.directive.d.ts +0 -13
  123. package/list-navigation/lib/list-navigation.directive.d.ts +0 -22
  124. package/list-navigation/lib/list-navigation.module.d.ts +0 -9
  125. package/outline/lib/outline-container.directive.d.ts +0 -28
  126. package/outline/lib/outline-item.directive.d.ts +0 -9
  127. package/outline/lib/outline.module.d.ts +0 -9
  128. package/overlay/lib/overlay.service.d.ts +0 -9
  129. package/overlay/lib/overlay.types.d.ts +0 -15
  130. package/pan-view/lib/pan-view.directive.d.ts +0 -48
  131. package/qrcode/qrcode.class.d.ts +0 -20
  132. package/resizable/lib/resize.directive.d.ts +0 -59
  133. package/selection/lib/selection-group.directive.d.ts +0 -18
  134. package/selection/lib/selection-item.directive.d.ts +0 -15
  135. package/selection/lib/selection.module.d.ts +0 -9
  136. package/sliding-item/lib/sliding-item.directive.d.ts +0 -15
  137. package/sliding-item/lib/sliding-item.module.d.ts +0 -8
  138. package/sticky/lib/sticky.directive.d.ts +0 -29
  139. package/virtual-scroll/lib/virtual-scroll.module.d.ts +0 -8
  140. package/virtual-scroll/lib/virtual-scrolling-contianer/virtual-scrolling-contianer.directive.d.ts +0 -26
  141. package/virtual-scroll/lib/virtual-scrolling-item/virtual-scrolling-item.directive.d.ts +0 -7
  142. package/wysiwyg/wysiwyg.class.d.ts +0 -25
  143. /package/{collapse → accordion}/README.md +0 -0
package/common/index.d.ts CHANGED
@@ -1,33 +1,930 @@
1
- export * from './lib/types/animation';
2
- export * from './lib/types/base';
3
- export * from './lib/types/direction';
4
- export * from './lib/types/orientation';
5
- export * from './lib/types/placement';
6
- export * from './lib/types/range';
7
- export * from './lib/types/selection-mode';
8
- export * from './lib/classes/components.class';
9
- export * from './lib/classes/datalist.class';
10
- export * from './lib/classes/datasource.class';
11
- export * from './lib/classes/events.class';
12
- export * from './lib/classes/styles.class';
13
- export * from './lib/interfaces/component.interface';
14
- export * from './lib/common.module';
15
- export * from './lib/components/base-component.class';
16
- export * from './lib/components/button-base-component.class';
17
- export * from './lib/components/color-component.class';
18
- export * from './lib/components/colorlook-component.class';
19
- export * from './lib/components/input-base-value-component.class';
20
- export * from './lib/components/interactive-component.class';
21
- export * from './lib/components/look-component.class';
22
- export * from './lib/components/selection-base.component.class';
23
- export * from './lib/components/value-component.class';
24
- export * from './lib/directives/auto-focus.directive';
25
- export * from './lib/directives/copy-clipboard.directive';
26
- export * from './lib/directives/delayed-value-changed.directive';
27
- export * from './lib/directives/hotkey.directive';
28
- export * from './lib/directives/infinite-scroll.directive';
29
- export * from './lib/directives/inverted-color.directive';
30
- export * from './lib/directives/responsive.directive';
31
- export * from './lib/directives/ripple.directive';
32
- export * from './lib/services/dom.service';
33
- export * from './lib/services/hotkey.service';
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectorRef, ViewContainerRef, EventEmitter, OnDestroy, AfterViewInit, InjectionToken } from '@angular/core';
3
+ import { AXUnsubscriber } from '@acorex/core/utils';
4
+ import { AXValidationSummary, AXValidationRuleOptions } from '@acorex/core/validation';
5
+ import { ControlValueAccessor } from '@angular/forms';
6
+ import { DataSource, CollectionViewer } from '@angular/cdk/collections';
7
+ import { Subject, Observable } from 'rxjs';
8
+ import * as polytype from 'polytype';
9
+ import { Observable as Observable$1 } from 'rxjs/internal/Observable';
10
+
11
+ type AXAnimationEasing = 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'cubic' | 'cubic-in' | 'cubic-out' | 'cubic-in-out';
12
+
13
+ declare abstract class NXButtonComponent {
14
+ text: i0.ModelSignal<string>;
15
+ toggleableChange: i0.OutputEmitterRef<boolean>;
16
+ selectedChange: i0.OutputEmitterRef<boolean>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NXButtonComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NXButtonComponent, "ng-component", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "toggleableChange": "toggleableChange"; "selectedChange": "selectedChange"; }, never, never, true, never>;
19
+ }
20
+
21
+ /**
22
+ * A token that specifies the color style of component.
23
+ */
24
+ type AXStyleColorType = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'default';
25
+ declare const AX_STYLE_COLOR_TYPES: AXStyleColorType[];
26
+ type AXStyleLookType = 'solid' | 'blank' | 'outline' | 'twotone' | 'flat' | 'fill' | 'link' | 'none';
27
+ declare const AX_STYLE_LOOK_TYPES: AXStyleLookType[];
28
+ type AXSizeType = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
29
+ type AXStyleSizeType = `ax-${AXSizeType}`;
30
+ type AXLocation = 'bottom-start' | 'bottom-center' | 'bottom-end' | 'top-start' | 'top-center' | 'top-end' | 'center-end' | 'center-start';
31
+ declare const AX_LOCATIONS: AXLocation[];
32
+ type AXSurfaceType = 'lightest' | 'lighter' | 'light' | 'surface' | 'dark' | 'darker' | 'darkest';
33
+
34
+ declare abstract class NXColorComponent {
35
+ color: i0.ModelSignal<AXStyleColorType>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<NXColorComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<NXColorComponent, "ng-component", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, never, true, never>;
38
+ }
39
+
40
+ declare abstract class NXComponent {
41
+ #private;
42
+ protected isRendered: i0.Signal<boolean>;
43
+ get nativeElement(): HTMLElement;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<NXComponent, never>;
45
+ static ɵprov: i0.ɵɵInjectableDeclaration<NXComponent>;
46
+ }
47
+
48
+ /**
49
+ * Base event class
50
+ * @category Events
51
+ */
52
+ declare class NXEvent<T extends NXComponent = NXComponent> {
53
+ sender: T;
54
+ }
55
+ /**
56
+ * Contains native event
57
+ * @category Events
58
+ */
59
+ declare class NXNativeEvent<T extends NXComponent = NXComponent, E extends Event = Event> extends NXEvent<T> {
60
+ nativeEvent: E;
61
+ }
62
+ /**
63
+ * Fires each time the user click the element.
64
+ * @category Events
65
+ */
66
+ declare class NXClickEvent<T extends NXComponent = NXComponent> extends NXNativeEvent<T, MouseEvent> {
67
+ }
68
+
69
+ declare abstract class NXInteractiveComponent extends NXComponent {
70
+ disabled: i0.ModelSignal<boolean>;
71
+ tabIndex: i0.ModelSignal<number>;
72
+ onFocus: i0.OutputEmitterRef<void>;
73
+ onBlur: i0.OutputEmitterRef<void>;
74
+ focus(): void;
75
+ blur(): void;
76
+ hasFocus(): boolean;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<NXInteractiveComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<NXInteractiveComponent, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "tabIndex": "tabIndexChange"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, never, never, true, never>;
79
+ }
80
+
81
+ declare abstract class NXLookComponent {
82
+ look: i0.ModelSignal<AXStyleLookType>;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<NXLookComponent, never>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<NXLookComponent, "ng-component", never, { "look": { "alias": "look"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; }, never, never, true, never>;
85
+ }
86
+
87
+ declare abstract class NXValueComponent {
88
+ readonly: i0.ModelSignal<boolean>;
89
+ name: i0.ModelSignal<string>;
90
+ value: i0.ModelSignal<unknown>;
91
+ onValueChanged: i0.OutputEmitterRef<void>;
92
+ static ɵfac: i0.ɵɵFactoryDeclaration<NXValueComponent, never>;
93
+ static ɵcmp: i0.ɵɵComponentDeclaration<NXValueComponent, "ng-component", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "readonly": "readonlyChange"; "name": "nameChange"; "value": "valueChange"; "onValueChanged": "onValueChanged"; }, never, never, true, never>;
94
+ }
95
+
96
+ /**
97
+ * A token that specifies the direction of component.
98
+ */
99
+ type AXDirection = 'vertical' | 'horizontal';
100
+
101
+ /**
102
+ * A token that specifies the orientation of component.
103
+ */
104
+ type AXOrientation = 'vertical' | 'horizontal';
105
+
106
+ type AXPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'end' | 'end-top' | 'end-bottom' | 'start' | 'start-top' | 'start-bottom';
107
+ type AXPlacementType = AXConnectedPosition | AXConnectedPosition[] | AXPlacement | AXPlacement[];
108
+ declare function convertToPlacement(value: AXPlacementType): AXConnectedPosition[];
109
+ interface AXConnectedPosition {
110
+ originX: 'start' | 'center' | 'end';
111
+ originY: 'top' | 'center' | 'bottom';
112
+ overlayX: 'start' | 'center' | 'end';
113
+ overlayY: 'top' | 'center' | 'bottom';
114
+ weight?: number;
115
+ offsetX?: number;
116
+ offsetY?: number;
117
+ }
118
+ declare const AX_PLACEMENT_TOP: AXConnectedPosition;
119
+ declare const AX_PLACEMENT_TOP_START: AXConnectedPosition;
120
+ declare const AX_PLACEMENT_TOP_END: AXConnectedPosition;
121
+ declare const AX_PLACEMENT_BOTTOM: AXConnectedPosition;
122
+ declare const AX_PLACEMENT_BOTTOM_START: AXConnectedPosition;
123
+ declare const AX_PLACEMENT_BOTTOM_END: AXConnectedPosition;
124
+ declare const AX_PLACEMENT_START: AXConnectedPosition;
125
+ declare const AX_PLACEMENT_START_TOP: AXConnectedPosition;
126
+ declare const AX_PLACEMENT_START_BOTTOM: AXConnectedPosition;
127
+ declare const AX_PLACEMENT_END: AXConnectedPosition;
128
+ declare const AX_PLACEMENT_END_TOP: AXConnectedPosition;
129
+ declare const AX_PLACEMENT_END_BOTTOM: AXConnectedPosition;
130
+ declare const AX_PLACEMENT_MAP: {
131
+ [key: string]: {
132
+ origin: AXConnectedPosition;
133
+ alts?: AXConnectedPosition[];
134
+ };
135
+ };
136
+
137
+ interface AXRange<T> {
138
+ from: T;
139
+ end: T;
140
+ }
141
+
142
+ /**
143
+ * A token that specifies the selection mode of component.
144
+ */
145
+ type AXSelectionMode = 'single' | 'multiple' | 'none';
146
+
147
+ /**
148
+ * Contains native event
149
+ * @category Events
150
+ */
151
+ declare class AXEvent {
152
+ /**
153
+ * The sender component
154
+ */
155
+ component: any;
156
+ /**
157
+ * The root native element
158
+ */
159
+ htmlElement?: HTMLElement;
160
+ isUserInteraction?: boolean;
161
+ }
162
+ /**
163
+ * Contains native event
164
+ * @category Events
165
+ */
166
+ declare class AXHtmlEvent<E extends Event = Event> extends AXEvent {
167
+ nativeEvent?: E;
168
+ }
169
+ /**
170
+ * Contains native event
171
+ * @category Events
172
+ */
173
+ declare class AXValueChangedEvent<T = any> extends AXEvent {
174
+ name?: string;
175
+ value?: T;
176
+ oldValue?: T;
177
+ }
178
+ /**
179
+ * Contains native event
180
+ * @category Events
181
+ */
182
+ declare class AXOptionChangedEvent<T = any> extends AXEvent {
183
+ name?: string;
184
+ newValue?: T;
185
+ oldValue?: T;
186
+ }
187
+ /**
188
+ * Fires each time the user click the element.
189
+ * @category Events
190
+ */
191
+ declare class AXClickEvent extends AXHtmlEvent<MouseEvent> {
192
+ /**
193
+ * uses for extra data
194
+ */
195
+ data?: any;
196
+ nativeEvent?: any;
197
+ }
198
+ /**
199
+ * Fires each time the user click the element.
200
+ * @category Events
201
+ */
202
+ declare class AXButtonClickEvent extends AXClickEvent {
203
+ name: string;
204
+ }
205
+ /**
206
+ * Fires each time the user click the element.
207
+ * @category Events
208
+ */
209
+ declare class AXItemClickEvent<T = any> extends AXClickEvent {
210
+ name?: string;
211
+ item: T;
212
+ }
213
+ /**
214
+ * Fires each time the component gets focused.
215
+ * @category Events
216
+ */
217
+ declare class AXFocusEvent extends AXHtmlEvent<FocusEvent> {
218
+ }
219
+ /**
220
+ * Fires each time an item or multiple items selected by the user or value.
221
+ * @category Events
222
+ */
223
+ declare class AXSelectionValueChangedEvent extends AXValueChangedEvent<any | any[]> {
224
+ value?: any;
225
+ oldValue?: any;
226
+ selectedKeys?: any[];
227
+ selectedItems?: any[];
228
+ }
229
+ /**
230
+ * Contains range start & end values
231
+ * @category Events
232
+ */
233
+ declare class AXRangeChangedEvent<T> extends AXEvent {
234
+ /**
235
+ * The range start value
236
+ */
237
+ start?: T;
238
+ /**
239
+ * The range end value
240
+ */
241
+ end?: T;
242
+ }
243
+
244
+ type MXComponentOptionChanging<T = any> = {
245
+ name: string;
246
+ value?: T;
247
+ };
248
+ type MXComponentOptionChanged<T = any> = MXComponentOptionChanging<T>;
249
+ type MXComponentSetOption<T> = {
250
+ name: string;
251
+ value?: T;
252
+ afterCallback?: (oldValue?: T, newValue?: T) => void;
253
+ beforeCallback?: (oldValue?: T, newValue?: T) => void;
254
+ };
255
+ type AXComponentState = 'clear' | 'success' | 'error';
256
+ declare abstract class MXBaseComponent {
257
+ private _cdr;
258
+ private _elementRef;
259
+ private _viewRef;
260
+ private _domService;
261
+ private _id;
262
+ get id(): string;
263
+ set id(v: string);
264
+ protected get cdr(): ChangeDetectorRef;
265
+ getHostElement<T = HTMLElement>(): T;
266
+ protected getViewContainer(): ViewContainerRef;
267
+ protected internalOptionChanging(option: MXComponentOptionChanging): any;
268
+ protected internalOptionChanged(option: MXComponentOptionChanged): void;
269
+ /**
270
+ * @ignore
271
+ */
272
+ protected ngOnInit(): void;
273
+ /**
274
+ * Fired when an option related to the component changes.
275
+ *
276
+ * @event
277
+ */
278
+ onOptionChanged: EventEmitter<AXOptionChangedEvent>;
279
+ setOption<T = any>(option: MXComponentSetOption<T>): void;
280
+ static ɵfac: i0.ɵɵFactoryDeclaration<MXBaseComponent, never>;
281
+ static ɵprov: i0.ɵɵInjectableDeclaration<MXBaseComponent>;
282
+ }
283
+
284
+ declare class MXInteractiveComponent extends MXBaseComponent {
285
+ /**
286
+ * @ignore
287
+ */
288
+ protected onTouchedCallback: () => void;
289
+ registerOnTouched(fn: () => void): void;
290
+ private _touched;
291
+ /**
292
+ * Indicates whether the component has been touched.
293
+ *
294
+ */
295
+ get touched(): boolean;
296
+ /**
297
+ * @ignore
298
+ */
299
+ protected markAsTouched(): void;
300
+ /**
301
+ * Emits an event whenever the disabled state of the component changes.
302
+ *
303
+ * @event
304
+ */
305
+ disabledChange: EventEmitter<boolean>;
306
+ private _disabled;
307
+ /**
308
+ * If set to true, it disables the component.
309
+ */
310
+ get disabled(): boolean;
311
+ set disabled(value: boolean);
312
+ setDisabledState(isDisabled: boolean): void;
313
+ _tabIndex: number;
314
+ /**
315
+ * Specifies the tabindex of the component.
316
+ */
317
+ get tabIndex(): number;
318
+ set tabIndex(value: number);
319
+ /**
320
+ * Fires each time the component gets focused.
321
+ * @event
322
+ */
323
+ onFocus: EventEmitter<AXFocusEvent>;
324
+ protected emitOnFocusEvent(e?: FocusEvent): void;
325
+ /**
326
+ * Fires each time the component gets blurred.
327
+ * @event
328
+ */
329
+ onBlur: EventEmitter<AXFocusEvent>;
330
+ protected emitOnBlurEvent(e?: FocusEvent): void;
331
+ focus(): void;
332
+ blur(): void;
333
+ /**
334
+ * Check component is focused or has any focused element.
335
+ */
336
+ hasFocus(): boolean;
337
+ }
338
+
339
+ declare class MXValueComponent<T = any> extends MXInteractiveComponent implements ControlValueAccessor {
340
+ /**
341
+ * Fires each time the user press a key.
342
+ * @event
343
+ */
344
+ onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
345
+ /**
346
+ * @deprecated The event should not be used, use ngModelChange instead
347
+ */
348
+ valueChange: EventEmitter<any>;
349
+ readonlyChange: EventEmitter<boolean>;
350
+ private _readonly;
351
+ /**
352
+ * If set to true, user cannot change the value of component.
353
+ */
354
+ get readonly(): boolean;
355
+ set readonly(value: boolean);
356
+ private _name;
357
+ get name(): string;
358
+ set name(value: string);
359
+ private _dirty;
360
+ get dirty(): boolean;
361
+ markAsDirty(): void;
362
+ private _isUserInteraction;
363
+ initValue: T;
364
+ defaultValue: T;
365
+ private _value;
366
+ /**
367
+ * @deprecated The property should not be used, use ngModel instead
368
+ */
369
+ get value(): T;
370
+ set value(v: T);
371
+ stateChange: EventEmitter<AXComponentState>;
372
+ private _state;
373
+ get state(): AXComponentState;
374
+ set state(value: AXComponentState);
375
+ protected emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
376
+ protected internalSetValue(value: any): T;
377
+ protected internalGetValue(value: any): T;
378
+ protected internalValueChanged(value: any): void;
379
+ protected ngOnInit(): void;
380
+ protected ngOnDestroy(): void;
381
+ protected registerValidation(): void;
382
+ protected document: Document;
383
+ protected platformID: Object;
384
+ private validationService;
385
+ validationRulesChange: EventEmitter<AXFormValidationRule[]>;
386
+ private validationRules;
387
+ get isRequired(): boolean;
388
+ addValidationRule(rule: AXFormValidationRule): void;
389
+ removeValidationRule(ruleToRemove: AXFormValidationRule): void;
390
+ validate(): Promise<AXValidationSummary>;
391
+ protected setState(state: AXComponentState, ...args: any[]): void;
392
+ protected onChangeCallback: (value: T) => void;
393
+ registerOnChange(fn: (value: T) => void): void;
394
+ writeValue(value: T): void;
395
+ commitValue(value: T, u?: boolean): void;
396
+ reset(e?: boolean): void;
397
+ resetErrors(): void;
398
+ static ɵfac: i0.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
399
+ static ɵprov: i0.ɵɵInjectableDeclaration<MXValueComponent<any>>;
400
+ }
401
+
402
+ declare const TAB_META_KEY = "__meta__";
403
+ declare class AXComponentCloseEvent extends AXEvent {
404
+ data?: any;
405
+ }
406
+ declare class AXComponentClosing {
407
+ cancel: boolean;
408
+ data?: any;
409
+ }
410
+ declare class AXComponentResult {
411
+ sender: any;
412
+ data?: any;
413
+ }
414
+ interface AXFormValidationRule {
415
+ rule: string;
416
+ disabled: boolean;
417
+ options?: AXValidationRuleOptions;
418
+ }
419
+ /**
420
+ * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.
421
+ */
422
+ declare class AXComponentClosedPromise extends Promise<AXComponentResult> {
423
+ private closeMethod;
424
+ constructor(executor: (resolve: (value?: AXComponentResult | PromiseLike<AXComponentResult>) => void, reject: (reason?: any) => void) => void);
425
+ close(): void;
426
+ }
427
+ declare abstract class AXComponent {
428
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXComponent, never>;
429
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXComponent>;
430
+ }
431
+ declare abstract class AXClosableComponent extends AXComponent {
432
+ abstract close(): void;
433
+ abstract closeAll(): void;
434
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXClosableComponent, never>;
435
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXClosableComponent>;
436
+ }
437
+ declare abstract class AXClearableComponent extends AXComponent {
438
+ abstract reset(u: boolean): void;
439
+ abstract get readonly(): boolean;
440
+ abstract get disabled(): boolean;
441
+ abstract get value(): unknown;
442
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXClearableComponent, never>;
443
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXClearableComponent>;
444
+ }
445
+ declare abstract class AXSearchableComponent extends AXComponent {
446
+ abstract search(value: string): void;
447
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchableComponent, never>;
448
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXSearchableComponent>;
449
+ }
450
+ declare abstract class AXValuableComponent extends AXComponent {
451
+ abstract get isRequired(): boolean;
452
+ validationRulesChange: EventEmitter<AXFormValidationRule[]>;
453
+ abstract get name(): string;
454
+ abstract get value(): unknown;
455
+ abstract onValueChanged: EventEmitter<AXValueChangedEvent<unknown>>;
456
+ abstract commitValue(value: unknown, u: boolean): any;
457
+ abstract addValidationRule(rule: AXFormValidationRule): any;
458
+ abstract removeValidationRule(rule: AXFormValidationRule): any;
459
+ abstract validate(): Promise<AXValidationSummary>;
460
+ abstract reset(e: boolean): void;
461
+ abstract resetErrors(): void;
462
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXValuableComponent, never>;
463
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXValuableComponent>;
464
+ }
465
+ declare abstract class AXFocusableComponent extends AXComponent {
466
+ abstract focus(): any;
467
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXFocusableComponent, never>;
468
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXFocusableComponent>;
469
+ }
470
+ interface AXPagedComponentInterface {
471
+ goToPage(page: number): any;
472
+ get totalCount(): number;
473
+ get pageSize(): number;
474
+ onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
475
+ }
476
+ declare abstract class AXPagedComponent extends AXComponent implements AXPagedComponentInterface {
477
+ abstract goToPage(page: number): any;
478
+ abstract get totalCount(): number;
479
+ abstract pageSize: number;
480
+ abstract onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
481
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPagedComponent, never>;
482
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPagedComponent>;
483
+ }
484
+ declare abstract class AXAutocompleteParentComponent<T> extends MXValueComponent<T> {
485
+ oldInputEmitValue: T;
486
+ abstract unsubscriber: AXUnsubscriber;
487
+ onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
488
+ onItemSelected: EventEmitter<AXValueChangedEvent<T>>;
489
+ emitOnItemSelected(value: T, isUserInteraction?: boolean): void;
490
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXAutocompleteParentComponent<any>, never>;
491
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXAutocompleteParentComponent<any>>;
492
+ }
493
+
494
+ type AXDataSourceOperator = {
495
+ type: 'equal' | 'isNull' | 'isEmpty' | 'lt' | 'lte' | 'gt' | 'gte' | 'startsWith' | 'endsWith' | 'contains';
496
+ negative?: boolean;
497
+ };
498
+ type AXFilterLogic = 'and' | 'or';
499
+ type AXSortOrder = 'asc' | 'desc';
500
+ type AXDataSourceFilterOption = {
501
+ field?: string;
502
+ value?: unknown;
503
+ operator?: AXDataSourceOperator;
504
+ logic?: AXFilterLogic;
505
+ filters?: AXDataSourceFilterOption[];
506
+ };
507
+ type AXDataSourceSortOption = {
508
+ field: string;
509
+ dir: 'asc' | 'desc';
510
+ };
511
+ interface AXDataSourceQuery {
512
+ take: number;
513
+ skip: number;
514
+ filter?: AXDataSourceFilterOption;
515
+ sort: AXDataSourceSortOption[];
516
+ }
517
+ interface AXDataSourceCallbackResult<T> {
518
+ items: Array<T>;
519
+ total: number;
520
+ }
521
+ type AXDataSourceLoadCallback<T> = (e: AXDataSourceQuery) => Promise<AXDataSourceCallbackResult<T>>;
522
+ type AXDataSourceByKeyCallback<T> = (key: unknown) => Promise<T>;
523
+ interface AXDataSourceConfig<T = unknown> {
524
+ key?: string;
525
+ pageSize: number;
526
+ load: AXDataSourceLoadCallback<T>;
527
+ byKey?: AXDataSourceByKeyCallback<T>;
528
+ }
529
+ interface AXDataSourceChangedEvent<T = unknown> {
530
+ cachedItems: Array<T>;
531
+ items: Array<T>;
532
+ totalCount: number;
533
+ totalPages: number;
534
+ page: number;
535
+ }
536
+ interface AXDataSourceItemExpandedEvent<T = unknown> {
537
+ expandedItem: T;
538
+ children: Array<T>;
539
+ }
540
+ declare class AXDataSource<T = unknown> {
541
+ config: AXDataSourceConfig<T>;
542
+ useCache: boolean;
543
+ private _totalCount;
544
+ get totalCount(): number;
545
+ get totalPages(): number;
546
+ get pageSize(): number;
547
+ private _cachedItems;
548
+ get cachedItems(): T[];
549
+ private _items;
550
+ get items(): T[];
551
+ private fetchedPages;
552
+ private _page;
553
+ private _query;
554
+ get query(): AXDataSourceQuery;
555
+ onChanged: Subject<AXDataSourceChangedEvent<T>>;
556
+ onItemExpanded: Subject<AXDataSourceItemExpandedEvent<T>>;
557
+ onItemRefreshChildren: Subject<{
558
+ id: string;
559
+ }>;
560
+ onLoadingChanged: Subject<boolean>;
561
+ private _isLoading;
562
+ get isLoading(): boolean;
563
+ constructor(config: AXDataSourceConfig<T>);
564
+ private load;
565
+ getItemsByFilter(filter: AXDataSourceFilterOption): Promise<AXDataSourceCallbackResult<T>>;
566
+ private setLoadingState;
567
+ setPage(page: number): void;
568
+ setPageSize(pageSize: number): void;
569
+ filter(value: AXDataSourceFilterOption): void;
570
+ sort(...value: AXDataSourceSortOption[]): void;
571
+ clearFilter(): void;
572
+ reset(): void;
573
+ refresh(): void;
574
+ find(key: unknown): T | Promise<T>;
575
+ }
576
+ declare function convertArrayToDataSource<T>(items: T[], options?: {
577
+ key: string;
578
+ pageSize: number;
579
+ }): AXDataSource;
580
+
581
+ interface AXDataListQuery {
582
+ take?: number;
583
+ skip?: number;
584
+ searchQuery?: string;
585
+ }
586
+ interface AXDataListFetchCallbackResult {
587
+ items: Array<any>;
588
+ total: number;
589
+ }
590
+ type AXDataListFetchDataCallback = (e: AXDataListQuery) => Promise<AXDataListFetchCallbackResult>;
591
+ type AXDataListItems = Array<any> | AXDataListFetchDataCallback;
592
+ declare class AXListDataSource<T = unknown> extends DataSource<T> {
593
+ private config;
594
+ private debounceTime;
595
+ private subscription;
596
+ source: AXDataSource<T>;
597
+ private dataStream;
598
+ private _range;
599
+ get range(): {
600
+ start: number;
601
+ end: number;
602
+ };
603
+ /**
604
+ * @ignore
605
+ */
606
+ constructor(config: {
607
+ source: AXDataSource<T>;
608
+ debounceTime?: number;
609
+ });
610
+ connect(collectionViewer: CollectionViewer): Observable<T[]>;
611
+ disconnect(): void;
612
+ private getPageForIndex;
613
+ refresh(): void;
614
+ }
615
+
616
+ interface AXExpandToggleIcons {
617
+ expanded: string;
618
+ collapsed: string;
619
+ }
620
+
621
+ declare class AXResponsiveDirective implements OnDestroy {
622
+ private _elementRef;
623
+ private _observer;
624
+ constructor();
625
+ ngOnDestroy(): void;
626
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXResponsiveDirective, never>;
627
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXResponsiveDirective, "[axResponsive]", never, {}, {}, never, never, true, never>;
628
+ }
629
+
630
+ interface AXScrollPosition {
631
+ scrollHeight: number;
632
+ scrollTop: number;
633
+ clientHeight: number;
634
+ }
635
+ declare class AXInfiniteScrollerDirective implements AfterViewInit {
636
+ private elm;
637
+ private scrollEvent$;
638
+ private userScrolledDown$;
639
+ private requestOnScroll$;
640
+ scrollCallback: Function;
641
+ immediateCallback: any;
642
+ scrollPercent: number;
643
+ ngAfterViewInit(): void;
644
+ private registerScrollEvent;
645
+ private streamScrollEvents;
646
+ private requestCallbackOnScroll;
647
+ private isUserScrollingDown;
648
+ private isScrollExpectedPercent;
649
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXInfiniteScrollerDirective, never>;
650
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXInfiniteScrollerDirective, "[axInfiniteScroller]", never, { "scrollCallback": { "alias": "scrollCallback"; "required": false; }; "immediateCallback": { "alias": "immediateCallback"; "required": false; }; "scrollPercent": { "alias": "scrollPercent"; "required": false; }; }, {}, never, never, true, never>;
651
+ }
652
+
653
+ declare class AXAutoFocusDirective implements AfterViewInit {
654
+ private renderer;
655
+ private el;
656
+ _host: AXFocusableComponent;
657
+ autoFocus?: boolean;
658
+ time: number;
659
+ private document;
660
+ private platformID;
661
+ ngAfterViewInit(): void;
662
+ protected doFocus(): void;
663
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoFocusDirective, never>;
664
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXAutoFocusDirective, "[axAutoFocus]", never, { "autoFocus": { "alias": "axAutoFocus"; "required": false; }; "time": { "alias": "axAutoFocusTime"; "required": false; }; }, {}, never, never, true, never>;
665
+ }
666
+
667
+ type AXHotKeyAction = {
668
+ [key: string]: string | Function;
669
+ parmas?: any;
670
+ };
671
+ declare class AXHotkeyDirective implements AfterViewInit {
672
+ private el;
673
+ _host: AXComponent;
674
+ private hs;
675
+ axHotkey: string | AXHotKeyAction | AXHotKeyAction[];
676
+ private _subs;
677
+ ngAfterViewInit(): void;
678
+ private _addDefaultAction;
679
+ private _addHotKeyAction;
680
+ ngOnDestroy(): void;
681
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXHotkeyDirective, never>;
682
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXHotkeyDirective, "[axHotkey]", never, { "axHotkey": { "alias": "axHotkey"; "required": false; }; }, {}, never, never, true, never>;
683
+ }
684
+
685
+ declare class AXCommonModule {
686
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCommonModule, never>;
687
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, never, [typeof AXResponsiveDirective, typeof AXInfiniteScrollerDirective, typeof AXAutoFocusDirective, typeof AXHotkeyDirective], [typeof AXResponsiveDirective, typeof AXInfiniteScrollerDirective, typeof AXAutoFocusDirective, typeof AXHotkeyDirective]>;
688
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCommonModule>;
689
+ }
690
+
691
+ declare class MXColorComponent extends MXBaseComponent {
692
+ colorChange: EventEmitter<AXStyleColorType>;
693
+ private _color;
694
+ /**
695
+ * Predefined color schemes
696
+ */
697
+ get color(): AXStyleColorType;
698
+ set color(value: AXStyleColorType);
699
+ }
700
+
701
+ declare abstract class MXLookableComponent {
702
+ look: AXStyleLookType;
703
+ static ɵfac: i0.ɵɵFactoryDeclaration<MXLookableComponent, never>;
704
+ static ɵprov: i0.ɵɵInjectableDeclaration<MXLookableComponent>;
705
+ }
706
+ declare class MXLookComponent extends MXBaseComponent {
707
+ lookChange: EventEmitter<AXStyleLookType>;
708
+ private _look?;
709
+ /**
710
+ * Predefined look schemes
711
+ */
712
+ get look(): AXStyleLookType;
713
+ set look(value: AXStyleLookType);
714
+ }
715
+
716
+ declare const MXColorLookComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXColorComponent, typeof MXLookComponent]>;
717
+ declare class MXColorLookComponent extends MXColorLookComponent_base {
718
+ }
719
+
720
+ declare const MXButtonBaseComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorLookComponent]>;
721
+ declare class MXButtonBaseComponent extends MXButtonBaseComponent_base {
722
+ /**
723
+ * Emits an event when the text associated with the button changes.
724
+ *
725
+ * @event
726
+ */
727
+ textChange: EventEmitter<string>;
728
+ private _text;
729
+ /**
730
+ * Defines the primary text to show inside the button.
731
+ */
732
+ get text(): string;
733
+ set text(v: string);
734
+ /**
735
+ * Emits an event when the toggleable state of the action sheet changes.
736
+ *
737
+ * @event
738
+ */
739
+ toggleableChange: EventEmitter<boolean>;
740
+ private _toggleable?;
741
+ /**
742
+ * Provides visual styling that indicates if the Button is active
743
+ */
744
+ get toggleable(): boolean;
745
+ set toggleable(value: boolean);
746
+ /**
747
+ * Emits an event whenever the selection state of the component changes.
748
+ *
749
+ * @event
750
+ */
751
+ selectedChange: EventEmitter<boolean>;
752
+ private _selected?;
753
+ /**
754
+ * Indicates if the Button is selected or not
755
+ */
756
+ get selected(): boolean;
757
+ set selected(value: boolean);
758
+ /**
759
+ * @ignore
760
+ */
761
+ constructor();
762
+ /**
763
+ * @ignore
764
+ */
765
+ protected get cssClasses(): {
766
+ 'ax-button-icon': boolean;
767
+ 'ax-state-disabled': boolean;
768
+ 'ax-state-selected': boolean;
769
+ };
770
+ }
771
+
772
+ declare class MXInputBaseValueComponent<T = string> extends MXValueComponent<T> {
773
+ oldText: string;
774
+ placeholder: string;
775
+ /**
776
+ * Fires each time the user press a key.
777
+ * @event
778
+ */
779
+ onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
780
+ /**
781
+ * Fires each time the user press a key.
782
+ * @event
783
+ */
784
+ onKeyUp: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
785
+ /**
786
+ * Fires each time the user press a key.
787
+ * @event
788
+ */
789
+ onKeyPress: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
790
+ /**
791
+ * Fires each time the user change the text.
792
+ * @event
793
+ */
794
+ onTextChanged: EventEmitter<AXValueChangedEvent<string>>;
795
+ protected emitOnKeydownEvent(e: KeyboardEvent): void;
796
+ protected emitOnKeyupEvent(e: KeyboardEvent): void;
797
+ protected emitOnKeypressEvent(e: KeyboardEvent): void;
798
+ protected emitOnTextChanged(value: string, isUserInteraction?: boolean): void;
799
+ focus(): void;
800
+ static ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
801
+ static ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
802
+ }
803
+
804
+ declare class MXSelectionBridgeService {
805
+ selectedItems: unknown[];
806
+ cacheList: {
807
+ [key: string | number]: unknown;
808
+ };
809
+ static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionBridgeService, never>;
810
+ static ɵprov: i0.ɵɵInjectableDeclaration<MXSelectionBridgeService>;
811
+ }
812
+ declare const AX_SELECTION_DATA_TOKEN: InjectionToken<MXSelectionBridgeService>;
813
+ declare abstract class MXSelectionValueComponent<T = any> extends MXValueComponent<any> {
814
+ private formatService;
815
+ private dataService;
816
+ disabledCallback: (e: {
817
+ item: T;
818
+ index: number;
819
+ }) => boolean;
820
+ private _valueField;
821
+ get valueField(): string;
822
+ set valueField(v: string);
823
+ private _textTemplate;
824
+ get textTemplate(): string;
825
+ set textTemplate(v: string);
826
+ private _textField;
827
+ get textField(): string;
828
+ set textField(v: string);
829
+ private _disabledField;
830
+ get disabledField(): string;
831
+ set disabledField(v: string);
832
+ private _multiple;
833
+ get multiple(): boolean;
834
+ set multiple(v: boolean);
835
+ get selectedItems(): unknown[];
836
+ internalSetValue(value: unknown): any;
837
+ emitOnValueChangedEvent(oldValue?: unknown, newValue?: unknown): void;
838
+ abstract getItemByKey(key: unknown): unknown | Promise<unknown>;
839
+ protected normalizeItemsList(items: unknown[], findBykey?: boolean): unknown[];
840
+ private normalizeItem;
841
+ private _normalizeSelectedItems;
842
+ unselectItems(...items: T[]): void;
843
+ selectItems(...items: T[]): void;
844
+ toggleSelect(...items: T[]): void;
845
+ isItemSelected(item: T): boolean;
846
+ isItemDisabled(item: T): boolean;
847
+ protected getDisplayText(item: T): any;
848
+ protected getValue(item: T): any;
849
+ protected clearSelectionCache(): void;
850
+ protected softClearSelectionCache(): void;
851
+ static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionValueComponent<any>, never>;
852
+ static ɵprov: i0.ɵɵInjectableDeclaration<MXSelectionValueComponent<any>>;
853
+ }
854
+
855
+ declare class AXNgModelDelayedValueChangedDirective implements OnDestroy {
856
+ private ngModel;
857
+ axDelayedValueChanged: EventEmitter<any>;
858
+ axDelayTimeChange: EventEmitter<number>;
859
+ private _delayTime;
860
+ get delayTime(): number;
861
+ set delayTime(v: number);
862
+ private subscription;
863
+ ngOnDestroy(): void;
864
+ constructor();
865
+ private update;
866
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNgModelDelayedValueChangedDirective, never>;
867
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXNgModelDelayedValueChangedDirective, "[axDelayedValueChanged]", never, { "delayTime": { "alias": "delayTime"; "required": false; }; }, { "axDelayedValueChanged": "axDelayedValueChanged"; "axDelayTimeChange": "axDelayTimeChange"; }, never, never, true, never>;
868
+ }
869
+
870
+ declare class AXInvertedColorDirective {
871
+ color: i0.InputSignal<AXStyleColorType>;
872
+ ref: ViewContainerRef;
873
+ private platformID;
874
+ constructor();
875
+ protected invertColor(): void;
876
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXInvertedColorDirective, never>;
877
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXInvertedColorDirective, "[axInvertedColor]", never, { "color": { "alias": "color"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
878
+ }
879
+
880
+ declare class AXRippleDirective implements OnDestroy {
881
+ private el;
882
+ private cdr;
883
+ enabled?: boolean;
884
+ axRippleColor: string;
885
+ ripple: HTMLSpanElement | null;
886
+ private document;
887
+ private platformID;
888
+ ngOnInit(): void;
889
+ ngOnDestroy(): void;
890
+ private onElementClick;
891
+ private createRipple;
892
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXRippleDirective, never>;
893
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXRippleDirective, "[axRipple]", never, { "enabled": { "alias": "axRipple"; "required": false; }; "axRippleColor": { "alias": "axRippleColor"; "required": false; }; }, {}, never, never, true, never>;
894
+ }
895
+
896
+ declare class AXDomService {
897
+ generateElementId(): string;
898
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXDomService, never>;
899
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXDomService>;
900
+ }
901
+
902
+ type Options = {
903
+ /**
904
+ * element - An html element
905
+ */
906
+ element: any;
907
+ /**
908
+ * keys - string of keys like (Control.f)
909
+ */
910
+ keys: string;
911
+ };
912
+ declare class AXHotkeysService {
913
+ private eventManager;
914
+ private document;
915
+ defaults: Partial<Options>;
916
+ /**
917
+ * Add shortcut
918
+ *
919
+ *
920
+ * @param options
921
+ * @returns Observable
922
+ *
923
+ */
924
+ addShortcut(options: Partial<Options>): Observable$1<unknown>;
925
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXHotkeysService, never>;
926
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXHotkeysService>;
927
+ }
928
+
929
+ export { AXAutoFocusDirective, AXAutocompleteParentComponent, AXButtonClickEvent, AXClearableComponent, AXClickEvent, AXClosableComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXDataSource, AXDomService, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXInvertedColorDirective, AXItemClickEvent, AXListDataSource, AXNgModelDelayedValueChangedDirective, AXOptionChangedEvent, AXPagedComponent, AXRangeChangedEvent, AXResponsiveDirective, AXRippleDirective, AXSearchableComponent, AXSelectionValueChangedEvent, AXValuableComponent, AXValueChangedEvent, AX_LOCATIONS, AX_PLACEMENT_BOTTOM, AX_PLACEMENT_BOTTOM_END, AX_PLACEMENT_BOTTOM_START, AX_PLACEMENT_END, AX_PLACEMENT_END_BOTTOM, AX_PLACEMENT_END_TOP, AX_PLACEMENT_MAP, AX_PLACEMENT_START, AX_PLACEMENT_START_BOTTOM, AX_PLACEMENT_START_TOP, AX_PLACEMENT_TOP, AX_PLACEMENT_TOP_END, AX_PLACEMENT_TOP_START, AX_SELECTION_DATA_TOKEN, AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, MXBaseComponent, MXButtonBaseComponent, MXColorComponent, MXColorLookComponent, MXInputBaseValueComponent, MXInteractiveComponent, MXLookComponent, MXLookableComponent, MXSelectionBridgeService, MXSelectionValueComponent, MXValueComponent, NXButtonComponent, NXClickEvent, NXColorComponent, NXComponent, NXEvent, NXInteractiveComponent, NXLookComponent, NXNativeEvent, NXValueComponent, TAB_META_KEY, convertArrayToDataSource, convertToPlacement };
930
+ export type { AXAnimationEasing, AXComponentState, AXConnectedPosition, AXDataListFetchCallbackResult, AXDataListFetchDataCallback, AXDataListItems, AXDataListQuery, AXDataSourceByKeyCallback, AXDataSourceCallbackResult, AXDataSourceChangedEvent, AXDataSourceConfig, AXDataSourceFilterOption, AXDataSourceItemExpandedEvent, AXDataSourceLoadCallback, AXDataSourceOperator, AXDataSourceQuery, AXDataSourceSortOption, AXDirection, AXExpandToggleIcons, AXFilterLogic, AXFormValidationRule, AXHotKeyAction, AXLocation, AXOrientation, AXPagedComponentInterface, AXPlacement, AXPlacementType, AXRange, AXScrollPosition, AXSelectionMode, AXSizeType, AXSortOrder, AXStyleColorType, AXStyleLookType, AXStyleSizeType, AXSurfaceType, MXComponentOptionChanged, MXComponentOptionChanging, MXComponentSetOption };