@ishibashi0112/spreadsheet-grid 1.10.0 → 1.11.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 (90) hide show
  1. package/API_REFERENCE.md +125 -13
  2. package/README.md +2 -2
  3. package/dist/CellEditorLayer.d.ts +5 -1
  4. package/dist/ColumnFilterPopover-DObE236Y.cjs +1 -0
  5. package/dist/{ColumnFilterPopover-BkvL8LdP.js → ColumnFilterPopover-xpVqTNCI.js} +5 -5
  6. package/dist/DateEditorCalendar-C4DuVjsL.js +128 -0
  7. package/dist/DateEditorCalendar-Cg4a2Y8d.cjs +1 -0
  8. package/dist/editors/DateTimeCellEditor.d.ts +25 -0
  9. package/dist/editors/MultiSelectCellEditor.d.ts +23 -0
  10. package/dist/features/dateTimeEditors.d.ts +2 -0
  11. package/dist/features/multiSelect.d.ts +2 -0
  12. package/dist/features/types.d.ts +13 -0
  13. package/dist/hooks/useGridLocaleText.d.ts +1 -1
  14. package/dist/index.cjs +11 -11
  15. package/dist/index.js +4502 -3887
  16. package/dist/lite/CellEditorErrorBubble-BH68ZTcj.js +23 -0
  17. package/dist/lite/CellEditorErrorBubble-DDoxYBXj.cjs +1 -0
  18. package/dist/lite/DateCellEditor-BPCZK7xI.js +81 -0
  19. package/dist/lite/DateCellEditor-BQfImAET.cjs +1 -0
  20. package/dist/lite/DateEditorCalendar-C4DuVjsL.js +128 -0
  21. package/dist/lite/DateEditorCalendar-Cg4a2Y8d.cjs +1 -0
  22. package/dist/lite/createSpreadsheetGrid-D7fxsRZG.cjs +11 -0
  23. package/dist/lite/createSpreadsheetGrid-DRJX-y38.js +5075 -0
  24. package/dist/lite/createSpreadsheetGrid.cjs +1 -1
  25. package/dist/lite/createSpreadsheetGrid.js +1 -1
  26. package/dist/lite/dateTimeEditors-BrNH3QkX.cjs +1 -0
  27. package/dist/lite/dateTimeEditors-CbxvlPg6.js +277 -0
  28. package/dist/lite/features/dateTimeEditors.cjs +1 -0
  29. package/dist/lite/features/dateTimeEditors.js +2 -0
  30. package/dist/lite/features/filtering.cjs +1 -1
  31. package/dist/lite/features/filtering.js +1 -1
  32. package/dist/lite/features/multiSelect.cjs +1 -0
  33. package/dist/lite/features/multiSelect.js +2 -0
  34. package/dist/lite/features/pinnedRows.cjs +1 -1
  35. package/dist/lite/features/pinnedRows.js +1 -1
  36. package/dist/lite/features/selectSearch.cjs +1 -1
  37. package/dist/lite/features/selectSearch.js +1 -1
  38. package/dist/lite/features/standard.cjs +1 -1
  39. package/dist/lite/features/standard.js +2 -2
  40. package/dist/lite/features/toolPanel.cjs +1 -1
  41. package/dist/lite/features/toolPanel.js +1 -1
  42. package/dist/lite/{filtering-c1X_zP3o.js → filtering-DaFmWbBq.js} +145 -142
  43. package/dist/lite/filtering-DskgJ8zD.cjs +1 -0
  44. package/dist/lite/lazyPopups-Cokq5TOf.cjs +2 -0
  45. package/dist/lite/{lazyPopups-DV5yAqW8.js → lazyPopups-DlBfI7Iu.js} +13 -9
  46. package/dist/lite/multiSelect-CcxB2bAd.cjs +1 -0
  47. package/dist/lite/multiSelect-fz6tgldg.js +296 -0
  48. package/dist/lite/pinnedRows-Bx5s2ykl.cjs +1 -0
  49. package/dist/lite/pinnedRows-ibpSVG2h.js +149 -0
  50. package/dist/lite/selectSearch-UHDjcmLg.cjs +1 -0
  51. package/dist/lite/{selectSearch-DmFm5bXg.js → selectSearch-n7CsaJiu.js} +2 -1
  52. package/dist/lite/{toolPanel-DQlOiytT.cjs → toolPanel-BD5l2a18.cjs} +1 -1
  53. package/dist/lite/{toolPanel-B1e18z68.js → toolPanel-BEzcyMBS.js} +1 -1
  54. package/dist/lite/useTopAlignedInput-BPhb8DcZ.js +15 -0
  55. package/dist/lite/useTopAlignedInput-T3k_V2-u.cjs +1 -0
  56. package/dist/lite.cjs +1 -1
  57. package/dist/lite.d.ts +2 -0
  58. package/dist/lite.js +24 -22
  59. package/dist/style.css +1 -1
  60. package/dist/style.layer.css +1 -1
  61. package/dist/{toolPanelViews-Biz2p7sx.js → toolPanelViews-C8Vw3fEC.js} +2 -2
  62. package/dist/toolPanelViews-GXwba3Zw.cjs +1 -0
  63. package/dist/useGridLocaleText-CRSWUb4o.cjs +1 -0
  64. package/dist/useGridLocaleText-CpoTVgyp.js +6 -0
  65. package/dist/{usePopupLocaleText-DJN10Asc.js → usePopupLocaleText-Cfb4fQ8G.js} +1 -1
  66. package/dist/{usePopupLocaleText-lEFHqTvJ.cjs → usePopupLocaleText-CmlJsMAf.cjs} +1 -1
  67. package/dist/usePortalTokens-CeVR4LF2.cjs +1 -0
  68. package/dist/usePortalTokens-CkjVoVTY.js +45 -0
  69. package/dist/{useVirtualizerCore-C1k6Aw8p.js → useVirtualizerCore-BKZtPhuo.js} +1 -1
  70. package/dist/useVirtualizerCore-CA1UYXG3.cjs +1 -0
  71. package/dist/view/DateEditorCalendar.d.ts +14 -0
  72. package/dist/view/GridMultiSelectChips.d.ts +6 -0
  73. package/dist/view/GridPinnedRows.d.ts +2 -1
  74. package/dist/view/lazyPopups.d.ts +3 -1
  75. package/package.json +2 -2
  76. package/skills/spreadsheet-grid/SKILL.md +5 -2
  77. package/dist/ColumnFilterPopover-cNVxOkoI.cjs +0 -1
  78. package/dist/lite/createSpreadsheetGrid-BWZbBB_j.js +0 -5065
  79. package/dist/lite/createSpreadsheetGrid-fhnxS5bQ.cjs +0 -11
  80. package/dist/lite/filtering-BTAXzOAK.cjs +0 -1
  81. package/dist/lite/lazyPopups-B1nKq4RV.cjs +0 -2
  82. package/dist/lite/pinnedRows-C0z2lLC4.js +0 -144
  83. package/dist/lite/pinnedRows-CrwRr7W0.cjs +0 -1
  84. package/dist/lite/selectSearch-CMNy2EOi.cjs +0 -1
  85. package/dist/lite/useTopAlignedInput-BAL_0rjw.cjs +0 -1
  86. package/dist/lite/useTopAlignedInput-CAagCTj-.js +0 -37
  87. package/dist/toolPanelViews-BAy-NXrx.cjs +0 -1
  88. package/dist/useGridLocaleText-BV4EomZe.cjs +0 -1
  89. package/dist/useGridLocaleText-Drud4qg0.js +0 -49
  90. package/dist/useVirtualizerCore-Cif7t8mS.cjs +0 -1
