@acorex/components 5.0.2 → 5.0.7

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 (104) hide show
  1. package/bundles/acorex-components.umd.js +1528 -1038
  2. package/bundles/acorex-components.umd.js.map +1 -1
  3. package/esm2015/lib/alert/alert.component.js +17 -17
  4. package/esm2015/lib/badge/badge.component.js +34 -0
  5. package/esm2015/lib/badge/badge.module.js +21 -0
  6. package/esm2015/lib/badge/index.js +3 -0
  7. package/esm2015/lib/base/events.class.js +7 -1
  8. package/esm2015/lib/base/mixin/base-components.class.js +6 -6
  9. package/esm2015/lib/base/mixin/button-mixin.class.js +2 -2
  10. package/esm2015/lib/base/mixin/interactive-mixin.class.js +6 -1
  11. package/esm2015/lib/base/mixin/mixin.class.js +2 -3
  12. package/esm2015/lib/button/button-group.component.js +3 -3
  13. package/esm2015/lib/button/button.component.js +27 -6
  14. package/esm2015/lib/button/button.module.js +1 -5
  15. package/esm2015/lib/button/index.js +1 -2
  16. package/esm2015/lib/calendar/calendar.component.js +266 -38
  17. package/esm2015/lib/calendar/calendar.module.js +4 -3
  18. package/esm2015/lib/checkbox/checkbox.component.js +2 -2
  19. package/esm2015/lib/datepicker/datepicker.component.js +21 -5
  20. package/esm2015/lib/decorators/prefix.component.js +3 -3
  21. package/esm2015/lib/decorators/suffix.component.js +3 -11
  22. package/esm2015/lib/dialog/dialog.component.js +2 -2
  23. package/esm2015/lib/dialog/dialog.service.js +24 -5
  24. package/esm2015/lib/dropdown/dropdown-base.class.js +98 -0
  25. package/esm2015/lib/dropdown/dropdown-panel.component.js +23 -130
  26. package/esm2015/lib/dropdown/dropdown.component.js +16 -123
  27. package/esm2015/lib/dropdown/dropdown.module.js +5 -4
  28. package/esm2015/lib/icon/icon.component.js +4 -4
  29. package/esm2015/lib/number-box/number-box.component.js +4 -4
  30. package/esm2015/lib/password-box/index.js +3 -0
  31. package/esm2015/lib/password-box/password-box.component.js +74 -0
  32. package/esm2015/lib/password-box/password-box.module.js +35 -0
  33. package/esm2015/lib/popover/popover.component.js +183 -82
  34. package/esm2015/lib/range-slider/index.js +3 -0
  35. package/esm2015/lib/range-slider/range-slider.component.js +22 -0
  36. package/esm2015/lib/range-slider/range-slider.module.js +21 -0
  37. package/esm2015/lib/selectbox/selectbox.component.js +11 -3
  38. package/esm2015/lib/selectbox/selectbox.module.js +8 -4
  39. package/esm2015/lib/selection-list/selection-list.component.js +3 -2
  40. package/esm2015/lib/switch/switch.component.js +2 -2
  41. package/esm2015/lib/tabs/index.js +4 -2
  42. package/esm2015/lib/tabs/tab-content.directive.js +27 -0
  43. package/esm2015/lib/tabs/tab-item.component.js +76 -0
  44. package/esm2015/lib/tabs/tab-strip.component.js +15 -7
  45. package/esm2015/lib/tabs/tab-view.component.js +4 -5
  46. package/esm2015/lib/tabs/tab.component.js +2 -3
  47. package/esm2015/lib/tabs/tabs.component.js +74 -0
  48. package/esm2015/lib/tabs/tabs.module.js +9 -7
  49. package/esm2015/lib/textbox/textbox.component.js +8 -6
  50. package/esm2015/lib/textbox/textbox.module.js +6 -2
  51. package/esm2015/lib/time-box/time-box.component.js +1 -1
  52. package/esm2015/lib/toast/toast.component.js +2 -2
  53. package/esm2015/public-api.js +4 -1
  54. package/fesm2015/acorex-components.js +1316 -883
  55. package/fesm2015/acorex-components.js.map +1 -1
  56. package/lib/alert/alert.component.d.ts +4 -4
  57. package/lib/badge/badge.component.d.ts +11 -0
  58. package/lib/badge/badge.module.d.ts +8 -0
  59. package/lib/badge/index.d.ts +2 -0
  60. package/lib/base/events.class.d.ts +7 -0
  61. package/lib/base/mixin/button-mixin.class.d.ts +3 -1
  62. package/lib/base/mixin/interactive-mixin.class.d.ts +2 -3
  63. package/lib/base/mixin/loading-mixin.class.d.ts +1 -3
  64. package/lib/base/mixin/mixin.class.d.ts +1 -224
  65. package/lib/base/mixin/textbox-mixin.class.d.ts +4 -7
  66. package/lib/base/mixin/value-mixin.class.d.ts +4 -5
  67. package/lib/button/button-group.component.d.ts +3 -2
  68. package/lib/button/button.component.d.ts +4 -1
  69. package/lib/button/button.module.d.ts +6 -7
  70. package/lib/button/index.d.ts +0 -1
  71. package/lib/calendar/calendar.component.d.ts +52 -12
  72. package/lib/calendar/calendar.module.d.ts +4 -3
  73. package/lib/datepicker/datepicker.component.d.ts +3 -3
  74. package/lib/decorators/prefix.component.d.ts +1 -1
  75. package/lib/decorators/suffix.component.d.ts +1 -1
  76. package/lib/dialog/dialog.service.d.ts +20 -2
  77. package/lib/dropdown/dropdown-base.class.d.ts +92 -0
  78. package/lib/dropdown/dropdown-panel.component.d.ts +12 -100
  79. package/lib/dropdown/dropdown.component.d.ts +9 -27
  80. package/lib/dropdown/dropdown.module.d.ts +2 -1
  81. package/lib/icon/icon.component.d.ts +1 -1
  82. package/lib/number-box/number-box.component.d.ts +1 -1
  83. package/lib/password-box/index.d.ts +2 -0
  84. package/lib/password-box/password-box.component.d.ts +24 -0
  85. package/lib/password-box/password-box.module.d.ts +12 -0
  86. package/lib/popover/popover.component.d.ts +37 -23
  87. package/lib/range-slider/index.d.ts +2 -0
  88. package/lib/range-slider/range-slider.component.d.ts +8 -0
  89. package/lib/range-slider/range-slider.module.d.ts +8 -0
  90. package/lib/selectbox/selectbox.component.d.ts +1 -0
  91. package/lib/selectbox/selectbox.module.d.ts +5 -1
  92. package/lib/selection-list/selection-list.component.d.ts +1 -1
  93. package/lib/tabs/index.d.ts +3 -1
  94. package/lib/tabs/tab-content.directive.d.ts +11 -0
  95. package/lib/tabs/tab-item.component.d.ts +16 -0
  96. package/lib/tabs/tab-strip.component.d.ts +5 -3
  97. package/lib/tabs/tab-view.component.d.ts +2 -2
  98. package/lib/tabs/tabs.component.d.ts +19 -0
  99. package/lib/tabs/tabs.module.d.ts +6 -4
  100. package/lib/textbox/textbox.module.d.ts +3 -2
  101. package/package.json +1 -1
  102. package/public-api.d.ts +3 -0
  103. package/esm2015/lib/button/dropdown-button.component.js +0 -200
  104. package/lib/button/dropdown-button.component.d.ts +0 -234
