@agile-team/mach-table 0.32.0 → 0.33.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.
Files changed (48) hide show
  1. package/README.md +9 -2
  2. package/dist/adapter.cjs +1 -1
  3. package/dist/adapter.d.cts +28 -26
  4. package/dist/adapter.d.ts +28 -26
  5. package/dist/adapter.js +1 -1
  6. package/dist/analysis.cjs +2 -2
  7. package/dist/analysis.d.cts +2 -2
  8. package/dist/analysis.d.ts +2 -2
  9. package/dist/analysis.js +2 -2
  10. package/dist/{api-pOhyuSQk.d.cts → api-CZkd8tYy.d.cts} +39 -4
  11. package/dist/{api-pOhyuSQk.d.ts → api-CZkd8tYy.d.ts} +39 -4
  12. package/dist/{configuration-SYWVjGft.d.ts → configuration-D10N9PqG.d.ts} +5 -2
  13. package/dist/{configuration-gAE1eZuB.d.cts → configuration-XdxYEMiS.d.cts} +5 -2
  14. package/dist/import.cjs +1 -0
  15. package/dist/import.d.cts +47 -0
  16. package/dist/import.d.ts +47 -0
  17. package/dist/import.js +1 -0
  18. package/dist/index.cjs +6 -6
  19. package/dist/index.d.cts +8 -4
  20. package/dist/index.d.ts +8 -4
  21. package/dist/index.js +6 -6
  22. package/dist/multi-range.cjs +2 -2
  23. package/dist/multi-range.d.cts +1 -1
  24. package/dist/multi-range.d.ts +1 -1
  25. package/dist/multi-range.js +3 -3
  26. package/dist/ordering.cjs +1 -1
  27. package/dist/ordering.d.cts +1 -1
  28. package/dist/ordering.d.ts +1 -1
  29. package/dist/ordering.js +1 -1
  30. package/dist/preferences.cjs +1 -1
  31. package/dist/preferences.d.cts +1 -1
  32. package/dist/preferences.d.ts +1 -1
  33. package/dist/preferences.js +1 -1
  34. package/dist/server-side.cjs +1 -1
  35. package/dist/server-side.d.cts +1 -1
  36. package/dist/server-side.d.ts +1 -1
  37. package/dist/server-side.js +1 -1
  38. package/dist/{shared-Bi8hAuzn.d.cts → shared-BS_wes40.d.cts} +1 -1
  39. package/dist/{shared-Bn77TiBm.d.ts → shared-ujm7RteA.d.ts} +1 -1
  40. package/dist/workbench.cjs +1 -1
  41. package/dist/workbench.d.cts +3 -3
  42. package/dist/workbench.d.ts +3 -3
  43. package/dist/workbench.js +1 -1
  44. package/dist/worker.cjs +1 -1
  45. package/dist/worker.d.cts +4 -2
  46. package/dist/worker.d.ts +4 -2
  47. package/dist/worker.js +1 -1
  48. package/package.json +12 -2
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { c as GridOptions, b as GridApi, S as SortModel, h as FilterModel, A as AdvancedFilterModel, k as ColumnFilter, l as AdvancedFilterCondition, m as AdvancedFilterNode, n as AdvancedFilterGroup, G as GridFeature, C as ColDef, o as ColDefGroup, g as GridStateStore, f as GridState, p as GridStateInput, q as GridSize, r as CellRendererParams, s as GridChange, t as CellRendererFn, i as FieldPath, u as FieldPathValue, v as SaveChangeConflict, w as ColumnState } from './api-pOhyuSQk.cjs';
2
- export { x as ActionPolicy, y as ActionPolicyContext, z as ApplyGridStateOptions, B as CellAlign, D as CellClassParams, E as CellClassRule, H as CellClickEvent, I as CellContextMenuEvent, J as CellDoubleClickEvent, K as CellEditingStartedEvent, L as CellEditingStoppedEvent, M as CellEditorFactory, N as CellEditorParams, O as CellRendererOutput, P as CellStyleRule, Q as CellValueChangedEvent, R as ColDefOrGroup, T as ColumnLayoutMode, U as ColumnMovedEvent, V as ColumnResizedEvent, W as ColumnVisibilityChangedEvent, X as ColumnWorkbenchItem, Y as ContextMenuItem, Z as ContextMenuParams, _ as CsvExportParams, $ as DEFAULT_LOCALE, a0 as DatasourceMode, a1 as DateFilterCondition, a2 as DateFilterMatch, a3 as DetailRowRendererParams, a4 as DetailToggledEvent, a5 as DirtyStateChangedEvent, a6 as DomLayoutMode, a7 as EVENT_TYPES, a8 as EditableIndicator, a9 as EditableParams, aa as EventHandlers, ab as FilterChangedEvent, F as FilterType, ac as GetRowHeightParams, ad as GridAsyncOptions, ae as GridBatchSaveResult, af as GridCellChange, a as GridCellRange, ag as GridColumnsApi, d as GridComponents, ah as GridDataProcessor, ai as GridDataProcessorColumn, aj as GridDataProcessorRequest, ak as GridDataProcessorResult, al as GridDataProcessorRow, am as GridDatasource, an as GridDiagnosticError, ao as GridDiagnostics, ap as GridDiagnosticsApi, aq as GridEditType, ar as GridEditingApi, as as GridErrorCode, at as GridErrorEvent, au as GridEventBase, av as GridEventMap, e as GridEventType, aw as GridFeatureContext, ax as GridFilteringApi, ay as GridHierarchyApi, az as GridIoApi, aA as GridPaginationApi, aB as GridPerformanceSnapshot, aC as GridPersistenceOptions, aD as GridReadyEvent, aE as GridRowsApi, aF as GridSelectionApi, aG as GridSortingApi, aH as GridStateApi, aI as GridStateSection, aJ as GridUpdateSchedulerSnapshot, aK as GridViewApi, aL as HeaderComponentParams, aM as ICellEditor, aN as ICellRendererResult, aO as ImportCsvOptions, aP as InfiniteGetRowsParams, aQ as LOCALE_EN, aR as MachTableLocale, aS as MachTableLocaleKey, aT as ModelUpdatedEvent, aU as NumberFilterCondition, aV as NumberFilterMatch, aW as OverlayContent, aX as OverlayTemplate, aY as PaginationChangedEvent, aZ as PaginationConfig, a_ as PinnedDirection, a$ as PrintOptions, b0 as RangeSelectionChangedEvent, b1 as RefreshCellsParams, b2 as RemoteBlockCacheSnapshot, b3 as ResolvedGridOptions, b4 as RowClickEvent, b5 as RowDragEndEvent, b6 as RowDragIntent, b7 as RowDragPolicy, b8 as RowEditChange, b9 as RowEditValidationParams, ba as RowEditValidationResult, bb as RowEditingStartedEvent, bc as RowEditingStoppedEvent, bd as RowNode, be as RowSelectionMode, bf as RowStyleParams, bg as RowStyleRule, bh as RowTone, bi as RowTransaction, bj as SaveChangeIssue, j as SaveChangesHandler, bk as SaveChangesResult, bl as SelectEditorOption, bm as SelectEditorParams, bn as SelectionChangedEvent, bo as SetFilterCondition, bp as SetFilterParams, bq as SortChangedEvent, br as SortDirection, bs as SortModelItem, bt as StatusBarConfig, bu as StatusBarPanel, bv as TextFilterCondition, bw as TextFilterMatch, bx as ThemeMode, by as TooltipParams, bz as TreeChildrenLoadFailedEvent, bA as TreeChildrenLoadedEvent, bB as TreeDataLoadParams, bC as ValueFormatterParams, bD as ValueGetterParams, bE as ValueSetterParams, bF as WatermarkConfig, bG as formatText, bH as formatTwo, bI as isColDefGroup, bJ as matchLocaleKey } from './api-pOhyuSQk.cjs';
1
+ import { c as GridOptions, b as GridApi, S as SortModel, h as FilterModel, A as AdvancedFilterModel, l as ColumnFilter, m as AdvancedFilterCondition, n as AdvancedFilterNode, o as AdvancedFilterGroup, G as GridFeature, C as ColDef, p as ColDefGroup, g as GridStateStore, f as GridState, q as GridStateInput, r as GridSize, s as CellRendererParams, t as GridChange, u as CellRendererFn, i as FieldPath, v as FieldPathValue, d as GridDataProcessor, w as SaveChangeConflict, x as ColumnState } from './api-CZkd8tYy.cjs';
2
+ export { y as ActionPolicy, z as ActionPolicyContext, B as ApplyGridStateOptions, D as CellAlign, E as CellClassParams, H as CellClassRule, J as CellClickEvent, K as CellContextMenuEvent, L as CellDoubleClickEvent, M as CellEditingStartedEvent, N as CellEditingStoppedEvent, O as CellEditorFactory, P as CellEditorParams, Q as CellRendererOutput, R as CellStyleRule, T as CellValueChangedEvent, U as ColDefOrGroup, V as ColumnLayoutMode, W as ColumnMovedEvent, X as ColumnResizedEvent, Y as ColumnVisibilityChangedEvent, Z as ColumnWorkbenchItem, _ as ContextMenuItem, $ as ContextMenuParams, a0 as CsvExportParams, a1 as DEFAULT_LOCALE, a2 as DatasourceMode, a3 as DateFilterCondition, a4 as DateFilterMatch, a5 as DetailRowRendererParams, a6 as DetailToggledEvent, a7 as DirtyStateChangedEvent, a8 as DomLayoutMode, a9 as EVENT_TYPES, aa as EditableIndicator, ab as EditableParams, ac as EventHandlers, ad as FilterChangedEvent, F as FilterType, ae as GetRowHeightParams, af as GridAsyncOptions, ag as GridBatchSaveResult, ah as GridCellChange, a as GridCellRange, ai as GridColumnsApi, e as GridComponents, aj as GridDataProcessorColumn, ak as GridDataProcessorRequest, al as GridDataProcessorResult, am as GridDataProcessorRow, an as GridDatasource, ao as GridDiagnosticError, ap as GridDiagnostics, aq as GridDiagnosticsApi, ar as GridEditType, as as GridEditingApi, at as GridErrorCode, au as GridErrorEvent, av as GridEventBase, aw as GridEventMap, j as GridEventType, ax as GridFeatureContext, ay as GridFilteringApi, az as GridHierarchyApi, aA as GridIoApi, aB as GridPaginationApi, aC as GridPerformanceSnapshot, aD as GridPersistenceOptions, aE as GridReadyEvent, aF as GridRowsApi, aG as GridSelectionApi, aH as GridSortingApi, aI as GridStateApi, aJ as GridStateSection, aK as GridUpdateSchedulerSnapshot, aL as GridViewApi, aM as HeaderComponentParams, aN as ICellEditor, aO as ICellRendererResult, aP as ImportCsvOptions, I as ImportMatrixOptions, aQ as InfiniteGetRowsParams, aR as LOCALE_EN, aS as MachTableLocale, aT as MachTableLocaleKey, aU as MatrixExportParams, aV as ModelUpdatedEvent, aW as NumberFilterCondition, aX as NumberFilterMatch, aY as OverlayContent, aZ as OverlayTemplate, a_ as PaginationChangedEvent, a$ as PaginationConfig, b0 as PinnedDirection, b1 as PrintOptions, b2 as RangeSelectionChangedEvent, b3 as RefreshCellsParams, b4 as RemoteBlockCacheSnapshot, b5 as ResolvedGridOptions, b6 as RowClickEvent, b7 as RowDragEndEvent, b8 as RowDragIntent, b9 as RowDragPolicy, ba as RowEditChange, bb as RowEditValidationParams, bc as RowEditValidationResult, bd as RowEditingStartedEvent, be as RowEditingStoppedEvent, bf as RowNode, bg as RowSelectionMode, bh as RowStyleParams, bi as RowStyleRule, bj as RowTone, bk as RowTransaction, bl as SaveChangeIssue, k as SaveChangesHandler, bm as SaveChangesResult, bn as SelectEditorOption, bo as SelectEditorParams, bp as SelectionChangedEvent, bq as SetFilterCondition, br as SetFilterParams, bs as SortChangedEvent, bt as SortDirection, bu as SortModelItem, bv as StatusBarConfig, bw as StatusBarPanel, bx as TextFilterCondition, by as TextFilterMatch, bz as ThemeMode, bA as TooltipParams, bB as TreeChildrenLoadFailedEvent, bC as TreeChildrenLoadedEvent, bD as TreeDataLoadParams, bE as ValueFormatterParams, bF as ValueGetterParams, bG as ValueInputSource, bH as ValueOutputTarget, bI as ValueParserParams, bJ as ValueSerializerParams, bK as ValueSetterParams, bL as WatermarkConfig, bM as formatText, bN as formatTwo, bO as isColDefGroup, bP as matchLocaleKey } from './api-CZkd8tYy.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-gAE1eZuB.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-XdxYEMiS.cjs';
5
5
 
