@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,46 +1,55 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXSelectionValueChangedEvent } from '../events.class';
|
|
3
|
-
import { AXBaseComponent } from './base-components.class';
|
|
4
|
-
import { Constructor } from './constratctor';
|
|
5
|
-
export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
valueField: string;
|
|
8
|
-
textField: string | string[];
|
|
9
|
-
multiple: boolean;
|
|
10
|
-
selectionMode: 'value' | 'item';
|
|
11
|
-
readonly items: any[];
|
|
12
|
-
readonly displayItems: any[];
|
|
13
|
-
valueChange: EventEmitter<any>;
|
|
14
|
-
onValueChanged: EventEmitter<AXSelectionValueChangedEvent>;
|
|
15
|
-
_onInternalInit(): void;
|
|
16
|
-
_value: any | any[];
|
|
17
|
-
value: any;
|
|
18
|
-
_selectedItems: any[];
|
|
19
|
-
readonly selectedItems: any[];
|
|
20
|
-
_renderSelection(): void;
|
|
21
|
-
_getItemByDataMode(item: any): any;
|
|
22
|
-
_getItemValue(item: any): any;
|
|
23
|
-
unselectItems(...items: any[]): void;
|
|
24
|
-
selectItems(...items: any[]): void;
|
|
25
|
-
toggleSelect(...items: any[]): void;
|
|
26
|
-
isItemSelected(item: any): boolean;
|
|
27
|
-
id: string;
|
|
28
|
-
rtl: boolean;
|
|
29
|
-
cssClass: string;
|
|
30
|
-
cssStyle: string;
|
|
31
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
32
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
33
|
-
_isInited: boolean;
|
|
34
|
-
_isRendered: boolean;
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngAfterViewInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
39
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
40
|
-
_onInternalViewInit(): void;
|
|
41
|
-
_onInternalDestroy(): void;
|
|
42
|
-
onInit(): void;
|
|
43
|
-
onViewInit(): void;
|
|
44
|
-
onDestroy(): void;
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXSelectionValueChangedEvent } from '../events.class';
|
|
3
|
+
import { AXBaseComponent } from './base-components.class';
|
|
4
|
+
import { Constructor } from './constratctor';
|
|
5
|
+
export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
valueField: string;
|
|
8
|
+
textField: string | string[];
|
|
9
|
+
multiple: boolean;
|
|
10
|
+
selectionMode: 'value' | 'item';
|
|
11
|
+
readonly items: any[];
|
|
12
|
+
readonly displayItems: any[];
|
|
13
|
+
valueChange: EventEmitter<any>;
|
|
14
|
+
onValueChanged: EventEmitter<AXSelectionValueChangedEvent>;
|
|
15
|
+
_onInternalInit(): void;
|
|
16
|
+
_value: any | any[];
|
|
17
|
+
value: any;
|
|
18
|
+
_selectedItems: any[];
|
|
19
|
+
readonly selectedItems: any[];
|
|
20
|
+
_renderSelection(): void;
|
|
21
|
+
_getItemByDataMode(item: any): any;
|
|
22
|
+
_getItemValue(item: any): any;
|
|
23
|
+
unselectItems(...items: any[]): void;
|
|
24
|
+
selectItems(...items: any[]): void;
|
|
25
|
+
toggleSelect(...items: any[]): void;
|
|
26
|
+
isItemSelected(item: any): boolean;
|
|
27
|
+
id: string;
|
|
28
|
+
rtl: boolean;
|
|
29
|
+
cssClass: string;
|
|
30
|
+
cssStyle: string;
|
|
31
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
32
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
33
|
+
_isInited: boolean;
|
|
34
|
+
_isRendered: boolean;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
39
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
40
|
+
_onInternalViewInit(): void;
|
|
41
|
+
_onInternalDestroy(): void;
|
|
42
|
+
onInit(): void;
|
|
43
|
+
onViewInit(): void;
|
|
44
|
+
onDestroy(): void;
|
|
45
|
+
onOptionChanging(option: {
|
|
46
|
+
name: string;
|
|
47
|
+
value?: any;
|
|
48
|
+
}): any;
|
|
49
|
+
onOptionChanged(option: {
|
|
50
|
+
name: string;
|
|
51
|
+
oldValue?: any;
|
|
52
|
+
newValue?: any;
|
|
53
|
+
}): void;
|
|
54
|
+
};
|
|
55
|
+
} & TBase;
|
|
@@ -1,28 +1,40 @@
|
|
|
1
|
-
import { AXBaseComponent, AXElementSize } from './base-components.class';
|
|
2
|
-
import { Constructor } from './constratctor';
|
|
3
|
-
export declare function _SizableComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { AXBaseComponent, AXElementSize } from './base-components.class';
|
|
2
|
+
import { Constructor } from './constratctor';
|
|
3
|
+
export declare function _SizableComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
/**
|
|
6
|
+
* A token that specifies the size of component.
|
|
7
|
+
*/
|
|
8
|
+
size: AXElementSize;
|
|
9
|
+
_onInternalInit(): void;
|
|
10
|
+
id: string;
|
|
11
|
+
rtl: boolean;
|
|
12
|
+
cssClass: string;
|
|
13
|
+
cssStyle: string;
|
|
14
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
15
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
16
|
+
_isInited: boolean;
|
|
17
|
+
_isRendered: boolean;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
22
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
23
|
+
_onInternalViewInit(): void;
|
|
24
|
+
_onInternalDestroy(): void;
|
|
25
|
+
onInit(): void;
|
|
26
|
+
onViewInit(): void;
|
|
27
|
+
onDestroy(): void;
|
|
28
|
+
onOptionChanging(option: {
|
|
29
|
+
name: string;
|
|
30
|
+
value?: any;
|
|
31
|
+
}): any;
|
|
32
|
+
onOptionChanged(option: {
|
|
33
|
+
name: string;
|
|
34
|
+
oldValue?: any;
|
|
35
|
+
newValue?: any;
|
|
36
|
+
}): void;
|
|
37
|
+
};
|
|
38
|
+
} & TBase;
|
|
39
|
+
export declare const SIZABLE_INPUTS: string[];
|
|
40
|
+
export declare const SIZABLE_OUTPUT: any[];
|
|
@@ -1,33 +1,59 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXHtmlEvent } from '../events.class';
|
|
3
|
-
import { AXBaseComponent } from './base-components.class';
|
|
4
|
-
import { Constructor } from './constratctor';
|
|
5
|
-
export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
|
-
new (...args: any[]): {
|
|
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
|
-
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXHtmlEvent } from '../events.class';
|
|
3
|
+
import { AXBaseComponent } from './base-components.class';
|
|
4
|
+
import { Constructor } from './constratctor';
|
|
5
|
+
export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
/**
|
|
8
|
+
* A string value that specifies the placeholder of text box.
|
|
9
|
+
*/
|
|
10
|
+
placeholder: string;
|
|
11
|
+
/**
|
|
12
|
+
* A number value that specifies the maximum characters of text box.
|
|
13
|
+
*/
|
|
14
|
+
maxLength: number;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies that autocomplete is on or off.
|
|
17
|
+
*/
|
|
18
|
+
autoComplete: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Fires each time the user press a key.
|
|
21
|
+
* @event
|
|
22
|
+
*/
|
|
23
|
+
onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
|
24
|
+
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
25
|
+
id: string;
|
|
26
|
+
rtl: boolean;
|
|
27
|
+
cssClass: string;
|
|
28
|
+
cssStyle: string;
|
|
29
|
+
/**
|
|
30
|
+
* A number value that specifies the maximum characters of text box.
|
|
31
|
+
*/
|
|
32
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
33
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
34
|
+
_isInited: boolean;
|
|
35
|
+
_isRendered: boolean;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngAfterViewInit(): void;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
40
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
41
|
+
_onInternalInit(): void;
|
|
42
|
+
_onInternalViewInit(): void;
|
|
43
|
+
_onInternalDestroy(): void;
|
|
44
|
+
onInit(): void;
|
|
45
|
+
onViewInit(): void;
|
|
46
|
+
onDestroy(): void;
|
|
47
|
+
onOptionChanging(option: {
|
|
48
|
+
name: string;
|
|
49
|
+
value?: any;
|
|
50
|
+
}): any;
|
|
51
|
+
onOptionChanged(option: {
|
|
52
|
+
name: string;
|
|
53
|
+
oldValue?: any;
|
|
54
|
+
newValue?: any;
|
|
55
|
+
}): void;
|
|
56
|
+
};
|
|
57
|
+
} & TBase;
|
|
58
|
+
export declare const TEXTBOX_INPUTS: string[];
|
|
59
|
+
export declare const TEXTBOX_OUTPUT: string[];
|
|
@@ -1,50 +1,68 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXBaseComponent } from './base-components.class';
|
|
3
|
-
import { Constructor } from './constratctor';
|
|
4
|
-
import { AXValueChangedEvent } from '../events.class';
|
|
5
|
-
import { AXValidationRuleResult } from '../../validation/validation.class';
|
|
6
|
-
import { Subject, Subscription } from 'rxjs';
|
|
7
|
-
export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase):
|
|
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
|
-
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent } from './base-components.class';
|
|
3
|
+
import { Constructor } from './constratctor';
|
|
4
|
+
import { AXValueChangedEvent } from '../events.class';
|
|
5
|
+
import { AXValidationRuleResult } from '../../validation/validation.class';
|
|
6
|
+
import { Subject, Subscription } from 'rxjs';
|
|
7
|
+
export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
8
|
+
new (...args: any[]): {
|
|
9
|
+
/**
|
|
10
|
+
* Fires each time the user press a key.
|
|
11
|
+
* @event
|
|
12
|
+
*/
|
|
13
|
+
onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
|
|
14
|
+
valueChange: EventEmitter<any>;
|
|
15
|
+
"__#6@#readonly": boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If set to true, user cannot change the value of component.
|
|
18
|
+
*/
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
"__#6@#allowNull": boolean;
|
|
21
|
+
allowNull: boolean;
|
|
22
|
+
"__#6@#name": string;
|
|
23
|
+
name: string;
|
|
24
|
+
"__#6@#debounceTime": number;
|
|
25
|
+
debounceTime: number;
|
|
26
|
+
"__#6@#valueSubscription": Subscription;
|
|
27
|
+
"__#6@#valueSubject": Subject<unknown>;
|
|
28
|
+
"__#6@#value": any;
|
|
29
|
+
value: any;
|
|
30
|
+
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
31
|
+
_onValueChanging(value: any): any;
|
|
32
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
33
|
+
_onInternalInit(): void;
|
|
34
|
+
_onInternalDestroy(): void;
|
|
35
|
+
_setValue(v: any): void;
|
|
36
|
+
clear(): void;
|
|
37
|
+
validate(): Promise<AXValidationRuleResult>;
|
|
38
|
+
_setErrorState(state: 'clear' | 'success' | 'error', ...args: any[]): void;
|
|
39
|
+
id: string;
|
|
40
|
+
rtl: boolean;
|
|
41
|
+
cssClass: string;
|
|
42
|
+
cssStyle: string;
|
|
43
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
44
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
45
|
+
_isInited: boolean;
|
|
46
|
+
_isRendered: boolean;
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
ngAfterViewInit(): void;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
51
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
52
|
+
_onInternalViewInit(): void;
|
|
53
|
+
onInit(): void;
|
|
54
|
+
onViewInit(): void;
|
|
55
|
+
onDestroy(): void;
|
|
56
|
+
onOptionChanging(option: {
|
|
57
|
+
name: string;
|
|
58
|
+
value?: any;
|
|
59
|
+
}): any;
|
|
60
|
+
onOptionChanged(option: {
|
|
61
|
+
name: string;
|
|
62
|
+
oldValue?: any;
|
|
63
|
+
newValue?: any;
|
|
64
|
+
}): void;
|
|
65
|
+
};
|
|
66
|
+
} & TBase;
|
|
67
|
+
export declare const VALUE_INPUTS: string[];
|
|
68
|
+
export declare const VALUE_OUTPUT: string[];
|
|
@@ -1,28 +1,31 @@
|
|
|
1
|
-
import { ApplicationRef } from '@angular/core';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
-
import { AXConnectedPosition } from '.';
|
|
4
|
-
import { DynamicOverlay } from './custom-cdk-overlay.service';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { ApplicationRef } from '@angular/core';
|
|
2
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
+
import { AXConnectedPosition } from '.';
|
|
4
|
+
import { DynamicOverlay } from './custom-cdk-overlay.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface AXOverlayViewRef {
|
|
7
|
+
instance: any;
|
|
8
|
+
dispose: () => void;
|
|
9
|
+
isOpen: () => boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface AXOverlayConfigs {
|
|
12
|
+
position?: AXConnectedPosition | AXConnectedPosition[];
|
|
13
|
+
hasBackdrop?: boolean;
|
|
14
|
+
transparentBackdrop?: boolean;
|
|
15
|
+
closeOnClickOutside?: boolean;
|
|
16
|
+
targetElement?: HTMLElement;
|
|
17
|
+
containerElement?: HTMLElement;
|
|
18
|
+
onBackdropClick?: () => void;
|
|
19
|
+
panelClass?: string[] | string;
|
|
20
|
+
backdropClass?: string[] | string;
|
|
21
|
+
scroll?: 'auto' | 'block' | 'close';
|
|
22
|
+
}
|
|
23
|
+
export declare class AXOverlayService {
|
|
24
|
+
private overlayService;
|
|
25
|
+
private overlayService2;
|
|
26
|
+
private appRef;
|
|
27
|
+
constructor(overlayService: DynamicOverlay, overlayService2: Overlay, appRef: ApplicationRef);
|
|
28
|
+
show(content: any, context?: any, configs?: AXOverlayConfigs): AXOverlayViewRef;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
|
|
31
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
private
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXResponsiveDirective implements OnDestroy {
|
|
4
|
+
private _elementRef;
|
|
5
|
+
private _observer;
|
|
6
|
+
constructor(_elementRef: ElementRef<HTMLDivElement>);
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXResponsiveDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXResponsiveDirective, "[ax-responsive]", never, {}, {}, never>;
|
|
10
|
+
}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
export declare const AX_STYLE_TYPES: string[];
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare
|
|
6
|
-
export declare type
|
|
1
|
+
export declare const AX_STYLE_TYPES: string[];
|
|
2
|
+
/**
|
|
3
|
+
* A token that specifies the color style of component.
|
|
4
|
+
*/
|
|
5
|
+
export declare type AXStyleColorType = 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'light' | 'dark';
|
|
6
|
+
export declare type AXStyleButtonLook = 'blank' | 'outline' | 'twotone' | 'link';
|
|
7
|
+
export declare const AX_LOCATIONS: string[];
|
|
8
|
+
export declare type AXLocation = 'bottom-start' | 'bottom-center' | 'bottom-end' | 'top-start' | 'top-center' | 'top-end';
|
|
9
|
+
export declare const AX_DIRECTIONS: string[];
|
|
10
|
+
/**
|
|
11
|
+
* A token that specifies the direction of component.
|
|
12
|
+
*/
|
|
13
|
+
export declare type AXDirection = 'vertical' | 'horizontal';
|
|
14
|
+
/**
|
|
15
|
+
* A token that specifies the selection mode of component.
|
|
16
|
+
*/
|
|
17
|
+
export declare type AXSelectionMode = 'single' | 'multiple';
|
|
@@ -1,19 +1,36 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, QueryList } from "@angular/core";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
export declare class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
6
|
-
private zone;
|
|
7
|
-
|
|
8
|
-
private
|
|
9
|
-
get
|
|
10
|
-
set
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, QueryList } from "@angular/core";
|
|
2
|
+
import { AXButtonComponent } from "./button.component";
|
|
3
|
+
import { AXClickEvent, AXInteractiveComponenetMixin, AXItemClickEvent, AXSelectionMode, AXSelectionValueChangedEvent, AXStyleButtonLook, AXStyleColorType } from "../base";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
6
|
+
private zone;
|
|
7
|
+
selectionChange: EventEmitter<AXSelectionMode>;
|
|
8
|
+
private _selection;
|
|
9
|
+
get selection(): AXSelectionMode;
|
|
10
|
+
set selection(value: AXSelectionMode);
|
|
11
|
+
colorChange: EventEmitter<AXStyleColorType>;
|
|
12
|
+
private _color;
|
|
13
|
+
/**
|
|
14
|
+
* Predefined color schemes
|
|
15
|
+
*/
|
|
16
|
+
get color(): AXStyleColorType;
|
|
17
|
+
set color(value: AXStyleColorType);
|
|
18
|
+
lookChange: EventEmitter<AXStyleButtonLook>;
|
|
19
|
+
private _look?;
|
|
20
|
+
/**
|
|
21
|
+
* Predefined look schemes
|
|
22
|
+
*/
|
|
23
|
+
get look(): AXStyleButtonLook;
|
|
24
|
+
set look(value: AXStyleButtonLook);
|
|
25
|
+
onItemClick: EventEmitter<AXItemClickEvent<AXButtonComponent>>;
|
|
26
|
+
onValueChanged: EventEmitter<AXSelectionValueChangedEvent>;
|
|
27
|
+
_contentButtons: QueryList<AXButtonComponent>;
|
|
28
|
+
constructor(elementRef: ElementRef, zone: NgZone, cdr: ChangeDetectorRef);
|
|
29
|
+
ngAfterContentInit(): void;
|
|
30
|
+
private _bindEvents;
|
|
31
|
+
private _bindProps;
|
|
32
|
+
onOptionChanged(options: any): void;
|
|
33
|
+
_handleClickEvent(e: AXClickEvent, button: AXButtonComponent): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "cssClass": "cssClass"; "size": "size"; "cssStyle": "cssStyle"; "rtl": "rtl"; "disabled": "disabled"; "selection": "selection"; "color": "color"; "look": "look"; }, { "selectionChange": "selectionChange"; "colorChange": "colorChange"; "lookChange": "lookChange"; "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-button"]>;
|
|
36
|
+
}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { AXStyleButtonLook, AXStyleColorType } from "../base";
|
|
2
|
+
export interface AXClickItemBase {
|
|
3
|
+
cssClass?: string;
|
|
4
|
+
color?: AXStyleColorType;
|
|
5
|
+
look?: AXStyleButtonLook;
|
|
6
|
+
text?: string;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
iconClass?: string;
|
|
9
|
+
badge?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
selected?: boolean;
|
|
12
|
+
seperated?: boolean;
|
|
13
|
+
name?: string;
|
|
14
|
+
data?: any;
|
|
15
|
+
onClick?: (...args: any[]) => void;
|
|
16
|
+
}
|
|
17
|
+
export interface AXButtonItem extends AXClickItemBase {
|
|
18
|
+
submitBehavior?: Boolean;
|
|
19
|
+
cancelBehavior?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface AXMenuItem extends AXClickItemBase {
|
|
22
|
+
}
|