@@ -10,12 +10,12 @@ export declare class AXAlertComponent extends AXBaseComponentMixin {
10
10
  #private;
11
11
  icon: string;
12
12
  typeChange: EventEmitter<AXStyleColorType>;
13
- private _type;
13
+ private _color;
14
14
  /**
15
15
  * The Alert allows you to set different types of alerts
16
16
  */
17
- get type(): AXStyleColorType;
18
- set type(v: AXStyleColorType);
17
+ get color(): AXStyleColorType;
18
+ set color(v: AXStyleColorType);
19
19
  get hostClass(): string;
20
20
  timeOut: number;
21
21
  /**
@@ -42,5 +42,5 @@ export declare class AXAlertComponent extends AXBaseComponentMixin {
42
42
  */
43
43
  show(): void;
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "icon": "icon"; "type": "type"; "timeOut": "timeOut"; "visible": "visible"; }, { "typeChange": "typeChange"; }, never, ["ax-alert-title", "ax-alert-content", "ax-alert-footer", "ax-alert-suffix"]>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "icon": "icon"; "color": "color"; "timeOut": "timeOut"; "visible": "visible"; }, { "typeChange": "typeChange"; }, never, ["ax-alert-title", "ax-alert-content", "ax-alert-footer", "ax-alert-suffix"]>;
46
46
  }
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ export * from './badge.component';
2
+ export * from './badge.module';
@@ -47,6 +47,13 @@ export declare class AXButtonClickEvent extends AXClickEvent {
47
47
  name: string;
48
48
  }
