@acorex/components 7.5.1 → 7.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/badge/lib/badge.component.d.ts +3 -3
- package/button/lib/button-item.component.d.ts +3 -1
- package/calendar/lib/calendar.component.d.ts +6 -4
- package/chips/lib/chips.component.d.ts +1 -1
- package/collapse/lib/collapse.component.d.ts +15 -2
- package/collapse/lib/collapse.module.d.ts +2 -1
- package/common/index.d.ts +1 -0
- package/common/lib/classes/datalist.class.d.ts +0 -31
- package/common/lib/classes/datasource.class.d.ts +55 -0
- package/common/lib/classes/styles.class.d.ts +1 -1
- package/common/lib/components/interactive-component.class.d.ts +1 -7
- package/common/lib/components/selection-base.component.class.d.ts +4 -6
- package/common/lib/directives/ripple.directive.d.ts +2 -1
- package/datetime-box/lib/datetime-box.component.d.ts +2 -1
- package/datetime-input/lib/datetime-input.component.d.ts +2 -1
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +2 -2
- package/esm2022/alert/lib/alert.component.mjs +4 -5
- package/esm2022/avatar/lib/avatar.component.mjs +4 -4
- package/esm2022/badge/lib/badge.component.mjs +6 -6
- package/esm2022/button/lib/button-item.component.mjs +12 -3
- package/esm2022/button/lib/button.component.mjs +2 -2
- package/esm2022/button-group/lib/button-group.component.mjs +2 -2
- package/esm2022/calendar/lib/calendar.class.mjs +1 -58
- package/esm2022/calendar/lib/calendar.component.mjs +27 -16
- package/esm2022/chips/lib/chips.component.mjs +4 -4
- package/esm2022/collapse/lib/collapse-group.component.mjs +8 -4
- package/esm2022/collapse/lib/collapse.component.mjs +63 -15
- package/esm2022/collapse/lib/collapse.module.mjs +5 -4
- package/esm2022/color-box/lib/color-box.module.mjs +1 -1
- package/esm2022/common/index.mjs +2 -1
- package/esm2022/common/lib/classes/datalist.class.mjs +2 -41
- package/esm2022/common/lib/classes/datasource.class.mjs +106 -0
- package/esm2022/common/lib/classes/styles.class.mjs +1 -1
- package/esm2022/common/lib/components/interactive-component.class.mjs +13 -13
- package/esm2022/common/lib/components/selection-base.component.class.mjs +55 -27
- package/esm2022/common/lib/directives/ripple.directive.mjs +14 -8
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +6 -3
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +11 -4
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +3 -3
- package/esm2022/list/lib/list.component.mjs +34 -60
- package/esm2022/menu/index.mjs +1 -2
- package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +60 -18
- package/esm2022/menu/lib/menu.component.mjs +37 -342
- package/esm2022/menu/lib/menu.module.mjs +3 -4
- package/esm2022/notification/lib/notification.component.mjs +2 -2
- package/esm2022/otp/lib/otp.component.mjs +4 -3
- package/esm2022/otp/lib/otp.module.mjs +4 -3
- package/esm2022/picker/lib/picker.component.mjs +2 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +2 -2
- package/esm2022/range-slider/lib/range-slider.component.mjs +2 -2
- package/esm2022/routing-progress/lib/routing-progress.component.mjs +3 -3
- package/esm2022/search-box/lib/search-box.component.mjs +5 -4
- package/esm2022/select-box/index.mjs +2 -2
- package/esm2022/select-box/lib/select-box.component.mjs +168 -308
- package/esm2022/select-box/lib/select-box.module.mjs +5 -6
- package/esm2022/selection-list/lib/selection-list.component.mjs +11 -1
- package/esm2022/side-menu/acorex-components-side-menu.mjs +5 -0
- package/esm2022/side-menu/index.mjs +4 -0
- package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +116 -0
- package/esm2022/side-menu/lib/side-menu.component.mjs +15 -0
- package/esm2022/side-menu/lib/side-menu.module.mjs +23 -0
- package/esm2022/skeleton/acorex-components-skeleton.mjs +5 -0
- package/esm2022/skeleton/index.mjs +3 -0
- package/esm2022/skeleton/lib/skeleton.component.mjs +24 -0
- package/esm2022/skeleton/lib/skeleton.module.mjs +18 -0
- package/esm2022/tabs/lib/tab-item.component.mjs +9 -2
- package/esm2022/tag/lib/tag.component.mjs +6 -12
- package/esm2022/toast/lib/toast.component.mjs +3 -3
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +3 -4
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +3 -3
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +5 -5
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +2 -2
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +13 -4
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +27 -73
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +3 -3
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +74 -21
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +161 -62
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +5 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +10 -3
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +2 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +33 -59
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +78 -381
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +2 -2
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +6 -4
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +2 -2
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +2 -2
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +2 -2
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +96 -417
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +10 -0
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +153 -0
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-skeleton.mjs +46 -0
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -0
- package/fesm2022/acorex-components-tabs.mjs +8 -1
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +5 -11
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +2 -2
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/list/lib/list.component.d.ts +11 -23
- package/menu/index.d.ts +0 -1
- package/menu/lib/class/root-menu.class.d.ts +2 -0
- package/menu/lib/menu-item/menu-item.component.d.ts +19 -6
- package/menu/lib/menu.component.d.ts +10 -40
- package/menu/lib/menu.module.d.ts +7 -8
- package/mixin/lib/base-components.class.d.ts +2 -2
- package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
- package/mixin/lib/button-mixin.class.d.ts +2 -2
- package/mixin/lib/clickable-mixin.class.d.ts +2 -2
- package/mixin/lib/color-look-mixing.class.d.ts +2 -2
- package/mixin/lib/datalist-component.class.d.ts +10 -10
- package/mixin/lib/dropdown-mixin.class.d.ts +2 -2
- package/mixin/lib/interactive-mixin.class.d.ts +4 -4
- package/mixin/lib/mixin.class.d.ts +61 -61
- package/mixin/lib/page-component.class.d.ts +2 -2
- package/mixin/lib/selection-component.class.d.ts +2 -2
- package/mixin/lib/sizable-mixin.class.d.ts +2 -2
- package/mixin/lib/textbox-mixin.class.d.ts +2 -2
- package/mixin/lib/value-mixin.class.d.ts +8 -8
- package/otp/lib/otp.module.d.ts +2 -1
- package/package.json +13 -7
- package/search-box/lib/search-box.component.d.ts +2 -1
- package/select-box/index.d.ts +1 -1
- package/select-box/lib/select-box.component.d.ts +37 -59
- package/select-box/lib/select-box.module.d.ts +14 -15
- package/selection-list/lib/selection-list.component.d.ts +3 -0
- package/side-menu/README.md +3 -0
- package/side-menu/index.d.ts +3 -0
- package/side-menu/lib/side-menu-item/side-menu-item.compoent.d.ts +37 -0
- package/side-menu/lib/side-menu.component.d.ts +8 -0
- package/side-menu/lib/side-menu.module.d.ts +10 -0
- package/skeleton/README.md +3 -0
- package/skeleton/index.d.ts +2 -0
- package/skeleton/lib/skeleton.component.d.ts +8 -0
- package/skeleton/lib/skeleton.module.d.ts +8 -0
- package/tabs/lib/tab-item.component.d.ts +2 -1
- package/tag/lib/tag.component.d.ts +3 -4
- package/context-menu/README.md +0 -3
- package/context-menu/index.d.ts +0 -2
- package/context-menu/lib/context-menu.component.d.ts +0 -34
- package/context-menu/lib/context-menu.module.d.ts +0 -13
- package/esm2022/context-menu/acorex-components-context-menu.mjs +0 -5
- package/esm2022/context-menu/index.mjs +0 -3
- package/esm2022/context-menu/lib/context-menu.component.mjs +0 -262
- package/esm2022/context-menu/lib/context-menu.module.mjs +0 -26
- package/esm2022/menu/lib/menu2.component.mjs +0 -45
- package/esm2022/select-box/lib/select-box2.component.mjs +0 -191
- package/fesm2022/acorex-components-context-menu.mjs +0 -290
- package/fesm2022/acorex-components-context-menu.mjs.map +0 -1
- package/menu/lib/menu2.component.d.ts +0 -12
- package/select-box/lib/select-box2.component.d.ts +0 -44
@@ -1,70 +1,48 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import { AXPopoverComponent } from '@acorex/components/popover';
|
1
|
+
import { AXDateSource, AXValueChangedEvent, MXLookComponent, MXSelectionValueComponent } from '@acorex/components/common';
|
2
|
+
import { AXDropdownBoxComponent, MXDropdownBoxBaseComponent } from '@acorex/components/dropdown';
|
3
|
+
import { AXListComponent } from '@acorex/components/list';
|
5
4
|
import { AXSearchBoxComponent } from '@acorex/components/search-box';
|
5
|
+
import { AfterViewInit, TemplateRef } from '@angular/core';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
+
declare const AXSelectBoxComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXDropdownBoxBaseComponent, typeof MXSelectionValueComponent, typeof MXLookComponent]>;
|
7
8
|
/**
|
8
9
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
9
10
|
*
|
10
11
|
* @category Components
|
11
12
|
*/
|
12
|
-
export declare class AXSelectBoxComponent extends
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
_searchBox: AXSearchBoxComponent;
|
19
|
-
_target: HTMLDivElement;
|
20
|
-
_popoverTitle: string;
|
21
|
-
_popoverWidth: number;
|
22
|
-
/**
|
23
|
-
* Defines the clearButton.
|
24
|
-
*/
|
25
|
-
clearButton: boolean;
|
26
|
-
/**
|
27
|
-
* Defines the checkbox.
|
28
|
-
*/
|
29
|
-
checkbox: boolean;
|
30
|
-
private listContainer;
|
31
|
-
private _contentEmptyTemplate;
|
32
|
-
get emptyTemplate(): TemplateRef<any>;
|
33
|
-
_isActionSheet: boolean;
|
34
|
-
_forceFocus: boolean;
|
35
|
-
protected _loadingOptions: {
|
36
|
-
text: string;
|
13
|
+
export declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements AfterViewInit {
|
14
|
+
isLoading: boolean;
|
15
|
+
protected renderList: boolean;
|
16
|
+
protected dropdownSizes: {
|
17
|
+
width: string;
|
18
|
+
height: string;
|
37
19
|
};
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
20
|
+
protected _listDataSource: AXDateSource<unknown>;
|
21
|
+
private _dataSource;
|
22
|
+
get dataSource(): AXDateSource<unknown> | unknown[];
|
23
|
+
set dataSource(v: AXDateSource<unknown> | unknown[]);
|
24
|
+
placeholder: string;
|
25
|
+
itemTemplate: TemplateRef<unknown>;
|
26
|
+
emptyTemplate: TemplateRef<unknown>;
|
27
|
+
loadingTemplate: TemplateRef<unknown>;
|
28
|
+
list: AXListComponent;
|
29
|
+
searchBox: AXSearchBoxComponent;
|
30
|
+
protected dropdown: AXDropdownBoxComponent;
|
31
|
+
protected autoHeight: boolean;
|
32
|
+
ngAfterViewInit(): void;
|
33
|
+
getItemByKey(key: unknown): Promise<unknown> | unknown;
|
34
|
+
protected _handleOnOpenedEvent(): void;
|
35
|
+
protected _handleOnClosedEvent(): void;
|
36
|
+
protected _handleBadgeRemove(e: MouseEvent, item: any): void;
|
37
|
+
protected _handleOnDataLoad(items: unknown[]): void;
|
38
|
+
protected _handleValueChanged(e: AXValueChangedEvent): void;
|
39
|
+
internalValueChanged(): void;
|
40
|
+
private detectAutoHeight;
|
41
|
+
private setDropdownSize;
|
56
42
|
_handleKeydown(e: KeyboardEvent): void;
|
57
|
-
|
58
|
-
|
59
|
-
_handlePopupOnClosed(e: any): void;
|
60
|
-
private _focusSearchBox;
|
61
|
-
private _focusItemByNav;
|
62
|
-
private _focusSelectedItem;
|
63
|
-
private _focusItemElement;
|
64
|
-
private _selectedItemByNav;
|
65
|
-
search(exp: string): void;
|
66
|
-
_fetchData(): void;
|
67
|
-
get __hostClass(): string;
|
43
|
+
private selectItemByNav;
|
44
|
+
search(term: string): void;
|
68
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["searchBox"], ["ax-prefix", " ax-clear-button", "ax-suffix", "ax-search-box", "ax-footer", "ax-validation-rule"], false, never>;
|
70
47
|
}
|
48
|
+
export {};
|
@@ -1,21 +1,20 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./select-box.component";
|
3
|
-
import * as i2 from "
|
4
|
-
import * as i3 from "@
|
5
|
-
import * as i4 from "@
|
6
|
-
import * as i5 from "@
|
7
|
-
import * as i6 from "@acorex/components/
|
8
|
-
import * as i7 from "@acorex/components/
|
9
|
-
import * as i8 from "@acorex/
|
10
|
-
import * as i9 from "@acorex/
|
11
|
-
import * as i10 from "@acorex/components/
|
12
|
-
import * as i11 from "@
|
13
|
-
import * as i12 from "@
|
14
|
-
import * as i13 from "@acorex/components/
|
15
|
-
import * as i14 from "@acorex/components/
|
16
|
-
import * as i15 from "@acorex/components/list";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@acorex/components/common";
|
5
|
+
import * as i4 from "@angular/forms";
|
6
|
+
import * as i5 from "@acorex/components/check-box";
|
7
|
+
import * as i6 from "@acorex/components/badge";
|
8
|
+
import * as i7 from "@acorex/components/decorators";
|
9
|
+
import * as i8 from "@acorex/core/translation";
|
10
|
+
import * as i9 from "@acorex/components/popover";
|
11
|
+
import * as i10 from "@acorex/components/loading";
|
12
|
+
import * as i11 from "@angular/cdk/a11y";
|
13
|
+
import * as i12 from "@acorex/components/text-box";
|
14
|
+
import * as i13 from "@acorex/components/dropdown";
|
15
|
+
import * as i14 from "@acorex/components/list";
|
17
16
|
export declare class AXSelectBoxModule {
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxModule, never>;
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.FormsModule, typeof i5.AXCheckBoxModule, typeof i6.AXBadgeModule, typeof i7.AXDecoratorModule, typeof i8.AXTranslationModule, typeof i9.AXPopoverModule, typeof i10.AXLoadingModule, typeof i11.A11yModule, typeof i12.AXTextBoxModule, typeof i13.AXDropdownModule, typeof i14.AXListModule], [typeof i1.AXSelectBoxComponent]>;
|
20
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectBoxModule>;
|
21
20
|
}
|
@@ -13,6 +13,9 @@ export declare class AXSelectionListComponent extends MXSelectionValueComponent
|
|
13
13
|
private _items;
|
14
14
|
get items(): unknown[];
|
15
15
|
set items(v: unknown[]);
|
16
|
+
private _hintField;
|
17
|
+
get hintField(): string;
|
18
|
+
set hintField(v: string);
|
16
19
|
getItemByKey(key: unknown): unknown;
|
17
20
|
look: AXSelectionListLook;
|
18
21
|
protected _handleOnItemValueChange(item: any, e: Event): void;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { AXClickEvent, MXInteractiveComponent } from '@acorex/components/common';
|
2
|
+
import { AfterContentInit, ElementRef, EventEmitter } from '@angular/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXSideMenuItemComponent extends MXInteractiveComponent implements AfterContentInit {
|
5
|
+
private elem;
|
6
|
+
textChange: EventEmitter<any>;
|
7
|
+
private _text;
|
8
|
+
/**
|
9
|
+
* Providing a string value for its text state
|
10
|
+
*/
|
11
|
+
get text(): string;
|
12
|
+
set text(v: string);
|
13
|
+
isCollapsedChange: EventEmitter<any>;
|
14
|
+
private _isCollapsed;
|
15
|
+
/**
|
16
|
+
* Providing a boolean value for its collapse state
|
17
|
+
*/
|
18
|
+
get isCollapsed(): boolean;
|
19
|
+
set isCollapsed(v: boolean);
|
20
|
+
activeChange: EventEmitter<boolean>;
|
21
|
+
private _active;
|
22
|
+
/**
|
23
|
+
* Providing a string value for its text state
|
24
|
+
*/
|
25
|
+
get active(): boolean;
|
26
|
+
set active(v: boolean);
|
27
|
+
onClick: EventEmitter<AXClickEvent>;
|
28
|
+
protected hasChild: boolean;
|
29
|
+
constructor(elem: ElementRef);
|
30
|
+
_handleClickEvent(e: MouseEvent): void;
|
31
|
+
toggle(): void;
|
32
|
+
open(): void;
|
33
|
+
close(): void;
|
34
|
+
ngAfterContentInit(): void;
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSideMenuItemComponent, never>;
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, { "textChange": "textChange"; "isCollapsedChange": "isCollapsedChange"; "activeChange": "activeChange"; "onClick": "onClick"; }, never, ["ax-title", "ax-prefix", "ax-suffix", "ax-side-menu-item, ng-container", "ax-divider"], false, never>;
|
37
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { OnInit } from '@angular/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXSideMenuComponent extends MXBaseComponent implements OnInit {
|
5
|
+
ngOnInit(): void;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSideMenuComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSideMenuComponent, "ax-side-menu", never, {}, {}, never, ["ax-side-menu-item,ng-container,ng-content"], false, never>;
|
8
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./side-menu.component";
|
3
|
+
import * as i2 from "./side-menu-item/side-menu-item.compoent";
|
4
|
+
import * as i3 from "@angular/common";
|
5
|
+
import * as i4 from "@acorex/components/common";
|
6
|
+
export declare class AXSideMenuModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSideMenuModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSideMenuModule, [typeof i1.AXSideMenuComponent, typeof i2.AXSideMenuItemComponent], [typeof i3.CommonModule, typeof i4.AXCommonModule], [typeof i1.AXSideMenuComponent, typeof i2.AXSideMenuItemComponent]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXSideMenuModule>;
|
10
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXSkeletonComponent extends MXBaseComponent {
|
4
|
+
animated: boolean;
|
5
|
+
get __hostClass(): string;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSkeletonComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSkeletonComponent, "ax-skeleton", never, { "animated": { "alias": "animated"; "required": false; }; }, {}, never, never, false, never>;
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./skeleton.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
export declare class AXSkeletonModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSkeletonModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSkeletonModule, [typeof i1.AXSkeletonComponent], [typeof i2.CommonModule], [typeof i1.AXSkeletonComponent]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXSkeletonModule>;
|
8
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MXComponentOptionChanged, MXInteractiveComponent } from '@acorex/components/common';
|
1
|
+
import { AXClickEvent, MXComponentOptionChanged, MXInteractiveComponent } from '@acorex/components/common';
|
2
2
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXTabItemComponent extends MXInteractiveComponent {
|
@@ -7,6 +7,7 @@ export declare class AXTabItemComponent extends MXInteractiveComponent {
|
|
7
7
|
template: TemplateRef<unknown>;
|
8
8
|
headerTemplate: TemplateRef<unknown>;
|
9
9
|
activeChange: EventEmitter<boolean>;
|
10
|
+
onClick: EventEmitter<AXClickEvent>;
|
10
11
|
private _active;
|
11
12
|
get active(): boolean;
|
12
13
|
set active(value: boolean);
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { MXColorLookComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXTagComponent extends
|
3
|
+
export declare class AXTagComponent extends MXColorLookComponent {
|
4
4
|
text: string;
|
5
|
-
look: 'default' | 'outline';
|
6
5
|
private get __hostClass();
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTagComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTagComponent, "ax-tag", never, { "
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTagComponent, "ax-tag", never, { "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["ax-prefix", "ax-suffix"], false, never>;
|
9
8
|
}
|
package/context-menu/README.md
DELETED
package/context-menu/index.d.ts
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
2
|
-
import { AXBaseComponent, AXBaseMenuMixin } from '@acorex/components/mixin';
|
3
|
-
import { AXPlatform } from '@acorex/core/platform';
|
4
|
-
import { ChangeDetectorRef, ElementRef, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
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 AXContextMenuComponent extends AXBaseMenuMixin implements OnInit {
|
12
|
-
private _elementRef;
|
13
|
-
private cdr;
|
14
|
-
private _overlay;
|
15
|
-
private _viewContainerRef;
|
16
|
-
private _platform;
|
17
|
-
_contextTemplate: TemplateRef<any>;
|
18
|
-
get contextTemplate(): TemplateRef<any>;
|
19
|
-
_menuTmp: TemplateRef<any>;
|
20
|
-
private _overlayRef;
|
21
|
-
private _templatePortal;
|
22
|
-
private _target;
|
23
|
-
get target(): HTMLElement;
|
24
|
-
set target(v: HTMLElement | ElementRef | AXBaseComponent);
|
25
|
-
constructor(_elementRef: ElementRef, cdr: ChangeDetectorRef, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _platform: AXPlatform);
|
26
|
-
onInit(): void;
|
27
|
-
ngAfterViewInit(): void;
|
28
|
-
private _openAsOverlay;
|
29
|
-
private close;
|
30
|
-
/***********defultTmp***********/
|
31
|
-
onContextMenuClick(e: any): void;
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "disabled": { "alias": "disabled"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "items": { "alias": "items"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "iconField": { "alias": "iconField"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "active": { "alias": "active"; "required": false; }; "visibleField": { "alias": "visibleField"; "required": false; }; "disableField": { "alias": "disableField"; "required": false; }; "hasChildField": { "alias": "hasChildField"; "required": false; }; "dividerField": { "alias": "dividerField"; "required": false; }; "openMode": { "alias": "openMode"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onMenuItemClick": "onMenuItemClick"; }, never, never, false, never>;
|
34
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./context-menu.component";
|
3
|
-
import * as i2 from "@angular/common";
|
4
|
-
import * as i3 from "@acorex/components/decorators";
|
5
|
-
import * as i4 from "@acorex/components/loading";
|
6
|
-
import * as i5 from "@acorex/core/translation";
|
7
|
-
import * as i6 from "@angular/cdk/overlay";
|
8
|
-
import * as i7 from "@acorex/components/menu";
|
9
|
-
export declare class AXContextMenuModule {
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXContextMenuModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXContextMenuModule, [typeof i1.AXContextMenuComponent], [typeof i2.CommonModule, typeof i3.AXDecoratorModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule, typeof i6.OverlayModule, typeof i7.AXMenuModule], [typeof i1.AXContextMenuComponent]>;
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXContextMenuModule>;
|
13
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtY29udGV4dC1tZW51LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbnRleHQtbWVudS9zcmMvYWNvcmV4LWNvbXBvbmVudHMtY29udGV4dC1tZW51LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export * from './lib/context-menu.component';
|
2
|
-
export * from './lib/context-menu.module';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29udGV4dC1tZW51L3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9jb250ZXh0LW1lbnUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbnRleHQtbWVudS5tb2R1bGUnO1xuIl19
|