@aquera/ngx-smart-table 0.0.17-patch-0.6 → 0.0.17-patch-0.7

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.
@@ -81,6 +81,7 @@ export declare class NileChipEditor implements CellEditor<string[]> {
81
81
  private cellContainer?;
82
82
  private eventListeners;
83
83
  private trackedValues;
84
+ private hasChangeOccurred;
84
85
  constructor(options?: NileChipEditorOptions | undefined);
85
86
  edit(context: CellEditorContext<string[]>): void;
86
87
  private positionPopover;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ColumnAction, ColumnActionContext, ColumnActionEvent } from '../../../models/column-action.interface';
3
3
  import { StColumnFilterComponent } from '../st-column-filter/st-column-filter.component';
4
4
  import * as i0 from "@angular/core";
@@ -8,11 +8,12 @@ export declare class StColumnMenuDropdownComponent implements OnChanges {
8
8
  */
9
9
  isOpen: boolean;
10
10
  /**
11
- * Position of the dropdown (x, y coordinates)
11
+ * Position of the dropdown (x, y coordinates, triggerTop for flip positioning)
12
12
  */
13
13
  position: {
14
14
  x: number;
15
15
  y: number;
16
+ triggerTop?: number;
16
17
  };
17
18
  /**
18
19
  * Context containing column data, index, and actions
@@ -27,6 +28,7 @@ export declare class StColumnMenuDropdownComponent implements OnChanges {
27
28
  */
28
29
  closed: EventEmitter<void>;
29
30
  filterPopup?: StColumnFilterComponent;
31
+ dropdownPanel?: ElementRef<HTMLElement>;
30
32
  /**
31
33
  * Visible actions (filtered by hidden property)
32
34
  */
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
2
2
  import { RowAction, RowActionContext, RowActionEvent } from '../../../models/row-action.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class StRowActionsDropdownComponent implements OnChanges {
@@ -7,11 +7,12 @@ export declare class StRowActionsDropdownComponent implements OnChanges {
7
7
  */
8
8
  isOpen: boolean;
9
9
  /**
10
- * Position of the dropdown (x, y coordinates)
10
+ * Position of the dropdown (x, y coordinates, triggerTop for flip positioning)
11
11
  */
12
12
  position: {
13
13
  x: number;
14
14
  y: number;
15
+ triggerTop?: number;
15
16
  };
16
17
  /**
17
18
  * Context containing row data, index, and actions
@@ -25,6 +26,7 @@ export declare class StRowActionsDropdownComponent implements OnChanges {
25
26
  * Emitted when the dropdown should close
26
27
  */
27
28
  closed: EventEmitter<void>;
29
+ dropdownPanel?: ElementRef<HTMLElement>;
28
30
  /**
29
31
  * Visible actions (filtered by hidden property)
30
32
  */
@@ -61,6 +61,7 @@ export declare class StTableComponent implements OnInit, OnChanges, OnDestroy, A
61
61
  position: {
62
62
  x: number;
63
63
  y: number;
64
+ triggerTop?: number;
64
65
  };
65
66
  context: RowActionContext | null;
66
67
  };
@@ -71,6 +72,7 @@ export declare class StTableComponent implements OnInit, OnChanges, OnDestroy, A
71
72
  position: {
72
73
  x: number;
73
74
  y: number;
75
+ triggerTop?: number;
74
76
  };
75
77
  context: ColumnActionContext | null;
76
78
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aquera/ngx-smart-table",
3
- "version": "0.0.17-patch-0.6",
3
+ "version": "0.0.17-patch-0.7",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=13.0.0 <16.0.0",