@acorex/components 5.3.0 → 5.3.3
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 +3 -3
- package/esm2020/lib/action-sheet/action-sheet.component.mjs +3 -3
- package/esm2020/lib/action-sheet/action-sheet.module.mjs +4 -4
- package/esm2020/lib/alert/alert-button.component.mjs +3 -3
- package/esm2020/lib/alert/alert.component.mjs +3 -3
- package/esm2020/lib/alert/alert.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/badge/badge.component.mjs +3 -3
- package/esm2020/lib/badge/badge.module.mjs +4 -4
- package/esm2020/lib/base/common.module.mjs +4 -4
- package/esm2020/lib/base/components.class.mjs +6 -6
- package/esm2020/lib/base/custom-cdk-overlay.service.mjs +6 -6
- 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/base-menu-mixin.class.mjs +12 -12
- 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 +4 -4
- package/esm2020/lib/button/button-group.component.mjs +3 -3
- package/esm2020/lib/button/button-item.component.mjs +3 -3
- package/esm2020/lib/button/button.component.mjs +3 -3
- package/esm2020/lib/button/button.module.mjs +4 -4
- package/esm2020/lib/calendar/calendar.class.mjs +3 -3
- package/esm2020/lib/calendar/calendar.component.mjs +3 -3
- package/esm2020/lib/calendar/calendar.module.mjs +4 -4
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-item.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-pager.component.mjs +3 -3
- 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 +4 -4
- package/esm2020/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/checkbox/checkbox.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/color-picker/color-picker.component.mjs +324 -0
- package/esm2020/lib/color-picker/color-picker.module.mjs +57 -0
- package/esm2020/lib/color-picker/index.mjs +3 -0
- package/esm2020/lib/datalist/datalist.component.mjs +3 -3
- package/esm2020/lib/datalist/datalist.module.mjs +4 -4
- package/esm2020/lib/datepicker/datepicker.component.mjs +3 -3
- package/esm2020/lib/datepicker/datepicker.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/decorators/footer.component.mjs +3 -3
- package/esm2020/lib/decorators/header.component.mjs +3 -3
- package/esm2020/lib/decorators/icon.component.mjs +3 -3
- package/esm2020/lib/decorators/prefix.component.mjs +3 -3
- package/esm2020/lib/decorators/suffix.component.mjs +3 -3
- package/esm2020/lib/decorators/title.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.module.mjs +4 -4
- package/esm2020/lib/dialog/dialog.service.mjs +3 -3
- package/esm2020/lib/drawer/drawer-container.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer.module.mjs +4 -4
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/lib/form/form-field.component.mjs +3 -3
- package/esm2020/lib/form/form-field.module.mjs +4 -4
- package/esm2020/lib/form/form-hint.component.mjs +3 -3
- package/esm2020/lib/form/form.component.mjs +3 -3
- package/esm2020/lib/input-mask/input-mask.component.mjs +3 -3
- package/esm2020/lib/input-mask/input-mask.module.mjs +4 -4
- package/esm2020/lib/label/label.component.mjs +3 -3
- package/esm2020/lib/label/label.module.mjs +4 -4
- package/esm2020/lib/loading/loading-spinner.component.mjs +3 -3
- package/esm2020/lib/loading/loading.component.mjs +3 -3
- package/esm2020/lib/loading/loading.directive.mjs +3 -3
- package/esm2020/lib/loading/loading.module.mjs +4 -4
- package/esm2020/lib/loading/loading.service.mjs +3 -3
- package/esm2020/lib/menu/menu.component.mjs +53 -51
- package/esm2020/lib/menu/menu.module.mjs +4 -4
- package/esm2020/lib/number-box/number-box.component.mjs +3 -3
- package/esm2020/lib/number-box/number-box.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/password-box/password-box.component.mjs +3 -3
- package/esm2020/lib/password-box/password-box.module.mjs +4 -4
- package/esm2020/lib/picker/picker.component.mjs +3 -3
- package/esm2020/lib/picker/picker.module.mjs +4 -4
- package/esm2020/lib/popover/popover.component.mjs +3 -3
- package/esm2020/lib/popover/popover.module.mjs +4 -4
- package/esm2020/lib/popup/popup.component.mjs +3 -3
- package/esm2020/lib/popup/popup.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/radio/index.mjs +1 -1
- package/esm2020/lib/radio/radio.component.mjs +5 -5
- package/esm2020/lib/radio/radio.module.mjs +5 -5
- package/esm2020/lib/range-slider/range-slider.component.mjs +3 -3
- package/esm2020/lib/range-slider/range-slider.module.mjs +4 -4
- package/esm2020/lib/rating/rating.component.mjs +3 -3
- package/esm2020/lib/rating/rating.component.module.mjs +4 -4
- package/esm2020/lib/result/result.component.mjs +3 -3
- package/esm2020/lib/result/result.module.mjs +4 -4
- package/esm2020/lib/searchbox/searchbox.component.mjs +3 -3
- package/esm2020/lib/searchbox/searchbox.module.mjs +4 -4
- package/esm2020/lib/selectbox/selectbox.component.mjs +3 -3
- package/esm2020/lib/selectbox/selectbox.module.mjs +4 -4
- package/esm2020/lib/selection-list/selection-list.component.mjs +5 -5
- package/esm2020/lib/selection-list/selection-list.module.mjs +4 -4
- package/esm2020/lib/switch/switch.component.mjs +3 -3
- package/esm2020/lib/switch/switch.module.mjs +4 -4
- package/esm2020/lib/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/lib/tabs/tab-item.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/textarea/textarea.component.mjs +3 -3
- package/esm2020/lib/textarea/textarea.module.mjs +4 -4
- package/esm2020/lib/textbox/textbox.component.mjs +3 -3
- package/esm2020/lib/textbox/textbox.module.mjs +4 -4
- package/esm2020/lib/time-box/time-box.component.mjs +3 -3
- package/esm2020/lib/time-box/time-box.module.mjs +4 -4
- package/esm2020/lib/toast/toast.component.mjs +3 -3
- package/esm2020/lib/toast/toast.module.mjs +4 -4
- package/esm2020/lib/toast/toast.service.mjs +3 -3
- 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 +4 -4
- package/esm2020/lib/treeview/tree-view.component.mjs +3 -3
- package/esm2020/lib/treeview/tree-view.module.mjs +4 -4
- package/esm2020/lib/validation/validation-rule.widget.mjs +3 -3
- package/esm2020/lib/validation/validation.module.mjs +4 -4
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +1252 -895
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +1237 -885
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/mixin/base-menu-mixin.class.d.ts +2 -2
- package/lib/base/mixin/mixin.class.d.ts +2 -2
- package/lib/color-picker/color-picker.component.d.ts +62 -0
- package/lib/color-picker/color-picker.module.d.ts +17 -0
- package/lib/color-picker/index.d.ts +2 -0
- package/lib/menu/menu.component.d.ts +3 -3
- package/package.json +4 -4
- package/public-api.d.ts +1 -0
|
@@ -11,7 +11,7 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
|
11
11
|
visibleField: string;
|
|
12
12
|
disableField: string;
|
|
13
13
|
hasChildField: string;
|
|
14
|
-
|
|
14
|
+
iconField: string;
|
|
15
15
|
openMode: 'click' | 'hover';
|
|
16
16
|
direction: 'horizontal' | 'vertical';
|
|
17
17
|
onMenuItemClick: EventEmitter<AXItemClickEvent<any>>;
|
|
@@ -22,7 +22,7 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
|
22
22
|
readonly isLoading: boolean;
|
|
23
23
|
_formatData(v: any[]): any[];
|
|
24
24
|
_findNode(parentId: number, _children: any, source: any): void;
|
|
25
|
-
_fetchData(parentId?: number):
|
|
25
|
+
_fetchData(parentId?: number): Promise<unknown>;
|
|
26
26
|
_onInternalInit(): void;
|
|
27
27
|
_getItemDisplayTextTemplte(item: any): any;
|
|
28
28
|
_trackLoaded(index: any, item: any): any;
|
|
@@ -617,7 +617,7 @@ export declare const AXBaseMenuMixin: (abstract new (...args: any[]) => {
|
|
|
617
617
|
visibleField: string;
|
|
618
618
|
disableField: string;
|
|
619
619
|
hasChildField: string;
|
|
620
|
-
|
|
620
|
+
iconField: string;
|
|
621
621
|
openMode: "click" | "hover";
|
|
622
622
|
direction: "horizontal" | "vertical";
|
|
623
623
|
onMenuItemClick: import("@angular/core").EventEmitter<import("@acorex/components").AXItemClickEvent<any>>;
|
|
@@ -628,7 +628,7 @@ export declare const AXBaseMenuMixin: (abstract new (...args: any[]) => {
|
|
|
628
628
|
readonly isLoading: boolean;
|
|
629
629
|
_formatData(v: any[]): any[];
|
|
630
630
|
_findNode(parentId: number, _children: any, source: any): void;
|
|
631
|
-
_fetchData(parentId?: number):
|
|
631
|
+
_fetchData(parentId?: number): Promise<unknown>;
|
|
632
632
|
_onInternalInit(): void;
|
|
633
633
|
_getItemDisplayTextTemplte(item: any): any;
|
|
634
634
|
_trackLoaded(index: any, item: any): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { AXPlatform } from '@acorex/core';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, NgZone, TemplateRef } from '@angular/core';
|
|
3
|
+
import { AXBaseSelectionDropdownMixin, AXClickEvent, AXValueChangedEvent } from '../base';
|
|
4
|
+
import { AXPopoverComponent } from '../popover';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
11
|
+
export declare class AXColorPickerComponent extends AXBaseSelectionDropdownMixin {
|
|
12
|
+
private _elementRef;
|
|
13
|
+
private _cdr;
|
|
14
|
+
private _zone;
|
|
15
|
+
private _platform;
|
|
16
|
+
popover: AXPopoverComponent;
|
|
17
|
+
_target: HTMLDivElement;
|
|
18
|
+
_popoverTitle: string;
|
|
19
|
+
_popoverWidth: number;
|
|
20
|
+
/**
|
|
21
|
+
* Defines the clearButton.
|
|
22
|
+
*/
|
|
23
|
+
clearButton: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Defines the checkbox.
|
|
26
|
+
*/
|
|
27
|
+
checkbox: boolean;
|
|
28
|
+
private listContainer;
|
|
29
|
+
private _contentEmptyTemplate;
|
|
30
|
+
get emptyTemplate(): TemplateRef<any>;
|
|
31
|
+
_isMobile: boolean;
|
|
32
|
+
_forceFocus: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
36
|
+
constructor(_elementRef: ElementRef<HTMLDivElement>, _cdr: ChangeDetectorRef, _zone: NgZone, _platform: AXPlatform);
|
|
37
|
+
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
38
|
+
_handleInputClickEvent(e: MouseEvent): void;
|
|
39
|
+
onInit(): void;
|
|
40
|
+
onViewInit(): void;
|
|
41
|
+
refresh(): void;
|
|
42
|
+
_handleOnItemClick(e: MouseEvent, item: any): void;
|
|
43
|
+
_handleListScroll(e: Event): void;
|
|
44
|
+
private _checkForLoadData;
|
|
45
|
+
_onDataLoaded(): void;
|
|
46
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
47
|
+
_handleOnRemoveItemClick(e: MouseEvent, item: any): void;
|
|
48
|
+
_handleBadgeRemove(e: MouseEvent, item: any): void;
|
|
49
|
+
_handleKeydown(e: KeyboardEvent): void;
|
|
50
|
+
_handlePopoverKeydown(e: KeyboardEvent): void;
|
|
51
|
+
_handlePopupOnOpened(e: any): Promise<void>;
|
|
52
|
+
_handlePopupOnClosed(e: any): void;
|
|
53
|
+
private _focusItemByNav;
|
|
54
|
+
private _focusSelectedItem;
|
|
55
|
+
private _focusItemElement;
|
|
56
|
+
private _selectedItemByNav;
|
|
57
|
+
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
58
|
+
search(exp: string): void;
|
|
59
|
+
_fetchData(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPickerComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPickerComponent, "ax-color-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; "clearButton": "clearButton"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix"]>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./color-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../base/common.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../decorators/decorators.module";
|
|
7
|
+
import * as i6 from "../popover/popover.module";
|
|
8
|
+
import * as i7 from "../button/button.module";
|
|
9
|
+
import * as i8 from "@angular/cdk/a11y";
|
|
10
|
+
import * as i9 from "../loading/loading.module";
|
|
11
|
+
import * as i10 from "@acorex/core";
|
|
12
|
+
import * as i11 from "../textbox/textbox.module";
|
|
13
|
+
export declare class AXColorPickerModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPickerModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPickerModule, [typeof i1.AXColorPickerComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.FormsModule, typeof i5.AXDecoratorModule, typeof i6.AXPopoverModule, typeof i7.AXButtonModule, typeof i8.A11yModule, typeof i9.AXLoadingModule, typeof i10.AXTranslationModule, typeof i11.AXTextBoxModule], [typeof i1.AXColorPickerComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXColorPickerModule>;
|
|
17
|
+
}
|
|
@@ -32,12 +32,12 @@ export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
|
32
32
|
onInit(): void;
|
|
33
33
|
ngAfterViewInit(): void;
|
|
34
34
|
_onMenuClick(e: MouseEvent, item: any): void;
|
|
35
|
+
_onMouseEnter(e: MouseEvent, item: any): void;
|
|
36
|
+
_onMouseLeave(item: any): void;
|
|
35
37
|
_notActive(items: any[]): void;
|
|
36
38
|
_closeChild(items: any[]): void;
|
|
37
|
-
_onMouseEnter(e: MouseEvent, item: any): void;
|
|
38
|
-
_onMouseLeave(e: MouseEvent, item: any): void;
|
|
39
39
|
_setParentNode(item: any, parentId: any): void;
|
|
40
40
|
_getDirection(): "horizontal-mode" | "vertical-mode";
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "
|
|
42
|
+
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"], never>;
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^13.3.
|
|
6
|
-
"@angular/core": "^13.3.
|
|
7
|
-
"@angular/cdk": "^13.3.
|
|
5
|
+
"@angular/common": "^13.3.7",
|
|
6
|
+
"@angular/core": "^13.3.7",
|
|
7
|
+
"@angular/cdk": "^13.3.7",
|
|
8
8
|
"@splidejs/splide": "^4.0.1",
|
|
9
9
|
"ngx-mask": "^12.0.0",
|
|
10
10
|
"angular-imask": "^6.3.0-alpha.0"
|
package/public-api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from "./lib/calendar";
|
|
|
13
13
|
export * from "./lib/carousel";
|
|
14
14
|
export * from "./lib/checkbox";
|
|
15
15
|
export * from "./lib/collapse";
|
|
16
|
+
export * from "./lib/color-picker";
|
|
16
17
|
export * from "./lib/datalist";
|
|
17
18
|
export * from "./lib/datepicker";
|
|
18
19
|
export * from "./lib/decorators";
|