@acorex/components 7.11.1 → 7.11.2
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/button/lib/button-item-list.component.d.ts +6 -6
- package/button/lib/button-item.component.d.ts +9 -1
- package/data-table/index.d.ts +1 -1
- package/data-table/lib/columns/{data-column.d.ts → data-table-column.d.ts} +4 -4
- package/data-table/lib/columns/data-text-column.component.d.ts +9 -4
- package/data-table/lib/columns/row-command-column.component.d.ts +28 -21
- package/data-table/lib/columns/row-index-column.component.d.ts +9 -4
- package/data-table/lib/columns/row-select-column.component.d.ts +3 -3
- package/data-table/lib/data-table.component.d.ts +14 -5
- package/data-table/lib/data-table.module.d.ts +11 -9
- package/esm2022/button/lib/button-item-list.component.mjs +35 -10
- package/esm2022/button/lib/button-item.component.mjs +1 -1
- package/esm2022/button/lib/button.component.mjs +2 -2
- package/esm2022/common/index.mjs +1 -1
- package/esm2022/common/lib/common.module.mjs +2 -2
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +1 -1
- package/esm2022/data-table/index.mjs +2 -2
- package/esm2022/data-table/lib/columns/data-table-column.mjs +35 -0
- package/esm2022/data-table/lib/columns/data-text-column.component.mjs +36 -12
- package/esm2022/data-table/lib/columns/row-command-column.component.mjs +152 -64
- package/esm2022/data-table/lib/columns/row-index-column.component.mjs +34 -10
- package/esm2022/data-table/lib/columns/row-select-column.component.mjs +8 -8
- package/esm2022/data-table/lib/data-table.component.mjs +66 -18
- package/esm2022/data-table/lib/data-table.module.mjs +20 -11
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +14 -4
- package/fesm2022/acorex-components-button.mjs +33 -11
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +1 -1
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +1 -1
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +337 -148
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +13 -3
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/package.json +1 -1
- package/esm2022/data-table/lib/columns/data-column.mjs +0 -35
@@ -1,19 +1,19 @@
|
|
1
|
-
import { AXClickEvent, AXItemClickEvent, MXInteractiveComponent } from '@acorex/components/common';
|
2
|
-
import { AXDropdownPanelComponent } from '@acorex/components/dropdown';
|
1
|
+
import { AXClickEvent, AXItemClickEvent, MXInteractiveComponent, AXClosbaleComponent } from '@acorex/components/common';
|
3
2
|
import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
|
4
|
-
import { AXButtonItemComponent } from './button-item.component';
|
3
|
+
import { AXButtonItemComponent, AXButtonItemListItem } from './button-item.component';
|
5
4
|
import * as i0 from "@angular/core";
|
6
5
|
export declare class AXButtonItemListComponent extends MXInteractiveComponent implements AfterContentInit {
|
7
6
|
private parent;
|
8
7
|
protected _contentButtons: QueryList<AXButtonItemComponent>;
|
8
|
+
items: AXButtonItemListItem[];
|
9
9
|
onItemClick: EventEmitter<AXItemClickEvent<AXButtonItemComponent>>;
|
10
|
-
constructor(parent:
|
10
|
+
constructor(parent: AXClosbaleComponent);
|
11
11
|
ngAfterContentInit(): void;
|
12
12
|
private _initContents;
|
13
13
|
private _bindEvents;
|
14
14
|
private _bindProps;
|
15
|
-
|
15
|
+
protected _handleOnItemClick(e: AXClickEvent): void;
|
16
16
|
_emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonItemListComponent, never>;
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonItemListComponent, "ax-button-item-list", never, {}, { "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-button-item, ax-title, ax-divider, ng-container"], false, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonItemListComponent, "ax-button-item-list", never, { "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-button-item, ax-title, ax-divider, ng-container"], false, never>;
|
19
19
|
}
|
@@ -1,6 +1,14 @@
|
|
1
|
-
import { AXClickEvent, MXColorComponent, MXInteractiveComponent } from '@acorex/components/common';
|
1
|
+
import { AXClickEvent, MXColorComponent, MXInteractiveComponent, AXStyleColorType } from '@acorex/components/common';
|
2
2
|
import { EventEmitter } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
export interface AXButtonItemListItem {
|
5
|
+
name: string;
|
6
|
+
text: string;
|
7
|
+
icon: string;
|
8
|
+
divided?: boolean;
|
9
|
+
disabled?: boolean;
|
10
|
+
color?: AXStyleColorType;
|
11
|
+
}
|
4
12
|
declare const AXButtonItemComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorComponent]>;
|
5
13
|
export declare class AXButtonItemComponent extends AXButtonItemComponent_base {
|
6
14
|
text: string;
|
package/data-table/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './lib/columns/data-column';
|
1
|
+
export * from './lib/columns/data-table-column';
|
2
2
|
export * from './lib/columns/data-text-column.component';
|
3
3
|
export * from './lib/columns/row-index-column.component';
|
4
4
|
export * from './lib/columns/row-select-column.component';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { AXSortOrder } from "@acorex/components/common";
|
2
2
|
import { TemplateRef } from "@angular/core";
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare abstract class
|
5
|
-
dataField: string;
|
4
|
+
export declare abstract class AXDataTableColumnComponent {
|
6
5
|
caption: string;
|
7
6
|
width: string | number;
|
7
|
+
fixed: 'start' | 'end' | undefined;
|
8
8
|
allowSorting: boolean;
|
9
9
|
sortIndex: number | undefined;
|
10
10
|
sortOrder: AXSortOrder | undefined;
|
@@ -13,6 +13,6 @@ export declare abstract class AXDataColumnComponent {
|
|
13
13
|
abstract get template(): TemplateRef<unknown>;
|
14
14
|
abstract get skeleton(): boolean;
|
15
15
|
get cssClass(): string | undefined;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableColumnComponent, never>;
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXDataTableColumnComponent>;
|
18
18
|
}
|
@@ -1,10 +1,15 @@
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
2
|
-
import {
|
2
|
+
import { AXDataTableColumnComponent } from "./data-table-column";
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class
|
4
|
+
export declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent {
|
5
|
+
dataField: string;
|
5
6
|
private _template;
|
6
7
|
get template(): TemplateRef<unknown>;
|
7
8
|
get skeleton(): boolean;
|
8
|
-
|
9
|
-
|
9
|
+
private formatService;
|
10
|
+
protected getDisplayText(rowData: unknown, dataField: string): string;
|
11
|
+
format: string;
|
12
|
+
formatOptions: unknown;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableTextColumnComponent, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableTextColumnComponent, "ax-text-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "dataField": { "alias": "dataField"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; }, {}, never, never, false, never>;
|
10
15
|
}
|
@@ -1,31 +1,38 @@
|
|
1
|
-
import { EventEmitter, TemplateRef } from "@angular/core";
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import { AXButtonItemComponent } from "@acorex/components/button";
|
5
|
-
import {
|
1
|
+
import { EventEmitter, TemplateRef, ChangeDetectorRef } from "@angular/core";
|
2
|
+
import { AXItemClickEvent, AXButtonClickEvent } from "@acorex/components/common";
|
3
|
+
import { AXDataTableColumnComponent } from "./data-table-column";
|
4
|
+
import { AXButtonItemListItem, AXButtonItemComponent } from "@acorex/components/button";
|
5
|
+
import { AXDataTableComponent } from "../data-table.component";
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
export interface AXRowCommandItem {
|
8
|
-
name: string;
|
9
|
-
text: string;
|
10
|
-
icon: string;
|
11
|
-
divided?: boolean;
|
12
|
-
disabled?: boolean;
|
13
|
-
color?: AXStyleColorType;
|
7
|
+
export interface AXRowCommandItem extends AXButtonItemListItem {
|
14
8
|
}
|
15
|
-
export interface AXRowCommandItemClickEvent extends
|
9
|
+
export interface AXRowCommandItemClickEvent extends AXButtonClickEvent {
|
16
10
|
}
|
17
|
-
export declare class
|
18
|
-
|
19
|
-
|
20
|
-
get template(): TemplateRef<unknown>;
|
11
|
+
export declare abstract class AXBaseRowCommandColumnComponent extends AXDataTableColumnComponent {
|
12
|
+
protected grid: AXDataTableComponent;
|
13
|
+
protected cdr: ChangeDetectorRef;
|
21
14
|
allowSorting: boolean;
|
22
15
|
get skeleton(): boolean;
|
23
16
|
get cssClass(): string;
|
24
|
-
|
17
|
+
onItemClick: EventEmitter<AXRowCommandItemClickEvent>;
|
18
|
+
}
|
19
|
+
export declare class AXRowDropdownCommandColumnComponent extends AXBaseRowCommandColumnComponent {
|
20
|
+
private _template;
|
21
|
+
get template(): TemplateRef<unknown>;
|
25
22
|
protected _items: AXRowCommandItem[];
|
26
23
|
items: AXRowCommandItem[] | ((rowData: unknown) => AXRowCommandItem[] | Promise<AXRowCommandItem[]>);
|
27
|
-
protected
|
28
|
-
|
24
|
+
protected handleOnOpened(rowData: any): Promise<void>;
|
25
|
+
protected handleOnClosed(): void;
|
26
|
+
protected handleOnItemClick(e: AXItemClickEvent<AXButtonItemComponent>, data: unknown): void;
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowDropdownCommandColumnComponent, never>;
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowDropdownCommandColumnComponent, "ax-dropdown-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, never, false, never>;
|
29
|
+
}
|
30
|
+
export declare class AXRowCommandColumnComponent extends AXBaseRowCommandColumnComponent {
|
31
|
+
private _template;
|
32
|
+
get template(): TemplateRef<unknown>;
|
33
|
+
items: AXRowCommandItem[] | ((rowData: unknown) => AXRowCommandItem[]);
|
34
|
+
protected getItems(rowData: unknown): AXRowCommandItem[];
|
35
|
+
protected handleOnItemClick(e: MouseEvent, item: AXRowCommandItem, data: unknown): void;
|
29
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowCommandColumnComponent, never>;
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowCommandColumnComponent, "ax-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, never, false, never>;
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowCommandColumnComponent, "ax-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, never, false, never>;
|
31
38
|
}
|
@@ -1,12 +1,17 @@
|
|
1
|
-
import { TemplateRef } from "@angular/core";
|
2
|
-
import {
|
1
|
+
import { OnInit, TemplateRef } from "@angular/core";
|
2
|
+
import { AXDataTableColumnComponent } from "./data-table-column";
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXRowIndexColumnComponent extends
|
4
|
+
export declare class AXRowIndexColumnComponent extends AXDataTableColumnComponent implements OnInit {
|
5
|
+
private grid;
|
6
|
+
private unsubscriber;
|
5
7
|
private _template;
|
6
8
|
get template(): TemplateRef<unknown>;
|
7
9
|
get cssClass(): string;
|
10
|
+
padZero: boolean;
|
11
|
+
protected formatCount: number;
|
12
|
+
ngOnInit(): void;
|
8
13
|
allowSorting: boolean;
|
9
14
|
get skeleton(): boolean;
|
10
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowIndexColumnComponent, never>;
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowIndexColumnComponent, "ax-index-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; }, {}, never, never, false, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowIndexColumnComponent, "ax-index-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "padZero": { "alias": "padZero"; "required": false; }; }, {}, never, never, false, never>;
|
12
17
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
2
|
-
import {
|
2
|
+
import { AXDataTableColumnComponent } from "./data-table-column";
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXRowSelectColumnComponent extends
|
4
|
+
export declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
5
5
|
private grid;
|
6
6
|
private _template;
|
7
7
|
get template(): TemplateRef<unknown>;
|
@@ -9,5 +9,5 @@ export declare class AXRowSelectColumnComponent extends AXDataColumnComponent {
|
|
9
9
|
protected handleChange(item: unknown): void;
|
10
10
|
get skeleton(): boolean;
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowSelectColumnComponent, never>;
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowSelectColumnComponent, "ax-select-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; }, {}, never, never, false, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowSelectColumnComponent, "ax-select-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, {}, never, never, false, never>;
|
13
13
|
}
|
@@ -1,12 +1,17 @@
|
|
1
1
|
import { AXValueChangedEvent, MXBaseComponent, AXListDataSource, AXDataSource, AXEvent } from '@acorex/components/common';
|
2
2
|
import { ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
3
|
-
import {
|
3
|
+
import { AXDataTableColumnComponent } from './columns/data-table-column';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export interface AXDataTableScrollIndexChanged extends AXEvent {
|
6
6
|
index: number;
|
7
7
|
}
|
8
8
|
export declare class AXDataTableComponent extends MXBaseComponent {
|
9
|
-
protected columns: QueryList<
|
9
|
+
protected columns: QueryList<AXDataTableColumnComponent>;
|
10
|
+
protected startFixedColumn(): AXDataTableColumnComponent[];
|
11
|
+
protected endFixedColumn(): AXDataTableColumnComponent[];
|
12
|
+
protected notFixedColumn(): AXDataTableColumnComponent[];
|
13
|
+
protected notFixedColumnCount(): number;
|
14
|
+
protected fixedColumnCount(): number;
|
10
15
|
onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
|
11
16
|
rowTemplate?: TemplateRef<unknown>;
|
12
17
|
emptyTemplate?: TemplateRef<unknown>;
|
@@ -30,6 +35,8 @@ export declare class AXDataTableComponent extends MXBaseComponent {
|
|
30
35
|
private _selectedRows;
|
31
36
|
get selectedRows(): unknown[];
|
32
37
|
set selectedRows(v: unknown[]);
|
38
|
+
selectRows(...rows: unknown[]): void;
|
39
|
+
unSelectRows(...rows: unknown[]): void;
|
33
40
|
itemHeight: number | 'auto';
|
34
41
|
protected width: string;
|
35
42
|
protected height: string;
|
@@ -37,15 +44,17 @@ export declare class AXDataTableComponent extends MXBaseComponent {
|
|
37
44
|
onScrolledIndexChanged: EventEmitter<AXDataTableScrollIndexChanged>;
|
38
45
|
trackByIdx(i: any): any;
|
39
46
|
ngOnInit(): void;
|
40
|
-
headerContainer: ElementRef
|
47
|
+
headerContainer: ElementRef<HTMLDivElement>;
|
41
48
|
footerContainer: ElementRef;
|
42
49
|
protected _handleOnscrolledIndexChange(e: number): void;
|
43
50
|
ngDoCheck(): void;
|
51
|
+
private copyFixedColumns;
|
44
52
|
render(): void;
|
45
53
|
refresh(): void;
|
46
54
|
protected handleRowClick(e: MouseEvent, item: unknown): void;
|
47
|
-
handleColumnClick(e: MouseEvent, column:
|
48
|
-
protected getSort(column:
|
55
|
+
handleColumnClick(e: MouseEvent, column: AXDataTableColumnComponent): void;
|
56
|
+
protected getSort(column: AXDataTableColumnComponent): string | undefined;
|
57
|
+
protected onViewChange(e: any): void;
|
49
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
50
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; }, { "onPageChanged": "onPageChanged"; "focusedRowChange": "focusedRowChange"; "selectedRowsChange": "selectedRowsChange"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, ["columns"], ["ax-header", "ax-footer"], false, never>;
|
51
60
|
}
|
@@ -5,16 +5,18 @@ import * as i3 from "./columns/row-index-column.component";
|
|
5
5
|
import * as i4 from "./columns/row-select-column.component";
|
6
6
|
import * as i5 from "./columns/row-command-column.component";
|
7
7
|
import * as i6 from "@angular/common";
|
8
|
-
import * as i7 from "@
|
9
|
-
import * as i8 from "@
|
10
|
-
import * as i9 from "@acorex/
|
11
|
-
import * as i10 from "@acorex/components/
|
12
|
-
import * as i11 from "@acorex/components/
|
13
|
-
import * as i12 from "@acorex/components/
|
14
|
-
import * as i13 from "@acorex/components/
|
15
|
-
import * as i14 from "@acorex/components/
|
8
|
+
import * as i7 from "@acorex/components/common";
|
9
|
+
import * as i8 from "@angular/cdk/scrolling";
|
10
|
+
import * as i9 from "@acorex/core/translation";
|
11
|
+
import * as i10 from "@acorex/components/result";
|
12
|
+
import * as i11 from "@acorex/components/loading";
|
13
|
+
import * as i12 from "@acorex/components/decorators";
|
14
|
+
import * as i13 from "@acorex/components/skeleton";
|
15
|
+
import * as i14 from "@acorex/components/button";
|
16
|
+
import * as i15 from "@acorex/components/dropdown";
|
17
|
+
import * as i16 from "@acorex/core/format";
|
16
18
|
export declare class AXDataTableModule {
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableModule, never>;
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataTableModule, [typeof i1.AXDataTableComponent, typeof i2.
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataTableModule, [typeof i1.AXDataTableComponent, typeof i2.AXDataTableTextColumnComponent, typeof i3.AXRowIndexColumnComponent, typeof i4.AXRowSelectColumnComponent, typeof i5.AXRowCommandColumnComponent, typeof i5.AXRowDropdownCommandColumnComponent], [typeof i6.CommonModule, typeof i7.AXCommonModule, typeof i8.ScrollingModule, typeof i9.AXTranslationModule, typeof i10.AXResultModule, typeof i11.AXLoadingModule, typeof i12.AXDecoratorModule, typeof i13.AXSkeletonModule, typeof i14.AXButtonModule, typeof i15.AXDropdownModule, typeof i16.AXFormatModule], [typeof i1.AXDataTableComponent, typeof i2.AXDataTableTextColumnComponent, typeof i3.AXRowIndexColumnComponent, typeof i4.AXRowSelectColumnComponent, typeof i5.AXRowCommandColumnComponent, typeof i5.AXRowDropdownCommandColumnComponent]>;
|
19
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDataTableModule>;
|
20
22
|
}
|
@@ -1,13 +1,16 @@
|
|
1
|
-
import { MXInteractiveComponent } from '@acorex/components/common';
|
2
|
-
import {
|
3
|
-
import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Inject, Output, QueryList, ViewEncapsulation, } from '@angular/core';
|
1
|
+
import { MXInteractiveComponent, AXClosbaleComponent } from '@acorex/components/common';
|
2
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Inject, Input, Output, QueryList, ViewEncapsulation, } from '@angular/core';
|
4
3
|
import { AXButtonItemComponent } from './button-item.component';
|
5
4
|
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@
|
5
|
+
import * as i1 from "@angular/common";
|
6
|
+
import * as i2 from "@acorex/components/decorators";
|
7
|
+
import * as i3 from "./button-item.component";
|
8
|
+
import * as i4 from "@acorex/components/common";
|
7
9
|
export class AXButtonItemListComponent extends MXInteractiveComponent {
|
8
10
|
constructor(parent) {
|
9
11
|
super();
|
10
12
|
this.parent = parent;
|
13
|
+
this.items = [];
|
11
14
|
this.onItemClick = new EventEmitter();
|
12
15
|
}
|
13
16
|
ngAfterContentInit() {
|
@@ -48,19 +51,41 @@ export class AXButtonItemListComponent extends MXInteractiveComponent {
|
|
48
51
|
data: item.data,
|
49
52
|
});
|
50
53
|
}
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: AXButtonItemListComponent, deps: [{ token:
|
52
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.6", type: AXButtonItemListComponent, selector: "ax-button-item-list", outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: AXButtonItemListComponent, deps: [{ token: AXClosbaleComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
55
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.6", type: AXButtonItemListComponent, selector: "ax-button-item-list", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
56
|
+
<ng-container *ngFor="let item of items">
|
57
|
+
<ax-button-item [text]="item.text" [name]="item.name" [disabled]="item.disabled" [color]="item.color" (onClick)="_handleOnItemClick($event)">
|
58
|
+
<ax-prefix *ngIf="item.icon">
|
59
|
+
<ax-icon [icon]="item.icon"></ax-icon>
|
60
|
+
</ax-prefix>
|
61
|
+
</ax-button-item>
|
62
|
+
<ax-divider *ngIf="item.divided"></ax-divider>
|
63
|
+
</ng-container>
|
64
|
+
<ng-content select="ax-button-item, ax-title, ax-divider, ng-container"></ng-content>
|
65
|
+
`, isInline: true, styles: ["ax-button-item-list{display:flex;flex-direction:column;padding:.5rem 0}ax-button-item-list ax-title{font-size:.75rem;padding:.25rem 0;padding-inline-start:1rem;padding-inline-end:2.5rem;opacity:.5;text-transform:uppercase;font-weight:500}ax-button-item-list ax-divider{width:100%;height:1px;background-color:rgba(var(--ax-color-border-default));margin:.25rem 0}ax-button-item-list ax-button-item{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;padding:.5rem;padding-inline-start:1rem;padding-inline-end:4rem;font-size:.875rem;color:rgba(var(--ax-color-text-default));-webkit-user-select:none;user-select:none;cursor:pointer}ax-button-item-list ax-button-item:hover:not(ax-button-item-list ax-button-item:hover.ax-state-disabled){background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-divide{border:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-button-item-list ax-button-item.ax-state-disabled{opacity:.5;cursor:not-allowed}ax-button-item-list ax-button-item ax-prefix,ax-button-item-list ax-button-item ax-suffix{display:flex;flex-direction:row}ax-button-item-list ax-button-item ax-prefix ax-icon,ax-button-item-list ax-button-item ax-suffix ax-icon{display:block;width:1.5rem;text-align:center}ax-button-item-list ax-button-item ax-prefix{padding-inline-end:.5rem}ax-button-item-list ax-button-item ax-suffix{padding-inline-start:.5rem}ax-button-item-list ax-button-item.ax-primary-default{background-color:transparent;color:rgba(var(--ax-color-primary-500));border:transparent}ax-button-item-list ax-button-item.ax-primary-default:hover,ax-button-item-list ax-button-item.ax-primary-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-primary-600))}ax-button-item-list ax-button-item.ax-primary-default:active{color:rgba(var(--ax-color-primary-400))}ax-button-item-list ax-button-item.ax-primary-default.ax-state-selected{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-button-item-list ax-button-item.ax-secondary-default{background-color:transparent;color:rgba(var(--ax-color-secondary-500));border:transparent}ax-button-item-list ax-button-item.ax-secondary-default:hover,ax-button-item-list ax-button-item.ax-secondary-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-secondary-600))}ax-button-item-list ax-button-item.ax-secondary-default:active{color:rgba(var(--ax-color-secondary-400))}ax-button-item-list ax-button-item.ax-secondary-default.ax-state-selected{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-button-item-list ax-button-item.ax-success-default{background-color:transparent;color:rgba(var(--ax-color-success-500));border:transparent}ax-button-item-list ax-button-item.ax-success-default:hover,ax-button-item-list ax-button-item.ax-success-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-success-600))}ax-button-item-list ax-button-item.ax-success-default:active{color:rgba(var(--ax-color-success-400))}ax-button-item-list ax-button-item.ax-success-default.ax-state-selected{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-button-item-list ax-button-item.ax-warning-default{background-color:transparent;color:rgba(var(--ax-color-warning-500));border:transparent}ax-button-item-list ax-button-item.ax-warning-default:hover,ax-button-item-list ax-button-item.ax-warning-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-warning-600))}ax-button-item-list ax-button-item.ax-warning-default:active{color:rgba(var(--ax-color-warning-400))}ax-button-item-list ax-button-item.ax-warning-default.ax-state-selected{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-button-item-list ax-button-item.ax-danger-default{background-color:transparent;color:rgba(var(--ax-color-danger-500));border:transparent}ax-button-item-list ax-button-item.ax-danger-default:hover,ax-button-item-list ax-button-item.ax-danger-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-danger-600))}ax-button-item-list ax-button-item.ax-danger-default:active{color:rgba(var(--ax-color-danger-400))}ax-button-item-list ax-button-item.ax-danger-default.ax-state-selected{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-button-item-list ax-button-item.ax-info-default{background-color:transparent;color:rgba(var(--ax-color-info-500));border:transparent}ax-button-item-list ax-button-item.ax-info-default:hover,ax-button-item-list ax-button-item.ax-info-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-info-600))}ax-button-item-list ax-button-item.ax-info-default:active{color:rgba(var(--ax-color-info-400))}ax-button-item-list ax-button-item.ax-info-default.ax-state-selected{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title" }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
53
66
|
}
|
54
67
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImport: i0, type: AXButtonItemListComponent, decorators: [{
|
55
68
|
type: Component,
|
56
|
-
args: [{ selector: 'ax-button-item-list', template: `
|
57
|
-
|
69
|
+
args: [{ selector: 'ax-button-item-list', template: `
|
70
|
+
<ng-container *ngFor="let item of items">
|
71
|
+
<ax-button-item [text]="item.text" [name]="item.name" [disabled]="item.disabled" [color]="item.color" (onClick)="_handleOnItemClick($event)">
|
72
|
+
<ax-prefix *ngIf="item.icon">
|
73
|
+
<ax-icon [icon]="item.icon"></ax-icon>
|
74
|
+
</ax-prefix>
|
75
|
+
</ax-button-item>
|
76
|
+
<ax-divider *ngIf="item.divided"></ax-divider>
|
77
|
+
</ng-container>
|
78
|
+
<ng-content select="ax-button-item, ax-title, ax-divider, ng-container"></ng-content>
|
79
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["ax-button-item-list{display:flex;flex-direction:column;padding:.5rem 0}ax-button-item-list ax-title{font-size:.75rem;padding:.25rem 0;padding-inline-start:1rem;padding-inline-end:2.5rem;opacity:.5;text-transform:uppercase;font-weight:500}ax-button-item-list ax-divider{width:100%;height:1px;background-color:rgba(var(--ax-color-border-default));margin:.25rem 0}ax-button-item-list ax-button-item{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;padding:.5rem;padding-inline-start:1rem;padding-inline-end:4rem;font-size:.875rem;color:rgba(var(--ax-color-text-default));-webkit-user-select:none;user-select:none;cursor:pointer}ax-button-item-list ax-button-item:hover:not(ax-button-item-list ax-button-item:hover.ax-state-disabled){background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-divide{border:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-button-item-list ax-button-item.ax-state-disabled{opacity:.5;cursor:not-allowed}ax-button-item-list ax-button-item ax-prefix,ax-button-item-list ax-button-item ax-suffix{display:flex;flex-direction:row}ax-button-item-list ax-button-item ax-prefix ax-icon,ax-button-item-list ax-button-item ax-suffix ax-icon{display:block;width:1.5rem;text-align:center}ax-button-item-list ax-button-item ax-prefix{padding-inline-end:.5rem}ax-button-item-list ax-button-item ax-suffix{padding-inline-start:.5rem}ax-button-item-list ax-button-item.ax-primary-default{background-color:transparent;color:rgba(var(--ax-color-primary-500));border:transparent}ax-button-item-list ax-button-item.ax-primary-default:hover,ax-button-item-list ax-button-item.ax-primary-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-primary-600))}ax-button-item-list ax-button-item.ax-primary-default:active{color:rgba(var(--ax-color-primary-400))}ax-button-item-list ax-button-item.ax-primary-default.ax-state-selected{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-button-item-list ax-button-item.ax-secondary-default{background-color:transparent;color:rgba(var(--ax-color-secondary-500));border:transparent}ax-button-item-list ax-button-item.ax-secondary-default:hover,ax-button-item-list ax-button-item.ax-secondary-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-secondary-600))}ax-button-item-list ax-button-item.ax-secondary-default:active{color:rgba(var(--ax-color-secondary-400))}ax-button-item-list ax-button-item.ax-secondary-default.ax-state-selected{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-button-item-list ax-button-item.ax-success-default{background-color:transparent;color:rgba(var(--ax-color-success-500));border:transparent}ax-button-item-list ax-button-item.ax-success-default:hover,ax-button-item-list ax-button-item.ax-success-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-success-600))}ax-button-item-list ax-button-item.ax-success-default:active{color:rgba(var(--ax-color-success-400))}ax-button-item-list ax-button-item.ax-success-default.ax-state-selected{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-button-item-list ax-button-item.ax-warning-default{background-color:transparent;color:rgba(var(--ax-color-warning-500));border:transparent}ax-button-item-list ax-button-item.ax-warning-default:hover,ax-button-item-list ax-button-item.ax-warning-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-warning-600))}ax-button-item-list ax-button-item.ax-warning-default:active{color:rgba(var(--ax-color-warning-400))}ax-button-item-list ax-button-item.ax-warning-default.ax-state-selected{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-button-item-list ax-button-item.ax-danger-default{background-color:transparent;color:rgba(var(--ax-color-danger-500));border:transparent}ax-button-item-list ax-button-item.ax-danger-default:hover,ax-button-item-list ax-button-item.ax-danger-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-danger-600))}ax-button-item-list ax-button-item.ax-danger-default:active{color:rgba(var(--ax-color-danger-400))}ax-button-item-list ax-button-item.ax-danger-default.ax-state-selected{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-button-item-list ax-button-item.ax-info-default{background-color:transparent;color:rgba(var(--ax-color-info-500));border:transparent}ax-button-item-list ax-button-item.ax-info-default:hover,ax-button-item-list ax-button-item.ax-info-default:focus{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-info-600))}ax-button-item-list ax-button-item.ax-info-default:active{color:rgba(var(--ax-color-info-400))}ax-button-item-list ax-button-item.ax-info-default.ax-state-selected{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}\n"] }]
|
80
|
+
}], ctorParameters: function () { return [{ type: i4.AXClosbaleComponent, decorators: [{
|
58
81
|
type: Inject,
|
59
|
-
args: [
|
82
|
+
args: [AXClosbaleComponent]
|
60
83
|
}] }]; }, propDecorators: { _contentButtons: [{
|
61
84
|
type: ContentChildren,
|
62
85
|
args: [AXButtonItemComponent]
|
86
|
+
}], items: [{
|
87
|
+
type: Input
|
63
88
|
}], onItemClick: [{
|
64
89
|
type: Output
|
65
90
|
}] } });
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWl0ZW0tbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYnV0dG9uL3NyYy9saWIvYnV0dG9uLWl0ZW0tbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFrQyxzQkFBc0IsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3hILE9BQU8sRUFFTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGVBQWUsRUFDZixZQUFZLEVBQ1osTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUscUJBQXFCLEVBQXdCLE1BQU0seUJBQXlCLENBQUM7Ozs7OztBQW9CdEYsTUFBTSxPQUFPLHlCQUEwQixTQUFRLHNCQUFzQjtJQVVuRSxZQUFpRCxNQUEyQjtRQUMxRSxLQUFLLEVBQUUsQ0FBQztRQUR1QyxXQUFNLEdBQU4sTUFBTSxDQUFxQjtRQUw1RSxVQUFLLEdBQTJCLEVBQUUsQ0FBQztRQUduQyxnQkFBVyxHQUEwRCxJQUFJLFlBQVksRUFBMkMsQ0FBQztJQUlqSSxDQUFDO0lBRUQsa0JBQWtCO1FBQ2hCLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQztRQUNyQixJQUFJLENBQUMsZUFBZSxDQUFDLE9BQU8sQ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kYXRhOiBpdGVtLmRhdGEsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -97,4 +97,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.6", ngImpor
|
|
97
97
|
type: HostBinding,
|
98
98
|
args: ['class']
|
99
99
|
}] } });
|
100
|
-
//# sourceMappingURL=data:application/json;base64,
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2J1dHRvbi9zcmMvbGliL2J1dHRvbi1pdGVtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLGdCQUFnQixFQUFFLHNCQUFzQixFQUFvQixNQUFNLDJCQUEyQixDQUFDO0FBRXJILE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxVQUFVLENBQUM7OztBQTJCbkMsTUFBTSxPQUFPLHFCQUFzQixTQUFRLE9BQU8sQ0FBQyxzQkFBc0IsRUFBRSxnQkFBZ0IsQ0FBQztJQWhCNUY7O1FBK0JFLFlBQU8sR0FBRyxLQUFLLENBQUM7UUFTaEIsWUFBTyxHQUErQixJQUFJLFlBQVksRUFBZ0IsQ0FBQztLQXFDeEU7SUF4REMsSUFDVyxRQUFRO1FBQ2pCLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQztJQUN4QixDQUFDO0lBQ0QsSUFBVyxRQUFRLENBQUMsQ0FBVT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