@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,13 +1,13 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dialog.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/cdk/drag-drop";
|
|
5
|
-
import * as i4 from "@angular/cdk/a11y";
|
|
6
|
-
import * as i5 from "../button/button.module";
|
|
7
|
-
import * as i6 from "../page/page.module";
|
|
8
|
-
import * as i7 from "../decorators/decorators.module";
|
|
9
|
-
export declare class AXDialogModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDialogModule, [typeof i1.AXDialogComponent], [typeof i2.CommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.AXButtonModule, typeof i6.AXPageModule, typeof i7.AXEditorDecoratorModule], [typeof i1.AXDialogComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXDialogModule>;
|
|
13
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/cdk/drag-drop";
|
|
5
|
+
import * as i4 from "@angular/cdk/a11y";
|
|
6
|
+
import * as i5 from "../button/button.module";
|
|
7
|
+
import * as i6 from "../page/page.module";
|
|
8
|
+
import * as i7 from "../decorators/decorators.module";
|
|
9
|
+
export declare class AXDialogModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDialogModule, [typeof i1.AXDialogComponent], [typeof i2.CommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.AXButtonModule, typeof i6.AXPageModule, typeof i7.AXEditorDecoratorModule], [typeof i1.AXDialogComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXDialogModule>;
|
|
13
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { Injector } from '@angular/core';
|
|
3
|
-
import { AXStyleColorType } from '../base/styles.class';
|
|
4
|
-
import { AXDialogOptions } from './dialog.class';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AXDialogService {
|
|
7
|
-
private overlayService;
|
|
8
|
-
private parentInjector;
|
|
9
|
-
constructor(overlayService: Overlay, parentInjector: Injector);
|
|
10
|
-
alert(title: string, content: string, type?: AXStyleColorType): Promise<void>;
|
|
11
|
-
confirm(title: string, content: string, type?: AXStyleColorType): Promise<void>;
|
|
12
|
-
show(options: AXDialogOptions): Promise<{
|
|
13
|
-
name: string;
|
|
14
|
-
}>;
|
|
15
|
-
private open;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXDialogService>;
|
|
18
|
-
}
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { Injector } from '@angular/core';
|
|
3
|
+
import { AXStyleColorType } from '../base/styles.class';
|
|
4
|
+
import { AXDialogOptions } from './dialog.class';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AXDialogService {
|
|
7
|
+
private overlayService;
|
|
8
|
+
private parentInjector;
|
|
9
|
+
constructor(overlayService: Overlay, parentInjector: Injector);
|
|
10
|
+
alert(title: string, content: string, type?: AXStyleColorType): Promise<void>;
|
|
11
|
+
confirm(title: string, content: string, type?: AXStyleColorType): Promise<void>;
|
|
12
|
+
show(options: AXDialogOptions): Promise<{
|
|
13
|
+
name: string;
|
|
14
|
+
}>;
|
|
15
|
+
private open;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXDialogService>;
|
|
18
|
+
}
|
package/lib/dialog/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './dialog.component';
|
|
2
|
-
export * from './dialog.class';
|
|
3
|
-
export * from './dialog.service';
|
|
4
|
-
export * from './dialog.module';
|
|
1
|
+
export * from './dialog.component';
|
|
2
|
+
export * from './dialog.class';
|
|
3
|
+
export * from './dialog.service';
|
|
4
|
+
export * from './dialog.module';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, NgZone, QueryList } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
import { AXDrawerComponent } from './drawer.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
6
|
-
private zone;
|
|
7
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, zone: NgZone);
|
|
8
|
-
drawers: QueryList<AXDrawerComponent>;
|
|
9
|
-
onViewInit(): void;
|
|
10
|
-
private _updateWidth;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContainerComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContainerComponent, "ax-drawer-container", never, { "rtl": "rtl"; }, {}, ["drawers"], ["ax-drawer[location='start']", "ax-drawer-content", "ax-drawer[location='end']"]>;
|
|
13
|
-
}
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, NgZone, QueryList } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import { AXDrawerComponent } from './drawer.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXDrawerContainerComponent extends AXBaseComponentMixin {
|
|
6
|
+
private zone;
|
|
7
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, zone: NgZone);
|
|
8
|
+
drawers: QueryList<AXDrawerComponent>;
|
|
9
|
+
onViewInit(): void;
|
|
10
|
+
private _updateWidth;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContainerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContainerComponent, "ax-drawer-container", never, { "rtl": "rtl"; }, {}, ["drawers"], ["ax-drawer[location='start']", "ax-drawer-content", "ax-drawer[location='end']"]>;
|
|
13
|
+
}
|
|
@@ -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 AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContentComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContentComponent, "ax-drawer-content", 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 AXDrawerContentComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContentComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContentComponent, "ax-drawer-content", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin, AXEvent } from '../base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXDrawerComponent extends AXBaseComponentMixin {
|
|
5
|
-
private elementRef;
|
|
6
|
-
private zone;
|
|
7
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, zone: NgZone);
|
|
8
|
-
onChanged: EventEmitter<AXEvent>;
|
|
9
|
-
mode: 'push' | 'overlay';
|
|
10
|
-
_currentMode: 'push' | 'overlay';
|
|
11
|
-
location: 'start' | 'end';
|
|
12
|
-
private _backdrop;
|
|
13
|
-
private _collapsed;
|
|
14
|
-
get collapsed(): boolean;
|
|
15
|
-
set collapsed(v: boolean);
|
|
16
|
-
onInit(): void;
|
|
17
|
-
private _updateClass;
|
|
18
|
-
onViewInit(): void;
|
|
19
|
-
toggle(): void;
|
|
20
|
-
_handleWindowsResize(e: UIEvent): void;
|
|
21
|
-
_detectSize(): void;
|
|
22
|
-
private _emitChange;
|
|
23
|
-
private _setOverlayMode;
|
|
24
|
-
private _setPushMode;
|
|
25
|
-
private _addBackdrop;
|
|
26
|
-
private _removeBackdrop;
|
|
27
|
-
private _handleBackfropClick;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "mode": "mode"; "location": "location"; "collapsed": "collapsed"; }, { "onChanged": "onChanged"; }, never, ["*"]>;
|
|
30
|
-
}
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXEvent } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDrawerComponent extends AXBaseComponentMixin {
|
|
5
|
+
private elementRef;
|
|
6
|
+
private zone;
|
|
7
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, zone: NgZone);
|
|
8
|
+
onChanged: EventEmitter<AXEvent>;
|
|
9
|
+
mode: 'push' | 'overlay';
|
|
10
|
+
_currentMode: 'push' | 'overlay';
|
|
11
|
+
location: 'start' | 'end';
|
|
12
|
+
private _backdrop;
|
|
13
|
+
private _collapsed;
|
|
14
|
+
get collapsed(): boolean;
|
|
15
|
+
set collapsed(v: boolean);
|
|
16
|
+
onInit(): void;
|
|
17
|
+
private _updateClass;
|
|
18
|
+
onViewInit(): void;
|
|
19
|
+
toggle(): void;
|
|
20
|
+
_handleWindowsResize(e: UIEvent): void;
|
|
21
|
+
_detectSize(): void;
|
|
22
|
+
private _emitChange;
|
|
23
|
+
private _setOverlayMode;
|
|
24
|
+
private _setPushMode;
|
|
25
|
+
private _addBackdrop;
|
|
26
|
+
private _removeBackdrop;
|
|
27
|
+
private _handleBackfropClick;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "mode": "mode"; "location": "location"; "collapsed": "collapsed"; }, { "onChanged": "onChanged"; }, never, ["*"]>;
|
|
30
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./drawer.component";
|
|
3
|
-
import * as i2 from "./drawer-container.component";
|
|
4
|
-
import * as i3 from "./drawer-content.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
export declare class AXDrawerModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDrawerModule, [typeof i1.AXDrawerComponent, typeof i2.AXDrawerContainerComponent, typeof i3.AXDrawerContentComponent], [typeof i4.CommonModule], [typeof i1.AXDrawerComponent, typeof i2.AXDrawerContainerComponent, typeof i3.AXDrawerContentComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXDrawerModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./drawer.component";
|
|
3
|
+
import * as i2 from "./drawer-container.component";
|
|
4
|
+
import * as i3 from "./drawer-content.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class AXDrawerModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDrawerModule, [typeof i1.AXDrawerComponent, typeof i2.AXDrawerContainerComponent, typeof i3.AXDrawerContentComponent], [typeof i4.CommonModule], [typeof i1.AXDrawerComponent, typeof i2.AXDrawerContainerComponent, typeof i3.AXDrawerContentComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXDrawerModule>;
|
|
10
|
+
}
|
package/lib/drawer/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './drawer.component';
|
|
2
|
-
export * from './drawer-container.component';
|
|
3
|
-
export * from './drawer-content.component';
|
|
4
|
-
export * from './drawer.module';
|
|
1
|
+
export * from './drawer.component';
|
|
2
|
+
export * from './drawer-container.component';
|
|
3
|
+
export * from './drawer-content.component';
|
|
4
|
+
export * from './drawer.module';
|
|
@@ -1,116 +1,117 @@
|
|
|
1
|
-
import { AXPlatform } from '@acorex/core';
|
|
2
|
-
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
3
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
4
|
-
import { ElementRef, ChangeDetectorRef, QueryList, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { AXBaseComponent, AXButtonClickEvent, AXClickEvent } from '../base';
|
|
7
|
-
import { AXButtonComponent, AXButtonItem, AXButtonItemComponent } from '../button';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare const AXBaseDropdownMenuMixin: (abstract new (...args: any[]) => {
|
|
10
|
-
"__#5@#disabled": boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
"__#5@#tabIndex": number;
|
|
13
|
-
tabIndex: number;
|
|
14
|
-
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
15
|
-
_emitOnFocusEvent(e: FocusEvent): void;
|
|
16
|
-
onBlur: EventEmitter<import("../base").AXFocusEvent>;
|
|
17
|
-
_emitOnBlurEvent(e: FocusEvent): void;
|
|
18
|
-
focus(): void;
|
|
19
|
-
id: string;
|
|
20
|
-
rtl: boolean;
|
|
21
|
-
cssClass: string;
|
|
22
|
-
cssStyle: string;
|
|
23
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
24
|
-
_cdr: ChangeDetectorRef;
|
|
25
|
-
_isInited: boolean;
|
|
26
|
-
_isRendered: boolean;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
31
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
32
|
-
_onInternalInit(): void;
|
|
33
|
-
_onInternalViewInit(): void;
|
|
34
|
-
_onInternalDestroy(): void;
|
|
35
|
-
onInit(): void;
|
|
36
|
-
onViewInit(): void;
|
|
37
|
-
onDestroy(): void;
|
|
38
|
-
onOptionChanging(option: {
|
|
39
|
-
name: string;
|
|
40
|
-
value?: any;
|
|
41
|
-
}): any;
|
|
42
|
-
onOptionChanged(option: {
|
|
43
|
-
name: string;
|
|
44
|
-
oldValue?: any;
|
|
45
|
-
newValue?: any;
|
|
46
|
-
}): void;
|
|
47
|
-
}) & (abstract new (...args: any[]) => {
|
|
48
|
-
"__#4@#readonly": boolean;
|
|
49
|
-
readonly: any;
|
|
50
|
-
fitParent: boolean;
|
|
51
|
-
onOpened: EventEmitter<import("../base").AXEvent>;
|
|
52
|
-
onClosed: EventEmitter<import("../base").AXEvent>;
|
|
53
|
-
_emitOnOpenedEvent(): void;
|
|
54
|
-
_emitOnClosedEvent(): void;
|
|
55
|
-
id: string;
|
|
56
|
-
rtl: boolean;
|
|
57
|
-
cssClass: string;
|
|
58
|
-
cssStyle: string;
|
|
59
|
-
"__#1@#elementRef": ElementRef<any>;
|
|
60
|
-
_cdr: ChangeDetectorRef;
|
|
61
|
-
_isInited: boolean;
|
|
62
|
-
_isRendered: boolean;
|
|
63
|
-
ngOnInit(): void;
|
|
64
|
-
ngAfterViewInit(): void;
|
|
65
|
-
ngOnDestroy(): void;
|
|
66
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
67
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
68
|
-
_onInternalInit(): void;
|
|
69
|
-
_onInternalViewInit(): void;
|
|
70
|
-
_onInternalDestroy(): void;
|
|
71
|
-
onInit(): void;
|
|
72
|
-
onViewInit(): void;
|
|
73
|
-
onDestroy(): void;
|
|
74
|
-
onOptionChanging(option: {
|
|
75
|
-
name: string;
|
|
76
|
-
value?: any;
|
|
77
|
-
}): any;
|
|
78
|
-
onOptionChanged(option: {
|
|
79
|
-
name: string;
|
|
80
|
-
oldValue?: any;
|
|
81
|
-
newValue?: any;
|
|
82
|
-
}): void;
|
|
83
|
-
}) & typeof AXBaseComponent;
|
|
84
|
-
export declare class AXDropdownPanelComponent extends AXBaseDropdownMenuMixin {
|
|
85
|
-
private _overlay;
|
|
86
|
-
private _platform;
|
|
87
|
-
private _viewContainerRef;
|
|
88
|
-
private _parent;
|
|
89
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _overlay: Overlay, _platform: AXPlatform, _viewContainerRef: ViewContainerRef, _parent: AXButtonComponent);
|
|
90
|
-
_contentButtons: QueryList<AXButtonItemComponent>;
|
|
91
|
-
_viewButtons: QueryList<AXButtonItemComponent>;
|
|
92
|
-
onItemClick: EventEmitter<AXButtonClickEvent>;
|
|
93
|
-
target: AXBaseComponent;
|
|
94
|
-
private _items;
|
|
95
|
-
get items(): AXButtonItem[];
|
|
96
|
-
set items(v: AXButtonItem[]);
|
|
97
|
-
_baseTemplate: TemplateRef<any>;
|
|
98
|
-
_overlayRef: OverlayRef;
|
|
99
|
-
_templatePortal: TemplatePortal;
|
|
100
|
-
_dropdownWidth: number;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
static
|
|
116
|
-
}
|
|
1
|
+
import { AXPlatform } from '@acorex/core';
|
|
2
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
3
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
4
|
+
import { ElementRef, ChangeDetectorRef, QueryList, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import { AXBaseComponent, AXButtonClickEvent, AXClickEvent } from '../base';
|
|
7
|
+
import { AXButtonComponent, AXButtonItem, AXButtonItemComponent } from '../button';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare const AXBaseDropdownMenuMixin: (abstract new (...args: any[]) => {
|
|
10
|
+
"__#5@#disabled": boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
"__#5@#tabIndex": number;
|
|
13
|
+
tabIndex: number;
|
|
14
|
+
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
15
|
+
_emitOnFocusEvent(e: FocusEvent): void;
|
|
16
|
+
onBlur: EventEmitter<import("../base").AXFocusEvent>;
|
|
17
|
+
_emitOnBlurEvent(e: FocusEvent): void;
|
|
18
|
+
focus(): void;
|
|
19
|
+
id: string;
|
|
20
|
+
rtl: boolean;
|
|
21
|
+
cssClass: string;
|
|
22
|
+
cssStyle: string;
|
|
23
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
24
|
+
_cdr: ChangeDetectorRef;
|
|
25
|
+
_isInited: boolean;
|
|
26
|
+
_isRendered: boolean;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
31
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
32
|
+
_onInternalInit(): void;
|
|
33
|
+
_onInternalViewInit(): void;
|
|
34
|
+
_onInternalDestroy(): void;
|
|
35
|
+
onInit(): void;
|
|
36
|
+
onViewInit(): void;
|
|
37
|
+
onDestroy(): void;
|
|
38
|
+
onOptionChanging(option: {
|
|
39
|
+
name: string;
|
|
40
|
+
value?: any;
|
|
41
|
+
}): any;
|
|
42
|
+
onOptionChanged(option: {
|
|
43
|
+
name: string;
|
|
44
|
+
oldValue?: any;
|
|
45
|
+
newValue?: any;
|
|
46
|
+
}): void;
|
|
47
|
+
}) & (abstract new (...args: any[]) => {
|
|
48
|
+
"__#4@#readonly": boolean;
|
|
49
|
+
readonly: any;
|
|
50
|
+
fitParent: boolean;
|
|
51
|
+
onOpened: EventEmitter<import("../base").AXEvent>;
|
|
52
|
+
onClosed: EventEmitter<import("../base").AXEvent>;
|
|
53
|
+
_emitOnOpenedEvent(): void;
|
|
54
|
+
_emitOnClosedEvent(): void;
|
|
55
|
+
id: string;
|
|
56
|
+
rtl: boolean;
|
|
57
|
+
cssClass: string;
|
|
58
|
+
cssStyle: string;
|
|
59
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
60
|
+
_cdr: ChangeDetectorRef;
|
|
61
|
+
_isInited: boolean;
|
|
62
|
+
_isRendered: boolean;
|
|
63
|
+
ngOnInit(): void;
|
|
64
|
+
ngAfterViewInit(): void;
|
|
65
|
+
ngOnDestroy(): void;
|
|
66
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
67
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
68
|
+
_onInternalInit(): void;
|
|
69
|
+
_onInternalViewInit(): void;
|
|
70
|
+
_onInternalDestroy(): void;
|
|
71
|
+
onInit(): void;
|
|
72
|
+
onViewInit(): void;
|
|
73
|
+
onDestroy(): void;
|
|
74
|
+
onOptionChanging(option: {
|
|
75
|
+
name: string;
|
|
76
|
+
value?: any;
|
|
77
|
+
}): any;
|
|
78
|
+
onOptionChanged(option: {
|
|
79
|
+
name: string;
|
|
80
|
+
oldValue?: any;
|
|
81
|
+
newValue?: any;
|
|
82
|
+
}): void;
|
|
83
|
+
}) & typeof AXBaseComponent;
|
|
84
|
+
export declare class AXDropdownPanelComponent extends AXBaseDropdownMenuMixin {
|
|
85
|
+
private _overlay;
|
|
86
|
+
private _platform;
|
|
87
|
+
private _viewContainerRef;
|
|
88
|
+
private _parent;
|
|
89
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _overlay: Overlay, _platform: AXPlatform, _viewContainerRef: ViewContainerRef, _parent: AXButtonComponent);
|
|
90
|
+
_contentButtons: QueryList<AXButtonItemComponent>;
|
|
91
|
+
_viewButtons: QueryList<AXButtonItemComponent>;
|
|
92
|
+
onItemClick: EventEmitter<AXButtonClickEvent>;
|
|
93
|
+
target: AXBaseComponent;
|
|
94
|
+
private _items;
|
|
95
|
+
get items(): AXButtonItem[];
|
|
96
|
+
set items(v: AXButtonItem[]);
|
|
97
|
+
_baseTemplate: TemplateRef<any>;
|
|
98
|
+
_overlayRef: OverlayRef;
|
|
99
|
+
_templatePortal: TemplatePortal;
|
|
100
|
+
_dropdownWidth: number;
|
|
101
|
+
_needBorder: boolean;
|
|
102
|
+
_subs: Subscription[];
|
|
103
|
+
private _getAllButtons;
|
|
104
|
+
onViewInit(): void;
|
|
105
|
+
onDestroy(): void;
|
|
106
|
+
_handleKeydownHandler(e: KeyboardEvent): void;
|
|
107
|
+
_handleArrowClickEvent(e: MouseEvent): void;
|
|
108
|
+
_emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
|
|
109
|
+
private _handleOnItemClick;
|
|
110
|
+
toggle(): void;
|
|
111
|
+
close(): void;
|
|
112
|
+
open(): void;
|
|
113
|
+
private _ensureOverlayCreated;
|
|
114
|
+
get isOpen(): boolean;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownPanelComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownPanelComponent, "ax-dropdown-panel", never, { "target": "target"; "items": "items"; }, { "onItemClick": "onItemClick"; }, ["_contentButtons"], ["[panel],ax-button-item"]>;
|
|
117
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
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, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { DropdownComponentInterface } from '../base/mixin/dropdown-mixin.class';
|
|
7
|
-
import { AXBaseDropdownMixin } from '../base/mixin/mixin.class';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class AXDropdownComponent extends AXBaseDropdownMixin implements DropdownComponentInterface {
|
|
10
|
-
private _overlay;
|
|
11
|
-
private _platform;
|
|
12
|
-
private _viewContainerRef;
|
|
13
|
-
_baseTemplate: TemplateRef<any>;
|
|
14
|
-
_overlayRef: OverlayRef;
|
|
15
|
-
_templatePortal: TemplatePortal;
|
|
16
|
-
_dropdownWidth: number;
|
|
17
|
-
_dropdownNative: number;
|
|
18
|
-
_subs: Subscription[];
|
|
19
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _overlay: Overlay, _platform: AXPlatform, _viewContainerRef: ViewContainerRef);
|
|
20
|
-
onViewInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
_handleKeydownHandler(e: KeyboardEvent): void;
|
|
23
|
-
_handleArrowClickEvent(): void;
|
|
24
|
-
toggle(): void;
|
|
25
|
-
close(): void;
|
|
26
|
-
open(): void;
|
|
27
|
-
private _ensureOverlayCreated;
|
|
28
|
-
get isOpen(): boolean;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownComponent, "ax-drop-down", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "fitParent": "fitParent"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-prefix", "ng-container[input]", "ax-suffix", "ng-container[panel]"]>;
|
|
31
|
-
}
|
|
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, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import { DropdownComponentInterface } from '../base/mixin/dropdown-mixin.class';
|
|
7
|
+
import { AXBaseDropdownMixin } from '../base/mixin/mixin.class';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AXDropdownComponent extends AXBaseDropdownMixin implements DropdownComponentInterface {
|
|
10
|
+
private _overlay;
|
|
11
|
+
private _platform;
|
|
12
|
+
private _viewContainerRef;
|
|
13
|
+
_baseTemplate: TemplateRef<any>;
|
|
14
|
+
_overlayRef: OverlayRef;
|
|
15
|
+
_templatePortal: TemplatePortal;
|
|
16
|
+
_dropdownWidth: number;
|
|
17
|
+
_dropdownNative: number;
|
|
18
|
+
_subs: Subscription[];
|
|
19
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _overlay: Overlay, _platform: AXPlatform, _viewContainerRef: ViewContainerRef);
|
|
20
|
+
onViewInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
_handleKeydownHandler(e: KeyboardEvent): void;
|
|
23
|
+
_handleArrowClickEvent(): void;
|
|
24
|
+
toggle(): void;
|
|
25
|
+
close(): void;
|
|
26
|
+
open(): void;
|
|
27
|
+
private _ensureOverlayCreated;
|
|
28
|
+
get isOpen(): boolean;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownComponent, "ax-drop-down", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "fitParent": "fitParent"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-prefix", "ng-container[input]", "ax-suffix", "ng-container[panel]"]>;
|
|
31
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dropdown.component";
|
|
3
|
-
import * as i2 from "./dropdown-panel.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../button/button.module";
|
|
6
|
-
import * as i5 from "@angular/cdk/overlay";
|
|
7
|
-
import * as i6 from "../icon/icon.module";
|
|
8
|
-
import * as i7 from "../decorators/decorators.module";
|
|
9
|
-
export declare class AXDropdownModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, [typeof i1.AXDropdownComponent, typeof i2.AXDropdownPanelComponent], [typeof i3.CommonModule, typeof i4.AXButtonModule, typeof i5.OverlayModule, typeof i6.AXIconModule, typeof i7.AXEditorDecoratorModule], [typeof i1.AXDropdownComponent, typeof i2.AXDropdownPanelComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXDropdownModule>;
|
|
13
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dropdown.component";
|
|
3
|
+
import * as i2 from "./dropdown-panel.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../button/button.module";
|
|
6
|
+
import * as i5 from "@angular/cdk/overlay";
|
|
7
|
+
import * as i6 from "../icon/icon.module";
|
|
8
|
+
import * as i7 from "../decorators/decorators.module";
|
|
9
|
+
export declare class AXDropdownModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, [typeof i1.AXDropdownComponent, typeof i2.AXDropdownPanelComponent], [typeof i3.CommonModule, typeof i4.AXButtonModule, typeof i5.OverlayModule, typeof i6.AXIconModule, typeof i7.AXEditorDecoratorModule], [typeof i1.AXDropdownComponent, typeof i2.AXDropdownPanelComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXDropdownModule>;
|
|
13
|
+
}
|
package/lib/dropdown/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './dropdown.component';
|
|
2
|
-
export * from './dropdown-panel.component';
|
|
3
|
-
export * from './dropdown.module';
|
|
1
|
+
export * from './dropdown.component';
|
|
2
|
+
export * from './dropdown-panel.component';
|
|
3
|
+
export * from './dropdown.module';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base/mixin/mixin.class';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormFieldComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXFormFieldComponent, "ax-form-field", never, {}, {}, never, ["*"]>;
|
|
8
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base/mixin/mixin.class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXFormFieldComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormFieldComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXFormFieldComponent, "ax-form-field", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./form-field.component";
|
|
3
|
-
import * as i2 from "./form.component";
|
|
4
|
-
import * as i3 from "./form-hint.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
export declare class AXFormModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXFormModule, [typeof i1.AXFormFieldComponent, typeof i2.AXFormComponent, typeof i3.AXFormHintComponent], [typeof i4.CommonModule], [typeof i1.AXFormFieldComponent, typeof i2.AXFormComponent, typeof i3.AXFormHintComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXFormModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form-field.component";
|
|
3
|
+
import * as i2 from "./form.component";
|
|
4
|
+
import * as i3 from "./form-hint.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class AXFormModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXFormModule, [typeof i1.AXFormFieldComponent, typeof i2.AXFormComponent, typeof i3.AXFormHintComponent], [typeof i4.CommonModule], [typeof i1.AXFormFieldComponent, typeof i2.AXFormComponent, typeof i3.AXFormHintComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXFormModule>;
|
|
10
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base/mixin/mixin.class';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXFormHintComponent extends AXBaseComponentMixin {
|
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormHintComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXFormHintComponent, "ax-form-hint", never, {}, {}, never, ["*"]>;
|
|
8
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base/mixin/mixin.class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXFormHintComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormHintComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXFormHintComponent, "ax-form-hint", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|