49
49
  /**
50
+ * Fires each time the user click the element.
51
+ * @category Events
52
+ */
53
+ export declare class AXItemClickEvent<T> extends AXEvent {
54
+ item: T;
55
+ }
56
+ /**
50
57
  * Fires each time the component gets focused.
51
58
  * @category Events
52
59
  */
@@ -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;
@@ -40,9 +40,6 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
40
40
  ngOnInit(): void;
41
41
  ngAfterViewInit(): void;
42
42
  ngOnDestroy(): void;
43
- /**
44
- * Specifies the tabindex of the component.
45
- */
46
43
  _getHostElement<T = HTMLElement>(): T;
47
44
  _getInnerElement<T_1 = HTMLElement>(): T_1;
48
45
  _onInternalInit(): void;
@@ -61,3 +58,5 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
61
58
  newValue?: any;
62
59
  }): void;
63
60
  }) & TBase;
61
+ export declare const INTERACTIVE_INPUTS: string[];
62
+ 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;
@@ -585,230 +585,7 @@ export declare const AXBaseTextBoxMixin: {
585
585
  }): void;
586
586
  };
587
587
  } & typeof AXBaseComponent;
588
- export declare const AXBaseDropdownMixin: {
589
- new (...args: any[]): {
590
- size: import("./base-components.class").AXElementSize;
591
- _onInternalInit(): void;
592
- id: string;
593
- rtl: boolean;
594
- cssClass: string;
595
- cssStyle: string;
596
- "__#1@#elementRef": import("@angular/core").ElementRef<any>;
597
- _cdr: import("@angular/core").ChangeDetectorRef;
598
- _isInited: boolean;
599
- _isRendered: boolean;
600
- ngOnInit(): void;
601
- ngAfterViewInit(): void;
602
- ngOnDestroy(): void;
603
- _getHostElement<T = HTMLElement>(): T;
604
- _getInnerElement<T_1 = HTMLElement>(): T_1;
605
- _onInternalViewInit(): void;
606
- _onInternalDestroy(): void;
607
- onInit(): void;
608
- onViewInit(): void;
609
- onDestroy(): void;
610
- onOptionChanging(option: {
611
- name: string;
612
- value?: any;
613
- }): any;
614
- onOptionChanged(option: {
615
- name: string;
616
- oldValue?: any;
617
- newValue?: any;
618
- }): void;
619
- };
620
- } & (abstract new (...args: any[]) => {
621
- "__#5@#disabled": boolean;
622
- disabled: boolean;
623
- "__#5@#tabIndex": number;
624
- tabIndex: number;
625
- onFocus: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
626
- _emitOnFocusEvent(e: FocusEvent): void;
627
- onBlur: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
628
- _emitOnBlurEvent(e: FocusEvent): void;
629
- focus(): void;
630
- id: string;
631
- rtl: boolean;
632
- cssClass: string;
633
- cssStyle: string;
634
- "__#1@#elementRef": import("@angular/core").ElementRef<any>;
635
- _cdr: import("@angular/core").ChangeDetectorRef;
636
- _isInited: boolean;
637
- _isRendered: boolean;
638
- ngOnInit(): void;
639
- ngAfterViewInit(): void;
640
- ngOnDestroy(): void;
641
- _getHostElement<T = HTMLElement>(): T;
642
- _getInnerElement<T_1 = HTMLElement>(): T_1;
643
- _onInternalInit(): void;
644
- _onInternalViewInit(): void;
645
- _onInternalDestroy(): void;
646
- onInit(): void;
647
- onViewInit(): void;
648
- onDestroy(): void;
649
- onOptionChanging(option: {
650
- name: string;
651
- value?: any;
652
- }): any;
653
- onOptionChanged(option: {
654
- name: string;
655
- oldValue?: any;
656
- newValue?: any;
657
- }): void;
658
- }) & (abstract new (...args: any[]) => {
659
- "__#4@#readonly": boolean;
660
- readonly: any;
661
- fitParent: boolean;
662
- onOpened: import("@angular/core").EventEmitter<import("@acorex/components").AXEvent>;
663
- onClosed: import("@angular/core").EventEmitter<import("@acorex/components").AXEvent>;
664
- _emitOnOpenedEvent(): void;
665
- _emitOnClosedEvent(): void;
666
- id: string;
667
- rtl: boolean;
668
- cssClass: string;
669
- cssStyle: string;
670
- "__#1@#elementRef": import("@angular/core").ElementRef<any>;
671
- _cdr: import("@angular/core").ChangeDetectorRef;
672
- _isInited: boolean;
673
- _isRendered: boolean;
674
- ngOnInit(): void;
675
- ngAfterViewInit(): void;
676
- ngOnDestroy(): void;
677
- _getHostElement<T = HTMLElement>(): T;
678
- _getInnerElement<T_1 = HTMLElement>(): T_1;
679
- _onInternalInit(): void;
680
- _onInternalViewInit(): void;
681
- _onInternalDestroy(): void;
682
- onInit(): void;
683
- onViewInit(): void;
684
- onDestroy(): void;
685
- onOptionChanging(option: {
686
- name: string;
687
- value?: any;
688
- }): any;
689
- onOptionChanged(option: {
690
- name: string;
691
- oldValue?: any;
692
- newValue?: any;
693
- }): void;
694
- }) & typeof AXBaseComponent;
695
588
  export declare const AXBaseSelectionValueMixin: any;
