persian-data-grid 0.6.0 → 0.7.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.
Files changed (137) hide show
  1. package/README.md +1 -1
  2. package/dist/{ERPTableGroupRow-PSAPAHGL.js → ERPTableGroupRow-E5Q6FYDS.js} +4 -4
  3. package/dist/{ERPTableGroupRow-PSAPAHGL.js.map → ERPTableGroupRow-E5Q6FYDS.js.map} +1 -1
  4. package/dist/{ERPTableGroupRow-J5Z2LRC5.cjs → ERPTableGroupRow-F2IPDYL5.cjs} +9 -9
  5. package/dist/{ERPTableGroupRow-J5Z2LRC5.cjs.map → ERPTableGroupRow-F2IPDYL5.cjs.map} +1 -1
  6. package/dist/{GridPlugin-CJCaYnlw.d.ts → GridPlugin-Bewn0X51.d.ts} +1 -1
  7. package/dist/{GridPlugin-oxhq8AsM.d.cts → GridPlugin-DewWufGZ.d.cts} +1 -1
  8. package/dist/{GridSession-Bc7UIawO.d.ts → GridSession-CeIfVFck.d.ts} +142 -9
  9. package/dist/{GridSession-B-9lLcoB.d.cts → GridSession-CmQn2RnL.d.cts} +142 -9
  10. package/dist/GridSyncService-3JQLEY65.cjs +12 -0
  11. package/dist/{GridSyncService-TAPAHABV.cjs.map → GridSyncService-3JQLEY65.cjs.map} +1 -1
  12. package/dist/GridSyncService-GECXGEKL.js +3 -0
  13. package/dist/{GridSyncService-KTLB4KP3.js.map → GridSyncService-GECXGEKL.js.map} +1 -1
  14. package/dist/{PdfRenderer-CBg7hWNS.d.cts → PdfRenderer-B9FJaCo_.d.cts} +1 -1
  15. package/dist/{PdfRenderer-1HFh6UeR.d.ts → PdfRenderer-bN7ca_Aj.d.ts} +1 -1
  16. package/dist/{UITableController-DU8RopUM.d.ts → UITableController-C71LXBiX.d.ts} +48 -2
  17. package/dist/{UITableController-Cuwq481K.d.cts → UITableController-CIwnHIw8.d.cts} +48 -2
  18. package/dist/{VazirmatnPdfRenderer-BCMpC1zy.d.cts → VazirmatnPdfRenderer-CpCqA-Wh.d.cts} +2 -2
  19. package/dist/{VazirmatnPdfRenderer-Dz_G-m3c.d.ts → VazirmatnPdfRenderer-D46smncn.d.ts} +2 -2
  20. package/dist/adapters/arian-erp.cjs +16 -4
  21. package/dist/adapters/arian-erp.cjs.map +1 -1
  22. package/dist/adapters/arian-erp.d.cts +3 -1
  23. package/dist/adapters/arian-erp.d.ts +3 -1
  24. package/dist/adapters/arian-erp.js +11 -3
  25. package/dist/adapters/arian-erp.js.map +1 -1
  26. package/dist/{applyImportedRows-BO6yxoAN.d.cts → applyImportedRows-C2fWYoPy.d.cts} +3 -3
  27. package/dist/{applyImportedRows-D4zVY8uD.d.ts → applyImportedRows-Cqh_N_0k.d.ts} +3 -3
  28. package/dist/{applyRowVisibilityHandler-LXCOGESZ.cjs → applyRowVisibilityHandler-Q64ZFC7A.cjs} +7 -6
  29. package/dist/applyRowVisibilityHandler-Q64ZFC7A.cjs.map +1 -0
  30. package/dist/{applyRowVisibilityHandler-KS6TMCBN.js → applyRowVisibilityHandler-ZLZXQEGY.js} +6 -5
  31. package/dist/applyRowVisibilityHandler-ZLZXQEGY.js.map +1 -0
  32. package/dist/callbackRemoteApi-BYLjmSI6.d.ts +51 -0
  33. package/dist/callbackRemoteApi-Cv26MmSD.d.cts +51 -0
  34. package/dist/{cellRenderContext-DB7V_mlu.d.ts → cellRenderContext-BaNh4qn_.d.ts} +2 -2
  35. package/dist/{cellRenderContext-DG5BOlxK.d.cts → cellRenderContext-DvngkptV.d.cts} +2 -2
  36. package/dist/{chunk-HTNJT2QU.js → chunk-27ALJSZP.js} +617 -104
  37. package/dist/chunk-27ALJSZP.js.map +1 -0
  38. package/dist/{chunk-KUBVDIF7.cjs → chunk-3HP3HQCW.cjs} +52 -17
  39. package/dist/chunk-3HP3HQCW.cjs.map +1 -0
  40. package/dist/{chunk-DXRCYW42.cjs → chunk-52LFOPXD.cjs} +43 -23
  41. package/dist/chunk-52LFOPXD.cjs.map +1 -0
  42. package/dist/{chunk-VVGYRZ7S.cjs → chunk-72IVAOTK.cjs} +4 -4
  43. package/dist/{chunk-VVGYRZ7S.cjs.map → chunk-72IVAOTK.cjs.map} +1 -1
  44. package/dist/{chunk-LJ7LMEXO.js → chunk-7GWV5HGO.js} +3 -3
  45. package/dist/{chunk-LJ7LMEXO.js.map → chunk-7GWV5HGO.js.map} +1 -1
  46. package/dist/{chunk-RM6ZWNT3.js → chunk-7T6AWRPU.js} +43 -23
  47. package/dist/chunk-7T6AWRPU.js.map +1 -0
  48. package/dist/{chunk-PXCHPZTP.cjs → chunk-CMQ4VLCW.cjs} +8 -7
  49. package/dist/{chunk-EHHHC5JV.js.map → chunk-CMQ4VLCW.cjs.map} +1 -1
  50. package/dist/chunk-E2J533UH.cjs +53 -0
  51. package/dist/chunk-E2J533UH.cjs.map +1 -0
  52. package/dist/chunk-F6EMC75A.cjs +34 -0
  53. package/dist/chunk-F6EMC75A.cjs.map +1 -0
  54. package/dist/chunk-GKE33FOJ.js +32 -0
  55. package/dist/chunk-GKE33FOJ.js.map +1 -0
  56. package/dist/{chunk-QQMU44KJ.js → chunk-HLOHWFOA.js} +52 -19
  57. package/dist/chunk-HLOHWFOA.js.map +1 -0
  58. package/dist/{chunk-633KP74Z.js → chunk-KCNTKYUY.js} +19 -2
  59. package/dist/chunk-KCNTKYUY.js.map +1 -0
  60. package/dist/{chunk-BLYVOV3G.cjs → chunk-LY27YAXE.cjs} +19 -2
  61. package/dist/chunk-LY27YAXE.cjs.map +1 -0
  62. package/dist/{chunk-EHHHC5JV.js → chunk-NB5GCGHL.js} +5 -4
  63. package/dist/chunk-NB5GCGHL.js.map +1 -0
  64. package/dist/{chunk-6XBXZPBW.js → chunk-NQUVAJQA.js} +3 -3
  65. package/dist/{chunk-6XBXZPBW.js.map → chunk-NQUVAJQA.js.map} +1 -1
  66. package/dist/chunk-SVO62ZV2.js +50 -0
  67. package/dist/chunk-SVO62ZV2.js.map +1 -0
  68. package/dist/{chunk-MU3RY46O.js → chunk-VBAZ77Q4.js} +3 -3
  69. package/dist/{chunk-MU3RY46O.js.map → chunk-VBAZ77Q4.js.map} +1 -1
  70. package/dist/{chunk-H2LESGMX.cjs → chunk-VSAFQTW5.cjs} +4 -4
  71. package/dist/{chunk-H2LESGMX.cjs.map → chunk-VSAFQTW5.cjs.map} +1 -1
  72. package/dist/{chunk-2BJCRYOS.cjs → chunk-VYJQ2HTA.cjs} +5 -5
  73. package/dist/{chunk-2BJCRYOS.cjs.map → chunk-VYJQ2HTA.cjs.map} +1 -1
  74. package/dist/{chunk-IIISFUW4.cjs → chunk-WTHTVKVI.cjs} +621 -108
  75. package/dist/chunk-WTHTVKVI.cjs.map +1 -0
  76. package/dist/{createEngineGridQuery-Mt1hc33m.d.ts → createEngineGridQuery-BBkud5oE.d.ts} +61 -6
  77. package/dist/{createEngineGridQuery-Dmq3i5v3.d.cts → createEngineGridQuery-D-fgO_jg.d.cts} +61 -6
  78. package/dist/date-picker-jalali.cjs +17 -17
  79. package/dist/date-picker-jalali.d.cts +3 -3
  80. package/dist/date-picker-jalali.d.ts +3 -3
  81. package/dist/date-picker-jalali.js +1 -1
  82. package/dist/headless.cjs +102 -102
  83. package/dist/headless.d.cts +13 -9
  84. package/dist/headless.d.ts +13 -9
  85. package/dist/headless.js +4 -4
  86. package/dist/index.cjs +440 -382
  87. package/dist/index.cjs.map +1 -1
  88. package/dist/index.d.cts +34 -14
  89. package/dist/index.d.ts +34 -14
  90. package/dist/index.js +200 -143
  91. package/dist/index.js.map +1 -1
  92. package/dist/plugins/csv.cjs +3 -3
  93. package/dist/plugins/csv.d.cts +2 -2
  94. package/dist/plugins/csv.d.ts +2 -2
  95. package/dist/plugins/csv.js +2 -2
  96. package/dist/plugins/excel.cjs +11 -11
  97. package/dist/plugins/excel.d.cts +4 -4
  98. package/dist/plugins/excel.d.ts +4 -4
  99. package/dist/plugins/excel.js +3 -3
  100. package/dist/plugins/pdf/fonts/vazirmatn.cjs +6 -6
  101. package/dist/plugins/pdf/fonts/vazirmatn.d.cts +4 -4
  102. package/dist/plugins/pdf/fonts/vazirmatn.d.ts +4 -4
  103. package/dist/plugins/pdf/fonts/vazirmatn.js +3 -3
  104. package/dist/plugins/pdf.cjs +5 -5
  105. package/dist/plugins/pdf.d.cts +5 -5
  106. package/dist/plugins/pdf.d.ts +5 -5
  107. package/dist/plugins/pdf.js +2 -2
  108. package/dist/presence.d.cts +3 -3
  109. package/dist/presence.d.ts +3 -3
  110. package/dist/sync.cjs +2 -2
  111. package/dist/sync.d.cts +3 -3
  112. package/dist/sync.d.ts +3 -3
  113. package/dist/sync.js +1 -1
  114. package/package.json +3 -3
  115. package/dist/GridSyncService-KTLB4KP3.js +0 -3
  116. package/dist/GridSyncService-TAPAHABV.cjs +0 -12
  117. package/dist/applyRowVisibilityHandler-KS6TMCBN.js.map +0 -1
  118. package/dist/applyRowVisibilityHandler-LXCOGESZ.cjs.map +0 -1
  119. package/dist/callbackRemoteApi-BlXO5NJz.d.ts +0 -30
  120. package/dist/callbackRemoteApi-DgnXH-i0.d.cts +0 -30
  121. package/dist/chunk-633KP74Z.js.map +0 -1
  122. package/dist/chunk-ASPTRYRD.cjs +0 -21
  123. package/dist/chunk-ASPTRYRD.cjs.map +0 -1
  124. package/dist/chunk-BHDRUZH5.cjs +0 -33
  125. package/dist/chunk-BHDRUZH5.cjs.map +0 -1
  126. package/dist/chunk-BLYVOV3G.cjs.map +0 -1
  127. package/dist/chunk-DXRCYW42.cjs.map +0 -1
  128. package/dist/chunk-HTNJT2QU.js.map +0 -1
  129. package/dist/chunk-IIISFUW4.cjs.map +0 -1
  130. package/dist/chunk-KUBVDIF7.cjs.map +0 -1
  131. package/dist/chunk-KYAOSBQN.js +0 -31
  132. package/dist/chunk-KYAOSBQN.js.map +0 -1
  133. package/dist/chunk-PXCHPZTP.cjs.map +0 -1
  134. package/dist/chunk-QQMU44KJ.js.map +0 -1
  135. package/dist/chunk-RM6ZWNT3.js.map +0 -1
  136. package/dist/chunk-Y6W5V2CI.js +0 -19
  137. package/dist/chunk-Y6W5V2CI.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,20 +1,20 @@
