@ishibashi0112/spreadsheet-grid-solid 1.11.0 → 1.13.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.
@@ -1,8 +1,13 @@
1
+ import type { RichCopyParts } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/clipboardHtml';
1
2
  import type { GridCoreFeatures } from '@ishibashi0112/spreadsheet-grid-core/internal/engine/features';
2
3
  import type { resolveChipSpec, resolveColorScaleBackground, resolveDataBar } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/conditionalFormat';
3
4
  import type { formatTotalRowCellText, resolveTotalRowCaption, resolveTotalRowLabelColumnKey } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/totalRow';
4
5
  import type { buildRevertMenuItems, describeUnsavedCell, formatUnsavedSummary } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/changeTracking';
5
6
  import type { resolveNewRowPlaceholder } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/newRow';
7
+ import type { createRangeDecorationResolver } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/rangeDecorations';
8
+ import type { describeChangeNavTarget, describeDiffCell, formatDiffOriginalText, formatDiffSummaryParts, nextChangeNavAnnouncement } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/diffView';
9
+ import type { GridRangeDecorationFrames } from '../view/GridRangeDecorations.js';
10
+ import type { GridDiffBarChip } from '../view/GridDiffBar.js';
6
11
  import type { GridLocaleText } from '@ishibashi0112/spreadsheet-grid-core';
7
12
  import type { GridChip } from '../view/GridChip.js';
8
13
  import type { GridTotalRow } from '../view/GridTotalRow.js';
@@ -23,6 +28,7 @@ import type { ColumnHoverOverlay, CopyRangeOverlay } from '../view/CopyRangeOver
23
28
  import type { resolveScrollHintOptions } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/scrollHint';
24
29
  import type { splitTextByFindRanges } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/find';
25
30
  import type { GridFindBar } from '../view/GridFindBar.js';
31
+ import type { GridFindReplaceSection, GridFindReplaceToggle, GridFindScopeOverlay } from '../view/GridFindReplace.js';
26
32
  import type { createColumnAutosize } from '../primitives/columnAutosize.js';
27
33
  import type { createColumnReorder } from '../primitives/columnReorder.js';
28
34
  import type { createRowDrag } from '../primitives/rowDrag.js';
@@ -86,6 +92,18 @@ export type SolidGridFeatures = {
86
92
  formatUnsavedSummary: typeof formatUnsavedSummary;
87
93
  buildRevertMenuItems: typeof buildRevertMenuItems;
88
94
  }) | undefined;
95
+ diffView?: (NonNullable<GridCoreFeatures['diffView']> & FeatureLocaleDefaults & {
96
+ describeDiffCell: typeof describeDiffCell;
97
+ formatDiffOriginalText: typeof formatDiffOriginalText;
98
+ formatDiffSummaryParts: typeof formatDiffSummaryParts;
99
+ describeChangeNavTarget: typeof describeChangeNavTarget;
100
+ nextChangeNavAnnouncement: typeof nextChangeNavAnnouncement;
101
+ DiffBarChip: typeof GridDiffBarChip;
102
+ }) | undefined;
103
+ rangeDecorations?: {
104
+ createRangeDecorationResolver: typeof createRangeDecorationResolver;
105
+ RangeDecorationFrames: typeof GridRangeDecorationFrames;
106
+ } | undefined;
89
107
  newRow?: (NonNullable<GridCoreFeatures['newRow']> & FeatureLocaleDefaults & {
90
108
  resolveNewRowPlaceholder: typeof resolveNewRowPlaceholder;
91
109
  }) | undefined;
@@ -172,6 +190,12 @@ export type SolidGridFeatures = {
172
190
  FindBar: typeof GridFindBar;
173
191
  splitTextByFindRanges: typeof splitTextByFindRanges;
174
192
  }) | undefined;
193
+ richCopy?: RichCopyParts | undefined;
194
+ findReplace?: (NonNullable<GridCoreFeatures['findReplace']> & FeatureLocaleDefaults & {
195
+ FindReplaceToggle: typeof GridFindReplaceToggle;
196
+ FindReplaceSection: typeof GridFindReplaceSection;
197
+ FindScopeOverlay: typeof GridFindScopeOverlay;
198
+ }) | undefined;
175
199
  };
176
200
  declare const gridFeatureBrand: unique symbol;
177
201
  /** 機能セットのキー(`createSpreadsheetGrid` の `features` のキー)。 */
package/dist/index.d.ts CHANGED
@@ -12,11 +12,15 @@ export { selectionAggregatesFeature } from './features/selectionAggregates.js';
12
12
  export { scrollHintFeature } from './features/scrollHint.js';
13
13
  export { motionExtrasFeature } from './features/motionExtras.js';
14
14
  export { findFeature } from './features/find.js';