@@ -0,0 +1,128 @@
1
+ import { t as e } from "./usePopupLocaleText-Cfb4fQ8G.js";
2
+ import { cx as t } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/cx";
3
+ import { formatLocaleText as n } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/localeText";
4
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ import { formatDateKey as o } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/filtering";
6
+ import { buildCalendarDayCells as s, buildYearGrid as c, yearGridStart as l } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/datePickerCalendar";
7
+ //#region src/view/DateEditorCalendar.tsx
8
+ function u({ controller: u, snapshot: d, timeInput: f, timeInputLabel: p, timeInputRef: m, onTimeKeyDown: h, onTimeBlur: g, notice: _ }) {
9
+ let v = e(), { calendarYear: y, calendarMonth: b, calendarView: x, selectedDate: S } = d, C = o(/* @__PURE__ */ new Date()), w = x === "days" ? n(v.calendarTitle, {
10
+ year: y,
11
+ month: b + 1
12
+ }) : x === "months" ? n(v.calendarYear, { year: y }) : `${l(y)} – ${l(y) + 11}`;
13
+ return /* @__PURE__ */ a(r, { children: [
14
+ _,
15
+ /* @__PURE__ */ a("div", {
16
+ className: "ssg-dp-nav",
17
+ children: [
18
+ /* @__PURE__ */ i("button", {
19
+ type: "button",
20
+ tabIndex: -1,
21
+ className: "ssg-dp-nav-btn",
22
+ "aria-label": v.calendarPrevious,
23
+ onClick: () => u.navigate(-1),
24
+ children: "‹"
25
+ }),
26
+ /* @__PURE__ */ i("button", {
27
+ type: "button",
28
+ tabIndex: -1,
29
+ className: "ssg-dp-nav-title",
30
+ disabled: x === "years",
31
+ "aria-label": v.calendarChangeView,
32
+ onClick: () => u.drillUp(),
33
+ children: w
34
+ }),
35
+ /* @__PURE__ */ i("button", {
36
+ type: "button",
37
+ tabIndex: -1,
38
+ className: "ssg-dp-nav-btn",
39
+ "aria-label": v.calendarNext,
40
+ onClick: () => u.navigate(1),
41
+ children: "›"
42
+ })
43
+ ]
44
+ }),
45
+ x === "days" ? /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", {
46
+ className: "ssg-dp-dow",
47
+ "aria-hidden": "true",
48
+ children: v.calendarWeekdays.map((e, n) => /* @__PURE__ */ i("span", {
49
+ className: t(n === 0 && "ssg-dp-dow--sun", n === 6 && "ssg-dp-dow--sat"),
50
+ children: e
51
+ }, n))
52
+ }), /* @__PURE__ */ i("div", {
53
+ className: "ssg-dp-days",
54
+ children: s(y, b).map((e) => /* @__PURE__ */ i("button", {
55
+ type: "button",
56
+ tabIndex: -1,
57
+ className: t("ssg-dp-day", !e.inCurrentMonth && "ssg-dp-day--out", e.key === C && "ssg-dp-day--today", e.key === S && "ssg-dp-day--selected"),
58
+ "aria-label": e.key,
59
+ "aria-pressed": e.key === S,
60
+ onClick: () => u.chooseDay(e.key),
61
+ children: e.day
62
+ }, e.key))
63
+ })] }) : /* @__PURE__ */ i("div", {
64
+ className: "ssg-dp-grid",
65
+ children: x === "months" ? v.calendarMonths.map((e, n) => /* @__PURE__ */ i("button", {
66
+ type: "button",
67
+ tabIndex: -1,
68
+ className: t("ssg-dp-cell", n === b && "ssg-dp-cell--selected"),
69
+ onClick: () => u.chooseMonth(n),
70
+ children: e
71
+ }, n)) : c(y).map((e) => /* @__PURE__ */ i("button", {
72
+ type: "button",
73
+ tabIndex: -1,
74
+ className: t("ssg-dp-cell", e === y && "ssg-dp-cell--selected"),
75
+ onClick: () => u.chooseYear(e),
76
+ children: e
77
+ }, e))
78
+ }),
79
+ f ? /* @__PURE__ */ a("label", {
80
+ className: "ssg-date-editor-time",
81
+ children: [/* @__PURE__ */ i("span", {
82
+ className: "ssg-date-editor-time-label",
83
+ children: p
84
+ }), /* @__PURE__ */ i("input", {
85
+ ref: m,
86
+ type: "text",
87
+ inputMode: "numeric",
88
+ autoComplete: "off",
89
+ spellCheck: !1,
90
+ className: "ssg-date-editor-time-input",
91
+ value: d.timeText,
92
+ placeholder: "--:--",
93
+ onChange: (e) => u.inputTime(e.target.value, e.nativeEvent.isComposing === !0),
94
+ onCompositionEnd: (e) => u.inputTime(e.currentTarget.value, !1),
95
+ onKeyDown: h,
96
+ onBlur: g
97
+ })]
98
+ }) : null,
99
+ /* @__PURE__ */ a("div", {
100
+ className: "ssg-dp-foot",
101
+ children: [
102
+ x === "days" ? null : /* @__PURE__ */ i("button", {
103
+ type: "button",
104
+ tabIndex: -1,
105
+ className: "ssg-dp-foot-btn",
106
+ onClick: () => u.drillDown(),
107
+ children: v.calendarBack
108
+ }),
109
+ /* @__PURE__ */ i("button", {
110
+ type: "button",
111
+ tabIndex: -1,
112
+ className: "ssg-dp-foot-btn",
113
+ onClick: () => u.chooseToday(),
114
+ children: v.calendarToday
115
+ }),
116
+ /* @__PURE__ */ i("button", {
117
+ type: "button",
118
+ tabIndex: -1,
119
+ className: "ssg-dp-foot-btn ssg-dp-foot-btn--muted",
120
+ onClick: () => u.clear(),
121
+ children: v.clear
122
+ })
123
+ ]
124
+ })
125
+ ] });
126
+ }
127
+ //#endregion
128
+ export { u as DateEditorCalendar, u as default };
@@ -0,0 +1 @@
1
+ const e=require("./usePopupLocaleText-CmlJsMAf.cjs");let t=require("@ishibashi0112/spreadsheet-grid-core/internal/logic/cx"),n=require("@ishibashi0112/spreadsheet-grid-core/internal/logic/localeText"),r=require("react/jsx-runtime"),i=require("@ishibashi0112/spreadsheet-grid-core/internal/logic/filtering"),a=require("@ishibashi0112/spreadsheet-grid-core/internal/logic/datePickerCalendar");function o({controller:o,snapshot:s,timeInput:c,timeInputLabel:l,timeInputRef:u,onTimeKeyDown:d,onTimeBlur:f,notice:p}){let m=e.t(),{calendarYear:h,calendarMonth:g,calendarView:_,selectedDate:v}=s,y=(0,i.formatDateKey)(new Date),b=_===`days`?(0,n.formatLocaleText)(m.calendarTitle,{year:h,month:g+1}):_===`months`?(0,n.formatLocaleText)(m.calendarYear,{year:h}):`${(0,a.yearGridStart)(h)} – ${(0,a.yearGridStart)(h)+11}`;return(0,r.jsxs)(r.Fragment,{children:[p,(0,r.jsxs)(`div`,{className:`ssg-dp-nav`,children:[(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:`ssg-dp-nav-btn`,"aria-label":m.calendarPrevious,onClick:()=>o.navigate(-1),children:`‹`}),(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:`ssg-dp-nav-title`,disabled:_===`years`,"aria-label":m.calendarChangeView,onClick:()=>o.drillUp(),children:b}),(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:`ssg-dp-nav-btn`,"aria-label":m.calendarNext,onClick:()=>o.navigate(1),children:`›`})]}),_===`days`?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`div`,{className:`ssg-dp-dow`,"aria-hidden":`true`,children:m.calendarWeekdays.map((e,n)=>(0,r.jsx)(`span`,{className:(0,t.cx)(n===0&&`ssg-dp-dow--sun`,n===6&&`ssg-dp-dow--sat`),children:e},n))}),(0,r.jsx)(`div`,{className:`ssg-dp-days`,children:(0,a.buildCalendarDayCells)(h,g).map(e=>(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:(0,t.cx)(`ssg-dp-day`,!e.inCurrentMonth&&`ssg-dp-day--out`,e.key===y&&`ssg-dp-day--today`,e.key===v&&`ssg-dp-day--selected`),"aria-label":e.key,"aria-pressed":e.key===v,onClick:()=>o.chooseDay(e.key),children:e.day},e.key))})]}):(0,r.jsx)(`div`,{className:`ssg-dp-grid`,children:_===`months`?m.calendarMonths.map((e,n)=>(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:(0,t.cx)(`ssg-dp-cell`,n===g&&`ssg-dp-cell--selected`),onClick:()=>o.chooseMonth(n),children:e},n)):(0,a.buildYearGrid)(h).map(e=>(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:(0,t.cx)(`ssg-dp-cell`,e===h&&`ssg-dp-cell--selected`),onClick:()=>o.chooseYear(e),children:e},e))}),c?(0,r.jsxs)(`label`,{className:`ssg-date-editor-time`,children:[(0,r.jsx)(`span`,{className:`ssg-date-editor-time-label`,children:l}),(0,r.jsx)(`input`,{ref:u,type:`text`,inputMode:`numeric`,autoComplete:`off`,spellCheck:!1,className:`ssg-date-editor-time-input`,value:s.timeText,placeholder:`--:--`,onChange:e=>o.inputTime(e.target.value,e.nativeEvent.isComposing===!0),onCompositionEnd:e=>o.inputTime(e.currentTarget.value,!1),onKeyDown:d,onBlur:f})]}):null,(0,r.jsxs)(`div`,{className:`ssg-dp-foot`,children:[_===`days`?null:(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:`ssg-dp-foot-btn`,onClick:()=>o.drillDown(),children:m.calendarBack}),(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:`ssg-dp-foot-btn`,onClick:()=>o.chooseToday(),children:m.calendarToday}),(0,r.jsx)(`button`,{type:`button`,tabIndex:-1,className:`ssg-dp-foot-btn ssg-dp-foot-btn--muted`,onClick:()=>o.clear(),children:m.clear})]})]})}exports.DateEditorCalendar=o,exports.default=o;
@@ -0,0 +1,25 @@
1
+ import type { EditorCommitDirection, EditorCommitResult, EditorEnterMove, GridColumnEditor, GridResolvedSlot } from '../model/gridTypes.js';
2
+ type DateTimeEditorConfig = Extract<GridColumnEditor<unknown>, {
3
+ type: 'date' | 'time' | 'datetime';
4
+ }>;
5
+ export type DateTimeCellEditorProps = {
6
+ ariaLabel?: string | undefined;
7
+ editor: DateTimeEditorConfig;
8
+ columnTitle: string;
9
+ value: unknown;
10
+ initialValue: string;
11
+ onCommit: (value: unknown, direction?: EditorCommitDirection) => EditorCommitResult | void;
12
+ onCancel: () => void;
13
+ onCommitToSelection?: ((value: unknown) => EditorCommitResult | void) | undefined;
14
+ onRegisterFlush?: ((flush: (() => void) | null) => void) | undefined;
15
+ align?: 'left' | 'center' | 'right' | undefined;
16
+ themeClassName?: string | undefined;
17
+ popoverSlot?: GridResolvedSlot | undefined;
18
+ enterMove?: EditorEnterMove | undefined;
19
+ cellTop?: number | undefined;
20
+ cellLeft?: number | undefined;
21
+ cellHeight?: number | undefined;
22
+ alignTop?: boolean | undefined;
23
+ };
24
+ export declare function DateTimeCellEditor(props: DateTimeCellEditorProps): import("react").JSX.Element;
25
+ export default DateTimeCellEditor;
@@ -0,0 +1,23 @@
1
+ import type { EditorCommitDirection, EditorCommitResult, EditorEnterMove, GridResolvedSlot, GridSelectEditorOption } from '../model/gridTypes.js';
2
+ import type { SearchSelectLoad } from '@ishibashi0112/spreadsheet-grid-core/internal/controllers/searchSelectEditorController';
3
+ export type MultiSelectCellEditorProps = {
4
+ ariaLabel?: string | undefined;
5
+ options: readonly GridSelectEditorOption[];
6
+ value: unknown;
7
+ search: boolean;
8
+ load?: SearchSelectLoad | undefined;
9
+ onCommit: (value: unknown, direction?: EditorCommitDirection) => EditorCommitResult | void;
10
+ onCancel: () => void;
11
+ onCommitToSelection?: ((value: unknown) => EditorCommitResult | void) | undefined;
12
+ onRegisterFlush?: ((flush: (() => void) | null) => void) | undefined;
13
+ align?: 'left' | 'center' | 'right' | undefined;
14
+ themeClassName?: string | undefined;
15
+ popoverSlot?: GridResolvedSlot | undefined;
16
+ enterMove?: EditorEnterMove | undefined;
17
+ initialText?: string | undefined;
18
+ cellTop?: number | undefined;
19
+ cellLeft?: number | undefined;
20
+ cellHeight?: number | undefined;
21
+ alignTop?: boolean | undefined;
22
+ };
23
+ export declare function MultiSelectCellEditor({ ariaLabel, options, value, search, load, onCommit, onCancel, onCommitToSelection, onRegisterFlush, align, themeClassName, popoverSlot, enterMove, initialText, cellTop, cellLeft, alignTop, }: MultiSelectCellEditorProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { GridFeature } from './types.js';
2
+ export declare const dateTimeEditorsFeature: GridFeature<"dateTimeEditors">;
@@ -0,0 +1,2 @@
1
+ import type { GridFeature } from './types.js';
2
+ export declare const multiSelectFeature: GridFeature<"multiSelect">;
@@ -23,6 +23,10 @@ import type { GridTotalRow } from '../view/GridTotalRow.js';
23
23
  import type { GridPinnedRows } from '../view/GridPinnedRows.js';
24
24
  import type { GridColumnGroupHeader } from '../view/GridColumnGroupHeader.js';
25
25
  import type { SearchSelectCellEditor } from '../editors/SearchSelectCellEditor.js';
26
+ import type { DateTimeCellEditor } from '../editors/DateTimeCellEditor.js';
27
+ import type { MultiSelectCellEditor } from '../editors/MultiSelectCellEditor.js';
28
+ import type { GridMultiSelectChips } from '../view/GridMultiSelectChips.js';
29
+ import type { resolveMultiSelectChipLabels, splitRangesByChips } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/multiSelect';
26
30
  import type { GridTreeAggregateValue, GridTreeCellPrefix } from '../view/GridTreeCell.js';
27
31
  import type { GridBodyLabelRow } from '../view/GridBodyLabelRow.js';
28
32
  import type { GridBodyGroupRow } from '../view/GridBodyGroupRow.js';
@@ -279,6 +283,15 @@ export type ReactGridFeatures = {
279
283
  selectSearch?: FeatureLocaleDefaults & {
280
284
  SearchSelectCellEditor: typeof SearchSelectCellEditor;
281
285
  } | undefined;
286
+ dateTimeEditors?: FeatureLocaleDefaults & {
287
+ DateTimeCellEditor: typeof DateTimeCellEditor;
288
+ } | undefined;
289
+ multiSelect?: FeatureLocaleDefaults & {
290
+ MultiSelectCellEditor: typeof MultiSelectCellEditor;
291
+ MultiSelectChips: typeof GridMultiSelectChips;
292
+ resolveChipLabels: typeof resolveMultiSelectChipLabels;
293
+ splitRangesByChips: typeof splitRangesByChips;
294
+ } | undefined;
282
295
  changeTracking?: NonNullable<GridCoreFeatures['changeTracking']> & FeatureLocaleDefaults & {
283
296
  describeUnsavedCell: typeof describeUnsavedCell;
284
297
  formatUnsavedSummary: typeof formatUnsavedSummary;
@@ -1,5 +1,5 @@
1
1
  import { type FeatureLocaleText, type ResolvedGridLocaleText } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/localeText';
2
- export declare const GridLocaleTextContext: import("react").Context<Readonly<Pick<import("@ishibashi0112/spreadsheet-grid-core").GridLocaleText, "none" | "blank" | "selection" | "globalFilterPlaceholder" | "rowCount" | "columnCount" | "filterSummary" | "filterGlobal" | "filterColumns" | "sortSummary" | "sortEntry" | "sortAscending" | "sortDescending" | "activeCell" | "selectionSize" | "selectedColumns" | "detailColumnName" | "rowDragColumnName" | "listSeparator" | "globalFilterLabel" | "clearGlobalFilter" | "toggleFilterPanel" | "clear" | "close" | "retry" | "noOptions" | "noRows" | "noMatchingRows" | "selectAllRows" | "selectRow" | "sortedAscending" | "sortedDescending" | "sortPriority" | "columnFiltered" | "dragColumn" | "columnMenu" | "columnMenuFor" | "showDetails" | "hideDetails" | "editCell" | "cellInput" | "sizingColumns" | "applyingFilter" | "resetColumnsHint" | "toolPanelFilters" | "toolPanelSort" | "toolPanelColumns" | "filterNone" | "filterCustom" | "filterExcluded" | "filterExcludedValues" | "filterSelected" | "filterMatches" | "filterBoth" | "conditionGreaterThanOrEqual" | "conditionGreaterThan" | "conditionLessThanOrEqual" | "conditionLessThan" | "conditionEquals" | "conditionNotEquals" | "conditionRange" | "conditionOnOrAfter" | "conditionOnOrBefore" | "conditionContains" | "conditionStartsWith" | "conditionEndsWith" | "conditionBlank" | "conditionNotBlank" | "datePresetToday" | "datePresetThisMonth" | "datePresetLast30Days" | "invalidValue" | "enterNumber" | "enterInteger" | "enterMin" | "enterMax" | "enterRange" | "enterDate" | "saveFailedCell" | "totalRowLabel" | "totalAverage" | "totalMin" | "totalMax" | "totalCount" | "exportSubtotal"> & Partial<import("@ishibashi0112/spreadsheet-grid-core").GridLocaleText>>>;
2
+ export declare const GridLocaleTextContext: import("react").Context<Readonly<Pick<import("@ishibashi0112/spreadsheet-grid-core").GridLocaleText, "none" | "blank" | "selection" | "globalFilterPlaceholder" | "rowCount" | "columnCount" | "filterSummary" | "filterGlobal" | "filterColumns" | "sortSummary" | "sortEntry" | "sortAscending" | "sortDescending" | "activeCell" | "selectionSize" | "selectedColumns" | "detailColumnName" | "rowDragColumnName" | "listSeparator" | "multiSelectSeparator" | "globalFilterLabel" | "clearGlobalFilter" | "toggleFilterPanel" | "clear" | "close" | "retry" | "noOptions" | "noRows" | "noMatchingRows" | "selectAllRows" | "selectRow" | "sortedAscending" | "sortedDescending" | "sortPriority" | "columnFiltered" | "dragColumn" | "columnMenu" | "columnMenuFor" | "showDetails" | "hideDetails" | "editCell" | "cellInput" | "sizingColumns" | "applyingFilter" | "resetColumnsHint" | "toolPanelFilters" | "toolPanelSort" | "toolPanelColumns" | "filterNone" | "filterCustom" | "filterExcluded" | "filterExcludedValues" | "filterSelected" | "filterMatches" | "filterBoth" | "conditionGreaterThanOrEqual" | "conditionGreaterThan" | "conditionLessThanOrEqual" | "conditionLessThan" | "conditionEquals" | "conditionNotEquals" | "conditionRange" | "conditionOnOrAfter" | "conditionOnOrBefore" | "conditionContains" | "conditionStartsWith" | "conditionEndsWith" | "conditionBlank" | "conditionNotBlank" | "datePresetToday" | "datePresetThisMonth" | "datePresetLast30Days" | "invalidValue" | "enterNumber" | "enterInteger" | "enterMin" | "enterMax" | "enterRange" | "enterDate" | "enterTime" | "enterDateTime" | "saveFailedCell" | "totalRowLabel" | "totalAverage" | "totalMin" | "totalMax" | "totalCount" | "exportSubtotal"> & Partial<import("@ishibashi0112/spreadsheet-grid-core").GridLocaleText>>>;
3
3
  export declare const useGridLocaleText: () => ResolvedGridLocaleText;
4
4
  export declare const useFeatureLocaleText: <D>() => FeatureLocaleText<D>;
5
5
  export declare const mergeFeatureLocaleDefaults: (features: object) => ResolvedGridLocaleText;