@acorex/components 5.4.0 → 5.7.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 +27 -8
- 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/color-look-mixing.class.mjs +2 -2
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +15 -4
- 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 -12
- 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 +24 -15
- 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 +38 -12
- 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 +17 -11
- package/esm2020/lib/searchbox/searchbox.module.mjs +7 -6
- package/esm2020/lib/selectbox/selectbox.component.mjs +31 -31
- 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 +19 -33
- 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 +2488 -1243
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +2420 -1213
- 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 +2 -1
- package/lib/searchbox/searchbox.module.d.ts +2 -1
- package/lib/selectbox/selectbox.component.d.ts +4 -3
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPlatform } from '@acorex/core';
|
|
2
2
|
import { ChangeDetectorRef, ElementRef, NgZone, TemplateRef } from '@angular/core';
|
|
3
|
-
import { AXBaseSelectionDropdownMixin, AXClickEvent
|
|
3
|
+
import { AXBaseSelectionDropdownMixin, AXClickEvent } from '../base';
|
|
4
4
|
import { AXPopoverComponent } from '../popover';
|
|
5
5
|
import { AXSearchBoxComponent } from '../searchbox';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -41,6 +41,7 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
41
41
|
onInit(): void;
|
|
42
42
|
onViewInit(): void;
|
|
43
43
|
refresh(): void;
|
|
44
|
+
private _updatePopupTitle;
|
|
44
45
|
_handleOnItemClick(e: MouseEvent, item: any): void;
|
|
45
46
|
_handleListScroll(e: Event): void;
|
|
46
47
|
private _checkForLoadData;
|
|
@@ -52,13 +53,13 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
52
53
|
_handlePopoverKeydown(e: KeyboardEvent): void;
|
|
53
54
|
_handlePopupOnOpened(e: any): Promise<void>;
|
|
54
55
|
_handlePopupOnClosed(e: any): void;
|
|
56
|
+
private _focusSearchBox;
|
|
55
57
|
private _focusItemByNav;
|
|
56
58
|
private _focusSelectedItem;
|
|
57
59
|
private _focusItemElement;
|
|
58
60
|
private _selectedItemByNav;
|
|
59
|
-
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
60
61
|
search(exp: string): void;
|
|
61
62
|
_fetchData(): void;
|
|
62
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_searchBox", "_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix", "ax-search-box"], false>;
|
|
64
65
|
}
|
|
@@ -17,5 +17,5 @@ export declare class AXSelectionListComponent extends AXBaseSelectionValueMixin
|
|
|
17
17
|
direction: AXDirection;
|
|
18
18
|
_handleOnItemValueChange(item: any, e: Event): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "valueField": "valueField"; "textField": "textField"; "multiple": "multiple"; "items": "items"; "selectionMode": "selectionMode"; "direction": "direction"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "valueField": "valueField"; "textField": "textField"; "multiple": "multiple"; "items": "items"; "selectionMode": "selectionMode"; "direction": "direction"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], false>;
|
|
21
21
|
}
|
|
@@ -8,5 +8,5 @@ export declare class AXSwitchComponent extends AXBaseValueComponentMixin {
|
|
|
8
8
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
9
9
|
_handleOnClickEvent(e: MouseEvent): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSwitchComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSwitchComponent, "ax-switch", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "allowNull": "allowNull"; "value": "value"; "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSwitchComponent, "ax-switch", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "uncheckedText": "uncheckedText"; "checkedText": "checkedText"; "loading": "loading"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix"], false>;
|
|
12
12
|
}
|
|
@@ -7,5 +7,5 @@ export declare class AXTabContentDirective {
|
|
|
7
7
|
get portal(): TemplateRef<any>;
|
|
8
8
|
set portal(v: TemplateRef<any>);
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabContentDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTabContentDirective, "[axTabContent]", ["axTabContent"], { "portal": "axTabContent"; }, {}, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTabContentDirective, "[axTabContent]", ["axTabContent"], { "portal": "axTabContent"; }, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -45,5 +45,5 @@ export declare class AXTabItemComponent extends AXBaseTabItemMixin {
|
|
|
45
45
|
private __hostClick;
|
|
46
46
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabItemComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "key": "key"; "active": "active"; "disabled": "disabled"; }, { "activeChange": "activeChange"; "disabledChange": "disabledChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "ax-content"]>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "key": "key"; "active": "active"; "disabled": "disabled"; }, { "activeChange": "activeChange"; "disabledChange": "disabledChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "ax-content"], false>;
|
|
49
49
|
}
|
|
@@ -20,5 +20,5 @@ export declare class AXTabsComponent extends AXBaseComponent {
|
|
|
20
20
|
onViewInit(): void;
|
|
21
21
|
select(tab: number | AXTabItemComponent): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, { "onActiveTabChanged": "onActiveTabChanged"; }, ["_contentTabs"], ["ax-tab-item"]>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, { "onActiveTabChanged": "onActiveTabChanged"; }, ["_contentTabs"], ["ax-tab-item"], false>;
|
|
24
24
|
}
|
|
@@ -8,5 +8,5 @@ export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
|
|
|
8
8
|
*/
|
|
9
9
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix"], false>;
|
|
12
12
|
}
|
|
@@ -12,5 +12,5 @@ export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
|
12
12
|
*/
|
|
13
13
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"], false>;
|
|
16
16
|
}
|
|
@@ -44,5 +44,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
44
44
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
45
45
|
private _highlightPart;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
48
48
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import { AXButtonItem } from '../button';
|
|
3
4
|
import { AXToastOptions } from './toast.class';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class AXToastComponent extends AXBaseComponentMixin {
|
|
|
17
18
|
*/
|
|
18
19
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
19
20
|
onInit(): void;
|
|
21
|
+
_handleButtonClick(button: AXButtonItem): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never, false>;
|
|
22
24
|
}
|
|
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXToastService {
|
|
6
6
|
private overlayService;
|
|
7
7
|
private parentInjector;
|
|
8
|
+
private readonly _defaults;
|
|
8
9
|
constructor(overlayService: Overlay, parentInjector: Injector);
|
|
9
10
|
private _activeList;
|
|
10
11
|
primary(content: string): void;
|
|
@@ -6,5 +6,5 @@ export declare class AXTooltipComponent extends AXBaseComponentMixin {
|
|
|
6
6
|
text: string;
|
|
7
7
|
position: string;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": "text"; "position": "position"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": "text"; "position": "position"; }, {}, never, never, false>;
|
|
10
10
|
}
|
|
@@ -14,5 +14,5 @@ export declare class AXTooltipDirective implements OnInit {
|
|
|
14
14
|
show(): void;
|
|
15
15
|
hide(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "text": "axTooltip"; "position": "axTooltipPositon"; }, {}, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "text": "axTooltip"; "position": "axTooltipPositon"; }, {}, never, never, false>;
|
|
18
18
|
}
|
|
@@ -29,5 +29,5 @@ export declare class AXTreeViewComponent implements OnInit {
|
|
|
29
29
|
}[];
|
|
30
30
|
}[];
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "showLines": "showLines"; }, {}, never, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "showLines": "showLines"; }, {}, never, never, false>;
|
|
33
33
|
}
|
|
@@ -2,14 +2,6 @@ import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { AXValidationRuleResult, AXValidationRule, AXValidationRuleTypes } from './validation.class';
|
|
3
3
|
import { AXBaseComponentMixin } from '../base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AXValidationRules {
|
|
6
|
-
private static registredRules;
|
|
7
|
-
static addRule(name: string, rule: AXValidationRule): void;
|
|
8
|
-
static get(name: string): {
|
|
9
|
-
name: string;
|
|
10
|
-
rule: AXValidationRule;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
5
|
export declare class AXValidationRuleComponent extends AXBaseComponentMixin implements AXValidationRule {
|
|
14
6
|
rule: AXValidationRuleTypes;
|
|
15
7
|
message: string;
|
|
@@ -21,5 +13,5 @@ export declare class AXValidationRuleComponent extends AXBaseComponentMixin impl
|
|
|
21
13
|
validate(value: any): Promise<AXValidationRuleResult>;
|
|
22
14
|
private _internalValidate;
|
|
23
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValidationRuleComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXValidationRuleComponent, "ax-validation-rule", never, { "rule": "rule"; "message": "message"; "showMessage": "showMessage"; "value": "value"; "enabled": "enabled"; }, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXValidationRuleComponent, "ax-validation-rule", never, { "rule": "rule"; "message": "message"; "showMessage": "showMessage"; "value": "value"; "enabled": "enabled"; }, {}, never, never, false>;
|
|
25
17
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
2
|
+
import { AXBaseComponentMixin, AXEvent } from "../base";
|
|
3
|
+
import { AXFormComponent } from "../form";
|
|
4
|
+
import { AXToastService } from "../toast";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare type AXValidationSummaryDisplayMode = 'toast' | 'alert';
|
|
7
|
+
export declare class AXValidationSummaryComponent extends AXBaseComponentMixin {
|
|
8
|
+
private _tosatService;
|
|
9
|
+
private _parent;
|
|
10
|
+
_content?: string;
|
|
11
|
+
_title: string;
|
|
12
|
+
displayMode: AXValidationSummaryDisplayMode;
|
|
13
|
+
timeOut?: number;
|
|
14
|
+
autoHide: boolean;
|
|
15
|
+
_timeOut: number;
|
|
16
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _tosatService: AXToastService, _parent: AXFormComponent);
|
|
17
|
+
_handleOnDismissed(e: AXEvent): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXValidationSummaryComponent, [null, null, null, { optional: true; }]>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXValidationSummaryComponent, "ax-validation-summary", never, { "displayMode": "displayMode"; "timeOut": "timeOut"; "autoHide": "autoHide"; }, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -7,11 +7,12 @@ export interface AXValidationRule {
|
|
|
7
7
|
}
|
|
8
8
|
export interface AXValidationRuleResult {
|
|
9
9
|
message?: string;
|
|
10
|
+
name?: string;
|
|
10
11
|
result: boolean;
|
|
11
|
-
target?: any;
|
|
12
12
|
value?: any;
|
|
13
|
+
id?: string;
|
|
13
14
|
}
|
|
14
|
-
export interface
|
|
15
|
+
export interface AXFormValidationResult {
|
|
15
16
|
result: boolean;
|
|
16
17
|
items?: AXValidationRuleResult[];
|
|
17
18
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./validation-rule.widget";
|
|
3
|
-
import * as i2 from "
|
|
3
|
+
import * as i2 from "./validation-summary.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../decorators/decorators.module";
|
|
6
|
+
import * as i5 from "../alert/alert.module";
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
4
8
|
export declare class AXValidationModule {
|
|
5
9
|
constructor();
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValidationModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXValidationModule, [typeof i1.AXValidationRuleComponent], [typeof
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXValidationModule, [typeof i1.AXValidationRuleComponent, typeof i2.AXValidationSummaryComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule, typeof i5.AXAlertModule, typeof i6.AXButtonModule], [typeof i1.AXValidationRuleComponent, typeof i2.AXValidationSummaryComponent]>;
|
|
8
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXValidationModule>;
|
|
9
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^13.3.7",
|
|
6
6
|
"@angular/core": "^13.3.7",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"esm2020": "esm2020/acorex-components.mjs",
|
|
18
18
|
"fesm2020": "fesm2020/acorex-components.mjs",
|
|
19
19
|
"fesm2015": "fesm2015/acorex-components.mjs",
|
|
20
|
-
"typings": "
|
|
20
|
+
"typings": "index.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
"./package.json": {
|
|
23
23
|
"default": "./package.json"
|
|
24
24
|
},
|
|
25
25
|
".": {
|
|
26
|
-
"types": "./
|
|
26
|
+
"types": "./index.d.ts",
|
|
27
27
|
"esm2020": "./esm2020/acorex-components.mjs",
|
|
28
28
|
"es2020": "./fesm2020/acorex-components.mjs",
|
|
29
29
|
"es2015": "./fesm2015/acorex-components.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -16,7 +16,9 @@ export * from "./lib/color-palette";
|
|
|
16
16
|
export * from "./lib/collapse";
|
|
17
17
|
export * from "./lib/color-picker";
|
|
18
18
|
export * from "./lib/datalist";
|
|
19
|
+
export * from "./lib/data-pager";
|
|
19
20
|
export * from "./lib/datepicker";
|
|
21
|
+
export * from "./lib/data-table";
|
|
20
22
|
export * from "./lib/decorators";
|
|
21
23
|
export * from "./lib/dialog";
|
|
22
24
|
export * from "./lib/drawer";
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostListener } from '@angular/core';
|
|
2
|
-
import { AXBaseClickableMixin } from '../base';
|
|
3
|
-
import { BUTTON_OUTPUT } from '../base/mixin/button-mixin.class';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
6
|
-
constructor(elementRef, cdr) {
|
|
7
|
-
super(elementRef, cdr);
|
|
8
|
-
}
|
|
9
|
-
_handleOnClick(e) {
|
|
10
|
-
this._emitOnClickEvent(e);
|
|
11
|
-
}
|
|
12
|
-
_handleOnFocus(e) {
|
|
13
|
-
this._emitOnFocusEvent(e);
|
|
14
|
-
}
|
|
15
|
-
_handleOnBlur(e) {
|
|
16
|
-
this._emitOnBlurEvent(e);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
21
|
-
{{text}}
|
|
22
|
-
<ng-content select="ax-icon"></ng-content>
|
|
23
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{
|
|
27
|
-
selector: 'ax-alert-button',
|
|
28
|
-
template: `
|
|
29
|
-
{{text}}
|
|
30
|
-
<ng-content select="ax-icon"></ng-content>
|
|
31
|
-
`,
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
encapsulation: ViewEncapsulation.None,
|
|
34
|
-
outputs: [...BUTTON_OUTPUT],
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], icon: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], _handleOnClick: [{
|
|
41
|
-
type: HostListener,
|
|
42
|
-
args: ['click', ['$event']]
|
|
43
|
-
}], _handleOnFocus: [{
|
|
44
|
-
type: HostListener,
|
|
45
|
-
args: ['focus', ['$event']]
|
|
46
|
-
}], _handleOnBlur: [{
|
|
47
|
-
type: HostListener,
|
|
48
|
-
args: ['blur', ['$event']]
|
|
49
|
-
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvYWxlcnQvYWxlcnQtYnV0dG9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLHVCQUF1QixFQUFpQyxLQUFLLEVBQWEsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JKLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUMvQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUM7O0FBWWpFLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxvQkFBb0I7SUFTNUQsWUFBWSxVQUFzQixFQUFFLEdBQXNCO1FBQ3RELEtBQUssQ0FBQyxVQUFVLEVBQUUsR0FBRyxDQUFDLENBQUE7SUFDMUIsQ0FBQztJQUdELGNBQWMsQ0FBQyxDQUFDO1FBQ1osSUFBSSxDQUFDLGlCQUFpQixDQUFDLENBQUMsQ0FBQyxDQUFDO0lBQzlCLENBQUM7SUFHRCxjQUFjLENBQUMsQ0FBQztRQUNaLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUM5QixDQUFDO0lBR0QsYUFBYSxDQUFDLENBQUM7UUFDWCxJQUFJLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDN0IsQ0FBQzs7bUhBMUJRLHNCQUFzQjt1R0FBdEIsc0JBQXNCLHFZQVJyQjs7O0tBR1Q7MkZBS1Esc0JBQXNCO2tCQVZsQyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxpQkFBaUI7b0JBQzNCLFFBQVEsRUFBRTs7O0tBR1Q7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07b0JBQy9DLGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO29CQUNyQyxPQUFPLEVBQUUsQ0FBQyxHQUFHLGFBQWEsQ0FBQztpQkFDOUI7aUlBSUcsSUFBSTtzQkFESCxLQUFLO2dCQUlOLElBQUk7c0JBREgsS0FBSztnQkFTTixjQUFjO3NCQURiLFlBQVk7dUJBQUMsT0FBTyxFQUFFLENBQUMsUUFBUSxDQUFDO2dCQU1qQyxjQUFjO3NCQURiLFlBQVk7dUJBQUMsT0FBTyxFQUFFLENBQUMsUUFBUSxDQUFDO2dCQU1qQyxhQUFhO3NCQURaLFlBQVk7dUJBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbiwgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIEVsZW1lbnRSZWYsIENoYW5nZURldGVjdG9yUmVmLCBJbnB1dCwgQXR0cmlidXRlLCBIb3N0TGlzdGVuZXIgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQVhCYXNlQ2xpY2thYmxlTWl4aW4gfSBmcm9tICcuLi9iYXNlJztcclxuaW1wb3J0IHsgQlVUVE9OX09VVFBVVCB9IGZyb20gJy4uL2Jhc2UvbWl4aW4vYnV0dG9uLW1peGluLmNsYXNzJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdheC1hbGVydC1idXR0b24nLFxyXG4gICAgdGVtcGxhdGU6IGBcclxuICAgICAgIHt7dGV4dH19XHJcbiAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1pY29uXCI+PC9uZy1jb250ZW50PlxyXG4gICAgYCxcclxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxyXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcclxuICAgIG91dHB1dHM6IFsuLi5CVVRUT05fT1VUUFVUXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFYQWxlcnRCdXR0b25Db21wb25lbnQgZXh0ZW5kcyBBWEJhc2VDbGlja2FibGVNaXhpbiB7XHJcblxyXG4gICAgQElucHV0KClcclxuICAgIHRleHQ6IHN0cmluZztcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgaWNvbjogc3RyaW5nO1xyXG5cclxuXHJcbiAgICBjb25zdHJ1Y3RvcihlbGVtZW50UmVmOiBFbGVtZW50UmVmLCBjZHI6IENoYW5nZURldGVjdG9yUmVmKSB7XHJcbiAgICAgICAgc3VwZXIoZWxlbWVudFJlZiwgY2RyKVxyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2NsaWNrJywgWyckZXZlbnQnXSlcclxuICAgIF9oYW5kbGVPbkNsaWNrKGUpIHtcclxuICAgICAgICB0aGlzLl9lbWl0T25DbGlja0V2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2ZvY3VzJywgWyckZXZlbnQnXSlcclxuICAgIF9oYW5kbGVPbkZvY3VzKGUpIHtcclxuICAgICAgICB0aGlzLl9lbWl0T25Gb2N1c0V2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2JsdXInLCBbJyRldmVudCddKVxyXG4gICAgX2hhbmRsZU9uQmx1cihlKSB7XHJcbiAgICAgICAgdGhpcy5fZW1pdE9uQmx1ckV2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuXHJcbn1cclxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseClickableMixin } from '../base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
5
|
-
text: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
|
-
_handleOnClick(e: any): void;
|
|
9
|
-
_handleOnFocus(e: any): void;
|
|
10
|
-
_handleOnBlur(e: any): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertButtonComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertButtonComponent, "ax-alert-button", never, { "text": "text"; "icon": "icon"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-icon"]>;
|
|
13
|
-
}
|