696
589
  export declare const AXBaseValueDropdownMixin: any;
697
590
  export declare const AXBaseSelectionDropdownMixin: any;
698
- export declare const AXCalendarMixin: {
699
- new (...args: any[]): {
700
- onClick: import("@angular/core").EventEmitter<import("@acorex/components").AXClickEvent>;
701
- _emitOnClickEvent(e: MouseEvent): void;
702
- id: string;
703
- rtl: boolean;
704
- cssClass: string;
705
- cssStyle: string;
706
- "__#1@#elementRef": import("@angular/core").ElementRef<any>;
707
- _cdr: import("@angular/core").ChangeDetectorRef;
708
- _isInited: boolean;
709
- _isRendered: boolean;
710
- ngOnInit(): void;
711
- ngAfterViewInit(): void;
712
- ngOnDestroy(): void;
713
- _getHostElement<T = HTMLElement>(): T;
714
- _getInnerElement<T_1 = HTMLElement>(): T_1;
715
- _onInternalInit(): void;
716
- _onInternalViewInit(): void;
717
- _onInternalDestroy(): void;
718
- onInit(): void;
719
- onViewInit(): void;
720
- onDestroy(): void;
721
- onOptionChanging(option: {
722
- name: string;
723
- value?: any;
724
- }): any;
725
- onOptionChanged(option: {
726
- name: string;
727
- oldValue?: any;
728
- newValue?: any;
729
- }): void;
730
- };
731
- } & {
732
- new (...args: any[]): {
733
- text: string;
734
- submitBehavior: boolean;
735
- cancelBehavior: boolean;
736
- colorChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleColorType>;
737
- "__#2@#color": import("@acorex/components").AXStyleColorType;
738
- color: import("@acorex/components").AXStyleColorType;
739
- lookChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleButtonLook>;
740
- "__#2@#look"?: import("@acorex/components").AXStyleButtonLook;
741
- look: import("@acorex/components").AXStyleButtonLook;
742
- toggleableChange: import("@angular/core").EventEmitter<boolean>;
743
- "__#2@#toggleable"?: boolean;
744
- toggleable: boolean;
745
- selectedChange: import("@angular/core").EventEmitter<boolean>;
746
- "__#2@#selected"?: boolean;
747
- selected: boolean;
748
- _onInternalViewInit(): void;
749
- _onInternalDestroy(): void;
750
- readonly _classes: {
751
- 'ax-button-icon': boolean;
752
- 'ax-state-disabled': any;
753
- 'ax-state-selected': boolean;
754
- };
755
- id: string;
756
- rtl: boolean;
757
- cssClass: string;
758
- cssStyle: string;
759
- "__#1@#elementRef": import("@angular/core").ElementRef<any>;
760
- _cdr: import("@angular/core").ChangeDetectorRef;
761
- _isInited: boolean;
762
- _isRendered: boolean;
763
- ngOnInit(): void;
764
- ngAfterViewInit(): void;
765
- ngOnDestroy(): void;
766
- _getHostElement<T = HTMLElement>(): T;
767
- _getInnerElement<T_1 = HTMLElement>(): T_1;
768
- _onInternalInit(): void;
769
- onInit(): void;
770
- onViewInit(): void;
771
- onDestroy(): void;
772
- onOptionChanging(option: {
773
- name: string;
774
- value?: any;
775
- }): any;
776
- onOptionChanged(option: {
777
- name: string;
778
- oldValue?: any;
779
- newValue?: any;
780
- }): void;
781
- };
782
- } & {
783
- new (...args: any[]): {
784
- size: import("./base-components.class").AXElementSize;
785
- _onInternalInit(): void;
786
- id: string;
787
- rtl: boolean;
788
- cssClass: string;
789
- cssStyle: string;
790
- "__#1@#elementRef": import("@angular/core").ElementRef<any>;
791
- _cdr: import("@angular/core").ChangeDetectorRef;
792
- _isInited: boolean;
793
- _isRendered: boolean;
794
- ngOnInit(): void;
795
- ngAfterViewInit(): void;
796
- ngOnDestroy(): void;
797
- _getHostElement<T = HTMLElement>(): T;
798
- _getInnerElement<T_1 = HTMLElement>(): T_1;
799
- _onInternalViewInit(): void;
800
- _onInternalDestroy(): void;
801
- onInit(): void;
802
- onViewInit(): void;
803
- onDestroy(): void;
804
- onOptionChanging(option: {
805
- name: string;
806
- value?: any;
807
- }): any;
808
- onOptionChanged(option: {
809
- name: string;
810
- oldValue?: any;
811
- newValue?: any;
812
- }): void;
813
- };
814
- } & typeof AXBaseComponent;
591
+ export declare const AXCalendarComponentMixin: any;
@@ -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,9 +36,6 @@ 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;
@@ -42,12 +42,11 @@ 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;
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, QueryList } from "@angular/core";
2
2
  import { AXButtonComponent } from "./button.component";
