@acorex/components 4.0.24 → 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 -4
- package/bundles/acorex-components.umd.js +6858 -6233
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/acorex-components.js +5 -5
- package/esm2015/lib/alert/alert-button.component.js +52 -42
- package/esm2015/lib/alert/alert-contnet.component.js +21 -16
- package/esm2015/lib/alert/alert-footer.component.js +27 -18
- package/esm2015/lib/alert/alert-suffix.component.js +27 -18
- package/esm2015/lib/alert/alert-title.component.js +23 -16
- package/esm2015/lib/alert/alert.component.js +131 -87
- package/esm2015/lib/alert/alert.module.js +43 -28
- package/esm2015/lib/alert/index.js +8 -8
- package/esm2015/lib/avatar/avatar.component.js +55 -0
- package/esm2015/lib/avatar/avatar.module.js +21 -0
- package/esm2015/lib/avatar/index.js +3 -0
- package/esm2015/lib/base/common.module.js +18 -13
- package/esm2015/lib/base/custom-cdk-overlay.service.js +47 -56
- package/esm2015/lib/base/drawing.class.js +11 -11
- package/esm2015/lib/base/events.class.js +53 -19
- package/esm2015/lib/base/index.js +7 -7
- package/esm2015/lib/base/mixin/base-components.class.js +83 -72
- package/esm2015/lib/base/mixin/button-mixin.class.js +129 -36
- package/esm2015/lib/base/mixin/clickable-mixin.class.js +24 -17
- 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 -47
- package/esm2015/lib/base/mixin/loading-mixin.class.js +18 -15
- package/esm2015/lib/base/mixin/mixin.class.js +23 -24
- package/esm2015/lib/base/mixin/selection-component.class.js +158 -158
- package/esm2015/lib/base/mixin/sizable-mixin.class.js +18 -19
- package/esm2015/lib/base/mixin/textbox-mixin.class.js +38 -19
- package/esm2015/lib/base/mixin/value-mixin.class.js +190 -172
- package/esm2015/lib/base/overlay.service.js +91 -96
- package/esm2015/lib/base/responsive.directive.js +34 -33
- package/esm2015/lib/base/styles.class.js +4 -4
- package/esm2015/lib/button/button-group.component.js +131 -71
- package/esm2015/lib/button/button-item.class.js +2 -2
- package/esm2015/lib/button/button-item.component.js +81 -35
- package/esm2015/lib/button/button.component.js +51 -34
- package/esm2015/lib/button/button.module.js +37 -24
- package/esm2015/lib/button/dropdown-button.component.js +200 -108
- package/esm2015/lib/button/index.js +7 -7
- package/esm2015/lib/calendar/calendar.component.js +59 -69
- package/esm2015/lib/calendar/calendar.module.js +24 -19
- package/esm2015/lib/calendar/index.js +3 -3
- package/esm2015/lib/carousel/carousel-arrows.component.js +53 -45
- package/esm2015/lib/carousel/carousel-item.component.js +21 -21
- package/esm2015/lib/carousel/carousel-pager.component.js +74 -71
- package/esm2015/lib/carousel/carousel-splidejs.class.js +82 -83
- package/esm2015/lib/carousel/carousel.class.js +10 -7
- package/esm2015/lib/carousel/carousel.component.js +246 -226
- package/esm2015/lib/carousel/carousel.module.js +24 -19
- package/esm2015/lib/carousel/index.js +7 -7
- package/esm2015/lib/checkbox/checkbox.component.js +40 -41
- package/esm2015/lib/checkbox/checkbox.module.js +20 -15
- package/esm2015/lib/checkbox/index.js +3 -3
- package/esm2015/lib/datalist/datalist.component.js +81 -71
- package/esm2015/lib/datalist/datalist.module.js +22 -17
- package/esm2015/lib/datalist/index.js +3 -3
- package/esm2015/lib/datepicker/datepicker.component.js +64 -62
- package/esm2015/lib/datepicker/datepicker.module.js +23 -18
- package/esm2015/lib/datepicker/index.js +3 -3
- package/esm2015/lib/decorators/decorators.module.js +22 -17
- package/esm2015/lib/decorators/index.js +4 -4
- package/esm2015/lib/decorators/prefix.component.js +27 -28
- package/esm2015/lib/decorators/suffix.component.js +35 -28
- package/esm2015/lib/dialog/dialog.class.js +2 -47
- package/esm2015/lib/dialog/dialog.component.js +45 -39
- package/esm2015/lib/dialog/dialog.module.js +26 -19
- package/esm2015/lib/dialog/dialog.service.js +127 -139
- package/esm2015/lib/dialog/index.js +5 -5
- package/esm2015/lib/drawer/drawer-container.component.js +73 -67
- package/esm2015/lib/drawer/drawer-content.component.js +27 -24
- package/esm2015/lib/drawer/drawer.component.js +145 -139
- package/esm2015/lib/drawer/drawer.module.js +23 -18
- package/esm2015/lib/drawer/index.js +5 -5
- package/esm2015/lib/dropdown/dropdown-panel.component.js +194 -0
- package/esm2015/lib/dropdown/dropdown.component.js +139 -127
- package/esm2015/lib/dropdown/dropdown.module.js +24 -15
- package/esm2015/lib/dropdown/index.js +4 -3
- package/esm2015/lib/form/form-field.component.js +20 -20
- package/esm2015/lib/form/form-field.module.js +21 -15
- package/esm2015/lib/form/form-hint.component.js +20 -0
- package/esm2015/lib/form/form.component.js +51 -51
- package/esm2015/lib/form/index.js +5 -4
- package/esm2015/lib/icon/icon.component.js +28 -28
- package/esm2015/lib/icon/icon.module.js +21 -16
- 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 -35
- package/esm2015/lib/input-mask/input-mask.module.js +23 -17
- 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 -16
- package/esm2015/lib/loading/index.js +6 -5
- package/esm2015/lib/loading/loading-spinner.component.js +32 -0
- package/esm2015/lib/loading/loading.component.js +54 -23
- package/esm2015/lib/loading/loading.directive.js +67 -70
- package/esm2015/lib/loading/loading.module.js +35 -18
- package/esm2015/lib/loading/loading.service.js +155 -157
- package/esm2015/lib/number-box/index.js +3 -3
- package/esm2015/lib/number-box/number-box.component.js +289 -242
- package/esm2015/lib/number-box/number-box.module.js +32 -24
- package/esm2015/lib/page/base-page.class.js +66 -84
- package/esm2015/lib/page/index.js +5 -3
- package/esm2015/lib/page/page-footer.component.js +32 -0
- package/esm2015/lib/page/page.component.js +33 -32
- package/esm2015/lib/page/page.module.js +18 -0
- package/esm2015/lib/popover/index.js +3 -0
- package/esm2015/lib/popover/popover.component.js +119 -0
- package/esm2015/lib/popover/popover.module.js +19 -0
- package/esm2015/lib/popup/index.js +4 -4
- package/esm2015/lib/popup/popup.component.js +97 -143
- package/esm2015/lib/popup/popup.module.js +26 -19
- package/esm2015/lib/popup/popup.service.js +94 -89
- 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 -188
- package/esm2015/lib/selectbox/selectbox.module.js +21 -16
- 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 -16
- 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 -16
- package/esm2015/lib/switch/index.js +3 -3
- package/esm2015/lib/switch/switch.component.js +30 -29
- package/esm2015/lib/switch/switch.module.js +21 -16
- package/esm2015/lib/tabs/index.js +6 -6
- package/esm2015/lib/tabs/tab-strip.component.js +61 -57
- package/esm2015/lib/tabs/tab-view.component.js +46 -45
- package/esm2015/lib/tabs/tab.component.js +59 -48
- package/esm2015/lib/tabs/tabs.class.js +4 -4
- package/esm2015/lib/tabs/tabs.module.js +23 -18
- package/esm2015/lib/textbox/index.js +3 -3
- package/esm2015/lib/textbox/textbox.component.js +62 -46
- package/esm2015/lib/textbox/textbox.module.js +43 -24
- package/esm2015/lib/time-box/index.js +3 -3
- package/esm2015/lib/time-box/time-box.component.js +134 -127
- package/esm2015/lib/time-box/time-box.module.js +32 -24
- 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 -54
- package/esm2015/lib/toast/toast.module.js +22 -17
- package/esm2015/lib/toast/toast.service.js +114 -117
- package/esm2015/lib/tooltip/index.js +4 -4
- package/esm2015/lib/tooltip/tooltip.component.js +45 -37
- package/esm2015/lib/tooltip/tooltip.directive.js +86 -81
- package/esm2015/lib/tooltip/tooltip.module.js +23 -18
- package/esm2015/lib/validation/index.js +3 -3
- package/esm2015/lib/validation/validation-rule.widget.js +113 -110
- package/esm2015/lib/validation/validation.class.js +2 -2
- package/esm2015/lib/validation/validation.module.js +32 -28
- package/esm2015/public-api.js +39 -32
- package/fesm2015/acorex-components.js +5918 -5285
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/alert/alert-button.component.d.ts +13 -10
- package/lib/alert/alert-contnet.component.d.ts +5 -2
- package/lib/alert/alert-footer.component.d.ts +5 -2
- package/lib/alert/alert-suffix.component.d.ts +5 -2
- package/lib/alert/alert-title.component.d.ts +5 -2
- package/lib/alert/alert.component.d.ts +46 -16
- package/lib/alert/alert.module.d.ts +13 -2
- package/lib/alert/index.d.ts +7 -7
- package/lib/avatar/avatar.component.d.ts +20 -0
- package/lib/avatar/avatar.module.d.ts +8 -0
- package/lib/avatar/index.d.ts +2 -0
- package/lib/base/common.module.d.ts +7 -2
- package/lib/base/custom-cdk-overlay.service.d.ts +19 -14
- package/lib/base/drawing.class.d.ts +9 -9
- package/lib/base/events.class.d.ts +72 -28
- package/lib/base/index.d.ts +6 -6
- package/lib/base/mixin/base-components.class.d.ts +84 -51
- package/lib/base/mixin/button-mixin.class.d.ts +79 -34
- package/lib/base/mixin/clickable-mixin.class.d.ts +42 -29
- package/lib/base/mixin/constratctor.d.ts +4 -4
- package/lib/base/mixin/datalist-component.class.d.ts +54 -45
- package/lib/base/mixin/dropdown-mixin.class.d.ts +47 -38
- package/lib/base/mixin/index.d.ts +2 -2
- package/lib/base/mixin/interactive-mixin.class.d.ts +60 -34
- package/lib/base/mixin/loading-mixin.class.d.ts +46 -28
- package/lib/base/mixin/mixin.class.d.ts +814 -493
- package/lib/base/mixin/selection-component.class.d.ts +55 -46
- package/lib/base/mixin/sizable-mixin.class.d.ts +40 -28
- package/lib/base/mixin/textbox-mixin.class.d.ts +59 -33
- package/lib/base/mixin/value-mixin.class.d.ts +68 -50
- package/lib/base/overlay.service.d.ts +31 -28
- package/lib/base/responsive.directive.d.ts +10 -7
- package/lib/base/styles.class.d.ts +17 -6
- package/lib/button/button-group.component.d.ts +36 -19
- package/lib/button/button-item.class.d.ts +22 -17
- package/lib/button/button-item.component.d.ts +92 -16
- package/lib/button/button.component.d.ts +18 -6
- package/lib/button/button.module.d.ts +13 -2
- package/lib/button/dropdown-button.component.d.ts +234 -27
- package/lib/button/index.d.ts +6 -6
- package/lib/calendar/calendar.component.d.ts +16 -17
- package/lib/calendar/calendar.module.d.ts +11 -2
- package/lib/calendar/index.d.ts +2 -2
- package/lib/carousel/carousel-arrows.component.d.ts +14 -11
- package/lib/carousel/carousel-item.component.d.ts +8 -5
- package/lib/carousel/carousel-pager.component.d.ts +22 -19
- package/lib/carousel/carousel-splidejs.class.d.ts +18 -18
- package/lib/carousel/carousel.class.d.ts +48 -45
- package/lib/carousel/carousel.component.d.ts +62 -59
- package/lib/carousel/carousel.module.d.ts +11 -2
- package/lib/carousel/index.d.ts +6 -6
- package/lib/checkbox/checkbox.component.d.ts +12 -9
- package/lib/checkbox/checkbox.module.d.ts +9 -2
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/datalist/datalist.component.d.ts +25 -22
- package/lib/datalist/datalist.module.d.ts +9 -2
- package/lib/datalist/index.d.ts +2 -2
- package/lib/datepicker/datepicker.component.d.ts +18 -15
- package/lib/datepicker/datepicker.module.d.ts +10 -2
- package/lib/datepicker/index.d.ts +2 -2
- package/lib/decorators/decorators.module.d.ts +9 -2
- package/lib/decorators/index.d.ts +3 -3
- package/lib/decorators/prefix.component.d.ts +8 -5
- package/lib/decorators/suffix.component.d.ts +8 -5
- package/lib/dialog/dialog.class.d.ts +12 -35
- package/lib/dialog/dialog.component.d.ts +15 -12
- package/lib/dialog/dialog.module.d.ts +13 -2
- package/lib/dialog/dialog.service.d.ts +18 -13
- package/lib/dialog/index.d.ts +4 -4
- package/lib/drawer/drawer-container.component.d.ts +13 -10
- package/lib/drawer/drawer-content.component.d.ts +8 -5
- package/lib/drawer/drawer.component.d.ts +30 -27
- package/lib/drawer/drawer.module.d.ts +10 -2
- package/lib/drawer/index.d.ts +4 -4
- package/lib/dropdown/dropdown-panel.component.d.ts +117 -0
- package/lib/dropdown/dropdown.component.d.ts +31 -22
- package/lib/dropdown/dropdown.module.d.ts +13 -2
- package/lib/dropdown/index.d.ts +3 -2
- package/lib/form/form-field.component.d.ts +8 -5
- package/lib/form/form-field.module.d.ts +10 -2
- package/lib/form/form-hint.component.d.ts +8 -0
- package/lib/form/form.component.d.ts +13 -10
- package/lib/form/index.d.ts +4 -3
- package/lib/icon/icon.component.d.ts +10 -7
- package/lib/icon/icon.module.d.ts +8 -2
- 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 -11
- package/lib/input-mask/input-mask.module.d.ts +9 -2
- package/lib/label/index.d.ts +2 -2
- package/lib/label/label.component.d.ts +8 -5
- package/lib/label/label.module.d.ts +8 -2
- package/lib/loading/index.d.ts +5 -4
- package/lib/loading/loading-spinner.component.d.ts +5 -0
- package/lib/loading/loading.component.d.ts +19 -5
- package/lib/loading/loading.directive.d.ts +22 -19
- package/lib/loading/loading.module.d.ts +13 -2
- package/lib/loading/loading.service.d.ts +48 -45
- package/lib/number-box/index.d.ts +2 -2
- package/lib/number-box/number-box.component.d.ts +69 -31
- package/lib/number-box/number-box.module.d.ts +11 -2
- package/lib/page/base-page.class.d.ts +37 -40
- package/lib/page/index.d.ts +4 -2
- package/lib/page/page-footer.component.d.ts +7 -0
- package/lib/page/page.component.d.ts +13 -11
- package/lib/page/page.module.d.ts +7 -0
- package/lib/popover/index.d.ts +2 -0
- package/lib/popover/popover.component.d.ts +30 -0
- package/lib/popover/popover.module.d.ts +8 -0
- 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 -2
- package/lib/popup/popup.service.d.ts +37 -18
- 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 -25
- package/lib/selectbox/selectbox.module.d.ts +10 -2
- package/lib/selection-list/index.d.ts +2 -2
- package/lib/selection-list/selection-list.component.d.ts +10 -7
- package/lib/selection-list/selection-list.module.d.ts +10 -2
- package/lib/side-menu/index.d.ts +2 -2
- package/lib/side-menu/side-menu.component.d.ts +8 -5
- package/lib/side-menu/side-menu.module.d.ts +8 -2
- package/lib/switch/index.d.ts +2 -2
- package/lib/switch/switch.component.d.ts +9 -6
- package/lib/switch/switch.module.d.ts +9 -2
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tabs/tab-strip.component.d.ts +17 -14
- package/lib/tabs/tab-view.component.d.ts +14 -11
- package/lib/tabs/tab.component.d.ts +18 -15
- package/lib/tabs/tabs.class.d.ts +18 -18
- package/lib/tabs/tabs.module.d.ts +10 -2
- package/lib/textbox/index.d.ts +2 -2
- package/lib/textbox/textbox.component.d.ts +19 -8
- package/lib/textbox/textbox.module.d.ts +13 -2
- package/lib/time-box/index.d.ts +2 -2
- package/lib/time-box/time-box.component.d.ts +29 -26
- package/lib/time-box/time-box.module.d.ts +11 -2
- 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 -13
- package/lib/toast/toast.module.d.ts +9 -2
- package/lib/toast/toast.service.d.ts +18 -15
- package/lib/tooltip/index.d.ts +3 -3
- package/lib/tooltip/tooltip.component.d.ts +10 -7
- package/lib/tooltip/tooltip.directive.d.ts +18 -15
- package/lib/tooltip/tooltip.module.d.ts +10 -2
- package/lib/validation/index.d.ts +2 -2
- package/lib/validation/validation-rule.widget.d.ts +25 -22
- package/lib/validation/validation.class.d.ts +17 -17
- package/lib/validation/validation.module.d.ts +9 -3
- package/package.json +19 -21
- package/public-api.d.ts +37 -31
- package/acorex-components.metadata.json +0 -1
- package/bundles/acorex-components.umd.min.js +0 -16
- package/bundles/acorex-components.umd.min.js.map +0 -1
- package/esm2015/lib/datapager/datapager-base.component.js +0 -33
- package/esm2015/lib/datapager/datapager-info.component.js +0 -59
- package/esm2015/lib/datapager/datapager-input-selector.component.js +0 -51
- package/esm2015/lib/datapager/datapager-next-buttons.components.js +0 -51
- package/esm2015/lib/datapager/datapager-numeric-selector.component.js +0 -86
- package/esm2015/lib/datapager/datapager-pagesize-dropdown.component.js +0 -69
- package/esm2015/lib/datapager/datapager-prev-buttons.component.js +0 -47
- package/esm2015/lib/datapager/datapager.component.js +0 -122
- package/esm2015/lib/datapager/datapager.module.js +0 -32
- package/esm2015/lib/datapager/index.js +0 -9
- package/lib/datapager/datapager-base.component.d.ts +0 -12
- package/lib/datapager/datapager-info.component.d.ts +0 -24
- package/lib/datapager/datapager-input-selector.component.d.ts +0 -12
- package/lib/datapager/datapager-next-buttons.components.d.ts +0 -14
- package/lib/datapager/datapager-numeric-selector.component.d.ts +0 -17
- package/lib/datapager/datapager-pagesize-dropdown.component.d.ts +0 -17
- package/lib/datapager/datapager-prev-buttons.component.d.ts +0 -13
- package/lib/datapager/datapager.component.d.ts +0 -41
- package/lib/datapager/datapager.module.d.ts +0 -2
- package/lib/datapager/index.d.ts +0 -8
|
@@ -1,45 +1,48 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { AXValueChangedEvent } from "../base";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
abstract
|
|
6
|
-
abstract
|
|
7
|
-
abstract
|
|
8
|
-
abstract
|
|
9
|
-
abstract
|
|
10
|
-
abstract
|
|
11
|
-
abstract
|
|
12
|
-
abstract
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { AXValueChangedEvent } from "../base";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare abstract class AXCarouselCore {
|
|
5
|
+
abstract next(): void;
|
|
6
|
+
abstract last(): void;
|
|
7
|
+
abstract prev(): void;
|
|
8
|
+
abstract first(): void;
|
|
9
|
+
abstract destroy(): void;
|
|
10
|
+
abstract goToSlide(index: number): void;
|
|
11
|
+
abstract goToPage(index: number): void;
|
|
12
|
+
abstract mount(instance: AXCarousel): void;
|
|
13
|
+
abstract rebuild(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselCore, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCarouselCore>;
|
|
16
|
+
}
|
|
17
|
+
export interface AXCarousel {
|
|
18
|
+
onSlideChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
19
|
+
onOptionsChanged: EventEmitter<void>;
|
|
20
|
+
pageSizeChange: EventEmitter<number>;
|
|
21
|
+
pageSize: number;
|
|
22
|
+
gap: number;
|
|
23
|
+
autoplayChange: EventEmitter<boolean>;
|
|
24
|
+
autoplay: boolean;
|
|
25
|
+
intervalChange: EventEmitter<number>;
|
|
26
|
+
interval: number;
|
|
27
|
+
centeredChange: EventEmitter<boolean>;
|
|
28
|
+
centered: boolean;
|
|
29
|
+
verticalChange: EventEmitter<boolean>;
|
|
30
|
+
vertical: boolean;
|
|
31
|
+
paddingChange: EventEmitter<string | number>;
|
|
32
|
+
padding: string | number;
|
|
33
|
+
loopChange: EventEmitter<boolean>;
|
|
34
|
+
loop: boolean;
|
|
35
|
+
rewindChange: EventEmitter<boolean>;
|
|
36
|
+
rewind: boolean;
|
|
37
|
+
visibleIndex: number;
|
|
38
|
+
onItemsChanged: EventEmitter<AXValueChangedEvent<HTMLDivElement[]>>;
|
|
39
|
+
items: HTMLDivElement[];
|
|
40
|
+
rtl: boolean;
|
|
41
|
+
next(): void;
|
|
42
|
+
last(): void;
|
|
43
|
+
prev(): void;
|
|
44
|
+
first(): void;
|
|
45
|
+
goToSlide(index: number): void;
|
|
46
|
+
goToPage(index: number): void;
|
|
47
|
+
host: HTMLDivElement;
|
|
48
|
+
}
|
|
@@ -1,59 +1,62 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin, AXValueChangedEvent } from '../base';
|
|
3
|
-
import { AXCarousel, AXCarouselCore } from './carousel.class';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
private
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, NgZone, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXValueChangedEvent } from '../base';
|
|
3
|
+
import { AXCarousel, AXCarouselCore } from './carousel.class';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXCarouselComponent extends AXBaseComponentMixin implements AXCarousel {
|
|
6
|
+
private zone;
|
|
7
|
+
private core;
|
|
8
|
+
constructor(elementRef: ElementRef, zone: NgZone, cdr: ChangeDetectorRef, core: AXCarouselCore);
|
|
9
|
+
onOptionsChanged: EventEmitter<void>;
|
|
10
|
+
onSlideChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
11
|
+
pageSizeChange: EventEmitter<number>;
|
|
12
|
+
private _pageSize;
|
|
13
|
+
get pageSize(): number;
|
|
14
|
+
set pageSize(v: number);
|
|
15
|
+
gap: number;
|
|
16
|
+
autoplayChange: EventEmitter<boolean>;
|
|
17
|
+
private _autoplay;
|
|
18
|
+
get autoplay(): boolean;
|
|
19
|
+
set autoplay(v: boolean);
|
|
20
|
+
intervalChange: EventEmitter<number>;
|
|
21
|
+
private _interval;
|
|
22
|
+
get interval(): number;
|
|
23
|
+
set interval(v: number);
|
|
24
|
+
paddingChange: EventEmitter<number | string>;
|
|
25
|
+
private _padding;
|
|
26
|
+
get padding(): number | string;
|
|
27
|
+
set padding(v: number | string);
|
|
28
|
+
centeredChange: EventEmitter<boolean>;
|
|
29
|
+
private _centered;
|
|
30
|
+
get centered(): boolean;
|
|
31
|
+
set centered(v: boolean);
|
|
32
|
+
verticalChange: EventEmitter<boolean>;
|
|
33
|
+
private _vertical;
|
|
34
|
+
get vertical(): boolean;
|
|
35
|
+
set vertical(v: boolean);
|
|
36
|
+
loopChange: EventEmitter<boolean>;
|
|
37
|
+
private _loop;
|
|
38
|
+
get loop(): boolean;
|
|
39
|
+
set loop(v: boolean);
|
|
40
|
+
rewindChange: EventEmitter<boolean>;
|
|
41
|
+
private _rewind;
|
|
42
|
+
get rewind(): boolean;
|
|
43
|
+
set rewind(v: boolean);
|
|
44
|
+
private _visibleIndex;
|
|
45
|
+
get visibleIndex(): number;
|
|
46
|
+
set visibleIndex(v: number);
|
|
47
|
+
onItemsChanged: EventEmitter<AXValueChangedEvent<HTMLDivElement[]>>;
|
|
48
|
+
private _items;
|
|
49
|
+
get items(): HTMLDivElement[];
|
|
50
|
+
set items(v: HTMLDivElement[]);
|
|
51
|
+
onViewInit(): void;
|
|
52
|
+
next(): void;
|
|
53
|
+
last(): void;
|
|
54
|
+
prev(): void;
|
|
55
|
+
first(): void;
|
|
56
|
+
goToSlide(index: number): void;
|
|
57
|
+
goToPage(index: number): void;
|
|
58
|
+
get host(): HTMLDivElement;
|
|
59
|
+
onDestroy(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselComponent, "ax-carousel", never, { "pageSize": "pageSize"; "gap": "gap"; "autoplay": "autoplay"; "interval": "interval"; "padding": "padding"; "centered": "centered"; "vertical": "vertical"; "loop": "loop"; "rewind": "rewind"; }, { "onOptionsChanged": "onOptionsChanged"; "onSlideChanged": "onSlideChanged"; "pageSizeChange": "pageSizeChange"; "autoplayChange": "autoplayChange"; "intervalChange": "intervalChange"; "paddingChange": "paddingChange"; "centeredChange": "centeredChange"; "verticalChange": "verticalChange"; "loopChange": "loopChange"; "rewindChange": "rewindChange"; "onItemsChanged": "onItemsChanged"; }, never, ["ax-carousel-item", "ax-carousel-arrows", "ax-carousel-pager"]>;
|
|
62
|
+
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./carousel.component";
|
|
3
|
+
import * as i2 from "./carousel-item.component";
|
|
4
|
+
import * as i3 from "./carousel-arrows.component";
|
|
5
|
+
import * as i4 from "./carousel-pager.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
export declare class AXCarouselModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCarouselModule, [typeof i1.AXCarouselComponent, typeof i2.AXCarouselItemComponent, typeof i3.AXCarouselArrowsComponent, typeof i4.AXCarouselPagerComponent], [typeof i5.CommonModule], [typeof i1.AXCarouselComponent, typeof i2.AXCarouselItemComponent, typeof i3.AXCarouselArrowsComponent, typeof i4.AXCarouselPagerComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCarouselModule>;
|
|
11
|
+
}
|
package/lib/carousel/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './carousel.class';
|
|
2
|
-
export * from './carousel.component';
|
|
3
|
-
export * from './carousel-item.component';
|
|
4
|
-
export * from './carousel-arrows.component';
|
|
5
|
-
export * from './carousel-pager.component';
|
|
6
|
-
export * from './carousel.module';
|
|
1
|
+
export * from './carousel.class';
|
|
2
|
+
export * from './carousel.component';
|
|
3
|
+
export * from './carousel-item.component';
|
|
4
|
+
export * from './carousel-arrows.component';
|
|
5
|
+
export * from './carousel-pager.component';
|
|
6
|
+
export * from './carousel.module';
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { AXBaseValueComponentMixin } from '../base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseValueComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
5
|
+
indeterminate: boolean;
|
|
6
|
+
_id: string;
|
|
7
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
|
+
onInit(): void;
|
|
9
|
+
_handleOnClickEvent(e: MouseEvent): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "indeterminate": "indeterminate"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["*", "ax-validation-rule"]>;
|
|
12
|
+
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class AXCheckBoxModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, [typeof i1.AXCheckBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.AXCheckBoxComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCheckBoxModule>;
|
|
9
|
+
}
|
package/lib/checkbox/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './checkbox.component';
|
|
2
|
-
export * from './checkbox.module';
|
|
1
|
+
export * from './checkbox.component';
|
|
2
|
+
export * from './checkbox.module';
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { AXBaseSelectionValueMixin } from '../base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AXBaseSelectionValueMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDataListComponent extends AXBaseSelectionValueMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
_container: ElementRef<HTMLDivElement>;
|
|
7
|
+
_contentItemTemplate: TemplateRef<any>;
|
|
8
|
+
private _itemTemplate;
|
|
9
|
+
get itemTemplate(): TemplateRef<any>;
|
|
10
|
+
set itemTemplate(v: TemplateRef<any>);
|
|
11
|
+
_contentEmptyTemplate: TemplateRef<any>;
|
|
12
|
+
private _emptyTemplate;
|
|
13
|
+
get emptyTemplate(): TemplateRef<any>;
|
|
14
|
+
set emptyTemplate(v: TemplateRef<any>);
|
|
15
|
+
_contentloadingTemplate: TemplateRef<any>;
|
|
16
|
+
private _loadingTemplate;
|
|
17
|
+
get loadingTemplate(): TemplateRef<any>;
|
|
18
|
+
set loadingTemplate(v: TemplateRef<any>);
|
|
19
|
+
_handleOnItemClick(e: MouseEvent, item: any): void;
|
|
20
|
+
_handleListScroll(e: Event): void;
|
|
21
|
+
private _checkForLoadData;
|
|
22
|
+
_onDataLoaded(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataListComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataListComponent, "ax-datalist", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "items": "items"; "pageSize": "pageSize"; "itemTemplate": "itemTemplate"; "emptyTemplate": "emptyTemplate"; "loadingTemplate": "loadingTemplate"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["_contentItemTemplate", "_contentEmptyTemplate", "_contentloadingTemplate"], never>;
|
|
25
|
+
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./datalist.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../button/button.module";
|
|
5
|
+
export declare class AXDataListModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataListModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataListModule, [typeof i1.AXDataListComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule], [typeof i1.AXDataListComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXDataListModule>;
|
|
9
|
+
}
|
package/lib/datalist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './datalist.component';
|
|
2
|
-
export * from './datalist.module';
|
|
1
|
+
export * from './datalist.component';
|
|
2
|
+
export * from './datalist.module';
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDatepickerComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
dayItems: number[];
|
|
7
|
+
yearItems: number[];
|
|
8
|
+
monthItems: string[];
|
|
9
|
+
_showDays: boolean;
|
|
10
|
+
_showsMonths: boolean;
|
|
11
|
+
_showYears: boolean;
|
|
12
|
+
showMonths(): void;
|
|
13
|
+
showYears(): void;
|
|
14
|
+
showDays(): void;
|
|
15
|
+
createYears(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatepickerComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatepickerComponent, "ax-datepicker", never, {}, {}, never, ["ax-prefix", "ax-suffix"]>;
|
|
18
|
+
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./datepicker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../calendar/calendar.module";
|
|
5
|
+
import * as i4 from "../dropdown/dropdown.module";
|
|
6
|
+
export declare class AXDatepickerModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatepickerModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDatepickerModule, [typeof i1.AXDatepickerComponent], [typeof i2.CommonModule, typeof i3.AXCalendarModule, typeof i4.AXDropdownModule], [typeof i1.AXDatepickerComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXDatepickerModule>;
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './datepicker.component';
|
|
2
|
-
export * from './datepicker.module';
|
|
1
|
+
export * from './datepicker.component';
|
|
2
|
+
export * from './datepicker.module';
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./prefix.component";
|
|
3
|
+
import * as i2 from "./suffix.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class AXEditorDecoratorModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXEditorDecoratorModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent], [typeof i3.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXEditorDecoratorModule>;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './prefix.component';
|
|
2
|
-
export * from './suffix.component';
|
|
3
|
-
export * from './decorators.module';
|
|
1
|
+
export * from './prefix.component';
|
|
2
|
+
export * from './suffix.component';
|
|
3
|
+
export * from './decorators.module';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPrefixComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["ax-button,ax-loading,ax-dropdown-button,ax-icon"]>;
|
|
8
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSuffixComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button", "ax-dropdown-button", "ax-icon"]>;
|
|
8
|
+
}
|
|
@@ -1,35 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AXButtonItem } from "../button";
|
|
3
|
-
export interface AXDialogOptions {
|
|
4
|
-
title: string;
|
|
5
|
-
content: string;
|
|
6
|
-
buttons?: AXButtonItem[];
|
|
7
|
-
type:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
private _executor;
|
|
14
|
-
constructor(executor: (close: (e?: any) => void) => void);
|
|
15
|
-
private closeAction;
|
|
16
|
-
close(action: (e?: any) => void): AXDialogAlertResult;
|
|
17
|
-
}
|
|
18
|
-
export declare class AXDialogConfirmResult {
|
|
19
|
-
private _executor;
|
|
20
|
-
constructor(executor: (okay: () => void, cancel: () => void, final: () => void) => void);
|
|
21
|
-
private okayAction;
|
|
22
|
-
private cancelAction;
|
|
23
|
-
private finalAction;
|
|
24
|
-
okay(action: () => void): AXDialogConfirmResult;
|
|
25
|
-
cancel(action: () => void): AXDialogConfirmResult;
|
|
26
|
-
final(action: () => void): void;
|
|
27
|
-
}
|
|
28
|
-
export declare class AXDialogResult {
|
|
29
|
-
private _executor;
|
|
30
|
-
constructor(executor: (then: (name: string) => void, final: () => void) => void);
|
|
31
|
-
private thenAction;
|
|
32
|
-
private finalAction;
|
|
33
|
-
then(action: (name: string) => void): AXDialogResult;
|
|
34
|
-
final(action: () => void): void;
|
|
35
|
-
}
|
|
1
|
+
import { AXStyleColorType } from "../base/styles.class";
|
|
2
|
+
import { AXButtonItem } from "../button";
|
|
3
|
+
export interface AXDialogOptions {
|
|
4
|
+
title: string;
|
|
5
|
+
content: string;
|
|
6
|
+
buttons?: AXButtonItem[];
|
|
7
|
+
type: AXStyleColorType;
|
|
8
|
+
dismissible?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface AXDialogRef {
|
|
11
|
+
close(): void;
|
|
12
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
import { AXButtonItem } from '../button';
|
|
4
|
-
import { AXDialogOptions } from './dialog.class';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import { AXButtonItem } from '../button';
|
|
4
|
+
import { AXDialogOptions } from './dialog.class';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AXDialogComponent extends AXBaseComponentMixin {
|
|
7
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
|
+
options: AXDialogOptions;
|
|
9
|
+
_icon: string;
|
|
10
|
+
close: () => void;
|
|
11
|
+
onInit(): void;
|
|
12
|
+
_handleButtonClick(button: AXButtonItem): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, {}, {}, never, never>;
|
|
15
|
+
}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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,13 +1,18 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { Injector } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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';
|