@theseam/ui-common 0.3.14-beta.2 → 0.3.15-beta.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/bundles/theseam-ui-common-datatable.umd.js +28 -3
- package/bundles/theseam-ui-common-datatable.umd.js.map +1 -1
- package/datatable/datatable/datatable.component.d.ts +5 -0
- package/datatable/models/action-item-column-position.d.ts +7 -2
- package/datatable/services/columns-manager.service.d.ts +2 -0
- package/datatable/theseam-ui-common-datatable.metadata.json +1 -1
- package/esm2015/datatable/datatable/datatable.component.js +11 -2
- package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +1 -1
- package/esm2015/datatable/models/action-item-column-position.js +5 -2
- package/esm2015/datatable/services/columns-manager.service.js +14 -2
- package/fesm2015/theseam-ui-common-datatable.js +28 -3
- package/fesm2015/theseam-ui-common-datatable.js.map +1 -1
- package/package.json +2 -2
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +38 -12
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +25 -15
|
@@ -136,6 +136,11 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
136
136
|
scrollbarV: boolean;
|
|
137
137
|
scrollbarH: boolean;
|
|
138
138
|
set dataSource(value: DataSource<any> | any[] | undefined | null);
|
|
139
|
+
/**
|
|
140
|
+
* Sets position behavior for optional Action Menu Button column.
|
|
141
|
+
*
|
|
142
|
+
* Defaults to `frozenRight`.
|
|
143
|
+
*/
|
|
139
144
|
get actionItemColumnPosition(): ActionItemColumnPosition | undefined;
|
|
140
145
|
set actionItemColumnPosition(value: ActionItemColumnPosition | undefined);
|
|
141
146
|
private _actionItemColumnPosition;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
declare const ActionItemColumnPosition: readonly ["frozenLeft", "frozenRight", "staticLeft", "staticRight"];
|
|
1
2
|
/**
|
|
2
3
|
* If `frozenLeft`, action item column will be fixed to the left side of the table.
|
|
3
4
|
*
|
|
4
5
|
* If `frozenRight`, action item column will be fixed to the right side of the table.
|
|
5
6
|
*
|
|
6
|
-
* If
|
|
7
|
+
* If `staticLeft`, action item column will be the first static column on the left side of the table.
|
|
8
|
+
*
|
|
9
|
+
* If `staticRight`, action item column will be the last static column on the right side of the table.
|
|
7
10
|
*/
|
|
8
|
-
export declare type ActionItemColumnPosition =
|
|
11
|
+
export declare type ActionItemColumnPosition = typeof ActionItemColumnPosition[number];
|
|
12
|
+
export declare function isActionItemColumnPosition(input: unknown): input is ActionItemColumnPosition;
|
|
13
|
+
export {};
|
|
@@ -54,6 +54,8 @@ export declare class ColumnsManagerService {
|
|
|
54
54
|
private _shouldAddRowActionColumn;
|
|
55
55
|
private _rowActionColumnIsFrozenLeft;
|
|
56
56
|
private _rowActionColumnIsFrozenRight;
|
|
57
|
+
private _rowActionColumnIsStaticLeft;
|
|
58
|
+
private _rowActionColumnIsStaticRight;
|
|
57
59
|
private _shouldAddTreeToggleColumn;
|
|
58
60
|
private _shouldAddHeaderTemplate;
|
|
59
61
|
private _shouldAddCellTypeSelectorTpl;
|