@acorex/components 5.0.2 → 5.0.4
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/README.md +24 -24
- package/acorex-components.d.ts +5 -5
- package/bundles/acorex-components.umd.js +6719 -6658
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/acorex-components.js +4 -4
- package/esm2015/lib/alert/alert-button.component.js +52 -52
- package/esm2015/lib/alert/alert-contnet.component.js +21 -21
- package/esm2015/lib/alert/alert-footer.component.js +27 -27
- package/esm2015/lib/alert/alert-suffix.component.js +27 -27
- package/esm2015/lib/alert/alert-title.component.js +23 -23
- package/esm2015/lib/alert/alert.component.js +131 -130
- package/esm2015/lib/alert/alert.module.js +43 -43
- package/esm2015/lib/alert/index.js +8 -8
- package/esm2015/lib/avatar/avatar.component.js +55 -55
- package/esm2015/lib/avatar/avatar.module.js +21 -21
- package/esm2015/lib/avatar/index.js +3 -3
- package/esm2015/lib/base/common.module.js +18 -18
- package/esm2015/lib/base/custom-cdk-overlay.service.js +47 -47
- package/esm2015/lib/base/drawing.class.js +11 -11
- package/esm2015/lib/base/events.class.js +53 -47
- package/esm2015/lib/base/index.js +7 -7
- package/esm2015/lib/base/mixin/base-components.class.js +83 -83
- package/esm2015/lib/base/mixin/button-mixin.class.js +129 -129
- package/esm2015/lib/base/mixin/clickable-mixin.class.js +24 -24
- package/esm2015/lib/base/mixin/constratctor.js +2 -2
- package/esm2015/lib/base/mixin/datalist-component.class.js +97 -97
- package/esm2015/lib/base/mixin/dropdown-mixin.class.js +36 -36
- package/esm2015/lib/base/mixin/index.js +3 -3
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +72 -72
- package/esm2015/lib/base/mixin/loading-mixin.class.js +18 -18
- package/esm2015/lib/base/mixin/mixin.class.js +23 -23
- package/esm2015/lib/base/mixin/selection-component.class.js +158 -158
- package/esm2015/lib/base/mixin/sizable-mixin.class.js +18 -18
- package/esm2015/lib/base/mixin/textbox-mixin.class.js +38 -38
- package/esm2015/lib/base/mixin/value-mixin.class.js +190 -190
- package/esm2015/lib/base/overlay.service.js +91 -91
- package/esm2015/lib/base/responsive.directive.js +34 -34
- package/esm2015/lib/base/styles.class.js +4 -4
- package/esm2015/lib/button/button-group.component.js +131 -131
- package/esm2015/lib/button/button-item.class.js +2 -2
- package/esm2015/lib/button/button-item.component.js +81 -81
- package/esm2015/lib/button/button.component.js +51 -52
- package/esm2015/lib/button/button.module.js +37 -37
- package/esm2015/lib/button/dropdown-button.component.js +200 -200
- package/esm2015/lib/button/index.js +7 -7
- package/esm2015/lib/calendar/calendar.component.js +59 -59
- package/esm2015/lib/calendar/calendar.module.js +24 -24
- package/esm2015/lib/calendar/index.js +3 -3
- package/esm2015/lib/carousel/carousel-arrows.component.js +53 -53
- package/esm2015/lib/carousel/carousel-item.component.js +21 -21
- package/esm2015/lib/carousel/carousel-pager.component.js +74 -74
- package/esm2015/lib/carousel/carousel-splidejs.class.js +82 -82
- package/esm2015/lib/carousel/carousel.class.js +10 -10
- package/esm2015/lib/carousel/carousel.component.js +246 -246
- package/esm2015/lib/carousel/carousel.module.js +24 -24
- package/esm2015/lib/carousel/index.js +7 -7
- package/esm2015/lib/checkbox/checkbox.component.js +40 -40
- package/esm2015/lib/checkbox/checkbox.module.js +20 -20
- package/esm2015/lib/checkbox/index.js +3 -3
- package/esm2015/lib/datalist/datalist.component.js +81 -81
- package/esm2015/lib/datalist/datalist.module.js +22 -22
- package/esm2015/lib/datalist/index.js +3 -3
- package/esm2015/lib/datepicker/datepicker.component.js +64 -64
- package/esm2015/lib/datepicker/datepicker.module.js +23 -23
- package/esm2015/lib/datepicker/index.js +3 -3
- package/esm2015/lib/decorators/decorators.module.js +22 -22
- package/esm2015/lib/decorators/index.js +4 -4
- package/esm2015/lib/decorators/prefix.component.js +27 -27
- package/esm2015/lib/decorators/suffix.component.js +35 -35
- package/esm2015/lib/dialog/dialog.class.js +2 -2
- package/esm2015/lib/dialog/dialog.component.js +45 -45
- package/esm2015/lib/dialog/dialog.module.js +26 -26
- package/esm2015/lib/dialog/dialog.service.js +127 -127
- package/esm2015/lib/dialog/index.js +5 -5
- package/esm2015/lib/drawer/drawer-container.component.js +73 -73
- package/esm2015/lib/drawer/drawer-content.component.js +27 -27
- package/esm2015/lib/drawer/drawer.component.js +145 -145
- package/esm2015/lib/drawer/drawer.module.js +23 -23
- package/esm2015/lib/drawer/index.js +5 -5
- package/esm2015/lib/dropdown/dropdown-panel.component.js +194 -191
- package/esm2015/lib/dropdown/dropdown.component.js +139 -139
- package/esm2015/lib/dropdown/dropdown.module.js +24 -24
- package/esm2015/lib/dropdown/index.js +4 -4
- package/esm2015/lib/form/form-field.component.js +20 -20
- package/esm2015/lib/form/form-field.module.js +21 -21
- package/esm2015/lib/form/form-hint.component.js +20 -20
- package/esm2015/lib/form/form.component.js +51 -51
- package/esm2015/lib/form/index.js +5 -5
- package/esm2015/lib/icon/icon.component.js +28 -28
- package/esm2015/lib/icon/icon.module.js +21 -21
- package/esm2015/lib/icon/index.js +3 -3
- package/esm2015/lib/input-mask/index.js +3 -3
- package/esm2015/lib/input-mask/input-mask.component.js +42 -42
- package/esm2015/lib/input-mask/input-mask.module.js +23 -23
- package/esm2015/lib/label/index.js +3 -3
- package/esm2015/lib/label/label.component.js +20 -20
- package/esm2015/lib/label/label.module.js +21 -21
- package/esm2015/lib/loading/index.js +6 -6
- package/esm2015/lib/loading/loading-spinner.component.js +32 -32
- package/esm2015/lib/loading/loading.component.js +54 -54
- package/esm2015/lib/loading/loading.directive.js +67 -67
- package/esm2015/lib/loading/loading.module.js +35 -35
- package/esm2015/lib/loading/loading.service.js +155 -155
- package/esm2015/lib/number-box/index.js +3 -3
- package/esm2015/lib/number-box/number-box.component.js +289 -289
- package/esm2015/lib/number-box/number-box.module.js +32 -32
- package/esm2015/lib/page/base-page.class.js +66 -66
- package/esm2015/lib/page/index.js +5 -5
- package/esm2015/lib/page/page-footer.component.js +32 -32
- package/esm2015/lib/page/page.component.js +33 -33
- package/esm2015/lib/page/page.module.js +18 -18
- package/esm2015/lib/popover/index.js +3 -3
- package/esm2015/lib/popover/popover.component.js +119 -119
- package/esm2015/lib/popover/popover.module.js +19 -19
- package/esm2015/lib/popup/index.js +4 -4
- package/esm2015/lib/popup/popup.component.js +97 -97
- package/esm2015/lib/popup/popup.module.js +26 -26
- package/esm2015/lib/popup/popup.service.js +94 -94
- package/esm2015/lib/range-slider/index.js +3 -0
- package/esm2015/lib/range-slider/range-slider.component.js +22 -0
- package/esm2015/lib/range-slider/range-slider.module.js +21 -0
- package/esm2015/lib/selectbox/index.js +3 -3
- package/esm2015/lib/selectbox/selectbox.component.js +193 -193
- package/esm2015/lib/selectbox/selectbox.module.js +21 -21
- package/esm2015/lib/selection-list/index.js +3 -3
- package/esm2015/lib/selection-list/selection-list.component.js +46 -46
- package/esm2015/lib/selection-list/selection-list.module.js +21 -21
- package/esm2015/lib/side-menu/index.js +3 -3
- package/esm2015/lib/side-menu/side-menu.component.js +21 -21
- package/esm2015/lib/side-menu/side-menu.module.js +21 -21
- package/esm2015/lib/switch/index.js +3 -3
- package/esm2015/lib/switch/switch.component.js +30 -30
- package/esm2015/lib/switch/switch.module.js +21 -21
- package/esm2015/lib/tabs/index.js +6 -6
- package/esm2015/lib/tabs/tab-strip.component.js +61 -61
- package/esm2015/lib/tabs/tab-view.component.js +46 -46
- package/esm2015/lib/tabs/tab.component.js +59 -59
- package/esm2015/lib/tabs/tabs.class.js +4 -4
- package/esm2015/lib/tabs/tabs.module.js +23 -23
- package/esm2015/lib/textbox/index.js +3 -3
- package/esm2015/lib/textbox/textbox.component.js +62 -60
- package/esm2015/lib/textbox/textbox.module.js +43 -39
- package/esm2015/lib/time-box/index.js +3 -3
- package/esm2015/lib/time-box/time-box.component.js +134 -134
- package/esm2015/lib/time-box/time-box.module.js +32 -32
- package/esm2015/lib/toast/index.js +5 -5
- package/esm2015/lib/toast/toast.class.js +2 -2
- package/esm2015/lib/toast/toast.component.js +50 -50
- package/esm2015/lib/toast/toast.module.js +22 -22
- package/esm2015/lib/toast/toast.service.js +114 -114
- package/esm2015/lib/tooltip/index.js +4 -4
- package/esm2015/lib/tooltip/tooltip.component.js +45 -45
- package/esm2015/lib/tooltip/tooltip.directive.js +86 -86
- package/esm2015/lib/tooltip/tooltip.module.js +23 -23
- package/esm2015/lib/validation/index.js +3 -3
- package/esm2015/lib/validation/validation-rule.widget.js +113 -113
- package/esm2015/lib/validation/validation.class.js +2 -2
- package/esm2015/lib/validation/validation.module.js +32 -32
- package/esm2015/public-api.js +39 -38
- package/fesm2015/acorex-components.js +5811 -5763
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/alert/alert-button.component.d.ts +13 -13
- package/lib/alert/alert-contnet.component.d.ts +5 -5
- package/lib/alert/alert-footer.component.d.ts +5 -5
- package/lib/alert/alert-suffix.component.d.ts +5 -5
- package/lib/alert/alert-title.component.d.ts +5 -5
- package/lib/alert/alert.component.d.ts +46 -46
- package/lib/alert/alert.module.d.ts +13 -13
- package/lib/alert/index.d.ts +7 -7
- package/lib/avatar/avatar.component.d.ts +20 -20
- package/lib/avatar/avatar.module.d.ts +8 -8
- package/lib/avatar/index.d.ts +2 -2
- package/lib/base/common.module.d.ts +7 -7
- package/lib/base/custom-cdk-overlay.service.d.ts +19 -19
- package/lib/base/drawing.class.d.ts +9 -9
- package/lib/base/events.class.d.ts +72 -65
- package/lib/base/index.d.ts +6 -6
- package/lib/base/mixin/base-components.class.d.ts +84 -84
- package/lib/base/mixin/button-mixin.class.d.ts +79 -79
- package/lib/base/mixin/clickable-mixin.class.d.ts +42 -42
- package/lib/base/mixin/constratctor.d.ts +4 -4
- package/lib/base/mixin/datalist-component.class.d.ts +54 -54
- package/lib/base/mixin/dropdown-mixin.class.d.ts +47 -47
- package/lib/base/mixin/index.d.ts +2 -2
- package/lib/base/mixin/interactive-mixin.class.d.ts +60 -63
- package/lib/base/mixin/loading-mixin.class.d.ts +46 -48
- package/lib/base/mixin/mixin.class.d.ts +814 -814
- package/lib/base/mixin/selection-component.class.d.ts +55 -55
- package/lib/base/mixin/sizable-mixin.class.d.ts +40 -40
- package/lib/base/mixin/textbox-mixin.class.d.ts +59 -61
- package/lib/base/mixin/value-mixin.class.d.ts +68 -71
- package/lib/base/overlay.service.d.ts +31 -31
- package/lib/base/responsive.directive.d.ts +10 -10
- package/lib/base/styles.class.d.ts +17 -17
- package/lib/button/button-group.component.d.ts +36 -35
- package/lib/button/button-item.class.d.ts +22 -22
- package/lib/button/button-item.component.d.ts +92 -92
- package/lib/button/button.component.d.ts +18 -18
- package/lib/button/button.module.d.ts +13 -13
- package/lib/button/dropdown-button.component.d.ts +234 -234
- package/lib/button/index.d.ts +6 -6
- package/lib/calendar/calendar.component.d.ts +16 -16
- package/lib/calendar/calendar.module.d.ts +11 -11
- package/lib/calendar/index.d.ts +2 -2
- package/lib/carousel/carousel-arrows.component.d.ts +14 -14
- package/lib/carousel/carousel-item.component.d.ts +8 -8
- package/lib/carousel/carousel-pager.component.d.ts +22 -22
- package/lib/carousel/carousel-splidejs.class.d.ts +18 -18
- package/lib/carousel/carousel.class.d.ts +48 -48
- package/lib/carousel/carousel.component.d.ts +62 -62
- package/lib/carousel/carousel.module.d.ts +11 -11
- package/lib/carousel/index.d.ts +6 -6
- package/lib/checkbox/checkbox.component.d.ts +12 -12
- package/lib/checkbox/checkbox.module.d.ts +9 -9
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/datalist/datalist.component.d.ts +25 -25
- package/lib/datalist/datalist.module.d.ts +9 -9
- package/lib/datalist/index.d.ts +2 -2
- package/lib/datepicker/datepicker.component.d.ts +18 -18
- package/lib/datepicker/datepicker.module.d.ts +10 -10
- package/lib/datepicker/index.d.ts +2 -2
- package/lib/decorators/decorators.module.d.ts +9 -9
- package/lib/decorators/index.d.ts +3 -3
- package/lib/decorators/prefix.component.d.ts +8 -8
- package/lib/decorators/suffix.component.d.ts +8 -8
- package/lib/dialog/dialog.class.d.ts +12 -12
- package/lib/dialog/dialog.component.d.ts +15 -15
- package/lib/dialog/dialog.module.d.ts +13 -13
- package/lib/dialog/dialog.service.d.ts +18 -18
- package/lib/dialog/index.d.ts +4 -4
- package/lib/drawer/drawer-container.component.d.ts +13 -13
- package/lib/drawer/drawer-content.component.d.ts +8 -8
- package/lib/drawer/drawer.component.d.ts +30 -30
- package/lib/drawer/drawer.module.d.ts +10 -10
- package/lib/drawer/index.d.ts +4 -4
- package/lib/dropdown/dropdown-panel.component.d.ts +117 -116
- package/lib/dropdown/dropdown.component.d.ts +31 -31
- package/lib/dropdown/dropdown.module.d.ts +13 -13
- package/lib/dropdown/index.d.ts +3 -3
- package/lib/form/form-field.component.d.ts +8 -8
- package/lib/form/form-field.module.d.ts +10 -10
- package/lib/form/form-hint.component.d.ts +8 -8
- package/lib/form/form.component.d.ts +13 -13
- package/lib/form/index.d.ts +4 -4
- package/lib/icon/icon.component.d.ts +10 -10
- package/lib/icon/icon.module.d.ts +8 -8
- package/lib/icon/index.d.ts +2 -2
- package/lib/input-mask/index.d.ts +2 -2
- package/lib/input-mask/input-mask.component.d.ts +14 -14
- package/lib/input-mask/input-mask.module.d.ts +9 -9
- package/lib/label/index.d.ts +2 -2
- package/lib/label/label.component.d.ts +8 -8
- package/lib/label/label.module.d.ts +8 -8
- package/lib/loading/index.d.ts +5 -5
- package/lib/loading/loading-spinner.component.d.ts +5 -5
- package/lib/loading/loading.component.d.ts +19 -19
- package/lib/loading/loading.directive.d.ts +22 -22
- package/lib/loading/loading.module.d.ts +13 -13
- package/lib/loading/loading.service.d.ts +48 -48
- package/lib/number-box/index.d.ts +2 -2
- package/lib/number-box/number-box.component.d.ts +69 -69
- package/lib/number-box/number-box.module.d.ts +11 -11
- package/lib/page/base-page.class.d.ts +37 -37
- package/lib/page/index.d.ts +4 -4
- package/lib/page/page-footer.component.d.ts +7 -7
- package/lib/page/page.component.d.ts +13 -13
- package/lib/page/page.module.d.ts +7 -7
- package/lib/popover/index.d.ts +2 -2
- package/lib/popover/popover.component.d.ts +30 -30
- package/lib/popover/popover.module.d.ts +8 -8
- package/lib/popup/index.d.ts +3 -3
- package/lib/popup/popup.component.d.ts +33 -33
- package/lib/popup/popup.module.d.ts +12 -12
- package/lib/popup/popup.service.d.ts +37 -37
- package/lib/range-slider/index.d.ts +2 -0
- package/lib/range-slider/range-slider.component.d.ts +8 -0
- package/lib/range-slider/range-slider.module.d.ts +8 -0
- package/lib/selectbox/index.d.ts +2 -2
- package/lib/selectbox/selectbox.component.d.ts +28 -28
- package/lib/selectbox/selectbox.module.d.ts +10 -10
- package/lib/selection-list/index.d.ts +2 -2
- package/lib/selection-list/selection-list.component.d.ts +10 -10
- package/lib/selection-list/selection-list.module.d.ts +10 -10
- package/lib/side-menu/index.d.ts +2 -2
- package/lib/side-menu/side-menu.component.d.ts +8 -8
- package/lib/side-menu/side-menu.module.d.ts +8 -8
- package/lib/switch/index.d.ts +2 -2
- package/lib/switch/switch.component.d.ts +9 -9
- package/lib/switch/switch.module.d.ts +9 -9
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tabs/tab-strip.component.d.ts +17 -17
- package/lib/tabs/tab-view.component.d.ts +14 -14
- package/lib/tabs/tab.component.d.ts +18 -18
- package/lib/tabs/tabs.class.d.ts +18 -18
- package/lib/tabs/tabs.module.d.ts +10 -10
- package/lib/textbox/index.d.ts +2 -2
- package/lib/textbox/textbox.component.d.ts +19 -19
- package/lib/textbox/textbox.module.d.ts +13 -12
- package/lib/time-box/index.d.ts +2 -2
- package/lib/time-box/time-box.component.d.ts +29 -29
- package/lib/time-box/time-box.module.d.ts +11 -11
- package/lib/toast/index.d.ts +4 -4
- package/lib/toast/toast.class.d.ts +14 -14
- package/lib/toast/toast.component.d.ts +16 -16
- package/lib/toast/toast.module.d.ts +9 -9
- package/lib/toast/toast.service.d.ts +18 -18
- package/lib/tooltip/index.d.ts +3 -3
- package/lib/tooltip/tooltip.component.d.ts +10 -10
- package/lib/tooltip/tooltip.directive.d.ts +18 -18
- package/lib/tooltip/tooltip.module.d.ts +10 -10
- package/lib/validation/index.d.ts +2 -2
- package/lib/validation/validation-rule.widget.d.ts +25 -25
- package/lib/validation/validation.class.d.ts +17 -17
- package/lib/validation/validation.module.d.ts +9 -9
- package/package.json +18 -18
- package/public-api.d.ts +37 -36
|
@@ -1,234 +1,234 @@
|
|
|
1
|
-
import { AXPlatform } from '@acorex/core';
|
|
2
|
-
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
3
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
4
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { AXBaseComponent, AXButtonClickEvent, AXClickEvent, AXStyleButtonLook, AXStyleColorType } from '../base';
|
|
7
|
-
import { AXButtonItem } from './button-item.class';
|
|
8
|
-
import { AXButtonItemComponent } from './button-item.component';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare const AXBaseDropdownButtonMixin: {
|
|
11
|
-
new (...args: any[]): {
|
|
12
|
-
size: import("../base").AXElementSize;
|
|
13
|
-
_onInternalInit(): void;
|
|
14
|
-
id: string;
|
|
15
|
-
rtl: boolean;
|
|
16
|
-
cssClass: string;
|
|
17
|
-
cssStyle: string;
|
|
18
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
19
|
-
_cdr: ChangeDetectorRef;
|
|
20
|
-
_isInited: boolean;
|
|
21
|
-
_isRendered: boolean;
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
26
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
27
|
-
_onInternalViewInit(): void;
|
|
28
|
-
_onInternalDestroy(): void;
|
|
29
|
-
onInit(): void;
|
|
30
|
-
onViewInit(): void;
|
|
31
|
-
onDestroy(): void;
|
|
32
|
-
onOptionChanging(option: {
|
|
33
|
-
name: string;
|
|
34
|
-
value?: any;
|
|
35
|
-
}): any;
|
|
36
|
-
onOptionChanged(option: {
|
|
37
|
-
name: string;
|
|
38
|
-
oldValue?: any;
|
|
39
|
-
newValue?: any;
|
|
40
|
-
}): void;
|
|
41
|
-
};
|
|
42
|
-
} & (abstract new (...args: any[]) => {
|
|
43
|
-
"__#5@#disabled": boolean;
|
|
44
|
-
disabled: boolean;
|
|
45
|
-
"__#5@#tabIndex": number;
|
|
46
|
-
tabIndex: number;
|
|
47
|
-
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
48
|
-
_emitOnFocusEvent(e: FocusEvent): void;
|
|
49
|
-
onBlur: EventEmitter<import("../base").AXFocusEvent>;
|
|
50
|
-
_emitOnBlurEvent(e: FocusEvent): void;
|
|
51
|
-
focus(): void;
|
|
52
|
-
id: string;
|
|
53
|
-
rtl: boolean;
|
|
54
|
-
cssClass: string;
|
|
55
|
-
cssStyle: string;
|
|
56
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
57
|
-
_cdr: ChangeDetectorRef;
|
|
58
|
-
_isInited: boolean;
|
|
59
|
-
_isRendered: boolean;
|
|
60
|
-
ngOnInit(): void;
|
|
61
|
-
ngAfterViewInit(): void;
|
|
62
|
-
ngOnDestroy(): void;
|
|
63
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
64
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
65
|
-
_onInternalInit(): void;
|
|
66
|
-
_onInternalViewInit(): void;
|
|
67
|
-
_onInternalDestroy(): void;
|
|
68
|
-
onInit(): void;
|
|
69
|
-
onViewInit(): void;
|
|
70
|
-
onDestroy(): void;
|
|
71
|
-
onOptionChanging(option: {
|
|
72
|
-
name: string;
|
|
73
|
-
value?: any;
|
|
74
|
-
}): any;
|
|
75
|
-
onOptionChanged(option: {
|
|
76
|
-
name: string;
|
|
77
|
-
oldValue?: any;
|
|
78
|
-
newValue?: any;
|
|
79
|
-
}): void;
|
|
80
|
-
}) & {
|
|
81
|
-
new (...args: any[]): {
|
|
82
|
-
onClick: EventEmitter<AXClickEvent>;
|
|
83
|
-
_emitOnClickEvent(e: MouseEvent): void;
|
|
84
|
-
id: string;
|
|
85
|
-
rtl: boolean;
|
|
86
|
-
cssClass: string;
|
|
87
|
-
cssStyle: string;
|
|
88
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
89
|
-
_cdr: ChangeDetectorRef;
|
|
90
|
-
_isInited: boolean;
|
|
91
|
-
_isRendered: boolean;
|
|
92
|
-
ngOnInit(): void;
|
|
93
|
-
ngAfterViewInit(): void;
|
|
94
|
-
ngOnDestroy(): void;
|
|
95
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
96
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
97
|
-
_onInternalInit(): void;
|
|
98
|
-
_onInternalViewInit(): void;
|
|
99
|
-
_onInternalDestroy(): void;
|
|
100
|
-
onInit(): void;
|
|
101
|
-
onViewInit(): void;
|
|
102
|
-
onDestroy(): void;
|
|
103
|
-
onOptionChanging(option: {
|
|
104
|
-
name: string;
|
|
105
|
-
value?: any;
|
|
106
|
-
}): any;
|
|
107
|
-
onOptionChanged(option: {
|
|
108
|
-
name: string;
|
|
109
|
-
oldValue?: any;
|
|
110
|
-
newValue?: any;
|
|
111
|
-
}): void;
|
|
112
|
-
};
|
|
113
|
-
} & {
|
|
114
|
-
new (...args: any[]): {
|
|
115
|
-
text: string;
|
|
116
|
-
submitBehavior: boolean;
|
|
117
|
-
cancelBehavior: boolean;
|
|
118
|
-
colorChange: EventEmitter<AXStyleColorType>;
|
|
119
|
-
"__#2@#color": AXStyleColorType;
|
|
120
|
-
color: AXStyleColorType;
|
|
121
|
-
lookChange: EventEmitter<AXStyleButtonLook>;
|
|
122
|
-
"__#2@#look"?: AXStyleButtonLook;
|
|
123
|
-
look: AXStyleButtonLook;
|
|
124
|
-
toggleableChange: EventEmitter<boolean>;
|
|
125
|
-
"__#2@#toggleable"?: boolean;
|
|
126
|
-
toggleable: boolean;
|
|
127
|
-
selectedChange: EventEmitter<boolean>;
|
|
128
|
-
"__#2@#selected"?: boolean;
|
|
129
|
-
selected: boolean;
|
|
130
|
-
_onInternalViewInit(): void;
|
|
131
|
-
_onInternalDestroy(): void;
|
|
132
|
-
readonly _classes: {
|
|
133
|
-
'ax-button-icon': boolean;
|
|
134
|
-
'ax-state-disabled': any;
|
|
135
|
-
'ax-state-selected': boolean;
|
|
136
|
-
};
|
|
137
|
-
id: string;
|
|
138
|
-
rtl: boolean;
|
|
139
|
-
cssClass: string;
|
|
140
|
-
cssStyle: string;
|
|
141
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
142
|
-
_cdr: ChangeDetectorRef;
|
|
143
|
-
_isInited: boolean;
|
|
144
|
-
_isRendered: boolean;
|
|
145
|
-
ngOnInit(): void;
|
|
146
|
-
ngAfterViewInit(): void;
|
|
147
|
-
ngOnDestroy(): void;
|
|
148
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
149
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
150
|
-
_onInternalInit(): void;
|
|
151
|
-
onInit(): void;
|
|
152
|
-
onViewInit(): void;
|
|
153
|
-
onDestroy(): void;
|
|
154
|
-
onOptionChanging(option: {
|
|
155
|
-
name: string;
|
|
156
|
-
value?: any;
|
|
157
|
-
}): any;
|
|
158
|
-
onOptionChanged(option: {
|
|
159
|
-
name: string;
|
|
160
|
-
oldValue?: any;
|
|
161
|
-
newValue?: any;
|
|
162
|
-
}): void;
|
|
163
|
-
};
|
|
164
|
-
} & (abstract new (...args: any[]) => {
|
|
165
|
-
"__#4@#readonly": boolean;
|
|
166
|
-
readonly: any;
|
|
167
|
-
fitParent: boolean;
|
|
168
|
-
onOpened: EventEmitter<import("../base").AXEvent>;
|
|
169
|
-
onClosed: EventEmitter<import("../base").AXEvent>;
|
|
170
|
-
_emitOnOpenedEvent(): void;
|
|
171
|
-
_emitOnClosedEvent(): void;
|
|
172
|
-
id: string;
|
|
173
|
-
rtl: boolean;
|
|
174
|
-
cssClass: string;
|
|
175
|
-
cssStyle: string;
|
|
176
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
177
|
-
_cdr: ChangeDetectorRef;
|
|
178
|
-
_isInited: boolean;
|
|
179
|
-
_isRendered: boolean;
|
|
180
|
-
ngOnInit(): void;
|
|
181
|
-
ngAfterViewInit(): void;
|
|
182
|
-
ngOnDestroy(): void;
|
|
183
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
184
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
185
|
-
_onInternalInit(): void;
|
|
186
|
-
_onInternalViewInit(): void;
|
|
187
|
-
_onInternalDestroy(): void;
|
|
188
|
-
onInit(): void;
|
|
189
|
-
onViewInit(): void;
|
|
190
|
-
onDestroy(): void;
|
|
191
|
-
onOptionChanging(option: {
|
|
192
|
-
name: string;
|
|
193
|
-
value?: any;
|
|
194
|
-
}): any;
|
|
195
|
-
onOptionChanged(option: {
|
|
196
|
-
name: string;
|
|
197
|
-
oldValue?: any;
|
|
198
|
-
newValue?: any;
|
|
199
|
-
}): void;
|
|
200
|
-
}) & typeof AXBaseComponent;
|
|
201
|
-
export declare class AXDropdownButtonComponent extends AXBaseDropdownButtonMixin {
|
|
202
|
-
private _overlay;
|
|
203
|
-
private _platform;
|
|
204
|
-
private _viewContainerRef;
|
|
205
|
-
_contentButtons: QueryList<AXButtonItemComponent>;
|
|
206
|
-
_viewButtons: QueryList<AXButtonItemComponent>;
|
|
207
|
-
onItemClick: EventEmitter<AXButtonClickEvent>;
|
|
208
|
-
private _items;
|
|
209
|
-
get items(): AXButtonItem[];
|
|
210
|
-
set items(v: AXButtonItem[]);
|
|
211
|
-
_baseTemplate: TemplateRef<any>;
|
|
212
|
-
_overlayRef: OverlayRef;
|
|
213
|
-
_templatePortal: TemplatePortal;
|
|
214
|
-
_dropdownWidth: number;
|
|
215
|
-
_subs: Subscription[];
|
|
216
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _overlay: Overlay, _platform: AXPlatform, _viewContainerRef: ViewContainerRef);
|
|
217
|
-
private _getAllButtons;
|
|
218
|
-
onViewInit(): void;
|
|
219
|
-
onDestroy(): void;
|
|
220
|
-
dropdownIcon: string;
|
|
221
|
-
splited: boolean;
|
|
222
|
-
_handleKeydownHandler(e: KeyboardEvent): void;
|
|
223
|
-
_emitOnClickEvent(e: MouseEvent): void;
|
|
224
|
-
_handleArrowClickEvent(e: MouseEvent): void;
|
|
225
|
-
_emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
|
|
226
|
-
private _handleOnItemClick;
|
|
227
|
-
toggle(): void;
|
|
228
|
-
close(): void;
|
|
229
|
-
open(): void;
|
|
230
|
-
private _ensureOverlayCreated;
|
|
231
|
-
get isOpen(): boolean;
|
|
232
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownButtonComponent, never>;
|
|
233
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "text": "text"; "submitBehavior": "submitBehavior"; "cancelBehavior": "cancelBehavior"; "color": "color"; "look": "look"; "toggleable": "toggleable"; "selected": "selected"; "items": "items"; "dropdownIcon": "dropdownIcon"; "splited": "splited"; }, { "onClick": "onClick"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-loading", "ax-prefix", "ax-icon", "ax-suffix", "ng-container[panel],ax-button-item"]>;
|
|
234
|
-
}
|
|
1
|
+
import { AXPlatform } from '@acorex/core';
|
|
2
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
3
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
4
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import { AXBaseComponent, AXButtonClickEvent, AXClickEvent, AXStyleButtonLook, AXStyleColorType } from '../base';
|
|
7
|
+
import { AXButtonItem } from './button-item.class';
|
|
8
|
+
import { AXButtonItemComponent } from './button-item.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare const AXBaseDropdownButtonMixin: {
|
|
11
|
+
new (...args: any[]): {
|
|
12
|
+
size: import("../base").AXElementSize;
|
|
13
|
+
_onInternalInit(): void;
|
|
14
|
+
id: string;
|
|
15
|
+
rtl: boolean;
|
|
16
|
+
cssClass: string;
|
|
17
|
+
cssStyle: string;
|
|
18
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
19
|
+
_cdr: ChangeDetectorRef;
|
|
20
|
+
_isInited: boolean;
|
|
21
|
+
_isRendered: boolean;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
26
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
27
|
+
_onInternalViewInit(): void;
|
|
28
|
+
_onInternalDestroy(): void;
|
|
29
|
+
onInit(): void;
|
|
30
|
+
onViewInit(): void;
|
|
31
|
+
onDestroy(): void;
|
|
32
|
+
onOptionChanging(option: {
|
|
33
|
+
name: string;
|
|
34
|
+
value?: any;
|
|
35
|
+
}): any;
|
|
36
|
+
onOptionChanged(option: {
|
|
37
|
+
name: string;
|
|
38
|
+
oldValue?: any;
|
|
39
|
+
newValue?: any;
|
|
40
|
+
}): void;
|
|
41
|
+
};
|
|
42
|
+
} & (abstract new (...args: any[]) => {
|
|
43
|
+
"__#5@#disabled": boolean;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
"__#5@#tabIndex": number;
|
|
46
|
+
tabIndex: number;
|
|
47
|
+
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
48
|
+
_emitOnFocusEvent(e: FocusEvent): void;
|
|
49
|
+
onBlur: EventEmitter<import("../base").AXFocusEvent>;
|
|
50
|
+
_emitOnBlurEvent(e: FocusEvent): void;
|
|
51
|
+
focus(): void;
|
|
52
|
+
id: string;
|
|
53
|
+
rtl: boolean;
|
|
54
|
+
cssClass: string;
|
|
55
|
+
cssStyle: string;
|
|
56
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
57
|
+
_cdr: ChangeDetectorRef;
|
|
58
|
+
_isInited: boolean;
|
|
59
|
+
_isRendered: boolean;
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
ngAfterViewInit(): void;
|
|
62
|
+
ngOnDestroy(): void;
|
|
63
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
64
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
65
|
+
_onInternalInit(): void;
|
|
66
|
+
_onInternalViewInit(): void;
|
|
67
|
+
_onInternalDestroy(): void;
|
|
68
|
+
onInit(): void;
|
|
69
|
+
onViewInit(): void;
|
|
70
|
+
onDestroy(): void;
|
|
71
|
+
onOptionChanging(option: {
|
|
72
|
+
name: string;
|
|
73
|
+
value?: any;
|
|
74
|
+
}): any;
|
|
75
|
+
onOptionChanged(option: {
|
|
76
|
+
name: string;
|
|
77
|
+
oldValue?: any;
|
|
78
|
+
newValue?: any;
|
|
79
|
+
}): void;
|
|
80
|
+
}) & {
|
|
81
|
+
new (...args: any[]): {
|
|
82
|
+
onClick: EventEmitter<AXClickEvent>;
|
|
83
|
+
_emitOnClickEvent(e: MouseEvent): void;
|
|
84
|
+
id: string;
|
|
85
|
+
rtl: boolean;
|
|
86
|
+
cssClass: string;
|
|
87
|
+
cssStyle: string;
|
|
88
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
89
|
+
_cdr: ChangeDetectorRef;
|
|
90
|
+
_isInited: boolean;
|
|
91
|
+
_isRendered: boolean;
|
|
92
|
+
ngOnInit(): void;
|
|
93
|
+
ngAfterViewInit(): void;
|
|
94
|
+
ngOnDestroy(): void;
|
|
95
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
96
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
97
|
+
_onInternalInit(): void;
|
|
98
|
+
_onInternalViewInit(): void;
|
|
99
|
+
_onInternalDestroy(): void;
|
|
100
|
+
onInit(): void;
|
|
101
|
+
onViewInit(): void;
|
|
102
|
+
onDestroy(): void;
|
|
103
|
+
onOptionChanging(option: {
|
|
104
|
+
name: string;
|
|
105
|
+
value?: any;
|
|
106
|
+
}): any;
|
|
107
|
+
onOptionChanged(option: {
|
|
108
|
+
name: string;
|
|
109
|
+
oldValue?: any;
|
|
110
|
+
newValue?: any;
|
|
111
|
+
}): void;
|
|
112
|
+
};
|
|
113
|
+
} & {
|
|
114
|
+
new (...args: any[]): {
|
|
115
|
+
text: string;
|
|
116
|
+
submitBehavior: boolean;
|
|
117
|
+
cancelBehavior: boolean;
|
|
118
|
+
colorChange: EventEmitter<AXStyleColorType>;
|
|
119
|
+
"__#2@#color": AXStyleColorType;
|
|
120
|
+
color: AXStyleColorType;
|
|
121
|
+
lookChange: EventEmitter<AXStyleButtonLook>;
|
|
122
|
+
"__#2@#look"?: AXStyleButtonLook;
|
|
123
|
+
look: AXStyleButtonLook;
|
|
124
|
+
toggleableChange: EventEmitter<boolean>;
|
|
125
|
+
"__#2@#toggleable"?: boolean;
|
|
126
|
+
toggleable: boolean;
|
|
127
|
+
selectedChange: EventEmitter<boolean>;
|
|
128
|
+
"__#2@#selected"?: boolean;
|
|
129
|
+
selected: boolean;
|
|
130
|
+
_onInternalViewInit(): void;
|
|
131
|
+
_onInternalDestroy(): void;
|
|
132
|
+
readonly _classes: {
|
|
133
|
+
'ax-button-icon': boolean;
|
|
134
|
+
'ax-state-disabled': any;
|
|
135
|
+
'ax-state-selected': boolean;
|
|
136
|
+
};
|
|
137
|
+
id: string;
|
|
138
|
+
rtl: boolean;
|
|
139
|
+
cssClass: string;
|
|
140
|
+
cssStyle: string;
|
|
141
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
142
|
+
_cdr: ChangeDetectorRef;
|
|
143
|
+
_isInited: boolean;
|
|
144
|
+
_isRendered: boolean;
|
|
145
|
+
ngOnInit(): void;
|
|
146
|
+
ngAfterViewInit(): void;
|
|
147
|
+
ngOnDestroy(): void;
|
|
148
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
149
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
150
|
+
_onInternalInit(): void;
|
|
151
|
+
onInit(): void;
|
|
152
|
+
onViewInit(): void;
|
|
153
|
+
onDestroy(): void;
|
|
154
|
+
onOptionChanging(option: {
|
|
155
|
+
name: string;
|
|
156
|
+
value?: any;
|
|
157
|
+
}): any;
|
|
158
|
+
onOptionChanged(option: {
|
|
159
|
+
name: string;
|
|
160
|
+
oldValue?: any;
|
|
161
|
+
newValue?: any;
|
|
162
|
+
}): void;
|
|
163
|
+
};
|
|
164
|
+
} & (abstract new (...args: any[]) => {
|
|
165
|
+
"__#4@#readonly": boolean;
|
|
166
|
+
readonly: any;
|
|
167
|
+
fitParent: boolean;
|
|
168
|
+
onOpened: EventEmitter<import("../base").AXEvent>;
|
|
169
|
+
onClosed: EventEmitter<import("../base").AXEvent>;
|
|
170
|
+
_emitOnOpenedEvent(): void;
|
|
171
|
+
_emitOnClosedEvent(): void;
|
|
172
|
+
id: string;
|
|
173
|
+
rtl: boolean;
|
|
174
|
+
cssClass: string;
|
|
175
|
+
cssStyle: string;
|
|
176
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
177
|
+
_cdr: ChangeDetectorRef;
|
|
178
|
+
_isInited: boolean;
|
|
179
|
+
_isRendered: boolean;
|
|
180
|
+
ngOnInit(): void;
|
|
181
|
+
ngAfterViewInit(): void;
|
|
182
|
+
ngOnDestroy(): void;
|
|
183
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
184
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
185
|
+
_onInternalInit(): void;
|
|
186
|
+
_onInternalViewInit(): void;
|
|
187
|
+
_onInternalDestroy(): void;
|
|
188
|
+
onInit(): void;
|
|
189
|
+
onViewInit(): void;
|
|
190
|
+
onDestroy(): void;
|
|
191
|
+
onOptionChanging(option: {
|
|
192
|
+
name: string;
|
|
193
|
+
value?: any;
|
|
194
|
+
}): any;
|
|
195
|
+
onOptionChanged(option: {
|
|
196
|
+
name: string;
|
|
197
|
+
oldValue?: any;
|
|
198
|
+
newValue?: any;
|
|
199
|
+
}): void;
|
|
200
|
+
}) & typeof AXBaseComponent;
|
|
201
|
+
export declare class AXDropdownButtonComponent extends AXBaseDropdownButtonMixin {
|
|
202
|
+
private _overlay;
|
|
203
|
+
private _platform;
|
|
204
|
+
private _viewContainerRef;
|
|
205
|
+
_contentButtons: QueryList<AXButtonItemComponent>;
|
|
206
|
+
_viewButtons: QueryList<AXButtonItemComponent>;
|
|
207
|
+
onItemClick: EventEmitter<AXButtonClickEvent>;
|
|
208
|
+
private _items;
|
|
209
|
+
get items(): AXButtonItem[];
|
|
210
|
+
set items(v: AXButtonItem[]);
|
|
211
|
+
_baseTemplate: TemplateRef<any>;
|
|
212
|
+
_overlayRef: OverlayRef;
|
|
213
|
+
_templatePortal: TemplatePortal;
|
|
214
|
+
_dropdownWidth: number;
|
|
215
|
+
_subs: Subscription[];
|
|
216
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _overlay: Overlay, _platform: AXPlatform, _viewContainerRef: ViewContainerRef);
|
|
217
|
+
private _getAllButtons;
|
|
218
|
+
onViewInit(): void;
|
|
219
|
+
onDestroy(): void;
|
|
220
|
+
dropdownIcon: string;
|
|
221
|
+
splited: boolean;
|
|
222
|
+
_handleKeydownHandler(e: KeyboardEvent): void;
|
|
223
|
+
_emitOnClickEvent(e: MouseEvent): void;
|
|
224
|
+
_handleArrowClickEvent(e: MouseEvent): void;
|
|
225
|
+
_emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
|
|
226
|
+
private _handleOnItemClick;
|
|
227
|
+
toggle(): void;
|
|
228
|
+
close(): void;
|
|
229
|
+
open(): void;
|
|
230
|
+
private _ensureOverlayCreated;
|
|
231
|
+
get isOpen(): boolean;
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownButtonComponent, never>;
|
|
233
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "text": "text"; "submitBehavior": "submitBehavior"; "cancelBehavior": "cancelBehavior"; "color": "color"; "look": "look"; "toggleable": "toggleable"; "selected": "selected"; "items": "items"; "dropdownIcon": "dropdownIcon"; "splited": "splited"; }, { "onClick": "onClick"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-loading", "ax-prefix", "ax-icon", "ax-suffix", "ng-container[panel],ax-button-item"]>;
|
|
234
|
+
}
|
package/lib/button/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './button.component';
|
|
2
|
-
export * from './dropdown-button.component';
|
|
3
|
-
export * from './button-group.component';
|
|
4
|
-
export * from './button-item.component';
|
|
5
|
-
export * from './button.module';
|
|
6
|
-
export * from './button-item.class';
|
|
1
|
+
export * from './button.component';
|
|
2
|
+
export * from './dropdown-button.component';
|
|
3
|
+
export * from './button-group.component';
|
|
4
|
+
export * from './button-item.component';
|
|
5
|
+
export * from './button.module';
|
|
6
|
+
export * from './button-item.class';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXCalendarMixin } from '../base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXCalendarComponent extends AXCalendarMixin {
|
|
5
|
-
days: ElementRef<HTMLDivElement>;
|
|
6
|
-
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;
|
|
14
|
-
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>;
|
|
16
|
-
}
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXCalendarMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXCalendarComponent extends AXCalendarMixin {
|
|
5
|
+
days: ElementRef<HTMLDivElement>;
|
|
6
|
+
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;
|
|
14
|
+
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>;
|
|
16
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./calendar.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../button/button.module";
|
|
5
|
-
import * as i4 from "../decorators/decorators.module";
|
|
6
|
-
import * as i5 from "../icon/icon.module";
|
|
7
|
-
export declare class AXCalendarModule {
|
|
8
|
-
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 ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
|
11
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./calendar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../button/button.module";
|
|
5
|
+
import * as i4 from "../decorators/decorators.module";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
export declare class AXCalendarModule {
|
|
8
|
+
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 ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
|
11
|
+
}
|
package/lib/calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './calendar.component';
|
|
2
|
-
export * from './calendar.module';
|
|
1
|
+
export * from './calendar.component';
|
|
2
|
+
export * from './calendar.module';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin, AXClickEvent } from '../base';
|
|
3
|
-
import { AXCarouselComponent } from './carousel.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
6
|
-
private parent;
|
|
7
|
-
onNextClick: EventEmitter<AXClickEvent>;
|
|
8
|
-
onPrevClick: EventEmitter<AXClickEvent>;
|
|
9
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, parent: AXCarouselComponent);
|
|
10
|
-
_handlePrevClick(e: MouseEvent): void;
|
|
11
|
-
_handleNextClick(e: MouseEvent): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselArrowsComponent, [null, null, { optional: true; }]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselArrowsComponent, "ax-carousel-arrows", never, {}, { "onNextClick": "onNextClick"; "onPrevClick": "onPrevClick"; }, never, never>;
|
|
14
|
-
}
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXClickEvent } from '../base';
|
|
3
|
+
import { AXCarouselComponent } from './carousel.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
6
|
+
private parent;
|
|
7
|
+
onNextClick: EventEmitter<AXClickEvent>;
|
|
8
|
+
onPrevClick: EventEmitter<AXClickEvent>;
|
|
9
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, parent: AXCarouselComponent);
|
|
10
|
+
_handlePrevClick(e: MouseEvent): void;
|
|
11
|
+
_handleNextClick(e: MouseEvent): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselArrowsComponent, [null, null, { optional: true; }]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselArrowsComponent, "ax-carousel-arrows", never, {}, { "onNextClick": "onNextClick"; "onPrevClick": "onPrevClick"; }, never, never>;
|
|
14
|
+
}
|
|
@@ -1,8 +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 AXCarouselItemComponent extends AXBaseComponentMixin {
|
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselItemComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselItemComponent, "ax-carousel-item", never, {}, {}, never, ["*"]>;
|
|
8
|
-
}
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXCarouselItemComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselItemComponent, "ax-carousel-item", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
import { AXCarouselComponent } from './carousel.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
6
|
-
private cdr;
|
|
7
|
-
private _parent;
|
|
8
|
-
_visibleIndex: number;
|
|
9
|
-
_pageIndex: number;
|
|
10
|
-
private _size;
|
|
11
|
-
_dots: any[];
|
|
12
|
-
private _subs;
|
|
13
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _parent: AXCarouselComponent);
|
|
14
|
-
onViewInit(): void;
|
|
15
|
-
private _generateDots;
|
|
16
|
-
_handleClick(e: MouseEvent, index: number): void;
|
|
17
|
-
private _setPageIndex;
|
|
18
|
-
private _findPageIndex;
|
|
19
|
-
onDestroy(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselPagerComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselPagerComponent, "ax-carousel-pager", never, {}, {}, never, never>;
|
|
22
|
-
}
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import { AXCarouselComponent } from './carousel.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
6
|
+
private cdr;
|
|
7
|
+
private _parent;
|
|
8
|
+
_visibleIndex: number;
|
|
9
|
+
_pageIndex: number;
|
|
10
|
+
private _size;
|
|
11
|
+
_dots: any[];
|
|
12
|
+
private _subs;
|
|
13
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _parent: AXCarouselComponent);
|
|
14
|
+
onViewInit(): void;
|
|
15
|
+
private _generateDots;
|
|
16
|
+
_handleClick(e: MouseEvent, index: number): void;
|
|
17
|
+
private _setPageIndex;
|
|
18
|
+
private _findPageIndex;
|
|
19
|
+
onDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselPagerComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselPagerComponent, "ax-carousel-pager", never, {}, {}, never, never>;
|
|
22
|
+
}
|