@acorex/components 5.0.51 → 5.0.52
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/avatar/avatar-group.component.mjs +17 -0
- package/esm2020/lib/avatar/avatar.component.mjs +20 -34
- package/esm2020/lib/avatar/avatar.module.mjs +4 -3
- package/esm2020/lib/avatar/index.mjs +2 -1
- package/esm2020/lib/base/mixin/mixin.class.mjs +2 -1
- package/esm2020/lib/base/mixin/selection-component.class.mjs +4 -2
- package/esm2020/lib/breadcrumbs/breadcrumbs-item.class.mjs +2 -0
- package/esm2020/lib/breadcrumbs/breadcrumbs-item.component.mjs +15 -0
- package/esm2020/lib/breadcrumbs/breadcrumbs.component.mjs +13 -0
- package/esm2020/lib/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2020/lib/breadcrumbs/index.mjs +5 -0
- package/esm2020/lib/rating/index.mjs +3 -0
- package/esm2020/lib/rating/rating.component.mjs +33 -0
- package/esm2020/lib/rating/rating.component.module.mjs +19 -0
- package/esm2020/lib/selectbox/selectbox.component.mjs +18 -2
- package/esm2020/lib/selection-list/selection-list.component.mjs +12 -1
- package/esm2020/lib/time-box/time-box.component.mjs +9 -1
- package/esm2020/lib/toast/toast.component.mjs +9 -1
- package/esm2020/lib/treeview/tree-view.component.mjs +9 -1
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/acorex-components.mjs +230 -92
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +230 -92
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/avatar/avatar-group.component.d.ts +8 -0
- package/lib/avatar/avatar.component.d.ts +9 -15
- package/lib/avatar/avatar.module.d.ts +3 -2
- package/lib/avatar/index.d.ts +1 -0
- package/lib/base/mixin/mixin.class.d.ts +31 -0
- package/lib/base/mixin/selection-component.class.d.ts +3 -0
- package/lib/breadcrumbs/breadcrumbs-item.class.d.ts +9 -0
- package/lib/breadcrumbs/breadcrumbs-item.component.d.ts +7 -0
- package/lib/breadcrumbs/breadcrumbs.component.d.ts +8 -0
- package/lib/breadcrumbs/breadcrumbs.module.d.ts +9 -0
- package/lib/breadcrumbs/index.d.ts +4 -0
- package/lib/rating/index.d.ts +2 -0
- package/lib/rating/rating.component.d.ts +13 -0
- package/lib/rating/rating.component.module.d.ts +8 -0
- package/lib/selectbox/selectbox.component.d.ts +17 -0
- package/lib/selection-list/selection-list.component.d.ts +11 -0
- package/lib/time-box/time-box.component.d.ts +8 -0
- package/lib/toast/toast.component.d.ts +8 -0
- package/lib/treeview/tree-view.component.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXAvatarGroup implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarGroup, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarGroup, "ax-avatar-group", never, {}, {}, never, ["ax-avatar"]>;
|
|
8
|
+
}
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AXAvatarMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXAvatarComponent extends
|
|
4
|
+
export declare class AXAvatarComponent extends AXAvatarMixin {
|
|
5
|
+
text: any;
|
|
6
|
+
icon: any;
|
|
7
|
+
src: any;
|
|
8
|
+
class: any;
|
|
9
|
+
type: "default" | 'text' | 'icon' | 'image';
|
|
5
10
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
-
|
|
7
|
-
get image(): string;
|
|
8
|
-
set image(v: string);
|
|
9
|
-
private _title;
|
|
10
|
-
get title(): string;
|
|
11
|
-
set title(v: string);
|
|
12
|
-
private _icon;
|
|
13
|
-
get icon(): string;
|
|
14
|
-
set icon(v: string);
|
|
15
|
-
private _abbr;
|
|
16
|
-
get abbr(): string;
|
|
17
|
-
set abbr(v: string);
|
|
11
|
+
get __hostClass(): string;
|
|
18
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarComponent, "ax-avatar", never, { "
|
|
13
|
+
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"]>;
|
|
20
14
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./avatar.component";
|
|
3
|
-
import * as i2 from "
|
|
3
|
+
import * as i2 from "./avatar-group.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
4
5
|
export declare class AXAvatarModule {
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAvatarModule, [typeof i1.AXAvatarComponent], [typeof
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAvatarModule, [typeof i1.AXAvatarComponent, typeof i2.AXAvatarGroup], [typeof i3.CommonModule], [typeof i1.AXAvatarComponent, typeof i2.AXAvatarGroup]>;
|
|
7
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXAvatarModule>;
|
|
8
9
|
}
|
package/lib/avatar/index.d.ts
CHANGED
|
@@ -607,3 +607,34 @@ export declare const AXBaseProgressMixin: {
|
|
|
607
607
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
608
608
|
};
|
|
609
609
|
} & typeof AXBaseComponent;
|
|
610
|
+
export declare const AXAvatarMixin: {
|
|
611
|
+
new (...args: any[]): {
|
|
612
|
+
colorChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleColorType>;
|
|
613
|
+
_color: import("@acorex/components").AXStyleColorType;
|
|
614
|
+
color: import("@acorex/components").AXStyleColorType;
|
|
615
|
+
lookChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleButtonLook>;
|
|
616
|
+
_look?: import("@acorex/components").AXStyleButtonLook;
|
|
617
|
+
look: import("@acorex/components").AXStyleButtonLook;
|
|
618
|
+
id: string;
|
|
619
|
+
rtl: boolean;
|
|
620
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
621
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
622
|
+
_isInited: boolean;
|
|
623
|
+
_isRendered: boolean;
|
|
624
|
+
ngOnInit(): void;
|
|
625
|
+
ngAfterViewInit(): void;
|
|
626
|
+
ngOnDestroy(): void;
|
|
627
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
628
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
629
|
+
_onInternalInit(): void;
|
|
630
|
+
_onInternalViewInit(): void;
|
|
631
|
+
_onInternalDestroy(): void;
|
|
632
|
+
onInit(): void;
|
|
633
|
+
onRenderCssClass(): void;
|
|
634
|
+
onViewInit(): void;
|
|
635
|
+
onDestroy(): void;
|
|
636
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
637
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
638
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
639
|
+
};
|
|
640
|
+
} & typeof AXBaseComponent;
|
|
@@ -13,6 +13,9 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
13
13
|
}) => boolean;
|
|
14
14
|
multiple: boolean;
|
|
15
15
|
selectionMode: 'value' | 'item';
|
|
16
|
+
/**
|
|
17
|
+
* Defines the primary text to show inside the button.
|
|
18
|
+
*/
|
|
16
19
|
readonly items: any[];
|
|
17
20
|
readonly displayItems: any[];
|
|
18
21
|
readonly flatItems: any[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AXBreadCrumbsItemComponent {
|
|
3
|
+
text: string;
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsItemComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsItemComponent, "ax-breadcrumbs-item", never, { "text": "text"; }, {}, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix,ax-loading,ax-icon"]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXBreadCrumbsComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsComponent, "ax-breadcrumbs", never, {}, {}, never, ["ax-breadcrumbs-item"]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./breadcrumbs.component";
|
|
3
|
+
import * as i2 from "./breadcrumbs-item.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class AXBreadcrumbsModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadcrumbsModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBreadcrumbsModule, [typeof i1.AXBreadCrumbsComponent, typeof i2.AXBreadCrumbsItemComponent], [typeof i3.CommonModule], [typeof i1.AXBreadCrumbsComponent, typeof i2.AXBreadCrumbsItemComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXBreadcrumbsModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXRatingComponent implements AfterViewInit {
|
|
4
|
+
stars: ElementRef<HTMLDivElement>;
|
|
5
|
+
items: any[];
|
|
6
|
+
constructor();
|
|
7
|
+
ngAfterViewInit(): void;
|
|
8
|
+
handleStarClick(item: any): void;
|
|
9
|
+
handleMouseEnter(): void;
|
|
10
|
+
handleMouseLeave(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXRatingComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRatingComponent, "ax-rating", never, {}, {}, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./rating.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class AXRatingModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXRatingModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXRatingModule, [typeof i1.AXRatingComponent], [typeof i2.CommonModule], [typeof i1.AXRatingComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXRatingModule>;
|
|
8
|
+
}
|
|
@@ -3,6 +3,11 @@ import { ChangeDetectorRef, ElementRef, NgZone, TemplateRef } from '@angular/cor
|
|
|
3
3
|
import { AXBaseSelectionDropdownMixin, AXClickEvent, AXValueChangedEvent } from '../base';
|
|
4
4
|
import { AXPopoverComponent } from '../popover';
|
|
5
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
|
+
*/
|
|
6
11
|
export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
7
12
|
private _elementRef;
|
|
8
13
|
private _cdr;
|
|
@@ -12,8 +17,14 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
12
17
|
_target: HTMLDivElement;
|
|
13
18
|
_popoverTitle: string;
|
|
14
19
|
_popoverWidth: number;
|
|
20
|
+
/**
|
|
21
|
+
* Defines the clearButton.
|
|
22
|
+
*/
|
|
15
23
|
clearButton: boolean;
|
|
16
24
|
private _searchSettings;
|
|
25
|
+
/**
|
|
26
|
+
* Defines the search.
|
|
27
|
+
*/
|
|
17
28
|
get searchSettings(): {
|
|
18
29
|
enabled?: boolean;
|
|
19
30
|
expr?: string;
|
|
@@ -22,6 +33,9 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
22
33
|
enabled?: boolean;
|
|
23
34
|
expr?: string;
|
|
24
35
|
});
|
|
36
|
+
/**
|
|
37
|
+
* Defines the checkbox.
|
|
38
|
+
*/
|
|
25
39
|
checkbox: boolean;
|
|
26
40
|
private listContainer;
|
|
27
41
|
private _searchBox;
|
|
@@ -29,6 +43,9 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
29
43
|
get emptyTemplate(): TemplateRef<any>;
|
|
30
44
|
_isMobile: boolean;
|
|
31
45
|
_forceFocus: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
32
49
|
constructor(_elementRef: ElementRef<HTMLDivElement>, _cdr: ChangeDetectorRef, _zone: NgZone, _platform: AXPlatform);
|
|
33
50
|
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
34
51
|
_handleInputClickEvent(e: MouseEvent): void;
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { AXBaseSelectionValueMixin, AXDirection } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
4
9
|
export declare class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
5
13
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
|
+
/**
|
|
15
|
+
* Defines the direction.
|
|
16
|
+
*/
|
|
6
17
|
direction: AXDirection;
|
|
7
18
|
_handleOnItemValueChange(item: any, e: Event): void;
|
|
8
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListComponent, never>;
|
|
@@ -3,6 +3,11 @@ import IMask from 'imask';
|
|
|
3
3
|
import { AXBaseTextBoxMixin, AXComponentOptionChanged } from '../base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare type AX_TIME_FORMAT = 'HH:mm' | 'HH:mm:ss';
|
|
6
|
+
/**
|
|
7
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
6
11
|
export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
7
12
|
private cdr;
|
|
8
13
|
private _minValue;
|
|
@@ -24,6 +29,9 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
24
29
|
*/
|
|
25
30
|
_maskObj: IMask.MaskedPattern;
|
|
26
31
|
private _maskDirective;
|
|
32
|
+
/**
|
|
33
|
+
* @ignore
|
|
34
|
+
*/
|
|
27
35
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
28
36
|
onViewInit(): void;
|
|
29
37
|
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
@@ -3,11 +3,19 @@ import { AXBaseComponentMixin } from '../base';
|
|
|
3
3
|
import { AXButtonItem } from '../button';
|
|
4
4
|
import { AXToastOptions } from './toast.class';
|
|
5
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
|
+
*/
|
|
6
11
|
export declare class AXToastComponent extends AXBaseComponentMixin {
|
|
7
12
|
options: AXToastOptions;
|
|
8
13
|
_toastWidth: number;
|
|
9
14
|
_icon: string;
|
|
10
15
|
close: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
11
19
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
12
20
|
onInit(): void;
|
|
13
21
|
_handleButtonClick(button: AXButtonItem): void;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
5
|
+
*
|
|
6
|
+
* @category Components
|
|
7
|
+
*/
|
|
3
8
|
export declare class AXTreeViewComponent implements OnInit {
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
4
12
|
constructor();
|
|
5
13
|
ngOnInit(): void;
|
|
6
14
|
showLines: "all" | "node" | "none";
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from "./lib/alert";
|
|
|
6
6
|
export * from "./lib/avatar";
|
|
7
7
|
export * from "./lib/badge";
|
|
8
8
|
export * from "./lib/base";
|
|
9
|
+
export * from "./lib/breadcrumbs";
|
|
9
10
|
export * from "./lib/button";
|
|
10
11
|
export * from "./lib/calendar";
|
|
11
12
|
export * from "./lib/carousel";
|
|
@@ -30,6 +31,7 @@ export * from "./lib/popup";
|
|
|
30
31
|
export * from "./lib/progress-bar";
|
|
31
32
|
export * from "./lib/radio";
|
|
32
33
|
export * from "./lib/range-slider";
|
|
34
|
+
export * from "./lib/rating";
|
|
33
35
|
export * from "./lib/selectbox";
|
|
34
36
|
export * from "./lib/selection-list";
|
|
35
37
|
export * from "./lib/switch";
|