1
- import { y as AggFuncName, x as FieldType, C as ColumnSchema, F as FilterModel, S as ColumnFilter, E as EventStore, ba as IMultiSelectConfig, U as UIRow, r as HistoryItem, b as GridSession, T as TableSnapShot, p as ChangelogEntry, o as ChangelogQuery, q as HistoryQuery, aq as VisibleRange, ap as Viewport, al as SparseRowIndex } from './GridSession-B-9lLcoB.cjs';
2
- export { A as AggFunc, z as AppendResult, B as AriaSortValue, J as BooleanColumnFilter, K as BooleanFilterOp, L as BuiltinFilterKind, b6 as ColDefOrGroup, l as ColumnDef, P as ColumnDefBridge, Q as ColumnField, bb as ColumnGroupDef, bc as ColumnGroupMeta, bd as ColumnGroupPathEntry, X as ColumnPinned, Y as CombinedColumnFilter, Z as CustomColumnFilter, _ as CustomFilterFn, $ as CycleSortModelOptions, a0 as DateColumnFilter, a1 as DateFilterOp, a2 as FilterAccessor, a3 as FilterDef, a4 as FilterJoin, a5 as HEADER_SORT_CLICK_MAX_MOVE_PX, a6 as INDEX_COL_ID, a7 as ItemType, a8 as NumberColumnFilter, a9 as NumberFilterOp, ab as RowModelType, ac as RowStateEnum, ad as SetColumnFilter, ae as SetFilterOp, af as SimpleColumnFilter, ag as SortAccessor, ah as SortDirection, ai as SortModel, aj as SortModelItem, ak as SortValueComparator, e as TableEngine, k as TableViewState, am as TextColumnFilter, an as TextFilterOp, V as ValidCell, ao as ViewIntent, ar as applyFilter, as as applyHostRowDataToTable, at as applySort, au as ariaSortForColumn, az as collectUniqueFilterValues, aA as compareSortValues, aB as compareTypedValues, aE as cycleSortModel, aF as defaultGetRowId, aG as ensureIndexColumnDef, aH as isBlankSortValue, aJ as isColumnFilterActive, be as isColumnGroupDef, aK as isHeaderColumnSortable, aL as isServerRowModel, aN as mapRowDataToRowInputs, aR as normalizeDigits, aS as normalizeFilterText, aT as pageWindow, aW as resolveBuiltinFilterKind, a_ as shouldCommitHeaderSortClick, a$ as sortPriorityForColumn } from './GridSession-B-9lLcoB.cjs';
1
+ import { y as AggFuncName, x as FieldType, C as ColumnSchema, F as FilterModel, S as ColumnFilter, E as EventStore, bf as IMultiSelectConfig, U as UIRow, r as HistoryItem, b as GridSession, T as TableSnapShot, p as ChangelogEntry, o as ChangelogQuery, q as HistoryQuery, aq as VisibleRange, ap as Viewport, al as SparseRowIndex } from './GridSession-CmQn2RnL.cjs';
2
+ export { A as AggFunc, z as AppendResult, B as AriaSortValue, J as BooleanColumnFilter, K as BooleanFilterOp, L as BuiltinFilterKind, b9 as ColDefOrGroup, l as ColumnDef, P as ColumnDefBridge, Q as ColumnField, bg as ColumnGroupDef, bh as ColumnGroupMeta, bi as ColumnGroupPathEntry, X as ColumnPinned, Y as CombinedColumnFilter, Z as CustomColumnFilter, _ as CustomFilterFn, $ as CycleSortModelOptions, a0 as DateColumnFilter, a1 as DateFilterOp, a2 as FilterAccessor, a3 as FilterDef, a4 as FilterJoin, a5 as HEADER_SORT_CLICK_MAX_MOVE_PX, a6 as INDEX_COL_ID, a7 as ItemType, a8 as NumberColumnFilter, a9 as NumberFilterOp, ab as RowModelType, ac as RowStateEnum, ad as SetColumnFilter, ae as SetFilterOp, af as SimpleColumnFilter, ag as SortAccessor, ah as SortDirection, ai as SortModel, aj as SortModelItem, ak as SortValueComparator, e as TableEngine, k as TableViewState, am as TextColumnFilter, an as TextFilterOp, V as ValidCell, ao as ViewIntent, ar as applyFilter, as as applyHostRowDataToTable, at as applySort, au as ariaSortForColumn, az as collectUniqueFilterValues, aA as compareSortValues, aB as compareTypedValues, aE as cycleSortModel, aF as defaultGetRowId, aG as ensureIndexColumnDef, aH as isBlankSortValue, aJ as isColumnFilterActive, bj as isColumnGroupDef, aK as isHeaderColumnSortable, aL as isServerRowModel, aN as mapRowDataToRowInputs, aR as normalizeDigits, aS as normalizeFilterText, aT as pageWindow, aW as resolveBuiltinFilterKind, a_ as shouldCommitHeaderSortClick, a$ as sortPriorityForColumn } from './GridSession-CmQn2RnL.cjs';
3
3
  import * as React from 'react';
