@memberjunction/ng-entity-viewer 5.39.0 → 5.40.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/dist/__tests__/view-types.test.d.ts +2 -0
- package/dist/__tests__/view-types.test.d.ts.map +1 -0
- package/dist/__tests__/view-types.test.js +102 -0
- package/dist/__tests__/view-types.test.js.map +1 -0
- package/dist/lib/entity-data-grid/entity-data-grid.component.d.ts.map +1 -1
- package/dist/lib/entity-data-grid/entity-data-grid.component.js +8 -0
- package/dist/lib/entity-data-grid/entity-data-grid.component.js.map +1 -1
- package/dist/lib/entity-viewer/entity-viewer.component.d.ts +356 -341
- package/dist/lib/entity-viewer/entity-viewer.component.d.ts.map +1 -1
- package/dist/lib/entity-viewer/entity-viewer.component.js +993 -1097
- package/dist/lib/entity-viewer/entity-viewer.component.js.map +1 -1
- package/dist/lib/view-config-panel/view-config-panel.component.d.ts +126 -126
- package/dist/lib/view-config-panel/view-config-panel.component.js +635 -635
- package/dist/lib/view-config-panel/view-config-panel.component.js.map +1 -1
- package/dist/lib/view-selector/view-selector.component.d.ts +226 -0
- package/dist/lib/view-selector/view-selector.component.d.ts.map +1 -0
- package/dist/lib/view-selector/view-selector.component.js +861 -0
- package/dist/lib/view-selector/view-selector.component.js.map +1 -0
- package/dist/lib/view-type-switcher/view-type-switcher.component.d.ts +114 -0
- package/dist/lib/view-type-switcher/view-type-switcher.component.d.ts.map +1 -0
- package/dist/lib/view-type-switcher/view-type-switcher.component.js +209 -0
- package/dist/lib/view-type-switcher/view-type-switcher.component.js.map +1 -0
- package/dist/lib/view-types/descriptors/cards-view-type.d.ts +18 -0
- package/dist/lib/view-types/descriptors/cards-view-type.d.ts.map +1 -0
- package/dist/lib/view-types/descriptors/cards-view-type.js +31 -0
- package/dist/lib/view-types/descriptors/cards-view-type.js.map +1 -0
- package/dist/lib/view-types/descriptors/grid-view-type.d.ts +17 -0
- package/dist/lib/view-types/descriptors/grid-view-type.d.ts.map +1 -0
- package/dist/lib/view-types/descriptors/grid-view-type.js +30 -0
- package/dist/lib/view-types/descriptors/grid-view-type.js.map +1 -0
- package/dist/lib/view-types/descriptors/map-view-type.d.ts +21 -0
- package/dist/lib/view-types/descriptors/map-view-type.d.ts.map +1 -0
- package/dist/lib/view-types/descriptors/map-view-type.js +35 -0
- package/dist/lib/view-types/descriptors/map-view-type.js.map +1 -0
- package/dist/lib/view-types/descriptors/timeline-view-type.d.ts +22 -0
- package/dist/lib/view-types/descriptors/timeline-view-type.d.ts.map +1 -0
- package/dist/lib/view-types/descriptors/timeline-view-type.js +40 -0
- package/dist/lib/view-types/descriptors/timeline-view-type.js.map +1 -0
- package/dist/lib/view-types/index.d.ts +20 -0
- package/dist/lib/view-types/index.d.ts.map +1 -0
- package/dist/lib/view-types/index.js +29 -0
- package/dist/lib/view-types/index.js.map +1 -0
- package/dist/lib/view-types/renderers/cards-view-renderer.component.d.ts +93 -0
- package/dist/lib/view-types/renderers/cards-view-renderer.component.d.ts.map +1 -0
- package/dist/lib/view-types/renderers/cards-view-renderer.component.js +144 -0
- package/dist/lib/view-types/renderers/cards-view-renderer.component.js.map +1 -0
- package/dist/lib/view-types/renderers/grid-view-renderer.component.d.ts +273 -0
- package/dist/lib/view-types/renderers/grid-view-renderer.component.d.ts.map +1 -0
- package/dist/lib/view-types/renderers/grid-view-renderer.component.js +558 -0
- package/dist/lib/view-types/renderers/grid-view-renderer.component.js.map +1 -0
- package/dist/lib/view-types/renderers/map-view-renderer.component.d.ts +135 -0
- package/dist/lib/view-types/renderers/map-view-renderer.component.d.ts.map +1 -0
- package/dist/lib/view-types/renderers/map-view-renderer.component.js +216 -0
- package/dist/lib/view-types/renderers/map-view-renderer.component.js.map +1 -0
- package/dist/lib/view-types/renderers/timeline-view-renderer.component.d.ts +176 -0
- package/dist/lib/view-types/renderers/timeline-view-renderer.component.d.ts.map +1 -0
- package/dist/lib/view-types/renderers/timeline-view-renderer.component.js +535 -0
- package/dist/lib/view-types/renderers/timeline-view-renderer.component.js.map +1 -0
- package/dist/lib/view-types/view-type.contracts.d.ts +235 -0
- package/dist/lib/view-types/view-type.contracts.d.ts.map +1 -0
- package/dist/lib/view-types/view-type.contracts.js +51 -0
- package/dist/lib/view-types/view-type.contracts.js.map +1 -0
- package/dist/lib/view-types/view-type.engine.d.ts +76 -0
- package/dist/lib/view-types/view-type.engine.d.ts.map +1 -0
- package/dist/lib/view-types/view-type.engine.js +138 -0
- package/dist/lib/view-types/view-type.engine.js.map +1 -0
- package/dist/lib/view-workspace/view-workspace.component.d.ts +451 -0
- package/dist/lib/view-workspace/view-workspace.component.d.ts.map +1 -0
- package/dist/lib/view-workspace/view-workspace.component.js +1212 -0
- package/dist/lib/view-workspace/view-workspace.component.js.map +1 -0
- package/dist/module.d.ts +20 -11
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +50 -8
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +8 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +14 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +16 -15
|
@@ -33,23 +33,23 @@ export interface SortItem {
|
|
|
33
33
|
* Event emitted when saving the view
|
|
34
34
|
*/
|
|
35
35
|
export interface ViewSaveEvent {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/** @deprecated Use
|
|
42
|
-
|
|
43
|
-
/** @deprecated Use
|
|
44
|
-
|
|
36
|
+
Name: string;
|
|
37
|
+
Description: string;
|
|
38
|
+
IsShared: boolean;
|
|
39
|
+
SaveAsNew: boolean;
|
|
40
|
+
Columns: ColumnConfig[];
|
|
41
|
+
/** @deprecated Use SortItems instead for multi-sort support */
|
|
42
|
+
SortField: string | null;
|
|
43
|
+
/** @deprecated Use SortItems instead for multi-sort support */
|
|
44
|
+
SortDirection: 'asc' | 'desc';
|
|
45
45
|
/** Multi-column sort configuration (ordered by priority) */
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
SortItems: SortItem[];
|
|
47
|
+
SmartFilterEnabled: boolean;
|
|
48
|
+
SmartFilterPrompt: string;
|
|
49
49
|
/** Traditional filter state in Kendo-compatible JSON format */
|
|
50
|
-
|
|
50
|
+
FilterState: CompositeFilterDescriptor | null;
|
|
51
51
|
/** Aggregates configuration */
|
|
52
|
-
|
|
52
|
+
AggregatesConfig: ViewGridAggregatesConfig | null;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* ViewConfigPanelComponent - Sliding panel for configuring view settings
|
|
@@ -67,52 +67,52 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
67
67
|
/**
|
|
68
68
|
* The entity being viewed
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
Entity: EntityInfo | null;
|
|
71
71
|
/**
|
|
72
72
|
* The current view entity (null for default view)
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
ViewEntity: MJUserViewEntityExtended | null;
|
|
75
75
|
/**
|
|
76
76
|
* Whether the panel is open
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
IsOpen: boolean;
|
|
79
79
|
/**
|
|
80
80
|
* Current grid state from the grid (includes live column widths/order from user interaction)
|
|
81
81
|
* This takes precedence over viewEntity.Columns for showing current state
|
|
82
82
|
*/
|
|
83
|
-
|
|
83
|
+
CurrentGridState: ViewGridState | null;
|
|
84
84
|
/**
|
|
85
85
|
* Sample data for column format preview (first few records)
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
SampleData: Record<string, unknown>[];
|
|
88
88
|
/**
|
|
89
89
|
* Emitted when the panel should close
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
Close: EventEmitter<void>;
|
|
92
92
|
/**
|
|
93
93
|
* Emitted when the view should be saved
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
Save: EventEmitter<ViewSaveEvent>;
|
|
96
96
|
/**
|
|
97
97
|
* Emitted when default view settings should be saved to user settings
|
|
98
98
|
* (Used for dynamic/default views that persist to MJ: User Settings)
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
SaveDefaults: EventEmitter<ViewSaveEvent>;
|
|
101
101
|
/**
|
|
102
102
|
* Emitted when the view should be deleted
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
Delete: EventEmitter<void>;
|
|
105
105
|
/**
|
|
106
106
|
* Emitted when filter dialog should be opened (at dashboard level for full width)
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
OpenFilterDialogRequest: EventEmitter<{
|
|
109
109
|
filterState: CompositeFilterDescriptor;
|
|
110
110
|
filterFields: FilterFieldInfo[];
|
|
111
111
|
}>;
|
|
112
112
|
/**
|
|
113
113
|
* Filter state from external dialog (set by parent after dialog closes)
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
ExternalFilterState: CompositeFilterDescriptor | null;
|
|
116
116
|
/**
|
|
117
117
|
* When true, the panel is in "create new view" mode — shows the Settings tab
|
|
118
118
|
* and a "Create View" button even without a viewEntity.
|
|
@@ -133,50 +133,50 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
133
133
|
/**
|
|
134
134
|
* Emitted when user wants to duplicate the current view (F-005)
|
|
135
135
|
*/
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
Duplicate: EventEmitter<void>;
|
|
137
|
+
ViewName: string;
|
|
138
|
+
ViewDescription: string;
|
|
139
|
+
IsShared: boolean;
|
|
140
|
+
Columns: ColumnConfig[];
|
|
141
141
|
/** @deprecated Use sortItems instead */
|
|
142
|
-
|
|
142
|
+
SortField: string | null;
|
|
143
143
|
/** @deprecated Use sortItems instead */
|
|
144
|
-
|
|
144
|
+
SortDirection: 'asc' | 'desc';
|
|
145
145
|
/** Multi-column sort configuration (ordered by priority) */
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
146
|
+
SortItems: SortItem[];
|
|
147
|
+
DraggedSortItem: SortItem | null;
|
|
148
|
+
DropTargetSortItem: SortItem | null;
|
|
149
|
+
SortDropPosition: 'before' | 'after' | null;
|
|
150
|
+
SortDirections: ({
|
|
151
151
|
name: string;
|
|
152
152
|
value: "asc";
|
|
153
153
|
} | {
|
|
154
154
|
name: string;
|
|
155
155
|
value: "desc";
|
|
156
156
|
})[];
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
157
|
+
SmartFilterEnabled: boolean;
|
|
158
|
+
SmartFilterPrompt: string;
|
|
159
|
+
SmartFilterExplanation: string;
|
|
160
|
+
FilterState: CompositeFilterDescriptor;
|
|
161
|
+
FilterFields: FilterFieldInfo[];
|
|
162
|
+
FilterMode: 'smart' | 'traditional';
|
|
163
|
+
Aggregates: ViewGridAggregate[];
|
|
164
|
+
ShowAggregateDialog: boolean;
|
|
165
|
+
EditingAggregate: ViewGridAggregate | null;
|
|
166
166
|
private savedSmartFilterPrompt;
|
|
167
167
|
private savedTraditionalFilter;
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
ShowFilterModeSwitchConfirm: boolean;
|
|
169
|
+
PendingFilterModeSwitch: 'smart' | 'traditional' | null;
|
|
170
170
|
private _localSaving;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
171
|
+
ActiveTab: 'columns' | 'sorting' | 'filters' | 'aggregates' | 'settings';
|
|
172
|
+
IsSaving: boolean;
|
|
173
|
+
ColumnSearchText: string;
|
|
174
|
+
DraggedColumn: ColumnConfig | null;
|
|
175
|
+
DropTargetColumn: ColumnConfig | null;
|
|
176
|
+
DropPosition: 'before' | 'after' | null;
|
|
177
|
+
FormatEditingColumn: ColumnConfig | null;
|
|
178
|
+
IsResizing: boolean;
|
|
179
|
+
PanelWidth: number;
|
|
180
180
|
private readonly MIN_PANEL_WIDTH;
|
|
181
181
|
private readonly MAX_PANEL_WIDTH;
|
|
182
182
|
private readonly DEFAULT_PANEL_WIDTH;
|
|
@@ -188,18 +188,18 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
188
188
|
/**
|
|
189
189
|
* Whether tabs should show icons only (narrow panel mode)
|
|
190
190
|
*/
|
|
191
|
-
get
|
|
191
|
+
get IsIconOnlyMode(): boolean;
|
|
192
192
|
private metadata;
|
|
193
193
|
constructor(cdr: ChangeDetectorRef);
|
|
194
194
|
/**
|
|
195
195
|
* Handle keyboard shortcuts
|
|
196
196
|
* Escape: Close the panel or format sub-panel
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
HandleEscape(): void;
|
|
199
199
|
/**
|
|
200
200
|
* Start resizing the panel
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
OnResizeStart(event: MouseEvent): void;
|
|
203
203
|
/**
|
|
204
204
|
* Handle resize movement (bound to document)
|
|
205
205
|
*/
|
|
@@ -238,15 +238,15 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
238
238
|
/**
|
|
239
239
|
* Handle filter state change from filter builder
|
|
240
240
|
*/
|
|
241
|
-
|
|
241
|
+
OnFilterChange(filter: CompositeFilterDescriptor): void;
|
|
242
242
|
/**
|
|
243
243
|
* Open the filter dialog - emits event to parent (dashboard) which renders the dialog at viewport level
|
|
244
244
|
*/
|
|
245
|
-
|
|
245
|
+
OpenFilterDialog(): void;
|
|
246
246
|
/**
|
|
247
247
|
* Get the count of active filter rules
|
|
248
248
|
*/
|
|
249
|
-
|
|
249
|
+
GetFilterCount(): number;
|
|
250
250
|
/**
|
|
251
251
|
* Count filters recursively
|
|
252
252
|
*/
|
|
@@ -254,11 +254,11 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
254
254
|
/**
|
|
255
255
|
* Get a human-readable summary of the filter state
|
|
256
256
|
*/
|
|
257
|
-
|
|
257
|
+
GetFilterSummary(): string;
|
|
258
258
|
/**
|
|
259
259
|
* Clear all filters
|
|
260
260
|
*/
|
|
261
|
-
|
|
261
|
+
ClearFilters(): void;
|
|
262
262
|
/**
|
|
263
263
|
* Apply grid state column settings to the columns array
|
|
264
264
|
*/
|
|
@@ -266,59 +266,59 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
266
266
|
/**
|
|
267
267
|
* Get visible columns
|
|
268
268
|
*/
|
|
269
|
-
get
|
|
269
|
+
get VisibleColumns(): ColumnConfig[];
|
|
270
270
|
/**
|
|
271
271
|
* Get hidden columns
|
|
272
272
|
*/
|
|
273
|
-
get
|
|
273
|
+
get HiddenColumns(): ColumnConfig[];
|
|
274
274
|
/**
|
|
275
275
|
* Get filtered columns for search
|
|
276
276
|
*/
|
|
277
|
-
get
|
|
277
|
+
get FilteredHiddenColumns(): ColumnConfig[];
|
|
278
278
|
/**
|
|
279
279
|
* Get sortable fields for dropdown (including __mj_ fields for sorting by timestamps)
|
|
280
280
|
*/
|
|
281
|
-
get
|
|
281
|
+
get SortableFields(): EntityFieldInfo[];
|
|
282
282
|
/**
|
|
283
283
|
* Check if the current user can edit the view
|
|
284
284
|
*/
|
|
285
|
-
get
|
|
285
|
+
get CanEdit(): boolean;
|
|
286
286
|
/**
|
|
287
287
|
* Check if the current user can delete the view
|
|
288
288
|
*/
|
|
289
|
-
get
|
|
289
|
+
get CanDelete(): boolean;
|
|
290
290
|
/**
|
|
291
291
|
* Toggle column visibility
|
|
292
292
|
*/
|
|
293
|
-
|
|
293
|
+
ToggleColumnVisibility(column: ColumnConfig): void;
|
|
294
294
|
/**
|
|
295
295
|
* Move column up in order
|
|
296
296
|
*/
|
|
297
|
-
|
|
297
|
+
MoveColumnUp(column: ColumnConfig): void;
|
|
298
298
|
/**
|
|
299
299
|
* Move column down in order
|
|
300
300
|
*/
|
|
301
|
-
|
|
301
|
+
MoveColumnDown(column: ColumnConfig): void;
|
|
302
302
|
/**
|
|
303
303
|
* Handle drag start for column reordering
|
|
304
304
|
*/
|
|
305
|
-
|
|
305
|
+
OnDragStart(event: DragEvent, column: ColumnConfig): void;
|
|
306
306
|
/**
|
|
307
307
|
* Handle drag over for column reordering - determines drop position
|
|
308
308
|
*/
|
|
309
|
-
|
|
309
|
+
OnDragOver(event: DragEvent, column: ColumnConfig): void;
|
|
310
310
|
/**
|
|
311
311
|
* Handle drag leave - clear drop indicator
|
|
312
312
|
*/
|
|
313
|
-
|
|
313
|
+
OnDragLeave(event: DragEvent): void;
|
|
314
314
|
/**
|
|
315
315
|
* Handle drop for column reordering
|
|
316
316
|
*/
|
|
317
|
-
|
|
317
|
+
OnDrop(event: DragEvent, targetColumn: ColumnConfig): void;
|
|
318
318
|
/**
|
|
319
319
|
* Handle drag end
|
|
320
320
|
*/
|
|
321
|
-
|
|
321
|
+
OnDragEnd(event: DragEvent): void;
|
|
322
322
|
/**
|
|
323
323
|
* Clear all drag state
|
|
324
324
|
*/
|
|
@@ -330,35 +330,35 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
330
330
|
/**
|
|
331
331
|
* Check if drop indicator should show before a column
|
|
332
332
|
*/
|
|
333
|
-
|
|
333
|
+
IsDropBefore(column: ColumnConfig): boolean;
|
|
334
334
|
/**
|
|
335
335
|
* Check if drop indicator should show after a column
|
|
336
336
|
*/
|
|
337
|
-
|
|
337
|
+
IsDropAfter(column: ColumnConfig): boolean;
|
|
338
338
|
/**
|
|
339
339
|
* Add a new sort level
|
|
340
340
|
*/
|
|
341
|
-
|
|
341
|
+
AddSortLevel(): void;
|
|
342
342
|
/**
|
|
343
343
|
* Remove a sort level
|
|
344
344
|
*/
|
|
345
|
-
|
|
345
|
+
RemoveSortLevel(sortItem: SortItem): void;
|
|
346
346
|
/**
|
|
347
347
|
* Get the display name for a field
|
|
348
348
|
*/
|
|
349
|
-
|
|
349
|
+
GetFieldDisplayName(fieldName: string): string;
|
|
350
350
|
/**
|
|
351
351
|
* Get fields available for a sort item (excludes already selected fields except current)
|
|
352
352
|
*/
|
|
353
|
-
|
|
353
|
+
GetAvailableFieldsForSort(currentSortItem: SortItem): EntityFieldInfo[];
|
|
354
354
|
/**
|
|
355
355
|
* Handle sort field change
|
|
356
356
|
*/
|
|
357
|
-
|
|
357
|
+
OnSortFieldChange(sortItem: SortItem, fieldName: string): void;
|
|
358
358
|
/**
|
|
359
359
|
* Handle sort direction change
|
|
360
360
|
*/
|
|
361
|
-
|
|
361
|
+
OnSortDirectionChange(sortItem: SortItem, direction: 'asc' | 'desc'): void;
|
|
362
362
|
/**
|
|
363
363
|
* Keep legacy sortField/sortDirection in sync with sortItems[0]
|
|
364
364
|
*/
|
|
@@ -366,23 +366,23 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
366
366
|
/**
|
|
367
367
|
* Handle drag start for sort item reordering
|
|
368
368
|
*/
|
|
369
|
-
|
|
369
|
+
OnSortDragStart(event: DragEvent, sortItem: SortItem): void;
|
|
370
370
|
/**
|
|
371
371
|
* Handle drag over for sort item reordering
|
|
372
372
|
*/
|
|
373
|
-
|
|
373
|
+
OnSortDragOver(event: DragEvent, sortItem: SortItem): void;
|
|
374
374
|
/**
|
|
375
375
|
* Handle drag leave for sort item
|
|
376
376
|
*/
|
|
377
|
-
|
|
377
|
+
OnSortDragLeave(event: DragEvent): void;
|
|
378
378
|
/**
|
|
379
379
|
* Handle drop for sort item reordering
|
|
380
380
|
*/
|
|
381
|
-
|
|
381
|
+
OnSortDrop(event: DragEvent, targetSortItem: SortItem): void;
|
|
382
382
|
/**
|
|
383
383
|
* Handle drag end for sort item
|
|
384
384
|
*/
|
|
385
|
-
|
|
385
|
+
OnSortDragEnd(event: DragEvent): void;
|
|
386
386
|
/**
|
|
387
387
|
* Clear sort drag state
|
|
388
388
|
*/
|
|
@@ -390,19 +390,19 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
390
390
|
/**
|
|
391
391
|
* Check if drop indicator should show before a sort item
|
|
392
392
|
*/
|
|
393
|
-
|
|
393
|
+
IsSortDropBefore(sortItem: SortItem): boolean;
|
|
394
394
|
/**
|
|
395
395
|
* Check if drop indicator should show after a sort item
|
|
396
396
|
*/
|
|
397
|
-
|
|
397
|
+
IsSortDropAfter(sortItem: SortItem): boolean;
|
|
398
398
|
/**
|
|
399
399
|
* Open the format editor for a column
|
|
400
400
|
*/
|
|
401
|
-
|
|
401
|
+
OpenFormatEditor(column: ColumnConfig): void;
|
|
402
402
|
/**
|
|
403
403
|
* Close the format editor
|
|
404
404
|
*/
|
|
405
|
-
|
|
405
|
+
CloseFormatEditor(): void;
|
|
406
406
|
/**
|
|
407
407
|
* Get default format based on field type
|
|
408
408
|
*/
|
|
@@ -410,15 +410,15 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
410
410
|
/**
|
|
411
411
|
* Check if a column has custom formatting applied
|
|
412
412
|
*/
|
|
413
|
-
|
|
413
|
+
HasCustomFormat(column: ColumnConfig): boolean;
|
|
414
414
|
/**
|
|
415
415
|
* Clear formatting for a column
|
|
416
416
|
*/
|
|
417
|
-
|
|
417
|
+
ClearColumnFormat(column: ColumnConfig): void;
|
|
418
418
|
/**
|
|
419
419
|
* Get sample values for preview
|
|
420
420
|
*/
|
|
421
|
-
|
|
421
|
+
GetSampleValues(column: ColumnConfig): unknown[];
|
|
422
422
|
/**
|
|
423
423
|
* Get placeholder sample values when no data available
|
|
424
424
|
*/
|
|
@@ -426,7 +426,7 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
426
426
|
/**
|
|
427
427
|
* Format a value for preview display
|
|
428
428
|
*/
|
|
429
|
-
|
|
429
|
+
FormatPreviewValue(value: unknown, format: ColumnFormat | undefined): string;
|
|
430
430
|
private formatNumber;
|
|
431
431
|
private formatCurrency;
|
|
432
432
|
private formatPercent;
|
|
@@ -435,7 +435,7 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
435
435
|
/**
|
|
436
436
|
* Close the panel
|
|
437
437
|
*/
|
|
438
|
-
|
|
438
|
+
OnClose(): void;
|
|
439
439
|
/**
|
|
440
440
|
* Check if filter state has any active filters
|
|
441
441
|
*/
|
|
@@ -459,21 +459,21 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
459
459
|
/**
|
|
460
460
|
* Save the view
|
|
461
461
|
*/
|
|
462
|
-
|
|
462
|
+
OnSave(): void;
|
|
463
463
|
/**
|
|
464
464
|
* Save as a new view
|
|
465
465
|
*/
|
|
466
|
-
|
|
466
|
+
OnSaveAsNew(): void;
|
|
467
467
|
/**
|
|
468
468
|
* Save default view settings to user settings
|
|
469
469
|
* Used for dynamic/default views that don't have a stored view entity
|
|
470
470
|
*/
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
OnSaveDefaults(): void;
|
|
472
|
+
ShowDeleteConfirm: boolean;
|
|
473
473
|
/**
|
|
474
474
|
* Delete the view - shows confirmation dialog
|
|
475
475
|
*/
|
|
476
|
-
|
|
476
|
+
OnDelete(): void;
|
|
477
477
|
/**
|
|
478
478
|
* Confirmed delete from dialog
|
|
479
479
|
*/
|
|
@@ -489,12 +489,12 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
489
489
|
/**
|
|
490
490
|
* Set the active tab
|
|
491
491
|
*/
|
|
492
|
-
|
|
492
|
+
SetActiveTab(tab: 'columns' | 'sorting' | 'filters' | 'aggregates' | 'settings'): void;
|
|
493
493
|
/**
|
|
494
494
|
* Set the filter mode (smart or traditional)
|
|
495
495
|
* BUG-006: Shows confirmation when switching if active mode has data
|
|
496
496
|
*/
|
|
497
|
-
|
|
497
|
+
SetFilterMode(mode: 'smart' | 'traditional'): void;
|
|
498
498
|
/**
|
|
499
499
|
* Check if the current filter mode has user-entered data
|
|
500
500
|
*/
|
|
@@ -514,76 +514,76 @@ export declare class ViewConfigPanelComponent extends BaseAngularComponent imple
|
|
|
514
514
|
/**
|
|
515
515
|
* Apply a smart filter example to the prompt field
|
|
516
516
|
*/
|
|
517
|
-
|
|
517
|
+
ApplySmartFilterExample(example: string): void;
|
|
518
518
|
/**
|
|
519
519
|
* Toggle a header style property
|
|
520
520
|
*/
|
|
521
|
-
|
|
521
|
+
ToggleHeaderStyle(prop: keyof ColumnTextStyle): void;
|
|
522
522
|
/**
|
|
523
523
|
* Update the user-defined display name for a column
|
|
524
524
|
*/
|
|
525
|
-
|
|
525
|
+
UpdateUserDisplayName(value: string): void;
|
|
526
526
|
/**
|
|
527
527
|
* Update a header style color property
|
|
528
528
|
*/
|
|
529
|
-
|
|
529
|
+
UpdateHeaderColor(prop: 'color' | 'backgroundColor', value: string): void;
|
|
530
530
|
/**
|
|
531
531
|
* Toggle a cell style property
|
|
532
532
|
*/
|
|
533
|
-
|
|
533
|
+
ToggleCellStyle(prop: keyof ColumnTextStyle): void;
|
|
534
534
|
/**
|
|
535
535
|
* Update a cell style color property
|
|
536
536
|
*/
|
|
537
|
-
|
|
537
|
+
UpdateCellColor(prop: 'color' | 'backgroundColor', value: string): void;
|
|
538
538
|
/**
|
|
539
539
|
* Open dialog to add a new aggregate
|
|
540
540
|
*/
|
|
541
|
-
|
|
541
|
+
OpenAddAggregateDialog(): void;
|
|
542
542
|
/**
|
|
543
543
|
* Open dialog to edit an existing aggregate
|
|
544
544
|
*/
|
|
545
|
-
|
|
545
|
+
EditAggregate(aggregate: ViewGridAggregate): void;
|
|
546
546
|
/**
|
|
547
547
|
* Close the aggregate dialog
|
|
548
548
|
*/
|
|
549
|
-
|
|
549
|
+
CloseAggregateDialog(): void;
|
|
550
550
|
/**
|
|
551
551
|
* Handle saving an aggregate from the dialog
|
|
552
552
|
*/
|
|
553
|
-
|
|
553
|
+
OnAggregateSave(aggregate: ViewGridAggregate): void;
|
|
554
554
|
/**
|
|
555
555
|
* Remove an aggregate
|
|
556
556
|
*/
|
|
557
|
-
|
|
557
|
+
RemoveAggregate(aggregate: ViewGridAggregate): void;
|
|
558
558
|
/**
|
|
559
559
|
* Toggle aggregate enabled state (BUG-012: immutable update, no excessive logging)
|
|
560
560
|
*/
|
|
561
|
-
|
|
561
|
+
ToggleAggregateEnabled(aggregate: ViewGridAggregate, event?: MouseEvent): void;
|
|
562
562
|
/**
|
|
563
563
|
* Move aggregate up in order
|
|
564
564
|
*/
|
|
565
|
-
|
|
565
|
+
MoveAggregateUp(aggregate: ViewGridAggregate): void;
|
|
566
566
|
/**
|
|
567
567
|
* Move aggregate down in order
|
|
568
568
|
*/
|
|
569
|
-
|
|
569
|
+
MoveAggregateDown(aggregate: ViewGridAggregate): void;
|
|
570
570
|
/**
|
|
571
571
|
* Get enabled aggregates count
|
|
572
572
|
*/
|
|
573
|
-
get
|
|
573
|
+
get EnabledAggregatesCount(): number;
|
|
574
574
|
/**
|
|
575
575
|
* Get card aggregates
|
|
576
576
|
*/
|
|
577
|
-
get
|
|
577
|
+
get CardAggregates(): ViewGridAggregate[];
|
|
578
578
|
/**
|
|
579
579
|
* Get column aggregates
|
|
580
580
|
*/
|
|
581
|
-
get
|
|
581
|
+
get ColumnAggregates(): ViewGridAggregate[];
|
|
582
582
|
/**
|
|
583
583
|
* Build aggregates config from current state
|
|
584
584
|
*/
|
|
585
585
|
private buildAggregatesConfig;
|
|
586
586
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewConfigPanelComponent, never>;
|
|
587
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewConfigPanelComponent, "mj-view-config-panel", never, { "
|
|
587
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewConfigPanelComponent, "mj-view-config-panel", never, { "Entity": { "alias": "Entity"; "required": false; }; "ViewEntity": { "alias": "ViewEntity"; "required": false; }; "IsOpen": { "alias": "IsOpen"; "required": false; }; "CurrentGridState": { "alias": "CurrentGridState"; "required": false; }; "SampleData": { "alias": "SampleData"; "required": false; }; "ExternalFilterState": { "alias": "ExternalFilterState"; "required": false; }; "DefaultSaveAsNew": { "alias": "DefaultSaveAsNew"; "required": false; }; "PendingNewViewName": { "alias": "PendingNewViewName"; "required": false; }; "PendingNewViewDescription": { "alias": "PendingNewViewDescription"; "required": false; }; "PendingNewViewIsShared": { "alias": "PendingNewViewIsShared"; "required": false; }; "IsSaving": { "alias": "IsSaving"; "required": false; }; }, { "Close": "Close"; "Save": "Save"; "SaveDefaults": "SaveDefaults"; "Delete": "Delete"; "OpenFilterDialogRequest": "OpenFilterDialogRequest"; "Duplicate": "Duplicate"; }, never, never, false, never>;
|
|
588
588
|
}
|
|
589
589
|
//# sourceMappingURL=view-config-panel.component.d.ts.map
|