@ishibashi0112/spreadsheet-grid-solid 1.10.0 → 1.12.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.
- package/API_REFERENCE.md +195 -18
- package/README.md +2 -2
- package/dist/{ColumnFilterPopover-mENgY4gl.js → ColumnFilterPopover-t32VGfTq.js} +135 -134
- package/dist/DateEditorCalendar-CWaFuibK.js +118 -0
- package/dist/devWarnings.d.ts +5 -0
- package/dist/editors/CellEditorLayer.d.ts +6 -2
- package/dist/editors/DateTimeCellEditor.d.ts +26 -0
- package/dist/editors/MultiSelectCellEditor.d.ts +24 -0
- package/dist/features/dateTimeEditors.d.ts +2 -0
- package/dist/features/findReplace.d.ts +2 -0
- package/dist/features/multiSelect.d.ts +2 -0
- package/dist/features/richCopy.d.ts +2 -0
- package/dist/features/types.d.ts +21 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5171 -4107
- package/dist/localeText-CCqvpkYM.js +10 -0
- package/dist/portalTokens-LgUwLYnR.js +47 -0
- package/dist/source/chunks/{ColumnFilterPopover-D7INPNVB.jsx → ColumnFilterPopover-JL3HPGXY.jsx} +4 -2
- package/dist/source/chunks/DateEditorCalendar-FVUNVD7Y.jsx +170 -0
- package/dist/source/chunks/{chunk-RJB7JN2Y.jsx → chunk-AI3CSPI3.jsx} +3 -29
- package/dist/source/chunks/chunk-ZW5ET5DO.jsx +28 -0
- package/dist/source/chunks/{toolPanelViews-BRH5PCOI.jsx → toolPanelViews-N6TGBFFW.jsx} +4 -2
- package/dist/source/index.jsx +1629 -218
- package/dist/style.css +1 -1
- package/dist/style.layer.css +1 -1
- package/dist/{toolPanelViews-DMEVr1KV.js → toolPanelViews-CPYtBTQP.js} +2 -1
- package/dist/view/DateEditorCalendar.d.ts +15 -0
- package/dist/view/GridFindBar.d.ts +13 -0
- package/dist/view/GridFindReplace.d.ts +23 -0
- package/dist/view/GridMultiSelectChips.d.ts +6 -0
- package/dist/view/GridPinnedRows.d.ts +1 -0
- package/dist/view/lazyPopups.d.ts +3 -1
- package/package.json +3 -3
- package/dist/portalTokens-Gz03P3fZ.js +0 -52
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { a as e } from "./localeText-CCqvpkYM.js";
|
|
2
|
+
import { For as t, createMemo as n, createRenderEffect as r, untrack as i } from "solid-js";
|
|
3
|
+
import { createComponent as a, delegateEvents as o, effect as s, insert as c, memo as l, ref as u, setAttribute as d, template as f } from "@solidjs/web";
|
|
4
|
+
import { formatLocaleText as p } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/localeText";
|
|
5
|
+
import { formatDateKey as m } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/filtering";
|
|
6
|
+
import { buildCalendarDayCells as h, buildYearGrid as g, yearGridStart as _ } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/datePickerCalendar";
|
|
7
|
+
//#region src/view/DateEditorCalendar.tsx
|
|
8
|
+
var v = /* @__PURE__ */ f("<div class=ssg-dp-nav><button type=button tabindex=-1 class=ssg-dp-nav-btn>‹</button><button type=button tabindex=-1 class=ssg-dp-nav-title></button><button type=button tabindex=-1 class=ssg-dp-nav-btn>›"), y = /* @__PURE__ */ f("<div class=ssg-dp-foot><button type=button tabindex=-1 class=ssg-dp-foot-btn></button><button type=button tabindex=-1 class=\"ssg-dp-foot-btn ssg-dp-foot-btn--muted\">"), b = /* @__PURE__ */ f("<div class=ssg-dp-dow aria-hidden=true>"), x = /* @__PURE__ */ f("<div class=ssg-dp-days>"), S = /* @__PURE__ */ f("<div class=ssg-dp-grid>"), C = /* @__PURE__ */ f("<span>"), w = /* @__PURE__ */ f("<button type=button tabindex=-1 class=ssg-dp-day>"), T = /* @__PURE__ */ f("<button type=button tabindex=-1 class=ssg-dp-cell>"), E = /* @__PURE__ */ f("<label class=ssg-date-editor-time><span class=ssg-date-editor-time-label></span><input type=text inputmode=numeric autocomplete=off spellcheck=false class=ssg-date-editor-time-input placeholder=--:-->"), D = /* @__PURE__ */ f("<button type=button tabindex=-1 class=ssg-dp-foot-btn>");
|
|
9
|
+
function O(o) {
|
|
10
|
+
let f = e(), O = m(/* @__PURE__ */ new Date()), k = n(() => o.snapshot.calendarYear), A = n(() => o.snapshot.calendarMonth), j = () => o.snapshot.calendarView, M = n(() => j() === "days" ? p(f().calendarTitle, {
|
|
11
|
+
year: k(),
|
|
12
|
+
month: A() + 1
|
|
13
|
+
}) : j() === "months" ? p(f().calendarYear, { year: k() }) : `${_(k())} – ${_(k()) + 11}`), N = n(() => h(k(), A())), P;
|
|
14
|
+
return r(() => o.snapshot.timeText, (e) => {
|
|
15
|
+
P && P.value !== e && (P.value = e);
|
|
16
|
+
}), [
|
|
17
|
+
l(() => o.notice),
|
|
18
|
+
(() => {
|
|
19
|
+
var e = v(), t = e.firstChild, n = t.nextSibling, r = n.nextSibling;
|
|
20
|
+
return t._$$click = () => o.controller.navigate(-1), n._$$click = () => o.controller.drillUp(), c(n, M), r._$$click = () => o.controller.navigate(1), s(() => ({
|
|
21
|
+
e: f().calendarPrevious,
|
|
22
|
+
t: j() === "years",
|
|
23
|
+
a: f().calendarChangeView,
|
|
24
|
+
o: f().calendarNext
|
|
25
|
+
}), ({ e, t: i, a, o }, s) => {
|
|
26
|
+
e !== s?.e && d(t, "aria-label", e), i !== s?.t && d(n, "disabled", i), a !== s?.a && d(n, "aria-label", a), o !== s?.o && d(r, "aria-label", o);
|
|
27
|
+
}), e;
|
|
28
|
+
})(),
|
|
29
|
+
l(() => l(() => j() === "days")() ? [(() => {
|
|
30
|
+
var e = b();
|
|
31
|
+
return c(e, a(t, {
|
|
32
|
+
get each() {
|
|
33
|
+
return f().calendarWeekdays;
|
|
34
|
+
},
|
|
35
|
+
children: (e, t) => (() => {
|
|
36
|
+
var n = C();
|
|
37
|
+
return c(n, e), s(() => ({
|
|
38
|
+
e: t() === 0,
|
|
39
|
+
t: t() === 6
|
|
40
|
+
}), ({ e, t }, r) => {
|
|
41
|
+
e !== r?.e && n.classList.toggle("ssg-dp-dow--sun", e), t !== r?.t && n.classList.toggle("ssg-dp-dow--sat", t);
|
|
42
|
+
}), n;
|
|
43
|
+
})()
|
|
44
|
+
})), e;
|
|
45
|
+
})(), (() => {
|
|
46
|
+
var e = x();
|
|
47
|
+
return c(e, a(t, {
|
|
48
|
+
get each() {
|
|
49
|
+
return N();
|
|
50
|
+
},
|
|
51
|
+
keyed: !1,
|
|
52
|
+
children: (e) => (() => {
|
|
53
|
+
var t = w();
|
|
54
|
+
return t._$$click = () => o.controller.chooseDay(i(e).key), c(t, () => e().day), s(() => ({
|
|
55
|
+
e: !e().inCurrentMonth,
|
|
56
|
+
t: e().key === O,
|
|
57
|
+
a: e().key === o.snapshot.selectedDate,
|
|
58
|
+
o: e().key,
|
|
59
|
+
i: e().key === o.snapshot.selectedDate ? "true" : "false"
|
|
60
|
+
}), ({ e, t: n, a: r, o: i, i: a }, o) => {
|
|
61
|
+
e !== o?.e && t.classList.toggle("ssg-dp-day--out", e), n !== o?.t && t.classList.toggle("ssg-dp-day--today", n), r !== o?.a && t.classList.toggle("ssg-dp-day--selected", r), i !== o?.o && d(t, "aria-label", i), a !== o?.i && d(t, "aria-pressed", a);
|
|
62
|
+
}), t;
|
|
63
|
+
})()
|
|
64
|
+
})), e;
|
|
65
|
+
})()] : (() => {
|
|
66
|
+
var e = S();
|
|
67
|
+
return c(e, (() => {
|
|
68
|
+
var e = l(() => j() === "months");
|
|
69
|
+
return () => e() ? a(t, {
|
|
70
|
+
get each() {
|
|
71
|
+
return f().calendarMonths;
|
|
72
|
+
},
|
|
73
|
+
children: (e, t) => (() => {
|
|
74
|
+
var n = T();
|
|
75
|
+
return n._$$click = () => o.controller.chooseMonth(i(t)), c(n, e), s(() => t() === A(), (e) => {
|
|
76
|
+
n.classList.toggle("ssg-dp-cell--selected", e);
|
|
77
|
+
}), n;
|
|
78
|
+
})()
|
|
79
|
+
}) : a(t, {
|
|
80
|
+
get each() {
|
|
81
|
+
return g(k());
|
|
82
|
+
},
|
|
83
|
+
children: (e) => (() => {
|
|
84
|
+
var t = T();
|
|
85
|
+
return t._$$click = () => o.controller.chooseYear(e), c(t, e), s(() => e === k(), (e) => {
|
|
86
|
+
t.classList.toggle("ssg-dp-cell--selected", e);
|
|
87
|
+
}), t;
|
|
88
|
+
})()
|
|
89
|
+
});
|
|
90
|
+
})()), e;
|
|
91
|
+
})()),
|
|
92
|
+
l(() => l(() => !!o.timeInput)() ? (() => {
|
|
93
|
+
var e = E(), t = e.firstChild, n = t.nextSibling;
|
|
94
|
+
return c(t, () => o.timeInputLabel), n.addEventListener("blur", (e) => o.onTimeBlur?.(e)), n._$$keydown = (e) => o.onTimeKeyDown?.(e), n.addEventListener("compositionend", (e) => o.controller.inputTime(e.currentTarget.value, !1)), n._$$input = (e) => o.controller.inputTime(e.currentTarget.value, e.isComposing), u(() => (e) => {
|
|
95
|
+
P = e;
|
|
96
|
+
}, n), s(() => i(() => o.snapshot.timeText), (e) => {
|
|
97
|
+
n.value = e ?? "";
|
|
98
|
+
}), e;
|
|
99
|
+
})() : void 0),
|
|
100
|
+
(() => {
|
|
101
|
+
var e = y(), t = e.firstChild, n = t.nextSibling;
|
|
102
|
+
return c(e, (() => {
|
|
103
|
+
var e = l(() => j() !== "days");
|
|
104
|
+
return () => e() ? (() => {
|
|
105
|
+
var e = D();
|
|
106
|
+
return e._$$click = () => o.controller.drillDown(), c(e, () => f().calendarBack), e;
|
|
107
|
+
})() : void 0;
|
|
108
|
+
})(), t), t._$$click = () => o.controller.chooseToday(), c(t, () => f().calendarToday), n._$$click = () => o.controller.clear(), c(n, () => f().clear), e;
|
|
109
|
+
})()
|
|
110
|
+
];
|
|
111
|
+
}
|
|
112
|
+
o([
|
|
113
|
+
"click",
|
|
114
|
+
"input",
|
|
115
|
+
"keydown"
|
|
116
|
+
]);
|
|
117
|
+
//#endregion
|
|
118
|
+
export { O as DateEditorCalendar, O as default };
|
package/dist/devWarnings.d.ts
CHANGED
|
@@ -25,10 +25,15 @@ export type ShellDevWarningArgs = {
|
|
|
25
25
|
newRowUnavailable: () => 'serverSide' | 'rowGroup' | {
|
|
26
26
|
missing: string;
|
|
27
27
|
} | null;
|
|
28
|
+
findReplaceOnServerSide: () => boolean;
|
|
28
29
|
treeDataWarnings: () => readonly {
|
|
29
30
|
id: string;
|
|
30
31
|
message: string;
|
|
31
32
|
}[];
|
|
33
|
+
multiSelectWarnings: () => readonly {
|
|
34
|
+
id: string;
|
|
35
|
+
message: string;
|
|
36
|
+
}[];
|
|
32
37
|
};
|
|
33
38
|
declare function createShellDevWarningsInDev(args: ShellDevWarningArgs): void;
|
|
34
39
|
export declare const createShellDevWarnings: typeof createShellDevWarningsInDev;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { JSX } from '@solidjs/web';
|
|
2
2
|
import type { EditorCommitDirection, EditorCommitResult, EditorEnterMove, GridRowKey, GridSelectEditorOption } from '@ishibashi0112/spreadsheet-grid-core';
|
|
3
3
|
import type { LateEditCommitReceiver } from '@ishibashi0112/spreadsheet-grid-core/internal/controllers/editController';
|
|
4
|
-
import type { GridColumn, GridResolvedSlots } from '../model/gridTypes.js';
|
|
4
|
+
import type { GridColumn, GridColumnEditor, GridResolvedSlots } from '../model/gridTypes.js';
|
|
5
5
|
import type { SearchSelectCellEditor } from './SearchSelectCellEditor.js';
|
|
6
|
+
import type { DateTimeCellEditor } from './DateTimeCellEditor.js';
|
|
7
|
+
import type { MultiSelectCellEditor } from './MultiSelectCellEditor.js';
|
|
6
8
|
export type CellEditorRect = {
|
|
7
9
|
left: number;
|
|
8
10
|
top: number;
|
|
@@ -25,7 +27,7 @@ type CellEditorLayerProps<T> = {
|
|
|
25
27
|
leadingWidth: number;
|
|
26
28
|
baseOffset: number;
|
|
27
29
|
initialValue: () => string;
|
|
28
|
-
editor:
|
|
30
|
+
editor: GridColumnEditor<T> | undefined;
|
|
29
31
|
session: CellEditorSession<T> | null;
|
|
30
32
|
themeClassName?: string | undefined;
|
|
31
33
|
slots: GridResolvedSlots;
|
|
@@ -33,6 +35,8 @@ type CellEditorLayerProps<T> = {
|
|
|
33
35
|
onCancel: () => void;
|
|
34
36
|
onCommitToSelection?: ((value: unknown) => EditorCommitResult | void) | undefined;
|
|
35
37
|
SearchSelectEditor?: typeof SearchSelectCellEditor | undefined;
|
|
38
|
+
DateTimeEditor?: typeof DateTimeCellEditor | undefined;
|
|
39
|
+
MultiSelectEditor?: typeof MultiSelectCellEditor | undefined;
|
|
36
40
|
onRegisterFlush?: ((flush: (() => void) | null) => void) | undefined;
|
|
37
41
|
onRegisterLateCommit?: ((receiver: LateEditCommitReceiver) => () => void) | undefined;
|
|
38
42
|
align?: 'left' | 'center' | 'right' | undefined;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { EditorCommitDirection, EditorCommitResult, EditorEnterMove } from '@ishibashi0112/spreadsheet-grid-core';
|
|
2
|
+
import type { GridColumnEditor, GridResolvedSlot } from '../model/gridTypes.js';
|
|
3
|
+
type DateTimeEditorConfig = Extract<GridColumnEditor<unknown>, {
|
|
4
|
+
type: 'date' | 'time' | 'datetime';
|
|
5
|
+
}>;
|
|
6
|
+
export type DateTimeCellEditorProps = {
|
|
7
|
+
ariaLabel?: string | undefined;
|
|
8
|
+
editor: DateTimeEditorConfig;
|
|
9
|
+
columnTitle: string;
|
|
10
|
+
value: unknown;
|
|
11
|
+
initialValue: string;
|
|
12
|
+
onCommit: (value: unknown, direction?: EditorCommitDirection) => EditorCommitResult | void;
|
|
13
|
+
onCancel: () => void;
|
|
14
|
+
onCommitToSelection?: ((value: unknown) => EditorCommitResult | void) | undefined;
|
|
15
|
+
onRegisterFlush?: ((flush: (() => void) | null) => void) | undefined;
|
|
16
|
+
align?: 'left' | 'center' | 'right' | undefined;
|
|
17
|
+
themeClassName?: string | undefined;
|
|
18
|
+
popoverSlot?: GridResolvedSlot | undefined;
|
|
19
|
+
enterMove?: EditorEnterMove | undefined;
|
|
20
|
+
cellTop?: number | undefined;
|
|
21
|
+
cellLeft?: number | undefined;
|
|
22
|
+
cellHeight?: number | undefined;
|
|
23
|
+
alignTop?: boolean | undefined;
|
|
24
|
+
};
|
|
25
|
+
export declare function DateTimeCellEditor(props: DateTimeCellEditorProps): import("@solidjs/web").JSX.Element;
|
|
26
|
+
export default DateTimeCellEditor;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { EditorCommitDirection, EditorCommitResult, EditorEnterMove, GridSelectEditorOption } from '@ishibashi0112/spreadsheet-grid-core';
|
|
2
|
+
import type { SearchSelectLoad } from '@ishibashi0112/spreadsheet-grid-core/internal/controllers/searchSelectEditorController';
|
|
3
|
+
import type { GridResolvedSlot } from '../model/gridTypes.js';
|
|
4
|
+
export type MultiSelectCellEditorProps = {
|
|
5
|
+
ariaLabel?: string | undefined;
|
|
6
|
+
options: readonly GridSelectEditorOption[];
|
|
7
|
+
value: unknown;
|
|
8
|
+
search: boolean;
|
|
9
|
+
load?: SearchSelectLoad | undefined;
|
|
10
|
+
onCommit: (value: unknown, direction?: EditorCommitDirection) => EditorCommitResult | void;
|
|
11
|
+
onCancel: () => void;
|
|
12
|
+
onCommitToSelection?: ((value: unknown) => EditorCommitResult | void) | undefined;
|
|
13
|
+
onRegisterFlush?: ((flush: (() => void) | null) => void) | undefined;
|
|
14
|
+
align?: 'left' | 'center' | 'right' | undefined;
|
|
15
|
+
themeClassName?: string | undefined;
|
|
16
|
+
popoverSlot?: GridResolvedSlot | undefined;
|
|
17
|
+
enterMove?: EditorEnterMove | undefined;
|
|
18
|
+
initialText?: string | undefined;
|
|
19
|
+
cellTop?: number | undefined;
|
|
20
|
+
cellLeft?: number | undefined;
|
|
21
|
+
cellHeight?: number | undefined;
|
|
22
|
+
alignTop?: boolean | undefined;
|
|
23
|
+
};
|
|
24
|
+
export declare function MultiSelectCellEditor(props: MultiSelectCellEditorProps): import("@solidjs/web").JSX.Element;
|
package/dist/features/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
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';
|
|
@@ -8,6 +9,10 @@ import type { GridChip } from '../view/GridChip.js';
|
|
|
8
9
|
import type { GridTotalRow } from '../view/GridTotalRow.js';
|
|
9
10
|
import type { GridPinnedRows } from '../view/GridPinnedRows.js';
|
|
10
11
|
import type { SearchSelectCellEditor } from '../editors/SearchSelectCellEditor.js';
|
|
12
|
+
import type { DateTimeCellEditor } from '../editors/DateTimeCellEditor.js';
|
|
13
|
+
import type { MultiSelectCellEditor } from '../editors/MultiSelectCellEditor.js';
|
|
14
|
+
import type { GridMultiSelectChips } from '../view/GridMultiSelectChips.js';
|
|
15
|
+
import type { resolveMultiSelectChipLabels, splitRangesByChips } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/multiSelect';
|
|
11
16
|
import type { GridColumnGroupHeader } from '../view/GridColumnGroupHeader.js';
|
|
12
17
|
import type { GridTreeAggregateValue, GridTreeCellPrefix } from '../view/GridTreeCell.js';
|
|
13
18
|
import type { buildColumnGroupTree, columnHeaderSpanRows, createColumnChooserDropClamp, resolveCollapsedColumnKeys, followColumnKeysAfterColumnGroupChange, placeUnpinnedColumnInGroup, resolveColumnMenuGroupToggles, resolveColumnGroupDistinctTitles, warnUnknownColumnGroupKeys } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/columnGroups';
|
|
@@ -19,6 +24,7 @@ import type { ColumnHoverOverlay, CopyRangeOverlay } from '../view/CopyRangeOver
|
|
|
19
24
|
import type { resolveScrollHintOptions } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/scrollHint';
|
|
20
25
|
import type { splitTextByFindRanges } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/find';
|
|
21
26
|
import type { GridFindBar } from '../view/GridFindBar.js';
|
|
27
|
+
import type { GridFindReplaceSection, GridFindReplaceToggle, GridFindScopeOverlay } from '../view/GridFindReplace.js';
|
|
22
28
|
import type { createColumnAutosize } from '../primitives/columnAutosize.js';
|
|
23
29
|
import type { createColumnReorder } from '../primitives/columnReorder.js';
|
|
24
30
|
import type { createRowDrag } from '../primitives/rowDrag.js';
|
|
@@ -68,6 +74,15 @@ export type SolidGridFeatures = {
|
|
|
68
74
|
selectSearch?: (FeatureLocaleDefaults & {
|
|
69
75
|
SearchSelectCellEditor: typeof SearchSelectCellEditor;
|
|
70
76
|
}) | undefined;
|
|
77
|
+
dateTimeEditors?: (FeatureLocaleDefaults & {
|
|
78
|
+
DateTimeCellEditor: typeof DateTimeCellEditor;
|
|
79
|
+
}) | undefined;
|
|
80
|
+
multiSelect?: (FeatureLocaleDefaults & {
|
|
81
|
+
MultiSelectCellEditor: typeof MultiSelectCellEditor;
|
|
82
|
+
MultiSelectChips: typeof GridMultiSelectChips;
|
|
83
|
+
resolveChipLabels: typeof resolveMultiSelectChipLabels;
|
|
84
|
+
splitRangesByChips: typeof splitRangesByChips;
|
|
85
|
+
}) | undefined;
|
|
71
86
|
changeTracking?: (NonNullable<GridCoreFeatures['changeTracking']> & FeatureLocaleDefaults & {
|
|
72
87
|
describeUnsavedCell: typeof describeUnsavedCell;
|
|
73
88
|
formatUnsavedSummary: typeof formatUnsavedSummary;
|
|
@@ -159,6 +174,12 @@ export type SolidGridFeatures = {
|
|
|
159
174
|
FindBar: typeof GridFindBar;
|
|
160
175
|
splitTextByFindRanges: typeof splitTextByFindRanges;
|
|
161
176
|
}) | undefined;
|
|
177
|
+
richCopy?: RichCopyParts | undefined;
|
|
178
|
+
findReplace?: (NonNullable<GridCoreFeatures['findReplace']> & FeatureLocaleDefaults & {
|
|
179
|
+
FindReplaceToggle: typeof GridFindReplaceToggle;
|
|
180
|
+
FindReplaceSection: typeof GridFindReplaceSection;
|
|
181
|
+
FindScopeOverlay: typeof GridFindScopeOverlay;
|
|
182
|
+
}) | undefined;
|
|
162
183
|
};
|
|
163
184
|
declare const gridFeatureBrand: unique symbol;
|
|
164
185
|
/** 機能セットのキー(`createSpreadsheetGrid` の `features` のキー)。 */
|
package/dist/index.d.ts
CHANGED
|
@@ -12,8 +12,12 @@ 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';
|
|
19
|
+
export { dateTimeEditorsFeature } from './features/dateTimeEditors.js';
|
|
20
|
+
export { multiSelectFeature } from './features/multiSelect.js';
|
|
17
21
|
export { changeTrackingFeature } from './features/changeTracking.js';
|
|
18
22
|
export { excelShortcutsFeature } from './features/excelShortcuts.js';
|
|
19
23
|
export { newRowFeature } from './features/newRow.js';
|
|
@@ -34,6 +38,6 @@ export { numberFormatter } from '@ishibashi0112/spreadsheet-grid-core/internal/l
|
|
|
34
38
|
export { numberParser } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/valueParsers';
|
|
35
39
|
export { restoreColumnsFromState } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/gridState';
|
|
36
40
|
export { preloadGridPopups } from './view/lazyPopups.js';
|
|
37
|
-
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';
|
|
41
|
+
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, GridFindOpenOptions, GridFindReplaceResult, GridDataBarFormat, GridColorScaleFormat, GridChipTone, GridChipSpec, GridChipMap, AutoSizeColumnsMode, GridContextMenuTarget, GridContextMenuParams, GridContextMenuItem, GridContextMenuActionItem, GridContextMenuLabelItem, GridContextMenuSeparatorItem, GridContextMenuCustomItem, ScrollHintOptions, ScrollHintTrigger, ScrollHintRenderArgs, } from './model/gridTypes.js';
|
|
38
42
|
export type { NumberFormatterOptions } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/valueFormatters';
|
|
39
43
|
export type { NumberParserOptions } from '@ishibashi0112/spreadsheet-grid-core/internal/logic/valueParsers';
|