4
4
  import React__default, { ReactNode, Ref } from 'react';
5
- import { s as GridApi, av as CatalogHostEventHandlers, U as SelectionChangedEvent, b as CellFocusedEvent, j as CreateERPTableConfig, c as CellValueChangedEvent, T as RowValueChangedEvent, S as RowDataUpdatedEvent, P as PluginHost } from './createEngineGridQuery-Dmq3i5v3.cjs';
6
- export { A as AggAccumulator, a as AggregateSnapshot, C as CATALOG_TO_HOST_CALLBACKS, d as CollectionRowMap, e as ColumnAggIndex, f as ColumnAggSpec, g as ColumnDefinition, h as ColumnViewBinding, i as ColumnVisibleRange, k as CreateERPTableResult, l as CreateGridApiInput, m as CreateGridConfig, n as CreateGridResult, D as DEFAULT_EVENT_STORE_PREFIX, o as DEFAULT_GRID_ACTOR, p as DEFAULT_MEMORY_STORE, E as EVENT_CATALOG, q as EventCatalogEntry, r as ExportDataAsExcelOptions, G as GetRowId, t as GridColumnState, u as GridDatasource, v as GridDatasourceGetRowsParams, w as GridDatasourceGetRowsResult, x as GridRowNode, I as InMemoryEventStore, y as InMemorySnapshotStore, z as IndexedDbEventStore, K as KvDatabase, B as KvStore, L as LEGACY_EVENT_STORE_PREFIX, M as MemoryKvDatabase, N as NoopRemoteApi, Q as QuickFilterBlobAccessor, F as QuickFilterIndex, H as ROW_DATA_UPDATED_CATALOG_TYPES, J as RequestExportOptions, O as RequestImportOptions, R as RowInput, V as SnapshotStore, W as SnapshotStrategy, X as StartEditingCellParams, Y as ViewportCalculator, Z as accumulateAdd, _ as accumulateRemove, $ as applyAgg, a0 as applyQuickFilter, a1 as buildCumulativeWidths, a2 as buildQuickFilterBlob, a3 as calculateColumnViewport, a4 as columnDefFieldName, a5 as createAccumulator, a6 as createERPTable, a7 as createEngineGridQuery, a8 as createGrid, a9 as createGridApi, aa as createGridTableKey, ab as dispatchCatalogHostEvent, ac as eventStoreDbName, ad as getEventCatalogEntry, ae as isAggFuncName, af as isCustomAggFunc, ag as listUndoableEventTypes, aw as mapColDefOrGroups, ah as mapColumnDefs, ai as mapColumnSchemas, aj as mapColumnSchemasToDefs, ak as normalizeQuickFilterText, al as openIndexedDbDatabase, am as readAccumulator, an as resolveColumnAggSpecs, ao as resolveCreateGridDefaults, ap as subscribeCatalogHostEvents, aq as toColumnDef, ar as toColumnDefinition, as as toColumnSchema, at as toColumnViewBinding, au as toMinorUnits } from './createEngineGridQuery-Dmq3i5v3.cjs';
7
- import { U as UITableController, r as ProcessCellForClipboardParams, m as ClipboardCopyEvent, n as ClipboardPasteEvent, z as ConnectivitySource, A as SyncWatermarkStore } from './UITableController-Cuwq481K.cjs';
8
- export { B as Connectivity, M as ManualResolution, O as OfflineStatus, D as PendingChange, S as SyncConflict, e as SyncConflictPolicy, f as SyncConflictSide, g as SyncPort, h as SyncResult, i as SyncTransport, E as alwaysOnlineConnectivity } from './UITableController-Cuwq481K.cjs';
5
+ import { s as GridApi, aw as CatalogHostEventHandlers, V as SelectionChangedEvent, b as CellFocusedEvent, j as CreateERPTableConfig, c as CellValueChangedEvent, U as RowValueChangedEvent, T as RowDataUpdatedEvent, P as PluginHost } from './createEngineGridQuery-D-fgO_jg.cjs';
6
+ export { A as AggAccumulator, a as AggregateSnapshot, C as CATALOG_TO_HOST_CALLBACKS, d as CollectionRowMap, e as ColumnAggIndex, f as ColumnAggSpec, g as ColumnDefinition, H as ColumnSchema, h as ColumnViewBinding, i as ColumnVisibleRange, k as CreateERPTableResult, l as CreateGridApiInput, m as CreateGridConfig, n as CreateGridResult, D as DEFAULT_EVENT_STORE_PREFIX, o as DEFAULT_GRID_ACTOR, p as DEFAULT_MEMORY_STORE, E as EVENT_CATALOG, q as EventCatalogEntry, r as ExportDataAsExcelOptions, G as GetRowId, t as GridColumnState, u as GridDatasource, v as GridDatasourceGetRowsParams, w as GridDatasourceGetRowsResult, x as GridRowNode, I as InMemoryEventStore, y as InMemorySnapshotStore, z as IndexedDbEventStore, K as KvDatabase, B as KvStore, L as LEGACY_EVENT_STORE_PREFIX, M as MemoryKvDatabase, N as NoopRemoteApi, Q as QuickFilterBlobAccessor, F as QuickFilterIndex, J as ROW_DATA_UPDATED_CATALOG_TYPES, O as RequestExportOptions, S as RequestImportOptions, R as RowInput, W as SnapshotStore, X as SnapshotStrategy, Y as StartEditingCellParams, Z as ViewportCalculator, _ as accumulateAdd, $ as accumulateRemove, a0 as applyAgg, a1 as applyQuickFilter, a2 as buildCumulativeWidths, a3 as buildQuickFilterBlob, a4 as calculateColumnViewport, a5 as columnDefFieldName, a6 as createAccumulator, a7 as createERPTable, a8 as createEngineGridQuery, a9 as createGrid, aa as createGridApi, ab as createGridTableKey, ac as dispatchCatalogHostEvent, ad as eventStoreDbName, ae as getEventCatalogEntry, af as isAggFuncName, ag as isCustomAggFunc, ah as listUndoableEventTypes, ax as mapColDefOrGroups, ai as mapColumnDefs, aj as mapColumnSchemas, ak as mapColumnSchemasToDefs, al as normalizeQuickFilterText, am as openIndexedDbDatabase, an as readAccumulator, ao as resolveColumnAggSpecs, ap as resolveCreateGridDefaults, aq as subscribeCatalogHostEvents, ar as toColumnDef, as as toColumnDefinition, at as toColumnSchema, au as toColumnViewBinding, av as toMinorUnits } from './createEngineGridQuery-D-fgO_jg.cjs';
7
+ import { U as UITableController, r as ProcessCellForClipboardParams, m as ClipboardCopyEvent, n as ClipboardPasteEvent, z as ConnectivitySource, A as SyncWatermarkStore } from './UITableController-CIwnHIw8.cjs';
8
+ export { B as Connectivity, M as ManualResolution, O as OfflineStatus, D as PendingChange, S as SyncConflict, e as SyncConflictPolicy, f as SyncConflictSide, g as SyncPort, h as SyncResult, i as SyncTransport, E as alwaysOnlineConnectivity } from './UITableController-CIwnHIw8.cjs';
9
9
  import { R as RemoteApi } from './RemoteApi-CCQxiSf1.cjs';
