@aquera/ngx-smart-table 0.0.15-alpha → 0.0.17-alpha

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.
@@ -73,20 +73,11 @@ export interface NileSelectEditorOptions {
73
73
  export declare class NileSelectEditor<T = string> implements CellEditor<T> {
74
74
  private readonly options;
75
75
  acceptsInitialKeypress: boolean;
76
- private static stylesInjected;
77
76
  private select?;
78
- private portalDiv?;
79
77
  private eventListeners;
80
78
  private optionsSubscription?;
81
79
  private currentOptions;
82
- private isInitializing;
83
- private hasSaved;
84
- private lastSelectedValue;
85
- /**
86
- * Inject global styles to remove border from nile-select combobox
87
- * Uses ::part selector which works across shadow DOM boundaries
88
- */
89
- private injectBorderlessStyles;
80
+ private trackedValues;
90
81
  constructor(options: NileSelectEditorOptions);
91
82
  edit(context: CellEditorContext<T>): void;
92
83
  /**
@@ -103,6 +94,8 @@ export declare class NileSelectEditor<T = string> implements CellEditor<T> {
103
94
  private updateOptions;
104
95
  /**
105
96
  * Create NileOption elements and append them to the select
97
+ * When enableVirtualScroll is true, uses data property instead of DOM elements
98
+ * @see https://nile.aqueralabs.com/select-virtual?theme=enterprise
106
99
  * @param options - The options to render
107
100
  */
108
101
  private createAndAppendOptions;
@@ -18,6 +18,11 @@ export interface WorkbookAction {
18
18
  * Optional icon to display (nile-icon name)
19
19
  */
20
20
  icon?: string;
21
+ /**
22
+ * Show as a toolbar button instead of in the dropdown menu
23
+ * @default false
24
+ */
25
+ showInToolbar?: boolean;
21
26
  /**
22
27
  * Function to determine if action should be disabled
23
28
  */
@@ -114,9 +114,13 @@ export declare class StWorkbookComponent implements OnInit, OnChanges, OnDestroy
114
114
  workbookActionsOpen: boolean;
115
115
  workbookActionsPosition: any;
116
116
  /**
117
- * Visible workbook actions (filtered by hidden)
117
+ * Visible workbook actions for dropdown (filtered by hidden and showInToolbar)
118
118
  */
119
119
  visibleWorkbookActions: WorkbookAction[];
120
+ /**
121
+ * Workbook actions to show directly in toolbar
122
+ */
123
+ toolbarWorkbookActions: WorkbookAction[];
120
124
  /**
121
125
  * Destroy subject for cleanup
122
126
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aquera/ngx-smart-table",
3
- "version": "0.0.15-alpha",
3
+ "version": "0.0.17-alpha",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=13.0.0 <16.0.0",