@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.
@@ -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 left `undefined`, action item will keep its static position at the far right side of the datatable.
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 = 'frozenLeft' | 'frozenRight';
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;