10
- import { C as CellRenderContext, a as CustomCellResolveResult } from './cellRenderContext-DG5BOlxK.cjs';
11
- export { r as resolveCustomCellNode } from './cellRenderContext-DG5BOlxK.cjs';
10
+ import { C as CellRenderContext, a as CustomCellResolveResult } from './cellRenderContext-DvngkptV.cjs';
11
+ export { r as resolveCustomCellNode } from './cellRenderContext-DvngkptV.cjs';
12
12
  import { a as ERPTableMessages, E as ERPTableLocale, N as NumberingSystem } from './types-D__47BKv.cjs';
13
13
  export { r as resolveDirection, c as resolveLocaleMeta } from './types-D__47BKv.cjs';
14
- export { E as ExportSource, G as GridPlugin, a as GridPluginContext, c as GridQueryPort } from './GridPlugin-oxhq8AsM.cjs';
15
- export { P as PdfRenderer } from './PdfRenderer-CBg7hWNS.cjs';
16
- export { E as ExcelExportPlugin, b as ExcelImportPlugin, g as applyImportedRows, h as buildExportTable, i as buildXlsxBlob, k as exportActiveCollectionToExcel, m as mapImportedSheet, p as parseXlsxBlob } from './applyImportedRows-BO6yxoAN.cjs';
17
- export { a as PdfExportPlugin, V as VazirmatnPdfRenderer } from './VazirmatnPdfRenderer-BCMpC1zy.cjs';
14
+ export { E as ExportSource, G as GridPlugin, a as GridPluginContext, c as GridQueryPort } from './GridPlugin-DewWufGZ.cjs';
15
+ export { P as PdfRenderer } from './PdfRenderer-B9FJaCo_.cjs';
16
+ export { E as ExcelExportPlugin, b as ExcelImportPlugin, g as applyImportedRows, h as buildExportTable, i as buildXlsxBlob, k as exportActiveCollectionToExcel, m as mapImportedSheet, p as parseXlsxBlob } from './applyImportedRows-C2fWYoPy.cjs';
17
+ export { a as PdfExportPlugin, V as VazirmatnPdfRenderer } from './VazirmatnPdfRenderer-CpCqA-Wh.cjs';
18
18
  export { TextPdfRenderer } from './plugins/pdf.cjs';
19
19
  export { f as formatLocaleDate, a as formatLocaleNumber } from './index-DN8M8Jkq.cjs';
20
20
 
@@ -201,7 +201,7 @@ type ERPTableHostValue = {
201
201
  */
202
202
  useDependOn?: UseDependOnHook;
203
203
  };