6
6
  declare function createGrid<TData = any>(container: HTMLElement, options?: GridOptions<TData>): GridApi<TData>;
7
7
 
@@ -275,6 +275,10 @@ declare function createMachTablePreset<TData>(...sources: readonly Partial<GridO
275
275
  /** Recommended defaults for editable enterprise back-office screens. */
276
276
  declare function createEnterprisePreset<TData>(overrides?: Partial<GridOptions<TData>>): GridOptions<TData>;
277
277
  /** Compile-time helper for a reusable partial preset. */
278
+ type FactoryPreset<TData> = Omit<Partial<GridOptions<TData>>, "dataProcessor"> & {
279
+ dataProcessor?: () => GridDataProcessor<TData>;
280
+ };
281
+ declare function defineMachTablePreset<TData>(preset: FactoryPreset<TData>): FactoryPreset<TData>;
278
282
  declare function defineMachTablePreset<TData>(preset: Partial<GridOptions<TData>>): Partial<GridOptions<TData>>;
279
283
  /** Compile-time helper for reusable, typed grid option objects. */
280
284
  declare function defineGridOptions<TData>(options: GridOptions<TData>): GridOptions<TData>;
@@ -385,4 +389,4 @@ declare function createGridViewManager<TData>(api: GridApi<TData>, options: {
385
389
 
386
390
  declare const version: string;
387
391
 
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 };
392
+ 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, GridDataProcessor, 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 { c as GridOptions, b as GridApi, S as SortModel, h as FilterModel, A as AdvancedFilterModel, k as ColumnFilter, l as AdvancedFilterCondition, m as AdvancedFilterNode, n as AdvancedFilterGroup, G as GridFeature, C as ColDef, o as ColDefGroup, g as GridStateStore, f as GridState, p as GridStateInput, q as GridSize, r as CellRendererParams, s as GridChange, t as CellRendererFn, i as FieldPath, u as FieldPathValue, v as SaveChangeConflict, w as ColumnState } from './api-pOhyuSQk.js';
2
- export { x as ActionPolicy, y as ActionPolicyContext, z as ApplyGridStateOptions, B as CellAlign, D as CellClassParams, E as CellClassRule, H as CellClickEvent, I as CellContextMenuEvent, J as CellDoubleClickEvent, K as CellEditingStartedEvent, L as CellEditingStoppedEvent, M as CellEditorFactory, N as CellEditorParams, O as CellRendererOutput, P as CellStyleRule, Q as CellValueChangedEvent, R as ColDefOrGroup, T as ColumnLayoutMode, U as ColumnMovedEvent, V as ColumnResizedEvent, W as ColumnVisibilityChangedEvent, X as ColumnWorkbenchItem, Y as ContextMenuItem, Z as ContextMenuParams, _ as CsvExportParams, $ as DEFAULT_LOCALE, a0 as DatasourceMode, a1 as DateFilterCondition, a2 as DateFilterMatch, a3 as DetailRowRendererParams, a4 as DetailToggledEvent, a5 as DirtyStateChangedEvent, a6 as DomLayoutMode, a7 as EVENT_TYPES, a8 as EditableIndicator, a9 as EditableParams, aa as EventHandlers, ab as FilterChangedEvent, F as FilterType, ac as GetRowHeightParams, ad as GridAsyncOptions, ae as GridBatchSaveResult, af as GridCellChange, a as GridCellRange, ag as GridColumnsApi, d as GridComponents, ah as GridDataProcessor, ai as GridDataProcessorColumn, aj as GridDataProcessorRequest, ak as GridDataProcessorResult, al as GridDataProcessorRow, am as GridDatasource, an as GridDiagnosticError, ao as GridDiagnostics, ap as GridDiagnosticsApi, aq as GridEditType, ar as GridEditingApi, as as GridErrorCode, at as GridErrorEvent, au as GridEventBase, av as GridEventMap, e as GridEventType, aw as GridFeatureContext, ax as GridFilteringApi, ay as GridHierarchyApi, az as GridIoApi, aA as GridPaginationApi, aB as GridPerformanceSnapshot, aC as GridPersistenceOptions, aD as GridReadyEvent, aE as GridRowsApi, aF as GridSelectionApi, aG as GridSortingApi, aH as GridStateApi, aI as GridStateSection, aJ as GridUpdateSchedulerSnapshot, aK as GridViewApi, aL as HeaderComponentParams, aM as ICellEditor, aN as ICellRendererResult, aO as ImportCsvOptions, aP as InfiniteGetRowsParams, aQ as LOCALE_EN, aR as MachTableLocale, aS as MachTableLocaleKey, aT as ModelUpdatedEvent, aU as NumberFilterCondition, aV as NumberFilterMatch, aW as OverlayContent, aX as OverlayTemplate, aY as PaginationChangedEvent, aZ as PaginationConfig, a_ as PinnedDirection, a$ as PrintOptions, b0 as RangeSelectionChangedEvent, b1 as RefreshCellsParams, b2 as RemoteBlockCacheSnapshot, b3 as ResolvedGridOptions, b4 as RowClickEvent, b5 as RowDragEndEvent, b6 as RowDragIntent, b7 as RowDragPolicy, b8 as RowEditChange, b9 as RowEditValidationParams, ba as RowEditValidationResult, bb as RowEditingStartedEvent, bc as RowEditingStoppedEvent, bd as RowNode, be as RowSelectionMode, bf as RowStyleParams, bg as RowStyleRule, bh as RowTone, bi as RowTransaction, bj as SaveChangeIssue, j as SaveChangesHandler, bk as SaveChangesResult, bl as SelectEditorOption, bm as SelectEditorParams, bn as SelectionChangedEvent, bo as SetFilterCondition, bp as SetFilterParams, bq as SortChangedEvent, br as SortDirection, bs as SortModelItem, bt as StatusBarConfig, bu as StatusBarPanel, bv as TextFilterCondition, bw as TextFilterMatch, bx as ThemeMode, by as TooltipParams, bz as TreeChildrenLoadFailedEvent, bA as TreeChildrenLoadedEvent, bB as TreeDataLoadParams, bC as ValueFormatterParams, bD as ValueGetterParams, bE as ValueSetterParams, bF as WatermarkConfig, bG as formatText, bH as formatTwo, bI as isColDefGroup, bJ as matchLocaleKey } from './api-pOhyuSQk.js';
1
+ import { c as GridOptions, b as GridApi, S as SortModel, h as FilterModel, A as AdvancedFilterModel, l as ColumnFilter, m as AdvancedFilterCondition, n as AdvancedFilterNode, o as AdvancedFilterGroup, G as GridFeature, C as ColDef, p as ColDefGroup, g as GridStateStore, f as GridState, q as GridStateInput, r as GridSize, s as CellRendererParams, t as GridChange, u as CellRendererFn, i as FieldPath, v as FieldPathValue, d as GridDataProcessor, w as SaveChangeConflict, x as ColumnState } from './api-CZkd8tYy.js';
2
+ export { y as ActionPolicy, z as ActionPolicyContext, B as ApplyGridStateOptions, D as CellAlign, E as CellClassParams, H as CellClassRule, J as CellClickEvent, K as CellContextMenuEvent, L as CellDoubleClickEvent, M as CellEditingStartedEvent, N as CellEditingStoppedEvent, O as CellEditorFactory, P as CellEditorParams, Q as CellRendererOutput, R as CellStyleRule, T as CellValueChangedEvent, U as ColDefOrGroup, V as ColumnLayoutMode, W as ColumnMovedEvent, X as ColumnResizedEvent, Y as ColumnVisibilityChangedEvent, Z as ColumnWorkbenchItem, _ as ContextMenuItem, $ as ContextMenuParams, a0 as CsvExportParams, a1 as DEFAULT_LOCALE, a2 as DatasourceMode, a3 as DateFilterCondition, a4 as DateFilterMatch, a5 as DetailRowRendererParams, a6 as DetailToggledEvent, a7 as DirtyStateChangedEvent, a8 as DomLayoutMode, a9 as EVENT_TYPES, aa as EditableIndicator, ab as EditableParams, ac as EventHandlers, ad as FilterChangedEvent, F as FilterType, ae as GetRowHeightParams, af as GridAsyncOptions, ag as GridBatchSaveResult, ah as GridCellChange, a as GridCellRange, ai as GridColumnsApi, e as GridComponents, aj as GridDataProcessorColumn, ak as GridDataProcessorRequest, al as GridDataProcessorResult, am as GridDataProcessorRow, an as GridDatasource, ao as GridDiagnosticError, ap as GridDiagnostics, aq as GridDiagnosticsApi, ar as GridEditType, as as GridEditingApi, at as GridErrorCode, au as GridErrorEvent, av as GridEventBase, aw as GridEventMap, j as GridEventType, ax as GridFeatureContext, ay as GridFilteringApi, az as GridHierarchyApi, aA as GridIoApi, aB as GridPaginationApi, aC as GridPerformanceSnapshot, aD as GridPersistenceOptions, aE as GridReadyEvent, aF as GridRowsApi, aG as GridSelectionApi, aH as GridSortingApi, aI as GridStateApi, aJ as GridStateSection, aK as GridUpdateSchedulerSnapshot, aL as GridViewApi, aM as HeaderComponentParams, aN as ICellEditor, aO as ICellRendererResult, aP as ImportCsvOptions, I as ImportMatrixOptions, aQ as InfiniteGetRowsParams, aR as LOCALE_EN, aS as MachTableLocale, aT as MachTableLocaleKey, aU as MatrixExportParams, aV as ModelUpdatedEvent, aW as NumberFilterCondition, aX as NumberFilterMatch, aY as OverlayContent, aZ as OverlayTemplate, a_ as PaginationChangedEvent, a$ as PaginationConfig, b0 as PinnedDirection, b1 as PrintOptions, b2 as RangeSelectionChangedEvent, b3 as RefreshCellsParams, b4 as RemoteBlockCacheSnapshot, b5 as ResolvedGridOptions, b6 as RowClickEvent, b7 as RowDragEndEvent, b8 as RowDragIntent, b9 as RowDragPolicy, ba as RowEditChange, bb as RowEditValidationParams, bc as RowEditValidationResult, bd as RowEditingStartedEvent, be as RowEditingStoppedEvent, bf as RowNode, bg as RowSelectionMode, bh as RowStyleParams, bi as RowStyleRule, bj as RowTone, bk as RowTransaction, bl as SaveChangeIssue, k as SaveChangesHandler, bm as SaveChangesResult, bn as SelectEditorOption, bo as SelectEditorParams, bp as SelectionChangedEvent, bq as SetFilterCondition, br as SetFilterParams, bs as SortChangedEvent, bt as SortDirection, bu as SortModelItem, bv as StatusBarConfig, bw as StatusBarPanel, bx as TextFilterCondition, by as TextFilterMatch, bz as ThemeMode, bA as TooltipParams, bB as TreeChildrenLoadFailedEvent, bC as TreeChildrenLoadedEvent, bD as TreeDataLoadParams, bE as ValueFormatterParams, bF as ValueGetterParams, bG as ValueInputSource, bH as ValueOutputTarget, bI as ValueParserParams, bJ as ValueSerializerParams, bK as ValueSetterParams, bL as WatermarkConfig, bM as formatText, bN as formatTwo, bO as isColDefGroup, bP as matchLocaleKey } from './api-CZkd8tYy.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-SYWVjGft.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-D10N9PqG.js';
5
5
 
6
6
  declare function createGrid<TData = any>(container: HTMLElement, options?: GridOptions<TData>): GridApi<TData>;
7
7
 
@@ -275,6 +275,10 @@ declare function createMachTablePreset<TData>(...sources: readonly Partial<GridO
275
275
  /** Recommended defaults for editable enterprise back-office screens. */
276
276
  declare function createEnterprisePreset<TData>(overrides?: Partial<GridOptions<TData>>): GridOptions<TData>;
277
277
  /** Compile-time helper for a reusable partial preset. */
278
+ type FactoryPreset<TData> = Omit<Partial<GridOptions<TData>>, "dataProcessor"> & {
279
+ dataProcessor?: () => GridDataProcessor<TData>;
280
+ };
281
+ declare function defineMachTablePreset<TData>(preset: FactoryPreset<TData>): FactoryPreset<TData>;
278
282
  declare function defineMachTablePreset<TData>(preset: Partial<GridOptions<TData>>): Partial<GridOptions<TData>>;
279
283
  /** Compile-time helper for reusable, typed grid option objects. */
280
284
  declare function defineGridOptions<TData>(options: GridOptions<TData>): GridOptions<TData>;
@@ -385,4 +389,4 @@ declare function createGridViewManager<TData>(api: GridApi<TData>, options: {
385
389
 
386
390
  declare const version: string;
387
391
 
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 };
392
+ 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, GridDataProcessor, 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 };