3
- import { AXClickEvent, AXInteractiveComponenetMixin, AXSelectionMode, AXStyleButtonLook, AXStyleColorType } from "../base";
3
+ import { AXClickEvent, AXInteractiveComponenetMixin, AXItemClickEvent, AXSelectionMode, AXSelectionValueChangedEvent, AXStyleButtonLook, AXStyleColorType } from "../base";
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
6
6
  private zone;
@@ -22,7 +22,8 @@ export declare class AXButtonGroupComponent extends AXInteractiveComponenetMixin
22
22
  */
23
23
  get look(): AXStyleButtonLook;
24
24
  set look(value: AXStyleButtonLook);
25
- onItemClick: EventEmitter<AXClickEvent>;
25
+ onItemClick: EventEmitter<AXItemClickEvent<AXButtonComponent>>;
26
+ onValueChanged: EventEmitter<AXSelectionValueChangedEvent>;
26
27
  _contentButtons: QueryList<AXButtonComponent>;
27
28
  constructor(elementRef: ElementRef, zone: NgZone, cdr: ChangeDetectorRef);
28
29
  ngAfterContentInit(): void;
@@ -13,6 +13,9 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
13
13
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
14
14
  onKeydownHandler(e: KeyboardEvent): boolean;
15
15
  _emitOnClickEvent(e: MouseEvent): void;
16
+ _emitOnFocusEvent(e: MouseEvent): void;
17
+ _emitOnBlurEvent(e: MouseEvent): void;
18
+ private get __hostClass();
16
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "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-loading", "ax-prefix", "ax-icon", "ax-suffix", "ax-dropdown-panel"]>;
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"]>;
18
21
  }