204
- declare function ERPTableHostProvider({ children, locale, direction, numberingSystem, dateAdapter, remoteApi, messages, onToast, theme, themeToggle, themeLocked, onToggleTheme, components, filterComponents, columnMenuItems, onColumnMenuAction, useDependOn, }: ERPTableHostValue & {
204
+ declare function ERPTableHostProvider({ children, locale, direction, numberingSystem, dateAdapter, remoteApi, messages: messagesProp, onToast: onToastProp, theme, themeToggle, themeLocked, onToggleTheme, components: componentsProp, filterComponents: filterComponentsProp, columnMenuItems: columnMenuItemsProp, onColumnMenuAction: onColumnMenuActionProp, useDependOn: useDependOnProp, }: ERPTableHostValue & {
205
205
  children: ReactNode;
206
206
  }): React__default.JSX.Element;
207
207
  declare function useERPTableTheme(): GridTheme;
@@ -377,6 +377,12 @@ interface DataGridProps<TRow = unknown> extends CreateERPTableConfig<TRow> {
377
377
  columnMenuItems?: ColumnMenuItemsConfig;
378
378
  /** Fires for custom column menu items (PR-114). */
379
379
  onColumnMenuAction?: (event: ColumnMenuActionEvent) => void;
380
+ /**
381
+ * Host hook resolving `dependOn` values of remote lists (see
382
+ * `ERPTableHostProvider`). When omitted, an outer `ERPTableHostProvider`'s
383
+ * hook is used, else the static item values.
384
+ */
385
+ useDependOn?: UseDependOnHook;
380
386
  /**
381
387
  * Rows stuck under the header (PR-116). Display-only; not virtualized,
382
388
  * sorted, filtered, or selected with body rows.
@@ -417,6 +423,7 @@ interface CellRendererProps {
417
423
  tabIndex: number;
418
424
  mode?: "view" | "cell" | "form";
419
425
  }
426
+ /** A cell without column meta renders nothing (the body keeps a stable hook order). */
420
427
  declare const CellRenderer: React__default.FC<CellRendererProps>;
421
428
 
422
429
  type GridHistoryPanelProps = {
@@ -460,12 +467,25 @@ declare function isGridShortcutKey(e: {
460
467
  altKey: boolean;
461
468
  ctrlKey: boolean;
462
469
  code: string;
470
+ getModifierState?: (key: string) => boolean;
463
471
  }): boolean;
464
472
  /**
465
473
  * Window-capture KEY_DOWN must not steal Enter/arrows from native controls.
466
474
  * Select: keep existing skip. Textarea: Enter inserts a newline (PR-56).
467
475
  */
468
476
  declare function shouldSkipGridNavigation(target: EventTarget | null, code: string): boolean;
477
+ /**
478
+ * Where a window-level keydown came from, relative to ONE grid root.
479
+ * - `cell`: a body cell or the grid's own table (APG focus) → grid keyboard.
480
+ * - `page`: nothing focused (body / document) → grid keyboard (arrows keep
481
+ * working after a click on a non-focusable area, as in the legacy table).
482
+ * - `outside`: any other control — page forms, the grid toolbar, header
483
+ * filters, popovers, dialogs → only the legacy global chords
484
+ * (`isGridShortcutKey`); typing, copy/paste, Enter, Tab, arrows stay native.
485
+ * - `other-grid`: inside another grid → ignored.
486
+ */
487
+ type GridKeyScope = 'cell' | 'page' | 'outside' | 'other-grid';
488
+ declare function resolveGridKeyScope(target: EventTarget | null, root: Element | null): GridKeyScope;
469
489
 
470
490
  type UseGridResult<TRow = unknown> = {
471
491
  ready: false;
@@ -616,4 +636,4 @@ declare function useVirtualWindow<T>(session: GridSession | null | undefined, it
616
636
  declare const GRID_REVALIDATE_EVENT = "pdg-grid:revalidate";
617
637
  declare const LEGACY_GRID_REVALIDATE_EVENT = "erp-table:revalidate";
618
638
 
619
- export { AR_MESSAGES, AggFuncName, type BenchmarkResult, type BenchmarkSample, type CellComponent, type CellComponentMap, CellFocusedEvent, CellRenderContext, CellRenderer, CellValueChangedEvent, ColumnFilter, type ColumnMenuActionEvent, type ColumnMenuBuiltInId, type ColumnMenuCustomItem, type ColumnMenuItemDef, type ColumnMenuItemsConfig, ColumnSchema, ConnectivitySource, CreateERPTableConfig, DEFAULT_CELL_COMPONENTS, DEFAULT_PERFORMANCE_BUDGETS, DataGrid, type DataGridProps, type DateAdapter, EN_MESSAGES, ERPTable, ERPTableHostProvider, type ERPTableHostValue, ERPTableLocale, ERPTableMessages, type ERPTableProps, EventStore, FA_MESSAGES, FieldType, type FilterComponent, type FilterComponentContext, type FilterComponentMap, FilterModel, type FooterRowDef, GRID_REVALIDATE_EVENT, GridApi, GridHistoryPanel, type GridHistoryPanelProps, type GridHostEventHandlers, GridOfflineStatus, type GridOfflineStatusProps, type GridOverlayComponent, type GridOverlayContext, type GridOverlayKind, GridOverlays, type GridOverlaysProps, type GridReadyEvent, GridSession, GridTheme, IMultiSelectConfig, LEGACY_GRID_REVALIDATE_EVENT, NumberingSystem, type PerformanceBudget, PluginHost, RemoteApi, RowDataUpdatedEvent, RowValueChangedEvent, SelectionChangedEvent, SparseRowIndex, SyncWatermarkStore, TableSnapShot, TextAreaCell, type ThemeCssVars, type ThemeParams, UIRow, UITableController, type UseDependOnHook, type UseDependOnOptions, type UseDependOnResult, type UseERPTableResult, type UseGridResult, type UseVirtualWindowResult, Viewport, VirtualList, type VirtualListProps, type VirtualWindowModel, VisibleRange, bindGridHostEvents, buildVirtualWindow, checkBudget, createBrowserConnectivity, createLocalStorageWatermark, gregorianAdapter, highlightIfCurrentSearch, highlightSearchText, injectERPTableStyles, injectGridStyles, isGridShortcutKey, jalaliAdapter, mergeCellComponents, resolveBoundCellNode, resolveFilterComponent, resolveGridOverlay, resolveRegisteredCellNode, runBenchmark, shouldSkipGridNavigation, themeDark, themeDefault, themeErp, themeErpDark, useERPTable, useERPTableTheme, useGrid, useStaticDependOn, useVirtualWindow };
639
+ export { AR_MESSAGES, AggFuncName, type BenchmarkResult, type BenchmarkSample, type CellComponent, type CellComponentMap, CellFocusedEvent, CellRenderContext, CellRenderer, CellValueChangedEvent, ColumnFilter, type ColumnMenuActionEvent, type ColumnMenuBuiltInId, type ColumnMenuCustomItem, type ColumnMenuItemDef, type ColumnMenuItemsConfig, ConnectivitySource, CreateERPTableConfig, DEFAULT_CELL_COMPONENTS, DEFAULT_PERFORMANCE_BUDGETS, DataGrid, type DataGridProps, type DateAdapter, EN_MESSAGES, ERPTable, ERPTableHostProvider, type ERPTableHostValue, ERPTableLocale, ERPTableMessages, type ERPTableProps, EventStore, FA_MESSAGES, FieldType, type FilterComponent, type FilterComponentContext, type FilterComponentMap, FilterModel, type FooterRowDef, GRID_REVALIDATE_EVENT, GridApi, GridHistoryPanel, type GridHistoryPanelProps, type GridHostEventHandlers, type GridKeyScope, GridOfflineStatus, type GridOfflineStatusProps, type GridOverlayComponent, type GridOverlayContext, type GridOverlayKind, GridOverlays, type GridOverlaysProps, type GridReadyEvent, GridSession, GridTheme, IMultiSelectConfig, LEGACY_GRID_REVALIDATE_EVENT, NumberingSystem, type PerformanceBudget, PluginHost, RemoteApi, RowDataUpdatedEvent, RowValueChangedEvent, SelectionChangedEvent, SparseRowIndex, SyncWatermarkStore, TableSnapShot, TextAreaCell, type ThemeCssVars, type ThemeParams, UIRow, UITableController, type UseDependOnHook, type UseDependOnOptions, type UseDependOnResult, type UseERPTableResult, type UseGridResult, type UseVirtualWindowResult, Viewport, VirtualList, type VirtualListProps, type VirtualWindowModel, VisibleRange, bindGridHostEvents, buildVirtualWindow, checkBudget, createBrowserConnectivity, createLocalStorageWatermark, gregorianAdapter, highlightIfCurrentSearch, highlightSearchText, injectERPTableStyles, injectGridStyles, isGridShortcutKey, jalaliAdapter, mergeCellComponents, resolveBoundCellNode, resolveFilterComponent, resolveGridKeyScope, resolveGridOverlay, resolveRegisteredCellNode, runBenchmark, shouldSkipGridNavigation, themeDark, themeDefault, themeErp, themeErpDark, useERPTable, useERPTableTheme, useGrid, useStaticDependOn, useVirtualWindow };
package/dist/index.d.ts CHANGED
@@ -1,20 +1,20 @@
1
- import { y as AggFuncName, x as FieldType, C as ColumnSchema, F as FilterModel, S as ColumnFilter, E as EventStore, ba as IMultiSelectConfig, U as UIRow, r as HistoryItem, b as GridSession, T as TableSnapShot, p as ChangelogEntry, o as ChangelogQuery, q as HistoryQuery, aq as VisibleRange, ap as Viewport, al as SparseRowIndex } from './GridSession-Bc7UIawO.js';
2
- export { A as AggFunc, z as AppendResult, B as AriaSortValue, J as BooleanColumnFilter, K as BooleanFilterOp, L as BuiltinFilterKind, b6 as ColDefOrGroup, l as ColumnDef, P as ColumnDefBridge, Q as ColumnField, bb as ColumnGroupDef, bc as ColumnGroupMeta, bd as ColumnGroupPathEntry, X as ColumnPinned, Y as CombinedColumnFilter, Z as CustomColumnFilter, _ as CustomFilterFn, $ as CycleSortModelOptions, a0 as DateColumnFilter, a1 as DateFilterOp, a2 as FilterAccessor, a3 as FilterDef, a4 as FilterJoin, a5 as HEADER_SORT_CLICK_MAX_MOVE_PX, a6 as INDEX_COL_ID, a7 as ItemType, a8 as NumberColumnFilter, a9 as NumberFilterOp, ab as RowModelType, ac as RowStateEnum, ad as SetColumnFilter, ae as SetFilterOp, af as SimpleColumnFilter, ag as SortAccessor, ah as SortDirection, ai as SortModel, aj as SortModelItem, ak as SortValueComparator, e as TableEngine, k as TableViewState, am as TextColumnFilter, an as TextFilterOp, V as ValidCell, ao as ViewIntent, ar as applyFilter, as as applyHostRowDataToTable, at as applySort, au as ariaSortForColumn, az as collectUniqueFilterValues, aA as compareSortValues, aB as compareTypedValues, aE as cycleSortModel, aF as defaultGetRowId, aG as ensureIndexColumnDef, aH as isBlankSortValue, aJ as isColumnFilterActive, be as isColumnGroupDef, aK as isHeaderColumnSortable, aL as isServerRowModel, aN as mapRowDataToRowInputs, aR as normalizeDigits, aS as normalizeFilterText, aT as pageWindow, aW as resolveBuiltinFilterKind, a_ as shouldCommitHeaderSortClick, a$ as sortPriorityForColumn } from './GridSession-Bc7UIawO.js';
1
+ import { y as AggFuncName, x as FieldType, C as ColumnSchema, F as FilterModel, S as ColumnFilter, E as EventStore, bf as IMultiSelectConfig, U as UIRow, r as HistoryItem, b as GridSession, T as TableSnapShot, p as ChangelogEntry, o as ChangelogQuery, q as HistoryQuery, aq as VisibleRange, ap as Viewport, al as SparseRowIndex } from './GridSession-CeIfVFck.js';
2
+ export { A as AggFunc, z as AppendResult, B as AriaSortValue, J as BooleanColumnFilter, K as BooleanFilterOp, L as BuiltinFilterKind, b9 as ColDefOrGroup, l as ColumnDef, P as ColumnDefBridge, Q as ColumnField, bg as ColumnGroupDef, bh as ColumnGroupMeta, bi as ColumnGroupPathEntry, X as ColumnPinned, Y as CombinedColumnFilter, Z as CustomColumnFilter, _ as CustomFilterFn, $ as CycleSortModelOptions, a0 as DateColumnFilter, a1 as DateFilterOp, a2 as FilterAccessor, a3 as FilterDef, a4 as FilterJoin, a5 as HEADER_SORT_CLICK_MAX_MOVE_PX, a6 as INDEX_COL_ID, a7 as ItemType, a8 as NumberColumnFilter, a9 as NumberFilterOp, ab as RowModelType, ac as RowStateEnum, ad as SetColumnFilter, ae as SetFilterOp, af as SimpleColumnFilter, ag as SortAccessor, ah as SortDirection, ai as SortModel, aj as SortModelItem, ak as SortValueComparator, e as TableEngine, k as TableViewState, am as TextColumnFilter, an as TextFilterOp, V as ValidCell, ao as ViewIntent, ar as applyFilter, as as applyHostRowDataToTable, at as applySort, au as ariaSortForColumn, az as collectUniqueFilterValues, aA as compareSortValues, aB as compareTypedValues, aE as cycleSortModel, aF as defaultGetRowId, aG as ensureIndexColumnDef, aH as isBlankSortValue, aJ as isColumnFilterActive, bj as isColumnGroupDef, aK as isHeaderColumnSortable, aL as isServerRowModel, aN as mapRowDataToRowInputs, aR as normalizeDigits, aS as normalizeFilterText, aT as pageWindow, aW as resolveBuiltinFilterKind, a_ as shouldCommitHeaderSortClick, a$ as sortPriorityForColumn } from './GridSession-CeIfVFck.js';
3
3
  import * as React from 'react';
4
4
  import React__default, { ReactNode, Ref } from 'react';
5
- import { s as GridApi, av as CatalogHostEventHandlers, U as SelectionChangedEvent, b as CellFocusedEvent, j as CreateERPTableConfig, c as CellValueChangedEvent, T as RowValueChangedEvent, S as RowDataUpdatedEvent, P as PluginHost } from './createEngineGridQuery-Mt1hc33m.js';
6
- export { A as AggAccumulator, a as AggregateSnapshot, C as CATALOG_TO_HOST_CALLBACKS, d as CollectionRowMap, e as ColumnAggIndex, f as ColumnAggSpec, g as ColumnDefinition, h as ColumnViewBinding, i as ColumnVisibleRange, k as CreateERPTableResult, l as CreateGridApiInput, m as CreateGridConfig, n as CreateGridResult, D as DEFAULT_EVENT_STORE_PREFIX, o as DEFAULT_GRID_ACTOR, p as DEFAULT_MEMORY_STORE, E as EVENT_CATALOG, q as EventCatalogEntry, r as ExportDataAsExcelOptions, G as GetRowId, t as GridColumnState, u as GridDatasource, v as GridDatasourceGetRowsParams, w as GridDatasourceGetRowsResult, x as GridRowNode, I as InMemoryEventStore, y as InMemorySnapshotStore, z as IndexedDbEventStore, K as KvDatabase, B as KvStore, L as LEGACY_EVENT_STORE_PREFIX, M as MemoryKvDatabase, N as NoopRemoteApi, Q as QuickFilterBlobAccessor, F as QuickFilterIndex, H as ROW_DATA_UPDATED_CATALOG_TYPES, J as RequestExportOptions, O as RequestImportOptions, R as RowInput, V as SnapshotStore, W as SnapshotStrategy, X as StartEditingCellParams, Y as ViewportCalculator, Z as accumulateAdd, _ as accumulateRemove, $ as applyAgg, a0 as applyQuickFilter, a1 as buildCumulativeWidths, a2 as buildQuickFilterBlob, a3 as calculateColumnViewport, a4 as columnDefFieldName, a5 as createAccumulator, a6 as createERPTable, a7 as createEngineGridQuery, a8 as createGrid, a9 as createGridApi, aa as createGridTableKey, ab as dispatchCatalogHostEvent, ac as eventStoreDbName, ad as getEventCatalogEntry, ae as isAggFuncName, af as isCustomAggFunc, ag as listUndoableEventTypes, aw as mapColDefOrGroups, ah as mapColumnDefs, ai as mapColumnSchemas, aj as mapColumnSchemasToDefs, ak as normalizeQuickFilterText, al as openIndexedDbDatabase, am as readAccumulator, an as resolveColumnAggSpecs, ao as resolveCreateGridDefaults, ap as subscribeCatalogHostEvents, aq as toColumnDef, ar as toColumnDefinition, as as toColumnSchema, at as toColumnViewBinding, au as toMinorUnits } from './createEngineGridQuery-Mt1hc33m.js';
7
- import { U as UITableController, r as ProcessCellForClipboardParams, m as ClipboardCopyEvent, n as ClipboardPasteEvent, z as ConnectivitySource, A as SyncWatermarkStore } from './UITableController-DU8RopUM.js';
8
- export { B as Connectivity, M as ManualResolution, O as OfflineStatus, D as PendingChange, S as SyncConflict, e as SyncConflictPolicy, f as SyncConflictSide, g as SyncPort, h as SyncResult, i as SyncTransport, E as alwaysOnlineConnectivity } from './UITableController-DU8RopUM.js';
5
+ import { s as GridApi, aw as CatalogHostEventHandlers, V as SelectionChangedEvent, b as CellFocusedEvent, j as CreateERPTableConfig, c as CellValueChangedEvent, U as RowValueChangedEvent, T as RowDataUpdatedEvent, P as PluginHost } from './createEngineGridQuery-BBkud5oE.js';
6
+ export { A as AggAccumulator, a as AggregateSnapshot, C as CATALOG_TO_HOST_CALLBACKS, d as CollectionRowMap, e as ColumnAggIndex, f as ColumnAggSpec, g as ColumnDefinition, H as ColumnSchema, h as ColumnViewBinding, i as ColumnVisibleRange, k as CreateERPTableResult, l as CreateGridApiInput, m as CreateGridConfig, n as CreateGridResult, D as DEFAULT_EVENT_STORE_PREFIX, o as DEFAULT_GRID_ACTOR, p as DEFAULT_MEMORY_STORE, E as EVENT_CATALOG, q as EventCatalogEntry, r as ExportDataAsExcelOptions, G as GetRowId, t as GridColumnState, u as GridDatasource, v as GridDatasourceGetRowsParams, w as GridDatasourceGetRowsResult, x as GridRowNode, I as InMemoryEventStore, y as InMemorySnapshotStore, z as IndexedDbEventStore, K as KvDatabase, B as KvStore, L as LEGACY_EVENT_STORE_PREFIX, M as MemoryKvDatabase, N as NoopRemoteApi, Q as QuickFilterBlobAccessor, F as QuickFilterIndex, J as ROW_DATA_UPDATED_CATALOG_TYPES, O as RequestExportOptions, S as RequestImportOptions, R as RowInput, W as SnapshotStore, X as SnapshotStrategy, Y as StartEditingCellParams, Z as ViewportCalculator, _ as accumulateAdd, $ as accumulateRemove, a0 as applyAgg, a1 as applyQuickFilter, a2 as buildCumulativeWidths, a3 as buildQuickFilterBlob, a4 as calculateColumnViewport, a5 as columnDefFieldName, a6 as createAccumulator, a7 as createERPTable, a8 as createEngineGridQuery, a9 as createGrid, aa as createGridApi, ab as createGridTableKey, ac as dispatchCatalogHostEvent, ad as eventStoreDbName, ae as getEventCatalogEntry, af as isAggFuncName, ag as isCustomAggFunc, ah as listUndoableEventTypes, ax as mapColDefOrGroups, ai as mapColumnDefs, aj as mapColumnSchemas, ak as mapColumnSchemasToDefs, al as normalizeQuickFilterText, am as openIndexedDbDatabase, an as readAccumulator, ao as resolveColumnAggSpecs, ap as resolveCreateGridDefaults, aq as subscribeCatalogHostEvents, ar as toColumnDef, as as toColumnDefinition, at as toColumnSchema, au as toColumnViewBinding, av as toMinorUnits } from './createEngineGridQuery-BBkud5oE.js';
7
+ import { U as UITableController, r as ProcessCellForClipboardParams, m as ClipboardCopyEvent, n as ClipboardPasteEvent, z as ConnectivitySource, A as SyncWatermarkStore } from './UITableController-C71LXBiX.js';
8
+ export { B as Connectivity, M as ManualResolution, O as OfflineStatus, D as PendingChange, S as SyncConflict, e as SyncConflictPolicy, f as SyncConflictSide, g as SyncPort, h as SyncResult, i as SyncTransport, E as alwaysOnlineConnectivity } from './UITableController-C71LXBiX.js';
9
9
  import { R as RemoteApi } from './RemoteApi-CCQxiSf1.js';
10
- import { C as CellRenderContext, a as CustomCellResolveResult } from './cellRenderContext-DB7V_mlu.js';
11
- export { r as resolveCustomCellNode } from './cellRenderContext-DB7V_mlu.js';
10
+ import { C as CellRenderContext, a as CustomCellResolveResult } from './cellRenderContext-BaNh4qn_.js';
11
+ export { r as resolveCustomCellNode } from './cellRenderContext-BaNh4qn_.js';
12
12
  import { a as ERPTableMessages, E as ERPTableLocale, N as NumberingSystem } from './types-D__47BKv.js';
13
13
  export { r as resolveDirection, c as resolveLocaleMeta } from './types-D__47BKv.js';
14
- export { E as ExportSource, G as GridPlugin, a as GridPluginContext, c as GridQueryPort } from './GridPlugin-CJCaYnlw.js';
15
- export { P as PdfRenderer } from './PdfRenderer-1HFh6UeR.js';
16
- export { E as ExcelExportPlugin, b as ExcelImportPlugin, g as applyImportedRows, h as buildExportTable, i as buildXlsxBlob, k as exportActiveCollectionToExcel, m as mapImportedSheet, p as parseXlsxBlob } from './applyImportedRows-D4zVY8uD.js';
17
- export { a as PdfExportPlugin, V as VazirmatnPdfRenderer } from './VazirmatnPdfRenderer-Dz_G-m3c.js';
14
+ export { E as ExportSource, G as GridPlugin, a as GridPluginContext, c as GridQueryPort } from './GridPlugin-Bewn0X51.js';
15
+ export { P as PdfRenderer } from './PdfRenderer-bN7ca_Aj.js';
16
+ export { E as ExcelExportPlugin, b as ExcelImportPlugin, g as applyImportedRows, h as buildExportTable, i as buildXlsxBlob, k as exportActiveCollectionToExcel, m as mapImportedSheet, p as parseXlsxBlob } from './applyImportedRows-Cqh_N_0k.js';
17
+ export { a as PdfExportPlugin, V as VazirmatnPdfRenderer } from './VazirmatnPdfRenderer-D46smncn.js';
18
18
  export { TextPdfRenderer } from './plugins/pdf.js';
19
19
  export { f as formatLocaleDate, a as formatLocaleNumber } from './index-DmzL-F_o.js';
20
20
 
@@ -201,7 +201,7 @@ type ERPTableHostValue = {
201
201
  */
202
202
  useDependOn?: UseDependOnHook;
203
203
  };
204
- declare function ERPTableHostProvider({ children, locale, direction, numberingSystem, dateAdapter, remoteApi, messages, onToast, theme, themeToggle, themeLocked, onToggleTheme, components, filterComponents, columnMenuItems, onColumnMenuAction, useDependOn, }: ERPTableHostValue & {
204
+ declare function ERPTableHostProvider({ children, locale, direction, numberingSystem, dateAdapter, remoteApi, messages: messagesProp, onToast: onToastProp, theme, themeToggle, themeLocked, onToggleTheme, components: componentsProp, filterComponents: filterComponentsProp, columnMenuItems: columnMenuItemsProp, onColumnMenuAction: onColumnMenuActionProp, useDependOn: useDependOnProp, }: ERPTableHostValue & {
205
205
  children: ReactNode;
206
206
  }): React__default.JSX.Element;
207
207
  declare function useERPTableTheme(): GridTheme;
@@ -377,6 +377,12 @@ interface DataGridProps<TRow = unknown> extends CreateERPTableConfig<TRow> {
377
377
  columnMenuItems?: ColumnMenuItemsConfig;
378
378
  /** Fires for custom column menu items (PR-114). */
379
379
  onColumnMenuAction?: (event: ColumnMenuActionEvent) => void;
380
+ /**
381
+ * Host hook resolving `dependOn` values of remote lists (see
382
+ * `ERPTableHostProvider`). When omitted, an outer `ERPTableHostProvider`'s
383
+ * hook is used, else the static item values.
384
+ */
385
+ useDependOn?: UseDependOnHook;
380
386
  /**
381
387
  * Rows stuck under the header (PR-116). Display-only; not virtualized,
382
388
  * sorted, filtered, or selected with body rows.
@@ -417,6 +423,7 @@ interface CellRendererProps {
417
423
  tabIndex: number;
418
424
  mode?: "view" | "cell" | "form";
419
425
  }
426
+ /** A cell without column meta renders nothing (the body keeps a stable hook order). */
420
427
  declare const CellRenderer: React__default.FC<CellRendererProps>;
421
428
 
422
429
  type GridHistoryPanelProps = {
@@ -460,12 +467,25 @@ declare function isGridShortcutKey(e: {
460
467
  altKey: boolean;
461
468
  ctrlKey: boolean;
462
469
  code: string;
470
+ getModifierState?: (key: string) => boolean;
463
471
  }): boolean;
464
472
  /**
465
473
  * Window-capture KEY_DOWN must not steal Enter/arrows from native controls.
466
474
  * Select: keep existing skip. Textarea: Enter inserts a newline (PR-56).
467
475
  */
468
476
  declare function shouldSkipGridNavigation(target: EventTarget | null, code: string): boolean;
477
+ /**
478
+ * Where a window-level keydown came from, relative to ONE grid root.
479
+ * - `cell`: a body cell or the grid's own table (APG focus) → grid keyboard.
480
+ * - `page`: nothing focused (body / document) → grid keyboard (arrows keep
481
+ * working after a click on a non-focusable area, as in the legacy table).
482
+ * - `outside`: any other control — page forms, the grid toolbar, header
483
+ * filters, popovers, dialogs → only the legacy global chords
484
+ * (`isGridShortcutKey`); typing, copy/paste, Enter, Tab, arrows stay native.
485
+ * - `other-grid`: inside another grid → ignored.
486
+ */
487
+ type GridKeyScope = 'cell' | 'page' | 'outside' | 'other-grid';
488
+ declare function resolveGridKeyScope(target: EventTarget | null, root: Element | null): GridKeyScope;
469
489
 
470
490
  type UseGridResult<TRow = unknown> = {
471
491
  ready: false;
@@ -616,4 +636,4 @@ declare function useVirtualWindow<T>(session: GridSession | null | undefined, it
616
636
  declare const GRID_REVALIDATE_EVENT = "pdg-grid:revalidate";
617
637
  declare const LEGACY_GRID_REVALIDATE_EVENT = "erp-table:revalidate";
618
638
 
619
- export { AR_MESSAGES, AggFuncName, type BenchmarkResult, type BenchmarkSample, type CellComponent, type CellComponentMap, CellFocusedEvent, CellRenderContext, CellRenderer, CellValueChangedEvent, ColumnFilter, type ColumnMenuActionEvent, type ColumnMenuBuiltInId, type ColumnMenuCustomItem, type ColumnMenuItemDef, type ColumnMenuItemsConfig, ColumnSchema, ConnectivitySource, CreateERPTableConfig, DEFAULT_CELL_COMPONENTS, DEFAULT_PERFORMANCE_BUDGETS, DataGrid, type DataGridProps, type DateAdapter, EN_MESSAGES, ERPTable, ERPTableHostProvider, type ERPTableHostValue, ERPTableLocale, ERPTableMessages, type ERPTableProps, EventStore, FA_MESSAGES, FieldType, type FilterComponent, type FilterComponentContext, type FilterComponentMap, FilterModel, type FooterRowDef, GRID_REVALIDATE_EVENT, GridApi, GridHistoryPanel, type GridHistoryPanelProps, type GridHostEventHandlers, GridOfflineStatus, type GridOfflineStatusProps, type GridOverlayComponent, type GridOverlayContext, type GridOverlayKind, GridOverlays, type GridOverlaysProps, type GridReadyEvent, GridSession, GridTheme, IMultiSelectConfig, LEGACY_GRID_REVALIDATE_EVENT, NumberingSystem, type PerformanceBudget, PluginHost, RemoteApi, RowDataUpdatedEvent, RowValueChangedEvent, SelectionChangedEvent, SparseRowIndex, SyncWatermarkStore, TableSnapShot, TextAreaCell, type ThemeCssVars, type ThemeParams, UIRow, UITableController, type UseDependOnHook, type UseDependOnOptions, type UseDependOnResult, type UseERPTableResult, type UseGridResult, type UseVirtualWindowResult, Viewport, VirtualList, type VirtualListProps, type VirtualWindowModel, VisibleRange, bindGridHostEvents, buildVirtualWindow, checkBudget, createBrowserConnectivity, createLocalStorageWatermark, gregorianAdapter, highlightIfCurrentSearch, highlightSearchText, injectERPTableStyles, injectGridStyles, isGridShortcutKey, jalaliAdapter, mergeCellComponents, resolveBoundCellNode, resolveFilterComponent, resolveGridOverlay, resolveRegisteredCellNode, runBenchmark, shouldSkipGridNavigation, themeDark, themeDefault, themeErp, themeErpDark, useERPTable, useERPTableTheme, useGrid, useStaticDependOn, useVirtualWindow };
639
+ export { AR_MESSAGES, AggFuncName, type BenchmarkResult, type BenchmarkSample, type CellComponent, type CellComponentMap, CellFocusedEvent, CellRenderContext, CellRenderer, CellValueChangedEvent, ColumnFilter, type ColumnMenuActionEvent, type ColumnMenuBuiltInId, type ColumnMenuCustomItem, type ColumnMenuItemDef, type ColumnMenuItemsConfig, ConnectivitySource, CreateERPTableConfig, DEFAULT_CELL_COMPONENTS, DEFAULT_PERFORMANCE_BUDGETS, DataGrid, type DataGridProps, type DateAdapter, EN_MESSAGES, ERPTable, ERPTableHostProvider, type ERPTableHostValue, ERPTableLocale, ERPTableMessages, type ERPTableProps, EventStore, FA_MESSAGES, FieldType, type FilterComponent, type FilterComponentContext, type FilterComponentMap, FilterModel, type FooterRowDef, GRID_REVALIDATE_EVENT, GridApi, GridHistoryPanel, type GridHistoryPanelProps, type GridHostEventHandlers, type GridKeyScope, GridOfflineStatus, type GridOfflineStatusProps, type GridOverlayComponent, type GridOverlayContext, type GridOverlayKind, GridOverlays, type GridOverlaysProps, type GridReadyEvent, GridSession, GridTheme, IMultiSelectConfig, LEGACY_GRID_REVALIDATE_EVENT, NumberingSystem, type PerformanceBudget, PluginHost, RemoteApi, RowDataUpdatedEvent, RowValueChangedEvent, SelectionChangedEvent, SparseRowIndex, SyncWatermarkStore, TableSnapShot, TextAreaCell, type ThemeCssVars, type ThemeParams, UIRow, UITableController, type UseDependOnHook, type UseDependOnOptions, type UseDependOnResult, type UseERPTableResult, type UseGridResult, type UseVirtualWindowResult, Viewport, VirtualList, type VirtualListProps, type VirtualWindowModel, VisibleRange, bindGridHostEvents, buildVirtualWindow, checkBudget, createBrowserConnectivity, createLocalStorageWatermark, gregorianAdapter, highlightIfCurrentSearch, highlightSearchText, injectERPTableStyles, injectGridStyles, isGridShortcutKey, jalaliAdapter, mergeCellComponents, resolveBoundCellNode, resolveFilterComponent, resolveGridKeyScope, resolveGridOverlay, resolveRegisteredCellNode, runBenchmark, shouldSkipGridNavigation, themeDark, themeDefault, themeErp, themeErpDark, useERPTable, useERPTableTheme, useGrid, useStaticDependOn, useVirtualWindow };