@rowsncolumns/spreadsheet 10.15.0 → 10.17.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/dist/cjs/api/editor-formula.d.ts +40 -0
- package/dist/cjs/api/editor-formula.d.ts.map +1 -0
- package/dist/cjs/api/editor-formula.js +87 -0
- package/dist/cjs/atoms/cell-input-context.atom.d.ts.map +1 -1
- package/dist/cjs/components/autocorrect-options-smart-tag/index.d.ts +22 -8
- package/dist/cjs/components/autocorrect-options-smart-tag/index.d.ts.map +1 -1
- package/dist/cjs/components/autocorrect-options-smart-tag/index.js +107 -22
- package/dist/cjs/components/canvas-grid/index.d.ts.map +1 -1
- package/dist/cjs/components/canvas-grid/index.js +46 -10
- package/dist/cjs/components/canvas-grid/typings.d.ts +8 -0
- package/dist/cjs/components/canvas-grid/typings.d.ts.map +1 -1
- package/dist/cjs/components/cell-input/cell-input.d.ts.map +1 -1
- package/dist/cjs/components/cell-input/cell-input.js +3 -1
- package/dist/cjs/components/embeds/embed-draggable.d.ts.map +1 -1
- package/dist/cjs/components/embeds/embed-draggable.js +32 -11
- package/dist/cjs/components/embeds/object-focus.d.ts +16 -3
- package/dist/cjs/components/embeds/object-focus.d.ts.map +1 -1
- package/dist/cjs/components/embeds/object-focus.js +62 -6
- package/dist/cjs/components/outline-gutter/index.d.ts +11 -3
- package/dist/cjs/components/outline-gutter/index.d.ts.map +1 -1
- package/dist/cjs/components/outline-gutter/index.js +11 -6
- package/dist/cjs/components/selection/index.d.ts +1 -1
- package/dist/cjs/components/selection/index.d.ts.map +1 -1
- package/dist/cjs/components/selection/index.js +2 -2
- package/dist/cjs/components/selection/types.d.ts +2 -0
- package/dist/cjs/components/selection/types.d.ts.map +1 -1
- package/dist/cjs/hooks/object-spec-schema.generated.d.ts.map +1 -1
- package/dist/cjs/hooks/object-spec-schema.generated.js +16 -0
- package/dist/cjs/hooks/use-editable.d.ts.map +1 -1
- package/dist/cjs/hooks/use-editable.js +5 -1
- package/dist/cjs/hooks/use-editor-change.d.ts.map +1 -1
- package/dist/cjs/hooks/use-editor-change.js +3 -1
- package/dist/cjs/hooks/use-flash-fill-suggestion.d.ts.map +1 -1
- package/dist/cjs/hooks/use-flash-fill-suggestion.js +15 -4
- package/dist/cjs/hooks/use-grid-children.d.ts +7 -1
- package/dist/cjs/hooks/use-grid-children.d.ts.map +1 -1
- package/dist/cjs/hooks/use-grid-children.js +8 -2
- package/dist/cjs/hooks/use-selection-renderer.d.ts.map +1 -1
- package/dist/cjs/hooks/use-selection-renderer.js +18 -4
- package/dist/cjs/release-date.js +1 -1
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/cjs/types.d.ts +17 -0
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/esm/api/editor-formula.d.ts +40 -0
- package/dist/esm/api/editor-formula.d.ts.map +1 -0
- package/dist/esm/api/editor-formula.js +76 -0
- package/dist/esm/atoms/cell-input-context.atom.d.ts.map +1 -1
- package/dist/esm/components/autocorrect-options-smart-tag/index.d.ts +22 -8
- package/dist/esm/components/autocorrect-options-smart-tag/index.d.ts.map +1 -1
- package/dist/esm/components/autocorrect-options-smart-tag/index.js +103 -22
- package/dist/esm/components/canvas-grid/index.d.ts.map +1 -1
- package/dist/esm/components/canvas-grid/index.js +46 -11
- package/dist/esm/components/canvas-grid/typings.d.ts +8 -0
- package/dist/esm/components/canvas-grid/typings.d.ts.map +1 -1
- package/dist/esm/components/cell-input/cell-input.d.ts.map +1 -1
- package/dist/esm/components/cell-input/cell-input.js +4 -2
- package/dist/esm/components/embeds/embed-draggable.d.ts.map +1 -1
- package/dist/esm/components/embeds/embed-draggable.js +31 -13
- package/dist/esm/components/embeds/object-focus.d.ts +16 -3
- package/dist/esm/components/embeds/object-focus.d.ts.map +1 -1
- package/dist/esm/components/embeds/object-focus.js +38 -2
- package/dist/esm/components/outline-gutter/index.d.ts +11 -3
- package/dist/esm/components/outline-gutter/index.d.ts.map +1 -1
- package/dist/esm/components/outline-gutter/index.js +11 -6
- package/dist/esm/components/selection/index.d.ts +1 -1
- package/dist/esm/components/selection/index.d.ts.map +1 -1
- package/dist/esm/components/selection/index.js +2 -2
- package/dist/esm/components/selection/types.d.ts +2 -0
- package/dist/esm/components/selection/types.d.ts.map +1 -1
- package/dist/esm/hooks/object-spec-schema.generated.d.ts.map +1 -1
- package/dist/esm/hooks/object-spec-schema.generated.js +16 -0
- package/dist/esm/hooks/use-editable.d.ts.map +1 -1
- package/dist/esm/hooks/use-editable.js +6 -2
- package/dist/esm/hooks/use-editor-change.d.ts.map +1 -1
- package/dist/esm/hooks/use-editor-change.js +4 -2
- package/dist/esm/hooks/use-flash-fill-suggestion.d.ts.map +1 -1
- package/dist/esm/hooks/use-flash-fill-suggestion.js +15 -4
- package/dist/esm/hooks/use-grid-children.d.ts +7 -1
- package/dist/esm/hooks/use-grid-children.d.ts.map +1 -1
- package/dist/esm/hooks/use-grid-children.js +7 -1
- package/dist/esm/hooks/use-selection-renderer.d.ts.map +1 -1
- package/dist/esm/hooks/use-selection-renderer.js +18 -4
- package/dist/esm/release-date.js +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types.d.ts +17 -0
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/spreadsheet.min.css +1 -1
- package/package.json +3 -3
|
@@ -21,7 +21,7 @@ var title_1 = require("./title");
|
|
|
21
21
|
* @returns
|
|
22
22
|
*/
|
|
23
23
|
exports.Selection = (0, react_1.memo)(function (_a) {
|
|
24
|
-
var _b = _a.x, x = _b === void 0 ? 0 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.width, width = _d === void 0 ? 0 : _d, _e = _a.height, height = _e === void 0 ? 0 : _e, _f = _a.fillHandleSize, fillHandleSize = _f === void 0 ? 8 : _f, showFillHandle = _a.showFillHandle, _g = _a.offset, offset = _g === void 0 ? 0 : _g, stroke = _a.stroke, _h = _a.strokeLeftColor, strokeLeftColor = _h === void 0 ? stroke : _h, _j = _a.strokeTopColor, strokeTopColor = _j === void 0 ? stroke : _j, _k = _a.strokeRightColor, strokeRightColor = _k === void 0 ? stroke : _k, _l = _a.strokeBottomColor, strokeBottomColor = _l === void 0 ? stroke : _l, _m = _a.strokeWidth, strokeWidth = _m === void 0 ? 0 : _m, _o = _a.strokeTopWidth, strokeTopWidth = _o === void 0 ? strokeWidth : _o, _p = _a.strokeRightWidth, strokeRightWidth = _p === void 0 ? strokeWidth : _p, _q = _a.strokeBottomWidth, strokeBottomWidth = _q === void 0 ? strokeWidth : _q, _r = _a.strokeLeftWidth, strokeLeftWidth = _r === void 0 ? strokeWidth : _r, _s = _a.strokeStyle, strokeStyle = _s === void 0 ? "solid" : _s, _t = _a.fillOpacity, fillOpacity = _t === void 0 ? 1 : _t, draggable = _a.draggable, isDragging = _a.isDragging, _u = _a.borderCoverWidth, borderCoverWidth = _u === void 0 ? 5 : _u, type = _a.type, range = _a.range, title = _a.title, keepTitleWithinBounds = _a.keepTitleWithinBounds, keepTitleWithinVerticalBounds = _a.keepTitleWithinVerticalBounds, flipTitleToBottom = _a.flipTitleToBottom, table = _a.table, pivotTable = _a.pivotTable, onMouseDownTitle = _a.onMouseDownTitle, onMouseDownResizeHandle = _a.onMouseDownResizeHandle, onMouseDownMoveHandle = _a.onMouseDownMoveHandle, _v = _a.TitleComponent, TitleComponent = _v === void 0 ? title_1.SelectionTitle : _v, onMouseDown = _a.onMouseDown, onRequestEditTable = _a.onRequestEditTable, onRequestEditPivotTable = _a.onRequestEditPivotTable, onFlashEnd = _a.onFlashEnd, zIndex = _a.zIndex, index = _a.index, id = _a.id, showResizeHandles = _a.showResizeHandles, resizeHandleBorderColor = _a.resizeHandleBorderColor, _w = _a.resizeHandleSize, resizeHandleSize = _w === void 0 ? 6 : _w, fill = _a.fill, duration = _a.duration, selectionCount = _a.selectionCount, enableMagicFill = _a.enableMagicFill, sheetId = _a.sheetId, activeCell = _a.activeCell, selection = _a.selection, _x = _a.MagicFillComponent, MagicFillComponent = _x === void 0 ? magic_fill_1.MagicFill : _x, metadata = _a.metadata, readonly = _a.readonly, showPasteMenu = _a.showPasteMenu, onSplitTextToColumns = _a.onSplitTextToColumns, onChoosePasteOption = _a.onChoosePasteOption, agentSuggestion = _a.agentSuggestion, isHovered = _a.isHovered, MagicFillContent = _a.MagicFillContent, _y = _a.QuickEdit, QuickEdit = _y === void 0 ? quick_edit_1.QuickEdit : _y, _z = _a.PasteMenu, PasteMenu = _z === void 0 ? paste_menu_1.PasteMenu : _z, _0 = _a.FillOptionsMenu, FillOptionsMenu = _0 === void 0 ? fill_options_menu_1.FillOptionsMenu : _0, fillOptions = _a.fillOptions, onChooseFillType = _a.onChooseFillType, onOpenFillSeriesDialog = _a.onOpenFillSeriesDialog, onCloseFillOptions = _a.onCloseFillOptions, onFillOptionsOpenChange = _a.onFillOptionsOpenChange, _1 = _a.InsertOptionsSmartTag, InsertOptionsSmartTag = _1 === void 0 ? insert_options_smart_tag_1.InsertOptionsSmartTag : _1, insertOptions = _a.insertOptions, onChooseInsertOption = _a.onChooseInsertOption, tableAutoExpansion = _a.tableAutoExpansion, onChooseTableAutoExpansionOption = _a.onChooseTableAutoExpansionOption, flashFillOptions = _a.flashFillOptions, onChooseFlashFillOption = _a.onChooseFlashFillOption, calculatedColumnFill = _a.calculatedColumnFill, onChooseCalculatedColumnOption = _a.onChooseCalculatedColumnOption, errorCheck = _a.errorCheck, _2 = _a.errorCheckMenuOpen, errorCheckMenuOpen = _2 === void 0 ? false : _2, onErrorCheckMenuOpenChange = _a.onErrorCheckMenuOpenChange, onChooseErrorCheckOption = _a.onChooseErrorCheckOption, _3 = _a.SuggestionAction, SuggestionAction = _3 === void 0 ? suggestion_action_1.SuggestionAction : _3, onRemoveQuickEdit = _a.onRemoveQuickEdit, onAddQuickEdit = _a.onAddQuickEdit;
|
|
24
|
+
var _b = _a.x, x = _b === void 0 ? 0 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.width, width = _d === void 0 ? 0 : _d, _e = _a.height, height = _e === void 0 ? 0 : _e, _f = _a.fillHandleSize, fillHandleSize = _f === void 0 ? 8 : _f, showFillHandle = _a.showFillHandle, _g = _a.offset, offset = _g === void 0 ? 0 : _g, stroke = _a.stroke, _h = _a.strokeLeftColor, strokeLeftColor = _h === void 0 ? stroke : _h, _j = _a.strokeTopColor, strokeTopColor = _j === void 0 ? stroke : _j, _k = _a.strokeRightColor, strokeRightColor = _k === void 0 ? stroke : _k, _l = _a.strokeBottomColor, strokeBottomColor = _l === void 0 ? stroke : _l, _m = _a.strokeWidth, strokeWidth = _m === void 0 ? 0 : _m, _o = _a.strokeTopWidth, strokeTopWidth = _o === void 0 ? strokeWidth : _o, _p = _a.strokeRightWidth, strokeRightWidth = _p === void 0 ? strokeWidth : _p, _q = _a.strokeBottomWidth, strokeBottomWidth = _q === void 0 ? strokeWidth : _q, _r = _a.strokeLeftWidth, strokeLeftWidth = _r === void 0 ? strokeWidth : _r, _s = _a.strokeStyle, strokeStyle = _s === void 0 ? "solid" : _s, _t = _a.fillOpacity, fillOpacity = _t === void 0 ? 1 : _t, draggable = _a.draggable, isDragging = _a.isDragging, _u = _a.borderCoverWidth, borderCoverWidth = _u === void 0 ? 5 : _u, type = _a.type, range = _a.range, title = _a.title, keepTitleWithinBounds = _a.keepTitleWithinBounds, keepTitleWithinVerticalBounds = _a.keepTitleWithinVerticalBounds, flipTitleToBottom = _a.flipTitleToBottom, table = _a.table, pivotTable = _a.pivotTable, onMouseDownTitle = _a.onMouseDownTitle, onMouseDownResizeHandle = _a.onMouseDownResizeHandle, onMouseDownMoveHandle = _a.onMouseDownMoveHandle, _v = _a.TitleComponent, TitleComponent = _v === void 0 ? title_1.SelectionTitle : _v, onMouseDown = _a.onMouseDown, onRequestEditTable = _a.onRequestEditTable, onRequestEditPivotTable = _a.onRequestEditPivotTable, onFlashEnd = _a.onFlashEnd, zIndex = _a.zIndex, index = _a.index, id = _a.id, showResizeHandles = _a.showResizeHandles, resizeHandleBorderColor = _a.resizeHandleBorderColor, _w = _a.resizeHandleSize, resizeHandleSize = _w === void 0 ? 6 : _w, fill = _a.fill, duration = _a.duration, selectionCount = _a.selectionCount, enableMagicFill = _a.enableMagicFill, sheetId = _a.sheetId, activeCell = _a.activeCell, selection = _a.selection, _x = _a.MagicFillComponent, MagicFillComponent = _x === void 0 ? magic_fill_1.MagicFill : _x, metadata = _a.metadata, readonly = _a.readonly, showPasteMenu = _a.showPasteMenu, onSplitTextToColumns = _a.onSplitTextToColumns, onChoosePasteOption = _a.onChoosePasteOption, agentSuggestion = _a.agentSuggestion, isHovered = _a.isHovered, MagicFillContent = _a.MagicFillContent, _y = _a.QuickEdit, QuickEdit = _y === void 0 ? quick_edit_1.QuickEdit : _y, _z = _a.PasteMenu, PasteMenu = _z === void 0 ? paste_menu_1.PasteMenu : _z, _0 = _a.FillOptionsMenu, FillOptionsMenu = _0 === void 0 ? fill_options_menu_1.FillOptionsMenu : _0, fillOptions = _a.fillOptions, onChooseFillType = _a.onChooseFillType, onOpenFillSeriesDialog = _a.onOpenFillSeriesDialog, onCloseFillOptions = _a.onCloseFillOptions, onFillOptionsOpenChange = _a.onFillOptionsOpenChange, _1 = _a.InsertOptionsSmartTag, InsertOptionsSmartTag = _1 === void 0 ? insert_options_smart_tag_1.InsertOptionsSmartTag : _1, insertOptions = _a.insertOptions, onChooseInsertOption = _a.onChooseInsertOption, tableAutoExpansion = _a.tableAutoExpansion, onChooseTableAutoExpansionOption = _a.onChooseTableAutoExpansionOption, flashFillOptions = _a.flashFillOptions, onChooseFlashFillOption = _a.onChooseFlashFillOption, calculatedColumnFill = _a.calculatedColumnFill, onChooseCalculatedColumnOption = _a.onChooseCalculatedColumnOption, autoCorrectPlacement = _a.autoCorrectPlacement, errorCheck = _a.errorCheck, _2 = _a.errorCheckMenuOpen, errorCheckMenuOpen = _2 === void 0 ? false : _2, onErrorCheckMenuOpenChange = _a.onErrorCheckMenuOpenChange, onChooseErrorCheckOption = _a.onChooseErrorCheckOption, _3 = _a.SuggestionAction, SuggestionAction = _3 === void 0 ? suggestion_action_1.SuggestionAction : _3, onRemoveQuickEdit = _a.onRemoveQuickEdit, onAddQuickEdit = _a.onAddQuickEdit;
|
|
25
25
|
var unmirror = (0, grid_1.useIsInRtlMirrorLayer)();
|
|
26
26
|
// Show paste menu
|
|
27
27
|
var finalShowPasteMenu = !showPasteMenu
|
|
@@ -207,7 +207,7 @@ exports.Selection = (0, react_1.memo)(function (_a) {
|
|
|
207
207
|
fillOptions && type === "selection" && onChooseFillType ? (react_1.default.createElement(FillOptionsMenu, { x: x + fillHandleSize / 2, y: y + fillHandleSize / 2, width: width, height: height, mode: fillOptions.mode, fillType: fillOptions.fillType, hasDates: fillOptions.hasDates, canFlashFill: fillOptions.canFlashFill, onChooseFillType: onChooseFillType, onOpenSeriesDialog: onOpenFillSeriesDialog, onClose: onCloseFillOptions, open: fillOptions.open, onOpenChange: onFillOptionsOpenChange })) : null,
|
|
208
208
|
insertOptions && onChooseInsertOption ? (react_1.default.createElement(InsertOptionsSmartTag, { x: x, y: y + fillHandleSize / 2, width: width, height: height, axis: insertOptions.axis, option: insertOptions.option, onChooseOption: onChooseInsertOption })) : null,
|
|
209
209
|
(tableAutoExpansion && onChooseTableAutoExpansionOption) ||
|
|
210
|
-
(calculatedColumnFill && onChooseCalculatedColumnOption) ? (react_1.default.createElement(autocorrect_options_smart_tag_1.AutoCorrectOptionsSmartTag, { x: x, y: y, width: width, height: height, tableAutoExpansion: tableAutoExpansion, onChooseTableAutoExpansionOption: onChooseTableAutoExpansionOption, calculatedColumn: calculatedColumnFill, onChooseCalculatedColumnOption: onChooseCalculatedColumnOption })) : null,
|
|
210
|
+
(calculatedColumnFill && onChooseCalculatedColumnOption) ? (react_1.default.createElement(autocorrect_options_smart_tag_1.AutoCorrectOptionsSmartTag, { x: x, y: y, width: width, height: height, tableAutoExpansion: tableAutoExpansion, onChooseTableAutoExpansionOption: onChooseTableAutoExpansionOption, calculatedColumn: calculatedColumnFill, onChooseCalculatedColumnOption: onChooseCalculatedColumnOption, placement: autoCorrectPlacement })) : null,
|
|
211
211
|
flashFillOptions && onChooseFlashFillOption ? (react_1.default.createElement(flash_fill_options_smart_tag_1.FlashFillOptionsSmartTag, { x: x, y: y, width: width, height: height, changedCount: flashFillOptions.changedCount, blankCount: flashFillOptions.blankCount, onChooseOption: onChooseFlashFillOption })) : null,
|
|
212
212
|
errorCheck &&
|
|
213
213
|
type === "activeCell" &&
|
|
@@ -76,6 +76,8 @@ export type SelectionNewProps = SelectionProps<SelectionAttributes> & {
|
|
|
76
76
|
* automatically creating calculated columns" the host can carry out.
|
|
77
77
|
*/
|
|
78
78
|
calculatedColumnFill?: AutoCorrectOptionsSmartTagProps["calculatedColumn"];
|
|
79
|
+
/** Where the AutoCorrect Options button hangs on this copy (see `AutoCorrectPlacement`). */
|
|
80
|
+
autoCorrectPlacement?: AutoCorrectOptionsSmartTagProps["placement"];
|
|
79
81
|
onChooseCalculatedColumnOption?: CalculatedColumnSmartTagProps["onChooseOption"];
|
|
80
82
|
/**
|
|
81
83
|
* Excel's error-checking smart tag for THIS selection (present only on the active cell, when it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/selection/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AACxF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gC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A;CAAE,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"object-spec-schema.generated.d.ts","sourceRoot":"","sources":["../../../hooks/object-spec-schema.generated.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GACnB;IAAE,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,GACtE;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAA;CAAE,GACtC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;CAAE,GAChD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,WAAW,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,WAAW,EAAE,CAAA;CAAE,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAqrJ3D,CAAC"}
|
|
@@ -1267,6 +1267,22 @@ exports.OBJECT_SPEC_SCHEMA = {
|
|
|
1267
1267
|
"ref": "SheetRange"
|
|
1268
1268
|
}
|
|
1269
1269
|
},
|
|
1270
|
+
"stackedType": {
|
|
1271
|
+
"kind": "union",
|
|
1272
|
+
"of": [
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "enum",
|
|
1275
|
+
"values": [
|
|
1276
|
+
"PERCENT_STACKED",
|
|
1277
|
+
"STACKED",
|
|
1278
|
+
"UNSTACKED"
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"kind": "null"
|
|
1283
|
+
}
|
|
1284
|
+
]
|
|
1285
|
+
},
|
|
1270
1286
|
"trendlines": {
|
|
1271
1287
|
"kind": "union",
|
|
1272
1288
|
"of": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-editable.d.ts","sourceRoot":"","sources":["../../../hooks/use-editable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,aAAa,EACb,YAAY,EACZ,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAEL,SAAS,EAIV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-editable.d.ts","sourceRoot":"","sources":["../../../hooks/use-editable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,aAAa,EACb,YAAY,EACZ,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAEL,SAAS,EAIV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAIzE,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE9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,CAAC;IACpC,OAAO,CAAC,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,CAAC;AAK3C;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,GAAG,aAAa,EAAE,GAAG,SAAS,GAAG,IAAI,EACrC,GAAG,aAAa,EAAE,GAAG,SAAS,GAAG,IAAI,KACpC,OAyBF,CAAC;AAyEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,QAAQ,EAAE,60BA0D7C,kBAAkB,CAAC,CAAC,CAAC;;uBAuThB,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;oCA6SpB,MAAM,eACF,aAAa,cACf,SAAS,wCAEnB,aAAa,GAAG,IAAI;;;4BAxdZ,MAAM,QACT,aAAa,iBACJ,MAAM,YACX,mBAAmB;wBAo5BpB,MAAM,QACT,aAAa,iBACJ,MAAM,YACX,mBAAmB;+BApJnB,MAAM,kBACA,aAAa,EAAE,GAAG,SAAS,WAClC,MAAM,cACH,aAAa;;;6BAtKf,MAAM,kBACA,aAAa,EAAE,GAAG,SAAS,GAAG,IAAI,WACzC,MAAM,cACH,aAAa,kBACT,aAAa,GAAG,IAAI,GAAG,SAAS,uCAEtC,mBAAmB;uBA0D1B,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC;uBA0B1B,mBAAmB,KAAG,OAAO;qBA0BrC,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC;mBA9ctE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC;CAorB1C,CAAC"}
|
|
@@ -7,8 +7,10 @@ var grid_2 = require("@rowsncolumns/grid");
|
|
|
7
7
|
var utils_1 = require("@rowsncolumns/utils");
|
|
8
8
|
var react_1 = require("react");
|
|
9
9
|
var rxjs_1 = require("rxjs");
|
|
10
|
+
var editor_formula_1 = require("../api/editor-formula");
|
|
10
11
|
var table_1 = require("../api/table");
|
|
11
12
|
var atoms_1 = require("../atoms");
|
|
13
|
+
var sheet_context_atom_1 = require("../atoms/sheet-context.atom");
|
|
12
14
|
var validation_alert_atom_1 = require("../atoms/validation-alert.atom");
|
|
13
15
|
var config_1 = require("../config");
|
|
14
16
|
var platform_1 = require("../platform");
|
|
@@ -188,6 +190,7 @@ var useEditable = function (_a) {
|
|
|
188
190
|
var setActiveEditor = (0, atoms_1.useSetActiveEditor)();
|
|
189
191
|
var cellEditorInstance = (0, atoms_1.useCellEditorInstance)();
|
|
190
192
|
var setFormulaMode = (0, atoms_1.useSetFormulaMode)();
|
|
193
|
+
var formulaLocale = (0, sheet_context_atom_1.useFormulaLocale)();
|
|
191
194
|
var hideEditor = (0, react_1.useCallback)(function () {
|
|
192
195
|
setShowEditor(false);
|
|
193
196
|
currentActiveCellRef.current = null;
|
|
@@ -352,7 +355,7 @@ var useEditable = function (_a) {
|
|
|
352
355
|
setValue(value_1);
|
|
353
356
|
setTextFormatRuns(textFormatRuns_1);
|
|
354
357
|
// A formula on view is text: no reference picking, no function help.
|
|
355
|
-
setFormulaMode(!isViewOnly && (0,
|
|
358
|
+
setFormulaMode(!isViewOnly && (0, editor_formula_1.isAFormulaWhileEditing)(value_1, formulaLocale));
|
|
356
359
|
/* The editor reports a seed as a change of its document, which
|
|
357
360
|
* carries it to the host and the formula bar. A seed equal to the
|
|
358
361
|
* text it already holds — "" between edits, so Backspace under the
|
|
@@ -389,6 +392,7 @@ var useEditable = function (_a) {
|
|
|
389
392
|
cellEditorInstance,
|
|
390
393
|
setActiveEditor,
|
|
391
394
|
setFormulaMode,
|
|
395
|
+
formulaLocale,
|
|
392
396
|
]));
|
|
393
397
|
/* Activate edit mode */
|
|
394
398
|
var handleDoubleClick = (0, react_1.useCallback)(function (e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-editor-change.d.ts","sourceRoot":"","sources":["../../../hooks/use-editor-change.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAGL,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"use-editor-change.d.ts","sourceRoot":"","sources":["../../../hooks/use-editor-change.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAiB7B,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,mCAAmC,CAAC;AAG3C,KAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAAE,CAAC;IACjD,wBAAwB,CACtB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,aAAa,GAClB,aAAa,CAAC,mBAAmB,CAAC,EAAE,CAAC;IACxC,mBAAmB,EAAE,eAAe,CAAC,qBAAqB,CAAC,CAAC;IAC5D,kBAAkB,CAAC,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAC3D,kBAAkB,CAAC,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAC3D,uGAAuG;IACvG,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sGAAsG;IACtG,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,uIAQ7B,oBAAoB,aAUV,MAAM,kBACG,aAAa,EAAE,GAAG,SAAS,GAAG,IAAI,kBAClC,MAAM,cACV,aAAa,SAiF9B,CAAC"}
|
|
@@ -4,6 +4,7 @@ exports.useEditorChange = void 0;
|
|
|
4
4
|
var grid_1 = require("@rowsncolumns/grid");
|
|
5
5
|
var utils_1 = require("@rowsncolumns/utils");
|
|
6
6
|
var react_1 = require("react");
|
|
7
|
+
var editor_formula_1 = require("../api/editor-formula");
|
|
7
8
|
var atoms_1 = require("../atoms");
|
|
8
9
|
var formula_bar_editor_value_atom_1 = require("../atoms/formula-bar-editor-value.atom");
|
|
9
10
|
var formula_mode_atom_1 = require("../atoms/formula-mode.atom");
|
|
@@ -23,7 +24,8 @@ var useEditorChange = function (_a) {
|
|
|
23
24
|
setFormulabarEditorValue(value);
|
|
24
25
|
setFormulaBarTextFormatRuns(textFormatRuns);
|
|
25
26
|
// Detect formulas
|
|
26
|
-
|
|
27
|
+
// A sign in front of a number (`-3%`) is that number: arrow keys move the caret.
|
|
28
|
+
var isFormula = (0, editor_formula_1.isAFormulaWhileEditing)(value, formulaLocale);
|
|
27
29
|
// R1C1 text, read as the A1 formula it denotes for the edited cell.
|
|
28
30
|
var anchor = editingCellCoordinate !== null && editingCellCoordinate !== void 0 ? editingCellCoordinate : activeCell;
|
|
29
31
|
var a1Value = anchor
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-flash-fill-suggestion.d.ts","sourceRoot":"","sources":["../../../hooks/use-flash-fill-suggestion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGnE,0DAA0D;AAC1D,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAA;CAAE,CAAC;AAEtE,2FAA2F;AAC3F,MAAM,MAAM,uBAAuB,GAAG;IAAE,MAAM,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC;AAEnE,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,IAAI,EAAE,aAAa,CAAC;IACpB,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IAC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ion = function (_a) {
|
|
44
44
|
var readonly = _a.readonly, onFlashFillSuggest = _a.onFlashFillSuggest, onAcceptFlashFill = _a.onAcceptFlashFill, onAccepted = _a.onAccepted, _b = _a.delay, delay = _b === void 0 ? 150 : _b;
|
|
45
|
-
var _c = tslib_1.__read((0, react_1.useState)(null), 2), suggestion = _c[0],
|
|
45
|
+
var _c = tslib_1.__read((0, react_1.useState)(null), 2), suggestion = _c[0], setSuggestionState = _c[1];
|
|
46
46
|
var suggestionRef = (0, react_1.useRef)(suggestion);
|
|
47
47
|
suggestionRef.current = suggestion;
|
|
48
|
+
// Every keystroke and every commit drops the suggestion, and almost always there is none.
|
|
49
|
+
// React still renders for a set to the value it already holds when the set comes from outside
|
|
50
|
+
// the key's event (the commit runs after the submit's await): a second commit per key, and a
|
|
51
|
+
// Default-lane render left pending after each Tab / Enter. So a set that changes nothing is
|
|
52
|
+
// never sent.
|
|
53
|
+
var setSuggestion = (0, react_1.useCallback)(function (next) {
|
|
54
|
+
if (suggestionRef.current === next)
|
|
55
|
+
return;
|
|
56
|
+
suggestionRef.current = next;
|
|
57
|
+
setSuggestionState(next);
|
|
58
|
+
}, []);
|
|
48
59
|
var timerRef = (0, react_1.useRef)(undefined);
|
|
49
60
|
var enabled = !readonly && !!onFlashFillSuggest && !!onAcceptFlashFill;
|
|
50
61
|
var cancelTimer = function () {
|
|
@@ -57,7 +68,7 @@ var useFlashFillSuggestion = function (_a) {
|
|
|
57
68
|
var clear = (0, react_1.useCallback)(function () {
|
|
58
69
|
cancelTimer();
|
|
59
70
|
setSuggestion(null);
|
|
60
|
-
}, []);
|
|
71
|
+
}, [setSuggestion]);
|
|
61
72
|
/** The editor's text changed. */
|
|
62
73
|
var onEditorValueChange = (0, react_1.useCallback)(function (value, sheetId, cell) {
|
|
63
74
|
cancelTimer();
|
|
@@ -89,7 +100,7 @@ var useFlashFillSuggestion = function (_a) {
|
|
|
89
100
|
values: (0, exports.flashFillSuggestionValues)(plan.writes),
|
|
90
101
|
});
|
|
91
102
|
}, delay);
|
|
92
|
-
}, [delay, enabled, onFlashFillSuggest]);
|
|
103
|
+
}, [delay, enabled, onFlashFillSuggest, setSuggestion]);
|
|
93
104
|
/**
|
|
94
105
|
* The editor committed. A keyboard commit (`nextActiveCell` set — Enter, Tab) of the very text
|
|
95
106
|
* the suggestion was learned from accepts it; every other commit drops it. Returns whether the
|
|
@@ -111,7 +122,7 @@ var useFlashFillSuggestion = function (_a) {
|
|
|
111
122
|
onAcceptFlashFill === null || onAcceptFlashFill === void 0 ? void 0 : onAcceptFlashFill(sheetId, shown.writes);
|
|
112
123
|
onAccepted === null || onAccepted === void 0 ? void 0 : onAccepted(shown);
|
|
113
124
|
return true;
|
|
114
|
-
}, [onAcceptFlashFill, onAccepted]);
|
|
125
|
+
}, [onAcceptFlashFill, onAccepted, setSuggestion]);
|
|
115
126
|
/** The greyed value to paint in a blank cell, when a suggestion covers it. */
|
|
116
127
|
var getSuggestedValue = (0, react_1.useCallback)(function (sheetId, rowIndex, columnIndex) {
|
|
117
128
|
return suggestion && suggestion.sheetId === sheetId
|
|
@@ -37,7 +37,13 @@ type UseGridChildrenProps = {
|
|
|
37
37
|
frozenRows: number;
|
|
38
38
|
};
|
|
39
39
|
export declare const useGridChildren: ({ stickyEditor, editorComponent, shownNoteComponents, chartComponents, embedComponents, slicerComponents, pivotPlaceholders, tableResizers, hiddenColumnMarkers, frozenHiddenColumnMarkers, hiddenRowMarkers, frozenHiddenRowMarkers, gridLineWidth, frozenColumns, frozenRows, headerMenuComponent, isHeaderMenuInFrozenColumn, popoverRange, popoverComponent, cellExpandComponent, arrowComponents, editorPaneId, getCellOffsetFromCoords, }: UseGridChildrenProps) => (props: GridChildrenProps) => React.JSX.Element;
|
|
40
|
-
|
|
40
|
+
/**
|
|
41
|
+
* One pane's layer of host-drawn children (objects, notes, the editor…), clipped to the pane. It
|
|
42
|
+
* clips without being a scroll container (`overflow: clip`): with `hidden`, focusing something
|
|
43
|
+
* partly outside the pane (Tab onto a control inside an object cut by a split bar) made the
|
|
44
|
+
* browser scroll the layer, and everything in it stayed drawn off its cell (review of #1667).
|
|
45
|
+
*/
|
|
46
|
+
export declare const StyledGridChildren: ({ className, elevate, style, ...props }: React.HTMLAttributes<HTMLDivElement> & {
|
|
41
47
|
elevate?: boolean;
|
|
42
48
|
}) => React.JSX.Element;
|
|
43
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-grid-children.d.ts","sourceRoot":"","sources":["../../../hooks/use-grid-children.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,QAAQ,EACT,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGzE,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAK3D,KAAK,oBAAoB,GAAG;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC3C,eAAe,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACvE,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,iBAAiB,CAAC,CAAC;IAC5E,eAAe,EACX,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,iBAAiB,CAAC,GACrD,IAAI,GACJ,SAAS,CAAC;IACd,gBAAgB,EACZ,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,kBAAkB,CAAC,GACtD,IAAI,GACJ,SAAS,CAAC;IACd,iBAAiB,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC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CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,sBAAsB,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D,mBAAmB,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,gBAAgB,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,mBAAmB,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,uEAAuE;IACvE,eAAe,CAAC,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;IACrD;;;;OAIG;IACH,YAAY,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC9B,YAAY,CAAC,EAAE,UAAU,GAAG,eAAe,CAAC;IAC5C,gGAAgG;IAChG,uBAAuB,CAAC,CAAC,IAAI,EAAE,aAAa,GAAG,YAAY,GAAG,SAAS,CAAC;IACxE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,ibAwB7B,oBAAoB,aAiBX,iBAAiB,sBAsS5B,CAAC;AA+BF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,yCAKhC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,sBAU9D,CAAC"}
|
|
@@ -270,8 +270,14 @@ var getCellPlacement = function (editingCell, frozenRows, frozenColumns) {
|
|
|
270
270
|
return "row";
|
|
271
271
|
return "body";
|
|
272
272
|
};
|
|
273
|
+
/**
|
|
274
|
+
* One pane's layer of host-drawn children (objects, notes, the editor…), clipped to the pane. It
|
|
275
|
+
* clips without being a scroll container (`overflow: clip`): with `hidden`, focusing something
|
|
276
|
+
* partly outside the pane (Tab onto a control inside an object cut by a split bar) made the
|
|
277
|
+
* browser scroll the layer, and everything in it stayed drawn off its cell (review of #1667).
|
|
278
|
+
*/
|
|
273
279
|
var StyledGridChildren = function (_a) {
|
|
274
|
-
var className = _a.className, elevate = _a.elevate, props = tslib_1.__rest(_a, ["className", "elevate"]);
|
|
275
|
-
return (react_1.default.createElement("div", tslib_1.__assign({ className: (0, ui_1.cn)("absolute inset-0 overflow-hidden pointer-events-none", elevate ? "z-[1]" : undefined, className) }, props)));
|
|
280
|
+
var className = _a.className, elevate = _a.elevate, style = _a.style, props = tslib_1.__rest(_a, ["className", "elevate", "style"]);
|
|
281
|
+
return (react_1.default.createElement("div", tslib_1.__assign({ className: (0, ui_1.cn)("absolute inset-0 overflow-hidden pointer-events-none", elevate ? "z-[1]" : undefined, className), style: tslib_1.__assign(tslib_1.__assign({}, style), { overflow: "clip" }) }, props)));
|
|
276
282
|
};
|
|
277
283
|
exports.StyledGridChildren = StyledGridChildren;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-selection-renderer.d.ts","sourceRoot":"","sources":["../../../hooks/use-selection-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAKlB,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAShE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAEL,KAAK,uBAAuB,EAE7B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-selection-renderer.d.ts","sourceRoot":"","sources":["../../../hooks/use-selection-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAKlB,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAShE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAEL,KAAK,uBAAuB,EAE7B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAM5D,MAAM,MAAM,yBAAyB,GAAG;IACtC,cAAc,EAAE,MAAM,CAAC;IACv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ined;
|
|
64
64
|
};
|
|
65
65
|
// The AutoCorrect Options tag belongs to the cell its edit was made in, not to the cursor:
|
|
66
|
-
// `CanvasGrid` marks that cell with an anchor border style, and the tag
|
|
67
|
-
//
|
|
68
|
-
|
|
66
|
+
// `CanvasGrid` marks that cell with an anchor border style, and the tag hangs from its
|
|
67
|
+
// bottom-right corner (Excel for Mac), on the copy that holds that corner. When no copy
|
|
68
|
+
// shows that corner (it sits on a split bar), the copy showing the cell draws the tag kept
|
|
69
|
+
// inside its pane, on the side the bar leaves room (`holdsCornerOrCell`; a grid without it
|
|
70
|
+
// falls back to `holdsCorner`).
|
|
71
|
+
var autoCorrectPlacement = type !== exports.AUTOCORRECT_ANCHOR_TYPE
|
|
72
|
+
? undefined
|
|
73
|
+
: props.holdsCorner
|
|
74
|
+
? "outside"
|
|
75
|
+
: props.holdsCornerOrCell
|
|
76
|
+
? props.holdsTopRightCorner
|
|
77
|
+
? "above-bar"
|
|
78
|
+
: props.holdsBottomLeftCorner
|
|
79
|
+
? "left-of-bar"
|
|
80
|
+
: "inside"
|
|
81
|
+
: undefined;
|
|
82
|
+
var autoCorrectKinds = autoCorrectPlacement
|
|
69
83
|
? ((_b = (_a = props.metadata) === null || _a === void 0 ? void 0 : _a.autoCorrect) !== null && _b !== void 0 ? _b : [])
|
|
70
84
|
: undefined;
|
|
71
85
|
var isFill = type === "fill";
|
|
@@ -190,7 +204,7 @@ var useSelectionRenderer = function (_a) {
|
|
|
190
204
|
canOverwrite: canOverwriteCalculatedColumn,
|
|
191
205
|
canStop: canStopAutoCalculatedColumns,
|
|
192
206
|
}
|
|
193
|
-
: undefined, onChooseCalculatedColumnOption: onChooseCalculatedColumnOption, errorCheck: type === "activeCell" ? errorCheck : undefined, errorCheckMenuOpen: errorCheckMenuOpen, onErrorCheckMenuOpenChange: onErrorCheckMenuOpenChange, onChooseErrorCheckOption: onChooseErrorCheckOption, sheetId: sheetId, MagicFillContent: MagicFillContent, QuickEdit: QuickEdit, PasteMenu: PasteMenu, onChoosePasteOption: onChoosePasteOption, SuggestionAction: SuggestionAction, onSplitTextToColumns: function (delimiter) {
|
|
207
|
+
: undefined, onChooseCalculatedColumnOption: onChooseCalculatedColumnOption, autoCorrectPlacement: autoCorrectPlacement, errorCheck: type === "activeCell" ? errorCheck : undefined, errorCheckMenuOpen: errorCheckMenuOpen, onErrorCheckMenuOpenChange: onErrorCheckMenuOpenChange, onChooseErrorCheckOption: onChooseErrorCheckOption, sheetId: sheetId, MagicFillContent: MagicFillContent, QuickEdit: QuickEdit, PasteMenu: PasteMenu, onChoosePasteOption: onChoosePasteOption, SuggestionAction: SuggestionAction, onSplitTextToColumns: function (delimiter) {
|
|
194
208
|
// Active cell
|
|
195
209
|
var newActiveCell = range
|
|
196
210
|
? {
|
package/dist/cjs/release-date.js
CHANGED
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.releaseDate = void 0;
|
|
5
5
|
exports.releaseDate =
|
|
6
6
|
// @ts-ignore
|
|
7
|
-
(_a = new Date("2026-11-
|
|
7
|
+
(_a = new Date("2026-11-19")) !== null && _a !== void 0 ? _a : new Date("2025-06-18");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../../config.ts","../../helpers.ts","../../index.tsx","../../platform.ts","../../release-date.ts","../../test-setup.ts","../../themes.ts","../../types.ts","../../vitest.config.ts","../../api/animate.ts","../../api/autocomplete.ts","../../api/banded-ranges.ts","../../api/calculated-column-fill.ts","../../api/cf-data-bar.ts","../../api/cf-engine.ts","../../api/cf-icons.ts","../../api/cf-overlays.ts","../../api/cf-priority.ts","../../api/cf-window.ts","../../api/chart-sheet.ts","../../api/chart-source-ranges.ts","../../api/colors.ts","../../api/copy-paste.ts","../../api/error-checking.ts","../../api/evaluate-formula.ts","../../api/excel-edit-value.ts","../../api/excel-validation-kinds.ts","../../api/fill-patterns.ts","../../api/fill-series.ts","../../api/font-loader.ts","../../api/go-to-special.ts","../../api/go-to.ts","../../api/heatmap.ts","../../api/index-ranges.ts","../../api/insert-options.ts","../../api/move-overwrite.ts","../../api/multi-selection.ts","../../api/scheduler.ts","../../api/scroller.ts","../../api/selections.ts","../../api/split-pane.ts","../../api/spreadsheet-api.ts","../../api/table-auto-expansion.ts","../../api/table.ts","../../api/validation-tooltip.tsx","../../api/validation.ts","../../atoms/active-editor.atom.ts","../../atoms/advanced-filter-dialog.atom.ts","../../atoms/calculated-column-fill.atom.ts","../../atoms/cell-editor-mode.atom.ts","../../atoms/cell-input-context.atom.ts","../../atoms/chart-actions.atom.ts","../../atoms/consolidate-dialog.atom.ts","../../atoms/copied-range.atom.ts","../../atoms/editing-cell.atom.ts","../../atoms/enter-key-direction.atom.ts","../../atoms/evaluate-formula-dialog.atom.ts","../../atoms/fill-options.atom.ts","../../atoms/fill-series-dialog.atom.ts","../../atoms/flash-fill-options.atom.ts","../../atoms/formula-bar-editor-value.atom.ts","../../atoms/formula-mode.atom.ts","../../atoms/formula-selection-state.atom.ts","../../atoms/formula-selections.atom.ts","../../atoms/go-to-dialog.atom.ts","../../atoms/goal-seek-dialog.atom.ts","../../atoms/index.ts","../../atoms/insert-cells-dialog.atom.ts","../../atoms/insert-options.atom.ts","../../atoms/loading-indicator.atom.ts","../../atoms/magic-fill-state.atom.ts","../../atoms/move-chart-dialog.atom.ts","../../atoms/move-overwrite-confirm.atom.ts","../../atoms/outline-settings-dialog.atom.ts","../../atoms/paste-menu.atom.ts","../../atoms/paste-special-dialog.atom.ts","../../atoms/persistent-tooltip.atom.ts","../../atoms/pick-list.atom.ts","../../atoms/popover.atom.ts","../../atoms/range-selector.atom.ts","../../atoms/remove-duplicates-dialog.atom.ts","../../atoms/selected-chart-embed.atom.ts","../../atoms/selected-chart-series.atom.ts","../../atoms/selected-object-formula.atom.ts","../../atoms/sheet-context.atom.ts","../../atoms/sheet-status-display.atom.ts","../../atoms/show-formula-help.atom.ts","../../atoms/sort-dialog.atom.ts","../../atoms/sparkline-dialog.atom.ts","../../atoms/spreadsheet-api.atom.ts","../../atoms/subtotal-dialog.atom.ts","../../atoms/table-auto-expansion.atom.ts","../../atoms/text-to-columns-dialog.atom.ts","../../atoms/validation-alert.atom.ts","../../atoms/watch-window.atom.ts","../../components/advanced-filter-dialog/index.tsx","../../components/autocorrect-options-smart-tag/index.tsx","../../components/bottom-bar/index.tsx","../../components/calculated-column-smart-tag/index.tsx","../../components/calculation-options-dialog/index.tsx","../../components/canvas-grid/helpers.ts","../../components/canvas-grid/index.tsx","../../components/canvas-grid/overflow.ts","../../components/canvas-grid/page-break-preview-styles.ts","../../components/canvas-grid/page-breaks.ts","../../components/canvas-grid/typings.ts","../../components/cell/alignment.ts","../../components/cell/cell-background.tsx","../../components/cell/cell-backgrounds.tsx","../../components/cell/cell-text-runs.tsx","../../components/cell/helpers.ts","../../components/cell/index.tsx","../../components/cell/line-height.ts","../../components/cell/number-format-layout.ts","../../components/cell/rich-text.ts","../../components/cell/typings.ts","../../components/cell-arrow/index.tsx","../../components/cell-calculated/index.tsx","../../components/cell-checkbox/index.tsx","../../components/cell-diff/index.tsx","../../components/cell-editor/calendar-popup.tsx","../../components/cell-editor/formula-result-preview.tsx","../../components/cell-editor/helpers.ts","../../components/cell-editor/index.tsx","../../components/cell-editor/style.tsx","../../components/cell-expand/index.tsx","../../components/cell-filter/index.tsx","../../components/cell-group/index.tsx","../../components/cell-indicator/index.tsx","../../components/cell-input/cell-input.tsx","../../components/cell-input/formula-bar-cell-input.tsx","../../components/cell-input/index.tsx","../../components/cell-input/style.tsx","../../components/cell-overlay/index.tsx","../../components/cell-structured/cell-image.tsx","../../components/cell-structured/image-geometry.ts","../../components/cell-structured/index.tsx","../../components/cell-structured/sparkline-math.ts","../../components/cell-structured/sparkline.tsx","../../components/cell-structured/types.ts","../../components/cell-tooltip/index.tsx","../../components/cell-tooltip/note-editor.tsx","../../components/cell-tooltip/style.tsx","../../components/cf-icon-preview/index.tsx","../../components/chart-sheet-view/index.tsx","../../components/consolidate-dialog/index.tsx","../../components/context-menu/embed-context-menu.tsx","../../components/context-menu/index.tsx","../../components/context-menu/menu.tsx","../../components/context-menu/style.tsx","../../components/context-menu/total-row-function-menu.tsx","../../components/context-menu/total-row-functions.ts","../../components/data-table-dialog/index.tsx","../../components/embeds/chart-component.tsx","../../components/embeds/embed-component.tsx","../../components/embeds/embed-draggable.tsx","../../components/embeds/index.tsx","../../components/embeds/linked-picture.tsx","../../components/embeds/object-focus.ts","../../components/embeds/page-gaps.ts","../../components/embeds/pane-copy.tsx","../../components/embeds/shape-geometry.ts","../../components/embeds/shape-svg.tsx","../../components/embeds/slicer-component.tsx","../../components/embeds/text-box-view.tsx","../../components/error-check-smart-tag/index.tsx","../../components/evaluate-formula-dialog/index.tsx","../../components/fill-handle/index.tsx","../../components/fill-series-dialog/index.tsx","../../components/filter-box/date-tree.ts","../../components/filter-box/filter-by-color.tsx","../../components/filter-box/filter-by-condition.tsx","../../components/filter-box/filter-by-value.tsx","../../components/filter-box/index.tsx","../../components/flash-fill-options-smart-tag/index.tsx","../../components/floating-cell-editor/index.tsx","../../components/forecast-sheet-dialog/index.tsx","../../components/formula-bar/index.tsx","../../components/formula-bar/style.tsx","../../components/formula-input/index.tsx","../../components/go-to-dialog/index.tsx","../../components/goal-seek-dialog/index.tsx","../../components/grid-footer/index.tsx","../../components/header-cell/index.tsx","../../components/header-menu/index.tsx","../../components/header-move/index.tsx","../../components/header-resizer/index.tsx","../../components/hidden-markers/index.tsx","../../components/hidden-markers/style.tsx","../../components/insert-cells-dialog/index.tsx","../../components/insert-function-dialog/index.tsx","../../components/insert-options-smart-tag/index.tsx","../../components/loading-indicator/index.tsx","../../components/move-chart-dialog/index.tsx","../../components/move-overwrite-confirm-dialog/index.tsx","../../components/outline-gutter/index.tsx","../../components/outline-gutter/offsets.ts","../../components/outline-settings-dialog/index.tsx","../../components/page-layout-view/compute-page-layout.ts","../../components/page-layout-view/header-footer-codes.ts","../../components/page-layout-view/index.ts","../../components/page-layout-view/page-layout-chrome.tsx","../../components/paste-special-dialog/index.tsx","../../components/pivot-placeholder/index.tsx","../../components/print-preview/cell-styles.ts","../../components/print-preview/index.ts","../../components/print-preview/page-block.tsx","../../components/print-preview/page-break-preview.ts","../../components/print-preview/print-cells.ts","../../components/print-preview/print-comments.tsx","../../components/print-preview/print-preview-dialog.tsx","../../components/print-preview/run-print.ts","../../components/print-preview/settings.ts","../../components/print-preview/sheet-page-setup.ts","../../components/print-preview/use-page-layout.ts","../../components/protect-sheet-dialog/allow-edit-ranges-dialog.tsx","../../components/protect-sheet-dialog/constants.ts","../../components/protect-sheet-dialog/index.tsx","../../components/range-selector/index.tsx","../../components/remove-duplicates-dialog/index.tsx","../../components/resizer/index.tsx","../../components/scenario-manager-dialog/index.tsx","../../components/selection/avatar.tsx","../../components/selection/fill-options-menu.tsx","../../components/selection/index.tsx","../../components/selection/magic-fill.tsx","../../components/selection/paste-menu.tsx","../../components/selection/paste-options.ts","../../components/selection/quick-edit.tsx","../../components/selection/style.tsx","../../components/selection/suggestion-action.tsx","../../components/selection/title.tsx","../../components/selection/types.ts","../../components/selection-drop-menu/index.tsx","../../components/selection-input/index.tsx","../../components/selection-input/style.tsx","../../components/sheet-background/index.tsx","../../components/sheet-search/index.tsx","../../components/sheet-status/index.tsx","../../components/sheet-status/style.tsx","../../components/sheet-switcher/index.tsx","../../components/sheet-switcher/new-sheet-button.tsx","../../components/sheet-tabs/context-menu.tsx","../../components/sheet-tabs/index.tsx","../../components/sheet-tabs/sheet-tab.tsx","../../components/sheet-tabs/style.tsx","../../components/sheet-tabs/types.ts","../../components/solver-dialog/index.tsx","../../components/sort-range-dialog/index.tsx","../../components/sparkline-dialog/index.tsx","../../components/subtotal-dialog/index.tsx","../../components/table-auto-expansion-smart-tag/index.tsx","../../components/text-to-columns-dialog/index.tsx","../../components/toolbar/background-color-selector.tsx","../../components/toolbar/border-color-selector.tsx","../../components/toolbar/border-line-style-options.tsx","../../components/toolbar/border-line-style-selector.tsx","../../components/toolbar/border-location-options.tsx","../../components/toolbar/border-selector.tsx","../../components/toolbar/buttons.tsx","../../components/toolbar/cell-style-selector.tsx","../../components/toolbar/color-selector.tsx","../../components/toolbar/fill-selectors.tsx","../../components/toolbar/font-family-selector.tsx","../../components/toolbar/font-size-selector.tsx","../../components/toolbar/index.tsx","../../components/toolbar/insert-menu.tsx","../../components/toolbar/merge-cells-selector.tsx","../../components/toolbar/scale-selector.tsx","../../components/toolbar/sparkline-actions.tsx","../../components/toolbar/style.tsx","../../components/toolbar/table-actions.tsx","../../components/toolbar/table-style-editor.tsx","../../components/toolbar/table-style-selector.tsx","../../components/toolbar/text-color-selector.tsx","../../components/toolbar/text-format-selector.tsx","../../components/toolbar/text-horizontal-align-selector.tsx","../../components/toolbar/text-rotation-selector.tsx","../../components/toolbar/text-vertical-align-selector.tsx","../../components/toolbar/text-wrap-selector.tsx","../../components/toolbar/theme-selector.tsx","../../components/toolbar/toolbar.tsx","../../components/toolbar/types.ts","../../components/toolbar/view-menu.tsx","../../components/validation-alert-dialog/index.tsx","../../components/watch-window/index.tsx","../../helpers/merged-cell-borders.ts","../../hooks/export-range-tiles.ts","../../hooks/index.ts","../../hooks/object-clipboard-payload.ts","../../hooks/object-spec-schema.generated.ts","../../hooks/show-zeros.ts","../../hooks/use-async.ts","../../hooks/use-border-styles.ts","../../hooks/use-callback-ref.ts","../../hooks/use-cell-diff-highlight.ts","../../hooks/use-cell-popover.tsx","../../hooks/use-cell-renderer.tsx","../../hooks/use-chart-clipboard.ts","../../hooks/use-chart-source-ranges.ts","../../hooks/use-column-color-icons.ts","../../hooks/use-conditional-formatting.ts","../../hooks/use-context-menu.tsx","../../hooks/use-context-setter.ts","../../hooks/use-copy-paste-cut.tsx","../../hooks/use-create-address-from-selection.ts","../../hooks/use-create-formula-tokenizer.ts","../../hooks/use-delayed-value.ts","../../hooks/use-editable.tsx","../../hooks/use-editor-cancel.ts","../../hooks/use-editor-change.ts","../../hooks/use-editor-keydown.ts","../../hooks/use-editor-submit.ts","../../hooks/use-embeds-charts.tsx","../../hooks/use-expand-cell.tsx","../../hooks/use-export-range.ts","../../hooks/use-filter.ts","../../hooks/use-flash-fill-suggestion.ts","../../hooks/use-flash.ts","../../hooks/use-fonts.ts","../../hooks/use-formula-range-helpers.ts","../../hooks/use-get-tooltip.tsx","../../hooks/use-get-values-from-range.ts","../../hooks/use-grid-children.tsx","../../hooks/use-header-actions.tsx","../../hooks/use-hidden-dimension-markers.tsx","../../hooks/use-hidden-dimensions.ts","../../hooks/use-hovered-selection-ids.ts","../../hooks/use-isomorphic-layout-effect.ts","../../hooks/use-keyboard-handler.tsx","../../hooks/use-licensekey-validator.tsx","../../hooks/use-memo-compare.ts","../../hooks/use-merge.refs.ts","../../hooks/use-move-columns-rows.tsx","../../hooks/use-navigate-sheet-range.ts","../../hooks/use-previous.ts","../../hooks/use-raf.ts","../../hooks/use-resize-observer.ts","../../hooks/use-reveal-chart-embed.ts","../../hooks/use-scale-listener.ts","../../hooks/use-selected-rows-columns.ts","../../hooks/use-selection-aware-formatting.ts","../../hooks/use-selection-change.ts","../../hooks/use-selection-drag-copy.ts","../../hooks/use-selection-interceptors.ts","../../hooks/use-selection-move.ts","../../hooks/use-selection-renderer.tsx","../../hooks/use-selection-resize.ts","../../hooks/use-selection.ts","../../hooks/use-sheet-change-handler.ts","../../hooks/use-shown-notes.tsx","../../hooks/use-sizer.ts","../../hooks/use-spreadsheet-theme.ts","../../hooks/use-stable-ref.ts","../../hooks/use-structured-reference-selection.ts","../../hooks/use-table-hit-zones.ts","../../hooks/use-table-resizer.tsx","../../hooks/use-text-dimensions.ts","../../hooks/use-tooltip.ts","../../hooks/use-touch.ts","../../providers/spreadsheet-provider.tsx","../../signals/scroll-subscriber.ts","../../utils/copy-as-picture.ts","../../utils/maybe.ts","../../utils/pivot-chart-field-buttons.ts","../../utils/z-order.ts"],"version":"5.8.3"}
|
|
1
|
+
{"root":["../../config.ts","../../helpers.ts","../../index.tsx","../../platform.ts","../../release-date.ts","../../test-setup.ts","../../themes.ts","../../types.ts","../../vitest.config.ts","../../api/animate.ts","../../api/autocomplete.ts","../../api/banded-ranges.ts","../../api/calculated-column-fill.ts","../../api/cf-data-bar.ts","../../api/cf-engine.ts","../../api/cf-icons.ts","../../api/cf-overlays.ts","../../api/cf-priority.ts","../../api/cf-window.ts","../../api/chart-sheet.ts","../../api/chart-source-ranges.ts","../../api/colors.ts","../../api/copy-paste.ts","../../api/editor-formula.ts","../../api/error-checking.ts","../../api/evaluate-formula.ts","../../api/excel-edit-value.ts","../../api/excel-validation-kinds.ts","../../api/fill-patterns.ts","../../api/fill-series.ts","../../api/font-loader.ts","../../api/go-to-special.ts","../../api/go-to.ts","../../api/heatmap.ts","../../api/index-ranges.ts","../../api/insert-options.ts","../../api/move-overwrite.ts","../../api/multi-selection.ts","../../api/scheduler.ts","../../api/scroller.ts","../../api/selections.ts","../../api/split-pane.ts","../../api/spreadsheet-api.ts","../../api/table-auto-expansion.ts","../../api/table.ts","../../api/validation-tooltip.tsx","../../api/validation.ts","../../atoms/active-editor.atom.ts","../../atoms/advanced-filter-dialog.atom.ts","../../atoms/calculated-column-fill.atom.ts","../../atoms/cell-editor-mode.atom.ts","../../atoms/cell-input-context.atom.ts","../../atoms/chart-actions.atom.ts","../../atoms/consolidate-dialog.atom.ts","../../atoms/copied-range.atom.ts","../../atoms/editing-cell.atom.ts","../../atoms/enter-key-direction.atom.ts","../../atoms/evaluate-formula-dialog.atom.ts","../../atoms/fill-options.atom.ts","../../atoms/fill-series-dialog.atom.ts","../../atoms/flash-fill-options.atom.ts","../../atoms/formula-bar-editor-value.atom.ts","../../atoms/formula-mode.atom.ts","../../atoms/formula-selection-state.atom.ts","../../atoms/formula-selections.atom.ts","../../atoms/go-to-dialog.atom.ts","../../atoms/goal-seek-dialog.atom.ts","../../atoms/index.ts","../../atoms/insert-cells-dialog.atom.ts","../../atoms/insert-options.atom.ts","../../atoms/loading-indicator.atom.ts","../../atoms/magic-fill-state.atom.ts","../../atoms/move-chart-dialog.atom.ts","../../atoms/move-overwrite-confirm.atom.ts","../../atoms/outline-settings-dialog.atom.ts","../../atoms/paste-menu.atom.ts","../../atoms/paste-special-dialog.atom.ts","../../atoms/persistent-tooltip.atom.ts","../../atoms/pick-list.atom.ts","../../atoms/popover.atom.ts","../../atoms/range-selector.atom.ts","../../atoms/remove-duplicates-dialog.atom.ts","../../atoms/selected-chart-embed.atom.ts","../../atoms/selected-chart-series.atom.ts","../../atoms/selected-object-formula.atom.ts","../../atoms/sheet-context.atom.ts","../../atoms/sheet-status-display.atom.ts","../../atoms/show-formula-help.atom.ts","../../atoms/sort-dialog.atom.ts","../../atoms/sparkline-dialog.atom.ts","../../atoms/spreadsheet-api.atom.ts","../../atoms/subtotal-dialog.atom.ts","../../atoms/table-auto-expansion.atom.ts","../../atoms/text-to-columns-dialog.atom.ts","../../atoms/validation-alert.atom.ts","../../atoms/watch-window.atom.ts","../../components/advanced-filter-dialog/index.tsx","../../components/autocorrect-options-smart-tag/index.tsx","../../components/bottom-bar/index.tsx","../../components/calculated-column-smart-tag/index.tsx","../../components/calculation-options-dialog/index.tsx","../../components/canvas-grid/helpers.ts","../../components/canvas-grid/index.tsx","../../components/canvas-grid/overflow.ts","../../components/canvas-grid/page-break-preview-styles.ts","../../components/canvas-grid/page-breaks.ts","../../components/canvas-grid/typings.ts","../../components/cell/alignment.ts","../../components/cell/cell-background.tsx","../../components/cell/cell-backgrounds.tsx","../../components/cell/cell-text-runs.tsx","../../components/cell/helpers.ts","../../components/cell/index.tsx","../../components/cell/line-height.ts","../../components/cell/number-format-layout.ts","../../components/cell/rich-text.ts","../../components/cell/typings.ts","../../components/cell-arrow/index.tsx","../../components/cell-calculated/index.tsx","../../components/cell-checkbox/index.tsx","../../components/cell-diff/index.tsx","../../components/cell-editor/calendar-popup.tsx","../../components/cell-editor/formula-result-preview.tsx","../../components/cell-editor/helpers.ts","../../components/cell-editor/index.tsx","../../components/cell-editor/style.tsx","../../components/cell-expand/index.tsx","../../components/cell-filter/index.tsx","../../components/cell-group/index.tsx","../../components/cell-indicator/index.tsx","../../components/cell-input/cell-input.tsx","../../components/cell-input/formula-bar-cell-input.tsx","../../components/cell-input/index.tsx","../../components/cell-input/style.tsx","../../components/cell-overlay/index.tsx","../../components/cell-structured/cell-image.tsx","../../components/cell-structured/image-geometry.ts","../../components/cell-structured/index.tsx","../../components/cell-structured/sparkline-math.ts","../../components/cell-structured/sparkline.tsx","../../components/cell-structured/types.ts","../../components/cell-tooltip/index.tsx","../../components/cell-tooltip/note-editor.tsx","../../components/cell-tooltip/style.tsx","../../components/cf-icon-preview/index.tsx","../../components/chart-sheet-view/index.tsx","../../components/consolidate-dialog/index.tsx","../../components/context-menu/embed-context-menu.tsx","../../components/context-menu/index.tsx","../../components/context-menu/menu.tsx","../../components/context-menu/style.tsx","../../components/context-menu/total-row-function-menu.tsx","../../components/context-menu/total-row-functions.ts","../../components/data-table-dialog/index.tsx","../../components/embeds/chart-component.tsx","../../components/embeds/embed-component.tsx","../../components/embeds/embed-draggable.tsx","../../components/embeds/index.tsx","../../components/embeds/linked-picture.tsx","../../components/embeds/object-focus.ts","../../components/embeds/page-gaps.ts","../../components/embeds/pane-copy.tsx","../../components/embeds/shape-geometry.ts","../../components/embeds/shape-svg.tsx","../../components/embeds/slicer-component.tsx","../../components/embeds/text-box-view.tsx","../../components/error-check-smart-tag/index.tsx","../../components/evaluate-formula-dialog/index.tsx","../../components/fill-handle/index.tsx","../../components/fill-series-dialog/index.tsx","../../components/filter-box/date-tree.ts","../../components/filter-box/filter-by-color.tsx","../../components/filter-box/filter-by-condition.tsx","../../components/filter-box/filter-by-value.tsx","../../components/filter-box/index.tsx","../../components/flash-fill-options-smart-tag/index.tsx","../../components/floating-cell-editor/index.tsx","../../components/forecast-sheet-dialog/index.tsx","../../components/formula-bar/index.tsx","../../components/formula-bar/style.tsx","../../components/formula-input/index.tsx","../../components/go-to-dialog/index.tsx","../../components/goal-seek-dialog/index.tsx","../../components/grid-footer/index.tsx","../../components/header-cell/index.tsx","../../components/header-menu/index.tsx","../../components/header-move/index.tsx","../../components/header-resizer/index.tsx","../../components/hidden-markers/index.tsx","../../components/hidden-markers/style.tsx","../../components/insert-cells-dialog/index.tsx","../../components/insert-function-dialog/index.tsx","../../components/insert-options-smart-tag/index.tsx","../../components/loading-indicator/index.tsx","../../components/move-chart-dialog/index.tsx","../../components/move-overwrite-confirm-dialog/index.tsx","../../components/outline-gutter/index.tsx","../../components/outline-gutter/offsets.ts","../../components/outline-settings-dialog/index.tsx","../../components/page-layout-view/compute-page-layout.ts","../../components/page-layout-view/header-footer-codes.ts","../../components/page-layout-view/index.ts","../../components/page-layout-view/page-layout-chrome.tsx","../../components/paste-special-dialog/index.tsx","../../components/pivot-placeholder/index.tsx","../../components/print-preview/cell-styles.ts","../../components/print-preview/index.ts","../../components/print-preview/page-block.tsx","../../components/print-preview/page-break-preview.ts","../../components/print-preview/print-cells.ts","../../components/print-preview/print-comments.tsx","../../components/print-preview/print-preview-dialog.tsx","../../components/print-preview/run-print.ts","../../components/print-preview/settings.ts","../../components/print-preview/sheet-page-setup.ts","../../components/print-preview/use-page-layout.ts","../../components/protect-sheet-dialog/allow-edit-ranges-dialog.tsx","../../components/protect-sheet-dialog/constants.ts","../../components/protect-sheet-dialog/index.tsx","../../components/range-selector/index.tsx","../../components/remove-duplicates-dialog/index.tsx","../../components/resizer/index.tsx","../../components/scenario-manager-dialog/index.tsx","../../components/selection/avatar.tsx","../../components/selection/fill-options-menu.tsx","../../components/selection/index.tsx","../../components/selection/magic-fill.tsx","../../components/selection/paste-menu.tsx","../../components/selection/paste-options.ts","../../components/selection/quick-edit.tsx","../../components/selection/style.tsx","../../components/selection/suggestion-action.tsx","../../components/selection/title.tsx","../../components/selection/types.ts","../../components/selection-drop-menu/index.tsx","../../components/selection-input/index.tsx","../../components/selection-input/style.tsx","../../components/sheet-background/index.tsx","../../components/sheet-search/index.tsx","../../components/sheet-status/index.tsx","../../components/sheet-status/style.tsx","../../components/sheet-switcher/index.tsx","../../components/sheet-switcher/new-sheet-button.tsx","../../components/sheet-tabs/context-menu.tsx","../../components/sheet-tabs/index.tsx","../../components/sheet-tabs/sheet-tab.tsx","../../components/sheet-tabs/style.tsx","../../components/sheet-tabs/types.ts","../../components/solver-dialog/index.tsx","../../components/sort-range-dialog/index.tsx","../../components/sparkline-dialog/index.tsx","../../components/subtotal-dialog/index.tsx","../../components/table-auto-expansion-smart-tag/index.tsx","../../components/text-to-columns-dialog/index.tsx","../../components/toolbar/background-color-selector.tsx","../../components/toolbar/border-color-selector.tsx","../../components/toolbar/border-line-style-options.tsx","../../components/toolbar/border-line-style-selector.tsx","../../components/toolbar/border-location-options.tsx","../../components/toolbar/border-selector.tsx","../../components/toolbar/buttons.tsx","../../components/toolbar/cell-style-selector.tsx","../../components/toolbar/color-selector.tsx","../../components/toolbar/fill-selectors.tsx","../../components/toolbar/font-family-selector.tsx","../../components/toolbar/font-size-selector.tsx","../../components/toolbar/index.tsx","../../components/toolbar/insert-menu.tsx","../../components/toolbar/merge-cells-selector.tsx","../../components/toolbar/scale-selector.tsx","../../components/toolbar/sparkline-actions.tsx","../../components/toolbar/style.tsx","../../components/toolbar/table-actions.tsx","../../components/toolbar/table-style-editor.tsx","../../components/toolbar/table-style-selector.tsx","../../components/toolbar/text-color-selector.tsx","../../components/toolbar/text-format-selector.tsx","../../components/toolbar/text-horizontal-align-selector.tsx","../../components/toolbar/text-rotation-selector.tsx","../../components/toolbar/text-vertical-align-selector.tsx","../../components/toolbar/text-wrap-selector.tsx","../../components/toolbar/theme-selector.tsx","../../components/toolbar/toolbar.tsx","../../components/toolbar/types.ts","../../components/toolbar/view-menu.tsx","../../components/validation-alert-dialog/index.tsx","../../components/watch-window/index.tsx","../../helpers/merged-cell-borders.ts","../../hooks/export-range-tiles.ts","../../hooks/index.ts","../../hooks/object-clipboard-payload.ts","../../hooks/object-spec-schema.generated.ts","../../hooks/show-zeros.ts","../../hooks/use-async.ts","../../hooks/use-border-styles.ts","../../hooks/use-callback-ref.ts","../../hooks/use-cell-diff-highlight.ts","../../hooks/use-cell-popover.tsx","../../hooks/use-cell-renderer.tsx","../../hooks/use-chart-clipboard.ts","../../hooks/use-chart-source-ranges.ts","../../hooks/use-column-color-icons.ts","../../hooks/use-conditional-formatting.ts","../../hooks/use-context-menu.tsx","../../hooks/use-context-setter.ts","../../hooks/use-copy-paste-cut.tsx","../../hooks/use-create-address-from-selection.ts","../../hooks/use-create-formula-tokenizer.ts","../../hooks/use-delayed-value.ts","../../hooks/use-editable.tsx","../../hooks/use-editor-cancel.ts","../../hooks/use-editor-change.ts","../../hooks/use-editor-keydown.ts","../../hooks/use-editor-submit.ts","../../hooks/use-embeds-charts.tsx","../../hooks/use-expand-cell.tsx","../../hooks/use-export-range.ts","../../hooks/use-filter.ts","../../hooks/use-flash-fill-suggestion.ts","../../hooks/use-flash.ts","../../hooks/use-fonts.ts","../../hooks/use-formula-range-helpers.ts","../../hooks/use-get-tooltip.tsx","../../hooks/use-get-values-from-range.ts","../../hooks/use-grid-children.tsx","../../hooks/use-header-actions.tsx","../../hooks/use-hidden-dimension-markers.tsx","../../hooks/use-hidden-dimensions.ts","../../hooks/use-hovered-selection-ids.ts","../../hooks/use-isomorphic-layout-effect.ts","../../hooks/use-keyboard-handler.tsx","../../hooks/use-licensekey-validator.tsx","../../hooks/use-memo-compare.ts","../../hooks/use-merge.refs.ts","../../hooks/use-move-columns-rows.tsx","../../hooks/use-navigate-sheet-range.ts","../../hooks/use-previous.ts","../../hooks/use-raf.ts","../../hooks/use-resize-observer.ts","../../hooks/use-reveal-chart-embed.ts","../../hooks/use-scale-listener.ts","../../hooks/use-selected-rows-columns.ts","../../hooks/use-selection-aware-formatting.ts","../../hooks/use-selection-change.ts","../../hooks/use-selection-drag-copy.ts","../../hooks/use-selection-interceptors.ts","../../hooks/use-selection-move.ts","../../hooks/use-selection-renderer.tsx","../../hooks/use-selection-resize.ts","../../hooks/use-selection.ts","../../hooks/use-sheet-change-handler.ts","../../hooks/use-shown-notes.tsx","../../hooks/use-sizer.ts","../../hooks/use-spreadsheet-theme.ts","../../hooks/use-stable-ref.ts","../../hooks/use-structured-reference-selection.ts","../../hooks/use-table-hit-zones.ts","../../hooks/use-table-resizer.tsx","../../hooks/use-text-dimensions.ts","../../hooks/use-tooltip.ts","../../hooks/use-touch.ts","../../providers/spreadsheet-provider.tsx","../../signals/scroll-subscriber.ts","../../utils/copy-as-picture.ts","../../utils/maybe.ts","../../utils/pivot-chart-field-buttons.ts","../../utils/z-order.ts"],"version":"5.8.3"}
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -117,6 +117,13 @@ export type Sheet = {
|
|
|
117
117
|
* paints numeric zeros blank. Set with `onUpdateSheet(sheetId, { showZeros })`.
|
|
118
118
|
*/
|
|
119
119
|
showZeros?: Maybe<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Excel's "Show outline symbols" (⌃8, `<sheetView showOutlineSymbols="0">`): `false` hides the
|
|
122
|
+
* row and column outline gutters and their buttons; the groups themselves stay. Pass it to
|
|
123
|
+
* `RowOutlineGutter` / `ColumnOutlineGutter` `showOutlineSymbols`. Set with
|
|
124
|
+
* `onUpdateSheet(sheetId, { showOutlineSymbols })`. Absent = shown.
|
|
125
|
+
*/
|
|
126
|
+
showOutlineSymbols?: Maybe<boolean>;
|
|
120
127
|
/**
|
|
121
128
|
* View ▸ Split: the split window (`<pane>` with `state="split"`, the schema default) — split
|
|
122
129
|
* positions in twentieths of a point, the bottom-right pane's first cell and the active pane.
|
|
@@ -1525,6 +1532,16 @@ export type ChartData = {
|
|
|
1525
1532
|
* If not specified, uses the chart-level chartType.
|
|
1526
1533
|
*/
|
|
1527
1534
|
seriesChartType?: Maybe<"bar" | "column" | "line" | "area">;
|
|
1535
|
+
/**
|
|
1536
|
+
* The stacking of this series' plot group, when it is not the chart's
|
|
1537
|
+
* `stackedType` (Excel's `<c:grouping>` per chart-type group: Stacked
|
|
1538
|
+
* Area – Clustered Column, a stacked column group beside an unstacked
|
|
1539
|
+
* line). A group is the series of one `seriesChartType` on one axis
|
|
1540
|
+
* (`useSecondaryAxis`); it takes the first of its series that sets this,
|
|
1541
|
+
* else the chart's `stackedType`. Absent everywhere: the chart's stacking
|
|
1542
|
+
* applies to every group, as before.
|
|
1543
|
+
*/
|
|
1544
|
+
stackedType?: Maybe<BasicChartStackedType>;
|
|
1528
1545
|
/**
|
|
1529
1546
|
* This series' own data labels. When set it REPLACES the chart-level
|
|
1530
1547
|
* `ChartSpec.dataLabels` for this series — `{ show: false }` turns the
|