15
+ export { findReplaceFeature } from './features/findReplace.js';
16
+ export { richCopyFeature } from './features/richCopy.js';
15
17
  export { imeDirectInputFeature } from './features/imeDirectInput.js';
16
18
  export { selectSearchFeature } from './features/selectSearch.js';
17
19
  export { dateTimeEditorsFeature } from './features/dateTimeEditors.js';
18
20
  export { multiSelectFeature } from './features/multiSelect.js';
19
21
  export { changeTrackingFeature } from './features/changeTracking.js';
22
+ export { diffViewFeature } from './features/diffView.js';
23
+ export { rangeDecorationsFeature } from './features/rangeDecorations.js';
20
24
  export { excelShortcutsFeature } from './features/excelShortcuts.js';
21
25
  export { newRowFeature } from './features/newRow.js';
22
26
  export { treeDataFeature } from './features/treeData.js';
@@ -36,6 +40,6 @@ export { numberFormatter } from '@ishibashi0112/spreadsheet-grid-core/internal/l
36
40
  export { numberParser } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/valueParsers';
37
41
  export { restoreColumnsFromState } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/gridState';
38
42
  export { preloadGridPopups } from './view/lazyPopups.js';
39
- export type { SpreadsheetGridProps, GridColumn, GridColumnPinned, GridColumnEditor, EditorCommitDirection, EditorEnterMove, CellEditorContext, GridSelectEditorOption, GridSelectLoadOptionsParams, GridSelectFillRowContext, GridValidationMode, CellValidationContext, CellValidationResult, GridInvalidCell, EditorCommitResult, GridChanges, GridChangedRow, GridChangesSummary, GridChangesSavedTarget, GridAddedRow, GridRemovedRow, GridTrackChangesOptions, GridTreeDataOptions, GridTreeRow, CellTreeContext, CellTreeState, TreeRowOpenChangeParams, GridRevealRowOptions, GridRowKey, GridAggFuncName, GridAggFuncParams, GridAggFunc, GridGroupRow, GridSelectFilterOption, GetFilterOptionsParams, GetFilterOptionsResult, ColumnFilterTypeOption, ColumnFilterUiType, CellRenderContext, HeaderRenderContext, GridColumnGroup, GridColumnGroupCollapsible, ColumnGroupHeaderRenderContext, ColumnGroupOpenChangeParams, GridExportColumnGroup, CellStyleContext, CanEditCellContext, GridConditionalFormat, RowStyleContext, DetailRowOptions, GridClassNames, GridSlotProps, GridFrameworkTypes, SolidGridTypes, DetailRowRenderContext, CellDetailContext, LabelRowOptions, LabelRowRenderContext, GridLabelRow, LabelRowSortMode, TotalRowOptions, TotalRowCellContext, TotalRowCellKind, FillHandleOptions, GridFillValueParams, GridFillDirection, GridFillKind, RowDragContext, RowMoveParams, RowDropParams, GridCellRef, GridCellEventParams, GridCellDoubleClickParams, CellValueFormatter, CellValueFormatterParams, SpreadsheetGridSlotContext, SpreadsheetGridDerivedSummary, SpreadsheetGridSelectionStats, GridLocaleText, GridLocaleTextTemplate, GridVerticalAlign, GridTextEditorEnterKey, GlobalFilterStatus, GridSelectionAggregates, CellCoord, CellRange, GridSelection, GridSortState, GridSortEntry, GridSortDirection, ColumnFilterValue, GridFilterState, SetColumnFilterValue, NumberColumnFilterValue, NumberSetColumnFilterValue, ParsedNumberFilter, TextSetColumnFilterValue, ParsedTextFilter, DateSetColumnFilterValue, ParsedDateFilter, DateFilterPreset, DateFilterPresetOption, CustomDateFilterPreset, DateFilterPresetRange, FilterDateInputContext, TextColumnFilterValue, DateColumnFilterValue, SelectColumnFilterValue, CustomColumnFilterValue, ServerSideDataSource, ServerSideQuery, ServerSideGetRowsParams, ServerSideGetRowsResult, ServerSideLoadErrorParams, ServerSideCellChange, ServerSideRowUpdate, ServerSideUpdateRowsParams, ServerSideUpdateRowsResult, ServerSideWriteErrorParams, RowModel, SpreadsheetGridHandle, RowSelectionModel, RowSelectionMode, ScrollAlign, GridScrollPosition, GridScrollEventParams, CsvExportScope, CsvExportOptions, GridExportOptions, GridExportCell, GridExportData, GridState, GridStatePatch, GridColumnState, GridDensity, GridTheme, UndoRedoState, GridMotion, GridPopupContainer, GridGlobalFilterMatch, GridPasteSkippedCell, GridPasteSkippedParams, GridExcelShortcutsOptions, GridNewRowOptions, GridApplyRowsOptions, GridPinnedRowPosition, FindOptions, FindChangeParams, GridDataBarFormat, GridColorScaleFormat, GridChipTone, GridChipSpec, GridChipMap, AutoSizeColumnsMode, GridContextMenuTarget, GridContextMenuParams, GridContextMenuItem, GridContextMenuActionItem, GridContextMenuLabelItem, GridContextMenuSeparatorItem, GridContextMenuCustomItem, ScrollHintOptions, ScrollHintTrigger, ScrollHintRenderArgs, } from './model/gridTypes.js';
43
+ export type { SpreadsheetGridProps, GridColumn, GridColumnPinned, GridColumnEditor, EditorCommitDirection, EditorEnterMove, CellEditorContext, GridSelectEditorOption, GridSelectLoadOptionsParams, GridSelectFillRowContext, GridValidationMode, CellValidationContext, CellValidationResult, GridInvalidCell, EditorCommitResult, GridChanges, GridChangedRow, GridChangesSummary, GridChangesSavedTarget, GridAddedRow, GridRemovedRow, GridTrackChangesOptions, GridRangeDecoration, GridTreeDataOptions, GridTreeRow, CellTreeContext, CellTreeState, TreeRowOpenChangeParams, GridRevealRowOptions, GridRowKey, GridAggFuncName, GridAggFuncParams, GridAggFunc, GridGroupRow, GridSelectFilterOption, GetFilterOptionsParams, GetFilterOptionsResult, ColumnFilterTypeOption, ColumnFilterUiType, CellRenderContext, HeaderRenderContext, GridColumnGroup, GridColumnGroupCollapsible, ColumnGroupHeaderRenderContext, ColumnGroupOpenChangeParams, GridExportColumnGroup, CellStyleContext, CanEditCellContext, GridConditionalFormat, RowStyleContext, DetailRowOptions, GridClassNames, GridSlotProps, GridFrameworkTypes, SolidGridTypes, DetailRowRenderContext, CellDetailContext, LabelRowOptions, LabelRowRenderContext, GridLabelRow, LabelRowSortMode, TotalRowOptions, TotalRowCellContext, TotalRowCellKind, FillHandleOptions, GridFillValueParams, GridFillDirection, GridFillKind, RowDragContext, RowMoveParams, RowDropParams, GridCellRef, GridCellEventParams, GridCellDoubleClickParams, CellValueFormatter, CellValueFormatterParams, SpreadsheetGridSlotContext, SpreadsheetGridDerivedSummary, SpreadsheetGridSelectionStats, GridLocaleText, GridLocaleTextTemplate, GridVerticalAlign, GridTextEditorEnterKey, GlobalFilterStatus, GridSelectionAggregates, CellCoord, CellRange, GridSelection, GridSortState, GridSortEntry, GridSortDirection, ColumnFilterValue, GridFilterState, SetColumnFilterValue, NumberColumnFilterValue, NumberSetColumnFilterValue, ParsedNumberFilter, TextSetColumnFilterValue, ParsedTextFilter, DateSetColumnFilterValue, ParsedDateFilter, DateFilterPreset, DateFilterPresetOption, CustomDateFilterPreset, DateFilterPresetRange, FilterDateInputContext, TextColumnFilterValue, DateColumnFilterValue, SelectColumnFilterValue, CustomColumnFilterValue, ServerSideDataSource, ServerSideQuery, ServerSideGetRowsParams, ServerSideGetRowsResult, ServerSideLoadErrorParams, ServerSideCellChange, ServerSideRowUpdate, ServerSideUpdateRowsParams, ServerSideUpdateRowsResult, ServerSideWriteErrorParams, RowModel, SpreadsheetGridHandle, RowSelectionModel, RowSelectionMode, ScrollAlign, GridScrollPosition, GridScrollEventParams, CsvExportScope, CsvExportOptions, GridExportOptions, GridExportCell, GridExportData, GridState, GridStatePatch, GridColumnState, GridDensity, GridTheme, UndoRedoState, GridMotion, GridPopupContainer, GridGlobalFilterMatch, GridPasteSkippedCell, GridPasteSkippedParams, GridExcelShortcutsOptions, GridNewRowOptions, GridApplyRowsOptions, GridPinnedRowPosition, FindOptions, FindChangeParams, GridFindOpenOptions, GridFindReplaceResult, GridDataBarFormat, GridColorScaleFormat, GridChipTone, GridChipSpec, GridChipMap, AutoSizeColumnsMode, GridContextMenuTarget, GridContextMenuParams, GridContextMenuItem, GridContextMenuActionItem, GridContextMenuLabelItem, GridContextMenuSeparatorItem, GridContextMenuCustomItem, ScrollHintOptions, ScrollHintTrigger, ScrollHintRenderArgs, } from './model/gridTypes.js';
40
44
  export type { NumberFormatterOptions } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/valueFormatters';
41
45
  export type { NumberParserOptions } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/valueParsers';