@aquera/ngx-smart-table 0.0.14-alpha → 0.0.16-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.
- package/esm2020/lib/editors/nile-select-editor.mjs +121 -191
- package/esm2020/lib/models/workbook-action.interface.mjs +1 -1
- package/esm2020/lib/renderer/components/st-table/st-table.component.mjs +25 -2
- package/esm2020/lib/renderer/components/st-workbook/st-workbook.component.mjs +13 -5
- package/fesm2015/aquera-ngx-smart-table.mjs +159 -198
- package/fesm2015/aquera-ngx-smart-table.mjs.map +1 -1
- package/fesm2020/aquera-ngx-smart-table.mjs +156 -195
- package/fesm2020/aquera-ngx-smart-table.mjs.map +1 -1
- package/lib/editors/nile-select-editor.d.ts +0 -8
- package/lib/models/workbook-action.interface.d.ts +5 -0
- package/lib/renderer/components/st-workbook/st-workbook.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -73,18 +73,10 @@ 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
|
-
/**
|
|
84
|
-
* Inject global styles to remove border from nile-select combobox
|
|
85
|
-
* Uses ::part selector which works across shadow DOM boundaries
|
|
86
|
-
*/
|
|
87
|
-
private injectBorderlessStyles;
|
|
88
80
|
constructor(options: NileSelectEditorOptions);
|
|
89
81
|
edit(context: CellEditorContext<T>): void;
|
|
90
82
|
/**
|
|
@@ -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
|
*/
|