@@ -1,13 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./button.component";
3
- import * as i2 from "./dropdown-button.component";
4
- import * as i3 from "./button-item.component";
5
- import * as i4 from "./button-group.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "../icon/icon.module";
8
- import * as i7 from "../decorators/decorators.module";
3
+ import * as i2 from "./button-item.component";
4
+ import * as i3 from "./button-group.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "../icon/icon.module";
7
+ import * as i6 from "../decorators/decorators.module";
9
8
  export declare class AXButtonModule {
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonModule, [typeof i1.AXButtonComponent, typeof i2.AXDropdownButtonComponent, typeof i3.AXButtonItemComponent, typeof i4.AXButtonGroupComponent], [typeof i5.CommonModule, typeof i6.AXIconModule, typeof i7.AXEditorDecoratorModule], [typeof i1.AXButtonComponent, typeof i2.AXDropdownButtonComponent, typeof i3.AXButtonItemComponent, typeof i4.AXButtonGroupComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonModule, [typeof i1.AXButtonComponent, typeof i2.AXButtonItemComponent, typeof i3.AXButtonGroupComponent], [typeof i4.CommonModule, typeof i5.AXIconModule, typeof i6.AXEditorDecoratorModule], [typeof i1.AXButtonComponent, typeof i2.AXButtonItemComponent, typeof i3.AXButtonGroupComponent]>;
12
11
  static ɵinj: i0.ɵɵInjectorDeclaration<AXButtonModule>;
13
12
  }
@@ -1,5 +1,4 @@
1
1
  export * from './button.component';
2
- export * from './dropdown-button.component';
3
2
  export * from './button-group.component';
4
3
  export * from './button-item.component';
5
4
  export * from './button.module';
@@ -1,16 +1,56 @@
1
- import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
- import { AXCalendarMixin } from '../base';
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 class AXCalendarComponent extends AXCalendarMixin {
5
- days: ElementRef<HTMLDivElement>;
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
- actionBar: boolean;
8
- showTime: boolean;
9
- dayItems: number[];
10
- yearItems: number[];
11
- monthItems: string[];
12
- ngAfterViewInit(): void;
13
- createYears(): void;
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"; "size": "size"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "actionBar": "actionBar"; "showTime": "showTime"; }, {}, never, never>;
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 "../decorators/decorators.module";
6
- import * as i5 from "../icon/icon.module";
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.AXEditorDecoratorModule, typeof i5.AXIconModule], [typeof i1.AXCalendarComponent]>;
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,7 +1,7 @@
1
1
  import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
- import { AXBaseComponentMixin } from '../base';
2
+ import { AXBaseTextBoxMixin } from '../base/mixin/mixin.class';
3
3
  import * as i0 from "@angular/core";
4
- export declare class AXDatepickerComponent extends AXBaseComponentMixin {
4
+ export declare class AXDatepickerComponent extends AXBaseTextBoxMixin {
5
5
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
6
  dayItems: number[];
7
7
  yearItems: number[];
@@ -14,5 +14,5 @@ export declare class AXDatepickerComponent extends AXBaseComponentMixin {
14
14
  showDays(): void;
15
15
  createYears(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AXDatepickerComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDatepickerComponent, "ax-datepicker", never, {}, {}, never, ["ax-prefix", "ax-suffix"]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDatepickerComponent, "ax-date-picker", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "value": "value"; "name": "name"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix"]>;
18
18
  }
@@ -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-dropdown-button,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", "ax-dropdown-button", "ax-icon"]>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button,ax-icon,ax-badge"]>;
8
8
  }
@@ -1,14 +1,32 @@
1
- import { Overlay } from '@angular/cdk/overlay';
1
+ import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
2
2
  import { Injector } from '@angular/core';
3
3
  import { AXStyleColorType } from '../base/styles.class';
4
4
  import { AXDialogOptions } from './dialog.class';
5
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
+ */
6
11
  export declare class AXDialogService {
7
12
  private overlayService;
8
13
  private parentInjector;
9
- constructor(overlayService: Overlay, parentInjector: Injector);
14
+ private sso;
15
+ /**
16
+ * @ignore
17
+ */
18
+ constructor(overlayService: Overlay, parentInjector: Injector, sso: ScrollStrategyOptions);
19
+ /**
20
+ * Show an alert box with 'Okay' button.
21
+ */
10
22
  alert(title: string, content: string, type?: AXStyleColorType): Promise<void>;
23
+ /**
24
+ * Show a confirm box with 'Okay' & 'Cancel' buttons.
25
+ */
11
26
  confirm(title: string, content: string, type?: AXStyleColorType): Promise<void>;
27
+ /**
28
+ * Show a custom dialog box.
29
+ */
12
30
  show(options: AXDialogOptions): Promise<{
13
31
  name: string;
14
32
  }>;