@acorex/components 5.0.6 → 5.0.10
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.
- package/bundles/acorex-components.umd.js +1110 -436
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/lib/badge/badge.component.js +34 -0
- package/esm2015/lib/badge/badge.module.js +21 -0
- package/esm2015/lib/badge/index.js +3 -0
- package/esm2015/lib/base/mixin/base-components.class.js +9 -6
- package/esm2015/lib/base/mixin/button-mixin.class.js +2 -2
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +7 -2
- package/esm2015/lib/base/mixin/mixin.class.js +2 -2
- package/esm2015/lib/base/mixin/value-mixin.class.js +3 -3
- package/esm2015/lib/button/button.component.js +3 -9
- package/esm2015/lib/calendar/calendar.component.js +266 -38
- package/esm2015/lib/calendar/calendar.module.js +4 -3
- package/esm2015/lib/checkbox/checkbox.component.js +30 -11
- package/esm2015/lib/datepicker/datepicker.component.js +2 -2
- package/esm2015/lib/decorators/content.component.js +26 -0
- package/esm2015/lib/decorators/decorators.module.js +4 -3
- package/esm2015/lib/decorators/index.js +2 -1
- package/esm2015/lib/decorators/prefix.component.js +5 -6
- package/esm2015/lib/decorators/suffix.component.js +5 -10
- package/esm2015/lib/dialog/dialog.component.js +2 -2
- package/esm2015/lib/label/label.component.js +4 -4
- package/esm2015/lib/page/base-page.class.js +2 -1
- package/esm2015/lib/page/page-footer.component.js +3 -7
- package/esm2015/lib/password-box/index.js +3 -0
- package/esm2015/lib/password-box/password-box.component.js +74 -0
- package/esm2015/lib/password-box/password-box.module.js +35 -0
- package/esm2015/lib/popover/popover.component.js +1 -2
- package/esm2015/lib/popup/popup.component.js +16 -8
- package/esm2015/lib/radio/index.js +3 -0
- package/esm2015/lib/radio/radio.component.js +22 -0
- package/esm2015/lib/radio/radio.module.js +21 -0
- package/esm2015/lib/selectbox/selectbox.component.js +11 -3
- package/esm2015/lib/selectbox/selectbox.module.js +8 -4
- package/esm2015/lib/selection-list/selection-list.component.js +2 -2
- package/esm2015/lib/tabs/index.js +4 -2
- package/esm2015/lib/tabs/tab-content.directive.js +29 -0
- package/esm2015/lib/tabs/tab-item.component.js +91 -0
- package/esm2015/lib/tabs/tab-strip.component.js +12 -7
- package/esm2015/lib/tabs/tab-view.component.js +4 -5
- package/esm2015/lib/tabs/tab.component.js +2 -3
- package/esm2015/lib/tabs/tabs.component.js +67 -0
- package/esm2015/lib/tabs/tabs.module.js +9 -7
- package/esm2015/public-api.js +5 -2
- package/fesm2015/acorex-components.js +1061 -436
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/badge/badge.component.d.ts +11 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/index.d.ts +2 -0
- package/lib/base/mixin/base-components.class.d.ts +2 -0
- package/lib/base/mixin/button-mixin.class.d.ts +4 -1
- package/lib/base/mixin/clickable-mixin.class.d.ts +1 -0
- package/lib/base/mixin/datalist-component.class.d.ts +1 -0
- package/lib/base/mixin/dropdown-mixin.class.d.ts +1 -0
- package/lib/base/mixin/interactive-mixin.class.d.ts +4 -2
- package/lib/base/mixin/loading-mixin.class.d.ts +2 -3
- package/lib/base/mixin/mixin.class.d.ts +17 -117
- package/lib/base/mixin/selection-component.class.d.ts +1 -0
- package/lib/base/mixin/sizable-mixin.class.d.ts +1 -0
- package/lib/base/mixin/textbox-mixin.class.d.ts +5 -7
- package/lib/base/mixin/value-mixin.class.d.ts +5 -5
- package/lib/button/button-item.component.d.ts +2 -0
- package/lib/button/button.component.d.ts +0 -1
- package/lib/calendar/calendar.component.d.ts +52 -12
- package/lib/calendar/calendar.module.d.ts +4 -3
- package/lib/checkbox/checkbox.component.d.ts +6 -5
- package/lib/decorators/content.component.d.ts +8 -0
- package/lib/decorators/decorators.module.d.ts +3 -2
- package/lib/decorators/index.d.ts +1 -0
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/dropdown/dropdown-base.class.d.ts +2 -0
- package/lib/label/label.component.d.ts +2 -2
- package/lib/password-box/index.d.ts +2 -0
- package/lib/password-box/password-box.component.d.ts +24 -0
- package/lib/password-box/password-box.module.d.ts +12 -0
- package/lib/popup/popup.component.d.ts +3 -2
- package/lib/radio/index.d.ts +2 -0
- package/lib/radio/radio.component.d.ts +8 -0
- package/lib/radio/radio.module.d.ts +8 -0
- package/lib/selectbox/selectbox.component.d.ts +1 -0
- package/lib/selectbox/selectbox.module.d.ts +5 -1
- package/lib/tabs/index.d.ts +3 -1
- package/lib/tabs/tab-content.directive.d.ts +11 -0
- package/lib/tabs/tab-item.component.d.ts +17 -0
- package/lib/tabs/tab-strip.component.d.ts +4 -3
- package/lib/tabs/tab-view.component.d.ts +2 -2
- package/lib/tabs/tabs.component.d.ts +17 -0
- package/lib/tabs/tabs.module.d.ts +6 -4
- package/package.json +18 -18
- package/public-api.d.ts +4 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXStyleColorType } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXBadgeComponent extends AXBaseComponentMixin {
|
|
5
|
+
text: string;
|
|
6
|
+
color: AXStyleColorType;
|
|
7
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
|
+
private get __hostClass();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "text": "text"; "color": "color"; }, {}, never, ["ax-prefix", "ax-suffix"]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./badge.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class AXBadgeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBadgeModule, [typeof i1.AXBadgeComponent], [typeof i2.CommonModule], [typeof i1.AXBadgeComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXBadgeModule>;
|
|
8
|
+
}
|
|
@@ -31,6 +31,7 @@ export declare class AXBaseComponent {
|
|
|
31
31
|
_onInternalViewInit(): void;
|
|
32
32
|
_onInternalDestroy(): void;
|
|
33
33
|
onInit(): void;
|
|
34
|
+
onRenderCssClass(): void;
|
|
34
35
|
onViewInit(): void;
|
|
35
36
|
onDestroy(): void;
|
|
36
37
|
onOptionChanging(option: {
|
|
@@ -67,6 +68,7 @@ export declare function _BaseComponenetMixin<TBase extends Constructor<AXBaseCom
|
|
|
67
68
|
_onInternalViewInit(): void;
|
|
68
69
|
_onInternalDestroy(): void;
|
|
69
70
|
onInit(): void;
|
|
71
|
+
onRenderCssClass(): void;
|
|
70
72
|
onViewInit(): void;
|
|
71
73
|
onDestroy(): void;
|
|
72
74
|
onOptionChanging(option: {
|
|
@@ -51,7 +51,9 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
51
51
|
rtl: boolean;
|
|
52
52
|
cssClass: string;
|
|
53
53
|
cssStyle: string;
|
|
54
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
54
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>; /**
|
|
55
|
+
* Trigger click event by Esc Key
|
|
56
|
+
*/
|
|
55
57
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
56
58
|
_isInited: boolean;
|
|
57
59
|
_isRendered: boolean;
|
|
@@ -62,6 +64,7 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
62
64
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
63
65
|
_onInternalInit(): void;
|
|
64
66
|
onInit(): void;
|
|
67
|
+
onRenderCssClass(): void;
|
|
65
68
|
onViewInit(): void;
|
|
66
69
|
onDestroy(): void;
|
|
67
70
|
onOptionChanging(option: {
|
|
@@ -27,6 +27,7 @@ export declare function _ClickableComponenetMixin<TBase extends Constructor<AXBa
|
|
|
27
27
|
_onInternalViewInit(): void;
|
|
28
28
|
_onInternalDestroy(): void;
|
|
29
29
|
onInit(): void;
|
|
30
|
+
onRenderCssClass(): void;
|
|
30
31
|
onViewInit(): void;
|
|
31
32
|
onDestroy(): void;
|
|
32
33
|
onOptionChanging(option: {
|
|
@@ -39,6 +39,7 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
39
39
|
_onInternalViewInit(): void;
|
|
40
40
|
_onInternalDestroy(): void;
|
|
41
41
|
onInit(): void;
|
|
42
|
+
onRenderCssClass(): void;
|
|
42
43
|
onViewInit(): void;
|
|
43
44
|
onDestroy(): void;
|
|
44
45
|
onOptionChanging(option: {
|
|
@@ -33,6 +33,7 @@ export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBas
|
|
|
33
33
|
_onInternalViewInit(): void;
|
|
34
34
|
_onInternalDestroy(): void;
|
|
35
35
|
onInit(): void;
|
|
36
|
+
onRenderCssClass(): void;
|
|
36
37
|
onViewInit(): void;
|
|
37
38
|
onDestroy(): void;
|
|
38
39
|
onOptionChanging(option: {
|
|
@@ -39,8 +39,7 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
39
39
|
_isRendered: boolean;
|
|
40
40
|
ngOnInit(): void;
|
|
41
41
|
ngAfterViewInit(): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
/**
|
|
42
|
+
ngOnDestroy(): void; /**
|
|
44
43
|
* Specifies the tabindex of the component.
|
|
45
44
|
*/
|
|
46
45
|
_getHostElement<T = HTMLElement>(): T;
|
|
@@ -49,6 +48,7 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
49
48
|
_onInternalViewInit(): void;
|
|
50
49
|
_onInternalDestroy(): void;
|
|
51
50
|
onInit(): void;
|
|
51
|
+
onRenderCssClass(): void;
|
|
52
52
|
onViewInit(): void;
|
|
53
53
|
onDestroy(): void;
|
|
54
54
|
onOptionChanging(option: {
|
|
@@ -61,3 +61,5 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
61
61
|
newValue?: any;
|
|
62
62
|
}): void;
|
|
63
63
|
}) & TBase;
|
|
64
|
+
export declare const INTERACTIVE_INPUTS: string[];
|
|
65
|
+
export declare const INTERACTIVE_OUTPUT: string[];
|
|
@@ -17,9 +17,7 @@ export declare function _LoadingComponenetMixin<TBase extends Constructor<AXBase
|
|
|
17
17
|
_onInternalInit(): void;
|
|
18
18
|
id: string;
|
|
19
19
|
rtl: boolean;
|
|
20
|
-
cssClass: string;
|
|
21
|
-
* 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.
|
|
22
|
-
*/
|
|
20
|
+
cssClass: string;
|
|
23
21
|
cssStyle: string;
|
|
24
22
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
25
23
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
@@ -33,6 +31,7 @@ export declare function _LoadingComponenetMixin<TBase extends Constructor<AXBase
|
|
|
33
31
|
_onInternalViewInit(): void;
|
|
34
32
|
_onInternalDestroy(): void;
|
|
35
33
|
onInit(): void;
|
|
34
|
+
onRenderCssClass(): void;
|
|
36
35
|
onViewInit(): void;
|
|
37
36
|
onDestroy(): void;
|
|
38
37
|
onOptionChanging(option: {
|
|
@@ -18,6 +18,7 @@ export declare const AXBaseComponentMixin: {
|
|
|
18
18
|
_onInternalViewInit(): void;
|
|
19
19
|
_onInternalDestroy(): void;
|
|
20
20
|
onInit(): void;
|
|
21
|
+
onRenderCssClass(): void;
|
|
21
22
|
onViewInit(): void;
|
|
22
23
|
onDestroy(): void;
|
|
23
24
|
onOptionChanging(option: {
|
|
@@ -51,6 +52,7 @@ export declare const AXSizableComponentMixin: {
|
|
|
51
52
|
_onInternalViewInit(): void;
|
|
52
53
|
_onInternalDestroy(): void;
|
|
53
54
|
onInit(): void;
|
|
55
|
+
onRenderCssClass(): void;
|
|
54
56
|
onViewInit(): void;
|
|
55
57
|
onDestroy(): void;
|
|
56
58
|
onOptionChanging(option: {
|
|
@@ -82,6 +84,7 @@ export declare const AXSizableComponentMixin: {
|
|
|
82
84
|
_onInternalViewInit(): void;
|
|
83
85
|
_onInternalDestroy(): void;
|
|
84
86
|
onInit(): void;
|
|
87
|
+
onRenderCssClass(): void;
|
|
85
88
|
onViewInit(): void;
|
|
86
89
|
onDestroy(): void;
|
|
87
90
|
onOptionChanging(option: {
|
|
@@ -115,6 +118,7 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
115
118
|
_onInternalViewInit(): void;
|
|
116
119
|
_onInternalDestroy(): void;
|
|
117
120
|
onInit(): void;
|
|
121
|
+
onRenderCssClass(): void;
|
|
118
122
|
onViewInit(): void;
|
|
119
123
|
onDestroy(): void;
|
|
120
124
|
onOptionChanging(option: {
|
|
@@ -154,6 +158,7 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
154
158
|
_onInternalViewInit(): void;
|
|
155
159
|
_onInternalDestroy(): void;
|
|
156
160
|
onInit(): void;
|
|
161
|
+
onRenderCssClass(): void;
|
|
157
162
|
onViewInit(): void;
|
|
158
163
|
onDestroy(): void;
|
|
159
164
|
onOptionChanging(option: {
|
|
@@ -186,6 +191,7 @@ export declare const AXBaseClickableMixin: {
|
|
|
186
191
|
_onInternalViewInit(): void;
|
|
187
192
|
_onInternalDestroy(): void;
|
|
188
193
|
onInit(): void;
|
|
194
|
+
onRenderCssClass(): void;
|
|
189
195
|
onViewInit(): void;
|
|
190
196
|
onDestroy(): void;
|
|
191
197
|
onOptionChanging(option: {
|
|
@@ -225,6 +231,7 @@ export declare const AXBaseClickableMixin: {
|
|
|
225
231
|
_onInternalViewInit(): void;
|
|
226
232
|
_onInternalDestroy(): void;
|
|
227
233
|
onInit(): void;
|
|
234
|
+
onRenderCssClass(): void;
|
|
228
235
|
onViewInit(): void;
|
|
229
236
|
onDestroy(): void;
|
|
230
237
|
onOptionChanging(option: {
|
|
@@ -257,6 +264,7 @@ export declare const AXBaseClickableMixin: {
|
|
|
257
264
|
_onInternalViewInit(): void;
|
|
258
265
|
_onInternalDestroy(): void;
|
|
259
266
|
onInit(): void;
|
|
267
|
+
onRenderCssClass(): void;
|
|
260
268
|
onViewInit(): void;
|
|
261
269
|
onDestroy(): void;
|
|
262
270
|
onOptionChanging(option: {
|
|
@@ -290,6 +298,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
290
298
|
_onInternalViewInit(): void;
|
|
291
299
|
_onInternalDestroy(): void;
|
|
292
300
|
onInit(): void;
|
|
301
|
+
onRenderCssClass(): void;
|
|
293
302
|
onViewInit(): void;
|
|
294
303
|
onDestroy(): void;
|
|
295
304
|
onOptionChanging(option: {
|
|
@@ -329,6 +338,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
329
338
|
_onInternalViewInit(): void;
|
|
330
339
|
_onInternalDestroy(): void;
|
|
331
340
|
onInit(): void;
|
|
341
|
+
onRenderCssClass(): void;
|
|
332
342
|
onViewInit(): void;
|
|
333
343
|
onDestroy(): void;
|
|
334
344
|
onOptionChanging(option: {
|
|
@@ -361,6 +371,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
361
371
|
_onInternalViewInit(): void;
|
|
362
372
|
_onInternalDestroy(): void;
|
|
363
373
|
onInit(): void;
|
|
374
|
+
onRenderCssClass(): void;
|
|
364
375
|
onViewInit(): void;
|
|
365
376
|
onDestroy(): void;
|
|
366
377
|
onOptionChanging(option: {
|
|
@@ -412,6 +423,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
412
423
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
413
424
|
_onInternalInit(): void;
|
|
414
425
|
onInit(): void;
|
|
426
|
+
onRenderCssClass(): void;
|
|
415
427
|
onViewInit(): void;
|
|
416
428
|
onDestroy(): void;
|
|
417
429
|
onOptionChanging(option: {
|
|
@@ -446,6 +458,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
446
458
|
_onInternalViewInit(): void;
|
|
447
459
|
_onInternalDestroy(): void;
|
|
448
460
|
onInit(): void;
|
|
461
|
+
onRenderCssClass(): void;
|
|
449
462
|
onViewInit(): void;
|
|
450
463
|
onDestroy(): void;
|
|
451
464
|
onOptionChanging(option: {
|
|
@@ -485,6 +498,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
485
498
|
_onInternalViewInit(): void;
|
|
486
499
|
_onInternalDestroy(): void;
|
|
487
500
|
onInit(): void;
|
|
501
|
+
onRenderCssClass(): void;
|
|
488
502
|
onViewInit(): void;
|
|
489
503
|
onDestroy(): void;
|
|
490
504
|
onOptionChanging(option: {
|
|
@@ -536,6 +550,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
536
550
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
537
551
|
_onInternalViewInit(): void;
|
|
538
552
|
onInit(): void;
|
|
553
|
+
onRenderCssClass(): void;
|
|
539
554
|
onViewInit(): void;
|
|
540
555
|
onDestroy(): void;
|
|
541
556
|
onOptionChanging(option: {
|
|
@@ -572,6 +587,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
572
587
|
_onInternalViewInit(): void;
|
|
573
588
|
_onInternalDestroy(): void;
|
|
574
589
|
onInit(): void;
|
|
590
|
+
onRenderCssClass(): void;
|
|
575
591
|
onViewInit(): void;
|
|
576
592
|
onDestroy(): void;
|
|
577
593
|
onOptionChanging(option: {
|
|
@@ -588,120 +604,4 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
588
604
|
export declare const AXBaseSelectionValueMixin: any;
|
|
589
605
|
export declare const AXBaseValueDropdownMixin: any;
|
|
590
606
|
export declare const AXBaseSelectionDropdownMixin: any;
|
|
591
|
-
export declare const
|
|
592
|
-
new (...args: any[]): {
|
|
593
|
-
onClick: import("@angular/core").EventEmitter<import("@acorex/components").AXClickEvent>;
|
|
594
|
-
_emitOnClickEvent(e: MouseEvent): void;
|
|
595
|
-
id: string;
|
|
596
|
-
rtl: boolean;
|
|
597
|
-
cssClass: string;
|
|
598
|
-
cssStyle: string;
|
|
599
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
600
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
601
|
-
_isInited: boolean;
|
|
602
|
-
_isRendered: boolean;
|
|
603
|
-
ngOnInit(): void;
|
|
604
|
-
ngAfterViewInit(): void;
|
|
605
|
-
ngOnDestroy(): void;
|
|
606
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
607
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
608
|
-
_onInternalInit(): void;
|
|
609
|
-
_onInternalViewInit(): void;
|
|
610
|
-
_onInternalDestroy(): void;
|
|
611
|
-
onInit(): void;
|
|
612
|
-
onViewInit(): void;
|
|
613
|
-
onDestroy(): void;
|
|
614
|
-
onOptionChanging(option: {
|
|
615
|
-
name: string;
|
|
616
|
-
value?: any;
|
|
617
|
-
}): any;
|
|
618
|
-
onOptionChanged(option: {
|
|
619
|
-
name: string;
|
|
620
|
-
oldValue?: any;
|
|
621
|
-
newValue?: any;
|
|
622
|
-
}): void;
|
|
623
|
-
};
|
|
624
|
-
} & {
|
|
625
|
-
new (...args: any[]): {
|
|
626
|
-
text: string;
|
|
627
|
-
submitBehavior: boolean;
|
|
628
|
-
cancelBehavior: boolean;
|
|
629
|
-
colorChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleColorType>;
|
|
630
|
-
"__#2@#color": import("@acorex/components").AXStyleColorType;
|
|
631
|
-
color: import("@acorex/components").AXStyleColorType;
|
|
632
|
-
lookChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleButtonLook>;
|
|
633
|
-
"__#2@#look"?: import("@acorex/components").AXStyleButtonLook;
|
|
634
|
-
look: import("@acorex/components").AXStyleButtonLook;
|
|
635
|
-
toggleableChange: import("@angular/core").EventEmitter<boolean>;
|
|
636
|
-
"__#2@#toggleable"?: boolean;
|
|
637
|
-
toggleable: boolean;
|
|
638
|
-
selectedChange: import("@angular/core").EventEmitter<boolean>;
|
|
639
|
-
"__#2@#selected"?: boolean;
|
|
640
|
-
selected: boolean;
|
|
641
|
-
_onInternalViewInit(): void;
|
|
642
|
-
_onInternalDestroy(): void;
|
|
643
|
-
readonly _classes: {
|
|
644
|
-
'ax-button-icon': boolean;
|
|
645
|
-
'ax-state-disabled': any;
|
|
646
|
-
'ax-state-selected': boolean;
|
|
647
|
-
};
|
|
648
|
-
id: string;
|
|
649
|
-
rtl: boolean;
|
|
650
|
-
cssClass: string;
|
|
651
|
-
cssStyle: string;
|
|
652
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
653
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
654
|
-
_isInited: boolean;
|
|
655
|
-
_isRendered: boolean;
|
|
656
|
-
ngOnInit(): void;
|
|
657
|
-
ngAfterViewInit(): void;
|
|
658
|
-
ngOnDestroy(): void;
|
|
659
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
660
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
661
|
-
_onInternalInit(): void;
|
|
662
|
-
onInit(): void;
|
|
663
|
-
onViewInit(): void;
|
|
664
|
-
onDestroy(): void;
|
|
665
|
-
onOptionChanging(option: {
|
|
666
|
-
name: string;
|
|
667
|
-
value?: any;
|
|
668
|
-
}): any;
|
|
669
|
-
onOptionChanged(option: {
|
|
670
|
-
name: string;
|
|
671
|
-
oldValue?: any;
|
|
672
|
-
newValue?: any;
|
|
673
|
-
}): void;
|
|
674
|
-
};
|
|
675
|
-
} & {
|
|
676
|
-
new (...args: any[]): {
|
|
677
|
-
size: import("./base-components.class").AXElementSize;
|
|
678
|
-
_onInternalInit(): void;
|
|
679
|
-
id: string;
|
|
680
|
-
rtl: boolean;
|
|
681
|
-
cssClass: string;
|
|
682
|
-
cssStyle: string;
|
|
683
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
684
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
685
|
-
_isInited: boolean;
|
|
686
|
-
_isRendered: boolean;
|
|
687
|
-
ngOnInit(): void;
|
|
688
|
-
ngAfterViewInit(): void;
|
|
689
|
-
ngOnDestroy(): void;
|
|
690
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
691
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
692
|
-
_onInternalViewInit(): void;
|
|
693
|
-
_onInternalDestroy(): void;
|
|
694
|
-
onInit(): void;
|
|
695
|
-
onViewInit(): void;
|
|
696
|
-
onDestroy(): void;
|
|
697
|
-
onOptionChanging(option: {
|
|
698
|
-
name: string;
|
|
699
|
-
value?: any;
|
|
700
|
-
}): any;
|
|
701
|
-
onOptionChanged(option: {
|
|
702
|
-
name: string;
|
|
703
|
-
oldValue?: any;
|
|
704
|
-
newValue?: any;
|
|
705
|
-
}): void;
|
|
706
|
-
};
|
|
707
|
-
} & typeof AXBaseComponent;
|
|
607
|
+
export declare const AXCalendarComponentMixin: any;
|
|
@@ -40,6 +40,7 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
40
40
|
_onInternalViewInit(): void;
|
|
41
41
|
_onInternalDestroy(): void;
|
|
42
42
|
onInit(): void;
|
|
43
|
+
onRenderCssClass(): void;
|
|
43
44
|
onViewInit(): void;
|
|
44
45
|
onDestroy(): void;
|
|
45
46
|
onOptionChanging(option: {
|
|
@@ -23,6 +23,7 @@ export declare function _SizableComponenetMixin<TBase extends Constructor<AXBase
|
|
|
23
23
|
_onInternalViewInit(): void;
|
|
24
24
|
_onInternalDestroy(): void;
|
|
25
25
|
onInit(): void;
|
|
26
|
+
onRenderCssClass(): void;
|
|
26
27
|
onViewInit(): void;
|
|
27
28
|
onDestroy(): void;
|
|
28
29
|
onOptionChanging(option: {
|
|
@@ -22,12 +22,12 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
22
22
|
*/
|
|
23
23
|
onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
|
24
24
|
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
25
|
-
id: string;
|
|
25
|
+
id: string; /**
|
|
26
|
+
* A string value that specifies the placeholder of text box.
|
|
27
|
+
*/
|
|
26
28
|
rtl: boolean;
|
|
27
29
|
cssClass: string;
|
|
28
|
-
cssStyle: string;
|
|
29
|
-
* A number value that specifies the maximum characters of text box.
|
|
30
|
-
*/
|
|
30
|
+
cssStyle: string;
|
|
31
31
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
32
32
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
33
33
|
_isInited: boolean;
|
|
@@ -36,14 +36,12 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
36
36
|
ngAfterViewInit(): void;
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
38
|
_getHostElement<T = HTMLElement>(): T;
|
|
39
|
-
/**
|
|
40
|
-
* @ignore
|
|
41
|
-
*/
|
|
42
39
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
43
40
|
_onInternalInit(): void;
|
|
44
41
|
_onInternalViewInit(): void;
|
|
45
42
|
_onInternalDestroy(): void;
|
|
46
43
|
onInit(): void;
|
|
44
|
+
onRenderCssClass(): void;
|
|
47
45
|
onViewInit(): void;
|
|
48
46
|
onDestroy(): void;
|
|
49
47
|
onOptionChanging(option: {
|
|
@@ -42,18 +42,18 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
42
42
|
cssStyle: string;
|
|
43
43
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
44
44
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
45
|
-
_isInited: boolean;
|
|
46
|
-
* Fires each time the user press a key.
|
|
47
|
-
* @event
|
|
48
|
-
*/
|
|
45
|
+
_isInited: boolean;
|
|
49
46
|
_isRendered: boolean;
|
|
50
|
-
ngOnInit(): void;
|
|
47
|
+
ngOnInit(): void; /**
|
|
48
|
+
* If set to true, user cannot change the value of component.
|
|
49
|
+
*/
|
|
51
50
|
ngAfterViewInit(): void;
|
|
52
51
|
ngOnDestroy(): void;
|
|
53
52
|
_getHostElement<T = HTMLElement>(): T;
|
|
54
53
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
55
54
|
_onInternalViewInit(): void;
|
|
56
55
|
onInit(): void;
|
|
56
|
+
onRenderCssClass(): void;
|
|
57
57
|
onViewInit(): void;
|
|
58
58
|
onDestroy(): void;
|
|
59
59
|
onOptionChanging(option: {
|
|
@@ -28,6 +28,7 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
|
28
28
|
_onInternalViewInit(): void;
|
|
29
29
|
_onInternalDestroy(): void;
|
|
30
30
|
onInit(): void;
|
|
31
|
+
onRenderCssClass(): void;
|
|
31
32
|
onViewInit(): void;
|
|
32
33
|
onDestroy(): void;
|
|
33
34
|
onOptionChanging(option: {
|
|
@@ -60,6 +61,7 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
|
60
61
|
_onInternalViewInit(): void;
|
|
61
62
|
_onInternalDestroy(): void;
|
|
62
63
|
onInit(): void;
|
|
64
|
+
onRenderCssClass(): void;
|
|
63
65
|
onViewInit(): void;
|
|
64
66
|
onDestroy(): void;
|
|
65
67
|
onOptionChanging(option: {
|
|
@@ -16,7 +16,6 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
16
16
|
_emitOnFocusEvent(e: MouseEvent): void;
|
|
17
17
|
_emitOnBlurEvent(e: MouseEvent): void;
|
|
18
18
|
private get __hostClass();
|
|
19
|
-
private get __tabindex();
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
21
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "text": "text"; "submitBehavior": "submitBehavior"; "cancelBehavior": "cancelBehavior"; "color": "color"; "look": "look"; "toggleable": "toggleable"; "selected": "selected"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix", "ax-dropdown-panel"]>;
|
|
22
21
|
}
|
|
@@ -1,16 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AXDateTime } from '@acorex/core';
|
|
2
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { AXCalendarComponentMixin, AXClickEvent } from '../base';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
5
|
-
|
|
5
|
+
export declare type AXCalendarViewType = 'years' | 'months' | 'days';
|
|
6
|
+
export declare type AXCalendarViewDepth = AXCalendarViewType;
|
|
7
|
+
export declare type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);
|
|
8
|
+
export declare type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);
|
|
9
|
+
export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
10
|
+
private cdr;
|
|
11
|
+
private get _viewRange();
|
|
12
|
+
_today: AXDateTime;
|
|
13
|
+
private _viewStartDate;
|
|
14
|
+
_navText: string;
|
|
15
|
+
_todayText: string;
|
|
16
|
+
_slots: any[];
|
|
17
|
+
private _activeView;
|
|
18
|
+
get activeView(): AXCalendarViewType;
|
|
19
|
+
set activeView(v: AXCalendarViewType);
|
|
20
|
+
depthChange: EventEmitter<AXCalendarViewDepth>;
|
|
21
|
+
private _depth;
|
|
22
|
+
get depth(): AXCalendarViewDepth;
|
|
23
|
+
set depth(v: AXCalendarViewDepth);
|
|
24
|
+
private _min;
|
|
25
|
+
get min(): Date;
|
|
26
|
+
set min(v: Date);
|
|
27
|
+
private _max;
|
|
28
|
+
get max(): Date;
|
|
29
|
+
set max(v: Date);
|
|
30
|
+
private _disabledDates;
|
|
31
|
+
get disabledDates(): AXCalendarDisabledDates;
|
|
32
|
+
set disabledDates(v: AXCalendarDisabledDates);
|
|
33
|
+
private _holidayDates;
|
|
34
|
+
get holidayDates(): AXCalendarHolidayDates;
|
|
35
|
+
set holidayDates(v: AXCalendarHolidayDates);
|
|
6
36
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
37
|
+
onInit(): void;
|
|
38
|
+
private _genearteSlots;
|
|
39
|
+
_handlePrevClick(e: AXClickEvent): void;
|
|
40
|
+
_handleNextClick(e: AXClickEvent): void;
|
|
41
|
+
_handleSlotClick(slot: any): void;
|
|
42
|
+
_handleNavClick(e: AXClickEvent): void;
|
|
43
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
44
|
+
_handleGoToday(): void;
|
|
45
|
+
next(): void;
|
|
46
|
+
prev(): void;
|
|
47
|
+
private _navNextPrev;
|
|
48
|
+
goToday(): void;
|
|
49
|
+
navTo(date: Date | AXDateTime): void;
|
|
50
|
+
private get __hostClass();
|
|
51
|
+
private isDisabled;
|
|
52
|
+
private isHoliday;
|
|
53
|
+
private isWeekend;
|
|
14
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "disabled": "disabled"; "tabIndex": "tabIndex"; "activeView": "activeView"; "depth": "depth"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; }, never, never>;
|
|
16
56
|
}
|
|
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./calendar.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../button/button.module";
|
|
5
|
-
import * as i4 from "../
|
|
6
|
-
import * as i5 from "../
|
|
5
|
+
import * as i4 from "../icon/icon.module";
|
|
6
|
+
import * as i5 from "../decorators/decorators.module";
|
|
7
|
+
import * as i6 from "@acorex/core";
|
|
7
8
|
export declare class AXCalendarModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.AXIconModule, typeof i5.AXEditorDecoratorModule, typeof i6.AXDateTimeModule], [typeof i1.AXCalendarComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
|
11
12
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { AXBaseValueComponentMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_hint: QueryList<ElementRef>;
|
|
6
|
+
_label: QueryList<ElementRef>;
|
|
7
7
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
8
|
onInit(): void;
|
|
9
|
-
|
|
9
|
+
_onValueChanging(value: any): any;
|
|
10
|
+
_handleOnClickEvent(e: MouseEvent): boolean;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_hint", "_label"], ["ax-label", "ax-form-hint", "ax-validation-rule"]>;
|
|
12
13
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDecoratorContentComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorContentComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorContentComponent, "ax-content", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./prefix.component";
|
|
3
3
|
import * as i2 from "./suffix.component";
|
|
4
|
-
import * as i3 from "
|
|
4
|
+
import * as i3 from "./content.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
5
6
|
export declare class AXEditorDecoratorModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXEditorDecoratorModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent], [typeof i4.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXEditorDecoratorModule>;
|
|
9
10
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPrefixComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["ax-button,ax-loading,ax-icon"]>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["ax-button,ax-loading,ax-icon,ax-badge"]>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSuffixComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button,ax-icon,ax-badge"]>;
|
|
8
8
|
}
|
|
@@ -22,6 +22,7 @@ export declare const AXBaseDropdownMixin: {
|
|
|
22
22
|
_onInternalViewInit(): void;
|
|
23
23
|
_onInternalDestroy(): void;
|
|
24
24
|
onInit(): void;
|
|
25
|
+
onRenderCssClass(): void;
|
|
25
26
|
onViewInit(): void;
|
|
26
27
|
onDestroy(): void;
|
|
27
28
|
onOptionChanging(option: {
|
|
@@ -61,6 +62,7 @@ export declare const AXBaseDropdownMixin: {
|
|
|
61
62
|
_onInternalViewInit(): void;
|
|
62
63
|
_onInternalDestroy(): void;
|
|
63
64
|
onInit(): void;
|
|
65
|
+
onRenderCssClass(): void;
|
|
64
66
|
onViewInit(): void;
|
|
65
67
|
onDestroy(): void;
|
|
66
68
|
onOptionChanging(option: {
|