@acorex/components 5.5.0 → 5.8.0
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/esm2020/lib/action-sheet/action-sheet-item.component.mjs +4 -4
- package/esm2020/lib/action-sheet/action-sheet.component.mjs +4 -4
- package/esm2020/lib/action-sheet/action-sheet.module.mjs +5 -5
- package/esm2020/lib/alert/alert.component.mjs +23 -10
- package/esm2020/lib/alert/alert.module.mjs +5 -9
- package/esm2020/lib/alert/index.mjs +1 -2
- package/esm2020/lib/avatar/avatar-group.component.mjs +3 -3
- package/esm2020/lib/avatar/avatar.component.mjs +3 -3
- package/esm2020/lib/avatar/avatar.module.mjs +5 -5
- package/esm2020/lib/badge/badge.component.mjs +3 -3
- package/esm2020/lib/badge/badge.module.mjs +5 -5
- package/esm2020/lib/base/auto-focus.directive.mjs +43 -0
- package/esm2020/lib/base/common.module.mjs +9 -7
- package/esm2020/lib/base/components.class.mjs +34 -13
- package/esm2020/lib/base/custom-cdk-overlay.service.mjs +6 -6
- package/esm2020/lib/base/events.class.mjs +1 -1
- package/esm2020/lib/base/hotkey.directive.mjs +79 -0
- package/esm2020/lib/base/index.mjs +3 -1
- package/esm2020/lib/base/infinite-scroll.directive.mjs +3 -3
- package/esm2020/lib/base/mixin/base-components.class.mjs +3 -3
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +2 -23
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +13 -13
- package/esm2020/lib/base/mixin/index.mjs +3 -1
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +2 -2
- package/esm2020/lib/base/mixin/loading-mixin.class.mjs +1 -1
- package/esm2020/lib/base/mixin/mixin.class.mjs +2 -3
- package/esm2020/lib/base/mixin/selection-component.class.mjs +2 -2
- package/esm2020/lib/base/mixin/textbox-mixin.class.mjs +82 -26
- package/esm2020/lib/base/mixin/value-mixin.class.mjs +47 -59
- package/esm2020/lib/base/overlay.service.mjs +3 -3
- package/esm2020/lib/base/responsive.directive.mjs +3 -3
- package/esm2020/lib/breadcrumbs/breadcrumbs-item.component.mjs +3 -3
- package/esm2020/lib/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2020/lib/breadcrumbs/breadcrumbs.module.mjs +5 -5
- package/esm2020/lib/button/button-group.component.mjs +23 -57
- package/esm2020/lib/button/button-item.class.mjs +1 -1
- package/esm2020/lib/button/button-item.component.mjs +4 -4
- package/esm2020/lib/button/button.component.mjs +20 -29
- package/esm2020/lib/button/button.module.mjs +5 -5
- package/esm2020/lib/calendar/calendar.class.mjs +3 -3
- package/esm2020/lib/calendar/calendar.component.mjs +10 -10
- package/esm2020/lib/calendar/calendar.module.mjs +5 -5
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +4 -4
- package/esm2020/lib/carousel/carousel-item.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-pager.component.mjs +4 -4
- package/esm2020/lib/carousel/carousel.class.mjs +3 -3
- package/esm2020/lib/carousel/carousel.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel.module.mjs +5 -5
- package/esm2020/lib/checkbox/checkbox.component.mjs +8 -7
- package/esm2020/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/lib/collapse/collapse-group.component.mjs +3 -3
- package/esm2020/lib/collapse/collapse.component.mjs +3 -3
- package/esm2020/lib/collapse/collapse.module.mjs +5 -5
- package/esm2020/lib/color-palette/color-palette-input.component.mjs +49 -36
- package/esm2020/lib/color-palette/color-palette-picker.component.mjs +76 -14
- package/esm2020/lib/color-palette/color-palette-preview.component.mjs +25 -17
- package/esm2020/lib/color-palette/color-palette-swatches.component.mjs +31 -20
- package/esm2020/lib/color-palette/color-palette.class.mjs +11 -4
- package/esm2020/lib/color-palette/color-palette.component.mjs +47 -20
- package/esm2020/lib/color-palette/color-palette.module.mjs +10 -7
- package/esm2020/lib/color-picker/color-picker.component.mjs +23 -11
- package/esm2020/lib/color-picker/color-picker.module.mjs +15 -17
- package/esm2020/lib/data-pager/data-pager-base.component.mjs +37 -0
- package/esm2020/lib/data-pager/data-pager-info.component.mjs +52 -0
- package/esm2020/lib/data-pager/data-pager-input-selector.component.mjs +50 -0
- package/esm2020/lib/data-pager/data-pager-next-buttons.components.mjs +60 -0
- package/esm2020/lib/data-pager/data-pager-numeric-selector.component.mjs +99 -0
- package/esm2020/lib/data-pager/data-pager-pagesize-dropdown.component.mjs +86 -0
- package/esm2020/lib/data-pager/data-pager-prev-buttons.component.mjs +58 -0
- package/esm2020/lib/data-pager/data-pager.component.mjs +132 -0
- package/esm2020/lib/data-pager/data-pager.module.mjs +51 -0
- package/esm2020/lib/data-pager/index.mjs +9 -0
- package/esm2020/lib/data-table/data-column-cell-template.directive.mjs +17 -0
- package/esm2020/lib/data-table/data-column.directive.mjs +43 -0
- package/esm2020/lib/data-table/data-table.component.mjs +124 -0
- package/esm2020/lib/data-table/data-table.module.mjs +27 -0
- package/esm2020/lib/data-table/index.mjs +5 -0
- package/esm2020/lib/datalist/datalist.component.mjs +5 -5
- package/esm2020/lib/datalist/datalist.module.mjs +5 -5
- package/esm2020/lib/datepicker/datepicker.component.mjs +15 -15
- package/esm2020/lib/datepicker/datepicker.module.mjs +5 -5
- package/esm2020/lib/decorators/addon.component.mjs +3 -3
- package/esm2020/lib/decorators/close-button.component.mjs +3 -3
- package/esm2020/lib/decorators/content.component.mjs +3 -3
- package/esm2020/lib/decorators/decorators.module.mjs +6 -6
- package/esm2020/lib/decorators/footer.component.mjs +6 -6
- package/esm2020/lib/decorators/header.component.mjs +6 -6
- package/esm2020/lib/decorators/icon.component.mjs +3 -3
- package/esm2020/lib/decorators/prefix.component.mjs +6 -8
- package/esm2020/lib/decorators/suffix.component.mjs +6 -8
- package/esm2020/lib/decorators/title.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.component.mjs +22 -9
- package/esm2020/lib/dialog/dialog.module.mjs +7 -6
- package/esm2020/lib/dialog/dialog.service.mjs +14 -8
- package/esm2020/lib/drawer/drawer-container.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer.component.mjs +19 -12
- package/esm2020/lib/drawer/drawer.module.mjs +5 -5
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +30 -27
- package/esm2020/lib/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/lib/form/form-field.component.mjs +3 -3
- package/esm2020/lib/form/form-field.module.mjs +5 -5
- package/esm2020/lib/form/form-hint.component.mjs +3 -3
- package/esm2020/lib/form/form.component.mjs +32 -9
- package/esm2020/lib/input-mask/input-mask.component.mjs +3 -3
- package/esm2020/lib/input-mask/input-mask.module.mjs +5 -5
- package/esm2020/lib/label/label.component.mjs +7 -5
- package/esm2020/lib/label/label.module.mjs +5 -5
- package/esm2020/lib/loading/loading-spinner.component.mjs +4 -4
- package/esm2020/lib/loading/loading.component.mjs +4 -4
- package/esm2020/lib/loading/loading.directive.mjs +5 -5
- package/esm2020/lib/loading/loading.module.mjs +5 -5
- package/esm2020/lib/loading/loading.service.mjs +3 -3
- package/esm2020/lib/menu/menu.component.mjs +15 -9
- package/esm2020/lib/menu/menu.module.mjs +7 -10
- package/esm2020/lib/number-box/number-box.component.mjs +21 -12
- package/esm2020/lib/number-box/number-box.module.mjs +5 -5
- package/esm2020/lib/page/base-page.class.mjs +3 -3
- package/esm2020/lib/page/page.component.mjs +3 -3
- package/esm2020/lib/page/page.module.mjs +5 -5
- package/esm2020/lib/password-box/password-box.component.mjs +7 -7
- package/esm2020/lib/password-box/password-box.module.mjs +5 -5
- package/esm2020/lib/picker/picker.component.mjs +4 -4
- package/esm2020/lib/picker/picker.module.mjs +5 -5
- package/esm2020/lib/popover/popover.component.mjs +3 -3
- package/esm2020/lib/popover/popover.module.mjs +5 -5
- package/esm2020/lib/popup/popup.component.mjs +10 -10
- package/esm2020/lib/popup/popup.module.mjs +5 -5
- package/esm2020/lib/popup/popup.service.mjs +3 -3
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/lib/progress-bar/progress-bar.module.mjs +5 -5
- package/esm2020/lib/radio/radio.component.mjs +4 -4
- package/esm2020/lib/radio/radio.module.mjs +5 -5
- package/esm2020/lib/range-slider/range-slider.component.mjs +100 -11
- package/esm2020/lib/range-slider/range-slider.module.mjs +7 -6
- package/esm2020/lib/rating/rating.component.mjs +3 -3
- package/esm2020/lib/rating/rating.component.module.mjs +5 -5
- package/esm2020/lib/result/result.component.mjs +5 -5
- package/esm2020/lib/result/result.module.mjs +5 -5
- package/esm2020/lib/searchbox/searchbox.component.mjs +8 -8
- package/esm2020/lib/searchbox/searchbox.module.mjs +5 -5
- package/esm2020/lib/selectbox/selectbox.component.mjs +18 -19
- package/esm2020/lib/selectbox/selectbox.module.mjs +16 -17
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/selection-list/selection-list.module.mjs +5 -5
- package/esm2020/lib/switch/switch.component.mjs +6 -6
- package/esm2020/lib/switch/switch.module.mjs +5 -5
- package/esm2020/lib/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/lib/tabs/tab-item.component.mjs +4 -4
- package/esm2020/lib/tabs/tabs.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.module.mjs +5 -5
- package/esm2020/lib/textarea/textarea.component.mjs +3 -3
- package/esm2020/lib/textarea/textarea.module.mjs +6 -8
- package/esm2020/lib/textbox/textbox.component.mjs +12 -5
- package/esm2020/lib/textbox/textbox.module.mjs +9 -11
- package/esm2020/lib/time-box/time-box.component.mjs +5 -5
- package/esm2020/lib/time-box/time-box.module.mjs +5 -5
- package/esm2020/lib/toast/toast.component.mjs +20 -13
- package/esm2020/lib/toast/toast.module.mjs +5 -5
- package/esm2020/lib/toast/toast.service.mjs +25 -19
- package/esm2020/lib/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/lib/treeview/tree-view.component.mjs +5 -5
- package/esm2020/lib/treeview/tree-view.module.mjs +5 -5
- package/esm2020/lib/validation/index.mjs +2 -1
- package/esm2020/lib/validation/validation-rule.widget.mjs +4 -24
- package/esm2020/lib/validation/validation-summary.component.mjs +102 -0
- package/esm2020/lib/validation/validation.class.mjs +1 -1
- package/esm2020/lib/validation/validation.module.mjs +31 -19
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/acorex-components.mjs +2395 -1175
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +2381 -1199
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/{acorex-components.d.ts → index.d.ts} +0 -0
- package/lib/action-sheet/action-sheet-item.component.d.ts +1 -1
- package/lib/action-sheet/action-sheet.component.d.ts +1 -1
- package/lib/alert/alert.component.d.ts +7 -5
- package/lib/alert/alert.module.d.ts +3 -4
- package/lib/alert/index.d.ts +0 -1
- package/lib/avatar/avatar-group.component.d.ts +1 -1
- package/lib/avatar/avatar.component.d.ts +1 -1
- package/lib/badge/badge.component.d.ts +1 -1
- package/lib/base/auto-focus.directive.d.ts +12 -0
- package/lib/base/common.module.d.ts +3 -1
- package/lib/base/components.class.d.ts +26 -3
- package/lib/base/events.class.d.ts +1 -1
- package/lib/base/hotkey.directive.d.ts +22 -0
- package/lib/base/index.d.ts +2 -0
- package/lib/base/infinite-scroll.directive.d.ts +1 -1
- package/lib/base/mixin/button-mixin.class.d.ts +2 -10
- package/lib/base/mixin/index.d.ts +2 -0
- package/lib/base/mixin/mixin.class.d.ts +20 -14
- package/lib/base/mixin/textbox-mixin.class.d.ts +24 -5
- package/lib/base/mixin/value-mixin.class.d.ts +7 -8
- package/lib/base/responsive.directive.d.ts +1 -1
- package/lib/breadcrumbs/breadcrumbs-item.component.d.ts +1 -1
- package/lib/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/lib/button/button-group.component.d.ts +66 -17
- package/lib/button/button-item.class.d.ts +4 -3
- package/lib/button/button-item.component.d.ts +1 -1
- package/lib/button/button.component.d.ts +3 -4
- package/lib/calendar/calendar.component.d.ts +1 -1
- package/lib/carousel/carousel-arrows.component.d.ts +1 -1
- package/lib/carousel/carousel-item.component.d.ts +1 -1
- package/lib/carousel/carousel-pager.component.d.ts +1 -1
- package/lib/carousel/carousel.component.d.ts +1 -1
- package/lib/checkbox/checkbox.component.d.ts +4 -3
- package/lib/collapse/collapse-group.component.d.ts +1 -1
- package/lib/collapse/collapse.component.d.ts +1 -1
- package/lib/color-palette/color-palette-input.component.d.ts +3 -3
- package/lib/color-palette/color-palette-picker.component.d.ts +19 -6
- package/lib/color-palette/color-palette-preview.component.d.ts +6 -7
- package/lib/color-palette/color-palette-swatches.component.d.ts +3 -2
- package/lib/color-palette/color-palette.class.d.ts +12 -1
- package/lib/color-palette/color-palette.component.d.ts +12 -6
- package/lib/color-palette/color-palette.module.d.ts +2 -1
- package/lib/color-picker/color-picker.component.d.ts +22 -18
- package/lib/data-pager/data-pager-base.component.d.ts +48 -0
- package/lib/data-pager/data-pager-info.component.d.ts +15 -0
- package/lib/data-pager/data-pager-input-selector.component.d.ts +15 -0
- package/lib/data-pager/data-pager-next-buttons.components.d.ts +16 -0
- package/lib/data-pager/data-pager-numeric-selector.component.d.ts +18 -0
- package/lib/data-pager/data-pager-pagesize-dropdown.component.d.ts +19 -0
- package/lib/data-pager/data-pager-prev-buttons.component.d.ts +15 -0
- package/lib/data-pager/data-pager.component.d.ts +34 -0
- package/lib/data-pager/data-pager.module.d.ts +18 -0
- package/lib/data-pager/index.d.ts +8 -0
- package/lib/data-table/data-column-cell-template.directive.d.ts +8 -0
- package/lib/data-table/data-column.directive.d.ts +16 -0
- package/lib/data-table/data-table.component.d.ts +34 -0
- package/lib/data-table/data-table.module.d.ts +14 -0
- package/lib/data-table/index.d.ts +4 -0
- package/lib/datalist/datalist.component.d.ts +1 -1
- package/lib/datepicker/datepicker.component.d.ts +8 -8
- package/lib/decorators/addon.component.d.ts +1 -1
- package/lib/decorators/close-button.component.d.ts +1 -1
- package/lib/decorators/content.component.d.ts +1 -1
- package/lib/decorators/footer.component.d.ts +1 -1
- package/lib/decorators/header.component.d.ts +1 -1
- package/lib/decorators/icon.component.d.ts +1 -1
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/decorators/title.component.d.ts +1 -1
- package/lib/dialog/dialog.component.d.ts +2 -1
- package/lib/dialog/dialog.module.d.ts +7 -6
- package/lib/drawer/drawer-container.component.d.ts +1 -1
- package/lib/drawer/drawer.component.d.ts +1 -2
- package/lib/dropdown/dropdown-panel.component.d.ts +7 -8
- package/lib/form/form-field.component.d.ts +1 -1
- package/lib/form/form-hint.component.d.ts +1 -1
- package/lib/form/form.component.d.ts +15 -5
- package/lib/input-mask/input-mask.component.d.ts +1 -1
- package/lib/label/label.component.d.ts +2 -1
- package/lib/loading/loading-spinner.component.d.ts +1 -1
- package/lib/loading/loading.component.d.ts +1 -1
- package/lib/loading/loading.directive.d.ts +1 -1
- package/lib/menu/menu.component.d.ts +6 -3
- package/lib/number-box/number-box.component.d.ts +2 -2
- package/lib/password-box/password-box.component.d.ts +1 -1
- package/lib/picker/picker.component.d.ts +1 -1
- package/lib/popover/popover.component.d.ts +1 -1
- package/lib/popup/popup.component.d.ts +1 -1
- package/lib/progress-bar/progress-bar.component.d.ts +1 -1
- package/lib/radio/radio.component.d.ts +1 -1
- package/lib/range-slider/range-slider.component.d.ts +36 -5
- package/lib/range-slider/range-slider.module.d.ts +2 -1
- package/lib/rating/rating.component.d.ts +1 -1
- package/lib/result/result.component.d.ts +2 -2
- package/lib/searchbox/searchbox.component.d.ts +1 -1
- package/lib/selectbox/selectbox.component.d.ts +1 -1
- package/lib/selection-list/selection-list.component.d.ts +1 -1
- package/lib/switch/switch.component.d.ts +1 -1
- package/lib/tabs/tab-content.directive.d.ts +1 -1
- package/lib/tabs/tab-item.component.d.ts +1 -1
- package/lib/tabs/tabs.component.d.ts +1 -1
- package/lib/textarea/textarea.component.d.ts +1 -1
- package/lib/textbox/textbox.component.d.ts +1 -1
- package/lib/time-box/time-box.component.d.ts +1 -1
- package/lib/toast/toast.component.d.ts +3 -1
- package/lib/toast/toast.service.d.ts +1 -0
- package/lib/tooltip/tooltip.component.d.ts +1 -1
- package/lib/tooltip/tooltip.directive.d.ts +1 -1
- package/lib/treeview/tree-view.component.d.ts +1 -1
- package/lib/validation/index.d.ts +1 -0
- package/lib/validation/validation-rule.widget.d.ts +1 -9
- package/lib/validation/validation-summary.component.d.ts +20 -0
- package/lib/validation/validation.class.d.ts +3 -2
- package/lib/validation/validation.module.d.ts +6 -2
- package/package.json +3 -3
- package/public-api.d.ts +2 -0
- package/esm2020/lib/alert/alert-button.component.mjs +0 -50
- package/lib/alert/alert-button.component.d.ts +0 -13
|
File without changes
|
|
@@ -11,5 +11,5 @@ export declare class AXActionSheetItemComponent extends AXBaseComponent {
|
|
|
11
11
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
12
12
|
_handleOnClick(e: any): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetItemComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetItemComponent, "ax-action-sheet-item", never, { "text": "text"; "color": "color"; }, { "onClick": "onClick"; }, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetItemComponent, "ax-action-sheet-item", never, { "text": "text"; "color": "color"; }, { "onClick": "onClick"; }, never, never, false>;
|
|
15
15
|
}
|
|
@@ -15,5 +15,5 @@ export declare class AXActionSheetComponent extends AXBaseComponent {
|
|
|
15
15
|
close(): void;
|
|
16
16
|
toggle(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, { "caption": "caption"; "closeOnBackdrop": "closeOnBackdrop"; }, {}, never, ["ax-content", "ax-action-sheet-item"]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, { "caption": "caption"; "closeOnBackdrop": "closeOnBackdrop"; }, {}, never, ["ax-content", "ax-action-sheet-item"], false>;
|
|
19
19
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXBaseComponent, AXComponentOptionChanged,
|
|
2
|
+
import { AXBaseComponent, AXComponentOptionChanged, AXEvent } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare const AXBaseAlertMixin: {
|
|
5
5
|
new (...args: any[]): {
|
|
6
|
-
colorChange: EventEmitter<AXStyleColorType>;
|
|
7
|
-
_color: AXStyleColorType;
|
|
8
|
-
color: AXStyleColorType;
|
|
6
|
+
colorChange: EventEmitter<import("../base").AXStyleColorType>;
|
|
7
|
+
_color: import("../base").AXStyleColorType;
|
|
8
|
+
color: import("../base").AXStyleColorType;
|
|
9
9
|
lookChange: EventEmitter<import("../base").AXStyleLookType>;
|
|
10
10
|
_look?: import("../base").AXStyleLookType;
|
|
11
11
|
look: import("../base").AXStyleLookType;
|
|
@@ -40,6 +40,8 @@ export declare const AXBaseAlertMixin: {
|
|
|
40
40
|
export declare class AXAlertComponent extends AXBaseAlertMixin {
|
|
41
41
|
#private;
|
|
42
42
|
private _icon;
|
|
43
|
+
private _buttons;
|
|
44
|
+
onDismissed: EventEmitter<AXEvent>;
|
|
43
45
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
44
46
|
ngDoCheck(): void;
|
|
45
47
|
private _setIcon;
|
|
@@ -72,5 +74,5 @@ export declare class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
72
74
|
*/
|
|
73
75
|
show(): void;
|
|
74
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "color": "color"; "look": "look"; "timeOut": "timeOut"; "visible": "visible"; }, {}, ["_icon"], ["ax-header", "ax-icon", "ax-content", "ax-footer", "ax-suffix"]>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "color": "color"; "look": "look"; "timeOut": "timeOut"; "visible": "visible"; }, { "onDismissed": "onDismissed"; }, ["_icon", "_buttons"], ["ax-header", "ax-icon", "ax-content", "ax-footer", "ax-suffix"], false>;
|
|
76
78
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./alert.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "../decorators/decorators.module";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../decorators/decorators.module";
|
|
6
5
|
export declare class AXAlertModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAlertModule, [typeof i1.AXAlertComponent
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAlertModule, [typeof i1.AXAlertComponent], [typeof i2.CommonModule, typeof i3.AXDecoratorModule], [typeof i1.AXAlertComponent]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXAlertModule>;
|
|
10
9
|
}
|
package/lib/alert/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export declare class AXAvatarGroup implements OnInit {
|
|
|
4
4
|
constructor();
|
|
5
5
|
ngOnInit(): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarGroup, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarGroup, "ax-avatar-group", never, {}, {}, never, ["ax-avatar"]>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarGroup, "ax-avatar-group", never, {}, {}, never, ["ax-avatar"], false>;
|
|
8
8
|
}
|
|
@@ -18,5 +18,5 @@ export declare class AXAvatarComponent extends AXAvatarMixin {
|
|
|
18
18
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
19
19
|
get __hostClass(): string;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarComponent, "ax-avatar", never, { "color": "color"; "look": "look"; "text": "text"; "icon": "icon"; "src": "src"; "class": "class"; "type": "type"; }, {}, never, ["ax-badge", "ax-icon", "img"]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarComponent, "ax-avatar", never, { "color": "color"; "look": "look"; "text": "text"; "icon": "icon"; "src": "src"; "class": "class"; "type": "type"; }, {}, never, ["ax-badge", "ax-icon", "img"], false>;
|
|
22
22
|
}
|
|
@@ -37,5 +37,5 @@ export declare class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
|
37
37
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
38
38
|
private get __hostClass();
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "color": "color"; "look": "look"; "text": "text"; }, {}, never, ["ax-prefix", "ax-suffix"]>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "color": "color"; "look": "look"; "text": "text"; }, {}, never, ["ax-prefix", "ax-suffix"], false>;
|
|
41
41
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AfterContentInit, ElementRef } from "@angular/core";
|
|
2
|
+
import { AXFocusableComponent } from "./components.class";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXAutoFocusDirective implements AfterContentInit {
|
|
5
|
+
private el;
|
|
6
|
+
_host: AXFocusableComponent;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
constructor(el: ElementRef<HTMLElement>, _host: AXFocusableComponent);
|
|
9
|
+
ngAfterContentInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoFocusDirective, [null, { optional: true; host: true; self: true; }]>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXAutoFocusDirective, "[axAutoFocus]", never, { "autoFocus": "axAutoFocus"; }, {}, never, never, false>;
|
|
12
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./responsive.directive";
|
|
3
3
|
import * as i2 from "./infinite-scroll.directive";
|
|
4
|
+
import * as i3 from "./auto-focus.directive";
|
|
5
|
+
import * as i4 from "./hotkey.directive";
|
|
4
6
|
export declare class AXCommonModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommonModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective], never, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.AXAutoFocusDirective, typeof i4.AXHotkeyDirective], never, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.AXAutoFocusDirective, typeof i4.AXHotkeyDirective]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCommonModule>;
|
|
8
10
|
}
|
|
@@ -1,19 +1,42 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { AXValueChangedEvent } from "./events.class";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class
|
|
4
|
+
export declare abstract class AXComponent {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXComponent, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXComponent>;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class AXClosbaleComponent extends AXComponent {
|
|
5
9
|
abstract close(): void;
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXClosbaleComponent, never>;
|
|
7
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXClosbaleComponent>;
|
|
8
12
|
}
|
|
9
|
-
export declare abstract class AXSearchableComponent {
|
|
13
|
+
export declare abstract class AXSearchableComponent extends AXComponent {
|
|
10
14
|
abstract search(value: string): void;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchableComponent, never>;
|
|
12
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXSearchableComponent>;
|
|
13
17
|
}
|
|
14
|
-
export declare abstract class AXValuableComponent {
|
|
18
|
+
export declare abstract class AXValuableComponent extends AXComponent {
|
|
15
19
|
abstract onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
|
|
16
20
|
abstract value: any;
|
|
17
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValuableComponent, never>;
|
|
18
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXValuableComponent>;
|
|
19
23
|
}
|
|
24
|
+
export declare abstract class AXFocusableComponent extends AXComponent {
|
|
25
|
+
abstract focus(): any;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXFocusableComponent, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXFocusableComponent>;
|
|
28
|
+
}
|
|
29
|
+
export interface AXPagedComponentInterface {
|
|
30
|
+
goToPage(page: number): any;
|
|
31
|
+
get totalCount(): number;
|
|
32
|
+
get pageSize(): number;
|
|
33
|
+
onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
34
|
+
}
|
|
35
|
+
export declare abstract class AXPagedComponent extends AXComponent implements AXPagedComponentInterface {
|
|
36
|
+
abstract goToPage(page: number): any;
|
|
37
|
+
abstract get totalCount(): number;
|
|
38
|
+
abstract get pageSize(): number;
|
|
39
|
+
abstract onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPagedComponent, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPagedComponent>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AXHotkeysService } from "@acorex/core";
|
|
2
|
+
import { AfterViewInit, ElementRef } from "@angular/core";
|
|
3
|
+
import { AXComponent } from "./components.class";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare type AXHotKeyAction = {
|
|
6
|
+
[key: string]: string | Function;
|
|
7
|
+
parmas?: any;
|
|
8
|
+
};
|
|
9
|
+
export declare class AXHotkeyDirective implements AfterViewInit {
|
|
10
|
+
private el;
|
|
11
|
+
_host: AXComponent;
|
|
12
|
+
private hs;
|
|
13
|
+
hotkey: string | AXHotKeyAction | AXHotKeyAction[];
|
|
14
|
+
private _subs;
|
|
15
|
+
constructor(el: ElementRef<HTMLElement>, _host: AXComponent, hs: AXHotkeysService);
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
private _addDefaultAction;
|
|
18
|
+
private _addHotKeyAction;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXHotkeyDirective, [null, { optional: true; host: true; self: true; }, null]>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXHotkeyDirective, "[hotkey]", never, { "hotkey": "hotkey"; }, {}, never, never, false>;
|
|
22
|
+
}
|
package/lib/base/index.d.ts
CHANGED
|
@@ -5,5 +5,7 @@ export * from './drawing.class';
|
|
|
5
5
|
export * from './styles.class';
|
|
6
6
|
export * from './responsive.directive';
|
|
7
7
|
export * from './infinite-scroll.directive';
|
|
8
|
+
export * from './auto-focus.directive';
|
|
9
|
+
export * from './hotkey.directive';
|
|
8
10
|
export * from './overlay.service';
|
|
9
11
|
export * from './common.module';
|
|
@@ -21,5 +21,5 @@ export declare class AXInfiniteScrollerDirective implements AfterViewInit {
|
|
|
21
21
|
private isUserScrollingDown;
|
|
22
22
|
private isScrollExpectedPercent;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXInfiniteScrollerDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXInfiniteScrollerDirective, "[axInfiniteScroller]", never, { "scrollCallback": "scrollCallback"; "immediateCallback": "immediateCallback"; "scrollPercent": "scrollPercent"; }, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXInfiniteScrollerDirective, "[axInfiniteScroller]", never, { "scrollCallback": "scrollCallback"; "immediateCallback": "immediateCallback"; "scrollPercent": "scrollPercent"; }, {}, never, never, false>;
|
|
25
25
|
}
|
|
@@ -8,14 +8,6 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
8
8
|
* Defines the primary text to show inside the button.
|
|
9
9
|
*/
|
|
10
10
|
text: string;
|
|
11
|
-
/**
|
|
12
|
-
* Trigger click event by Enter Key
|
|
13
|
-
*/
|
|
14
|
-
submitBehavior: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Trigger click event by Esc Key
|
|
17
|
-
*/
|
|
18
|
-
cancelBehavior: boolean;
|
|
19
11
|
toggleableChange: EventEmitter<boolean>;
|
|
20
12
|
_toggleable?: boolean;
|
|
21
13
|
/**
|
|
@@ -28,8 +20,6 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
28
20
|
* Indicates if the Button is selected or not
|
|
29
21
|
*/
|
|
30
22
|
selected: boolean;
|
|
31
|
-
_onInternalViewInit(): void;
|
|
32
|
-
_onInternalDestroy(): void;
|
|
33
23
|
readonly _classes: {
|
|
34
24
|
'ax-button-icon': boolean;
|
|
35
25
|
'ax-state-disabled': any;
|
|
@@ -47,6 +37,8 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
47
37
|
_getHostElement<T = HTMLElement>(): T;
|
|
48
38
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
49
39
|
_onInternalInit(): void;
|
|
40
|
+
_onInternalViewInit(): void;
|
|
41
|
+
_onInternalDestroy(): void;
|
|
50
42
|
onInit(): void;
|
|
51
43
|
onRenderCssClass(): void;
|
|
52
44
|
onViewInit(): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './datalist.class';
|
|
2
1
|
import { AXBaseComponent } from './base-components.class';
|
|
3
2
|
export declare const AXBaseComponentMixin: {
|
|
4
3
|
new (...args: any[]): {
|
|
@@ -309,16 +308,12 @@ export declare const AXBaseButtonMixin: {
|
|
|
309
308
|
new (...args: any[]): {
|
|
310
309
|
_text: string;
|
|
311
310
|
text: string;
|
|
312
|
-
submitBehavior: boolean;
|
|
313
|
-
cancelBehavior: boolean;
|
|
314
311
|
toggleableChange: import("@angular/core").EventEmitter<boolean>;
|
|
315
312
|
_toggleable?: boolean;
|
|
316
313
|
toggleable: boolean;
|
|
317
314
|
selectedChange: import("@angular/core").EventEmitter<boolean>;
|
|
318
315
|
_selected?: boolean;
|
|
319
316
|
selected: boolean;
|
|
320
|
-
_onInternalViewInit(): void;
|
|
321
|
-
_onInternalDestroy(): void;
|
|
322
317
|
readonly _classes: {
|
|
323
318
|
'ax-button-icon': boolean;
|
|
324
319
|
'ax-state-disabled': any;
|
|
@@ -336,6 +331,8 @@ export declare const AXBaseButtonMixin: {
|
|
|
336
331
|
_getHostElement<T = HTMLElement>(): T;
|
|
337
332
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
338
333
|
_onInternalInit(): void;
|
|
334
|
+
_onInternalViewInit(): void;
|
|
335
|
+
_onInternalDestroy(): void;
|
|
339
336
|
onInit(): void;
|
|
340
337
|
onRenderCssClass(): void;
|
|
341
338
|
onViewInit(): void;
|
|
@@ -413,21 +410,21 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
413
410
|
allowNull: boolean;
|
|
414
411
|
"__#5@#name": string;
|
|
415
412
|
name: string;
|
|
416
|
-
"__#5@#
|
|
417
|
-
|
|
418
|
-
"__#5@#valueSubscription": import("rxjs").Subscription;
|
|
419
|
-
"__#5@#valueSubject": import("rxjs").Subject<unknown>;
|
|
413
|
+
"__#5@#isUserInteraction": boolean;
|
|
414
|
+
readonly isUserInteraction: boolean;
|
|
420
415
|
"__#5@#value": any;
|
|
421
416
|
value: any;
|
|
422
417
|
"__#5@#state": "error" | "clear" | "success";
|
|
423
418
|
readonly state: "error" | "clear" | "success";
|
|
424
419
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
425
|
-
|
|
426
|
-
|
|
420
|
+
_internalSetValue(value: any): any;
|
|
421
|
+
_internalGetValue(): any;
|
|
422
|
+
_setValue(value: any): any;
|
|
423
|
+
_getValue(value: any): any;
|
|
424
|
+
_setUserInteraction(): void;
|
|
427
425
|
_onValueChanged(oldValue: any, newValue: any): void;
|
|
428
426
|
_onInternalInit(): void;
|
|
429
427
|
_onInternalDestroy(): void;
|
|
430
|
-
_setValue(v: any): void;
|
|
431
428
|
clear(): void;
|
|
432
429
|
validate(): Promise<import("../../validation/validation.class").AXValidationRuleResult>;
|
|
433
430
|
_setState(state: "error" | "clear" | "success", ...args: any[]): void;
|
|
@@ -457,8 +454,19 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
457
454
|
placeholder: string;
|
|
458
455
|
maxLength: number;
|
|
459
456
|
autoComplete: string;
|
|
457
|
+
debounceTime: number;
|
|
458
|
+
"__#6@#valueSubscription": import("rxjs").Subscription;
|
|
459
|
+
"__#6@#valueSubject": import("rxjs").Subject<unknown>;
|
|
460
460
|
onKeyDown: import("@angular/core").EventEmitter<import("@acorex/components").AXHtmlEvent<KeyboardEvent>>;
|
|
461
|
+
onKeyUp: import("@angular/core").EventEmitter<import("@acorex/components").AXHtmlEvent<KeyboardEvent>>;
|
|
462
|
+
onKeyPress: import("@angular/core").EventEmitter<import("@acorex/components").AXHtmlEvent<KeyboardEvent>>;
|
|
461
463
|
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
464
|
+
_emitOnKeyupEvent(e: KeyboardEvent): void;
|
|
465
|
+
_emitOnKeypressEvent(e: KeyboardEvent): void;
|
|
466
|
+
_handleModleChange(value: any): void;
|
|
467
|
+
_settleValue(value: any): void;
|
|
468
|
+
onInit(): void;
|
|
469
|
+
onDestroy(): void;
|
|
462
470
|
id: string;
|
|
463
471
|
rtl: boolean;
|
|
464
472
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
@@ -473,10 +481,8 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
473
481
|
_onInternalInit(): void;
|
|
474
482
|
_onInternalViewInit(): void;
|
|
475
483
|
_onInternalDestroy(): void;
|
|
476
|
-
onInit(): void;
|
|
477
484
|
onRenderCssClass(): void;
|
|
478
485
|
onViewInit(): void;
|
|
479
|
-
onDestroy(): void;
|
|
480
486
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
481
487
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
482
488
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Subject, Subscription } from 'rxjs';
|
|
2
3
|
import { AXHtmlEvent } from '../events.class';
|
|
3
4
|
import { AXBaseComponent } from './base-components.class';
|
|
4
5
|
import { Constructor } from './constratctor';
|
|
@@ -20,17 +21,37 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
20
21
|
* Specifies that autocomplete is on or off.
|
|
21
22
|
*/
|
|
22
23
|
autoComplete: string;
|
|
24
|
+
debounceTime: number;
|
|
25
|
+
"__#6@#valueSubscription": Subscription;
|
|
26
|
+
"__#6@#valueSubject": Subject<unknown>;
|
|
23
27
|
/**
|
|
24
28
|
* Fires each time the user press a key.
|
|
25
29
|
* @event
|
|
26
30
|
*/
|
|
27
31
|
onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
|
32
|
+
/**
|
|
33
|
+
* Fires each time the user press a key.
|
|
34
|
+
* @event
|
|
35
|
+
*/
|
|
36
|
+
onKeyUp: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
|
37
|
+
/**
|
|
38
|
+
* Fires each time the user press a key.
|
|
39
|
+
* @event
|
|
40
|
+
*/
|
|
41
|
+
onKeyPress: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
|
28
42
|
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
29
|
-
|
|
43
|
+
_emitOnKeyupEvent(e: KeyboardEvent): void;
|
|
44
|
+
_emitOnKeypressEvent(e: KeyboardEvent): void;
|
|
45
|
+
_handleModleChange(value: any): void;
|
|
46
|
+
_settleValue(value: any): void;
|
|
47
|
+
onInit(): void;
|
|
48
|
+
onDestroy(): void;
|
|
49
|
+
id: string; /**
|
|
50
|
+
* A number value that specifies the maximum characters of text box.
|
|
51
|
+
*/
|
|
30
52
|
rtl: boolean;
|
|
31
53
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>; /**
|
|
32
|
-
*
|
|
33
|
-
* @event
|
|
54
|
+
* Specifies that autocomplete is on or off.
|
|
34
55
|
*/
|
|
35
56
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
36
57
|
_isInited: boolean;
|
|
@@ -43,10 +64,8 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
43
64
|
_onInternalInit(): void;
|
|
44
65
|
_onInternalViewInit(): void;
|
|
45
66
|
_onInternalDestroy(): void;
|
|
46
|
-
onInit(): void;
|
|
47
67
|
onRenderCssClass(): void;
|
|
48
68
|
onViewInit(): void;
|
|
49
|
-
onDestroy(): void;
|
|
50
69
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
51
70
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
52
71
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
@@ -3,7 +3,6 @@ import { AXBaseComponent } from './base-components.class';
|
|
|
3
3
|
import { Constructor } from './constratctor';
|
|
4
4
|
import { AXValueChangedEvent } from '../events.class';
|
|
5
5
|
import { AXValidationRuleResult } from '../../validation/validation.class';
|
|
6
|
-
import { Subject, Subscription } from 'rxjs';
|
|
7
6
|
export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
8
7
|
new (...args: any[]): {
|
|
9
8
|
/**
|
|
@@ -21,21 +20,21 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
21
20
|
allowNull: boolean;
|
|
22
21
|
"__#5@#name": string;
|
|
23
22
|
name: string;
|
|
24
|
-
"__#5@#
|
|
25
|
-
|
|
26
|
-
"__#5@#valueSubscription": Subscription;
|
|
27
|
-
"__#5@#valueSubject": Subject<unknown>;
|
|
23
|
+
"__#5@#isUserInteraction": boolean;
|
|
24
|
+
readonly isUserInteraction: boolean;
|
|
28
25
|
"__#5@#value": any;
|
|
29
26
|
value: any;
|
|
30
27
|
"__#5@#state": 'clear' | 'success' | 'error';
|
|
31
28
|
readonly state: "error" | "clear" | "success";
|
|
32
29
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
_internalSetValue(value: any): any;
|
|
31
|
+
_internalGetValue(): any;
|
|
32
|
+
_setValue(value: any): any;
|
|
33
|
+
_getValue(value: any): any;
|
|
34
|
+
_setUserInteraction(): void;
|
|
35
35
|
_onValueChanged(oldValue: any, newValue: any): void;
|
|
36
36
|
_onInternalInit(): void;
|
|
37
37
|
_onInternalDestroy(): void;
|
|
38
|
-
_setValue(v: any): void;
|
|
39
38
|
clear(): void;
|
|
40
39
|
validate(): Promise<AXValidationRuleResult>;
|
|
41
40
|
_setState(state: 'clear' | 'success' | 'error', ...args: any[]): void;
|
|
@@ -6,5 +6,5 @@ export declare class AXResponsiveDirective implements OnDestroy {
|
|
|
6
6
|
constructor(_elementRef: ElementRef<HTMLDivElement>);
|
|
7
7
|
ngOnDestroy(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXResponsiveDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXResponsiveDirective, "[ax-responsive]", never, {}, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXResponsiveDirective, "[ax-responsive]", never, {}, {}, never, never, false>;
|
|
10
10
|
}
|
|
@@ -8,5 +8,5 @@ export declare class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
|
8
8
|
*/
|
|
9
9
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsItemComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsItemComponent, "ax-breadcrumbs-item", never, { "text": "text"; }, {}, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix,ax-loading,ax-icon"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsItemComponent, "ax-breadcrumbs-item", never, { "text": "text"; }, {}, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix,ax-loading,ax-icon"], false>;
|
|
12
12
|
}
|
|
@@ -7,5 +7,5 @@ export declare class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
|
7
7
|
*/
|
|
8
8
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsComponent, "ax-breadcrumbs", never, {}, {}, never, ["ax-breadcrumbs-item"]>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsComponent, "ax-breadcrumbs", never, {}, {}, never, ["ax-breadcrumbs-item"], false>;
|
|
11
11
|
}
|
|
@@ -1,27 +1,76 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, QueryList } from "@angular/core";
|
|
2
2
|
import { AXButtonComponent } from "./button.component";
|
|
3
|
-
import { AXClickEvent,
|
|
3
|
+
import { AXClickEvent, AXItemClickEvent, AXSelectionMode, AXSelectionValueChangedEvent, AXBaseComponent } from "../base";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare
|
|
5
|
+
export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
|
|
6
|
+
"__#4@#disabled": boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
"__#4@#tabIndex": number;
|
|
9
|
+
tabIndex: number;
|
|
10
|
+
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
11
|
+
_emitOnFocusEvent(e: FocusEvent): void;
|
|
12
|
+
onBlur: EventEmitter<import("../base").AXFocusEvent>;
|
|
13
|
+
_emitOnBlurEvent(e: FocusEvent): void;
|
|
14
|
+
focus(): void;
|
|
15
|
+
hasFocus(): boolean;
|
|
16
|
+
id: string;
|
|
17
|
+
rtl: boolean;
|
|
18
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
19
|
+
_cdr: ChangeDetectorRef;
|
|
20
|
+
_isInited: boolean;
|
|
21
|
+
_isRendered: boolean;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
26
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
27
|
+
_onInternalInit(): void;
|
|
28
|
+
_onInternalViewInit(): void;
|
|
29
|
+
_onInternalDestroy(): void;
|
|
30
|
+
onInit(): void;
|
|
31
|
+
onRenderCssClass(): void;
|
|
32
|
+
onViewInit(): void;
|
|
33
|
+
onDestroy(): void;
|
|
34
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
35
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
36
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
37
|
+
}) & {
|
|
38
|
+
new (...args: any[]): {
|
|
39
|
+
colorChange: EventEmitter<import("../base").AXStyleColorType>;
|
|
40
|
+
_color: import("../base").AXStyleColorType;
|
|
41
|
+
color: import("../base").AXStyleColorType;
|
|
42
|
+
lookChange: EventEmitter<import("../base").AXStyleLookType>;
|
|
43
|
+
_look?: import("../base").AXStyleLookType;
|
|
44
|
+
look: import("../base").AXStyleLookType;
|
|
45
|
+
id: string;
|
|
46
|
+
rtl: boolean;
|
|
47
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
48
|
+
_cdr: ChangeDetectorRef;
|
|
49
|
+
_isInited: boolean;
|
|
50
|
+
_isRendered: boolean;
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
ngAfterViewInit(): void;
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
55
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
56
|
+
_onInternalInit(): void;
|
|
57
|
+
_onInternalViewInit(): void;
|
|
58
|
+
_onInternalDestroy(): void;
|
|
59
|
+
onInit(): void;
|
|
60
|
+
onRenderCssClass(): void;
|
|
61
|
+
onViewInit(): void;
|
|
62
|
+
onDestroy(): void;
|
|
63
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
64
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
65
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
66
|
+
};
|
|
67
|
+
} & typeof AXBaseComponent;
|
|
68
|
+
export declare class AXButtonGroupComponent extends AXBaseButtonGroupMixin {
|
|
6
69
|
private zone;
|
|
7
70
|
selectionChange: EventEmitter<AXSelectionMode>;
|
|
8
71
|
private _selection;
|
|
9
72
|
get selection(): AXSelectionMode;
|
|
10
73
|
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<AXStyleLookType>;
|
|
19
|
-
private _look?;
|
|
20
|
-
/**
|
|
21
|
-
* Predefined look schemes
|
|
22
|
-
*/
|
|
23
|
-
get look(): AXStyleLookType;
|
|
24
|
-
set look(value: AXStyleLookType);
|
|
25
74
|
onItemClick: EventEmitter<AXItemClickEvent<AXButtonComponent>>;
|
|
26
75
|
onValueChanged: EventEmitter<AXSelectionValueChangedEvent>;
|
|
27
76
|
_contentButtons: QueryList<AXButtonComponent>;
|
|
@@ -32,5 +81,5 @@ export declare class AXButtonGroupComponent extends AXInteractiveComponenetMixin
|
|
|
32
81
|
onOptionChanged(options: any): void;
|
|
33
82
|
_handleClickEvent(e: AXClickEvent, button: AXButtonComponent): void;
|
|
34
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "color": "color"; "look": "look"; "selection": "selection"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "selectionChange": "selectionChange"; "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-button"], false>;
|
|
36
85
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXStyleLookType, AXStyleColorType } from "../base";
|
|
1
|
+
import { AXStyleLookType, AXStyleColorType, AXHotKeyAction } from "../base";
|
|
2
2
|
export interface AXClickItemBase {
|
|
3
3
|
cssClass?: string;
|
|
4
4
|
color?: AXStyleColorType;
|
|
@@ -13,10 +13,11 @@ export interface AXClickItemBase {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
data?: any;
|
|
15
15
|
onClick?: (...args: any[]) => void;
|
|
16
|
+
hotkey?: string | AXHotKeyAction;
|
|
16
17
|
}
|
|
17
18
|
export interface AXButtonItem extends AXClickItemBase {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
type?: 'submit' | 'button' | 'cancel' | 'reset';
|
|
20
|
+
autofocus?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export interface AXMenuItem extends AXClickItemBase {
|
|
22
23
|
}
|
|
@@ -75,5 +75,5 @@ export declare class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
|
75
75
|
private __hostClick;
|
|
76
76
|
private get __hostClass();
|
|
77
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonItemComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonItemComponent, "ax-button-item", never, { "text": "text"; "tooltip": "tooltip"; "selected": "selected"; "seperated": "seperated"; "name": "name"; "data": "data"; "color": "color"; }, {}, never, ["ax-prefix", "ax-icon", "ax-suffix"]>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonItemComponent, "ax-button-item", never, { "text": "text"; "tooltip": "tooltip"; "selected": "selected"; "seperated": "seperated"; "name": "name"; "data": "data"; "color": "color"; }, {}, never, ["ax-prefix", "ax-icon", "ax-suffix"], false>;
|
|
79
79
|
}
|
|
@@ -11,11 +11,10 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
11
11
|
* @ignore
|
|
12
12
|
*/
|
|
13
13
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
|
-
|
|
14
|
+
onViewInit(): void;
|
|
15
15
|
_emitOnClickEvent(e: MouseEvent): void;
|
|
16
|
-
|
|
17
|
-
_emitOnBlurEvent(e: MouseEvent): void;
|
|
16
|
+
click(): void;
|
|
18
17
|
private get __hostClass();
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "size": "size"; "tabIndex": "tabIndex"; "color": "color"; "look": "look"; "text": "text"; "toggleable": "toggleable"; "selected": "selected"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix", "ax-dropdown-panel"], false>;
|
|
21
20
|
}
|
|
@@ -46,5 +46,5 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
46
46
|
private _generatePickerItems;
|
|
47
47
|
_handlePickerChange(item: any, view: any): void;
|
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "type": "type"; "holidayDates": "holidayDates"; "interface": "interface"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; }, never, never, false>;
|
|
50
50
|
}
|