@agile-team/mach-table 0.29.2 → 0.30.1
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/README.md +1 -1
- package/dist/adapter.d.cts +2 -2
- package/dist/adapter.d.ts +2 -2
- package/dist/{configuration-D3C3aoGC.d.ts → configuration-B7D6wfUU.d.ts} +1 -1
- package/dist/{configuration-st7TsB84.d.cts → configuration-CegEgHKC.d.cts} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +31 -4
- package/dist/index.d.ts +31 -4
- package/dist/index.js +5 -5
- package/dist/{options-xqZZCGRz.d.cts → options-XohbVBFI.d.cts} +4 -1
- package/dist/{options-xqZZCGRz.d.ts → options-XohbVBFI.d.ts} +4 -1
- package/dist/worker.d.cts +2 -2
- package/dist/worker.d.ts +2 -2
- package/package.json +2 -2
- package/styles/mach-table.css +31 -31
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as GridOptions, c as GridApi,
|
|
2
|
-
export { u as ActionPolicy, v as ActionPolicyContext, w as ApplyGridStateOptions, x as CellAlign, y as CellClassParams, z as CellClassRule, B as CellClickEvent, D as CellContextMenuEvent, E as CellDoubleClickEvent, H as CellEditingStartedEvent, I as CellEditingStoppedEvent, J as CellEditorFactory, K as CellEditorParams, L as CellRendererOutput, M as CellStyleRule, N as CellValueChangedEvent, O as ColDefOrGroup, P as ColumnLayoutMode, Q as ColumnMovedEvent, R as ColumnResizedEvent, T as ColumnVisibilityChangedEvent, U as ColumnWorkbenchItem, V as ContextMenuItem, W as ContextMenuParams, X as CsvExportParams, Y as DEFAULT_LOCALE, Z as DatasourceMode, _ as DateFilterCondition, $ as DateFilterMatch, a0 as DetailRowRendererParams, a1 as DetailToggledEvent, a2 as DirtyStateChangedEvent, a3 as DomLayoutMode, a4 as EVENT_TYPES, a5 as EditableIndicator, a6 as EditableParams, a7 as EventHandlers, a8 as FilterChangedEvent, a9 as FilterType, aa as GetRowHeightParams, ab as GridAsyncOptions, ac as GridBatchSaveResult, ad as GridCellChange, ae as GridCellRange, af as GridColumnsApi, a as GridComponents, ag as GridDataProcessor, ah as GridDataProcessorColumn, ai as GridDataProcessorRequest, aj as GridDataProcessorResult, ak as GridDataProcessorRow, al as GridDatasource, am as GridDiagnosticError, an as GridDiagnostics, ao as GridDiagnosticsApi, ap as GridEditType, aq as GridEditingApi, ar as GridErrorCode, as as GridErrorEvent, at as GridEventBase, au as GridEventMap, b as GridEventType, av as GridFeatureContext, aw as GridFilteringApi, ax as GridHierarchyApi, ay as GridIoApi, az as GridPaginationApi, aA as GridPerformanceSnapshot, aB as GridPersistenceOptions, aC as GridReadyEvent, aD as GridRowsApi, aE as GridSelectionApi, aF as GridSortingApi, aG as GridStateApi, aH as GridStateSection, aI as GridUpdateSchedulerSnapshot, aJ as GridViewApi, aK as HeaderComponentParams, aL as ICellEditor, aM as ICellRendererResult, aN as ImportCsvOptions, aO as InfiniteGetRowsParams, aP as LOCALE_EN, aQ as MachTableLocale, aR as MachTableLocaleKey, aS as ModelUpdatedEvent, aT as NumberFilterCondition, aU as NumberFilterMatch, aV as OverlayContent, aW as OverlayTemplate, aX as PaginationChangedEvent, aY as PaginationConfig, aZ as PinnedDirection, a_ as PrintOptions, a$ as RangeSelectionChangedEvent, b0 as RefreshCellsParams, b1 as RemoteBlockCacheSnapshot, b2 as ResolvedGridOptions, b3 as RowClickEvent, b4 as RowDragEndEvent, b5 as RowEditChange, b6 as RowEditValidationParams, b7 as RowEditValidationResult, b8 as RowEditingStartedEvent, b9 as RowEditingStoppedEvent, ba as RowNode, bb as RowSelectionMode, bc as RowTransaction, bd as SaveChangeIssue, be as SaveChangesHandler, bf as SaveChangesResult, bg as SelectEditorOption, bh as SelectEditorParams, bi as SelectionChangedEvent, bj as SetFilterCondition, bk as SetFilterParams, bl as SortChangedEvent, bm as SortDirection, bn as SortModelItem, bo as StatusBarConfig, bp as StatusBarPanel, bq as TextFilterCondition, br as TextFilterMatch, bs as ThemeMode, bt as TooltipParams, bu as TreeChildrenLoadFailedEvent, bv as TreeChildrenLoadedEvent, bw as TreeDataLoadParams, bx as ValueFormatterParams, by as ValueGetterParams, bz as ValueSetterParams, bA as WatermarkConfig, bB as formatText, bC as formatTwo, bD as isColDefGroup, bE as matchLocaleKey } from './options-
|
|
1
|
+
import { G as GridOptions, c as GridApi, S as SortModel, F as FilterModel, A as AdvancedFilterModel, d as ColumnFilter, e as AdvancedFilterCondition, f as AdvancedFilterNode, g as AdvancedFilterGroup, h as GridFeature, C as ColDef, i as ColDefGroup, j as GridStateStore, k as GridState, l as GridStateInput, m as GridSize, n as CellRendererParams, o as GridChange, p as CellRendererFn, q as FieldPath, r as FieldPathValue, s as SaveChangeConflict, t as ColumnState } from './options-XohbVBFI.cjs';
|
|
2
|
+
export { u as ActionPolicy, v as ActionPolicyContext, w as ApplyGridStateOptions, x as CellAlign, y as CellClassParams, z as CellClassRule, B as CellClickEvent, D as CellContextMenuEvent, E as CellDoubleClickEvent, H as CellEditingStartedEvent, I as CellEditingStoppedEvent, J as CellEditorFactory, K as CellEditorParams, L as CellRendererOutput, M as CellStyleRule, N as CellValueChangedEvent, O as ColDefOrGroup, P as ColumnLayoutMode, Q as ColumnMovedEvent, R as ColumnResizedEvent, T as ColumnVisibilityChangedEvent, U as ColumnWorkbenchItem, V as ContextMenuItem, W as ContextMenuParams, X as CsvExportParams, Y as DEFAULT_LOCALE, Z as DatasourceMode, _ as DateFilterCondition, $ as DateFilterMatch, a0 as DetailRowRendererParams, a1 as DetailToggledEvent, a2 as DirtyStateChangedEvent, a3 as DomLayoutMode, a4 as EVENT_TYPES, a5 as EditableIndicator, a6 as EditableParams, a7 as EventHandlers, a8 as FilterChangedEvent, a9 as FilterType, aa as GetRowHeightParams, ab as GridAsyncOptions, ac as GridBatchSaveResult, ad as GridCellChange, ae as GridCellRange, af as GridColumnsApi, a as GridComponents, ag as GridDataProcessor, ah as GridDataProcessorColumn, ai as GridDataProcessorRequest, aj as GridDataProcessorResult, ak as GridDataProcessorRow, al as GridDatasource, am as GridDiagnosticError, an as GridDiagnostics, ao as GridDiagnosticsApi, ap as GridEditType, aq as GridEditingApi, ar as GridErrorCode, as as GridErrorEvent, at as GridEventBase, au as GridEventMap, b as GridEventType, av as GridFeatureContext, aw as GridFilteringApi, ax as GridHierarchyApi, ay as GridIoApi, az as GridPaginationApi, aA as GridPerformanceSnapshot, aB as GridPersistenceOptions, aC as GridReadyEvent, aD as GridRowsApi, aE as GridSelectionApi, aF as GridSortingApi, aG as GridStateApi, aH as GridStateSection, aI as GridUpdateSchedulerSnapshot, aJ as GridViewApi, aK as HeaderComponentParams, aL as ICellEditor, aM as ICellRendererResult, aN as ImportCsvOptions, aO as InfiniteGetRowsParams, aP as LOCALE_EN, aQ as MachTableLocale, aR as MachTableLocaleKey, aS as ModelUpdatedEvent, aT as NumberFilterCondition, aU as NumberFilterMatch, aV as OverlayContent, aW as OverlayTemplate, aX as PaginationChangedEvent, aY as PaginationConfig, aZ as PinnedDirection, a_ as PrintOptions, a$ as RangeSelectionChangedEvent, b0 as RefreshCellsParams, b1 as RemoteBlockCacheSnapshot, b2 as ResolvedGridOptions, b3 as RowClickEvent, b4 as RowDragEndEvent, b5 as RowEditChange, b6 as RowEditValidationParams, b7 as RowEditValidationResult, b8 as RowEditingStartedEvent, b9 as RowEditingStoppedEvent, ba as RowNode, bb as RowSelectionMode, bc as RowTransaction, bd as SaveChangeIssue, be as SaveChangesHandler, bf as SaveChangesResult, bg as SelectEditorOption, bh as SelectEditorParams, bi as SelectionChangedEvent, bj as SetFilterCondition, bk as SetFilterParams, bl as SortChangedEvent, bm as SortDirection, bn as SortModelItem, bo as StatusBarConfig, bp as StatusBarPanel, bq as TextFilterCondition, br as TextFilterMatch, bs as ThemeMode, bt as TooltipParams, bu as TreeChildrenLoadFailedEvent, bv as TreeChildrenLoadedEvent, bw as TreeDataLoadParams, bx as ValueFormatterParams, by as ValueGetterParams, bz as ValueSetterParams, bA as WatermarkConfig, bB as formatText, bC as formatTwo, bD as isColDefGroup, bE as matchLocaleKey } from './options-XohbVBFI.cjs';
|
|
3
3
|
export { FieldDataProcessorOptions, GridDataProcessorPayload, GridDataWorkerScope, GridWorkerCancelMessage, GridWorkerProcessMessage, GridWorkerRequestMessage, GridWorkerResponseMessage, WorkerDataProcessorOptions } from './worker.cjs';
|
|
4
|
-
export { b as MachTableConfigWarning, c as MachTableDefaults, d as MachTableInstanceOptionKey, M as MachTableOptionExplanation, e as MachTablePreset, f as MachTablePresetSelection, g as MachTableRuntimeConfig, R as ResolvedMachTableConfig, h as defineMachTableConfig } from './configuration-
|
|
4
|
+
export { b as MachTableConfigWarning, c as MachTableDefaults, d as MachTableInstanceOptionKey, M as MachTableOptionExplanation, e as MachTablePreset, f as MachTablePresetSelection, g as MachTableRuntimeConfig, R as ResolvedMachTableConfig, h as defineMachTableConfig } from './configuration-CegEgHKC.cjs';
|
|
5
5
|
|
|
6
6
|
declare function createGrid<TData = any>(container: HTMLElement, options?: GridOptions<TData>): GridApi<TData>;
|
|
7
7
|
|
|
@@ -9,6 +9,33 @@ declare function isSafePath(path: string): boolean;
|
|
|
9
9
|
declare function getByPath(obj: any, path: string): any;
|
|
10
10
|
declare function setByPath(obj: any, path: string, value: any): boolean;
|
|
11
11
|
|
|
12
|
+
type RemoteExportScope = "filtered" | "selected";
|
|
13
|
+
type RemoteExportSelection = {
|
|
14
|
+
mode: "explicit";
|
|
15
|
+
selectedKeys: string[];
|
|
16
|
+
} | {
|
|
17
|
+
mode: "allMatching";
|
|
18
|
+
excludedKeys: string[];
|
|
19
|
+
};
|
|
20
|
+
interface RemoteExportRequestOptions {
|
|
21
|
+
scope: RemoteExportScope;
|
|
22
|
+
/** Supply useMachTableQuery().selectionState for cross-page or all-matching selection. */
|
|
23
|
+
selection?: RemoteExportSelection;
|
|
24
|
+
}
|
|
25
|
+
/** Serializable grid criteria for an application-owned server export endpoint. */
|
|
26
|
+
interface RemoteExportRequest {
|
|
27
|
+
version: 1;
|
|
28
|
+
scope: RemoteExportScope;
|
|
29
|
+
columnIds: string[];
|
|
30
|
+
sortModel: SortModel;
|
|
31
|
+
filterModel: FilterModel;
|
|
32
|
+
advancedFilterModel: AdvancedFilterModel | null;
|
|
33
|
+
quickFilterText: string | null;
|
|
34
|
+
selection?: RemoteExportSelection;
|
|
35
|
+
}
|
|
36
|
+
/** Takes a detached snapshot; it never traverses loaded rows or changes the grid. */
|
|
37
|
+
declare function createRemoteExportRequest<TData>(api: GridApi<TData>, options: RemoteExportRequestOptions): RemoteExportRequest;
|
|
38
|
+
|
|
12
39
|
declare function normalizeColumnFilter(input: unknown): ColumnFilter | null;
|
|
13
40
|
/** Clones and bounds untrusted JSON before it reaches the row pipeline. */
|
|
14
41
|
declare function normalizeAdvancedFilterModel(input: unknown, validColumnIds?: ReadonlySet<string>): AdvancedFilterModel | null;
|
|
@@ -358,4 +385,4 @@ declare function createGridViewManager<TData>(api: GridApi<TData>, options: {
|
|
|
358
385
|
|
|
359
386
|
declare const version: string;
|
|
360
387
|
|
|
361
|
-
export { type ActionButtonsConfig, type ActionItem, type ActionOverflowMode, type ActionVariant, AdvancedFilterCondition, AdvancedFilterGroup, AdvancedFilterModel, AdvancedFilterNode, type AggFunction, type AggValues, BUILTIN_AGG_FUNCS, type BuiltInActionIcon, type BusinessColumnType, type BusinessColumnTypeOptions, type CachedDictionary, type CachedDictionaryOptions, CellRendererFn, CellRendererParams, ColDef, ColDefGroup, ColumnFilter, type ColumnHelper, ColumnState, type DictionaryEntry, type DictionaryKey, type DictionaryRendererOptions, FieldPath, FieldPathValue, FilterModel, GridApi, GridChange, GridFeature, type GridFeatureIssue, type GridFeatureIssueCode, GridOptions, type GridSchema, type GridSchemaField, type GridSchemaFieldType, type GridSchemaGroup, GridSize, GridState, GridStateInput, type GridStateStorage, GridStateStore, type GridValidationCode, type GridValidationIssue, type GridViewManager, type GridViewState, type GridViewStore, type LocalGridStateStoreOptions, type LocalGridViewStoreOptions, type MachTableCommandOptions, type MachTableCommands, type ManagedGridStateStore, type ProgressConfig, type ResolvedGridFeatures, type RowActionsConfig, SaveChangeConflict, type SavedGridView, type SchemaSelectOption, SortModel, type StatusTagConfig, type StoredGridState, type TagVariant, actionsColumn, advancedFilterCondition, advancedFilterGroup, applyGridViewState, buildColDefsFromSchema, captureGridViewState, clearGridState, createActionButtonsRenderer, createAggResolver, createBusinessColumnTypes, createCachedDictionary, createColumnHelper, createDictionaryRenderer, createEnterprisePreset, createGrid, createGridViewManager, createLocalGridStateStore, createLocalGridViewStore, createMachTableCommands, createMachTablePreset, createProgressBarRenderer, createRowActionsRenderer, createStatusTagRenderer, defineColumns, defineGridOptions, defineMachTablePreset, describeFilter, downloadFile, dragColumn, escapeHtml, getByPath, indexColumn, isSafePath, linkRenderer, loadGridState, normalizeAdvancedFilterModel, normalizeColumnFilter, normalizeFilterModel, normalizeGridState, normalizeGridViewState, normalizeSavedGridView, parseCsv, parseDelimited, parseTsv, resolveGridFeatures, resolveSaveConflict, resolveTagVariant, rowActionsColumn, sanitizeFormulaCell, saveGridState, selectionColumn, setByPath, toTsv, validateGridOptions, version };
|
|
388
|
+
export { type ActionButtonsConfig, type ActionItem, type ActionOverflowMode, type ActionVariant, AdvancedFilterCondition, AdvancedFilterGroup, AdvancedFilterModel, AdvancedFilterNode, type AggFunction, type AggValues, BUILTIN_AGG_FUNCS, type BuiltInActionIcon, type BusinessColumnType, type BusinessColumnTypeOptions, type CachedDictionary, type CachedDictionaryOptions, CellRendererFn, CellRendererParams, ColDef, ColDefGroup, ColumnFilter, type ColumnHelper, ColumnState, type DictionaryEntry, type DictionaryKey, type DictionaryRendererOptions, FieldPath, FieldPathValue, FilterModel, GridApi, GridChange, GridFeature, type GridFeatureIssue, type GridFeatureIssueCode, GridOptions, type GridSchema, type GridSchemaField, type GridSchemaFieldType, type GridSchemaGroup, GridSize, GridState, GridStateInput, type GridStateStorage, GridStateStore, type GridValidationCode, type GridValidationIssue, type GridViewManager, type GridViewState, type GridViewStore, type LocalGridStateStoreOptions, type LocalGridViewStoreOptions, type MachTableCommandOptions, type MachTableCommands, type ManagedGridStateStore, type ProgressConfig, type RemoteExportRequest, type RemoteExportRequestOptions, type RemoteExportScope, type RemoteExportSelection, type ResolvedGridFeatures, type RowActionsConfig, SaveChangeConflict, type SavedGridView, type SchemaSelectOption, SortModel, type StatusTagConfig, type StoredGridState, type TagVariant, actionsColumn, advancedFilterCondition, advancedFilterGroup, applyGridViewState, buildColDefsFromSchema, captureGridViewState, clearGridState, createActionButtonsRenderer, createAggResolver, createBusinessColumnTypes, createCachedDictionary, createColumnHelper, createDictionaryRenderer, createEnterprisePreset, createGrid, createGridViewManager, createLocalGridStateStore, createLocalGridViewStore, createMachTableCommands, createMachTablePreset, createProgressBarRenderer, createRemoteExportRequest, createRowActionsRenderer, createStatusTagRenderer, defineColumns, defineGridOptions, defineMachTablePreset, describeFilter, downloadFile, dragColumn, escapeHtml, getByPath, indexColumn, isSafePath, linkRenderer, loadGridState, normalizeAdvancedFilterModel, normalizeColumnFilter, normalizeFilterModel, normalizeGridState, normalizeGridViewState, normalizeSavedGridView, parseCsv, parseDelimited, parseTsv, resolveGridFeatures, resolveSaveConflict, resolveTagVariant, rowActionsColumn, sanitizeFormulaCell, saveGridState, selectionColumn, setByPath, toTsv, validateGridOptions, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as GridOptions, c as GridApi,
|
|
2
|
-
export { u as ActionPolicy, v as ActionPolicyContext, w as ApplyGridStateOptions, x as CellAlign, y as CellClassParams, z as CellClassRule, B as CellClickEvent, D as CellContextMenuEvent, E as CellDoubleClickEvent, H as CellEditingStartedEvent, I as CellEditingStoppedEvent, J as CellEditorFactory, K as CellEditorParams, L as CellRendererOutput, M as CellStyleRule, N as CellValueChangedEvent, O as ColDefOrGroup, P as ColumnLayoutMode, Q as ColumnMovedEvent, R as ColumnResizedEvent, T as ColumnVisibilityChangedEvent, U as ColumnWorkbenchItem, V as ContextMenuItem, W as ContextMenuParams, X as CsvExportParams, Y as DEFAULT_LOCALE, Z as DatasourceMode, _ as DateFilterCondition, $ as DateFilterMatch, a0 as DetailRowRendererParams, a1 as DetailToggledEvent, a2 as DirtyStateChangedEvent, a3 as DomLayoutMode, a4 as EVENT_TYPES, a5 as EditableIndicator, a6 as EditableParams, a7 as EventHandlers, a8 as FilterChangedEvent, a9 as FilterType, aa as GetRowHeightParams, ab as GridAsyncOptions, ac as GridBatchSaveResult, ad as GridCellChange, ae as GridCellRange, af as GridColumnsApi, a as GridComponents, ag as GridDataProcessor, ah as GridDataProcessorColumn, ai as GridDataProcessorRequest, aj as GridDataProcessorResult, ak as GridDataProcessorRow, al as GridDatasource, am as GridDiagnosticError, an as GridDiagnostics, ao as GridDiagnosticsApi, ap as GridEditType, aq as GridEditingApi, ar as GridErrorCode, as as GridErrorEvent, at as GridEventBase, au as GridEventMap, b as GridEventType, av as GridFeatureContext, aw as GridFilteringApi, ax as GridHierarchyApi, ay as GridIoApi, az as GridPaginationApi, aA as GridPerformanceSnapshot, aB as GridPersistenceOptions, aC as GridReadyEvent, aD as GridRowsApi, aE as GridSelectionApi, aF as GridSortingApi, aG as GridStateApi, aH as GridStateSection, aI as GridUpdateSchedulerSnapshot, aJ as GridViewApi, aK as HeaderComponentParams, aL as ICellEditor, aM as ICellRendererResult, aN as ImportCsvOptions, aO as InfiniteGetRowsParams, aP as LOCALE_EN, aQ as MachTableLocale, aR as MachTableLocaleKey, aS as ModelUpdatedEvent, aT as NumberFilterCondition, aU as NumberFilterMatch, aV as OverlayContent, aW as OverlayTemplate, aX as PaginationChangedEvent, aY as PaginationConfig, aZ as PinnedDirection, a_ as PrintOptions, a$ as RangeSelectionChangedEvent, b0 as RefreshCellsParams, b1 as RemoteBlockCacheSnapshot, b2 as ResolvedGridOptions, b3 as RowClickEvent, b4 as RowDragEndEvent, b5 as RowEditChange, b6 as RowEditValidationParams, b7 as RowEditValidationResult, b8 as RowEditingStartedEvent, b9 as RowEditingStoppedEvent, ba as RowNode, bb as RowSelectionMode, bc as RowTransaction, bd as SaveChangeIssue, be as SaveChangesHandler, bf as SaveChangesResult, bg as SelectEditorOption, bh as SelectEditorParams, bi as SelectionChangedEvent, bj as SetFilterCondition, bk as SetFilterParams, bl as SortChangedEvent, bm as SortDirection, bn as SortModelItem, bo as StatusBarConfig, bp as StatusBarPanel, bq as TextFilterCondition, br as TextFilterMatch, bs as ThemeMode, bt as TooltipParams, bu as TreeChildrenLoadFailedEvent, bv as TreeChildrenLoadedEvent, bw as TreeDataLoadParams, bx as ValueFormatterParams, by as ValueGetterParams, bz as ValueSetterParams, bA as WatermarkConfig, bB as formatText, bC as formatTwo, bD as isColDefGroup, bE as matchLocaleKey } from './options-
|
|
1
|
+
import { G as GridOptions, c as GridApi, S as SortModel, F as FilterModel, A as AdvancedFilterModel, d as ColumnFilter, e as AdvancedFilterCondition, f as AdvancedFilterNode, g as AdvancedFilterGroup, h as GridFeature, C as ColDef, i as ColDefGroup, j as GridStateStore, k as GridState, l as GridStateInput, m as GridSize, n as CellRendererParams, o as GridChange, p as CellRendererFn, q as FieldPath, r as FieldPathValue, s as SaveChangeConflict, t as ColumnState } from './options-XohbVBFI.js';
|
|
2
|
+
export { u as ActionPolicy, v as ActionPolicyContext, w as ApplyGridStateOptions, x as CellAlign, y as CellClassParams, z as CellClassRule, B as CellClickEvent, D as CellContextMenuEvent, E as CellDoubleClickEvent, H as CellEditingStartedEvent, I as CellEditingStoppedEvent, J as CellEditorFactory, K as CellEditorParams, L as CellRendererOutput, M as CellStyleRule, N as CellValueChangedEvent, O as ColDefOrGroup, P as ColumnLayoutMode, Q as ColumnMovedEvent, R as ColumnResizedEvent, T as ColumnVisibilityChangedEvent, U as ColumnWorkbenchItem, V as ContextMenuItem, W as ContextMenuParams, X as CsvExportParams, Y as DEFAULT_LOCALE, Z as DatasourceMode, _ as DateFilterCondition, $ as DateFilterMatch, a0 as DetailRowRendererParams, a1 as DetailToggledEvent, a2 as DirtyStateChangedEvent, a3 as DomLayoutMode, a4 as EVENT_TYPES, a5 as EditableIndicator, a6 as EditableParams, a7 as EventHandlers, a8 as FilterChangedEvent, a9 as FilterType, aa as GetRowHeightParams, ab as GridAsyncOptions, ac as GridBatchSaveResult, ad as GridCellChange, ae as GridCellRange, af as GridColumnsApi, a as GridComponents, ag as GridDataProcessor, ah as GridDataProcessorColumn, ai as GridDataProcessorRequest, aj as GridDataProcessorResult, ak as GridDataProcessorRow, al as GridDatasource, am as GridDiagnosticError, an as GridDiagnostics, ao as GridDiagnosticsApi, ap as GridEditType, aq as GridEditingApi, ar as GridErrorCode, as as GridErrorEvent, at as GridEventBase, au as GridEventMap, b as GridEventType, av as GridFeatureContext, aw as GridFilteringApi, ax as GridHierarchyApi, ay as GridIoApi, az as GridPaginationApi, aA as GridPerformanceSnapshot, aB as GridPersistenceOptions, aC as GridReadyEvent, aD as GridRowsApi, aE as GridSelectionApi, aF as GridSortingApi, aG as GridStateApi, aH as GridStateSection, aI as GridUpdateSchedulerSnapshot, aJ as GridViewApi, aK as HeaderComponentParams, aL as ICellEditor, aM as ICellRendererResult, aN as ImportCsvOptions, aO as InfiniteGetRowsParams, aP as LOCALE_EN, aQ as MachTableLocale, aR as MachTableLocaleKey, aS as ModelUpdatedEvent, aT as NumberFilterCondition, aU as NumberFilterMatch, aV as OverlayContent, aW as OverlayTemplate, aX as PaginationChangedEvent, aY as PaginationConfig, aZ as PinnedDirection, a_ as PrintOptions, a$ as RangeSelectionChangedEvent, b0 as RefreshCellsParams, b1 as RemoteBlockCacheSnapshot, b2 as ResolvedGridOptions, b3 as RowClickEvent, b4 as RowDragEndEvent, b5 as RowEditChange, b6 as RowEditValidationParams, b7 as RowEditValidationResult, b8 as RowEditingStartedEvent, b9 as RowEditingStoppedEvent, ba as RowNode, bb as RowSelectionMode, bc as RowTransaction, bd as SaveChangeIssue, be as SaveChangesHandler, bf as SaveChangesResult, bg as SelectEditorOption, bh as SelectEditorParams, bi as SelectionChangedEvent, bj as SetFilterCondition, bk as SetFilterParams, bl as SortChangedEvent, bm as SortDirection, bn as SortModelItem, bo as StatusBarConfig, bp as StatusBarPanel, bq as TextFilterCondition, br as TextFilterMatch, bs as ThemeMode, bt as TooltipParams, bu as TreeChildrenLoadFailedEvent, bv as TreeChildrenLoadedEvent, bw as TreeDataLoadParams, bx as ValueFormatterParams, by as ValueGetterParams, bz as ValueSetterParams, bA as WatermarkConfig, bB as formatText, bC as formatTwo, bD as isColDefGroup, bE as matchLocaleKey } from './options-XohbVBFI.js';
|
|
3
3
|
export { FieldDataProcessorOptions, GridDataProcessorPayload, GridDataWorkerScope, GridWorkerCancelMessage, GridWorkerProcessMessage, GridWorkerRequestMessage, GridWorkerResponseMessage, WorkerDataProcessorOptions } from './worker.js';
|
|
4
|
-
export { b as MachTableConfigWarning, c as MachTableDefaults, d as MachTableInstanceOptionKey, M as MachTableOptionExplanation, e as MachTablePreset, f as MachTablePresetSelection, g as MachTableRuntimeConfig, R as ResolvedMachTableConfig, h as defineMachTableConfig } from './configuration-
|
|
4
|
+
export { b as MachTableConfigWarning, c as MachTableDefaults, d as MachTableInstanceOptionKey, M as MachTableOptionExplanation, e as MachTablePreset, f as MachTablePresetSelection, g as MachTableRuntimeConfig, R as ResolvedMachTableConfig, h as defineMachTableConfig } from './configuration-B7D6wfUU.js';
|
|
5
5
|
|
|
6
6
|
declare function createGrid<TData = any>(container: HTMLElement, options?: GridOptions<TData>): GridApi<TData>;
|
|
7
7
|
|
|
@@ -9,6 +9,33 @@ declare function isSafePath(path: string): boolean;
|
|
|
9
9
|
declare function getByPath(obj: any, path: string): any;
|
|
10
10
|
declare function setByPath(obj: any, path: string, value: any): boolean;
|
|
11
11
|
|
|
12
|
+
type RemoteExportScope = "filtered" | "selected";
|
|
13
|
+
type RemoteExportSelection = {
|
|
14
|
+
mode: "explicit";
|
|
15
|
+
selectedKeys: string[];
|
|
16
|
+
} | {
|
|
17
|
+
mode: "allMatching";
|
|
18
|
+
excludedKeys: string[];
|
|
19
|
+
};
|
|
20
|
+
interface RemoteExportRequestOptions {
|
|
21
|
+
scope: RemoteExportScope;
|
|
22
|
+
/** Supply useMachTableQuery().selectionState for cross-page or all-matching selection. */
|
|
23
|
+
selection?: RemoteExportSelection;
|
|
24
|
+
}
|
|
25
|
+
/** Serializable grid criteria for an application-owned server export endpoint. */
|
|
26
|
+
interface RemoteExportRequest {
|
|
27
|
+
version: 1;
|
|
28
|
+
scope: RemoteExportScope;
|
|
29
|
+
columnIds: string[];
|
|
30
|
+
sortModel: SortModel;
|
|
31
|
+
filterModel: FilterModel;
|
|
32
|
+
advancedFilterModel: AdvancedFilterModel | null;
|
|
33
|
+
quickFilterText: string | null;
|
|
34
|
+
selection?: RemoteExportSelection;
|
|
35
|
+
}
|
|
36
|
+
/** Takes a detached snapshot; it never traverses loaded rows or changes the grid. */
|
|
37
|
+
declare function createRemoteExportRequest<TData>(api: GridApi<TData>, options: RemoteExportRequestOptions): RemoteExportRequest;
|
|
38
|
+
|
|
12
39
|
declare function normalizeColumnFilter(input: unknown): ColumnFilter | null;
|
|
13
40
|
/** Clones and bounds untrusted JSON before it reaches the row pipeline. */
|
|
14
41
|
declare function normalizeAdvancedFilterModel(input: unknown, validColumnIds?: ReadonlySet<string>): AdvancedFilterModel | null;
|
|
@@ -358,4 +385,4 @@ declare function createGridViewManager<TData>(api: GridApi<TData>, options: {
|
|
|
358
385
|
|
|
359
386
|
declare const version: string;
|
|
360
387
|
|
|
361
|
-
export { type ActionButtonsConfig, type ActionItem, type ActionOverflowMode, type ActionVariant, AdvancedFilterCondition, AdvancedFilterGroup, AdvancedFilterModel, AdvancedFilterNode, type AggFunction, type AggValues, BUILTIN_AGG_FUNCS, type BuiltInActionIcon, type BusinessColumnType, type BusinessColumnTypeOptions, type CachedDictionary, type CachedDictionaryOptions, CellRendererFn, CellRendererParams, ColDef, ColDefGroup, ColumnFilter, type ColumnHelper, ColumnState, type DictionaryEntry, type DictionaryKey, type DictionaryRendererOptions, FieldPath, FieldPathValue, FilterModel, GridApi, GridChange, GridFeature, type GridFeatureIssue, type GridFeatureIssueCode, GridOptions, type GridSchema, type GridSchemaField, type GridSchemaFieldType, type GridSchemaGroup, GridSize, GridState, GridStateInput, type GridStateStorage, GridStateStore, type GridValidationCode, type GridValidationIssue, type GridViewManager, type GridViewState, type GridViewStore, type LocalGridStateStoreOptions, type LocalGridViewStoreOptions, type MachTableCommandOptions, type MachTableCommands, type ManagedGridStateStore, type ProgressConfig, type ResolvedGridFeatures, type RowActionsConfig, SaveChangeConflict, type SavedGridView, type SchemaSelectOption, SortModel, type StatusTagConfig, type StoredGridState, type TagVariant, actionsColumn, advancedFilterCondition, advancedFilterGroup, applyGridViewState, buildColDefsFromSchema, captureGridViewState, clearGridState, createActionButtonsRenderer, createAggResolver, createBusinessColumnTypes, createCachedDictionary, createColumnHelper, createDictionaryRenderer, createEnterprisePreset, createGrid, createGridViewManager, createLocalGridStateStore, createLocalGridViewStore, createMachTableCommands, createMachTablePreset, createProgressBarRenderer, createRowActionsRenderer, createStatusTagRenderer, defineColumns, defineGridOptions, defineMachTablePreset, describeFilter, downloadFile, dragColumn, escapeHtml, getByPath, indexColumn, isSafePath, linkRenderer, loadGridState, normalizeAdvancedFilterModel, normalizeColumnFilter, normalizeFilterModel, normalizeGridState, normalizeGridViewState, normalizeSavedGridView, parseCsv, parseDelimited, parseTsv, resolveGridFeatures, resolveSaveConflict, resolveTagVariant, rowActionsColumn, sanitizeFormulaCell, saveGridState, selectionColumn, setByPath, toTsv, validateGridOptions, version };
|
|
388
|
+
export { type ActionButtonsConfig, type ActionItem, type ActionOverflowMode, type ActionVariant, AdvancedFilterCondition, AdvancedFilterGroup, AdvancedFilterModel, AdvancedFilterNode, type AggFunction, type AggValues, BUILTIN_AGG_FUNCS, type BuiltInActionIcon, type BusinessColumnType, type BusinessColumnTypeOptions, type CachedDictionary, type CachedDictionaryOptions, CellRendererFn, CellRendererParams, ColDef, ColDefGroup, ColumnFilter, type ColumnHelper, ColumnState, type DictionaryEntry, type DictionaryKey, type DictionaryRendererOptions, FieldPath, FieldPathValue, FilterModel, GridApi, GridChange, GridFeature, type GridFeatureIssue, type GridFeatureIssueCode, GridOptions, type GridSchema, type GridSchemaField, type GridSchemaFieldType, type GridSchemaGroup, GridSize, GridState, GridStateInput, type GridStateStorage, GridStateStore, type GridValidationCode, type GridValidationIssue, type GridViewManager, type GridViewState, type GridViewStore, type LocalGridStateStoreOptions, type LocalGridViewStoreOptions, type MachTableCommandOptions, type MachTableCommands, type ManagedGridStateStore, type ProgressConfig, type RemoteExportRequest, type RemoteExportRequestOptions, type RemoteExportScope, type RemoteExportSelection, type ResolvedGridFeatures, type RowActionsConfig, SaveChangeConflict, type SavedGridView, type SchemaSelectOption, SortModel, type StatusTagConfig, type StoredGridState, type TagVariant, actionsColumn, advancedFilterCondition, advancedFilterGroup, applyGridViewState, buildColDefsFromSchema, captureGridViewState, clearGridState, createActionButtonsRenderer, createAggResolver, createBusinessColumnTypes, createCachedDictionary, createColumnHelper, createDictionaryRenderer, createEnterprisePreset, createGrid, createGridViewManager, createLocalGridStateStore, createLocalGridViewStore, createMachTableCommands, createMachTablePreset, createProgressBarRenderer, createRemoteExportRequest, createRowActionsRenderer, createStatusTagRenderer, defineColumns, defineGridOptions, defineMachTablePreset, describeFilter, downloadFile, dragColumn, escapeHtml, getByPath, indexColumn, isSafePath, linkRenderer, loadGridState, normalizeAdvancedFilterModel, normalizeColumnFilter, normalizeFilterModel, normalizeGridState, normalizeGridViewState, normalizeSavedGridView, parseCsv, parseDelimited, parseTsv, resolveGridFeatures, resolveSaveConflict, resolveTagVariant, rowActionsColumn, sanitizeFormulaCell, saveGridState, selectionColumn, setByPath, toTsv, validateGridOptions, version };
|