@acorex/components 5.4.0 → 5.5.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/base/mixin/datalist-component.class.mjs +17 -6
- package/esm2020/lib/calendar/calendar.component.mjs +1 -3
- package/esm2020/lib/color-picker/color-picker.component.mjs +4 -7
- package/esm2020/lib/form/form.component.mjs +8 -5
- package/esm2020/lib/menu/menu.component.mjs +5 -5
- package/esm2020/lib/searchbox/searchbox.component.mjs +13 -7
- package/esm2020/lib/searchbox/searchbox.module.mjs +4 -3
- package/esm2020/lib/selectbox/selectbox.component.mjs +16 -15
- package/esm2020/lib/validation/validation-rule.widget.mjs +17 -11
- package/fesm2015/acorex-components.mjs +66 -47
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +66 -47
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/form/form.component.d.ts +1 -1
- package/lib/menu/menu.component.d.ts +1 -1
- package/lib/searchbox/searchbox.component.d.ts +1 -0
- package/lib/searchbox/searchbox.module.d.ts +2 -1
- package/lib/selectbox/selectbox.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ export declare class AXFormComponent extends AXBaseComponentMixin {
|
|
|
14
14
|
*/
|
|
15
15
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
16
16
|
_getComponenets(): Element[];
|
|
17
|
-
validate(): Promise<AXValidationResult>;
|
|
17
|
+
validate(...args: string[]): Promise<AXValidationResult>;
|
|
18
18
|
clear(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXFormComponent, never>;
|
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXFormComponent, "ax-form", never, {}, {}, never, ["*"]>;
|
|
@@ -45,5 +45,5 @@ export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
|
45
45
|
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
46
46
|
_getDirection(): "horizontal-mode" | "vertical-mode";
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "iconField": "iconField"; "tooltip": "tooltip"; "isOpen": "isOpen"; "isActive": "isActive"; "visibleField": "visibleField"; "disableField": "disableField"; "hasChildField": "hasChildField"; "openMode": "openMode"; "direction": "direction"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["_contentEmptyTemplate", "_searchBox"],
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "iconField": "iconField"; "tooltip": "tooltip"; "isOpen": "isOpen"; "isActive": "isActive"; "visibleField": "visibleField"; "disableField": "disableField"; "hasChildField": "hasChildField"; "openMode": "openMode"; "direction": "direction"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onMenuItemClick": "onMenuItemClick"; }, ["_contentEmptyTemplate", "_searchBox"], never>;
|
|
49
49
|
}
|
|
@@ -11,6 +11,7 @@ export declare class AXSearchBoxComponent extends AXBaseComponentMixin {
|
|
|
11
11
|
searchExp: string;
|
|
12
12
|
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
13
13
|
focus(): void;
|
|
14
|
+
clear(): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchBoxComponent, [null, null, { optional: true; }]>;
|
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXSearchBoxComponent, "ax-search-box", never, { "placeholder": "placeholder"; "debounceTime": "debounceTime"; "searchExp": "searchExp"; }, {}, never, never>;
|
|
16
17
|
}
|
|
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@acorex/core";
|
|
5
5
|
import * as i4 from "../decorators/decorators.module";
|
|
6
6
|
import * as i5 from "../textbox/textbox.module";
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
7
8
|
export declare class AXSearchBoxModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchBoxModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSearchBoxModule, [typeof i1.AXSearchBoxComponent], [typeof i2.CommonModule, typeof i3.AXTranslationModule, typeof i4.AXDecoratorModule, typeof i5.AXTextBoxModule], [typeof i1.AXSearchBoxComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSearchBoxModule, [typeof i1.AXSearchBoxComponent], [typeof i2.CommonModule, typeof i3.AXTranslationModule, typeof i4.AXDecoratorModule, typeof i5.AXTextBoxModule, typeof i6.AXButtonModule], [typeof i1.AXSearchBoxComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXSearchBoxModule>;
|
|
11
12
|
}
|
|
@@ -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,11 +53,11 @@ 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>;
|